shared-ritm 1.2.74 → 1.2.75

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 (53) hide show
  1. package/README.md +103 -103
  2. package/dist/index.css +1 -1
  3. package/dist/shared-ritm.es.js +15 -15
  4. package/dist/shared-ritm.umd.js +8 -8
  5. package/dist/types/api/services/TasksService.d.ts +3 -3
  6. package/dist/types/api/types/Api_Tasks.d.ts +54 -23
  7. package/dist/types/api/types/Api_Users.d.ts +43 -0
  8. package/package.json +64 -64
  9. package/src/api/services/PhotoService.ts +137 -137
  10. package/src/api/services/RepairsService.ts +119 -119
  11. package/src/api/services/TasksService.ts +3 -3
  12. package/src/api/services/UserService.ts +19 -19
  13. package/src/api/types/Api_Controls.ts +72 -72
  14. package/src/api/types/Api_Files.ts +1 -1
  15. package/src/api/types/Api_Instruments.ts +98 -98
  16. package/src/api/types/Api_Projects.ts +55 -55
  17. package/src/api/types/Api_Repairs.ts +115 -115
  18. package/src/api/types/Api_Tasks.ts +59 -25
  19. package/src/api/types/Api_User.ts +44 -44
  20. package/src/common/app-checkbox/AppCheckbox.vue +26 -26
  21. package/src/common/app-datepicker/AppDatepicker.vue +165 -165
  22. package/src/common/app-dialogs/AppConfirmDialog.vue +99 -99
  23. package/src/common/app-dropdown/AppDropdown.vue +31 -31
  24. package/src/common/app-input/AppInput.vue +148 -148
  25. package/src/common/app-input-new/AppInputNew.vue +152 -152
  26. package/src/common/app-select/AppSelect.vue +157 -157
  27. package/src/common/app-sheet/AppSheet.vue +120 -120
  28. package/src/common/app-sidebar/components/SidebarMenuItem.vue +148 -148
  29. package/src/common/app-table/AppTable.vue +297 -297
  30. package/src/common/app-table/AppTableLayout.vue +111 -111
  31. package/src/common/app-table/components/ModalSelect.vue +270 -270
  32. package/src/common/app-table/components/TableModal.vue +329 -329
  33. package/src/common/app-table/components/TablePagination.vue +152 -152
  34. package/src/common/app-table/components/TableSearch.vue +76 -76
  35. package/src/common/app-table/controllers/useBaseTable.ts +42 -42
  36. package/src/common/app-table/controllers/useColumnSelector.ts +38 -38
  37. package/src/common/app-table/controllers/useTableModel.ts +93 -93
  38. package/src/common/app-toggle/AppToggle.vue +24 -24
  39. package/src/common/app-wrapper/AppWrapper.vue +28 -28
  40. package/src/icons/components/table-filter-icon.vue +30 -30
  41. package/src/icons/dialogs/RemoveIcon.vue +12 -12
  42. package/src/icons/dialogs/SafetyIcon.vue +12 -12
  43. package/src/icons/task/attention-icon.vue +13 -13
  44. package/src/icons/task/clock-icon.vue +10 -10
  45. package/src/icons/task/delete-icon.vue +10 -10
  46. package/src/icons/task/fire-icon.vue +16 -16
  47. package/src/index.ts +103 -103
  48. package/src/main.ts +28 -28
  49. package/src/shared/styles/general.css +125 -125
  50. package/src/styles/variables.sass +12 -12
  51. package/src/utils/confirm.ts +12 -12
  52. package/src/utils/helpers.ts +58 -58
  53. package/src/utils/notification.ts +9 -9
@@ -6195,7 +6195,7 @@ const $y = { class: "app-input-new" }, Hy = {
6195
6195
  }, 8, ["modelValue", "type", "rules", "placeholder", "disable", "readonly", "class", "error"])
6196
6196
  ]));
6197
6197
  }
6198
- }), Gy = /* @__PURE__ */ De(jy, [["__scopeId", "data-v-6782e60a"]]), Ky = { class: "datepicker" }, Xy = /* @__PURE__ */ Tt({
6198
+ }), Gy = /* @__PURE__ */ De(jy, [["__scopeId", "data-v-d2e5a6d7"]]), Ky = { class: "datepicker" }, Xy = /* @__PURE__ */ Tt({
6199
6199
  __name: "AppDatepicker",
6200
6200
  props: /* @__PURE__ */ xf({
6201
6201
  label: {},
@@ -6302,7 +6302,7 @@ const $y = { class: "app-input-new" }, Hy = {
6302
6302
  }, 8, ["modelValue", "label", "required", "rules", "error", "disable"])
6303
6303
  ]));
6304
6304
  }
6305
- }), rA = /* @__PURE__ */ De(Xy, [["__scopeId", "data-v-f8bab635"]]), Yy = /* @__PURE__ */ Tt({
6305
+ }), rA = /* @__PURE__ */ De(Xy, [["__scopeId", "data-v-e9329b55"]]), Yy = /* @__PURE__ */ Tt({
6306
6306
  __name: "AppInput",
6307
6307
  props: {
6308
6308
  field: { type: Boolean },
@@ -6376,7 +6376,7 @@ const $y = { class: "app-input-new" }, Hy = {
6376
6376
  emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
6377
6377
  setup(e, { emit: n }) {
6378
6378
  Sa((u) => ({
6379
- "542fbebd": u.height
6379
+ "2cd26a79": u.height
6380
6380
  }));
6381
6381
  const t = e, r = n, o = te(!1), a = S(() => t.type === "password" ? o.value ? "text" : "password" : t.type || "text"), i = S({
6382
6382
  get: () => t.modelValue !== null && t.modelValue !== void 0 && t.type === "number" ? +t.modelValue : t.modelValue,
@@ -9587,7 +9587,7 @@ const id = We({
9587
9587
  emits: ["update:modelValue"],
9588
9588
  setup(e, { emit: n }) {
9589
9589
  Sa((c) => ({
9590
- "5e128078": c.borderColor
9590
+ e2d84852: c.borderColor
9591
9591
  }));
9592
9592
  const t = e, r = te({}), o = n, a = S({
9593
9593
  get() {
@@ -9730,7 +9730,7 @@ const id = We({
9730
9730
  emits: ["update:dialogRef", "update:currentTabName"],
9731
9731
  setup(e, { emit: n }) {
9732
9732
  Sa((a) => ({
9733
- "522a75ea": a.width
9733
+ d2d2192e: a.width
9734
9734
  }));
9735
9735
  const t = e, r = n, o = S({
9736
9736
  get() {
@@ -9801,7 +9801,7 @@ const id = We({
9801
9801
  "sheet-dialog": "_sheet-dialog_1rkva_1"
9802
9802
  }, Tx = {
9803
9803
  $style: Ix
9804
- }, cA = /* @__PURE__ */ De(Rx, [["__cssModules", Tx], ["__scopeId", "data-v-2f33e930"]]), fh = 150, Ax = We({
9804
+ }, cA = /* @__PURE__ */ De(Rx, [["__cssModules", Tx], ["__scopeId", "data-v-867909ca"]]), fh = 150, Ax = We({
9805
9805
  name: "QDrawer",
9806
9806
  inheritAttrs: !1,
9807
9807
  props: {
@@ -10479,7 +10479,7 @@ const id = We({
10479
10479
  "menu-item__label": "_menu-item__label_fkijr_18"
10480
10480
  }, Ox = {
10481
10481
  $style: Bx
10482
- }, Nx = /* @__PURE__ */ De(Px, [["__cssModules", Ox], ["__scopeId", "data-v-f6a202a4"]]), Lx = /* @__PURE__ */ Tt({
10482
+ }, Nx = /* @__PURE__ */ De(Px, [["__cssModules", Ox], ["__scopeId", "data-v-8438fdd9"]]), Lx = /* @__PURE__ */ Tt({
10483
10483
  __name: "SidebarMenu",
10484
10484
  props: {
10485
10485
  menuItems: {},
@@ -10724,7 +10724,7 @@ function Qx(e, n) {
10724
10724
  Tn(e.$slots, "default", {}, void 0, !0)
10725
10725
  ]);
10726
10726
  }
10727
- const hA = /* @__PURE__ */ De(Xx, [["render", Qx], ["__scopeId", "data-v-f769f373"]]), bs = We({
10727
+ const hA = /* @__PURE__ */ De(Xx, [["render", Qx], ["__scopeId", "data-v-7e325751"]]), bs = We({
10728
10728
  name: "QCardSection",
10729
10729
  props: {
10730
10730
  tag: {
@@ -11086,7 +11086,7 @@ const yC = We({
11086
11086
  _: 3
11087
11087
  }, 8, ["color", "content-style"]));
11088
11088
  }
11089
- }), vA = /* @__PURE__ */ De(bC, [["__scopeId", "data-v-2bcc638c"]]), wC = { class: "table-pagination" }, xC = ["disabled"], CC = { class: "pages" }, _C = ["disabled", "onClick"], kC = ["disabled"], SC = /* @__PURE__ */ Tt({
11089
+ }), vA = /* @__PURE__ */ De(bC, [["__scopeId", "data-v-729e08a0"]]), wC = { class: "table-pagination" }, xC = ["disabled"], CC = { class: "pages" }, _C = ["disabled", "onClick"], kC = ["disabled"], SC = /* @__PURE__ */ Tt({
11090
11090
  __name: "TablePagination",
11091
11091
  props: {
11092
11092
  modelValue: {},
@@ -11151,7 +11151,7 @@ const yC = We({
11151
11151
  ], 8, kC)
11152
11152
  ]));
11153
11153
  }
11154
- }), EC = /* @__PURE__ */ De(SC, [["__scopeId", "data-v-9db9f6f7"]]), RC = /* @__PURE__ */ Tt({
11154
+ }), EC = /* @__PURE__ */ De(SC, [["__scopeId", "data-v-73335c1c"]]), RC = /* @__PURE__ */ Tt({
11155
11155
  __name: "TableSearch",
11156
11156
  props: {
11157
11157
  modelValue: {},
@@ -11193,7 +11193,7 @@ const yC = We({
11193
11193
  } : void 0
11194
11194
  ]), 1032, ["modelValue", "placeholder"]));
11195
11195
  }
11196
- }), IC = /* @__PURE__ */ De(RC, [["__scopeId", "data-v-7344789a"]]), TC = We({
11196
+ }), IC = /* @__PURE__ */ De(RC, [["__scopeId", "data-v-db0af3f3"]]), TC = We({
11197
11197
  name: "QForm",
11198
11198
  props: {
11199
11199
  autofocus: Boolean,
@@ -11518,7 +11518,7 @@ const yC = We({
11518
11518
  ], 64);
11519
11519
  };
11520
11520
  }
11521
- }), NC = /* @__PURE__ */ De(OC, [["__scopeId", "data-v-3074b583"]]), LC = { class: "modal-title" }, qC = {
11521
+ }), NC = /* @__PURE__ */ De(OC, [["__scopeId", "data-v-4f22bb7e"]]), LC = { class: "modal-title" }, qC = {
11522
11522
  key: 0,
11523
11523
  class: "field-label"
11524
11524
  }, VC = {
@@ -11722,7 +11722,7 @@ const yC = We({
11722
11722
  _: 1
11723
11723
  }, 8, ["model-value"]));
11724
11724
  }
11725
- }), mA = /* @__PURE__ */ De(zC, [["__scopeId", "data-v-61118cdf"]]), hh = We({
11725
+ }), mA = /* @__PURE__ */ De(zC, [["__scopeId", "data-v-8f11be96"]]), hh = We({
11726
11726
  name: "QTd",
11727
11727
  props: {
11728
11728
  props: Object,
@@ -13659,7 +13659,7 @@ const __ = /* @__PURE__ */ De(w_, [["render", C_]]), k_ = ["onClick"], S_ = {
13659
13659
  _: 1
13660
13660
  }));
13661
13661
  }
13662
- }), F_ = /* @__PURE__ */ De(M_, [["__scopeId", "data-v-9805b047"]]), P_ = {
13662
+ }), F_ = /* @__PURE__ */ De(M_, [["__scopeId", "data-v-01598f13"]]), P_ = {
13663
13663
  key: 0,
13664
13664
  class: "table-controls"
13665
13665
  }, B_ = { class: "table-wrapper" }, O_ = {
@@ -13722,7 +13722,7 @@ const __ = /* @__PURE__ */ De(w_, [["render", C_]]), k_ = ["onClick"], S_ = {
13722
13722
  o.modalSlot ? Tn(o.$slots, "modal", { key: 1 }, void 0, !0) : at("", !0)
13723
13723
  ], 2));
13724
13724
  }
13725
- }), gA = /* @__PURE__ */ De(N_, [["__scopeId", "data-v-5605925b"]]);
13725
+ }), gA = /* @__PURE__ */ De(N_, [["__scopeId", "data-v-cd4ce89f"]]);
13726
13726
  function Xv(e, n) {
13727
13727
  return function() {
13728
13728
  return e.apply(n, arguments);