sm-click-library-ui 0.0.304 → 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.
@@ -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-b05e8376"), 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" }, [
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-b05e8376"]]), 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" }, [
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",