quasar-factory-lib 0.0.82 → 0.0.84

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.
@@ -119,7 +119,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
119
119
  prepared: boolean;
120
120
  }): any;
121
121
  getAdvancedFilterColumns(): void;
122
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected")[], "onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
122
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected" | "setLineRemainingQty" | "setLineNoStock" | "onDoneLineMaintenanceTasks")[], "onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected" | "setLineRemainingQty" | "setLineNoStock" | "onDoneLineMaintenanceTasks", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
123
123
  columns: {
124
124
  type: () => object[];
125
125
  required: true;
@@ -208,6 +208,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
208
208
  onFinishMaintenanceTicket?: ((...args: any[]) => any) | undefined;
209
209
  onOnRowClick?: ((...args: any[]) => any) | undefined;
210
210
  onOnUpdateSelected?: ((...args: any[]) => any) | undefined;
211
+ onSetLineRemainingQty?: ((...args: any[]) => any) | undefined;
212
+ onSetLineNoStock?: ((...args: any[]) => any) | undefined;
213
+ onOnDoneLineMaintenanceTasks?: ((...args: any[]) => any) | undefined;
211
214
  }>, {
212
215
  selectionType: "none" | "multiple" | "single";
213
216
  popupEditNumberOptions: unknown[];
@@ -527,7 +527,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
527
527
  prepared: boolean;
528
528
  }): any;
529
529
  getAdvancedFilterColumns(): void;
530
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected")[], "onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
530
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected" | "setLineRemainingQty" | "setLineNoStock" | "onDoneLineMaintenanceTasks")[], "onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected" | "setLineRemainingQty" | "setLineNoStock" | "onDoneLineMaintenanceTasks", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
531
531
  columns: {
532
532
  type: () => object[];
533
533
  required: true;
@@ -616,6 +616,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
616
616
  onFinishMaintenanceTicket?: ((...args: any[]) => any) | undefined;
617
617
  onOnRowClick?: ((...args: any[]) => any) | undefined;
618
618
  onOnUpdateSelected?: ((...args: any[]) => any) | undefined;
619
+ onSetLineRemainingQty?: ((...args: any[]) => any) | undefined;
620
+ onSetLineNoStock?: ((...args: any[]) => any) | undefined;
621
+ onOnDoneLineMaintenanceTasks?: ((...args: any[]) => any) | undefined;
619
622
  }>, {
620
623
  selectionType: "none" | "multiple" | "single";
621
624
  popupEditNumberOptions: unknown[];
@@ -673,7 +673,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
673
673
  prepared: boolean;
674
674
  }): any;
675
675
  getAdvancedFilterColumns(): void;
676
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected")[], "onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
676
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected" | "setLineRemainingQty" | "setLineNoStock" | "onDoneLineMaintenanceTasks")[], "onSelectVisibleColumns" | "onClickButton" | "onClickIconToolTip" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onClickSeeTaskDetails" | "startMaintenanceTicket" | "pauseMaintenanceTicket" | "finishMaintenanceTicket" | "onRowClick" | "onUpdateSelected" | "setLineRemainingQty" | "setLineNoStock" | "onDoneLineMaintenanceTasks", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
677
677
  columns: {
678
678
  type: () => object[];
679
679
  required: true;
@@ -762,6 +762,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
762
762
  onFinishMaintenanceTicket?: ((...args: any[]) => any) | undefined;
763
763
  onOnRowClick?: ((...args: any[]) => any) | undefined;
764
764
  onOnUpdateSelected?: ((...args: any[]) => any) | undefined;
765
+ onSetLineRemainingQty?: ((...args: any[]) => any) | undefined;
766
+ onSetLineNoStock?: ((...args: any[]) => any) | undefined;
767
+ onOnDoneLineMaintenanceTasks?: ((...args: any[]) => any) | undefined;
765
768
  }>, {
766
769
  selectionType: "none" | "multiple" | "single";
767
770
  popupEditNumberOptions: unknown[];
@@ -1,4 +1,4 @@
1
- import { ref as se, reactive as ic, markRaw as ol, defineComponent as vn, computed as _, getCurrentInstance as Fe, h as y, withDirectives as xn, watch as Ce, nextTick as gt, onBeforeMount as yr, onDeactivated as sa, onActivated as Er, onBeforeUnmount as Mt, unref as sc, onMounted as Nn, onBeforeUpdate as uc, inject as cc, Transition as an, onUnmounted as dc, Teleport as Zf, onUpdated as Jf, toRaw as bn, createBlock as ie, openBlock as W, withCtx as j, createVNode as q, createElementVNode as ke, resolveComponent as $e, createCommentVNode as ye, createElementBlock as et, Fragment as Qt, renderList as fn, createTextVNode as rn, normalizeStyle as Sr, toDisplayString as kt, mergeProps as fc, withKeys as mc, withModifiers as vc, normalizeClass as Pn, vShow as va, effectScope as hc, shallowRef as em, isRef as tm, Text as nm } from "vue";
1
+ import { ref as se, reactive as ic, markRaw as ol, defineComponent as vn, computed as _, getCurrentInstance as Fe, h as y, withDirectives as xn, watch as Ce, nextTick as gt, onBeforeMount as yr, onDeactivated as sa, onActivated as Er, onBeforeUnmount as Mt, unref as sc, onMounted as Ln, onBeforeUpdate as uc, inject as cc, Transition as an, onUnmounted as dc, Teleport as Zf, onUpdated as Jf, toRaw as bn, createBlock as ie, openBlock as W, withCtx as j, createVNode as q, createElementVNode as ke, resolveComponent as $e, createCommentVNode as ye, createElementBlock as et, Fragment as Qt, renderList as fn, createTextVNode as rn, normalizeStyle as Sr, toDisplayString as kt, mergeProps as fc, withKeys as mc, withModifiers as vc, normalizeClass as Bn, vShow as va, effectScope as hc, shallowRef as em, isRef as tm, Text as nm } from "vue";
2
2
  function Gt(e, t, n, o) {
3
3
  return Object.defineProperty(e, t, {
4
4
  get: n,
@@ -1666,7 +1666,7 @@ const Wm = {
1666
1666
  }
1667
1667
  return yr(() => {
1668
1668
  i();
1669
- }), Nn(() => {
1669
+ }), Ln(() => {
1670
1670
  b();
1671
1671
  }), Er(() => {
1672
1672
  b();
@@ -1771,7 +1771,7 @@ function Vi(e, t) {
1771
1771
  function Zm({ getValue: e, required: t = !0 } = {}) {
1772
1772
  if ($n.value === !0) {
1773
1773
  const n = e !== void 0 ? se(Xm(e())) : se(null);
1774
- return t === !0 && n.value === null && Nn(() => {
1774
+ return t === !0 && n.value === null && Ln(() => {
1775
1775
  n.value = `f_${Yl()}`;
1776
1776
  }), e !== void 0 && Ce(e, (o) => {
1777
1777
  n.value = Vi(o, t);
@@ -1801,7 +1801,7 @@ function ev({ validate: e, resetValidation: t, requiresQForm: n }) {
1801
1801
  const { props: a, proxy: l } = Fe();
1802
1802
  Object.assign(l, { validate: e, resetValidation: t }), Ce(() => a.disable, (r) => {
1803
1803
  r === !0 ? (typeof t == "function" && t(), o.unbindComponent(l)) : o.bindComponent(l);
1804
- }), Nn(() => {
1804
+ }), Ln(() => {
1805
1805
  a.disable !== !0 && o.bindComponent(l);
1806
1806
  }), Mt(() => {
1807
1807
  a.disable !== !0 && o.unbindComponent(l);
@@ -2182,7 +2182,7 @@ function Pr(e) {
2182
2182
  Y = !0;
2183
2183
  }), Er(() => {
2184
2184
  Y === !0 && t.autofocus === !0 && l.focus();
2185
- }), t.autofocus === !0 && Nn(() => {
2185
+ }), t.autofocus === !0 && Ln(() => {
2186
2186
  l.focus();
2187
2187
  }), Mt(() => {
2188
2188
  i !== null && clearTimeout(i);
@@ -2792,7 +2792,7 @@ function Mr({
2792
2792
  r.value !== null && u(), f();
2793
2793
  }), Ce(() => o.noParentEvent, (v) => {
2794
2794
  r.value !== null && (v === !0 ? u() : n());
2795
- }), Nn(() => {
2795
+ }), Ln(() => {
2796
2796
  f(), t !== !0 && o.modelValue === !0 && r.value === null && l("update:modelValue", !1);
2797
2797
  }), Mt(() => {
2798
2798
  i !== null && clearTimeout(i), u();
@@ -2876,7 +2876,7 @@ function Vr({
2876
2876
  }
2877
2877
  Ce(() => i.modelValue, g), n !== void 0 && Lr(r) === !0 && Ce(() => d.$route.fullPath, () => {
2878
2878
  n.value === !0 && e.value === !0 && c();
2879
- }), Nn(() => {
2879
+ }), Ln(() => {
2880
2880
  g(i.modelValue);
2881
2881
  });
2882
2882
  const p = { show: f, hide: c, toggle: m };
@@ -4694,7 +4694,7 @@ const Gv = () => y("div", {
4694
4694
  d: "M4,14H20V10H4"
4695
4695
  })
4696
4696
  ])
4697
- ]), Ln = qe({
4697
+ ]), Pn = qe({
4698
4698
  name: "QCheckbox",
4699
4699
  props: Yv,
4700
4700
  emits: Wv,
@@ -5051,7 +5051,7 @@ function ih() {
5051
5051
  }
5052
5052
  return yr(() => {
5053
5053
  l = document.createElement("span");
5054
- }), Nn(() => {
5054
+ }), Ln(() => {
5055
5055
  t.fullscreen === !0 && d();
5056
5056
  }), Mt(u), Object.assign(o, {
5057
5057
  toggleFullscreen: s,
@@ -5602,7 +5602,7 @@ const kh = qe({
5602
5602
  });
5603
5603
  if (H.value === !0) {
5604
5604
  const k = t["body-selection"], R = k !== void 0 ? k(Ft({ key: Se, row: F, pageIndex: we })) : [
5605
- y(Ln, {
5605
+ y(Pn, {
5606
5606
  modelValue: Le,
5607
5607
  color: e.color,
5608
5608
  dark: l.value,
@@ -5743,7 +5743,7 @@ const kh = qe({
5743
5743
  );
5744
5744
  else if (ne.value === !0) {
5745
5745
  const Se = t["header-selection"], Le = Se !== void 0 ? Se(Ne({})) : [
5746
- y(Ln, {
5746
+ y(Pn, {
5747
5747
  color: e.color,
5748
5748
  modelValue: Ae.value,
5749
5749
  dark: l.value,
@@ -5925,7 +5925,7 @@ const kh = qe({
5925
5925
  );
5926
5926
  if (H.value === !0) {
5927
5927
  const Le = t["body-selection"], vt = Le !== void 0 ? Le(de) : [
5928
- y(Ln, {
5928
+ y(Pn, {
5929
5929
  modelValue: de.selected,
5930
5930
  color: e.color,
5931
5931
  dark: l.value,
@@ -6463,7 +6463,7 @@ const jn = qe({
6463
6463
  }
6464
6464
  Mt(() => {
6465
6465
  ae();
6466
- }), Nn(() => {
6466
+ }), Ln(() => {
6467
6467
  e.autogrow === !0 && Y();
6468
6468
  }), Object.assign(L, {
6469
6469
  innerValue: v,
@@ -6553,7 +6553,7 @@ const ad = /* @__PURE__ */ Qe(Ah, [["render", Ih]]), Ph = {
6553
6553
  }
6554
6554
  };
6555
6555
  function Lh(e, t, n, o, a, l) {
6556
- return W(), ie(Ln, {
6556
+ return W(), ie(Pn, {
6557
6557
  modelValue: n.advancedFilters[n.col.name],
6558
6558
  "onUpdate:modelValue": t[0] || (t[0] = (r) => n.advancedFilters[n.col.name] = r),
6559
6559
  color: "primary",
@@ -6607,7 +6607,7 @@ function Fh() {
6607
6607
  }
6608
6608
  };
6609
6609
  }
6610
- const Vn = [
6610
+ const Rn = [
6611
6611
  -61,
6612
6612
  9,
6613
6613
  38,
@@ -6642,20 +6642,20 @@ function Da(e, t) {
6642
6642
  return t <= 6 ? 31 : t <= 11 || Vh(e) ? 30 : 29;
6643
6643
  }
6644
6644
  function qh(e) {
6645
- const t = Vn.length;
6646
- let n = Vn[0], o, a, l, r, i;
6647
- if (e < n || e >= Vn[t - 1])
6645
+ const t = Rn.length;
6646
+ let n = Rn[0], o, a, l, r, i;
6647
+ if (e < n || e >= Rn[t - 1])
6648
6648
  throw new Error("Invalid Jalaali year " + e);
6649
- for (i = 1; i < t && (o = Vn[i], a = o - n, !(e < o)); i += 1)
6649
+ for (i = 1; i < t && (o = Rn[i], a = o - n, !(e < o)); i += 1)
6650
6650
  n = o;
6651
6651
  return r = e - n, a - r < 6 && (r = r - a + ht(a + 4, 33) * 33), l = Jt(Jt(r + 1, 33) - 1, 4), l === -1 && (l = 4), l;
6652
6652
  }
6653
6653
  function id(e, t) {
6654
- const n = Vn.length, o = e + 621;
6655
- let a = -14, l = Vn[0], r, i, s, d, u;
6656
- if (e < l || e >= Vn[n - 1])
6654
+ const n = Rn.length, o = e + 621;
6655
+ let a = -14, l = Rn[0], r, i, s, d, u;
6656
+ if (e < l || e >= Rn[n - 1])
6657
6657
  throw new Error("Invalid Jalaali year " + e);
6658
- for (u = 1; u < n && (r = Vn[u], i = r - l, !(e < r)); u += 1)
6658
+ for (u = 1; u < n && (r = Rn[u], i = r - l, !(e < r)); u += 1)
6659
6659
  a = a + ht(i, 33) * 8 + ht(Jt(i, 33), 4), l = r;
6660
6660
  d = e - l, a = a + ht(d, 33) * 8 + ht(Jt(d, 33) + 3, 4), Jt(i, 33) === 4 && i - d === 4 && (a += 1);
6661
6661
  const m = ht(o, 4) - ht((ht(o, 100) + 1) * 3, 4) - 150, f = 20 + a - m;
@@ -7367,7 +7367,7 @@ const Ia = {
7367
7367
  formatDate: Xr,
7368
7368
  clone: ug
7369
7369
  }, wn = 20, cg = ["Calendar", "Years", "Months"], hs = (e) => cg.includes(e), Il = (e) => /^-?[\d]+\/[0-1]\d$/.test(e), Eo = " — ";
7370
- function Mn(e) {
7370
+ function Nn(e) {
7371
7371
  return e.year + "/" + Ye(e.month);
7372
7372
  }
7373
7373
  const gd = qe({
@@ -7514,13 +7514,13 @@ const gd = qe({
7514
7514
  }), St = _(() => {
7515
7515
  const E = {};
7516
7516
  return Y.value.forEach((k) => {
7517
- const R = Mn(k);
7517
+ const R = Nn(k);
7518
7518
  E[R] === void 0 && (E[R] = []), E[R].push(k.day);
7519
7519
  }), E;
7520
7520
  }), pt = _(() => {
7521
7521
  const E = {};
7522
7522
  return Z.value.forEach((k) => {
7523
- const R = Mn(k.from), re = Mn(k.to);
7523
+ const R = Nn(k.from), re = Nn(k.to);
7524
7524
  if (E[R] === void 0 && (E[R] = []), E[R].push({
7525
7525
  from: k.from.day,
7526
7526
  to: R === re ? k.to.day : void 0,
@@ -7528,7 +7528,7 @@ const gd = qe({
7528
7528
  }), R < re) {
7529
7529
  let me;
7530
7530
  const { year: Re, month: ge } = k.from, Oe = ge < 12 ? { year: Re, month: ge + 1 } : { year: Re + 1, month: 1 };
7531
- for (; (me = Mn(Oe)) <= re; )
7531
+ for (; (me = Nn(Oe)) <= re; )
7532
7532
  E[me] === void 0 && (E[me] = []), E[me].push({
7533
7533
  from: void 0,
7534
7534
  to: me === re ? k.to.day : void 0,
@@ -7538,11 +7538,11 @@ const gd = qe({
7538
7538
  }), E;
7539
7539
  }), mt = _(() => {
7540
7540
  if (H.value === null) return;
7541
- const { init: E, initHash: k, final: R, finalHash: re } = H.value, [me, Re] = k <= re ? [E, R] : [R, E], ge = Mn(me), Oe = Mn(Re);
7541
+ const { init: E, initHash: k, final: R, finalHash: re } = H.value, [me, Re] = k <= re ? [E, R] : [R, E], ge = Nn(me), Oe = Nn(Re);
7542
7542
  if (ge !== lt.value && Oe !== lt.value) return;
7543
7543
  const je = {};
7544
7544
  return ge === lt.value ? (je.from = me.day, je.includeFrom = !0) : je.from = 1, Oe === lt.value ? (je.to = Re.day, je.includeTo = !0) : je.to = ee.value, je;
7545
- }), lt = _(() => Mn(h.value)), w = _(() => {
7545
+ }), lt = _(() => Nn(h.value)), w = _(() => {
7546
7546
  const E = {};
7547
7547
  if (e.options === void 0) {
7548
7548
  for (let R = 1; R <= ee.value; R++)
@@ -7688,7 +7688,7 @@ const gd = qe({
7688
7688
  year: E,
7689
7689
  month: k,
7690
7690
  day: R
7691
- }, me = St.value[Mn(re)];
7691
+ }, me = St.value[Nn(re)];
7692
7692
  (me === void 0 || me.includes(re.day) === !1) && Qn(re), Te(re.year, re.month);
7693
7693
  }
7694
7694
  function B(E) {
@@ -9716,7 +9716,7 @@ function Mg(e, t, n, o, a, l) {
9716
9716
  default: j(() => [
9717
9717
  n.selectionType !== "none" ? (W(), ie(Go, { key: 0 }, {
9718
9718
  default: j(() => [
9719
- n.selectionType == "multiple" ? (W(), ie(Ln, {
9719
+ n.selectionType == "multiple" ? (W(), ie(Pn, {
9720
9720
  key: 0,
9721
9721
  modelValue: a.tablePropsData.selected,
9722
9722
  "onUpdate:modelValue": t[0] || (t[0] = (s) => a.tablePropsData.selected = s),
@@ -9746,10 +9746,10 @@ function Mg(e, t, n, o, a, l) {
9746
9746
  }, null, 8, ["tableProps", "advancedFilters", "selectionType"])) : ye("", !0),
9747
9747
  n.showAdvancedFilter && n.smallDevice ? (W(), ie(i, {
9748
9748
  key: 1,
9749
- "sho-advanced-filter": n.showAdvancedFilter,
9750
9749
  tableProps: a.tablePropsData,
9751
- advancedFilters: n.advancedFilters
9752
- }, null, 8, ["sho-advanced-filter", "tableProps", "advancedFilters"])) : ye("", !0)
9750
+ advancedFilters: n.advancedFilters,
9751
+ "show-advanced-filter": n.showAdvancedFilter
9752
+ }, null, 8, ["tableProps", "advancedFilters", "show-advanced-filter"])) : ye("", !0)
9753
9753
  ], 64);
9754
9754
  }
9755
9755
  const Fg = /* @__PURE__ */ Qe(Ng, [["render", Mg]]), Rg = {
@@ -10171,7 +10171,7 @@ const Td = /* @__PURE__ */ Qe(Ug, [["render", Hg]]), zg = {
10171
10171
  }
10172
10172
  };
10173
10173
  function jg(e, t, n, o, a, l) {
10174
- return W(), ie(Ln, {
10174
+ return W(), ie(Pn, {
10175
10175
  modelValue: a.modelData,
10176
10176
  "onUpdate:modelValue": [
10177
10177
  t[0] || (t[0] = (r) => a.modelData = r),
@@ -10228,7 +10228,7 @@ const Od = /* @__PURE__ */ Qe(zg, [["render", jg]]), Yg = {
10228
10228
  }
10229
10229
  };
10230
10230
  function Wg(e, t, n, o, a, l) {
10231
- return W(), ie(Ln, {
10231
+ return W(), ie(Pn, {
10232
10232
  modelValue: a.modelData,
10233
10233
  "onUpdate:modelValue": [
10234
10234
  t[0] || (t[0] = (r) => a.modelData = r),
@@ -10376,7 +10376,7 @@ const Ad = /* @__PURE__ */ Qe(Qg, [["render", Xg]]), Zg = ["top", "middle", "bot
10376
10376
  };
10377
10377
  function t_(e, t, n, o, a, l) {
10378
10378
  return W(), ie(Jg, {
10379
- class: Pn(["cursor-pointer", n.badgeColor]),
10379
+ class: Bn(["cursor-pointer", n.badgeColor]),
10380
10380
  "data-cy": "badge" + n.dataCy,
10381
10381
  "text-color": n.badgeTextColor,
10382
10382
  outline: n.badgeOutline,
@@ -10493,7 +10493,7 @@ const Pd = /* @__PURE__ */ Qe(n_, [["render", o_]]), a_ = {
10493
10493
  function r_(e, t, n, o, a, l) {
10494
10494
  const r = $e("PopupEditNumber"), i = $e("PopupEditText"), s = $e("BasicCheckBox"), d = $e("CustomizedCheckBox"), u = $e("CustomizedIcon"), m = $e("CustomizedButton"), f = $e("IconWithToolTip"), v = $e("CustomizedBadge");
10495
10495
  return W(), et("tr", {
10496
- class: Pn(a.tablePropsData.row.rowBgColor || "bg-main-color")
10496
+ class: Bn(a.tablePropsData.row.rowBgColor || "bg-main-color")
10497
10497
  }, [
10498
10498
  n.selectionType != "none" ? (W(), ie(bs, {
10499
10499
  key: 0,
@@ -10501,7 +10501,7 @@ function r_(e, t, n, o, a, l) {
10501
10501
  "auto-width": ""
10502
10502
  }, {
10503
10503
  default: j(() => [
10504
- q(Ln, {
10504
+ q(Pn, {
10505
10505
  modelValue: a.tablePropsData.selected,
10506
10506
  "onUpdate:modelValue": t[0] || (t[0] = (c) => a.tablePropsData.selected = c),
10507
10507
  size: "sm"
@@ -10511,13 +10511,13 @@ function r_(e, t, n, o, a, l) {
10511
10511
  }, 8, ["id"])) : ye("", !0),
10512
10512
  (W(!0), et(Qt, null, fn(a.tablePropsData.cols, (c) => (W(), ie(bs, {
10513
10513
  key: c.name,
10514
- class: Pn(a.tablePropsData.row.rowBgColor || "bg-main-color"),
10514
+ class: Bn(a.tablePropsData.row.rowBgColor || "bg-main-color"),
10515
10515
  props: a.tablePropsData
10516
10516
  }, {
10517
10517
  default: j(() => [
10518
10518
  l.getColumnValue(c) ? (W(), et("span", {
10519
10519
  key: 0,
10520
- class: Pn(n.getCellClass(a.tablePropsData.row, c)),
10520
+ class: Bn(n.getCellClass(a.tablePropsData.row, c)),
10521
10521
  innerHTML: a.tablePropsData.row[c.name]
10522
10522
  }, null, 10, l_)) : ye("", !0),
10523
10523
  c.editable ? (W(), ie(at, {
@@ -10680,21 +10680,21 @@ function d_(e, t, n, o, a, l) {
10680
10680
  const r = $e("PopupEditNumber"), i = $e("PopupEditText"), s = $e("BasicCheckBox"), d = $e("CustomizedCheckBox"), u = $e("CustomizedIcon"), m = $e("CustomizedButton"), f = $e("IconWithToolTip"), v = $e("CustomizedBadge");
10681
10681
  return W(), et("div", {
10682
10682
  id: "card-container-" + a.tablePropsData.row.id,
10683
- class: Pn("q-pa-xs col-xs-12 col-sm-6 col-md-4 col-lg-3 grid-style-transition"),
10683
+ class: "col-xs-12 col-sm-12 grid-style-transition",
10684
10684
  style: Sr(a.tablePropsData.selected ? "transform: scale(0.95);" : "")
10685
10685
  }, [
10686
10686
  q(vo, {
10687
10687
  bordered: "",
10688
10688
  flat: "",
10689
10689
  square: "",
10690
- class: Pn(
10690
+ class: Bn(
10691
10691
  a.tablePropsData.selected ? e.$q.dark.isActive ? "bg-grey-9" : "bg-grey-2" : a.tablePropsData.row.rowBgColor || "bg-main-color"
10692
10692
  )
10693
10693
  }, {
10694
10694
  default: j(() => [
10695
10695
  q(fa, { class: "q-py-sm" }, {
10696
10696
  default: j(() => [
10697
- n.selectionType != "none" ? (W(), ie(Ln, {
10697
+ n.selectionType != "none" ? (W(), ie(Pn, {
10698
10698
  key: 0,
10699
10699
  "data-cy": "checkbox-" + a.tablePropsData.row.id,
10700
10700
  size: "sm",
@@ -10727,7 +10727,7 @@ function d_(e, t, n, o, a, l) {
10727
10727
  default: j(() => [
10728
10728
  l.getColumnValue(c) ? (W(), ie(Lt, {
10729
10729
  key: 0,
10730
- class: Pn(["itemsFontSize text-color-almostBlack", n.getCellClass(a.tablePropsData.row, c)])
10730
+ class: Bn(["itemsFontSize text-color-almostBlack", n.getCellClass(a.tablePropsData.row, c)])
10731
10731
  }, {
10732
10732
  default: j(() => [
10733
10733
  ke("span", {
@@ -11306,7 +11306,10 @@ const M_ = /* @__PURE__ */ Qe(L_, [["render", N_]]), F_ = vn({
11306
11306
  "finishMaintenanceTicket",
11307
11307
  "onRowClick",
11308
11308
  "onClickIconToolTip",
11309
- "onUpdateSelected"
11309
+ "onUpdateSelected",
11310
+ "setLineRemainingQty",
11311
+ "setLineNoStock",
11312
+ "onDoneLineMaintenanceTasks"
11310
11313
  ],
11311
11314
  data() {
11312
11315
  return {
@@ -11334,7 +11337,7 @@ const M_ = /* @__PURE__ */ Qe(L_, [["render", N_]]), F_ = vn({
11334
11337
  return !this.smallDevice || this.showSearch;
11335
11338
  },
11336
11339
  showGridHeader() {
11337
- return this.selectionType === "multiple";
11340
+ return this.selectionType === "multiple" || this.showAdvancedFilter;
11338
11341
  },
11339
11342
  getTableSkeletonVisibility() {
11340
11343
  return !this.smallDevice && this.showSkeleton;
@@ -11588,7 +11591,7 @@ function V_(e, t, n, o, a, l) {
11588
11591
  })) : ye("", !0)
11589
11592
  ]);
11590
11593
  }
11591
- const q_ = /* @__PURE__ */ Qe(F_, [["render", V_]]), Fn = (e, t) => {
11594
+ const q_ = /* @__PURE__ */ Qe(F_, [["render", V_]]), Mn = (e, t) => {
11592
11595
  e.use(t);
11593
11596
  }, Yn = (e, t, n) => {
11594
11597
  e.component(t, n);
@@ -12048,7 +12051,7 @@ function bp(e, t, n, o, a, l) {
12048
12051
  }, {
12049
12052
  default: j(() => [
12050
12053
  q(vo, {
12051
- class: Pn(e.values.class),
12054
+ class: Bn(e.values.class),
12052
12055
  id: "confirmed-task"
12053
12056
  }, {
12054
12057
  default: j(() => [
@@ -12140,7 +12143,7 @@ function kp(e, t, n, o, a, l) {
12140
12143
  ke("span", {
12141
12144
  "data-cy": r.dataCy,
12142
12145
  style: { "font-size": "20px", "padding-right": "5px" },
12143
- class: Pn(r.extraClasses)
12146
+ class: Bn(r.extraClasses)
12144
12147
  }, kt(r.qty), 11, Cp),
12145
12148
  ke("span", wp, kt(e.$t(r.title)), 1)
12146
12149
  ]))), 128))
@@ -16277,7 +16280,7 @@ function sy(e, t) {
16277
16280
  groupId: u
16278
16281
  }
16279
16282
  }), r((m) => {
16280
- qn = void 0, n.addTimelineEvent({
16283
+ Vn = void 0, n.addTimelineEvent({
16281
16284
  layerId: Zn,
16282
16285
  event: {
16283
16286
  time: o(),
@@ -16293,7 +16296,7 @@ function sy(e, t) {
16293
16296
  }
16294
16297
  });
16295
16298
  }), i((m) => {
16296
- qn = void 0, n.addTimelineEvent({
16299
+ Vn = void 0, n.addTimelineEvent({
16297
16300
  layerId: Zn,
16298
16301
  event: {
16299
16302
  time: o(),
@@ -16322,7 +16325,7 @@ function sy(e, t) {
16322
16325
  newValue: i,
16323
16326
  oldValue: s
16324
16327
  },
16325
- groupId: qn
16328
+ groupId: Vn
16326
16329
  }
16327
16330
  });
16328
16331
  }, { deep: !0 });
@@ -16333,7 +16336,7 @@ function sy(e, t) {
16333
16336
  time: o(),
16334
16337
  title: ly(i),
16335
16338
  data: ry({ store: un(t.$id) }, ay(r)),
16336
- groupId: qn
16339
+ groupId: Vn
16337
16340
  };
16338
16341
  i === ro.patchFunction ? d.subtitle = "⤵️" : i === ro.patchObject ? d.subtitle = "🧩" : r && !Array.isArray(r) && (d.subtitle = r.type), r && (d.data["rawEvent(s)"] = {
16339
16342
  _custom: {
@@ -16368,22 +16371,22 @@ function sy(e, t) {
16368
16371
  }, n.notifyComponentUpdate(), n.sendInspectorTree(Bt), n.sendInspectorState(Bt), n.getSettings().logStoreChanges && Nt(`"${t.$id}" store installed 🆕`);
16369
16372
  });
16370
16373
  }
16371
- let wf = 0, qn;
16374
+ let wf = 0, Vn;
16372
16375
  function wu(e, t, n) {
16373
16376
  const o = t.reduce((a, l) => (a[l] = bn(e)[l], a), {});
16374
16377
  for (const a in o)
16375
16378
  e[a] = function() {
16376
16379
  const l = wf, r = n ? new Proxy(e, {
16377
16380
  get(...s) {
16378
- return qn = l, Reflect.get(...s);
16381
+ return Vn = l, Reflect.get(...s);
16379
16382
  },
16380
16383
  set(...s) {
16381
- return qn = l, Reflect.set(...s);
16384
+ return Vn = l, Reflect.set(...s);
16382
16385
  }
16383
16386
  }) : e;
16384
- qn = l;
16387
+ Vn = l;
16385
16388
  const i = o[a].apply(r, arguments);
16386
- return qn = void 0, i;
16389
+ return Vn = void 0, i;
16387
16390
  };
16388
16391
  }
16389
16392
  function uy({ app: e, store: t, options: n }) {
@@ -16833,7 +16836,7 @@ function Iy(e) {
16833
16836
  skipToPeek: L
16834
16837
  };
16835
16838
  }
16836
- const Rn = void 0, Py = ".", Au = "'", Ly = "tokenizer";
16839
+ const Fn = void 0, Py = ".", Au = "'", Ly = "tokenizer";
16837
16840
  function Ny(e, t = {}) {
16838
16841
  const n = t.location !== !1, o = Iy(e), a = () => o.index(), l = () => Sy(o.line(), o.column(), o.index()), r = l(), i = a(), s = {
16839
16842
  currentType: 13,
@@ -16882,7 +16885,7 @@ function Ny(e, t = {}) {
16882
16885
  return w.skipToPeek(), D;
16883
16886
  }
16884
16887
  function p(w) {
16885
- if (w === Rn)
16888
+ if (w === Fn)
16886
16889
  return !1;
16887
16890
  const D = w.charCodeAt(0);
16888
16891
  return D >= 97 && D <= 122 || // a-z
@@ -16890,7 +16893,7 @@ function Ny(e, t = {}) {
16890
16893
  D === 95;
16891
16894
  }
16892
16895
  function C(w) {
16893
- if (w === Rn)
16896
+ if (w === Fn)
16894
16897
  return !1;
16895
16898
  const D = w.charCodeAt(0);
16896
16899
  return D >= 48 && D <= 57;
@@ -16967,7 +16970,7 @@ function Ny(e, t = {}) {
16967
16970
  }
16968
16971
  function P(w, D) {
16969
16972
  const z = w.currentChar();
16970
- return z === Rn ? Rn : D(z) ? (w.next(), z) : null;
16973
+ return z === Fn ? Fn : D(z) ? (w.next(), z) : null;
16971
16974
  }
16972
16975
  function ne(w) {
16973
16976
  const D = w.charCodeAt(0);
@@ -17038,12 +17041,12 @@ function Ny(e, t = {}) {
17038
17041
  let D = "", z = "";
17039
17042
  for (; D = te(w); )
17040
17043
  z += D;
17041
- return w.currentChar() === Rn && m(De.UNTERMINATED_CLOSING_BRACE, l(), 0), z;
17044
+ return w.currentChar() === Fn && m(De.UNTERMINATED_CLOSING_BRACE, l(), 0), z;
17042
17045
  }
17043
17046
  function pe(w) {
17044
17047
  g(w);
17045
17048
  let D = "";
17046
- return w.currentChar() === "-" ? (w.next(), D += `-${I(w)}`) : D += I(w), w.currentChar() === Rn && m(De.UNTERMINATED_CLOSING_BRACE, l(), 0), D;
17049
+ return w.currentChar() === "-" ? (w.next(), D += `-${I(w)}`) : D += I(w), w.currentChar() === Fn && m(De.UNTERMINATED_CLOSING_BRACE, l(), 0), D;
17047
17050
  }
17048
17051
  function be(w) {
17049
17052
  return w !== Au && w !== zt;
@@ -17054,7 +17057,7 @@ function Ny(e, t = {}) {
17054
17057
  for (; D = P(w, be); )
17055
17058
  D === "\\" ? z += le(w) : z += D;
17056
17059
  const ue = w.currentChar();
17057
- return ue === zt || ue === Rn ? (m(De.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, l(), 0), ue === zt && (w.next(), c(w, "'")), z) : (c(w, "'"), z);
17060
+ return ue === zt || ue === Fn ? (m(De.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, l(), 0), ue === zt && (w.next(), c(w, "'")), z) : (c(w, "'"), z);
17058
17061
  }
17059
17062
  function le(w) {
17060
17063
  const D = w.currentChar();
@@ -17216,7 +17219,7 @@ function Ny(e, t = {}) {
17216
17219
  }
17217
17220
  function lt() {
17218
17221
  const { currentType: w, offset: D, startLoc: z, endLoc: ue } = s;
17219
- return s.lastType = w, s.lastOffset = D, s.lastStartLoc = z, s.lastEndLoc = ue, s.offset = a(), s.startLoc = l(), o.currentChar() === Rn ? f(
17222
+ return s.lastType = w, s.lastOffset = D, s.lastStartLoc = z, s.lastEndLoc = ue, s.offset = a(), s.startLoc = l(), o.currentChar() === Fn ? f(
17220
17223
  s,
17221
17224
  13
17222
17225
  /* TokenTypes.EOF */
@@ -18838,17 +18841,17 @@ const vE = "10.0.5";
18838
18841
  function hE() {
18839
18842
  typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (to().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (to().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (to().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (to().__INTLIFY_PROD_DEVTOOLS__ = !1);
18840
18843
  }
18841
- const Bn = {
18844
+ const qn = {
18842
18845
  FALLBACK_TO_ROOT: M1,
18843
18846
  // 8
18844
18847
  NOT_FOUND_PARENT_SCOPE: 9,
18845
18848
  IGNORE_OBJ_FLATTEN: 10,
18846
18849
  DEPRECATE_TC: 11
18847
18850
  }, gE = {
18848
- [Bn.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
18849
- [Bn.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
18850
- [Bn.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
18851
- [Bn.DEPRECATE_TC]: "'tc' and '$tc' has been deprecated in v10. Use 't' or '$t' instead. 'tc' and '$tc’ are going to remove in v11."
18851
+ [qn.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
18852
+ [qn.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
18853
+ [qn.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
18854
+ [qn.DEPRECATE_TC]: "'tc' and '$tc' has been deprecated in v10. Use 't' or '$t' instead. 'tc' and '$tc’ are going to remove in v11."
18852
18855
  };
18853
18856
  function vl(e, ...t) {
18854
18857
  return cl(gE[e], ...t);
@@ -18903,7 +18906,7 @@ function ra(e) {
18903
18906
  let a = e, l = !1;
18904
18907
  for (let r = 0; r < o; r++) {
18905
18908
  if (n[r] in a || (a[n[r]] = ot()), !He(a[n[r]])) {
18906
- process.env.NODE_ENV !== "production" && Wn(vl(Bn.IGNORE_OBJ_FLATTEN, {
18909
+ process.env.NODE_ENV !== "production" && Wn(vl(qn.IGNORE_OBJ_FLATTEN, {
18907
18910
  key: n[r]
18908
18911
  })), l = !0;
18909
18912
  break;
@@ -19052,7 +19055,7 @@ function Ei(e = {}) {
19052
19055
  if (Te !== "translate exists" && // for not `te` (e.g `t`)
19053
19056
  Ot(V) && V === fl || Te === "translate exists" && !V) {
19054
19057
  const [K, Ee] = X();
19055
- if (process.env.NODE_ENV !== "production" && t && ce(K) && ae(Te, Ee) && (c && (ml(v, K) || Nf(f, K)) && Wn(vl(Bn.FALLBACK_TO_ROOT, {
19058
+ if (process.env.NODE_ENV !== "production" && t && ce(K) && ae(Te, Ee) && (c && (ml(v, K) || Nf(f, K)) && Wn(vl(qn.FALLBACK_TO_ROOT, {
19056
19059
  key: K,
19057
19060
  type: Te
19058
19061
  })), process.env.NODE_ENV !== "production")) {
@@ -19664,7 +19667,7 @@ function pr(e = {}) {
19664
19667
  tc(...a) {
19665
19668
  const [l, r, i] = a, s = { plural: 1 };
19666
19669
  let d = null, u = null;
19667
- if (process.env.NODE_ENV !== "production" && Of(vl(Bn.DEPRECATE_TC)), !ce(l))
19670
+ if (process.env.NODE_ENV !== "production" && Of(vl(qn.DEPRECATE_TC)), !ce(l))
19668
19671
  throw Wt(rt.INVALID_ARGUMENT);
19669
19672
  const m = l;
19670
19673
  return ce(r) ? s.locale = r : Ot(r) ? s.plural = r : bt(r) ? d = r : Ve(r) && (u = r), ce(i) ? s.locale = i : bt(i) ? d = i : Ve(i) && (u = i), Reflect.apply(t.t, t, [
@@ -20052,7 +20055,7 @@ function wi(e = {}) {
20052
20055
  return jf(o, e, a), o;
20053
20056
  if (l === "parent") {
20054
20057
  let s = GE(n, t, e.__useComponent);
20055
- return s == null && (process.env.NODE_ENV !== "production" && Wn(vl(Bn.NOT_FOUND_PARENT_SCOPE)), s = o), s;
20058
+ return s == null && (process.env.NODE_ENV !== "production" && Wn(vl(qn.NOT_FOUND_PARENT_SCOPE)), s = o), s;
20056
20059
  }
20057
20060
  const r = n;
20058
20061
  let i = r.__getInstance(t);
@@ -20103,7 +20106,7 @@ function QE(e, t = !1) {
20103
20106
  }
20104
20107
  function XE(e, t, n) {
20105
20108
  let o = null;
20106
- Nn(() => {
20109
+ Ln(() => {
20107
20110
  if (process.env.NODE_ENV !== "production" && t.vnode.el) {
20108
20111
  t.vnode.el.__VUE_I18N__ = n, o = hi();
20109
20112
  const a = n;
@@ -20168,7 +20171,7 @@ const br = zE({
20168
20171
  messages: fy
20169
20172
  }), eS = kf(), lS = {
20170
20173
  install(e) {
20171
- console.log("[Quasar Components] Installing..."), Fn(e, B_), Fn(e, Y_), Fn(e, X_), Fn(e, sp), Fn(e, Ep), Fn(e, Op), Fn(e, Ip), Fn(e, $p), e.use(br), e.use(eS), br.global.locale = "en", e.use(Tm, {
20174
+ console.log("[Quasar Components] Installing..."), Mn(e, B_), Mn(e, Y_), Mn(e, X_), Mn(e, sp), Mn(e, Ep), Mn(e, Op), Mn(e, Ip), Mn(e, $p), e.use(br), e.use(eS), br.global.locale = "en", e.use(Tm, {
20172
20175
  plugins: {}
20173
20176
  // import Quasar plugins and add here
20174
20177
  }), console.log("[Quasar components] Installed");