sm-click-library-ui 0.0.201 → 0.0.203
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.
|
@@ -13659,6 +13659,11 @@ const ip = /* @__PURE__ */ yt(op, [["render", lp], ["__scopeId", "data-v-bd52dde
|
|
|
13659
13659
|
} catch (n) {
|
|
13660
13660
|
console.log("Erro ao buscar departamentos:", n);
|
|
13661
13661
|
}
|
|
13662
|
+
},
|
|
13663
|
+
removeDepartments(e) {
|
|
13664
|
+
this.departments = this.departments.filter(
|
|
13665
|
+
(n) => n.id !== e
|
|
13666
|
+
);
|
|
13662
13667
|
}
|
|
13663
13668
|
}
|
|
13664
13669
|
}), hp = { class: "depart-select-container" }, vp = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, pp = ["placeholder"], yp = { class: "icon-container" }, gp = {
|
|
@@ -13705,7 +13710,7 @@ const ip = /* @__PURE__ */ yt(op, [["render", lp], ["__scopeId", "data-v-bd52dde
|
|
|
13705
13710
|
) : M;
|
|
13706
13711
|
});
|
|
13707
13712
|
Ye(() => {
|
|
13708
|
-
m(), d(),
|
|
13713
|
+
m(), d(), t.attDel && u(t.attDel);
|
|
13709
13714
|
}), Ie(
|
|
13710
13715
|
() => t.modal_filter,
|
|
13711
13716
|
() => {
|
|
@@ -13717,14 +13722,17 @@ const ip = /* @__PURE__ */ yt(op, [["render", lp], ["__scopeId", "data-v-bd52dde
|
|
|
13717
13722
|
), Ie(
|
|
13718
13723
|
() => t.attDel,
|
|
13719
13724
|
(M) => {
|
|
13720
|
-
M &&
|
|
13721
|
-
}
|
|
13725
|
+
M && u(M);
|
|
13726
|
+
},
|
|
13727
|
+
{ immediate: !0 }
|
|
13722
13728
|
);
|
|
13723
13729
|
function u(M) {
|
|
13724
|
-
const w = (t.externalDepartments || r.departments).
|
|
13725
|
-
|
|
13730
|
+
const w = (t.externalDepartments || r.departments).findIndex(
|
|
13731
|
+
(x) => x.id === M
|
|
13732
|
+
);
|
|
13733
|
+
w !== -1 && (s.value = s.value.filter(
|
|
13726
13734
|
(x) => x.id !== M
|
|
13727
|
-
),
|
|
13735
|
+
), t.externalDepartments ? t.externalDepartments.splice(w, 1) : r.removeDepartment(M), a("depart", s.value));
|
|
13728
13736
|
}
|
|
13729
13737
|
async function d() {
|
|
13730
13738
|
i.value = !0, f(), i.value = !1;
|
|
@@ -13842,7 +13850,7 @@ const ip = /* @__PURE__ */ yt(op, [["render", lp], ["__scopeId", "data-v-bd52dde
|
|
|
13842
13850
|
])
|
|
13843
13851
|
]));
|
|
13844
13852
|
}
|
|
13845
|
-
}, Ml = /* @__PURE__ */ yt(Cp, [["__scopeId", "data-v-
|
|
13853
|
+
}, Ml = /* @__PURE__ */ yt(Cp, [["__scopeId", "data-v-8ed28ee0"]]), Pp = { class: "depart-select-container" }, Sp = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, Op = ["placeholder"], $p = { class: "icon-container" }, Ep = {
|
|
13846
13854
|
key: 0,
|
|
13847
13855
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13848
13856
|
fill: "none",
|