shared-ritm 1.3.98 → 1.3.100
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/README.md +103 -103
- package/dist/index.css +1 -1
- package/dist/shared-ritm.es.js +30 -21
- package/dist/shared-ritm.umd.js +3 -3
- package/dist/types/api/services/GanttService.d.ts +6 -0
- package/dist/types/api/services/InstrumentsService.d.ts +2 -1
- package/dist/types/api/types/Api_Instruments.d.ts +20 -0
- package/package.json +1 -1
- package/src/api/services/BrigadesService.ts +32 -32
- package/src/api/services/CommentsService.ts +24 -24
- package/src/api/services/FileService.ts +17 -17
- package/src/api/services/GanttService.ts +58 -47
- package/src/api/services/InstrumentsService.ts +5 -1
- package/src/api/services/ModulesService.ts +27 -27
- package/src/api/services/ProjectsService.ts +83 -83
- package/src/api/services/ScheduleService.ts +69 -69
- package/src/api/services/SearchService.ts +22 -22
- package/src/api/services/TasksService.ts +157 -157
- package/src/api/settings/ApiService.ts +184 -184
- package/src/api/types/Api_Brigades.ts +36 -36
- package/src/api/types/Api_Comment.ts +40 -40
- package/src/api/types/Api_Files.ts +7 -7
- package/src/api/types/Api_Instruments.ts +22 -1
- package/src/api/types/Api_Modules.ts +21 -21
- package/src/api/types/Api_Projects.ts +62 -62
- package/src/api/types/Api_Schedule.ts +64 -64
- package/src/api/types/Api_Service.ts +9 -9
- package/src/common/app-button/AppButton.vue +173 -173
- package/src/common/app-date-picker/AppDatePicker.vue +81 -81
- package/src/common/app-datepicker/AppDatepicker.vue +218 -218
- package/src/common/app-dropdown/AppDropdown.vue +37 -37
- package/src/common/app-file/AppFile.vue +80 -80
- package/src/common/app-input/AppInput.vue +150 -150
- package/src/common/app-input-search/AppInputSearch.vue +174 -174
- package/src/common/app-layout/AppLayout.vue +84 -84
- package/src/common/app-layout/components/AppLayoutPage.vue +16 -16
- package/src/common/app-loader/index.vue +43 -43
- package/src/common/app-page-layout/AppPageLayout.vue +122 -122
- package/src/common/app-sheet/AppSheet.vue +120 -120
- package/src/common/app-sheet-new/AppSheetNew.vue +244 -244
- package/src/common/app-sidebar/components/SidebarMenu.vue +37 -37
- package/src/common/app-sidebar/components/SidebarMenuItem.vue +149 -149
- package/src/common/app-table/AppTableLayout.vue +137 -137
- package/src/common/app-table/components/TablePagination.vue +152 -152
- package/src/common/app-table/components/TableSearch.vue +76 -76
- package/src/common/app-table/controllers/useBaseTable.ts +45 -45
- package/src/global.d.ts +1 -1
- package/src/icons/components/arrow-down-icon.vue +25 -25
- package/src/icons/components/arrow-frame-icon.vue +19 -19
- package/src/icons/components/arrow-square.vue +22 -22
- package/src/icons/components/table-filter-icon.vue +30 -30
- package/src/icons/dialogs/RemoveIcon.vue +12 -12
- package/src/icons/dialogs/SafetyIcon.vue +12 -12
- package/src/icons/header/NotificationIcon.vue +18 -18
- package/src/icons/header/PersonIcon.vue +11 -11
- package/src/icons/header/SettingIcon.vue +14 -14
- package/src/icons/header/flashIcon.vue +24 -24
- package/src/icons/header/searchStatusIcon.vue +24 -24
- package/src/icons/header/smallCapsIcon.vue +34 -34
- package/src/icons/sidebar/assign-module-icon.vue +36 -36
- package/src/icons/sidebar/instrument-history-icon.vue +32 -32
- package/src/icons/sidebar/instrument-order-icon.vue +38 -38
- package/src/icons/sidebar/instrument-work-zone-icon.vue +18 -18
- package/src/icons/sidebar/instruments-icon.vue +45 -45
- package/src/icons/sidebar/logo-icon.vue +15 -15
- package/src/icons/sidebar/logout-icon.vue +13 -13
- package/src/icons/sidebar/modules-icon.vue +16 -16
- package/src/icons/sidebar/notifications-icon.vue +24 -24
- package/src/icons/sidebar/order-icon.vue +44 -44
- package/src/icons/sidebar/pass-icon.vue +38 -38
- package/src/icons/sidebar/positions-icon.vue +42 -42
- package/src/icons/sidebar/preorder-icon.vue +19 -19
- package/src/icons/sidebar/projects-icon.vue +31 -31
- package/src/icons/sidebar/repair-object-icon.vue +18 -18
- package/src/icons/sidebar/repairs-icon.vue +20 -20
- package/src/icons/sidebar/roles-icon.vue +26 -26
- package/src/icons/sidebar/status-history-icon.vue +24 -24
- package/src/icons/sidebar/tasks-icon.vue +28 -28
- package/src/icons/sidebar/tasks_tasks-icon.vue +39 -39
- package/src/icons/sidebar/tasks_today-icon.vue +27 -27
- package/src/icons/sidebar/teams-icon.vue +32 -32
- package/src/icons/sidebar/user-icon.vue +18 -18
- package/src/icons/sidebar/users-icon.vue +46 -46
- package/src/icons/sidebar/videosources-icon.vue +19 -19
- package/src/icons/sidebar/videowall-icon.vue +13 -13
- package/src/icons/sidebar/videozones-icon.vue +21 -21
- package/src/icons/sidebar/warehouses-icon.vue +43 -43
- package/src/icons/sidebar/workshop-icon.vue +100 -100
- package/src/icons/sidebar/workzones-icon.vue +22 -22
- package/src/icons/task/attention-icon.vue +13 -13
- package/src/icons/task/clock-icon.vue +10 -10
- package/src/icons/task/delete-icon.vue +10 -10
- package/src/icons/task/fire-icon.vue +16 -16
- package/src/main.ts +28 -28
- package/src/quasar-user-options.ts +17 -17
- package/src/router/index.ts +10 -10
- package/src/shims-vue.d.ts +5 -5
- package/src/utils/confirm.ts +12 -12
- package/src/utils/faceApiHelper.ts +132 -132
- package/src/utils/notification.ts +9 -9
package/dist/shared-ritm.es.js
CHANGED
|
@@ -1880,10 +1880,10 @@ const Et = je({
|
|
|
1880
1880
|
emits: ["update:modelValue", "click"],
|
|
1881
1881
|
setup(e, { emit: t }) {
|
|
1882
1882
|
Wo((s) => ({
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1883
|
+
v6ebd44ce: s.width,
|
|
1884
|
+
v31bb5bb4: s.height,
|
|
1885
|
+
v2efce8ab: s.borderRadius,
|
|
1886
|
+
d3196ae6: s.borderWidth
|
|
1887
1887
|
}));
|
|
1888
1888
|
const n = e, r = t;
|
|
1889
1889
|
function o(s) {
|
|
@@ -4770,7 +4770,7 @@ const vb = {
|
|
|
4770
4770
|
])
|
|
4771
4771
|
]));
|
|
4772
4772
|
}
|
|
4773
|
-
}), ND = /* @__PURE__ */ De(yb, [["__scopeId", "data-v-
|
|
4773
|
+
}), ND = /* @__PURE__ */ De(yb, [["__scopeId", "data-v-a3ab30e6"]]), xd = {
|
|
4774
4774
|
left: !0,
|
|
4775
4775
|
right: !0,
|
|
4776
4776
|
up: !0,
|
|
@@ -6726,7 +6726,7 @@ const zb = { class: "app-input-new" }, $b = {
|
|
|
6726
6726
|
}, 8, ["modelValue", "label", "required", "rules", "error", "disable"])
|
|
6727
6727
|
]));
|
|
6728
6728
|
}
|
|
6729
|
-
}), qD = /* @__PURE__ */ De(Gb, [["__scopeId", "data-v-
|
|
6729
|
+
}), qD = /* @__PURE__ */ De(Gb, [["__scopeId", "data-v-118886c9"]]), Kb = /* @__PURE__ */ Dt({
|
|
6730
6730
|
__name: "AppInput",
|
|
6731
6731
|
props: {
|
|
6732
6732
|
field: { type: Boolean },
|
|
@@ -6800,7 +6800,7 @@ const zb = { class: "app-input-new" }, $b = {
|
|
|
6800
6800
|
emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
|
|
6801
6801
|
setup(e, { emit: t }) {
|
|
6802
6802
|
Wo((u) => ({
|
|
6803
|
-
|
|
6803
|
+
e99037c4: u.height
|
|
6804
6804
|
}));
|
|
6805
6805
|
const n = e, r = t, o = X(!1), a = _(() => n.type === "password" ? o.value ? "text" : "password" : n.type || "text"), i = _({
|
|
6806
6806
|
get: () => n.modelValue !== null && n.modelValue !== void 0 && n.type === "number" ? +n.modelValue : n.modelValue,
|
|
@@ -6908,8 +6908,8 @@ const zb = { class: "app-input-new" }, $b = {
|
|
|
6908
6908
|
emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
|
|
6909
6909
|
setup(e, { emit: t }) {
|
|
6910
6910
|
Wo((i) => ({
|
|
6911
|
-
|
|
6912
|
-
|
|
6911
|
+
v33b606d4: i.borderRadius,
|
|
6912
|
+
f2e6e6c6: i.height
|
|
6913
6913
|
}));
|
|
6914
6914
|
const n = e, r = t, o = _({
|
|
6915
6915
|
get: () => n.modelValue !== null && n.modelValue !== void 0 && n.type === "number" ? +n.modelValue : n.modelValue,
|
|
@@ -7272,7 +7272,7 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
|
|
|
7272
7272
|
}, null, 8, ["size", "thickness"])) : We("", !0)
|
|
7273
7273
|
], 2));
|
|
7274
7274
|
}
|
|
7275
|
-
}), a2 = /* @__PURE__ */ De(o2, [["__scopeId", "data-v-
|
|
7275
|
+
}), a2 = /* @__PURE__ */ De(o2, [["__scopeId", "data-v-9f8ceae1"]]), i2 = /* @__PURE__ */ Dt({
|
|
7276
7276
|
__name: "AppLayout",
|
|
7277
7277
|
props: {
|
|
7278
7278
|
logged: { type: Boolean },
|
|
@@ -8725,7 +8725,7 @@ function dC(e, t) {
|
|
|
8725
8725
|
_: 3
|
|
8726
8726
|
});
|
|
8727
8727
|
}
|
|
8728
|
-
const HD = /* @__PURE__ */ De(cC, [["render", dC], ["__scopeId", "data-v-
|
|
8728
|
+
const HD = /* @__PURE__ */ De(cC, [["render", dC], ["__scopeId", "data-v-51e4160c"]]), fC = {
|
|
8729
8729
|
xs: 8,
|
|
8730
8730
|
sm: 10,
|
|
8731
8731
|
md: 14,
|
|
@@ -10179,7 +10179,7 @@ const Rd = je({
|
|
|
10179
10179
|
emits: ["update:dialogRef", "update:currentTabName"],
|
|
10180
10180
|
setup(e, { emit: t }) {
|
|
10181
10181
|
Wo((a) => ({
|
|
10182
|
-
|
|
10182
|
+
d2a8bdba: a.width
|
|
10183
10183
|
}));
|
|
10184
10184
|
const n = e, r = t, o = _({
|
|
10185
10185
|
get() {
|
|
@@ -10250,7 +10250,7 @@ const Rd = je({
|
|
|
10250
10250
|
"sheet-dialog": "_sheet-dialog_1rkva_1"
|
|
10251
10251
|
}, MC = {
|
|
10252
10252
|
$style: DC
|
|
10253
|
-
}, jD = /* @__PURE__ */ De(AC, [["__cssModules", MC], ["__scopeId", "data-v-
|
|
10253
|
+
}, jD = /* @__PURE__ */ De(AC, [["__cssModules", MC], ["__scopeId", "data-v-56bffd8b"]]);
|
|
10254
10254
|
let FC = 0;
|
|
10255
10255
|
const PC = ["click", "keydown"], BC = {
|
|
10256
10256
|
icon: String,
|
|
@@ -10783,7 +10783,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
|
|
|
10783
10783
|
tab: KC
|
|
10784
10784
|
}, XC = {
|
|
10785
10785
|
$style: YC
|
|
10786
|
-
}, GD = /* @__PURE__ */ De(GC, [["__cssModules", XC], ["__scopeId", "data-v-
|
|
10786
|
+
}, GD = /* @__PURE__ */ De(GC, [["__cssModules", XC], ["__scopeId", "data-v-2ee4bdf1"]]), Dh = 150, QC = je({
|
|
10787
10787
|
name: "QDrawer",
|
|
10788
10788
|
inheritAttrs: !1,
|
|
10789
10789
|
props: {
|
|
@@ -11462,7 +11462,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
|
|
|
11462
11462
|
"menu-item__label": "_menu-item__label_fkijr_18"
|
|
11463
11463
|
}, rk = {
|
|
11464
11464
|
$style: nk
|
|
11465
|
-
}, ok = /* @__PURE__ */ De(tk, [["__cssModules", rk], ["__scopeId", "data-v-
|
|
11465
|
+
}, ok = /* @__PURE__ */ De(tk, [["__cssModules", rk], ["__scopeId", "data-v-83676a78"]]), ak = /* @__PURE__ */ Dt({
|
|
11466
11466
|
__name: "SidebarMenu",
|
|
11467
11467
|
props: {
|
|
11468
11468
|
menuItems: {},
|
|
@@ -12090,7 +12090,7 @@ const qk = je({
|
|
|
12090
12090
|
_: 3
|
|
12091
12091
|
}, 8, ["modelValue", "color", "content-style"]));
|
|
12092
12092
|
}
|
|
12093
|
-
}), ZD = /* @__PURE__ */ De(Vk, [["__scopeId", "data-v-
|
|
12093
|
+
}), ZD = /* @__PURE__ */ De(Vk, [["__scopeId", "data-v-85d0f555"]]), zk = { class: "table-pagination" }, $k = ["disabled"], Wk = { class: "pages" }, Hk = ["disabled", "onClick"], Uk = ["disabled"], jk = /* @__PURE__ */ Dt({
|
|
12094
12094
|
__name: "TablePagination",
|
|
12095
12095
|
props: {
|
|
12096
12096
|
modelValue: {},
|
|
@@ -12155,7 +12155,7 @@ const qk = je({
|
|
|
12155
12155
|
], 8, Uk)
|
|
12156
12156
|
]));
|
|
12157
12157
|
}
|
|
12158
|
-
}), Gk = /* @__PURE__ */ De(jk, [["__scopeId", "data-v-
|
|
12158
|
+
}), Gk = /* @__PURE__ */ De(jk, [["__scopeId", "data-v-9db9f6f7"]]), Kk = /* @__PURE__ */ Dt({
|
|
12159
12159
|
__name: "TableSearch",
|
|
12160
12160
|
props: {
|
|
12161
12161
|
modelValue: {},
|
|
@@ -12197,7 +12197,7 @@ const qk = je({
|
|
|
12197
12197
|
} : void 0
|
|
12198
12198
|
]), 1032, ["modelValue", "placeholder"]));
|
|
12199
12199
|
}
|
|
12200
|
-
}), Yk = /* @__PURE__ */ De(Kk, [["__scopeId", "data-v-
|
|
12200
|
+
}), Yk = /* @__PURE__ */ De(Kk, [["__scopeId", "data-v-7344789a"]]), Xk = je({
|
|
12201
12201
|
name: "QForm",
|
|
12202
12202
|
props: {
|
|
12203
12203
|
autofocus: Boolean,
|
|
@@ -14794,7 +14794,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
|
|
|
14794
14794
|
"modal" in An(o) ? $t(u.$slots, "modal", { key: 2 }, void 0, !0) : We("", !0)
|
|
14795
14795
|
], 2));
|
|
14796
14796
|
}
|
|
14797
|
-
}), eM = /* @__PURE__ */ De(o3, [["__scopeId", "data-v-
|
|
14797
|
+
}), eM = /* @__PURE__ */ De(o3, [["__scopeId", "data-v-1b7ee59f"]]), a3 = ["title"], i3 = {
|
|
14798
14798
|
key: 1,
|
|
14799
14799
|
class: "loader-overlay"
|
|
14800
14800
|
}, s3 = /* @__PURE__ */ Dt({
|
|
@@ -15194,7 +15194,7 @@ const d3 = je({
|
|
|
15194
15194
|
}, null, 8, ["modelValue", "disable", "multiple", "label", "accept"])
|
|
15195
15195
|
], 64));
|
|
15196
15196
|
}
|
|
15197
|
-
}), nM = /* @__PURE__ */ De(f3, [["__scopeId", "data-v-
|
|
15197
|
+
}), nM = /* @__PURE__ */ De(f3, [["__scopeId", "data-v-67f30592"]]);
|
|
15198
15198
|
function xm(e, t) {
|
|
15199
15199
|
return function() {
|
|
15200
15200
|
return e.apply(t, arguments);
|
|
@@ -17083,9 +17083,15 @@ class $S extends gn {
|
|
|
17083
17083
|
createLink(t) {
|
|
17084
17084
|
return this.post("gantt/task/link", t);
|
|
17085
17085
|
}
|
|
17086
|
+
editLink(t, n) {
|
|
17087
|
+
return this.put(`gantt/task/link${t}`, n);
|
|
17088
|
+
}
|
|
17086
17089
|
deleteLink(t) {
|
|
17087
17090
|
return this.delete(`gantt/task/link/${t}`);
|
|
17088
17091
|
}
|
|
17092
|
+
recalculateLinks(t) {
|
|
17093
|
+
return this.post("gantt/project/links/recalculate", t);
|
|
17094
|
+
}
|
|
17089
17095
|
}
|
|
17090
17096
|
let gl;
|
|
17091
17097
|
function xM() {
|
|
@@ -17641,6 +17647,9 @@ class QS extends gn {
|
|
|
17641
17647
|
};
|
|
17642
17648
|
return await this.get(`users/${t}/instruments`, { params: r });
|
|
17643
17649
|
}
|
|
17650
|
+
async fetchDiscardWarehouses(t) {
|
|
17651
|
+
return await this.get("v2/search/discards", { params: t });
|
|
17652
|
+
}
|
|
17644
17653
|
async fetchWarehouses(t) {
|
|
17645
17654
|
return await this.get("search/warehouses", { params: t });
|
|
17646
17655
|
}
|
|
@@ -17662,7 +17671,7 @@ class QS extends gn {
|
|
|
17662
17671
|
deleteWarehouse(t) {
|
|
17663
17672
|
return this.delete(`admin/warehouses/${t}`);
|
|
17664
17673
|
}
|
|
17665
|
-
|
|
17674
|
+
changeStatusWarehouse(t) {
|
|
17666
17675
|
return this.put("v2/warehouses/status", t);
|
|
17667
17676
|
}
|
|
17668
17677
|
async unsetWarehouseRfid(t) {
|