@neutron.co.id/operasional-interfaces 1.4.7-beta.3 → 1.5.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.cjs CHANGED
@@ -19,6 +19,7 @@ const pinia = require("pinia");
19
19
  const vueRouter = require("vue-router");
20
20
  const component = require("@neon.id/utils/component");
21
21
  const personaliaModels = require("@neutron.co.id/personalia-models");
22
+ const catatInterfaces = require("@neon.id/catat-interfaces");
22
23
  const _hoisted_1$b = { class: "xxx-button" };
23
24
  const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
24
25
  ...{ name: "XxxButton" },
@@ -6211,6 +6212,10 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6211
6212
  saveOne,
6212
6213
  discardChanges
6213
6214
  } = context.useSingle();
6215
+ const appStore = context.useAppStore();
6216
+ const objectDef = vue.computed(
6217
+ () => `neu:operasional:submission:${id.value}`
6218
+ );
6214
6219
  return (_ctx, _cache) => {
6215
6220
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-submission-single" }, {
6216
6221
  default: vue.withCtx(() => [
@@ -6359,30 +6364,19 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6359
6364
  icon: "circle-info",
6360
6365
  title: "Dokumen"
6361
6366
  }, {
6362
- default: vue.withCtx(() => [
6363
- vue.createVNode(vue.unref(form.NeonForm), {
6364
- handle: "dokumen",
6365
- "initial-values": vue.unref(initialValues),
6366
- "is-loading": vue.unref(isLoading),
6367
- "is-changed": vue.unref(isChanged),
6368
- "use-unsaved": "",
6369
- onCancel: vue.unref(discardChanges),
6370
- onSubmit: vue.unref(saveOne)
6371
- }, {
6372
- default: vue.withCtx(() => [
6373
- vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
6374
- key: 0,
6375
- modelValue: vue.unref(values).document,
6376
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).document = $event)
6377
- }, vue.unref(fields).document), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
6378
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6379
- modelValue: vue.unref(values).image,
6380
- "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).image = $event)
6381
- }, vue.unref(fields).image), null, 16, ["modelValue"])
6382
- ]),
6383
- _: 1
6384
- /* STABLE */
6385
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
6367
+ default: vue.withCtx(({ isTouched }) => [
6368
+ vue.createVNode(
6369
+ vue.unref(catatInterfaces.CatatSketchPad),
6370
+ vue.normalizeProps(vue.guardReactiveProps({
6371
+ applicationId: vue.unref(appStore).appId,
6372
+ object: `${objectDef.value}:office`,
6373
+ isReady: vue.unref(isReady) && isTouched,
6374
+ isLoading: vue.unref(isLoading)
6375
+ })),
6376
+ null,
6377
+ 16
6378
+ /* FULL_PROPS */
6379
+ )
6386
6380
  ]),
6387
6381
  _: 1
6388
6382
  /* STABLE */
@@ -6398,8 +6392,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6398
6392
  };
6399
6393
  }
6400
6394
  });
6401
- const SubmissionSingle_vue_vue_type_style_index_0_scoped_28d4f1c9_lang = "";
6402
- const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-28d4f1c9"]]);
6395
+ const SubmissionSingle_vue_vue_type_style_index_0_scoped_85774ba3_lang = "";
6396
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-85774ba3"]]);
6403
6397
  const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6404
6398
  __name: "SubmissionStaff",
6405
6399
  setup(__props) {
@@ -6460,6 +6454,10 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6460
6454
  executeOne("raiseSubmission", { submissionId: id.value });
6461
6455
  syncOne();
6462
6456
  };
6457
+ const appStore = context.useAppStore();
6458
+ const objectDef = vue.computed(
6459
+ () => `neu:operasional:submission:${id.value}`
6460
+ );
6463
6461
  return (_ctx, _cache) => {
6464
6462
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-submission-single" }, {
6465
6463
  default: vue.withCtx(() => [
@@ -6637,34 +6635,19 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6637
6635
  icon: "circle-info",
6638
6636
  title: "Dokumen"
6639
6637
  }, {
6640
- default: vue.withCtx(() => [
6641
- vue.createVNode(vue.unref(form.NeonForm), {
6642
- handle: "dokumen",
6643
- "initial-values": vue.unref(initialValues),
6644
- "is-loading": vue.unref(isLoading),
6645
- "is-changed": vue.unref(isChanged),
6646
- "use-unsaved": "",
6647
- onCancel: vue.unref(discardChanges),
6648
- onSubmit: vue.unref(saveOne)
6649
- }, {
6650
- default: vue.withCtx(() => [
6651
- vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
6652
- key: 0,
6653
- modelValue: vue.unref(values).document,
6654
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).document = $event)
6655
- }, vue.unref(fields).document, {
6656
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
6657
- }), null, 16, ["modelValue", "is-disabled"])) : vue.createCommentVNode("v-if", true),
6658
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6659
- modelValue: vue.unref(values).image,
6660
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).image = $event)
6661
- }, vue.unref(fields).image, {
6662
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
6663
- }), null, 16, ["modelValue", "is-disabled"])
6664
- ]),
6665
- _: 1
6666
- /* STABLE */
6667
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
6638
+ default: vue.withCtx(({ isTouched }) => [
6639
+ vue.createVNode(
6640
+ vue.unref(catatInterfaces.CatatSketchPad),
6641
+ vue.normalizeProps(vue.guardReactiveProps({
6642
+ applicationId: vue.unref(appStore).appId,
6643
+ object: `${objectDef.value}:office`,
6644
+ isReady: vue.unref(isReady) && isTouched,
6645
+ isLoading: vue.unref(isLoading)
6646
+ })),
6647
+ null,
6648
+ 16
6649
+ /* FULL_PROPS */
6650
+ )
6668
6651
  ]),
6669
6652
  _: 1
6670
6653
  /* STABLE */
@@ -6680,8 +6663,8 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6680
6663
  };
6681
6664
  }
6682
6665
  });
6683
- const SubmissionStaff_vue_vue_type_style_index_0_scoped_f9a53e78_lang = "";
6684
- const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-f9a53e78"]]);
6666
+ const SubmissionStaff_vue_vue_type_style_index_0_scoped_48f33f95_lang = "";
6667
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-48f33f95"]]);
6685
6668
  const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6686
6669
  __name: "SubmissionFollowUp",
6687
6670
  setup(__props) {
@@ -6700,6 +6683,10 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6700
6683
  discardChanges,
6701
6684
  executeOne
6702
6685
  } = context.useSingle();
6686
+ const appStore = context.useAppStore();
6687
+ const objectDef = vue.computed(
6688
+ () => `neu:operasional:submission:${id.value}`
6689
+ );
6703
6690
  return (_ctx, _cache) => {
6704
6691
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-submission-single" }, {
6705
6692
  default: vue.withCtx(() => [
@@ -6839,30 +6826,19 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6839
6826
  icon: "circle-info",
6840
6827
  title: "Dokumen"
6841
6828
  }, {
6842
- default: vue.withCtx(() => [
6843
- vue.createVNode(vue.unref(form.NeonForm), {
6844
- handle: "dokumen",
6845
- "initial-values": vue.unref(initialValues),
6846
- "is-loading": vue.unref(isLoading),
6847
- "is-changed": vue.unref(isChanged),
6848
- "use-unsaved": "",
6849
- onCancel: vue.unref(discardChanges),
6850
- onSubmit: vue.unref(saveOne)
6851
- }, {
6852
- default: vue.withCtx(() => [
6853
- vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
6854
- key: 0,
6855
- modelValue: vue.unref(values).document,
6856
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).document = $event)
6857
- }, vue.unref(fields).document, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
6858
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6859
- modelValue: vue.unref(values).image,
6860
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).image = $event)
6861
- }, vue.unref(fields).image, { "is-disabled": "" }), null, 16, ["modelValue"])
6862
- ]),
6863
- _: 1
6864
- /* STABLE */
6865
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
6829
+ default: vue.withCtx(({ isTouched }) => [
6830
+ vue.createVNode(
6831
+ vue.unref(catatInterfaces.CatatSketchPad),
6832
+ vue.normalizeProps(vue.guardReactiveProps({
6833
+ applicationId: vue.unref(appStore).appId,
6834
+ object: `${objectDef.value}:office`,
6835
+ isReady: vue.unref(isReady) && isTouched,
6836
+ isLoading: vue.unref(isLoading)
6837
+ })),
6838
+ null,
6839
+ 16
6840
+ /* FULL_PROPS */
6841
+ )
6866
6842
  ]),
6867
6843
  _: 1
6868
6844
  /* STABLE */
@@ -6878,8 +6854,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6878
6854
  };
6879
6855
  }
6880
6856
  });
6881
- const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_81b44852_lang = "";
6882
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-81b44852"]]);
6857
+ const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_324cf3d0_lang = "";
6858
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-324cf3d0"]]);
6883
6859
  const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
6884
6860
  __name: "SubmissionAudit",
6885
6861
  setup(__props) {
@@ -6952,6 +6928,10 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
6952
6928
  executeOne("processedSubmission", { submissionId: id.value });
6953
6929
  syncOne();
6954
6930
  };
6931
+ const appStore = context.useAppStore();
6932
+ const objectDef = vue.computed(
6933
+ () => `neu:operasional:submission:${id.value}`
6934
+ );
6955
6935
  return (_ctx, _cache) => {
6956
6936
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-submission-single" }, {
6957
6937
  default: vue.withCtx(() => [
@@ -7187,34 +7167,19 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
7187
7167
  icon: "circle-info",
7188
7168
  title: "Dokumen"
7189
7169
  }, {
7190
- default: vue.withCtx(() => [
7191
- vue.createVNode(vue.unref(form.NeonForm), {
7192
- handle: "dokumen",
7193
- "initial-values": vue.unref(initialValues),
7194
- "is-loading": vue.unref(isLoading),
7195
- "is-changed": vue.unref(isChanged),
7196
- "use-unsaved": "",
7197
- onCancel: vue.unref(discardChanges),
7198
- onSubmit: vue.unref(saveOne)
7199
- }, {
7200
- default: vue.withCtx(() => [
7201
- vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
7202
- key: 0,
7203
- modelValue: vue.unref(values).document,
7204
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).document = $event)
7205
- }, vue.unref(fields).document, {
7206
- "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
7207
- }), null, 16, ["modelValue", "is-disabled"])) : vue.createCommentVNode("v-if", true),
7208
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7209
- modelValue: vue.unref(values).image,
7210
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).image = $event)
7211
- }, vue.unref(fields).image, {
7212
- "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
7213
- }), null, 16, ["modelValue", "is-disabled"])
7214
- ]),
7215
- _: 1
7216
- /* STABLE */
7217
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
7170
+ default: vue.withCtx(({ isTouched }) => [
7171
+ vue.createVNode(
7172
+ vue.unref(catatInterfaces.CatatSketchPad),
7173
+ vue.normalizeProps(vue.guardReactiveProps({
7174
+ applicationId: vue.unref(appStore).appId,
7175
+ object: `${objectDef.value}:office`,
7176
+ isReady: vue.unref(isReady) && isTouched,
7177
+ isLoading: vue.unref(isLoading)
7178
+ })),
7179
+ null,
7180
+ 16
7181
+ /* FULL_PROPS */
7182
+ )
7218
7183
  ]),
7219
7184
  _: 1
7220
7185
  /* STABLE */
@@ -7230,8 +7195,8 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
7230
7195
  };
7231
7196
  }
7232
7197
  });
7233
- const SubmissionAudit_vue_vue_type_style_index_0_scoped_c96f69cb_lang = "";
7234
- const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-c96f69cb"]]);
7198
+ const SubmissionAudit_vue_vue_type_style_index_0_scoped_ad631c3a_lang = "";
7199
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-ad631c3a"]]);
7235
7200
  const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
7236
7201
  __name: "SubmissionDecision",
7237
7202
  setup(__props) {
@@ -7304,6 +7269,10 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
7304
7269
  });
7305
7270
  syncOne();
7306
7271
  };
7272
+ const appStore = context.useAppStore();
7273
+ const objectDef = vue.computed(
7274
+ () => `neu:operasional:submission:${id.value}`
7275
+ );
7307
7276
  return (_ctx, _cache) => {
7308
7277
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-submission-single" }, {
7309
7278
  default: vue.withCtx(() => [
@@ -7501,34 +7470,19 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
7501
7470
  icon: "circle-info",
7502
7471
  title: "Dokumen"
7503
7472
  }, {
7504
- default: vue.withCtx(() => [
7505
- vue.createVNode(vue.unref(form.NeonForm), {
7506
- handle: "dokumen",
7507
- "initial-values": vue.unref(initialValues),
7508
- "is-loading": vue.unref(isLoading),
7509
- "is-changed": vue.unref(isChanged),
7510
- "use-unsaved": "",
7511
- onCancel: vue.unref(discardChanges),
7512
- onSubmit: vue.unref(saveOne)
7513
- }, {
7514
- default: vue.withCtx(() => [
7515
- vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
7516
- key: 0,
7517
- modelValue: vue.unref(values).document,
7518
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).document = $event)
7519
- }, vue.unref(fields).document, {
7520
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
7521
- }), null, 16, ["modelValue", "is-disabled"])) : vue.createCommentVNode("v-if", true),
7522
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7523
- modelValue: vue.unref(values).image,
7524
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).image = $event)
7525
- }, vue.unref(fields).image, {
7526
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
7527
- }), null, 16, ["modelValue", "is-disabled"])
7528
- ]),
7529
- _: 1
7530
- /* STABLE */
7531
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
7473
+ default: vue.withCtx(({ isTouched }) => [
7474
+ vue.createVNode(
7475
+ vue.unref(catatInterfaces.CatatSketchPad),
7476
+ vue.normalizeProps(vue.guardReactiveProps({
7477
+ applicationId: vue.unref(appStore).appId,
7478
+ object: `${objectDef.value}:office`,
7479
+ isReady: vue.unref(isReady) && isTouched,
7480
+ isLoading: vue.unref(isLoading)
7481
+ })),
7482
+ null,
7483
+ 16
7484
+ /* FULL_PROPS */
7485
+ )
7532
7486
  ]),
7533
7487
  _: 1
7534
7488
  /* STABLE */
@@ -7544,8 +7498,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
7544
7498
  };
7545
7499
  }
7546
7500
  });
7547
- const SubmissionDecision_vue_vue_type_style_index_0_scoped_0921e069_lang = "";
7548
- const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-0921e069"]]);
7501
+ const SubmissionDecision_vue_vue_type_style_index_0_scoped_f1f3c4c6_lang = "";
7502
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f1f3c4c6"]]);
7549
7503
  const SubmissionTypeModel = personaliaModels.models.SubmissionTypeModel;
7550
7504
  const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
7551
7505
  ...{
package/build/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ComponentUtil as ComponentUtil$1 } from "@neon.id/utils/client";
2
- import { defineComponent, openBlock, createElementBlock, createVNode, unref, onBeforeUnmount, onMounted, getCurrentInstance, inject, reactive, ref, isRef, watchEffect, computed, h as h$1, watch, createBlock, withCtx, mergeProps, createCommentVNode, provide, resolveComponent, createElementVNode, createTextVNode, pushScopeId, popScopeId, normalizeClass, withModifiers, toDisplayString, Fragment } from "vue";
2
+ import { defineComponent, openBlock, createElementBlock, createVNode, unref, onBeforeUnmount, onMounted, getCurrentInstance, inject, reactive, ref, isRef, watchEffect, computed, h as h$1, watch, createBlock, withCtx, mergeProps, createCommentVNode, provide, resolveComponent, createElementVNode, createTextVNode, pushScopeId, popScopeId, normalizeClass, withModifiers, toDisplayString, Fragment, normalizeProps, guardReactiveProps } from "vue";
3
3
  import { NeonButton, NeonAvatar, NeonDivider, NeonModal, NeonSheet, useToastStore, NeonSlider, NeonSlide, NeonStat, NeonInfo } from "@neon.id/interfaces";
4
- import { GraphUtil, NeonCollectionContext, useSingle, NeonSingle, usePermit, useCollection, NeonCollection } from "@neon.id/context";
4
+ import { GraphUtil, NeonCollectionContext, useSingle, NeonSingle, usePermit, useCollection, NeonCollection, useAppStore } from "@neon.id/context";
5
5
  import { RowUtil } from "@neon.id/display";
6
6
  import { NeonField, NeonForm, NeonFormWrapper, NeonFields } from "@neon.id/form";
7
7
  import { IdentitasConnect, IdentitasAssistRegistration, IdentitasDelegate, useAuthStore } from "@neon.id/identitas-interfaces";
@@ -17,6 +17,7 @@ import { defineStore, storeToRefs } from "pinia";
17
17
  import { useRouter, useRoute } from "vue-router";
18
18
  import { ComponentUtil } from "@neon.id/utils/component";
19
19
  import { models as models$2 } from "@neutron.co.id/personalia-models";
20
+ import { CatatSketchPad } from "@neon.id/catat-interfaces";
20
21
  const _hoisted_1$b = { class: "xxx-button" };
21
22
  const _sfc_main$v = /* @__PURE__ */ defineComponent({
22
23
  ...{ name: "XxxButton" },
@@ -6209,6 +6210,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6209
6210
  saveOne,
6210
6211
  discardChanges
6211
6212
  } = useSingle();
6213
+ const appStore = useAppStore();
6214
+ const objectDef = computed(
6215
+ () => `neu:operasional:submission:${id.value}`
6216
+ );
6212
6217
  return (_ctx, _cache) => {
6213
6218
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-submission-single" }, {
6214
6219
  default: withCtx(() => [
@@ -6357,30 +6362,19 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6357
6362
  icon: "circle-info",
6358
6363
  title: "Dokumen"
6359
6364
  }, {
6360
- default: withCtx(() => [
6361
- createVNode(unref(NeonForm), {
6362
- handle: "dokumen",
6363
- "initial-values": unref(initialValues),
6364
- "is-loading": unref(isLoading),
6365
- "is-changed": unref(isChanged),
6366
- "use-unsaved": "",
6367
- onCancel: unref(discardChanges),
6368
- onSubmit: unref(saveOne)
6369
- }, {
6370
- default: withCtx(() => [
6371
- unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
6372
- key: 0,
6373
- modelValue: unref(values).document,
6374
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(values).document = $event)
6375
- }, unref(fields).document), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
6376
- createVNode(unref(NeonField), mergeProps({
6377
- modelValue: unref(values).image,
6378
- "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(values).image = $event)
6379
- }, unref(fields).image), null, 16, ["modelValue"])
6380
- ]),
6381
- _: 1
6382
- /* STABLE */
6383
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
6365
+ default: withCtx(({ isTouched }) => [
6366
+ createVNode(
6367
+ unref(CatatSketchPad),
6368
+ normalizeProps(guardReactiveProps({
6369
+ applicationId: unref(appStore).appId,
6370
+ object: `${objectDef.value}:office`,
6371
+ isReady: unref(isReady) && isTouched,
6372
+ isLoading: unref(isLoading)
6373
+ })),
6374
+ null,
6375
+ 16
6376
+ /* FULL_PROPS */
6377
+ )
6384
6378
  ]),
6385
6379
  _: 1
6386
6380
  /* STABLE */
@@ -6396,8 +6390,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6396
6390
  };
6397
6391
  }
6398
6392
  });
6399
- const SubmissionSingle_vue_vue_type_style_index_0_scoped_28d4f1c9_lang = "";
6400
- const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-28d4f1c9"]]);
6393
+ const SubmissionSingle_vue_vue_type_style_index_0_scoped_85774ba3_lang = "";
6394
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-85774ba3"]]);
6401
6395
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6402
6396
  __name: "SubmissionStaff",
6403
6397
  setup(__props) {
@@ -6458,6 +6452,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6458
6452
  executeOne("raiseSubmission", { submissionId: id.value });
6459
6453
  syncOne();
6460
6454
  };
6455
+ const appStore = useAppStore();
6456
+ const objectDef = computed(
6457
+ () => `neu:operasional:submission:${id.value}`
6458
+ );
6461
6459
  return (_ctx, _cache) => {
6462
6460
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-submission-single" }, {
6463
6461
  default: withCtx(() => [
@@ -6635,34 +6633,19 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6635
6633
  icon: "circle-info",
6636
6634
  title: "Dokumen"
6637
6635
  }, {
6638
- default: withCtx(() => [
6639
- createVNode(unref(NeonForm), {
6640
- handle: "dokumen",
6641
- "initial-values": unref(initialValues),
6642
- "is-loading": unref(isLoading),
6643
- "is-changed": unref(isChanged),
6644
- "use-unsaved": "",
6645
- onCancel: unref(discardChanges),
6646
- onSubmit: unref(saveOne)
6647
- }, {
6648
- default: withCtx(() => [
6649
- unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
6650
- key: 0,
6651
- modelValue: unref(values).document,
6652
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).document = $event)
6653
- }, unref(fields).document, {
6654
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
6655
- }), null, 16, ["modelValue", "is-disabled"])) : createCommentVNode("v-if", true),
6656
- createVNode(unref(NeonField), mergeProps({
6657
- modelValue: unref(values).image,
6658
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).image = $event)
6659
- }, unref(fields).image, {
6660
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
6661
- }), null, 16, ["modelValue", "is-disabled"])
6662
- ]),
6663
- _: 1
6664
- /* STABLE */
6665
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
6636
+ default: withCtx(({ isTouched }) => [
6637
+ createVNode(
6638
+ unref(CatatSketchPad),
6639
+ normalizeProps(guardReactiveProps({
6640
+ applicationId: unref(appStore).appId,
6641
+ object: `${objectDef.value}:office`,
6642
+ isReady: unref(isReady) && isTouched,
6643
+ isLoading: unref(isLoading)
6644
+ })),
6645
+ null,
6646
+ 16
6647
+ /* FULL_PROPS */
6648
+ )
6666
6649
  ]),
6667
6650
  _: 1
6668
6651
  /* STABLE */
@@ -6678,8 +6661,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6678
6661
  };
6679
6662
  }
6680
6663
  });
6681
- const SubmissionStaff_vue_vue_type_style_index_0_scoped_f9a53e78_lang = "";
6682
- const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-f9a53e78"]]);
6664
+ const SubmissionStaff_vue_vue_type_style_index_0_scoped_48f33f95_lang = "";
6665
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-48f33f95"]]);
6683
6666
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6684
6667
  __name: "SubmissionFollowUp",
6685
6668
  setup(__props) {
@@ -6698,6 +6681,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6698
6681
  discardChanges,
6699
6682
  executeOne
6700
6683
  } = useSingle();
6684
+ const appStore = useAppStore();
6685
+ const objectDef = computed(
6686
+ () => `neu:operasional:submission:${id.value}`
6687
+ );
6701
6688
  return (_ctx, _cache) => {
6702
6689
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-submission-single" }, {
6703
6690
  default: withCtx(() => [
@@ -6837,30 +6824,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6837
6824
  icon: "circle-info",
6838
6825
  title: "Dokumen"
6839
6826
  }, {
6840
- default: withCtx(() => [
6841
- createVNode(unref(NeonForm), {
6842
- handle: "dokumen",
6843
- "initial-values": unref(initialValues),
6844
- "is-loading": unref(isLoading),
6845
- "is-changed": unref(isChanged),
6846
- "use-unsaved": "",
6847
- onCancel: unref(discardChanges),
6848
- onSubmit: unref(saveOne)
6849
- }, {
6850
- default: withCtx(() => [
6851
- unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
6852
- key: 0,
6853
- modelValue: unref(values).document,
6854
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).document = $event)
6855
- }, unref(fields).document, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
6856
- createVNode(unref(NeonField), mergeProps({
6857
- modelValue: unref(values).image,
6858
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).image = $event)
6859
- }, unref(fields).image, { "is-disabled": "" }), null, 16, ["modelValue"])
6860
- ]),
6861
- _: 1
6862
- /* STABLE */
6863
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
6827
+ default: withCtx(({ isTouched }) => [
6828
+ createVNode(
6829
+ unref(CatatSketchPad),
6830
+ normalizeProps(guardReactiveProps({
6831
+ applicationId: unref(appStore).appId,
6832
+ object: `${objectDef.value}:office`,
6833
+ isReady: unref(isReady) && isTouched,
6834
+ isLoading: unref(isLoading)
6835
+ })),
6836
+ null,
6837
+ 16
6838
+ /* FULL_PROPS */
6839
+ )
6864
6840
  ]),
6865
6841
  _: 1
6866
6842
  /* STABLE */
@@ -6876,8 +6852,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6876
6852
  };
6877
6853
  }
6878
6854
  });
6879
- const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_81b44852_lang = "";
6880
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-81b44852"]]);
6855
+ const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_324cf3d0_lang = "";
6856
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-324cf3d0"]]);
6881
6857
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6882
6858
  __name: "SubmissionAudit",
6883
6859
  setup(__props) {
@@ -6950,6 +6926,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6950
6926
  executeOne("processedSubmission", { submissionId: id.value });
6951
6927
  syncOne();
6952
6928
  };
6929
+ const appStore = useAppStore();
6930
+ const objectDef = computed(
6931
+ () => `neu:operasional:submission:${id.value}`
6932
+ );
6953
6933
  return (_ctx, _cache) => {
6954
6934
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-submission-single" }, {
6955
6935
  default: withCtx(() => [
@@ -7185,34 +7165,19 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
7185
7165
  icon: "circle-info",
7186
7166
  title: "Dokumen"
7187
7167
  }, {
7188
- default: withCtx(() => [
7189
- createVNode(unref(NeonForm), {
7190
- handle: "dokumen",
7191
- "initial-values": unref(initialValues),
7192
- "is-loading": unref(isLoading),
7193
- "is-changed": unref(isChanged),
7194
- "use-unsaved": "",
7195
- onCancel: unref(discardChanges),
7196
- onSubmit: unref(saveOne)
7197
- }, {
7198
- default: withCtx(() => [
7199
- unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
7200
- key: 0,
7201
- modelValue: unref(values).document,
7202
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).document = $event)
7203
- }, unref(fields).document, {
7204
- "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
7205
- }), null, 16, ["modelValue", "is-disabled"])) : createCommentVNode("v-if", true),
7206
- createVNode(unref(NeonField), mergeProps({
7207
- modelValue: unref(values).image,
7208
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).image = $event)
7209
- }, unref(fields).image, {
7210
- "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
7211
- }), null, 16, ["modelValue", "is-disabled"])
7212
- ]),
7213
- _: 1
7214
- /* STABLE */
7215
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
7168
+ default: withCtx(({ isTouched }) => [
7169
+ createVNode(
7170
+ unref(CatatSketchPad),
7171
+ normalizeProps(guardReactiveProps({
7172
+ applicationId: unref(appStore).appId,
7173
+ object: `${objectDef.value}:office`,
7174
+ isReady: unref(isReady) && isTouched,
7175
+ isLoading: unref(isLoading)
7176
+ })),
7177
+ null,
7178
+ 16
7179
+ /* FULL_PROPS */
7180
+ )
7216
7181
  ]),
7217
7182
  _: 1
7218
7183
  /* STABLE */
@@ -7228,8 +7193,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
7228
7193
  };
7229
7194
  }
7230
7195
  });
7231
- const SubmissionAudit_vue_vue_type_style_index_0_scoped_c96f69cb_lang = "";
7232
- const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-c96f69cb"]]);
7196
+ const SubmissionAudit_vue_vue_type_style_index_0_scoped_ad631c3a_lang = "";
7197
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-ad631c3a"]]);
7233
7198
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7234
7199
  __name: "SubmissionDecision",
7235
7200
  setup(__props) {
@@ -7302,6 +7267,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7302
7267
  });
7303
7268
  syncOne();
7304
7269
  };
7270
+ const appStore = useAppStore();
7271
+ const objectDef = computed(
7272
+ () => `neu:operasional:submission:${id.value}`
7273
+ );
7305
7274
  return (_ctx, _cache) => {
7306
7275
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-submission-single" }, {
7307
7276
  default: withCtx(() => [
@@ -7499,34 +7468,19 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7499
7468
  icon: "circle-info",
7500
7469
  title: "Dokumen"
7501
7470
  }, {
7502
- default: withCtx(() => [
7503
- createVNode(unref(NeonForm), {
7504
- handle: "dokumen",
7505
- "initial-values": unref(initialValues),
7506
- "is-loading": unref(isLoading),
7507
- "is-changed": unref(isChanged),
7508
- "use-unsaved": "",
7509
- onCancel: unref(discardChanges),
7510
- onSubmit: unref(saveOne)
7511
- }, {
7512
- default: withCtx(() => [
7513
- unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
7514
- key: 0,
7515
- modelValue: unref(values).document,
7516
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).document = $event)
7517
- }, unref(fields).document, {
7518
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
7519
- }), null, 16, ["modelValue", "is-disabled"])) : createCommentVNode("v-if", true),
7520
- createVNode(unref(NeonField), mergeProps({
7521
- modelValue: unref(values).image,
7522
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).image = $event)
7523
- }, unref(fields).image, {
7524
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
7525
- }), null, 16, ["modelValue", "is-disabled"])
7526
- ]),
7527
- _: 1
7528
- /* STABLE */
7529
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
7471
+ default: withCtx(({ isTouched }) => [
7472
+ createVNode(
7473
+ unref(CatatSketchPad),
7474
+ normalizeProps(guardReactiveProps({
7475
+ applicationId: unref(appStore).appId,
7476
+ object: `${objectDef.value}:office`,
7477
+ isReady: unref(isReady) && isTouched,
7478
+ isLoading: unref(isLoading)
7479
+ })),
7480
+ null,
7481
+ 16
7482
+ /* FULL_PROPS */
7483
+ )
7530
7484
  ]),
7531
7485
  _: 1
7532
7486
  /* STABLE */
@@ -7542,8 +7496,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7542
7496
  };
7543
7497
  }
7544
7498
  });
7545
- const SubmissionDecision_vue_vue_type_style_index_0_scoped_0921e069_lang = "";
7546
- const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-0921e069"]]);
7499
+ const SubmissionDecision_vue_vue_type_style_index_0_scoped_f1f3c4c6_lang = "";
7500
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f1f3c4c6"]]);
7547
7501
  const SubmissionTypeModel = models$2.SubmissionTypeModel;
7548
7502
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
7549
7503
  ...{
package/build/style.css CHANGED
@@ -150,23 +150,23 @@
150
150
  display: block
151
151
  }
152
152
 
153
- .neu-submission-single[data-v-28d4f1c9] {
153
+ .neu-submission-single[data-v-85774ba3] {
154
154
  display: block
155
155
  }
156
156
 
157
- .neu-submission-single[data-v-f9a53e78] {
157
+ .neu-submission-single[data-v-48f33f95] {
158
158
  display: block
159
159
  }
160
160
 
161
- .neu-submission-single[data-v-81b44852] {
161
+ .neu-submission-single[data-v-324cf3d0] {
162
162
  display: block
163
163
  }
164
164
 
165
- .neu-submission-single[data-v-c96f69cb] {
165
+ .neu-submission-single[data-v-ad631c3a] {
166
166
  display: block
167
167
  }
168
168
 
169
- .neu-submission-single[data-v-0921e069] {
169
+ .neu-submission-single[data-v-f1f3c4c6] {
170
170
  display: block
171
171
  }
172
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.4.7-beta.3",
3
+ "version": "1.5.1-beta.1",
4
4
  "description": "Interface library of Neutron Operasional.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -60,7 +60,7 @@
60
60
  "@neon.id/interfaces": "0.161.0",
61
61
  "@neon.id/office": "0.39.0",
62
62
  "@neon.id/utils": "0.43.0",
63
- "@neutron.co.id/personalia-models": "1.4.5-beta.3",
63
+ "@neutron.co.id/personalia-models": "1.5.1-beta.1",
64
64
  "@neutron.co.id/sentral-interfaces": "1.3.0",
65
65
  "@nuxt/kit": "3.4.2",
66
66
  "qr-scanner": "1.4.2",
@@ -70,6 +70,7 @@
70
70
  "@faker-js/faker": "8.0.0",
71
71
  "@graphql-codegen/cli": "3.3.1",
72
72
  "@graphql-codegen/client-preset": "3.0.1",
73
+ "@neon.id/catat-interfaces": "1.1.0",
73
74
  "@neon.id/identitas-models": "1.0.0",
74
75
  "@neon.id/module-builder": "0.16.0",
75
76
  "@neon.id/styles": "0.18.0",
@@ -129,12 +130,12 @@
129
130
  "@neon.id/interfaces": "^0.161.0",
130
131
  "@neon.id/office": "^0.39.0",
131
132
  "@neon.id/utils": "^0.43.0",
132
- "@neutron.co.id/personalia-models": "^1.4.5-beta.3",
133
+ "@neutron.co.id/personalia-models": "^1.5.1-beta.1",
133
134
  "@nuxt/kit": "^3.4.2",
134
135
  "vue": "^3.3.2"
135
136
  },
136
137
  "publishConfig": {
137
138
  "access": "public"
138
139
  },
139
- "build": 91
140
+ "build": 93
140
141
  }