@neutron.co.id/operasional-interfaces 1.3.0-beta.2 → 1.3.2-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
|
@@ -5443,7 +5443,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
5443
5443
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
5444
5444
|
modelValue: vue.unref(values).situationStatus,
|
|
5445
5445
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).situationStatus = $event)
|
|
5446
|
-
}, vue.unref(fields).situationStatus
|
|
5446
|
+
}, vue.unref(fields).situationStatus), null, 16, ["modelValue"])
|
|
5447
5447
|
]),
|
|
5448
5448
|
_: 1
|
|
5449
5449
|
/* STABLE */
|
|
@@ -5453,10 +5453,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
5453
5453
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
5454
5454
|
field: vue.unref(fields).situationSupportedBy
|
|
5455
5455
|
}, null, 8, ["modelValue", "field"]),
|
|
5456
|
-
vue.createVNode(vue.unref(form.NeonFields), {
|
|
5457
|
-
md: "grid-cols-4",
|
|
5458
|
-
title: "Situasi"
|
|
5459
|
-
}, {
|
|
5456
|
+
vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
|
|
5460
5457
|
default: vue.withCtx(() => [
|
|
5461
5458
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
5462
5459
|
modelValue: vue.unref(values).situationResponse,
|
|
@@ -5470,6 +5467,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
5470
5467
|
modelValue: vue.unref(values),
|
|
5471
5468
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
5472
5469
|
field: vue.unref(fields).branches,
|
|
5470
|
+
title: "Situasi",
|
|
5473
5471
|
"is-disabled": ""
|
|
5474
5472
|
}, null, 8, ["modelValue", "field"]),
|
|
5475
5473
|
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
@@ -5644,14 +5642,26 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
5644
5642
|
onFinishedDisabledTaskWorking: false
|
|
5645
5643
|
});
|
|
5646
5644
|
vue.watch(
|
|
5647
|
-
() => [
|
|
5648
|
-
|
|
5645
|
+
() => [
|
|
5646
|
+
values.value.resultAssignment,
|
|
5647
|
+
values.value.estimatedRealizedAssignmentStart,
|
|
5648
|
+
values.value.estimatedRealizedAssignmentEnd
|
|
5649
|
+
],
|
|
5650
|
+
([
|
|
5651
|
+
resultAssignment,
|
|
5652
|
+
estimatedRealizedAssignmentStart,
|
|
5653
|
+
estimatedRealizedAssignmentEnd
|
|
5654
|
+
]) => {
|
|
5649
5655
|
switch (true) {
|
|
5650
|
-
case (
|
|
5656
|
+
case (estimatedRealizedAssignmentStart === null || estimatedRealizedAssignmentStart === void 0):
|
|
5657
|
+
onHandleTaskWork.value.onStartTaskWorking = true;
|
|
5658
|
+
onHandleTaskWork.value.onFinishedTaskWorking = false;
|
|
5659
|
+
break;
|
|
5660
|
+
case (estimatedRealizedAssignmentStart !== null || estimatedRealizedAssignmentStart !== void 0 && resultAssignment === null || resultAssignment === void 0):
|
|
5651
5661
|
onHandleTaskWork.value.onStartTaskWorking = false;
|
|
5652
5662
|
onHandleTaskWork.value.onFinishedTaskWorking = true;
|
|
5653
5663
|
break;
|
|
5654
|
-
case (resultAssignment !== null || resultAssignment !== void 0):
|
|
5664
|
+
case (resultAssignment !== null || resultAssignment !== void 0 || estimatedRealizedAssignmentEnd !== null || estimatedRealizedAssignmentEnd !== void 0):
|
|
5655
5665
|
onHandleTaskWork.value.onStartTaskWorking = false;
|
|
5656
5666
|
onHandleTaskWork.value.onFinishedTaskWorking = true;
|
|
5657
5667
|
onHandleTaskWork.value.onFinishedDisabledTaskWorking = true;
|
package/build/index.mjs
CHANGED
|
@@ -5441,7 +5441,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
5441
5441
|
createVNode(unref(NeonField), mergeProps({
|
|
5442
5442
|
modelValue: unref(values).situationStatus,
|
|
5443
5443
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).situationStatus = $event)
|
|
5444
|
-
}, unref(fields).situationStatus
|
|
5444
|
+
}, unref(fields).situationStatus), null, 16, ["modelValue"])
|
|
5445
5445
|
]),
|
|
5446
5446
|
_: 1
|
|
5447
5447
|
/* STABLE */
|
|
@@ -5451,10 +5451,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
5451
5451
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5452
5452
|
field: unref(fields).situationSupportedBy
|
|
5453
5453
|
}, null, 8, ["modelValue", "field"]),
|
|
5454
|
-
createVNode(unref(NeonFields), {
|
|
5455
|
-
md: "grid-cols-4",
|
|
5456
|
-
title: "Situasi"
|
|
5457
|
-
}, {
|
|
5454
|
+
createVNode(unref(NeonFields), { md: "grid-cols-4" }, {
|
|
5458
5455
|
default: withCtx(() => [
|
|
5459
5456
|
createVNode(unref(NeonField), mergeProps({
|
|
5460
5457
|
modelValue: unref(values).situationResponse,
|
|
@@ -5468,6 +5465,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
5468
5465
|
modelValue: unref(values),
|
|
5469
5466
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
5470
5467
|
field: unref(fields).branches,
|
|
5468
|
+
title: "Situasi",
|
|
5471
5469
|
"is-disabled": ""
|
|
5472
5470
|
}, null, 8, ["modelValue", "field"]),
|
|
5473
5471
|
createVNode(unref(OfficeRelation), {
|
|
@@ -5642,14 +5640,26 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
5642
5640
|
onFinishedDisabledTaskWorking: false
|
|
5643
5641
|
});
|
|
5644
5642
|
watch(
|
|
5645
|
-
() => [
|
|
5646
|
-
|
|
5643
|
+
() => [
|
|
5644
|
+
values.value.resultAssignment,
|
|
5645
|
+
values.value.estimatedRealizedAssignmentStart,
|
|
5646
|
+
values.value.estimatedRealizedAssignmentEnd
|
|
5647
|
+
],
|
|
5648
|
+
([
|
|
5649
|
+
resultAssignment,
|
|
5650
|
+
estimatedRealizedAssignmentStart,
|
|
5651
|
+
estimatedRealizedAssignmentEnd
|
|
5652
|
+
]) => {
|
|
5647
5653
|
switch (true) {
|
|
5648
|
-
case (
|
|
5654
|
+
case (estimatedRealizedAssignmentStart === null || estimatedRealizedAssignmentStart === void 0):
|
|
5655
|
+
onHandleTaskWork.value.onStartTaskWorking = true;
|
|
5656
|
+
onHandleTaskWork.value.onFinishedTaskWorking = false;
|
|
5657
|
+
break;
|
|
5658
|
+
case (estimatedRealizedAssignmentStart !== null || estimatedRealizedAssignmentStart !== void 0 && resultAssignment === null || resultAssignment === void 0):
|
|
5649
5659
|
onHandleTaskWork.value.onStartTaskWorking = false;
|
|
5650
5660
|
onHandleTaskWork.value.onFinishedTaskWorking = true;
|
|
5651
5661
|
break;
|
|
5652
|
-
case (resultAssignment !== null || resultAssignment !== void 0):
|
|
5662
|
+
case (resultAssignment !== null || resultAssignment !== void 0 || estimatedRealizedAssignmentEnd !== null || estimatedRealizedAssignmentEnd !== void 0):
|
|
5653
5663
|
onHandleTaskWork.value.onStartTaskWorking = false;
|
|
5654
5664
|
onHandleTaskWork.value.onFinishedTaskWorking = true;
|
|
5655
5665
|
onHandleTaskWork.value.onFinishedDisabledTaskWorking = true;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SituationModel: import("@neon.id/model").Model<"neu:personalia:situation", "branches" | "employeeNameTrimmed" | "situationDescription" | "situationRelatedBy" | "situationReportedBy" | "situationResponse" | "situationStatus" | "situationSupportedBy" | "situationType" | "supportiveStatus" | "urgentSituationDate">;
|
|
1
|
+
export declare const SituationModel: import("@neon.id/model").Model<"neu:personalia:situation", "branches" | "employeeNameTrimmed" | "searchBySituationTypeTrimmed" | "situationDescription" | "situationRelatedBy" | "situationReportedBy" | "situationResponse" | "situationStatus" | "situationSupportedBy" | "situationType" | "supportiveStatus" | "urgentSituationDate">;
|
|
2
2
|
export type TSituationModel = typeof SituationModel;
|
|
@@ -3972,6 +3972,8 @@ export type Situation = {
|
|
|
3972
3972
|
restoredBy?: Maybe<Scalars['ObjectId']>;
|
|
3973
3973
|
/** Who last restored this situasi. */
|
|
3974
3974
|
restorer?: Maybe<User>;
|
|
3975
|
+
/** Situation type virtual formatted */
|
|
3976
|
+
searchBySituationTypeTrimmed?: Maybe<Scalars['String']>;
|
|
3975
3977
|
/** Deskripsi dari situasi. */
|
|
3976
3978
|
situationDescription?: Maybe<Scalars['String']>;
|
|
3977
3979
|
/** Situasi ini berkaitan dengan siapa. */
|
|
@@ -4071,6 +4073,8 @@ export type SituationInput = {
|
|
|
4071
4073
|
restoredAt?: InputMaybe<Scalars['Date']>;
|
|
4072
4074
|
/** Relation ID of Restored By. */
|
|
4073
4075
|
restoredBy?: InputMaybe<Scalars['ObjectId']>;
|
|
4076
|
+
/** Situation type virtual formatted */
|
|
4077
|
+
searchBySituationTypeTrimmed?: InputMaybe<Scalars['String']>;
|
|
4074
4078
|
/** Deskripsi dari situasi. */
|
|
4075
4079
|
situationDescription?: InputMaybe<Scalars['String']>;
|
|
4076
4080
|
/** Relation IDs of Berkaitan Siapa. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-interfaces",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2-beta.1",
|
|
4
4
|
"description": "Interface library of Neutron.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@neon.id/interfaces": "0.153.0",
|
|
60
60
|
"@neon.id/office": "0.23.0",
|
|
61
61
|
"@neon.id/utils": "0.38.0",
|
|
62
|
-
"@neutron.co.id/personalia-models": "1.3.
|
|
62
|
+
"@neutron.co.id/personalia-models": "1.3.4-beta.1",
|
|
63
63
|
"@neutron.co.id/sentral-interfaces": "1.1.0",
|
|
64
64
|
"@nuxt/kit": "3.2.3",
|
|
65
65
|
"qr-scanner": "1.4.1",
|
|
@@ -126,12 +126,12 @@
|
|
|
126
126
|
"@neon.id/interfaces": "^0.153.0",
|
|
127
127
|
"@neon.id/office": "^0.23.0",
|
|
128
128
|
"@neon.id/utils": "^0.38.0",
|
|
129
|
-
"@neutron.co.id/personalia-models": "^1.3.
|
|
129
|
+
"@neutron.co.id/personalia-models": "^1.3.4-beta.1",
|
|
130
130
|
"@nuxt/kit": "^3.2.3",
|
|
131
131
|
"vue": "^3.2.47"
|
|
132
132
|
},
|
|
133
133
|
"publishConfig": {
|
|
134
134
|
"access": "public"
|
|
135
135
|
},
|
|
136
|
-
"build":
|
|
136
|
+
"build": 67
|
|
137
137
|
}
|