@neutron.co.id/operasional-interfaces 1.7.2 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.cjs +1359 -676
- package/build/index.mjs +1363 -680
- package/build/style.css +36 -7
- package/build/types/components/attendance/attendance.types.d.ts +2 -0
- package/build/types/components/attendance/index.d.ts +2 -0
- package/build/types/components/attendance/sheets/AttendanceCollection.vue.d.ts +2 -0
- package/build/types/components/attendance/sheets/AttendanceManager.vue.d.ts +2 -0
- package/build/types/components/attendance/sheets/AttendanceSingle.vue.d.ts +2 -0
- package/build/types/components/attendance/sheets/AttendanceStaff.vue.d.ts +2 -0
- package/build/types/components/attendance/sheets/index.d.ts +4 -0
- package/build/types/components/index.d.ts +1 -0
- package/build/types/components/progress/progress.types.d.ts +1 -1
- package/build/types/gql/graphql.d.ts +596 -19
- package/build/types/utils/util.date.d.ts +3 -1
- package/build/types/utils/util.duration.d.ts +2 -2
- package/package.json +56 -56
package/build/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComponentUtil as ComponentUtil$1 } from "@neon.id/utils/client";
|
|
2
2
|
import { defineComponent, openBlock, createElementBlock, createVNode, unref, ref, computed, h, watch, createBlock, withCtx, mergeProps, createCommentVNode, normalizeClass, pushScopeId, popScopeId, createElementVNode, provide, resolveComponent, createTextVNode, onMounted, isRef, reactive, watchEffect, onBeforeUnmount, withModifiers, toDisplayString, Fragment, normalizeProps, guardReactiveProps, withDirectives, vShow } from "vue";
|
|
3
|
-
import { NeonButton, NeonAvatar, NeonDivider, NeonModal, NeonSheet, useToastStore, NeonSlider, NeonSlide, NeonStat, NeonInfo } from "@neon.id/interfaces";
|
|
3
|
+
import { NeonButton, NeonAvatar, NeonDivider, NeonModal, NeonSheet, useToastStore, NeonSlider, NeonSlide, NeonStat, NeonInfo, NeonAlert } from "@neon.id/interfaces";
|
|
4
4
|
import { GraphUtil, NeonCollectionContext, useSingle, NeonSingle, usePermit, useCollection, NeonCollection, useAppStore } from "@neon.id/context";
|
|
5
5
|
import { RowUtil } from "@neon.id/display";
|
|
6
|
-
import { NeonField, NeonForm, NeonFormWrapper, NeonFields } from "@neon.id/form";
|
|
6
|
+
import { NeonField, NeonForm, NeonFormWrapper, NeonFields, NeonCheck } from "@neon.id/form";
|
|
7
7
|
import { IdentitasConnect, IdentitasAssistRegistration, IdentitasDelegate, useAuthStore } from "@neon.id/identitas-interfaces";
|
|
8
8
|
import { models } from "@neon.id/identitas-models";
|
|
9
9
|
import { Field } from "@neon.id/model";
|
|
@@ -13,17 +13,25 @@ import { CodeUtil } from "@neon.id/utils/code";
|
|
|
13
13
|
import { useClientHandle } from "@urql/vue";
|
|
14
14
|
import { format, startOfToday, endOfToday } from "date-fns";
|
|
15
15
|
import { DatePicker } from "v-calendar";
|
|
16
|
+
import dayjs from "dayjs/esm/index.js";
|
|
17
|
+
import "dayjs/esm/locale/en.js";
|
|
18
|
+
import "dayjs/esm/locale/id.js";
|
|
19
|
+
import advancedFormat from "dayjs/esm/plugin/advancedFormat/index.js";
|
|
20
|
+
import durationPlugin from "dayjs/esm/plugin/duration/index.js";
|
|
21
|
+
import isoWeek from "dayjs/esm/plugin/isoWeek/index.js";
|
|
22
|
+
import relativeTimePlugin from "dayjs/esm/plugin/relativeTime/index.js";
|
|
16
23
|
import { models as models$1 } from "@neutron.co.id/tempat-models";
|
|
17
24
|
import { useEventBus, useIntervalFn, useThrottleFn } from "@vueuse/core";
|
|
18
|
-
import { OfficeContent, OfficeCollectionQuery, OfficeCollectionOperation, OfficeTabs, OfficeTab, OfficeRelation, OfficeCollectionTable, OfficeCollectionRelated, OfficeCollectionCalendar } from "@neon.id/office";
|
|
25
|
+
import { OfficeContent, OfficeCollectionQuery, OfficeCollectionOperation, OfficeTabs, OfficeTab, OfficeRelation, OfficeCollectionTable, OfficeCollectionRelated, OfficeCollectionCalendar, OfficePad } from "@neon.id/office";
|
|
19
26
|
import { defineStore, storeToRefs } from "pinia";
|
|
20
27
|
import { useRouter, useRoute } from "vue-router";
|
|
21
28
|
import { ComponentUtil } from "@neon.id/utils/component";
|
|
22
29
|
import Scanner from "qr-scanner";
|
|
30
|
+
import mitt from "mitt";
|
|
23
31
|
import { models as models$2 } from "@neutron.co.id/personalia-models";
|
|
24
|
-
import { CatatSketchPad } from "@neon.id/catat-interfaces";
|
|
25
|
-
const _hoisted_1$
|
|
26
|
-
const _sfc_main$
|
|
32
|
+
import { CatatSketchPad, CatatPaperSegments, CatatPaperPad } from "@neon.id/catat-interfaces";
|
|
33
|
+
const _hoisted_1$m = { class: "xxx-button" };
|
|
34
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
27
35
|
...{ name: "XxxButton" },
|
|
28
36
|
__name: "XxxButton",
|
|
29
37
|
props: {
|
|
@@ -34,18 +42,18 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
34
42
|
},
|
|
35
43
|
setup(__props) {
|
|
36
44
|
return (_ctx, _cache) => {
|
|
37
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
45
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
38
46
|
createVNode(unref(NeonButton), { label: "XXX" })
|
|
39
47
|
]);
|
|
40
48
|
};
|
|
41
49
|
}
|
|
42
50
|
});
|
|
43
|
-
const _hoisted_1$
|
|
44
|
-
const _hoisted_2$
|
|
51
|
+
const _hoisted_1$l = { class: "operasional-identitas" };
|
|
52
|
+
const _hoisted_2$g = {
|
|
45
53
|
key: 2,
|
|
46
54
|
class: "section"
|
|
47
55
|
};
|
|
48
|
-
const _sfc_main$
|
|
56
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
49
57
|
...{ name: "OperasionalIdentitas" },
|
|
50
58
|
__name: "OperasionalIdentitas",
|
|
51
59
|
props: {
|
|
@@ -300,7 +308,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
300
308
|
candidateId.value = null;
|
|
301
309
|
}
|
|
302
310
|
return (_ctx, _cache) => {
|
|
303
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
311
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
304
312
|
state.value === "connect" ? (openBlock(), createBlock(unref(IdentitasConnect), {
|
|
305
313
|
key: 0,
|
|
306
314
|
user: user.value,
|
|
@@ -352,7 +360,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
352
360
|
_: 1
|
|
353
361
|
/* STABLE */
|
|
354
362
|
}, 8, ["initial-values", "is-loading", "errors"])) : createCommentVNode("v-if", true),
|
|
355
|
-
user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
363
|
+
user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
356
364
|
createVNode(unref(NeonDivider), {
|
|
357
365
|
"is-dashed": "",
|
|
358
366
|
label: "Delegasi",
|
|
@@ -401,237 +409,33 @@ const _export_sfc = (sfc, props) => {
|
|
|
401
409
|
}
|
|
402
410
|
return target;
|
|
403
411
|
};
|
|
404
|
-
const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
412
|
+
const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-355c8370"]]);
|
|
413
|
+
dayjs.extend(durationPlugin);
|
|
414
|
+
dayjs.extend(relativeTimePlugin);
|
|
415
|
+
dayjs.extend(advancedFormat);
|
|
416
|
+
dayjs.extend(isoWeek);
|
|
417
|
+
dayjs.locale("id");
|
|
418
|
+
class DateUtil {
|
|
419
|
+
static get day() {
|
|
420
|
+
return dayjs;
|
|
421
|
+
}
|
|
408
422
|
}
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
!function(t, e) {
|
|
412
|
-
module.exports = e();
|
|
413
|
-
}(commonjsGlobal, function() {
|
|
414
|
-
var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", f = "month", h2 = "quarter", c = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
|
|
415
|
-
var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
|
|
416
|
-
return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
|
|
417
|
-
} }, m = function(t2, e2, n2) {
|
|
418
|
-
var r2 = String(t2);
|
|
419
|
-
return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2;
|
|
420
|
-
}, v = { s: m, z: function(t2) {
|
|
421
|
-
var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60;
|
|
422
|
-
return (e2 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i2, 2, "0");
|
|
423
|
-
}, m: function t2(e2, n2) {
|
|
424
|
-
if (e2.date() < n2.date())
|
|
425
|
-
return -t2(n2, e2);
|
|
426
|
-
var r2 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r2, f), s2 = n2 - i2 < 0, u2 = e2.clone().add(r2 + (s2 ? -1 : 1), f);
|
|
427
|
-
return +(-(r2 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
|
|
428
|
-
}, a: function(t2) {
|
|
429
|
-
return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
|
|
430
|
-
}, p: function(t2) {
|
|
431
|
-
return { M: f, y: c, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: h2 }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
|
|
432
|
-
}, u: function(t2) {
|
|
433
|
-
return void 0 === t2;
|
|
434
|
-
} }, g = "en", D = {};
|
|
435
|
-
D[g] = M;
|
|
436
|
-
var p = function(t2) {
|
|
437
|
-
return t2 instanceof _;
|
|
438
|
-
}, S = function t2(e2, n2, r2) {
|
|
439
|
-
var i2;
|
|
440
|
-
if (!e2)
|
|
441
|
-
return g;
|
|
442
|
-
if ("string" == typeof e2) {
|
|
443
|
-
var s2 = e2.toLowerCase();
|
|
444
|
-
D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
|
|
445
|
-
var u2 = e2.split("-");
|
|
446
|
-
if (!i2 && u2.length > 1)
|
|
447
|
-
return t2(u2[0]);
|
|
448
|
-
} else {
|
|
449
|
-
var a2 = e2.name;
|
|
450
|
-
D[a2] = e2, i2 = a2;
|
|
451
|
-
}
|
|
452
|
-
return !r2 && i2 && (g = i2), i2 || !r2 && g;
|
|
453
|
-
}, w = function(t2, e2) {
|
|
454
|
-
if (p(t2))
|
|
455
|
-
return t2.clone();
|
|
456
|
-
var n2 = "object" == typeof e2 ? e2 : {};
|
|
457
|
-
return n2.date = t2, n2.args = arguments, new _(n2);
|
|
458
|
-
}, O = v;
|
|
459
|
-
O.l = S, O.i = p, O.w = function(t2, e2) {
|
|
460
|
-
return w(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
|
|
461
|
-
};
|
|
462
|
-
var _ = function() {
|
|
463
|
-
function M2(t2) {
|
|
464
|
-
this.$L = S(t2.locale, null, true), this.parse(t2);
|
|
465
|
-
}
|
|
466
|
-
var m2 = M2.prototype;
|
|
467
|
-
return m2.parse = function(t2) {
|
|
468
|
-
this.$d = function(t3) {
|
|
469
|
-
var e2 = t3.date, n2 = t3.utc;
|
|
470
|
-
if (null === e2)
|
|
471
|
-
return /* @__PURE__ */ new Date(NaN);
|
|
472
|
-
if (O.u(e2))
|
|
473
|
-
return /* @__PURE__ */ new Date();
|
|
474
|
-
if (e2 instanceof Date)
|
|
475
|
-
return new Date(e2);
|
|
476
|
-
if ("string" == typeof e2 && !/Z$/i.test(e2)) {
|
|
477
|
-
var r2 = e2.match($);
|
|
478
|
-
if (r2) {
|
|
479
|
-
var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
|
|
480
|
-
return n2 ? new Date(Date.UTC(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2)) : new Date(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2);
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
return new Date(e2);
|
|
484
|
-
}(t2), this.$x = t2.x || {}, this.init();
|
|
485
|
-
}, m2.init = function() {
|
|
486
|
-
var t2 = this.$d;
|
|
487
|
-
this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
|
|
488
|
-
}, m2.$utils = function() {
|
|
489
|
-
return O;
|
|
490
|
-
}, m2.isValid = function() {
|
|
491
|
-
return !(this.$d.toString() === l);
|
|
492
|
-
}, m2.isSame = function(t2, e2) {
|
|
493
|
-
var n2 = w(t2);
|
|
494
|
-
return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
|
|
495
|
-
}, m2.isAfter = function(t2, e2) {
|
|
496
|
-
return w(t2) < this.startOf(e2);
|
|
497
|
-
}, m2.isBefore = function(t2, e2) {
|
|
498
|
-
return this.endOf(e2) < w(t2);
|
|
499
|
-
}, m2.$g = function(t2, e2, n2) {
|
|
500
|
-
return O.u(t2) ? this[e2] : this.set(n2, t2);
|
|
501
|
-
}, m2.unix = function() {
|
|
502
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
503
|
-
}, m2.valueOf = function() {
|
|
504
|
-
return this.$d.getTime();
|
|
505
|
-
}, m2.startOf = function(t2, e2) {
|
|
506
|
-
var n2 = this, r2 = !!O.u(e2) || e2, h22 = O.p(t2), l2 = function(t3, e3) {
|
|
507
|
-
var i2 = O.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
|
|
508
|
-
return r2 ? i2 : i2.endOf(a);
|
|
509
|
-
}, $2 = function(t3, e3) {
|
|
510
|
-
return O.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
|
|
511
|
-
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
|
|
512
|
-
switch (h22) {
|
|
513
|
-
case c:
|
|
514
|
-
return r2 ? l2(1, 0) : l2(31, 11);
|
|
515
|
-
case f:
|
|
516
|
-
return r2 ? l2(1, M3) : l2(0, M3 + 1);
|
|
517
|
-
case o:
|
|
518
|
-
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
|
|
519
|
-
return l2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
|
|
520
|
-
case a:
|
|
521
|
-
case d:
|
|
522
|
-
return $2(v2 + "Hours", 0);
|
|
523
|
-
case u:
|
|
524
|
-
return $2(v2 + "Minutes", 1);
|
|
525
|
-
case s:
|
|
526
|
-
return $2(v2 + "Seconds", 2);
|
|
527
|
-
case i:
|
|
528
|
-
return $2(v2 + "Milliseconds", 3);
|
|
529
|
-
default:
|
|
530
|
-
return this.clone();
|
|
531
|
-
}
|
|
532
|
-
}, m2.endOf = function(t2) {
|
|
533
|
-
return this.startOf(t2, false);
|
|
534
|
-
}, m2.$set = function(t2, e2) {
|
|
535
|
-
var n2, o2 = O.p(t2), h22 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = h22 + "Date", n2[d] = h22 + "Date", n2[f] = h22 + "Month", n2[c] = h22 + "FullYear", n2[u] = h22 + "Hours", n2[s] = h22 + "Minutes", n2[i] = h22 + "Seconds", n2[r] = h22 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
|
|
536
|
-
if (o2 === f || o2 === c) {
|
|
537
|
-
var y2 = this.clone().set(d, 1);
|
|
538
|
-
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
|
|
539
|
-
} else
|
|
540
|
-
l2 && this.$d[l2]($2);
|
|
541
|
-
return this.init(), this;
|
|
542
|
-
}, m2.set = function(t2, e2) {
|
|
543
|
-
return this.clone().$set(t2, e2);
|
|
544
|
-
}, m2.get = function(t2) {
|
|
545
|
-
return this[O.p(t2)]();
|
|
546
|
-
}, m2.add = function(r2, h22) {
|
|
547
|
-
var d2, l2 = this;
|
|
548
|
-
r2 = Number(r2);
|
|
549
|
-
var $2 = O.p(h22), y2 = function(t2) {
|
|
550
|
-
var e2 = w(l2);
|
|
551
|
-
return O.w(e2.date(e2.date() + Math.round(t2 * r2)), l2);
|
|
552
|
-
};
|
|
553
|
-
if ($2 === f)
|
|
554
|
-
return this.set(f, this.$M + r2);
|
|
555
|
-
if ($2 === c)
|
|
556
|
-
return this.set(c, this.$y + r2);
|
|
557
|
-
if ($2 === a)
|
|
558
|
-
return y2(1);
|
|
559
|
-
if ($2 === o)
|
|
560
|
-
return y2(7);
|
|
561
|
-
var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r2 * M3;
|
|
562
|
-
return O.w(m3, this);
|
|
563
|
-
}, m2.subtract = function(t2, e2) {
|
|
564
|
-
return this.add(-1 * t2, e2);
|
|
565
|
-
}, m2.format = function(t2) {
|
|
566
|
-
var e2 = this, n2 = this.$locale();
|
|
567
|
-
if (!this.isValid())
|
|
568
|
-
return n2.invalidDate || l;
|
|
569
|
-
var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = O.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, f2 = n2.months, h22 = function(t3, n3, i3, s3) {
|
|
570
|
-
return t3 && (t3[n3] || t3(e2, r2)) || i3[n3].slice(0, s3);
|
|
571
|
-
}, c2 = function(t3) {
|
|
572
|
-
return O.s(s2 % 12 || 12, t3, "0");
|
|
573
|
-
}, d2 = n2.meridiem || function(t3, e3, n3) {
|
|
574
|
-
var r3 = t3 < 12 ? "AM" : "PM";
|
|
575
|
-
return n3 ? r3.toLowerCase() : r3;
|
|
576
|
-
}, $2 = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a2 + 1, MM: O.s(a2 + 1, 2, "0"), MMM: h22(n2.monthsShort, a2, f2, 3), MMMM: h22(f2, a2), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h22(n2.weekdaysMin, this.$W, o2, 2), ddd: h22(n2.weekdaysShort, this.$W, o2, 3), dddd: o2[this.$W], H: String(s2), HH: O.s(s2, 2, "0"), h: c2(1), hh: c2(2), a: d2(s2, u2, true), A: d2(s2, u2, false), m: String(u2), mm: O.s(u2, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i2 };
|
|
577
|
-
return r2.replace(y, function(t3, e3) {
|
|
578
|
-
return e3 || $2[t3] || i2.replace(":", "");
|
|
579
|
-
});
|
|
580
|
-
}, m2.utcOffset = function() {
|
|
581
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
582
|
-
}, m2.diff = function(r2, d2, l2) {
|
|
583
|
-
var $2, y2 = O.p(d2), M3 = w(r2), m3 = (M3.utcOffset() - this.utcOffset()) * e, v2 = this - M3, g2 = O.m(this, M3);
|
|
584
|
-
return g2 = ($2 = {}, $2[c] = g2 / 12, $2[f] = g2, $2[h2] = g2 / 3, $2[o] = (v2 - m3) / 6048e5, $2[a] = (v2 - m3) / 864e5, $2[u] = v2 / n, $2[s] = v2 / e, $2[i] = v2 / t, $2)[y2] || v2, l2 ? g2 : O.a(g2);
|
|
585
|
-
}, m2.daysInMonth = function() {
|
|
586
|
-
return this.endOf(f).$D;
|
|
587
|
-
}, m2.$locale = function() {
|
|
588
|
-
return D[this.$L];
|
|
589
|
-
}, m2.locale = function(t2, e2) {
|
|
590
|
-
if (!t2)
|
|
591
|
-
return this.$L;
|
|
592
|
-
var n2 = this.clone(), r2 = S(t2, e2, true);
|
|
593
|
-
return r2 && (n2.$L = r2), n2;
|
|
594
|
-
}, m2.clone = function() {
|
|
595
|
-
return O.w(this.$d, this);
|
|
596
|
-
}, m2.toDate = function() {
|
|
597
|
-
return new Date(this.valueOf());
|
|
598
|
-
}, m2.toJSON = function() {
|
|
599
|
-
return this.isValid() ? this.toISOString() : null;
|
|
600
|
-
}, m2.toISOString = function() {
|
|
601
|
-
return this.$d.toISOString();
|
|
602
|
-
}, m2.toString = function() {
|
|
603
|
-
return this.$d.toUTCString();
|
|
604
|
-
}, M2;
|
|
605
|
-
}(), T = _.prototype;
|
|
606
|
-
return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function(t2) {
|
|
607
|
-
T[t2[1]] = function(e2) {
|
|
608
|
-
return this.$g(e2, t2[0], t2[1]);
|
|
609
|
-
};
|
|
610
|
-
}), w.extend = function(t2, e2) {
|
|
611
|
-
return t2.$i || (t2(e2, _, w), t2.$i = true), w;
|
|
612
|
-
}, w.locale = S, w.isDayjs = p, w.unix = function(t2) {
|
|
613
|
-
return w(1e3 * t2);
|
|
614
|
-
}, w.en = D[g], w.Ls = D, w.p = {}, w;
|
|
615
|
-
});
|
|
616
|
-
})(dayjs_min);
|
|
617
|
-
var dayjs_minExports = dayjs_min.exports;
|
|
618
|
-
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
|
|
619
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-3cf0c9ae"), n = n(), popScopeId(), n);
|
|
620
|
-
const _hoisted_1$h = {
|
|
423
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-805321b9"), n = n(), popScopeId(), n);
|
|
424
|
+
const _hoisted_1$k = {
|
|
621
425
|
key: 0,
|
|
622
426
|
class: "input-loading"
|
|
623
427
|
};
|
|
624
|
-
const _hoisted_2$
|
|
428
|
+
const _hoisted_2$f = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode(
|
|
625
429
|
"div",
|
|
626
430
|
{ class: "loading placeholder-block placeholder-wave" },
|
|
627
431
|
null,
|
|
628
432
|
-1
|
|
629
433
|
/* HOISTED */
|
|
630
434
|
));
|
|
631
|
-
const _hoisted_3$
|
|
632
|
-
_hoisted_2$
|
|
435
|
+
const _hoisted_3$8 = [
|
|
436
|
+
_hoisted_2$f
|
|
633
437
|
];
|
|
634
|
-
const _sfc_main$
|
|
438
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
635
439
|
__name: "NeonTime",
|
|
636
440
|
props: {
|
|
637
441
|
modelValue: {
|
|
@@ -651,13 +455,13 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
651
455
|
setup(__props, { emit }) {
|
|
652
456
|
const props = __props;
|
|
653
457
|
const internalValue = computed(() => {
|
|
654
|
-
const newDate =
|
|
458
|
+
const newDate = DateUtil.day(props.modelValue || void 0);
|
|
655
459
|
return newDate.second(0).millisecond(0).toISOString();
|
|
656
460
|
});
|
|
657
461
|
function onUpdate(newValue) {
|
|
658
462
|
if (props.isDisabled)
|
|
659
463
|
return;
|
|
660
|
-
let newDate =
|
|
464
|
+
let newDate = DateUtil.day(newValue);
|
|
661
465
|
newDate = newDate.second(0).millisecond(0);
|
|
662
466
|
emit("update:modelValue", newDate.toISOString());
|
|
663
467
|
}
|
|
@@ -668,7 +472,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
668
472
|
class: normalizeClass(["neon-time", { "is-disabled": __props.isDisabled }])
|
|
669
473
|
},
|
|
670
474
|
[
|
|
671
|
-
__props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
475
|
+
__props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$k, _hoisted_3$8)) : (openBlock(), createBlock(unref(DatePicker), mergeProps({
|
|
672
476
|
key: 1,
|
|
673
477
|
"model-value": internalValue.value
|
|
674
478
|
}, {
|
|
@@ -690,9 +494,9 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
690
494
|
};
|
|
691
495
|
}
|
|
692
496
|
});
|
|
693
|
-
const
|
|
497
|
+
const NeonTime_vue_vue_type_style_index_0_scoped_805321b9_lang = "";
|
|
694
498
|
const NeonTime_vue_vue_type_style_index_1_lang = "";
|
|
695
|
-
const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
499
|
+
const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-805321b9"]]);
|
|
696
500
|
const CheckInModel = models$1.CheckInModel;
|
|
697
501
|
const useOperasionalStore = defineStore("neu:operasional", () => {
|
|
698
502
|
const isLoading = ref(false);
|
|
@@ -816,29 +620,13 @@ function withOperasional() {
|
|
|
816
620
|
store.setStaff(items[0]);
|
|
817
621
|
}
|
|
818
622
|
}
|
|
819
|
-
function mitt(n) {
|
|
820
|
-
return { all: n = n || /* @__PURE__ */ new Map(), on: function(t, e) {
|
|
821
|
-
var i = n.get(t);
|
|
822
|
-
i ? i.push(e) : n.set(t, [e]);
|
|
823
|
-
}, off: function(t, e) {
|
|
824
|
-
var i = n.get(t);
|
|
825
|
-
i && (e ? i.splice(i.indexOf(e) >>> 0, 1) : n.set(t, []));
|
|
826
|
-
}, emit: function(t, e) {
|
|
827
|
-
var i = n.get(t);
|
|
828
|
-
i && i.slice().map(function(n2) {
|
|
829
|
-
n2(e);
|
|
830
|
-
}), (i = n.get("*")) && i.slice().map(function(n2) {
|
|
831
|
-
n2(t, e);
|
|
832
|
-
});
|
|
833
|
-
} };
|
|
834
|
-
}
|
|
835
623
|
const bus = mitt();
|
|
836
624
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-ee60c24a"), n = n(), popScopeId(), n);
|
|
837
|
-
const _hoisted_1$
|
|
838
|
-
const _hoisted_2$
|
|
839
|
-
const _hoisted_3$
|
|
840
|
-
const _hoisted_4$
|
|
841
|
-
const _hoisted_5$
|
|
625
|
+
const _hoisted_1$j = { id: "view-checkIns" };
|
|
626
|
+
const _hoisted_2$e = { class: "summary" };
|
|
627
|
+
const _hoisted_3$7 = { class: "wrapper" };
|
|
628
|
+
const _hoisted_4$4 = { class: "header" };
|
|
629
|
+
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode(
|
|
842
630
|
"div",
|
|
843
631
|
{ class: "start" },
|
|
844
632
|
[
|
|
@@ -848,8 +636,8 @@ const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
|
|
|
848
636
|
-1
|
|
849
637
|
/* HOISTED */
|
|
850
638
|
));
|
|
851
|
-
const _hoisted_6 = { class: "end" };
|
|
852
|
-
const _sfc_main$
|
|
639
|
+
const _hoisted_6$2 = { class: "end" };
|
|
640
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
853
641
|
...{
|
|
854
642
|
name: "CheckInPresenceCollection"
|
|
855
643
|
},
|
|
@@ -1004,14 +792,14 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
1004
792
|
return (_ctx, _cache) => {
|
|
1005
793
|
const _component_CheckInSingleExternalView = resolveComponent("CheckInSingleExternalView");
|
|
1006
794
|
const _component_CheckInCollection = resolveComponent("CheckInCollection");
|
|
1007
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
795
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
1008
796
|
createVNode(unref(OfficeContent), {
|
|
1009
797
|
icon: "barcode-read",
|
|
1010
798
|
title: "Presensi",
|
|
1011
799
|
"is-expanded": ""
|
|
1012
800
|
}, {
|
|
1013
801
|
"header-detail": withCtx(() => [
|
|
1014
|
-
createElementVNode("div", _hoisted_2$
|
|
802
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
1015
803
|
createVNode(unref(NeonSlider), {
|
|
1016
804
|
"per-view": 2,
|
|
1017
805
|
gap: 16,
|
|
@@ -1159,7 +947,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
1159
947
|
])
|
|
1160
948
|
]),
|
|
1161
949
|
default: withCtx(() => [
|
|
1162
|
-
createElementVNode("div", _hoisted_3$
|
|
950
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
1163
951
|
createVNode(unref(NeonCollectionContext), {
|
|
1164
952
|
definition: "neu:tempat:checkIn",
|
|
1165
953
|
scope: "_checkIns",
|
|
@@ -1174,9 +962,9 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
1174
962
|
"is-main": ""
|
|
1175
963
|
}, {
|
|
1176
964
|
default: withCtx(() => [
|
|
1177
|
-
createElementVNode("div", _hoisted_4$
|
|
1178
|
-
_hoisted_5$
|
|
1179
|
-
createElementVNode("div", _hoisted_6, [
|
|
965
|
+
createElementVNode("div", _hoisted_4$4, [
|
|
966
|
+
_hoisted_5$3,
|
|
967
|
+
createElementVNode("div", _hoisted_6$2, [
|
|
1180
968
|
createVNode(unref(OfficeCollectionQuery), { displays: ["table"] }, {
|
|
1181
969
|
default: withCtx(() => [
|
|
1182
970
|
createVNode(unref(OfficeCollectionOperation), { "is-main": "" })
|
|
@@ -1202,9 +990,9 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
1202
990
|
}
|
|
1203
991
|
});
|
|
1204
992
|
const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_ee60c24a_lang = "";
|
|
1205
|
-
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1206
|
-
const _hoisted_1$
|
|
1207
|
-
const _sfc_main$
|
|
993
|
+
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-ee60c24a"]]);
|
|
994
|
+
const _hoisted_1$i = { class: "grid gap-4 sm:grid-cols-2" };
|
|
995
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
1208
996
|
__name: "CheckInSingle",
|
|
1209
997
|
setup(__props) {
|
|
1210
998
|
const {
|
|
@@ -1262,7 +1050,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
1262
1050
|
field: unref(fields).building,
|
|
1263
1051
|
"is-disabled": ""
|
|
1264
1052
|
}, null, 8, ["modelValue", "field"]),
|
|
1265
|
-
createElementVNode("div", _hoisted_1$
|
|
1053
|
+
createElementVNode("div", _hoisted_1$i, [
|
|
1266
1054
|
createVNode(unref(NeonField), mergeProps({
|
|
1267
1055
|
modelValue: unref(values).type,
|
|
1268
1056
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
|
|
@@ -1302,9 +1090,9 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
1302
1090
|
}
|
|
1303
1091
|
});
|
|
1304
1092
|
const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
|
|
1305
|
-
const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1306
|
-
const _hoisted_1$
|
|
1307
|
-
const _sfc_main$
|
|
1093
|
+
const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-2e2803fb"]]);
|
|
1094
|
+
const _hoisted_1$h = { class: "grid gap-4 sm:grid-cols-2" };
|
|
1095
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
1308
1096
|
__name: "CheckInExternal",
|
|
1309
1097
|
setup(__props) {
|
|
1310
1098
|
const {
|
|
@@ -1371,7 +1159,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
1371
1159
|
field: unref(fields).building,
|
|
1372
1160
|
"is-disabled": unref(values).type === "checkin" || unref(values).type === "checkout"
|
|
1373
1161
|
}, null, 8, ["modelValue", "field", "is-disabled"])) : createCommentVNode("v-if", true),
|
|
1374
|
-
createElementVNode("div", _hoisted_1$
|
|
1162
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
1375
1163
|
createVNode(unref(NeonField), mergeProps({
|
|
1376
1164
|
modelValue: unref(values).type,
|
|
1377
1165
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
|
|
@@ -1417,16 +1205,16 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
1417
1205
|
}
|
|
1418
1206
|
});
|
|
1419
1207
|
const CheckInExternal_vue_vue_type_style_index_0_scoped_dcdbc71a_lang = "";
|
|
1420
|
-
const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1208
|
+
const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-dcdbc71a"]]);
|
|
1421
1209
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-d23b6de5"), n = n(), popScopeId(), n);
|
|
1422
|
-
const _hoisted_1$
|
|
1210
|
+
const _hoisted_1$g = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
|
|
1423
1211
|
"h4",
|
|
1424
1212
|
{ align: "center" },
|
|
1425
1213
|
"Aktifkan kamera untuk scan QR Code",
|
|
1426
1214
|
-1
|
|
1427
1215
|
/* HOISTED */
|
|
1428
1216
|
));
|
|
1429
|
-
const _hoisted_2$
|
|
1217
|
+
const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
|
|
1430
1218
|
"p",
|
|
1431
1219
|
{ align: "center" },
|
|
1432
1220
|
[
|
|
@@ -1437,7 +1225,7 @@ const _hoisted_2$a = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
|
|
|
1437
1225
|
-1
|
|
1438
1226
|
/* HOISTED */
|
|
1439
1227
|
));
|
|
1440
|
-
const _sfc_main$
|
|
1228
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
1441
1229
|
__name: "CheckInAccess",
|
|
1442
1230
|
emits: ["close"],
|
|
1443
1231
|
setup(__props) {
|
|
@@ -1462,8 +1250,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
1462
1250
|
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
1463
1251
|
}, {
|
|
1464
1252
|
default: withCtx(() => [
|
|
1465
|
-
_hoisted_1$
|
|
1466
|
-
_hoisted_2$
|
|
1253
|
+
_hoisted_1$g,
|
|
1254
|
+
_hoisted_2$d,
|
|
1467
1255
|
createVNode(unref(NeonButton), {
|
|
1468
1256
|
"is-full": "",
|
|
1469
1257
|
size: "md",
|
|
@@ -1490,9 +1278,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
1490
1278
|
}
|
|
1491
1279
|
});
|
|
1492
1280
|
const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
|
|
1493
|
-
const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1494
|
-
const _hoisted_1$
|
|
1495
|
-
const _sfc_main$
|
|
1281
|
+
const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-d23b6de5"]]);
|
|
1282
|
+
const _hoisted_1$f = { class: "buttons" };
|
|
1283
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
1496
1284
|
__name: "CheckInScanError",
|
|
1497
1285
|
setup(__props) {
|
|
1498
1286
|
const attendanceStore = useAttendanceStore();
|
|
@@ -1505,7 +1293,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
1505
1293
|
default: withCtx(() => [
|
|
1506
1294
|
createVNode(unref(NeonSheet), null, {
|
|
1507
1295
|
footer: withCtx(() => [
|
|
1508
|
-
createElementVNode("div", _hoisted_1$
|
|
1296
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
1509
1297
|
createVNode(unref(NeonButton), {
|
|
1510
1298
|
"is-full": "",
|
|
1511
1299
|
"is-rounded": "",
|
|
@@ -1540,23 +1328,23 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
1540
1328
|
}
|
|
1541
1329
|
});
|
|
1542
1330
|
const _withScopeId = (n) => (pushScopeId("data-v-ef426ef3"), n = n(), popScopeId(), n);
|
|
1543
|
-
const _hoisted_1$
|
|
1331
|
+
const _hoisted_1$e = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
1544
1332
|
"div",
|
|
1545
1333
|
{ class: "invalid-message" },
|
|
1546
1334
|
"Invalid Code!",
|
|
1547
1335
|
-1
|
|
1548
1336
|
/* HOISTED */
|
|
1549
1337
|
));
|
|
1550
|
-
const _hoisted_2$
|
|
1338
|
+
const _hoisted_2$c = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
1551
1339
|
"div",
|
|
1552
1340
|
null,
|
|
1553
1341
|
null,
|
|
1554
1342
|
-1
|
|
1555
1343
|
/* HOISTED */
|
|
1556
1344
|
));
|
|
1557
|
-
const _hoisted_3$
|
|
1558
|
-
const _hoisted_4$
|
|
1559
|
-
const _sfc_main$
|
|
1345
|
+
const _hoisted_3$6 = ["onClick"];
|
|
1346
|
+
const _hoisted_4$3 = { class: "mr-2 text-sm" };
|
|
1347
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
1560
1348
|
__name: "CheckInScanner",
|
|
1561
1349
|
emits: ["start", "stop", "scanned", "close"],
|
|
1562
1350
|
setup(__props, { emit }) {
|
|
@@ -1701,15 +1489,15 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1701
1489
|
class: "inner",
|
|
1702
1490
|
onClick: switchCamera
|
|
1703
1491
|
}, [
|
|
1704
|
-
_hoisted_1$
|
|
1705
|
-
_hoisted_2$
|
|
1492
|
+
_hoisted_1$e,
|
|
1493
|
+
_hoisted_2$c,
|
|
1706
1494
|
createElementVNode("div", {
|
|
1707
1495
|
class: "button-switch",
|
|
1708
1496
|
onClick: withModifiers(switchCamera, ["stop"])
|
|
1709
1497
|
}, [
|
|
1710
1498
|
createElementVNode(
|
|
1711
1499
|
"div",
|
|
1712
|
-
_hoisted_4$
|
|
1500
|
+
_hoisted_4$3,
|
|
1713
1501
|
toDisplayString(currentCamera.value),
|
|
1714
1502
|
1
|
|
1715
1503
|
/* TEXT */
|
|
@@ -1720,7 +1508,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1720
1508
|
size: "sm",
|
|
1721
1509
|
"is-disabled": !canSwitch.value
|
|
1722
1510
|
}, null, 8, ["is-disabled"])
|
|
1723
|
-
], 8, _hoisted_3$
|
|
1511
|
+
], 8, _hoisted_3$6)
|
|
1724
1512
|
])
|
|
1725
1513
|
],
|
|
1726
1514
|
2
|
|
@@ -1738,15 +1526,15 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1738
1526
|
}
|
|
1739
1527
|
});
|
|
1740
1528
|
const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
|
|
1741
|
-
const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1742
|
-
const _hoisted_1$
|
|
1529
|
+
const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-ef426ef3"]]);
|
|
1530
|
+
const _hoisted_1$d = /* @__PURE__ */ createElementVNode(
|
|
1743
1531
|
"h3",
|
|
1744
1532
|
{ align: "center" },
|
|
1745
1533
|
"Presensi Berhasil!",
|
|
1746
1534
|
-1
|
|
1747
1535
|
/* HOISTED */
|
|
1748
1536
|
);
|
|
1749
|
-
const _sfc_main$
|
|
1537
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
1750
1538
|
__name: "CheckInScanSuccess",
|
|
1751
1539
|
emits: ["close"],
|
|
1752
1540
|
setup(__props) {
|
|
@@ -1766,7 +1554,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
1766
1554
|
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
1767
1555
|
}, {
|
|
1768
1556
|
default: withCtx(() => [
|
|
1769
|
-
_hoisted_1$
|
|
1557
|
+
_hoisted_1$d
|
|
1770
1558
|
]),
|
|
1771
1559
|
_: 1
|
|
1772
1560
|
/* STABLE */
|
|
@@ -1778,7 +1566,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
1778
1566
|
};
|
|
1779
1567
|
}
|
|
1780
1568
|
});
|
|
1781
|
-
const _sfc_main$
|
|
1569
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
1782
1570
|
...{
|
|
1783
1571
|
name: "CheckInCollection"
|
|
1784
1572
|
},
|
|
@@ -1797,7 +1585,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
1797
1585
|
}
|
|
1798
1586
|
});
|
|
1799
1587
|
const StaffModel = models$2.StaffModel;
|
|
1800
|
-
const _sfc_main$
|
|
1588
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
1801
1589
|
...{
|
|
1802
1590
|
name: "StaffCollection"
|
|
1803
1591
|
},
|
|
@@ -1815,9 +1603,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
1815
1603
|
};
|
|
1816
1604
|
}
|
|
1817
1605
|
});
|
|
1818
|
-
const _hoisted_1$
|
|
1819
|
-
const _hoisted_2$
|
|
1820
|
-
const _sfc_main$
|
|
1606
|
+
const _hoisted_1$c = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
|
|
1607
|
+
const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
|
|
1608
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
1821
1609
|
__name: "StaffSingle",
|
|
1822
1610
|
setup(__props) {
|
|
1823
1611
|
const {
|
|
@@ -1854,7 +1642,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
1854
1642
|
onSubmit: unref(saveOne)
|
|
1855
1643
|
}, {
|
|
1856
1644
|
default: withCtx(() => [
|
|
1857
|
-
createElementVNode("div", _hoisted_1$
|
|
1645
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
1858
1646
|
createVNode(unref(NeonField), mergeProps({
|
|
1859
1647
|
modelValue: unref(values).name,
|
|
1860
1648
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
|
|
@@ -1864,7 +1652,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
1864
1652
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).nik = $event)
|
|
1865
1653
|
}, unref(fields).nik), null, 16, ["modelValue"])
|
|
1866
1654
|
]),
|
|
1867
|
-
createElementVNode("div", _hoisted_2$
|
|
1655
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
1868
1656
|
createVNode(unref(NeonField), mergeProps({
|
|
1869
1657
|
modelValue: unref(values).birthPlace,
|
|
1870
1658
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).birthPlace = $event)
|
|
@@ -1897,7 +1685,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
1897
1685
|
title: "Identitas"
|
|
1898
1686
|
}, {
|
|
1899
1687
|
default: withCtx(() => [
|
|
1900
|
-
createVNode(unref(_sfc_main$
|
|
1688
|
+
createVNode(unref(_sfc_main$F))
|
|
1901
1689
|
]),
|
|
1902
1690
|
_: 1
|
|
1903
1691
|
/* STABLE */
|
|
@@ -1968,10 +1756,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
1968
1756
|
}
|
|
1969
1757
|
});
|
|
1970
1758
|
const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
|
|
1971
|
-
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1972
|
-
const _hoisted_1$
|
|
1973
|
-
const _hoisted_2$
|
|
1974
|
-
const _sfc_main$
|
|
1759
|
+
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-0cf4cd99"]]);
|
|
1760
|
+
const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
|
|
1761
|
+
const _hoisted_2$a = { class: "grid gap-4 sm:grid-cols-2" };
|
|
1762
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
1975
1763
|
__name: "StaffOperasional",
|
|
1976
1764
|
setup(__props) {
|
|
1977
1765
|
const {
|
|
@@ -2008,7 +1796,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2008
1796
|
onSubmit: unref(saveOne)
|
|
2009
1797
|
}, {
|
|
2010
1798
|
default: withCtx(() => [
|
|
2011
|
-
createElementVNode("div", _hoisted_1$
|
|
1799
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
2012
1800
|
createVNode(unref(NeonField), mergeProps({
|
|
2013
1801
|
modelValue: unref(values).name,
|
|
2014
1802
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
|
|
@@ -2018,7 +1806,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2018
1806
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).nik = $event)
|
|
2019
1807
|
}, unref(fields).nik), null, 16, ["modelValue"])
|
|
2020
1808
|
]),
|
|
2021
|
-
createElementVNode("div", _hoisted_2$
|
|
1809
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
2022
1810
|
createVNode(unref(NeonField), mergeProps({
|
|
2023
1811
|
modelValue: unref(values).birthPlace,
|
|
2024
1812
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).birthPlace = $event)
|
|
@@ -2051,7 +1839,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2051
1839
|
title: "Identitas"
|
|
2052
1840
|
}, {
|
|
2053
1841
|
default: withCtx(() => [
|
|
2054
|
-
createVNode(unref(_sfc_main$
|
|
1842
|
+
createVNode(unref(_sfc_main$F))
|
|
2055
1843
|
]),
|
|
2056
1844
|
_: 1
|
|
2057
1845
|
/* STABLE */
|
|
@@ -2129,8 +1917,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2129
1917
|
}
|
|
2130
1918
|
});
|
|
2131
1919
|
const StaffOperasional_vue_vue_type_style_index_0_scoped_c62cf70a_lang = "";
|
|
2132
|
-
const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2133
|
-
const _sfc_main$
|
|
1920
|
+
const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-c62cf70a"]]);
|
|
1921
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
2134
1922
|
__name: "StaffIdentity",
|
|
2135
1923
|
setup(__props) {
|
|
2136
1924
|
const { values, saveOne, executeOne, syncOne } = useSingle();
|
|
@@ -2286,7 +2074,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
2286
2074
|
}
|
|
2287
2075
|
});
|
|
2288
2076
|
const SituationModel = models$2.SituationModel;
|
|
2289
|
-
const _sfc_main$
|
|
2077
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
2290
2078
|
...{ name: "SituationCollection" },
|
|
2291
2079
|
__name: "SituationCollection",
|
|
2292
2080
|
setup(__props) {
|
|
@@ -2302,7 +2090,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
2302
2090
|
};
|
|
2303
2091
|
}
|
|
2304
2092
|
});
|
|
2305
|
-
const _sfc_main$
|
|
2093
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
2306
2094
|
__name: "SituationSingle",
|
|
2307
2095
|
setup(__props) {
|
|
2308
2096
|
const {
|
|
@@ -2440,7 +2228,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
2440
2228
|
};
|
|
2441
2229
|
}
|
|
2442
2230
|
});
|
|
2443
|
-
const _sfc_main$
|
|
2231
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
2444
2232
|
__name: "SituationWork",
|
|
2445
2233
|
setup(__props) {
|
|
2446
2234
|
const {
|
|
@@ -2621,7 +2409,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
2621
2409
|
};
|
|
2622
2410
|
}
|
|
2623
2411
|
});
|
|
2624
|
-
const _sfc_main$
|
|
2412
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
2625
2413
|
...{ name: "SituationSupportive" },
|
|
2626
2414
|
__name: "SituationSupportive",
|
|
2627
2415
|
setup(__props) {
|
|
@@ -2760,7 +2548,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
2760
2548
|
}
|
|
2761
2549
|
});
|
|
2762
2550
|
const SituationTypeModel = models$2.SituationTypeModel;
|
|
2763
|
-
const _sfc_main$
|
|
2551
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
2764
2552
|
...{ name: "SituationTypeCollection" },
|
|
2765
2553
|
__name: "SituationTypeCollection",
|
|
2766
2554
|
setup(__props) {
|
|
@@ -2776,7 +2564,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
2776
2564
|
};
|
|
2777
2565
|
}
|
|
2778
2566
|
});
|
|
2779
|
-
const _sfc_main$
|
|
2567
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
2780
2568
|
__name: "SituationTypeSingle",
|
|
2781
2569
|
setup(__props) {
|
|
2782
2570
|
const {
|
|
@@ -2849,9 +2637,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
2849
2637
|
}
|
|
2850
2638
|
});
|
|
2851
2639
|
const TaskModel = models$2.TaskModel;
|
|
2852
|
-
const _hoisted_1$
|
|
2853
|
-
const _hoisted_2$
|
|
2854
|
-
const _sfc_main$
|
|
2640
|
+
const _hoisted_1$a = { key: 0 };
|
|
2641
|
+
const _hoisted_2$9 = { key: 1 };
|
|
2642
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
2855
2643
|
...{ name: "TaskWorkButton" },
|
|
2856
2644
|
__name: "TaskWorkButton",
|
|
2857
2645
|
setup(__props) {
|
|
@@ -2944,7 +2732,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
2944
2732
|
Fragment,
|
|
2945
2733
|
null,
|
|
2946
2734
|
[
|
|
2947
|
-
onHandleTaskWork.value.onStartTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2735
|
+
onHandleTaskWork.value.onStartTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
2948
2736
|
createVNode(unref(NeonButton), {
|
|
2949
2737
|
"is-rounded": true,
|
|
2950
2738
|
size: "sm",
|
|
@@ -2954,7 +2742,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
2954
2742
|
onClick: onClickHandlerStartTaskWork
|
|
2955
2743
|
})
|
|
2956
2744
|
])) : createCommentVNode("v-if", true),
|
|
2957
|
-
onHandleTaskWork.value.onFinishedTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2745
|
+
onHandleTaskWork.value.onFinishedTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
|
|
2958
2746
|
createVNode(unref(NeonButton), {
|
|
2959
2747
|
"is-rounded": true,
|
|
2960
2748
|
size: "sm",
|
|
@@ -2972,7 +2760,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
2972
2760
|
};
|
|
2973
2761
|
}
|
|
2974
2762
|
});
|
|
2975
|
-
const _sfc_main$
|
|
2763
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
2976
2764
|
...{ name: "TaskCollection" },
|
|
2977
2765
|
__name: "TaskCollection",
|
|
2978
2766
|
setup(__props) {
|
|
@@ -2988,7 +2776,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
2988
2776
|
};
|
|
2989
2777
|
}
|
|
2990
2778
|
});
|
|
2991
|
-
const _sfc_main$
|
|
2779
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
2992
2780
|
__name: "TaskSingle",
|
|
2993
2781
|
setup(__props) {
|
|
2994
2782
|
const {
|
|
@@ -3211,7 +2999,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
3211
2999
|
};
|
|
3212
3000
|
}
|
|
3213
3001
|
});
|
|
3214
|
-
const _sfc_main$
|
|
3002
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
3215
3003
|
__name: "TaskWork",
|
|
3216
3004
|
setup(__props) {
|
|
3217
3005
|
const {
|
|
@@ -3434,7 +3222,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3434
3222
|
}
|
|
3435
3223
|
});
|
|
3436
3224
|
const SubmissionModel = models$2.SubmissionModel;
|
|
3437
|
-
const _sfc_main$
|
|
3225
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
3438
3226
|
...{
|
|
3439
3227
|
name: "SubmissionCollection"
|
|
3440
3228
|
},
|
|
@@ -3452,7 +3240,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
3452
3240
|
};
|
|
3453
3241
|
}
|
|
3454
3242
|
});
|
|
3455
|
-
const _sfc_main$
|
|
3243
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
3456
3244
|
__name: "SubmissionSingle",
|
|
3457
3245
|
setup(__props) {
|
|
3458
3246
|
const {
|
|
@@ -3649,8 +3437,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
3649
3437
|
}
|
|
3650
3438
|
});
|
|
3651
3439
|
const SubmissionSingle_vue_vue_type_style_index_0_scoped_39553dbd_lang = "";
|
|
3652
|
-
const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3653
|
-
const _sfc_main$
|
|
3440
|
+
const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-39553dbd"]]);
|
|
3441
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
3654
3442
|
__name: "SubmissionStaff",
|
|
3655
3443
|
setup(__props) {
|
|
3656
3444
|
var _a;
|
|
@@ -3922,8 +3710,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
3922
3710
|
}
|
|
3923
3711
|
});
|
|
3924
3712
|
const SubmissionStaff_vue_vue_type_style_index_0_scoped_3ed905bd_lang = "";
|
|
3925
|
-
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3926
|
-
const _sfc_main$
|
|
3713
|
+
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-3ed905bd"]]);
|
|
3714
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
3927
3715
|
__name: "SubmissionFollowUp",
|
|
3928
3716
|
setup(__props) {
|
|
3929
3717
|
const {
|
|
@@ -4114,13 +3902,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
4114
3902
|
}
|
|
4115
3903
|
});
|
|
4116
3904
|
const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_6fd14e52_lang = "";
|
|
4117
|
-
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4118
|
-
const _hoisted_1$
|
|
4119
|
-
const _hoisted_2$
|
|
4120
|
-
const _hoisted_3$
|
|
4121
|
-
const _hoisted_4 = { class: "mt-2" };
|
|
4122
|
-
const _hoisted_5 = { class: "mt-2" };
|
|
4123
|
-
const _sfc_main$
|
|
3905
|
+
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-6fd14e52"]]);
|
|
3906
|
+
const _hoisted_1$9 = { class: "flex flex-wrap" };
|
|
3907
|
+
const _hoisted_2$8 = { class: "mt-2" };
|
|
3908
|
+
const _hoisted_3$5 = { class: "mt-2" };
|
|
3909
|
+
const _hoisted_4$2 = { class: "mt-2" };
|
|
3910
|
+
const _hoisted_5$2 = { class: "mt-2" };
|
|
3911
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
4124
3912
|
__name: "SubmissionAudit",
|
|
4125
3913
|
setup(__props) {
|
|
4126
3914
|
var _a;
|
|
@@ -4224,8 +4012,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
4224
4012
|
onSubmit: unref(saveOne)
|
|
4225
4013
|
}, {
|
|
4226
4014
|
default: withCtx(() => [
|
|
4227
|
-
createElementVNode("div", _hoisted_1$
|
|
4228
|
-
createElementVNode("div", _hoisted_2$
|
|
4015
|
+
createElementVNode("div", _hoisted_1$9, [
|
|
4016
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
4229
4017
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4230
4018
|
input: withCtx(() => [
|
|
4231
4019
|
createVNode(unref(NeonButton), {
|
|
@@ -4247,7 +4035,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
4247
4035
|
})) : createCommentVNode("v-if", true)
|
|
4248
4036
|
]),
|
|
4249
4037
|
createTextVNode(" "),
|
|
4250
|
-
createElementVNode("div", _hoisted_3$
|
|
4038
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
4251
4039
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4252
4040
|
input: withCtx(() => [
|
|
4253
4041
|
createVNode(unref(NeonButton), {
|
|
@@ -4269,7 +4057,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
4269
4057
|
})) : createCommentVNode("v-if", true)
|
|
4270
4058
|
]),
|
|
4271
4059
|
createTextVNode(" "),
|
|
4272
|
-
createElementVNode("div", _hoisted_4, [
|
|
4060
|
+
createElementVNode("div", _hoisted_4$2, [
|
|
4273
4061
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4274
4062
|
input: withCtx(() => [
|
|
4275
4063
|
createVNode(unref(NeonButton), {
|
|
@@ -4291,7 +4079,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
4291
4079
|
})) : createCommentVNode("v-if", true)
|
|
4292
4080
|
]),
|
|
4293
4081
|
createTextVNode(" "),
|
|
4294
|
-
createElementVNode("div", _hoisted_5, [
|
|
4082
|
+
createElementVNode("div", _hoisted_5$2, [
|
|
4295
4083
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4296
4084
|
input: withCtx(() => [
|
|
4297
4085
|
createVNode(unref(NeonButton), {
|
|
@@ -4469,11 +4257,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
4469
4257
|
}
|
|
4470
4258
|
});
|
|
4471
4259
|
const SubmissionAudit_vue_vue_type_style_index_0_scoped_7ee6c6b9_lang = "";
|
|
4472
|
-
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4473
|
-
const _hoisted_1$
|
|
4474
|
-
const _hoisted_2$
|
|
4475
|
-
const _hoisted_3$
|
|
4476
|
-
const _sfc_main$
|
|
4260
|
+
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-7ee6c6b9"]]);
|
|
4261
|
+
const _hoisted_1$8 = { class: "flex flex-wrap" };
|
|
4262
|
+
const _hoisted_2$7 = { class: "mt-2" };
|
|
4263
|
+
const _hoisted_3$4 = { class: "mt-2" };
|
|
4264
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
4477
4265
|
__name: "SubmissionDecision",
|
|
4478
4266
|
setup(__props) {
|
|
4479
4267
|
var _a;
|
|
@@ -4577,8 +4365,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
4577
4365
|
onSubmit: unref(saveOne)
|
|
4578
4366
|
}, {
|
|
4579
4367
|
default: withCtx(() => [
|
|
4580
|
-
createElementVNode("div", _hoisted_1$
|
|
4581
|
-
createElementVNode("div", _hoisted_2$
|
|
4368
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
4369
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
4582
4370
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4583
4371
|
input: withCtx(() => {
|
|
4584
4372
|
var _a2, _b;
|
|
@@ -4603,7 +4391,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
4603
4391
|
})) : createCommentVNode("v-if", true)
|
|
4604
4392
|
]),
|
|
4605
4393
|
createTextVNode(" "),
|
|
4606
|
-
createElementVNode("div", _hoisted_3$
|
|
4394
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
4607
4395
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4608
4396
|
input: withCtx(() => {
|
|
4609
4397
|
var _a2, _b;
|
|
@@ -4784,11 +4572,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
4784
4572
|
}
|
|
4785
4573
|
});
|
|
4786
4574
|
const SubmissionDecision_vue_vue_type_style_index_0_scoped_ec347ac5_lang = "";
|
|
4787
|
-
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4788
|
-
const _hoisted_1$
|
|
4789
|
-
const _hoisted_2$
|
|
4790
|
-
const _hoisted_3 = { class: "mt-2" };
|
|
4791
|
-
const _sfc_main$
|
|
4575
|
+
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-ec347ac5"]]);
|
|
4576
|
+
const _hoisted_1$7 = { class: "flex flex-wrap" };
|
|
4577
|
+
const _hoisted_2$6 = { class: "mt-2" };
|
|
4578
|
+
const _hoisted_3$3 = { class: "mt-2" };
|
|
4579
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
4792
4580
|
__name: "SubmissionWaitingDecision",
|
|
4793
4581
|
setup(__props) {
|
|
4794
4582
|
var _a;
|
|
@@ -4894,8 +4682,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4894
4682
|
onSubmit: unref(saveOne)
|
|
4895
4683
|
}, {
|
|
4896
4684
|
default: withCtx(() => [
|
|
4897
|
-
createElementVNode("div", _hoisted_1$
|
|
4898
|
-
createElementVNode("div", _hoisted_2$
|
|
4685
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
4686
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
4899
4687
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4900
4688
|
input: withCtx(() => {
|
|
4901
4689
|
var _a2, _b;
|
|
@@ -4920,7 +4708,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4920
4708
|
})) : createCommentVNode("v-if", true)
|
|
4921
4709
|
]),
|
|
4922
4710
|
createTextVNode(" "),
|
|
4923
|
-
createElementVNode("div", _hoisted_3, [
|
|
4711
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
4924
4712
|
unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
|
|
4925
4713
|
input: withCtx(() => {
|
|
4926
4714
|
var _a2, _b;
|
|
@@ -5101,9 +4889,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
5101
4889
|
}
|
|
5102
4890
|
});
|
|
5103
4891
|
const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_051b2194_lang = "";
|
|
5104
|
-
const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4892
|
+
const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-051b2194"]]);
|
|
5105
4893
|
const SubmissionTypeModel = models$2.SubmissionTypeModel;
|
|
5106
|
-
const _sfc_main$
|
|
4894
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
5107
4895
|
...{
|
|
5108
4896
|
name: "SubmissionTypeCollection"
|
|
5109
4897
|
},
|
|
@@ -5121,7 +4909,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5121
4909
|
};
|
|
5122
4910
|
}
|
|
5123
4911
|
});
|
|
5124
|
-
const _sfc_main$
|
|
4912
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
5125
4913
|
__name: "SubmissionTypeSingle",
|
|
5126
4914
|
setup(__props) {
|
|
5127
4915
|
const {
|
|
@@ -5187,9 +4975,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
5187
4975
|
}
|
|
5188
4976
|
});
|
|
5189
4977
|
const SubmissionTypeSingle_vue_vue_type_style_index_0_scoped_2b7e18ba_lang = "";
|
|
5190
|
-
const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4978
|
+
const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-2b7e18ba"]]);
|
|
5191
4979
|
const ResponsibilityTypeModel = models$2.ResponsibilityTypeModel;
|
|
5192
|
-
const _sfc_main$
|
|
4980
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
5193
4981
|
...{
|
|
5194
4982
|
name: "ResponsibilityTypeCollection"
|
|
5195
4983
|
},
|
|
@@ -5207,7 +4995,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
5207
4995
|
};
|
|
5208
4996
|
}
|
|
5209
4997
|
});
|
|
5210
|
-
const _sfc_main$
|
|
4998
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
5211
4999
|
__name: "ResponsibilityTypeSingle",
|
|
5212
5000
|
setup(__props) {
|
|
5213
5001
|
const {
|
|
@@ -5273,9 +5061,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
5273
5061
|
}
|
|
5274
5062
|
});
|
|
5275
5063
|
const ResponsibilityTypeSingle_vue_vue_type_style_index_0_scoped_3df9fac1_lang = "";
|
|
5276
|
-
const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5064
|
+
const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-3df9fac1"]]);
|
|
5277
5065
|
const ResponsibilityModel = models$2.ResponsibilityModel;
|
|
5278
|
-
const _sfc_main$
|
|
5066
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
5279
5067
|
...{
|
|
5280
5068
|
name: "ResponsibilityCollection"
|
|
5281
5069
|
},
|
|
@@ -5293,7 +5081,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
5293
5081
|
};
|
|
5294
5082
|
}
|
|
5295
5083
|
});
|
|
5296
|
-
const _sfc_main$
|
|
5084
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
5297
5085
|
__name: "ResponsibilitySingle",
|
|
5298
5086
|
setup(__props) {
|
|
5299
5087
|
const {
|
|
@@ -5424,8 +5212,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
5424
5212
|
"initial-values": {
|
|
5425
5213
|
responsibilityIds: unref(id),
|
|
5426
5214
|
responsibilities: unref(values),
|
|
5427
|
-
|
|
5428
|
-
|
|
5215
|
+
staffIds: (_a = unref(staff)) == null ? void 0 : _a.id,
|
|
5216
|
+
staffs: unref(staff)
|
|
5429
5217
|
}
|
|
5430
5218
|
}, null, 8, ["query", "is-ready", "initial-values"])
|
|
5431
5219
|
];
|
|
@@ -5444,9 +5232,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
5444
5232
|
};
|
|
5445
5233
|
}
|
|
5446
5234
|
});
|
|
5447
|
-
const
|
|
5448
|
-
const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5449
|
-
const _sfc_main$
|
|
5235
|
+
const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_aaff5c1e_lang = "";
|
|
5236
|
+
const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-aaff5c1e"]]);
|
|
5237
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
5450
5238
|
__name: "ResponsibilityStaff",
|
|
5451
5239
|
setup(__props) {
|
|
5452
5240
|
const {
|
|
@@ -5581,8 +5369,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
5581
5369
|
"initial-values": {
|
|
5582
5370
|
responsibilityIds: unref(id),
|
|
5583
5371
|
responsibilities: unref(values),
|
|
5584
|
-
|
|
5585
|
-
|
|
5372
|
+
staffIds: (_a = unref(staff)) == null ? void 0 : _a.id,
|
|
5373
|
+
staffs: unref(staff)
|
|
5586
5374
|
}
|
|
5587
5375
|
}, null, 8, ["query", "is-ready", "initial-values"])
|
|
5588
5376
|
];
|
|
@@ -5601,10 +5389,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
5601
5389
|
};
|
|
5602
5390
|
}
|
|
5603
5391
|
});
|
|
5604
|
-
const
|
|
5605
|
-
const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5392
|
+
const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_8c4d64ad_lang = "";
|
|
5393
|
+
const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8c4d64ad"]]);
|
|
5606
5394
|
const TargetModel = models$2.TargetModel;
|
|
5607
|
-
const _sfc_main$
|
|
5395
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
5608
5396
|
...{
|
|
5609
5397
|
name: "TargetCollection"
|
|
5610
5398
|
},
|
|
@@ -5622,7 +5410,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
5622
5410
|
};
|
|
5623
5411
|
}
|
|
5624
5412
|
});
|
|
5625
|
-
const _sfc_main$
|
|
5413
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
5626
5414
|
__name: "TargetSingle",
|
|
5627
5415
|
setup(__props) {
|
|
5628
5416
|
const {
|
|
@@ -5775,8 +5563,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
5775
5563
|
}
|
|
5776
5564
|
});
|
|
5777
5565
|
const TargetSingle_vue_vue_type_style_index_0_scoped_c12b8df8_lang = "";
|
|
5778
|
-
const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5779
|
-
const _sfc_main$
|
|
5566
|
+
const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-c12b8df8"]]);
|
|
5567
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
5780
5568
|
__name: "TargetBranch",
|
|
5781
5569
|
setup(__props) {
|
|
5782
5570
|
const {
|
|
@@ -5929,9 +5717,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
5929
5717
|
}
|
|
5930
5718
|
});
|
|
5931
5719
|
const TargetBranch_vue_vue_type_style_index_0_scoped_6a5a6e80_lang = "";
|
|
5932
|
-
const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5720
|
+
const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-6a5a6e80"]]);
|
|
5933
5721
|
const PlanTypeModel = models$2.PlanTypeModel;
|
|
5934
|
-
const _sfc_main$
|
|
5722
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
5935
5723
|
...{
|
|
5936
5724
|
name: "PlanTypeCollection"
|
|
5937
5725
|
},
|
|
@@ -5949,7 +5737,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
5949
5737
|
};
|
|
5950
5738
|
}
|
|
5951
5739
|
});
|
|
5952
|
-
const _sfc_main$
|
|
5740
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
5953
5741
|
__name: "PlanTypeSingle",
|
|
5954
5742
|
setup(__props) {
|
|
5955
5743
|
const {
|
|
@@ -6070,9 +5858,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
6070
5858
|
}
|
|
6071
5859
|
});
|
|
6072
5860
|
const PlanTypeSingle_vue_vue_type_style_index_0_scoped_80d2e1d3_lang = "";
|
|
6073
|
-
const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5861
|
+
const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-80d2e1d3"]]);
|
|
6074
5862
|
const PlanModel = models$2.PlanModel;
|
|
6075
|
-
const _sfc_main$
|
|
5863
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
6076
5864
|
...{
|
|
6077
5865
|
name: "PlanCollection"
|
|
6078
5866
|
},
|
|
@@ -6090,7 +5878,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
6090
5878
|
};
|
|
6091
5879
|
}
|
|
6092
5880
|
});
|
|
6093
|
-
const _sfc_main$
|
|
5881
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
6094
5882
|
__name: "PlanSingle",
|
|
6095
5883
|
setup(__props) {
|
|
6096
5884
|
const {
|
|
@@ -6266,8 +6054,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6266
6054
|
}
|
|
6267
6055
|
});
|
|
6268
6056
|
const PlanSingle_vue_vue_type_style_index_0_scoped_b3d29aa4_lang = "";
|
|
6269
|
-
const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6270
|
-
const _sfc_main$
|
|
6057
|
+
const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-b3d29aa4"]]);
|
|
6058
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
6271
6059
|
__name: "PlanStaff",
|
|
6272
6060
|
setup(__props) {
|
|
6273
6061
|
const {
|
|
@@ -6419,10 +6207,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6419
6207
|
}
|
|
6420
6208
|
});
|
|
6421
6209
|
const PlanStaff_vue_vue_type_style_index_0_scoped_aa8de6da_lang = "";
|
|
6422
|
-
const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6210
|
+
const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-aa8de6da"]]);
|
|
6423
6211
|
const ProgressModel = models$2.ProgressModel;
|
|
6424
|
-
const _hoisted_1$
|
|
6425
|
-
const _sfc_main$
|
|
6212
|
+
const _hoisted_1$6 = { class: "flex flex-wrap" };
|
|
6213
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
6426
6214
|
...{ name: "ProgressButton" },
|
|
6427
6215
|
__name: "ProgressButton",
|
|
6428
6216
|
setup(__props) {
|
|
@@ -6437,7 +6225,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6437
6225
|
router.push("/penugasan/yesterday-progresses/new");
|
|
6438
6226
|
};
|
|
6439
6227
|
return (_ctx, _cache) => {
|
|
6440
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6228
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
6441
6229
|
createVNode(unref(NeonButton), {
|
|
6442
6230
|
"is-rounded": true,
|
|
6443
6231
|
size: "sm",
|
|
@@ -6468,7 +6256,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6468
6256
|
};
|
|
6469
6257
|
}
|
|
6470
6258
|
});
|
|
6471
|
-
const _sfc_main$
|
|
6259
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
6472
6260
|
...{
|
|
6473
6261
|
name: "ProgressCollection"
|
|
6474
6262
|
},
|
|
@@ -6531,193 +6319,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
6531
6319
|
}
|
|
6532
6320
|
});
|
|
6533
6321
|
const ProgressCollection_vue_vue_type_style_index_0_scoped_2634660f_lang = "";
|
|
6534
|
-
const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
}(commonjsGlobal, function() {
|
|
6540
|
-
var t, s, n = 1e3, i = 6e4, e = 36e5, r = 864e5, o = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, u = 31536e6, h2 = 2592e6, a = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, d = { years: u, months: h2, days: r, hours: e, minutes: i, seconds: n, milliseconds: 1, weeks: 6048e5 }, c = function(t2) {
|
|
6541
|
-
return t2 instanceof p;
|
|
6542
|
-
}, f = function(t2, s2, n2) {
|
|
6543
|
-
return new p(t2, n2, s2.$l);
|
|
6544
|
-
}, m = function(t2) {
|
|
6545
|
-
return s.p(t2) + "s";
|
|
6546
|
-
}, l = function(t2) {
|
|
6547
|
-
return t2 < 0;
|
|
6548
|
-
}, $ = function(t2) {
|
|
6549
|
-
return l(t2) ? Math.ceil(t2) : Math.floor(t2);
|
|
6550
|
-
}, y = function(t2) {
|
|
6551
|
-
return Math.abs(t2);
|
|
6552
|
-
}, g = function(t2, s2) {
|
|
6553
|
-
return t2 ? l(t2) ? { negative: true, format: "" + y(t2) + s2 } : { negative: false, format: "" + t2 + s2 } : { negative: false, format: "" };
|
|
6554
|
-
}, p = function() {
|
|
6555
|
-
function l2(t2, s2, n2) {
|
|
6556
|
-
var i2 = this;
|
|
6557
|
-
if (this.$d = {}, this.$l = n2, void 0 === t2 && (this.$ms = 0, this.parseFromMilliseconds()), s2)
|
|
6558
|
-
return f(t2 * d[m(s2)], this);
|
|
6559
|
-
if ("number" == typeof t2)
|
|
6560
|
-
return this.$ms = t2, this.parseFromMilliseconds(), this;
|
|
6561
|
-
if ("object" == typeof t2)
|
|
6562
|
-
return Object.keys(t2).forEach(function(s3) {
|
|
6563
|
-
i2.$d[m(s3)] = t2[s3];
|
|
6564
|
-
}), this.calMilliseconds(), this;
|
|
6565
|
-
if ("string" == typeof t2) {
|
|
6566
|
-
var e2 = t2.match(a);
|
|
6567
|
-
if (e2) {
|
|
6568
|
-
var r2 = e2.slice(2).map(function(t3) {
|
|
6569
|
-
return null != t3 ? Number(t3) : 0;
|
|
6570
|
-
});
|
|
6571
|
-
return this.$d.years = r2[0], this.$d.months = r2[1], this.$d.weeks = r2[2], this.$d.days = r2[3], this.$d.hours = r2[4], this.$d.minutes = r2[5], this.$d.seconds = r2[6], this.calMilliseconds(), this;
|
|
6572
|
-
}
|
|
6573
|
-
}
|
|
6574
|
-
return this;
|
|
6575
|
-
}
|
|
6576
|
-
var y2 = l2.prototype;
|
|
6577
|
-
return y2.calMilliseconds = function() {
|
|
6578
|
-
var t2 = this;
|
|
6579
|
-
this.$ms = Object.keys(this.$d).reduce(function(s2, n2) {
|
|
6580
|
-
return s2 + (t2.$d[n2] || 0) * d[n2];
|
|
6581
|
-
}, 0);
|
|
6582
|
-
}, y2.parseFromMilliseconds = function() {
|
|
6583
|
-
var t2 = this.$ms;
|
|
6584
|
-
this.$d.years = $(t2 / u), t2 %= u, this.$d.months = $(t2 / h2), t2 %= h2, this.$d.days = $(t2 / r), t2 %= r, this.$d.hours = $(t2 / e), t2 %= e, this.$d.minutes = $(t2 / i), t2 %= i, this.$d.seconds = $(t2 / n), t2 %= n, this.$d.milliseconds = t2;
|
|
6585
|
-
}, y2.toISOString = function() {
|
|
6586
|
-
var t2 = g(this.$d.years, "Y"), s2 = g(this.$d.months, "M"), n2 = +this.$d.days || 0;
|
|
6587
|
-
this.$d.weeks && (n2 += 7 * this.$d.weeks);
|
|
6588
|
-
var i2 = g(n2, "D"), e2 = g(this.$d.hours, "H"), r2 = g(this.$d.minutes, "M"), o2 = this.$d.seconds || 0;
|
|
6589
|
-
this.$d.milliseconds && (o2 += this.$d.milliseconds / 1e3);
|
|
6590
|
-
var u2 = g(o2, "S"), h22 = t2.negative || s2.negative || i2.negative || e2.negative || r2.negative || u2.negative, a2 = e2.format || r2.format || u2.format ? "T" : "", d2 = (h22 ? "-" : "") + "P" + t2.format + s2.format + i2.format + a2 + e2.format + r2.format + u2.format;
|
|
6591
|
-
return "P" === d2 || "-P" === d2 ? "P0D" : d2;
|
|
6592
|
-
}, y2.toJSON = function() {
|
|
6593
|
-
return this.toISOString();
|
|
6594
|
-
}, y2.format = function(t2) {
|
|
6595
|
-
var n2 = t2 || "YYYY-MM-DDTHH:mm:ss", i2 = { Y: this.$d.years, YY: s.s(this.$d.years, 2, "0"), YYYY: s.s(this.$d.years, 4, "0"), M: this.$d.months, MM: s.s(this.$d.months, 2, "0"), D: this.$d.days, DD: s.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: s.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: s.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: s.s(this.$d.seconds, 2, "0"), SSS: s.s(this.$d.milliseconds, 3, "0") };
|
|
6596
|
-
return n2.replace(o, function(t3, s2) {
|
|
6597
|
-
return s2 || String(i2[t3]);
|
|
6598
|
-
});
|
|
6599
|
-
}, y2.as = function(t2) {
|
|
6600
|
-
return this.$ms / d[m(t2)];
|
|
6601
|
-
}, y2.get = function(t2) {
|
|
6602
|
-
var s2 = this.$ms, n2 = m(t2);
|
|
6603
|
-
return "milliseconds" === n2 ? s2 %= 1e3 : s2 = "weeks" === n2 ? $(s2 / d[n2]) : this.$d[n2], 0 === s2 ? 0 : s2;
|
|
6604
|
-
}, y2.add = function(t2, s2, n2) {
|
|
6605
|
-
var i2;
|
|
6606
|
-
return i2 = s2 ? t2 * d[m(s2)] : c(t2) ? t2.$ms : f(t2, this).$ms, f(this.$ms + i2 * (n2 ? -1 : 1), this);
|
|
6607
|
-
}, y2.subtract = function(t2, s2) {
|
|
6608
|
-
return this.add(t2, s2, true);
|
|
6609
|
-
}, y2.locale = function(t2) {
|
|
6610
|
-
var s2 = this.clone();
|
|
6611
|
-
return s2.$l = t2, s2;
|
|
6612
|
-
}, y2.clone = function() {
|
|
6613
|
-
return f(this.$ms, this);
|
|
6614
|
-
}, y2.humanize = function(s2) {
|
|
6615
|
-
return t().add(this.$ms, "ms").locale(this.$l).fromNow(!s2);
|
|
6616
|
-
}, y2.milliseconds = function() {
|
|
6617
|
-
return this.get("milliseconds");
|
|
6618
|
-
}, y2.asMilliseconds = function() {
|
|
6619
|
-
return this.as("milliseconds");
|
|
6620
|
-
}, y2.seconds = function() {
|
|
6621
|
-
return this.get("seconds");
|
|
6622
|
-
}, y2.asSeconds = function() {
|
|
6623
|
-
return this.as("seconds");
|
|
6624
|
-
}, y2.minutes = function() {
|
|
6625
|
-
return this.get("minutes");
|
|
6626
|
-
}, y2.asMinutes = function() {
|
|
6627
|
-
return this.as("minutes");
|
|
6628
|
-
}, y2.hours = function() {
|
|
6629
|
-
return this.get("hours");
|
|
6630
|
-
}, y2.asHours = function() {
|
|
6631
|
-
return this.as("hours");
|
|
6632
|
-
}, y2.days = function() {
|
|
6633
|
-
return this.get("days");
|
|
6634
|
-
}, y2.asDays = function() {
|
|
6635
|
-
return this.as("days");
|
|
6636
|
-
}, y2.weeks = function() {
|
|
6637
|
-
return this.get("weeks");
|
|
6638
|
-
}, y2.asWeeks = function() {
|
|
6639
|
-
return this.as("weeks");
|
|
6640
|
-
}, y2.months = function() {
|
|
6641
|
-
return this.get("months");
|
|
6642
|
-
}, y2.asMonths = function() {
|
|
6643
|
-
return this.as("months");
|
|
6644
|
-
}, y2.years = function() {
|
|
6645
|
-
return this.get("years");
|
|
6646
|
-
}, y2.asYears = function() {
|
|
6647
|
-
return this.as("years");
|
|
6648
|
-
}, l2;
|
|
6649
|
-
}();
|
|
6650
|
-
return function(n2, i2, e2) {
|
|
6651
|
-
t = e2, s = e2().$utils(), e2.duration = function(t2, s2) {
|
|
6652
|
-
var n3 = e2.locale();
|
|
6653
|
-
return f(t2, { $l: n3 }, s2);
|
|
6654
|
-
}, e2.isDuration = c;
|
|
6655
|
-
var r2 = i2.prototype.add, o2 = i2.prototype.subtract;
|
|
6656
|
-
i2.prototype.add = function(t2, s2) {
|
|
6657
|
-
return c(t2) && (t2 = t2.asMilliseconds()), r2.bind(this)(t2, s2);
|
|
6658
|
-
}, i2.prototype.subtract = function(t2, s2) {
|
|
6659
|
-
return c(t2) && (t2 = t2.asMilliseconds()), o2.bind(this)(t2, s2);
|
|
6660
|
-
};
|
|
6661
|
-
};
|
|
6662
|
-
});
|
|
6663
|
-
})(duration);
|
|
6664
|
-
var durationExports = duration.exports;
|
|
6665
|
-
const durationPlugin = /* @__PURE__ */ getDefaultExportFromCjs(durationExports);
|
|
6666
|
-
var relativeTime = { exports: {} };
|
|
6667
|
-
(function(module, exports) {
|
|
6668
|
-
!function(r, e) {
|
|
6669
|
-
module.exports = e();
|
|
6670
|
-
}(commonjsGlobal, function() {
|
|
6671
|
-
return function(r, e, t) {
|
|
6672
|
-
r = r || {};
|
|
6673
|
-
var n = e.prototype, o = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
6674
|
-
function i(r2, e2, t2, o2) {
|
|
6675
|
-
return n.fromToBase(r2, e2, t2, o2);
|
|
6676
|
-
}
|
|
6677
|
-
t.en.relativeTime = o, n.fromToBase = function(e2, n2, i2, d2, u) {
|
|
6678
|
-
for (var f, a, s, l = i2.$locale().relativeTime || o, h2 = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], m = h2.length, c = 0; c < m; c += 1) {
|
|
6679
|
-
var y = h2[c];
|
|
6680
|
-
y.d && (f = d2 ? t(e2).diff(i2, y.d, true) : i2.diff(e2, y.d, true));
|
|
6681
|
-
var p = (r.rounding || Math.round)(Math.abs(f));
|
|
6682
|
-
if (s = f > 0, p <= y.r || !y.r) {
|
|
6683
|
-
p <= 1 && c > 0 && (y = h2[c - 1]);
|
|
6684
|
-
var v = l[y.l];
|
|
6685
|
-
u && (p = u("" + p)), a = "string" == typeof v ? v.replace("%d", p) : v(p, n2, y.l, s);
|
|
6686
|
-
break;
|
|
6687
|
-
}
|
|
6688
|
-
}
|
|
6689
|
-
if (n2)
|
|
6690
|
-
return a;
|
|
6691
|
-
var M = s ? l.future : l.past;
|
|
6692
|
-
return "function" == typeof M ? M(a) : M.replace("%s", a);
|
|
6693
|
-
}, n.to = function(r2, e2) {
|
|
6694
|
-
return i(r2, e2, this, true);
|
|
6695
|
-
}, n.from = function(r2, e2) {
|
|
6696
|
-
return i(r2, e2, this);
|
|
6697
|
-
};
|
|
6698
|
-
var d = function(r2) {
|
|
6699
|
-
return r2.$u ? t.utc() : t();
|
|
6700
|
-
};
|
|
6701
|
-
n.toNow = function(r2) {
|
|
6702
|
-
return this.to(d(this), r2);
|
|
6703
|
-
}, n.fromNow = function(r2) {
|
|
6704
|
-
return this.from(d(this), r2);
|
|
6705
|
-
};
|
|
6706
|
-
};
|
|
6707
|
-
});
|
|
6708
|
-
})(relativeTime);
|
|
6709
|
-
var relativeTimeExports = relativeTime.exports;
|
|
6710
|
-
const relativeTimePlugin = /* @__PURE__ */ getDefaultExportFromCjs(relativeTimeExports);
|
|
6711
|
-
dayjs.extend(durationPlugin);
|
|
6712
|
-
dayjs.extend(relativeTimePlugin);
|
|
6713
|
-
class DateUtil {
|
|
6714
|
-
static get day() {
|
|
6715
|
-
return dayjs;
|
|
6716
|
-
}
|
|
6717
|
-
}
|
|
6718
|
-
const _hoisted_1$2 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
6719
|
-
const _hoisted_2$2 = { class: "text-right text-fg-subdued text-sm" };
|
|
6720
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
6322
|
+
const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-2634660f"]]);
|
|
6323
|
+
const _hoisted_1$5 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
6324
|
+
const _hoisted_2$5 = { class: "text-right text-fg-subdued text-sm" };
|
|
6325
|
+
const _hoisted_3$2 = { class: "segments" };
|
|
6326
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
6721
6327
|
__name: "ProgressSingle",
|
|
6722
6328
|
setup(__props) {
|
|
6723
6329
|
const {
|
|
@@ -6764,11 +6370,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6764
6370
|
const diff = computed(() => {
|
|
6765
6371
|
return DateUtil.day(values.value.endedAt).diff(values.value.startedAt);
|
|
6766
6372
|
});
|
|
6767
|
-
const
|
|
6373
|
+
const duration = computed(() => {
|
|
6768
6374
|
if (isNaN(diff.value))
|
|
6769
6375
|
return "-";
|
|
6770
|
-
const
|
|
6771
|
-
return
|
|
6376
|
+
const duration2 = DateUtil.day.duration(diff.value);
|
|
6377
|
+
return duration2.format("HH [jam] mm [menit]");
|
|
6772
6378
|
});
|
|
6773
6379
|
function onStartedAtUpdate(date) {
|
|
6774
6380
|
if (!date)
|
|
@@ -6781,7 +6387,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6781
6387
|
values.value.startedAt = startedAt.toISOString();
|
|
6782
6388
|
values.value.endedAt = endedAt.toISOString();
|
|
6783
6389
|
}
|
|
6784
|
-
const sekarang =
|
|
6390
|
+
const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
|
|
6785
6391
|
const besok = sekarang;
|
|
6786
6392
|
watch(
|
|
6787
6393
|
isNew,
|
|
@@ -6789,8 +6395,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6789
6395
|
var _a;
|
|
6790
6396
|
if (!isNew2)
|
|
6791
6397
|
return;
|
|
6792
|
-
values.value.
|
|
6793
|
-
values.value.
|
|
6398
|
+
values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
|
|
6399
|
+
values.value.staffs = staff.value;
|
|
6794
6400
|
values.value.startedAt = besok.second(0).millisecond(0).toISOString();
|
|
6795
6401
|
values.value.endedAt = besok.add(90, "m").toISOString();
|
|
6796
6402
|
},
|
|
@@ -6809,13 +6415,55 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6809
6415
|
{
|
|
6810
6416
|
handle: "followUpStaffIds",
|
|
6811
6417
|
operator: "in",
|
|
6812
|
-
value: values.value.
|
|
6418
|
+
value: values.value.staffIds
|
|
6813
6419
|
}
|
|
6814
6420
|
]
|
|
6815
6421
|
};
|
|
6816
6422
|
});
|
|
6423
|
+
const appStore = useAppStore();
|
|
6424
|
+
const objectDef = computed(
|
|
6425
|
+
() => `neu:operasional:progress:${id.value}`
|
|
6426
|
+
);
|
|
6427
|
+
const display = ref();
|
|
6428
|
+
const pads = {
|
|
6429
|
+
comments: {
|
|
6430
|
+
handle: "comments",
|
|
6431
|
+
title: "Comments",
|
|
6432
|
+
icon: "comments"
|
|
6433
|
+
},
|
|
6434
|
+
note: {
|
|
6435
|
+
handle: "note",
|
|
6436
|
+
title: "Note",
|
|
6437
|
+
icon: "notes"
|
|
6438
|
+
},
|
|
6439
|
+
sketch: {
|
|
6440
|
+
handle: "sketch",
|
|
6441
|
+
title: "Sketch",
|
|
6442
|
+
icon: "pen-swirl"
|
|
6443
|
+
}
|
|
6444
|
+
};
|
|
6817
6445
|
return (_ctx, _cache) => {
|
|
6818
6446
|
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
|
|
6447
|
+
sketch: withCtx(({ close }) => [
|
|
6448
|
+
createVNode(unref(OfficePad), mergeProps(pads.sketch, { onClose: close }), {
|
|
6449
|
+
default: withCtx(() => [
|
|
6450
|
+
createVNode(
|
|
6451
|
+
unref(CatatSketchPad),
|
|
6452
|
+
normalizeProps(guardReactiveProps({
|
|
6453
|
+
applicationId: unref(appStore).appId,
|
|
6454
|
+
object: `${objectDef.value}:office`,
|
|
6455
|
+
isReady: unref(isReady),
|
|
6456
|
+
isLoading: unref(isLoading)
|
|
6457
|
+
})),
|
|
6458
|
+
null,
|
|
6459
|
+
16
|
|
6460
|
+
/* FULL_PROPS */
|
|
6461
|
+
)
|
|
6462
|
+
]),
|
|
6463
|
+
_: 2
|
|
6464
|
+
/* DYNAMIC */
|
|
6465
|
+
}, 1040, ["onClose"])
|
|
6466
|
+
]),
|
|
6819
6467
|
default: withCtx(() => [
|
|
6820
6468
|
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
6821
6469
|
default: withCtx(() => [
|
|
@@ -6857,7 +6505,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6857
6505
|
_: 1
|
|
6858
6506
|
/* STABLE */
|
|
6859
6507
|
}),
|
|
6860
|
-
createElementVNode("div", _hoisted_1$
|
|
6508
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
6861
6509
|
createVNode(unref(NeonField), mergeProps({
|
|
6862
6510
|
modelValue: unref(values).startedAt,
|
|
6863
6511
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedAt = $event)
|
|
@@ -6898,8 +6546,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6898
6546
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
6899
6547
|
createElementVNode(
|
|
6900
6548
|
"div",
|
|
6901
|
-
_hoisted_2$
|
|
6902
|
-
toDisplayString(
|
|
6549
|
+
_hoisted_2$5,
|
|
6550
|
+
toDisplayString(duration.value),
|
|
6903
6551
|
1
|
|
6904
6552
|
/* TEXT */
|
|
6905
6553
|
)
|
|
@@ -6911,22 +6559,37 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6911
6559
|
createVNode(unref(OfficeRelation), {
|
|
6912
6560
|
modelValue: unref(values),
|
|
6913
6561
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6914
|
-
field: unref(fields).
|
|
6562
|
+
field: unref(fields).staffs
|
|
6915
6563
|
}, null, 8, ["modelValue", "field"]),
|
|
6564
|
+
createVNode(unref(NeonField), mergeProps({
|
|
6565
|
+
modelValue: unref(values).isNotes,
|
|
6566
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).isNotes = $event)
|
|
6567
|
+
}, unref(fields).isNotes), {
|
|
6568
|
+
input: withCtx(() => [
|
|
6569
|
+
createVNode(unref(NeonCheck), {
|
|
6570
|
+
modelValue: unref(values).isNotes,
|
|
6571
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).isNotes = $event),
|
|
6572
|
+
label: "Catatan",
|
|
6573
|
+
class: "mt-2"
|
|
6574
|
+
}, null, 8, ["modelValue"])
|
|
6575
|
+
]),
|
|
6576
|
+
_: 1
|
|
6577
|
+
/* STABLE */
|
|
6578
|
+
}, 16, ["modelValue"]),
|
|
6916
6579
|
createVNode(unref(NeonDivider), {
|
|
6917
6580
|
"is-dashed": "",
|
|
6918
6581
|
label: "Referensi"
|
|
6919
6582
|
}),
|
|
6920
6583
|
createVNode(unref(OfficeRelation), {
|
|
6921
6584
|
modelValue: unref(values),
|
|
6922
|
-
"onUpdate:modelValue": _cache[
|
|
6585
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6923
6586
|
field: unref(fields).responsibilities,
|
|
6924
6587
|
query: unref(Query).define(responsibilityOptions.value)
|
|
6925
6588
|
}, null, 8, ["modelValue", "field", "query"]),
|
|
6926
6589
|
createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
|
|
6927
6590
|
createVNode(unref(OfficeRelation), {
|
|
6928
6591
|
modelValue: unref(values),
|
|
6929
|
-
"onUpdate:modelValue": _cache[
|
|
6592
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6930
6593
|
field: unref(fields).submissions,
|
|
6931
6594
|
query: unref(Query).define(submissionOptions.value)
|
|
6932
6595
|
}, null, 8, ["modelValue", "field", "query"])
|
|
@@ -6937,7 +6600,31 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6937
6600
|
]),
|
|
6938
6601
|
_: 1
|
|
6939
6602
|
/* STABLE */
|
|
6940
|
-
})
|
|
6603
|
+
}),
|
|
6604
|
+
createCommentVNode(" Catatan "),
|
|
6605
|
+
!unref(isNew) && unref(values).isNotes === true ? (openBlock(), createBlock(unref(OfficeTab), {
|
|
6606
|
+
key: 0,
|
|
6607
|
+
handle: "catatan",
|
|
6608
|
+
icon: "circle-info",
|
|
6609
|
+
title: "Catatan"
|
|
6610
|
+
}, {
|
|
6611
|
+
default: withCtx(({ isTouched }) => [
|
|
6612
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
6613
|
+
createVNode(unref(CatatPaperSegments), {
|
|
6614
|
+
display: display.value,
|
|
6615
|
+
"onUpdate:display": _cache[10] || (_cache[10] = ($event) => display.value = $event)
|
|
6616
|
+
}, null, 8, ["display"])
|
|
6617
|
+
]),
|
|
6618
|
+
createVNode(unref(CatatPaperPad), mergeProps({
|
|
6619
|
+
applicationId: unref(appStore).appId,
|
|
6620
|
+
object: `${objectDef.value}:office`,
|
|
6621
|
+
isReady: unref(isReady) && isTouched,
|
|
6622
|
+
isLoading: unref(isLoading)
|
|
6623
|
+
}, { display: display.value }), null, 16, ["display"])
|
|
6624
|
+
]),
|
|
6625
|
+
_: 1
|
|
6626
|
+
/* STABLE */
|
|
6627
|
+
})) : createCommentVNode("v-if", true)
|
|
6941
6628
|
]),
|
|
6942
6629
|
_: 1
|
|
6943
6630
|
/* STABLE */
|
|
@@ -6949,11 +6636,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6949
6636
|
};
|
|
6950
6637
|
}
|
|
6951
6638
|
});
|
|
6952
|
-
const
|
|
6953
|
-
const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6954
|
-
const _hoisted_1$
|
|
6955
|
-
const _hoisted_2$
|
|
6956
|
-
const _sfc_main$
|
|
6639
|
+
const ProgressSingle_vue_vue_type_style_index_0_scoped_e7bbc154_lang = "";
|
|
6640
|
+
const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-e7bbc154"]]);
|
|
6641
|
+
const _hoisted_1$4 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
6642
|
+
const _hoisted_2$4 = { class: "text-right text-fg-subdued text-sm" };
|
|
6643
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
6957
6644
|
__name: "ProgressTomorrow",
|
|
6958
6645
|
setup(__props) {
|
|
6959
6646
|
const {
|
|
@@ -7000,11 +6687,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7000
6687
|
const diff = computed(() => {
|
|
7001
6688
|
return DateUtil.day(values.value.endedAt).diff(values.value.startedAt);
|
|
7002
6689
|
});
|
|
7003
|
-
const
|
|
6690
|
+
const duration = computed(() => {
|
|
7004
6691
|
if (isNaN(diff.value))
|
|
7005
6692
|
return "-";
|
|
7006
|
-
const
|
|
7007
|
-
return
|
|
6693
|
+
const duration2 = DateUtil.day.duration(diff.value);
|
|
6694
|
+
return duration2.format("HH [jam] mm [menit]");
|
|
7008
6695
|
});
|
|
7009
6696
|
function onStartedAtUpdate(date) {
|
|
7010
6697
|
if (!date)
|
|
@@ -7017,7 +6704,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7017
6704
|
values.value.startedAt = startedAt.toISOString();
|
|
7018
6705
|
values.value.endedAt = endedAt.toISOString();
|
|
7019
6706
|
}
|
|
7020
|
-
const sekarang =
|
|
6707
|
+
const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
|
|
7021
6708
|
const besok = sekarang.add(1, "day");
|
|
7022
6709
|
watch(
|
|
7023
6710
|
isNew,
|
|
@@ -7025,8 +6712,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7025
6712
|
var _a;
|
|
7026
6713
|
if (!isNew2)
|
|
7027
6714
|
return;
|
|
7028
|
-
values.value.
|
|
7029
|
-
values.value.
|
|
6715
|
+
values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
|
|
6716
|
+
values.value.staffs = staff.value;
|
|
7030
6717
|
values.value.startedAt = besok.second(0).millisecond(0).toISOString();
|
|
7031
6718
|
values.value.endedAt = besok.add(90, "m").toISOString();
|
|
7032
6719
|
},
|
|
@@ -7045,7 +6732,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7045
6732
|
{
|
|
7046
6733
|
handle: "followUpStaffIds",
|
|
7047
6734
|
operator: "in",
|
|
7048
|
-
value: values.value.
|
|
6735
|
+
value: values.value.staffIds
|
|
7049
6736
|
}
|
|
7050
6737
|
]
|
|
7051
6738
|
};
|
|
@@ -7093,7 +6780,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7093
6780
|
_: 1
|
|
7094
6781
|
/* STABLE */
|
|
7095
6782
|
}),
|
|
7096
|
-
createElementVNode("div", _hoisted_1$
|
|
6783
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
7097
6784
|
createVNode(unref(NeonField), mergeProps({
|
|
7098
6785
|
modelValue: unref(values).startedAt,
|
|
7099
6786
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedAt = $event)
|
|
@@ -7134,8 +6821,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7134
6821
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
7135
6822
|
createElementVNode(
|
|
7136
6823
|
"div",
|
|
7137
|
-
_hoisted_2$
|
|
7138
|
-
toDisplayString(
|
|
6824
|
+
_hoisted_2$4,
|
|
6825
|
+
toDisplayString(duration.value),
|
|
7139
6826
|
1
|
|
7140
6827
|
/* TEXT */
|
|
7141
6828
|
)
|
|
@@ -7147,7 +6834,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7147
6834
|
createVNode(unref(OfficeRelation), {
|
|
7148
6835
|
modelValue: unref(values),
|
|
7149
6836
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7150
|
-
field: unref(fields).
|
|
6837
|
+
field: unref(fields).staffs
|
|
7151
6838
|
}, null, 8, ["modelValue", "field"]),
|
|
7152
6839
|
createVNode(unref(NeonDivider), {
|
|
7153
6840
|
"is-dashed": "",
|
|
@@ -7185,11 +6872,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7185
6872
|
};
|
|
7186
6873
|
}
|
|
7187
6874
|
});
|
|
7188
|
-
const
|
|
7189
|
-
const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7190
|
-
const _hoisted_1 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
7191
|
-
const _hoisted_2 = { class: "text-right text-fg-subdued text-sm" };
|
|
7192
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6875
|
+
const ProgressTomorrow_vue_vue_type_style_index_0_scoped_9a139943_lang = "";
|
|
6876
|
+
const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-9a139943"]]);
|
|
6877
|
+
const _hoisted_1$3 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
6878
|
+
const _hoisted_2$3 = { class: "text-right text-fg-subdued text-sm" };
|
|
6879
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
7193
6880
|
__name: "ProgressYesterday",
|
|
7194
6881
|
setup(__props) {
|
|
7195
6882
|
const {
|
|
@@ -7236,11 +6923,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7236
6923
|
const diff = computed(() => {
|
|
7237
6924
|
return DateUtil.day(values.value.endedAt).diff(values.value.startedAt);
|
|
7238
6925
|
});
|
|
7239
|
-
const
|
|
6926
|
+
const duration = computed(() => {
|
|
7240
6927
|
if (isNaN(diff.value))
|
|
7241
6928
|
return "-";
|
|
7242
|
-
const
|
|
7243
|
-
return
|
|
6929
|
+
const duration2 = DateUtil.day.duration(diff.value);
|
|
6930
|
+
return duration2.format("HH [jam] mm [menit]");
|
|
7244
6931
|
});
|
|
7245
6932
|
function onStartedAtUpdate(date) {
|
|
7246
6933
|
if (!date)
|
|
@@ -7253,7 +6940,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7253
6940
|
values.value.startedAt = startedAt.toISOString();
|
|
7254
6941
|
values.value.endedAt = endedAt.toISOString();
|
|
7255
6942
|
}
|
|
7256
|
-
const sekarang =
|
|
6943
|
+
const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
|
|
7257
6944
|
const besok = sekarang.add(-1, "day");
|
|
7258
6945
|
watch(
|
|
7259
6946
|
isNew,
|
|
@@ -7261,8 +6948,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7261
6948
|
var _a;
|
|
7262
6949
|
if (!isNew2)
|
|
7263
6950
|
return;
|
|
7264
|
-
values.value.
|
|
7265
|
-
values.value.
|
|
6951
|
+
values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
|
|
6952
|
+
values.value.staffs = staff.value;
|
|
7266
6953
|
values.value.startedAt = besok.second(0).millisecond(0).toISOString();
|
|
7267
6954
|
values.value.endedAt = besok.add(90, "m").toISOString();
|
|
7268
6955
|
},
|
|
@@ -7281,7 +6968,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7281
6968
|
{
|
|
7282
6969
|
handle: "followUpStaffIds",
|
|
7283
6970
|
operator: "in",
|
|
7284
|
-
value: values.value.
|
|
6971
|
+
value: values.value.staffIds
|
|
7285
6972
|
}
|
|
7286
6973
|
]
|
|
7287
6974
|
};
|
|
@@ -7329,7 +7016,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7329
7016
|
_: 1
|
|
7330
7017
|
/* STABLE */
|
|
7331
7018
|
}),
|
|
7332
|
-
createElementVNode("div", _hoisted_1, [
|
|
7019
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
7333
7020
|
createVNode(unref(NeonField), mergeProps({
|
|
7334
7021
|
modelValue: unref(values).startedAt,
|
|
7335
7022
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).startedAt = $event)
|
|
@@ -7370,8 +7057,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7370
7057
|
}, null, 8, ["modelValue", "is-loading"]),
|
|
7371
7058
|
createElementVNode(
|
|
7372
7059
|
"div",
|
|
7373
|
-
_hoisted_2,
|
|
7374
|
-
toDisplayString(
|
|
7060
|
+
_hoisted_2$3,
|
|
7061
|
+
toDisplayString(duration.value),
|
|
7375
7062
|
1
|
|
7376
7063
|
/* TEXT */
|
|
7377
7064
|
)
|
|
@@ -7383,7 +7070,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7383
7070
|
createVNode(unref(OfficeRelation), {
|
|
7384
7071
|
modelValue: unref(values),
|
|
7385
7072
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7386
|
-
field: unref(fields).
|
|
7073
|
+
field: unref(fields).staffs
|
|
7387
7074
|
}, null, 8, ["modelValue", "field"]),
|
|
7388
7075
|
createVNode(unref(NeonDivider), {
|
|
7389
7076
|
"is-dashed": "",
|
|
@@ -7425,75 +7112,1066 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7425
7112
|
};
|
|
7426
7113
|
}
|
|
7427
7114
|
});
|
|
7428
|
-
const
|
|
7429
|
-
const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
7115
|
+
const ProgressYesterday_vue_vue_type_style_index_0_scoped_3bad8bb9_lang = "";
|
|
7116
|
+
const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3bad8bb9"]]);
|
|
7117
|
+
const AttendanceModel = models$2.AttendanceModel;
|
|
7118
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
7119
|
+
...{
|
|
7120
|
+
name: "AttendanceCollection"
|
|
7121
|
+
},
|
|
7122
|
+
__name: "AttendanceCollection",
|
|
7123
|
+
setup(__props) {
|
|
7124
|
+
useCollection();
|
|
7125
|
+
return (_ctx, _cache) => {
|
|
7126
|
+
return openBlock(), createBlock(unref(NeonCollection), { class: "neu-attendance-collection" }, {
|
|
7127
|
+
default: withCtx(() => [
|
|
7128
|
+
createVNode(unref(OfficeCollectionTable))
|
|
7129
|
+
]),
|
|
7130
|
+
_: 1
|
|
7131
|
+
/* STABLE */
|
|
7132
|
+
});
|
|
7133
|
+
};
|
|
7134
|
+
}
|
|
7135
|
+
});
|
|
7136
|
+
const _hoisted_1$2 = { class: "grid gap-2 sm:grid-cols-2" };
|
|
7137
|
+
const _hoisted_2$2 = { class: "text-right text-fg-subdued text-sm" };
|
|
7138
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7139
|
+
__name: "AttendanceSingle",
|
|
7140
|
+
setup(__props) {
|
|
7141
|
+
const {
|
|
7142
|
+
fields,
|
|
7143
|
+
id,
|
|
7144
|
+
initialValues,
|
|
7145
|
+
values,
|
|
7146
|
+
isLoading,
|
|
7147
|
+
isChanged,
|
|
7148
|
+
isReady,
|
|
7149
|
+
isMain,
|
|
7150
|
+
isNew,
|
|
7151
|
+
saveOne,
|
|
7152
|
+
discardChanges,
|
|
7153
|
+
syncOne
|
|
7154
|
+
} = useSingle();
|
|
7155
|
+
const key = ref(0);
|
|
7156
|
+
const diff = computed(() => {
|
|
7157
|
+
return DateUtil.day(values.value.endedAt).diff(values.value.startedAt);
|
|
7158
|
+
});
|
|
7159
|
+
const duration = computed(() => {
|
|
7160
|
+
if (isNaN(diff.value))
|
|
7161
|
+
return "-";
|
|
7162
|
+
const duration2 = DateUtil.day.duration(diff.value);
|
|
7163
|
+
return duration2.format("HH [jam] mm [menit]");
|
|
7164
|
+
});
|
|
7165
|
+
const reverseDiff = computed(() => {
|
|
7166
|
+
return DateUtil.day(values.value.startedAt).diff(values.value.endedAt);
|
|
7167
|
+
});
|
|
7168
|
+
computed(() => {
|
|
7169
|
+
if (isNaN(reverseDiff.value))
|
|
7170
|
+
return "-";
|
|
7171
|
+
const duration2 = DateUtil.day.duration(reverseDiff.value);
|
|
7172
|
+
return duration2.format("HH [jam] mm [menit]");
|
|
7173
|
+
});
|
|
7174
|
+
function onStartedAtUpdate(date) {
|
|
7175
|
+
if (!date)
|
|
7176
|
+
return;
|
|
7177
|
+
const currentEndedendedAt = DateUtil.day(values.value.endedAt);
|
|
7178
|
+
let startedAt = DateUtil.day(date);
|
|
7179
|
+
let endedAt = DateUtil.day(date);
|
|
7180
|
+
startedAt = startedAt.second(0).millisecond(0);
|
|
7181
|
+
endedAt = endedAt.hour(currentEndedendedAt.hour()).minute(currentEndedendedAt.minute()).second(0).millisecond(0);
|
|
7182
|
+
values.value.startedAt = startedAt.toISOString();
|
|
7183
|
+
values.value.endedAt = endedAt.toISOString();
|
|
7184
|
+
}
|
|
7185
|
+
return (_ctx, _cache) => {
|
|
7186
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-attendance-single" }, {
|
|
7187
|
+
default: withCtx(() => [
|
|
7188
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
7189
|
+
default: withCtx(() => [
|
|
7190
|
+
createVNode(unref(OfficeTab), {
|
|
7191
|
+
handle: "info",
|
|
7192
|
+
icon: "circle-info",
|
|
7193
|
+
title: "Info"
|
|
7194
|
+
}, {
|
|
7195
|
+
default: withCtx(() => [
|
|
7196
|
+
createVNode(unref(NeonForm), {
|
|
7197
|
+
handle: "info",
|
|
7198
|
+
"initial-values": unref(initialValues),
|
|
7199
|
+
"is-loading": unref(isLoading),
|
|
7200
|
+
"is-changed": unref(isChanged),
|
|
7201
|
+
"use-unsaved": "",
|
|
7202
|
+
onCancel: unref(discardChanges),
|
|
7203
|
+
onSubmit: unref(saveOne)
|
|
7204
|
+
}, {
|
|
7205
|
+
default: withCtx(() => [
|
|
7206
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7207
|
+
modelValue: unref(values).status,
|
|
7208
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).status = $event)
|
|
7209
|
+
}, unref(fields).status), null, 16, ["modelValue"]),
|
|
7210
|
+
createVNode(unref(OfficeRelation), {
|
|
7211
|
+
modelValue: unref(values),
|
|
7212
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7213
|
+
field: unref(fields).submitStaff
|
|
7214
|
+
}, null, 8, ["modelValue", "field"]),
|
|
7215
|
+
(openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7216
|
+
key: key.value,
|
|
7217
|
+
"model-value": unref(values).startedAt
|
|
7218
|
+
}, {
|
|
7219
|
+
handle: "startedAt",
|
|
7220
|
+
name: "Tanggal",
|
|
7221
|
+
type: "date",
|
|
7222
|
+
input: "date2",
|
|
7223
|
+
options: {
|
|
7224
|
+
note: "Tanggal absensi."
|
|
7225
|
+
}
|
|
7226
|
+
}, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
|
|
7227
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7228
|
+
modelValue: unref(values).type,
|
|
7229
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).type = $event)
|
|
7230
|
+
}, unref(fields).type), null, 16, ["modelValue"]),
|
|
7231
|
+
createVNode(unref(OfficeRelation), {
|
|
7232
|
+
modelValue: unref(values),
|
|
7233
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7234
|
+
field: unref(fields).decideStaff
|
|
7235
|
+
}, null, 8, ["modelValue", "field"]),
|
|
7236
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7237
|
+
key: 0,
|
|
7238
|
+
modelValue: unref(values).notes,
|
|
7239
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).notes = $event)
|
|
7240
|
+
}, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
7241
|
+
createVNode(unref(NeonDivider), {
|
|
7242
|
+
"is-dashed": "",
|
|
7243
|
+
label: "Keterangan"
|
|
7244
|
+
}),
|
|
7245
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7246
|
+
modelValue: unref(values).submittedAt,
|
|
7247
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).submittedAt = $event)
|
|
7248
|
+
}, unref(fields).submittedAt), null, 16, ["modelValue"]),
|
|
7249
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
7250
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7251
|
+
modelValue: unref(values).startedAt,
|
|
7252
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).startedAt = $event)
|
|
7253
|
+
}, {
|
|
7254
|
+
handle: "startedAt",
|
|
7255
|
+
name: "Mulai",
|
|
7256
|
+
options: {
|
|
7257
|
+
note: "Jam mulai."
|
|
7258
|
+
}
|
|
7259
|
+
}), {
|
|
7260
|
+
input: withCtx(() => [
|
|
7261
|
+
createVNode(unref(NeonTime), {
|
|
7262
|
+
modelValue: unref(values).startedAt,
|
|
7263
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).startedAt = $event),
|
|
7264
|
+
"is-loading": unref(isLoading),
|
|
7265
|
+
class: "mt-2"
|
|
7266
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
7267
|
+
]),
|
|
7268
|
+
_: 1
|
|
7269
|
+
/* STABLE */
|
|
7270
|
+
}, 16, ["modelValue"]),
|
|
7271
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7272
|
+
modelValue: unref(values).endedAt,
|
|
7273
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).endedAt = $event)
|
|
7274
|
+
}, {
|
|
7275
|
+
handle: "endedAt",
|
|
7276
|
+
name: "Selesai",
|
|
7277
|
+
options: {
|
|
7278
|
+
note: "Jam selesai."
|
|
7279
|
+
}
|
|
7280
|
+
}), {
|
|
7281
|
+
input: withCtx(() => [
|
|
7282
|
+
createVNode(unref(NeonTime), {
|
|
7283
|
+
modelValue: unref(values).endedAt,
|
|
7284
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).endedAt = $event),
|
|
7285
|
+
"is-loading": unref(isLoading),
|
|
7286
|
+
class: "mt-2"
|
|
7287
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
7288
|
+
createElementVNode(
|
|
7289
|
+
"div",
|
|
7290
|
+
_hoisted_2$2,
|
|
7291
|
+
toDisplayString(duration.value),
|
|
7292
|
+
1
|
|
7293
|
+
/* TEXT */
|
|
7294
|
+
)
|
|
7295
|
+
]),
|
|
7296
|
+
_: 1
|
|
7297
|
+
/* STABLE */
|
|
7298
|
+
}, 16, ["modelValue"])
|
|
7299
|
+
])
|
|
7300
|
+
]),
|
|
7301
|
+
_: 1
|
|
7302
|
+
/* STABLE */
|
|
7303
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
7304
|
+
]),
|
|
7305
|
+
_: 1
|
|
7306
|
+
/* STABLE */
|
|
7307
|
+
})
|
|
7308
|
+
]),
|
|
7309
|
+
_: 1
|
|
7310
|
+
/* STABLE */
|
|
7311
|
+
}, 8, ["use-url"])
|
|
7312
|
+
]),
|
|
7313
|
+
_: 1
|
|
7314
|
+
/* STABLE */
|
|
7315
|
+
});
|
|
7316
|
+
};
|
|
7317
|
+
}
|
|
7318
|
+
});
|
|
7319
|
+
const AttendanceSingle_vue_vue_type_style_index_0_scoped_0c3c6187_lang = "";
|
|
7320
|
+
const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-0c3c6187"]]);
|
|
7321
|
+
const _hoisted_1$1 = {
|
|
7322
|
+
key: 1,
|
|
7323
|
+
class: "flex flex-wrap"
|
|
7324
|
+
};
|
|
7325
|
+
const _hoisted_2$1 = { class: "mt-2" };
|
|
7326
|
+
const _hoisted_3$1 = { class: "mt-2" };
|
|
7327
|
+
const _hoisted_4$1 = {
|
|
7328
|
+
key: 5,
|
|
7329
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
7330
|
+
};
|
|
7331
|
+
const _hoisted_5$1 = { class: "text-right text-fg-subdued text-sm" };
|
|
7332
|
+
const _hoisted_6$1 = {
|
|
7333
|
+
key: 6,
|
|
7334
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
7335
|
+
};
|
|
7336
|
+
const _hoisted_7$1 = { class: "text-right text-fg-subdued text-sm" };
|
|
7337
|
+
const _hoisted_8$1 = {
|
|
7338
|
+
key: 7,
|
|
7339
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
7340
|
+
};
|
|
7341
|
+
const _hoisted_9$1 = { class: "text-right text-fg-subdued text-sm" };
|
|
7342
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
7343
|
+
__name: "AttendanceStaff",
|
|
7344
|
+
setup(__props) {
|
|
7345
|
+
var _a;
|
|
7346
|
+
const {
|
|
7347
|
+
fields,
|
|
7348
|
+
id,
|
|
7349
|
+
initialValues,
|
|
7350
|
+
values,
|
|
7351
|
+
isLoading,
|
|
7352
|
+
isChanged,
|
|
7353
|
+
isReady,
|
|
7354
|
+
isMain,
|
|
7355
|
+
isNew,
|
|
7356
|
+
saveOne,
|
|
7357
|
+
discardChanges,
|
|
7358
|
+
syncOne,
|
|
7359
|
+
executeOne
|
|
7360
|
+
} = useSingle();
|
|
7361
|
+
const key = ref(0);
|
|
7362
|
+
const diff = computed(() => {
|
|
7363
|
+
return DateUtil.day(values.value.endedAt).diff(values.value.startedAt);
|
|
7364
|
+
});
|
|
7365
|
+
const duration = computed(() => {
|
|
7366
|
+
if (isNaN(diff.value))
|
|
7367
|
+
return "-";
|
|
7368
|
+
const duration2 = DateUtil.day.duration(diff.value);
|
|
7369
|
+
return duration2.format("HH [jam] mm [menit]");
|
|
7370
|
+
});
|
|
7371
|
+
function onStartedAtUpdate(date) {
|
|
7372
|
+
if (!date)
|
|
7373
|
+
return;
|
|
7374
|
+
const currentEndedendedAt = DateUtil.day(values.value.endedAt);
|
|
7375
|
+
let startedAt = DateUtil.day(date);
|
|
7376
|
+
let endedAt = DateUtil.day(date);
|
|
7377
|
+
startedAt = startedAt.second(0).millisecond(0);
|
|
7378
|
+
endedAt = endedAt.hour(currentEndedendedAt.hour()).minute(currentEndedendedAt.minute()).second(0).millisecond(0);
|
|
7379
|
+
values.value.startedAt = startedAt.toISOString();
|
|
7380
|
+
values.value.endedAt = endedAt.toISOString();
|
|
7381
|
+
conflictAtt.value = false;
|
|
7382
|
+
}
|
|
7383
|
+
const { staff } = useOperasional();
|
|
7384
|
+
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
7385
|
+
watch(
|
|
7386
|
+
isNew,
|
|
7387
|
+
(isNew2) => {
|
|
7388
|
+
if (!isNew2)
|
|
7389
|
+
return;
|
|
7390
|
+
values.value.submitStaffId = staffId;
|
|
7391
|
+
values.value.submitStaff = staff.value;
|
|
7392
|
+
},
|
|
7393
|
+
{
|
|
7394
|
+
immediate: true
|
|
7395
|
+
}
|
|
7396
|
+
);
|
|
7397
|
+
const submitAbsensi = async () => {
|
|
7398
|
+
await executeOne("submitAttendance", { attendanceId: id.value });
|
|
7399
|
+
await syncOne();
|
|
7400
|
+
};
|
|
7401
|
+
const changeAbsensi = async () => {
|
|
7402
|
+
await executeOne("changeAttendance", { attendanceId: id.value });
|
|
7403
|
+
await syncOne();
|
|
7404
|
+
};
|
|
7405
|
+
const conflictAtt = ref(false);
|
|
7406
|
+
async function conflictAttendance() {
|
|
7407
|
+
var _a2;
|
|
7408
|
+
const resp = await executeOne("checkAttendance", {
|
|
7409
|
+
staffId: (_a2 = staff.value) == null ? void 0 : _a2.id,
|
|
7410
|
+
startedAt: values.value.startedAt
|
|
7411
|
+
});
|
|
7412
|
+
const countAtt = resp.data.executeAttendance.output.countAttendance;
|
|
7413
|
+
if (values.value.startedAt) {
|
|
7414
|
+
if (countAtt > 1) {
|
|
7415
|
+
conflictAtt.value = true;
|
|
7416
|
+
} else {
|
|
7417
|
+
await submitAbsensi();
|
|
7418
|
+
await syncOne();
|
|
7419
|
+
conflictAtt.value = false;
|
|
7420
|
+
}
|
|
7421
|
+
} else {
|
|
7422
|
+
conflictAtt.value = true;
|
|
7423
|
+
}
|
|
7424
|
+
}
|
|
7425
|
+
return (_ctx, _cache) => {
|
|
7426
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-attendance-single" }, {
|
|
7427
|
+
default: withCtx(() => [
|
|
7428
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
7429
|
+
default: withCtx(() => [
|
|
7430
|
+
createVNode(unref(OfficeTab), {
|
|
7431
|
+
handle: "info",
|
|
7432
|
+
icon: "circle-info",
|
|
7433
|
+
title: "Info"
|
|
7434
|
+
}, {
|
|
7435
|
+
default: withCtx(() => [
|
|
7436
|
+
createVNode(unref(NeonForm), {
|
|
7437
|
+
handle: "info",
|
|
7438
|
+
"initial-values": unref(initialValues),
|
|
7439
|
+
"is-loading": unref(isLoading),
|
|
7440
|
+
"is-changed": unref(isChanged),
|
|
7441
|
+
"use-unsaved": "",
|
|
7442
|
+
onCancel: unref(discardChanges),
|
|
7443
|
+
onSubmit: unref(saveOne)
|
|
7444
|
+
}, {
|
|
7445
|
+
default: withCtx(() => [
|
|
7446
|
+
conflictAtt.value == true ? (openBlock(), createBlock(unref(NeonAlert), {
|
|
7447
|
+
key: 0,
|
|
7448
|
+
icon: "circle-info",
|
|
7449
|
+
label: "Sudah ada Absensi!. ",
|
|
7450
|
+
description: "Untuk hari ini kamu sudah ada absensi yang diajukan, silahkan cari absensi yang telah diajukan dan ajukan kembali untuk pergantiannya.",
|
|
7451
|
+
color: "#F7CF6D"
|
|
7452
|
+
})) : createCommentVNode("v-if", true),
|
|
7453
|
+
!unref(isNew) && conflictAtt.value == false ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
7454
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
7455
|
+
createVNode(unref(NeonField), null, {
|
|
7456
|
+
input: withCtx(() => [
|
|
7457
|
+
createVNode(unref(NeonButton), {
|
|
7458
|
+
size: "md",
|
|
7459
|
+
color: "success",
|
|
7460
|
+
"icon-left": "up-from-line",
|
|
7461
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved",
|
|
7462
|
+
onClick: conflictAttendance
|
|
7463
|
+
}, {
|
|
7464
|
+
default: withCtx(() => [
|
|
7465
|
+
createTextVNode("Ajukan")
|
|
7466
|
+
]),
|
|
7467
|
+
_: 1
|
|
7468
|
+
/* STABLE */
|
|
7469
|
+
}, 8, ["is-disabled"])
|
|
7470
|
+
]),
|
|
7471
|
+
_: 1
|
|
7472
|
+
/* STABLE */
|
|
7473
|
+
})
|
|
7474
|
+
]),
|
|
7475
|
+
createTextVNode(" "),
|
|
7476
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
7477
|
+
createVNode(unref(NeonField), null, {
|
|
7478
|
+
input: withCtx(() => [
|
|
7479
|
+
createVNode(unref(NeonButton), {
|
|
7480
|
+
size: "md",
|
|
7481
|
+
color: "warning",
|
|
7482
|
+
"icon-left": "arrows-retweet",
|
|
7483
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "draft",
|
|
7484
|
+
onClick: changeAbsensi
|
|
7485
|
+
}, {
|
|
7486
|
+
default: withCtx(() => [
|
|
7487
|
+
createTextVNode("Ganti")
|
|
7488
|
+
]),
|
|
7489
|
+
_: 1
|
|
7490
|
+
/* STABLE */
|
|
7491
|
+
}, 8, ["is-disabled"])
|
|
7492
|
+
]),
|
|
7493
|
+
_: 1
|
|
7494
|
+
/* STABLE */
|
|
7495
|
+
})
|
|
7496
|
+
])
|
|
7497
|
+
])) : createCommentVNode("v-if", true),
|
|
7498
|
+
createVNode(unref(OfficeRelation), {
|
|
7499
|
+
modelValue: unref(values),
|
|
7500
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7501
|
+
field: unref(fields).submitStaff,
|
|
7502
|
+
"is-disabled": ""
|
|
7503
|
+
}, null, 8, ["modelValue", "field"]),
|
|
7504
|
+
(openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7505
|
+
key: key.value,
|
|
7506
|
+
"model-value": unref(values).startedAt
|
|
7507
|
+
}, {
|
|
7508
|
+
handle: "startedAt",
|
|
7509
|
+
name: "Tanggal",
|
|
7510
|
+
type: "date",
|
|
7511
|
+
input: "date2",
|
|
7512
|
+
options: {
|
|
7513
|
+
note: "Tanggal absensi."
|
|
7514
|
+
}
|
|
7515
|
+
}, {
|
|
7516
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved",
|
|
7517
|
+
"onUpdate:modelValue": onStartedAtUpdate
|
|
7518
|
+
}), null, 16, ["model-value", "is-disabled"])),
|
|
7519
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7520
|
+
modelValue: unref(values).type,
|
|
7521
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
|
|
7522
|
+
}, unref(fields).type, {
|
|
7523
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
7524
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
7525
|
+
createVNode(unref(OfficeRelation), {
|
|
7526
|
+
modelValue: unref(values),
|
|
7527
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7528
|
+
field: unref(fields).decideStaff,
|
|
7529
|
+
"is-disabled": unref(values).status == "notApproved" || unref(values).status == "approved"
|
|
7530
|
+
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
7531
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7532
|
+
key: 2,
|
|
7533
|
+
modelValue: unref(values).notes,
|
|
7534
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).notes = $event)
|
|
7535
|
+
}, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
7536
|
+
unref(values).type ? (openBlock(), createBlock(unref(NeonDivider), {
|
|
7537
|
+
key: 3,
|
|
7538
|
+
"is-dashed": "",
|
|
7539
|
+
label: "Keterangan"
|
|
7540
|
+
})) : createCommentVNode("v-if", true),
|
|
7541
|
+
unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7542
|
+
key: 4,
|
|
7543
|
+
modelValue: unref(values).submittedAt,
|
|
7544
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).submittedAt = $event)
|
|
7545
|
+
}, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
7546
|
+
createCommentVNode(" EARLY GO HOME "),
|
|
7547
|
+
unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
7548
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7549
|
+
modelValue: unref(values).startedAt,
|
|
7550
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).startedAt = $event)
|
|
7551
|
+
}, {
|
|
7552
|
+
handle: "startedAt",
|
|
7553
|
+
name: "Jam Pulang Kerja",
|
|
7554
|
+
options: {
|
|
7555
|
+
note: "Jam pulang kerja."
|
|
7556
|
+
}
|
|
7557
|
+
}), {
|
|
7558
|
+
input: withCtx(() => [
|
|
7559
|
+
createVNode(unref(NeonTime), {
|
|
7560
|
+
modelValue: unref(values).startedAt,
|
|
7561
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).startedAt = $event),
|
|
7562
|
+
"is-loading": unref(isLoading),
|
|
7563
|
+
class: "mt-2"
|
|
7564
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
7565
|
+
]),
|
|
7566
|
+
_: 1
|
|
7567
|
+
/* STABLE */
|
|
7568
|
+
}, 16, ["modelValue"]),
|
|
7569
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7570
|
+
modelValue: unref(values).endedAt,
|
|
7571
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).endedAt = $event)
|
|
7572
|
+
}, {
|
|
7573
|
+
handle: "endedAt",
|
|
7574
|
+
name: "Jam Pulang Lebih Awal",
|
|
7575
|
+
options: {
|
|
7576
|
+
note: "Jam pulang lebih awal."
|
|
7577
|
+
}
|
|
7578
|
+
}), {
|
|
7579
|
+
input: withCtx(() => [
|
|
7580
|
+
createVNode(unref(NeonTime), {
|
|
7581
|
+
modelValue: unref(values).endedAt,
|
|
7582
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).endedAt = $event),
|
|
7583
|
+
"is-loading": unref(isLoading),
|
|
7584
|
+
class: "mt-2"
|
|
7585
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
7586
|
+
createElementVNode(
|
|
7587
|
+
"div",
|
|
7588
|
+
_hoisted_5$1,
|
|
7589
|
+
toDisplayString(duration.value),
|
|
7590
|
+
1
|
|
7591
|
+
/* TEXT */
|
|
7592
|
+
)
|
|
7593
|
+
]),
|
|
7594
|
+
_: 1
|
|
7595
|
+
/* STABLE */
|
|
7596
|
+
}, 16, ["modelValue"])
|
|
7597
|
+
])) : createCommentVNode("v-if", true),
|
|
7598
|
+
createCommentVNode(" COME TOO LATE "),
|
|
7599
|
+
unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
|
|
7600
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7601
|
+
modelValue: unref(values).startedAt,
|
|
7602
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).startedAt = $event)
|
|
7603
|
+
}, {
|
|
7604
|
+
handle: "startedAt",
|
|
7605
|
+
name: "Jam Datang",
|
|
7606
|
+
options: {
|
|
7607
|
+
note: "Jam Datang kerja."
|
|
7608
|
+
}
|
|
7609
|
+
}), {
|
|
7610
|
+
input: withCtx(() => [
|
|
7611
|
+
createVNode(unref(NeonTime), {
|
|
7612
|
+
modelValue: unref(values).startedAt,
|
|
7613
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).startedAt = $event),
|
|
7614
|
+
"is-loading": unref(isLoading),
|
|
7615
|
+
class: "mt-2"
|
|
7616
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
7617
|
+
]),
|
|
7618
|
+
_: 1
|
|
7619
|
+
/* STABLE */
|
|
7620
|
+
}, 16, ["modelValue"]),
|
|
7621
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7622
|
+
modelValue: unref(values).endedAt,
|
|
7623
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).endedAt = $event)
|
|
7624
|
+
}, {
|
|
7625
|
+
handle: "endedAt",
|
|
7626
|
+
name: "Jam Datang Terlambat",
|
|
7627
|
+
options: {
|
|
7628
|
+
note: "Jam datang terlambat."
|
|
7629
|
+
}
|
|
7630
|
+
}), {
|
|
7631
|
+
input: withCtx(() => [
|
|
7632
|
+
createVNode(unref(NeonTime), {
|
|
7633
|
+
modelValue: unref(values).endedAt,
|
|
7634
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).endedAt = $event),
|
|
7635
|
+
"is-loading": unref(isLoading),
|
|
7636
|
+
class: "mt-2"
|
|
7637
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
7638
|
+
createElementVNode(
|
|
7639
|
+
"div",
|
|
7640
|
+
_hoisted_7$1,
|
|
7641
|
+
toDisplayString(duration.value),
|
|
7642
|
+
1
|
|
7643
|
+
/* TEXT */
|
|
7644
|
+
)
|
|
7645
|
+
]),
|
|
7646
|
+
_: 1
|
|
7647
|
+
/* STABLE */
|
|
7648
|
+
}, 16, ["modelValue"])
|
|
7649
|
+
])) : createCommentVNode("v-if", true),
|
|
7650
|
+
createCommentVNode(" TIMEOUT "),
|
|
7651
|
+
unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_8$1, [
|
|
7652
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7653
|
+
modelValue: unref(values).startedAt,
|
|
7654
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).startedAt = $event)
|
|
7655
|
+
}, {
|
|
7656
|
+
handle: "startedAt",
|
|
7657
|
+
name: "Mulai",
|
|
7658
|
+
options: {
|
|
7659
|
+
note: "Jam mulai."
|
|
7660
|
+
}
|
|
7661
|
+
}), {
|
|
7662
|
+
input: withCtx(() => [
|
|
7663
|
+
createVNode(unref(NeonTime), {
|
|
7664
|
+
modelValue: unref(values).startedAt,
|
|
7665
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).startedAt = $event),
|
|
7666
|
+
"is-loading": unref(isLoading),
|
|
7667
|
+
class: "mt-2"
|
|
7668
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
7669
|
+
]),
|
|
7670
|
+
_: 1
|
|
7671
|
+
/* STABLE */
|
|
7672
|
+
}, 16, ["modelValue"]),
|
|
7673
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7674
|
+
modelValue: unref(values).endedAt,
|
|
7675
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(values).endedAt = $event)
|
|
7676
|
+
}, {
|
|
7677
|
+
handle: "endedAt",
|
|
7678
|
+
name: "Selesai",
|
|
7679
|
+
options: {
|
|
7680
|
+
note: "Jam selesai."
|
|
7681
|
+
}
|
|
7682
|
+
}), {
|
|
7683
|
+
input: withCtx(() => [
|
|
7684
|
+
createVNode(unref(NeonTime), {
|
|
7685
|
+
modelValue: unref(values).endedAt,
|
|
7686
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).endedAt = $event),
|
|
7687
|
+
"is-loading": unref(isLoading),
|
|
7688
|
+
class: "mt-2"
|
|
7689
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
7690
|
+
createElementVNode(
|
|
7691
|
+
"div",
|
|
7692
|
+
_hoisted_9$1,
|
|
7693
|
+
toDisplayString(duration.value),
|
|
7694
|
+
1
|
|
7695
|
+
/* TEXT */
|
|
7696
|
+
)
|
|
7697
|
+
]),
|
|
7698
|
+
_: 1
|
|
7699
|
+
/* STABLE */
|
|
7700
|
+
}, 16, ["modelValue"])
|
|
7701
|
+
])) : createCommentVNode("v-if", true)
|
|
7702
|
+
]),
|
|
7703
|
+
_: 1
|
|
7704
|
+
/* STABLE */
|
|
7705
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
7706
|
+
]),
|
|
7707
|
+
_: 1
|
|
7708
|
+
/* STABLE */
|
|
7709
|
+
})
|
|
7710
|
+
]),
|
|
7711
|
+
_: 1
|
|
7712
|
+
/* STABLE */
|
|
7713
|
+
}, 8, ["use-url"])
|
|
7714
|
+
]),
|
|
7715
|
+
_: 1
|
|
7716
|
+
/* STABLE */
|
|
7717
|
+
});
|
|
7718
|
+
};
|
|
7719
|
+
}
|
|
7720
|
+
});
|
|
7721
|
+
const AttendanceStaff_vue_vue_type_style_index_0_scoped_724535b0_lang = "";
|
|
7722
|
+
const AttendanceStaff = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-724535b0"]]);
|
|
7723
|
+
const _hoisted_1 = { class: "flex flex-wrap" };
|
|
7724
|
+
const _hoisted_2 = { class: "mt-2" };
|
|
7725
|
+
const _hoisted_3 = { class: "mt-2" };
|
|
7726
|
+
const _hoisted_4 = {
|
|
7727
|
+
key: 3,
|
|
7728
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
7729
|
+
};
|
|
7730
|
+
const _hoisted_5 = { class: "text-right text-fg-subdued text-sm" };
|
|
7731
|
+
const _hoisted_6 = {
|
|
7732
|
+
key: 4,
|
|
7733
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
7734
|
+
};
|
|
7735
|
+
const _hoisted_7 = { class: "text-right text-fg-subdued text-sm" };
|
|
7736
|
+
const _hoisted_8 = {
|
|
7737
|
+
key: 5,
|
|
7738
|
+
class: "grid gap-2 sm:grid-cols-2"
|
|
7739
|
+
};
|
|
7740
|
+
const _hoisted_9 = { class: "text-right text-fg-subdued text-sm" };
|
|
7741
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7742
|
+
__name: "AttendanceManager",
|
|
7743
|
+
setup(__props) {
|
|
7744
|
+
var _a;
|
|
7745
|
+
const {
|
|
7746
|
+
fields,
|
|
7747
|
+
id,
|
|
7748
|
+
initialValues,
|
|
7749
|
+
values,
|
|
7750
|
+
isLoading,
|
|
7751
|
+
isChanged,
|
|
7752
|
+
isReady,
|
|
7753
|
+
isMain,
|
|
7754
|
+
isNew,
|
|
7755
|
+
saveOne,
|
|
7756
|
+
discardChanges,
|
|
7757
|
+
syncOne,
|
|
7758
|
+
executeOne
|
|
7759
|
+
} = useSingle();
|
|
7760
|
+
const key = ref(0);
|
|
7761
|
+
const diff = computed(() => {
|
|
7762
|
+
return DateUtil.day(values.value.endedAt).diff(values.value.startedAt);
|
|
7763
|
+
});
|
|
7764
|
+
const duration = computed(() => {
|
|
7765
|
+
if (isNaN(diff.value))
|
|
7766
|
+
return "-";
|
|
7767
|
+
const duration2 = DateUtil.day.duration(diff.value);
|
|
7768
|
+
return duration2.format("HH [jam] mm [menit]");
|
|
7769
|
+
});
|
|
7770
|
+
const reverseDiff = computed(() => {
|
|
7771
|
+
return DateUtil.day(values.value.startedAt).diff(values.value.endedAt);
|
|
7772
|
+
});
|
|
7773
|
+
const reverseDuration = computed(() => {
|
|
7774
|
+
if (isNaN(reverseDiff.value))
|
|
7775
|
+
return "-";
|
|
7776
|
+
const duration2 = DateUtil.day.duration(reverseDiff.value);
|
|
7777
|
+
return duration2.format("HH [jam] mm [menit]");
|
|
7778
|
+
});
|
|
7779
|
+
function onStartedAtUpdate(date) {
|
|
7780
|
+
if (!date)
|
|
7781
|
+
return;
|
|
7782
|
+
const currentEndedendedAt = DateUtil.day(values.value.endedAt);
|
|
7783
|
+
let startedAt = DateUtil.day(date);
|
|
7784
|
+
let endedAt = DateUtil.day(date);
|
|
7785
|
+
startedAt = startedAt.second(0).millisecond(0);
|
|
7786
|
+
endedAt = endedAt.hour(currentEndedendedAt.hour()).minute(currentEndedendedAt.minute()).second(0).millisecond(0);
|
|
7787
|
+
values.value.startedAt = startedAt.toISOString();
|
|
7788
|
+
values.value.endedAt = endedAt.toISOString();
|
|
7789
|
+
}
|
|
7790
|
+
const { staff } = useOperasional();
|
|
7791
|
+
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
7792
|
+
watch(
|
|
7793
|
+
isNew,
|
|
7794
|
+
(isNew2) => {
|
|
7795
|
+
if (!isNew2)
|
|
7796
|
+
return;
|
|
7797
|
+
values.value.submitStaffId = staffId;
|
|
7798
|
+
values.value.submitStaff = staff.value;
|
|
7799
|
+
},
|
|
7800
|
+
{
|
|
7801
|
+
immediate: true
|
|
7802
|
+
}
|
|
7803
|
+
);
|
|
7804
|
+
const approvedAbsensi = async () => {
|
|
7805
|
+
await executeOne("approvedAttendance", { attendanceId: id.value });
|
|
7806
|
+
await syncOne();
|
|
7807
|
+
};
|
|
7808
|
+
const deleteAbsensi = async () => {
|
|
7809
|
+
await executeOne("deleteAttendance", { attendanceId: id.value });
|
|
7810
|
+
await syncOne();
|
|
7811
|
+
window.location.href = "/penugasan/manager-attendances";
|
|
7812
|
+
};
|
|
7813
|
+
return (_ctx, _cache) => {
|
|
7814
|
+
return openBlock(), createBlock(unref(NeonSingle), { class: "neu-attendance-single" }, {
|
|
7815
|
+
default: withCtx(() => [
|
|
7816
|
+
createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
|
|
7817
|
+
default: withCtx(() => [
|
|
7818
|
+
createVNode(unref(OfficeTab), {
|
|
7819
|
+
handle: "info",
|
|
7820
|
+
icon: "circle-info",
|
|
7821
|
+
title: "Info"
|
|
7822
|
+
}, {
|
|
7823
|
+
default: withCtx(() => [
|
|
7824
|
+
createVNode(unref(NeonForm), {
|
|
7825
|
+
handle: "info",
|
|
7826
|
+
"initial-values": unref(initialValues),
|
|
7827
|
+
"is-loading": unref(isLoading),
|
|
7828
|
+
"is-changed": unref(isChanged),
|
|
7829
|
+
"use-unsaved": "",
|
|
7830
|
+
onCancel: unref(discardChanges),
|
|
7831
|
+
onSubmit: unref(saveOne)
|
|
7832
|
+
}, {
|
|
7833
|
+
default: withCtx(() => [
|
|
7834
|
+
createElementVNode("div", _hoisted_1, [
|
|
7835
|
+
createElementVNode("div", _hoisted_2, [
|
|
7836
|
+
createVNode(unref(NeonField), null, {
|
|
7837
|
+
input: withCtx(() => [
|
|
7838
|
+
createVNode(unref(NeonButton), {
|
|
7839
|
+
size: "md",
|
|
7840
|
+
color: "success",
|
|
7841
|
+
"icon-left": "check",
|
|
7842
|
+
"is-disabled": unref(values).status == "approved",
|
|
7843
|
+
onClick: approvedAbsensi
|
|
7844
|
+
}, {
|
|
7845
|
+
default: withCtx(() => [
|
|
7846
|
+
createTextVNode("Disetujui")
|
|
7847
|
+
]),
|
|
7848
|
+
_: 1
|
|
7849
|
+
/* STABLE */
|
|
7850
|
+
}, 8, ["is-disabled"])
|
|
7851
|
+
]),
|
|
7852
|
+
_: 1
|
|
7853
|
+
/* STABLE */
|
|
7854
|
+
})
|
|
7855
|
+
]),
|
|
7856
|
+
createTextVNode(" "),
|
|
7857
|
+
createElementVNode("div", _hoisted_3, [
|
|
7858
|
+
createVNode(unref(NeonField), null, {
|
|
7859
|
+
input: withCtx(() => [
|
|
7860
|
+
createVNode(unref(NeonButton), {
|
|
7861
|
+
size: "md",
|
|
7862
|
+
color: "danger",
|
|
7863
|
+
"icon-left": "trash-can",
|
|
7864
|
+
onClick: deleteAbsensi
|
|
7865
|
+
}, {
|
|
7866
|
+
default: withCtx(() => [
|
|
7867
|
+
createTextVNode("Dihapus")
|
|
7868
|
+
]),
|
|
7869
|
+
_: 1
|
|
7870
|
+
/* STABLE */
|
|
7871
|
+
})
|
|
7872
|
+
]),
|
|
7873
|
+
_: 1
|
|
7874
|
+
/* STABLE */
|
|
7875
|
+
})
|
|
7876
|
+
])
|
|
7877
|
+
]),
|
|
7878
|
+
createVNode(unref(OfficeRelation), {
|
|
7879
|
+
modelValue: unref(values),
|
|
7880
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7881
|
+
field: unref(fields).submitStaff,
|
|
7882
|
+
"is-disabled": ""
|
|
7883
|
+
}, null, 8, ["modelValue", "field"]),
|
|
7884
|
+
(openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7885
|
+
key: key.value,
|
|
7886
|
+
"model-value": unref(values).startedAt
|
|
7887
|
+
}, {
|
|
7888
|
+
handle: "startedAt",
|
|
7889
|
+
name: "Tanggal",
|
|
7890
|
+
type: "date",
|
|
7891
|
+
input: "date2",
|
|
7892
|
+
options: {
|
|
7893
|
+
note: "Tanggal absensi."
|
|
7894
|
+
}
|
|
7895
|
+
}, {
|
|
7896
|
+
"is-disabled": unref(values).status == "approved",
|
|
7897
|
+
"onUpdate:modelValue": onStartedAtUpdate
|
|
7898
|
+
}), null, 16, ["model-value", "is-disabled"])),
|
|
7899
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7900
|
+
modelValue: unref(values).type,
|
|
7901
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
|
|
7902
|
+
}, unref(fields).type, {
|
|
7903
|
+
"is-disabled": unref(values).status == "approved"
|
|
7904
|
+
}), null, 16, ["modelValue", "is-disabled"]),
|
|
7905
|
+
createVNode(unref(OfficeRelation), {
|
|
7906
|
+
modelValue: unref(values),
|
|
7907
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7908
|
+
field: unref(fields).decideStaff,
|
|
7909
|
+
"is-disabled": unref(values).status == "approved"
|
|
7910
|
+
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
7911
|
+
unref(isNew) || unref(isReady) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7912
|
+
key: 0,
|
|
7913
|
+
modelValue: unref(values).notes,
|
|
7914
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(values).notes = $event)
|
|
7915
|
+
}, unref(fields).notes), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
7916
|
+
unref(values).type ? (openBlock(), createBlock(unref(NeonDivider), {
|
|
7917
|
+
key: 1,
|
|
7918
|
+
"is-dashed": "",
|
|
7919
|
+
label: "Keterangan"
|
|
7920
|
+
})) : createCommentVNode("v-if", true),
|
|
7921
|
+
unref(values).type == "dayOff" || unref(values).type == "sick" || unref(values).type == "permission" || unref(values).type == "leave" ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7922
|
+
key: 2,
|
|
7923
|
+
modelValue: unref(values).submittedAt,
|
|
7924
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).submittedAt = $event)
|
|
7925
|
+
}, unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
7926
|
+
createCommentVNode(" EARLY GO HOME "),
|
|
7927
|
+
unref(values).type == "homeEarly" ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
7928
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7929
|
+
modelValue: unref(values).startedAt,
|
|
7930
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).startedAt = $event)
|
|
7931
|
+
}, {
|
|
7932
|
+
handle: "startedAt",
|
|
7933
|
+
name: "Jam Pulang Kerja",
|
|
7934
|
+
options: {
|
|
7935
|
+
note: "Jam pulang kerja."
|
|
7936
|
+
}
|
|
7937
|
+
}), {
|
|
7938
|
+
input: withCtx(() => [
|
|
7939
|
+
createVNode(unref(NeonTime), {
|
|
7940
|
+
modelValue: unref(values).startedAt,
|
|
7941
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).startedAt = $event),
|
|
7942
|
+
"is-loading": unref(isLoading),
|
|
7943
|
+
class: "mt-2"
|
|
7944
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
7945
|
+
]),
|
|
7946
|
+
_: 1
|
|
7947
|
+
/* STABLE */
|
|
7948
|
+
}, 16, ["modelValue"]),
|
|
7949
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7950
|
+
modelValue: unref(values).endedAt,
|
|
7951
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).endedAt = $event)
|
|
7952
|
+
}, {
|
|
7953
|
+
handle: "endedAt",
|
|
7954
|
+
name: "Jam Pulang Lebih Awal",
|
|
7955
|
+
options: {
|
|
7956
|
+
note: "Jam pulang lebih awal."
|
|
7957
|
+
}
|
|
7958
|
+
}), {
|
|
7959
|
+
input: withCtx(() => [
|
|
7960
|
+
createVNode(unref(NeonTime), {
|
|
7961
|
+
modelValue: unref(values).endedAt,
|
|
7962
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).endedAt = $event),
|
|
7963
|
+
"is-loading": unref(isLoading),
|
|
7964
|
+
class: "mt-2"
|
|
7965
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
7966
|
+
createElementVNode(
|
|
7967
|
+
"div",
|
|
7968
|
+
_hoisted_5,
|
|
7969
|
+
toDisplayString(reverseDuration.value),
|
|
7970
|
+
1
|
|
7971
|
+
/* TEXT */
|
|
7972
|
+
)
|
|
7973
|
+
]),
|
|
7974
|
+
_: 1
|
|
7975
|
+
/* STABLE */
|
|
7976
|
+
}, 16, ["modelValue"])
|
|
7977
|
+
])) : createCommentVNode("v-if", true),
|
|
7978
|
+
createCommentVNode(" COME TOO LATE "),
|
|
7979
|
+
unref(values).type == "comeLate" ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
7980
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7981
|
+
modelValue: unref(values).startedAt,
|
|
7982
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).startedAt = $event)
|
|
7983
|
+
}, {
|
|
7984
|
+
handle: "startedAt",
|
|
7985
|
+
name: "Jam Datang",
|
|
7986
|
+
options: {
|
|
7987
|
+
note: "Jam Datang kerja."
|
|
7988
|
+
}
|
|
7989
|
+
}), {
|
|
7990
|
+
input: withCtx(() => [
|
|
7991
|
+
createVNode(unref(NeonTime), {
|
|
7992
|
+
modelValue: unref(values).startedAt,
|
|
7993
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).startedAt = $event),
|
|
7994
|
+
"is-loading": unref(isLoading),
|
|
7995
|
+
class: "mt-2"
|
|
7996
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
7997
|
+
]),
|
|
7998
|
+
_: 1
|
|
7999
|
+
/* STABLE */
|
|
8000
|
+
}, 16, ["modelValue"]),
|
|
8001
|
+
createVNode(unref(NeonField), mergeProps({
|
|
8002
|
+
modelValue: unref(values).endedAt,
|
|
8003
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).endedAt = $event)
|
|
8004
|
+
}, {
|
|
8005
|
+
handle: "endedAt",
|
|
8006
|
+
name: "Jam Datang Terlambat",
|
|
8007
|
+
options: {
|
|
8008
|
+
note: "Jam datang terlambat."
|
|
8009
|
+
}
|
|
8010
|
+
}), {
|
|
8011
|
+
input: withCtx(() => [
|
|
8012
|
+
createVNode(unref(NeonTime), {
|
|
8013
|
+
modelValue: unref(values).endedAt,
|
|
8014
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).endedAt = $event),
|
|
8015
|
+
"is-loading": unref(isLoading),
|
|
8016
|
+
class: "mt-2"
|
|
8017
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
8018
|
+
createElementVNode(
|
|
8019
|
+
"div",
|
|
8020
|
+
_hoisted_7,
|
|
8021
|
+
toDisplayString(duration.value),
|
|
8022
|
+
1
|
|
8023
|
+
/* TEXT */
|
|
8024
|
+
)
|
|
8025
|
+
]),
|
|
8026
|
+
_: 1
|
|
8027
|
+
/* STABLE */
|
|
8028
|
+
}, 16, ["modelValue"])
|
|
8029
|
+
])) : createCommentVNode("v-if", true),
|
|
8030
|
+
createCommentVNode(" TIMEOUT "),
|
|
8031
|
+
unref(values).type == "timeout" ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
8032
|
+
createVNode(unref(NeonField), mergeProps({
|
|
8033
|
+
modelValue: unref(values).startedAt,
|
|
8034
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).startedAt = $event)
|
|
8035
|
+
}, {
|
|
8036
|
+
handle: "startedAt",
|
|
8037
|
+
name: "Mulai",
|
|
8038
|
+
options: {
|
|
8039
|
+
note: "Jam mulai."
|
|
8040
|
+
}
|
|
8041
|
+
}), {
|
|
8042
|
+
input: withCtx(() => [
|
|
8043
|
+
createVNode(unref(NeonTime), {
|
|
8044
|
+
modelValue: unref(values).startedAt,
|
|
8045
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).startedAt = $event),
|
|
8046
|
+
"is-loading": unref(isLoading),
|
|
8047
|
+
class: "mt-2"
|
|
8048
|
+
}, null, 8, ["modelValue", "is-loading"])
|
|
8049
|
+
]),
|
|
8050
|
+
_: 1
|
|
8051
|
+
/* STABLE */
|
|
8052
|
+
}, 16, ["modelValue"]),
|
|
8053
|
+
createVNode(unref(NeonField), mergeProps({
|
|
8054
|
+
modelValue: unref(values).endedAt,
|
|
8055
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(values).endedAt = $event)
|
|
8056
|
+
}, {
|
|
8057
|
+
handle: "endedAt",
|
|
8058
|
+
name: "Selesai",
|
|
8059
|
+
options: {
|
|
8060
|
+
note: "Jam selesai."
|
|
8061
|
+
}
|
|
8062
|
+
}), {
|
|
8063
|
+
input: withCtx(() => [
|
|
8064
|
+
createVNode(unref(NeonTime), {
|
|
8065
|
+
modelValue: unref(values).endedAt,
|
|
8066
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).endedAt = $event),
|
|
8067
|
+
"is-loading": unref(isLoading),
|
|
8068
|
+
class: "mt-2"
|
|
8069
|
+
}, null, 8, ["modelValue", "is-loading"]),
|
|
8070
|
+
createElementVNode(
|
|
8071
|
+
"div",
|
|
8072
|
+
_hoisted_9,
|
|
8073
|
+
toDisplayString(duration.value),
|
|
8074
|
+
1
|
|
8075
|
+
/* TEXT */
|
|
8076
|
+
)
|
|
8077
|
+
]),
|
|
8078
|
+
_: 1
|
|
8079
|
+
/* STABLE */
|
|
8080
|
+
}, 16, ["modelValue"])
|
|
8081
|
+
])) : createCommentVNode("v-if", true)
|
|
8082
|
+
]),
|
|
8083
|
+
_: 1
|
|
8084
|
+
/* STABLE */
|
|
8085
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
8086
|
+
]),
|
|
8087
|
+
_: 1
|
|
8088
|
+
/* STABLE */
|
|
8089
|
+
})
|
|
8090
|
+
]),
|
|
8091
|
+
_: 1
|
|
8092
|
+
/* STABLE */
|
|
8093
|
+
}, 8, ["use-url"])
|
|
8094
|
+
]),
|
|
8095
|
+
_: 1
|
|
8096
|
+
/* STABLE */
|
|
8097
|
+
});
|
|
8098
|
+
};
|
|
8099
|
+
}
|
|
8100
|
+
});
|
|
8101
|
+
const AttendanceManager_vue_vue_type_style_index_0_scoped_643cca03_lang = "";
|
|
8102
|
+
const AttendanceManager = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-643cca03"]]);
|
|
7430
8103
|
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7431
8104
|
__proto__: null,
|
|
8105
|
+
AttendanceCollection: _sfc_main$3,
|
|
8106
|
+
AttendanceManager,
|
|
8107
|
+
AttendanceModel,
|
|
8108
|
+
AttendanceSingle,
|
|
8109
|
+
AttendanceStaff,
|
|
7432
8110
|
CheckInAccess,
|
|
7433
|
-
CheckInCollection: _sfc_main$
|
|
8111
|
+
CheckInCollection: _sfc_main$J,
|
|
7434
8112
|
CheckInExternal,
|
|
7435
8113
|
CheckInModel,
|
|
7436
8114
|
CheckInPresenceCollection,
|
|
7437
|
-
CheckInScanError: _sfc_main$
|
|
7438
|
-
CheckInScanSuccess: _sfc_main$
|
|
8115
|
+
CheckInScanError: _sfc_main$M,
|
|
8116
|
+
CheckInScanSuccess: _sfc_main$K,
|
|
7439
8117
|
CheckInScanner,
|
|
7440
8118
|
CheckInSingle,
|
|
7441
8119
|
NeonTime,
|
|
7442
8120
|
OperasionalIdentitas,
|
|
7443
|
-
PlanCollection: _sfc_main$
|
|
8121
|
+
PlanCollection: _sfc_main$b,
|
|
7444
8122
|
PlanModel,
|
|
7445
8123
|
PlanSingle,
|
|
7446
8124
|
PlanStaff,
|
|
7447
|
-
PlanTypeCollection: _sfc_main$
|
|
8125
|
+
PlanTypeCollection: _sfc_main$d,
|
|
7448
8126
|
PlanTypeModel,
|
|
7449
8127
|
PlanTypeSingle,
|
|
7450
|
-
ProgressButton: _sfc_main$
|
|
8128
|
+
ProgressButton: _sfc_main$8,
|
|
7451
8129
|
ProgressCollection,
|
|
7452
8130
|
ProgressModel,
|
|
7453
8131
|
ProgressSingle,
|
|
7454
8132
|
ProgressTomorrow,
|
|
7455
8133
|
ProgressYesterday,
|
|
7456
|
-
ResponsibilityCollection: _sfc_main$
|
|
8134
|
+
ResponsibilityCollection: _sfc_main$j,
|
|
7457
8135
|
ResponsibilityModel,
|
|
7458
8136
|
ResponsibilitySingle,
|
|
7459
8137
|
ResponsibilityStaff,
|
|
7460
|
-
ResponsibilityTypeCollection: _sfc_main$
|
|
8138
|
+
ResponsibilityTypeCollection: _sfc_main$l,
|
|
7461
8139
|
ResponsibilityTypeModel,
|
|
7462
8140
|
ResponsibilityTypeSingle,
|
|
7463
|
-
SituationCollection: _sfc_main$
|
|
8141
|
+
SituationCollection: _sfc_main$E,
|
|
7464
8142
|
SituationModel,
|
|
7465
|
-
SituationSingle: _sfc_main$
|
|
7466
|
-
SituationSupportive: _sfc_main$
|
|
7467
|
-
SituationTypeCollection: _sfc_main$
|
|
8143
|
+
SituationSingle: _sfc_main$D,
|
|
8144
|
+
SituationSupportive: _sfc_main$B,
|
|
8145
|
+
SituationTypeCollection: _sfc_main$A,
|
|
7468
8146
|
SituationTypeModel,
|
|
7469
|
-
SituationTypeSingle: _sfc_main$
|
|
7470
|
-
SituationWork: _sfc_main$
|
|
7471
|
-
StaffCollection: _sfc_main$
|
|
7472
|
-
StaffIdentity: _sfc_main$
|
|
8147
|
+
SituationTypeSingle: _sfc_main$z,
|
|
8148
|
+
SituationWork: _sfc_main$C,
|
|
8149
|
+
StaffCollection: _sfc_main$I,
|
|
8150
|
+
StaffIdentity: _sfc_main$F,
|
|
7473
8151
|
StaffModel,
|
|
7474
8152
|
StaffOperasional,
|
|
7475
8153
|
StaffSingle,
|
|
7476
8154
|
SubmissionAudit,
|
|
7477
|
-
SubmissionCollection: _sfc_main$
|
|
8155
|
+
SubmissionCollection: _sfc_main$u,
|
|
7478
8156
|
SubmissionDecision,
|
|
7479
8157
|
SubmissionFollowUp,
|
|
7480
8158
|
SubmissionModel,
|
|
7481
8159
|
SubmissionSingle,
|
|
7482
8160
|
SubmissionStaff,
|
|
7483
|
-
SubmissionTypeCollection: _sfc_main$
|
|
8161
|
+
SubmissionTypeCollection: _sfc_main$n,
|
|
7484
8162
|
SubmissionTypeModel,
|
|
7485
8163
|
SubmissionTypeSingle,
|
|
7486
8164
|
SubmissionWaitingDecision,
|
|
7487
8165
|
TargetBranch,
|
|
7488
|
-
TargetCollection: _sfc_main$
|
|
8166
|
+
TargetCollection: _sfc_main$g,
|
|
7489
8167
|
TargetModel,
|
|
7490
8168
|
TargetSingle,
|
|
7491
|
-
TaskCollection: _sfc_main$
|
|
8169
|
+
TaskCollection: _sfc_main$x,
|
|
7492
8170
|
TaskModel,
|
|
7493
|
-
TaskSingle: _sfc_main$
|
|
7494
|
-
TaskWork: _sfc_main$
|
|
7495
|
-
TaskWorkButton: _sfc_main$
|
|
7496
|
-
XxxButton: _sfc_main$
|
|
8171
|
+
TaskSingle: _sfc_main$w,
|
|
8172
|
+
TaskWork: _sfc_main$v,
|
|
8173
|
+
TaskWorkButton: _sfc_main$y,
|
|
8174
|
+
XxxButton: _sfc_main$T
|
|
7497
8175
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7498
8176
|
function registerComponents(app) {
|
|
7499
8177
|
Object.entries(components).forEach(([name, component]) => {
|
|
@@ -7509,74 +8187,79 @@ const OperasionalInterfacesPlugin = {
|
|
|
7509
8187
|
}
|
|
7510
8188
|
};
|
|
7511
8189
|
export {
|
|
8190
|
+
_sfc_main$3 as AttendanceCollection,
|
|
8191
|
+
AttendanceManager,
|
|
8192
|
+
AttendanceModel,
|
|
8193
|
+
AttendanceSingle,
|
|
8194
|
+
AttendanceStaff,
|
|
7512
8195
|
CheckInAccess,
|
|
7513
|
-
_sfc_main$
|
|
8196
|
+
_sfc_main$J as CheckInCollection,
|
|
7514
8197
|
CheckInExternal,
|
|
7515
8198
|
CheckInModel,
|
|
7516
8199
|
CheckInPresenceCollection,
|
|
7517
|
-
_sfc_main$
|
|
7518
|
-
_sfc_main$
|
|
8200
|
+
_sfc_main$M as CheckInScanError,
|
|
8201
|
+
_sfc_main$K as CheckInScanSuccess,
|
|
7519
8202
|
CheckInScanner,
|
|
7520
8203
|
CheckInSingle,
|
|
7521
8204
|
operasional_types as NOperasional,
|
|
7522
8205
|
NeonTime,
|
|
7523
8206
|
OperasionalIdentitas,
|
|
7524
8207
|
OperasionalInterfacesPlugin,
|
|
7525
|
-
_sfc_main$
|
|
8208
|
+
_sfc_main$b as PlanCollection,
|
|
7526
8209
|
PlanModel,
|
|
7527
8210
|
PlanSingle,
|
|
7528
8211
|
PlanStaff,
|
|
7529
|
-
_sfc_main$
|
|
8212
|
+
_sfc_main$d as PlanTypeCollection,
|
|
7530
8213
|
PlanTypeModel,
|
|
7531
8214
|
PlanTypeSingle,
|
|
7532
|
-
_sfc_main$
|
|
8215
|
+
_sfc_main$8 as ProgressButton,
|
|
7533
8216
|
ProgressCollection,
|
|
7534
8217
|
ProgressModel,
|
|
7535
8218
|
ProgressSingle,
|
|
7536
8219
|
ProgressTomorrow,
|
|
7537
8220
|
ProgressYesterday,
|
|
7538
|
-
_sfc_main$
|
|
8221
|
+
_sfc_main$j as ResponsibilityCollection,
|
|
7539
8222
|
ResponsibilityModel,
|
|
7540
8223
|
ResponsibilitySingle,
|
|
7541
8224
|
ResponsibilityStaff,
|
|
7542
|
-
_sfc_main$
|
|
8225
|
+
_sfc_main$l as ResponsibilityTypeCollection,
|
|
7543
8226
|
ResponsibilityTypeModel,
|
|
7544
8227
|
ResponsibilityTypeSingle,
|
|
7545
8228
|
graphql as Schema,
|
|
7546
|
-
_sfc_main$
|
|
8229
|
+
_sfc_main$E as SituationCollection,
|
|
7547
8230
|
SituationModel,
|
|
7548
|
-
_sfc_main$
|
|
7549
|
-
_sfc_main$
|
|
7550
|
-
_sfc_main$
|
|
8231
|
+
_sfc_main$D as SituationSingle,
|
|
8232
|
+
_sfc_main$B as SituationSupportive,
|
|
8233
|
+
_sfc_main$A as SituationTypeCollection,
|
|
7551
8234
|
SituationTypeModel,
|
|
7552
|
-
_sfc_main$
|
|
7553
|
-
_sfc_main$
|
|
7554
|
-
_sfc_main$
|
|
7555
|
-
_sfc_main$
|
|
8235
|
+
_sfc_main$z as SituationTypeSingle,
|
|
8236
|
+
_sfc_main$C as SituationWork,
|
|
8237
|
+
_sfc_main$I as StaffCollection,
|
|
8238
|
+
_sfc_main$F as StaffIdentity,
|
|
7556
8239
|
StaffModel,
|
|
7557
8240
|
StaffOperasional,
|
|
7558
8241
|
StaffSingle,
|
|
7559
8242
|
SubmissionAudit,
|
|
7560
|
-
_sfc_main$
|
|
8243
|
+
_sfc_main$u as SubmissionCollection,
|
|
7561
8244
|
SubmissionDecision,
|
|
7562
8245
|
SubmissionFollowUp,
|
|
7563
8246
|
SubmissionModel,
|
|
7564
8247
|
SubmissionSingle,
|
|
7565
8248
|
SubmissionStaff,
|
|
7566
|
-
_sfc_main$
|
|
8249
|
+
_sfc_main$n as SubmissionTypeCollection,
|
|
7567
8250
|
SubmissionTypeModel,
|
|
7568
8251
|
SubmissionTypeSingle,
|
|
7569
8252
|
SubmissionWaitingDecision,
|
|
7570
8253
|
TargetBranch,
|
|
7571
|
-
_sfc_main$
|
|
8254
|
+
_sfc_main$g as TargetCollection,
|
|
7572
8255
|
TargetModel,
|
|
7573
8256
|
TargetSingle,
|
|
7574
|
-
_sfc_main$
|
|
8257
|
+
_sfc_main$x as TaskCollection,
|
|
7575
8258
|
TaskModel,
|
|
7576
|
-
_sfc_main$
|
|
7577
|
-
_sfc_main$
|
|
7578
|
-
_sfc_main$
|
|
7579
|
-
_sfc_main$
|
|
8259
|
+
_sfc_main$w as TaskSingle,
|
|
8260
|
+
_sfc_main$v as TaskWork,
|
|
8261
|
+
_sfc_main$y as TaskWorkButton,
|
|
8262
|
+
_sfc_main$T as XxxButton,
|
|
7580
8263
|
bus,
|
|
7581
8264
|
useAttendanceStore,
|
|
7582
8265
|
useOperasional,
|