@neutron.co.id/operasional-interfaces 1.17.2 → 1.17.4-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/@office/models/personalia/attendance/AttendanceDelegate.vue +12 -12
- package/build/@office/models/personalia/attendance/AttendanceManager.vue +11 -11
- package/build/@office/models/personalia/attendance/AttendanceSingle/AttendanceSingle.vue +3 -2
- package/build/@office/models/personalia/attendance/AttendanceStaff.vue +33 -33
- package/build/@office/models/personalia/attendance/AttendanceSupervisor.vue +25 -38
- package/build/@office/models/personalia/attendanceType/AttendanceTypeCollection/AttendanceTypeCollection.vue +23 -0
- package/build/@office/models/personalia/attendanceType/AttendanceTypeCollection/AttendanceTypeTypeCollection.stories.d.ts +7 -0
- package/build/@office/models/personalia/attendanceType/AttendanceTypeCollection/AttendanceTypeTypeCollection.stories.mjs +40 -0
- package/build/@office/models/personalia/attendanceType/AttendanceTypeCollection/index.d.ts +1 -0
- package/build/@office/models/personalia/attendanceType/AttendanceTypeCollection/index.mjs +1 -0
- package/build/@office/models/personalia/attendanceType/AttendanceTypeSingle/AttendanceTypeSingle.stories.d.ts +8 -0
- package/build/@office/models/personalia/attendanceType/AttendanceTypeSingle/AttendanceTypeSingle.stories.mjs +47 -0
- package/build/@office/models/personalia/attendanceType/AttendanceTypeSingle/AttendanceTypeSingle.vue +83 -0
- package/build/@office/models/personalia/attendanceType/AttendanceTypeSingle/index.d.ts +1 -0
- package/build/@office/models/personalia/attendanceType/AttendanceTypeSingle/index.mjs +1 -0
- package/build/@office/models/personalia/attendanceType/index.d.ts +2 -0
- package/build/@office/models/personalia/attendanceType/index.mjs +2 -0
- package/build/@office/models/personalia/staff/StaffIdentity.vue +4 -0
- package/build/@package/@office/models/personalia/attendanceType/AttendanceTypeCollection/AttendanceTypeCollection.vue.d.ts +2 -0
- package/build/@package/@office/models/personalia/attendanceType/AttendanceTypeSingle/AttendanceTypeSingle.vue.d.ts +2 -0
- package/build/mock/index.cjs +1084 -1072
- package/build/mock/index.mjs +1084 -1072
- package/build/mock/style.css +5 -5
- package/build/module.json +1 -1
- package/build/nuxt.json +1 -1
- package/package.json +2 -2
package/build/mock/index.cjs
CHANGED
|
@@ -13193,108 +13193,112 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
|
13193
13193
|
onCancel: vue.unref(discardChanges),
|
|
13194
13194
|
onSubmit: vue.unref(saveOne)
|
|
13195
13195
|
}, {
|
|
13196
|
-
default: vue.withCtx(() =>
|
|
13197
|
-
|
|
13198
|
-
|
|
13199
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).status = $event)
|
|
13200
|
-
}, vue.unref(fields).status), null, 16, ["modelValue"]),
|
|
13201
|
-
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
13202
|
-
modelValue: vue.unref(values),
|
|
13203
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13204
|
-
field: vue.unref(fields).submitStaff
|
|
13205
|
-
}, null, 8, ["modelValue", "field"]),
|
|
13206
|
-
(vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
13207
|
-
key: key.value,
|
|
13208
|
-
"model-value": vue.unref(values).startedAt
|
|
13209
|
-
}, {
|
|
13210
|
-
handle: "startedAt",
|
|
13211
|
-
name: "Tanggal",
|
|
13212
|
-
type: "date",
|
|
13213
|
-
input: "date2",
|
|
13214
|
-
options: {
|
|
13215
|
-
note: "Tanggal absensi."
|
|
13216
|
-
}
|
|
13217
|
-
}, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
|
|
13218
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13219
|
-
modelValue: vue.unref(values).type,
|
|
13220
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).type = $event)
|
|
13221
|
-
}, vue.unref(fields).type), null, 16, ["modelValue"]),
|
|
13222
|
-
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
13223
|
-
modelValue: vue.unref(values),
|
|
13224
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13225
|
-
field: vue.unref(fields).decideStaff
|
|
13226
|
-
}, null, 8, ["modelValue", "field"]),
|
|
13227
|
-
vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
|
|
13228
|
-
key: 0,
|
|
13229
|
-
modelValue: vue.unref(values),
|
|
13230
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13231
|
-
field: vue.unref(fields).delegateStaffs
|
|
13232
|
-
}, null, 8, ["modelValue", "field"])) : vue.createCommentVNode("v-if", true),
|
|
13233
|
-
vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
13234
|
-
key: 1,
|
|
13235
|
-
modelValue: vue.unref(values).notes,
|
|
13236
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).notes = $event)
|
|
13237
|
-
}, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
13238
|
-
vue.createVNode(vue.unref(interfaces.NeonDivider), {
|
|
13239
|
-
"is-dashed": "",
|
|
13240
|
-
label: "Keterangan"
|
|
13241
|
-
}),
|
|
13242
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13243
|
-
modelValue: vue.unref(values).submittedAt,
|
|
13244
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).submittedAt = $event)
|
|
13245
|
-
}, vue.unref(fields).submittedAt), null, 16, ["modelValue"]),
|
|
13246
|
-
vue.createElementVNode("div", _hoisted_1$w, [
|
|
13196
|
+
default: vue.withCtx(() => {
|
|
13197
|
+
var _a;
|
|
13198
|
+
return [
|
|
13247
13199
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13248
|
-
modelValue: vue.unref(values).
|
|
13249
|
-
"onUpdate:modelValue": _cache[
|
|
13200
|
+
modelValue: vue.unref(values).status,
|
|
13201
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).status = $event)
|
|
13202
|
+
}, vue.unref(fields).status), null, 16, ["modelValue"]),
|
|
13203
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
13204
|
+
modelValue: vue.unref(values),
|
|
13205
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13206
|
+
field: vue.unref(fields).submitStaff
|
|
13207
|
+
}, null, 8, ["modelValue", "field"]),
|
|
13208
|
+
(vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
13209
|
+
key: key.value,
|
|
13210
|
+
"model-value": vue.unref(values).startedAt
|
|
13250
13211
|
}, {
|
|
13251
13212
|
handle: "startedAt",
|
|
13252
|
-
name: "
|
|
13213
|
+
name: "Tanggal",
|
|
13214
|
+
type: "date",
|
|
13215
|
+
input: "date2",
|
|
13253
13216
|
options: {
|
|
13254
|
-
note: "
|
|
13217
|
+
note: "Tanggal absensi."
|
|
13255
13218
|
}
|
|
13256
|
-
}),
|
|
13257
|
-
|
|
13258
|
-
|
|
13259
|
-
|
|
13260
|
-
|
|
13261
|
-
|
|
13262
|
-
|
|
13263
|
-
|
|
13264
|
-
]),
|
|
13265
|
-
|
|
13266
|
-
|
|
13267
|
-
|
|
13219
|
+
}, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
|
|
13220
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
13221
|
+
modelValue: vue.unref(values),
|
|
13222
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13223
|
+
field: vue.unref(fields).type
|
|
13224
|
+
}, null, 8, ["modelValue", "field"]),
|
|
13225
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
13226
|
+
modelValue: vue.unref(values),
|
|
13227
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13228
|
+
field: vue.unref(fields).decideStaff
|
|
13229
|
+
}, null, 8, ["modelValue", "field"]),
|
|
13230
|
+
((_a = vue.unref(values).type) == null ? void 0 : _a.code) == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
|
|
13231
|
+
key: 0,
|
|
13232
|
+
modelValue: vue.unref(values),
|
|
13233
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13234
|
+
field: vue.unref(fields).delegateStaffs
|
|
13235
|
+
}, null, 8, ["modelValue", "field"])) : vue.createCommentVNode("v-if", true),
|
|
13236
|
+
vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
13237
|
+
key: 1,
|
|
13238
|
+
modelValue: vue.unref(values).notes,
|
|
13239
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).notes = $event)
|
|
13240
|
+
}, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
13241
|
+
vue.createVNode(vue.unref(interfaces.NeonDivider), {
|
|
13242
|
+
"is-dashed": "",
|
|
13243
|
+
label: "Keterangan"
|
|
13244
|
+
}),
|
|
13268
13245
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13269
|
-
modelValue: vue.unref(values).
|
|
13270
|
-
"onUpdate:modelValue": _cache[
|
|
13271
|
-
},
|
|
13272
|
-
|
|
13273
|
-
|
|
13274
|
-
|
|
13275
|
-
|
|
13276
|
-
}
|
|
13277
|
-
|
|
13278
|
-
|
|
13279
|
-
|
|
13280
|
-
|
|
13281
|
-
|
|
13282
|
-
|
|
13283
|
-
|
|
13284
|
-
|
|
13285
|
-
|
|
13286
|
-
|
|
13287
|
-
|
|
13288
|
-
|
|
13289
|
-
|
|
13290
|
-
|
|
13291
|
-
|
|
13292
|
-
|
|
13293
|
-
|
|
13294
|
-
|
|
13295
|
-
|
|
13296
|
-
|
|
13297
|
-
|
|
13246
|
+
modelValue: vue.unref(values).submittedAt,
|
|
13247
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).submittedAt = $event)
|
|
13248
|
+
}, vue.unref(fields).submittedAt), null, 16, ["modelValue"]),
|
|
13249
|
+
vue.createElementVNode("div", _hoisted_1$w, [
|
|
13250
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13251
|
+
modelValue: vue.unref(values).startedAt,
|
|
13252
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).startedAt = $event)
|
|
13253
|
+
}, {
|
|
13254
|
+
handle: "startedAt",
|
|
13255
|
+
name: "Mulai",
|
|
13256
|
+
options: {
|
|
13257
|
+
note: "Jam mulai."
|
|
13258
|
+
}
|
|
13259
|
+
}), {
|
|
13260
|
+
input: vue.withCtx(() => [
|
|
13261
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
13262
|
+
modelValue: vue.unref(values).startedAt,
|
|
13263
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).startedAt = $event),
|
|
13264
|
+
"is-loading": vue.unref(isLoading),
|
|
13265
|
+
class: "mt-2"
|
|
13266
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
13267
|
+
]),
|
|
13268
|
+
_: 1
|
|
13269
|
+
/* STABLE */
|
|
13270
|
+
}, 16, ["modelValue"]),
|
|
13271
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13272
|
+
modelValue: vue.unref(values).endedAt,
|
|
13273
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).endedAt = $event)
|
|
13274
|
+
}, {
|
|
13275
|
+
handle: "endedAt",
|
|
13276
|
+
name: "Selesai",
|
|
13277
|
+
options: {
|
|
13278
|
+
note: "Jam selesai."
|
|
13279
|
+
}
|
|
13280
|
+
}), {
|
|
13281
|
+
input: vue.withCtx(() => [
|
|
13282
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
13283
|
+
modelValue: vue.unref(values).endedAt,
|
|
13284
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).endedAt = $event),
|
|
13285
|
+
"is-loading": vue.unref(isLoading),
|
|
13286
|
+
class: "mt-2"
|
|
13287
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
13288
|
+
vue.createElementVNode(
|
|
13289
|
+
"div",
|
|
13290
|
+
_hoisted_2$n,
|
|
13291
|
+
vue.toDisplayString(duration.value),
|
|
13292
|
+
1
|
|
13293
|
+
/* TEXT */
|
|
13294
|
+
)
|
|
13295
|
+
]),
|
|
13296
|
+
_: 1
|
|
13297
|
+
/* STABLE */
|
|
13298
|
+
}, 16, ["modelValue"])
|
|
13299
|
+
])
|
|
13300
|
+
];
|
|
13301
|
+
}),
|
|
13298
13302
|
_: 1
|
|
13299
13303
|
/* STABLE */
|
|
13300
13304
|
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
@@ -13313,7 +13317,7 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
|
13313
13317
|
};
|
|
13314
13318
|
}
|
|
13315
13319
|
});
|
|
13316
|
-
const AttendanceSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["__scopeId", "data-v-
|
|
13320
|
+
const AttendanceSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["__scopeId", "data-v-b9363121"]]);
|
|
13317
13321
|
const _hoisted_1$v = { class: "flex flex-wrap" };
|
|
13318
13322
|
const _hoisted_2$m = { class: "mt-2" };
|
|
13319
13323
|
const _hoisted_3$e = { class: "mt-2" };
|
|
@@ -13420,263 +13424,266 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
13420
13424
|
onCancel: vue.unref(discardChanges),
|
|
13421
13425
|
onSubmit: vue.unref(saveOne)
|
|
13422
13426
|
}, {
|
|
13423
|
-
default: vue.withCtx(() =>
|
|
13424
|
-
|
|
13425
|
-
|
|
13426
|
-
|
|
13427
|
+
default: vue.withCtx(() => {
|
|
13428
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
13429
|
+
return [
|
|
13430
|
+
vue.createElementVNode("div", _hoisted_1$v, [
|
|
13431
|
+
vue.createElementVNode("div", _hoisted_2$m, [
|
|
13432
|
+
vue.createVNode(vue.unref(form.NeonField), null, {
|
|
13433
|
+
input: vue.withCtx(() => [
|
|
13434
|
+
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
13435
|
+
size: "sm",
|
|
13436
|
+
color: "success",
|
|
13437
|
+
"icon-left": "x",
|
|
13438
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected",
|
|
13439
|
+
onClick: rejectedAbsensi
|
|
13440
|
+
}, {
|
|
13441
|
+
default: vue.withCtx(() => [
|
|
13442
|
+
vue.createTextVNode("Ditolak")
|
|
13443
|
+
]),
|
|
13444
|
+
_: 1
|
|
13445
|
+
/* STABLE */
|
|
13446
|
+
}, 8, ["is-disabled"])
|
|
13447
|
+
]),
|
|
13448
|
+
_: 1
|
|
13449
|
+
/* STABLE */
|
|
13450
|
+
})
|
|
13451
|
+
]),
|
|
13452
|
+
vue.createTextVNode(" "),
|
|
13453
|
+
vue.createElementVNode("div", _hoisted_3$e, [
|
|
13454
|
+
vue.createVNode(vue.unref(form.NeonField), null, {
|
|
13455
|
+
input: vue.withCtx(() => [
|
|
13456
|
+
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
13457
|
+
size: "sm",
|
|
13458
|
+
color: "warning",
|
|
13459
|
+
"icon-left": "trash-can",
|
|
13460
|
+
onClick: deleteAbsensi
|
|
13461
|
+
}, {
|
|
13462
|
+
default: vue.withCtx(() => [
|
|
13463
|
+
vue.createTextVNode("Dihapus")
|
|
13464
|
+
]),
|
|
13465
|
+
_: 1
|
|
13466
|
+
/* STABLE */
|
|
13467
|
+
})
|
|
13468
|
+
]),
|
|
13469
|
+
_: 1
|
|
13470
|
+
/* STABLE */
|
|
13471
|
+
})
|
|
13472
|
+
])
|
|
13473
|
+
]),
|
|
13474
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
13475
|
+
modelValue: vue.unref(values),
|
|
13476
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13477
|
+
field: vue.unref(fields).submitStaff,
|
|
13478
|
+
"is-disabled": ""
|
|
13479
|
+
}, null, 8, ["modelValue", "field"]),
|
|
13480
|
+
(vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
13481
|
+
key: key.value,
|
|
13482
|
+
"model-value": vue.unref(values).startedAt
|
|
13483
|
+
}, {
|
|
13484
|
+
handle: "startedAt",
|
|
13485
|
+
name: "Tanggal",
|
|
13486
|
+
type: "date",
|
|
13487
|
+
input: "date2",
|
|
13488
|
+
options: {
|
|
13489
|
+
note: "Tanggal absensi."
|
|
13490
|
+
}
|
|
13491
|
+
}, {
|
|
13492
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected",
|
|
13493
|
+
"onUpdate:modelValue": onStartedAtUpdate
|
|
13494
|
+
}), null, 16, ["model-value", "is-disabled"])),
|
|
13495
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
13496
|
+
modelValue: vue.unref(values),
|
|
13497
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13498
|
+
field: vue.unref(fields).type,
|
|
13499
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
13500
|
+
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
13501
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
13502
|
+
modelValue: vue.unref(values),
|
|
13503
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13504
|
+
field: vue.unref(fields).decideStaff,
|
|
13505
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
13506
|
+
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
13507
|
+
((_a2 = vue.unref(values).type) == null ? void 0 : _a2.code) === "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
|
|
13508
|
+
key: 0,
|
|
13509
|
+
modelValue: vue.unref(values),
|
|
13510
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13511
|
+
field: vue.unref(fields).delegateStaffs,
|
|
13512
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
13513
|
+
}, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
|
|
13514
|
+
vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
13515
|
+
key: 1,
|
|
13516
|
+
modelValue: vue.unref(values).notes,
|
|
13517
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
|
|
13518
|
+
}, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
13519
|
+
vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
|
|
13520
|
+
key: 2,
|
|
13521
|
+
"is-dashed": "",
|
|
13522
|
+
label: "Keterangan"
|
|
13523
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
13524
|
+
((_b = vue.unref(values).type) == null ? void 0 : _b.code) === "dayOff" || ((_c = vue.unref(values).type) == null ? void 0 : _c.code) === "sick" || ((_d = vue.unref(values).type) == null ? void 0 : _d.code) === "permission" || ((_e = vue.unref(values).type) == null ? void 0 : _e.code) === "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
13525
|
+
key: 3,
|
|
13526
|
+
modelValue: vue.unref(values).submittedAt,
|
|
13527
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).submittedAt = $event)
|
|
13528
|
+
}, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
13529
|
+
vue.createCommentVNode(" EARLY GO HOME "),
|
|
13530
|
+
((_f = vue.unref(values).type) == null ? void 0 : _f.code) == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$d, [
|
|
13531
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13532
|
+
modelValue: vue.unref(values).startedAt,
|
|
13533
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).startedAt = $event)
|
|
13534
|
+
}, {
|
|
13535
|
+
handle: "startedAt",
|
|
13536
|
+
name: "Jam Pulang Kerja",
|
|
13537
|
+
options: {
|
|
13538
|
+
note: "Jam pulang kerja."
|
|
13539
|
+
}
|
|
13540
|
+
}), {
|
|
13427
13541
|
input: vue.withCtx(() => [
|
|
13428
|
-
vue.createVNode(vue.unref(
|
|
13429
|
-
|
|
13430
|
-
|
|
13431
|
-
"
|
|
13432
|
-
|
|
13433
|
-
|
|
13434
|
-
}, {
|
|
13435
|
-
default: vue.withCtx(() => [
|
|
13436
|
-
vue.createTextVNode("Ditolak")
|
|
13437
|
-
]),
|
|
13438
|
-
_: 1
|
|
13439
|
-
/* STABLE */
|
|
13440
|
-
}, 8, ["is-disabled"])
|
|
13542
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
13543
|
+
modelValue: vue.unref(values).startedAt,
|
|
13544
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event),
|
|
13545
|
+
"is-loading": vue.unref(isLoading),
|
|
13546
|
+
class: "mt-2"
|
|
13547
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
13441
13548
|
]),
|
|
13442
13549
|
_: 1
|
|
13443
13550
|
/* STABLE */
|
|
13444
|
-
})
|
|
13445
|
-
|
|
13446
|
-
|
|
13447
|
-
|
|
13448
|
-
|
|
13551
|
+
}, 16, ["modelValue"]),
|
|
13552
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13553
|
+
modelValue: vue.unref(values).endedAt,
|
|
13554
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).endedAt = $event)
|
|
13555
|
+
}, {
|
|
13556
|
+
handle: "endedAt",
|
|
13557
|
+
name: "Jam Pulang Lebih Awal",
|
|
13558
|
+
options: {
|
|
13559
|
+
note: "Jam pulang lebih awal."
|
|
13560
|
+
}
|
|
13561
|
+
}), {
|
|
13449
13562
|
input: vue.withCtx(() => [
|
|
13450
|
-
vue.createVNode(vue.unref(
|
|
13451
|
-
|
|
13452
|
-
|
|
13453
|
-
"
|
|
13454
|
-
|
|
13455
|
-
},
|
|
13456
|
-
|
|
13457
|
-
|
|
13458
|
-
|
|
13459
|
-
|
|
13460
|
-
|
|
13461
|
-
|
|
13563
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
13564
|
+
modelValue: vue.unref(values).endedAt,
|
|
13565
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event),
|
|
13566
|
+
"is-loading": vue.unref(isLoading),
|
|
13567
|
+
class: "mt-2"
|
|
13568
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
13569
|
+
vue.createElementVNode(
|
|
13570
|
+
"div",
|
|
13571
|
+
_hoisted_5$c,
|
|
13572
|
+
vue.toDisplayString(reverseDuration.value),
|
|
13573
|
+
1
|
|
13574
|
+
/* TEXT */
|
|
13575
|
+
)
|
|
13462
13576
|
]),
|
|
13463
13577
|
_: 1
|
|
13464
13578
|
/* STABLE */
|
|
13465
|
-
})
|
|
13466
|
-
])
|
|
13467
|
-
|
|
13468
|
-
|
|
13469
|
-
|
|
13470
|
-
|
|
13471
|
-
|
|
13472
|
-
|
|
13473
|
-
|
|
13474
|
-
|
|
13475
|
-
|
|
13476
|
-
|
|
13477
|
-
|
|
13478
|
-
|
|
13479
|
-
|
|
13480
|
-
|
|
13481
|
-
|
|
13482
|
-
|
|
13483
|
-
|
|
13484
|
-
|
|
13485
|
-
|
|
13486
|
-
|
|
13487
|
-
|
|
13488
|
-
|
|
13489
|
-
|
|
13490
|
-
|
|
13491
|
-
|
|
13492
|
-
|
|
13493
|
-
|
|
13494
|
-
|
|
13495
|
-
|
|
13496
|
-
|
|
13497
|
-
|
|
13498
|
-
|
|
13499
|
-
|
|
13500
|
-
|
|
13501
|
-
|
|
13502
|
-
|
|
13503
|
-
|
|
13504
|
-
|
|
13505
|
-
|
|
13506
|
-
|
|
13507
|
-
|
|
13508
|
-
|
|
13509
|
-
|
|
13510
|
-
|
|
13511
|
-
|
|
13512
|
-
|
|
13513
|
-
|
|
13514
|
-
|
|
13515
|
-
|
|
13516
|
-
|
|
13517
|
-
|
|
13518
|
-
|
|
13519
|
-
|
|
13520
|
-
|
|
13521
|
-
|
|
13522
|
-
|
|
13523
|
-
|
|
13524
|
-
|
|
13525
|
-
|
|
13526
|
-
|
|
13527
|
-
|
|
13528
|
-
|
|
13529
|
-
|
|
13530
|
-
|
|
13531
|
-
|
|
13532
|
-
|
|
13533
|
-
|
|
13534
|
-
|
|
13535
|
-
|
|
13536
|
-
|
|
13537
|
-
modelValue
|
|
13538
|
-
|
|
13539
|
-
|
|
13540
|
-
|
|
13541
|
-
|
|
13542
|
-
|
|
13543
|
-
|
|
13544
|
-
|
|
13545
|
-
|
|
13546
|
-
|
|
13547
|
-
|
|
13548
|
-
|
|
13549
|
-
|
|
13550
|
-
|
|
13551
|
-
|
|
13552
|
-
|
|
13553
|
-
|
|
13554
|
-
|
|
13555
|
-
|
|
13556
|
-
|
|
13557
|
-
|
|
13558
|
-
modelValue
|
|
13559
|
-
|
|
13560
|
-
|
|
13561
|
-
|
|
13562
|
-
|
|
13563
|
-
|
|
13564
|
-
|
|
13565
|
-
|
|
13566
|
-
|
|
13567
|
-
|
|
13568
|
-
|
|
13569
|
-
|
|
13570
|
-
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
}, 16, ["modelValue"])
|
|
13574
|
-
])) : vue.createCommentVNode("v-if", true),
|
|
13575
|
-
vue.createCommentVNode(" COME TOO LATE "),
|
|
13576
|
-
vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$c, [
|
|
13577
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13578
|
-
modelValue: vue.unref(values).startedAt,
|
|
13579
|
-
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).startedAt = $event)
|
|
13580
|
-
}, {
|
|
13581
|
-
handle: "startedAt",
|
|
13582
|
-
name: "Jam Datang",
|
|
13583
|
-
options: {
|
|
13584
|
-
note: "Jam Datang kerja."
|
|
13585
|
-
}
|
|
13586
|
-
}), {
|
|
13587
|
-
input: vue.withCtx(() => [
|
|
13588
|
-
vue.createVNode(vue.unref(NeonTime), {
|
|
13589
|
-
modelValue: vue.unref(values).startedAt,
|
|
13590
|
-
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event),
|
|
13591
|
-
"is-loading": vue.unref(isLoading),
|
|
13592
|
-
class: "mt-2"
|
|
13593
|
-
}, null, 8, ["modelValue", "is-loading"])
|
|
13594
|
-
]),
|
|
13595
|
-
_: 1
|
|
13596
|
-
/* STABLE */
|
|
13597
|
-
}, 16, ["modelValue"]),
|
|
13598
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13599
|
-
modelValue: vue.unref(values).endedAt,
|
|
13600
|
-
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).endedAt = $event)
|
|
13601
|
-
}, {
|
|
13602
|
-
handle: "endedAt",
|
|
13603
|
-
name: "Jam Datang Terlambat",
|
|
13604
|
-
options: {
|
|
13605
|
-
note: "Jam datang terlambat."
|
|
13606
|
-
}
|
|
13607
|
-
}), {
|
|
13608
|
-
input: vue.withCtx(() => [
|
|
13609
|
-
vue.createVNode(vue.unref(NeonTime), {
|
|
13610
|
-
modelValue: vue.unref(values).endedAt,
|
|
13611
|
-
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event),
|
|
13612
|
-
"is-loading": vue.unref(isLoading),
|
|
13613
|
-
class: "mt-2"
|
|
13614
|
-
}, null, 8, ["modelValue", "is-loading"]),
|
|
13615
|
-
vue.createElementVNode(
|
|
13616
|
-
"div",
|
|
13617
|
-
_hoisted_7$a,
|
|
13618
|
-
vue.toDisplayString(duration.value),
|
|
13619
|
-
1
|
|
13620
|
-
/* TEXT */
|
|
13621
|
-
)
|
|
13622
|
-
]),
|
|
13623
|
-
_: 1
|
|
13624
|
-
/* STABLE */
|
|
13625
|
-
}, 16, ["modelValue"])
|
|
13626
|
-
])) : vue.createCommentVNode("v-if", true),
|
|
13627
|
-
vue.createCommentVNode(" TIMEOUT "),
|
|
13628
|
-
vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$9, [
|
|
13629
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13630
|
-
modelValue: vue.unref(values).startedAt,
|
|
13631
|
-
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).startedAt = $event)
|
|
13632
|
-
}, {
|
|
13633
|
-
handle: "startedAt",
|
|
13634
|
-
name: "Mulai",
|
|
13635
|
-
options: {
|
|
13636
|
-
note: "Jam mulai."
|
|
13637
|
-
}
|
|
13638
|
-
}), {
|
|
13639
|
-
input: vue.withCtx(() => [
|
|
13640
|
-
vue.createVNode(vue.unref(NeonTime), {
|
|
13641
|
-
modelValue: vue.unref(values).startedAt,
|
|
13642
|
-
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event),
|
|
13643
|
-
"is-loading": vue.unref(isLoading),
|
|
13644
|
-
class: "mt-2"
|
|
13645
|
-
}, null, 8, ["modelValue", "is-loading"])
|
|
13646
|
-
]),
|
|
13647
|
-
_: 1
|
|
13648
|
-
/* STABLE */
|
|
13649
|
-
}, 16, ["modelValue"]),
|
|
13650
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13651
|
-
modelValue: vue.unref(values).endedAt,
|
|
13652
|
-
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).endedAt = $event)
|
|
13653
|
-
}, {
|
|
13654
|
-
handle: "endedAt",
|
|
13655
|
-
name: "Selesai",
|
|
13656
|
-
options: {
|
|
13657
|
-
note: "Jam selesai."
|
|
13658
|
-
}
|
|
13659
|
-
}), {
|
|
13660
|
-
input: vue.withCtx(() => [
|
|
13661
|
-
vue.createVNode(vue.unref(NeonTime), {
|
|
13662
|
-
modelValue: vue.unref(values).endedAt,
|
|
13663
|
-
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event),
|
|
13664
|
-
"is-loading": vue.unref(isLoading),
|
|
13665
|
-
class: "mt-2"
|
|
13666
|
-
}, null, 8, ["modelValue", "is-loading"]),
|
|
13667
|
-
vue.createElementVNode(
|
|
13668
|
-
"div",
|
|
13669
|
-
_hoisted_9$9,
|
|
13670
|
-
vue.toDisplayString(duration.value),
|
|
13671
|
-
1
|
|
13672
|
-
/* TEXT */
|
|
13673
|
-
)
|
|
13674
|
-
]),
|
|
13675
|
-
_: 1
|
|
13676
|
-
/* STABLE */
|
|
13677
|
-
}, 16, ["modelValue"])
|
|
13678
|
-
])) : vue.createCommentVNode("v-if", true)
|
|
13679
|
-
]),
|
|
13579
|
+
}, 16, ["modelValue"])
|
|
13580
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
13581
|
+
vue.createCommentVNode(" COME TOO LATE "),
|
|
13582
|
+
((_g = vue.unref(values).type) == null ? void 0 : _g.code) == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$c, [
|
|
13583
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13584
|
+
modelValue: vue.unref(values).startedAt,
|
|
13585
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).startedAt = $event)
|
|
13586
|
+
}, {
|
|
13587
|
+
handle: "startedAt",
|
|
13588
|
+
name: "Jam Datang",
|
|
13589
|
+
options: {
|
|
13590
|
+
note: "Jam Datang kerja."
|
|
13591
|
+
}
|
|
13592
|
+
}), {
|
|
13593
|
+
input: vue.withCtx(() => [
|
|
13594
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
13595
|
+
modelValue: vue.unref(values).startedAt,
|
|
13596
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event),
|
|
13597
|
+
"is-loading": vue.unref(isLoading),
|
|
13598
|
+
class: "mt-2"
|
|
13599
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
13600
|
+
]),
|
|
13601
|
+
_: 1
|
|
13602
|
+
/* STABLE */
|
|
13603
|
+
}, 16, ["modelValue"]),
|
|
13604
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13605
|
+
modelValue: vue.unref(values).endedAt,
|
|
13606
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).endedAt = $event)
|
|
13607
|
+
}, {
|
|
13608
|
+
handle: "endedAt",
|
|
13609
|
+
name: "Jam Datang Terlambat",
|
|
13610
|
+
options: {
|
|
13611
|
+
note: "Jam datang terlambat."
|
|
13612
|
+
}
|
|
13613
|
+
}), {
|
|
13614
|
+
input: vue.withCtx(() => [
|
|
13615
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
13616
|
+
modelValue: vue.unref(values).endedAt,
|
|
13617
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event),
|
|
13618
|
+
"is-loading": vue.unref(isLoading),
|
|
13619
|
+
class: "mt-2"
|
|
13620
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
13621
|
+
vue.createElementVNode(
|
|
13622
|
+
"div",
|
|
13623
|
+
_hoisted_7$a,
|
|
13624
|
+
vue.toDisplayString(duration.value),
|
|
13625
|
+
1
|
|
13626
|
+
/* TEXT */
|
|
13627
|
+
)
|
|
13628
|
+
]),
|
|
13629
|
+
_: 1
|
|
13630
|
+
/* STABLE */
|
|
13631
|
+
}, 16, ["modelValue"])
|
|
13632
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
13633
|
+
vue.createCommentVNode(" TIMEOUT "),
|
|
13634
|
+
((_h = vue.unref(values).type) == null ? void 0 : _h.code) == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$9, [
|
|
13635
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13636
|
+
modelValue: vue.unref(values).startedAt,
|
|
13637
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).startedAt = $event)
|
|
13638
|
+
}, {
|
|
13639
|
+
handle: "startedAt",
|
|
13640
|
+
name: "Mulai",
|
|
13641
|
+
options: {
|
|
13642
|
+
note: "Jam mulai."
|
|
13643
|
+
}
|
|
13644
|
+
}), {
|
|
13645
|
+
input: vue.withCtx(() => [
|
|
13646
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
13647
|
+
modelValue: vue.unref(values).startedAt,
|
|
13648
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event),
|
|
13649
|
+
"is-loading": vue.unref(isLoading),
|
|
13650
|
+
class: "mt-2"
|
|
13651
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
13652
|
+
]),
|
|
13653
|
+
_: 1
|
|
13654
|
+
/* STABLE */
|
|
13655
|
+
}, 16, ["modelValue"]),
|
|
13656
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13657
|
+
modelValue: vue.unref(values).endedAt,
|
|
13658
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).endedAt = $event)
|
|
13659
|
+
}, {
|
|
13660
|
+
handle: "endedAt",
|
|
13661
|
+
name: "Selesai",
|
|
13662
|
+
options: {
|
|
13663
|
+
note: "Jam selesai."
|
|
13664
|
+
}
|
|
13665
|
+
}), {
|
|
13666
|
+
input: vue.withCtx(() => [
|
|
13667
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
13668
|
+
modelValue: vue.unref(values).endedAt,
|
|
13669
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event),
|
|
13670
|
+
"is-loading": vue.unref(isLoading),
|
|
13671
|
+
class: "mt-2"
|
|
13672
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
13673
|
+
vue.createElementVNode(
|
|
13674
|
+
"div",
|
|
13675
|
+
_hoisted_9$9,
|
|
13676
|
+
vue.toDisplayString(duration.value),
|
|
13677
|
+
1
|
|
13678
|
+
/* TEXT */
|
|
13679
|
+
)
|
|
13680
|
+
]),
|
|
13681
|
+
_: 1
|
|
13682
|
+
/* STABLE */
|
|
13683
|
+
}, 16, ["modelValue"])
|
|
13684
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
13685
|
+
];
|
|
13686
|
+
}),
|
|
13680
13687
|
_: 1
|
|
13681
13688
|
/* STABLE */
|
|
13682
13689
|
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
@@ -13695,7 +13702,7 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
13695
13702
|
};
|
|
13696
13703
|
}
|
|
13697
13704
|
});
|
|
13698
|
-
const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["__scopeId", "data-v-
|
|
13705
|
+
const AttendanceManager = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["__scopeId", "data-v-b5828cb6"]]);
|
|
13699
13706
|
const _hoisted_1$u = {
|
|
13700
13707
|
key: 1,
|
|
13701
13708
|
class: "flex flex-wrap"
|
|
@@ -13874,109 +13881,111 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
13874
13881
|
onCancel: vue.unref(discardChanges),
|
|
13875
13882
|
onSubmit: vue.unref(saveOne)
|
|
13876
13883
|
}, {
|
|
13877
|
-
default: vue.withCtx(() =>
|
|
13878
|
-
|
|
13879
|
-
|
|
13880
|
-
|
|
13881
|
-
|
|
13882
|
-
|
|
13883
|
-
|
|
13884
|
-
|
|
13885
|
-
|
|
13886
|
-
vue.
|
|
13887
|
-
|
|
13888
|
-
|
|
13889
|
-
|
|
13890
|
-
|
|
13891
|
-
|
|
13892
|
-
|
|
13893
|
-
|
|
13894
|
-
|
|
13895
|
-
|
|
13896
|
-
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
|
|
13900
|
-
|
|
13901
|
-
|
|
13902
|
-
|
|
13903
|
-
|
|
13904
|
-
|
|
13905
|
-
|
|
13906
|
-
|
|
13907
|
-
|
|
13908
|
-
|
|
13909
|
-
vue.
|
|
13910
|
-
|
|
13911
|
-
|
|
13912
|
-
|
|
13913
|
-
|
|
13914
|
-
|
|
13915
|
-
|
|
13916
|
-
|
|
13917
|
-
|
|
13918
|
-
|
|
13919
|
-
|
|
13920
|
-
|
|
13921
|
-
|
|
13922
|
-
|
|
13923
|
-
|
|
13924
|
-
|
|
13925
|
-
|
|
13926
|
-
|
|
13927
|
-
|
|
13928
|
-
|
|
13929
|
-
|
|
13930
|
-
|
|
13931
|
-
|
|
13932
|
-
|
|
13933
|
-
|
|
13934
|
-
|
|
13935
|
-
|
|
13936
|
-
|
|
13937
|
-
|
|
13938
|
-
|
|
13939
|
-
|
|
13940
|
-
|
|
13941
|
-
|
|
13942
|
-
|
|
13943
|
-
|
|
13944
|
-
|
|
13945
|
-
|
|
13946
|
-
|
|
13947
|
-
|
|
13948
|
-
|
|
13949
|
-
|
|
13950
|
-
|
|
13951
|
-
|
|
13952
|
-
|
|
13953
|
-
|
|
13954
|
-
|
|
13955
|
-
|
|
13956
|
-
|
|
13957
|
-
|
|
13958
|
-
modelValue
|
|
13959
|
-
|
|
13960
|
-
|
|
13961
|
-
|
|
13962
|
-
|
|
13963
|
-
|
|
13964
|
-
|
|
13965
|
-
|
|
13966
|
-
|
|
13967
|
-
|
|
13968
|
-
|
|
13969
|
-
|
|
13970
|
-
|
|
13971
|
-
|
|
13972
|
-
|
|
13973
|
-
|
|
13884
|
+
default: vue.withCtx(() => {
|
|
13885
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
|
|
13886
|
+
return [
|
|
13887
|
+
conflictAtt.value == true ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonAlert), {
|
|
13888
|
+
key: 0,
|
|
13889
|
+
icon: "circle-info",
|
|
13890
|
+
label: "Sudah ada Absensi!. ",
|
|
13891
|
+
description: "Untuk hari ini kamu sudah ada absensi yang diajukan, silahkan cari absensi yang telah diajukan dan ajukan kembali untuk pergantiannya.",
|
|
13892
|
+
color: "#F7CF6D"
|
|
13893
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
13894
|
+
!vue.unref(isNew) && conflictAtt.value == false ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
|
|
13895
|
+
vue.createElementVNode("div", _hoisted_2$l, [
|
|
13896
|
+
vue.createVNode(vue.unref(form.NeonField), null, {
|
|
13897
|
+
input: vue.withCtx(() => [
|
|
13898
|
+
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
13899
|
+
size: "sm",
|
|
13900
|
+
color: "success",
|
|
13901
|
+
"icon-left": "up-from-line",
|
|
13902
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected",
|
|
13903
|
+
onClick: conflictAttendance
|
|
13904
|
+
}, {
|
|
13905
|
+
default: vue.withCtx(() => [
|
|
13906
|
+
vue.createTextVNode("Ajukan")
|
|
13907
|
+
]),
|
|
13908
|
+
_: 1
|
|
13909
|
+
/* STABLE */
|
|
13910
|
+
}, 8, ["is-disabled"])
|
|
13911
|
+
]),
|
|
13912
|
+
_: 1
|
|
13913
|
+
/* STABLE */
|
|
13914
|
+
})
|
|
13915
|
+
]),
|
|
13916
|
+
vue.createTextVNode(" "),
|
|
13917
|
+
vue.createElementVNode("div", _hoisted_3$d, [
|
|
13918
|
+
vue.createVNode(vue.unref(form.NeonField), null, {
|
|
13919
|
+
input: vue.withCtx(() => [
|
|
13920
|
+
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
13921
|
+
size: "sm",
|
|
13922
|
+
color: "warning",
|
|
13923
|
+
"icon-left": "arrows-retweet",
|
|
13924
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "draft",
|
|
13925
|
+
onClick: changeAbsensi
|
|
13926
|
+
}, {
|
|
13927
|
+
default: vue.withCtx(() => [
|
|
13928
|
+
vue.createTextVNode("Ganti")
|
|
13929
|
+
]),
|
|
13930
|
+
_: 1
|
|
13931
|
+
/* STABLE */
|
|
13932
|
+
}, 8, ["is-disabled"])
|
|
13933
|
+
]),
|
|
13934
|
+
_: 1
|
|
13935
|
+
/* STABLE */
|
|
13936
|
+
})
|
|
13937
|
+
])
|
|
13938
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
13939
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
13940
|
+
modelValue: vue.unref(values),
|
|
13941
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13942
|
+
field: vue.unref(fields).submitStaff,
|
|
13943
|
+
"is-disabled": ""
|
|
13944
|
+
}, null, 8, ["modelValue", "field"]),
|
|
13945
|
+
(vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
13946
|
+
key: key.value,
|
|
13947
|
+
"model-value": vue.unref(values).startedAt
|
|
13948
|
+
}, {
|
|
13949
|
+
handle: "startedAt",
|
|
13950
|
+
name: "Tanggal",
|
|
13951
|
+
type: "date",
|
|
13952
|
+
input: "date2",
|
|
13953
|
+
options: {
|
|
13954
|
+
note: "Tanggal absensi."
|
|
13955
|
+
}
|
|
13956
|
+
}, {
|
|
13957
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected",
|
|
13958
|
+
"onUpdate:modelValue": onStartedAtUpdate
|
|
13959
|
+
}), null, 16, ["model-value", "is-disabled"])),
|
|
13960
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
13961
|
+
modelValue: vue.unref(values),
|
|
13962
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13963
|
+
field: vue.unref(fields).type,
|
|
13964
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
13965
|
+
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
13966
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
13967
|
+
modelValue: vue.unref(values),
|
|
13968
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13969
|
+
field: vue.unref(fields).decideStaff,
|
|
13970
|
+
query: vue.unref(query.Query).define(staffOptions.value),
|
|
13971
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
13972
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
13973
|
+
vue.createCommentVNode(' <div class="flex items-right">\n <div class="flex-grow">\n <NeonFields class="flex-1"> '),
|
|
13974
|
+
((_a2 = vue.unref(values).type) == null ? void 0 : _a2.code) == "leave" || ((_b = vue.unref(values).type) == null ? void 0 : _b.code) == "dayOff" || ((_c = vue.unref(values).type) == null ? void 0 : _c.code) == "sick" || ((_d = vue.unref(values).type) == null ? void 0 : _d.code) == "permission" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
|
|
13975
|
+
key: 2,
|
|
13976
|
+
modelValue: vue.unref(values),
|
|
13977
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
13978
|
+
field: vue.unref(fields).delegateStaffs,
|
|
13979
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
13980
|
+
}, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
|
|
13981
|
+
vue.createCommentVNode(" </NeonFields>\n </div> "),
|
|
13982
|
+
vue.createCommentVNode(` <div class="ml-2 flex items-end pb-1">
|
|
13974
13983
|
<NeonCopy
|
|
13975
13984
|
v-if="
|
|
13976
|
-
values.type == 'leave' ||
|
|
13977
|
-
values.type == 'dayOff' ||
|
|
13978
|
-
values.type == 'sick' ||
|
|
13979
|
-
values.type == 'permission' ||
|
|
13985
|
+
values.type?.code == 'leave' ||
|
|
13986
|
+
values.type?.code == 'dayOff' ||
|
|
13987
|
+
values.type?.code == 'sick' ||
|
|
13988
|
+
values.type?.code == 'permission' ||
|
|
13980
13989
|
values.isNotes == true
|
|
13981
13990
|
"
|
|
13982
13991
|
:size="'sm'"
|
|
@@ -13984,12 +13993,12 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
13984
13993
|
/>
|
|
13985
13994
|
</div>
|
|
13986
13995
|
</div> `),
|
|
13987
|
-
|
|
13996
|
+
vue.createCommentVNode(` <NeonField
|
|
13988
13997
|
v-if="
|
|
13989
|
-
values.type == 'leave' ||
|
|
13990
|
-
values.type == 'dayOff' ||
|
|
13991
|
-
values.type == 'sick' ||
|
|
13992
|
-
values.type == 'permission'
|
|
13998
|
+
values.type?.code == 'leave' ||
|
|
13999
|
+
values.type?.code == 'dayOff' ||
|
|
14000
|
+
values.type?.code == 'sick' ||
|
|
14001
|
+
values.type?.code == 'permission'
|
|
13993
14002
|
"
|
|
13994
14003
|
v-model="values.isNotes"
|
|
13995
14004
|
v-bind="fields.isNotes"
|
|
@@ -13999,13 +14008,13 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
13999
14008
|
values.status == 'approved'
|
|
14000
14009
|
"
|
|
14001
14010
|
> `),
|
|
14002
|
-
|
|
14011
|
+
vue.createCommentVNode(` <template #input>
|
|
14003
14012
|
<NeonCheck
|
|
14004
14013
|
v-if="
|
|
14005
|
-
values.type == 'leave' ||
|
|
14006
|
-
values.type == 'dayOff' ||
|
|
14007
|
-
values.type == 'sick' ||
|
|
14008
|
-
values.type == 'permission'
|
|
14014
|
+
values.type?.code == 'leave' ||
|
|
14015
|
+
values.type?.code == 'dayOff' ||
|
|
14016
|
+
values.type?.code == 'sick' ||
|
|
14017
|
+
values.type?.code == 'permission'
|
|
14009
14018
|
"
|
|
14010
14019
|
v-model="values.isNotes"
|
|
14011
14020
|
label="Catatan"
|
|
@@ -14013,226 +14022,227 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
14013
14022
|
:is-disabled="values.status == 'approved'"
|
|
14014
14023
|
/>
|
|
14015
14024
|
</template> `),
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
|
|
14026
|
-
|
|
14027
|
-
|
|
14028
|
-
|
|
14029
|
-
"is-dashed": "",
|
|
14030
|
-
label: "Keterangan"
|
|
14031
|
-
})) : vue.createCommentVNode("v-if", true),
|
|
14032
|
-
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({
|
|
14033
|
-
key: 6,
|
|
14034
|
-
modelValue: vue.unref(values).submittedAt,
|
|
14035
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).submittedAt = $event)
|
|
14036
|
-
}, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
14037
|
-
vue.unref(values).type == "sick" || vue.unref(values).type == "leave" || vue.unref(values).type == "permission" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$c, [
|
|
14038
|
-
vue.createVNode(vue.unref(interfaces.NeonDivider), {
|
|
14025
|
+
vue.createCommentVNode(" </NeonField> "),
|
|
14026
|
+
vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
14027
|
+
key: 3,
|
|
14028
|
+
modelValue: vue.unref(values).notes,
|
|
14029
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
|
|
14030
|
+
}, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
14031
|
+
((_e = vue.unref(values).type) == null ? void 0 : _e.code) == "leave" || ((_f = vue.unref(values).type) == null ? void 0 : _f.code) == "dayOff" || ((_g = vue.unref(values).type) == null ? void 0 : _g.code) == "sick" || ((_h = vue.unref(values).type) == null ? void 0 : _h.code) == "permission" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
14032
|
+
key: 4,
|
|
14033
|
+
modelValue: vue.unref(values).delegateNotes,
|
|
14034
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).delegateNotes = $event)
|
|
14035
|
+
}, vue.unref(fields).delegateNotes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
14036
|
+
vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
|
|
14037
|
+
key: 5,
|
|
14039
14038
|
"is-dashed": "",
|
|
14040
|
-
label: "
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14045
|
-
|
|
14046
|
-
|
|
14047
|
-
|
|
14048
|
-
|
|
14049
|
-
|
|
14050
|
-
|
|
14051
|
-
|
|
14052
|
-
|
|
14053
|
-
|
|
14054
|
-
|
|
14055
|
-
|
|
14056
|
-
|
|
14057
|
-
|
|
14058
|
-
|
|
14059
|
-
|
|
14060
|
-
|
|
14061
|
-
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
|
|
14065
|
-
|
|
14066
|
-
|
|
14067
|
-
|
|
14068
|
-
|
|
14069
|
-
|
|
14070
|
-
|
|
14071
|
-
|
|
14072
|
-
|
|
14073
|
-
|
|
14074
|
-
|
|
14075
|
-
|
|
14076
|
-
|
|
14077
|
-
|
|
14078
|
-
|
|
14079
|
-
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
vue.
|
|
14087
|
-
|
|
14088
|
-
|
|
14089
|
-
|
|
14090
|
-
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
|
-
|
|
14094
|
-
|
|
14095
|
-
|
|
14096
|
-
|
|
14097
|
-
|
|
14098
|
-
|
|
14099
|
-
|
|
14100
|
-
|
|
14101
|
-
|
|
14102
|
-
|
|
14103
|
-
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14108
|
-
vue.
|
|
14109
|
-
|
|
14110
|
-
|
|
14111
|
-
|
|
14112
|
-
|
|
14113
|
-
|
|
14114
|
-
|
|
14115
|
-
|
|
14116
|
-
|
|
14117
|
-
|
|
14118
|
-
vue.
|
|
14119
|
-
|
|
14120
|
-
|
|
14121
|
-
|
|
14122
|
-
|
|
14123
|
-
|
|
14124
|
-
|
|
14125
|
-
|
|
14126
|
-
|
|
14127
|
-
|
|
14128
|
-
|
|
14129
|
-
|
|
14130
|
-
|
|
14131
|
-
|
|
14132
|
-
|
|
14133
|
-
|
|
14134
|
-
|
|
14135
|
-
|
|
14136
|
-
|
|
14137
|
-
|
|
14138
|
-
|
|
14139
|
-
|
|
14140
|
-
vue.
|
|
14141
|
-
|
|
14142
|
-
|
|
14143
|
-
|
|
14144
|
-
|
|
14145
|
-
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
|
|
14149
|
-
|
|
14150
|
-
|
|
14151
|
-
|
|
14152
|
-
|
|
14153
|
-
|
|
14154
|
-
|
|
14155
|
-
|
|
14156
|
-
|
|
14157
|
-
|
|
14158
|
-
|
|
14159
|
-
|
|
14160
|
-
|
|
14161
|
-
|
|
14162
|
-
vue.
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14166
|
-
|
|
14167
|
-
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
|
-
|
|
14171
|
-
|
|
14172
|
-
vue.
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14178
|
-
|
|
14179
|
-
|
|
14180
|
-
|
|
14181
|
-
|
|
14182
|
-
|
|
14183
|
-
|
|
14184
|
-
|
|
14185
|
-
|
|
14186
|
-
|
|
14187
|
-
|
|
14188
|
-
|
|
14189
|
-
|
|
14190
|
-
|
|
14191
|
-
|
|
14192
|
-
|
|
14193
|
-
|
|
14194
|
-
vue.
|
|
14195
|
-
|
|
14196
|
-
|
|
14197
|
-
|
|
14198
|
-
|
|
14199
|
-
|
|
14200
|
-
|
|
14201
|
-
|
|
14202
|
-
|
|
14203
|
-
|
|
14204
|
-
|
|
14205
|
-
|
|
14206
|
-
|
|
14207
|
-
|
|
14208
|
-
|
|
14209
|
-
|
|
14210
|
-
|
|
14211
|
-
|
|
14212
|
-
|
|
14213
|
-
|
|
14214
|
-
|
|
14215
|
-
|
|
14216
|
-
vue.
|
|
14217
|
-
|
|
14218
|
-
|
|
14219
|
-
|
|
14220
|
-
|
|
14221
|
-
|
|
14222
|
-
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
|
|
14226
|
-
vue.
|
|
14227
|
-
|
|
14228
|
-
|
|
14229
|
-
|
|
14230
|
-
|
|
14231
|
-
|
|
14232
|
-
|
|
14233
|
-
|
|
14234
|
-
|
|
14235
|
-
|
|
14039
|
+
label: "Keterangan"
|
|
14040
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
14041
|
+
((_i = vue.unref(values).type) == null ? void 0 : _i.code) == "dayOff" || ((_j = vue.unref(values).type) == null ? void 0 : _j.code) == "sick" || ((_k = vue.unref(values).type) == null ? void 0 : _k.code) == "permission" || ((_l = vue.unref(values).type) == null ? void 0 : _l.code) == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
14042
|
+
key: 6,
|
|
14043
|
+
modelValue: vue.unref(values).submittedAt,
|
|
14044
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).submittedAt = $event)
|
|
14045
|
+
}, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
14046
|
+
((_m = vue.unref(values).type) == null ? void 0 : _m.code) == "sick" || ((_n = vue.unref(values).type) == null ? void 0 : _n.code) == "leave" || ((_o = vue.unref(values).type) == null ? void 0 : _o.code) == "permission" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$c, [
|
|
14047
|
+
vue.createVNode(vue.unref(interfaces.NeonDivider), {
|
|
14048
|
+
"is-dashed": "",
|
|
14049
|
+
label: "Tanggal ini digunakan hanya untuk Generate Absensi",
|
|
14050
|
+
class: "divider"
|
|
14051
|
+
}),
|
|
14052
|
+
vue.createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
|
|
14053
|
+
default: vue.withCtx(() => [
|
|
14054
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14055
|
+
modelValue: vue.unref(values).startedAt,
|
|
14056
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).startedAt = $event)
|
|
14057
|
+
}, vue.unref(fields).startedAt, {
|
|
14058
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
|
|
14059
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
14060
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14061
|
+
modelValue: vue.unref(values).endedAt,
|
|
14062
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event)
|
|
14063
|
+
}, vue.unref(fields).endedAt, {
|
|
14064
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
|
|
14065
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
14066
|
+
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
14067
|
+
"icon-left": "bolt",
|
|
14068
|
+
label: "Generate",
|
|
14069
|
+
color: "success",
|
|
14070
|
+
class: "mt-12",
|
|
14071
|
+
size: "xs",
|
|
14072
|
+
"is-loading": vue.unref(isLoading),
|
|
14073
|
+
"is-disabled": vue.unref(values).status !== "approved" || vue.unref(values).isGenerate === true,
|
|
14074
|
+
"is-rounded": "",
|
|
14075
|
+
onClick: generate
|
|
14076
|
+
}, null, 8, ["is-loading", "is-disabled"])
|
|
14077
|
+
]),
|
|
14078
|
+
_: 1
|
|
14079
|
+
/* STABLE */
|
|
14080
|
+
})
|
|
14081
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
14082
|
+
vue.createCommentVNode(" EARLY GO HOME "),
|
|
14083
|
+
((_p = vue.unref(values).type) == null ? void 0 : _p.code) == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$b, [
|
|
14084
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14085
|
+
modelValue: vue.unref(values).startedAt,
|
|
14086
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event)
|
|
14087
|
+
}, {
|
|
14088
|
+
handle: "startedAt",
|
|
14089
|
+
name: "Jam Pulang Kerja",
|
|
14090
|
+
options: {
|
|
14091
|
+
note: "Jam pulang kerja."
|
|
14092
|
+
}
|
|
14093
|
+
}), {
|
|
14094
|
+
input: vue.withCtx(() => [
|
|
14095
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14096
|
+
modelValue: vue.unref(values).startedAt,
|
|
14097
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event),
|
|
14098
|
+
"is-loading": vue.unref(isLoading),
|
|
14099
|
+
class: "mt-2",
|
|
14100
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14101
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"])
|
|
14102
|
+
]),
|
|
14103
|
+
_: 1
|
|
14104
|
+
/* STABLE */
|
|
14105
|
+
}, 16, ["modelValue"]),
|
|
14106
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14107
|
+
modelValue: vue.unref(values).endedAt,
|
|
14108
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event)
|
|
14109
|
+
}, {
|
|
14110
|
+
handle: "endedAt",
|
|
14111
|
+
name: "Jam Pulang Lebih Awal",
|
|
14112
|
+
options: {
|
|
14113
|
+
note: "Jam pulang lebih awal."
|
|
14114
|
+
}
|
|
14115
|
+
}), {
|
|
14116
|
+
input: vue.withCtx(() => [
|
|
14117
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14118
|
+
modelValue: vue.unref(values).endedAt,
|
|
14119
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).endedAt = $event),
|
|
14120
|
+
"is-loading": vue.unref(isLoading),
|
|
14121
|
+
class: "mt-2",
|
|
14122
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14123
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
14124
|
+
vue.createElementVNode(
|
|
14125
|
+
"div",
|
|
14126
|
+
_hoisted_6$b,
|
|
14127
|
+
vue.toDisplayString(duration.value),
|
|
14128
|
+
1
|
|
14129
|
+
/* TEXT */
|
|
14130
|
+
)
|
|
14131
|
+
]),
|
|
14132
|
+
_: 1
|
|
14133
|
+
/* STABLE */
|
|
14134
|
+
}, 16, ["modelValue"])
|
|
14135
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
14136
|
+
vue.createCommentVNode(" COME TOO LATE "),
|
|
14137
|
+
((_q = vue.unref(values).type) == null ? void 0 : _q.code) == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$9, [
|
|
14138
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14139
|
+
modelValue: vue.unref(values).startedAt,
|
|
14140
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event)
|
|
14141
|
+
}, {
|
|
14142
|
+
handle: "startedAt",
|
|
14143
|
+
name: "Jam Datang",
|
|
14144
|
+
options: {
|
|
14145
|
+
note: "Jam Datang kerja."
|
|
14146
|
+
}
|
|
14147
|
+
}), {
|
|
14148
|
+
input: vue.withCtx(() => [
|
|
14149
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14150
|
+
modelValue: vue.unref(values).startedAt,
|
|
14151
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event),
|
|
14152
|
+
"is-loading": vue.unref(isLoading),
|
|
14153
|
+
class: "mt-2",
|
|
14154
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14155
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"])
|
|
14156
|
+
]),
|
|
14157
|
+
_: 1
|
|
14158
|
+
/* STABLE */
|
|
14159
|
+
}, 16, ["modelValue"]),
|
|
14160
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14161
|
+
modelValue: vue.unref(values).endedAt,
|
|
14162
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event)
|
|
14163
|
+
}, {
|
|
14164
|
+
handle: "endedAt",
|
|
14165
|
+
name: "Jam Datang Terlambat",
|
|
14166
|
+
options: {
|
|
14167
|
+
note: "Jam datang terlambat."
|
|
14168
|
+
}
|
|
14169
|
+
}), {
|
|
14170
|
+
input: vue.withCtx(() => [
|
|
14171
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14172
|
+
modelValue: vue.unref(values).endedAt,
|
|
14173
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).endedAt = $event),
|
|
14174
|
+
"is-loading": vue.unref(isLoading),
|
|
14175
|
+
class: "mt-2",
|
|
14176
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14177
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
14178
|
+
vue.createElementVNode(
|
|
14179
|
+
"div",
|
|
14180
|
+
_hoisted_8$8,
|
|
14181
|
+
vue.toDisplayString(duration.value),
|
|
14182
|
+
1
|
|
14183
|
+
/* TEXT */
|
|
14184
|
+
)
|
|
14185
|
+
]),
|
|
14186
|
+
_: 1
|
|
14187
|
+
/* STABLE */
|
|
14188
|
+
}, 16, ["modelValue"])
|
|
14189
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
14190
|
+
vue.createCommentVNode(" TIMEOUT "),
|
|
14191
|
+
((_r = vue.unref(values).type) == null ? void 0 : _r.code) == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$8, [
|
|
14192
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14193
|
+
modelValue: vue.unref(values).startedAt,
|
|
14194
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => vue.unref(values).startedAt = $event)
|
|
14195
|
+
}, {
|
|
14196
|
+
handle: "startedAt",
|
|
14197
|
+
name: "Mulai",
|
|
14198
|
+
options: {
|
|
14199
|
+
note: "Jam mulai."
|
|
14200
|
+
}
|
|
14201
|
+
}), {
|
|
14202
|
+
input: vue.withCtx(() => [
|
|
14203
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14204
|
+
modelValue: vue.unref(values).startedAt,
|
|
14205
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).startedAt = $event),
|
|
14206
|
+
"is-loading": vue.unref(isLoading),
|
|
14207
|
+
class: "mt-2",
|
|
14208
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14209
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"])
|
|
14210
|
+
]),
|
|
14211
|
+
_: 1
|
|
14212
|
+
/* STABLE */
|
|
14213
|
+
}, 16, ["modelValue"]),
|
|
14214
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14215
|
+
modelValue: vue.unref(values).endedAt,
|
|
14216
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => vue.unref(values).endedAt = $event)
|
|
14217
|
+
}, {
|
|
14218
|
+
handle: "endedAt",
|
|
14219
|
+
name: "Selesai",
|
|
14220
|
+
options: {
|
|
14221
|
+
note: "Jam selesai."
|
|
14222
|
+
}
|
|
14223
|
+
}), {
|
|
14224
|
+
input: vue.withCtx(() => [
|
|
14225
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14226
|
+
modelValue: vue.unref(values).endedAt,
|
|
14227
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => vue.unref(values).endedAt = $event),
|
|
14228
|
+
"is-loading": vue.unref(isLoading),
|
|
14229
|
+
class: "mt-2",
|
|
14230
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14231
|
+
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
14232
|
+
vue.createElementVNode(
|
|
14233
|
+
"div",
|
|
14234
|
+
_hoisted_10$8,
|
|
14235
|
+
vue.toDisplayString(duration.value),
|
|
14236
|
+
1
|
|
14237
|
+
/* TEXT */
|
|
14238
|
+
)
|
|
14239
|
+
]),
|
|
14240
|
+
_: 1
|
|
14241
|
+
/* STABLE */
|
|
14242
|
+
}, 16, ["modelValue"])
|
|
14243
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
14244
|
+
];
|
|
14245
|
+
}),
|
|
14236
14246
|
_: 1
|
|
14237
14247
|
/* STABLE */
|
|
14238
14248
|
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
@@ -14252,24 +14262,24 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
14252
14262
|
};
|
|
14253
14263
|
}
|
|
14254
14264
|
});
|
|
14255
|
-
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$1d, [["__scopeId", "data-v-
|
|
14265
|
+
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$1d, [["__scopeId", "data-v-a7838db4"]]);
|
|
14256
14266
|
const _hoisted_1$t = { class: "flex flex-wrap" };
|
|
14257
14267
|
const _hoisted_2$k = { class: "mt-2" };
|
|
14258
14268
|
const _hoisted_3$c = { class: "mt-2" };
|
|
14259
14269
|
const _hoisted_4$b = { class: "mt-2" };
|
|
14260
|
-
const _hoisted_5$a = { key:
|
|
14270
|
+
const _hoisted_5$a = { key: 5 };
|
|
14261
14271
|
const _hoisted_6$a = {
|
|
14262
|
-
key:
|
|
14272
|
+
key: 6,
|
|
14263
14273
|
class: "grid gap-2 sm:grid-cols-2"
|
|
14264
14274
|
};
|
|
14265
14275
|
const _hoisted_7$8 = { class: "text-right text-fg-subdued text-sm" };
|
|
14266
14276
|
const _hoisted_8$7 = {
|
|
14267
|
-
key:
|
|
14277
|
+
key: 7,
|
|
14268
14278
|
class: "grid gap-2 sm:grid-cols-2"
|
|
14269
14279
|
};
|
|
14270
14280
|
const _hoisted_9$7 = { class: "text-right text-fg-subdued text-sm" };
|
|
14271
14281
|
const _hoisted_10$7 = {
|
|
14272
|
-
key:
|
|
14282
|
+
key: 8,
|
|
14273
14283
|
class: "grid gap-2 sm:grid-cols-2"
|
|
14274
14284
|
};
|
|
14275
14285
|
const _hoisted_11$7 = { class: "text-right text-fg-subdued text-sm" };
|
|
@@ -14406,360 +14416,355 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
14406
14416
|
onCancel: vue.unref(discardChanges),
|
|
14407
14417
|
onSubmit: vue.unref(saveOne)
|
|
14408
14418
|
}, {
|
|
14409
|
-
default: vue.withCtx(() =>
|
|
14410
|
-
|
|
14411
|
-
|
|
14412
|
-
|
|
14413
|
-
|
|
14419
|
+
default: vue.withCtx(() => {
|
|
14420
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
|
|
14421
|
+
return [
|
|
14422
|
+
vue.createElementVNode("div", _hoisted_1$t, [
|
|
14423
|
+
vue.createElementVNode("div", _hoisted_2$k, [
|
|
14424
|
+
vue.createVNode(vue.unref(form.NeonField), null, {
|
|
14425
|
+
input: vue.withCtx(() => [
|
|
14426
|
+
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
14427
|
+
size: "sm",
|
|
14428
|
+
color: "success",
|
|
14429
|
+
"icon-left": "check",
|
|
14430
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected",
|
|
14431
|
+
onClick: approvedAbsensi
|
|
14432
|
+
}, {
|
|
14433
|
+
default: vue.withCtx(() => [
|
|
14434
|
+
vue.createTextVNode("Disetujui")
|
|
14435
|
+
]),
|
|
14436
|
+
_: 1
|
|
14437
|
+
/* STABLE */
|
|
14438
|
+
}, 8, ["is-disabled"])
|
|
14439
|
+
]),
|
|
14440
|
+
_: 1
|
|
14441
|
+
/* STABLE */
|
|
14442
|
+
})
|
|
14443
|
+
]),
|
|
14444
|
+
vue.createTextVNode(" "),
|
|
14445
|
+
vue.createElementVNode("div", _hoisted_3$c, [
|
|
14446
|
+
vue.createVNode(vue.unref(form.NeonField), null, {
|
|
14447
|
+
input: vue.withCtx(() => [
|
|
14448
|
+
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
14449
|
+
size: "sm",
|
|
14450
|
+
color: "danger",
|
|
14451
|
+
"icon-left": "x",
|
|
14452
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected",
|
|
14453
|
+
onClick: rejectedAbsensi
|
|
14454
|
+
}, {
|
|
14455
|
+
default: vue.withCtx(() => [
|
|
14456
|
+
vue.createTextVNode("Ditolak")
|
|
14457
|
+
]),
|
|
14458
|
+
_: 1
|
|
14459
|
+
/* STABLE */
|
|
14460
|
+
}, 8, ["is-disabled"])
|
|
14461
|
+
]),
|
|
14462
|
+
_: 1
|
|
14463
|
+
/* STABLE */
|
|
14464
|
+
})
|
|
14465
|
+
]),
|
|
14466
|
+
vue.createTextVNode(" "),
|
|
14467
|
+
vue.createElementVNode("div", _hoisted_4$b, [
|
|
14468
|
+
vue.createVNode(vue.unref(form.NeonField), null, {
|
|
14469
|
+
input: vue.withCtx(() => [
|
|
14470
|
+
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
14471
|
+
size: "sm",
|
|
14472
|
+
color: "warning",
|
|
14473
|
+
"icon-left": "trash-can",
|
|
14474
|
+
onClick: deleteAbsensi
|
|
14475
|
+
}, {
|
|
14476
|
+
default: vue.withCtx(() => [
|
|
14477
|
+
vue.createTextVNode("Dihapus")
|
|
14478
|
+
]),
|
|
14479
|
+
_: 1
|
|
14480
|
+
/* STABLE */
|
|
14481
|
+
})
|
|
14482
|
+
]),
|
|
14483
|
+
_: 1
|
|
14484
|
+
/* STABLE */
|
|
14485
|
+
})
|
|
14486
|
+
])
|
|
14487
|
+
]),
|
|
14488
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
14489
|
+
modelValue: vue.unref(values),
|
|
14490
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
14491
|
+
field: vue.unref(fields).submitStaff,
|
|
14492
|
+
"is-disabled": ""
|
|
14493
|
+
}, null, 8, ["modelValue", "field"]),
|
|
14494
|
+
(vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
14495
|
+
key: key.value,
|
|
14496
|
+
"model-value": vue.unref(values).startedAt
|
|
14497
|
+
}, {
|
|
14498
|
+
handle: "startedAt",
|
|
14499
|
+
name: "Tanggal",
|
|
14500
|
+
type: "date",
|
|
14501
|
+
input: "date2",
|
|
14502
|
+
options: {
|
|
14503
|
+
note: "Tanggal absensi."
|
|
14504
|
+
}
|
|
14505
|
+
}, {
|
|
14506
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected",
|
|
14507
|
+
"onUpdate:modelValue": onStartedAtUpdate
|
|
14508
|
+
}), null, 16, ["model-value", "is-disabled"])),
|
|
14509
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
14510
|
+
modelValue: vue.unref(values),
|
|
14511
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
14512
|
+
field: vue.unref(fields).type,
|
|
14513
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14514
|
+
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
14515
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
14516
|
+
modelValue: vue.unref(values),
|
|
14517
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
14518
|
+
field: vue.unref(fields).monitoringStaffs,
|
|
14519
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14520
|
+
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
14521
|
+
((_a2 = vue.unref(values).type) == null ? void 0 : _a2.code) == "leave" || ((_b = vue.unref(values).type) == null ? void 0 : _b.code) == "dayOff" || ((_c = vue.unref(values).type) == null ? void 0 : _c.code) == "sick" || ((_d = vue.unref(values).type) == null ? void 0 : _d.code) == "permission" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
|
|
14522
|
+
key: 0,
|
|
14523
|
+
modelValue: vue.unref(values),
|
|
14524
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
14525
|
+
field: vue.unref(fields).delegateStaffs,
|
|
14526
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14527
|
+
}, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
|
|
14528
|
+
vue.createCommentVNode(` <NeonField
|
|
14529
|
+
v-if="
|
|
14530
|
+
values.type?.code == 'leave' ||
|
|
14531
|
+
values.type?.code == 'dayOff' ||
|
|
14532
|
+
values.type?.code == 'sick' ||
|
|
14533
|
+
values.type?.code == 'permission'
|
|
14534
|
+
"
|
|
14535
|
+
v-model="values.isNotes"
|
|
14536
|
+
v-bind="fields.isNotes"
|
|
14537
|
+
:is-hidden="values.isNotes == false"
|
|
14538
|
+
:is-disabled="
|
|
14539
|
+
values.status == 'approved' || values.status == 'rejected'
|
|
14540
|
+
"
|
|
14541
|
+
>
|
|
14542
|
+
<template #input>
|
|
14543
|
+
<NeonCheck
|
|
14544
|
+
v-if="values.isNotes == true"
|
|
14545
|
+
v-model="values.isNotes"
|
|
14546
|
+
label="Catatan"
|
|
14547
|
+
class="mt-2"
|
|
14548
|
+
:is-disabled="
|
|
14549
|
+
values.status == 'approved' || values.isNotes == true
|
|
14550
|
+
"
|
|
14551
|
+
/>
|
|
14552
|
+
</template>
|
|
14553
|
+
</NeonField> `),
|
|
14554
|
+
vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
14555
|
+
key: 1,
|
|
14556
|
+
modelValue: vue.unref(values).notes,
|
|
14557
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
|
|
14558
|
+
}, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
14559
|
+
((_e = vue.unref(values).type) == null ? void 0 : _e.code) == "leave" || ((_f = vue.unref(values).type) == null ? void 0 : _f.code) == "dayOff" || ((_g = vue.unref(values).type) == null ? void 0 : _g.code) == "sick" || ((_h = vue.unref(values).type) == null ? void 0 : _h.code) == "permission" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
14560
|
+
key: 2,
|
|
14561
|
+
modelValue: vue.unref(values).delegateNotes,
|
|
14562
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).delegateNotes = $event)
|
|
14563
|
+
}, vue.unref(fields).delegateNotes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
14564
|
+
vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
|
|
14565
|
+
key: 3,
|
|
14566
|
+
"is-dashed": "",
|
|
14567
|
+
label: "Keterangan"
|
|
14568
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
14569
|
+
((_i = vue.unref(values).type) == null ? void 0 : _i.code) == "dayOff" || ((_j = vue.unref(values).type) == null ? void 0 : _j.code) == "sick" || ((_k = vue.unref(values).type) == null ? void 0 : _k.code) == "permission" || ((_l = vue.unref(values).type) == null ? void 0 : _l.code) == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
14570
|
+
key: 4,
|
|
14571
|
+
modelValue: vue.unref(values).submittedAt,
|
|
14572
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).submittedAt = $event)
|
|
14573
|
+
}, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
14574
|
+
((_m = vue.unref(values).type) == null ? void 0 : _m.code) == "sick" || ((_n = vue.unref(values).type) == null ? void 0 : _n.code) == "leave" || ((_o = vue.unref(values).type) == null ? void 0 : _o.code) == "permission" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$a, [
|
|
14575
|
+
vue.createVNode(vue.unref(interfaces.NeonDivider), {
|
|
14576
|
+
"is-dashed": "",
|
|
14577
|
+
label: "Tanggal ini digunakan hanya untuk Generate Absensi",
|
|
14578
|
+
class: "divider"
|
|
14579
|
+
}),
|
|
14580
|
+
vue.createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
|
|
14581
|
+
default: vue.withCtx(() => [
|
|
14582
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14583
|
+
modelValue: vue.unref(values).startedAt,
|
|
14584
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).startedAt = $event)
|
|
14585
|
+
}, vue.unref(fields).startedAt, {
|
|
14586
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
|
|
14587
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
14588
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14589
|
+
modelValue: vue.unref(values).endedAt,
|
|
14590
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event)
|
|
14591
|
+
}, vue.unref(fields).endedAt, {
|
|
14592
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
|
|
14593
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
14414
14594
|
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
14415
|
-
|
|
14595
|
+
"icon-left": "bolt",
|
|
14596
|
+
label: "Generate",
|
|
14416
14597
|
color: "success",
|
|
14417
|
-
|
|
14418
|
-
|
|
14419
|
-
|
|
14420
|
-
|
|
14421
|
-
|
|
14422
|
-
|
|
14423
|
-
|
|
14424
|
-
|
|
14425
|
-
|
|
14426
|
-
|
|
14598
|
+
class: "mt-12",
|
|
14599
|
+
size: "xs",
|
|
14600
|
+
"is-loading": vue.unref(isLoading),
|
|
14601
|
+
"is-disabled": vue.unref(values).status !== "approved" || vue.unref(values).isGenerate === true,
|
|
14602
|
+
"is-rounded": "",
|
|
14603
|
+
onClick: generate
|
|
14604
|
+
}, null, 8, ["is-loading", "is-disabled"])
|
|
14605
|
+
]),
|
|
14606
|
+
_: 1
|
|
14607
|
+
/* STABLE */
|
|
14608
|
+
})
|
|
14609
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
14610
|
+
vue.createCommentVNode(" EARLY GO HOME "),
|
|
14611
|
+
((_p = vue.unref(values).type) == null ? void 0 : _p.code) == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$a, [
|
|
14612
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14613
|
+
modelValue: vue.unref(values).startedAt,
|
|
14614
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event)
|
|
14615
|
+
}, {
|
|
14616
|
+
handle: "startedAt",
|
|
14617
|
+
name: "Jam Pulang Kerja",
|
|
14618
|
+
options: {
|
|
14619
|
+
note: "Jam pulang kerja."
|
|
14620
|
+
}
|
|
14621
|
+
}), {
|
|
14622
|
+
input: vue.withCtx(() => [
|
|
14623
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14624
|
+
modelValue: vue.unref(values).startedAt,
|
|
14625
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event),
|
|
14626
|
+
"is-loading": vue.unref(isLoading),
|
|
14627
|
+
class: "mt-2"
|
|
14628
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
14629
|
+
]),
|
|
14630
|
+
_: 1
|
|
14631
|
+
/* STABLE */
|
|
14632
|
+
}, 16, ["modelValue"]),
|
|
14633
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14634
|
+
modelValue: vue.unref(values).endedAt,
|
|
14635
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event)
|
|
14636
|
+
}, {
|
|
14637
|
+
handle: "endedAt",
|
|
14638
|
+
name: "Jam Pulang Lebih Awal",
|
|
14639
|
+
options: {
|
|
14640
|
+
note: "Jam pulang lebih awal."
|
|
14641
|
+
}
|
|
14642
|
+
}), {
|
|
14643
|
+
input: vue.withCtx(() => [
|
|
14644
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14645
|
+
modelValue: vue.unref(values).endedAt,
|
|
14646
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).endedAt = $event),
|
|
14647
|
+
"is-loading": vue.unref(isLoading),
|
|
14648
|
+
class: "mt-2"
|
|
14649
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
14650
|
+
vue.createElementVNode(
|
|
14651
|
+
"div",
|
|
14652
|
+
_hoisted_7$8,
|
|
14653
|
+
vue.toDisplayString(reverseDuration.value),
|
|
14654
|
+
1
|
|
14655
|
+
/* TEXT */
|
|
14656
|
+
)
|
|
14657
|
+
]),
|
|
14658
|
+
_: 1
|
|
14659
|
+
/* STABLE */
|
|
14660
|
+
}, 16, ["modelValue"])
|
|
14661
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
14662
|
+
vue.createCommentVNode(" COME TOO LATE "),
|
|
14663
|
+
((_q = vue.unref(values).type) == null ? void 0 : _q.code) == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$7, [
|
|
14664
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14665
|
+
modelValue: vue.unref(values).startedAt,
|
|
14666
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event)
|
|
14667
|
+
}, {
|
|
14668
|
+
handle: "startedAt",
|
|
14669
|
+
name: "Jam Datang",
|
|
14670
|
+
options: {
|
|
14671
|
+
note: "Jam Datang kerja."
|
|
14672
|
+
}
|
|
14673
|
+
}), {
|
|
14674
|
+
input: vue.withCtx(() => [
|
|
14675
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14676
|
+
modelValue: vue.unref(values).startedAt,
|
|
14677
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event),
|
|
14678
|
+
"is-loading": vue.unref(isLoading),
|
|
14679
|
+
class: "mt-2"
|
|
14680
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
14681
|
+
]),
|
|
14682
|
+
_: 1
|
|
14683
|
+
/* STABLE */
|
|
14684
|
+
}, 16, ["modelValue"]),
|
|
14685
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14686
|
+
modelValue: vue.unref(values).endedAt,
|
|
14687
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event)
|
|
14688
|
+
}, {
|
|
14689
|
+
handle: "endedAt",
|
|
14690
|
+
name: "Jam Datang Terlambat",
|
|
14691
|
+
options: {
|
|
14692
|
+
note: "Jam datang terlambat."
|
|
14693
|
+
}
|
|
14694
|
+
}), {
|
|
14695
|
+
input: vue.withCtx(() => [
|
|
14696
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14697
|
+
modelValue: vue.unref(values).endedAt,
|
|
14698
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).endedAt = $event),
|
|
14699
|
+
"is-loading": vue.unref(isLoading),
|
|
14700
|
+
class: "mt-2"
|
|
14701
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
14702
|
+
vue.createElementVNode(
|
|
14703
|
+
"div",
|
|
14704
|
+
_hoisted_9$7,
|
|
14705
|
+
vue.toDisplayString(duration.value),
|
|
14706
|
+
1
|
|
14707
|
+
/* TEXT */
|
|
14708
|
+
)
|
|
14427
14709
|
]),
|
|
14428
14710
|
_: 1
|
|
14429
14711
|
/* STABLE */
|
|
14430
|
-
})
|
|
14431
|
-
]),
|
|
14432
|
-
vue.
|
|
14433
|
-
vue.
|
|
14434
|
-
vue.createVNode(vue.unref(form.NeonField),
|
|
14712
|
+
}, 16, ["modelValue"])
|
|
14713
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
14714
|
+
vue.createCommentVNode(" TIMEOUT "),
|
|
14715
|
+
((_r = vue.unref(values).type) == null ? void 0 : _r.code) == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$7, [
|
|
14716
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14717
|
+
modelValue: vue.unref(values).startedAt,
|
|
14718
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => vue.unref(values).startedAt = $event)
|
|
14719
|
+
}, {
|
|
14720
|
+
handle: "startedAt",
|
|
14721
|
+
name: "Mulai",
|
|
14722
|
+
options: {
|
|
14723
|
+
note: "Jam mulai."
|
|
14724
|
+
}
|
|
14725
|
+
}), {
|
|
14435
14726
|
input: vue.withCtx(() => [
|
|
14436
|
-
vue.createVNode(vue.unref(
|
|
14437
|
-
|
|
14438
|
-
|
|
14439
|
-
"
|
|
14440
|
-
|
|
14441
|
-
|
|
14442
|
-
}, {
|
|
14443
|
-
default: vue.withCtx(() => [
|
|
14444
|
-
vue.createTextVNode("Ditolak")
|
|
14445
|
-
]),
|
|
14446
|
-
_: 1
|
|
14447
|
-
/* STABLE */
|
|
14448
|
-
}, 8, ["is-disabled"])
|
|
14727
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14728
|
+
modelValue: vue.unref(values).startedAt,
|
|
14729
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).startedAt = $event),
|
|
14730
|
+
"is-loading": vue.unref(isLoading),
|
|
14731
|
+
class: "mt-2"
|
|
14732
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
14449
14733
|
]),
|
|
14450
14734
|
_: 1
|
|
14451
14735
|
/* STABLE */
|
|
14452
|
-
})
|
|
14453
|
-
|
|
14454
|
-
|
|
14455
|
-
|
|
14456
|
-
|
|
14736
|
+
}, 16, ["modelValue"]),
|
|
14737
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14738
|
+
modelValue: vue.unref(values).endedAt,
|
|
14739
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => vue.unref(values).endedAt = $event)
|
|
14740
|
+
}, {
|
|
14741
|
+
handle: "endedAt",
|
|
14742
|
+
name: "Selesai",
|
|
14743
|
+
options: {
|
|
14744
|
+
note: "Jam selesai."
|
|
14745
|
+
}
|
|
14746
|
+
}), {
|
|
14457
14747
|
input: vue.withCtx(() => [
|
|
14458
|
-
vue.createVNode(vue.unref(
|
|
14459
|
-
|
|
14460
|
-
|
|
14461
|
-
"
|
|
14462
|
-
|
|
14463
|
-
},
|
|
14464
|
-
|
|
14465
|
-
|
|
14466
|
-
|
|
14467
|
-
|
|
14468
|
-
|
|
14469
|
-
|
|
14748
|
+
vue.createVNode(vue.unref(NeonTime), {
|
|
14749
|
+
modelValue: vue.unref(values).endedAt,
|
|
14750
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => vue.unref(values).endedAt = $event),
|
|
14751
|
+
"is-loading": vue.unref(isLoading),
|
|
14752
|
+
class: "mt-2"
|
|
14753
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
14754
|
+
vue.createElementVNode(
|
|
14755
|
+
"div",
|
|
14756
|
+
_hoisted_11$7,
|
|
14757
|
+
vue.toDisplayString(duration.value),
|
|
14758
|
+
1
|
|
14759
|
+
/* TEXT */
|
|
14760
|
+
)
|
|
14470
14761
|
]),
|
|
14471
14762
|
_: 1
|
|
14472
14763
|
/* STABLE */
|
|
14473
|
-
})
|
|
14474
|
-
])
|
|
14475
|
-
]
|
|
14476
|
-
|
|
14477
|
-
modelValue: vue.unref(values),
|
|
14478
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
14479
|
-
field: vue.unref(fields).submitStaff,
|
|
14480
|
-
"is-disabled": ""
|
|
14481
|
-
}, null, 8, ["modelValue", "field"]),
|
|
14482
|
-
(vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
14483
|
-
key: key.value,
|
|
14484
|
-
"model-value": vue.unref(values).startedAt
|
|
14485
|
-
}, {
|
|
14486
|
-
handle: "startedAt",
|
|
14487
|
-
name: "Tanggal",
|
|
14488
|
-
type: "date",
|
|
14489
|
-
input: "date2",
|
|
14490
|
-
options: {
|
|
14491
|
-
note: "Tanggal absensi."
|
|
14492
|
-
}
|
|
14493
|
-
}, {
|
|
14494
|
-
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected",
|
|
14495
|
-
"onUpdate:modelValue": onStartedAtUpdate
|
|
14496
|
-
}), null, 16, ["model-value", "is-disabled"])),
|
|
14497
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14498
|
-
modelValue: vue.unref(values).type,
|
|
14499
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
|
|
14500
|
-
}, vue.unref(fields).type, {
|
|
14501
|
-
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
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,
|
|
14512
|
-
modelValue: vue.unref(values),
|
|
14513
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
14514
|
-
field: vue.unref(fields).monitoringStaffs,
|
|
14515
|
-
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14516
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
|
|
14517
|
-
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,
|
|
14519
|
-
modelValue: vue.unref(values),
|
|
14520
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
14521
|
-
field: vue.unref(fields).delegateStaffs,
|
|
14522
|
-
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14523
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
|
|
14524
|
-
vue.createCommentVNode(` <NeonField
|
|
14525
|
-
v-if="
|
|
14526
|
-
values.type == 'leave' ||
|
|
14527
|
-
values.type == 'dayOff' ||
|
|
14528
|
-
values.type == 'sick' ||
|
|
14529
|
-
values.type == 'permission'
|
|
14530
|
-
"
|
|
14531
|
-
v-model="values.isNotes"
|
|
14532
|
-
v-bind="fields.isNotes"
|
|
14533
|
-
:is-hidden="values.isNotes == false"
|
|
14534
|
-
:is-disabled="
|
|
14535
|
-
values.status == 'approved' || values.status == 'rejected'
|
|
14536
|
-
"
|
|
14537
|
-
>
|
|
14538
|
-
<template #input>
|
|
14539
|
-
<NeonCheck
|
|
14540
|
-
v-if="values.isNotes == true"
|
|
14541
|
-
v-model="values.isNotes"
|
|
14542
|
-
label="Catatan"
|
|
14543
|
-
class="mt-2"
|
|
14544
|
-
:is-disabled="
|
|
14545
|
-
values.status == 'approved' || values.isNotes == true
|
|
14546
|
-
"
|
|
14547
|
-
/>
|
|
14548
|
-
</template>
|
|
14549
|
-
</NeonField> `),
|
|
14550
|
-
vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
14551
|
-
key: 2,
|
|
14552
|
-
modelValue: vue.unref(values).notes,
|
|
14553
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
|
|
14554
|
-
}, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
14555
|
-
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,
|
|
14557
|
-
modelValue: vue.unref(values).delegateNotes,
|
|
14558
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).delegateNotes = $event)
|
|
14559
|
-
}, vue.unref(fields).delegateNotes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
14560
|
-
vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
|
|
14561
|
-
key: 4,
|
|
14562
|
-
"is-dashed": "",
|
|
14563
|
-
label: "Keterangan"
|
|
14564
|
-
})) : vue.createCommentVNode("v-if", true),
|
|
14565
|
-
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,
|
|
14567
|
-
modelValue: vue.unref(values).submittedAt,
|
|
14568
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).submittedAt = $event)
|
|
14569
|
-
}, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
14570
|
-
vue.unref(values).type == "sick" || vue.unref(values).type == "leave" || vue.unref(values).type == "permission" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$a, [
|
|
14571
|
-
vue.createVNode(vue.unref(interfaces.NeonDivider), {
|
|
14572
|
-
"is-dashed": "",
|
|
14573
|
-
label: "Tanggal ini digunakan hanya untuk Generate Absensi",
|
|
14574
|
-
class: "divider"
|
|
14575
|
-
}),
|
|
14576
|
-
vue.createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
|
|
14577
|
-
default: vue.withCtx(() => [
|
|
14578
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14579
|
-
modelValue: vue.unref(values).startedAt,
|
|
14580
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).startedAt = $event)
|
|
14581
|
-
}, vue.unref(fields).startedAt, {
|
|
14582
|
-
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
|
|
14583
|
-
}), null, 16, ["modelValue", "is-disabled"]),
|
|
14584
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14585
|
-
modelValue: vue.unref(values).endedAt,
|
|
14586
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event)
|
|
14587
|
-
}, vue.unref(fields).endedAt, {
|
|
14588
|
-
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
|
|
14589
|
-
}), null, 16, ["modelValue", "is-disabled"]),
|
|
14590
|
-
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
14591
|
-
"icon-left": "bolt",
|
|
14592
|
-
label: "Generate",
|
|
14593
|
-
color: "success",
|
|
14594
|
-
class: "mt-12",
|
|
14595
|
-
size: "xs",
|
|
14596
|
-
"is-loading": vue.unref(isLoading),
|
|
14597
|
-
"is-disabled": vue.unref(values).status !== "approved" || vue.unref(values).isGenerate === true,
|
|
14598
|
-
"is-rounded": "",
|
|
14599
|
-
onClick: generate
|
|
14600
|
-
}, null, 8, ["is-loading", "is-disabled"])
|
|
14601
|
-
]),
|
|
14602
|
-
_: 1
|
|
14603
|
-
/* STABLE */
|
|
14604
|
-
})
|
|
14605
|
-
])) : vue.createCommentVNode("v-if", true),
|
|
14606
|
-
vue.createCommentVNode(" EARLY GO HOME "),
|
|
14607
|
-
vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$a, [
|
|
14608
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14609
|
-
modelValue: vue.unref(values).startedAt,
|
|
14610
|
-
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event)
|
|
14611
|
-
}, {
|
|
14612
|
-
handle: "startedAt",
|
|
14613
|
-
name: "Jam Pulang Kerja",
|
|
14614
|
-
options: {
|
|
14615
|
-
note: "Jam pulang kerja."
|
|
14616
|
-
}
|
|
14617
|
-
}), {
|
|
14618
|
-
input: vue.withCtx(() => [
|
|
14619
|
-
vue.createVNode(vue.unref(NeonTime), {
|
|
14620
|
-
modelValue: vue.unref(values).startedAt,
|
|
14621
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event),
|
|
14622
|
-
"is-loading": vue.unref(isLoading),
|
|
14623
|
-
class: "mt-2"
|
|
14624
|
-
}, null, 8, ["modelValue", "is-loading"])
|
|
14625
|
-
]),
|
|
14626
|
-
_: 1
|
|
14627
|
-
/* STABLE */
|
|
14628
|
-
}, 16, ["modelValue"]),
|
|
14629
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14630
|
-
modelValue: vue.unref(values).endedAt,
|
|
14631
|
-
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event)
|
|
14632
|
-
}, {
|
|
14633
|
-
handle: "endedAt",
|
|
14634
|
-
name: "Jam Pulang Lebih Awal",
|
|
14635
|
-
options: {
|
|
14636
|
-
note: "Jam pulang lebih awal."
|
|
14637
|
-
}
|
|
14638
|
-
}), {
|
|
14639
|
-
input: vue.withCtx(() => [
|
|
14640
|
-
vue.createVNode(vue.unref(NeonTime), {
|
|
14641
|
-
modelValue: vue.unref(values).endedAt,
|
|
14642
|
-
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).endedAt = $event),
|
|
14643
|
-
"is-loading": vue.unref(isLoading),
|
|
14644
|
-
class: "mt-2"
|
|
14645
|
-
}, null, 8, ["modelValue", "is-loading"]),
|
|
14646
|
-
vue.createElementVNode(
|
|
14647
|
-
"div",
|
|
14648
|
-
_hoisted_7$8,
|
|
14649
|
-
vue.toDisplayString(reverseDuration.value),
|
|
14650
|
-
1
|
|
14651
|
-
/* TEXT */
|
|
14652
|
-
)
|
|
14653
|
-
]),
|
|
14654
|
-
_: 1
|
|
14655
|
-
/* STABLE */
|
|
14656
|
-
}, 16, ["modelValue"])
|
|
14657
|
-
])) : vue.createCommentVNode("v-if", true),
|
|
14658
|
-
vue.createCommentVNode(" COME TOO LATE "),
|
|
14659
|
-
vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$7, [
|
|
14660
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14661
|
-
modelValue: vue.unref(values).startedAt,
|
|
14662
|
-
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event)
|
|
14663
|
-
}, {
|
|
14664
|
-
handle: "startedAt",
|
|
14665
|
-
name: "Jam Datang",
|
|
14666
|
-
options: {
|
|
14667
|
-
note: "Jam Datang kerja."
|
|
14668
|
-
}
|
|
14669
|
-
}), {
|
|
14670
|
-
input: vue.withCtx(() => [
|
|
14671
|
-
vue.createVNode(vue.unref(NeonTime), {
|
|
14672
|
-
modelValue: vue.unref(values).startedAt,
|
|
14673
|
-
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event),
|
|
14674
|
-
"is-loading": vue.unref(isLoading),
|
|
14675
|
-
class: "mt-2"
|
|
14676
|
-
}, null, 8, ["modelValue", "is-loading"])
|
|
14677
|
-
]),
|
|
14678
|
-
_: 1
|
|
14679
|
-
/* STABLE */
|
|
14680
|
-
}, 16, ["modelValue"]),
|
|
14681
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14682
|
-
modelValue: vue.unref(values).endedAt,
|
|
14683
|
-
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event)
|
|
14684
|
-
}, {
|
|
14685
|
-
handle: "endedAt",
|
|
14686
|
-
name: "Jam Datang Terlambat",
|
|
14687
|
-
options: {
|
|
14688
|
-
note: "Jam datang terlambat."
|
|
14689
|
-
}
|
|
14690
|
-
}), {
|
|
14691
|
-
input: vue.withCtx(() => [
|
|
14692
|
-
vue.createVNode(vue.unref(NeonTime), {
|
|
14693
|
-
modelValue: vue.unref(values).endedAt,
|
|
14694
|
-
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).endedAt = $event),
|
|
14695
|
-
"is-loading": vue.unref(isLoading),
|
|
14696
|
-
class: "mt-2"
|
|
14697
|
-
}, null, 8, ["modelValue", "is-loading"]),
|
|
14698
|
-
vue.createElementVNode(
|
|
14699
|
-
"div",
|
|
14700
|
-
_hoisted_9$7,
|
|
14701
|
-
vue.toDisplayString(duration.value),
|
|
14702
|
-
1
|
|
14703
|
-
/* TEXT */
|
|
14704
|
-
)
|
|
14705
|
-
]),
|
|
14706
|
-
_: 1
|
|
14707
|
-
/* STABLE */
|
|
14708
|
-
}, 16, ["modelValue"])
|
|
14709
|
-
])) : vue.createCommentVNode("v-if", true),
|
|
14710
|
-
vue.createCommentVNode(" TIMEOUT "),
|
|
14711
|
-
vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$7, [
|
|
14712
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14713
|
-
modelValue: vue.unref(values).startedAt,
|
|
14714
|
-
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => vue.unref(values).startedAt = $event)
|
|
14715
|
-
}, {
|
|
14716
|
-
handle: "startedAt",
|
|
14717
|
-
name: "Mulai",
|
|
14718
|
-
options: {
|
|
14719
|
-
note: "Jam mulai."
|
|
14720
|
-
}
|
|
14721
|
-
}), {
|
|
14722
|
-
input: vue.withCtx(() => [
|
|
14723
|
-
vue.createVNode(vue.unref(NeonTime), {
|
|
14724
|
-
modelValue: vue.unref(values).startedAt,
|
|
14725
|
-
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).startedAt = $event),
|
|
14726
|
-
"is-loading": vue.unref(isLoading),
|
|
14727
|
-
class: "mt-2"
|
|
14728
|
-
}, null, 8, ["modelValue", "is-loading"])
|
|
14729
|
-
]),
|
|
14730
|
-
_: 1
|
|
14731
|
-
/* STABLE */
|
|
14732
|
-
}, 16, ["modelValue"]),
|
|
14733
|
-
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
14734
|
-
modelValue: vue.unref(values).endedAt,
|
|
14735
|
-
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => vue.unref(values).endedAt = $event)
|
|
14736
|
-
}, {
|
|
14737
|
-
handle: "endedAt",
|
|
14738
|
-
name: "Selesai",
|
|
14739
|
-
options: {
|
|
14740
|
-
note: "Jam selesai."
|
|
14741
|
-
}
|
|
14742
|
-
}), {
|
|
14743
|
-
input: vue.withCtx(() => [
|
|
14744
|
-
vue.createVNode(vue.unref(NeonTime), {
|
|
14745
|
-
modelValue: vue.unref(values).endedAt,
|
|
14746
|
-
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => vue.unref(values).endedAt = $event),
|
|
14747
|
-
"is-loading": vue.unref(isLoading),
|
|
14748
|
-
class: "mt-2"
|
|
14749
|
-
}, null, 8, ["modelValue", "is-loading"]),
|
|
14750
|
-
vue.createElementVNode(
|
|
14751
|
-
"div",
|
|
14752
|
-
_hoisted_11$7,
|
|
14753
|
-
vue.toDisplayString(duration.value),
|
|
14754
|
-
1
|
|
14755
|
-
/* TEXT */
|
|
14756
|
-
)
|
|
14757
|
-
]),
|
|
14758
|
-
_: 1
|
|
14759
|
-
/* STABLE */
|
|
14760
|
-
}, 16, ["modelValue"])
|
|
14761
|
-
])) : vue.createCommentVNode("v-if", true)
|
|
14762
|
-
]),
|
|
14764
|
+
}, 16, ["modelValue"])
|
|
14765
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
14766
|
+
];
|
|
14767
|
+
}),
|
|
14763
14768
|
_: 1
|
|
14764
14769
|
/* STABLE */
|
|
14765
14770
|
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
@@ -14778,7 +14783,7 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
14778
14783
|
};
|
|
14779
14784
|
}
|
|
14780
14785
|
});
|
|
14781
|
-
const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-
|
|
14786
|
+
const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["__scopeId", "data-v-cd4b4054"]]);
|
|
14782
14787
|
const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
14783
14788
|
__name: "AttendanceDelegate",
|
|
14784
14789
|
setup(__props) {
|
|
@@ -14867,48 +14872,50 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
14867
14872
|
onCancel: vue.unref(discardChanges),
|
|
14868
14873
|
onSubmit: vue.unref(saveOne)
|
|
14869
14874
|
}, {
|
|
14870
|
-
default: vue.withCtx(() =>
|
|
14871
|
-
|
|
14872
|
-
|
|
14873
|
-
|
|
14874
|
-
|
|
14875
|
-
|
|
14876
|
-
|
|
14877
|
-
|
|
14878
|
-
|
|
14879
|
-
|
|
14880
|
-
|
|
14881
|
-
|
|
14882
|
-
|
|
14883
|
-
|
|
14884
|
-
|
|
14885
|
-
|
|
14886
|
-
|
|
14887
|
-
|
|
14888
|
-
|
|
14889
|
-
|
|
14890
|
-
|
|
14891
|
-
|
|
14892
|
-
|
|
14893
|
-
|
|
14894
|
-
|
|
14895
|
-
|
|
14896
|
-
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
|
|
14900
|
-
modelValue
|
|
14901
|
-
|
|
14902
|
-
|
|
14903
|
-
|
|
14904
|
-
|
|
14905
|
-
|
|
14906
|
-
|
|
14875
|
+
default: vue.withCtx(() => {
|
|
14876
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
14877
|
+
return [
|
|
14878
|
+
((_a2 = vue.unref(values).type) == null ? void 0 : _a2.code) == "leave" || ((_b = vue.unref(values).type) == null ? void 0 : _b.code) == "dayOff" || ((_c = vue.unref(values).type) == null ? void 0 : _c.code) == "sick" || ((_d = vue.unref(values).type) == null ? void 0 : _d.code) == "permission" ? (vue.openBlock(), vue.createBlock(vue.unref(office$1.OfficeRelation), {
|
|
14879
|
+
key: 0,
|
|
14880
|
+
modelValue: vue.unref(values),
|
|
14881
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
14882
|
+
field: vue.unref(fields).delegateStaffs,
|
|
14883
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14884
|
+
}, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
|
|
14885
|
+
(vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
14886
|
+
key: key.value,
|
|
14887
|
+
"model-value": vue.unref(values).startedAt
|
|
14888
|
+
}, {
|
|
14889
|
+
handle: "startedAt",
|
|
14890
|
+
name: "Tanggal",
|
|
14891
|
+
type: "date",
|
|
14892
|
+
input: "date2",
|
|
14893
|
+
options: {
|
|
14894
|
+
note: "Tanggal absensi."
|
|
14895
|
+
}
|
|
14896
|
+
}, {
|
|
14897
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected",
|
|
14898
|
+
"onUpdate:modelValue": onStartedAtUpdate
|
|
14899
|
+
}), null, 16, ["model-value", "is-disabled"])),
|
|
14900
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
14901
|
+
modelValue: vue.unref(values),
|
|
14902
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
14903
|
+
field: vue.unref(fields).submitStaff,
|
|
14904
|
+
"is-disabled": ""
|
|
14905
|
+
}, null, 8, ["modelValue", "field"]),
|
|
14906
|
+
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
14907
|
+
modelValue: vue.unref(values),
|
|
14908
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
14909
|
+
field: vue.unref(fields).decideStaff,
|
|
14910
|
+
query: vue.unref(query.Query).define(staffOptions.value),
|
|
14911
|
+
"is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved" || vue.unref(values).status == "rejected"
|
|
14912
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"]),
|
|
14913
|
+
vue.createCommentVNode(` <OfficeRelation
|
|
14907
14914
|
v-if="
|
|
14908
|
-
values.type == 'leave' ||
|
|
14909
|
-
values.type == 'sick' ||
|
|
14910
|
-
values.type == 'dayOff' ||
|
|
14911
|
-
values.type == 'permission'
|
|
14915
|
+
values.type?.code == 'leave' ||
|
|
14916
|
+
values.type?.code == 'sick' ||
|
|
14917
|
+
values.type?.code == 'dayOff' ||
|
|
14918
|
+
values.type?.code == 'permission'
|
|
14912
14919
|
"
|
|
14913
14920
|
v-model="values"
|
|
14914
14921
|
:field="fields.monitoringStaffs"
|
|
@@ -14916,12 +14923,13 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
14916
14923
|
values.status == 'approved' || values.status == 'rejected'
|
|
14917
14924
|
"
|
|
14918
14925
|
/> `),
|
|
14919
|
-
|
|
14920
|
-
|
|
14921
|
-
|
|
14922
|
-
|
|
14923
|
-
|
|
14924
|
-
|
|
14926
|
+
((_e = vue.unref(values).type) == null ? void 0 : _e.code) == "leave" || ((_f = vue.unref(values).type) == null ? void 0 : _f.code) == "dayOff" || ((_g = vue.unref(values).type) == null ? void 0 : _g.code) == "sick" || ((_h = vue.unref(values).type) == null ? void 0 : _h.code) == "permission" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
14927
|
+
key: 1,
|
|
14928
|
+
modelValue: vue.unref(values).delegateNotes,
|
|
14929
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).delegateNotes = $event)
|
|
14930
|
+
}, vue.unref(fields).delegateNotes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true)
|
|
14931
|
+
];
|
|
14932
|
+
}),
|
|
14925
14933
|
_: 1
|
|
14926
14934
|
/* STABLE */
|
|
14927
14935
|
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
@@ -14941,7 +14949,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
14941
14949
|
};
|
|
14942
14950
|
}
|
|
14943
14951
|
});
|
|
14944
|
-
const AttendanceDelegate = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["__scopeId", "data-v-
|
|
14952
|
+
const AttendanceDelegate = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["__scopeId", "data-v-fa8999aa"]]);
|
|
14945
14953
|
const _withScopeId$3 = (n) => (vue.pushScopeId("data-v-802b3ded"), n = n(), vue.popScopeId(), n);
|
|
14946
14954
|
const _hoisted_1$s = { id: "view-checkIns" };
|
|
14947
14955
|
const _hoisted_2$j = { class: "summary" };
|
|
@@ -19796,6 +19804,10 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
19796
19804
|
id: "652ce8e6b487f9f108733873",
|
|
19797
19805
|
name: "Cabang FO"
|
|
19798
19806
|
},
|
|
19807
|
+
{
|
|
19808
|
+
id: "6809cf033d485dbb8081a621",
|
|
19809
|
+
name: "Pengelola Codex"
|
|
19810
|
+
},
|
|
19799
19811
|
{
|
|
19800
19812
|
id: "652ceb48b487f9f108733896",
|
|
19801
19813
|
name: "Cabang Pemasaran"
|