formue-crud 0.2.6 → 0.2.8

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.
@@ -16836,7 +16836,9 @@ const SR = {
16836
16836
  },
16837
16837
  setup(l) {
16838
16838
  const e = l, t = we(!1);
16839
- de.listen("toggle.select.all", (n) => {
16839
+ de.listen("batch.removed", () => {
16840
+ t.value = !1;
16841
+ }), de.listen("toggle.select.all", (n) => {
16840
16842
  e.all || (t.value = n, de.event("toggle.select", e.data.id));
16841
16843
  });
16842
16844
  function i(n) {
@@ -17547,7 +17549,7 @@ const D_ = ["disabled"], A_ = { key: 0 }, F_ = { key: 1 }, O_ = { key: 2 }, P_ =
17547
17549
  actions: je(() => [
17548
17550
  T("button", {
17549
17551
  disabled: K(e).loadings.mainLoading,
17550
- onClick: d[0] || (d[0] = (f) => u.event("saveForm")),
17552
+ onClick: d[0] || (d[0] = (f) => K(de).event("saveForm")),
17551
17553
  className: "btn mt-1 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 !bg-green-500 text-base font-medium text-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
17552
17554
  }, [
17553
17555
  K(e).loadings.mainLoading ? (B(), V("span", A_, d[2] || (d[2] = [
@@ -18337,7 +18339,7 @@ const BT = {
18337
18339
  icon: "fluent:delete-dismiss-24-regular",
18338
18340
  confirmFunc: async () => {
18339
18341
  const n = await e.remove(t.value);
18340
- return t.value = [], n;
18342
+ return t.value = [], de.event("batch.removed"), n;
18341
18343
  }
18342
18344
  });
18343
18345
  }