shared-ritm 1.3.126 → 1.3.127
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 +17 -14
- 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 +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 +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/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 +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
|
() => {
|
|
@@ -6604,7 +6604,7 @@ const zb = { class: "app-input-new" }, $b = {
|
|
|
6604
6604
|
}, 8, ["modelValue", "type", "rules", "placeholder", "disable", "readonly", "class", "error", "autocomplete", "debounce", "loading", "maxlength", "counter"])
|
|
6605
6605
|
]));
|
|
6606
6606
|
}
|
|
6607
|
-
}), Ub = /* @__PURE__ */ De(Hb, [["__scopeId", "data-v-
|
|
6607
|
+
}), Ub = /* @__PURE__ */ De(Hb, [["__scopeId", "data-v-726438b3"]]), jb = { class: "datepicker" }, Gb = /* @__PURE__ */ Dt({
|
|
6608
6608
|
__name: "AppDatepicker",
|
|
6609
6609
|
props: /* @__PURE__ */ li({
|
|
6610
6610
|
label: { default: "" },
|
|
@@ -6805,7 +6805,7 @@ const zb = { class: "app-input-new" }, $b = {
|
|
|
6805
6805
|
emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
|
|
6806
6806
|
setup(e, { emit: t }) {
|
|
6807
6807
|
Wo((u) => ({
|
|
6808
|
-
|
|
6808
|
+
a452a446: u.height
|
|
6809
6809
|
}));
|
|
6810
6810
|
const n = e, r = t, o = X(!1), a = _(() => n.type === "password" ? o.value ? "text" : "password" : n.type || "text"), i = _({
|
|
6811
6811
|
get: () => n.modelValue !== null && n.modelValue !== void 0 && n.type === "number" ? +n.modelValue : n.modelValue,
|
|
@@ -8502,8 +8502,8 @@ const jx = /* @__PURE__ */ De(Wx, [["render", Ux]]), Gx = /* @__PURE__ */ Dt({
|
|
|
8502
8502
|
},
|
|
8503
8503
|
setup(e) {
|
|
8504
8504
|
Wo((o) => ({
|
|
8505
|
-
|
|
8506
|
-
|
|
8505
|
+
v65dd3b2f: o.color,
|
|
8506
|
+
v66692ab5: o.size
|
|
8507
8507
|
}));
|
|
8508
8508
|
const t = e;
|
|
8509
8509
|
function n(o) {
|
|
@@ -10040,7 +10040,7 @@ const Rd = je({
|
|
|
10040
10040
|
emits: ["update:modelValue"],
|
|
10041
10041
|
setup(e, { emit: t }) {
|
|
10042
10042
|
Wo((c) => ({
|
|
10043
|
-
|
|
10043
|
+
v4a6e20c2: c.borderColor
|
|
10044
10044
|
}));
|
|
10045
10045
|
const n = e, r = X({}), o = t, a = _({
|
|
10046
10046
|
get() {
|
|
@@ -10798,7 +10798,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
|
|
|
10798
10798
|
tab: KC
|
|
10799
10799
|
}, XC = {
|
|
10800
10800
|
$style: YC
|
|
10801
|
-
}, GD = /* @__PURE__ */ De(GC, [["__cssModules", XC], ["__scopeId", "data-v-
|
|
10801
|
+
}, GD = /* @__PURE__ */ De(GC, [["__cssModules", XC], ["__scopeId", "data-v-94e1b81b"]]), Dh = 150, QC = je({
|
|
10802
10802
|
name: "QDrawer",
|
|
10803
10803
|
inheritAttrs: !1,
|
|
10804
10804
|
props: {
|
|
@@ -11734,7 +11734,7 @@ function yk(e, t) {
|
|
|
11734
11734
|
Bt(e.$slots, "default", {}, void 0, !0)
|
|
11735
11735
|
]);
|
|
11736
11736
|
}
|
|
11737
|
-
const XD = /* @__PURE__ */ De(mk, [["render", yk], ["__scopeId", "data-v-
|
|
11737
|
+
const XD = /* @__PURE__ */ De(mk, [["render", yk], ["__scopeId", "data-v-aef16077"]]), hi = je({
|
|
11738
11738
|
name: "QCardSection",
|
|
11739
11739
|
props: {
|
|
11740
11740
|
tag: {
|
|
@@ -12581,7 +12581,7 @@ const qk = je({
|
|
|
12581
12581
|
], 64);
|
|
12582
12582
|
};
|
|
12583
12583
|
}
|
|
12584
|
-
}), r_ = /* @__PURE__ */ De(n_, [["__scopeId", "data-v-
|
|
12584
|
+
}), r_ = /* @__PURE__ */ De(n_, [["__scopeId", "data-v-5d0511e1"]]), o_ = { class: "modal-title" }, a_ = ["data-test"], i_ = {
|
|
12585
12585
|
key: 0,
|
|
12586
12586
|
class: "required"
|
|
12587
12587
|
}, s_ = /* @__PURE__ */ Dt({
|
|
@@ -12814,7 +12814,7 @@ const qk = je({
|
|
|
12814
12814
|
_: 1
|
|
12815
12815
|
}, 8, ["model-value"]));
|
|
12816
12816
|
}
|
|
12817
|
-
}), JD = /* @__PURE__ */ De(s_, [["__scopeId", "data-v-
|
|
12817
|
+
}), JD = /* @__PURE__ */ De(s_, [["__scopeId", "data-v-ed06c39a"]]), Mh = je({
|
|
12818
12818
|
name: "QTd",
|
|
12819
12819
|
props: {
|
|
12820
12820
|
props: Object,
|
|
@@ -14751,7 +14751,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
|
|
|
14751
14751
|
]), 1032, ["selected", "rows", "columns", "selection", "table-row-style-fn"])
|
|
14752
14752
|
]));
|
|
14753
14753
|
}
|
|
14754
|
-
}), e3 = /* @__PURE__ */ De(J_, [["__scopeId", "data-v-
|
|
14754
|
+
}), e3 = /* @__PURE__ */ De(J_, [["__scopeId", "data-v-e633b819"]]), t3 = {
|
|
14755
14755
|
key: 0,
|
|
14756
14756
|
class: "table-controls"
|
|
14757
14757
|
}, n3 = { class: "table-wrapper" }, r3 = {
|
|
@@ -14891,7 +14891,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
|
|
|
14891
14891
|
_: 3
|
|
14892
14892
|
}, 8, ["modelValue"]));
|
|
14893
14893
|
}
|
|
14894
|
-
}), tM = /* @__PURE__ */ De(s3, [["__scopeId", "data-v-
|
|
14894
|
+
}), tM = /* @__PURE__ */ De(s3, [["__scopeId", "data-v-f69f612b"]]);
|
|
14895
14895
|
function oa(e, t, n, r) {
|
|
14896
14896
|
const o = [];
|
|
14897
14897
|
return e.forEach((a) => {
|
|
@@ -17235,6 +17235,9 @@ class WS extends yn {
|
|
|
17235
17235
|
async fetchWarehouseByCompliance(t) {
|
|
17236
17236
|
return await this.get(`repairs/metrics/get_warehouse_by_compliance?${t}`);
|
|
17237
17237
|
}
|
|
17238
|
+
async fetchEquipmentTree(t) {
|
|
17239
|
+
return await this.get(`repairs/equipments/get_equipment_tree_repaired_not_repaired?${t}`);
|
|
17240
|
+
}
|
|
17238
17241
|
}
|
|
17239
17242
|
let yl;
|
|
17240
17243
|
function CM() {
|