@neutron.co.id/operasional-interfaces 1.3.5-beta.2 → 1.3.6-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.
package/build/index.cjs CHANGED
@@ -7455,15 +7455,15 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
7455
7455
  vue.onMounted(() => {
7456
7456
  var _a, _b, _c, _d;
7457
7457
  if (id.value === "new") {
7458
- initialValues.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7459
- initialValues.value.situationReportedBy = [
7458
+ values.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7459
+ values.value.branchIds = [((_b = staff.value) == null ? void 0 : _b.branchId) || ""];
7460
+ values.value.userId = userId.value;
7461
+ values.value.situationReportedBy = [
7460
7462
  {
7461
- id: (_b = staff.value) == null ? void 0 : _b.id,
7462
- display: (_c = staff.value) == null ? void 0 : _c.display
7463
+ id: (_c = staff.value) == null ? void 0 : _c.id,
7464
+ display: (_d = staff.value) == null ? void 0 : _d.display
7463
7465
  }
7464
7466
  ];
7465
- initialValues.value.branches = (_d = staff.value) == null ? void 0 : _d.branches;
7466
- values.value.userId = userId.value;
7467
7467
  }
7468
7468
  if (isChanged) {
7469
7469
  values.value.userId = userId.value;
package/build/index.mjs CHANGED
@@ -7453,15 +7453,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
7453
7453
  onMounted(() => {
7454
7454
  var _a, _b, _c, _d;
7455
7455
  if (id.value === "new") {
7456
- initialValues.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7457
- initialValues.value.situationReportedBy = [
7456
+ values.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7457
+ values.value.branchIds = [((_b = staff.value) == null ? void 0 : _b.branchId) || ""];
7458
+ values.value.userId = userId.value;
7459
+ values.value.situationReportedBy = [
7458
7460
  {
7459
- id: (_b = staff.value) == null ? void 0 : _b.id,
7460
- display: (_c = staff.value) == null ? void 0 : _c.display
7461
+ id: (_c = staff.value) == null ? void 0 : _c.id,
7462
+ display: (_d = staff.value) == null ? void 0 : _d.display
7461
7463
  }
7462
7464
  ];
7463
- initialValues.value.branches = (_d = staff.value) == null ? void 0 : _d.branches;
7464
- values.value.userId = userId.value;
7465
7465
  }
7466
7466
  if (isChanged) {
7467
7467
  values.value.userId = userId.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.3.5-beta.2",
3
+ "version": "1.3.6-beta.1",
4
4
  "description": "Interface library of Neutron.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -136,5 +136,5 @@
136
136
  "publishConfig": {
137
137
  "access": "public"
138
138
  },
139
- "build": 73
139
+ "build": 74
140
140
  }