@neutron.co.id/operasional-interfaces 1.14.4-beta.1 → 1.14.7-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { GraphUtil } from "@neon.id/context";
2
- import { models as checkIn } from "@neutron.co.id/tempat-models";
2
+ import { models as checkIn } from "@neutron.co.id/sentral-models";
3
3
  import { useClientHandle } from "@urql/vue";
4
4
  import { defineStore } from "pinia";
5
5
  export const useAttendanceStore = defineStore("neu:personalia:attendance", {
@@ -334,26 +334,14 @@ async function generate() {
334
334
  <NeonFields md="grid-cols-3">
335
335
  <NeonField
336
336
  v-model="values.startedAt"
337
- v-bind="{
338
- handle: 'startedAt',
339
- name: 'Tanggal Mulai',
340
- options: {
341
- note: 'Tanggal mulai absensi.',
342
- },
343
- }"
337
+ v-bind="fields.startedAt"
344
338
  :is-disabled="
345
339
  values.status == 'approved' || values.isGenerate === true
346
340
  "
347
341
  />
348
342
  <NeonField
349
343
  v-model="values.endedAt"
350
- v-bind="{
351
- handle: 'endedAt',
352
- name: 'Tanggal Selesai',
353
- options: {
354
- note: 'Tanggal selesai absensi.',
355
- },
356
- }"
344
+ v-bind="fields.endedAt"
357
345
  :is-disabled="
358
346
  values.status == 'approved' || values.isGenerate === true
359
347
  "
@@ -302,26 +302,14 @@ async function generate() {
302
302
  <NeonFields md="grid-cols-3">
303
303
  <NeonField
304
304
  v-model="values.startedAt"
305
- v-bind="{
306
- handle: 'startedAt',
307
- name: 'Tanggal Mulai',
308
- options: {
309
- note: 'Tanggal mulai absensi.',
310
- },
311
- }"
305
+ v-bind="fields.startedAt"
312
306
  :is-disabled="
313
307
  values.status == 'approved' || values.isGenerate === true
314
308
  "
315
309
  />
316
310
  <NeonField
317
311
  v-model="values.endedAt"
318
- v-bind="{
319
- handle: 'endedAt',
320
- name: 'Tanggal Selesai',
321
- options: {
322
- note: 'Tanggal selesai absensi.',
323
- },
324
- }"
312
+ v-bind="fields.endedAt"
325
313
  :is-disabled="
326
314
  values.status == 'approved' || values.isGenerate === true
327
315
  "
@@ -1,7 +1,7 @@
1
1
  import { decorateCollection, viewCollection, wrapCollection } from "@mock";
2
2
  import { StoryUtil } from "@neon.id/story/helpers";
3
3
  import { CheckInCollectionView } from "@neutron.co.id/operasional-modules";
4
- import { CheckInModel } from "@neutron.co.id/tempat-models";
4
+ import { CheckInModel } from "@neutron.co.id/sentral-models";
5
5
  import CheckInCollection from "./CheckInCollection.vue";
6
6
  export default {
7
7
  title: "Office/CheckIn/Collection",
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { NeonCollection, useCollection } from '@neon.id/context'
3
3
  import { OfficeCollectionTable } from '@neon.id/office'
4
- import type { TTempatCheckInModel } from '@neutron.co.id/tempat-models'
4
+ import type { TTempatCheckInModel } from '@neutron.co.id/sentral-models'
5
5
  import type { Schema } from '@neutron.co.id/personalia-models'
6
6
 
7
7
  defineOptions({
@@ -7,7 +7,7 @@ import { computed, watch } from 'vue'
7
7
  import type { Schema } from '@neutron.co.id/personalia-models'
8
8
  import { PromiseUtil } from '@neon.id/utils/promise'
9
9
  import { useGeolocation } from '@vueuse/core'
10
- import type { TTempatCheckInModel } from '@neutron.co.id/tempat-models'
10
+ import type { TTempatCheckInModel } from '@neutron.co.id/sentral-models'
11
11
  import { useOperasional } from '../../../common'
12
12
 
13
13
  const {
@@ -15,7 +15,7 @@ import {
15
15
  OfficePeekSingle,
16
16
  } from '@neon.id/office'
17
17
  import { Query } from '@neon.id/query'
18
- import { models as checkIn } from '@neutron.co.id/tempat-models'
18
+ import { models as checkIn } from '@neutron.co.id/sentral-models'
19
19
  import { storeToRefs } from 'pinia'
20
20
  import { computed, ref } from 'vue'
21
21
  import { useClientHandle } from '@urql/vue'
@@ -1,6 +1,6 @@
1
1
  import { decorateSingle, viewSingle, wrapSingle } from "@mock";
2
2
  import { StoryUtil } from "@neon.id/story/helpers";
3
- import { CheckInModel } from "@neutron.co.id/tempat-models";
3
+ import { CheckInModel } from "@neutron.co.id/sentral-models";
4
4
  import { CheckInSingleView } from "@neutron.co.id/operasional-modules";
5
5
  import CheckInSingle from "./CheckInSingle.vue";
6
6
  export default {
@@ -3,7 +3,7 @@ import { NeonSingle, useSingle } from '@neon.id/context'
3
3
  import { NeonField, NeonForm } from '@neon.id/form'
4
4
  import { OfficeRelation, OfficeTab, OfficeTabs } from '@neon.id/office'
5
5
  import { onMounted } from 'vue'
6
- import type { TTempatCheckInModel } from '@neutron.co.id/tempat-models'
6
+ import type { TTempatCheckInModel } from '@neutron.co.id/sentral-models'
7
7
  import type { Schema } from '@neutron.co.id/personalia-models'
8
8
  import { useOperasional } from '../../../../common'
9
9
 
@@ -4,7 +4,7 @@ import { NeonField, NeonForm } from '@neon.id/form'
4
4
  import { OfficeRelation, OfficeTab, OfficeTabs } from '@neon.id/office'
5
5
  import { useRoute } from 'vue-router'
6
6
  import { computed, onMounted } from 'vue'
7
- import type { TTempatCheckInModel } from '@neutron.co.id/tempat-models'
7
+ import type { TTempatCheckInModel } from '@neutron.co.id/sentral-models'
8
8
  import type { Schema } from '@neutron.co.id/personalia-models'
9
9
  import { useOperasional } from '../../../common'
10
10
 
@@ -71,7 +71,17 @@ const saveAndSyncOne = async () => {
71
71
  <NeonField v-model="values.endedAt" v-bind="fields.endedAt" />
72
72
  </NeonFields>
73
73
 
74
- <OfficeRelation v-model="values" :field="fields.planTypes" />
74
+ <OfficeRelation
75
+ v-model="values"
76
+ :field="fields.planTypes"
77
+ :query="
78
+ Query.define({
79
+ filter: {
80
+ branchIds: { $in: values.branchIds },
81
+ },
82
+ })
83
+ "
84
+ />
75
85
 
76
86
  <NeonFields v-if="values.domain == 'marketing'" md="grid-cols-2">
77
87
  <OfficeRelation v-model="values" :field="fields.stages" />
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { CatatPaperPad } from '@neon.id/catat-interfaces'
2
+ import { CatatPaperPad } from '@neon.id/edukasi-interfaces/catat'
3
3
  import { useApp, useSingle } from '@neon.id/context'
4
4
  import { OfficeTab } from '@neon.id/office'
5
5
  import type { NDefinition } from '@neon.id/types'
@@ -40,11 +40,17 @@ const {
40
40
  />
41
41
  </NeonFields>
42
42
  <OfficeRelation v-model="values" :field="fields.branches" />
43
- <OfficeRelation v-model="values" :field="fields.situationType" :query="Query.define({
44
- filter: {
45
- branchIds: { $in: values.branchIds },
46
- }
47
- })" />
43
+ <OfficeRelation
44
+ v-model="values"
45
+ :field="fields.situationType"
46
+ :query="
47
+ Query.define({
48
+ filter: {
49
+ branchIds: { $in: values.branchIds },
50
+ },
51
+ })
52
+ "
53
+ />
48
54
  <OfficeRelation
49
55
  v-model="values"
50
56
  :field="fields.situationReportedBy"
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { CatatSketchPad } from '@neon.id/catat-interfaces'
2
+ import { CatatSketchPad } from '@neon.id/edukasi-interfaces/catat'
3
3
  import { useApp, useSingle } from '@neon.id/context'
4
4
  import { OfficeTab } from '@neon.id/office'
5
5
  import type { NDefinition } from '@neon.id/types'
@@ -24,7 +24,7 @@ const component = require("@neon.id/utils/component");
24
24
  const helpers = require("@neon.id/context/helpers");
25
25
  const context = require("@neon.id/context");
26
26
  const pinia = require("pinia");
27
- const tempatModels = require("@neutron.co.id/tempat-models");
27
+ const sentralModels = require("@neutron.co.id/sentral-models");
28
28
  const vue$1 = require("@urql/vue");
29
29
  const vueRouter = require("vue-router");
30
30
  const query = require("@neon.id/query");
@@ -44,7 +44,7 @@ const durationPlugin = require("dayjs/esm/plugin/duration/index.js");
44
44
  const isoWeek = require("dayjs/esm/plugin/isoWeek/index.js");
45
45
  const relativeTimePlugin = require("dayjs/esm/plugin/relativeTime/index.js");
46
46
  const core = require("@vueuse/core");
47
- const catatInterfaces = require("@neon.id/catat-interfaces");
47
+ const catat = require("@neon.id/edukasi-interfaces/catat");
48
48
  const mock = require("@neon.id/context/mock");
49
49
  const gerbangModels = require("@neon.id/gerbang-models");
50
50
  const kokpitModels = require("@neon.id/kokpit-models");
@@ -11552,7 +11552,7 @@ const useAttendanceStore = pinia.defineStore("neu:personalia:attendance", {
11552
11552
  try {
11553
11553
  this.qrKey = qrKey;
11554
11554
  this.type = type;
11555
- const resp = await client.mutation(context.GraphUtil.executeOne(tempatModels.models.CheckInModel, {}), {
11555
+ const resp = await client.mutation(context.GraphUtil.executeOne(sentralModels.models.CheckInModel, {}), {
11556
11556
  action: "presence",
11557
11557
  input: {
11558
11558
  staffId,
@@ -12612,25 +12612,13 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12612
12612
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
12613
12613
  modelValue: vue.unref(values).startedAt,
12614
12614
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event)
12615
- }, {
12616
- handle: "startedAt",
12617
- name: "Tanggal Mulai",
12618
- options: {
12619
- note: "Tanggal mulai absensi."
12620
- }
12621
- }, {
12615
+ }, vue.unref(fields).startedAt, {
12622
12616
  "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
12623
12617
  }), null, 16, ["modelValue", "is-disabled"]),
12624
12618
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
12625
12619
  modelValue: vue.unref(values).endedAt,
12626
12620
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).endedAt = $event)
12627
- }, {
12628
- handle: "endedAt",
12629
- name: "Tanggal Selesai",
12630
- options: {
12631
- note: "Tanggal selesai absensi."
12632
- }
12633
- }, {
12621
+ }, vue.unref(fields).endedAt, {
12634
12622
  "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
12635
12623
  }), null, 16, ["modelValue", "is-disabled"]),
12636
12624
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -12830,7 +12818,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
12830
12818
  };
12831
12819
  }
12832
12820
  });
12833
- const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-04e65bc4"]]);
12821
+ const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-6c44f6cf"]]);
12834
12822
  const _hoisted_1$p = { class: "flex flex-wrap" };
12835
12823
  const _hoisted_2$i = { class: "mt-2" };
12836
12824
  const _hoisted_3$a = { class: "mt-2" };
@@ -13115,25 +13103,13 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13115
13103
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13116
13104
  modelValue: vue.unref(values).startedAt,
13117
13105
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).startedAt = $event)
13118
- }, {
13119
- handle: "startedAt",
13120
- name: "Tanggal Mulai",
13121
- options: {
13122
- note: "Tanggal mulai absensi."
13123
- }
13124
- }, {
13106
+ }, vue.unref(fields).startedAt, {
13125
13107
  "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
13126
13108
  }), null, 16, ["modelValue", "is-disabled"]),
13127
13109
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
13128
13110
  modelValue: vue.unref(values).endedAt,
13129
13111
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).endedAt = $event)
13130
- }, {
13131
- handle: "endedAt",
13132
- name: "Tanggal Selesai",
13133
- options: {
13134
- note: "Tanggal selesai absensi."
13135
- }
13136
- }, {
13112
+ }, vue.unref(fields).endedAt, {
13137
13113
  "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).isGenerate === true
13138
13114
  }), null, 16, ["modelValue", "is-disabled"]),
13139
13115
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -13327,8 +13303,8 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
13327
13303
  };
13328
13304
  }
13329
13305
  });
13330
- const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-608a3ac5"]]);
13331
- const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-c329f979"), n = n(), vue.popScopeId(), n);
13306
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-5738c075"]]);
13307
+ const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-04009998"), n = n(), vue.popScopeId(), n);
13332
13308
  const _hoisted_1$o = { id: "view-checkIns" };
13333
13309
  const _hoisted_2$h = { class: "summary" };
13334
13310
  const _hoisted_3$9 = { class: "wrapper" };
@@ -13461,7 +13437,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
13461
13437
  let checkInId;
13462
13438
  console.log("bangunan...", qrKey);
13463
13439
  try {
13464
- const resp = await client.mutation(context.GraphUtil.executeOne(tempatModels.models.CheckInModel, {}), {
13440
+ const resp = await client.mutation(context.GraphUtil.executeOne(sentralModels.models.CheckInModel, {}), {
13465
13441
  action: "presence",
13466
13442
  input: {
13467
13443
  userId: userId.value,
@@ -13734,7 +13710,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
13734
13710
  };
13735
13711
  }
13736
13712
  });
13737
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-c329f979"]]);
13713
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-04009998"]]);
13738
13714
  const _hoisted_1$n = { class: "grid gap-4 sm:grid-cols-2" };
13739
13715
  const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
13740
13716
  __name: "CheckInExternal",
@@ -13839,7 +13815,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
13839
13815
  };
13840
13816
  }
13841
13817
  });
13842
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["__scopeId", "data-v-a1338a6d"]]);
13818
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["__scopeId", "data-v-2b39928d"]]);
13843
13819
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-8df96f5c"), n = n(), vue.popScopeId(), n);
13844
13820
  const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
13845
13821
  "h4",
@@ -14692,7 +14668,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14692
14668
  };
14693
14669
  }
14694
14670
  });
14695
- const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["__scopeId", "data-v-3d5b0dba"]]);
14671
+ const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["__scopeId", "data-v-bbde612a"]]);
14696
14672
  const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14697
14673
  ...{
14698
14674
  name: "CheckInCollection"
@@ -14806,7 +14782,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14806
14782
  };
14807
14783
  }
14808
14784
  });
14809
- const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-56761e57"]]);
14785
+ const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-8c1dffae"]]);
14810
14786
  const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14811
14787
  __name: "PlanStaff",
14812
14788
  setup(__props) {
@@ -15070,8 +15046,13 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
15070
15046
  vue.createVNode(vue.unref(office$1.OfficeRelation), {
15071
15047
  modelValue: vue.unref(values),
15072
15048
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
15073
- field: vue.unref(fields).planTypes
15074
- }, null, 8, ["modelValue", "field"]),
15049
+ field: vue.unref(fields).planTypes,
15050
+ query: vue.unref(query.Query).define({
15051
+ filter: {
15052
+ branchIds: { $in: vue.unref(values).branchIds }
15053
+ }
15054
+ })
15055
+ }, null, 8, ["modelValue", "field", "query"]),
15075
15056
  vue.unref(values).domain == "marketing" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonFields), {
15076
15057
  key: 0,
15077
15058
  md: "grid-cols-2"
@@ -15175,7 +15156,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
15175
15156
  };
15176
15157
  }
15177
15158
  });
15178
- const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-f091acfb"]]);
15159
+ const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-88a3a973"]]);
15179
15160
  const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
15180
15161
  ...{
15181
15162
  name: "PlanTypeCollection"
@@ -15332,7 +15313,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
15332
15313
  title: "Catatan"
15333
15314
  }, {
15334
15315
  default: vue.withCtx(({ isTouched }) => [
15335
- vue.createVNode(vue.unref(catatInterfaces.CatatPaperPad), {
15316
+ vue.createVNode(vue.unref(catat.CatatPaperPad), {
15336
15317
  "application-id": vue.unref(appId),
15337
15318
  object: paperObject.value,
15338
15319
  "use-pages": false,
@@ -18932,7 +18913,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18932
18913
  title: "Dokumen"
18933
18914
  }, {
18934
18915
  default: vue.withCtx(({ isTouched }) => [
18935
- vue.createVNode(vue.unref(catatInterfaces.CatatSketchPad), {
18916
+ vue.createVNode(vue.unref(catat.CatatSketchPad), {
18936
18917
  "application-id": vue.unref(appId),
18937
18918
  object: sketchObject.value,
18938
18919
  "use-pages": false,
@@ -22,7 +22,7 @@ import { ComponentUtil } from "@neon.id/utils/component";
22
22
  import { OfficeInterfaces } from "@neon.id/context/helpers";
23
23
  import { GraphUtil, useCollection, NeonCollection, useSingle, NeonSingle, NeonCollectionContext, usePermit, useApp } from "@neon.id/context";
24
24
  import { defineStore, storeToRefs } from "pinia";
25
- import { models as models$2 } from "@neutron.co.id/tempat-models";
25
+ import { models as models$2 } from "@neutron.co.id/sentral-models";
26
26
  import { useClientHandle } from "@urql/vue";
27
27
  import { useRouter, useRoute } from "vue-router";
28
28
  import { Query } from "@neon.id/query";
@@ -42,7 +42,7 @@ import durationPlugin from "dayjs/esm/plugin/duration/index.js";
42
42
  import isoWeek from "dayjs/esm/plugin/isoWeek/index.js";
43
43
  import relativeTimePlugin from "dayjs/esm/plugin/relativeTime/index.js";
44
44
  import { useGeolocation, useIntervalFn, useThrottleFn } from "@vueuse/core";
45
- import { CatatPaperPad, CatatSketchPad } from "@neon.id/catat-interfaces";
45
+ import { CatatPaperPad, CatatSketchPad } from "@neon.id/edukasi-interfaces/catat";
46
46
  import { useMockModels, useMockContext } from "@neon.id/context/mock";
47
47
  import { models as models$5 } from "@neon.id/gerbang-models";
48
48
  import { models as models$4 } from "@neon.id/kokpit-models";
@@ -12593,25 +12593,13 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12593
12593
  createVNode(unref(NeonField), mergeProps({
12594
12594
  modelValue: unref(values).startedAt,
12595
12595
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).startedAt = $event)
12596
- }, {
12597
- handle: "startedAt",
12598
- name: "Tanggal Mulai",
12599
- options: {
12600
- note: "Tanggal mulai absensi."
12601
- }
12602
- }, {
12596
+ }, unref(fields).startedAt, {
12603
12597
  "is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
12604
12598
  }), null, 16, ["modelValue", "is-disabled"]),
12605
12599
  createVNode(unref(NeonField), mergeProps({
12606
12600
  modelValue: unref(values).endedAt,
12607
12601
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).endedAt = $event)
12608
- }, {
12609
- handle: "endedAt",
12610
- name: "Tanggal Selesai",
12611
- options: {
12612
- note: "Tanggal selesai absensi."
12613
- }
12614
- }, {
12602
+ }, unref(fields).endedAt, {
12615
12603
  "is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
12616
12604
  }), null, 16, ["modelValue", "is-disabled"]),
12617
12605
  createVNode(unref(NeonButton), {
@@ -12811,7 +12799,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12811
12799
  };
12812
12800
  }
12813
12801
  });
12814
- const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-04e65bc4"]]);
12802
+ const AttendanceStaff = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["__scopeId", "data-v-6c44f6cf"]]);
12815
12803
  const _hoisted_1$p = { class: "flex flex-wrap" };
12816
12804
  const _hoisted_2$i = { class: "mt-2" };
12817
12805
  const _hoisted_3$a = { class: "mt-2" };
@@ -13096,25 +13084,13 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13096
13084
  createVNode(unref(NeonField), mergeProps({
13097
13085
  modelValue: unref(values).startedAt,
13098
13086
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).startedAt = $event)
13099
- }, {
13100
- handle: "startedAt",
13101
- name: "Tanggal Mulai",
13102
- options: {
13103
- note: "Tanggal mulai absensi."
13104
- }
13105
- }, {
13087
+ }, unref(fields).startedAt, {
13106
13088
  "is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
13107
13089
  }), null, 16, ["modelValue", "is-disabled"]),
13108
13090
  createVNode(unref(NeonField), mergeProps({
13109
13091
  modelValue: unref(values).endedAt,
13110
13092
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).endedAt = $event)
13111
- }, {
13112
- handle: "endedAt",
13113
- name: "Tanggal Selesai",
13114
- options: {
13115
- note: "Tanggal selesai absensi."
13116
- }
13117
- }, {
13093
+ }, unref(fields).endedAt, {
13118
13094
  "is-disabled": unref(values).status == "approved" || unref(values).isGenerate === true
13119
13095
  }), null, 16, ["modelValue", "is-disabled"]),
13120
13096
  createVNode(unref(NeonButton), {
@@ -13308,8 +13284,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13308
13284
  };
13309
13285
  }
13310
13286
  });
13311
- const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-608a3ac5"]]);
13312
- const _withScopeId$2 = (n) => (pushScopeId("data-v-c329f979"), n = n(), popScopeId(), n);
13287
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-5738c075"]]);
13288
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-04009998"), n = n(), popScopeId(), n);
13313
13289
  const _hoisted_1$o = { id: "view-checkIns" };
13314
13290
  const _hoisted_2$h = { class: "summary" };
13315
13291
  const _hoisted_3$9 = { class: "wrapper" };
@@ -13715,7 +13691,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
13715
13691
  };
13716
13692
  }
13717
13693
  });
13718
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-c329f979"]]);
13694
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["__scopeId", "data-v-04009998"]]);
13719
13695
  const _hoisted_1$n = { class: "grid gap-4 sm:grid-cols-2" };
13720
13696
  const _sfc_main$X = /* @__PURE__ */ defineComponent({
13721
13697
  __name: "CheckInExternal",
@@ -13820,7 +13796,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
13820
13796
  };
13821
13797
  }
13822
13798
  });
13823
- const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["__scopeId", "data-v-a1338a6d"]]);
13799
+ const CheckInExternal = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["__scopeId", "data-v-2b39928d"]]);
13824
13800
  const _withScopeId$1 = (n) => (pushScopeId("data-v-8df96f5c"), n = n(), popScopeId(), n);
13825
13801
  const _hoisted_1$m = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
13826
13802
  "h4",
@@ -14673,7 +14649,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14673
14649
  };
14674
14650
  }
14675
14651
  });
14676
- const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["__scopeId", "data-v-3d5b0dba"]]);
14652
+ const CheckInSupervisor = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["__scopeId", "data-v-bbde612a"]]);
14677
14653
  const _sfc_main$R = /* @__PURE__ */ defineComponent({
14678
14654
  ...{
14679
14655
  name: "CheckInCollection"
@@ -14787,7 +14763,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
14787
14763
  };
14788
14764
  }
14789
14765
  });
14790
- const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-56761e57"]]);
14766
+ const CheckInSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-8c1dffae"]]);
14791
14767
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
14792
14768
  __name: "PlanStaff",
14793
14769
  setup(__props) {
@@ -15051,8 +15027,13 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
15051
15027
  createVNode(unref(OfficeRelation), {
15052
15028
  modelValue: unref(values),
15053
15029
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
15054
- field: unref(fields).planTypes
15055
- }, null, 8, ["modelValue", "field"]),
15030
+ field: unref(fields).planTypes,
15031
+ query: unref(Query).define({
15032
+ filter: {
15033
+ branchIds: { $in: unref(values).branchIds }
15034
+ }
15035
+ })
15036
+ }, null, 8, ["modelValue", "field", "query"]),
15056
15037
  unref(values).domain == "marketing" ? (openBlock(), createBlock(unref(NeonFields), {
15057
15038
  key: 0,
15058
15039
  md: "grid-cols-2"
@@ -15156,7 +15137,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
15156
15137
  };
15157
15138
  }
15158
15139
  });
15159
- const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-f091acfb"]]);
15140
+ const PlanSingle = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-88a3a973"]]);
15160
15141
  const _sfc_main$M = /* @__PURE__ */ defineComponent({
15161
15142
  ...{
15162
15143
  name: "PlanTypeCollection"
@@ -77,23 +77,23 @@
77
77
  display: block
78
78
  }
79
79
 
80
- .neu-attendance-single[data-v-04e65bc4] {
80
+ .neu-attendance-single[data-v-6c44f6cf] {
81
81
  display: block
82
82
  }
83
83
 
84
- .neu-attendance-single[data-v-608a3ac5] {
84
+ .neu-attendance-single[data-v-5738c075] {
85
85
  display: block
86
86
  }
87
87
 
88
- #view-checkIns[data-v-c329f979] {
88
+ #view-checkIns[data-v-04009998] {
89
89
 
90
90
  height: 100%
91
91
  }
92
- #view-checkIns .wrapper[data-v-c329f979] {
92
+ #view-checkIns .wrapper[data-v-04009998] {
93
93
 
94
94
  height: 100%
95
95
  }
96
- #view-checkIns .header[data-v-c329f979] {
96
+ #view-checkIns .header[data-v-04009998] {
97
97
 
98
98
  display: flex;
99
99
 
@@ -109,15 +109,15 @@
109
109
 
110
110
  padding-bottom: 0.5rem
111
111
  }
112
- #view-checkIns .header .start[data-v-c329f979] {
112
+ #view-checkIns .header .start[data-v-04009998] {
113
113
 
114
114
  line-height: 1.25
115
115
  }
116
- #view-checkIns .header .title[data-v-c329f979] {
116
+ #view-checkIns .header .title[data-v-04009998] {
117
117
 
118
118
  font-weight: 700
119
119
  }
120
- #view-checkIns .header .description[data-v-c329f979] {
120
+ #view-checkIns .header .description[data-v-04009998] {
121
121
 
122
122
  font-size: 0.875rem;
123
123
 
@@ -125,13 +125,13 @@
125
125
 
126
126
  color: rgb(161 161 170 / var(--tw-text-opacity))
127
127
  }
128
- #view-checkIns .buttons[data-v-c329f979] {
128
+ #view-checkIns .buttons[data-v-04009998] {
129
129
 
130
130
  display: flex;
131
131
 
132
132
  align-items: center
133
133
  }
134
- #view-checkIns .buttons[data-v-c329f979] > :not([hidden]) ~ :not([hidden]) {
134
+ #view-checkIns .buttons[data-v-04009998] > :not([hidden]) ~ :not([hidden]) {
135
135
 
136
136
  --tw-space-x-reverse: 0;
137
137
 
@@ -139,16 +139,16 @@
139
139
 
140
140
  margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)))
141
141
  }
142
- #view-checkIns .buttons[data-v-c329f979] {
142
+ #view-checkIns .buttons[data-v-04009998] {
143
143
 
144
144
  padding-right: 0.25rem
145
145
  }
146
- #view-checkIns .summary[data-v-c329f979] {
146
+ #view-checkIns .summary[data-v-04009998] {
147
147
 
148
148
  padding-bottom: 0.5rem
149
149
  }
150
150
 
151
- .neu-checkIn-single[data-v-a1338a6d] {
151
+ .neu-checkIn-single[data-v-2b39928d] {
152
152
  display: block
153
153
  }
154
154
 
@@ -223,11 +223,11 @@
223
223
  0 -1px 1px black;
224
224
  }
225
225
 
226
- .neu-checkIn-single[data-v-3d5b0dba] {
226
+ .neu-checkIn-single[data-v-bbde612a] {
227
227
  display: block
228
228
  }
229
229
 
230
- .neu-checkIn-single[data-v-56761e57] {
230
+ .neu-checkIn-single[data-v-8c1dffae] {
231
231
  display: block
232
232
  }
233
233
 
@@ -235,7 +235,7 @@
235
235
  display: block
236
236
  }
237
237
 
238
- .neu-plan-single[data-v-f091acfb] {
238
+ .neu-plan-single[data-v-88a3a973] {
239
239
  display: block
240
240
  }
241
241
 
package/build/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.14.4-beta.1",
7
+ "version": "1.14.7-beta.1",
8
8
  "builder": {
9
9
  "@neon.id/module-builder": "1.8.0",
10
10
  "unbuild": "2.0.0"
package/build/nuxt.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.14.4-beta.1",
7
+ "version": "1.14.7-beta.1",
8
8
  "builder": {
9
9
  "@neon.id/module-builder": "1.8.0",
10
10
  "unbuild": "2.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.14.4-beta.1",
3
+ "version": "1.14.7-beta.1",
4
4
  "description": "Interface library of Neutron Operasional.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -66,8 +66,10 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@neon.id/canvas": "^1.30.0",
69
- "@neon.id/catat-interfaces": "^1.10.1-beta.1",
70
69
  "@neon.id/context": "^1.62.0",
70
+ "@neon.id/editor": "^1.22.0",
71
+ "@neon.id/edukasi-interfaces": "1.15.0",
72
+ "@neon.id/edukasi-models": "1.8.0",
71
73
  "@neon.id/field": "^1.40.0",
72
74
  "@neon.id/identitas-interfaces": "^2.0.0-beta.9",
73
75
  "@neon.id/identitas-models": "^2.0.0-beta.4",
@@ -76,7 +78,7 @@
76
78
  "@neon.id/nuxt": "^1.5.0",
77
79
  "@neon.id/office": "^1.39.0",
78
80
  "@neon.id/utils": "^1.51.0",
79
- "@neutron.co.id/operasional-modules": "1.12.1",
81
+ "@neutron.co.id/operasional-modules": "1.12.4-beta.1",
80
82
  "@neutron.co.id/personalia-models": "1.13.3-beta.1",
81
83
  "@nuxt/kit": "^3.12.3",
82
84
  "file-saver": "^2.0.5",
@@ -135,8 +137,9 @@
135
137
  },
136
138
  "peerDependencies": {
137
139
  "@neon.id/canvas": "^1.30.0",
138
- "@neon.id/catat-interfaces": "^1.10.1-beta.1",
139
140
  "@neon.id/context": "^1.62.0",
141
+ "@neon.id/edukasi-interfaces": "1.15.0",
142
+ "@neon.id/edukasi-models": "1.8.0",
140
143
  "@neon.id/field": "^1.40.0",
141
144
  "@neon.id/identitas-interfaces": "^2.0.0-beta.9",
142
145
  "@neon.id/identitas-models": "^2.0.0-beta.4",
@@ -145,7 +148,7 @@
145
148
  "@neon.id/nuxt": "^1.5.0",
146
149
  "@neon.id/office": "^1.39.0",
147
150
  "@neon.id/utils": "^1.51.0",
148
- "@neutron.co.id/operasional-modules": "1.12.1",
151
+ "@neutron.co.id/operasional-modules": "1.12.4-beta.1",
149
152
  "@neutron.co.id/personalia-models": "1.13.3-beta.1",
150
153
  "@nuxt/kit": "^3.12.3",
151
154
  "file-saver": "^2.0.5",
@@ -156,5 +159,5 @@
156
159
  "publishConfig": {
157
160
  "access": "public"
158
161
  },
159
- "build": 158
162
+ "build": 161
160
163
  }