@snabcentr/vue-ui-lib 2.17.1 → 2.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ var qh = (e, t, i) => t in e ? Yh(e, t, { enumerable: !0, configurable: !0, writ
6
6
  var x = (e, t, i) => qh(e, typeof t != "symbol" ? t + "" : t, i), wl = (e, t, i) => t.has(e) || bl("Cannot " + i);
7
7
  var zt = (e, t, i) => (wl(e, t, "read from private field"), i ? i.call(e) : t.get(e)), Wo = (e, t, i) => t.has(e) ? bl("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, i), xl = (e, t, i, n) => (wl(e, t, "write to private field"), n ? n.call(e, i) : t.set(e, i), i);
8
8
  import { isString as gn, noop as wa, some as kl, isNil as Ji, isFunction as _i, find as Gh, get as Kh, isEmpty as $u, forEach as zr, forOwn as Pu, sortBy as Mu, isArray as Dt, isUndefined as Xn, debounce as wn, cloneDeep as Ka, keys as Zh, isObject as Jh, merge as vr, upperFirst as Qh, map as ef, constant as ro, isNull as tf } from "lodash-es";
9
- import { Comment as oo, Text as Ru, Fragment as Fe, markRaw as Ye, createElementBlock as R, openBlock as w, createElementVNode as T, defineComponent as te, inject as Ge, computed as D, ref as H, normalizeClass as Je, createVNode as B, createCommentVNode as X, renderSlot as Pe, unref as K, createTextVNode as oe, toDisplayString as Y, Transition as Un, withCtx as F, createBlock as se, useTemplateRef as xi, onMounted as gt, onBeforeUnmount as oi, onUnmounted as sr, normalizeStyle as rr, renderList as Vt, h as M, withModifiers as nf, provide as si, toRaw as di, createSlots as Yn, watch as ze, nextTick as zi, onBeforeMount as or, readonly as xa, getCurrentInstance as Fu, withDirectives as ar, Teleport as sf, toRef as Ue, mergeProps as Za, onActivated as Eu, onDeactivated as Au, isVNode as rf, shallowRef as of, watchEffect as tn, vShow as Ou, cloneVNode as af, mergeDefaults as Ja } from "vue";
9
+ import { Comment as oo, Text as Ru, Fragment as Fe, markRaw as Ye, createElementBlock as F, openBlock as w, createElementVNode as T, defineComponent as te, inject as Ge, computed as D, ref as H, normalizeClass as Je, createVNode as B, createCommentVNode as X, renderSlot as Te, unref as K, createTextVNode as oe, toDisplayString as Y, Transition as Un, withCtx as R, createBlock as se, useTemplateRef as xi, onMounted as gt, onBeforeUnmount as oi, onUnmounted as sr, normalizeStyle as rr, renderList as Vt, h as M, withModifiers as nf, provide as si, toRaw as di, createSlots as Yn, watch as ze, nextTick as zi, onBeforeMount as or, readonly as xa, getCurrentInstance as Fu, withDirectives as ar, Teleport as sf, toRef as Ue, mergeProps as Za, onActivated as Eu, onDeactivated as Au, isVNode as rf, shallowRef as of, watchEffect as tn, vShow as Ou, cloneVNode as af, mergeDefaults as Ja } from "vue";
10
10
  import { NTooltip as ao, NButton as qe, NDropdown as Qa, NTag as Bu, NPopover as sn, NText as Ys, NScrollbar as zu, NDataTable as el, NAlert as Iu, NSpin as lo, NCheckbox as lf, NForm as lr, NFormItem as Ze, NInputNumber as yi, NInput as Qn, NSelect as mn, NModal as tl, NDrawer as Lu, NDrawerContent as Du, NDatePicker as cf, NUpload as uf, NUploadDragger as df, NList as hf, NListItem as ff, NH1 as pf, NAutoComplete as il } from "naive-ui";
11
11
  import { AppConfigProvider as ki, WindowResolutionEnum as ht, FieldValidationResultData as gf, ClientCategory as mf, CartItemBase as qn, UnitsHelper as Ut, HttpRequester as pt, ConfiguratorProvider as qs, CartProvider as vn, Identity as vf, Product as _f, DateTimeProvider as yf, ProductCategoryDataProvider as bf, ProductDataProvider as wf, useReferencesStore as co, Order as xf, OrdersDataProvider as Nu, DataTablePagination as kf, Reference as Cf, ManagerDataFactory as Sf, Manager as Tf, DataSuggestionProvider as nl } from "@snabcentr/common-lib";
12
12
  import { format as Ts, endOfDay as $f, startOfDay as Pf } from "date-fns";
@@ -102,7 +102,7 @@ const Ef = {
102
102
  height: "1.2em"
103
103
  };
104
104
  function Af(e, t) {
105
- return w(), R("svg", Ef, t[0] || (t[0] = [
105
+ return w(), F("svg", Ef, t[0] || (t[0] = [
106
106
  T("circle", {
107
107
  cx: "256",
108
108
  cy: "256",
@@ -129,7 +129,7 @@ const Hu = Ye({ name: "ion-ellipsis-vertical-sharp", render: Af }), Of = {
129
129
  height: "1.2em"
130
130
  };
131
131
  function Bf(e, t) {
132
- return w(), R("svg", Of, t[0] || (t[0] = [
132
+ return w(), F("svg", Of, t[0] || (t[0] = [
133
133
  T("g", {
134
134
  fill: "none",
135
135
  stroke: "currentColor",
@@ -148,7 +148,7 @@ const Wu = Ye({ name: "tabler-edit", render: Bf }), zf = {
148
148
  height: "1.2em"
149
149
  };
150
150
  function If(e, t) {
151
- return w(), R("svg", zf, t[0] || (t[0] = [
151
+ return w(), F("svg", zf, t[0] || (t[0] = [
152
152
  T("path", {
153
153
  fill: "currentColor",
154
154
  d: "M22.15 3.237c-1.93-1.93-5.185-1.403-6.406 1.04l-3.175 6.35a1.5 1.5 0 0 1-.868.752L6.72 13.04a2 2 0 0 0-.782 3.312l4.149 4.149L4 26.586v1.415h1.414l6.086-6.086l4.149 4.149a2 2 0 0 0 3.311-.782l1.661-4.983a1.5 1.5 0 0 1 .752-.867l6.351-3.175c2.442-1.222 2.97-4.476 1.04-6.407zM17.533 5.17a2 2 0 0 1 3.203-.52l6.614 6.614a2 2 0 0 1-.52 3.203l-6.351 3.175a3.5 3.5 0 0 0-1.755 2.024l-1.661 4.982l-9.712-9.711l4.983-1.661a3.5 3.5 0 0 0 2.024-1.755z"
@@ -161,7 +161,7 @@ const Lf = Ye({ name: "fluent-pin32-regular", render: If }), Df = {
161
161
  height: "1.2em"
162
162
  };
163
163
  function Nf(e, t) {
164
- return w(), R("svg", Df, t[0] || (t[0] = [
164
+ return w(), F("svg", Df, t[0] || (t[0] = [
165
165
  T("path", {
166
166
  fill: "none",
167
167
  stroke: "currentColor",
@@ -187,7 +187,7 @@ const Hf = Ye({ name: "ion-eye-outline", render: Nf }), Wf = {
187
187
  height: "1.2em"
188
188
  };
189
189
  function Vf(e, t) {
190
- return w(), R("svg", Wf, t[0] || (t[0] = [
190
+ return w(), F("svg", Wf, t[0] || (t[0] = [
191
191
  T("path", {
192
192
  fill: "currentColor",
193
193
  d: "M15.744 4.276c1.221-2.442 4.476-2.97 6.406-1.04l6.614 6.614c1.93 1.93 1.402 5.186-1.04 6.406l-6.35 3.176a1.5 1.5 0 0 0-.753.867l-1.66 4.983a2 2 0 0 1-3.312.782l-4.149-4.15l-6.086 6.087H4v-1.415l6.086-6.085l-4.149-4.15a2 2 0 0 1 .782-3.31l4.982-1.662a1.5 1.5 0 0 0 .868-.752z"
@@ -200,7 +200,7 @@ const jf = Ye({ name: "fluent-pin32-filled", render: Vf }), Xf = {
200
200
  height: "1.2em"
201
201
  };
202
202
  function Uf(e, t) {
203
- return w(), R("svg", Xf, t[0] || (t[0] = [
203
+ return w(), F("svg", Xf, t[0] || (t[0] = [
204
204
  T("circle", {
205
205
  cx: "176",
206
206
  cy: "416",
@@ -245,7 +245,7 @@ const Vu = Ye({ name: "ion-cart-outline", render: Uf }), Yf = {
245
245
  height: "1.2em"
246
246
  };
247
247
  function qf(e, t) {
248
- return w(), R("svg", Yf, t[0] || (t[0] = [
248
+ return w(), F("svg", Yf, t[0] || (t[0] = [
249
249
  T("path", {
250
250
  fill: "none",
251
251
  stroke: "currentColor",
@@ -262,7 +262,7 @@ const Gf = Ye({ name: "ion-bookmark-outline", render: qf }), Kf = {
262
262
  height: "1.2em"
263
263
  };
264
264
  function Zf(e, t) {
265
- return w(), R("svg", Kf, t[0] || (t[0] = [
265
+ return w(), F("svg", Kf, t[0] || (t[0] = [
266
266
  T("path", {
267
267
  fill: "currentColor",
268
268
  d: "m63.998 86.005l21.998-21.998L447.999 426.01l-21.998 21.998zM259.34 192.09l60.57 60.57a64.07 64.07 0 0 0-60.57-60.57m-6.68 127.82l-60.57-60.57a64.07 64.07 0 0 0 60.57 60.57"
@@ -279,7 +279,7 @@ const Jf = Ye({ name: "ion-eye-off-sharp", render: Zf }), Qf = {
279
279
  height: "1.2em"
280
280
  };
281
281
  function ep(e, t) {
282
- return w(), R("svg", Qf, t[0] || (t[0] = [
282
+ return w(), F("svg", Qf, t[0] || (t[0] = [
283
283
  T("path", {
284
284
  fill: "none",
285
285
  stroke: "currentColor",
@@ -314,7 +314,7 @@ const tp = Ye({ name: "ion-chevron-forward-outline", render: ep }), ip = ["data-
314
314
  };
315
315
  return (d, h) => {
316
316
  const f = tp;
317
- return w(), R("div", {
317
+ return w(), F("div", {
318
318
  "data-name": d.name,
319
319
  class: Je({ "sc-collapse-item flex flex-col p-2": !0, "cursor-not-allowed text-gray-400": d.disabled })
320
320
  }, [
@@ -324,14 +324,14 @@ const tp = Ye({ name: "ion-chevron-forward-outline", render: ep }), ip = ["data-
324
324
  class: Je({ "rotate-90": c.value }),
325
325
  onClick: u
326
326
  }, [
327
- Pe(d.$slots, "arrow", {}, () => [
327
+ Te(d.$slots, "arrow", {}, () => [
328
328
  B(f)
329
329
  ], !0)
330
330
  ], 2)
331
331
  ]),
332
- K(ws).hasSlotContent(d.$slots["pre-arrow"]) ? (w(), R("div", rp, [
332
+ K(ws).hasSlotContent(d.$slots["pre-arrow"]) ? (w(), F("div", rp, [
333
333
  T("div", op, [
334
- Pe(d.$slots, "pre-arrow", {}, void 0, !0)
334
+ Te(d.$slots, "pre-arrow", {}, void 0, !0)
335
335
  ])
336
336
  ])) : X("", !0),
337
337
  T("div", ap, [
@@ -339,22 +339,22 @@ const tp = Ye({ name: "ion-chevron-forward-outline", render: ep }), ip = ["data-
339
339
  class: "sc-collapse-item-title flex flex-1 cursor-pointer flex-col text-lg font-semibold",
340
340
  onClick: u
341
341
  }, [
342
- Pe(d.$slots, "header", {}, () => [
342
+ Te(d.$slots, "header", {}, () => [
343
343
  oe(Y(d.title), 1)
344
344
  ], !0)
345
345
  ]),
346
- K(ws).hasSlotContent(d.$slots["sub-header"]) ? (w(), R("div", lp, [
347
- Pe(d.$slots, "sub-header", {}, void 0, !0)
346
+ K(ws).hasSlotContent(d.$slots["sub-header"]) ? (w(), F("div", lp, [
347
+ Te(d.$slots, "sub-header", {}, void 0, !0)
348
348
  ])) : X("", !0)
349
349
  ]),
350
- K(ws).hasSlotContent(d.$slots["header-extra"]) ? (w(), R("div", cp, [
351
- Pe(d.$slots, "header-extra", {}, void 0, !0)
350
+ K(ws).hasSlotContent(d.$slots["header-extra"]) ? (w(), F("div", cp, [
351
+ Te(d.$slots, "header-extra", {}, void 0, !0)
352
352
  ])) : X("", !0)
353
353
  ]),
354
354
  B(Un, { name: "fade" }, {
355
- default: F(() => [
356
- l.value || c.value ? (w(), R("div", up, [
357
- Pe(d.$slots, "default", {}, void 0, !0)
355
+ default: R(() => [
356
+ l.value || c.value ? (w(), F("div", up, [
357
+ Te(d.$slots, "default", {}, void 0, !0)
358
358
  ])) : X("", !0)
359
359
  ]),
360
360
  _: 3
@@ -464,26 +464,26 @@ const tp = Ye({ name: "ion-chevron-forward-outline", render: ep }), ip = ["data-
464
464
  return (a, l) => {
465
465
  var g;
466
466
  const c = Vu, u = qe, d = ao, h = Wu, f = Hu, p = Qa;
467
- return w(), R("div", pp, [
467
+ return w(), F("div", pp, [
468
468
  (K(_i)(a.showProductAddToCartButton) ? a.showProductAddToCartButton(a.product) : a.showProductAddToCartButton) ? (w(), se(d, {
469
469
  key: 0,
470
470
  placement: "bottom",
471
471
  trigger: "hover"
472
472
  }, {
473
- trigger: F(() => [
473
+ trigger: R(() => [
474
474
  B(u, {
475
475
  ghost: !0,
476
476
  size: K(i),
477
477
  type: "primary",
478
478
  onClick: s
479
479
  }, {
480
- default: F(() => [
480
+ default: R(() => [
481
481
  B(c)
482
482
  ]),
483
483
  _: 1
484
484
  }, 8, ["size"])
485
485
  ]),
486
- default: F(() => [
486
+ default: R(() => [
487
487
  l[0] || (l[0] = oe(" Добавить в корзину "))
488
488
  ]),
489
489
  _: 1,
@@ -494,20 +494,20 @@ const tp = Ye({ name: "ion-chevron-forward-outline", render: ep }), ip = ["data-
494
494
  placement: "bottom",
495
495
  trigger: "hover"
496
496
  }, {
497
- trigger: F(() => [
497
+ trigger: R(() => [
498
498
  B(u, {
499
499
  ghost: !0,
500
500
  size: K(i),
501
501
  type: "primary",
502
502
  onClick: r
503
503
  }, {
504
- default: F(() => [
504
+ default: R(() => [
505
505
  B(h)
506
506
  ]),
507
507
  _: 1
508
508
  }, 8, ["size"])
509
509
  ]),
510
- default: F(() => [
510
+ default: R(() => [
511
511
  l[1] || (l[1] = oe(" Редактировать "))
512
512
  ]),
513
513
  _: 1,
@@ -520,13 +520,13 @@ const tp = Ye({ name: "ion-chevron-forward-outline", render: ep }), ip = ["data-
520
520
  trigger: "click",
521
521
  onSelect: o
522
522
  }, {
523
- default: F(() => [
523
+ default: R(() => [
524
524
  B(u, {
525
525
  ghost: !0,
526
526
  size: K(i),
527
527
  type: "primary"
528
528
  }, {
529
- default: F(() => [
529
+ default: R(() => [
530
530
  B(f)
531
531
  ]),
532
532
  _: 1
@@ -543,7 +543,7 @@ const tp = Ye({ name: "ion-chevron-forward-outline", render: ep }), ip = ["data-
543
543
  height: "1.2em"
544
544
  };
545
545
  function vp(e, t) {
546
- return w(), R("svg", mp, t[0] || (t[0] = [
546
+ return w(), F("svg", mp, t[0] || (t[0] = [
547
547
  T("g", {
548
548
  fill: "none",
549
549
  stroke: "currentColor",
@@ -579,16 +579,16 @@ const _p = Ye({ name: "tabler-history", render: vp }), yp = { class: "flex flex-
579
579
  return (a, l) => {
580
580
  var h;
581
581
  const c = Bu, u = ao, d = _p;
582
- return w(), R("div", yp, [
582
+ return w(), F("div", yp, [
583
583
  a.showTag ? (w(), se(u, { key: 0 }, {
584
- trigger: F(() => [
584
+ trigger: R(() => [
585
585
  B(c, {
586
586
  round: "",
587
587
  bordered: !1,
588
588
  size: "small",
589
589
  class: Je(["text-slate-600", { "font-bold": !i.value }])
590
590
  }, {
591
- default: F(() => {
591
+ default: R(() => {
592
592
  var f;
593
593
  return [
594
594
  oe(Y(((f = i.value) == null ? void 0 : f.coefficient.slug) ?? "Ц"), 1)
@@ -597,7 +597,7 @@ const _p = Ye({ name: "tabler-history", render: vp }), yp = { class: "flex flex-
597
597
  _: 1
598
598
  }, 8, ["class"])
599
599
  ]),
600
- default: F(() => {
600
+ default: R(() => {
601
601
  var f;
602
602
  return [
603
603
  oe(" " + Y(((f = i.value) == null ? void 0 : f.coefficient.name) ?? "Розничная цена"), 1)
@@ -618,13 +618,13 @@ const _p = Ye({ name: "tabler-history", render: vp }), yp = { class: "flex flex-
618
618
  }, Y(o.value), 3),
619
619
  oe(" " + Y(a.showQuantityUnit ? ` ${a.product.currency}/${a.product.quantityUnit}` : ""), 1)
620
620
  ], 2),
621
- a.showCostDate && !K(Ji)(s.value) ? (w(), R("span", bp, [
621
+ a.showCostDate && !K(Ji)(s.value) ? (w(), F("span", bp, [
622
622
  oe(Y(s.value) + " ", 1),
623
623
  a.showPriceHistory && a.eventEmitter ? (w(), se(u, {
624
624
  key: 0,
625
625
  placement: "top-end"
626
626
  }, {
627
- trigger: F(() => [
627
+ trigger: R(() => [
628
628
  B(d, {
629
629
  class: "cursor-pointer",
630
630
  onClick: l[1] || (l[1] = (f) => {
@@ -633,7 +633,7 @@ const _p = Ye({ name: "tabler-history", render: vp }), yp = { class: "flex flex-
633
633
  })
634
634
  })
635
635
  ]),
636
- default: F(() => [
636
+ default: R(() => [
637
637
  l[2] || (l[2] = oe(" История цен "))
638
638
  ]),
639
639
  _: 1,
@@ -650,7 +650,7 @@ const _p = Ye({ name: "tabler-history", render: vp }), yp = { class: "flex flex-
650
650
  height: "1.2em"
651
651
  };
652
652
  function kp(e, t) {
653
- return w(), R("svg", xp, t[0] || (t[0] = [
653
+ return w(), F("svg", xp, t[0] || (t[0] = [
654
654
  T("path", {
655
655
  fill: "none",
656
656
  stroke: "currentColor",
@@ -686,7 +686,7 @@ const ol = Ye({ name: "ion-information-circle-outline", render: kp }), Cp = {
686
686
  height: "1.2em"
687
687
  };
688
688
  function Sp(e, t) {
689
- return w(), R("svg", Cp, t[0] || (t[0] = [
689
+ return w(), F("svg", Cp, t[0] || (t[0] = [
690
690
  T("path", {
691
691
  fill: "currentColor",
692
692
  d: "M450.29 112H142c-34 0-62 27.51-62 61.33v245.34c0 33.82 28 61.33 62 61.33h308c34 0 62-26.18 62-60V173.33c0-33.82-27.68-61.33-61.71-61.33m-77.15 61.34a46 46 0 1 1-46.28 46a46.19 46.19 0 0 1 46.28-46.01Zm-231.55 276c-17 0-29.86-13.75-29.86-30.66v-64.83l90.46-80.79a46.54 46.54 0 0 1 63.44 1.83L328.27 337l-113 112.33ZM480 418.67a30.67 30.67 0 0 1-30.71 30.66H259L376.08 333a46.24 46.24 0 0 1 59.44-.16L480 370.59Z"
@@ -1482,8 +1482,8 @@ const Rp = {
1482
1482
  }), oi(() => {
1483
1483
  var r;
1484
1484
  s.value && ((r = s.value) == null || r.destroy(), s.value = null);
1485
- }), (r, o) => (w(), R("div", Rp, [
1486
- Pe(r.$slots, "default")
1485
+ }), (r, o) => (w(), F("div", Rp, [
1486
+ Te(r.$slots, "default")
1487
1487
  ], 512));
1488
1488
  }
1489
1489
  }), Ap = ["href"], Op = ["src", "alt"], Bp = {}, zp = /* @__PURE__ */ te({
@@ -1529,17 +1529,17 @@ const Rp = {
1529
1529
  n.value || (i.value = !1);
1530
1530
  })
1531
1531
  }, {
1532
- trigger: F(() => [
1532
+ trigger: R(() => [
1533
1533
  T("div", {
1534
1534
  class: "inline-flex",
1535
1535
  onClick: u[0] || (u[0] = (f) => i.value = !i.value)
1536
1536
  }, [
1537
- Pe(c.$slots, "default", {}, () => [
1537
+ Te(c.$slots, "default", {}, () => [
1538
1538
  B(d)
1539
1539
  ])
1540
1540
  ])
1541
1541
  ]),
1542
- default: F(() => [
1542
+ default: R(() => [
1543
1543
  B(Ep, {
1544
1544
  settings: s.value,
1545
1545
  style: rr(`max-width: ${o.value}px`),
@@ -1551,8 +1551,8 @@ const Rp = {
1551
1551
  n.value = !1, i.value = !1;
1552
1552
  })
1553
1553
  }, {
1554
- default: F(() => [
1555
- (w(!0), R(Fe, null, Vt(c.images, (f, p) => (w(), R("a", {
1554
+ default: R(() => [
1555
+ (w(!0), F(Fe, null, Vt(c.images, (f, p) => (w(), F("a", {
1556
1556
  key: p,
1557
1557
  href: f.image
1558
1558
  }, [
@@ -1583,14 +1583,14 @@ const Rp = {
1583
1583
  placement: "top-start",
1584
1584
  class: "sc-stock-count"
1585
1585
  }, {
1586
- trigger: F(() => [
1587
- Pe(t.$slots, "default", {}, () => [
1586
+ trigger: R(() => [
1587
+ Te(t.$slots, "default", {}, () => [
1588
1588
  B(n)
1589
1589
  ])
1590
1590
  ]),
1591
- default: F(() => [
1591
+ default: R(() => [
1592
1592
  T("div", Ip, [
1593
- (w(!0), R(Fe, null, Vt(t.product.stockCount, (r, o) => (w(), R("span", { key: o }, Y(r.warehouse.name) + ": " + Y(r.count) + " " + Y(t.product.quantityUnit), 1))), 128))
1593
+ (w(!0), F(Fe, null, Vt(t.product.stockCount, (r, o) => (w(), F("span", { key: o }, Y(r.warehouse.name) + ": " + Y(r.count) + " " + Y(t.product.quantityUnit), 1))), 128))
1594
1594
  ])
1595
1595
  ]),
1596
1596
  _: 3
@@ -1660,25 +1660,25 @@ const Rp = {
1660
1660
  }), (u, d) => {
1661
1661
  var v, _, S, k, C;
1662
1662
  const h = Xu, f = Ys, p = ju, g = ol, m = zu;
1663
- return w(), R("div", null, [
1663
+ return w(), F("div", null, [
1664
1664
  T("div", Np, [
1665
1665
  B(f, {
1666
1666
  type: "info",
1667
1667
  class: "sc-product-name text-balance text-base font-medium"
1668
1668
  }, {
1669
- default: F(() => [
1669
+ default: R(() => [
1670
1670
  T("span", {
1671
1671
  class: Je({ "cursor-pointer": l.value && u.eventEmitter }),
1672
1672
  onClick: c
1673
1673
  }, Y(u.product.name), 3),
1674
- u.product.onOrder ? (w(), R("span", Hp, " [Под заказ] ")) : X("", !0),
1674
+ u.product.onOrder ? (w(), F("span", Hp, " [Под заказ] ")) : X("", !0),
1675
1675
  T("span", Wp, [
1676
1676
  u.product.images && u.product.images.length > 0 ? (w(), se(zp, {
1677
1677
  key: 0,
1678
1678
  ref: "image-gallery",
1679
1679
  images: u.product.images
1680
1680
  }, {
1681
- default: F(() => [
1681
+ default: R(() => [
1682
1682
  T("div", Vp, [
1683
1683
  B(h)
1684
1684
  ])
@@ -1700,11 +1700,11 @@ const Rp = {
1700
1700
  ]),
1701
1701
  T("div", jp, [
1702
1702
  T("div", Xp, [
1703
- u.product.supplierSku ? (w(), R("div", Up, [
1703
+ u.product.supplierSku ? (w(), F("div", Up, [
1704
1704
  d[0] || (d[0] = oe(" Артикул производителя/поставщика: ")),
1705
1705
  T("span", Yp, Y(u.product.supplierSku), 1)
1706
1706
  ])) : X("", !0),
1707
- u.showCode ? (w(), R("span", qp, [
1707
+ u.showCode ? (w(), F("span", qp, [
1708
1708
  d[1] || (d[1] = oe(" Артикул: ")),
1709
1709
  T("span", Gp, Y(u.product.code), 1)
1710
1710
  ])) : X("", !0),
@@ -1712,28 +1712,28 @@ const Rp = {
1712
1712
  key: 2,
1713
1713
  product: u.product
1714
1714
  }, {
1715
- default: F(() => [
1715
+ default: R(() => [
1716
1716
  T("span", Kp, [
1717
1717
  d[2] || (d[2] = T("span", { class: "underline decoration-dashed" }, "В наличии", -1)),
1718
1718
  B(g, { class: "mt-0.5" })
1719
1719
  ])
1720
1720
  ]),
1721
1721
  _: 1
1722
- }, 8, ["product"])) : (w(), R("span", Zp, " Нет в наличии ")),
1723
- (S = (_ = u.product) == null ? void 0 : _.properties) != null && S.pack ? (w(), R("span", Jp, [
1722
+ }, 8, ["product"])) : (w(), F("span", Zp, " Нет в наличии ")),
1723
+ (S = (_ = u.product) == null ? void 0 : _.properties) != null && S.pack ? (w(), F("span", Jp, [
1724
1724
  d[3] || (d[3] = oe(" Норма упаковки: ")),
1725
1725
  T("span", Qp, Y((C = (k = u.product) == null ? void 0 : k.properties) == null ? void 0 : C.pack), 1)
1726
1726
  ])) : X("", !0),
1727
- u.showPlanningDates && r.value ? (w(), R("span", eg, [
1727
+ u.showPlanningDates && r.value ? (w(), F("span", eg, [
1728
1728
  d[4] || (d[4] = oe(" Планируемая дата поступления на основной склад: ")),
1729
1729
  T("span", tg, Y(r.value), 1)
1730
1730
  ])) : X("", !0)
1731
1731
  ])
1732
1732
  ]),
1733
1733
  B(m, { "x-scrollable": "" }, {
1734
- default: F(() => [
1735
- n.value ? (w(), R("div", ig, [
1736
- (w(!0), R(Fe, null, Vt(s.value, ($) => (w(), se(Hr, {
1734
+ default: R(() => [
1735
+ n.value ? (w(), F("div", ig, [
1736
+ (w(!0), F(Fe, null, Vt(s.value, ($) => (w(), se(Hr, {
1737
1737
  key: $.coefficient.slug,
1738
1738
  product: u.product,
1739
1739
  "cost-field-name": $.coefficient.slug ?? "",
@@ -1758,10 +1758,10 @@ const Rp = {
1758
1758
  ]),
1759
1759
  _: 1
1760
1760
  }),
1761
- u.showSlugs || u.showProperties ? (w(), R("div", ng, [
1761
+ u.showSlugs || u.showProperties ? (w(), F("div", ng, [
1762
1762
  T("ul", sg, [
1763
- u.showSlugs ? (w(!0), R(Fe, { key: 0 }, Vt({ id: u.product.id, slug: u.product.slug }, ($, b) => (w(), R("li", { key: b }, " (" + Y(b) + "): " + Y($), 1))), 128)) : X("", !0),
1764
- u.showProperties ? (w(!0), R(Fe, { key: 1 }, Vt(u.product.properties, ($, b) => (w(), R("li", { key: b }, " (" + Y(b) + "): " + Y($), 1))), 128)) : X("", !0)
1763
+ u.showSlugs ? (w(!0), F(Fe, { key: 0 }, Vt({ id: u.product.id, slug: u.product.slug }, ($, b) => (w(), F("li", { key: b }, " (" + Y(b) + "): " + Y($), 1))), 128)) : X("", !0),
1764
+ u.showProperties ? (w(!0), F(Fe, { key: 1 }, Vt(u.product.properties, ($, b) => (w(), F("li", { key: b }, " (" + Y(b) + "): " + Y($), 1))), 128)) : X("", !0)
1765
1765
  ])
1766
1766
  ])) : X("", !0)
1767
1767
  ]);
@@ -1939,10 +1939,10 @@ const Rp = {
1939
1939
  "data-id": N.categoryItem.id,
1940
1940
  "onHeader:click": S
1941
1941
  }, {
1942
- "pre-arrow": F(() => {
1942
+ "pre-arrow": R(() => {
1943
1943
  var Oe, Be, Ve;
1944
1944
  return [
1945
- g.value ? (w(), R("div", lg, [
1945
+ g.value ? (w(), F("div", lg, [
1946
1946
  B(W, {
1947
1947
  checked: m.value,
1948
1948
  "onUpdate:checked": _
@@ -1953,10 +1953,10 @@ const Rp = {
1953
1953
  placement: "bottom",
1954
1954
  trigger: "hover"
1955
1955
  }, {
1956
- trigger: F(() => [
1956
+ trigger: R(() => [
1957
1957
  B(q, { class: "pt-1.5" })
1958
1958
  ]),
1959
- default: F(() => [
1959
+ default: R(() => [
1960
1960
  O[1] || (O[1] = oe(" Категория скрыта для клиента "))
1961
1961
  ]),
1962
1962
  _: 1,
@@ -1967,10 +1967,10 @@ const Rp = {
1967
1967
  placement: "bottom",
1968
1968
  trigger: "hover"
1969
1969
  }, {
1970
- trigger: F(() => [
1970
+ trigger: R(() => [
1971
1971
  B(z, { class: "pt-1.5" })
1972
1972
  ]),
1973
- default: F(() => [
1973
+ default: R(() => [
1974
1974
  O[2] || (O[2] = oe(" Избранная категория "))
1975
1975
  ]),
1976
1976
  _: 1,
@@ -1981,10 +1981,10 @@ const Rp = {
1981
1981
  placement: "bottom",
1982
1982
  trigger: "hover"
1983
1983
  }, {
1984
- trigger: F(() => [
1984
+ trigger: R(() => [
1985
1985
  B(E, { class: "pt-1.5" })
1986
1986
  ]),
1987
- default: F(() => [
1987
+ default: R(() => [
1988
1988
  O[3] || (O[3] = oe(" Доп. продажа "))
1989
1989
  ]),
1990
1990
  _: 1,
@@ -1992,7 +1992,7 @@ const Rp = {
1992
1992
  })) : X("", !0)
1993
1993
  ];
1994
1994
  }),
1995
- header: F(() => {
1995
+ header: R(() => {
1996
1996
  var Oe, Be, Ve;
1997
1997
  return [
1998
1998
  T("div", {
@@ -2007,10 +2007,10 @@ const Rp = {
2007
2007
  placement: "bottom",
2008
2008
  trigger: "hover"
2009
2009
  }, {
2010
- trigger: F(() => [
2010
+ trigger: R(() => [
2011
2011
  oe(Y(N.categoryItem.name), 1)
2012
2012
  ]),
2013
- default: F(() => [
2013
+ default: R(() => [
2014
2014
  O[4] || (O[4] = oe(" Категория скрыта "))
2015
2015
  ]),
2016
2016
  _: 1,
@@ -2029,7 +2029,7 @@ const Rp = {
2029
2029
  size: K(i),
2030
2030
  round: ""
2031
2031
  }, {
2032
- default: F(() => [
2032
+ default: R(() => [
2033
2033
  oe(" Средняя стоимость: " + Y(N.categoryItem.properties.m2Price) + " руб./м2 ", 1)
2034
2034
  ]),
2035
2035
  _: 1
@@ -2041,12 +2041,12 @@ const Rp = {
2041
2041
  round: "",
2042
2042
  onClose: $
2043
2043
  }, {
2044
- default: F(() => [
2044
+ default: R(() => [
2045
2045
  B(ee, {
2046
2046
  placement: "bottom",
2047
2047
  trigger: "hover"
2048
2048
  }, {
2049
- trigger: F(() => {
2049
+ trigger: R(() => {
2050
2050
  var et, Bt;
2051
2051
  return [
2052
2052
  T("span", cg, [
@@ -2055,7 +2055,7 @@ const Rp = {
2055
2055
  ])
2056
2056
  ];
2057
2057
  }),
2058
- default: F(() => {
2058
+ default: R(() => {
2059
2059
  var et, Bt;
2060
2060
  return [
2061
2061
  oe(' Категория закреплена за "' + Y((Bt = (et = h.value) == null ? void 0 : et.manager) == null ? void 0 : Bt.name) + '" ', 1)
@@ -2069,15 +2069,15 @@ const Rp = {
2069
2069
  ])
2070
2070
  ];
2071
2071
  }),
2072
- "sub-header": F(() => [
2073
- N.showSlugs || N.showProperties ? (w(), R("div", ug, [
2072
+ "sub-header": R(() => [
2073
+ N.showSlugs || N.showProperties ? (w(), F("div", ug, [
2074
2074
  T("ul", dg, [
2075
- N.showSlugs ? (w(!0), R(Fe, { key: 0 }, Vt({ id: N.categoryItem.id, slug: N.categoryItem.slug }, (Oe, Be) => (w(), R("li", { key: Be }, " (" + Y(Be) + "): " + Y(Oe), 1))), 128)) : X("", !0),
2076
- N.showProperties ? (w(!0), R(Fe, { key: 1 }, Vt(N.categoryItem.properties, (Oe, Be) => (w(), R("li", { key: Be }, " (" + Y(Be) + "): " + Y(Oe), 1))), 128)) : X("", !0)
2075
+ N.showSlugs ? (w(!0), F(Fe, { key: 0 }, Vt({ id: N.categoryItem.id, slug: N.categoryItem.slug }, (Oe, Be) => (w(), F("li", { key: Be }, " (" + Y(Be) + "): " + Y(Oe), 1))), 128)) : X("", !0),
2076
+ N.showProperties ? (w(!0), F(Fe, { key: 1 }, Vt(N.categoryItem.properties, (Oe, Be) => (w(), F("li", { key: Be }, " (" + Y(Be) + "): " + Y(Oe), 1))), 128)) : X("", !0)
2077
2077
  ])
2078
2078
  ])) : X("", !0)
2079
2079
  ]),
2080
- "header-extra": F(() => {
2080
+ "header-extra": R(() => {
2081
2081
  var Oe;
2082
2082
  return [
2083
2083
  T("div", hg, [
@@ -2086,12 +2086,12 @@ const Rp = {
2086
2086
  placement: "bottom",
2087
2087
  trigger: "hover"
2088
2088
  }, {
2089
- trigger: F(() => [
2089
+ trigger: R(() => [
2090
2090
  B(V, {
2091
2091
  size: K(i),
2092
2092
  onClick: k
2093
2093
  }, {
2094
- default: F(() => {
2094
+ default: R(() => {
2095
2095
  var Be;
2096
2096
  return [
2097
2097
  (Be = h.value) != null && Be.isDisabled ? (w(), se(q, { key: 1 })) : (w(), se(ie, { key: 0 }))
@@ -2100,12 +2100,12 @@ const Rp = {
2100
2100
  _: 1
2101
2101
  }, 8, ["size"])
2102
2102
  ]),
2103
- default: F(() => {
2103
+ default: R(() => {
2104
2104
  var Be;
2105
2105
  return [
2106
- (Be = h.value) != null && Be.isDisabled ? (w(), R(Fe, { key: 0 }, [
2106
+ (Be = h.value) != null && Be.isDisabled ? (w(), F(Fe, { key: 0 }, [
2107
2107
  oe(" Скрыто для клиента" + Y(h.value.hidingComment ? `. Причина: '${h.value.hidingComment}'` : ""), 1)
2108
- ], 64)) : (w(), R(Fe, { key: 1 }, [
2108
+ ], 64)) : (w(), F(Fe, { key: 1 }, [
2109
2109
  oe("Видимо клиенту")
2110
2110
  ], 64))
2111
2111
  ];
@@ -2117,23 +2117,23 @@ const Rp = {
2117
2117
  placement: "bottom",
2118
2118
  trigger: "hover"
2119
2119
  }, {
2120
- trigger: F(() => [
2120
+ trigger: R(() => [
2121
2121
  B(V, {
2122
2122
  size: K(i),
2123
2123
  onClick: C
2124
2124
  }, {
2125
- default: F(() => [
2125
+ default: R(() => [
2126
2126
  B(j)
2127
2127
  ]),
2128
2128
  _: 1
2129
2129
  }, 8, ["size"])
2130
2130
  ]),
2131
- default: F(() => {
2131
+ default: R(() => {
2132
2132
  var Be, Ve, et;
2133
2133
  return [
2134
- (Be = h.value) != null && Be.manager ? (w(), R(Fe, { key: 1 }, [
2134
+ (Be = h.value) != null && Be.manager ? (w(), F(Fe, { key: 1 }, [
2135
2135
  oe('Категория закреплена за "' + Y(((et = (Ve = h.value) == null ? void 0 : Ve.manager) == null ? void 0 : et.name) ?? "-") + '"', 1)
2136
- ], 64)) : (w(), R(Fe, { key: 0 }, [
2136
+ ], 64)) : (w(), F(Fe, { key: 0 }, [
2137
2137
  oe("Закрепить")
2138
2138
  ], 64))
2139
2139
  ];
@@ -2145,20 +2145,20 @@ const Rp = {
2145
2145
  placement: "bottom",
2146
2146
  trigger: "hover"
2147
2147
  }, {
2148
- trigger: F(() => [
2148
+ trigger: R(() => [
2149
2149
  B(V, {
2150
2150
  ghost: !0,
2151
2151
  size: K(i),
2152
2152
  type: "primary",
2153
2153
  onClick: b
2154
2154
  }, {
2155
- default: F(() => [
2155
+ default: R(() => [
2156
2156
  B(ae)
2157
2157
  ]),
2158
2158
  _: 1
2159
2159
  }, 8, ["size"])
2160
2160
  ]),
2161
- default: F(() => [
2161
+ default: R(() => [
2162
2162
  O[5] || (O[5] = oe(" Редактировать "))
2163
2163
  ]),
2164
2164
  _: 1,
@@ -2171,13 +2171,13 @@ const Rp = {
2171
2171
  trigger: "click",
2172
2172
  onSelect: A
2173
2173
  }, {
2174
- default: F(() => [
2174
+ default: R(() => [
2175
2175
  B(V, {
2176
2176
  ghost: !0,
2177
2177
  size: K(i),
2178
2178
  type: "primary"
2179
2179
  }, {
2180
- default: F(() => [
2180
+ default: R(() => [
2181
2181
  B(xe)
2182
2182
  ]),
2183
2183
  _: 1
@@ -2188,8 +2188,8 @@ const Rp = {
2188
2188
  ])
2189
2189
  ];
2190
2190
  }),
2191
- default: F(() => [
2192
- Pe(N.$slots, "default", {}, () => {
2191
+ default: R(() => [
2192
+ Te(N.$slots, "default", {}, () => {
2193
2193
  var Oe;
2194
2194
  return [
2195
2195
  s.value ? (w(), se(bg, {
@@ -2243,7 +2243,7 @@ const Rp = {
2243
2243
  size: K(i),
2244
2244
  class: "w-full"
2245
2245
  }, {
2246
- description: F(() => O[6] || (O[6] = [
2246
+ description: R(() => O[6] || (O[6] = [
2247
2247
  T("div", null, "Выполняется загрузка данных ...", -1)
2248
2248
  ])),
2249
2249
  _: 1
@@ -2267,8 +2267,8 @@ const Rp = {
2267
2267
  const i = e, n = t;
2268
2268
  return si("itemHeaderClickHandler", (r, o) => {
2269
2269
  n("on-item-header-click", r, o);
2270
- }), si("defaultExpandedNames", i.defaultExpandedNames), si("expandedNames", i.expandedNames), (r, o) => (w(), R("div", mg, [
2271
- Pe(r.$slots, "default")
2270
+ }), si("defaultExpandedNames", i.defaultExpandedNames), si("expandedNames", i.expandedNames), (r, o) => (w(), F("div", mg, [
2271
+ Te(r.$slots, "default")
2272
2272
  ]));
2273
2273
  }
2274
2274
  }), yg = {}, bg = /* @__PURE__ */ te({
@@ -2315,10 +2315,10 @@ const Rp = {
2315
2315
  };
2316
2316
  return (r, o) => {
2317
2317
  const a = lo, l = Iu;
2318
- return w(), R(Fe, null, [
2318
+ return w(), F(Fe, null, [
2319
2319
  n.value.length > 0 ? (w(), se(_g, { key: 0 }, {
2320
- default: F(() => [
2321
- (w(!0), R(Fe, null, Vt(n.value, (c) => (w(), se(gg, {
2320
+ default: R(() => [
2321
+ (w(!0), F(Fe, null, Vt(n.value, (c) => (w(), se(gg, {
2322
2322
  key: c.id,
2323
2323
  "category-item": c,
2324
2324
  "event-emitter": r.eventEmitter,
@@ -2346,7 +2346,7 @@ const Rp = {
2346
2346
  size: K(i),
2347
2347
  class: "w-full"
2348
2348
  }, {
2349
- description: F(() => o[0] || (o[0] = [
2349
+ description: R(() => o[0] || (o[0] = [
2350
2350
  T("div", null, "Выполняется загрузка данных ...", -1)
2351
2351
  ])),
2352
2352
  _: 1
@@ -2394,7 +2394,7 @@ const Rp = {
2394
2394
  Ut.productIsMeasurable(i.product) || delete n.value.length, s("submit", n.value);
2395
2395
  };
2396
2396
  return (g, m) => (w(), se(K(lr), { class: "flex flex-col gap-2" }, {
2397
- default: F(() => [
2397
+ default: R(() => [
2398
2398
  K(Ut).productIsMeasurable(g.product) ? (w(), se(K(Ze), {
2399
2399
  key: 0,
2400
2400
  required: !0,
@@ -2403,7 +2403,7 @@ const Rp = {
2403
2403
  "validation-status": g.validation.length.validationStatus || void 0,
2404
2404
  label: "Метраж, " + g.product.unit + r.value + "м."
2405
2405
  }, Yn({
2406
- default: F(() => {
2406
+ default: R(() => {
2407
2407
  var v, _;
2408
2408
  return [
2409
2409
  B(K(yi), {
@@ -2422,7 +2422,7 @@ const Rp = {
2422
2422
  }, [
2423
2423
  !g.validation.length.feedback && K(Ut).getProductLengthMultiplicity(g.product) !== 0.01 ? {
2424
2424
  name: "feedback",
2425
- fn: F(() => [
2425
+ fn: R(() => [
2426
2426
  T("span", wg, "Метраж должен быть кратен " + Y(K(Ut).getProductLengthMultiplicity(g.product)), 1)
2427
2427
  ]),
2428
2428
  key: "0"
@@ -2435,7 +2435,7 @@ const Rp = {
2435
2435
  "validation-status": g.validation.quantity.validationStatus || void 0,
2436
2436
  label: "Количество"
2437
2437
  }, Yn({
2438
- default: F(() => [
2438
+ default: R(() => [
2439
2439
  B(K(yi), {
2440
2440
  value: n.value.quantity,
2441
2441
  "onUpdate:value": m[1] || (m[1] = (v) => n.value.quantity = v),
@@ -2450,7 +2450,7 @@ const Rp = {
2450
2450
  }, [
2451
2451
  !g.validation.quantity.feedback && K(Ut).getProductMultiplicity(g.product) !== 1 ? {
2452
2452
  name: "feedback",
2453
- fn: F(() => [
2453
+ fn: R(() => [
2454
2454
  T("span", xg, "Количество должно быть кратно " + Y(K(Ut).getProductMultiplicity(g.product)), 1)
2455
2455
  ]),
2456
2456
  key: "0"
@@ -2462,7 +2462,7 @@ const Rp = {
2462
2462
  "validation-status": g.validation.marker.validationStatus || void 0,
2463
2463
  label: "Маркировка"
2464
2464
  }, {
2465
- default: F(() => [
2465
+ default: R(() => [
2466
2466
  B(K(Qn), {
2467
2467
  value: n.value.marker,
2468
2468
  "onUpdate:value": m[2] || (m[2] = (v) => n.value.marker = v),
@@ -2478,7 +2478,7 @@ const Rp = {
2478
2478
  class: "self-start",
2479
2479
  onClick: m[3] || (m[3] = (v) => o())
2480
2480
  }, {
2481
- default: F(() => [
2481
+ default: R(() => [
2482
2482
  oe(Y(g.cartItem ? "Изменить" : "В корзину"), 1)
2483
2483
  ]),
2484
2484
  _: 1
@@ -2514,14 +2514,14 @@ const Rp = {
2514
2514
  };
2515
2515
  return (o, a) => {
2516
2516
  const l = ol, c = qe, u = sn;
2517
- return w(), R("div", Cg, [
2517
+ return w(), F("div", Cg, [
2518
2518
  o.showClientInfoIcon ? (w(), se(c, {
2519
2519
  key: 0,
2520
2520
  quaternary: "",
2521
2521
  size: "small",
2522
2522
  onClick: a[0] || (a[0] = (d) => o.$emit("click:client-info", o.client))
2523
2523
  }, {
2524
- default: F(() => [
2524
+ default: R(() => [
2525
2525
  B(l)
2526
2526
  ]),
2527
2527
  _: 1
@@ -2530,7 +2530,7 @@ const Rp = {
2530
2530
  disabled: K(Ji)(o.popoverPosition),
2531
2531
  placement: o.popoverPosition
2532
2532
  }, {
2533
- trigger: F(() => [
2533
+ trigger: R(() => [
2534
2534
  T("div", Sg, [
2535
2535
  T("a", {
2536
2536
  href: o.nameLink ?? "#",
@@ -2540,19 +2540,19 @@ const Rp = {
2540
2540
  T("span", {
2541
2541
  class: Je({ "line-through": !o.client.isActive })
2542
2542
  }, Y(o.client.name), 3),
2543
- o.showSalesDirection && o.client.salesDirection ? (w(), R("span", {
2543
+ o.showSalesDirection && o.client.salesDirection ? (w(), F("span", {
2544
2544
  key: 0,
2545
2545
  class: Je({ "line-through": !o.client.isActive })
2546
2546
  }, " (" + Y(o.client.salesDirection.name) + ") ", 3)) : X("", !0),
2547
- o.client.isActive ? X("", !0) : (w(), R("span", $g, " [ Деактивирован ] "))
2547
+ o.client.isActive ? X("", !0) : (w(), F("span", $g, " [ Деактивирован ] "))
2548
2548
  ], 8, Tg),
2549
- o.showCityAndRegion && o.client.city ? (w(), R("span", Pg, " г. " + Y(o.client.city.name) + ", " + Y(o.client.city.region.name), 1)) : X("", !0)
2549
+ o.showCityAndRegion && o.client.city ? (w(), F("span", Pg, " г. " + Y(o.client.city.name) + ", " + Y(o.client.city.region.name), 1)) : X("", !0)
2550
2550
  ])
2551
2551
  ]),
2552
- default: F(() => [
2553
- o.client.alternativeName ? (w(), R("div", Mg, Y(o.client.alternativeName), 1)) : X("", !0),
2554
- s.value ? (w(), R("span", Rg, " Последний вход: " + Y(s.value), 1)) : X("", !0),
2555
- Pe(o.$slots, "popover-content")
2552
+ default: R(() => [
2553
+ o.client.alternativeName ? (w(), F("div", Mg, Y(o.client.alternativeName), 1)) : X("", !0),
2554
+ s.value ? (w(), F("span", Rg, " Последний вход: " + Y(s.value), 1)) : X("", !0),
2555
+ Te(o.$slots, "popover-content")
2556
2556
  ]),
2557
2557
  _: 3
2558
2558
  }, 8, ["disabled", "placement"])
@@ -2566,7 +2566,7 @@ const Rp = {
2566
2566
  contragent: {}
2567
2567
  },
2568
2568
  setup(e) {
2569
- return (t, i) => (w(), R("span", Eg, Y(t.contragent.name), 1));
2569
+ return (t, i) => (w(), F("span", Eg, Y(t.contragent.name), 1));
2570
2570
  }
2571
2571
  }), Bg = {
2572
2572
  viewBox: "0 0 24 24",
@@ -2574,7 +2574,7 @@ const Rp = {
2574
2574
  height: "1.2em"
2575
2575
  };
2576
2576
  function zg(e, t) {
2577
- return w(), R("svg", Bg, t[0] || (t[0] = [
2577
+ return w(), F("svg", Bg, t[0] || (t[0] = [
2578
2578
  T("g", {
2579
2579
  fill: "none",
2580
2580
  stroke: "currentColor",
@@ -2597,7 +2597,7 @@ const Ig = Ye({ name: "tabler-mail", render: zg }), Lg = ["href"], Dg = {}, f5 =
2597
2597
  setup(e) {
2598
2598
  return (t, i) => {
2599
2599
  const n = Ig;
2600
- return w(), R("span", {
2600
+ return w(), F("span", {
2601
2601
  class: Je({ "flex flex-row items-center gap-1": t.showEmailIcon })
2602
2602
  }, [
2603
2603
  t.showEmailIcon ? (w(), se(n, { key: 0 })) : X("", !0),
@@ -2614,7 +2614,7 @@ const Ig = Ye({ name: "tabler-mail", render: zg }), Lg = ["href"], Dg = {}, f5 =
2614
2614
  height: "1.2em"
2615
2615
  };
2616
2616
  function Hg(e, t) {
2617
- return w(), R("svg", Ng, t[0] || (t[0] = [
2617
+ return w(), F("svg", Ng, t[0] || (t[0] = [
2618
2618
  T("path", {
2619
2619
  fill: "currentColor",
2620
2620
  d: "M444 49.9C431.3 38.2 379.9.9 265.3.4c0 0-135.1-8.1-200.9 52.3C27.8 89.3 14.9 143 13.5 209.5s-3.1 191.1 117 224.9h.1l-.1 51.6s-.8 20.9 13 25.1c16.6 5.2 26.4-10.7 42.3-27.8c8.7-9.4 20.7-23.2 29.8-33.7c82.2 6.9 145.3-8.9 152.5-11.2c16.6-5.4 110.5-17.4 125.7-142c15.8-128.6-7.6-209.8-49.8-246.5M457.9 287c-12.9 104-89 110.6-103 115.1c-6 1.9-61.5 15.7-131.2 11.2c0 0-52 62.7-68.2 79c-5.3 5.3-11.1 4.8-11-5.7c0-6.9.4-85.7.4-85.7q-.15 0 0 0C43.1 372.7 49.1 266.6 50.2 211.1s11.6-101 42.6-131.6c55.7-50.5 170.4-43 170.4-43c96.9.4 143.3 29.6 154.1 39.4c35.7 30.6 53.9 103.8 40.6 211.1m-139-80.8c.4 8.6-12.5 9.2-12.9.6c-1.1-22-11.4-32.7-32.6-33.9c-8.6-.5-7.8-13.4.7-12.9c27.9 1.5 43.4 17.5 44.8 46.2m20.3 11.3c1-42.4-25.5-75.6-75.8-79.3c-8.5-.6-7.6-13.5.9-12.9c58 4.2 88.9 44.1 87.8 92.5c-.1 8.6-13.1 8.2-12.9-.3m47 13.4c.1 8.6-12.9 8.7-12.9.1c-.6-81.5-54.9-125.9-120.8-126.4c-8.5-.1-8.5-12.9 0-12.9c73.7.5 133 51.4 133.7 139.2M374.9 329v.2c-10.8 19-31 40-51.8 33.3l-.2-.3c-21.1-5.9-70.8-31.5-102.2-56.5c-16.2-12.8-31-27.9-42.4-42.4c-10.3-12.9-20.7-28.2-30.8-46.6c-21.3-38.5-26-55.7-26-55.7c-6.7-20.8 14.2-41 33.3-51.8h.2c9.2-4.8 18-3.2 23.9 3.9c0 0 12.4 14.8 17.7 22.1c5 6.8 11.7 17.7 15.2 23.8c6.1 10.9 2.3 22-3.7 26.6l-12 9.6c-6.1 4.9-5.3 14-5.3 14s17.8 67.3 84.3 84.3c0 0 9.1.8 14-5.3l9.6-12c4.6-6 15.7-9.8 26.6-3.7c14.7 8.3 33.4 21.2 45.8 32.9c7 5.7 8.6 14.4 3.8 23.6"
@@ -2627,7 +2627,7 @@ const Uu = Ye({ name: "fa6-brands-viber", render: Hg }), Wg = {
2627
2627
  height: "1.2em"
2628
2628
  }, Vg = ["id"], jg = ["id"], Xg = ["fill"], Ug = ["fill"];
2629
2629
  function Yg(e, t) {
2630
- return w(), R("svg", Wg, [
2630
+ return w(), F("svg", Wg, [
2631
2631
  T("defs", null, [
2632
2632
  T("linearGradient", {
2633
2633
  id: e.idMap.logosWhatsappIcon0,
@@ -2685,7 +2685,7 @@ const Yu = Ye({ name: "logos-whatsapp-icon", render: Yg, setup() {
2685
2685
  height: "1.2em"
2686
2686
  }, Gg = ["id"], Kg = ["fill"];
2687
2687
  function Zg(e, t) {
2688
- return w(), R("svg", qg, [
2688
+ return w(), F("svg", qg, [
2689
2689
  T("defs", null, [
2690
2690
  T("linearGradient", {
2691
2691
  id: e.idMap.logosTelegram0,
@@ -2722,7 +2722,7 @@ const qu = Ye({ name: "logos-telegram", render: Zg, setup() {
2722
2722
  height: "1.2em"
2723
2723
  };
2724
2724
  function Qg(e, t) {
2725
- return w(), R("svg", Jg, t[0] || (t[0] = [
2725
+ return w(), F("svg", Jg, t[0] || (t[0] = [
2726
2726
  T("path", {
2727
2727
  fill: "currentColor",
2728
2728
  d: "M391 480c-19.52 0-46.94-7.06-88-30c-49.93-28-88.55-53.85-138.21-103.38C116.91 298.77 93.61 267.79 61 208.45c-36.84-67-30.56-102.12-23.54-117.13C45.82 73.38 58.16 62.65 74.11 52a176.3 176.3 0 0 1 28.64-15.2c1-.43 1.93-.84 2.76-1.21c4.95-2.23 12.45-5.6 21.95-2c6.34 2.38 12 7.25 20.86 16c18.17 17.92 43 57.83 52.16 77.43c6.15 13.21 10.22 21.93 10.23 31.71c0 11.45-5.76 20.28-12.75 29.81c-1.31 1.79-2.61 3.5-3.87 5.16c-7.61 10-9.28 12.89-8.18 18.05c2.23 10.37 18.86 41.24 46.19 68.51s57.31 42.85 67.72 45.07c5.38 1.15 8.33-.59 18.65-8.47c1.48-1.13 3-2.3 4.59-3.47c10.66-7.93 19.08-13.54 30.26-13.54h.06c9.73 0 18.06 4.22 31.86 11.18c18 9.08 59.11 33.59 77.14 51.78c8.77 8.84 13.66 14.48 16.05 20.81c3.6 9.53.21 17-2 22c-.37.83-.78 1.74-1.21 2.75a176.5 176.5 0 0 1-15.29 28.58c-10.63 15.9-21.4 28.21-39.38 36.58A67.4 67.4 0 0 1 391 480"
@@ -2735,7 +2735,7 @@ const Gu = Ye({ name: "ion-call", render: Qg }), em = {
2735
2735
  height: "1.2em"
2736
2736
  };
2737
2737
  function tm(e, t) {
2738
- return w(), R("svg", em, t[0] || (t[0] = [
2738
+ return w(), F("svg", em, t[0] || (t[0] = [
2739
2739
  T("path", {
2740
2740
  fill: "none",
2741
2741
  stroke: "currentColor",
@@ -2776,7 +2776,7 @@ const im = Ye({ name: "tabler-phone-call", render: tm }), nm = {
2776
2776
  }), o = H(!1);
2777
2777
  return (a, l) => {
2778
2778
  const c = im, u = Gu, d = qu, h = Yu, f = Uu;
2779
- return w(), R("div", null, [
2779
+ return w(), F("div", null, [
2780
2780
  T("div", {
2781
2781
  class: Je({ "border-xl relative inline-flex items-center rounded px-2": n.value && o.value, "min-w-10": !0 }),
2782
2782
  onClick: l[0] || (l[0] = (p) => o.value = !o.value),
@@ -2789,15 +2789,15 @@ const im = Ye({ name: "tabler-phone-call", render: tm }), nm = {
2789
2789
  a.showPhoneIcon ? (w(), se(c, { key: 0 })) : X("", !0),
2790
2790
  oe(" " + Y(s.value), 1)
2791
2791
  ], 2),
2792
- n.value && o.value ? (w(), R("div", nm, [
2793
- n.value ? (w(), R("a", {
2792
+ n.value && o.value ? (w(), F("div", nm, [
2793
+ n.value ? (w(), F("a", {
2794
2794
  key: 0,
2795
2795
  href: `tel:${r.value}`,
2796
2796
  class: "text-blue-600 hover:animate-pulse hover:text-blue-600"
2797
2797
  }, [
2798
2798
  B(u)
2799
2799
  ], 8, sm)) : X("", !0),
2800
- n.value ? (w(), R("a", {
2800
+ n.value ? (w(), F("a", {
2801
2801
  key: 1,
2802
2802
  href: `https://t.me/${r.value}`,
2803
2803
  target: "_blank",
@@ -2806,7 +2806,7 @@ const im = Ye({ name: "tabler-phone-call", render: tm }), nm = {
2806
2806
  }, [
2807
2807
  B(d)
2808
2808
  ], 8, rm)) : X("", !0),
2809
- n.value ? (w(), R("a", {
2809
+ n.value ? (w(), F("a", {
2810
2810
  key: 2,
2811
2811
  href: `https://wa.me/${r.value.substring(1)}`,
2812
2812
  target: "_blank",
@@ -2815,7 +2815,7 @@ const im = Ye({ name: "tabler-phone-call", render: tm }), nm = {
2815
2815
  }, [
2816
2816
  B(h)
2817
2817
  ], 8, om)) : X("", !0),
2818
- n.value ? (w(), R("a", {
2818
+ n.value ? (w(), F("a", {
2819
2819
  key: 3,
2820
2820
  href: `viber://chat?number=${r.value}`,
2821
2821
  class: "text-purple-600 hover:animate-pulse hover:text-purple-600"
@@ -2833,7 +2833,7 @@ const im = Ye({ name: "tabler-phone-call", render: tm }), nm = {
2833
2833
  height: "1.2em"
2834
2834
  };
2835
2835
  function um(e, t) {
2836
- return w(), R("svg", cm, t[0] || (t[0] = [
2836
+ return w(), F("svg", cm, t[0] || (t[0] = [
2837
2837
  T("path", {
2838
2838
  fill: "currentColor",
2839
2839
  d: "m20 8l-8 5l-8-5V6l8 5l8-5m0-2H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2"
@@ -2899,12 +2899,12 @@ const dm = Ye({ name: "mdi-envelope", render: um }), hm = { class: "flex flex-co
2899
2899
  return (l, c) => {
2900
2900
  var m, v;
2901
2901
  const u = Gu, d = qu, h = Yu, f = Uu, p = dm, g = sn;
2902
- return w(), R("div", hm, [
2902
+ return w(), F("div", hm, [
2903
2903
  B(g, {
2904
2904
  disabled: l.fullView,
2905
2905
  placement: "bottom"
2906
2906
  }, {
2907
- trigger: F(() => {
2907
+ trigger: R(() => {
2908
2908
  var _, S, k, C;
2909
2909
  return [
2910
2910
  T("div", {
@@ -2916,21 +2916,21 @@ const dm = Ye({ name: "mdi-envelope", render: um }), hm = { class: "flex flex-co
2916
2916
  onFocusout: c[3] || (c[3] = ($) => a.value = !1)
2917
2917
  }, [
2918
2918
  T("div", null, [
2919
- l.fullView && (l.contact.name || (S = l.contact) != null && S.position) ? (w(), R("div", fm, [
2919
+ l.fullView && (l.contact.name || (S = l.contact) != null && S.position) ? (w(), F("div", fm, [
2920
2920
  oe(Y(l.contact.name) + " ", 1),
2921
- (k = l.contact) != null && k.position ? (w(), R("span", pm, Y((C = l.contact) == null ? void 0 : C.position), 1)) : X("", !0)
2921
+ (k = l.contact) != null && k.position ? (w(), F("span", pm, Y((C = l.contact) == null ? void 0 : C.position), 1)) : X("", !0)
2922
2922
  ])) : X("", !0),
2923
- l.contact.phone ? (w(), R("div", gm, Y(s.value), 1)) : X("", !0),
2924
- l.contact.email ? (w(), R("div", mm, Y(l.contact.email), 1)) : X("", !0),
2925
- o.value && a.value ? (w(), R("div", vm, [
2926
- n.value ? (w(), R("a", {
2923
+ l.contact.phone ? (w(), F("div", gm, Y(s.value), 1)) : X("", !0),
2924
+ l.contact.email ? (w(), F("div", mm, Y(l.contact.email), 1)) : X("", !0),
2925
+ o.value && a.value ? (w(), F("div", vm, [
2926
+ n.value ? (w(), F("a", {
2927
2927
  key: 0,
2928
2928
  href: `tel:${r.value}`,
2929
2929
  class: "text-blue-600 hover:text-3xl hover:text-blue-600"
2930
2930
  }, [
2931
2931
  B(u)
2932
2932
  ], 8, _m)) : X("", !0),
2933
- n.value ? (w(), R("a", {
2933
+ n.value ? (w(), F("a", {
2934
2934
  key: 1,
2935
2935
  href: `https://t.me/${r.value}`,
2936
2936
  target: "_blank",
@@ -2939,7 +2939,7 @@ const dm = Ye({ name: "mdi-envelope", render: um }), hm = { class: "flex flex-co
2939
2939
  }, [
2940
2940
  B(d)
2941
2941
  ], 8, ym)) : X("", !0),
2942
- n.value ? (w(), R("a", {
2942
+ n.value ? (w(), F("a", {
2943
2943
  key: 2,
2944
2944
  href: `https://wa.me/${r.value.substring(1)}`,
2945
2945
  target: "_blank",
@@ -2948,14 +2948,14 @@ const dm = Ye({ name: "mdi-envelope", render: um }), hm = { class: "flex flex-co
2948
2948
  }, [
2949
2949
  B(h)
2950
2950
  ], 8, bm)) : X("", !0),
2951
- n.value ? (w(), R("a", {
2951
+ n.value ? (w(), F("a", {
2952
2952
  key: 3,
2953
2953
  href: `viber://chat?number=${r.value}`,
2954
2954
  class: "text-purple-600 hover:text-3xl hover:text-purple-600"
2955
2955
  }, [
2956
2956
  B(f)
2957
2957
  ], 8, wm)) : X("", !0),
2958
- l.contact.email ? (w(), R("a", {
2958
+ l.contact.email ? (w(), F("a", {
2959
2959
  key: 4,
2960
2960
  href: `mailto:${l.contact.email}`,
2961
2961
  class: "hover:text-3xl"
@@ -2967,14 +2967,14 @@ const dm = Ye({ name: "mdi-envelope", render: um }), hm = { class: "flex flex-co
2967
2967
  ], 38)
2968
2968
  ];
2969
2969
  }),
2970
- default: F(() => {
2970
+ default: R(() => {
2971
2971
  var _, S, k, C;
2972
2972
  return [
2973
- l.contact.name ? (w(), R("div", km, [
2973
+ l.contact.name ? (w(), F("div", km, [
2974
2974
  oe(Y(l.contact.name) + " ", 1),
2975
- (_ = l.contact) != null && _.position ? (w(), R("span", Cm, Y((S = l.contact) == null ? void 0 : S.position), 1)) : X("", !0)
2975
+ (_ = l.contact) != null && _.position ? (w(), F("span", Cm, Y((S = l.contact) == null ? void 0 : S.position), 1)) : X("", !0)
2976
2976
  ])) : X("", !0),
2977
- (k = l.contact) != null && k.comment ? (w(), R("div", Sm, [
2977
+ (k = l.contact) != null && k.comment ? (w(), F("div", Sm, [
2978
2978
  c[4] || (c[4] = T("sup", null, "**", -1)),
2979
2979
  oe(" " + Y((C = l.contact) == null ? void 0 : C.comment), 1)
2980
2980
  ])) : X("", !0)
@@ -2982,7 +2982,7 @@ const dm = Ye({ name: "mdi-envelope", render: um }), hm = { class: "flex flex-co
2982
2982
  }),
2983
2983
  _: 1
2984
2984
  }, 8, ["disabled"]),
2985
- l.fullView && ((m = l.contact) != null && m.comment) ? (w(), R("div", Tm, [
2985
+ l.fullView && ((m = l.contact) != null && m.comment) ? (w(), F("div", Tm, [
2986
2986
  c[5] || (c[5] = T("sup", null, "**", -1)),
2987
2987
  oe(" " + Y((v = l.contact) == null ? void 0 : v.comment), 1)
2988
2988
  ])) : X("", !0)
@@ -3009,15 +3009,15 @@ const dm = Ye({ name: "mdi-envelope", render: um }), hm = { class: "flex flex-co
3009
3009
  });
3010
3010
  return (n, s) => {
3011
3011
  const r = lo;
3012
- return n.isProductSearching ? (w(), R("div", Pm, [
3012
+ return n.isProductSearching ? (w(), F("div", Pm, [
3013
3013
  B(r, {
3014
3014
  size: 17,
3015
3015
  class: "w-fit"
3016
3016
  }),
3017
3017
  s[0] || (s[0] = T("div", null, "Выполняется поиск товара ...", -1))
3018
- ])) : n.product.isNewRec() ? X("", !0) : (w(), R("div", Mm, [
3018
+ ])) : n.product.isNewRec() ? X("", !0) : (w(), F("div", Mm, [
3019
3019
  T("div", null, Y(n.product.code) + " - " + Y(n.product.name) + " - " + Y(n.product.costRub.toLocaleString()) + " ₽ / " + Y(n.product.unit), 1),
3020
- i.value ? (w(), R("div", Rm, "(Планируемая дата производства: " + Y(i.value) + ")", 1)) : X("", !0)
3020
+ i.value ? (w(), F("div", Rm, "(Планируемая дата производства: " + Y(i.value) + ")", 1)) : X("", !0)
3021
3021
  ]));
3022
3022
  };
3023
3023
  }
@@ -3027,7 +3027,7 @@ const dm = Ye({ name: "mdi-envelope", render: um }), hm = { class: "flex flex-co
3027
3027
  height: "1.2em"
3028
3028
  };
3029
3029
  function Am(e, t) {
3030
- return w(), R("svg", Em, t[0] || (t[0] = [
3030
+ return w(), F("svg", Em, t[0] || (t[0] = [
3031
3031
  T("path", {
3032
3032
  fill: "currentColor",
3033
3033
  d: "m289.94 256l95-95A24 24 0 0 0 351 127l-95 95l-95-95a24 24 0 0 0-34 34l95 95l-95 95a24 24 0 1 0 34 34l95-95l95 95a24 24 0 0 0 34-34Z"
@@ -3070,9 +3070,9 @@ const ho = Ye({ name: "ion-close", render: Am }), Om = { class: "mr-3 flex flex-
3070
3070
  style: { "max-height": "12.5rem", width: "auto" },
3071
3071
  trigger: "none"
3072
3072
  }, {
3073
- default: F(() => [
3073
+ default: R(() => [
3074
3074
  T("div", Om, [
3075
- (w(!0), R(Fe, null, Vt(r.settings.allTemplates, (l, c) => (w(), R("div", {
3075
+ (w(!0), F(Fe, null, Vt(r.settings.allTemplates, (l, c) => (w(), F("div", {
3076
3076
  key: c,
3077
3077
  class: "group relative"
3078
3078
  }, [
@@ -3080,7 +3080,7 @@ const ho = Ye({ name: "ion-close", render: Am }), Om = { class: "mr-3 flex flex-
3080
3080
  trigger: "hover",
3081
3081
  placement: "right"
3082
3082
  }, {
3083
- trigger: F(() => [
3083
+ trigger: R(() => [
3084
3084
  T("div", {
3085
3085
  class: Je(["relative h-10 w-24 shrink-0 rounded-md border-2 border-solid border-slate-200", { "!border-green-700": c === r.selectTemplateIndex }]),
3086
3086
  onClick: (u) => s("template:select", c)
@@ -3094,7 +3094,7 @@ const ho = Ye({ name: "ion-close", render: Am }), Om = { class: "mr-3 flex flex-
3094
3094
  ])
3095
3095
  ], 10, Bm)
3096
3096
  ]),
3097
- default: F(() => [
3097
+ default: R(() => [
3098
3098
  oe(" " + Y(l.label), 1)
3099
3099
  ]),
3100
3100
  _: 2
@@ -3107,7 +3107,7 @@ const ho = Ye({ name: "ion-close", render: Am }), Om = { class: "mr-3 flex flex-
3107
3107
  class: "!absolute right-0.5 top-0.5 !hidden group-hover:!flex",
3108
3108
  onClick: (u) => s("remove-custom-template", c)
3109
3109
  }, {
3110
- default: F(() => [
3110
+ default: R(() => [
3111
3111
  B(a)
3112
3112
  ]),
3113
3113
  _: 2
@@ -3125,7 +3125,7 @@ const ho = Ye({ name: "ion-close", render: Am }), Om = { class: "mr-3 flex flex-
3125
3125
  height: "1.2em"
3126
3126
  };
3127
3127
  function Hm(e, t) {
3128
- return w(), R("svg", Nm, t[0] || (t[0] = [
3128
+ return w(), F("svg", Nm, t[0] || (t[0] = [
3129
3129
  T("path", {
3130
3130
  fill: "none",
3131
3131
  d: "M296 64h-80a7.91 7.91 0 0 0-8 8v24h96V72a7.91 7.91 0 0 0-8-8"
@@ -3142,7 +3142,7 @@ const Ku = Ye({ name: "ion-trash", render: Hm }), Wm = {
3142
3142
  height: "1.2em"
3143
3143
  };
3144
3144
  function Vm(e, t) {
3145
- return w(), R("svg", Wm, t[0] || (t[0] = [
3145
+ return w(), F("svg", Wm, t[0] || (t[0] = [
3146
3146
  T("path", {
3147
3147
  d: "M448 224H288V64h-64v160H64v64h160v160h64V288h160z",
3148
3148
  fill: "currentColor"
@@ -3184,7 +3184,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3184
3184
  ), (l, c) => {
3185
3185
  const u = Zu, d = Ku, h = Qn;
3186
3186
  return w(), se(K(lr), { class: "grid gap-2 md:grid-cols-2 md:gap-6" }, {
3187
- default: F(() => {
3187
+ default: R(() => {
3188
3188
  var f, p, g, m, v, _, S, k, C;
3189
3189
  return [
3190
3190
  T("div", jm, [
@@ -3195,7 +3195,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3195
3195
  "show-feedback": !1,
3196
3196
  label: "Тип стартового капельника"
3197
3197
  }, {
3198
- default: F(() => [
3198
+ default: R(() => [
3199
3199
  B(K(mn), {
3200
3200
  value: s.value.startTailType,
3201
3201
  "onUpdate:value": [
@@ -3209,9 +3209,9 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3209
3209
  _: 1
3210
3210
  })) : X("", !0),
3211
3211
  T("div", Xm, [
3212
- (w(!0), R(Fe, null, Vt(s.value.linesAngles, ($, b) => {
3212
+ (w(!0), F(Fe, null, Vt(s.value.linesAngles, ($, b) => {
3213
3213
  var A, L, I, J, N, O;
3214
- return w(), R("div", {
3214
+ return w(), F("div", {
3215
3215
  key: b,
3216
3216
  class: "flex items-start gap-2"
3217
3217
  }, [
@@ -3224,7 +3224,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3224
3224
  "show-feedback": ((L = l.validation[`lines_widths[${b + 1}]`]) == null ? void 0 : L.showFeedback) || !1,
3225
3225
  "validation-status": (I = l.validation[`lines_widths[${b + 1}]`]) == null ? void 0 : I.validationStatus
3226
3226
  }, {
3227
- default: F(() => [
3227
+ default: R(() => [
3228
3228
  B(K(yi), {
3229
3229
  value: s.value.linesWidths[b],
3230
3230
  "onUpdate:value": [(W) => s.value.linesWidths[b] = W, o],
@@ -3244,7 +3244,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3244
3244
  "show-feedback": ((N = l.validation[`lines_angles[${b + 1}]`]) == null ? void 0 : N.showFeedback) || !1,
3245
3245
  "validation-status": (O = l.validation[`lines_angles[${b + 1}]`]) == null ? void 0 : O.validationStatus
3246
3246
  }, {
3247
- default: F(() => [
3247
+ default: R(() => [
3248
3248
  B(K(yi), {
3249
3249
  value: s.value.linesAngles[b],
3250
3250
  "onUpdate:value": [(W) => s.value.linesAngles[b] = W, o],
@@ -3264,13 +3264,13 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3264
3264
  required: !0,
3265
3265
  class: "shrink-0"
3266
3266
  }, {
3267
- default: F(() => [
3267
+ default: R(() => [
3268
3268
  l.settings.showOnlyTemplates ? X("", !0) : (w(), se(K(qe), {
3269
3269
  key: 0,
3270
3270
  size: "medium",
3271
3271
  onClick: (W) => n("click:add-line", b)
3272
3272
  }, {
3273
- default: F(() => [
3273
+ default: R(() => [
3274
3274
  B(u)
3275
3275
  ]),
3276
3276
  _: 2
@@ -3282,7 +3282,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3282
3282
  class: "ml-2",
3283
3283
  onClick: (W) => n("click:remove-line", b)
3284
3284
  }, {
3285
- default: F(() => [
3285
+ default: R(() => [
3286
3286
  B(d)
3287
3287
  ]),
3288
3288
  _: 2
@@ -3299,7 +3299,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3299
3299
  "show-feedback": !1,
3300
3300
  required: !0
3301
3301
  }, {
3302
- default: F(() => [
3302
+ default: R(() => [
3303
3303
  B(K(mn), {
3304
3304
  value: s.value.endTailType,
3305
3305
  "onUpdate:value": [
@@ -3323,7 +3323,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3323
3323
  loading: r.value,
3324
3324
  onClick: c[2] || (c[2] = ($) => n("click:save-template"))
3325
3325
  }, {
3326
- default: F(() => c[9] || (c[9] = [
3326
+ default: R(() => c[9] || (c[9] = [
3327
3327
  oe(" Сохранить шаблон ")
3328
3328
  ])),
3329
3329
  _: 1,
@@ -3335,7 +3335,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3335
3335
  label: "С какой стороны изделие будет иметь цвет",
3336
3336
  "show-feedback": !1
3337
3337
  }, {
3338
- default: F(() => [
3338
+ default: R(() => [
3339
3339
  B(K(mn), {
3340
3340
  value: s.value.colorSide,
3341
3341
  "onUpdate:value": [
@@ -3358,7 +3358,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3358
3358
  "validation-status": (g = l.validation.length) == null ? void 0 : g.validationStatus,
3359
3359
  label: `Метраж${l.settings.stripMinLength ? " от " + l.settings.stripMinLength : ""}${l.settings.stripMaxLength ? " до " + l.settings.stripMaxLength : ""} мм`
3360
3360
  }, {
3361
- default: F(() => [
3361
+ default: R(() => [
3362
3362
  B(K(yi), {
3363
3363
  value: s.value.length,
3364
3364
  "onUpdate:value": [
@@ -3383,7 +3383,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3383
3383
  "validation-status": (_ = l.validation.quantity) == null ? void 0 : _.validationStatus,
3384
3384
  label: "Количество"
3385
3385
  }, {
3386
- default: F(() => [
3386
+ default: R(() => [
3387
3387
  B(K(yi), {
3388
3388
  value: l.value.quantity,
3389
3389
  "onUpdate:value": c[5] || (c[5] = ($) => l.value.quantity = $),
@@ -3402,7 +3402,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3402
3402
  "validation-status": (C = l.validation.marker) == null ? void 0 : C.validationStatus,
3403
3403
  label: "Маркировка"
3404
3404
  }, {
3405
- default: F(() => [
3405
+ default: R(() => [
3406
3406
  B(h, {
3407
3407
  value: l.value.marker,
3408
3408
  "onUpdate:value": c[6] || (c[6] = ($) => l.value.marker = $),
@@ -3418,7 +3418,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3418
3418
  class: "self-start",
3419
3419
  onClick: c[7] || (c[7] = ($) => n("submit", l.value))
3420
3420
  }, {
3421
- default: F(() => [
3421
+ default: R(() => [
3422
3422
  oe(Y(l.value.isNewRec() ? "В корзину" : "Изменить"), 1)
3423
3423
  ]),
3424
3424
  _: 1
@@ -3429,7 +3429,7 @@ const Zu = Ye({ name: "ion-plus", render: Vm }), jm = { class: "flex flex-col ga
3429
3429
  class: "self-start",
3430
3430
  onClick: c[8] || (c[8] = ($) => n("click:view-switch"))
3431
3431
  }, {
3432
- default: F(() => c[11] || (c[11] = [
3432
+ default: R(() => c[11] || (c[11] = [
3433
3433
  oe(" Показать в виде списка ")
3434
3434
  ])),
3435
3435
  _: 1,
@@ -8771,7 +8771,7 @@ var li = {
8771
8771
  }
8772
8772
  `
8773
8773
  }
8774
- }, Cr = Kn.Multiply, Yv = [1, 0, 0, 0, 1, 0, 0, 0, 1], an = new Ai(9), qv = Rt.Utils, rc = new re(), Ma = new Ai([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1]), $e = {
8774
+ }, Cr = Kn.Multiply, Yv = [1, 0, 0, 0, 1, 0, 0, 0, 1], an = new Ai(9), qv = Rt.Utils, rc = new re(), Ma = new Ai([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1]), Pe = {
8775
8775
  precision: 0.9,
8776
8776
  isHidden: /(undefined|none|transparent)/i,
8777
8777
  canvas: ct.document ? ct.document.createElement("canvas") : { getContext: function() {
@@ -8786,7 +8786,7 @@ var li = {
8786
8786
  removeChild: function(e, t) {
8787
8787
  if (e.children)
8788
8788
  for (let i = 0; i < e.children.length; i++)
8789
- $e.group.removeChild(e.children[i], t);
8789
+ Pe.group.removeChild(e.children[i], t);
8790
8790
  e._renderer.texture && (t.deleteTexture(e._renderer.texture), delete e._renderer.texture), e._renderer.positionBuffer && (t.deleteBuffer(e._renderer.positionBuffer), delete e._renderer.positionBuffer);
8791
8791
  },
8792
8792
  render: function(e, t) {
@@ -8803,16 +8803,16 @@ var li = {
8803
8803
  const o = Rt.Utils.getRendererType(
8804
8804
  this._mask._renderer.type
8805
8805
  );
8806
- $e[o].render.call(this._mask, e, t, this), e.stencilFunc(e.EQUAL, 1, 255), e.stencilOp(e.KEEP, e.KEEP, e.KEEP), e.colorMask(!0, !0, !0, !0);
8806
+ Pe[o].render.call(this._mask, e, t, this), e.stencilFunc(e.EQUAL, 1, 255), e.stencilOp(e.KEEP, e.KEEP, e.KEEP), e.colorMask(!0, !0, !0, !0);
8807
8807
  }
8808
8808
  this._flagOpacity = i._flagOpacity || this._flagOpacity, this._renderer.opacity = this._opacity * (i && i._renderer ? i._renderer.opacity : 1);
8809
8809
  let r;
8810
8810
  if (this._flagSubtractions)
8811
8811
  for (r = 0; r < this.subtractions.length; r++)
8812
- $e.group.removeChild(this.subtractions[r], e);
8812
+ Pe.group.removeChild(this.subtractions[r], e);
8813
8813
  for (r = 0; r < this.children.length; r++) {
8814
8814
  const o = this.children[r], a = Rt.Utils.getRendererType(o._renderer.type);
8815
- $e[a].render.call(o, e, t);
8815
+ Pe[a].render.call(o, e, t);
8816
8816
  }
8817
8817
  return this._mask && e.disable(e.STENCIL_TEST), this.flagReset();
8818
8818
  }
@@ -8836,7 +8836,7 @@ var li = {
8836
8836
  const ke = Rt.Utils.getRendererType(
8837
8837
  b._renderer.type
8838
8838
  );
8839
- $e[ke].render.call(b, _, t), _.fillStyle = b._renderer.effect;
8839
+ Pe[ke].render.call(b, _, t), _.fillStyle = b._renderer.effect;
8840
8840
  }
8841
8841
  if (C) {
8842
8842
  if (typeof C == "string")
@@ -8845,7 +8845,7 @@ var li = {
8845
8845
  const ke = Rt.Utils.getRendererType(
8846
8846
  C._renderer.type
8847
8847
  );
8848
- $e[ke].render.call(C, _, t), _.strokeStyle = C._renderer.effect;
8848
+ Pe[ke].render.call(C, _, t), _.strokeStyle = C._renderer.effect;
8849
8849
  }
8850
8850
  $ && (_.lineWidth = $), J && (_.miterLimit = J), I && (_.lineJoin = I), !N && L && (_.lineCap = L);
8851
8851
  }
@@ -8883,7 +8883,7 @@ var li = {
8883
8883
  break;
8884
8884
  }
8885
8885
  }
8886
- N && _.closePath(), $e.isHidden.test(b) || (g = b._renderer && b._renderer.offset, g && (_.save(), _.translate(-b._renderer.offset.x, -b._renderer.offset.y), _.scale(b._renderer.scale.x, b._renderer.scale.y)), _.fill(), g && _.restore()), $e.isHidden.test(C) || (g = C._renderer && C._renderer.offset, g && (_.save(), _.translate(-C._renderer.offset.x, -C._renderer.offset.y), _.scale(C._renderer.scale.x, C._renderer.scale.y), _.lineWidth = $ / C._renderer.scale.x), _.stroke(), g && _.restore()), _.restore();
8886
+ N && _.closePath(), Pe.isHidden.test(b) || (g = b._renderer && b._renderer.offset, g && (_.save(), _.translate(-b._renderer.offset.x, -b._renderer.offset.y), _.scale(b._renderer.scale.x, b._renderer.scale.y)), _.fill(), g && _.restore()), Pe.isHidden.test(C) || (g = C._renderer && C._renderer.offset, g && (_.save(), _.translate(-C._renderer.offset.x, -C._renderer.offset.y), _.scale(C._renderer.scale.x, C._renderer.scale.y), _.lineWidth = $ / C._renderer.scale.x), _.stroke(), g && _.restore()), _.restore();
8887
8887
  },
8888
8888
  getBoundingClientRect: function(e, t, i) {
8889
8889
  let n = 1 / 0, s = -1 / 0, r = 1 / 0, o = -1 / 0, a, l;
@@ -8912,13 +8912,13 @@ var li = {
8912
8912
  const d = Rt.Utils.getRendererType(
8913
8913
  this._mask._renderer.type
8914
8914
  );
8915
- $e[d].render.call(this._mask, e, t, this), e.stencilFunc(e.EQUAL, 1, 255), e.stencilOp(e.KEEP, e.KEEP, e.KEEP), e.colorMask(!0, !0, !0, !0);
8915
+ Pe[d].render.call(this._mask, e, t, this), e.stencilFunc(e.EQUAL, 1, 255), e.stencilOp(e.KEEP, e.KEEP, e.KEEP), e.colorMask(!0, !0, !0, !0);
8916
8916
  }
8917
- if (c ? (this._renderer.rect || (this._renderer.rect = {}), this._renderer.opacity = this._opacity * n._renderer.opacity, $e.path.getBoundingClientRect(
8917
+ if (c ? (this._renderer.rect || (this._renderer.rect = {}), this._renderer.opacity = this._opacity * n._renderer.opacity, Pe.path.getBoundingClientRect(
8918
8918
  this._renderer.vertices,
8919
8919
  this._linewidth,
8920
8920
  this._renderer.rect
8921
- ), $e.updateTexture.call($e, e, this)) : (this._fill && this._fill._update && this._fill._update(), this._stroke && this._stroke._update && this._stroke._update()), this._clip && !i || !this._renderer.texture)
8921
+ ), Pe.updateTexture.call(Pe, e, this)) : (this._fill && this._fill._update && this._fill._update(), this._stroke && this._stroke._update && this._stroke._update()), this._clip && !i || !this._renderer.texture)
8922
8922
  return this;
8923
8923
  t.current !== r && (e.useProgram(r), e.bindBuffer(e.ARRAY_BUFFER, t.buffers.position), e.vertexAttribPointer(r.position, 2, e.FLOAT, !1, 0, 0), e.enableVertexAttribArray(r.position), e.bufferData(e.ARRAY_BUFFER, Ma, e.STATIC_DRAW), t.resolution.flagged || e.uniform2f(
8924
8924
  e.getUniformLocation(r, "u_resolution"),
@@ -8938,7 +8938,7 @@ var li = {
8938
8938
  let i;
8939
8939
  const n = this.canvas, s = this.ctx, r = e.renderer.ratio, o = t._stroke, a = t._linewidth, l = t._fill, c = t._renderer.opacity || t._opacity, u = t.dashes, d = t._size * r;
8940
8940
  let h = d;
8941
- $e.isHidden.test(o) || (h += a), n.width = ad(h), n.height = n.width;
8941
+ Pe.isHidden.test(o) || (h += a), n.width = ad(h), n.height = n.width;
8942
8942
  const f = h / n.width, p = n.width / 2, g = n.height / 2;
8943
8943
  if (s.clearRect(0, 0, n.width, n.height), l)
8944
8944
  if (typeof l == "string")
@@ -8947,7 +8947,7 @@ var li = {
8947
8947
  const m = Rt.Utils.getRendererType(
8948
8948
  l._renderer.type
8949
8949
  );
8950
- $e[m].render.call(l, s, t), s.fillStyle = l._renderer.effect;
8950
+ Pe[m].render.call(l, s, t), s.fillStyle = l._renderer.effect;
8951
8951
  }
8952
8952
  if (o) {
8953
8953
  if (typeof o == "string")
@@ -8956,11 +8956,11 @@ var li = {
8956
8956
  const m = Rt.Utils.getRendererType(
8957
8957
  o._renderer.type
8958
8958
  );
8959
- $e[m].render.call(o, s, t), s.strokeStyle = o._renderer.effect;
8959
+ Pe[m].render.call(o, s, t), s.strokeStyle = o._renderer.effect;
8960
8960
  }
8961
8961
  a && (s.lineWidth = a / f);
8962
8962
  }
8963
- typeof c == "number" && (s.globalAlpha = c), u && u.length > 0 && (s.lineDashOffset = u.offset || 0, s.setLineDash(u)), s.save(), s.translate(p, g), s.scale($e.precision, $e.precision), s.beginPath(), s.arc(0, 0, d / f * 0.5, 0, At), s.restore(), closed && s.closePath(), $e.isHidden.test(l) || (i = l._renderer && l._renderer.offset, i && (s.save(), s.translate(-l._renderer.offset.x, -l._renderer.offset.y), s.scale(l._renderer.scale.x, l._renderer.scale.y)), s.fill(), i && s.restore()), $e.isHidden.test(o) || (i = o._renderer && o._renderer.offset, i && (s.save(), s.translate(-o._renderer.offset.x, -o._renderer.offset.y), s.scale(o._renderer.scale.x, o._renderer.scale.y), s.lineWidth = a / o._renderer.scale.x), s.stroke(), i && s.restore());
8963
+ typeof c == "number" && (s.globalAlpha = c), u && u.length > 0 && (s.lineDashOffset = u.offset || 0, s.setLineDash(u)), s.save(), s.translate(p, g), s.scale(Pe.precision, Pe.precision), s.beginPath(), s.arc(0, 0, d / f * 0.5, 0, At), s.restore(), closed && s.closePath(), Pe.isHidden.test(l) || (i = l._renderer && l._renderer.offset, i && (s.save(), s.translate(-l._renderer.offset.x, -l._renderer.offset.y), s.scale(l._renderer.scale.x, l._renderer.scale.y)), s.fill(), i && s.restore()), Pe.isHidden.test(o) || (i = o._renderer && o._renderer.offset, i && (s.save(), s.translate(-o._renderer.offset.x, -o._renderer.offset.y), s.scale(o._renderer.scale.x, o._renderer.scale.y), s.lineWidth = a / o._renderer.scale.x), s.stroke(), i && s.restore());
8964
8964
  },
8965
8965
  render: function(e, t, i) {
8966
8966
  if (!this._visible || !this._opacity)
@@ -8981,7 +8981,7 @@ var li = {
8981
8981
  const m = this._renderer.positionBuffer;
8982
8982
  m && e.deleteBuffer(m), this._renderer.positionBuffer = e.createBuffer(), e.bindBuffer(e.ARRAY_BUFFER, this._renderer.positionBuffer), e.vertexAttribPointer(r.position, 2, e.FLOAT, !1, 0, 0), e.enableVertexAttribArray(r.position), e.bufferData(e.ARRAY_BUFFER, h, e.STATIC_DRAW);
8983
8983
  }
8984
- return g ? (this._renderer.opacity = this._opacity * s._renderer.opacity, $e.updateTexture.call($e, e, this)) : (this._fill && this._fill._update && this._fill._update(), this._stroke && this._stroke._update && this._stroke._update()), this._clip && !i || !this._renderer.texture ? this : ($e.isHidden.test(a) || (n += l), n /= $e.precision, o && (n *= Math.max(this._renderer.scale.x, this._renderer.scale.y)), t.current !== r && (e.useProgram(r), t.resolution.flagged || e.uniform2f(
8984
+ return g ? (this._renderer.opacity = this._opacity * s._renderer.opacity, Pe.updateTexture.call(Pe, e, this)) : (this._fill && this._fill._update && this._fill._update(), this._stroke && this._stroke._update && this._stroke._update()), this._clip && !i || !this._renderer.texture ? this : (Pe.isHidden.test(a) || (n += l), n /= Pe.precision, o && (n *= Math.max(this._renderer.scale.x, this._renderer.scale.y)), t.current !== r && (e.useProgram(r), t.resolution.flagged || e.uniform2f(
8985
8985
  e.getUniformLocation(r, "u_resolution"),
8986
8986
  t.resolution.width,
8987
8987
  t.resolution.height
@@ -9017,7 +9017,7 @@ var li = {
9017
9017
  const N = Rt.Utils.getRendererType(
9018
9018
  l._renderer.type
9019
9019
  );
9020
- $e[N].render.call(l, n, t), n.fillStyle = l._renderer.effect;
9020
+ Pe[N].render.call(l, n, t), n.fillStyle = l._renderer.effect;
9021
9021
  }
9022
9022
  if (o) {
9023
9023
  if (typeof o == "string")
@@ -9026,17 +9026,17 @@ var li = {
9026
9026
  const N = Rt.Utils.getRendererType(
9027
9027
  o._renderer.type
9028
9028
  );
9029
- $e[N].render.call(o, n, t), n.strokeStyle = o._renderer.effect;
9029
+ Pe[N].render.call(o, n, t), n.strokeStyle = o._renderer.effect;
9030
9030
  }
9031
9031
  a && (n.lineWidth = a);
9032
9032
  }
9033
- if (typeof c == "number" && (n.globalAlpha = c), u && u.length > 0 && (n.lineDashOffset = u.offset || 0, n.setLineDash(u)), n.save(), n.scale(r.x, r.y), n.translate(p, g), $e.isHidden.test(l) || (l._renderer && l._renderer.offset ? (C = l._renderer.scale.x, $ = l._renderer.scale.y, n.save(), n.translate(-l._renderer.offset.x, -l._renderer.offset.y), n.scale(C, $), m = t._size / l._renderer.scale.y, v = t._leading / l._renderer.scale.y, n.font = [
9033
+ if (typeof c == "number" && (n.globalAlpha = c), u && u.length > 0 && (n.lineDashOffset = u.offset || 0, n.setLineDash(u)), n.save(), n.scale(r.x, r.y), n.translate(p, g), Pe.isHidden.test(l) || (l._renderer && l._renderer.offset ? (C = l._renderer.scale.x, $ = l._renderer.scale.y, n.save(), n.translate(-l._renderer.offset.x, -l._renderer.offset.y), n.scale(C, $), m = t._size / l._renderer.scale.y, v = t._leading / l._renderer.scale.y, n.font = [
9034
9034
  t._style,
9035
9035
  t._weight,
9036
9036
  m + "px/",
9037
9037
  v + "px",
9038
9038
  t._family
9039
- ].join(" "), _ = l._renderer.offset.x / l._renderer.scale.x, S = l._renderer.offset.y / l._renderer.scale.y, n.fillText(t.value, _, S), n.restore()) : n.fillText(t.value, 0, 0)), $e.isHidden.test(o) || (o._renderer && o._renderer.offset ? (C = o._renderer.scale.x, $ = o._renderer.scale.y, n.save(), n.translate(-o._renderer.offset.x, -o._renderer.offset.y), n.scale(C, $), m = t._size / o._renderer.scale.y, v = t._leading / o._renderer.scale.y, n.font = [
9039
+ ].join(" "), _ = l._renderer.offset.x / l._renderer.scale.x, S = l._renderer.offset.y / l._renderer.scale.y, n.fillText(t.value, _, S), n.restore()) : n.fillText(t.value, 0, 0)), Pe.isHidden.test(o) || (o._renderer && o._renderer.offset ? (C = o._renderer.scale.x, $ = o._renderer.scale.y, n.save(), n.translate(-o._renderer.offset.x, -o._renderer.offset.y), n.scale(C, $), m = t._size / o._renderer.scale.y, v = t._leading / o._renderer.scale.y, n.font = [
9040
9040
  t._style,
9041
9041
  t._weight,
9042
9042
  m + "px/",
@@ -9057,7 +9057,7 @@ var li = {
9057
9057
  n.restore();
9058
9058
  },
9059
9059
  getBoundingClientRect: function(e, t) {
9060
- const i = $e.ctx;
9060
+ const i = Pe.ctx;
9061
9061
  i.font = [
9062
9062
  e._style,
9063
9063
  e._weight,
@@ -9066,13 +9066,13 @@ var li = {
9066
9066
  ].join(" "), i.textAlign = "center", i.textBaseline = Rt.Utils.baselines[e._baseline] || e._baseline;
9067
9067
  const n = i.measureText(e._value);
9068
9068
  let s = n.width, r = 1.15 * (n.actualBoundingBoxAscent + n.actualBoundingBoxDescent);
9069
- this._linewidth && !$e.isHidden.test(this._stroke) && (s += this._linewidth * 2, r += this._linewidth * 2);
9069
+ this._linewidth && !Pe.isHidden.test(this._stroke) && (s += this._linewidth * 2, r += this._linewidth * 2);
9070
9070
  const o = s / 2, a = r / 2;
9071
- switch ($e.alignments[e._alignment] || e._alignment) {
9072
- case $e.alignments.left:
9071
+ switch (Pe.alignments[e._alignment] || e._alignment) {
9072
+ case Pe.alignments.left:
9073
9073
  e.direction === "ltr" ? (t.left = 0, t.right = s) : (t.left = -s, t.right = 0);
9074
9074
  break;
9075
- case $e.alignments.right:
9075
+ case Pe.alignments.right:
9076
9076
  e.direction === "ltr" ? (t.left = -s, t.right = 0) : (t.left = 0, t.right = s);
9077
9077
  break;
9078
9078
  default:
@@ -9112,9 +9112,9 @@ var li = {
9112
9112
  const u = Rt.Utils.getRendererType(
9113
9113
  this._mask._renderer.type
9114
9114
  );
9115
- $e[u].render.call(this._mask, e, t, this), e.stencilFunc(e.EQUAL, 1, 255), e.stencilOp(e.KEEP, e.KEEP, e.KEEP), e.colorMask(!0, !0, !0, !0);
9115
+ Pe[u].render.call(this._mask, e, t, this), e.stencilFunc(e.EQUAL, 1, 255), e.stencilOp(e.KEEP, e.KEEP, e.KEEP), e.colorMask(!0, !0, !0, !0);
9116
9116
  }
9117
- if (l ? (this._renderer.rect || (this._renderer.rect = {}), this._renderer.opacity = this._opacity * n._renderer.opacity, $e.text.getBoundingClientRect(this, this._renderer.rect), $e.updateTexture.call($e, e, this)) : (this._fill && this._fill._update && this._fill._update(), this._stroke && this._stroke._update && this._stroke._update()), this._clip && !i || !this._renderer.texture)
9117
+ if (l ? (this._renderer.rect || (this._renderer.rect = {}), this._renderer.opacity = this._opacity * n._renderer.opacity, Pe.text.getBoundingClientRect(this, this._renderer.rect), Pe.updateTexture.call(Pe, e, this)) : (this._fill && this._fill._update && this._fill._update(), this._stroke && this._stroke._update && this._stroke._update()), this._clip && !i || !this._renderer.texture)
9118
9118
  return this;
9119
9119
  t.current !== s && (e.useProgram(s), e.bindBuffer(e.ARRAY_BUFFER, t.buffers.position), e.vertexAttribPointer(s.position, 2, e.FLOAT, !1, 0, 0), e.enableVertexAttribArray(s.position), e.bufferData(e.ARRAY_BUFFER, Ma, e.STATIC_DRAW), t.resolution.flagged || e.uniform2f(
9120
9120
  e.getUniformLocation(s, "u_resolution"),
@@ -9186,7 +9186,7 @@ var li = {
9186
9186
  },
9187
9187
  updateTexture: function(e, t) {
9188
9188
  const i = Rt.Utils.getRendererType(t._renderer.type);
9189
- if (this[i].updateCanvas.call($e, e, t), this.canvas.width <= 0 || this.canvas.height <= 0) {
9189
+ if (this[i].updateCanvas.call(Pe, e, t), this.canvas.width <= 0 || this.canvas.height <= 0) {
9190
9190
  t._renderer.texture && e.deleteTexture(t._renderer.texture), delete t._renderer.texture;
9191
9191
  return;
9192
9192
  }
@@ -9219,7 +9219,7 @@ var li = {
9219
9219
  ];
9220
9220
  for (let n = 0; n < i.length; n++) {
9221
9221
  const s = i[n];
9222
- t[s] = $e.extensions.get(e, s);
9222
+ t[s] = Pe.extensions.get(e, s);
9223
9223
  }
9224
9224
  return t;
9225
9225
  },
@@ -9229,12 +9229,12 @@ var li = {
9229
9229
  },
9230
9230
  TextureRegistry: new fo()
9231
9231
  };
9232
- $e.ctx = $e.canvas.getContext("2d");
9232
+ Pe.ctx = Pe.canvas.getContext("2d");
9233
9233
  var Sd = class extends Q {
9234
9234
  constructor(e) {
9235
9235
  super();
9236
9236
  let t, i, n, s;
9237
- if (this.domElement = e.domElement || document.createElement("canvas"), typeof e.offscreenElement < "u" && ($e.canvas = e.offscreenElement, $e.ctx = $e.canvas.getContext("2d")), this.scene = new ft(), this.scene.parent = this, this._renderer = {
9237
+ if (this.domElement = e.domElement || document.createElement("canvas"), typeof e.offscreenElement < "u" && (Pe.canvas = e.offscreenElement, Pe.ctx = Pe.canvas.getContext("2d")), this.scene = new ft(), this.scene.parent = this, this._renderer = {
9238
9238
  type: "renderer",
9239
9239
  matrix: new Ai(Yv),
9240
9240
  scale: 1,
@@ -9261,9 +9261,9 @@ var Sd = class extends Q {
9261
9261
  ratio: 1,
9262
9262
  flagged: !1
9263
9263
  }
9264
- }, i = this.programs.path = $e.program.create(t, [n, s]), this.programs.text = this.programs.path, t.extensions = $e.extensions.init(t), t.renderer = this, i.position = t.getAttribLocation(i, "a_position"), i.matrix = t.getUniformLocation(i, "u_matrix"), i.rect = t.getUniformLocation(i, "u_rect");
9264
+ }, i = this.programs.path = Pe.program.create(t, [n, s]), this.programs.text = this.programs.path, t.extensions = Pe.extensions.init(t), t.renderer = this, i.position = t.getAttribLocation(i, "a_position"), i.matrix = t.getUniformLocation(i, "u_matrix"), i.rect = t.getUniformLocation(i, "u_rect");
9265
9265
  const r = t.createBuffer();
9266
- t.bindBuffer(t.ARRAY_BUFFER, r), t.vertexAttribPointer(i.position, 2, t.FLOAT, !1, 0, 0), t.enableVertexAttribArray(i.position), t.bufferData(t.ARRAY_BUFFER, Ma, t.STATIC_DRAW), n = li.create(t, li.points.vertex, li.types.vertex), s = li.create(t, li.points.fragment, li.types.fragment), i = this.programs.points = $e.program.create(t, [n, s]), i.position = t.getAttribLocation(i, "a_position"), i.matrix = t.getUniformLocation(i, "u_matrix"), i.size = t.getUniformLocation(i, "u_size"), t.enable(t.BLEND), t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL, !0), t.blendEquation(t.FUNC_ADD), t.blendFunc(t.ONE, t.ONE_MINUS_SRC_ALPHA);
9266
+ t.bindBuffer(t.ARRAY_BUFFER, r), t.vertexAttribPointer(i.position, 2, t.FLOAT, !1, 0, 0), t.enableVertexAttribArray(i.position), t.bufferData(t.ARRAY_BUFFER, Ma, t.STATIC_DRAW), n = li.create(t, li.points.vertex, li.types.vertex), s = li.create(t, li.points.fragment, li.types.fragment), i = this.programs.points = Pe.program.create(t, [n, s]), i.position = t.getAttribLocation(i, "a_position"), i.matrix = t.getUniformLocation(i, "u_matrix"), i.size = t.getUniformLocation(i, "u_size"), t.enable(t.BLEND), t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL, !0), t.blendEquation(t.FUNC_ADD), t.blendFunc(t.ONE, t.ONE_MINUS_SRC_ALPHA);
9267
9267
  }
9268
9268
  setSize(e, t, i) {
9269
9269
  let n, s;
@@ -9275,10 +9275,10 @@ var Sd = class extends Q {
9275
9275
  }
9276
9276
  render() {
9277
9277
  const e = this.ctx;
9278
- return this.overdraw || e.clear(e.COLOR_BUFFER_BIT), $e.group.render.call(this.scene, e, this.programs), this._flagMatrix = !1, this.programs.resolution.flagged = !0, this;
9278
+ return this.overdraw || e.clear(e.COLOR_BUFFER_BIT), Pe.group.render.call(this.scene, e, this.programs), this._flagMatrix = !1, this.programs.resolution.flagged = !0, this;
9279
9279
  }
9280
9280
  };
9281
- y(Sd, "Utils", $e);
9281
+ y(Sd, "Utils", Pe);
9282
9282
  var Gv = me.extend(
9283
9283
  {
9284
9284
  Error: Kt,
@@ -16464,7 +16464,7 @@ const nt = {
16464
16464
  ), ee(l));
16465
16465
  }), oi(() => {
16466
16466
  l && (l.clear(), l = null);
16467
- }), (z, E) => (w(), R("div", A0, [
16467
+ }), (z, E) => (w(), F("div", A0, [
16468
16468
  B(Dm, {
16469
16469
  "select-template-index": z.selectTemplateIndex,
16470
16470
  settings: z.settings,
@@ -16548,7 +16548,7 @@ const nt = {
16548
16548
  };
16549
16549
  return or(() => {
16550
16550
  h();
16551
- }), (C, $) => (w(), R("div", L0, [
16551
+ }), (C, $) => (w(), F("div", L0, [
16552
16552
  B(I0, {
16553
16553
  value: a.value,
16554
16554
  "select-template-index": d.value,
@@ -16811,7 +16811,12 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
16811
16811
  max: f.max,
16812
16812
  step: f.step,
16813
16813
  validator: f.validator
16814
- }, null, 8, ["value", "clearable", "placeholder", "min", "max", "step", "validator"]));
16814
+ }, {
16815
+ prefix: R(() => [
16816
+ Te(f.$slots, "prefix")
16817
+ ]),
16818
+ _: 3
16819
+ }, 8, ["value", "clearable", "placeholder", "min", "max", "step", "validator"]));
16815
16820
  }
16816
16821
  }), H0 = { class: "flex flex-col gap-3" }, W0 = {}, V0 = /* @__PURE__ */ te({
16817
16822
  ...W0,
@@ -16842,7 +16847,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
16842
16847
  disabled: l.isSubmitProcessing,
16843
16848
  class: "flex flex-col gap-2"
16844
16849
  }, {
16845
- default: F(() => [
16850
+ default: R(() => [
16846
16851
  B(K(Ze), {
16847
16852
  required: !0,
16848
16853
  feedback: l.validation.width.feedback || "",
@@ -16850,7 +16855,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
16850
16855
  "validation-status": l.validation.width.validationStatus || void 0,
16851
16856
  label: `Ширина, ${l.settings.minWidth ? " от " + l.settings.minWidth : ""}${l.settings.maxWidth ? " до " + l.settings.maxWidth : ""} мм`
16852
16857
  }, {
16853
- default: F(() => [
16858
+ default: R(() => [
16854
16859
  B(Qs, {
16855
16860
  ref: "first-input-element",
16856
16861
  value: r.value.width,
@@ -16874,7 +16879,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
16874
16879
  "validation-status": l.validation.length.validationStatus || void 0,
16875
16880
  label: `Длина, ${l.settings.minLength ? " от " + l.settings.minLength : ""}${l.settings.maxLength ? " до " + l.settings.maxLength : ""} мм`
16876
16881
  }, {
16877
- default: F(() => [
16882
+ default: R(() => [
16878
16883
  B(Qs, {
16879
16884
  value: r.value.length,
16880
16885
  "onUpdate:value": [
@@ -16897,7 +16902,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
16897
16902
  "validation-status": l.validation.quantity.validationStatus || void 0,
16898
16903
  label: "Количество"
16899
16904
  }, {
16900
- default: F(() => [
16905
+ default: R(() => [
16901
16906
  B(K(yi), {
16902
16907
  value: l.value.quantity,
16903
16908
  placeholder: "Введите количество",
@@ -16915,7 +16920,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
16915
16920
  "validation-status": l.validation.marker.validationStatus || void 0,
16916
16921
  label: "Маркировка"
16917
16922
  }, {
16918
- default: F(() => [
16923
+ default: R(() => [
16919
16924
  B(u, {
16920
16925
  value: l.value.marker,
16921
16926
  placeholder: "Введите маркировку",
@@ -16938,7 +16943,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
16938
16943
  class: "self-start",
16939
16944
  onClick: c[4] || (c[4] = (d) => n("submit", l.value))
16940
16945
  }, {
16941
- default: F(() => [
16946
+ default: R(() => [
16942
16947
  oe(Y(l.value.isNewRec() ? "В корзину" : "Изменить"), 1)
16943
16948
  ]),
16944
16949
  _: 1
@@ -16949,7 +16954,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
16949
16954
  class: "self-start",
16950
16955
  onClick: c[5] || (c[5] = (d) => n("click:view-switch"))
16951
16956
  }, {
16952
- default: F(() => c[6] || (c[6] = [
16957
+ default: R(() => c[6] || (c[6] = [
16953
16958
  oe(" Показать в виде списка ")
16954
16959
  ])),
16955
16960
  _: 1,
@@ -16993,7 +16998,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
16993
16998
  a.value = !1;
16994
16999
  })), a.value = !1;
16995
17000
  };
16996
- return (u, d) => (w(), R("div", j0, [
17001
+ return (u, d) => (w(), F("div", j0, [
16997
17002
  B(V0, {
16998
17003
  value: s.value,
16999
17004
  "onUpdate:value": d[0] || (d[0] = (h) => s.value = h),
@@ -17032,13 +17037,13 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17032
17037
  return (h, f) => {
17033
17038
  const p = Qn;
17034
17039
  return w(), se(K(lr), { class: "flex flex-col gap-2 px-4 md:max-w-96" }, {
17035
- default: F(() => [
17040
+ default: R(() => [
17036
17041
  B(K(Ze), {
17037
17042
  required: !0,
17038
17043
  "show-feedback": !1,
17039
17044
  label: "Тип сетки"
17040
17045
  }, {
17041
- default: F(() => [
17046
+ default: R(() => [
17042
17047
  B(K(mn), {
17043
17048
  value: r.value.netType,
17044
17049
  "onUpdate:value": [
@@ -17055,7 +17060,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17055
17060
  "show-feedback": !1,
17056
17061
  label: "Цвет профиля"
17057
17062
  }, {
17058
- default: F(() => [
17063
+ default: R(() => [
17059
17064
  B(K(mn), {
17060
17065
  value: r.value.color,
17061
17066
  "onUpdate:value": f[1] || (f[1] = (g) => r.value.color = g),
@@ -17069,7 +17074,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17069
17074
  "show-feedback": !1,
17070
17075
  label: "Вид крепления"
17071
17076
  }, {
17072
- default: F(() => [
17077
+ default: R(() => [
17073
17078
  B(K(mn), {
17074
17079
  value: r.value.mountType,
17075
17080
  "onUpdate:value": [
@@ -17088,10 +17093,10 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17088
17093
  "validation-status": h.validation.width.validationStatus || void 0,
17089
17094
  label: `Ширина светового проёма от ${h.settings.minWidth - o.value} ${l.value ? " до " + l.value : ""} мм.`
17090
17095
  }, {
17091
- feedback: F(() => [
17092
- !h.validation.width.showFeedback && r.value.width >= h.settings.minWidth && r.value.width <= h.settings.maxWidths[r.value.netType] ? (w(), R("div", U0, [
17096
+ feedback: R(() => [
17097
+ !h.validation.width.showFeedback && r.value.width >= h.settings.minWidth && r.value.width <= h.settings.maxWidths[r.value.netType] ? (w(), F("div", U0, [
17093
17098
  B(K(Ys), { type: "success" }, {
17094
- default: F(() => [
17099
+ default: R(() => [
17095
17100
  oe("Ширина готового изделия " + Y(r.value.width + o.value), 1)
17096
17101
  ]),
17097
17102
  _: 1
@@ -17102,7 +17107,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17102
17107
  size: "tiny",
17103
17108
  onClick: f[4] || (f[4] = (g) => n("click:instructions-toggle"))
17104
17109
  }, {
17105
- default: F(() => f[11] || (f[11] = [
17110
+ default: R(() => f[11] || (f[11] = [
17106
17111
  T("span", { class: "text-sm" }, "Руководство", -1)
17107
17112
  ])),
17108
17113
  _: 1,
@@ -17110,7 +17115,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17110
17115
  })
17111
17116
  ])) : X("", !0)
17112
17117
  ]),
17113
- default: F(() => [
17118
+ default: R(() => [
17114
17119
  B(Qs, {
17115
17120
  value: r.value.width && r.value.width - o.value,
17116
17121
  max: l.value,
@@ -17129,10 +17134,10 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17129
17134
  "validation-status": h.validation.height.validationStatus || void 0,
17130
17135
  label: `Высота светового проёма от ${h.settings.minHeight - a.value} ${c.value ? " до " + c.value : ""} мм.`
17131
17136
  }, {
17132
- feedback: F(() => [
17133
- !h.validation.height.showFeedback && r.value.height >= h.settings.minHeight && r.value.height <= h.settings.maxHeights[r.value.netType] ? (w(), R("div", Y0, [
17137
+ feedback: R(() => [
17138
+ !h.validation.height.showFeedback && r.value.height >= h.settings.minHeight && r.value.height <= h.settings.maxHeights[r.value.netType] ? (w(), F("div", Y0, [
17134
17139
  B(K(Ys), { type: "success" }, {
17135
- default: F(() => [
17140
+ default: R(() => [
17136
17141
  oe("Высота готового изделия " + Y(r.value.height + a.value), 1)
17137
17142
  ]),
17138
17143
  _: 1
@@ -17143,7 +17148,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17143
17148
  size: "tiny",
17144
17149
  onClick: f[6] || (f[6] = (g) => n("click:instructions-toggle"))
17145
17150
  }, {
17146
- default: F(() => f[12] || (f[12] = [
17151
+ default: R(() => f[12] || (f[12] = [
17147
17152
  T("span", { class: "text-sm" }, "Руководство", -1)
17148
17153
  ])),
17149
17154
  _: 1,
@@ -17151,7 +17156,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17151
17156
  })
17152
17157
  ])) : X("", !0)
17153
17158
  ]),
17154
- default: F(() => [
17159
+ default: R(() => [
17155
17160
  B(Qs, {
17156
17161
  value: r.value.height && r.value.height - a.value,
17157
17162
  max: c.value,
@@ -17170,7 +17175,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17170
17175
  "validation-status": h.validation.quantity.validationStatus || void 0,
17171
17176
  label: "Количество"
17172
17177
  }, {
17173
- default: F(() => [
17178
+ default: R(() => [
17174
17179
  B(K(yi), {
17175
17180
  value: h.value.quantity,
17176
17181
  "onUpdate:value": f[7] || (f[7] = (g) => h.value.quantity = g),
@@ -17188,7 +17193,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17188
17193
  "validation-status": h.validation.marker.validationStatus || void 0,
17189
17194
  label: "Маркировка"
17190
17195
  }, {
17191
- default: F(() => [
17196
+ default: R(() => [
17192
17197
  B(p, {
17193
17198
  value: h.value.marker,
17194
17199
  "onUpdate:value": f[8] || (f[8] = (g) => h.value.marker = g),
@@ -17209,7 +17214,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17209
17214
  class: "self-start",
17210
17215
  onClick: f[9] || (f[9] = (g) => n("submit", h.value))
17211
17216
  }, {
17212
- default: F(() => [
17217
+ default: R(() => [
17213
17218
  oe(Y(h.value.isNewRec() ? "В корзину" : "Изменить"), 1)
17214
17219
  ]),
17215
17220
  _: 1
@@ -17219,7 +17224,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17219
17224
  type: "default",
17220
17225
  onClick: f[10] || (f[10] = (g) => n("click:show-preview-drawer"))
17221
17226
  }, {
17222
- default: F(() => f[13] || (f[13] = [
17227
+ default: R(() => f[13] || (f[13] = [
17223
17228
  oe(" Предварительный просмотр ")
17224
17229
  ])),
17225
17230
  _: 1,
@@ -17256,13 +17261,13 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17256
17261
  onEsc: a[1] || (a[1] = (c) => r("update:show", !1)),
17257
17262
  onMaskClick: a[2] || (a[2] = (c) => r("update:show", !1))
17258
17263
  }, {
17259
- default: F(() => [
17264
+ default: R(() => [
17260
17265
  T("div", i_, [
17261
17266
  B(l, {
17262
17267
  type: "error",
17263
17268
  class: "text-base font-medium"
17264
17269
  }, {
17265
- default: F(() => a[3] || (a[3] = [
17270
+ default: R(() => a[3] || (a[3] = [
17266
17271
  oe(" Важно! Для того,что бы произвести замер, необходимо открыть оконную створку. ")
17267
17272
  ])),
17268
17273
  _: 1,
@@ -17366,7 +17371,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17366
17371
  ), s = t;
17367
17372
  return (r, o) => {
17368
17373
  const a = qe;
17369
- return w(), R("div", d_, [
17374
+ return w(), F("div", d_, [
17370
17375
  T("div", h_, [
17371
17376
  o[1] || (o[1] = T("div", { class: "window" }, null, -1)),
17372
17377
  T("div", {
@@ -17375,7 +17380,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17375
17380
  T("div", {
17376
17381
  class: Je(["frame", `frame-${r.configuratorParams.color}`])
17377
17382
  }, null, 2),
17378
- n.value ? (w(), R("div", {
17383
+ n.value ? (w(), F("div", {
17379
17384
  key: 0,
17380
17385
  class: Je(["frame-crossbar", `frame-crossbar-${n.value}-${r.configuratorParams.color}`])
17381
17386
  }, null, 2)) : X("", !0),
@@ -17391,7 +17396,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17391
17396
  class: "block justify-self-center",
17392
17397
  onClick: o[0] || (o[0] = (l) => s("open-instructions"))
17393
17398
  }, {
17394
- default: F(() => o[2] || (o[2] = [
17399
+ default: R(() => o[2] || (o[2] = [
17395
17400
  oe(" Руководство по замеру ")
17396
17401
  ])),
17397
17402
  _: 1,
@@ -17434,7 +17439,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17434
17439
  };
17435
17440
  return (f, p) => {
17436
17441
  const g = ho;
17437
- return w(), R(Fe, null, [
17442
+ return w(), F(Fe, null, [
17438
17443
  B(u_, {
17439
17444
  show: o.value,
17440
17445
  "onUpdate:show": p[0] || (p[0] = (m) => o.value = m),
@@ -17449,22 +17454,22 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17449
17454
  "default-width": 375,
17450
17455
  resizable: ""
17451
17456
  }, {
17452
- default: F(() => [
17457
+ default: R(() => [
17453
17458
  B(K(Du), null, {
17454
- header: F(() => [
17459
+ header: R(() => [
17455
17460
  B(K(qe), {
17456
17461
  size: "small",
17457
17462
  type: "primary",
17458
17463
  class: "block justify-self-end",
17459
17464
  onClick: p[2] || (p[2] = (m) => r.value = !1)
17460
17465
  }, {
17461
- default: F(() => [
17466
+ default: R(() => [
17462
17467
  B(g)
17463
17468
  ]),
17464
17469
  _: 1
17465
17470
  })
17466
17471
  ]),
17467
- default: F(() => [
17472
+ default: R(() => [
17468
17473
  B(Lc, {
17469
17474
  "configurator-params": a.value.configuratorParams,
17470
17475
  settings: f.settings,
@@ -17533,13 +17538,13 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17533
17538
  label: `Полоса №${c.index + 1}, мм`,
17534
17539
  required: !0
17535
17540
  }, {
17536
- feedback: F(() => [
17541
+ feedback: R(() => [
17537
17542
  B(uo, {
17538
17543
  "is-product-searching": o.value,
17539
17544
  product: c.product
17540
17545
  }, null, 8, ["is-product-searching", "product"])
17541
17546
  ]),
17542
- default: F(() => [
17547
+ default: R(() => [
17543
17548
  B(K(Qa), {
17544
17549
  trigger: "click",
17545
17550
  options: c.suggestionOption,
@@ -17547,7 +17552,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17547
17552
  size: "large",
17548
17553
  onSelect: a
17549
17554
  }, {
17550
- default: F(() => [
17555
+ default: R(() => [
17551
17556
  B(Qs, {
17552
17557
  ref: "width-input-element",
17553
17558
  value: c.value,
@@ -17566,7 +17571,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17566
17571
  class: "ml-2",
17567
17572
  onClick: u[0] || (u[0] = (f) => s("click:add-line", c.index))
17568
17573
  }, {
17569
- default: F(() => [
17574
+ default: R(() => [
17570
17575
  B(d)
17571
17576
  ]),
17572
17577
  _: 1
@@ -17577,7 +17582,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17577
17582
  class: "ml-2",
17578
17583
  onClick: u[1] || (u[1] = (f) => s("click:remove-line", c.index))
17579
17584
  }, {
17580
- default: F(() => [
17585
+ default: R(() => [
17581
17586
  B(h)
17582
17587
  ]),
17583
17588
  _: 1
@@ -17617,10 +17622,10 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17617
17622
  return (u, d) => {
17618
17623
  const h = Ys, f = Qn;
17619
17624
  return w(), se(K(lr), { class: "flex flex-col gap-2" }, {
17620
- default: F(() => {
17625
+ default: R(() => {
17621
17626
  var p;
17622
17627
  return [
17623
- (w(!0), R(Fe, null, Vt(u.value, (g, m) => (w(), se(__, {
17628
+ (w(!0), F(Fe, null, Vt(u.value, (g, m) => (w(), se(__, {
17624
17629
  key: m,
17625
17630
  "auto-focus": !0,
17626
17631
  index: m,
@@ -17639,7 +17644,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17639
17644
  key: 0,
17640
17645
  type: "error"
17641
17646
  }, {
17642
- default: F(() => [
17647
+ default: R(() => [
17643
17648
  oe(" Сумма ширин всех полос должна быть равна " + Y(u.settings.width), 1)
17644
17649
  ]),
17645
17650
  _: 1
@@ -17648,7 +17653,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17648
17653
  key: 1,
17649
17654
  type: "error"
17650
17655
  }, {
17651
- default: F(() => d[8] || (d[8] = [
17656
+ default: R(() => d[8] || (d[8] = [
17652
17657
  oe(" Остаток резки должен быть равен 0 ")
17653
17658
  ])),
17654
17659
  _: 1,
@@ -17659,7 +17664,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17659
17664
  B(h, {
17660
17665
  type: r.value >= 0 ? "Success" : "error"
17661
17666
  }, {
17662
- default: F(() => [
17667
+ default: R(() => [
17663
17668
  oe(Y(r.value), 1)
17664
17669
  ]),
17665
17670
  _: 1
@@ -17674,7 +17679,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17674
17679
  class: "self-center",
17675
17680
  onClick: d[2] || (d[2] = (g) => n("click:add-line", u.value.length))
17676
17681
  }, {
17677
- default: F(() => d[10] || (d[10] = [
17682
+ default: R(() => d[10] || (d[10] = [
17678
17683
  oe(" Добавить полосу ")
17679
17684
  ])),
17680
17685
  _: 1,
@@ -17684,7 +17689,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17684
17689
  required: !0,
17685
17690
  label: `Метраж ${u.settings.minLength ? " от " + u.settings.minLength : ""} ${u.settings.maxLength ? " до " + u.settings.maxLength : ""} м.`
17686
17691
  }, {
17687
- default: F(() => [
17692
+ default: R(() => [
17688
17693
  B(K(yi), {
17689
17694
  value: i.value[0].length,
17690
17695
  max: u.settings.maxLength || void 0,
@@ -17702,7 +17707,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17702
17707
  required: !0,
17703
17708
  label: "Количество"
17704
17709
  }, {
17705
- default: F(() => [
17710
+ default: R(() => [
17706
17711
  B(K(yi), {
17707
17712
  value: i.value[0].quantity,
17708
17713
  min: 1,
@@ -17715,7 +17720,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17715
17720
  _: 1
17716
17721
  }),
17717
17722
  B(K(Ze), { label: "Маркировка" }, {
17718
- default: F(() => [
17723
+ default: R(() => [
17719
17724
  B(f, {
17720
17725
  value: i.value[0].marker,
17721
17726
  placeholder: "Введите маркировку",
@@ -17735,7 +17740,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17735
17740
  class: "self-start",
17736
17741
  onClick: d[6] || (d[6] = (g) => n("submit", u.value))
17737
17742
  }, {
17738
- default: F(() => [
17743
+ default: R(() => [
17739
17744
  oe(Y(u.value[0].isNewRec() ? "В корзину" : "Изменить"), 1)
17740
17745
  ]),
17741
17746
  _: 1
@@ -17746,7 +17751,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17746
17751
  class: "self-start",
17747
17752
  onClick: d[7] || (d[7] = (g) => n("click:view-switch"))
17748
17753
  }, {
17749
- default: F(() => d[11] || (d[11] = [
17754
+ default: R(() => d[11] || (d[11] = [
17750
17755
  oe(" Показать в виде списка ")
17751
17756
  ])),
17752
17757
  _: 1,
@@ -17767,7 +17772,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17767
17772
  settings: {}
17768
17773
  },
17769
17774
  setup(e) {
17770
- return (t, i) => (w(), R("div", k_, [
17775
+ return (t, i) => (w(), F("div", k_, [
17771
17776
  T("img", {
17772
17777
  src: "/img/configurators/strip/strip-" + t.value.length + ".png",
17773
17778
  class: "w-full max-w-96 self-center",
@@ -17839,7 +17844,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17839
17844
  o.value = !1;
17840
17845
  })), o.value = !1;
17841
17846
  };
17842
- return (h, f) => (w(), R("div", P_, [
17847
+ return (h, f) => (w(), F("div", P_, [
17843
17848
  B($_, {
17844
17849
  value: s.value,
17845
17850
  "onUpdate:value": f[0] || (f[0] = (p) => s.value = p),
@@ -17889,7 +17894,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17889
17894
  return (o, a) => {
17890
17895
  var u, d, h, f;
17891
17896
  const l = qe, c = cf;
17892
- return w(), R("div", R_, [
17897
+ return w(), F("div", R_, [
17893
17898
  B(c, {
17894
17899
  value: (d = (u = o.dateRange) == null ? void 0 : u.from) == null ? void 0 : d.getTime(),
17895
17900
  clearable: o.clearable,
@@ -17906,9 +17911,9 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17906
17911
  }, Yn({ _: 2 }, [
17907
17912
  s.value ? {
17908
17913
  name: "footer",
17909
- fn: F(() => [
17914
+ fn: R(() => [
17910
17915
  T("div", F_, [
17911
- (w(!0), R(Fe, null, Vt(s.value, (p, g) => (w(), se(l, {
17916
+ (w(!0), F(Fe, null, Vt(s.value, (p, g) => (w(), se(l, {
17912
17917
  key: g,
17913
17918
  class: "my-1 mr-2",
17914
17919
  size: "small",
@@ -17919,7 +17924,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17919
17924
  return r((v = p == null ? void 0 : p.from) == null ? void 0 : v.getTime(), (_ = p == null ? void 0 : p.to) == null ? void 0 : _.getTime());
17920
17925
  }
17921
17926
  }, {
17922
- default: F(() => [
17927
+ default: R(() => [
17923
17928
  oe(Y(p.label), 1)
17924
17929
  ]),
17925
17930
  _: 2
@@ -17945,9 +17950,9 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17945
17950
  }, Yn({ _: 2 }, [
17946
17951
  s.value ? {
17947
17952
  name: "footer",
17948
- fn: F(() => [
17953
+ fn: R(() => [
17949
17954
  T("div", E_, [
17950
- (w(!0), R(Fe, null, Vt(s.value, (p, g) => (w(), se(l, {
17955
+ (w(!0), F(Fe, null, Vt(s.value, (p, g) => (w(), se(l, {
17951
17956
  key: g,
17952
17957
  class: "my-1 mr-2",
17953
17958
  size: "small",
@@ -17958,7 +17963,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17958
17963
  return r((v = p == null ? void 0 : p.from) == null ? void 0 : v.getTime(), (_ = p == null ? void 0 : p.to) == null ? void 0 : _.getTime());
17959
17964
  }
17960
17965
  }, {
17961
- default: F(() => [
17966
+ default: R(() => [
17962
17967
  oe(Y(p.label), 1)
17963
17968
  ]),
17964
17969
  _: 2
@@ -17981,7 +17986,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
17981
17986
  },
17982
17987
  setup(e) {
17983
17988
  const t = e, i = D(() => Ts(t.date, ki.getConfig().dateFormats.uiDate)), n = D(() => Ts(t.date, "HH:mm"));
17984
- return (s, r) => (w(), R("span", {
17989
+ return (s, r) => (w(), F("span", {
17985
17990
  class: Je({ "flex flex-col": s.isTimeOnSecondLine })
17986
17991
  }, [
17987
17992
  T("span", O_, Y(i.value), 1),
@@ -18000,31 +18005,31 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
18000
18005
  setup(e) {
18001
18006
  return (t, i) => {
18002
18007
  const n = ho, s = qe, r = sn;
18003
- return w(), R("div", z_, [
18008
+ return w(), F("div", z_, [
18004
18009
  T("div", I_, [
18005
- Pe(t.$slots, "main")
18010
+ Te(t.$slots, "main")
18006
18011
  ]),
18007
18012
  T("div", null, [
18008
18013
  T("div", L_, [
18009
- Pe(t.$slots, "extra-buttons"),
18014
+ Te(t.$slots, "extra-buttons"),
18010
18015
  T("div", D_, [
18011
18016
  t.showCloseButton ? (w(), se(r, {
18012
18017
  key: 0,
18013
18018
  placement: "bottom"
18014
18019
  }, {
18015
- trigger: F(() => [
18020
+ trigger: R(() => [
18016
18021
  B(s, {
18017
18022
  size: "small",
18018
18023
  type: "error",
18019
18024
  onClick: i[0] || (i[0] = (o) => t.$emit("close"))
18020
18025
  }, {
18021
- default: F(() => [
18026
+ default: R(() => [
18022
18027
  B(n)
18023
18028
  ]),
18024
18029
  _: 1
18025
18030
  })
18026
18031
  ]),
18027
- default: F(() => [
18032
+ default: R(() => [
18028
18033
  i[1] || (i[1] = oe(" Закрыть "))
18029
18034
  ]),
18030
18035
  _: 1,
@@ -18111,26 +18116,26 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
18111
18116
  onEsc: p[2] || (p[2] = (v) => d("esc")),
18112
18117
  onMaskClick: p[3] || (p[3] = (v) => d("mask"))
18113
18118
  }, Yn({
18114
- default: F(() => [
18115
- Pe(f.$slots, "default")
18119
+ default: R(() => [
18120
+ Te(f.$slots, "default")
18116
18121
  ]),
18117
18122
  _: 2
18118
18123
  }, [
18119
18124
  f.$slots.header ? {
18120
18125
  name: "header",
18121
- fn: F(() => [
18122
- Pe(f.$slots, "header")
18126
+ fn: R(() => [
18127
+ Te(f.$slots, "header")
18123
18128
  ]),
18124
18129
  key: "0"
18125
18130
  } : void 0,
18126
18131
  f.$slots.action || f.$slots["extra-action"] || f.acceptButton.show || f.cancelButton.show ? {
18127
18132
  name: "action",
18128
- fn: F(() => [
18129
- f.$slots["extra-action"] ? (w(), R("div", H_, [
18130
- Pe(f.$slots, "extra-action")
18133
+ fn: R(() => [
18134
+ f.$slots["extra-action"] ? (w(), F("div", H_, [
18135
+ Te(f.$slots, "extra-action")
18131
18136
  ])) : X("", !0),
18132
- f.$slots.action || f.acceptButton.show || f.cancelButton.show ? (w(), R("div", W_, [
18133
- Pe(f.$slots, "action", { disabled: o.value }),
18137
+ f.$slots.action || f.acceptButton.show || f.cancelButton.show ? (w(), F("div", W_, [
18138
+ Te(f.$slots, "action", { disabled: o.value }),
18134
18139
  f.acceptButton.show ?? !0 ? (w(), se(g, {
18135
18140
  key: 0,
18136
18141
  disabled: o.value,
@@ -18138,7 +18143,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
18138
18143
  type: "primary",
18139
18144
  onClick: h
18140
18145
  }, {
18141
- default: F(() => [
18146
+ default: R(() => [
18142
18147
  oe(Y(f.acceptButton.text ?? "ОК"), 1)
18143
18148
  ]),
18144
18149
  _: 1
@@ -18149,7 +18154,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
18149
18154
  type: "default",
18150
18155
  onClick: p[0] || (p[0] = (v) => d("footer"))
18151
18156
  }, {
18152
- default: F(() => [
18157
+ default: R(() => [
18153
18158
  oe(Y(f.cancelButton.text ?? "Отмена"), 1)
18154
18159
  ]),
18155
18160
  _: 1
@@ -18167,7 +18172,7 @@ const N0 = {}, Qs = /* @__PURE__ */ te({
18167
18172
  height: "1.2em"
18168
18173
  };
18169
18174
  function X_(e, t) {
18170
- return w(), R("svg", j_, t[0] || (t[0] = [
18175
+ return w(), F("svg", j_, t[0] || (t[0] = [
18171
18176
  T("path", {
18172
18177
  fill: "none",
18173
18178
  stroke: "currentColor",
@@ -18214,10 +18219,10 @@ const U_ = Ye({ name: "ion-download-outline", render: X_ }), Y_ = {}, F5 = /* @_
18214
18219
  class: "content-center",
18215
18220
  "onUpdate:fileList": s
18216
18221
  }, {
18217
- default: F(() => [
18222
+ default: R(() => [
18218
18223
  B(l, null, {
18219
- default: F(() => [
18220
- Pe(r.$slots, "dragged-area", {}, () => [
18224
+ default: R(() => [
18225
+ Te(r.$slots, "dragged-area", {}, () => [
18221
18226
  T("div", null, [
18222
18227
  B(a, { class: "text-2xl" }),
18223
18228
  T("div", null, Y(r.draggedAreaText ?? "Перетащите в эту область файл, который необходимо загрузить."), 1)
@@ -18237,7 +18242,7 @@ const U_ = Ye({ name: "ion-download-outline", render: X_ }), Y_ = {}, F5 = /* @_
18237
18242
  height: "1.2em"
18238
18243
  };
18239
18244
  function G_(e, t) {
18240
- return w(), R("svg", q_, t[0] || (t[0] = [
18245
+ return w(), F("svg", q_, t[0] || (t[0] = [
18241
18246
  T("path", {
18242
18247
  fill: "none",
18243
18248
  stroke: "currentColor",
@@ -18254,7 +18259,7 @@ const K_ = Ye({ name: "ion-checkmark-done-sharp", render: G_ }), Z_ = {
18254
18259
  height: "1.2em"
18255
18260
  };
18256
18261
  function J_(e, t) {
18257
- return w(), R("svg", Z_, t[0] || (t[0] = [
18262
+ return w(), F("svg", Z_, t[0] || (t[0] = [
18258
18263
  T("path", {
18259
18264
  fill: "none",
18260
18265
  stroke: "currentColor",
@@ -18317,9 +18322,9 @@ const Q_ = Ye({ name: "ion-options-outline", render: J_ }), ey = { class: "flex
18317
18322
  };
18318
18323
  return (l, c) => {
18319
18324
  const u = Q_, d = qe, h = sn, f = K_, p = ho;
18320
- return w(), R("div", ey, [
18325
+ return w(), F("div", ey, [
18321
18326
  T("div", ty, [
18322
- Pe(l.$slots, "default")
18327
+ Te(l.$slots, "default")
18323
18328
  ]),
18324
18329
  T("div", null, [
18325
18330
  T("div", iy, [
@@ -18328,7 +18333,7 @@ const Q_ = Ye({ name: "ion-options-outline", render: J_ }), ey = { class: "flex
18328
18333
  key: 0,
18329
18334
  placement: "bottom"
18330
18335
  }, {
18331
- trigger: F(() => [
18336
+ trigger: R(() => [
18332
18337
  B(d, {
18333
18338
  disabled: l.disabled || n.value,
18334
18339
  type: "info",
@@ -18336,13 +18341,13 @@ const Q_ = Ye({ name: "ion-options-outline", render: J_ }), ey = { class: "flex
18336
18341
  size: "small",
18337
18342
  onClick: s
18338
18343
  }, {
18339
- default: F(() => [
18344
+ default: R(() => [
18340
18345
  B(u)
18341
18346
  ]),
18342
18347
  _: 1
18343
18348
  }, 8, ["disabled"])
18344
18349
  ]),
18345
- default: F(() => [
18350
+ default: R(() => [
18346
18351
  c[0] || (c[0] = oe(" Редактировать данные "))
18347
18352
  ]),
18348
18353
  _: 1,
@@ -18353,20 +18358,20 @@ const Q_ = Ye({ name: "ion-options-outline", render: J_ }), ey = { class: "flex
18353
18358
  disabled: n.value,
18354
18359
  placement: "bottom"
18355
18360
  }, {
18356
- trigger: F(() => [
18361
+ trigger: R(() => [
18357
18362
  B(d, {
18358
18363
  disabled: l.disabled || n.value,
18359
18364
  type: "primary",
18360
18365
  size: "small",
18361
18366
  onClick: o
18362
18367
  }, {
18363
- default: F(() => [
18368
+ default: R(() => [
18364
18369
  B(f)
18365
18370
  ]),
18366
18371
  _: 1
18367
18372
  }, 8, ["disabled"])
18368
18373
  ]),
18369
- default: F(() => [
18374
+ default: R(() => [
18370
18375
  c[1] || (c[1] = oe(" Сохранить изменения "))
18371
18376
  ]),
18372
18377
  _: 1,
@@ -18376,27 +18381,27 @@ const Q_ = Ye({ name: "ion-options-outline", render: J_ }), ey = { class: "flex
18376
18381
  key: 2,
18377
18382
  placement: "bottom"
18378
18383
  }, {
18379
- trigger: F(() => [
18384
+ trigger: R(() => [
18380
18385
  B(d, {
18381
18386
  disabled: l.disabled || n.value,
18382
18387
  type: "error",
18383
18388
  size: "small",
18384
18389
  onClick: a
18385
18390
  }, {
18386
- default: F(() => [
18391
+ default: R(() => [
18387
18392
  B(p)
18388
18393
  ]),
18389
18394
  _: 1
18390
18395
  }, 8, ["disabled"])
18391
18396
  ]),
18392
- default: F(() => [
18397
+ default: R(() => [
18393
18398
  c[2] || (c[2] = oe(" Отменить изменения "))
18394
18399
  ]),
18395
18400
  _: 1,
18396
18401
  __: [2]
18397
18402
  })) : X("", !0)
18398
18403
  ]),
18399
- Pe(l.$slots, "extra-buttons")
18404
+ Te(l.$slots, "extra-buttons")
18400
18405
  ])
18401
18406
  ])
18402
18407
  ]);
@@ -18419,7 +18424,7 @@ const Q_ = Ye({ name: "ion-options-outline", render: J_ }), ey = { class: "flex
18419
18424
  }, o = (a) => {
18420
18425
  s.value = !1, a(), n("editor:cancel");
18421
18426
  };
18422
- return (a, l) => (w(), R("div", null, [
18427
+ return (a, l) => (w(), F("div", null, [
18423
18428
  s.value ? (w(), se(Dc, {
18424
18429
  key: 1,
18425
18430
  disabled: a.disabled,
@@ -18428,11 +18433,11 @@ const Q_ = Ye({ name: "ion-options-outline", render: J_ }), ey = { class: "flex
18428
18433
  onApply: r,
18429
18434
  onCancel: o
18430
18435
  }, {
18431
- "extra-buttons": F(() => [
18432
- Pe(a.$slots, "extra-editor-buttons")
18436
+ "extra-buttons": R(() => [
18437
+ Te(a.$slots, "extra-editor-buttons")
18433
18438
  ]),
18434
- default: F(() => [
18435
- Pe(a.$slots, "editor")
18439
+ default: R(() => [
18440
+ Te(a.$slots, "editor")
18436
18441
  ]),
18437
18442
  _: 3
18438
18443
  }, 8, ["disabled"])) : (w(), se(Dc, {
@@ -18441,11 +18446,11 @@ const Q_ = Ye({ name: "ion-options-outline", render: J_ }), ey = { class: "flex
18441
18446
  "show-edit-button": a.showEditButton,
18442
18447
  onEdit: l[0] || (l[0] = (c) => s.value = !0)
18443
18448
  }, {
18444
- "extra-buttons": F(() => [
18445
- Pe(a.$slots, "extra-viewer-buttons")
18449
+ "extra-buttons": R(() => [
18450
+ Te(a.$slots, "extra-viewer-buttons")
18446
18451
  ]),
18447
- default: F(() => [
18448
- Pe(a.$slots, "viewer")
18452
+ default: R(() => [
18453
+ Te(a.$slots, "viewer")
18449
18454
  ]),
18450
18455
  _: 3
18451
18456
  }, 8, ["disabled", "show-edit-button"]))
@@ -18482,7 +18487,12 @@ const Q_ = Ye({ name: "ion-options-outline", render: J_ }), ey = { class: "flex
18482
18487
  ],
18483
18488
  clearable: l.clearable,
18484
18489
  placeholder: l.placeholder
18485
- }, null, 8, ["value", "clearable", "placeholder"]));
18490
+ }, {
18491
+ prefix: R(() => [
18492
+ Te(l.$slots, "prefix")
18493
+ ]),
18494
+ _: 3
18495
+ }, 8, ["value", "clearable", "placeholder"]));
18486
18496
  }
18487
18497
  }), ly = {}, cy = /* @__PURE__ */ te({
18488
18498
  ...ly,
@@ -18558,7 +18568,7 @@ const Q_ = Ye({ name: "ion-options-outline", render: J_ }), ey = { class: "flex
18558
18568
  height: "1.2em"
18559
18569
  };
18560
18570
  function dy(e, t) {
18561
- return w(), R("svg", uy, t[0] || (t[0] = [
18571
+ return w(), F("svg", uy, t[0] || (t[0] = [
18562
18572
  T("path", {
18563
18573
  fill: "none",
18564
18574
  stroke: "currentColor",
@@ -18584,7 +18594,7 @@ const hy = Ye({ name: "tabler-external-link", render: dy }), fy = { class: "flex
18584
18594
  disabled: K(Xn)(t.description),
18585
18595
  placement: "top-start"
18586
18596
  }, {
18587
- trigger: F(() => [
18597
+ trigger: R(() => [
18588
18598
  T("span", fy, [
18589
18599
  T("a", {
18590
18600
  href: t.url,
@@ -18594,7 +18604,7 @@ const hy = Ye({ name: "tabler-external-link", render: dy }), fy = { class: "flex
18594
18604
  B(n, { class: "mt-0.5 flex-none" })
18595
18605
  ])
18596
18606
  ]),
18597
- default: F(() => [
18607
+ default: R(() => [
18598
18608
  oe(" " + Y(t.description), 1)
18599
18609
  ]),
18600
18610
  _: 1
@@ -18607,7 +18617,7 @@ const hy = Ye({ name: "tabler-external-link", render: dy }), fy = { class: "flex
18607
18617
  height: "1.2em"
18608
18618
  };
18609
18619
  function vy(e, t) {
18610
- return w(), R("svg", my, t[0] || (t[0] = [
18620
+ return w(), F("svg", my, t[0] || (t[0] = [
18611
18621
  T("path", {
18612
18622
  fill: "none",
18613
18623
  stroke: "currentColor",
@@ -21068,7 +21078,7 @@ const Xs = new y1(), io = te({
21068
21078
  });
21069
21079
  },
21070
21080
  render() {
21071
- return Pe(this.$slots, "default");
21081
+ return Te(this.$slots, "default");
21072
21082
  }
21073
21083
  });
21074
21084
  let Br;
@@ -21557,7 +21567,7 @@ const cu = te({
21557
21567
  class: "v-overflow",
21558
21568
  ref: "selfRef"
21559
21569
  }, [
21560
- Pe(e, "default"),
21570
+ Te(e, "default"),
21561
21571
  // $slots.counter should only has 1 element
21562
21572
  e.counter ? e.counter() : M("span", {
21563
21573
  style: {
@@ -21925,7 +21935,7 @@ const {
21925
21935
  find: B5
21926
21936
  } = wh, {
21927
21937
  cB: be,
21928
- cE: Te,
21938
+ cE: $e,
21929
21939
  cM: Le,
21930
21940
  cNotM: wi
21931
21941
  } = xh, O1 = (...e) => ge(">", [be(...e)]);
@@ -23061,7 +23071,7 @@ const Ow = be("base-clear", `
23061
23071
  height: 1em;
23062
23072
  width: 1em;
23063
23073
  position: relative;
23064
- `, [ge(">", [Te("clear", `
23074
+ `, [ge(">", [$e("clear", `
23065
23075
  font-size: var(--n-clear-size);
23066
23076
  height: 1em;
23067
23077
  width: 1em;
@@ -23073,9 +23083,9 @@ const Ow = be("base-clear", `
23073
23083
  color: var(--n-clear-color-hover)!important;
23074
23084
  `), ge("&:active", `
23075
23085
  color: var(--n-clear-color-pressed)!important;
23076
- `)]), Te("placeholder", `
23086
+ `)]), $e("placeholder", `
23077
23087
  display: flex;
23078
- `), Te("clear, placeholder", `
23088
+ `), $e("clear, placeholder", `
23079
23089
  position: absolute;
23080
23090
  left: 50%;
23081
23091
  top: 50%;
@@ -23248,11 +23258,11 @@ const Ow = be("base-clear", `
23248
23258
  line-height: 0;
23249
23259
  width: 1em;
23250
23260
  height: 1em;
23251
- `, [Te("transition-wrapper", `
23261
+ `, [$e("transition-wrapper", `
23252
23262
  position: absolute;
23253
23263
  width: 100%;
23254
23264
  height: 100%;
23255
- `, [Ga()]), Te("placeholder", `
23265
+ `, [Ga()]), $e("placeholder", `
23256
23266
  position: absolute;
23257
23267
  left: 50%;
23258
23268
  top: 50%;
@@ -23261,9 +23271,9 @@ const Ow = be("base-clear", `
23261
23271
  left: "50%",
23262
23272
  top: "50%",
23263
23273
  originalTransform: "translateX(-50%) translateY(-50%)"
23264
- })]), Te("container", `
23274
+ })]), $e("container", `
23265
23275
  animation: rotator 3s linear infinite both;
23266
- `, [Te("icon", `
23276
+ `, [$e("icon", `
23267
23277
  height: 1em;
23268
23278
  width: 1em;
23269
23279
  `)])])]), va = "1.6s", Nw = {
@@ -23599,7 +23609,7 @@ const Rh = {
23599
23609
  -webkit-user-select: none;
23600
23610
  `, [Le("horizontal", `
23601
23611
  height: var(--n-scrollbar-height);
23602
- `, [ge(">", [Te("scrollbar", `
23612
+ `, [ge(">", [$e("scrollbar", `
23603
23613
  height: var(--n-scrollbar-height);
23604
23614
  border-radius: var(--n-scrollbar-border-radius);
23605
23615
  right: 0;
@@ -23615,7 +23625,7 @@ const Rh = {
23615
23625
  left: var(--n-scrollbar-rail-left-horizontal-bottom);
23616
23626
  `), Le("vertical", `
23617
23627
  width: var(--n-scrollbar-width);
23618
- `, [ge(">", [Te("scrollbar", `
23628
+ `, [ge(">", [$e("scrollbar", `
23619
23629
  width: var(--n-scrollbar-width);
23620
23630
  border-radius: var(--n-scrollbar-border-radius);
23621
23631
  bottom: 0;
@@ -23629,7 +23639,7 @@ const Rh = {
23629
23639
  right: var(--n-scrollbar-rail-right-vertical-right);
23630
23640
  bottom: var(--n-scrollbar-rail-bottom-vertical-right);
23631
23641
  left: var(--n-scrollbar-rail-left-vertical-right);
23632
- `), Le("disabled", [ge(">", [Te("scrollbar", "pointer-events: none;")])]), ge(">", [Te("scrollbar", `
23642
+ `), Le("disabled", [ge(">", [$e("scrollbar", "pointer-events: none;")])]), ge(">", [$e("scrollbar", `
23633
23643
  z-index: 1;
23634
23644
  position: absolute;
23635
23645
  cursor: pointer;
@@ -24198,7 +24208,7 @@ const Eh = {
24198
24208
  flex-direction: column;
24199
24209
  align-items: center;
24200
24210
  font-size: var(--n-font-size);
24201
- `, [Te("icon", `
24211
+ `, [$e("icon", `
24202
24212
  width: var(--n-icon-size);
24203
24213
  height: var(--n-icon-size);
24204
24214
  font-size: var(--n-icon-size);
@@ -24206,12 +24216,12 @@ const Eh = {
24206
24216
  color: var(--n-icon-color);
24207
24217
  transition:
24208
24218
  color .3s var(--n-bezier);
24209
- `, [ge("+", [Te("description", `
24219
+ `, [ge("+", [$e("description", `
24210
24220
  margin-top: 8px;
24211
- `)])]), Te("description", `
24221
+ `)])]), $e("description", `
24212
24222
  transition: color .3s var(--n-bezier);
24213
24223
  color: var(--n-text-color);
24214
- `), Te("extra", `
24224
+ `), $e("extra", `
24215
24225
  text-align: center;
24216
24226
  transition: color .3s var(--n-bezier);
24217
24227
  margin-top: 12px;
@@ -24615,7 +24625,7 @@ const n2 = be("base-select-menu", `
24615
24625
  font-size: var(--n-option-font-size);
24616
24626
  display: flex;
24617
24627
  align-items: center;
24618
- `, [Te("content", `
24628
+ `, [$e("content", `
24619
24629
  z-index: 1;
24620
24630
  white-space: nowrap;
24621
24631
  text-overflow: ellipsis;
@@ -24628,15 +24638,15 @@ const n2 = be("base-select-menu", `
24628
24638
  `), be("base-select-menu-option-wrapper", `
24629
24639
  position: relative;
24630
24640
  width: 100%;
24631
- `), Te("loading, empty", `
24641
+ `), $e("loading, empty", `
24632
24642
  display: flex;
24633
24643
  padding: 12px 32px;
24634
24644
  flex: 1;
24635
24645
  justify-content: center;
24636
- `), Te("loading", `
24646
+ `), $e("loading", `
24637
24647
  color: var(--n-loading-color);
24638
24648
  font-size: var(--n-loading-size);
24639
- `), Te("header", `
24649
+ `), $e("header", `
24640
24650
  padding: 8px var(--n-option-padding-left);
24641
24651
  font-size: var(--n-option-font-size);
24642
24652
  transition:
@@ -24644,7 +24654,7 @@ const n2 = be("base-select-menu", `
24644
24654
  border-color .3s var(--n-bezier);
24645
24655
  border-bottom: 1px solid var(--n-action-divider-color);
24646
24656
  color: var(--n-action-text-color);
24647
- `), Te("action", `
24657
+ `), $e("action", `
24648
24658
  padding: 8px var(--n-option-padding-left);
24649
24659
  font-size: var(--n-option-font-size);
24650
24660
  transition:
@@ -24696,7 +24706,7 @@ const n2 = be("base-select-menu", `
24696
24706
  color: var(--n-option-text-color-disabled);
24697
24707
  `), Le("selected", `
24698
24708
  opacity: var(--n-option-opacity-disabled);
24699
- `)]), Te("check", `
24709
+ `)]), $e("check", `
24700
24710
  font-size: 16px;
24701
24711
  position: absolute;
24702
24712
  right: calc(var(--n-option-padding-right) - 4px);
@@ -25155,15 +25165,15 @@ const Bh = {
25155
25165
  `)]), wi("raw", `
25156
25166
  background-color: var(--n-color);
25157
25167
  border-radius: var(--n-border-radius);
25158
- `, [wi("scrollable", [wi("show-header-or-footer", "padding: var(--n-padding);")])]), Te("header", `
25168
+ `, [wi("scrollable", [wi("show-header-or-footer", "padding: var(--n-padding);")])]), $e("header", `
25159
25169
  padding: var(--n-padding);
25160
25170
  border-bottom: 1px solid var(--n-divider-color);
25161
25171
  transition: border-color .3s var(--n-bezier);
25162
- `), Te("footer", `
25172
+ `), $e("footer", `
25163
25173
  padding: var(--n-padding);
25164
25174
  border-top: 1px solid var(--n-divider-color);
25165
25175
  transition: border-color .3s var(--n-bezier);
25166
- `), Le("scrollable, show-header-or-footer", [Te("content", `
25176
+ `), Le("scrollable, show-header-or-footer", [$e("content", `
25167
25177
  padding: var(--n-padding);
25168
25178
  `)])]), be("popover-shared", `
25169
25179
  transform-origin: inherit;
@@ -26132,7 +26142,7 @@ const y2 = {
26132
26142
  font-size: var(--n-font-size);
26133
26143
  `, [Le("strong", `
26134
26144
  font-weight: var(--n-font-weight-strong);
26135
- `), Te("border", `
26145
+ `), $e("border", `
26136
26146
  pointer-events: none;
26137
26147
  position: absolute;
26138
26148
  left: 0;
@@ -26142,16 +26152,16 @@ const y2 = {
26142
26152
  border-radius: inherit;
26143
26153
  border: var(--n-border);
26144
26154
  transition: border-color .3s var(--n-bezier);
26145
- `), Te("icon", `
26155
+ `), $e("icon", `
26146
26156
  display: flex;
26147
26157
  margin: 0 4px 0 0;
26148
26158
  color: var(--n-text-color);
26149
26159
  transition: color .3s var(--n-bezier);
26150
26160
  font-size: var(--n-avatar-size-override);
26151
- `), Te("avatar", `
26161
+ `), $e("avatar", `
26152
26162
  display: flex;
26153
26163
  margin: 0 6px 0 0;
26154
- `), Te("close", `
26164
+ `), $e("close", `
26155
26165
  margin: var(--n-close-margin);
26156
26166
  transition:
26157
26167
  background-color .3s var(--n-bezier),
@@ -26159,9 +26169,9 @@ const y2 = {
26159
26169
  `), Le("round", `
26160
26170
  padding: 0 calc(var(--n-height) / 3);
26161
26171
  border-radius: calc(var(--n-height) / 2);
26162
- `, [Te("icon", `
26172
+ `, [$e("icon", `
26163
26173
  margin: 0 4px 0 calc((var(--n-height) - 8px) / -2);
26164
- `), Te("avatar", `
26174
+ `), $e("avatar", `
26165
26175
  margin: 0 6px 0 calc((var(--n-height) - 8px) / -2);
26166
26176
  `), Le("closable", `
26167
26177
  padding: 0 calc(var(--n-height) / 4) 0 calc(var(--n-height) / 3);
@@ -26583,7 +26593,7 @@ const Ih = {
26583
26593
  font-size: var(--n-font-size);
26584
26594
  `, [be("base-loading", `
26585
26595
  color: var(--n-loading-color);
26586
- `), be("base-selection-tags", "min-height: var(--n-height);"), Te("border, state-border", `
26596
+ `), be("base-selection-tags", "min-height: var(--n-height);"), $e("border, state-border", `
26587
26597
  position: absolute;
26588
26598
  left: 0;
26589
26599
  right: 0;
@@ -26595,7 +26605,7 @@ const Ih = {
26595
26605
  transition:
26596
26606
  box-shadow .3s var(--n-bezier),
26597
26607
  border-color .3s var(--n-bezier);
26598
- `), Te("state-border", `
26608
+ `), $e("state-border", `
26599
26609
  z-index: 1;
26600
26610
  border-color: #0000;
26601
26611
  `), be("base-suffix", `
@@ -26604,7 +26614,7 @@ const Ih = {
26604
26614
  top: 50%;
26605
26615
  transform: translateY(-50%);
26606
26616
  right: 10px;
26607
- `, [Te("arrow", `
26617
+ `, [$e("arrow", `
26608
26618
  font-size: var(--n-arrow-size);
26609
26619
  color: var(--n-arrow-color);
26610
26620
  transition: color .3s var(--n-bezier);
@@ -26620,14 +26630,14 @@ const Ih = {
26620
26630
  left: 0;
26621
26631
  padding: var(--n-padding-single);
26622
26632
  transition: color .3s var(--n-bezier);
26623
- `, [Te("wrapper", `
26633
+ `, [$e("wrapper", `
26624
26634
  flex-basis: 0;
26625
26635
  flex-grow: 1;
26626
26636
  overflow: hidden;
26627
26637
  text-overflow: ellipsis;
26628
26638
  `)]), be("base-selection-placeholder", `
26629
26639
  color: var(--n-placeholder-color);
26630
- `, [Te("inner", `
26640
+ `, [$e("inner", `
26631
26641
  max-width: 100%;
26632
26642
  overflow: hidden;
26633
26643
  `)]), be("base-selection-tags", `
@@ -26678,22 +26688,22 @@ const Ih = {
26678
26688
  color: var(--n-text-color);
26679
26689
  transition: color .3s var(--n-bezier);
26680
26690
  caret-color: var(--n-caret-color);
26681
- `, [Te("content", `
26691
+ `, [$e("content", `
26682
26692
  text-overflow: ellipsis;
26683
26693
  overflow: hidden;
26684
26694
  white-space: nowrap;
26685
- `)]), Te("render-label", `
26695
+ `)]), $e("render-label", `
26686
26696
  color: var(--n-text-color);
26687
- `)]), wi("disabled", [ge("&:hover", [Te("state-border", `
26697
+ `)]), wi("disabled", [ge("&:hover", [$e("state-border", `
26688
26698
  box-shadow: var(--n-box-shadow-hover);
26689
26699
  border: var(--n-border-hover);
26690
- `)]), Le("focus", [Te("state-border", `
26700
+ `)]), Le("focus", [$e("state-border", `
26691
26701
  box-shadow: var(--n-box-shadow-focus);
26692
26702
  border: var(--n-border-focus);
26693
- `)]), Le("active", [Te("state-border", `
26703
+ `)]), Le("active", [$e("state-border", `
26694
26704
  box-shadow: var(--n-box-shadow-active);
26695
26705
  border: var(--n-border-active);
26696
- `), be("base-selection-label", "background-color: var(--n-color-active);"), be("base-selection-tags", "background-color: var(--n-color-active);")])]), Le("disabled", "cursor: not-allowed;", [Te("arrow", `
26706
+ `), be("base-selection-label", "background-color: var(--n-color-active);"), be("base-selection-tags", "background-color: var(--n-color-active);")])]), Le("disabled", "cursor: not-allowed;", [$e("arrow", `
26697
26707
  color: var(--n-arrow-color-disabled);
26698
26708
  `), be("base-selection-label", `
26699
26709
  cursor: not-allowed;
@@ -26701,7 +26711,7 @@ const Ih = {
26701
26711
  `, [be("base-selection-input", `
26702
26712
  cursor: not-allowed;
26703
26713
  color: var(--n-text-color-disabled);
26704
- `), Te("render-label", `
26714
+ `), $e("render-label", `
26705
26715
  color: var(--n-text-color-disabled);
26706
26716
  `)]), be("base-selection-tags", `
26707
26717
  cursor: not-allowed;
@@ -26718,7 +26728,7 @@ const Ih = {
26718
26728
  margin-bottom: 3px;
26719
26729
  max-width: 100%;
26720
26730
  vertical-align: bottom;
26721
- `, [Te("input", `
26731
+ `, [$e("input", `
26722
26732
  font-size: inherit;
26723
26733
  font-family: inherit;
26724
26734
  min-width: 1px;
@@ -26733,7 +26743,7 @@ const Ih = {
26733
26743
  cursor: pointer;
26734
26744
  color: var(--n-text-color);
26735
26745
  caret-color: var(--n-caret-color);
26736
- `), Te("mirror", `
26746
+ `), $e("mirror", `
26737
26747
  position: absolute;
26738
26748
  left: 0;
26739
26749
  top: 0;
@@ -26742,13 +26752,13 @@ const Ih = {
26742
26752
  user-select: none;
26743
26753
  -webkit-user-select: none;
26744
26754
  opacity: 0;
26745
- `)]), ["warning", "error"].map((e) => Le(`${e}-status`, [Te("state-border", `border: var(--n-border-${e});`), wi("disabled", [ge("&:hover", [Te("state-border", `
26755
+ `)]), ["warning", "error"].map((e) => Le(`${e}-status`, [$e("state-border", `border: var(--n-border-${e});`), wi("disabled", [ge("&:hover", [$e("state-border", `
26746
26756
  box-shadow: var(--n-box-shadow-hover-${e});
26747
26757
  border: var(--n-border-hover-${e});
26748
- `)]), Le("active", [Te("state-border", `
26758
+ `)]), Le("active", [$e("state-border", `
26749
26759
  box-shadow: var(--n-box-shadow-active-${e});
26750
26760
  border: var(--n-border-active-${e});
26751
- `), be("base-selection-label", `background-color: var(--n-color-active-${e});`), be("base-selection-tags", `background-color: var(--n-color-active-${e});`)]), Le("focus", [Te("state-border", `
26761
+ `), be("base-selection-label", `background-color: var(--n-color-active-${e});`), be("base-selection-tags", `background-color: var(--n-color-active-${e});`)]), Le("focus", [$e("state-border", `
26752
26762
  box-shadow: var(--n-box-shadow-focus-${e});
26753
26763
  border: var(--n-border-focus-${e});
26754
26764
  `)])])]))]), be("base-selection-popover", `
@@ -26763,7 +26773,7 @@ const Ih = {
26763
26773
  `, [ge("&:last-child", "padding-right: 0;"), be("tag", `
26764
26774
  font-size: 14px;
26765
26775
  max-width: 100%;
26766
- `, [Te("content", `
26776
+ `, [$e("content", `
26767
26777
  line-height: 1.25;
26768
26778
  text-overflow: ellipsis;
26769
26779
  overflow: hidden;
@@ -28407,10 +28417,10 @@ const I2 = Object.assign(Object.assign({}, Ot.props), {
28407
28417
  "show-divider": !1,
28408
28418
  hoverable: !0
28409
28419
  }, {
28410
- header: F(() => [
28411
- Pe(d.$slots, "header")
28420
+ header: R(() => [
28421
+ Te(d.$slots, "header")
28412
28422
  ]),
28413
- footer: F(() => [
28423
+ footer: R(() => [
28414
28424
  B(W2, {
28415
28425
  value: s.value,
28416
28426
  "onUpdate:value": [
@@ -28424,41 +28434,41 @@ const I2 = Object.assign(Object.assign({}, Ot.props), {
28424
28434
  placeholder: "Введите название"
28425
28435
  }, null, 8, ["value", "disabled", "min-term-length", "search-type"])
28426
28436
  ]),
28427
- default: F(() => [
28437
+ default: R(() => [
28428
28438
  o.value.length === 0 ? (w(), se(f, {
28429
28439
  key: 0,
28430
28440
  class: "text-center text-sm text-gray-600"
28431
28441
  }, {
28432
- default: F(() => h[1] || (h[1] = [
28442
+ default: R(() => h[1] || (h[1] = [
28433
28443
  oe(" --- Список пуст --- ")
28434
28444
  ])),
28435
28445
  _: 1,
28436
28446
  __: [1]
28437
28447
  })) : X("", !0),
28438
- (w(!0), R(Fe, null, Vt(o.value, (v) => (w(), se(f, {
28448
+ (w(!0), F(Fe, null, Vt(o.value, (v) => (w(), se(f, {
28439
28449
  key: v.id
28440
28450
  }, {
28441
- suffix: F(() => [
28451
+ suffix: R(() => [
28442
28452
  B(g, {
28443
28453
  disabled: d.disabled,
28444
28454
  quaternary: "",
28445
28455
  type: "error",
28446
28456
  onClick: (_) => u(v)
28447
28457
  }, {
28448
- default: F(() => [
28458
+ default: R(() => [
28449
28459
  B(p)
28450
28460
  ]),
28451
28461
  _: 2
28452
28462
  }, 1032, ["disabled", "onClick"])
28453
28463
  ]),
28454
- default: F(() => [
28464
+ default: R(() => [
28455
28465
  T("div", V2, [
28456
28466
  T("span", j2, [
28457
28467
  T("span", X2, Y(v.code), 1),
28458
28468
  T("span", U2, Y(v.name), 1)
28459
28469
  ]),
28460
- d.$slots["item-extra"] ? (w(), R("div", Y2, [
28461
- Pe(d.$slots, "item-extra", {
28470
+ d.$slots["item-extra"] ? (w(), F("div", Y2, [
28471
+ Te(d.$slots, "item-extra", {
28462
28472
  item: v,
28463
28473
  updateItemCallback: c
28464
28474
  })
@@ -28478,7 +28488,7 @@ const I2 = Object.assign(Object.assign({}, Ot.props), {
28478
28488
  height: "1.2em"
28479
28489
  };
28480
28490
  function K2(e, t) {
28481
- return w(), R("svg", G2, t[0] || (t[0] = [
28491
+ return w(), F("svg", G2, t[0] || (t[0] = [
28482
28492
  T("path", {
28483
28493
  fill: "currentColor",
28484
28494
  d: "M13 4a1 1 0 0 1 1 1h4a1 1 0 0 1 .783.378l.074.108l3 5l.055.103l.04.107l.029.109l.016.11L22 11v6a1 1 0 0 1-1 1h-1.171a3.001 3.001 0 0 1-5.658 0H9.829a3.001 3.001 0 0 1-5.658 0H3a1 1 0 0 1-1-1V6a2 2 0 0 1 2-2zM7 16a1 1 0 1 0 0 2a1 1 0 0 0 0-2m10 0a1 1 0 1 0 0 2a1 1 0 0 0 0-2m.434-9H14v3h5.234z"
@@ -28491,7 +28501,7 @@ const Z2 = Ye({ name: "tabler-truck-filled", render: K2 }), J2 = {
28491
28501
  height: "1.2em"
28492
28502
  };
28493
28503
  function Q2(e, t) {
28494
- return w(), R("svg", J2, t[0] || (t[0] = [
28504
+ return w(), F("svg", J2, t[0] || (t[0] = [
28495
28505
  T("g", {
28496
28506
  fill: "none",
28497
28507
  stroke: "currentColor",
@@ -28510,7 +28520,7 @@ const ex = Ye({ name: "tabler-truck-delivery", render: Q2 }), tx = {
28510
28520
  height: "1.2em"
28511
28521
  };
28512
28522
  function ix(e, t) {
28513
- return w(), R("svg", tx, t[0] || (t[0] = [
28523
+ return w(), F("svg", tx, t[0] || (t[0] = [
28514
28524
  T("g", {
28515
28525
  fill: "none",
28516
28526
  stroke: "currentColor",
@@ -28545,17 +28555,17 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
28545
28555
  return (s, r) => {
28546
28556
  var c, u, d, h, f, p, g, m;
28547
28557
  const o = nx, a = ex, l = Z2;
28548
- return w(), R("div", sx, [
28549
- s.showType ? (w(), R("span", rx, [
28558
+ return w(), F("div", sx, [
28559
+ s.showType ? (w(), F("span", rx, [
28550
28560
  ((c = t.value) == null ? void 0 : c.slug) === "self_delivery" ? (w(), se(o, { key: 0 })) : X("", !0),
28551
28561
  ((u = t.value) == null ? void 0 : u.slug) === "delivery" ? (w(), se(a, { key: 1 })) : X("", !0),
28552
28562
  ((d = t.value) == null ? void 0 : d.slug) === "transport_company_delivery" ? (w(), se(l, { key: 2 })) : X("", !0),
28553
28563
  T("span", null, Y((h = t.value) == null ? void 0 : h.name), 1)
28554
28564
  ])) : X("", !0),
28555
- s.showDetails ? (w(), R("span", ox, [
28565
+ s.showDetails ? (w(), F("span", ox, [
28556
28566
  T("span", ax, Y(i.value), 1),
28557
- (p = (f = s.delivery) == null ? void 0 : f.address) != null && p.address ? (w(), R("span", lx, Y(s.delivery.address.address), 1)) : X("", !0),
28558
- (m = (g = s.delivery) == null ? void 0 : g.warehouse) != null && m.address ? (w(), R("span", cx, "со склада " + Y(s.delivery.warehouse.address), 1)) : (w(), R("span", ux, "(не указано)"))
28567
+ (p = (f = s.delivery) == null ? void 0 : f.address) != null && p.address ? (w(), F("span", lx, Y(s.delivery.address.address), 1)) : X("", !0),
28568
+ (m = (g = s.delivery) == null ? void 0 : g.warehouse) != null && m.address ? (w(), F("span", cx, "со склада " + Y(s.delivery.warehouse.address), 1)) : (w(), F("span", ux, "(не указано)"))
28559
28569
  ])) : X("", !0)
28560
28570
  ]);
28561
28571
  };
@@ -28575,22 +28585,22 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
28575
28585
  return t.fields.includes(vt.Status) ? (l = (a = co().orderStatusReference) == null ? void 0 : a.find((c) => c.id === (t.order.status ?? -1))) == null ? void 0 : l.name : void 0;
28576
28586
  }
28577
28587
  ), s = D(() => t.fields.includes(vt.CreatedAt)), r = D(() => t.fields.includes(vt.ClientInfo) ? t.order.client : void 0), o = D(() => t.fields.includes(vt.DeliveryInfo) ? t.order.delivery : void 0);
28578
- return (a, l) => (w(), R("div", hx, [
28588
+ return (a, l) => (w(), F("div", hx, [
28579
28589
  T("span", fx, [
28580
- i.value ? (w(), R("a", {
28590
+ i.value ? (w(), F("a", {
28581
28591
  key: 0,
28582
28592
  href: a.orderUrl.replace(":id", a.order.id.toString()),
28583
28593
  target: "_blank",
28584
28594
  class: "text-sc-dark-grey"
28585
28595
  }, " #" + Y(i.value), 9, px)) : X("", !0),
28586
- s.value ? (w(), R(Fe, { key: 1 }, [
28596
+ s.value ? (w(), F(Fe, { key: 1 }, [
28587
28597
  l[0] || (l[0] = oe(" от ")),
28588
28598
  B(zd, {
28589
28599
  date: a.order.createdAt,
28590
28600
  "is-time-secondary": !0
28591
28601
  }, null, 8, ["date"])
28592
28602
  ], 64)) : X("", !0),
28593
- n.value ? (w(), R(Fe, { key: 2 }, [
28603
+ n.value ? (w(), F(Fe, { key: 2 }, [
28594
28604
  l[1] || (l[1] = oe(" - ")),
28595
28605
  T("span", gx, Y(n.value), 1)
28596
28606
  ], 64)) : X("", !0)
@@ -28620,7 +28630,7 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
28620
28630
  });
28621
28631
  return (n, s) => {
28622
28632
  var r;
28623
- return w(), R("span", null, Y(((r = i.value) == null ? void 0 : r.name) ?? "-"), 1);
28633
+ return w(), F("span", null, Y(((r = i.value) == null ? void 0 : r.name) ?? "-"), 1);
28624
28634
  };
28625
28635
  }
28626
28636
  }), bx = { class: "flex flex-row gap-1.5" }, wx = { class: "flex-none text-nowrap" }, xx = { class: "flex flex-1 flex-col" }, kx = { class: "mt-2.5 grid grid-flow-col grid-rows-2 gap-1 text-base" }, Cx = { key: 0 }, Sx = { key: 1 }, Tx = {}, $x = /* @__PURE__ */ te({
@@ -28631,7 +28641,7 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
28631
28641
  index: {}
28632
28642
  },
28633
28643
  setup(e) {
28634
- return (t, i) => (w(), R("div", bx, [
28644
+ return (t, i) => (w(), F("div", bx, [
28635
28645
  T("span", wx, Y(t.index + 1) + ".", 1),
28636
28646
  T("div", xx, [
28637
28647
  B(jr, {
@@ -28640,7 +28650,7 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
28640
28650
  }, null, 8, ["product"]),
28641
28651
  T("div", kx, [
28642
28652
  i[0] || (i[0] = T("span", null, "Кол-во", -1)),
28643
- t.product.product.getIsMeasurable() ? (w(), R("span", Cx, Y(`${t.product.length} ${t.product.product.unit} x ${t.product.quantity} шт.`), 1)) : (w(), R("span", Sx, Y(`${t.product.quantity} ${t.product.product.unit}`), 1)),
28653
+ t.product.product.getIsMeasurable() ? (w(), F("span", Cx, Y(`${t.product.length} ${t.product.product.unit} x ${t.product.quantity} шт.`), 1)) : (w(), F("span", Sx, Y(`${t.product.quantity} ${t.product.product.unit}`), 1)),
28644
28654
  i[1] || (i[1] = T("span", null, "Цена за ед.", -1)),
28645
28655
  T("span", null, Y(`${t.product.costOneRub.toLocaleString("ru-ru", { minimumFractionDigits: 2 })} ${t.product.currency}`), 1),
28646
28656
  i[2] || (i[2] = T("span", null, "Сумма", -1)),
@@ -28734,7 +28744,7 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
28734
28744
  window.removeEventListener("resize", n);
28735
28745
  }), (s, r) => {
28736
28746
  const o = el;
28737
- return w(), R(Fe, null, [
28747
+ return w(), F(Fe, null, [
28738
28748
  r[0] || (r[0] = T("h3", null, "Список позиций", -1)),
28739
28749
  B(o, {
28740
28750
  columns: i.value,
@@ -28755,11 +28765,11 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
28755
28765
  extraInfoOnSecondLine: { type: Boolean, default: !0 }
28756
28766
  },
28757
28767
  setup(e) {
28758
- return (t, i) => (w(), R("div", {
28768
+ return (t, i) => (w(), F("div", {
28759
28769
  class: Je({ "flex flex-col": t.showUserType && t.extraInfoOnSecondLine })
28760
28770
  }, [
28761
28771
  T("span", Fx, Y(t.user.name), 1),
28762
- t.showUserType ? (w(), R("span", {
28772
+ t.showUserType ? (w(), F("span", {
28763
28773
  key: 0,
28764
28774
  class: Je([{ "ml-1": !t.extraInfoOnSecondLine }, "text-sc-grey"])
28765
28775
  }, " [" + Y(t.user.type) + "] ", 3)) : X("", !0)
@@ -28775,10 +28785,10 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
28775
28785
  order: {}
28776
28786
  },
28777
28787
  setup(e) {
28778
- return (t, i) => (w(), R("div", null, [
28788
+ return (t, i) => (w(), F("div", null, [
28779
28789
  i[11] || (i[11] = T("h3", null, "Детали заказа", -1)),
28780
28790
  T("div", Ax, [
28781
- t.order.creator.id !== t.order.client.id ? (w(), R(Fe, { key: 0 }, [
28791
+ t.order.creator.id !== t.order.client.id ? (w(), F(Fe, { key: 0 }, [
28782
28792
  i[0] || (i[0] = T("span", null, "Создал", -1)),
28783
28793
  B(Tu, {
28784
28794
  user: t.order.creator,
@@ -28790,52 +28800,52 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
28790
28800
  client: t.order.client,
28791
28801
  class: "col-span-2"
28792
28802
  }, null, 8, ["client"]),
28793
- t.order.contragent ? (w(), R(Fe, { key: 1 }, [
28803
+ t.order.contragent ? (w(), F(Fe, { key: 1 }, [
28794
28804
  i[1] || (i[1] = T("span", null, "Контрагент", -1)),
28795
28805
  B(Og, {
28796
28806
  contragent: t.order.contragent,
28797
28807
  class: "col-span-2"
28798
28808
  }, null, 8, ["contragent"])
28799
28809
  ], 64)) : X("", !0),
28800
- t.order.image ? (w(), R(Fe, { key: 2 }, [
28810
+ t.order.image ? (w(), F(Fe, { key: 2 }, [
28801
28811
  i[2] || (i[2] = T("span", null, "Графический файл клиента", -1)),
28802
28812
  i[3] || (i[3] = T("a", {
28803
28813
  class: "fancybox col-span-2",
28804
28814
  href: "{{ order.image }}"
28805
28815
  }, " Посмотреть ", -1))
28806
28816
  ], 64)) : X("", !0),
28807
- t.order.barcode ? (w(), R(Fe, { key: 3 }, [
28817
+ t.order.barcode ? (w(), F(Fe, { key: 3 }, [
28808
28818
  i[4] || (i[4] = T("span", null, "Штрих-код", -1)),
28809
28819
  T("span", Ox, Y(t.order.barcode), 1)
28810
28820
  ], 64)) : X("", !0),
28811
- t.order.payment ? (w(), R(Fe, { key: 4 }, [
28821
+ t.order.payment ? (w(), F(Fe, { key: 4 }, [
28812
28822
  i[5] || (i[5] = T("span", null, "Оплата", -1)),
28813
28823
  B(yx, {
28814
28824
  payment: t.order.payment,
28815
28825
  class: "col-span-2"
28816
28826
  }, null, 8, ["payment"])
28817
28827
  ], 64)) : X("", !0),
28818
- t.order.delivery ? (w(), R(Fe, { key: 5 }, [
28828
+ t.order.delivery ? (w(), F(Fe, { key: 5 }, [
28819
28829
  i[6] || (i[6] = T("span", null, "Доставка", -1)),
28820
28830
  B(_l, {
28821
28831
  delivery: t.order.delivery,
28822
28832
  class: "col-span-2"
28823
28833
  }, null, 8, ["delivery"])
28824
28834
  ], 64)) : X("", !0),
28825
- t.order.comment ? (w(), R(Fe, { key: 6 }, [
28835
+ t.order.comment ? (w(), F(Fe, { key: 6 }, [
28826
28836
  i[7] || (i[7] = T("span", null, "Комментарий", -1)),
28827
28837
  T("span", Bx, Y(t.order.comment), 1)
28828
28838
  ], 64)) : X("", !0),
28829
- t.order.attachedUser ? (w(), R(Fe, { key: 7 }, [
28839
+ t.order.attachedUser ? (w(), F(Fe, { key: 7 }, [
28830
28840
  i[8] || (i[8] = T("span", null, "Закреплен за", -1)),
28831
28841
  B(Tu, {
28832
28842
  user: t.order.attachedUser,
28833
28843
  class: "col-span-2"
28834
28844
  }, null, 8, ["user"])
28835
28845
  ], 64)) : X("", !0),
28836
- t.order.invoices && t.order.invoices.length > 0 ? (w(), R(Fe, { key: 8 }, [
28846
+ t.order.invoices && t.order.invoices.length > 0 ? (w(), F(Fe, { key: 8 }, [
28837
28847
  i[9] || (i[9] = T("span", null, "Прикрепленные счета", -1)),
28838
- (w(!0), R(Fe, null, Vt(t.order.invoices, (n, s) => (w(), R("div", {
28848
+ (w(!0), F(Fe, null, Vt(t.order.invoices, (n, s) => (w(), F("div", {
28839
28849
  key: s,
28840
28850
  class: "col-span-2"
28841
28851
  }, [
@@ -28866,7 +28876,7 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
28866
28876
  s();
28867
28877
  }), (o, a) => {
28868
28878
  const l = lo;
28869
- return i.value ? (w(), R("div", Dx, [
28879
+ return i.value ? (w(), F("div", Dx, [
28870
28880
  T("div", Nx, [
28871
28881
  B(l, {
28872
28882
  size: "small",
@@ -28876,7 +28886,7 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
28876
28886
  T("span", null, "Загрузка данных ...")
28877
28887
  ], -1))
28878
28888
  ])
28879
- ])) : n.value.products.length === 0 ? (w(), R("div", Hx, " --- Не удалось загрузить данные о заказе --- ")) : (w(), R("div", Wx, [
28889
+ ])) : n.value.products.length === 0 ? (w(), F("div", Hx, " --- Не удалось загрузить данные о заказе --- ")) : (w(), F("div", Wx, [
28880
28890
  B(Rx, { order: n.value }, null, 8, ["order"]),
28881
28891
  T("div", Vx, [
28882
28892
  a[1] || (a[1] = oe(" ИТОГО: ")),
@@ -29087,7 +29097,7 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29087
29097
  const i = e, n = t, s = D(() => Ts(i.order.createdAt, ki.getConfig().dateFormats.uiDateWithTime)), r = (o) => {
29088
29098
  Ji(i.orderLink) && (o.preventDefault(), o.stopPropagation()), n("click:order-id", i.order, o);
29089
29099
  };
29090
- return (o, a) => (w(), R(Fe, null, [
29100
+ return (o, a) => (w(), F(Fe, null, [
29091
29101
  T("span", null, [
29092
29102
  a[1] || (a[1] = oe(" #")),
29093
29103
  T("a", {
@@ -29095,7 +29105,7 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29095
29105
  onClick: a[0] || (a[0] = (l) => r(l))
29096
29106
  }, Y(o.order.id), 9, Gx),
29097
29107
  oe(" от " + Y(s.value), 1),
29098
- o.order.isApproved1c ? (w(), R(Fe, { key: 0 }, [
29108
+ o.order.isApproved1c ? (w(), F(Fe, { key: 0 }, [
29099
29109
  oe(" (подтверждён)")
29100
29110
  ], 64)) : X("", !0)
29101
29111
  ]),
@@ -29103,9 +29113,9 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29103
29113
  T("span", Kx, "автор: " + Y(o.order.creator.name) + " [" + Y(o.order.creator.type) + "]", 1)
29104
29114
  ], 64));
29105
29115
  }
29106
- }), Jx = { class: "sc-page flex flex-col" }, Qx = { class: "flex flex-row" }, ek = { class: "sc-title grow" }, tk = {
29116
+ }), Jx = { class: "sc-page flex flex-col" }, Qx = { class: "my-2 flex flex-row items-end" }, ek = { class: "sc-title grow" }, tk = {
29107
29117
  key: 0,
29108
- class: "sc-title-buttons mt-1 flex-1 grow-0 lg:mt-3"
29118
+ class: "sc-title-buttons flex-1 grow-0"
29109
29119
  }, ik = { class: "flex flex-col justify-end gap-1 sm:mt-0 sm:flex-row" }, nk = {
29110
29120
  key: 0,
29111
29121
  class: "sc-title-extra mt-2 sm:mt-4"
@@ -29118,28 +29128,28 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29118
29128
  setup(e) {
29119
29129
  return (t, i) => {
29120
29130
  const n = pf;
29121
- return w(), R("div", Jx, [
29131
+ return w(), F("div", Jx, [
29122
29132
  T("div", Qx, [
29123
29133
  T("div", ek, [
29124
- Pe(t.$slots, "title", {}, () => [
29134
+ Te(t.$slots, "title", {}, () => [
29125
29135
  B(n, { class: "m-0 leading-none lg:mb-3 lg:leading-normal" }, {
29126
- default: F(() => [
29136
+ default: R(() => [
29127
29137
  oe(Y(t.title ?? ""), 1)
29128
29138
  ]),
29129
29139
  _: 1
29130
29140
  })
29131
29141
  ])
29132
29142
  ]),
29133
- t.$slots["title-buttons"] ? (w(), R("div", tk, [
29143
+ t.$slots["title-buttons"] ? (w(), F("div", tk, [
29134
29144
  T("div", ik, [
29135
- Pe(t.$slots, "title-buttons")
29145
+ Te(t.$slots, "title-buttons")
29136
29146
  ])
29137
29147
  ])) : X("", !0)
29138
29148
  ]),
29139
- t.$slots["title-extra"] ? (w(), R("div", nk, [
29140
- Pe(t.$slots, "title-extra")
29149
+ t.$slots["title-extra"] ? (w(), F("div", nk, [
29150
+ Te(t.$slots, "title-extra")
29141
29151
  ])) : X("", !0),
29142
- Pe(t.$slots, "default")
29152
+ Te(t.$slots, "default")
29143
29153
  ]);
29144
29154
  };
29145
29155
  }
@@ -29184,13 +29194,13 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29184
29194
  window.removeEventListener("resize", a);
29185
29195
  }), a(), window.addEventListener("resize", a), (l, c) => {
29186
29196
  const u = Du, d = Lu;
29187
- return w(), R(Fe, null, [
29197
+ return w(), F(Fe, null, [
29188
29198
  T("div", ok, [
29189
29199
  T("div", {
29190
29200
  style: rr(`margin-left: ${s.value}px;`),
29191
29201
  class: "w-full"
29192
29202
  }, [
29193
- Pe(l.$slots, "default")
29203
+ Te(l.$slots, "default")
29194
29204
  ], 4)
29195
29205
  ]),
29196
29206
  B(d, {
@@ -29200,18 +29210,18 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29200
29210
  width: s.value,
29201
29211
  placement: "left"
29202
29212
  }, {
29203
- default: F(() => [
29213
+ default: R(() => [
29204
29214
  B(u, { closable: "" }, {
29205
- header: F(() => [
29206
- Pe(l.$slots, "drawer-header", {}, () => [
29215
+ header: R(() => [
29216
+ Te(l.$slots, "drawer-header", {}, () => [
29207
29217
  T("div", ak, Y(l.title), 1)
29208
29218
  ])
29209
29219
  ]),
29210
- default: F(() => [
29211
- Pe(l.$slots, "drawer-content")
29220
+ default: R(() => [
29221
+ Te(l.$slots, "drawer-content")
29212
29222
  ]),
29213
- footer: F(() => [
29214
- Pe(l.$slots, "drawer-footer")
29223
+ footer: R(() => [
29224
+ Te(l.$slots, "drawer-footer")
29215
29225
  ]),
29216
29226
  _: 3
29217
29227
  })
@@ -29265,10 +29275,10 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29265
29275
  }), (o, a) => {
29266
29276
  const l = qe;
29267
29277
  return w(), se(rk, { title: o.title }, Yn({
29268
- default: F(() => [
29269
- o.$slots["preview-panel"] || o.$slots["preview-panel-extra"] || o.isShowPanelButtonVisible ? (w(), R("div", uk, [
29270
- o.isShowPanelButtonVisible ? (w(), R("div", dk, [
29271
- Pe(o.$slots, "show-panel-button", {
29278
+ default: R(() => [
29279
+ o.$slots["preview-panel"] || o.$slots["preview-panel-extra"] || o.isShowPanelButtonVisible ? (w(), F("div", uk, [
29280
+ o.isShowPanelButtonVisible ? (w(), F("div", dk, [
29281
+ Te(o.$slots, "show-panel-button", {
29272
29282
  onClickHandler: () => {
29273
29283
  i.value = !0;
29274
29284
  }
@@ -29277,7 +29287,7 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29277
29287
  class: "flex-none sm:px-10 sm:py-4",
29278
29288
  onClick: a[0] || (a[0] = (c) => i.value = !0)
29279
29289
  }, {
29280
- default: F(() => [
29290
+ default: R(() => [
29281
29291
  oe(Y(o.showPanelButtonText), 1)
29282
29292
  ]),
29283
29293
  _: 1
@@ -29285,10 +29295,10 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29285
29295
  ])
29286
29296
  ])) : X("", !0),
29287
29297
  T("div", hk, [
29288
- Pe(o.$slots, "preview-panel")
29298
+ Te(o.$slots, "preview-panel")
29289
29299
  ]),
29290
- o.$slots["preview-panel-extra"] ? (w(), R("div", fk, [
29291
- Pe(o.$slots, "preview-panel-extra")
29300
+ o.$slots["preview-panel-extra"] ? (w(), F("div", fk, [
29301
+ Te(o.$slots, "preview-panel-extra")
29292
29302
  ])) : X("", !0)
29293
29303
  ], 512)) : X("", !0),
29294
29304
  B(ck, {
@@ -29296,25 +29306,25 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29296
29306
  "onUpdate:showDrawer": a[1] || (a[1] = (c) => i.value = c),
29297
29307
  title: o.panelTitle
29298
29308
  }, Yn({
29299
- "drawer-content": F(() => [
29300
- Pe(o.$slots, "panel-content")
29309
+ "drawer-content": R(() => [
29310
+ Te(o.$slots, "panel-content")
29301
29311
  ]),
29302
- default: F(() => [
29303
- Pe(o.$slots, "default")
29312
+ default: R(() => [
29313
+ Te(o.$slots, "default")
29304
29314
  ]),
29305
29315
  _: 2
29306
29316
  }, [
29307
29317
  o.$slots["panel-header"] ? {
29308
29318
  name: "drawer-header",
29309
- fn: F(() => [
29310
- Pe(o.$slots, "panel-header")
29319
+ fn: R(() => [
29320
+ Te(o.$slots, "panel-header")
29311
29321
  ]),
29312
29322
  key: "0"
29313
29323
  } : void 0,
29314
29324
  o.$slots["panel-bottom"] ? {
29315
29325
  name: "drawer-footer",
29316
- fn: F(() => [
29317
- Pe(o.$slots, "panel-bottom")
29326
+ fn: R(() => [
29327
+ Te(o.$slots, "panel-bottom")
29318
29328
  ]),
29319
29329
  key: "1"
29320
29330
  } : void 0
@@ -29324,22 +29334,22 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29324
29334
  }, [
29325
29335
  o.$slots.title ? {
29326
29336
  name: "title",
29327
- fn: F(() => [
29328
- Pe(o.$slots, "title")
29337
+ fn: R(() => [
29338
+ Te(o.$slots, "title")
29329
29339
  ]),
29330
29340
  key: "0"
29331
29341
  } : void 0,
29332
29342
  o.$slots["title-buttons"] ? {
29333
29343
  name: "title-buttons",
29334
- fn: F(() => [
29335
- Pe(o.$slots, "title-buttons")
29344
+ fn: R(() => [
29345
+ Te(o.$slots, "title-buttons")
29336
29346
  ]),
29337
29347
  key: "1"
29338
29348
  } : void 0,
29339
29349
  o.$slots["title-extra"] ? {
29340
29350
  name: "title-extra",
29341
- fn: F(() => [
29342
- Pe(o.$slots, "title-extra")
29351
+ fn: R(() => [
29352
+ Te(o.$slots, "title-extra")
29343
29353
  ]),
29344
29354
  key: "2"
29345
29355
  } : void 0
@@ -29473,18 +29483,18 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29473
29483
  selected: { type: Boolean }
29474
29484
  },
29475
29485
  setup(e) {
29476
- return (t, i) => (w(), R("div", vk, [
29486
+ return (t, i) => (w(), F("div", vk, [
29477
29487
  T("span", _k, [
29478
- t.addr.postIndex ? (w(), R("span", yk, Y(t.addr.postIndex) + ", ", 1)) : X("", !0),
29479
- t.addr.city ? (w(), R("span", bk, Y(t.addr.city) + ", ", 1)) : X("", !0),
29480
- t.addr.locality ? (w(), R("span", wk, Y(t.addr.locality) + ", ", 1)) : X("", !0),
29481
- t.addr.region ? (w(), R("span", xk, Y(t.addr.region) + ", ", 1)) : X("", !0)
29488
+ t.addr.postIndex ? (w(), F("span", yk, Y(t.addr.postIndex) + ", ", 1)) : X("", !0),
29489
+ t.addr.city ? (w(), F("span", bk, Y(t.addr.city) + ", ", 1)) : X("", !0),
29490
+ t.addr.locality ? (w(), F("span", wk, Y(t.addr.locality) + ", ", 1)) : X("", !0),
29491
+ t.addr.region ? (w(), F("span", xk, Y(t.addr.region) + ", ", 1)) : X("", !0)
29482
29492
  ]),
29483
29493
  T("span", kk, [
29484
- t.addr.street ? (w(), R("span", Ck, Y(t.addr.street) + ", ", 1)) : X("", !0),
29485
- t.addr.building ? (w(), R("span", Sk, Y(t.addr.building) + ", ", 1)) : X("", !0),
29486
- t.addr.buildingPart ? (w(), R("span", Tk, Y(t.addr.buildingPart) + ", ", 1)) : X("", !0),
29487
- t.addr.apartments ? (w(), R("span", $k, Y(t.addr.apartments) + ", ", 1)) : X("", !0)
29494
+ t.addr.street ? (w(), F("span", Ck, Y(t.addr.street) + ", ", 1)) : X("", !0),
29495
+ t.addr.building ? (w(), F("span", Sk, Y(t.addr.building) + ", ", 1)) : X("", !0),
29496
+ t.addr.buildingPart ? (w(), F("span", Tk, Y(t.addr.buildingPart) + ", ", 1)) : X("", !0),
29497
+ t.addr.apartments ? (w(), F("span", $k, Y(t.addr.apartments) + ", ", 1)) : X("", !0)
29488
29498
  ])
29489
29499
  ]));
29490
29500
  }
@@ -29588,11 +29598,11 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29588
29598
  selected: { type: Boolean }
29589
29599
  },
29590
29600
  setup(e) {
29591
- return (t, i) => (w(), R("div", Fk, [
29601
+ return (t, i) => (w(), F("div", Fk, [
29592
29602
  T("span", Ek, Y(t.bank.name), 1),
29593
29603
  T("span", Ak, [
29594
- t.bank.bic ? (w(), R("span", Ok, " БИК: " + Y(t.bank.bic), 1)) : X("", !0),
29595
- t.bank.inn ? (w(), R("span", Bk, " ИНН: " + Y(t.bank.inn), 1)) : X("", !0)
29604
+ t.bank.bic ? (w(), F("span", Ok, " БИК: " + Y(t.bank.bic), 1)) : X("", !0),
29605
+ t.bank.inn ? (w(), F("span", Bk, " ИНН: " + Y(t.bank.inn), 1)) : X("", !0)
29596
29606
  ])
29597
29607
  ]));
29598
29608
  }
@@ -29709,13 +29719,13 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29709
29719
  var s, r;
29710
29720
  return ((r = (s = t.org.rawData) == null ? void 0 : s.address) == null ? void 0 : r.value) ?? "";
29711
29721
  });
29712
- return (s, r) => (w(), R("div", {
29722
+ return (s, r) => (w(), F("div", {
29713
29723
  class: Je(`m-0.5 flex flex-col p-0.5 ${i.value ? "line-through" : ""}`)
29714
29724
  }, [
29715
29725
  T("span", Dk, Y(s.org.name), 1),
29716
- s.org.inn || n.value ? (w(), R("div", Nk, [
29717
- s.org.inn ? (w(), R("span", Hk, Y(s.org.inn), 1)) : X("", !0),
29718
- n.value ? (w(), R("span", Wk, Y(n.value), 1)) : X("", !0)
29726
+ s.org.inn || n.value ? (w(), F("div", Nk, [
29727
+ s.org.inn ? (w(), F("span", Hk, Y(s.org.inn), 1)) : X("", !0),
29728
+ n.value ? (w(), F("span", Wk, Y(n.value), 1)) : X("", !0)
29719
29729
  ])) : X("", !0)
29720
29730
  ], 2));
29721
29731
  }
@@ -29840,12 +29850,12 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29840
29850
  };
29841
29851
  return (a, l) => {
29842
29852
  const c = qe, u = sn, d = tl;
29843
- return w(), R("div", null, [
29853
+ return w(), F("div", null, [
29844
29854
  B(u, {
29845
29855
  disabled: a.popoverText.length === 0,
29846
29856
  placement: "bottom"
29847
29857
  }, {
29848
- trigger: F(() => [
29858
+ trigger: R(() => [
29849
29859
  B(c, {
29850
29860
  disabled: a.disabled,
29851
29861
  ghost: a.ghost,
@@ -29856,13 +29866,13 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29856
29866
  circle: a.circle,
29857
29867
  onClick: o
29858
29868
  }, {
29859
- default: F(() => [
29860
- Pe(a.$slots, "default")
29869
+ default: R(() => [
29870
+ Te(a.$slots, "default")
29861
29871
  ]),
29862
29872
  _: 3
29863
29873
  }, 8, ["disabled", "ghost", "loading", "size", "type", "quaternary", "circle"])
29864
29874
  ]),
29865
- default: F(() => [
29875
+ default: R(() => [
29866
29876
  oe(" " + Y(a.popoverText), 1)
29867
29877
  ]),
29868
29878
  _: 3
@@ -29878,13 +29888,13 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29878
29888
  "action-class": "",
29879
29889
  preset: "dialog"
29880
29890
  }, {
29881
- action: F(() => [
29891
+ action: R(() => [
29882
29892
  B(c, {
29883
29893
  type: "primary",
29884
29894
  class: "px-8",
29885
29895
  onClick: r
29886
29896
  }, {
29887
- default: F(() => l[2] || (l[2] = [
29897
+ default: R(() => l[2] || (l[2] = [
29888
29898
  oe(" Да ")
29889
29899
  ])),
29890
29900
  _: 1,
@@ -29894,7 +29904,7 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29894
29904
  type: "default",
29895
29905
  onClick: l[0] || (l[0] = (h) => s.value = !1)
29896
29906
  }, {
29897
- default: F(() => l[3] || (l[3] = [
29907
+ default: R(() => l[3] || (l[3] = [
29898
29908
  oe(" Отмена ")
29899
29909
  ])),
29900
29910
  _: 1,
@@ -29940,12 +29950,12 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29940
29950
  "onEditor:apply": r,
29941
29951
  "onEditor:cancel": o
29942
29952
  }, {
29943
- viewer: F(() => [
29953
+ viewer: R(() => [
29944
29954
  T("div", null, [
29945
- a.comment ? (w(), R("span", Yk, Y(a.comment), 1)) : (w(), R("span", qk, " - Комментарий отсутствует - "))
29955
+ a.comment ? (w(), F("span", Yk, Y(a.comment), 1)) : (w(), F("span", qk, " - Комментарий отсутствует - "))
29946
29956
  ])
29947
29957
  ]),
29948
- editor: F(() => [
29958
+ editor: R(() => [
29949
29959
  B(c, {
29950
29960
  value: s.value,
29951
29961
  "onUpdate:value": l[0] || (l[0] = (u) => s.value = u),
@@ -29973,14 +29983,14 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29973
29983
  let n = "";
29974
29984
  return (t.showLabel ?? !1) && (t.debt > 0 ? n = "Переплата: " : t.debt < 0 && (n = "Задолженность: ")), n;
29975
29985
  });
29976
- return (n, s) => (w(), R("span", null, [
29977
- n.wrapAsSmall && n.debt !== 0 ? (w(), R("span", Kk, [
29986
+ return (n, s) => (w(), F("span", null, [
29987
+ n.wrapAsSmall && n.debt !== 0 ? (w(), F("span", Kk, [
29978
29988
  oe(Y(i.value) + " ", 1),
29979
29989
  T("span", {
29980
29990
  class: Je({ "text-green-700": n.debt > 0, "text-red-700": n.debt < 0 })
29981
29991
  }, Y(n.debt) + " ₽ ", 3)
29982
29992
  ])) : X("", !0),
29983
- !n.wrapAsSmall && n.debt !== 0 ? (w(), R("span", Zk, [
29993
+ !n.wrapAsSmall && n.debt !== 0 ? (w(), F("span", Zk, [
29984
29994
  oe(Y(i.value) + " ", 1),
29985
29995
  T("span", {
29986
29996
  class: Je({ "text-green-700": n.debt > 0, "text-red-700": n.debt < 0 })
@@ -29994,7 +30004,7 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
29994
30004
  height: "1.2em"
29995
30005
  };
29996
30006
  function e5(e, t) {
29997
- return w(), R("svg", Qk, t[0] || (t[0] = [
30007
+ return w(), F("svg", Qk, t[0] || (t[0] = [
29998
30008
  T("path", {
29999
30009
  fill: "currentColor",
30000
30010
  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"
@@ -30015,12 +30025,12 @@ const t5 = Ye({ name: "ion-warning", render: e5 }), i5 = {}, q5 = /* @__PURE__ *
30015
30025
  disabled: t.popoverText.length === 0,
30016
30026
  placement: "bottom"
30017
30027
  }, {
30018
- trigger: F(() => [
30028
+ trigger: R(() => [
30019
30029
  B(n, {
30020
30030
  class: Je(`ml-0.5 ${t.iconClass}`)
30021
30031
  }, null, 8, ["class"])
30022
30032
  ]),
30023
- default: F(() => [
30033
+ default: R(() => [
30024
30034
  oe(" " + Y(t.popoverText), 1)
30025
30035
  ]),
30026
30036
  _: 1