shared-ritm 1.2.144 → 1.2.146

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 (51) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/shared-ritm.es.js +14 -13
  3. package/dist/shared-ritm.umd.js +8 -8
  4. package/dist/types/api/services/ComentsServise.d.ts +10 -0
  5. package/dist/types/api/services/PhotoService.d.ts +51 -38
  6. package/dist/types/api/services/TasksService.d.ts +1 -0
  7. package/dist/types/api/types/Api_Tasks.d.ts +32 -0
  8. package/dist/types/api/types/Api_Users.d.ts +43 -0
  9. package/package.json +64 -64
  10. package/src/api/services/BrigadesService.ts +32 -32
  11. package/src/api/services/ControlsService.ts +92 -92
  12. package/src/api/services/EquipmentService.ts +29 -29
  13. package/src/api/services/InstrumentsService.ts +63 -63
  14. package/src/api/services/MetricsService.ts +110 -110
  15. package/src/api/services/ModulesService.ts +27 -27
  16. package/src/api/services/ProjectsService.ts +83 -83
  17. package/src/api/services/RepairsService.ts +124 -124
  18. package/src/api/services/ScheduleService.ts +69 -69
  19. package/src/api/services/SearchService.ts +22 -22
  20. package/src/api/services/TasksService.ts +4 -0
  21. package/src/api/services/UserService.ts +113 -113
  22. package/src/api/services/VideoService.ts +103 -103
  23. package/src/api/settings/ApiService.ts +124 -124
  24. package/src/api/types/Api_Auth.ts +105 -105
  25. package/src/api/types/Api_Brigades.ts +36 -36
  26. package/src/api/types/Api_Controls.ts +111 -111
  27. package/src/api/types/Api_Equipment.ts +3 -3
  28. package/src/api/types/Api_Instruments.ts +136 -136
  29. package/src/api/types/Api_Modules.ts +21 -21
  30. package/src/api/types/Api_Projects.ts +62 -62
  31. package/src/api/types/Api_Repairs.ts +140 -140
  32. package/src/api/types/Api_Schedule.ts +64 -64
  33. package/src/api/types/Api_Search.ts +80 -80
  34. package/src/api/types/Api_Tasks.ts +34 -0
  35. package/src/api/types/Api_User.ts +145 -145
  36. package/src/api/types/Api_Video.ts +145 -145
  37. package/src/common/app-datepicker/AppDatepicker.vue +176 -176
  38. package/src/common/app-dropdown/AppDropdown.vue +37 -37
  39. package/src/common/app-input-new/AppInputNew.vue +175 -175
  40. package/src/common/app-layout/AppLayout.vue +84 -84
  41. package/src/common/app-sheet-new/AppSheetNew.vue +244 -244
  42. package/src/common/app-sidebar/AppSidebar.vue +168 -168
  43. package/src/common/app-sidebar/components/SidebarMenuItem.vue +149 -149
  44. package/src/common/app-table/AppTable.vue +308 -308
  45. package/src/common/app-table/AppTableLayout.vue +137 -137
  46. package/src/common/app-table/components/ModalSelect.vue +285 -285
  47. package/src/common/app-table/components/TableModal.vue +356 -356
  48. package/src/common/app-table/controllers/useBaseTable.ts +45 -45
  49. package/src/common/app-table/controllers/useTableModel.ts +102 -102
  50. package/src/index.ts +126 -126
  51. package/src/styles/variables.sass +12 -12
@@ -6205,7 +6205,7 @@ const jy = { class: "app-input-new" }, Gy = {
6205
6205
  }, 8, ["modelValue", "type", "rules", "placeholder", "disable", "readonly", "class", "error", "autocomplete"])
6206
6206
  ]));
6207
6207
  }
6208
- }), Yy = /* @__PURE__ */ Be(Xy, [["__scopeId", "data-v-c24941bd"]]), Qy = { class: "datepicker" }, Zy = /* @__PURE__ */ Bt({
6208
+ }), Yy = /* @__PURE__ */ Be(Xy, [["__scopeId", "data-v-123be192"]]), Qy = { class: "datepicker" }, Zy = /* @__PURE__ */ Bt({
6209
6209
  __name: "AppDatepicker",
6210
6210
  props: /* @__PURE__ */ Kl({
6211
6211
  label: { default: "" },
@@ -6318,7 +6318,7 @@ const jy = { class: "app-input-new" }, Gy = {
6318
6318
  }, 8, ["modelValue", "label", "required", "rules", "error", "disable"])
6319
6319
  ]));
6320
6320
  }
6321
- }), MA = /* @__PURE__ */ Be(Zy, [["__scopeId", "data-v-1f613b58"]]), Jy = /* @__PURE__ */ Bt({
6321
+ }), MA = /* @__PURE__ */ Be(Zy, [["__scopeId", "data-v-483e70c5"]]), Jy = /* @__PURE__ */ Bt({
6322
6322
  __name: "AppInput",
6323
6323
  props: {
6324
6324
  field: { type: Boolean },
@@ -10360,7 +10360,7 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
10360
10360
  tab: Xx
10361
10361
  }, Qx = {
10362
10362
  $style: Yx
10363
- }, VA = /* @__PURE__ */ Be(Kx, [["__cssModules", Qx], ["__scopeId", "data-v-2ee4bdf1"]]), gh = 150, Zx = Ke({
10363
+ }, VA = /* @__PURE__ */ Be(Kx, [["__cssModules", Qx], ["__scopeId", "data-v-5c7701a9"]]), gh = 150, Zx = Ke({
10364
10364
  name: "QDrawer",
10365
10365
  inheritAttrs: !1,
10366
10366
  props: {
@@ -11039,7 +11039,7 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
11039
11039
  "menu-item__label": "_menu-item__label_fkijr_18"
11040
11040
  }, o_ = {
11041
11041
  $style: r_
11042
- }, a_ = /* @__PURE__ */ Be(n_, [["__cssModules", o_], ["__scopeId", "data-v-83676a78"]]), i_ = /* @__PURE__ */ Bt({
11042
+ }, a_ = /* @__PURE__ */ Be(n_, [["__cssModules", o_], ["__scopeId", "data-v-81962f47"]]), i_ = /* @__PURE__ */ Bt({
11043
11043
  __name: "SidebarMenu",
11044
11044
  props: {
11045
11045
  menuItems: {},
@@ -11653,7 +11653,7 @@ const V_ = Ke({
11653
11653
  _: 3
11654
11654
  }, 8, ["modelValue", "color", "content-style"]));
11655
11655
  }
11656
- }), UA = /* @__PURE__ */ Be(z_, [["__scopeId", "data-v-85d0f555"]]), $_ = { class: "table-pagination" }, W_ = ["disabled"], H_ = { class: "pages" }, U_ = ["disabled", "onClick"], j_ = ["disabled"], G_ = /* @__PURE__ */ Bt({
11656
+ }), UA = /* @__PURE__ */ Be(z_, [["__scopeId", "data-v-e6179b93"]]), $_ = { class: "table-pagination" }, W_ = ["disabled"], H_ = { class: "pages" }, U_ = ["disabled", "onClick"], j_ = ["disabled"], G_ = /* @__PURE__ */ Bt({
11657
11657
  __name: "TablePagination",
11658
11658
  props: {
11659
11659
  modelValue: {},
@@ -12098,7 +12098,7 @@ const V_ = Ke({
12098
12098
  ], 64);
12099
12099
  };
12100
12100
  }
12101
- }), aC = /* @__PURE__ */ Be(oC, [["__scopeId", "data-v-de1e6d9d"]]), iC = { class: "modal-title" }, sC = {
12101
+ }), aC = /* @__PURE__ */ Be(oC, [["__scopeId", "data-v-d82d789e"]]), iC = { class: "modal-title" }, sC = {
12102
12102
  key: 0,
12103
12103
  class: "field-label"
12104
12104
  }, uC = {
@@ -12324,7 +12324,7 @@ const V_ = Ke({
12324
12324
  _: 1
12325
12325
  }, 8, ["model-value"]));
12326
12326
  }
12327
- }), jA = /* @__PURE__ */ Be(lC, [["__scopeId", "data-v-b137510f"]]), yh = Ke({
12327
+ }), jA = /* @__PURE__ */ Be(lC, [["__scopeId", "data-v-20ca776a"]]), yh = Ke({
12328
12328
  name: "QTd",
12329
12329
  props: {
12330
12330
  props: Object,
@@ -14254,7 +14254,7 @@ const UC = /* @__PURE__ */ Be($C, [["render", HC]]), jC = {
14254
14254
  ]), 1032, ["selected", "rows", "columns", "selection", "table-row-style-fn"])
14255
14255
  ]));
14256
14256
  }
14257
- }), tk = /* @__PURE__ */ Be(ek, [["__scopeId", "data-v-e47dea52"]]), nk = {
14257
+ }), tk = /* @__PURE__ */ Be(ek, [["__scopeId", "data-v-14d2a299"]]), nk = {
14258
14258
  key: 0,
14259
14259
  class: "table-controls"
14260
14260
  }, rk = { class: "table-wrapper" }, ok = {
@@ -14328,7 +14328,7 @@ const UC = /* @__PURE__ */ Be($C, [["render", HC]]), jC = {
14328
14328
  "modal" in Yn(o) ? Qt(u.$slots, "modal", { key: 2 }, void 0, !0) : Xe("", !0)
14329
14329
  ], 2));
14330
14330
  }
14331
- }), GA = /* @__PURE__ */ Be(ak, [["__scopeId", "data-v-1b7ee59f"]]);
14331
+ }), GA = /* @__PURE__ */ Be(ak, [["__scopeId", "data-v-75397446"]]);
14332
14332
  function tm(e, n) {
14333
14333
  return function() {
14334
14334
  return e.apply(n, arguments);
@@ -14637,8 +14637,6 @@ function cu(e, n, t) {
14637
14637
  if (p === null) return "";
14638
14638
  if (te.isDate(p))
14639
14639
  return p.toISOString();
14640
- if (te.isBoolean(p))
14641
- return p.toString();
14642
14640
  if (!u && te.isBlob(p))
14643
14641
  throw new ut("Blob is not supported. Use a Buffer instead.");
14644
14642
  return te.isArrayBuffer(p) || te.isTypedArray(p) ? u && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
@@ -15559,7 +15557,7 @@ const I3 = async (e) => {
15559
15557
  duplex: "half",
15560
15558
  credentials: y ? d : void 0
15561
15559
  });
15562
- let b = await fetch(p, f);
15560
+ let b = await fetch(p);
15563
15561
  const w = pc && (l === "stream" || l === "response");
15564
15562
  if (pc && (s || w && m)) {
15565
15563
  const x = {};
@@ -15664,7 +15662,7 @@ function Oh(e) {
15664
15662
  ), r.response.headers = qn.from(r.response.headers))), Promise.reject(r);
15665
15663
  });
15666
15664
  }
15667
- const Cm = "1.10.0", fu = {};
15665
+ const Cm = "1.9.0", fu = {};
15668
15666
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, n) => {
15669
15667
  fu[e] = function(r) {
15670
15668
  return typeof r === e || "a" + (n < 1 ? "n " : " ") + e;
@@ -16351,6 +16349,9 @@ class V3 extends Cn {
16351
16349
  fetchSubtasksList(n) {
16352
16350
  return this.get(`/task/${n}/subtasks/list`);
16353
16351
  }
16352
+ fetchIntersectionsList(n) {
16353
+ return this.get(`/task/${n}/intersections`);
16354
+ }
16354
16355
  fetchTaskBranch(n) {
16355
16356
  return this.get(`/get_list_task_branch?task_id=${n}`);
16356
16357
  }