sm-click-library-ui 0.0.241 → 0.0.243
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-c989b35a"), 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",
|
|
@@ -13728,7 +13728,7 @@ const jy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13728
13728
|
async (D, _) => {
|
|
13729
13729
|
console.log(
|
|
13730
13730
|
`Watch disparado, tamanho do array mudou: ${_} -> ${D}`
|
|
13731
|
-
), await Ge(), f(), d();
|
|
13731
|
+
), await Ge(), await f(), await d();
|
|
13732
13732
|
},
|
|
13733
13733
|
{ immediate: !0 }
|
|
13734
13734
|
), Fe(
|
|
@@ -13749,19 +13749,20 @@ const jy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13749
13749
|
async function d() {
|
|
13750
13750
|
i.value = !0, h(), i.value = !1;
|
|
13751
13751
|
}
|
|
13752
|
-
function f() {
|
|
13753
|
-
|
|
13752
|
+
async function f() {
|
|
13753
|
+
const D = t.externalDepartments || r.departments;
|
|
13754
|
+
console.log(D), D.forEach((_) => {
|
|
13754
13755
|
_.selected = !1;
|
|
13755
|
-
}), s.value = [];
|
|
13756
|
+
}), s.value = [], console.log("depois do clear", D);
|
|
13756
13757
|
}
|
|
13757
13758
|
function h() {
|
|
13758
13759
|
const D = t.externalDepartments || r.departments;
|
|
13759
|
-
t.department && t.department.length > 0 && t.department.forEach((_) => {
|
|
13760
|
+
console.log(D), t.department && t.department.length > 0 && t.department.forEach((_) => {
|
|
13760
13761
|
const x = D.find((g) => g.id === _.id);
|
|
13761
13762
|
x && (x.selected = !0, s.value.some(
|
|
13762
13763
|
(B) => B.id === _.id
|
|
13763
13764
|
) || s.value.push({ ...x }));
|
|
13764
|
-
}), a("depart", s.value);
|
|
13765
|
+
}), console.log("depois do update", D), a("depart", s.value);
|
|
13765
13766
|
}
|
|
13766
13767
|
function b(D) {
|
|
13767
13768
|
const _ = s.value.findIndex(
|
|
@@ -13836,7 +13837,7 @@ const jy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13836
13837
|
])
|
|
13837
13838
|
]));
|
|
13838
13839
|
}
|
|
13839
|
-
}, Rl = /* @__PURE__ */ pt(Mg, [["__scopeId", "data-v-
|
|
13840
|
+
}, Rl = /* @__PURE__ */ pt(Mg, [["__scopeId", "data-v-c989b35a"]]), qa = (e) => (it("data-v-bad1997e"), 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" }, $g = {
|
|
13840
13841
|
key: 0,
|
|
13841
13842
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13842
13843
|
fill: "none",
|