shared-ritm 1.3.122 → 1.3.124
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 +26 -14
- package/dist/shared-ritm.umd.js +3 -3
- package/dist/types/api/services/MetricsService.d.ts +2 -0
- package/dist/types/api/services/TasksService.d.ts +3 -2
- package/package.json +70 -70
- package/src/App.vue +2461 -2461
- package/src/api/services/AuthService.ts +67 -67
- package/src/api/services/ControlsService.ts +100 -100
- package/src/api/services/EquipmentService.ts +68 -68
- package/src/api/services/GanttService.ts +58 -58
- package/src/api/services/InstrumentsService.ts +76 -76
- package/src/api/services/MetricsService.ts +7 -0
- package/src/api/services/RepairsService.ts +111 -111
- package/src/api/services/TasksService.ts +165 -158
- package/src/api/services/UserIssueService.ts +32 -32
- package/src/api/services/UserService.ts +129 -129
- package/src/api/services/VideoService.ts +118 -118
- package/src/api/settings/ApiService.ts +185 -185
- package/src/api/types/Api_Auth.ts +121 -121
- package/src/api/types/Api_Controls.ts +112 -112
- package/src/api/types/Api_Equipment.ts +54 -54
- package/src/api/types/Api_Instruments.ts +182 -182
- package/src/api/types/Api_Metrics.ts +89 -89
- package/src/api/types/Api_Repairs.ts +200 -200
- package/src/api/types/Api_Search.ts +81 -81
- package/src/api/types/Api_Tasks.ts +378 -378
- package/src/api/types/Api_User.ts +161 -161
- package/src/api/types/Api_User_Issue.ts +36 -36
- package/src/api/types/Api_Video.ts +244 -244
- package/src/common/app-button/Button.stories.ts +369 -369
- package/src/common/app-checkbox/AppCheckbox.vue +31 -31
- package/src/common/app-checkbox/Checkbox.stories.ts +252 -252
- package/src/common/app-date-picker/DatePicker.stories.ts +66 -66
- package/src/common/app-datepicker/Datepicker.stories.ts +145 -145
- package/src/common/app-dialogs/AppConfirmDialog.vue +109 -109
- package/src/common/app-dialogs/Confirm.stories.ts +93 -93
- package/src/common/app-dropdown/Dropdown.stories.ts +94 -94
- package/src/common/app-file/File.stories.ts +104 -104
- package/src/common/app-icon/AppIcon.vue +110 -110
- package/src/common/app-icon/Icon.stories.ts +91 -91
- package/src/common/app-input/AppInput.vue +150 -150
- package/src/common/app-input/Input.stories.ts +160 -160
- package/src/common/app-input-new/AppInputNew.vue +181 -181
- package/src/common/app-input-new/InputNew.stories.ts +240 -240
- package/src/common/app-input-search/InputSearch.stories.ts +149 -149
- package/src/common/app-layout/components/AppLayoutHeader.vue +289 -289
- package/src/common/app-loader/Loader.stories.ts +114 -114
- package/src/common/app-modal/index.vue +101 -101
- package/src/common/app-select/AppSelect.vue +159 -159
- package/src/common/app-select/Select.stories.ts +155 -155
- package/src/common/app-sheet-new/AppSheetNew.vue +254 -254
- package/src/common/app-sidebar/AppSidebar.vue +177 -177
- package/src/common/app-table/AppTable.vue +313 -313
- package/src/common/app-table/components/ModalSelect.stories.ts +323 -323
- package/src/common/app-table/components/ModalSelect.vue +302 -302
- package/src/common/app-table/components/TableModal.vue +369 -369
- package/src/common/app-table/controllers/useColumnSelector.ts +45 -45
- package/src/common/app-table/controllers/useTableModel.ts +98 -98
- package/src/common/app-toggle/AppToggle.vue +12 -12
- package/src/common/app-toggle/Toggle.stories.ts +245 -245
- package/src/common/app-wrapper/AppWrapper.vue +31 -31
- package/src/configs/storybook.ts +14 -14
- package/src/icons/sidebar/user-requests-icon.vue +23 -23
- package/src/index.ts +134 -134
- package/src/shared/styles/general.css +140 -140
- package/src/styles/variables.sass +12 -12
- package/src/utils/files.ts +38 -38
- package/src/utils/helpers.ts +59 -59
- package/dist/types/api/services/PhotoService.d.ts +0 -40
- package/dist/types/stories/Button.stories.d.ts +0 -13
- package/dist/types/stories/Checkbox.stories.d.ts +0 -7
- package/dist/types/stories/Confirm.stories.d.ts +0 -8
- package/dist/types/stories/DatePicker.stories.d.ts +0 -8
- package/dist/types/stories/Dropdown.stories.d.ts +0 -8
- package/dist/types/stories/File.stories.d.ts +0 -8
- package/dist/types/stories/Icon.stories.d.ts +0 -7
- package/dist/types/stories/Input.stories.d.ts +0 -11
- package/dist/types/stories/InputNew.stories.d.ts +0 -12
- package/dist/types/stories/InputSearch.stories.d.ts +0 -10
- package/dist/types/stories/Loader.stories.d.ts +0 -8
- package/dist/types/stories/Select.stories.d.ts +0 -7
- package/dist/types/stories/Toggle.stories.d.ts +0 -8
package/dist/shared-ritm.es.js
CHANGED
|
@@ -2323,9 +2323,9 @@ const Ry = {
|
|
|
2323
2323
|
},
|
|
2324
2324
|
setup(e) {
|
|
2325
2325
|
Wo((r) => ({
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2326
|
+
e1a36b5a: r.borderRadius,
|
|
2327
|
+
v32ac7bdb: n.value,
|
|
2328
|
+
v4f3b13e5: r.borderWidth
|
|
2329
2329
|
}));
|
|
2330
2330
|
const t = e, n = _(() => Ry.getPaletteColor(t.borderColor));
|
|
2331
2331
|
return (r, o) => (K(), Ae(oi, ui(r.$props, {
|
|
@@ -6599,7 +6599,7 @@ const zb = { class: "app-input-new" }, $b = {
|
|
|
6599
6599
|
}, 8, ["modelValue", "type", "rules", "placeholder", "disable", "readonly", "class", "error", "autocomplete", "debounce", "loading", "maxlength", "counter"])
|
|
6600
6600
|
]));
|
|
6601
6601
|
}
|
|
6602
|
-
}), Ub = /* @__PURE__ */ De(Hb, [["__scopeId", "data-v-
|
|
6602
|
+
}), Ub = /* @__PURE__ */ De(Hb, [["__scopeId", "data-v-726438b3"]]), jb = { class: "datepicker" }, Gb = /* @__PURE__ */ Dt({
|
|
6603
6603
|
__name: "AppDatepicker",
|
|
6604
6604
|
props: /* @__PURE__ */ li({
|
|
6605
6605
|
label: { default: "" },
|
|
@@ -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
|
+
a452a446: 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,
|
|
@@ -8497,8 +8497,8 @@ const jx = /* @__PURE__ */ De(Wx, [["render", Ux]]), Gx = /* @__PURE__ */ Dt({
|
|
|
8497
8497
|
},
|
|
8498
8498
|
setup(e) {
|
|
8499
8499
|
Wo((o) => ({
|
|
8500
|
-
|
|
8501
|
-
|
|
8500
|
+
v65dd3b2f: o.color,
|
|
8501
|
+
v66692ab5: o.size
|
|
8502
8502
|
}));
|
|
8503
8503
|
const t = e;
|
|
8504
8504
|
function n(o) {
|
|
@@ -10035,7 +10035,7 @@ const Rd = je({
|
|
|
10035
10035
|
emits: ["update:modelValue"],
|
|
10036
10036
|
setup(e, { emit: t }) {
|
|
10037
10037
|
Wo((c) => ({
|
|
10038
|
-
|
|
10038
|
+
v4a6e20c2: c.borderColor
|
|
10039
10039
|
}));
|
|
10040
10040
|
const n = e, r = X({}), o = t, a = _({
|
|
10041
10041
|
get() {
|
|
@@ -10793,7 +10793,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
|
|
|
10793
10793
|
tab: KC
|
|
10794
10794
|
}, XC = {
|
|
10795
10795
|
$style: YC
|
|
10796
|
-
}, GD = /* @__PURE__ */ De(GC, [["__cssModules", XC], ["__scopeId", "data-v-
|
|
10796
|
+
}, GD = /* @__PURE__ */ De(GC, [["__cssModules", XC], ["__scopeId", "data-v-94e1b81b"]]), Dh = 150, QC = je({
|
|
10797
10797
|
name: "QDrawer",
|
|
10798
10798
|
inheritAttrs: !1,
|
|
10799
10799
|
props: {
|
|
@@ -11729,7 +11729,7 @@ function yk(e, t) {
|
|
|
11729
11729
|
$t(e.$slots, "default", {}, void 0, !0)
|
|
11730
11730
|
]);
|
|
11731
11731
|
}
|
|
11732
|
-
const XD = /* @__PURE__ */ De(mk, [["render", yk], ["__scopeId", "data-v-
|
|
11732
|
+
const XD = /* @__PURE__ */ De(mk, [["render", yk], ["__scopeId", "data-v-aef16077"]]), hi = je({
|
|
11733
11733
|
name: "QCardSection",
|
|
11734
11734
|
props: {
|
|
11735
11735
|
tag: {
|
|
@@ -12560,7 +12560,7 @@ const qk = je({
|
|
|
12560
12560
|
], 64);
|
|
12561
12561
|
};
|
|
12562
12562
|
}
|
|
12563
|
-
}), r_ = /* @__PURE__ */ De(n_, [["__scopeId", "data-v-
|
|
12563
|
+
}), r_ = /* @__PURE__ */ De(n_, [["__scopeId", "data-v-7b05047b"]]), o_ = { class: "modal-title" }, a_ = ["data-test"], i_ = {
|
|
12564
12564
|
key: 0,
|
|
12565
12565
|
class: "required"
|
|
12566
12566
|
}, s_ = /* @__PURE__ */ Dt({
|
|
@@ -12793,7 +12793,7 @@ const qk = je({
|
|
|
12793
12793
|
_: 1
|
|
12794
12794
|
}, 8, ["model-value"]));
|
|
12795
12795
|
}
|
|
12796
|
-
}), JD = /* @__PURE__ */ De(s_, [["__scopeId", "data-v-
|
|
12796
|
+
}), JD = /* @__PURE__ */ De(s_, [["__scopeId", "data-v-ed06c39a"]]), Mh = je({
|
|
12797
12797
|
name: "QTd",
|
|
12798
12798
|
props: {
|
|
12799
12799
|
props: Object,
|
|
@@ -14730,7 +14730,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
|
|
|
14730
14730
|
]), 1032, ["selected", "rows", "columns", "selection", "table-row-style-fn"])
|
|
14731
14731
|
]));
|
|
14732
14732
|
}
|
|
14733
|
-
}), e3 = /* @__PURE__ */ De(J_, [["__scopeId", "data-v-
|
|
14733
|
+
}), e3 = /* @__PURE__ */ De(J_, [["__scopeId", "data-v-e633b819"]]), t3 = {
|
|
14734
14734
|
key: 0,
|
|
14735
14735
|
class: "table-controls"
|
|
14736
14736
|
}, n3 = { class: "table-wrapper" }, r3 = {
|
|
@@ -14870,7 +14870,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
|
|
|
14870
14870
|
_: 3
|
|
14871
14871
|
}, 8, ["modelValue"]));
|
|
14872
14872
|
}
|
|
14873
|
-
}), tM = /* @__PURE__ */ De(s3, [["__scopeId", "data-v-
|
|
14873
|
+
}), tM = /* @__PURE__ */ De(s3, [["__scopeId", "data-v-f69f612b"]]);
|
|
14874
14874
|
function oa(e, t, n, r) {
|
|
14875
14875
|
const o = [];
|
|
14876
14876
|
return e.forEach((a) => {
|
|
@@ -17145,6 +17145,9 @@ class WS extends gn {
|
|
|
17145
17145
|
async fetchPieTmc(t) {
|
|
17146
17146
|
return await this.get("repairs/metrics/get_list_instrument_type?" + t);
|
|
17147
17147
|
}
|
|
17148
|
+
downloadInstruments(t) {
|
|
17149
|
+
return this.get("repairs/metrics/get_list_instrument_type", { params: t, responseType: "blob" });
|
|
17150
|
+
}
|
|
17148
17151
|
async fetchPieTmcInfo(t) {
|
|
17149
17152
|
return await this.get(`repairs/metrics/get_list_warehouse_by_instrument_type?${t}`);
|
|
17150
17153
|
}
|
|
@@ -17208,6 +17211,9 @@ class WS extends gn {
|
|
|
17208
17211
|
fetchTasksByStatusProjects(t) {
|
|
17209
17212
|
return this.get("repairs/metrics/get_list_task_by_status/projects", { params: t });
|
|
17210
17213
|
}
|
|
17214
|
+
async fetchWarehouseByCompliance(t) {
|
|
17215
|
+
return await this.get(`repairs/metrics/get_warehouse_by_compliance?${t}`);
|
|
17216
|
+
}
|
|
17211
17217
|
}
|
|
17212
17218
|
let yl;
|
|
17213
17219
|
function CM() {
|
|
@@ -17367,6 +17373,12 @@ class jS extends gn {
|
|
|
17367
17373
|
fetchInstrumentTypeListWithPreparedWarehouse(t) {
|
|
17368
17374
|
return this.get("/instrument_type/get_instrument_type_list_with_prepared_warehouse", { params: t });
|
|
17369
17375
|
}
|
|
17376
|
+
downloadInstrumentTypeListWithPreparedWarehouse(t) {
|
|
17377
|
+
return this.get("/instrument_type/get_instrument_type_list_with_prepared_warehouse", {
|
|
17378
|
+
responseType: "blob",
|
|
17379
|
+
params: t
|
|
17380
|
+
});
|
|
17381
|
+
}
|
|
17370
17382
|
fetchInstrumentsEquivalentList(t) {
|
|
17371
17383
|
return this.get("tasks/instrument/list", { params: t });
|
|
17372
17384
|
}
|