@neutron.co.id/operasional-interfaces 1.17.2 → 1.17.3

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.
@@ -260,20 +260,7 @@ async function generate() {
260
260
  "
261
261
  />
262
262
 
263
- <!-- <OfficeRelation
264
- v-model="values"
265
- :field="fields.decideStaff"
266
- :is-disabled="
267
- values.status == 'approved' || values.status == 'rejected'
268
- "
269
- /> -->
270
263
  <OfficeRelation
271
- v-if="
272
- values.type == 'leave' ||
273
- values.type == 'sick' ||
274
- values.type == 'dayOff' ||
275
- values.type == 'permission'
276
- "
277
264
  v-model="values"
278
265
  :field="fields.monitoringStaffs"
279
266
  :is-disabled="
@@ -196,6 +196,10 @@ function getProfile(staff: Schema.Staff) {
196
196
  id: '652ce8e6b487f9f108733873',
197
197
  name: 'Cabang FO',
198
198
  },
199
+ {
200
+ id: '6809cf033d485dbb8081a621',
201
+ name: 'Pengelola Codex',
202
+ },
199
203
  {
200
204
  id: '652ceb48b487f9f108733896',
201
205
  name: 'Cabang Pemasaran',
@@ -14257,19 +14257,19 @@ const _hoisted_1$t = { class: "flex flex-wrap" };
14257
14257
  const _hoisted_2$k = { class: "mt-2" };
14258
14258
  const _hoisted_3$c = { class: "mt-2" };
14259
14259
  const _hoisted_4$b = { class: "mt-2" };
14260
- const _hoisted_5$a = { key: 6 };
14260
+ const _hoisted_5$a = { key: 5 };
14261
14261
  const _hoisted_6$a = {
14262
- key: 7,
14262
+ key: 6,
14263
14263
  class: "grid gap-2 sm:grid-cols-2"
14264
14264
  };
14265
14265
  const _hoisted_7$8 = { class: "text-right text-fg-subdued text-sm" };
14266
14266
  const _hoisted_8$7 = {
14267
- key: 8,
14267
+ key: 7,
14268
14268
  class: "grid gap-2 sm:grid-cols-2"
14269
14269
  };
14270
14270
  const _hoisted_9$7 = { class: "text-right text-fg-subdued text-sm" };
14271
14271
  const _hoisted_10$7 = {
14272
- key: 9,
14272
+ key: 8,
14273
14273
  class: "grid gap-2 sm:grid-cols-2"
14274
14274
  };
14275
14275
  const _hoisted_11$7 = { class: "text-right text-fg-subdued text-sm" };
@@ -14500,22 +14500,14 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
14500
14500
  }, vue.unref(fields).type, {
14501
14501
  "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
14502
14502
  }), null, 16, ["modelValue", "is-disabled"]),
14503
- vue.createCommentVNode(` <OfficeRelation
14504
- v-model="values"
14505
- :field="fields.decideStaff"
14506
- :is-disabled="
14507
- values.status == 'approved' || values.status == 'rejected'
14508
- "
14509
- /> `),
14510
- vue.unref(values).type == "leave" || vue.unref(values).type == "sick" || vue.unref(values).type == "dayOff" || vue.unref(values).type == "permission" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
14511
- key: 0,
14503
+ vue.createVNode(vue.unref(office$1.OfficeRelation), {
14512
14504
  modelValue: vue.unref(values),
14513
14505
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
14514
14506
  field: vue.unref(fields).monitoringStaffs,
14515
14507
  "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
14516
- }, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
14508
+ }, null, 8, ["modelValue", "field", "is-disabled"]),
14517
14509
  vue.unref(values).type == "leave" || vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
14518
- key: 1,
14510
+ key: 0,
14519
14511
  modelValue: vue.unref(values),
14520
14512
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
14521
14513
  field: vue.unref(fields).delegateStaffs,
@@ -14548,22 +14540,22 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
14548
14540
  </template>
14549
14541
  </NeonField> `),
14550
14542
  vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
14551
- key: 2,
14543
+ key: 1,
14552
14544
  modelValue: vue.unref(values).notes,
14553
14545
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
14554
14546
  }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
14555
14547
  vue.unref(values).type == "leave" || vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
14556
- key: 3,
14548
+ key: 2,
14557
14549
  modelValue: vue.unref(values).delegateNotes,
14558
14550
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).delegateNotes = $event)
14559
14551
  }, vue.unref(fields).delegateNotes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
14560
14552
  vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
14561
- key: 4,
14553
+ key: 3,
14562
14554
  "is-dashed": "",
14563
14555
  label: "Keterangan"
14564
14556
  })) : vue.createCommentVNode("v-if", true),
14565
14557
  vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
14566
- key: 5,
14558
+ key: 4,
14567
14559
  modelValue: vue.unref(values).submittedAt,
14568
14560
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).submittedAt = $event)
14569
14561
  }, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
@@ -14778,7 +14770,7 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
14778
14770
  };
14779
14771
  }
14780
14772
  });
14781
- const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-56f0a660"]]);
14773
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-07766872"]]);
14782
14774
  const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
14783
14775
  __name: "AttendanceDelegate",
14784
14776
  setup(__props) {
@@ -19796,6 +19788,10 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
19796
19788
  id: "652ce8e6b487f9f108733873",
19797
19789
  name: "Cabang FO"
19798
19790
  },
19791
+ {
19792
+ id: "6809cf033d485dbb8081a621",
19793
+ name: "Pengelola Codex"
19794
+ },
19799
19795
  {
19800
19796
  id: "652ceb48b487f9f108733896",
19801
19797
  name: "Cabang Pemasaran"
@@ -14238,19 +14238,19 @@ const _hoisted_1$t = { class: "flex flex-wrap" };
14238
14238
  const _hoisted_2$k = { class: "mt-2" };
14239
14239
  const _hoisted_3$c = { class: "mt-2" };
14240
14240
  const _hoisted_4$b = { class: "mt-2" };
14241
- const _hoisted_5$a = { key: 6 };
14241
+ const _hoisted_5$a = { key: 5 };
14242
14242
  const _hoisted_6$a = {
14243
- key: 7,
14243
+ key: 6,
14244
14244
  class: "grid gap-2 sm:grid-cols-2"
14245
14245
  };
14246
14246
  const _hoisted_7$8 = { class: "text-right text-fg-subdued text-sm" };
14247
14247
  const _hoisted_8$7 = {
14248
- key: 8,
14248
+ key: 7,
14249
14249
  class: "grid gap-2 sm:grid-cols-2"
14250
14250
  };
14251
14251
  const _hoisted_9$7 = { class: "text-right text-fg-subdued text-sm" };
14252
14252
  const _hoisted_10$7 = {
14253
- key: 9,
14253
+ key: 8,
14254
14254
  class: "grid gap-2 sm:grid-cols-2"
14255
14255
  };
14256
14256
  const _hoisted_11$7 = { class: "text-right text-fg-subdued text-sm" };
@@ -14481,22 +14481,14 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
14481
14481
  }, unref(fields).type, {
14482
14482
  "is-disabled": unref(values).status == "approved" || unref(values).status == "rejected"
14483
14483
  }), null, 16, ["modelValue", "is-disabled"]),
14484
- createCommentVNode(` <OfficeRelation
14485
- v-model="values"
14486
- :field="fields.decideStaff"
14487
- :is-disabled="
14488
- values.status == 'approved' || values.status == 'rejected'
14489
- "
14490
- /> `),
14491
- unref(values).type == "leave" || unref(values).type == "sick" || unref(values).type == "dayOff" || unref(values).type == "permission" ? (openBlock(), createBlock(unref(OfficeRelation), {
14492
- key: 0,
14484
+ createVNode(unref(OfficeRelation), {
14493
14485
  modelValue: unref(values),
14494
14486
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
14495
14487
  field: unref(fields).monitoringStaffs,
14496
14488
  "is-disabled": unref(values).status == "approved" || unref(values).status == "rejected"
14497
- }, null, 8, ["modelValue", "field", "is-disabled"])) : createCommentVNode("v-if", true),
14489
+ }, null, 8, ["modelValue", "field", "is-disabled"]),
14498
14490
  unref(values).type == "leave" || unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" ? (openBlock(), createBlock(unref(OfficeRelation), {
14499
- key: 1,
14491
+ key: 0,
14500
14492
  modelValue: unref(values),
14501
14493
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
14502
14494
  field: unref(fields).delegateStaffs,
@@ -14529,22 +14521,22 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
14529
14521
  </template>
14530
14522
  </NeonField> `),
14531
14523
  unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
14532
- key: 2,
14524
+ key: 1,
14533
14525
  modelValue: unref(values).notes,
14534
14526
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).notes = $event)
14535
14527
  }, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
14536
14528
  unref(values).type == "leave" || unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
14537
- key: 3,
14529
+ key: 2,
14538
14530
  modelValue: unref(values).delegateNotes,
14539
14531
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).delegateNotes = $event)
14540
14532
  }, unref(fields).delegateNotes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
14541
14533
  unref(values).type ? (openBlock(), createBlock(unref(NeonDivider), {
14542
- key: 4,
14534
+ key: 3,
14543
14535
  "is-dashed": "",
14544
14536
  label: "Keterangan"
14545
14537
  })) : createCommentVNode("v-if", true),
14546
14538
  unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
14547
- key: 5,
14539
+ key: 4,
14548
14540
  modelValue: unref(values).submittedAt,
14549
14541
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).submittedAt = $event)
14550
14542
  }, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
@@ -14759,7 +14751,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
14759
14751
  };
14760
14752
  }
14761
14753
  });
14762
- const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-56f0a660"]]);
14754
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-07766872"]]);
14763
14755
  const _sfc_main$1b = /* @__PURE__ */ defineComponent({
14764
14756
  __name: "AttendanceDelegate",
14765
14757
  setup(__props) {
@@ -19777,6 +19769,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
19777
19769
  id: "652ce8e6b487f9f108733873",
19778
19770
  name: "Cabang FO"
19779
19771
  },
19772
+ {
19773
+ id: "6809cf033d485dbb8081a621",
19774
+ name: "Pengelola Codex"
19775
+ },
19780
19776
  {
19781
19777
  id: "652ceb48b487f9f108733896",
19782
19778
  name: "Cabang Pemasaran"
@@ -109,7 +109,7 @@
109
109
  display: block
110
110
  }
111
111
 
112
- .neu-attendance-single[data-v-56f0a660] {
112
+ .neu-attendance-single[data-v-07766872] {
113
113
  display: block
114
114
  }
115
115
 
package/build/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.17.2",
7
+ "version": "1.17.3",
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.2",
7
+ "version": "1.17.3",
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.2",
3
+ "version": "1.17.3",
4
4
  "description": "Interface library of Neutron Operasional.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -164,5 +164,5 @@
164
164
  "publishConfig": {
165
165
  "access": "public"
166
166
  },
167
- "build": 184
167
+ "build": 185
168
168
  }