shared-ritm 1.2.111 → 1.2.113

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 (34) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/shared-ritm.es.js +13 -11
  3. package/dist/shared-ritm.umd.js +6 -6
  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/VideoService.d.ts +1 -0
  7. package/dist/types/api/types/Api_Users.d.ts +43 -0
  8. package/package.json +64 -64
  9. package/src/api/services/BrigadesService.ts +32 -32
  10. package/src/api/services/EquipmentService.ts +29 -29
  11. package/src/api/services/InstrumentsService.ts +63 -63
  12. package/src/api/services/ModulesService.ts +27 -27
  13. package/src/api/services/ProjectsService.ts +72 -72
  14. package/src/api/services/SearchService.ts +22 -22
  15. package/src/api/services/UserService.ts +101 -101
  16. package/src/api/services/VideoService.ts +66 -62
  17. package/src/api/settings/ApiService.ts +124 -124
  18. package/src/api/types/Api_Brigades.ts +36 -36
  19. package/src/api/types/Api_Equipment.ts +3 -3
  20. package/src/api/types/Api_Instruments.ts +136 -136
  21. package/src/api/types/Api_Modules.ts +21 -21
  22. package/src/api/types/Api_Search.ts +77 -77
  23. package/src/api/types/Api_User.ts +117 -117
  24. package/src/api/types/Api_Video.ts +123 -123
  25. package/src/common/app-input-new/AppInputNew.vue +175 -175
  26. package/src/common/app-layout/components/AppLayoutHeader.vue +3 -2
  27. package/src/common/app-sheet-new/AppSheetNew.vue +246 -246
  28. package/src/common/app-table/AppTable.vue +314 -314
  29. package/src/common/app-table/AppTableLayout.vue +137 -137
  30. package/src/common/app-table/components/ModalSelect.vue +270 -270
  31. package/src/common/app-table/components/TableModal.vue +356 -356
  32. package/src/common/app-table/controllers/useBaseTable.ts +45 -45
  33. package/src/index.ts +122 -122
  34. package/src/styles/variables.sass +12 -12
@@ -6205,7 +6205,7 @@ const Ky = { class: "app-input-new" }, Xy = {
6205
6205
  }, 8, ["modelValue", "type", "rules", "placeholder", "disable", "readonly", "class", "error", "autocomplete"])
6206
6206
  ]));
6207
6207
  }
6208
- }), Zy = /* @__PURE__ */ Fe(Qy, [["__scopeId", "data-v-c24941bd"]]), Jy = { class: "datepicker" }, eb = /* @__PURE__ */ Ft({
6208
+ }), Zy = /* @__PURE__ */ Fe(Qy, [["__scopeId", "data-v-123be192"]]), Jy = { class: "datepicker" }, eb = /* @__PURE__ */ Ft({
6209
6209
  __name: "AppDatepicker",
6210
6210
  props: /* @__PURE__ */ Sf({
6211
6211
  label: {},
@@ -8155,6 +8155,7 @@ const Xw = /* @__PURE__ */ Fe(jw, [["render", Kw]]), Yw = /* @__PURE__ */ Ft({
8155
8155
  fe("div", {
8156
8156
  class: Ke(d.$style["action-buttons"])
8157
8157
  }, [
8158
+ $t(mt(d.settingsMenuItems.find((h) => h.name === "root" && h.isShow())) + " ", 1),
8158
8159
  fe("div", {
8159
8160
  class: Ke(d.$style.person),
8160
8161
  onClick: l
@@ -8210,7 +8211,7 @@ const Xw = /* @__PURE__ */ Fe(jw, [["render", Kw]]), Yw = /* @__PURE__ */ Ft({
8210
8211
  ]),
8211
8212
  _: 2
8212
8213
  }, 1032, ["class", "onClick"])), [
8213
- [Vp, h.isShow],
8214
+ [Vp, h.isShow()],
8214
8215
  [ud]
8215
8216
  ])
8216
8217
  ]),
@@ -10344,7 +10345,7 @@ const $x = ["left", "center", "right", "justify"], Wx = Ge({
10344
10345
  tab: Qx
10345
10346
  }, Jx = {
10346
10347
  $style: Zx
10347
- }, VA = /* @__PURE__ */ Fe(Yx, [["__cssModules", Jx], ["__scopeId", "data-v-63306fe5"]]), mh = 150, eC = Ge({
10348
+ }, VA = /* @__PURE__ */ Fe(Yx, [["__cssModules", Jx], ["__scopeId", "data-v-14857b70"]]), mh = 150, eC = Ge({
10348
10349
  name: "QDrawer",
10349
10350
  inheritAttrs: !1,
10350
10351
  props: {
@@ -12061,7 +12062,7 @@ const $C = Ge({
12061
12062
  ], 64);
12062
12063
  };
12063
12064
  }
12064
- }), s_ = /* @__PURE__ */ Fe(i_, [["__scopeId", "data-v-d70e00a1"]]), u_ = { class: "modal-title" }, l_ = {
12065
+ }), s_ = /* @__PURE__ */ Fe(i_, [["__scopeId", "data-v-2e33c030"]]), u_ = { class: "modal-title" }, l_ = {
12065
12066
  key: 0,
12066
12067
  class: "field-label"
12067
12068
  }, c_ = {
@@ -12287,7 +12288,7 @@ const $C = Ge({
12287
12288
  _: 1
12288
12289
  }, 8, ["model-value"]));
12289
12290
  }
12290
- }), jA = /* @__PURE__ */ Fe(d_, [["__scopeId", "data-v-b137510f"]]), gh = Ge({
12291
+ }), jA = /* @__PURE__ */ Fe(d_, [["__scopeId", "data-v-20ca776a"]]), gh = Ge({
12291
12292
  name: "QTd",
12292
12293
  props: {
12293
12294
  props: Object,
@@ -14232,7 +14233,7 @@ const G_ = /* @__PURE__ */ Fe(H_, [["render", j_]]), K_ = {
14232
14233
  ]), 1032, ["selected", "rows", "columns", "selection", "table-row-style-fn"])
14233
14234
  ]));
14234
14235
  }
14235
- }), ok = /* @__PURE__ */ Fe(rk, [["__scopeId", "data-v-3e02d553"]]), ak = {
14236
+ }), ok = /* @__PURE__ */ Fe(rk, [["__scopeId", "data-v-2d5bb0a7"]]), ak = {
14236
14237
  key: 0,
14237
14238
  class: "table-controls"
14238
14239
  }, ik = { class: "table-wrapper" }, sk = {
@@ -14306,7 +14307,7 @@ const G_ = /* @__PURE__ */ Fe(H_, [["render", j_]]), K_ = {
14306
14307
  "modal" in Er(o) ? nn(u.$slots, "modal", { key: 2 }, void 0, !0) : Je("", !0)
14307
14308
  ], 2));
14308
14309
  }
14309
- }), GA = /* @__PURE__ */ Fe(uk, [["__scopeId", "data-v-1b7ee59f"]]);
14310
+ }), GA = /* @__PURE__ */ Fe(uk, [["__scopeId", "data-v-75397446"]]);
14310
14311
  function em(e, n) {
14311
14312
  return function() {
14312
14313
  return e.apply(n, arguments);
@@ -14615,8 +14616,6 @@ function lu(e, n, t) {
14615
14616
  if (p === null) return "";
14616
14617
  if (te.isDate(p))
14617
14618
  return p.toISOString();
14618
- if (te.isBoolean(p))
14619
- return p.toString();
14620
14619
  if (!u && te.isBlob(p))
14621
14620
  throw new ut("Blob is not supported. Use a Buffer instead.");
14622
14621
  return te.isArrayBuffer(p) || te.isTypedArray(p) ? u && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
@@ -15537,7 +15536,7 @@ const D3 = async (e) => {
15537
15536
  duplex: "half",
15538
15537
  credentials: y ? d : void 0
15539
15538
  });
15540
- let b = await fetch(p, f);
15539
+ let b = await fetch(p);
15541
15540
  const w = dc && (l === "stream" || l === "response");
15542
15541
  if (dc && (s || w && m)) {
15543
15542
  const x = {};
@@ -15642,7 +15641,7 @@ function Bh(e) {
15642
15641
  ), r.response.headers = Ln.from(r.response.headers))), Promise.reject(r);
15643
15642
  });
15644
15643
  }
15645
- const Cm = "1.10.0", du = {};
15644
+ const Cm = "1.9.0", du = {};
15646
15645
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, n) => {
15647
15646
  du[e] = function(r) {
15648
15647
  return typeof r === e || "a" + (n < 1 ? "n " : " ") + e;
@@ -16447,6 +16446,9 @@ class j3 extends Dn {
16447
16446
  reloadVideoAnalytics(n) {
16448
16447
  return this.post("/horizon/video-source/reload", { video_source_ids: n });
16449
16448
  }
16449
+ hardReloadStream() {
16450
+ return this.post("horizon/video-source/streams/add", null);
16451
+ }
16450
16452
  async fetchWorkZones(n) {
16451
16453
  return await this.get("/search/work_zones", { params: n });
16452
16454
  }