@neutron.co.id/operasional-interfaces 1.17.8-beta.1 → 1.17.9-beta.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.
@@ -22,7 +22,11 @@ const {
22
22
  const toast = useToast()
23
23
 
24
24
  async function saveCheck() {
25
- if (values.value.code === '') {
25
+ if (
26
+ initialValues.value.code === '' ||
27
+ values.value.code === '' ||
28
+ !values.value.code
29
+ ) {
26
30
  toast.push({
27
31
  id: 'neu:attendance-type:code',
28
32
  icon: 'warning',
@@ -14981,7 +14981,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
14981
14981
  } = context.useSingle();
14982
14982
  const toast = interfaces.useToast();
14983
14983
  async function saveCheck() {
14984
- if (values.value.code === "") {
14984
+ if (initialValues.value.code === "" || values.value.code === "" || !values.value.code) {
14985
14985
  toast.push({
14986
14986
  id: "neu:attendance-type:code",
14987
14987
  icon: "warning",
@@ -15089,7 +15089,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
15089
15089
  };
15090
15090
  }
15091
15091
  });
15092
- const AttendanceTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["__scopeId", "data-v-776e6c14"]]);
15092
+ const AttendanceTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["__scopeId", "data-v-9913f3e7"]]);
15093
15093
  const _withScopeId$3 = (n) => (vue.pushScopeId("data-v-802b3ded"), n = n(), vue.popScopeId(), n);
15094
15094
  const _hoisted_1$s = { id: "view-checkIns" };
15095
15095
  const _hoisted_2$j = { class: "summary" };
@@ -14962,7 +14962,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
14962
14962
  } = useSingle();
14963
14963
  const toast = useToast();
14964
14964
  async function saveCheck() {
14965
- if (values.value.code === "") {
14965
+ if (initialValues.value.code === "" || values.value.code === "" || !values.value.code) {
14966
14966
  toast.push({
14967
14967
  id: "neu:attendance-type:code",
14968
14968
  icon: "warning",
@@ -15070,7 +15070,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
15070
15070
  };
15071
15071
  }
15072
15072
  });
15073
- const AttendanceTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["__scopeId", "data-v-776e6c14"]]);
15073
+ const AttendanceTypeSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["__scopeId", "data-v-9913f3e7"]]);
15074
15074
  const _withScopeId$3 = (n) => (pushScopeId("data-v-802b3ded"), n = n(), popScopeId(), n);
15075
15075
  const _hoisted_1$s = { id: "view-checkIns" };
15076
15076
  const _hoisted_2$j = { class: "summary" };
@@ -117,7 +117,7 @@
117
117
  display: block
118
118
  }
119
119
 
120
- .neu-AttendanceType-single[data-v-776e6c14] {
120
+ .neu-AttendanceType-single[data-v-9913f3e7] {
121
121
  display: block
122
122
  }
123
123
 
package/build/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.17.8-beta.1",
7
+ "version": "1.17.9-beta.1",
8
8
  "builder": {
9
9
  "@neon.id/module-builder": "1.8.0",
10
10
  "unbuild": "2.0.0"
package/build/nuxt.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.17.8-beta.1",
7
+ "version": "1.17.9-beta.1",
8
8
  "builder": {
9
9
  "@neon.id/module-builder": "1.8.0",
10
10
  "unbuild": "2.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.17.8-beta.1",
3
+ "version": "1.17.9-beta.1",
4
4
  "description": "Interface library of Neutron Operasional.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -78,7 +78,7 @@
78
78
  "@neon.id/nuxt": "^1.5.0",
79
79
  "@neon.id/office": "1.46.0",
80
80
  "@neon.id/utils": "^1.51.0",
81
- "@neutron.co.id/operasional-modules": "1.12.16-beta.1",
81
+ "@neutron.co.id/operasional-modules": "1.12.17-beta.1",
82
82
  "@neutron.co.id/personalia-models": "1.13.11-beta.1",
83
83
  "@nuxt/kit": "^3.12.3",
84
84
  "file-saver": "^2.0.5",
@@ -153,7 +153,7 @@
153
153
  "@neon.id/nuxt": "^1.5.0",
154
154
  "@neon.id/office": "1.46.0",
155
155
  "@neon.id/utils": "^1.51.0",
156
- "@neutron.co.id/operasional-modules": "1.12.16-beta.1",
156
+ "@neutron.co.id/operasional-modules": "1.12.17-beta.1",
157
157
  "@neutron.co.id/personalia-models": "1.13.11-beta.1",
158
158
  "@nuxt/kit": "^3.12.3",
159
159
  "file-saver": "^2.0.5",
@@ -164,5 +164,5 @@
164
164
  "publishConfig": {
165
165
  "access": "public"
166
166
  },
167
- "build": 190
167
+ "build": 191
168
168
  }