@neutron.co.id/operasional-interfaces 1.14.2-beta.1 → 1.14.3-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/AttendanceStaff.vue +53 -33
- package/build/@office/models/personalia/attendance/AttendanceSupervisor.vue +53 -28
- package/build/@office/models/personalia/situation/SituationSingle/SituationSingle.vue +11 -6
- package/build/@office/models/personalia/situationType/SituationTypeSingle/SituationTypeSingle.vue +1 -1
- package/build/mock/index.cjs +143 -113
- package/build/mock/index.mjs +143 -113
- package/build/mock/style.css +2 -2
- package/build/module.json +1 -1
- package/build/nuxt.json +1 -1
- package/package.json +6 -6
|
@@ -319,40 +319,60 @@ async function generate() {
|
|
|
319
319
|
v-bind="fields.submittedAt"
|
|
320
320
|
is-disabled
|
|
321
321
|
/>
|
|
322
|
-
<
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
"
|
|
334
|
-
/>
|
|
335
|
-
<NeonField
|
|
336
|
-
v-model="values.endedAt"
|
|
337
|
-
v-bind="fields.endedAt"
|
|
338
|
-
:is-disabled="
|
|
339
|
-
values.status == 'approved' || values.isGenerate === true
|
|
340
|
-
"
|
|
341
|
-
/>
|
|
342
|
-
<NeonButton
|
|
343
|
-
icon-left="bolt"
|
|
344
|
-
label="Generate"
|
|
345
|
-
color="success"
|
|
346
|
-
class="mt-12"
|
|
347
|
-
size="xs"
|
|
348
|
-
:is-loading="isLoading"
|
|
349
|
-
:is-disabled="
|
|
350
|
-
values.status !== 'approved' || values.isGenerate === true
|
|
351
|
-
"
|
|
352
|
-
is-rounded
|
|
353
|
-
@click="generate"
|
|
322
|
+
<div
|
|
323
|
+
v-if="
|
|
324
|
+
values.type == 'sick' ||
|
|
325
|
+
values.type == 'leave' ||
|
|
326
|
+
values.type == 'permission'
|
|
327
|
+
"
|
|
328
|
+
>
|
|
329
|
+
<NeonDivider
|
|
330
|
+
is-dashed
|
|
331
|
+
label="Tanggal ini digunakan hanya untuk Generate Absensi"
|
|
332
|
+
class="divider"
|
|
354
333
|
/>
|
|
355
|
-
|
|
334
|
+
<NeonFields md="grid-cols-3">
|
|
335
|
+
<NeonField
|
|
336
|
+
v-model="values.startedAt"
|
|
337
|
+
v-bind="{
|
|
338
|
+
handle: 'startedAt',
|
|
339
|
+
name: 'Tanggal Mulai',
|
|
340
|
+
options: {
|
|
341
|
+
note: 'Tanggal mulai absensi.',
|
|
342
|
+
},
|
|
343
|
+
}"
|
|
344
|
+
:is-disabled="
|
|
345
|
+
values.status == 'approved' || values.isGenerate === true
|
|
346
|
+
"
|
|
347
|
+
/>
|
|
348
|
+
<NeonField
|
|
349
|
+
v-model="values.endedAt"
|
|
350
|
+
v-bind="{
|
|
351
|
+
handle: 'endedAt',
|
|
352
|
+
name: 'Tanggal Selesai',
|
|
353
|
+
options: {
|
|
354
|
+
note: 'Tanggal selesai absensi.',
|
|
355
|
+
},
|
|
356
|
+
}"
|
|
357
|
+
:is-disabled="
|
|
358
|
+
values.status == 'approved' || values.isGenerate === true
|
|
359
|
+
"
|
|
360
|
+
/>
|
|
361
|
+
<NeonButton
|
|
362
|
+
icon-left="bolt"
|
|
363
|
+
label="Generate"
|
|
364
|
+
color="success"
|
|
365
|
+
class="mt-12"
|
|
366
|
+
size="xs"
|
|
367
|
+
:is-loading="isLoading"
|
|
368
|
+
:is-disabled="
|
|
369
|
+
values.status !== 'approved' || values.isGenerate === true
|
|
370
|
+
"
|
|
371
|
+
is-rounded
|
|
372
|
+
@click="generate"
|
|
373
|
+
/>
|
|
374
|
+
</NeonFields>
|
|
375
|
+
</div>
|
|
356
376
|
|
|
357
377
|
<!-- EARLY GO HOME -->
|
|
358
378
|
<div
|
|
@@ -287,35 +287,60 @@ async function generate() {
|
|
|
287
287
|
is-disabled
|
|
288
288
|
/>
|
|
289
289
|
|
|
290
|
-
<
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
v-model="values.endedAt"
|
|
302
|
-
v-bind="fields.endedAt"
|
|
303
|
-
:is-disabled="values.isGenerate === true"
|
|
304
|
-
/>
|
|
305
|
-
<NeonButton
|
|
306
|
-
icon-left="bolt"
|
|
307
|
-
label="Generate"
|
|
308
|
-
color="success"
|
|
309
|
-
class="mt-12"
|
|
310
|
-
size="xs"
|
|
311
|
-
:is-loading="isLoading"
|
|
312
|
-
:is-disabled="
|
|
313
|
-
values.status !== 'approved' || values.isGenerate === true
|
|
314
|
-
"
|
|
315
|
-
is-rounded
|
|
316
|
-
@click="generate"
|
|
290
|
+
<div
|
|
291
|
+
v-if="
|
|
292
|
+
values.type == 'sick' ||
|
|
293
|
+
values.type == 'leave' ||
|
|
294
|
+
values.type == 'permission'
|
|
295
|
+
"
|
|
296
|
+
>
|
|
297
|
+
<NeonDivider
|
|
298
|
+
is-dashed
|
|
299
|
+
label="Tanggal ini digunakan hanya untuk Generate Absensi"
|
|
300
|
+
class="divider"
|
|
317
301
|
/>
|
|
318
|
-
|
|
302
|
+
<NeonFields md="grid-cols-3">
|
|
303
|
+
<NeonField
|
|
304
|
+
v-model="values.startedAt"
|
|
305
|
+
v-bind="{
|
|
306
|
+
handle: 'startedAt',
|
|
307
|
+
name: 'Tanggal Mulai',
|
|
308
|
+
options: {
|
|
309
|
+
note: 'Tanggal mulai absensi.',
|
|
310
|
+
},
|
|
311
|
+
}"
|
|
312
|
+
:is-disabled="
|
|
313
|
+
values.status == 'approved' || values.isGenerate === true
|
|
314
|
+
"
|
|
315
|
+
/>
|
|
316
|
+
<NeonField
|
|
317
|
+
v-model="values.endedAt"
|
|
318
|
+
v-bind="{
|
|
319
|
+
handle: 'endedAt',
|
|
320
|
+
name: 'Tanggal Selesai',
|
|
321
|
+
options: {
|
|
322
|
+
note: 'Tanggal selesai absensi.',
|
|
323
|
+
},
|
|
324
|
+
}"
|
|
325
|
+
:is-disabled="
|
|
326
|
+
values.status == 'approved' || values.isGenerate === true
|
|
327
|
+
"
|
|
328
|
+
/>
|
|
329
|
+
<NeonButton
|
|
330
|
+
icon-left="bolt"
|
|
331
|
+
label="Generate"
|
|
332
|
+
color="success"
|
|
333
|
+
class="mt-12"
|
|
334
|
+
size="xs"
|
|
335
|
+
:is-loading="isLoading"
|
|
336
|
+
:is-disabled="
|
|
337
|
+
values.status !== 'approved' || values.isGenerate === true
|
|
338
|
+
"
|
|
339
|
+
is-rounded
|
|
340
|
+
@click="generate"
|
|
341
|
+
/>
|
|
342
|
+
</NeonFields>
|
|
343
|
+
</div>
|
|
319
344
|
|
|
320
345
|
<!-- EARLY GO HOME -->
|
|
321
346
|
<div
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { useSingle, NeonSingle } from '@neon.id/context'
|
|
3
3
|
import { NeonField, NeonFields, NeonForm } from '@neon.id/form'
|
|
4
4
|
import { OfficeRelation, OfficeTab, OfficeTabs } from '@neon.id/office'
|
|
5
|
+
import { Query } from '@neon.id/query'
|
|
5
6
|
import type {
|
|
6
7
|
TPersonaliaSituationModel,
|
|
7
8
|
Schema,
|
|
@@ -32,32 +33,36 @@ const {
|
|
|
32
33
|
@cancel="discardChanges"
|
|
33
34
|
@submit="saveOne"
|
|
34
35
|
>
|
|
35
|
-
<NeonFields
|
|
36
|
+
<NeonFields title="Situasi">
|
|
36
37
|
<NeonField
|
|
37
38
|
v-model="values.situationStatus"
|
|
38
39
|
v-bind="fields.situationStatus"
|
|
39
40
|
/>
|
|
40
41
|
</NeonFields>
|
|
41
42
|
<OfficeRelation v-model="values" :field="fields.branches" />
|
|
42
|
-
<OfficeRelation v-model="values" :field="fields.situationType"
|
|
43
|
+
<OfficeRelation v-model="values" :field="fields.situationType" :query="Query.define({
|
|
44
|
+
filter: {
|
|
45
|
+
branchIds: { $in: values.branchIds },
|
|
46
|
+
}
|
|
47
|
+
})" />
|
|
43
48
|
<OfficeRelation
|
|
44
49
|
v-model="values"
|
|
45
50
|
:field="fields.situationReportedBy"
|
|
46
51
|
/>
|
|
47
|
-
<NeonFields
|
|
52
|
+
<NeonFields>
|
|
48
53
|
<NeonField
|
|
49
54
|
v-model="values.situationDescription"
|
|
50
55
|
v-bind="fields.situationDescription"
|
|
51
56
|
/>
|
|
52
57
|
</NeonFields>
|
|
53
|
-
<NeonFields
|
|
58
|
+
<NeonFields>
|
|
54
59
|
<NeonField
|
|
55
60
|
v-model="values.urgentSituationDate"
|
|
56
61
|
v-bind="fields.urgentSituationDate"
|
|
57
62
|
/>
|
|
58
63
|
</NeonFields>
|
|
59
64
|
<OfficeRelation v-model="values" :field="fields.situationRelatedBy" />
|
|
60
|
-
<NeonFields
|
|
65
|
+
<NeonFields title="Suportif">
|
|
61
66
|
<NeonField
|
|
62
67
|
v-model="values.supportiveStatus"
|
|
63
68
|
v-bind="fields.supportiveStatus"
|
|
@@ -67,7 +72,7 @@ const {
|
|
|
67
72
|
v-model="values"
|
|
68
73
|
:field="fields.situationSupportedBy"
|
|
69
74
|
/>
|
|
70
|
-
<NeonFields
|
|
75
|
+
<NeonFields>
|
|
71
76
|
<NeonField
|
|
72
77
|
v-model="values.situationResponse"
|
|
73
78
|
v-bind="fields.situationResponse"
|
package/build/mock/index.cjs
CHANGED
|
@@ -12325,21 +12325,22 @@ const _hoisted_1$q = {
|
|
|
12325
12325
|
};
|
|
12326
12326
|
const _hoisted_2$j = { class: "mt-2" };
|
|
12327
12327
|
const _hoisted_3$b = { class: "mt-2" };
|
|
12328
|
-
const _hoisted_4$a = {
|
|
12329
|
-
|
|
12330
|
-
class: "grid gap-2 sm:grid-cols-2"
|
|
12331
|
-
};
|
|
12332
|
-
const _hoisted_5$9 = { class: "text-right text-fg-subdued text-sm" };
|
|
12333
|
-
const _hoisted_6$9 = {
|
|
12328
|
+
const _hoisted_4$a = { key: 6 };
|
|
12329
|
+
const _hoisted_5$9 = {
|
|
12334
12330
|
key: 7,
|
|
12335
12331
|
class: "grid gap-2 sm:grid-cols-2"
|
|
12336
12332
|
};
|
|
12337
|
-
const
|
|
12338
|
-
const
|
|
12333
|
+
const _hoisted_6$9 = { class: "text-right text-fg-subdued text-sm" };
|
|
12334
|
+
const _hoisted_7$8 = {
|
|
12339
12335
|
key: 8,
|
|
12340
12336
|
class: "grid gap-2 sm:grid-cols-2"
|
|
12341
12337
|
};
|
|
12342
|
-
const
|
|
12338
|
+
const _hoisted_8$8 = { class: "text-right text-fg-subdued text-sm" };
|
|
12339
|
+
const _hoisted_9$8 = {
|
|
12340
|
+
key: 9,
|
|
12341
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
12342
|
+
};
|
|
12343
|
+
const _hoisted_10$8 = { class: "text-right text-fg-subdued text-sm" };
|
|
12343
12344
|
const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
12344
12345
|
__name: "AttendanceStaff",
|
|
12345
12346
|
setup(__props) {
|
|
@@ -12600,42 +12601,56 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
12600
12601
|
modelValue: vue.unref(values).submittedAt,
|
|
12601
12602
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).submittedAt = $event)
|
|
12602
12603
|
}, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
12603
|
-
vue.
|
|
12604
|
-
|
|
12605
|
-
|
|
12606
|
-
|
|
12607
|
-
|
|
12608
|
-
|
|
12609
|
-
|
|
12610
|
-
vue.
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
|
|
12618
|
-
|
|
12619
|
-
|
|
12620
|
-
|
|
12621
|
-
|
|
12622
|
-
|
|
12623
|
-
|
|
12624
|
-
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
12630
|
-
|
|
12631
|
-
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12604
|
+
vue.unref(values).type == "sick" || vue.unref(values).type == "leave" || vue.unref(values).type == "permission" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$a, [
|
|
12605
|
+
vue.createVNode(vue.unref(interfaces.NeonDivider), {
|
|
12606
|
+
"is-dashed": "",
|
|
12607
|
+
label: "Tanggal ini digunakan hanya untuk Generate Absensi",
|
|
12608
|
+
class: "divider"
|
|
12609
|
+
}),
|
|
12610
|
+
vue.createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
|
|
12611
|
+
default: vue.withCtx(() => [
|
|
12612
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
12613
|
+
modelValue: vue.unref(values).startedAt,
|
|
12614
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event)
|
|
12615
|
+
}, {
|
|
12616
|
+
handle: "startedAt",
|
|
12617
|
+
name: "Tanggal Mulai",
|
|
12618
|
+
options: {
|
|
12619
|
+
note: "Tanggal mulai absensi."
|
|
12620
|
+
}
|
|
12621
|
+
}, {
|
|
12622
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
|
|
12623
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
12624
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
12625
|
+
modelValue: vue.unref(values).endedAt,
|
|
12626
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).endedAt = $event)
|
|
12627
|
+
}, {
|
|
12628
|
+
handle: "endedAt",
|
|
12629
|
+
name: "Tanggal Selesai",
|
|
12630
|
+
options: {
|
|
12631
|
+
note: "Tanggal selesai absensi."
|
|
12632
|
+
}
|
|
12633
|
+
}, {
|
|
12634
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
|
|
12635
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
12636
|
+
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
12637
|
+
"icon-left": "bolt",
|
|
12638
|
+
label: "Generate",
|
|
12639
|
+
color: "success",
|
|
12640
|
+
class: "mt-12",
|
|
12641
|
+
size: "xs",
|
|
12642
|
+
"is-loading": vue.unref(isLoading),
|
|
12643
|
+
"is-disabled": vue.unref(values).status !== "approved" || vue.unref(values).isGenerate === true,
|
|
12644
|
+
"is-rounded": "",
|
|
12645
|
+
onClick: generate
|
|
12646
|
+
}, null, 8, ["is-loading", "is-disabled"])
|
|
12647
|
+
]),
|
|
12648
|
+
_: 1
|
|
12649
|
+
/* STABLE */
|
|
12650
|
+
})
|
|
12651
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
12637
12652
|
vue.createCommentVNode(" EARLY GO HOME "),
|
|
12638
|
-
vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div",
|
|
12653
|
+
vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$9, [
|
|
12639
12654
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
12640
12655
|
modelValue: vue.unref(values).startedAt,
|
|
12641
12656
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event)
|
|
@@ -12678,7 +12693,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
12678
12693
|
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
12679
12694
|
vue.createElementVNode(
|
|
12680
12695
|
"div",
|
|
12681
|
-
|
|
12696
|
+
_hoisted_6$9,
|
|
12682
12697
|
vue.toDisplayString(duration.value),
|
|
12683
12698
|
1
|
|
12684
12699
|
/* TEXT */
|
|
@@ -12689,7 +12704,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
12689
12704
|
}, 16, ["modelValue"])
|
|
12690
12705
|
])) : vue.createCommentVNode("v-if", true),
|
|
12691
12706
|
vue.createCommentVNode(" COME TOO LATE "),
|
|
12692
|
-
vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div",
|
|
12707
|
+
vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$8, [
|
|
12693
12708
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
12694
12709
|
modelValue: vue.unref(values).startedAt,
|
|
12695
12710
|
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event)
|
|
@@ -12732,7 +12747,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
12732
12747
|
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
12733
12748
|
vue.createElementVNode(
|
|
12734
12749
|
"div",
|
|
12735
|
-
|
|
12750
|
+
_hoisted_8$8,
|
|
12736
12751
|
vue.toDisplayString(duration.value),
|
|
12737
12752
|
1
|
|
12738
12753
|
/* TEXT */
|
|
@@ -12743,7 +12758,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
12743
12758
|
}, 16, ["modelValue"])
|
|
12744
12759
|
])) : vue.createCommentVNode("v-if", true),
|
|
12745
12760
|
vue.createCommentVNode(" TIMEOUT "),
|
|
12746
|
-
vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div",
|
|
12761
|
+
vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$8, [
|
|
12747
12762
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
12748
12763
|
modelValue: vue.unref(values).startedAt,
|
|
12749
12764
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).startedAt = $event)
|
|
@@ -12786,7 +12801,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
12786
12801
|
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
12787
12802
|
vue.createElementVNode(
|
|
12788
12803
|
"div",
|
|
12789
|
-
|
|
12804
|
+
_hoisted_10$8,
|
|
12790
12805
|
vue.toDisplayString(duration.value),
|
|
12791
12806
|
1
|
|
12792
12807
|
/* TEXT */
|
|
@@ -12815,26 +12830,27 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
12815
12830
|
};
|
|
12816
12831
|
}
|
|
12817
12832
|
});
|
|
12818
|
-
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-
|
|
12833
|
+
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-04e65bc4"]]);
|
|
12819
12834
|
const _hoisted_1$p = { class: "flex flex-wrap" };
|
|
12820
12835
|
const _hoisted_2$i = { class: "mt-2" };
|
|
12821
12836
|
const _hoisted_3$a = { class: "mt-2" };
|
|
12822
12837
|
const _hoisted_4$9 = { class: "mt-2" };
|
|
12823
|
-
const _hoisted_5$8 = {
|
|
12824
|
-
|
|
12825
|
-
class: "grid gap-2 sm:grid-cols-2"
|
|
12826
|
-
};
|
|
12827
|
-
const _hoisted_6$8 = { class: "text-right text-fg-subdued text-sm" };
|
|
12828
|
-
const _hoisted_7$7 = {
|
|
12838
|
+
const _hoisted_5$8 = { key: 4 };
|
|
12839
|
+
const _hoisted_6$8 = {
|
|
12829
12840
|
key: 5,
|
|
12830
12841
|
class: "grid gap-2 sm:grid-cols-2"
|
|
12831
12842
|
};
|
|
12832
|
-
const
|
|
12833
|
-
const
|
|
12843
|
+
const _hoisted_7$7 = { class: "text-right text-fg-subdued text-sm" };
|
|
12844
|
+
const _hoisted_8$7 = {
|
|
12834
12845
|
key: 6,
|
|
12835
12846
|
class: "grid gap-2 sm:grid-cols-2"
|
|
12836
12847
|
};
|
|
12837
|
-
const
|
|
12848
|
+
const _hoisted_9$7 = { class: "text-right text-fg-subdued text-sm" };
|
|
12849
|
+
const _hoisted_10$7 = {
|
|
12850
|
+
key: 7,
|
|
12851
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
12852
|
+
};
|
|
12853
|
+
const _hoisted_11$7 = { class: "text-right text-fg-subdued text-sm" };
|
|
12838
12854
|
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
12839
12855
|
__name: "AttendanceSupervisor",
|
|
12840
12856
|
setup(__props) {
|
|
@@ -13088,41 +13104,56 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
13088
13104
|
modelValue: vue.unref(values).submittedAt,
|
|
13089
13105
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).submittedAt = $event)
|
|
13090
13106
|
}, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
13091
|
-
vue.
|
|
13092
|
-
|
|
13093
|
-
|
|
13094
|
-
|
|
13095
|
-
|
|
13096
|
-
|
|
13097
|
-
|
|
13098
|
-
|
|
13099
|
-
|
|
13100
|
-
|
|
13101
|
-
|
|
13102
|
-
|
|
13103
|
-
|
|
13104
|
-
|
|
13105
|
-
|
|
13106
|
-
|
|
13107
|
-
|
|
13108
|
-
|
|
13109
|
-
|
|
13110
|
-
"
|
|
13111
|
-
|
|
13112
|
-
|
|
13113
|
-
|
|
13114
|
-
|
|
13115
|
-
|
|
13116
|
-
|
|
13117
|
-
|
|
13118
|
-
|
|
13119
|
-
|
|
13120
|
-
|
|
13121
|
-
|
|
13122
|
-
|
|
13123
|
-
|
|
13107
|
+
vue.unref(values).type == "sick" || vue.unref(values).type == "leave" || vue.unref(values).type == "permission" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, [
|
|
13108
|
+
vue.createVNode(vue.unref(interfaces.NeonDivider), {
|
|
13109
|
+
"is-dashed": "",
|
|
13110
|
+
label: "Tanggal ini digunakan hanya untuk Generate Absensi",
|
|
13111
|
+
class: "divider"
|
|
13112
|
+
}),
|
|
13113
|
+
vue.createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
|
|
13114
|
+
default: vue.withCtx(() => [
|
|
13115
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13116
|
+
modelValue: vue.unref(values).startedAt,
|
|
13117
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).startedAt = $event)
|
|
13118
|
+
}, {
|
|
13119
|
+
handle: "startedAt",
|
|
13120
|
+
name: "Tanggal Mulai",
|
|
13121
|
+
options: {
|
|
13122
|
+
note: "Tanggal mulai absensi."
|
|
13123
|
+
}
|
|
13124
|
+
}, {
|
|
13125
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
|
|
13126
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
13127
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13128
|
+
modelValue: vue.unref(values).endedAt,
|
|
13129
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).endedAt = $event)
|
|
13130
|
+
}, {
|
|
13131
|
+
handle: "endedAt",
|
|
13132
|
+
name: "Tanggal Selesai",
|
|
13133
|
+
options: {
|
|
13134
|
+
note: "Tanggal selesai absensi."
|
|
13135
|
+
}
|
|
13136
|
+
}, {
|
|
13137
|
+
"is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
|
|
13138
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
13139
|
+
vue.createVNode(vue.unref(interfaces.NeonButton), {
|
|
13140
|
+
"icon-left": "bolt",
|
|
13141
|
+
label: "Generate",
|
|
13142
|
+
color: "success",
|
|
13143
|
+
class: "mt-12",
|
|
13144
|
+
size: "xs",
|
|
13145
|
+
"is-loading": vue.unref(isLoading),
|
|
13146
|
+
"is-disabled": vue.unref(values).status !== "approved" || vue.unref(values).isGenerate === true,
|
|
13147
|
+
"is-rounded": "",
|
|
13148
|
+
onClick: generate
|
|
13149
|
+
}, null, 8, ["is-loading", "is-disabled"])
|
|
13150
|
+
]),
|
|
13151
|
+
_: 1
|
|
13152
|
+
/* STABLE */
|
|
13153
|
+
})
|
|
13154
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
13124
13155
|
vue.createCommentVNode(" EARLY GO HOME "),
|
|
13125
|
-
vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div",
|
|
13156
|
+
vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$8, [
|
|
13126
13157
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13127
13158
|
modelValue: vue.unref(values).startedAt,
|
|
13128
13159
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).startedAt = $event)
|
|
@@ -13163,7 +13194,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
13163
13194
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
13164
13195
|
vue.createElementVNode(
|
|
13165
13196
|
"div",
|
|
13166
|
-
|
|
13197
|
+
_hoisted_7$7,
|
|
13167
13198
|
vue.toDisplayString(reverseDuration.value),
|
|
13168
13199
|
1
|
|
13169
13200
|
/* TEXT */
|
|
@@ -13174,7 +13205,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
13174
13205
|
}, 16, ["modelValue"])
|
|
13175
13206
|
])) : vue.createCommentVNode("v-if", true),
|
|
13176
13207
|
vue.createCommentVNode(" COME TOO LATE "),
|
|
13177
|
-
vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div",
|
|
13208
|
+
vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$7, [
|
|
13178
13209
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13179
13210
|
modelValue: vue.unref(values).startedAt,
|
|
13180
13211
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).startedAt = $event)
|
|
@@ -13215,7 +13246,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
13215
13246
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
13216
13247
|
vue.createElementVNode(
|
|
13217
13248
|
"div",
|
|
13218
|
-
|
|
13249
|
+
_hoisted_9$7,
|
|
13219
13250
|
vue.toDisplayString(duration.value),
|
|
13220
13251
|
1
|
|
13221
13252
|
/* TEXT */
|
|
@@ -13226,7 +13257,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
13226
13257
|
}, 16, ["modelValue"])
|
|
13227
13258
|
])) : vue.createCommentVNode("v-if", true),
|
|
13228
13259
|
vue.createCommentVNode(" TIMEOUT "),
|
|
13229
|
-
vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div",
|
|
13260
|
+
vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$7, [
|
|
13230
13261
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
13231
13262
|
modelValue: vue.unref(values).startedAt,
|
|
13232
13263
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).startedAt = $event)
|
|
@@ -13267,7 +13298,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
13267
13298
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
13268
13299
|
vue.createElementVNode(
|
|
13269
13300
|
"div",
|
|
13270
|
-
|
|
13301
|
+
_hoisted_11$7,
|
|
13271
13302
|
vue.toDisplayString(duration.value),
|
|
13272
13303
|
1
|
|
13273
13304
|
/* TEXT */
|
|
@@ -13296,7 +13327,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
13296
13327
|
};
|
|
13297
13328
|
}
|
|
13298
13329
|
});
|
|
13299
|
-
const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-
|
|
13330
|
+
const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-608a3ac5"]]);
|
|
13300
13331
|
const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-c329f979"), n = n(), vue.popScopeId(), n);
|
|
13301
13332
|
const _hoisted_1$o = { id: "view-checkIns" };
|
|
13302
13333
|
const _hoisted_2$h = { class: "summary" };
|
|
@@ -17752,10 +17783,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
17752
17783
|
onSubmit: vue.unref(saveOne)
|
|
17753
17784
|
}, {
|
|
17754
17785
|
default: vue.withCtx(() => [
|
|
17755
|
-
vue.createVNode(vue.unref(form.NeonFields), {
|
|
17756
|
-
md: "grid-cols-4",
|
|
17757
|
-
title: "Situasi"
|
|
17758
|
-
}, {
|
|
17786
|
+
vue.createVNode(vue.unref(form.NeonFields), { title: "Situasi" }, {
|
|
17759
17787
|
default: vue.withCtx(() => [
|
|
17760
17788
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
17761
17789
|
modelValue: vue.unref(values).situationStatus,
|
|
@@ -17773,14 +17801,19 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
17773
17801
|
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
17774
17802
|
modelValue: vue.unref(values),
|
|
17775
17803
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
17776
|
-
field: vue.unref(fields).situationType
|
|
17777
|
-
|
|
17804
|
+
field: vue.unref(fields).situationType,
|
|
17805
|
+
query: vue.unref(query.Query).define({
|
|
17806
|
+
filter: {
|
|
17807
|
+
branchIds: { $in: vue.unref(values).branchIds }
|
|
17808
|
+
}
|
|
17809
|
+
})
|
|
17810
|
+
}, null, 8, ["modelValue", "field", "query"]),
|
|
17778
17811
|
vue.createVNode(vue.unref(office$1.OfficeRelation), {
|
|
17779
17812
|
modelValue: vue.unref(values),
|
|
17780
17813
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
17781
17814
|
field: vue.unref(fields).situationReportedBy
|
|
17782
17815
|
}, null, 8, ["modelValue", "field"]),
|
|
17783
|
-
vue.createVNode(vue.unref(form.NeonFields),
|
|
17816
|
+
vue.createVNode(vue.unref(form.NeonFields), null, {
|
|
17784
17817
|
default: vue.withCtx(() => [
|
|
17785
17818
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
17786
17819
|
modelValue: vue.unref(values).situationDescription,
|
|
@@ -17790,7 +17823,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
17790
17823
|
_: 1
|
|
17791
17824
|
/* STABLE */
|
|
17792
17825
|
}),
|
|
17793
|
-
vue.createVNode(vue.unref(form.NeonFields),
|
|
17826
|
+
vue.createVNode(vue.unref(form.NeonFields), null, {
|
|
17794
17827
|
default: vue.withCtx(() => [
|
|
17795
17828
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
17796
17829
|
modelValue: vue.unref(values).urgentSituationDate,
|
|
@@ -17805,10 +17838,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
17805
17838
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
17806
17839
|
field: vue.unref(fields).situationRelatedBy
|
|
17807
17840
|
}, null, 8, ["modelValue", "field"]),
|
|
17808
|
-
vue.createVNode(vue.unref(form.NeonFields), {
|
|
17809
|
-
md: "grid-cols-4",
|
|
17810
|
-
title: "Suportif"
|
|
17811
|
-
}, {
|
|
17841
|
+
vue.createVNode(vue.unref(form.NeonFields), { title: "Suportif" }, {
|
|
17812
17842
|
default: vue.withCtx(() => [
|
|
17813
17843
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
17814
17844
|
modelValue: vue.unref(values).supportiveStatus,
|
|
@@ -17823,7 +17853,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
17823
17853
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
17824
17854
|
field: vue.unref(fields).situationSupportedBy
|
|
17825
17855
|
}, null, 8, ["modelValue", "field"]),
|
|
17826
|
-
vue.createVNode(vue.unref(form.NeonFields),
|
|
17856
|
+
vue.createVNode(vue.unref(form.NeonFields), null, {
|
|
17827
17857
|
default: vue.withCtx(() => [
|
|
17828
17858
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
17829
17859
|
modelValue: vue.unref(values).situationResponse,
|
|
@@ -17902,7 +17932,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
17902
17932
|
onSubmit: vue.unref(saveOne)
|
|
17903
17933
|
}, {
|
|
17904
17934
|
default: vue.withCtx(() => [
|
|
17905
|
-
vue.createVNode(vue.unref(form.NeonFields),
|
|
17935
|
+
vue.createVNode(vue.unref(form.NeonFields), null, {
|
|
17906
17936
|
default: vue.withCtx(() => [
|
|
17907
17937
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
17908
17938
|
modelValue: vue.unref(values).situationTypeName,
|
package/build/mock/index.mjs
CHANGED
|
@@ -12306,21 +12306,22 @@ const _hoisted_1$q = {
|
|
|
12306
12306
|
};
|
|
12307
12307
|
const _hoisted_2$j = { class: "mt-2" };
|
|
12308
12308
|
const _hoisted_3$b = { class: "mt-2" };
|
|
12309
|
-
const _hoisted_4$a = {
|
|
12310
|
-
|
|
12311
|
-
class: "grid gap-2 sm:grid-cols-2"
|
|
12312
|
-
};
|
|
12313
|
-
const _hoisted_5$9 = { class: "text-right text-fg-subdued text-sm" };
|
|
12314
|
-
const _hoisted_6$9 = {
|
|
12309
|
+
const _hoisted_4$a = { key: 6 };
|
|
12310
|
+
const _hoisted_5$9 = {
|
|
12315
12311
|
key: 7,
|
|
12316
12312
|
class: "grid gap-2 sm:grid-cols-2"
|
|
12317
12313
|
};
|
|
12318
|
-
const
|
|
12319
|
-
const
|
|
12314
|
+
const _hoisted_6$9 = { class: "text-right text-fg-subdued text-sm" };
|
|
12315
|
+
const _hoisted_7$8 = {
|
|
12320
12316
|
key: 8,
|
|
12321
12317
|
class: "grid gap-2 sm:grid-cols-2"
|
|
12322
12318
|
};
|
|
12323
|
-
const
|
|
12319
|
+
const _hoisted_8$8 = { class: "text-right text-fg-subdued text-sm" };
|
|
12320
|
+
const _hoisted_9$8 = {
|
|
12321
|
+
key: 9,
|
|
12322
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
12323
|
+
};
|
|
12324
|
+
const _hoisted_10$8 = { class: "text-right text-fg-subdued text-sm" };
|
|
12324
12325
|
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
12325
12326
|
__name: "AttendanceStaff",
|
|
12326
12327
|
setup(__props) {
|
|
@@ -12581,42 +12582,56 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
12581
12582
|
modelValue: unref(values).submittedAt,
|
|
12582
12583
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).submittedAt = $event)
|
|
12583
12584
|
}, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
12584
|
-
|
|
12585
|
-
|
|
12586
|
-
|
|
12587
|
-
|
|
12588
|
-
|
|
12589
|
-
|
|
12590
|
-
|
|
12591
|
-
|
|
12592
|
-
|
|
12593
|
-
|
|
12594
|
-
|
|
12595
|
-
|
|
12596
|
-
|
|
12597
|
-
|
|
12598
|
-
|
|
12599
|
-
|
|
12600
|
-
|
|
12601
|
-
|
|
12602
|
-
|
|
12603
|
-
|
|
12604
|
-
|
|
12605
|
-
|
|
12606
|
-
|
|
12607
|
-
|
|
12608
|
-
|
|
12609
|
-
|
|
12610
|
-
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
|
|
12585
|
+
unref(values).type == "sick" || unref(values).type == "leave" || unref(values).type == "permission" ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
12586
|
+
createVNode(unref(NeonDivider), {
|
|
12587
|
+
"is-dashed": "",
|
|
12588
|
+
label: "Tanggal ini digunakan hanya untuk Generate Absensi",
|
|
12589
|
+
class: "divider"
|
|
12590
|
+
}),
|
|
12591
|
+
createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
|
|
12592
|
+
default: withCtx(() => [
|
|
12593
|
+
createVNode(unref(NeonField), mergeProps({
|
|
12594
|
+
modelValue: unref(values).startedAt,
|
|
12595
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).startedAt = $event)
|
|
12596
|
+
}, {
|
|
12597
|
+
handle: "startedAt",
|
|
12598
|
+
name: "Tanggal Mulai",
|
|
12599
|
+
options: {
|
|
12600
|
+
note: "Tanggal mulai absensi."
|
|
12601
|
+
}
|
|
12602
|
+
}, {
|
|
12603
|
+
"is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
|
|
12604
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
12605
|
+
createVNode(unref(NeonField), mergeProps({
|
|
12606
|
+
modelValue: unref(values).endedAt,
|
|
12607
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).endedAt = $event)
|
|
12608
|
+
}, {
|
|
12609
|
+
handle: "endedAt",
|
|
12610
|
+
name: "Tanggal Selesai",
|
|
12611
|
+
options: {
|
|
12612
|
+
note: "Tanggal selesai absensi."
|
|
12613
|
+
}
|
|
12614
|
+
}, {
|
|
12615
|
+
"is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
|
|
12616
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
12617
|
+
createVNode(unref(NeonButton), {
|
|
12618
|
+
"icon-left": "bolt",
|
|
12619
|
+
label: "Generate",
|
|
12620
|
+
color: "success",
|
|
12621
|
+
class: "mt-12",
|
|
12622
|
+
size: "xs",
|
|
12623
|
+
"is-loading": unref(isLoading),
|
|
12624
|
+
"is-disabled": unref(values).status !== "approved" || unref(values).isGenerate === true,
|
|
12625
|
+
"is-rounded": "",
|
|
12626
|
+
onClick: generate
|
|
12627
|
+
}, null, 8, ["is-loading", "is-disabled"])
|
|
12628
|
+
]),
|
|
12629
|
+
_: 1
|
|
12630
|
+
/* STABLE */
|
|
12631
|
+
})
|
|
12632
|
+
])) : createCommentVNode("v-if", true),
|
|
12618
12633
|
createCommentVNode(" EARLY GO HOME "),
|
|
12619
|
-
unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div",
|
|
12634
|
+
unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_5$9, [
|
|
12620
12635
|
createVNode(unref(NeonField), mergeProps({
|
|
12621
12636
|
modelValue: unref(values).startedAt,
|
|
12622
12637
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).startedAt = $event)
|
|
@@ -12659,7 +12674,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
12659
12674
|
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
12660
12675
|
createElementVNode(
|
|
12661
12676
|
"div",
|
|
12662
|
-
|
|
12677
|
+
_hoisted_6$9,
|
|
12663
12678
|
toDisplayString(duration.value),
|
|
12664
12679
|
1
|
|
12665
12680
|
/* TEXT */
|
|
@@ -12670,7 +12685,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
12670
12685
|
}, 16, ["modelValue"])
|
|
12671
12686
|
])) : createCommentVNode("v-if", true),
|
|
12672
12687
|
createCommentVNode(" COME TOO LATE "),
|
|
12673
|
-
unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div",
|
|
12688
|
+
unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_7$8, [
|
|
12674
12689
|
createVNode(unref(NeonField), mergeProps({
|
|
12675
12690
|
modelValue: unref(values).startedAt,
|
|
12676
12691
|
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).startedAt = $event)
|
|
@@ -12713,7 +12728,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
12713
12728
|
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
12714
12729
|
createElementVNode(
|
|
12715
12730
|
"div",
|
|
12716
|
-
|
|
12731
|
+
_hoisted_8$8,
|
|
12717
12732
|
toDisplayString(duration.value),
|
|
12718
12733
|
1
|
|
12719
12734
|
/* TEXT */
|
|
@@ -12724,7 +12739,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
12724
12739
|
}, 16, ["modelValue"])
|
|
12725
12740
|
])) : createCommentVNode("v-if", true),
|
|
12726
12741
|
createCommentVNode(" TIMEOUT "),
|
|
12727
|
-
unref(values).type == "timeout" ? (openBlock(), createElementBlock("div",
|
|
12742
|
+
unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_9$8, [
|
|
12728
12743
|
createVNode(unref(NeonField), mergeProps({
|
|
12729
12744
|
modelValue: unref(values).startedAt,
|
|
12730
12745
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(values).startedAt = $event)
|
|
@@ -12767,7 +12782,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
12767
12782
|
}, null, 8, ["modelValue", "is-loading", "is-disabled"]),
|
|
12768
12783
|
createElementVNode(
|
|
12769
12784
|
"div",
|
|
12770
|
-
|
|
12785
|
+
_hoisted_10$8,
|
|
12771
12786
|
toDisplayString(duration.value),
|
|
12772
12787
|
1
|
|
12773
12788
|
/* TEXT */
|
|
@@ -12796,26 +12811,27 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
12796
12811
|
};
|
|
12797
12812
|
}
|
|
12798
12813
|
});
|
|
12799
|
-
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-
|
|
12814
|
+
const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-04e65bc4"]]);
|
|
12800
12815
|
const _hoisted_1$p = { class: "flex flex-wrap" };
|
|
12801
12816
|
const _hoisted_2$i = { class: "mt-2" };
|
|
12802
12817
|
const _hoisted_3$a = { class: "mt-2" };
|
|
12803
12818
|
const _hoisted_4$9 = { class: "mt-2" };
|
|
12804
|
-
const _hoisted_5$8 = {
|
|
12805
|
-
|
|
12806
|
-
class: "grid gap-2 sm:grid-cols-2"
|
|
12807
|
-
};
|
|
12808
|
-
const _hoisted_6$8 = { class: "text-right text-fg-subdued text-sm" };
|
|
12809
|
-
const _hoisted_7$7 = {
|
|
12819
|
+
const _hoisted_5$8 = { key: 4 };
|
|
12820
|
+
const _hoisted_6$8 = {
|
|
12810
12821
|
key: 5,
|
|
12811
12822
|
class: "grid gap-2 sm:grid-cols-2"
|
|
12812
12823
|
};
|
|
12813
|
-
const
|
|
12814
|
-
const
|
|
12824
|
+
const _hoisted_7$7 = { class: "text-right text-fg-subdued text-sm" };
|
|
12825
|
+
const _hoisted_8$7 = {
|
|
12815
12826
|
key: 6,
|
|
12816
12827
|
class: "grid gap-2 sm:grid-cols-2"
|
|
12817
12828
|
};
|
|
12818
|
-
const
|
|
12829
|
+
const _hoisted_9$7 = { class: "text-right text-fg-subdued text-sm" };
|
|
12830
|
+
const _hoisted_10$7 = {
|
|
12831
|
+
key: 7,
|
|
12832
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
12833
|
+
};
|
|
12834
|
+
const _hoisted_11$7 = { class: "text-right text-fg-subdued text-sm" };
|
|
12819
12835
|
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
12820
12836
|
__name: "AttendanceSupervisor",
|
|
12821
12837
|
setup(__props) {
|
|
@@ -13069,41 +13085,56 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
13069
13085
|
modelValue: unref(values).submittedAt,
|
|
13070
13086
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).submittedAt = $event)
|
|
13071
13087
|
}, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
13072
|
-
|
|
13073
|
-
|
|
13074
|
-
|
|
13075
|
-
|
|
13076
|
-
|
|
13077
|
-
|
|
13078
|
-
|
|
13079
|
-
|
|
13080
|
-
|
|
13081
|
-
|
|
13082
|
-
|
|
13083
|
-
|
|
13084
|
-
|
|
13085
|
-
|
|
13086
|
-
|
|
13087
|
-
|
|
13088
|
-
|
|
13089
|
-
|
|
13090
|
-
|
|
13091
|
-
"
|
|
13092
|
-
|
|
13093
|
-
|
|
13094
|
-
|
|
13095
|
-
|
|
13096
|
-
|
|
13097
|
-
|
|
13098
|
-
|
|
13099
|
-
|
|
13100
|
-
|
|
13101
|
-
|
|
13102
|
-
|
|
13103
|
-
|
|
13104
|
-
|
|
13088
|
+
unref(values).type == "sick" || unref(values).type == "leave" || unref(values).type == "permission" ? (openBlock(), createElementBlock("div", _hoisted_5$8, [
|
|
13089
|
+
createVNode(unref(NeonDivider), {
|
|
13090
|
+
"is-dashed": "",
|
|
13091
|
+
label: "Tanggal ini digunakan hanya untuk Generate Absensi",
|
|
13092
|
+
class: "divider"
|
|
13093
|
+
}),
|
|
13094
|
+
createVNode(_component_NeonFields, { md: "grid-cols-3" }, {
|
|
13095
|
+
default: withCtx(() => [
|
|
13096
|
+
createVNode(unref(NeonField), mergeProps({
|
|
13097
|
+
modelValue: unref(values).startedAt,
|
|
13098
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).startedAt = $event)
|
|
13099
|
+
}, {
|
|
13100
|
+
handle: "startedAt",
|
|
13101
|
+
name: "Tanggal Mulai",
|
|
13102
|
+
options: {
|
|
13103
|
+
note: "Tanggal mulai absensi."
|
|
13104
|
+
}
|
|
13105
|
+
}, {
|
|
13106
|
+
"is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
|
|
13107
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
13108
|
+
createVNode(unref(NeonField), mergeProps({
|
|
13109
|
+
modelValue: unref(values).endedAt,
|
|
13110
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).endedAt = $event)
|
|
13111
|
+
}, {
|
|
13112
|
+
handle: "endedAt",
|
|
13113
|
+
name: "Tanggal Selesai",
|
|
13114
|
+
options: {
|
|
13115
|
+
note: "Tanggal selesai absensi."
|
|
13116
|
+
}
|
|
13117
|
+
}, {
|
|
13118
|
+
"is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
|
|
13119
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
13120
|
+
createVNode(unref(NeonButton), {
|
|
13121
|
+
"icon-left": "bolt",
|
|
13122
|
+
label: "Generate",
|
|
13123
|
+
color: "success",
|
|
13124
|
+
class: "mt-12",
|
|
13125
|
+
size: "xs",
|
|
13126
|
+
"is-loading": unref(isLoading),
|
|
13127
|
+
"is-disabled": unref(values).status !== "approved" || unref(values).isGenerate === true,
|
|
13128
|
+
"is-rounded": "",
|
|
13129
|
+
onClick: generate
|
|
13130
|
+
}, null, 8, ["is-loading", "is-disabled"])
|
|
13131
|
+
]),
|
|
13132
|
+
_: 1
|
|
13133
|
+
/* STABLE */
|
|
13134
|
+
})
|
|
13135
|
+
])) : createCommentVNode("v-if", true),
|
|
13105
13136
|
createCommentVNode(" EARLY GO HOME "),
|
|
13106
|
-
unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div",
|
|
13137
|
+
unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
|
|
13107
13138
|
createVNode(unref(NeonField), mergeProps({
|
|
13108
13139
|
modelValue: unref(values).startedAt,
|
|
13109
13140
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).startedAt = $event)
|
|
@@ -13144,7 +13175,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
13144
13175
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
13145
13176
|
createElementVNode(
|
|
13146
13177
|
"div",
|
|
13147
|
-
|
|
13178
|
+
_hoisted_7$7,
|
|
13148
13179
|
toDisplayString(reverseDuration.value),
|
|
13149
13180
|
1
|
|
13150
13181
|
/* TEXT */
|
|
@@ -13155,7 +13186,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
13155
13186
|
}, 16, ["modelValue"])
|
|
13156
13187
|
])) : createCommentVNode("v-if", true),
|
|
13157
13188
|
createCommentVNode(" COME TOO LATE "),
|
|
13158
|
-
unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div",
|
|
13189
|
+
unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_8$7, [
|
|
13159
13190
|
createVNode(unref(NeonField), mergeProps({
|
|
13160
13191
|
modelValue: unref(values).startedAt,
|
|
13161
13192
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).startedAt = $event)
|
|
@@ -13196,7 +13227,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
13196
13227
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
13197
13228
|
createElementVNode(
|
|
13198
13229
|
"div",
|
|
13199
|
-
|
|
13230
|
+
_hoisted_9$7,
|
|
13200
13231
|
toDisplayString(duration.value),
|
|
13201
13232
|
1
|
|
13202
13233
|
/* TEXT */
|
|
@@ -13207,7 +13238,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
13207
13238
|
}, 16, ["modelValue"])
|
|
13208
13239
|
])) : createCommentVNode("v-if", true),
|
|
13209
13240
|
createCommentVNode(" TIMEOUT "),
|
|
13210
|
-
unref(values).type == "timeout" ? (openBlock(), createElementBlock("div",
|
|
13241
|
+
unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_10$7, [
|
|
13211
13242
|
createVNode(unref(NeonField), mergeProps({
|
|
13212
13243
|
modelValue: unref(values).startedAt,
|
|
13213
13244
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(values).startedAt = $event)
|
|
@@ -13248,7 +13279,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
13248
13279
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
13249
13280
|
createElementVNode(
|
|
13250
13281
|
"div",
|
|
13251
|
-
|
|
13282
|
+
_hoisted_11$7,
|
|
13252
13283
|
toDisplayString(duration.value),
|
|
13253
13284
|
1
|
|
13254
13285
|
/* TEXT */
|
|
@@ -13277,7 +13308,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
13277
13308
|
};
|
|
13278
13309
|
}
|
|
13279
13310
|
});
|
|
13280
|
-
const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-
|
|
13311
|
+
const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-608a3ac5"]]);
|
|
13281
13312
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-c329f979"), n = n(), popScopeId(), n);
|
|
13282
13313
|
const _hoisted_1$o = { id: "view-checkIns" };
|
|
13283
13314
|
const _hoisted_2$h = { class: "summary" };
|
|
@@ -17733,10 +17764,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
17733
17764
|
onSubmit: unref(saveOne)
|
|
17734
17765
|
}, {
|
|
17735
17766
|
default: withCtx(() => [
|
|
17736
|
-
createVNode(unref(NeonFields), {
|
|
17737
|
-
md: "grid-cols-4",
|
|
17738
|
-
title: "Situasi"
|
|
17739
|
-
}, {
|
|
17767
|
+
createVNode(unref(NeonFields), { title: "Situasi" }, {
|
|
17740
17768
|
default: withCtx(() => [
|
|
17741
17769
|
createVNode(unref(NeonField), mergeProps({
|
|
17742
17770
|
modelValue: unref(values).situationStatus,
|
|
@@ -17754,14 +17782,19 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
17754
17782
|
createVNode(unref(OfficeRelation), {
|
|
17755
17783
|
modelValue: unref(values),
|
|
17756
17784
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
17757
|
-
field: unref(fields).situationType
|
|
17758
|
-
|
|
17785
|
+
field: unref(fields).situationType,
|
|
17786
|
+
query: unref(Query).define({
|
|
17787
|
+
filter: {
|
|
17788
|
+
branchIds: { $in: unref(values).branchIds }
|
|
17789
|
+
}
|
|
17790
|
+
})
|
|
17791
|
+
}, null, 8, ["modelValue", "field", "query"]),
|
|
17759
17792
|
createVNode(unref(OfficeRelation), {
|
|
17760
17793
|
modelValue: unref(values),
|
|
17761
17794
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
17762
17795
|
field: unref(fields).situationReportedBy
|
|
17763
17796
|
}, null, 8, ["modelValue", "field"]),
|
|
17764
|
-
createVNode(unref(NeonFields),
|
|
17797
|
+
createVNode(unref(NeonFields), null, {
|
|
17765
17798
|
default: withCtx(() => [
|
|
17766
17799
|
createVNode(unref(NeonField), mergeProps({
|
|
17767
17800
|
modelValue: unref(values).situationDescription,
|
|
@@ -17771,7 +17804,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
17771
17804
|
_: 1
|
|
17772
17805
|
/* STABLE */
|
|
17773
17806
|
}),
|
|
17774
|
-
createVNode(unref(NeonFields),
|
|
17807
|
+
createVNode(unref(NeonFields), null, {
|
|
17775
17808
|
default: withCtx(() => [
|
|
17776
17809
|
createVNode(unref(NeonField), mergeProps({
|
|
17777
17810
|
modelValue: unref(values).urgentSituationDate,
|
|
@@ -17786,10 +17819,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
17786
17819
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
|
|
17787
17820
|
field: unref(fields).situationRelatedBy
|
|
17788
17821
|
}, null, 8, ["modelValue", "field"]),
|
|
17789
|
-
createVNode(unref(NeonFields), {
|
|
17790
|
-
md: "grid-cols-4",
|
|
17791
|
-
title: "Suportif"
|
|
17792
|
-
}, {
|
|
17822
|
+
createVNode(unref(NeonFields), { title: "Suportif" }, {
|
|
17793
17823
|
default: withCtx(() => [
|
|
17794
17824
|
createVNode(unref(NeonField), mergeProps({
|
|
17795
17825
|
modelValue: unref(values).supportiveStatus,
|
|
@@ -17804,7 +17834,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
17804
17834
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
17805
17835
|
field: unref(fields).situationSupportedBy
|
|
17806
17836
|
}, null, 8, ["modelValue", "field"]),
|
|
17807
|
-
createVNode(unref(NeonFields),
|
|
17837
|
+
createVNode(unref(NeonFields), null, {
|
|
17808
17838
|
default: withCtx(() => [
|
|
17809
17839
|
createVNode(unref(NeonField), mergeProps({
|
|
17810
17840
|
modelValue: unref(values).situationResponse,
|
|
@@ -17883,7 +17913,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17883
17913
|
onSubmit: unref(saveOne)
|
|
17884
17914
|
}, {
|
|
17885
17915
|
default: withCtx(() => [
|
|
17886
|
-
createVNode(unref(NeonFields),
|
|
17916
|
+
createVNode(unref(NeonFields), null, {
|
|
17887
17917
|
default: withCtx(() => [
|
|
17888
17918
|
createVNode(unref(NeonField), mergeProps({
|
|
17889
17919
|
modelValue: unref(values).situationTypeName,
|
package/build/mock/style.css
CHANGED
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
display: block
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.neu-attendance-single[data-v-
|
|
80
|
+
.neu-attendance-single[data-v-04e65bc4] {
|
|
81
81
|
display: block
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.neu-attendance-single[data-v-
|
|
84
|
+
.neu-attendance-single[data-v-608a3ac5] {
|
|
85
85
|
display: block
|
|
86
86
|
}
|
|
87
87
|
|
package/build/module.json
CHANGED
package/build/nuxt.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-interfaces",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.3-beta.1",
|
|
4
4
|
"description": "Interface library of Neutron Operasional.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"@neon.id/nuxt": "^1.5.0",
|
|
77
77
|
"@neon.id/office": "^1.39.0",
|
|
78
78
|
"@neon.id/utils": "^1.51.0",
|
|
79
|
-
"@neutron.co.id/operasional-modules": "1.
|
|
80
|
-
"@neutron.co.id/personalia-models": "1.13.
|
|
79
|
+
"@neutron.co.id/operasional-modules": "1.12.1",
|
|
80
|
+
"@neutron.co.id/personalia-models": "1.13.3-beta.1",
|
|
81
81
|
"@nuxt/kit": "^3.12.3",
|
|
82
82
|
"file-saver": "^2.0.5",
|
|
83
83
|
"qr-scanner": "^1.4.2",
|
|
@@ -145,8 +145,8 @@
|
|
|
145
145
|
"@neon.id/nuxt": "^1.5.0",
|
|
146
146
|
"@neon.id/office": "^1.39.0",
|
|
147
147
|
"@neon.id/utils": "^1.51.0",
|
|
148
|
-
"@neutron.co.id/operasional-modules": "1.
|
|
149
|
-
"@neutron.co.id/personalia-models": "1.13.
|
|
148
|
+
"@neutron.co.id/operasional-modules": "1.12.1",
|
|
149
|
+
"@neutron.co.id/personalia-models": "1.13.3-beta.1",
|
|
150
150
|
"@nuxt/kit": "^3.12.3",
|
|
151
151
|
"file-saver": "^2.0.5",
|
|
152
152
|
"qr-scanner": "^1.4.2",
|
|
@@ -156,5 +156,5 @@
|
|
|
156
156
|
"publishConfig": {
|
|
157
157
|
"access": "public"
|
|
158
158
|
},
|
|
159
|
-
"build":
|
|
159
|
+
"build": 157
|
|
160
160
|
}
|