@fewangsit/wangsvue 1.5.199 → 1.5.200-alpha.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue",
3
- "version": "1.5.199",
3
+ "version": "1.5.200-alpha.1",
4
4
  "author": "fewangsit",
5
5
  "description": "Wangsit VueJS Component Library",
6
6
  "module": "./wangsvue.es.js",
package/wangsvue.es.js CHANGED
@@ -91828,7 +91828,7 @@ const kue = /* @__PURE__ */ rt({
91828
91828
  ), en.off("toast:add", r);
91829
91829
  });
91830
91830
  const n = Ce(), i = Ce(!1), r = (a) => {
91831
- a.group === e.group && (n.value = a);
91831
+ a.group === e.group && (n.value = a), console.error(a.error);
91832
91832
  };
91833
91833
  return (a, s) => i.value ? (b(), W(N(n8), P({ key: 0 }, a.$props, {
91834
91834
  "data-group": a.$props.group,
@@ -135019,13 +135019,15 @@ const $ye = { key: 0 }, Hye = { key: 0 }, zye = {
135019
135019
  j && j.click();
135020
135020
  }, L = async () => {
135021
135021
  try {
135022
- const j = {
135023
- startDate: new Date(f.value).toISOString()
135024
- }, { data: q } = await On.putEditTask(o.value, j);
135025
- q && (c("update", o.value), e.add({
135026
- message: "Tanggal mulai telah disimpan.",
135027
- severity: "success"
135028
- }));
135022
+ if (f.value) {
135023
+ const j = {
135024
+ startDate: new Date(f.value).toISOString()
135025
+ }, { data: q } = await On.putEditTask(o.value, j);
135026
+ q && (c("update", o.value), e.add({
135027
+ message: "Tanggal mulai telah disimpan.",
135028
+ severity: "success"
135029
+ }));
135030
+ }
135029
135031
  } catch (j) {
135030
135032
  e.add({
135031
135033
  message: "Tanggal mulai gagal disimpan.",
@@ -135413,7 +135415,7 @@ const $ye = { key: 0 }, Hye = { key: 0 }, zye = {
135413
135415
  }), f = Oe(() => {
135414
135416
  var S;
135415
135417
  return ((S = u.value) == null ? void 0 : S.content) ?? [];
135416
- }), _ = Oe(() => f.value.length ? Object.hasOwn(f.value[0], "content") : !1), h = Oe(() => m.value ? "readonly" : _.value ? l.value : "editable"), v = async () => {
135418
+ }), _ = Oe(() => f.value.length ? Object.hasOwn(f.value[0], "content") || Object.hasOwn(f.value[0], "attrs") : !1), h = Oe(() => m.value ? "readonly" : _.value ? l.value : "editable"), v = async () => {
135417
135419
  var S, k;
135418
135420
  try {
135419
135421
  const { data: w } = await On.getTaskDescription(r.value);