shared-ritm 1.2.34 → 1.2.36

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.
Files changed (46) hide show
  1. package/README.md +103 -103
  2. package/dist/index.css +1 -1
  3. package/dist/shared-ritm.es.js +12 -11
  4. package/dist/shared-ritm.umd.js +3 -3
  5. package/dist/types/api/services/AuthService.d.ts +3 -3
  6. package/dist/types/api/services/ControlsService.d.ts +11 -0
  7. package/dist/types/api/services/RepairsService.d.ts +7 -7
  8. package/dist/types/api/settings/ApiService.d.ts +1 -1
  9. package/dist/types/api/types/Api_Controls.d.ts +12 -0
  10. package/package.json +1 -1
  11. package/src/App.vue +2461 -2461
  12. package/src/api/services/AuthService.ts +58 -58
  13. package/src/api/services/ControlsService.ts +32 -0
  14. package/src/api/services/GanttService.ts +17 -17
  15. package/src/api/services/MetricsService.ts +101 -101
  16. package/src/api/settings/ApiService.ts +126 -126
  17. package/src/api/types/Api_Controls.ts +12 -0
  18. package/src/api/types/Api_Files.ts +1 -1
  19. package/src/api/types/Api_Projects.ts +55 -55
  20. package/src/api/types/Api_Repairs.ts +93 -93
  21. package/src/common/app-checkbox/AppCheckbox.vue +26 -26
  22. package/src/common/app-date-picker/AppDatePicker.vue +81 -81
  23. package/src/common/app-dialogs/AppConfirmDialog.vue +100 -100
  24. package/src/common/app-dropdown/AppDropdown.vue +31 -31
  25. package/src/common/app-icon/AppIcon.vue +108 -108
  26. package/src/common/app-input-search/AppInputSearch.vue +174 -174
  27. package/src/common/app-layout/AppLayout.vue +84 -84
  28. package/src/common/app-layout/components/AppLayoutHeader.vue +246 -246
  29. package/src/common/app-layout/components/AppLayoutPage.vue +16 -16
  30. package/src/common/app-select/AppSelect.vue +157 -157
  31. package/src/common/app-sidebar/components/SidebarMenuItem.vue +146 -146
  32. package/src/common/app-toggle/AppToggle.vue +23 -23
  33. package/src/common/app-wrapper/AppWrapper.vue +28 -28
  34. package/src/icons/dialogs/RemoveIcon.vue +12 -12
  35. package/src/icons/dialogs/SafetyIcon.vue +12 -12
  36. package/src/icons/header/NotificationIcon.vue +18 -18
  37. package/src/icons/header/PersonIcon.vue +11 -11
  38. package/src/icons/header/SettingIcon.vue +14 -14
  39. package/src/icons/task/attention-icon.vue +13 -13
  40. package/src/icons/task/clock-icon.vue +10 -10
  41. package/src/icons/task/delete-icon.vue +10 -10
  42. package/src/icons/task/fire-icon.vue +16 -16
  43. package/src/main.ts +28 -28
  44. package/src/shared/styles/general.css +96 -96
  45. package/src/utils/confirm.ts +12 -12
  46. package/src/utils/notification.ts +9 -9
@@ -4342,7 +4342,7 @@ const Nu = {
4342
4342
  ])
4343
4343
  ]));
4344
4344
  }
4345
- }), Av = /* @__PURE__ */ le(Qu, [["__scopeId", "data-v-a3ab30e6"]]);
4345
+ }), Av = /* @__PURE__ */ le(Qu, [["__scopeId", "data-v-41286752"]]);
4346
4346
  let or, no = 0;
4347
4347
  const Ye = new Array(256);
4348
4348
  for (let e = 0; e < 256; e++)
@@ -5500,8 +5500,8 @@ const Ca = be({
5500
5500
  emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
5501
5501
  setup(e, { emit: t }) {
5502
5502
  _n((l) => ({
5503
- "33b606d4": l.borderRadius,
5504
- f2e6e6c6: l.height
5503
+ "37f45cbd": l.borderRadius,
5504
+ "5617c546": l.height
5505
5505
  }));
5506
5506
  const n = e, o = t, r = f({
5507
5507
  get: () => n.modelValue !== null && n.modelValue !== void 0 && n.type === "number" ? +n.modelValue : n.modelValue,
@@ -7077,8 +7077,8 @@ const c1 = /* @__PURE__ */ le(a1, [["render", u1]]), d1 = /* @__PURE__ */ We({
7077
7077
  },
7078
7078
  setup(e) {
7079
7079
  _n((r) => ({
7080
- f542c750: r.color,
7081
- "07daff28": r.size
7080
+ f22687d6: r.color,
7081
+ "6ada15e2": r.size
7082
7082
  }));
7083
7083
  const t = e;
7084
7084
  function n(r) {
@@ -7294,7 +7294,7 @@ function L1(e, t) {
7294
7294
  _: 3
7295
7295
  });
7296
7296
  }
7297
- const Hv = /* @__PURE__ */ le(B1, [["render", L1], ["__scopeId", "data-v-51e4160c"]]), $1 = {
7297
+ const Hv = /* @__PURE__ */ le(B1, [["render", L1], ["__scopeId", "data-v-27ae3e79"]]), $1 = {
7298
7298
  xs: 8,
7299
7299
  sm: 10,
7300
7300
  md: 14,
@@ -8603,7 +8603,7 @@ const P1 = be({
8603
8603
  emits: ["update:modelValue"],
8604
8604
  setup(e, { emit: t }) {
8605
8605
  _n((s) => ({
8606
- e2d84852: s.borderColor
8606
+ "5e128078": s.borderColor
8607
8607
  }));
8608
8608
  const n = e, o = j({}), r = t, i = f({
8609
8609
  get() {
@@ -9677,7 +9677,7 @@ const cr = zr(
9677
9677
  "menu-item__label": "_menu-item__label_fkijr_18"
9678
9678
  }, u0 = {
9679
9679
  $style: s0
9680
- }, c0 = /* @__PURE__ */ le(a0, [["__cssModules", u0], ["__scopeId", "data-v-8d0322c0"]]), d0 = /* @__PURE__ */ We({
9680
+ }, c0 = /* @__PURE__ */ le(a0, [["__cssModules", u0], ["__scopeId", "data-v-7bf4f3ef"]]), d0 = /* @__PURE__ */ We({
9681
9681
  __name: "SidebarMenu",
9682
9682
  props: {
9683
9683
  menuItems: {},
@@ -9920,7 +9920,7 @@ function M0(e, t) {
9920
9920
  gt(e.$slots, "default", {}, void 0, !0)
9921
9921
  ]);
9922
9922
  }
9923
- const Nv = /* @__PURE__ */ le(S0, [["render", M0], ["__scopeId", "data-v-7e325751"]]), dl = be({
9923
+ const Nv = /* @__PURE__ */ le(S0, [["render", M0], ["__scopeId", "data-v-f769f373"]]), dl = be({
9924
9924
  name: "QCardSection",
9925
9925
  props: {
9926
9926
  tag: {
@@ -10283,7 +10283,7 @@ const Y0 = be({
10283
10283
  _: 3
10284
10284
  }, 8, ["color", "content-style"]));
10285
10285
  }
10286
- }), Wv = /* @__PURE__ */ le(Q0, [["__scopeId", "data-v-729e08a0"]]);
10286
+ }), Wv = /* @__PURE__ */ le(Q0, [["__scopeId", "data-v-2bcc638c"]]);
10287
10287
  function Ra(e, t) {
10288
10288
  return function() {
10289
10289
  return e.apply(t, arguments);
@@ -12039,7 +12039,8 @@ class ln {
12039
12039
  }
12040
12040
  async post(t, n, o) {
12041
12041
  try {
12042
- return (await this.axiosInstance.post(t, n, o)).data;
12042
+ const r = await this.axiosInstance.post(t, n, o);
12043
+ return (r == null ? void 0 : r.data) || r;
12043
12044
  } catch (r) {
12044
12045
  const i = r;
12045
12046
  throw this.handleError(i), r;