@neutron.co.id/operasional-interfaces 1.1.1-beta.4 → 1.2.0-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 +540 -12
- package/build/index.mjs +540 -12
- package/build/types/components/index.d.ts +2 -0
- package/build/types/components/situation/index.d.ts +2 -0
- package/build/types/components/situation/sheets/SituationCollection.vue.d.ts +2 -0
- package/build/types/components/situation/sheets/SituationSingle.vue.d.ts +2 -0
- package/build/types/components/situation/sheets/SituationSupportive.vue.d.ts +2 -0
- package/build/types/components/situation/sheets/SituationWork.vue.d.ts +2 -0
- package/build/types/components/situation/sheets/index.d.ts +4 -0
- package/build/types/components/situation/situation.types.d.ts +2 -0
- package/build/types/components/situationType/index.d.ts +2 -0
- package/build/types/components/situationType/sheets/SituationTypeCollection.vue.d.ts +2 -0
- package/build/types/components/situationType/sheets/SituationTypeSingle.vue.d.ts +2 -0
- package/build/types/components/situationType/sheets/index.d.ts +2 -0
- package/build/types/components/situationType/situationType.types.d.ts +2 -0
- package/build/types/components/staff/staff.types.d.ts +1 -1
- package/build/types/components/task/task.types.d.ts +1 -1
- package/build/types/gql/graphql.d.ts +600 -4
- package/package.json +7 -7
package/build/index.cjs
CHANGED
|
@@ -8,9 +8,9 @@ const context = require("@neon.id/context");
|
|
|
8
8
|
const office = require("@neon.id/office");
|
|
9
9
|
const form = require("@neon.id/form");
|
|
10
10
|
const _hoisted_1$1 = { class: "xxx-button" };
|
|
11
|
-
const __default__$
|
|
12
|
-
const _sfc_main$
|
|
13
|
-
...__default__$
|
|
11
|
+
const __default__$6 = vue.defineComponent({ name: "XxxButton" });
|
|
12
|
+
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
13
|
+
...__default__$6,
|
|
14
14
|
props: {
|
|
15
15
|
color: {
|
|
16
16
|
type: String,
|
|
@@ -26,11 +26,11 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
const StaffModel = personaliaModels.models.StaffModel;
|
|
29
|
-
const __default__$
|
|
29
|
+
const __default__$5 = vue.defineComponent({
|
|
30
30
|
name: "StaffCollection"
|
|
31
31
|
});
|
|
32
|
-
const _sfc_main$
|
|
33
|
-
...__default__$
|
|
32
|
+
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
33
|
+
...__default__$5,
|
|
34
34
|
setup(__props) {
|
|
35
35
|
context.useCollection();
|
|
36
36
|
return (_ctx, _cache) => {
|
|
@@ -46,7 +46,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
46
46
|
});
|
|
47
47
|
const _hoisted_1 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
|
|
48
48
|
const _hoisted_2 = { class: "grid gap-4 sm:grid-cols-2" };
|
|
49
|
-
const _sfc_main$
|
|
49
|
+
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
50
50
|
__name: "StaffSingle",
|
|
51
51
|
setup(__props) {
|
|
52
52
|
const {
|
|
@@ -199,7 +199,519 @@ const _export_sfc = (sfc, props) => {
|
|
|
199
199
|
}
|
|
200
200
|
return target;
|
|
201
201
|
};
|
|
202
|
-
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
202
|
+
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-dbeb1998"]]);
|
|
203
|
+
const SituationModel = personaliaModels.models.SituationModel;
|
|
204
|
+
const __default__$4 = vue.defineComponent({ name: "SituationCollection" });
|
|
205
|
+
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
206
|
+
...__default__$4,
|
|
207
|
+
setup(__props) {
|
|
208
|
+
context.useCollection();
|
|
209
|
+
return (_ctx, _cache) => {
|
|
210
|
+
return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-situation-collection" }, {
|
|
211
|
+
default: vue.withCtx(() => [
|
|
212
|
+
vue.createVNode(vue.unref(office.OfficeCollectionTable))
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
/* STABLE */
|
|
216
|
+
});
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
221
|
+
__name: "SituationSingle",
|
|
222
|
+
setup(__props) {
|
|
223
|
+
const {
|
|
224
|
+
fields,
|
|
225
|
+
id,
|
|
226
|
+
initialValues,
|
|
227
|
+
values,
|
|
228
|
+
isNew,
|
|
229
|
+
isLoading,
|
|
230
|
+
isChanged,
|
|
231
|
+
isReady,
|
|
232
|
+
isMain,
|
|
233
|
+
saveOne,
|
|
234
|
+
discardChanges
|
|
235
|
+
} = context.useSingle();
|
|
236
|
+
return (_ctx, _cache) => {
|
|
237
|
+
return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-situation-single" }, {
|
|
238
|
+
default: vue.withCtx(() => [
|
|
239
|
+
vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
|
|
240
|
+
default: vue.withCtx(() => [
|
|
241
|
+
vue.createVNode(vue.unref(office.OfficeTab), {
|
|
242
|
+
handle: "info",
|
|
243
|
+
icon: "circle-info",
|
|
244
|
+
title: "Info"
|
|
245
|
+
}, {
|
|
246
|
+
default: vue.withCtx(() => [
|
|
247
|
+
vue.createVNode(vue.unref(form.NeonForm), {
|
|
248
|
+
handle: "info",
|
|
249
|
+
"initial-values": vue.unref(initialValues),
|
|
250
|
+
"is-loading": vue.unref(isLoading),
|
|
251
|
+
"is-changed": vue.unref(isChanged),
|
|
252
|
+
"use-unsaved": "",
|
|
253
|
+
onCancel: vue.unref(discardChanges),
|
|
254
|
+
onSubmit: vue.unref(saveOne)
|
|
255
|
+
}, {
|
|
256
|
+
default: vue.withCtx(() => [
|
|
257
|
+
vue.createVNode(vue.unref(form.NeonFields), {
|
|
258
|
+
md: "grid-cols-4",
|
|
259
|
+
title: "Situasi"
|
|
260
|
+
}, {
|
|
261
|
+
default: vue.withCtx(() => [
|
|
262
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
263
|
+
modelValue: vue.unref(values).situationStatus,
|
|
264
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).situationStatus = $event)
|
|
265
|
+
}, vue.unref(fields).situationStatus), null, 16, ["modelValue"])
|
|
266
|
+
]),
|
|
267
|
+
_: 1
|
|
268
|
+
/* STABLE */
|
|
269
|
+
}),
|
|
270
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
271
|
+
modelValue: vue.unref(values),
|
|
272
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
273
|
+
field: vue.unref(fields).branches
|
|
274
|
+
}, null, 8, ["modelValue", "field"]),
|
|
275
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
276
|
+
modelValue: vue.unref(values),
|
|
277
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
278
|
+
field: vue.unref(fields).situationType
|
|
279
|
+
}, null, 8, ["modelValue", "field"]),
|
|
280
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
281
|
+
modelValue: vue.unref(values),
|
|
282
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
283
|
+
field: vue.unref(fields).situationReportedBy
|
|
284
|
+
}, null, 8, ["modelValue", "field"]),
|
|
285
|
+
vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
|
|
286
|
+
default: vue.withCtx(() => [
|
|
287
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
288
|
+
modelValue: vue.unref(values).situationDescription,
|
|
289
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).situationDescription = $event)
|
|
290
|
+
}, vue.unref(fields).situationDescription), null, 16, ["modelValue"])
|
|
291
|
+
]),
|
|
292
|
+
_: 1
|
|
293
|
+
/* STABLE */
|
|
294
|
+
}),
|
|
295
|
+
vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
|
|
296
|
+
default: vue.withCtx(() => [
|
|
297
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
298
|
+
modelValue: vue.unref(values).urgentSituationDate,
|
|
299
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).urgentSituationDate = $event)
|
|
300
|
+
}, vue.unref(fields).urgentSituationDate), null, 16, ["modelValue"])
|
|
301
|
+
]),
|
|
302
|
+
_: 1
|
|
303
|
+
/* STABLE */
|
|
304
|
+
}),
|
|
305
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
306
|
+
modelValue: vue.unref(values),
|
|
307
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
308
|
+
field: vue.unref(fields).situationRelatedBy
|
|
309
|
+
}, null, 8, ["modelValue", "field"]),
|
|
310
|
+
vue.createVNode(vue.unref(form.NeonFields), {
|
|
311
|
+
md: "grid-cols-4",
|
|
312
|
+
title: "Suportif"
|
|
313
|
+
}, {
|
|
314
|
+
default: vue.withCtx(() => [
|
|
315
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
316
|
+
modelValue: vue.unref(values).supportiveStatus,
|
|
317
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).supportiveStatus = $event)
|
|
318
|
+
}, vue.unref(fields).supportiveStatus), null, 16, ["modelValue"])
|
|
319
|
+
]),
|
|
320
|
+
_: 1
|
|
321
|
+
/* STABLE */
|
|
322
|
+
}),
|
|
323
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
324
|
+
modelValue: vue.unref(values),
|
|
325
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
326
|
+
field: vue.unref(fields).situationSupportedBy
|
|
327
|
+
}, null, 8, ["modelValue", "field"]),
|
|
328
|
+
vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
|
|
329
|
+
default: vue.withCtx(() => [
|
|
330
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
331
|
+
modelValue: vue.unref(values).situationResponse,
|
|
332
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).situationResponse = $event)
|
|
333
|
+
}, vue.unref(fields).situationResponse), null, 16, ["modelValue"])
|
|
334
|
+
]),
|
|
335
|
+
_: 1
|
|
336
|
+
/* STABLE */
|
|
337
|
+
})
|
|
338
|
+
]),
|
|
339
|
+
_: 1
|
|
340
|
+
/* STABLE */
|
|
341
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
342
|
+
]),
|
|
343
|
+
_: 1
|
|
344
|
+
/* STABLE */
|
|
345
|
+
})
|
|
346
|
+
]),
|
|
347
|
+
_: 1
|
|
348
|
+
/* STABLE */
|
|
349
|
+
}, 8, ["use-url"])
|
|
350
|
+
]),
|
|
351
|
+
_: 1
|
|
352
|
+
/* STABLE */
|
|
353
|
+
});
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
358
|
+
__name: "SituationWork",
|
|
359
|
+
setup(__props) {
|
|
360
|
+
const {
|
|
361
|
+
fields,
|
|
362
|
+
id,
|
|
363
|
+
initialValues,
|
|
364
|
+
values,
|
|
365
|
+
isNew,
|
|
366
|
+
isLoading,
|
|
367
|
+
isChanged,
|
|
368
|
+
isReady,
|
|
369
|
+
isMain,
|
|
370
|
+
saveOne,
|
|
371
|
+
discardChanges
|
|
372
|
+
} = context.useSingle();
|
|
373
|
+
return (_ctx, _cache) => {
|
|
374
|
+
return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-situation-single" }, {
|
|
375
|
+
default: vue.withCtx(() => [
|
|
376
|
+
vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
|
|
377
|
+
default: vue.withCtx(() => [
|
|
378
|
+
vue.createVNode(vue.unref(office.OfficeTab), {
|
|
379
|
+
handle: "info",
|
|
380
|
+
icon: "circle-info",
|
|
381
|
+
title: "Info"
|
|
382
|
+
}, {
|
|
383
|
+
default: vue.withCtx(() => [
|
|
384
|
+
vue.createVNode(vue.unref(form.NeonForm), {
|
|
385
|
+
handle: "info",
|
|
386
|
+
"initial-values": vue.unref(initialValues),
|
|
387
|
+
"is-loading": vue.unref(isLoading),
|
|
388
|
+
"is-changed": vue.unref(isChanged),
|
|
389
|
+
"use-unsaved": "",
|
|
390
|
+
onCancel: vue.unref(discardChanges),
|
|
391
|
+
onSubmit: vue.unref(saveOne)
|
|
392
|
+
}, {
|
|
393
|
+
default: vue.withCtx(() => [
|
|
394
|
+
vue.createVNode(vue.unref(form.NeonFields), {
|
|
395
|
+
md: "grid-cols-4",
|
|
396
|
+
title: "Situasi"
|
|
397
|
+
}, {
|
|
398
|
+
default: vue.withCtx(() => [
|
|
399
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
400
|
+
modelValue: vue.unref(values).situationStatus,
|
|
401
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).situationStatus = $event)
|
|
402
|
+
}, vue.unref(fields).situationStatus, { "is-disabled": "" }), null, 16, ["modelValue"])
|
|
403
|
+
]),
|
|
404
|
+
_: 1
|
|
405
|
+
/* STABLE */
|
|
406
|
+
}),
|
|
407
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
408
|
+
modelValue: vue.unref(values),
|
|
409
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
410
|
+
field: vue.unref(fields).branches
|
|
411
|
+
}, null, 8, ["modelValue", "field"]),
|
|
412
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
413
|
+
modelValue: vue.unref(values),
|
|
414
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
415
|
+
field: vue.unref(fields).situationType
|
|
416
|
+
}, null, 8, ["modelValue", "field"]),
|
|
417
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
418
|
+
modelValue: vue.unref(values),
|
|
419
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
420
|
+
field: vue.unref(fields).situationReportedBy,
|
|
421
|
+
"is-disabled": ""
|
|
422
|
+
}, null, 8, ["modelValue", "field"]),
|
|
423
|
+
vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
|
|
424
|
+
default: vue.withCtx(() => [
|
|
425
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
426
|
+
modelValue: vue.unref(values).situationDescription,
|
|
427
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).situationDescription = $event)
|
|
428
|
+
}, vue.unref(fields).situationDescription), null, 16, ["modelValue"])
|
|
429
|
+
]),
|
|
430
|
+
_: 1
|
|
431
|
+
/* STABLE */
|
|
432
|
+
}),
|
|
433
|
+
vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
|
|
434
|
+
default: vue.withCtx(() => [
|
|
435
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
436
|
+
modelValue: vue.unref(values).urgentSituationDate,
|
|
437
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).urgentSituationDate = $event)
|
|
438
|
+
}, vue.unref(fields).urgentSituationDate), null, 16, ["modelValue"])
|
|
439
|
+
]),
|
|
440
|
+
_: 1
|
|
441
|
+
/* STABLE */
|
|
442
|
+
}),
|
|
443
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
444
|
+
modelValue: vue.unref(values),
|
|
445
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
446
|
+
field: vue.unref(fields).situationRelatedBy
|
|
447
|
+
}, null, 8, ["modelValue", "field"]),
|
|
448
|
+
vue.createVNode(vue.unref(form.NeonFields), {
|
|
449
|
+
md: "grid-cols-4",
|
|
450
|
+
title: "Suportif"
|
|
451
|
+
}, {
|
|
452
|
+
default: vue.withCtx(() => [
|
|
453
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
454
|
+
modelValue: vue.unref(values).supportiveStatus,
|
|
455
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).supportiveStatus = $event)
|
|
456
|
+
}, vue.unref(fields).supportiveStatus), null, 16, ["modelValue"])
|
|
457
|
+
]),
|
|
458
|
+
_: 1
|
|
459
|
+
/* STABLE */
|
|
460
|
+
}),
|
|
461
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
462
|
+
modelValue: vue.unref(values),
|
|
463
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
464
|
+
field: vue.unref(fields).situationSupportedBy
|
|
465
|
+
}, null, 8, ["modelValue", "field"]),
|
|
466
|
+
vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
|
|
467
|
+
default: vue.withCtx(() => [
|
|
468
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
469
|
+
modelValue: vue.unref(values).situationResponse,
|
|
470
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).situationResponse = $event)
|
|
471
|
+
}, vue.unref(fields).situationResponse), null, 16, ["modelValue"])
|
|
472
|
+
]),
|
|
473
|
+
_: 1
|
|
474
|
+
/* STABLE */
|
|
475
|
+
})
|
|
476
|
+
]),
|
|
477
|
+
_: 1
|
|
478
|
+
/* STABLE */
|
|
479
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
480
|
+
]),
|
|
481
|
+
_: 1
|
|
482
|
+
/* STABLE */
|
|
483
|
+
})
|
|
484
|
+
]),
|
|
485
|
+
_: 1
|
|
486
|
+
/* STABLE */
|
|
487
|
+
}, 8, ["use-url"])
|
|
488
|
+
]),
|
|
489
|
+
_: 1
|
|
490
|
+
/* STABLE */
|
|
491
|
+
});
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
const __default__$3 = vue.defineComponent({ name: "SituationSupportive" });
|
|
496
|
+
const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
497
|
+
...__default__$3,
|
|
498
|
+
setup(__props) {
|
|
499
|
+
const {
|
|
500
|
+
fields,
|
|
501
|
+
id,
|
|
502
|
+
initialValues,
|
|
503
|
+
values,
|
|
504
|
+
isNew,
|
|
505
|
+
isLoading,
|
|
506
|
+
isChanged,
|
|
507
|
+
isReady,
|
|
508
|
+
isMain,
|
|
509
|
+
saveOne,
|
|
510
|
+
discardChanges
|
|
511
|
+
} = context.useSingle();
|
|
512
|
+
return (_ctx, _cache) => {
|
|
513
|
+
return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-situation-single" }, {
|
|
514
|
+
default: vue.withCtx(() => [
|
|
515
|
+
vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
|
|
516
|
+
default: vue.withCtx(() => [
|
|
517
|
+
vue.createVNode(vue.unref(office.OfficeTab), {
|
|
518
|
+
handle: "info",
|
|
519
|
+
icon: "circle-info",
|
|
520
|
+
title: "Info"
|
|
521
|
+
}, {
|
|
522
|
+
default: vue.withCtx(() => [
|
|
523
|
+
vue.createVNode(vue.unref(form.NeonForm), {
|
|
524
|
+
handle: "info",
|
|
525
|
+
"initial-values": vue.unref(initialValues),
|
|
526
|
+
"is-loading": vue.unref(isLoading),
|
|
527
|
+
"is-changed": vue.unref(isChanged),
|
|
528
|
+
"use-unsaved": "",
|
|
529
|
+
onCancel: vue.unref(discardChanges),
|
|
530
|
+
onSubmit: vue.unref(saveOne)
|
|
531
|
+
}, {
|
|
532
|
+
default: vue.withCtx(() => [
|
|
533
|
+
vue.createVNode(vue.unref(form.NeonFields), {
|
|
534
|
+
md: "grid-cols-4",
|
|
535
|
+
title: "Suportif"
|
|
536
|
+
}, {
|
|
537
|
+
default: vue.withCtx(() => [
|
|
538
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
539
|
+
modelValue: vue.unref(values).situationStatus,
|
|
540
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).situationStatus = $event)
|
|
541
|
+
}, vue.unref(fields).situationStatus, { "is-disabled": "" }), null, 16, ["modelValue"])
|
|
542
|
+
]),
|
|
543
|
+
_: 1
|
|
544
|
+
/* STABLE */
|
|
545
|
+
}),
|
|
546
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
547
|
+
modelValue: vue.unref(values),
|
|
548
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
549
|
+
field: vue.unref(fields).situationSupportedBy
|
|
550
|
+
}, null, 8, ["modelValue", "field"]),
|
|
551
|
+
vue.createVNode(vue.unref(form.NeonFields), {
|
|
552
|
+
md: "grid-cols-4",
|
|
553
|
+
title: "Situasi"
|
|
554
|
+
}, {
|
|
555
|
+
default: vue.withCtx(() => [
|
|
556
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
557
|
+
modelValue: vue.unref(values).situationResponse,
|
|
558
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).situationResponse = $event)
|
|
559
|
+
}, vue.unref(fields).situationResponse), null, 16, ["modelValue"])
|
|
560
|
+
]),
|
|
561
|
+
_: 1
|
|
562
|
+
/* STABLE */
|
|
563
|
+
}),
|
|
564
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
565
|
+
modelValue: vue.unref(values),
|
|
566
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
567
|
+
field: vue.unref(fields).branches,
|
|
568
|
+
"is-disabled": ""
|
|
569
|
+
}, null, 8, ["modelValue", "field"]),
|
|
570
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
571
|
+
modelValue: vue.unref(values),
|
|
572
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
573
|
+
field: vue.unref(fields).situationType,
|
|
574
|
+
"is-disabled": ""
|
|
575
|
+
}, null, 8, ["modelValue", "field"]),
|
|
576
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
577
|
+
modelValue: vue.unref(values),
|
|
578
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
579
|
+
field: vue.unref(fields).situationReportedBy,
|
|
580
|
+
"is-disabled": ""
|
|
581
|
+
}, null, 8, ["modelValue", "field"]),
|
|
582
|
+
vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
|
|
583
|
+
default: vue.withCtx(() => [
|
|
584
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
585
|
+
modelValue: vue.unref(values).situationDescription,
|
|
586
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).situationDescription = $event)
|
|
587
|
+
}, vue.unref(fields).situationDescription, { "is-disabled": "" }), null, 16, ["modelValue"])
|
|
588
|
+
]),
|
|
589
|
+
_: 1
|
|
590
|
+
/* STABLE */
|
|
591
|
+
}),
|
|
592
|
+
vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
|
|
593
|
+
default: vue.withCtx(() => [
|
|
594
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
595
|
+
modelValue: vue.unref(values).urgentSituationDate,
|
|
596
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).urgentSituationDate = $event)
|
|
597
|
+
}, vue.unref(fields).urgentSituationDate, { "is-disabled": "" }), null, 16, ["modelValue"])
|
|
598
|
+
]),
|
|
599
|
+
_: 1
|
|
600
|
+
/* STABLE */
|
|
601
|
+
}),
|
|
602
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
603
|
+
modelValue: vue.unref(values),
|
|
604
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
605
|
+
field: vue.unref(fields).situationRelatedBy,
|
|
606
|
+
"is-disabled": ""
|
|
607
|
+
}, null, 8, ["modelValue", "field"])
|
|
608
|
+
]),
|
|
609
|
+
_: 1
|
|
610
|
+
/* STABLE */
|
|
611
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
612
|
+
]),
|
|
613
|
+
_: 1
|
|
614
|
+
/* STABLE */
|
|
615
|
+
})
|
|
616
|
+
]),
|
|
617
|
+
_: 1
|
|
618
|
+
/* STABLE */
|
|
619
|
+
}, 8, ["use-url"])
|
|
620
|
+
]),
|
|
621
|
+
_: 1
|
|
622
|
+
/* STABLE */
|
|
623
|
+
});
|
|
624
|
+
};
|
|
625
|
+
}
|
|
626
|
+
});
|
|
627
|
+
const SituationTypeModel = personaliaModels.models.SituationTypeModel;
|
|
628
|
+
const __default__$2 = vue.defineComponent({ name: "SituationTypeCollection" });
|
|
629
|
+
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
630
|
+
...__default__$2,
|
|
631
|
+
setup(__props) {
|
|
632
|
+
context.useCollection();
|
|
633
|
+
return (_ctx, _cache) => {
|
|
634
|
+
return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-situationType-collection" }, {
|
|
635
|
+
default: vue.withCtx(() => [
|
|
636
|
+
vue.createVNode(vue.unref(office.OfficeCollectionTable))
|
|
637
|
+
]),
|
|
638
|
+
_: 1
|
|
639
|
+
/* STABLE */
|
|
640
|
+
});
|
|
641
|
+
};
|
|
642
|
+
}
|
|
643
|
+
});
|
|
644
|
+
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
645
|
+
__name: "SituationTypeSingle",
|
|
646
|
+
setup(__props) {
|
|
647
|
+
const {
|
|
648
|
+
fields,
|
|
649
|
+
id,
|
|
650
|
+
initialValues,
|
|
651
|
+
values,
|
|
652
|
+
isNew,
|
|
653
|
+
isLoading,
|
|
654
|
+
isChanged,
|
|
655
|
+
isReady,
|
|
656
|
+
isMain,
|
|
657
|
+
saveOne,
|
|
658
|
+
discardChanges
|
|
659
|
+
} = context.useSingle();
|
|
660
|
+
return (_ctx, _cache) => {
|
|
661
|
+
return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-situation-type-single" }, {
|
|
662
|
+
default: vue.withCtx(() => [
|
|
663
|
+
vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
|
|
664
|
+
default: vue.withCtx(() => [
|
|
665
|
+
vue.createVNode(vue.unref(office.OfficeTab), {
|
|
666
|
+
handle: "info",
|
|
667
|
+
icon: "circle-info",
|
|
668
|
+
title: "Info"
|
|
669
|
+
}, {
|
|
670
|
+
default: vue.withCtx(() => [
|
|
671
|
+
vue.createVNode(vue.unref(form.NeonForm), {
|
|
672
|
+
handle: "info",
|
|
673
|
+
"initial-values": vue.unref(initialValues),
|
|
674
|
+
"is-loading": vue.unref(isLoading),
|
|
675
|
+
"is-changed": vue.unref(isChanged),
|
|
676
|
+
"use-unsaved": "",
|
|
677
|
+
onCancel: vue.unref(discardChanges),
|
|
678
|
+
onSubmit: vue.unref(saveOne)
|
|
679
|
+
}, {
|
|
680
|
+
default: vue.withCtx(() => [
|
|
681
|
+
vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
|
|
682
|
+
default: vue.withCtx(() => [
|
|
683
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
684
|
+
modelValue: vue.unref(values).situationTypeName,
|
|
685
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).situationTypeName = $event)
|
|
686
|
+
}, vue.unref(fields).situationTypeName), null, 16, ["modelValue"])
|
|
687
|
+
]),
|
|
688
|
+
_: 1
|
|
689
|
+
/* STABLE */
|
|
690
|
+
}),
|
|
691
|
+
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
692
|
+
modelValue: vue.unref(values),
|
|
693
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
694
|
+
field: vue.unref(fields).branches
|
|
695
|
+
}, null, 8, ["modelValue", "field"])
|
|
696
|
+
]),
|
|
697
|
+
_: 1
|
|
698
|
+
/* STABLE */
|
|
699
|
+
}, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
|
|
700
|
+
]),
|
|
701
|
+
_: 1
|
|
702
|
+
/* STABLE */
|
|
703
|
+
})
|
|
704
|
+
]),
|
|
705
|
+
_: 1
|
|
706
|
+
/* STABLE */
|
|
707
|
+
}, 8, ["use-url"])
|
|
708
|
+
]),
|
|
709
|
+
_: 1
|
|
710
|
+
/* STABLE */
|
|
711
|
+
});
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
});
|
|
203
715
|
const TaskModel = personaliaModels.models.TaskModel;
|
|
204
716
|
function devAssert(condition, message) {
|
|
205
717
|
const booleanCondition = Boolean(condition);
|
|
@@ -4210,7 +4722,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4210
4722
|
});
|
|
4211
4723
|
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4212
4724
|
__proto__: null,
|
|
4213
|
-
|
|
4725
|
+
SituationCollection: _sfc_main$9,
|
|
4726
|
+
SituationModel,
|
|
4727
|
+
SituationSingle: _sfc_main$8,
|
|
4728
|
+
SituationSupportive: _sfc_main$6,
|
|
4729
|
+
SituationTypeCollection: _sfc_main$5,
|
|
4730
|
+
SituationTypeModel,
|
|
4731
|
+
SituationTypeSingle: _sfc_main$4,
|
|
4732
|
+
SituationWork: _sfc_main$7,
|
|
4733
|
+
StaffCollection: _sfc_main$b,
|
|
4214
4734
|
StaffModel,
|
|
4215
4735
|
StaffSingle,
|
|
4216
4736
|
TaskCollection: _sfc_main$2,
|
|
@@ -4218,7 +4738,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
4218
4738
|
TaskSingle: _sfc_main$1,
|
|
4219
4739
|
TaskWork: _sfc_main,
|
|
4220
4740
|
TaskWorkButton: _sfc_main$3,
|
|
4221
|
-
XxxButton: _sfc_main$
|
|
4741
|
+
XxxButton: _sfc_main$c
|
|
4222
4742
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4223
4743
|
function registerComponents(app) {
|
|
4224
4744
|
Object.entries(components).forEach(([name, component]) => {
|
|
@@ -4235,7 +4755,15 @@ const OperasionalInterfacesPlugin = {
|
|
|
4235
4755
|
};
|
|
4236
4756
|
exports.OperasionalInterfacesPlugin = OperasionalInterfacesPlugin;
|
|
4237
4757
|
exports.Schema = graphql;
|
|
4238
|
-
exports.
|
|
4758
|
+
exports.SituationCollection = _sfc_main$9;
|
|
4759
|
+
exports.SituationModel = SituationModel;
|
|
4760
|
+
exports.SituationSingle = _sfc_main$8;
|
|
4761
|
+
exports.SituationSupportive = _sfc_main$6;
|
|
4762
|
+
exports.SituationTypeCollection = _sfc_main$5;
|
|
4763
|
+
exports.SituationTypeModel = SituationTypeModel;
|
|
4764
|
+
exports.SituationTypeSingle = _sfc_main$4;
|
|
4765
|
+
exports.SituationWork = _sfc_main$7;
|
|
4766
|
+
exports.StaffCollection = _sfc_main$b;
|
|
4239
4767
|
exports.StaffModel = StaffModel;
|
|
4240
4768
|
exports.StaffSingle = StaffSingle;
|
|
4241
4769
|
exports.TaskCollection = _sfc_main$2;
|
|
@@ -4243,4 +4771,4 @@ exports.TaskModel = TaskModel;
|
|
|
4243
4771
|
exports.TaskSingle = _sfc_main$1;
|
|
4244
4772
|
exports.TaskWork = _sfc_main;
|
|
4245
4773
|
exports.TaskWorkButton = _sfc_main$3;
|
|
4246
|
-
exports.XxxButton = _sfc_main$
|
|
4774
|
+
exports.XxxButton = _sfc_main$c;
|