shared-ritm 1.3.130 → 1.3.132

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.
Files changed (83) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/shared-ritm.es.js +18 -15
  3. package/dist/shared-ritm.umd.js +3 -3
  4. package/dist/types/api/services/MetricsService.d.ts +1 -0
  5. package/package.json +70 -70
  6. package/src/App.vue +2461 -2461
  7. package/src/api/services/AuthService.ts +67 -67
  8. package/src/api/services/ControlsService.ts +100 -100
  9. package/src/api/services/EquipmentService.ts +68 -68
  10. package/src/api/services/GanttService.ts +58 -58
  11. package/src/api/services/InstrumentsService.ts +76 -76
  12. package/src/api/services/MetricsService.ts +3 -0
  13. package/src/api/services/RepairsService.ts +111 -111
  14. package/src/api/services/TasksService.ts +165 -165
  15. package/src/api/services/UserIssueService.ts +32 -32
  16. package/src/api/services/UserService.ts +129 -129
  17. package/src/api/services/VideoService.ts +118 -118
  18. package/src/api/settings/ApiService.ts +185 -185
  19. package/src/api/types/Api_Auth.ts +121 -121
  20. package/src/api/types/Api_Controls.ts +112 -112
  21. package/src/api/types/Api_Equipment.ts +54 -54
  22. package/src/api/types/Api_Instruments.ts +182 -182
  23. package/src/api/types/Api_Metrics.ts +112 -112
  24. package/src/api/types/Api_Repairs.ts +200 -200
  25. package/src/api/types/Api_Search.ts +81 -81
  26. package/src/api/types/Api_Tasks.ts +385 -385
  27. package/src/api/types/Api_User.ts +161 -161
  28. package/src/api/types/Api_User_Issue.ts +36 -36
  29. package/src/api/types/Api_Video.ts +244 -244
  30. package/src/common/app-button/Button.stories.ts +369 -369
  31. package/src/common/app-checkbox/AppCheckbox.vue +33 -33
  32. package/src/common/app-checkbox/Checkbox.stories.ts +252 -252
  33. package/src/common/app-date-picker/DatePicker.stories.ts +66 -66
  34. package/src/common/app-datepicker/AppDatepicker.vue +221 -221
  35. package/src/common/app-datepicker/Datepicker.stories.ts +145 -145
  36. package/src/common/app-dialogs/AppConfirmDialog.vue +109 -109
  37. package/src/common/app-dialogs/Confirm.stories.ts +93 -93
  38. package/src/common/app-dropdown/Dropdown.stories.ts +94 -94
  39. package/src/common/app-file/File.stories.ts +104 -104
  40. package/src/common/app-icon/AppIcon.vue +110 -110
  41. package/src/common/app-icon/Icon.stories.ts +91 -91
  42. package/src/common/app-input/AppInput.vue +150 -150
  43. package/src/common/app-input/Input.stories.ts +160 -160
  44. package/src/common/app-input-new/AppInputNew.vue +186 -186
  45. package/src/common/app-input-new/InputNew.stories.ts +240 -240
  46. package/src/common/app-input-search/InputSearch.stories.ts +149 -149
  47. package/src/common/app-layout/components/AppLayoutHeader.vue +289 -289
  48. package/src/common/app-loader/Loader.stories.ts +114 -114
  49. package/src/common/app-modal/index.vue +101 -101
  50. package/src/common/app-select/AppSelect.vue +167 -167
  51. package/src/common/app-select/Select.stories.ts +155 -155
  52. package/src/common/app-sheet-new/AppSheetNew.vue +254 -254
  53. package/src/common/app-sidebar/AppSidebar.vue +177 -177
  54. package/src/common/app-table/AppTable.vue +313 -313
  55. package/src/common/app-table/components/ModalSelect.stories.ts +323 -323
  56. package/src/common/app-table/components/ModalSelect.vue +311 -311
  57. package/src/common/app-table/components/TableModal.vue +369 -369
  58. package/src/common/app-table/controllers/useColumnSelector.ts +45 -45
  59. package/src/common/app-table/controllers/useTableModel.ts +98 -98
  60. package/src/common/app-toggle/AppToggle.vue +12 -12
  61. package/src/common/app-toggle/Toggle.stories.ts +245 -245
  62. package/src/common/app-wrapper/AppWrapper.vue +31 -31
  63. package/src/configs/storybook.ts +14 -14
  64. package/src/icons/sidebar/user-requests-icon.vue +23 -23
  65. package/src/index.ts +134 -134
  66. package/src/shared/styles/general.css +140 -140
  67. package/src/styles/variables.sass +12 -12
  68. package/src/utils/files.ts +38 -38
  69. package/src/utils/helpers.ts +59 -59
  70. package/dist/types/api/services/PhotoService.d.ts +0 -40
  71. package/dist/types/stories/Button.stories.d.ts +0 -13
  72. package/dist/types/stories/Checkbox.stories.d.ts +0 -7
  73. package/dist/types/stories/Confirm.stories.d.ts +0 -8
  74. package/dist/types/stories/DatePicker.stories.d.ts +0 -8
  75. package/dist/types/stories/Dropdown.stories.d.ts +0 -8
  76. package/dist/types/stories/File.stories.d.ts +0 -8
  77. package/dist/types/stories/Icon.stories.d.ts +0 -7
  78. package/dist/types/stories/Input.stories.d.ts +0 -11
  79. package/dist/types/stories/InputNew.stories.d.ts +0 -12
  80. package/dist/types/stories/InputSearch.stories.d.ts +0 -10
  81. package/dist/types/stories/Loader.stories.d.ts +0 -8
  82. package/dist/types/stories/Select.stories.d.ts +0 -7
  83. package/dist/types/stories/Toggle.stories.d.ts +0 -8
@@ -2323,9 +2323,9 @@ const Ry = {
2323
2323
  },
2324
2324
  setup(e) {
2325
2325
  Wo((r) => ({
2326
- f2d2d0b8: r.borderRadius,
2327
- v2a14c92c: n.value,
2328
- v28494f18: r.borderWidth
2326
+ v2b86ce00: r.borderRadius,
2327
+ v61f600f0: n.value,
2328
+ a1c632d0: r.borderWidth
2329
2329
  }));
2330
2330
  const t = e, n = _(
2331
2331
  () => {
@@ -6607,7 +6607,7 @@ const zb = {
6607
6607
  }, 8, ["modelValue", "type", "rules", "placeholder", "disable", "readonly", "class", "error", "autocomplete", "debounce", "loading", "maxlength", "counter", "hide-bottom-space"])
6608
6608
  ], 2));
6609
6609
  }
6610
- }), Hb = /* @__PURE__ */ De(Wb, [["__scopeId", "data-v-3e855a53"]]), Ub = { class: "datepicker" }, jb = /* @__PURE__ */ Dt({
6610
+ }), Hb = /* @__PURE__ */ De(Wb, [["__scopeId", "data-v-ccb0cf04"]]), Ub = { class: "datepicker" }, jb = /* @__PURE__ */ Dt({
6611
6611
  __name: "AppDatepicker",
6612
6612
  props: /* @__PURE__ */ li({
6613
6613
  label: { default: "" },
@@ -6737,7 +6737,7 @@ const zb = {
6737
6737
  }, 8, ["modelValue", "label", "required", "rules", "error", "disable", "hide-bottom-space"])
6738
6738
  ]));
6739
6739
  }
6740
- }), VD = /* @__PURE__ */ De(jb, [["__scopeId", "data-v-3f1d1d18"]]), Gb = /* @__PURE__ */ Dt({
6740
+ }), VD = /* @__PURE__ */ De(jb, [["__scopeId", "data-v-ec0a413e"]]), Gb = /* @__PURE__ */ Dt({
6741
6741
  __name: "AppInput",
6742
6742
  props: {
6743
6743
  field: { type: Boolean },
@@ -6811,7 +6811,7 @@ const zb = {
6811
6811
  emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
6812
6812
  setup(e, { emit: t }) {
6813
6813
  Wo((u) => ({
6814
- e99037c4: u.height
6814
+ a452a446: u.height
6815
6815
  }));
6816
6816
  const n = e, r = t, o = X(!1), a = _(() => n.type === "password" ? o.value ? "text" : "password" : n.type || "text"), i = _({
6817
6817
  get: () => n.modelValue !== null && n.modelValue !== void 0 && n.type === "number" ? +n.modelValue : n.modelValue,
@@ -8508,8 +8508,8 @@ const Ux = /* @__PURE__ */ De($x, [["render", Hx]]), jx = /* @__PURE__ */ Dt({
8508
8508
  },
8509
8509
  setup(e) {
8510
8510
  Wo((o) => ({
8511
- dec784be: o.color,
8512
- v4931dbfa: o.size
8511
+ v65dd3b2f: o.color,
8512
+ v66692ab5: o.size
8513
8513
  }));
8514
8514
  const t = e;
8515
8515
  function n(o) {
@@ -10050,7 +10050,7 @@ const Rd = je({
10050
10050
  emits: ["update:modelValue"],
10051
10051
  setup(e, { emit: t }) {
10052
10052
  Wo((c) => ({
10053
- b8a61460: c.borderColor
10053
+ v2edaba86: c.borderColor
10054
10054
  }));
10055
10055
  const n = e, r = X({}), o = t, a = _({
10056
10056
  get() {
@@ -10819,7 +10819,7 @@ const VC = ["left", "center", "right", "justify"], zC = je({
10819
10819
  tab: YC
10820
10820
  }, QC = {
10821
10821
  $style: XC
10822
- }, KD = /* @__PURE__ */ De(KC, [["__cssModules", QC], ["__scopeId", "data-v-319be864"]]), Dh = 150, ZC = je({
10822
+ }, KD = /* @__PURE__ */ De(KC, [["__cssModules", QC], ["__scopeId", "data-v-94e1b81b"]]), Dh = 150, ZC = je({
10823
10823
  name: "QDrawer",
10824
10824
  inheritAttrs: !1,
10825
10825
  props: {
@@ -11755,7 +11755,7 @@ function bk(e, t) {
11755
11755
  Bt(e.$slots, "default", {}, void 0, !0)
11756
11756
  ]);
11757
11757
  }
11758
- const QD = /* @__PURE__ */ De(gk, [["render", bk], ["__scopeId", "data-v-88d7f3f9"]]), hi = je({
11758
+ const QD = /* @__PURE__ */ De(gk, [["render", bk], ["__scopeId", "data-v-aef16077"]]), hi = je({
11759
11759
  name: "QCardSection",
11760
11760
  props: {
11761
11761
  tag: {
@@ -12602,7 +12602,7 @@ const Vk = je({
12602
12602
  ], 64);
12603
12603
  };
12604
12604
  }
12605
- }), o_ = /* @__PURE__ */ De(r_, [["__scopeId", "data-v-4bc34d56"]]), a_ = { class: "modal-title" }, i_ = ["data-test"], s_ = {
12605
+ }), o_ = /* @__PURE__ */ De(r_, [["__scopeId", "data-v-5d0511e1"]]), a_ = { class: "modal-title" }, i_ = ["data-test"], s_ = {
12606
12606
  key: 0,
12607
12607
  class: "required"
12608
12608
  }, u_ = /* @__PURE__ */ Dt({
@@ -12835,7 +12835,7 @@ const Vk = je({
12835
12835
  _: 1
12836
12836
  }, 8, ["model-value"]));
12837
12837
  }
12838
- }), eM = /* @__PURE__ */ De(u_, [["__scopeId", "data-v-69280eb3"]]), Mh = je({
12838
+ }), eM = /* @__PURE__ */ De(u_, [["__scopeId", "data-v-ed06c39a"]]), Mh = je({
12839
12839
  name: "QTd",
12840
12840
  props: {
12841
12841
  props: Object,
@@ -14772,7 +14772,7 @@ const H_ = /* @__PURE__ */ De(z_, [["render", W_]]), U_ = {
14772
14772
  ]), 1032, ["selected", "rows", "columns", "selection", "table-row-style-fn"])
14773
14773
  ]));
14774
14774
  }
14775
- }), t3 = /* @__PURE__ */ De(e3, [["__scopeId", "data-v-9642bdfb"]]), n3 = {
14775
+ }), t3 = /* @__PURE__ */ De(e3, [["__scopeId", "data-v-e633b819"]]), n3 = {
14776
14776
  key: 0,
14777
14777
  class: "table-controls"
14778
14778
  }, r3 = { class: "table-wrapper" }, o3 = {
@@ -14912,7 +14912,7 @@ const H_ = /* @__PURE__ */ De(z_, [["render", W_]]), U_ = {
14912
14912
  _: 3
14913
14913
  }, 8, ["modelValue"]));
14914
14914
  }
14915
- }), nM = /* @__PURE__ */ De(u3, [["__scopeId", "data-v-382ed34c"]]);
14915
+ }), nM = /* @__PURE__ */ De(u3, [["__scopeId", "data-v-f69f612b"]]);
14916
14916
  function oa(e, t, n, r) {
14917
14917
  const o = [];
14918
14918
  return e.forEach((a) => {
@@ -17259,6 +17259,9 @@ class HS extends yn {
17259
17259
  async fetchWarehouseByCompliance(t) {
17260
17260
  return await this.get(`repairs/metrics/get_warehouse_by_compliance?${t}`);
17261
17261
  }
17262
+ async fetchWarehouseByComplianceDetails(t) {
17263
+ return await this.get(`repairs/metrics/get_warehouse_by_compliance/details?${t}`);
17264
+ }
17262
17265
  async fetchEquipmentTree(t) {
17263
17266
  return await this.get(`repairs/equipments/get_equipment_tree_repaired_not_repaired?${t}`);
17264
17267
  }