sm-click-library-ui 0.0.264 → 0.0.265
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.
|
@@ -13649,7 +13649,7 @@ const zy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13649
13649
|
n !== -1 ? this.departments[n] = e : this.departments.push(e);
|
|
13650
13650
|
}
|
|
13651
13651
|
}
|
|
13652
|
-
}), ua = (e) => (it("data-v-
|
|
13652
|
+
}), ua = (e) => (it("data-v-17560be6"), 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 = /* @__PURE__ */ ua(() => /* @__PURE__ */ m("div", { class: "icon-container" }, [
|
|
13653
13653
|
/* @__PURE__ */ m("svg", {
|
|
13654
13654
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13655
13655
|
fill: "none",
|
|
@@ -13684,7 +13684,7 @@ const zy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13684
13684
|
ig
|
|
13685
13685
|
], dg = { class: "department-list" }, cg = ["onClick"], fg = {
|
|
13686
13686
|
key: 0,
|
|
13687
|
-
style: { width: "150px" }
|
|
13687
|
+
style: { width: "150px", "padding-right": "10px" }
|
|
13688
13688
|
}, mg = ["onUpdate:modelValue", "onChange"], hg = /* @__PURE__ */ ua(() => /* @__PURE__ */ m("option", { value: "normal" }, "normal", -1)), pg = /* @__PURE__ */ ua(() => /* @__PURE__ */ m("option", { value: "supervisor" }, "supervisor", -1)), vg = [
|
|
13689
13689
|
hg,
|
|
13690
13690
|
pg
|
|
@@ -13744,9 +13744,9 @@ const zy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13744
13744
|
async function d() {
|
|
13745
13745
|
u.value = !0;
|
|
13746
13746
|
const b = t.externalDepartments || r.departments;
|
|
13747
|
-
t.permissions &&
|
|
13747
|
+
t.permissions && b.forEach((_) => {
|
|
13748
13748
|
_.permission || (_.permission = "normal");
|
|
13749
|
-
}),
|
|
13749
|
+
}), await p(), u.value = !1;
|
|
13750
13750
|
}
|
|
13751
13751
|
async function f() {
|
|
13752
13752
|
(t.externalDepartments || r.departments).forEach((_) => {
|
|
@@ -13761,7 +13761,7 @@ const zy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13761
13761
|
}
|
|
13762
13762
|
t.department && t.department.length > 0 && t.department.forEach((_) => {
|
|
13763
13763
|
const v = b.find((N) => N.id === _.id);
|
|
13764
|
-
v && (v.selected = !0, s.value.some(
|
|
13764
|
+
v && (v.selected = !0, t.permissions && (v.permissions = _.permissions), s.value.some(
|
|
13765
13765
|
(te) => te.id === _.id
|
|
13766
13766
|
) || s.value.push({ ...v }));
|
|
13767
13767
|
}), a("depart", s.value);
|
|
@@ -13844,7 +13844,7 @@ const zy = /* @__PURE__ */ pt(Ly, [["render", Hy], ["__scopeId", "data-v-17a2cc3
|
|
|
13844
13844
|
])
|
|
13845
13845
|
]));
|
|
13846
13846
|
}
|
|
13847
|
-
}, Rl = /* @__PURE__ */ pt(bg, [["__scopeId", "data-v-
|
|
13847
|
+
}, Rl = /* @__PURE__ */ pt(bg, [["__scopeId", "data-v-17560be6"]]), qa = (e) => (it("data-v-935848f6"), e = e(), ut(), e), _g = { class: "depart-select-container" }, kg = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, xg = ["placeholder"], Ag = /* @__PURE__ */ qa(() => /* @__PURE__ */ m("div", { class: "icon-container" }, [
|
|
13848
13848
|
/* @__PURE__ */ m("svg", {
|
|
13849
13849
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13850
13850
|
fill: "none",
|