sm-click-library-ui 0.0.289 → 0.0.290

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.
@@ -13774,7 +13774,7 @@ const El = /* @__PURE__ */ dt(By, [["render", zy], ["__scopeId", "data-v-bd52dde
13774
13774
  n !== -1 ? this.departments[n] = e : this.departments.push(e);
13775
13775
  }
13776
13776
  }
13777
- }), ua = (e) => (it("data-v-71097ce6"), 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" }, [
13777
+ }), ua = (e) => (it("data-v-a2a310f2"), 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" }, [
13778
13778
  /* @__PURE__ */ m("svg", {
13779
13779
  xmlns: "http://www.w3.org/2000/svg",
13780
13780
  fill: "none",
@@ -13869,9 +13869,9 @@ const El = /* @__PURE__ */ dt(By, [["render", zy], ["__scopeId", "data-v-bd52dde
13869
13869
  async function c() {
13870
13870
  u.value = !0;
13871
13871
  const _ = t.externalDepartments || r.departments;
13872
- t.permissions && (_.forEach((k) => {
13872
+ t.permissions && _.forEach((k) => {
13873
13873
  k.permission || (k.permission = "normal");
13874
- }), console.log(_)), await p(), u.value = !1;
13874
+ }), await p(), u.value = !1;
13875
13875
  }
13876
13876
  async function d() {
13877
13877
  (t.externalDepartments || r.departments).forEach((k) => {
@@ -13888,7 +13888,7 @@ const El = /* @__PURE__ */ dt(By, [["render", zy], ["__scopeId", "data-v-bd52dde
13888
13888
  const v = _.find((E) => E.id === k.id);
13889
13889
  v && (v.selected = !0, s.value.some(
13890
13890
  (ee) => ee.id === k.id
13891
- ) || s.value.push({ ...v }));
13891
+ ) || s.value.push(v));
13892
13892
  }), a("depart", s.value);
13893
13893
  }
13894
13894
  function b(_) {
@@ -13969,7 +13969,7 @@ const El = /* @__PURE__ */ dt(By, [["render", zy], ["__scopeId", "data-v-bd52dde
13969
13969
  ])
13970
13970
  ]));
13971
13971
  }
13972
- }, Ll = /* @__PURE__ */ dt(Ag, [["__scopeId", "data-v-71097ce6"]]), qa = (e) => (it("data-v-935848f6"), e = e(), ut(), e), Mg = { class: "depart-select-container" }, Tg = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, Dg = ["placeholder"], Pg = /* @__PURE__ */ qa(() => /* @__PURE__ */ m("div", { class: "icon-container" }, [
13972
+ }, Ll = /* @__PURE__ */ dt(Ag, [["__scopeId", "data-v-a2a310f2"]]), qa = (e) => (it("data-v-c534b5ff"), e = e(), ut(), e), Mg = { class: "depart-select-container" }, Tg = { class: "search-container relative shadow shadow-gray-900 dark:shadow-gray-500" }, Dg = ["placeholder"], Pg = /* @__PURE__ */ qa(() => /* @__PURE__ */ m("div", { class: "icon-container" }, [
13973
13973
  /* @__PURE__ */ m("svg", {
13974
13974
  xmlns: "http://www.w3.org/2000/svg",
13975
13975
  fill: "none",
@@ -14050,10 +14050,12 @@ const El = /* @__PURE__ */ dt(By, [["render", zy], ["__scopeId", "data-v-bd52dde
14050
14050
  var v;
14051
14051
  return (k == null ? void 0 : k.id) !== ((v = t == null ? void 0 : t.attDel) == null ? void 0 : v.id);
14052
14052
  }
14053
- ) : t.method === "transfer" ? C : t.method === "addParticipant" ? C.filter((_) => {
14054
- var k;
14055
- return (_ == null ? void 0 : _.id) !== ((k = t == null ? void 0 : t.attDel) == null ? void 0 : k.id);
14056
- }) : C;
14053
+ ) : t.method === "transfer" ? C : t.method === "addParticipant" ? C.filter(
14054
+ (_) => {
14055
+ var k;
14056
+ return (_ == null ? void 0 : _.id) !== ((k = t == null ? void 0 : t.attDel) == null ? void 0 : k.id);
14057
+ }
14058
+ ) : C;
14057
14059
  }
14058
14060
  function i(C) {
14059
14061
  return Array.isArray(t.department) && t.department.length > 0 ? C.filter(
@@ -14100,7 +14102,7 @@ const El = /* @__PURE__ */ dt(By, [["render", zy], ["__scopeId", "data-v-bd52dde
14100
14102
  }
14101
14103
  t.attendance && t.attendance.length > 0 && t.attendance.forEach((_) => {
14102
14104
  const k = C.find((v) => v.id === _.id);
14103
- k && !l.value.some((v) => v.id === _.id) && (k.selected = !0, l.value.push({ ...k }));
14105
+ k && !l.value.some((v) => v.id === _.id) && (k.selected = !0, l.value.push(k));
14104
14106
  }), a("attend", l.value);
14105
14107
  }
14106
14108
  function b(C) {
@@ -14176,7 +14178,7 @@ const El = /* @__PURE__ */ dt(By, [["render", zy], ["__scopeId", "data-v-bd52dde
14176
14178
  ])
14177
14179
  ]));
14178
14180
  }
14179
- }, Il = /* @__PURE__ */ dt(Hg, [["__scopeId", "data-v-935848f6"]]), Bl = (e) => (it("data-v-1a1f2b13"), e = e(), ut(), e), jg = { class: "" }, zg = { class: "flex justify-between mb-3" }, Vg = /* @__PURE__ */ Bl(() => /* @__PURE__ */ m("svg", {
14181
+ }, Il = /* @__PURE__ */ dt(Hg, [["__scopeId", "data-v-c534b5ff"]]), Bl = (e) => (it("data-v-1a1f2b13"), e = e(), ut(), e), jg = { class: "" }, zg = { class: "flex justify-between mb-3" }, Vg = /* @__PURE__ */ Bl(() => /* @__PURE__ */ m("svg", {
14180
14182
  class: "w-4 h-4 text-white",
14181
14183
  "aria-hidden": "true",
14182
14184
  xmlns: "http://www.w3.org/2000/svg",