sm-click-library-ui 0.0.233 → 0.0.235
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.
|
@@ -13647,7 +13647,7 @@ const jy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13647
13647
|
n !== -1 ? this.departments[n] = e : this.departments.push(e);
|
|
13648
13648
|
}
|
|
13649
13649
|
}
|
|
13650
|
-
}), ua = (e) => (it("data-v-
|
|
13650
|
+
}), ua = (e) => (it("data-v-d5379a08"), e = e(), ut(), e), ng = { class: "depart-select-container" }, ag = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, rg = ["placeholder"], og = { class: "icon-container" }, sg = {
|
|
13651
13651
|
key: 0,
|
|
13652
13652
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13653
13653
|
fill: "none",
|
|
@@ -13709,11 +13709,11 @@ const jy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13709
13709
|
// ID do departamento a ser deletado
|
|
13710
13710
|
hiddenDepartment: { type: String, default: null }
|
|
13711
13711
|
},
|
|
13712
|
-
emits: ["depart"],
|
|
13712
|
+
emits: ["depart", "component-mounted"],
|
|
13713
13713
|
setup(e, { emit: n }) {
|
|
13714
13714
|
const t = e, a = n, r = eo(), o = Y(""), s = Y([]), l = Y(!1), i = Y(!1), c = G(() => (t.externalDepartments || r.departments).filter((k) => !(t.hiddenDepartment && k.id === t.hiddenDepartment)).filter((k) => !o.value || k.name.toLowerCase().includes(o.value.toLowerCase())));
|
|
13715
13715
|
Ye(() => {
|
|
13716
|
-
f(), d();
|
|
13716
|
+
f(), d(), a("component-mounted");
|
|
13717
13717
|
}), Be(
|
|
13718
13718
|
() => t.modal_filter,
|
|
13719
13719
|
() => {
|
|
@@ -13827,7 +13827,7 @@ const jy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13827
13827
|
])
|
|
13828
13828
|
]));
|
|
13829
13829
|
}
|
|
13830
|
-
}, Rl = /* @__PURE__ */ pt(Mg, [["__scopeId", "data-v-
|
|
13830
|
+
}, Rl = /* @__PURE__ */ pt(Mg, [["__scopeId", "data-v-d5379a08"]]), qa = (e) => (it("data-v-b09c17a8"), e = e(), ut(), e), Dg = { class: "depart-select-container" }, Tg = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, Pg = ["placeholder"], Sg = { class: "icon-container" }, Cg = {
|
|
13831
13831
|
key: 0,
|
|
13832
13832
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13833
13833
|
fill: "none",
|
|
@@ -13896,7 +13896,7 @@ const jy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13896
13896
|
attDel: { type: Object, default: { id: null } },
|
|
13897
13897
|
method: { type: String, default: null }
|
|
13898
13898
|
},
|
|
13899
|
-
emits: ["attend"],
|
|
13899
|
+
emits: ["attend", "component-mounted"],
|
|
13900
13900
|
setup(e, { emit: n }) {
|
|
13901
13901
|
const t = e, a = n, r = La(), o = Y(""), s = Y(!1), l = Y([]), i = Y(!1), c = G(() => {
|
|
13902
13902
|
const D = r.attendants.filter(
|
|
@@ -13919,7 +13919,7 @@ const jy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13919
13919
|
) : D;
|
|
13920
13920
|
}
|
|
13921
13921
|
Ye(() => {
|
|
13922
|
-
f(), p();
|
|
13922
|
+
f(), p(), a("component-mounted");
|
|
13923
13923
|
}), Be(
|
|
13924
13924
|
() => t.modal_filter,
|
|
13925
13925
|
() => {
|
|
@@ -14019,7 +14019,7 @@ const jy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
14019
14019
|
])
|
|
14020
14020
|
]));
|
|
14021
14021
|
}
|
|
14022
|
-
}, Nl = /* @__PURE__ */ pt(Xg, [["__scopeId", "data-v-
|
|
14022
|
+
}, Nl = /* @__PURE__ */ pt(Xg, [["__scopeId", "data-v-b09c17a8"]]), El = (e) => (it("data-v-1a1f2b13"), e = e(), ut(), e), Gg = { class: "" }, Zg = { class: "flex justify-between mb-3" }, Kg = /* @__PURE__ */ El(() => /* @__PURE__ */ m("svg", {
|
|
14023
14023
|
class: "w-4 h-4 text-white",
|
|
14024
14024
|
"aria-hidden": "true",
|
|
14025
14025
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14100,11 +14100,11 @@ function aw(e) {
|
|
|
14100
14100
|
}
|
|
14101
14101
|
function rw(e, n = "add") {
|
|
14102
14102
|
const t = eo();
|
|
14103
|
-
n === "add" ? t.addDepartments(e) : n === "delete" ? t.removeDepartments(e) : console.error(`Ação "${n}" não suportada em attLibDeparts.`);
|
|
14103
|
+
n === "add" ? t.addDepartments(e) : n === "delete" ? t.removeDepartments(e) : n === "update" ? t.departments = e : console.error(`Ação "${n}" não suportada em attLibDeparts.`);
|
|
14104
14104
|
}
|
|
14105
14105
|
function ow(e, n = "add") {
|
|
14106
14106
|
const t = La();
|
|
14107
|
-
n === "add" ? t.addAttendants(e) : n === "delete" ? t.removeAttendants(e) : console.error(`Ação "${n}" não suportada em attLibAttendants.`);
|
|
14107
|
+
n === "add" ? t.addAttendants(e) : n === "delete" ? t.removeAttendants(e) : n === "update" ? t.attendants = e : console.error(`Ação "${n}" não suportada em attLibAttendants.`);
|
|
14108
14108
|
}
|
|
14109
14109
|
function sw(e, n = "add") {
|
|
14110
14110
|
const t = Rr();
|