shared-ritm 1.3.38 → 1.3.40
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 +16 -10
- package/dist/shared-ritm.umd.js +150 -150
- package/dist/types/api/services/AuthService.d.ts +1 -0
- package/package.json +70 -64
- package/src/App.vue +2461 -2461
- package/src/api/services/AuthService.ts +10 -3
- package/src/api/services/ControlsService.ts +96 -96
- package/src/api/services/EquipmentService.ts +29 -29
- package/src/api/services/GanttService.ts +23 -23
- package/src/api/services/MetricsService.ts +123 -123
- package/src/api/services/RepairsService.ts +111 -111
- package/src/api/services/TasksService.ts +157 -157
- package/src/api/services/UserService.ts +123 -123
- package/src/api/services/VideoService.ts +118 -118
- package/src/api/types/Api_Metrics.ts +5 -5
- package/src/api/types/Api_Repairs.ts +186 -186
- package/src/api/types/Api_Tasks.ts +376 -376
- package/src/api/types/Api_Video.ts +244 -244
- package/src/common/app-button/Button.stories.ts +369 -0
- package/src/common/app-checkbox/Checkbox.stories.ts +60 -0
- package/src/common/app-date-picker/DatePicker.stories.ts +66 -0
- package/src/common/app-datepicker/Datepicker.stories.ts +145 -0
- package/src/common/app-dialogs/AppConfirmDialog.vue +109 -109
- package/src/common/app-dialogs/Confirm.stories.ts +93 -0
- package/src/common/app-dropdown/Dropdown.stories.ts +94 -0
- package/src/common/app-file/File.stories.ts +104 -0
- package/src/common/app-icon/AppIcon.vue +108 -108
- package/src/common/app-icon/Icon.stories.ts +91 -0
- package/src/common/app-input/Input.stories.ts +160 -0
- package/src/common/app-input-new/InputNew.stories.ts +240 -0
- package/src/common/app-input-search/InputSearch.stories.ts +149 -0
- package/src/common/app-layout/components/AppLayoutHeader.vue +289 -273
- package/src/common/app-loader/Loader.stories.ts +114 -0
- package/src/common/app-select/AppSelect.vue +159 -159
- package/src/common/app-select/Select.stories.ts +155 -0
- package/src/common/app-sidebar/AppSidebar.vue +174 -174
- package/src/common/app-table/AppTable.vue +313 -313
- package/src/common/app-table/components/ModalSelect.stories.ts +323 -0
- package/src/common/app-table/components/ModalSelect.vue +302 -302
- package/src/common/app-table/components/TableModal.vue +367 -367
- package/src/common/app-table/controllers/useColumnSelector.ts +45 -45
- package/src/common/app-table/controllers/useTableModel.ts +97 -102
- package/src/common/app-toggle/Toggle.stories.ts +69 -0
- package/src/common/app-wrapper/AppWrapper.vue +31 -28
- package/src/configs/storybook.ts +14 -0
- package/src/index.ts +131 -131
- package/src/shared/styles/general.css +140 -124
- package/src/styles/variables.sass +12 -12
- 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
|
@@ -8313,8 +8313,8 @@ const Sx = /* @__PURE__ */ De(Cx, [["render", _x]]), Ex = /* @__PURE__ */ Dt({
|
|
|
8313
8313
|
},
|
|
8314
8314
|
setup(e) {
|
|
8315
8315
|
Oa((o) => ({
|
|
8316
|
-
|
|
8317
|
-
|
|
8316
|
+
v0cdb716b: o.color,
|
|
8317
|
+
v2025860e: o.size
|
|
8318
8318
|
}));
|
|
8319
8319
|
const n = e;
|
|
8320
8320
|
function t(o) {
|
|
@@ -9850,7 +9850,7 @@ const xd = je({
|
|
|
9850
9850
|
emits: ["update:modelValue"],
|
|
9851
9851
|
setup(e, { emit: n }) {
|
|
9852
9852
|
Oa((c) => ({
|
|
9853
|
-
|
|
9853
|
+
a123f042: c.borderColor
|
|
9854
9854
|
}));
|
|
9855
9855
|
const t = e, r = X({}), o = n, a = _({
|
|
9856
9856
|
get() {
|
|
@@ -11519,7 +11519,7 @@ function QC(e, n) {
|
|
|
11519
11519
|
$t(e.$slots, "default", {}, void 0, !0)
|
|
11520
11520
|
]);
|
|
11521
11521
|
}
|
|
11522
|
-
const ID = /* @__PURE__ */ De(YC, [["render", QC], ["__scopeId", "data-v-
|
|
11522
|
+
const ID = /* @__PURE__ */ De(YC, [["render", QC], ["__scopeId", "data-v-aef16077"]]), di = je({
|
|
11523
11523
|
name: "QCardSection",
|
|
11524
11524
|
props: {
|
|
11525
11525
|
tag: {
|
|
@@ -12350,7 +12350,7 @@ const yk = je({
|
|
|
12350
12350
|
], 64);
|
|
12351
12351
|
};
|
|
12352
12352
|
}
|
|
12353
|
-
}), Ok = /* @__PURE__ */ De(Bk, [["__scopeId", "data-v-
|
|
12353
|
+
}), Ok = /* @__PURE__ */ De(Bk, [["__scopeId", "data-v-7b05047b"]]), Nk = { class: "modal-title" }, Lk = ["data-test"], qk = {
|
|
12354
12354
|
key: 0,
|
|
12355
12355
|
class: "required"
|
|
12356
12356
|
}, Vk = /* @__PURE__ */ Dt({
|
|
@@ -12582,7 +12582,7 @@ const yk = je({
|
|
|
12582
12582
|
_: 1
|
|
12583
12583
|
}, 8, ["model-value"]));
|
|
12584
12584
|
}
|
|
12585
|
-
}), DD = /* @__PURE__ */ De(Vk, [["__scopeId", "data-v-
|
|
12585
|
+
}), DD = /* @__PURE__ */ De(Vk, [["__scopeId", "data-v-b25beb9b"]]), Rh = je({
|
|
12586
12586
|
name: "QTd",
|
|
12587
12587
|
props: {
|
|
12588
12588
|
props: Object,
|
|
@@ -14519,7 +14519,7 @@ const C_ = /* @__PURE__ */ De(b_, [["render", x_]]), k_ = {
|
|
|
14519
14519
|
]), 1032, ["selected", "rows", "columns", "selection", "table-row-style-fn"])
|
|
14520
14520
|
]));
|
|
14521
14521
|
}
|
|
14522
|
-
}), F_ = /* @__PURE__ */ De(M_, [["__scopeId", "data-v-
|
|
14522
|
+
}), F_ = /* @__PURE__ */ De(M_, [["__scopeId", "data-v-e633b819"]]), P_ = {
|
|
14523
14523
|
key: 0,
|
|
14524
14524
|
class: "table-controls"
|
|
14525
14525
|
}, B_ = { class: "table-wrapper" }, O_ = {
|
|
@@ -17170,7 +17170,13 @@ function rM() {
|
|
|
17170
17170
|
}
|
|
17171
17171
|
class ES extends kn {
|
|
17172
17172
|
login(n, t) {
|
|
17173
|
-
return this.post("/login", {
|
|
17173
|
+
return this.post("/v2/login", {
|
|
17174
|
+
email: n,
|
|
17175
|
+
password: t
|
|
17176
|
+
});
|
|
17177
|
+
}
|
|
17178
|
+
refresh(n, t) {
|
|
17179
|
+
return this.post("/v2/auth/refresh", {
|
|
17174
17180
|
email: n,
|
|
17175
17181
|
password: t
|
|
17176
17182
|
});
|
|
@@ -17184,7 +17190,7 @@ class ES extends kn {
|
|
|
17184
17190
|
});
|
|
17185
17191
|
}
|
|
17186
17192
|
logout() {
|
|
17187
|
-
return this.post("/logout", null);
|
|
17193
|
+
return this.post("/v2/logout", null);
|
|
17188
17194
|
}
|
|
17189
17195
|
userInfo() {
|
|
17190
17196
|
return this.get("/users/auth");
|
|
@@ -17193,7 +17199,7 @@ class ES extends kn {
|
|
|
17193
17199
|
return this.get("/configs");
|
|
17194
17200
|
}
|
|
17195
17201
|
changePassword(n, t, r) {
|
|
17196
|
-
return this.put(`/users/${n}/password`, {
|
|
17202
|
+
return this.put(`/v2/auth/users/${n}/password`, {
|
|
17197
17203
|
password: t,
|
|
17198
17204
|
password_confirmation: r
|
|
17199
17205
|
});
|