sm-click-library-ui 0.0.303 → 0.0.305
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.
|
@@ -2016,13 +2016,13 @@ const ud = "v1/api/attendances/attendant/", dd = "v1/api/attendances/department/
|
|
|
2016
2016
|
a.isLoading = !0;
|
|
2017
2017
|
try {
|
|
2018
2018
|
const r = a.last_instance_status;
|
|
2019
|
-
|
|
2019
|
+
r === "DISCONNECTED" || r === "UNDEFINED" ? a.status = !1 : a.status = !0;
|
|
2020
2020
|
} catch (r) {
|
|
2021
2021
|
console.log(r), a.status = "Offline";
|
|
2022
2022
|
}
|
|
2023
|
-
|
|
2023
|
+
a.isLoading = !1;
|
|
2024
2024
|
})
|
|
2025
|
-
),
|
|
2025
|
+
), this.count = this.instances.length, this.loaded = !0;
|
|
2026
2026
|
} catch (n) {
|
|
2027
2027
|
console.log("Erro ao buscar instâncias:", n), this.loaded = !0;
|
|
2028
2028
|
}
|
|
@@ -13789,7 +13789,7 @@ const El = /* @__PURE__ */ dt(By, [["render", zy], ["__scopeId", "data-v-17a2cc3
|
|
|
13789
13789
|
n !== -1 ? this.departments[n] = e : this.departments.push(e);
|
|
13790
13790
|
}
|
|
13791
13791
|
}
|
|
13792
|
-
}), ua = (e) => (it("data-v-
|
|
13792
|
+
}), ua = (e) => (it("data-v-f7b4ce08"), e = e(), ut(), e), sg = { class: "depart-select-container" }, lg = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, ig = ["placeholder"], ug = /* @__PURE__ */ ua(() => /* @__PURE__ */ m("div", { class: "icon-container" }, [
|
|
13793
13793
|
/* @__PURE__ */ m("svg", {
|
|
13794
13794
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13795
13795
|
fill: "none",
|
|
@@ -13897,7 +13897,7 @@ const El = /* @__PURE__ */ dt(By, [["render", zy], ["__scopeId", "data-v-17a2cc3
|
|
|
13897
13897
|
const _ = t.externalDepartments || r.departments;
|
|
13898
13898
|
!_ || _.length === 0 || (t.department && t.department.length > 0 && t.department.forEach((k) => {
|
|
13899
13899
|
const v = _.find((E) => E.id === k.id);
|
|
13900
|
-
v && (v.selected = !0, s.value.some(
|
|
13900
|
+
v && (v.selected = !0, k.permission && (v.permission = k.permission), s.value.some(
|
|
13901
13901
|
(ee) => ee.id === k.id
|
|
13902
13902
|
) || s.value.push(v));
|
|
13903
13903
|
}), a("depart", s.value));
|
|
@@ -13980,7 +13980,7 @@ const El = /* @__PURE__ */ dt(By, [["render", zy], ["__scopeId", "data-v-17a2cc3
|
|
|
13980
13980
|
])
|
|
13981
13981
|
]));
|
|
13982
13982
|
}
|
|
13983
|
-
}, Il = /* @__PURE__ */ dt(Ag, [["__scopeId", "data-v-
|
|
13983
|
+
}, Il = /* @__PURE__ */ dt(Ag, [["__scopeId", "data-v-f7b4ce08"]]), qa = (e) => (it("data-v-95af29db"), e = e(), ut(), e), Mg = { class: "depart-select-container" }, Dg = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, Tg = ["placeholder"], Pg = /* @__PURE__ */ qa(() => /* @__PURE__ */ m("div", { class: "icon-container" }, [
|
|
13984
13984
|
/* @__PURE__ */ m("svg", {
|
|
13985
13985
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13986
13986
|
fill: "none",
|