shared-ritm 1.3.130 → 1.3.132
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 +18 -15
- package/dist/shared-ritm.umd.js +3 -3
- package/dist/types/api/services/MetricsService.d.ts +1 -0
- 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 +3 -0
- package/src/api/services/RepairsService.ts +111 -111
- package/src/api/services/TasksService.ts +165 -165
- 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 +112 -112
- 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 +385 -385
- 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 +33 -33
- 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/AppDatepicker.vue +221 -221
- 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 +186 -186
- 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 +167 -167
- 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 +311 -311
- 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
|
+
v2b86ce00: r.borderRadius,
|
|
2327
|
+
v61f600f0: n.value,
|
|
2328
|
+
a1c632d0: r.borderWidth
|
|
2329
2329
|
}));
|
|
2330
2330
|
const t = e, n = _(
|
|
2331
2331
|
() => {
|
|
@@ -6607,7 +6607,7 @@ const zb = {
|
|
|
6607
6607
|
}, 8, ["modelValue", "type", "rules", "placeholder", "disable", "readonly", "class", "error", "autocomplete", "debounce", "loading", "maxlength", "counter", "hide-bottom-space"])
|
|
6608
6608
|
], 2));
|
|
6609
6609
|
}
|
|
6610
|
-
}), Hb = /* @__PURE__ */ De(Wb, [["__scopeId", "data-v-
|
|
6610
|
+
}), Hb = /* @__PURE__ */ De(Wb, [["__scopeId", "data-v-ccb0cf04"]]), Ub = { class: "datepicker" }, jb = /* @__PURE__ */ Dt({
|
|
6611
6611
|
__name: "AppDatepicker",
|
|
6612
6612
|
props: /* @__PURE__ */ li({
|
|
6613
6613
|
label: { default: "" },
|
|
@@ -6737,7 +6737,7 @@ const zb = {
|
|
|
6737
6737
|
}, 8, ["modelValue", "label", "required", "rules", "error", "disable", "hide-bottom-space"])
|
|
6738
6738
|
]));
|
|
6739
6739
|
}
|
|
6740
|
-
}), VD = /* @__PURE__ */ De(jb, [["__scopeId", "data-v-
|
|
6740
|
+
}), VD = /* @__PURE__ */ De(jb, [["__scopeId", "data-v-ec0a413e"]]), Gb = /* @__PURE__ */ Dt({
|
|
6741
6741
|
__name: "AppInput",
|
|
6742
6742
|
props: {
|
|
6743
6743
|
field: { type: Boolean },
|
|
@@ -6811,7 +6811,7 @@ const zb = {
|
|
|
6811
6811
|
emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
|
|
6812
6812
|
setup(e, { emit: t }) {
|
|
6813
6813
|
Wo((u) => ({
|
|
6814
|
-
|
|
6814
|
+
a452a446: u.height
|
|
6815
6815
|
}));
|
|
6816
6816
|
const n = e, r = t, o = X(!1), a = _(() => n.type === "password" ? o.value ? "text" : "password" : n.type || "text"), i = _({
|
|
6817
6817
|
get: () => n.modelValue !== null && n.modelValue !== void 0 && n.type === "number" ? +n.modelValue : n.modelValue,
|
|
@@ -8508,8 +8508,8 @@ const Ux = /* @__PURE__ */ De($x, [["render", Hx]]), jx = /* @__PURE__ */ Dt({
|
|
|
8508
8508
|
},
|
|
8509
8509
|
setup(e) {
|
|
8510
8510
|
Wo((o) => ({
|
|
8511
|
-
|
|
8512
|
-
|
|
8511
|
+
v65dd3b2f: o.color,
|
|
8512
|
+
v66692ab5: o.size
|
|
8513
8513
|
}));
|
|
8514
8514
|
const t = e;
|
|
8515
8515
|
function n(o) {
|
|
@@ -10050,7 +10050,7 @@ const Rd = je({
|
|
|
10050
10050
|
emits: ["update:modelValue"],
|
|
10051
10051
|
setup(e, { emit: t }) {
|
|
10052
10052
|
Wo((c) => ({
|
|
10053
|
-
|
|
10053
|
+
v2edaba86: c.borderColor
|
|
10054
10054
|
}));
|
|
10055
10055
|
const n = e, r = X({}), o = t, a = _({
|
|
10056
10056
|
get() {
|
|
@@ -10819,7 +10819,7 @@ const VC = ["left", "center", "right", "justify"], zC = je({
|
|
|
10819
10819
|
tab: YC
|
|
10820
10820
|
}, QC = {
|
|
10821
10821
|
$style: XC
|
|
10822
|
-
}, KD = /* @__PURE__ */ De(KC, [["__cssModules", QC], ["__scopeId", "data-v-
|
|
10822
|
+
}, KD = /* @__PURE__ */ De(KC, [["__cssModules", QC], ["__scopeId", "data-v-94e1b81b"]]), Dh = 150, ZC = je({
|
|
10823
10823
|
name: "QDrawer",
|
|
10824
10824
|
inheritAttrs: !1,
|
|
10825
10825
|
props: {
|
|
@@ -11755,7 +11755,7 @@ function bk(e, t) {
|
|
|
11755
11755
|
Bt(e.$slots, "default", {}, void 0, !0)
|
|
11756
11756
|
]);
|
|
11757
11757
|
}
|
|
11758
|
-
const QD = /* @__PURE__ */ De(gk, [["render", bk], ["__scopeId", "data-v-
|
|
11758
|
+
const QD = /* @__PURE__ */ De(gk, [["render", bk], ["__scopeId", "data-v-aef16077"]]), hi = je({
|
|
11759
11759
|
name: "QCardSection",
|
|
11760
11760
|
props: {
|
|
11761
11761
|
tag: {
|
|
@@ -12602,7 +12602,7 @@ const Vk = je({
|
|
|
12602
12602
|
], 64);
|
|
12603
12603
|
};
|
|
12604
12604
|
}
|
|
12605
|
-
}), o_ = /* @__PURE__ */ De(r_, [["__scopeId", "data-v-
|
|
12605
|
+
}), o_ = /* @__PURE__ */ De(r_, [["__scopeId", "data-v-5d0511e1"]]), a_ = { class: "modal-title" }, i_ = ["data-test"], s_ = {
|
|
12606
12606
|
key: 0,
|
|
12607
12607
|
class: "required"
|
|
12608
12608
|
}, u_ = /* @__PURE__ */ Dt({
|
|
@@ -12835,7 +12835,7 @@ const Vk = je({
|
|
|
12835
12835
|
_: 1
|
|
12836
12836
|
}, 8, ["model-value"]));
|
|
12837
12837
|
}
|
|
12838
|
-
}), eM = /* @__PURE__ */ De(u_, [["__scopeId", "data-v-
|
|
12838
|
+
}), eM = /* @__PURE__ */ De(u_, [["__scopeId", "data-v-ed06c39a"]]), Mh = je({
|
|
12839
12839
|
name: "QTd",
|
|
12840
12840
|
props: {
|
|
12841
12841
|
props: Object,
|
|
@@ -14772,7 +14772,7 @@ const H_ = /* @__PURE__ */ De(z_, [["render", W_]]), U_ = {
|
|
|
14772
14772
|
]), 1032, ["selected", "rows", "columns", "selection", "table-row-style-fn"])
|
|
14773
14773
|
]));
|
|
14774
14774
|
}
|
|
14775
|
-
}), t3 = /* @__PURE__ */ De(e3, [["__scopeId", "data-v-
|
|
14775
|
+
}), t3 = /* @__PURE__ */ De(e3, [["__scopeId", "data-v-e633b819"]]), n3 = {
|
|
14776
14776
|
key: 0,
|
|
14777
14777
|
class: "table-controls"
|
|
14778
14778
|
}, r3 = { class: "table-wrapper" }, o3 = {
|
|
@@ -14912,7 +14912,7 @@ const H_ = /* @__PURE__ */ De(z_, [["render", W_]]), U_ = {
|
|
|
14912
14912
|
_: 3
|
|
14913
14913
|
}, 8, ["modelValue"]));
|
|
14914
14914
|
}
|
|
14915
|
-
}), nM = /* @__PURE__ */ De(u3, [["__scopeId", "data-v-
|
|
14915
|
+
}), nM = /* @__PURE__ */ De(u3, [["__scopeId", "data-v-f69f612b"]]);
|
|
14916
14916
|
function oa(e, t, n, r) {
|
|
14917
14917
|
const o = [];
|
|
14918
14918
|
return e.forEach((a) => {
|
|
@@ -17259,6 +17259,9 @@ class HS extends yn {
|
|
|
17259
17259
|
async fetchWarehouseByCompliance(t) {
|
|
17260
17260
|
return await this.get(`repairs/metrics/get_warehouse_by_compliance?${t}`);
|
|
17261
17261
|
}
|
|
17262
|
+
async fetchWarehouseByComplianceDetails(t) {
|
|
17263
|
+
return await this.get(`repairs/metrics/get_warehouse_by_compliance/details?${t}`);
|
|
17264
|
+
}
|
|
17262
17265
|
async fetchEquipmentTree(t) {
|
|
17263
17266
|
return await this.get(`repairs/equipments/get_equipment_tree_repaired_not_repaired?${t}`);
|
|
17264
17267
|
}
|