shared-ritm 1.2.117 → 1.2.118
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.
- package/dist/index.css +1 -1
- package/dist/shared-ritm.es.js +13 -8
- package/dist/shared-ritm.umd.js +6 -6
- package/dist/types/api/services/PhotoService.d.ts +38 -51
- package/dist/types/api/services/VideoService.d.ts +2 -1
- package/dist/types/api/types/Api_Repairs.d.ts +12 -11
- package/dist/types/api/types/Api_Video.d.ts +16 -1
- package/package.json +64 -64
- package/src/api/services/BrigadesService.ts +32 -32
- package/src/api/services/EquipmentService.ts +29 -29
- package/src/api/services/InstrumentsService.ts +63 -63
- package/src/api/services/ModulesService.ts +27 -27
- package/src/api/services/ProjectsService.ts +72 -72
- package/src/api/services/SearchService.ts +22 -22
- package/src/api/services/UserService.ts +101 -101
- package/src/api/services/VideoService.ts +71 -66
- package/src/api/settings/ApiService.ts +124 -124
- package/src/api/types/Api_Brigades.ts +36 -36
- package/src/api/types/Api_Equipment.ts +3 -3
- package/src/api/types/Api_Instruments.ts +136 -136
- package/src/api/types/Api_Modules.ts +21 -21
- package/src/api/types/Api_Repairs.ts +8 -6
- package/src/api/types/Api_Search.ts +77 -77
- package/src/api/types/Api_User.ts +117 -117
- package/src/api/types/Api_Video.ts +140 -123
- package/src/common/app-input-new/AppInputNew.vue +175 -175
- package/src/common/app-sheet-new/AppSheetNew.vue +246 -246
- package/src/common/app-table/AppTable.vue +314 -314
- package/src/common/app-table/AppTableLayout.vue +137 -137
- package/src/common/app-table/components/ModalSelect.vue +270 -270
- package/src/common/app-table/components/TableModal.vue +356 -356
- package/src/common/app-table/controllers/useBaseTable.ts +45 -45
- package/src/index.ts +122 -122
- package/src/styles/variables.sass +12 -12
- package/dist/types/api/services/ComentsServise.d.ts +0 -10
- package/dist/types/api/types/Api_Users.d.ts +0 -43
package/dist/shared-ritm.es.js
CHANGED
|
@@ -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-
|
|
6208
|
+
}), Zy = /* @__PURE__ */ Fe(Qy, [["__scopeId", "data-v-c24941bd"]]), Jy = { class: "datepicker" }, eb = /* @__PURE__ */ Ft({
|
|
6209
6209
|
__name: "AppDatepicker",
|
|
6210
6210
|
props: /* @__PURE__ */ Sf({
|
|
6211
6211
|
label: {},
|
|
@@ -10351,7 +10351,7 @@ const Wx = ["left", "center", "right", "justify"], Hx = Ge({
|
|
|
10351
10351
|
tab: Zx
|
|
10352
10352
|
}, e_ = {
|
|
10353
10353
|
$style: Jx
|
|
10354
|
-
}, zA = /* @__PURE__ */ Fe(Qx, [["__cssModules", e_], ["__scopeId", "data-v-
|
|
10354
|
+
}, zA = /* @__PURE__ */ Fe(Qx, [["__cssModules", e_], ["__scopeId", "data-v-63306fe5"]]), mh = 150, t_ = Ge({
|
|
10355
10355
|
name: "QDrawer",
|
|
10356
10356
|
inheritAttrs: !1,
|
|
10357
10357
|
props: {
|
|
@@ -12068,7 +12068,7 @@ const W_ = Ge({
|
|
|
12068
12068
|
], 64);
|
|
12069
12069
|
};
|
|
12070
12070
|
}
|
|
12071
|
-
}), uC = /* @__PURE__ */ Fe(sC, [["__scopeId", "data-v-
|
|
12071
|
+
}), uC = /* @__PURE__ */ Fe(sC, [["__scopeId", "data-v-d70e00a1"]]), lC = { class: "modal-title" }, cC = {
|
|
12072
12072
|
key: 0,
|
|
12073
12073
|
class: "field-label"
|
|
12074
12074
|
}, dC = {
|
|
@@ -12294,7 +12294,7 @@ const W_ = Ge({
|
|
|
12294
12294
|
_: 1
|
|
12295
12295
|
}, 8, ["model-value"]));
|
|
12296
12296
|
}
|
|
12297
|
-
}), GA = /* @__PURE__ */ Fe(fC, [["__scopeId", "data-v-
|
|
12297
|
+
}), GA = /* @__PURE__ */ Fe(fC, [["__scopeId", "data-v-b137510f"]]), gh = Ge({
|
|
12298
12298
|
name: "QTd",
|
|
12299
12299
|
props: {
|
|
12300
12300
|
props: Object,
|
|
@@ -14239,7 +14239,7 @@ const KC = /* @__PURE__ */ Fe(UC, [["render", GC]]), XC = {
|
|
|
14239
14239
|
]), 1032, ["selected", "rows", "columns", "selection", "table-row-style-fn"])
|
|
14240
14240
|
]));
|
|
14241
14241
|
}
|
|
14242
|
-
}), ak = /* @__PURE__ */ Fe(ok, [["__scopeId", "data-v-
|
|
14242
|
+
}), ak = /* @__PURE__ */ Fe(ok, [["__scopeId", "data-v-3e02d553"]]), ik = {
|
|
14243
14243
|
key: 0,
|
|
14244
14244
|
class: "table-controls"
|
|
14245
14245
|
}, sk = { class: "table-wrapper" }, uk = {
|
|
@@ -14313,7 +14313,7 @@ const KC = /* @__PURE__ */ Fe(UC, [["render", GC]]), XC = {
|
|
|
14313
14313
|
"modal" in Er(o) ? nn(u.$slots, "modal", { key: 2 }, void 0, !0) : Ye("", !0)
|
|
14314
14314
|
], 2));
|
|
14315
14315
|
}
|
|
14316
|
-
}), KA = /* @__PURE__ */ Fe(lk, [["__scopeId", "data-v-
|
|
14316
|
+
}), KA = /* @__PURE__ */ Fe(lk, [["__scopeId", "data-v-1b7ee59f"]]);
|
|
14317
14317
|
function em(e, n) {
|
|
14318
14318
|
return function() {
|
|
14319
14319
|
return e.apply(n, arguments);
|
|
@@ -14622,6 +14622,8 @@ function lu(e, n, t) {
|
|
|
14622
14622
|
if (p === null) return "";
|
|
14623
14623
|
if (te.isDate(p))
|
|
14624
14624
|
return p.toISOString();
|
|
14625
|
+
if (te.isBoolean(p))
|
|
14626
|
+
return p.toString();
|
|
14625
14627
|
if (!u && te.isBlob(p))
|
|
14626
14628
|
throw new ut("Blob is not supported. Use a Buffer instead.");
|
|
14627
14629
|
return te.isArrayBuffer(p) || te.isTypedArray(p) ? u && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
@@ -15542,7 +15544,7 @@ const M3 = async (e) => {
|
|
|
15542
15544
|
duplex: "half",
|
|
15543
15545
|
credentials: y ? d : void 0
|
|
15544
15546
|
});
|
|
15545
|
-
let b = await fetch(p);
|
|
15547
|
+
let b = await fetch(p, f);
|
|
15546
15548
|
const w = dc && (l === "stream" || l === "response");
|
|
15547
15549
|
if (dc && (s || w && m)) {
|
|
15548
15550
|
const x = {};
|
|
@@ -15647,7 +15649,7 @@ function Bh(e) {
|
|
|
15647
15649
|
), r.response.headers = Ln.from(r.response.headers))), Promise.reject(r);
|
|
15648
15650
|
});
|
|
15649
15651
|
}
|
|
15650
|
-
const _m = "1.
|
|
15652
|
+
const _m = "1.10.0", du = {};
|
|
15651
15653
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, n) => {
|
|
15652
15654
|
du[e] = function(r) {
|
|
15653
15655
|
return typeof r === e || "a" + (n < 1 ? "n " : " ") + e;
|
|
@@ -16479,6 +16481,9 @@ class G3 extends Dn {
|
|
|
16479
16481
|
async deleteVideoSource(n) {
|
|
16480
16482
|
await this.delete(`/horizon/video-source/${n}`);
|
|
16481
16483
|
}
|
|
16484
|
+
async fetchListRepairsVideoSource(n) {
|
|
16485
|
+
return await this.get("work_zone/get_list_video_source_by_repair", { params: n });
|
|
16486
|
+
}
|
|
16482
16487
|
}
|
|
16483
16488
|
let ll;
|
|
16484
16489
|
function wD() {
|