ngx-histaff-alpha 6.4.8 → 6.4.9
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/fesm2022/{ngx-histaff-alpha-ai-hint-for-table.component-f4YBgbOv.mjs → ngx-histaff-alpha-ai-hint-for-table.component-CKKqdgg7.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-ai-hint-for-table.component-f4YBgbOv.mjs.map → ngx-histaff-alpha-ai-hint-for-table.component-CKKqdgg7.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-form-design.component-BMU-rbOU.mjs → ngx-histaff-alpha-core-form-design.component-BZvtwXkM.mjs} +458 -254
- package/fesm2022/ngx-histaff-alpha-core-form-design.component-BZvtwXkM.mjs.map +1 -0
- package/fesm2022/{ngx-histaff-alpha-core-sys-action.component-nEE8LeYS.mjs → ngx-histaff-alpha-core-sys-action.component-C_VAQLOE.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-core-sys-action.component-nEE8LeYS.mjs.map → ngx-histaff-alpha-core-sys-action.component-C_VAQLOE.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-template-editor.component-DwSst07G.mjs → ngx-histaff-alpha-core-template-editor.component-DmTad7AG.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-core-template-editor.component-DwSst07G.mjs.map → ngx-histaff-alpha-core-template-editor.component-DmTad7AG.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-toast-loading.component-DWIQZeZl.mjs → ngx-histaff-alpha-core-toast-loading.component-C3JfOCoY.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-core-toast-loading.component-DWIQZeZl.mjs.map → ngx-histaff-alpha-core-toast-loading.component-C3JfOCoY.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-core-workflow-consume.component-B-RPGCiI.mjs → ngx-histaff-alpha-core-workflow-consume.component-BvFyWEqO.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-core-workflow-consume.component-B-RPGCiI.mjs.map → ngx-histaff-alpha-core-workflow-consume.component-BvFyWEqO.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-db-settings.component-C3fYKsMd.mjs → ngx-histaff-alpha-db-settings.component-CmO49AZU.mjs} +5 -5
- package/fesm2022/{ngx-histaff-alpha-db-settings.component-C3fYKsMd.mjs.map → ngx-histaff-alpha-db-settings.component-CmO49AZU.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-design-wrapper.component-C9Jf7XWj.mjs → ngx-histaff-alpha-design-wrapper.component-BpGl04Dv.mjs} +49 -7
- package/fesm2022/ngx-histaff-alpha-design-wrapper.component-BpGl04Dv.mjs.map +1 -0
- package/fesm2022/{ngx-histaff-alpha-design-wrapper.route-Bk9j5IIl.mjs → ngx-histaff-alpha-design-wrapper.route-D3Lpsk-N.mjs} +5 -5
- package/fesm2022/{ngx-histaff-alpha-design-wrapper.route-Bk9j5IIl.mjs.map → ngx-histaff-alpha-design-wrapper.route-D3Lpsk-N.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-hrm-schema.component-SerupGF3.mjs → ngx-histaff-alpha-hrm-schema.component-Bd3CdbC_.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-hrm-schema.component-SerupGF3.mjs.map → ngx-histaff-alpha-hrm-schema.component-Bd3CdbC_.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-live-form.component-CkeOK3B7.mjs → ngx-histaff-alpha-live-form.component-LdFysTvc.mjs} +91 -139
- package/fesm2022/ngx-histaff-alpha-live-form.component-LdFysTvc.mjs.map +1 -0
- package/fesm2022/{ngx-histaff-alpha-ngx-histaff-alpha-DZMJyvtg.mjs → ngx-histaff-alpha-ngx-histaff-alpha-TWTSrQ0J.mjs} +294 -308
- package/fesm2022/ngx-histaff-alpha-ngx-histaff-alpha-TWTSrQ0J.mjs.map +1 -0
- package/fesm2022/{ngx-histaff-alpha-simple-chat.component-BbsCjEaN.mjs → ngx-histaff-alpha-simple-chat.component-Bijz8uoH.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-simple-chat.component-BbsCjEaN.mjs.map → ngx-histaff-alpha-simple-chat.component-Bijz8uoH.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-template-list.component-BZCdtedY.mjs → ngx-histaff-alpha-template-list.component-CKNXhE7n.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-template-list.component-BZCdtedY.mjs.map → ngx-histaff-alpha-template-list.component-CKNXhE7n.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-tracker-studio.component-CDJfkoan.mjs → ngx-histaff-alpha-tracker-studio.component-BLFeI6xO.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-tracker-studio.component-CDJfkoan.mjs.map → ngx-histaff-alpha-tracker-studio.component-BLFeI6xO.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-wf-form-assign.component-BLM4gRwQ.mjs → ngx-histaff-alpha-wf-form-assign.component-nct49SFr.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-wf-form-assign.component-BLM4gRwQ.mjs.map → ngx-histaff-alpha-wf-form-assign.component-nct49SFr.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-wf-global-config.component-BhlbCxKD.mjs → ngx-histaff-alpha-wf-global-config.component-BSuUBIrY.mjs} +18 -2
- package/fesm2022/ngx-histaff-alpha-wf-global-config.component-BSuUBIrY.mjs.map +1 -0
- package/fesm2022/{ngx-histaff-alpha-wf-instance-status.component-rCfzZVzd.mjs → ngx-histaff-alpha-wf-instance-status.component-B58W1ZBc.mjs} +2 -2
- package/fesm2022/{ngx-histaff-alpha-wf-instance-status.component-rCfzZVzd.mjs.map → ngx-histaff-alpha-wf-instance-status.component-B58W1ZBc.mjs.map} +1 -1
- package/fesm2022/{ngx-histaff-alpha-wf-instance-step-react.component-BFrOIHlR.mjs → ngx-histaff-alpha-wf-instance-step-react.component-iyoN_zDV.mjs} +6 -7
- package/fesm2022/ngx-histaff-alpha-wf-instance-step-react.component-iyoN_zDV.mjs.map +1 -0
- package/fesm2022/ngx-histaff-alpha-wf-lab.component-Db5dIgKZ.mjs +130 -0
- package/fesm2022/ngx-histaff-alpha-wf-lab.component-Db5dIgKZ.mjs.map +1 -0
- package/fesm2022/ngx-histaff-alpha.mjs +1 -1
- package/lib/app/libraries/core-form/core-form/enum-interfaces.d.ts +6 -0
- package/lib/app/libraries/core-form-design/core-form-design.component.d.ts +1 -1
- package/lib/app/libraries/core-form-design/core-form-group-editor.component.d.ts +1 -1
- package/lib/app/libraries/core-form-design/field-setting/field-setting-props.registry.d.ts +2 -0
- package/lib/app/libraries/core-form-design/field-setting/field-setting.component.d.ts +8 -2
- package/lib/app/libraries/core-form-design/field-setting/type-specific/seeker-props/seeker-props.component.d.ts +31 -7
- package/lib/app/libraries/core-form-design/field-setting/type-specific/seeker-props/seeker-props.service.d.ts +16 -0
- package/lib/app/libraries/core-form-design/live-form/live-form.component.d.ts +3 -1
- package/lib/app/libraries/core-form-design/props-host/props-host.component.d.ts +6 -8
- package/lib/app/libraries/core-orgchartflex/core-orgchartflex/core-orgchartflex.component.d.ts +13 -8
- package/lib/app/libraries/core-workflow-builder/core-workflow.service.d.ts +1 -1
- package/lib/app/libraries/core-workflow-builder/interfaces/IStepConfig.d.ts +10 -1
- package/lib/app/libraries/core-workflow-builder/wf-lab/wf-lab.component.d.ts +35 -0
- package/lib/app/libraries/core-workflow-builder/wf-process-design/wf-step-config-shell/wf-formui-config/wf-formui-config.component.d.ts +21 -0
- package/package.json +2 -2
- package/fesm2022/ngx-histaff-alpha-core-form-design.component-BMU-rbOU.mjs.map +0 -1
- package/fesm2022/ngx-histaff-alpha-design-wrapper.component-C9Jf7XWj.mjs.map +0 -1
- package/fesm2022/ngx-histaff-alpha-email-props.component-Cf35Pexq.mjs +0 -14
- package/fesm2022/ngx-histaff-alpha-email-props.component-Cf35Pexq.mjs.map +0 -1
- package/fesm2022/ngx-histaff-alpha-form-array-props.component-DZ7gptOo.mjs +0 -26
- package/fesm2022/ngx-histaff-alpha-form-array-props.component-DZ7gptOo.mjs.map +0 -1
- package/fesm2022/ngx-histaff-alpha-live-form.component-CkeOK3B7.mjs.map +0 -1
- package/fesm2022/ngx-histaff-alpha-ngx-histaff-alpha-DZMJyvtg.mjs.map +0 -1
- package/fesm2022/ngx-histaff-alpha-wf-global-config.component-BhlbCxKD.mjs.map +0 -1
- package/fesm2022/ngx-histaff-alpha-wf-instance-step-react.component-BFrOIHlR.mjs.map +0 -1
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, signal, computed, effect, Component } from '@angular/core';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { m as CoreWorkflowService } from './ngx-histaff-alpha-ngx-histaff-alpha-TWTSrQ0J.mjs';
|
|
5
|
+
import * as i1 from '@angular/material/form-field';
|
|
6
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
+
import * as i2 from '@angular/material/input';
|
|
8
|
+
import { MatInputModule } from '@angular/material/input';
|
|
9
|
+
import * as i3 from '@angular/material/select';
|
|
10
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
11
|
+
import * as i4 from '@angular/material/button';
|
|
12
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
13
|
+
|
|
14
|
+
class WfLabComponent {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.router = inject(Router);
|
|
17
|
+
this.wfs = inject(CoreWorkflowService);
|
|
18
|
+
// Inputs
|
|
19
|
+
this.$workflowId = signal('');
|
|
20
|
+
this.$correlationId = signal('');
|
|
21
|
+
this.$stepId = signal('');
|
|
22
|
+
this.$actorId = signal('');
|
|
23
|
+
this.$reason = signal('LAB reason…');
|
|
24
|
+
// React / Inject
|
|
25
|
+
this.$reactType = signal('APPROVED');
|
|
26
|
+
this.$injectType = signal('CANCELLED');
|
|
27
|
+
// Groups + Workflows
|
|
28
|
+
this.$groups = this.wfs.$allGroups;
|
|
29
|
+
this.$allWorkflows = computed(() => {
|
|
30
|
+
return this.$groups().flatMap(g => g.wfWorkflows.map(w => ({
|
|
31
|
+
id: w.id,
|
|
32
|
+
label: `${g.name} / ${w.name}`
|
|
33
|
+
})));
|
|
34
|
+
});
|
|
35
|
+
// Current steps (design-time steps)
|
|
36
|
+
this.$steps = this.wfs.$currentSteps;
|
|
37
|
+
// Auto-build United Correlation IDs
|
|
38
|
+
this.$united = computed(() => {
|
|
39
|
+
const w = this.$workflowId();
|
|
40
|
+
const c = this.$correlationId();
|
|
41
|
+
const s = this.$stepId();
|
|
42
|
+
const a = this.$actorId();
|
|
43
|
+
return (w && c && s && a)
|
|
44
|
+
? `${w}___${c}___${s}___${a}`
|
|
45
|
+
: '';
|
|
46
|
+
});
|
|
47
|
+
effect(() => {
|
|
48
|
+
const existing = this.wfs.$allGroups();
|
|
49
|
+
if (existing.length === 0) {
|
|
50
|
+
this.loadGroupsOnce();
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
loadGroupsOnce() {
|
|
55
|
+
this.wfs
|
|
56
|
+
.refreshObservable('/api/WfWorkflowGroup/GetAllWithWorkflows', '', undefined, false)
|
|
57
|
+
.subscribe(x => {
|
|
58
|
+
if (x.ok && x.status === 200 && x.body?.statusCode === 200) {
|
|
59
|
+
const groups = x.body.innerBody
|
|
60
|
+
.map(g => ({ ...g, orderNum: g.orderNum ?? 999 }))
|
|
61
|
+
.sort((a, b) => a.orderNum - b.orderNum);
|
|
62
|
+
this.wfs.$allGroups.set(groups);
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
console.warn('⚠️ LAB: GetAllWithWorkflows failed', x.body);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
// Select Workflow
|
|
70
|
+
selectWorkflow(id) {
|
|
71
|
+
this.$workflowId.set(id);
|
|
72
|
+
}
|
|
73
|
+
// Select React Type
|
|
74
|
+
selectReactType(v) {
|
|
75
|
+
this.$reactType.set(v);
|
|
76
|
+
}
|
|
77
|
+
// Select Inject Type
|
|
78
|
+
selectInjectType(v) {
|
|
79
|
+
this.$injectType.set(v);
|
|
80
|
+
}
|
|
81
|
+
// Execute React
|
|
82
|
+
doReact() {
|
|
83
|
+
const uid = this.$united();
|
|
84
|
+
if (!uid)
|
|
85
|
+
return;
|
|
86
|
+
this.wfs.react(uid, this.$reactType(), this.$reason(), {}).subscribe();
|
|
87
|
+
}
|
|
88
|
+
// Execute Inject
|
|
89
|
+
doInject() {
|
|
90
|
+
const uid = this.$united();
|
|
91
|
+
if (!uid)
|
|
92
|
+
return;
|
|
93
|
+
this.wfs.inject(uid, this.$injectType(), this.$reason()).subscribe();
|
|
94
|
+
}
|
|
95
|
+
// Navigation
|
|
96
|
+
openKickoff() {
|
|
97
|
+
if (!this.$workflowId())
|
|
98
|
+
return;
|
|
99
|
+
this.router.navigate(['/root/workflow/workflow-consume', this.$workflowId()]);
|
|
100
|
+
}
|
|
101
|
+
openReactPage() {
|
|
102
|
+
if (!this.$united())
|
|
103
|
+
return;
|
|
104
|
+
this.router.navigate(['/root/workflow/react', this.$united()]);
|
|
105
|
+
}
|
|
106
|
+
openStatus() {
|
|
107
|
+
if (!this.$workflowId())
|
|
108
|
+
return;
|
|
109
|
+
this.router.navigate(['/root/workflow/status', this.$workflowId()]);
|
|
110
|
+
}
|
|
111
|
+
openPreview() {
|
|
112
|
+
if (!this.$workflowId())
|
|
113
|
+
return;
|
|
114
|
+
this.router.navigate(['/root/workflow/workflow-consume', this.$workflowId()], { queryParams: { preview: true } });
|
|
115
|
+
}
|
|
116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: WfLabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
117
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: WfLabComponent, isStandalone: true, selector: "core-wf-lab", ngImport: i0, template: "<div class=\"lab-container\">\r\n\r\n <h2>Workflow Engine LAB (Backend-Accurate)</h2>\r\n\r\n <!-- Workflow selector -->\r\n <mat-form-field appearance=\"outline\" class=\"w100\">\r\n <mat-label>Select Workflow</mat-label>\r\n <mat-select\r\n [value]=\"$workflowId()\"\r\n (selectionChange)=\"selectWorkflow($any($event.value))\">\r\n\r\n @for (wf of $allWorkflows(); track wf.id) {\r\n <mat-option [value]=\"wf.id\">{{ wf.label }}</mat-option>\r\n }\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <!-- Input Grid -->\r\n <div class=\"input-grid\">\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Workflow ID</mat-label>\r\n <input matInput [value]=\"$workflowId()\"\r\n (input)=\"$workflowId.set($any($event.target).value)\" />\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Correlation ID</mat-label>\r\n <input matInput [value]=\"$correlationId()\"\r\n (input)=\"$correlationId.set($any($event.target).value)\" />\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Step ID</mat-label>\r\n <mat-select\r\n [value]=\"$stepId()\"\r\n (selectionChange)=\"$stepId.set($any($event.value))\">\r\n\r\n @for (s of $steps(); track s.id) {\r\n <mat-option [value]=\"s.id\">{{ s.name }}</mat-option>\r\n }\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Actor ID</mat-label>\r\n <input matInput [value]=\"$actorId()\"\r\n (input)=\"$actorId.set($any($event.target).value)\" />\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <!-- Auto United -->\r\n <div class=\"united-display\">\r\n <div class=\"label\">UnitedCorrelationIds:</div>\r\n <div class=\"value\">{{$united()}}</div>\r\n </div>\r\n\r\n <!-- Reason -->\r\n <mat-form-field appearance=\"outline\" class=\"w100\">\r\n <mat-label>Reason</mat-label>\r\n <textarea matInput rows=\"3\"\r\n [value]=\"$reason()\"\r\n (input)=\"$reason.set($any($event.target).value)\">\r\n </textarea>\r\n </mat-form-field>\r\n\r\n <!-- React Actions -->\r\n <div class=\"section-title\">React Actions (Actor)</div>\r\n\r\n <div class=\"action-row\">\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>React Type</mat-label>\r\n <mat-select [value]=\"$reactType()\"\r\n (selectionChange)=\"selectReactType($any($event.value))\">\r\n\r\n <mat-option value=\"APPROVED\">APPROVED</mat-option>\r\n <mat-option value=\"REJECTED\">REJECTED</mat-option>\r\n <mat-option value=\"CONFIRMED\">CONFIRMED</mat-option>\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <button mat-raised-button color=\"primary\" (click)=\"doReact()\">\r\n Run React\r\n </button>\r\n </div>\r\n\r\n <!-- Inject Actions -->\r\n <div class=\"section-title\">Inject Actions (System)</div>\r\n\r\n <div class=\"action-row\">\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Inject Type</mat-label>\r\n <mat-select [value]=\"$injectType()\"\r\n (selectionChange)=\"selectInjectType($any($event.value))\">\r\n\r\n <mat-option value=\"CANCELLED\">CANCELLED</mat-option>\r\n <mat-option value=\"REVOKED\">REVOKED</mat-option>\r\n <mat-option value=\"TERMINATED\">TERMINATED</mat-option>\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <button mat-raised-button color=\"warn\" (click)=\"doInject()\">\r\n Run Inject\r\n </button>\r\n </div>\r\n\r\n <!-- Navigation -->\r\n <div class=\"section-title\">Navigation</div>\r\n\r\n <div class=\"button-row\">\r\n <button mat-raised-button (click)=\"openKickoff()\">Open Kickoff</button>\r\n <button mat-raised-button (click)=\"openReactPage()\">Open React Page</button>\r\n <button mat-raised-button (click)=\"openStatus()\">Open Status</button>\r\n <button mat-raised-button (click)=\"openPreview()\">Preview Mode</button>\r\n </div>\r\n\r\n</div>\r\n", styles: [".lab-container{padding:24px;max-width:900px;margin:0 auto}.lab-container h2{font-size:26px;font-weight:700;margin-bottom:24px}.w100{width:100%}.input-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.input-grid mat-form-field{width:100%}.united-display{margin:12px 0 20px;padding:12px;background:#f3f3f3;border-radius:6px;font-size:14px;line-height:24px;display:flex;flex-direction:column}.united-display .label{font-weight:700;color:#555}.united-display .value{font-family:monospace;word-break:break-all}.section-title{margin-top:32px;margin-bottom:12px;font-size:18px;font-weight:600}.action-row{display:flex;align-items:center;gap:16px;margin-bottom:24px}.action-row mat-form-field{width:240px;flex-shrink:0}.action-row button{height:48px}.button-row{display:flex;flex-wrap:wrap;gap:12px}.button-row button{min-width:180px}\n"], dependencies: [{ kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i1.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i3.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }] }); }
|
|
118
|
+
}
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: WfLabComponent, decorators: [{
|
|
120
|
+
type: Component,
|
|
121
|
+
args: [{ selector: 'core-wf-lab', standalone: true, imports: [
|
|
122
|
+
MatFormFieldModule,
|
|
123
|
+
MatInputModule,
|
|
124
|
+
MatSelectModule,
|
|
125
|
+
MatButtonModule,
|
|
126
|
+
], template: "<div class=\"lab-container\">\r\n\r\n <h2>Workflow Engine LAB (Backend-Accurate)</h2>\r\n\r\n <!-- Workflow selector -->\r\n <mat-form-field appearance=\"outline\" class=\"w100\">\r\n <mat-label>Select Workflow</mat-label>\r\n <mat-select\r\n [value]=\"$workflowId()\"\r\n (selectionChange)=\"selectWorkflow($any($event.value))\">\r\n\r\n @for (wf of $allWorkflows(); track wf.id) {\r\n <mat-option [value]=\"wf.id\">{{ wf.label }}</mat-option>\r\n }\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <!-- Input Grid -->\r\n <div class=\"input-grid\">\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Workflow ID</mat-label>\r\n <input matInput [value]=\"$workflowId()\"\r\n (input)=\"$workflowId.set($any($event.target).value)\" />\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Correlation ID</mat-label>\r\n <input matInput [value]=\"$correlationId()\"\r\n (input)=\"$correlationId.set($any($event.target).value)\" />\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Step ID</mat-label>\r\n <mat-select\r\n [value]=\"$stepId()\"\r\n (selectionChange)=\"$stepId.set($any($event.value))\">\r\n\r\n @for (s of $steps(); track s.id) {\r\n <mat-option [value]=\"s.id\">{{ s.name }}</mat-option>\r\n }\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Actor ID</mat-label>\r\n <input matInput [value]=\"$actorId()\"\r\n (input)=\"$actorId.set($any($event.target).value)\" />\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <!-- Auto United -->\r\n <div class=\"united-display\">\r\n <div class=\"label\">UnitedCorrelationIds:</div>\r\n <div class=\"value\">{{$united()}}</div>\r\n </div>\r\n\r\n <!-- Reason -->\r\n <mat-form-field appearance=\"outline\" class=\"w100\">\r\n <mat-label>Reason</mat-label>\r\n <textarea matInput rows=\"3\"\r\n [value]=\"$reason()\"\r\n (input)=\"$reason.set($any($event.target).value)\">\r\n </textarea>\r\n </mat-form-field>\r\n\r\n <!-- React Actions -->\r\n <div class=\"section-title\">React Actions (Actor)</div>\r\n\r\n <div class=\"action-row\">\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>React Type</mat-label>\r\n <mat-select [value]=\"$reactType()\"\r\n (selectionChange)=\"selectReactType($any($event.value))\">\r\n\r\n <mat-option value=\"APPROVED\">APPROVED</mat-option>\r\n <mat-option value=\"REJECTED\">REJECTED</mat-option>\r\n <mat-option value=\"CONFIRMED\">CONFIRMED</mat-option>\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <button mat-raised-button color=\"primary\" (click)=\"doReact()\">\r\n Run React\r\n </button>\r\n </div>\r\n\r\n <!-- Inject Actions -->\r\n <div class=\"section-title\">Inject Actions (System)</div>\r\n\r\n <div class=\"action-row\">\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Inject Type</mat-label>\r\n <mat-select [value]=\"$injectType()\"\r\n (selectionChange)=\"selectInjectType($any($event.value))\">\r\n\r\n <mat-option value=\"CANCELLED\">CANCELLED</mat-option>\r\n <mat-option value=\"REVOKED\">REVOKED</mat-option>\r\n <mat-option value=\"TERMINATED\">TERMINATED</mat-option>\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <button mat-raised-button color=\"warn\" (click)=\"doInject()\">\r\n Run Inject\r\n </button>\r\n </div>\r\n\r\n <!-- Navigation -->\r\n <div class=\"section-title\">Navigation</div>\r\n\r\n <div class=\"button-row\">\r\n <button mat-raised-button (click)=\"openKickoff()\">Open Kickoff</button>\r\n <button mat-raised-button (click)=\"openReactPage()\">Open React Page</button>\r\n <button mat-raised-button (click)=\"openStatus()\">Open Status</button>\r\n <button mat-raised-button (click)=\"openPreview()\">Preview Mode</button>\r\n </div>\r\n\r\n</div>\r\n", styles: [".lab-container{padding:24px;max-width:900px;margin:0 auto}.lab-container h2{font-size:26px;font-weight:700;margin-bottom:24px}.w100{width:100%}.input-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.input-grid mat-form-field{width:100%}.united-display{margin:12px 0 20px;padding:12px;background:#f3f3f3;border-radius:6px;font-size:14px;line-height:24px;display:flex;flex-direction:column}.united-display .label{font-weight:700;color:#555}.united-display .value{font-family:monospace;word-break:break-all}.section-title{margin-top:32px;margin-bottom:12px;font-size:18px;font-weight:600}.action-row{display:flex;align-items:center;gap:16px;margin-bottom:24px}.action-row mat-form-field{width:240px;flex-shrink:0}.action-row button{height:48px}.button-row{display:flex;flex-wrap:wrap;gap:12px}.button-row button{min-width:180px}\n"] }]
|
|
127
|
+
}], ctorParameters: () => [] });
|
|
128
|
+
|
|
129
|
+
export { WfLabComponent };
|
|
130
|
+
//# sourceMappingURL=ngx-histaff-alpha-wf-lab.component-Db5dIgKZ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-histaff-alpha-wf-lab.component-Db5dIgKZ.mjs","sources":["../../../projects/ngx-histaff-alpha/src/lib/app/libraries/core-workflow-builder/wf-lab/wf-lab.component.ts","../../../projects/ngx-histaff-alpha/src/lib/app/libraries/core-workflow-builder/wf-lab/wf-lab.component.html"],"sourcesContent":["import { Component, signal, computed, inject, effect } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { CoreWorkflowService } from '../core-workflow.service';\r\n\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { IWfWorkflowGroup } from '../interfaces/IWfWorkflowGroup';\r\n\r\n@Component({\r\n selector: 'core-wf-lab',\r\n standalone: true,\r\n imports: [\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatButtonModule,\r\n ],\r\n templateUrl: './wf-lab.component.html',\r\n styleUrl: './wf-lab.component.scss'\r\n})\r\nexport class WfLabComponent {\r\n\r\n router = inject(Router);\r\n wfs = inject(CoreWorkflowService);\r\n\r\n // Inputs\r\n $workflowId = signal<string>('');\r\n $correlationId = signal<string>('');\r\n $stepId = signal<string>('');\r\n $actorId = signal<string>('');\r\n $reason = signal<string>('LAB reason…');\r\n\r\n // React / Inject\r\n $reactType = signal<string>('APPROVED');\r\n $injectType = signal<string>('CANCELLED');\r\n\r\n // Groups + Workflows\r\n $groups = this.wfs.$allGroups;\r\n $allWorkflows = computed(() => {\r\n return this.$groups().flatMap(g =>\r\n g.wfWorkflows.map(w => ({\r\n id: w.id,\r\n label: `${g.name} / ${w.name}`\r\n }))\r\n );\r\n });\r\n\r\n // Current steps (design-time steps)\r\n $steps = this.wfs.$currentSteps;\r\n\r\n // Auto-build United Correlation IDs\r\n $united = computed(() => {\r\n const w = this.$workflowId();\r\n const c = this.$correlationId();\r\n const s = this.$stepId();\r\n const a = this.$actorId();\r\n return (w && c && s && a)\r\n ? `${w}___${c}___${s}___${a}`\r\n : '';\r\n });\r\n\r\n constructor() {\r\n effect(() => {\r\n const existing = this.wfs.$allGroups();\r\n if (existing.length === 0) {\r\n this.loadGroupsOnce();\r\n }\r\n });\r\n }\r\n\r\n private loadGroupsOnce() {\r\n this.wfs\r\n .refreshObservable(\r\n '/api/WfWorkflowGroup/GetAllWithWorkflows',\r\n '',\r\n undefined,\r\n false\r\n )\r\n .subscribe(x => {\r\n if (x.ok && x.status === 200 && x.body?.statusCode === 200) {\r\n const groups = (x.body.innerBody as IWfWorkflowGroup[])\r\n .map(g => ({ ...g, orderNum: g.orderNum ?? 999 }))\r\n .sort((a, b) => a.orderNum - b.orderNum);\r\n\r\n this.wfs.$allGroups.set(groups);\r\n } else {\r\n console.warn('⚠️ LAB: GetAllWithWorkflows failed', x.body);\r\n }\r\n });\r\n }\r\n\r\n // Select Workflow\r\n selectWorkflow(id: string) {\r\n this.$workflowId.set(id);\r\n }\r\n\r\n // Select React Type\r\n selectReactType(v: string) {\r\n this.$reactType.set(v);\r\n }\r\n\r\n // Select Inject Type\r\n selectInjectType(v: string) {\r\n this.$injectType.set(v);\r\n }\r\n\r\n // Execute React\r\n doReact() {\r\n const uid = this.$united();\r\n if (!uid) return;\r\n\r\n this.wfs.react(\r\n uid,\r\n this.$reactType(),\r\n this.$reason(),\r\n {}\r\n ).subscribe();\r\n }\r\n\r\n // Execute Inject\r\n doInject() {\r\n const uid = this.$united();\r\n if (!uid) return;\r\n\r\n this.wfs.inject(\r\n uid,\r\n this.$injectType(),\r\n this.$reason()\r\n ).subscribe();\r\n }\r\n\r\n // Navigation\r\n openKickoff() {\r\n if (!this.$workflowId()) return;\r\n this.router.navigate(['/root/workflow/workflow-consume', this.$workflowId()]);\r\n }\r\n\r\n openReactPage() {\r\n if (!this.$united()) return;\r\n this.router.navigate(['/root/workflow/react', this.$united()]);\r\n }\r\n\r\n openStatus() {\r\n if (!this.$workflowId()) return;\r\n this.router.navigate(['/root/workflow/status', this.$workflowId()]);\r\n }\r\n\r\n openPreview() {\r\n if (!this.$workflowId()) return;\r\n this.router.navigate(\r\n ['/root/workflow/workflow-consume', this.$workflowId()],\r\n { queryParams: { preview: true } }\r\n );\r\n }\r\n}\r\n","<div class=\"lab-container\">\r\n\r\n <h2>Workflow Engine LAB (Backend-Accurate)</h2>\r\n\r\n <!-- Workflow selector -->\r\n <mat-form-field appearance=\"outline\" class=\"w100\">\r\n <mat-label>Select Workflow</mat-label>\r\n <mat-select\r\n [value]=\"$workflowId()\"\r\n (selectionChange)=\"selectWorkflow($any($event.value))\">\r\n\r\n @for (wf of $allWorkflows(); track wf.id) {\r\n <mat-option [value]=\"wf.id\">{{ wf.label }}</mat-option>\r\n }\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <!-- Input Grid -->\r\n <div class=\"input-grid\">\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Workflow ID</mat-label>\r\n <input matInput [value]=\"$workflowId()\"\r\n (input)=\"$workflowId.set($any($event.target).value)\" />\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Correlation ID</mat-label>\r\n <input matInput [value]=\"$correlationId()\"\r\n (input)=\"$correlationId.set($any($event.target).value)\" />\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Step ID</mat-label>\r\n <mat-select\r\n [value]=\"$stepId()\"\r\n (selectionChange)=\"$stepId.set($any($event.value))\">\r\n\r\n @for (s of $steps(); track s.id) {\r\n <mat-option [value]=\"s.id\">{{ s.name }}</mat-option>\r\n }\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Actor ID</mat-label>\r\n <input matInput [value]=\"$actorId()\"\r\n (input)=\"$actorId.set($any($event.target).value)\" />\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <!-- Auto United -->\r\n <div class=\"united-display\">\r\n <div class=\"label\">UnitedCorrelationIds:</div>\r\n <div class=\"value\">{{$united()}}</div>\r\n </div>\r\n\r\n <!-- Reason -->\r\n <mat-form-field appearance=\"outline\" class=\"w100\">\r\n <mat-label>Reason</mat-label>\r\n <textarea matInput rows=\"3\"\r\n [value]=\"$reason()\"\r\n (input)=\"$reason.set($any($event.target).value)\">\r\n </textarea>\r\n </mat-form-field>\r\n\r\n <!-- React Actions -->\r\n <div class=\"section-title\">React Actions (Actor)</div>\r\n\r\n <div class=\"action-row\">\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>React Type</mat-label>\r\n <mat-select [value]=\"$reactType()\"\r\n (selectionChange)=\"selectReactType($any($event.value))\">\r\n\r\n <mat-option value=\"APPROVED\">APPROVED</mat-option>\r\n <mat-option value=\"REJECTED\">REJECTED</mat-option>\r\n <mat-option value=\"CONFIRMED\">CONFIRMED</mat-option>\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <button mat-raised-button color=\"primary\" (click)=\"doReact()\">\r\n Run React\r\n </button>\r\n </div>\r\n\r\n <!-- Inject Actions -->\r\n <div class=\"section-title\">Inject Actions (System)</div>\r\n\r\n <div class=\"action-row\">\r\n <mat-form-field appearance=\"outline\">\r\n <mat-label>Inject Type</mat-label>\r\n <mat-select [value]=\"$injectType()\"\r\n (selectionChange)=\"selectInjectType($any($event.value))\">\r\n\r\n <mat-option value=\"CANCELLED\">CANCELLED</mat-option>\r\n <mat-option value=\"REVOKED\">REVOKED</mat-option>\r\n <mat-option value=\"TERMINATED\">TERMINATED</mat-option>\r\n\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <button mat-raised-button color=\"warn\" (click)=\"doInject()\">\r\n Run Inject\r\n </button>\r\n </div>\r\n\r\n <!-- Navigation -->\r\n <div class=\"section-title\">Navigation</div>\r\n\r\n <div class=\"button-row\">\r\n <button mat-raised-button (click)=\"openKickoff()\">Open Kickoff</button>\r\n <button mat-raised-button (click)=\"openReactPage()\">Open React Page</button>\r\n <button mat-raised-button (click)=\"openStatus()\">Open Status</button>\r\n <button mat-raised-button (click)=\"openPreview()\">Preview Mode</button>\r\n </div>\r\n\r\n</div>\r\n"],"names":[],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { aR as ActionService, cF as ActionSvgEditComponent, cn as AlertComponent, b as AlertService, cr as AnimatedTextComponent, cq as AnimatedTextService, a as AppConfigService, aS as AppInitializationService, A as AppService, R as ApplicationHelpService, bJ as AtShiftPatternApplyComponent, bI as AtShiftPatternComponent, bK as AtShiftPatternEditComponent, bL as AtWorksignComponent, bM as AtWorksignService, aT as AuthService, B as BaseComponent, cs as BaseDropdownComponent, h as BaseEditComponent, cv as ButtonGroupComponent, ct as ButtonGroupModule, cu as ButtonGroupService, an as CORE_VNS_BUTTONS, aU as CacheService, aB as CanActivateFunctionUrlMapperGuard, s as CanDeactivateGuard, C as ChatService, aW as CheckForUpdateService, a_ as ClientService, cJ as ComPartyService, a$ as CommonHttpRequestService, b1 as ConfigService, cQ as ConfirmDialogStateComponent, d7 as ControlBase, cy as CoreAccordionComponent, cz as CoreAccordionService, cA as CoreActiveUserCountComponent, cC as CoreApiProgressComponent, a7 as CoreAttachmentComponent, cx as CoreButtonComponent, cD as CoreButtonGroupComponent, cG as CoreButtonGroupService, a0 as CoreButtonGroupVnsComponent, cH as CoreButtonVnsComponent, g as CoreCheckboxComponent, H as CoreChecklistComponent, cX as CoreComProfileComponent, cI as CoreComTreeComponent, cK as CoreCommonParamKitComponent, cL as CoreCompareDbPipelineComponent, cO as CoreCompositionComponent, cN as CoreCompositionService, cM as CoreCompositionState, cP as CoreConfirmDialogComponent, cY as CoreContractSeekerComponent, a5 as CoreControlComponent, cZ as CoreControlNoGridBufferComponent, c_ as CoreControlNoSeekerComponent, d9 as CoreControlService, L as CoreCurrencyInputComponent, eD as CoreD3Service, J as CoreDatePickerComponent, eZ as CoreDatetimeService, d0 as CoreDocgenToolbarComponent, G as CoreDropdownComponent, d1 as CoreEmployeeScheduleComponent, d2 as CoreEmployeeSeekerComponent, d_ as CoreFileFormatPickerComponent, d4 as CoreFileUploaderComponent, d5 as CoreFilterHubComponent, d6 as CoreFilterHubService, W as CoreFormComponent, df as CoreFormControlBaseComponent, K as CoreFormControlSeekerComponent, x as CoreFormDesignService, de as CoreFormLiteComponent, o as CoreFormService, dd as CoreFormTabComponent, dq as CoreGridBufferComponent, dr as CoreHeaderParamsComponent, ds as CoreHelperComponent, ab as CoreIosSwitcherComponent, cR as CoreLazyMountComponent, dt as CoreLineComponent, du as CoreLiquidWysiwygComponent, dv as CoreListComponent, dw as CoreListLazyComponent, dx as CoreLoadingSurfaceComponent, dy as CoreMccComponent, dz as CoreMonthPickerComponent, a8 as CoreMonthSelectorComponent, dA as CoreNavigationTrackerComponent, dC as CoreOauthCallbackComponent, dD as CoreOauthCallbackOffice365Component, dL as CoreOrgParamComponent, dG as CoreOrgTreeComponent, dI as CoreOrgTreeService, dH as CoreOrgTreeState, dJ as CoreOrgUnitSeekerComponent, dK as CoreOrgchartflexComponent, k as CorePageEditComponent, dP as CorePageEditLiteComponent, dO as CorePageEditService, dQ as CorePageEditTabComponent, d as CorePageHeaderComponent, f as CorePageListComponent, dU as CorePageListContentComponent, dS as CorePageListService, dT as CorePageListState, dW as CorePageViewComponent, dX as CorePaginationComponent, dY as CorePaginationFullComponent, dZ as CorePaginationFullService, O as CoreParamControlComponent, e2 as CorePermissionActionsComponent, e1 as CorePermissionComponent, d$ as CorePermissionService, eE as CorePieComponent, e3 as CorePositionConcurrentSeekerComponent, e4 as CorePositionSeekerComponent, e5 as CoreQrcodeComponent, e7 as CoreQueryBuilderComponent, P as CoreRadioGroupComponent, e8 as CoreReducerIconComponent, cS as CoreRootMenuItemPickerComponent, cT as CoreRootMenuItemPickerService, e9 as CoreRotatingTextComponent, ea as CoreRouteAccumulatorComponent, eb as CoreRoutingHistoryComponent, ec as CoreSalaryPolicyPickerComponent, eF as CoreScatterPlotComponent, ed as CoreScrollComponent, ee as CoreScrollLazyComponent, ef as CoreSeenByComponent, eg as CoreShiftCardComponent, eh as CoreShiftCellComponent, ei as CoreShiftCollectionComponent, ej as CoreShiftStickerComponent, eI as CoreStatisticWidgetComponent, el as CoreStatusStickerComponent, em as CoreSubFormGroupComponent, en as CoreTabListComponent, cW as CoreTableComponent, b2 as CoreTableService, l as CoreTabsComponent, eo as CoreTagsComponent, c as CoreTerminalSpinnerComponent, ep as CoreTopicPickerComponent, er as CoreTopicTreeComponent, es as CoreTreeComponent, eu as CoreTreeGridComponent, ev as CoreWageSeekerComponent, ey as CoreWorkflowBuilderComponent, ez as CoreWorkflowGroupEditComponent, r as CoreWorkflowListComponent, ew as CoreWorkingSeekerComponent, eA as CoreYearPickerComponent, eB as CoreYearSelectorComponent, da as CustomValidators, as as DATE_VALUE_ACCESSOR, eO as DEFAULT_SVG, ap as DESKTOP_SCREEN_HEDER_HEIGHT, at as DateValueAccessor, eJ as DecisionComponent, j as DialogService, ah as DialogStateComponent, b3 as DndService, b4 as DocxMergeService, z as DomService, cV as ECoreTableToolClass, cU as ECoreTableToolCode, co as EnumAlertType, aY as EnumBrowserType, cw as EnumButtonCaptionCode, eq as EnumCoreArticleCategoryTreeaAccessorMode, cE as EnumCoreButtonCode, Z as EnumCoreButtonVNSCode, eC as EnumCoreD3ScaleType, d3 as EnumCoreFileUploaderType, n as EnumCoreFormControlSeekerSourceType, dE as EnumCoreOrgTreeaAccessorMode, dF as EnumCoreOrgTreeaSearchMode, dM as EnumCorePageEditBootstrapClass, dN as EnumCorePageEditFieldType, V as EnumCorePageEditMode, dn as EnumCoreSeekerColumnAutoForm, di as EnumCoreSeekerColumnContract, dg as EnumCoreSeekerColumnJob, dl as EnumCoreSeekerColumnPosition, dm as EnumCoreSeekerColumnPositionConcurrent, dh as EnumCoreSeekerColumnStaffProfile, dk as EnumCoreSeekerColumnWage, dj as EnumCoreSeekerColumnWorking, E as EnumCoreTablePipeType, et as EnumCoreTreeGridEditMode, dV as EnumCoreViewItemType, aX as EnumDeviceType, au as EnumDragType, av as EnumErrorType, dR as EnumExType, aP as EnumFilterOperator, i as EnumFormBaseContolType, a4 as EnumFormDesignMode, eG as EnumHrComparisonCode, eH as EnumICoreStatisticWidgetDataType, aw as EnumIconClass, a9 as EnumImageResolverType, bl as EnumNotificationDir, e6 as EnumOparator, aZ as EnumOsType, e0 as EnumPermissionObjectType, ax as EnumProfileInfoSector, f0 as EnumRecursiveFields, ay as EnumSignalRType, az as EnumSortDirection, bu as EnumSsrsExpressExportFormat, bt as EnumSsrsExpressFileExtension, aA as EnumStyleButtonClass, aV as EnumSwUpdateVersionUpdatesEventType, bG as EnumWorkScheduleViewMode, eK as EvaluateDialogComponent, bF as EvaluateDialogService, e_ as FileService, b5 as FilterKitService, eV as FilterPipe, ai as FooterComponent, F as FullscreenModalLoaderComponent, bN as FunctionComponent, bP as FunctionEditComponent, ch as FunctionEditService, bQ as FunctionIgnoreComponent, bR as FunctionIgnoreEditComponent, Q as GptService, bS as GroupFunctionComponent, bT as GroupFunctionEditComponent, b6 as GrpcService, b7 as HeaderService, b8 as HistoryService, U as HotKeysDirective, a2 as HtmlTooltipDirective, b9 as HttpErrorHandler, ba as HubConnectionService, eL as HuconcurrentlyComponent, cp as IAlertOptions, I as ImageErrorResolverDirective, bV as InMemoryComponent, bO as IndividualScheduleApplyComponent, aC as InitializationCanActivateFn, aD as InitializationCanMatchFn, aF as InterceptorSkipHeader, bb as IpServiceService, eP as ItemComponent, eM as JobComponent, Y as JsonService, eN as LanguageChangerComponent, bW as LanguageComponent, bX as LanguageEditComponent, bc as LayoutService, bd as LiquidJsService, e$ as LongTaskService, aq as MOBILE_SCREEN_HEDER_HEIGHT, ad as MapAppdemoToServerPipePipe, ae as MapAttachmentToServerPipe, u as MapAvatarToServerPipe, af as MapNewsfeedMediaToServerPipe, be as MapService, bY as MenuComponent, bZ as MenuEditComponent, bf as MenuService, bg as MessageService, bh as ModalService, M as MultiLanguageService, b_ as MutationLogComponent, b$ as MutationViewComponent, eQ as NavigatorComponent, X as NavigatorService, cB as NewlyCreatedTokenService, aa as NormalizeHumanNamePipe, bm as NotificationActionType, aQ as OnlineUsersComponent, bi as OrganizationService, eR as OtpInputComponent, eS as OtpInputService, c0 as PaSalaryPolicyComponent, c1 as PaSalaryPolicyEditComponent, eT as PageTitleComponent, eU as PaginationComponent, bj as PkceService, c2 as PortalRouteComponent, c5 as PortalRouteEditComponent, eX as PositionComponent, eY as PositionEditService, bk as PositionTransferService, bn as PushNotificationService, _ as READONLY_WORKFLOW_FIELDS, bo as RandomAvatarService, f1 as RecursiveService, bp as RequestCache, bq as RequestCacheWithMap, br as ResponseService, aj as RightchatComponent, bs as RoutingService, ek as STICKER_COLOR_SCHEMA, c3 as ScheduleOverviewComponent, dp as SeekerService, w as SocketService, bv as SsrsExpressService, f4 as StaffProfileComponent, bx as StatisticAuthService, bw as StatisticService, S as StringHtmlPipe, f2 as StringService, ac as SunnyRotatingComponent, cb as SysActionComponent, cc as SysActionEditComponent, cd as SysFunctionActionComponent, ce as SysFunctionActionEditComponent, cf as SysFunctionActionMapperComponent, cg as SysFunctionUrlMapperComponent, by as SysMenuService, ci as SysModuleComponent, cj as SysModuleEditComponent, c6 as SysOtherListComponent, c7 as SysOtherListEditComponent, c8 as SysOtherListTypeComponent, c9 as SysOtherListTypeEditComponent, ck as SysRouteAccessComponent, b0 as TLA_CONFIG, t as TableCellPipe, d8 as Textbox, f5 as ThreedotsComponent, bz as TimeSheetService, f6 as TooltipComponent, T as TooltipDirective, bA as TopicPermissionService, bB as TopicTreeService, e as TranslatePipe, db as URL_PATTERN, f3 as UnicodeService, bC as UploadedFileService, ag as UploadedFilenameCutoffPipe, bD as UrlService, f7 as UserActivityComponent, bE as UserActivityService, f8 as WageComponent, ak as WaittingScreenComponent, bH as WorkShiftDndService, v as alertOptions, aG as appTypeInterceptor, am as attachmentOptions, aI as authInterceptor, aH as baseUrlInterceptor, cm as blob_to_base64_script, aN as cachingInterceptor, c$ as coreDocGenRoutes, dc as coreFormDesignRoutes, dB as coreNavigationTrackerRoutes, ca as coreSysActionRoutes, ex as coreWorkflowRoutes, ao as defaultPaging, aJ as graphInterceptor, bU as hrmSchemaRoutes, aE as httpInterceptorProviders, aO as langInterceptor, cl as liner_to_nested_array_script, al as longAlertOptions, $ as noneAutoClosedAlertOptions, eW as normalizeHumanName, aL as responseInterceptor, c4 as simpleChatRoutes, ar as themeBlue, aM as timeZoneInterceptor, aK as tokenInterceptor } from './ngx-histaff-alpha-ngx-histaff-alpha-DZMJyvtg.mjs';
|
|
1
|
+
export { aR as ActionService, cF as ActionSvgEditComponent, cn as AlertComponent, b as AlertService, cr as AnimatedTextComponent, cq as AnimatedTextService, a as AppConfigService, aS as AppInitializationService, A as AppService, U as ApplicationHelpService, bJ as AtShiftPatternApplyComponent, bI as AtShiftPatternComponent, bK as AtShiftPatternEditComponent, bL as AtWorksignComponent, bM as AtWorksignService, aT as AuthService, B as BaseComponent, cs as BaseDropdownComponent, h as BaseEditComponent, cv as ButtonGroupComponent, ct as ButtonGroupModule, cu as ButtonGroupService, ao as CORE_VNS_BUTTONS, aU as CacheService, aC as CanActivateFunctionUrlMapperGuard, s as CanDeactivateGuard, C as ChatService, aW as CheckForUpdateService, a_ as ClientService, cJ as ComPartyService, a$ as CommonHttpRequestService, b1 as ConfigService, cQ as ConfirmDialogStateComponent, d7 as ControlBase, cy as CoreAccordionComponent, cz as CoreAccordionService, cA as CoreActiveUserCountComponent, cC as CoreApiProgressComponent, a8 as CoreAttachmentComponent, cx as CoreButtonComponent, cD as CoreButtonGroupComponent, cG as CoreButtonGroupService, a1 as CoreButtonGroupVnsComponent, cH as CoreButtonVnsComponent, g as CoreCheckboxComponent, H as CoreChecklistComponent, cX as CoreComProfileComponent, cI as CoreComTreeComponent, cK as CoreCommonParamKitComponent, cL as CoreCompareDbPipelineComponent, cO as CoreCompositionComponent, cN as CoreCompositionService, cM as CoreCompositionState, cP as CoreConfirmDialogComponent, cY as CoreContractSeekerComponent, a6 as CoreControlComponent, cZ as CoreControlNoGridBufferComponent, c_ as CoreControlNoSeekerComponent, d9 as CoreControlService, L as CoreCurrencyInputComponent, eD as CoreD3Service, J as CoreDatePickerComponent, eZ as CoreDatetimeService, d0 as CoreDocgenToolbarComponent, G as CoreDropdownComponent, d1 as CoreEmployeeScheduleComponent, d2 as CoreEmployeeSeekerComponent, d_ as CoreFileFormatPickerComponent, d4 as CoreFileUploaderComponent, d5 as CoreFilterHubComponent, d6 as CoreFilterHubService, X as CoreFormComponent, df as CoreFormControlBaseComponent, K as CoreFormControlSeekerComponent, x as CoreFormDesignService, de as CoreFormLiteComponent, o as CoreFormService, dd as CoreFormTabComponent, dq as CoreGridBufferComponent, dr as CoreHeaderParamsComponent, ds as CoreHelperComponent, ac as CoreIosSwitcherComponent, cR as CoreLazyMountComponent, dt as CoreLineComponent, du as CoreLiquidWysiwygComponent, dv as CoreListComponent, dw as CoreListLazyComponent, dx as CoreLoadingSurfaceComponent, dy as CoreMccComponent, dz as CoreMonthPickerComponent, a9 as CoreMonthSelectorComponent, dA as CoreNavigationTrackerComponent, dC as CoreOauthCallbackComponent, dD as CoreOauthCallbackOffice365Component, dL as CoreOrgParamComponent, dG as CoreOrgTreeComponent, dI as CoreOrgTreeService, dH as CoreOrgTreeState, dJ as CoreOrgUnitSeekerComponent, dK as CoreOrgchartflexComponent, k as CorePageEditComponent, dP as CorePageEditLiteComponent, dO as CorePageEditService, dQ as CorePageEditTabComponent, d as CorePageHeaderComponent, f as CorePageListComponent, dU as CorePageListContentComponent, dS as CorePageListService, dT as CorePageListState, dW as CorePageViewComponent, dX as CorePaginationComponent, dY as CorePaginationFullComponent, dZ as CorePaginationFullService, O as CoreParamControlComponent, e2 as CorePermissionActionsComponent, e1 as CorePermissionComponent, d$ as CorePermissionService, eE as CorePieComponent, e3 as CorePositionConcurrentSeekerComponent, e4 as CorePositionSeekerComponent, e5 as CoreQrcodeComponent, e7 as CoreQueryBuilderComponent, P as CoreRadioGroupComponent, e8 as CoreReducerIconComponent, cS as CoreRootMenuItemPickerComponent, cT as CoreRootMenuItemPickerService, e9 as CoreRotatingTextComponent, ea as CoreRouteAccumulatorComponent, eb as CoreRoutingHistoryComponent, ec as CoreSalaryPolicyPickerComponent, eF as CoreScatterPlotComponent, ed as CoreScrollComponent, ee as CoreScrollLazyComponent, ef as CoreSeenByComponent, eg as CoreShiftCardComponent, eh as CoreShiftCellComponent, ei as CoreShiftCollectionComponent, ej as CoreShiftStickerComponent, eI as CoreStatisticWidgetComponent, el as CoreStatusStickerComponent, em as CoreSubFormGroupComponent, en as CoreTabListComponent, cW as CoreTableComponent, b2 as CoreTableService, l as CoreTabsComponent, eo as CoreTagsComponent, c as CoreTerminalSpinnerComponent, ep as CoreTopicPickerComponent, er as CoreTopicTreeComponent, es as CoreTreeComponent, eu as CoreTreeGridComponent, ev as CoreWageSeekerComponent, ey as CoreWorkflowBuilderComponent, ez as CoreWorkflowGroupEditComponent, r as CoreWorkflowListComponent, ew as CoreWorkingSeekerComponent, eA as CoreYearPickerComponent, eB as CoreYearSelectorComponent, da as CustomValidators, at as DATE_VALUE_ACCESSOR, eO as DEFAULT_SVG, aq as DESKTOP_SCREEN_HEDER_HEIGHT, au as DateValueAccessor, eJ as DecisionComponent, j as DialogService, ai as DialogStateComponent, b3 as DndService, b4 as DocxMergeService, z as DomService, cV as ECoreTableToolClass, cU as ECoreTableToolCode, co as EnumAlertType, aY as EnumBrowserType, cw as EnumButtonCaptionCode, eq as EnumCoreArticleCategoryTreeaAccessorMode, cE as EnumCoreButtonCode, _ as EnumCoreButtonVNSCode, eC as EnumCoreD3ScaleType, d3 as EnumCoreFileUploaderType, n as EnumCoreFormControlSeekerSourceType, dE as EnumCoreOrgTreeaAccessorMode, dF as EnumCoreOrgTreeaSearchMode, dM as EnumCorePageEditBootstrapClass, dN as EnumCorePageEditFieldType, W as EnumCorePageEditMode, dn as EnumCoreSeekerColumnAutoForm, di as EnumCoreSeekerColumnContract, dg as EnumCoreSeekerColumnJob, dl as EnumCoreSeekerColumnPosition, dm as EnumCoreSeekerColumnPositionConcurrent, dh as EnumCoreSeekerColumnStaffProfile, dk as EnumCoreSeekerColumnWage, dj as EnumCoreSeekerColumnWorking, E as EnumCoreTablePipeType, et as EnumCoreTreeGridEditMode, dV as EnumCoreViewItemType, aX as EnumDeviceType, av as EnumDragType, aw as EnumErrorType, dR as EnumExType, a2 as EnumFilterOperator, i as EnumFormBaseContolType, a5 as EnumFormDesignMode, eG as EnumHrComparisonCode, eH as EnumICoreStatisticWidgetDataType, ax as EnumIconClass, aa as EnumImageResolverType, bl as EnumNotificationDir, e6 as EnumOparator, aZ as EnumOsType, e0 as EnumPermissionObjectType, ay as EnumProfileInfoSector, f0 as EnumRecursiveFields, az as EnumSignalRType, aA as EnumSortDirection, bu as EnumSsrsExpressExportFormat, bt as EnumSsrsExpressFileExtension, aB as EnumStyleButtonClass, aV as EnumSwUpdateVersionUpdatesEventType, bG as EnumWorkScheduleViewMode, eK as EvaluateDialogComponent, bF as EvaluateDialogService, e_ as FileService, b5 as FilterKitService, eV as FilterPipe, aj as FooterComponent, F as FullscreenModalLoaderComponent, bN as FunctionComponent, bP as FunctionEditComponent, ch as FunctionEditService, bQ as FunctionIgnoreComponent, bR as FunctionIgnoreEditComponent, Q as GptService, bS as GroupFunctionComponent, bT as GroupFunctionEditComponent, b6 as GrpcService, b7 as HeaderService, b8 as HistoryService, V as HotKeysDirective, a3 as HtmlTooltipDirective, b9 as HttpErrorHandler, ba as HubConnectionService, eL as HuconcurrentlyComponent, cp as IAlertOptions, I as ImageErrorResolverDirective, bV as InMemoryComponent, bO as IndividualScheduleApplyComponent, aD as InitializationCanActivateFn, aE as InitializationCanMatchFn, aG as InterceptorSkipHeader, bb as IpServiceService, eP as ItemComponent, eM as JobComponent, Z as JsonService, eN as LanguageChangerComponent, bW as LanguageComponent, bX as LanguageEditComponent, bc as LayoutService, bd as LiquidJsService, e$ as LongTaskService, ar as MOBILE_SCREEN_HEDER_HEIGHT, ae as MapAppdemoToServerPipePipe, af as MapAttachmentToServerPipe, u as MapAvatarToServerPipe, ag as MapNewsfeedMediaToServerPipe, be as MapService, bY as MenuComponent, bZ as MenuEditComponent, bf as MenuService, bg as MessageService, bh as ModalService, M as MultiLanguageService, b_ as MutationLogComponent, b$ as MutationViewComponent, eQ as NavigatorComponent, Y as NavigatorService, cB as NewlyCreatedTokenService, ab as NormalizeHumanNamePipe, bm as NotificationActionType, aQ as OnlineUsersComponent, bi as OrganizationService, eR as OtpInputComponent, eS as OtpInputService, c0 as PaSalaryPolicyComponent, c1 as PaSalaryPolicyEditComponent, eT as PageTitleComponent, eU as PaginationComponent, bj as PkceService, c2 as PortalRouteComponent, c5 as PortalRouteEditComponent, eX as PositionComponent, eY as PositionEditService, bk as PositionTransferService, bn as PushNotificationService, $ as READONLY_WORKFLOW_FIELDS, bo as RandomAvatarService, f1 as RecursiveService, bp as RequestCache, bq as RequestCacheWithMap, br as ResponseService, ak as RightchatComponent, bs as RoutingService, ek as STICKER_COLOR_SCHEMA, c3 as ScheduleOverviewComponent, dp as SeekerService, w as SocketService, bv as SsrsExpressService, f4 as StaffProfileComponent, bx as StatisticAuthService, bw as StatisticService, S as StringHtmlPipe, f2 as StringService, ad as SunnyRotatingComponent, cb as SysActionComponent, cc as SysActionEditComponent, cd as SysFunctionActionComponent, ce as SysFunctionActionEditComponent, cf as SysFunctionActionMapperComponent, cg as SysFunctionUrlMapperComponent, by as SysMenuService, ci as SysModuleComponent, cj as SysModuleEditComponent, c6 as SysOtherListComponent, c7 as SysOtherListEditComponent, c8 as SysOtherListTypeComponent, c9 as SysOtherListTypeEditComponent, ck as SysRouteAccessComponent, b0 as TLA_CONFIG, t as TableCellPipe, d8 as Textbox, f5 as ThreedotsComponent, bz as TimeSheetService, f6 as TooltipComponent, T as TooltipDirective, bA as TopicPermissionService, bB as TopicTreeService, e as TranslatePipe, db as URL_PATTERN, f3 as UnicodeService, bC as UploadedFileService, ah as UploadedFilenameCutoffPipe, bD as UrlService, f7 as UserActivityComponent, bE as UserActivityService, f8 as WageComponent, al as WaittingScreenComponent, bH as WorkShiftDndService, v as alertOptions, aH as appTypeInterceptor, an as attachmentOptions, aJ as authInterceptor, aI as baseUrlInterceptor, cm as blob_to_base64_script, aO as cachingInterceptor, c$ as coreDocGenRoutes, dc as coreFormDesignRoutes, dB as coreNavigationTrackerRoutes, ca as coreSysActionRoutes, ex as coreWorkflowRoutes, ap as defaultPaging, aK as graphInterceptor, bU as hrmSchemaRoutes, aF as httpInterceptorProviders, aP as langInterceptor, cl as liner_to_nested_array_script, am as longAlertOptions, a0 as noneAutoClosedAlertOptions, eW as normalizeHumanName, aM as responseInterceptor, c4 as simpleChatRoutes, as as themeBlue, aN as timeZoneInterceptor, aL as tokenInterceptor } from './ngx-histaff-alpha-ngx-histaff-alpha-TWTSrQ0J.mjs';
|
|
2
2
|
//# sourceMappingURL=ngx-histaff-alpha.mjs.map
|
|
@@ -61,6 +61,7 @@ interface ICoreFormArray {
|
|
|
61
61
|
isFormArray?: boolean;
|
|
62
62
|
formArraySections?: ICoreFormSection[];
|
|
63
63
|
addNewMode$?: BehaviorSubject<boolean>;
|
|
64
|
+
___addNewMode?: boolean;
|
|
64
65
|
}
|
|
65
66
|
interface ICoreControlOptional {
|
|
66
67
|
readonly?: boolean;
|
|
@@ -105,14 +106,17 @@ interface ICoreDynamicMapping {
|
|
|
105
106
|
}
|
|
106
107
|
interface ICoreDropdown extends ICoreBindingWYSINWYG, ICoreDynamicMapping {
|
|
107
108
|
dropdownOptions$?: BehaviorSubject<ICoreDropdownOption[]>;
|
|
109
|
+
___dropdownOptions?: ICoreDropdownOption[];
|
|
108
110
|
options?: IFormBaseDropdownOption[];
|
|
109
111
|
fitHeightWithItemCount?: boolean;
|
|
110
112
|
}
|
|
111
113
|
interface ICoreChecklist extends ICoreBindingWYSINWYG, ICoreDynamicMapping {
|
|
112
114
|
checklistOptions$?: BehaviorSubject<ICoreChecklistOption[]>;
|
|
115
|
+
___checklistOptions?: ICoreChecklistOption[];
|
|
113
116
|
}
|
|
114
117
|
interface ICoreRadioGroup extends ICoreDynamicMapping {
|
|
115
118
|
radioGroupOptions$?: BehaviorSubject<ICoreRadioOption[]>;
|
|
119
|
+
___radioGroupOptions?: ICoreRadioOption[];
|
|
116
120
|
}
|
|
117
121
|
interface ICoreInputTypeNumber {
|
|
118
122
|
step?: string;
|
|
@@ -136,6 +140,8 @@ interface ICoreSeeker extends ICoreBindingWYSINWYG, ICoreSeekerMultiMode {
|
|
|
136
140
|
seekerVerifyIgnore?: boolean;
|
|
137
141
|
preDefinedOuterParam$?: BehaviorSubject<any>;
|
|
138
142
|
preDefinedOuterFilter$?: BehaviorSubject<IFilterOperator[]>;
|
|
143
|
+
___preDefinedOuterParam?: any;
|
|
144
|
+
___preDefinedOuterFilter?: IFilterOperator[];
|
|
139
145
|
}
|
|
140
146
|
interface ICoreSeekerMultiMode extends ICoreSeekerMultiModeEditable {
|
|
141
147
|
objectList$?: BehaviorSubject<any[]>;
|
|
@@ -24,7 +24,7 @@ export declare class CoreFormDesignComponent extends BaseComponent implements Af
|
|
|
24
24
|
$idAsInput: import("@angular/core").InputSignal<boolean | undefined>;
|
|
25
25
|
$id: import("@angular/core").InputSignal<string | undefined>;
|
|
26
26
|
$settingPanel: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
27
|
-
$jsonMode: WritableSignal<"
|
|
27
|
+
$jsonMode: WritableSignal<"selectedField" | "full">;
|
|
28
28
|
injectedFields$: BehaviorSubject<IFormBaseControl[]>;
|
|
29
29
|
enumType: typeof EnumFormDesignMode;
|
|
30
30
|
enumLeftPanelMode: typeof EnumLeftPanelMode;
|
|
@@ -25,7 +25,7 @@ export declare class CoreFormGroupEditorComponent extends BaseComponent {
|
|
|
25
25
|
$idAsInput: import("@angular/core").InputSignal<boolean | undefined>;
|
|
26
26
|
$id: import("@angular/core").InputSignal<string | undefined>;
|
|
27
27
|
$settingPanel: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
28
|
-
$jsonMode: WritableSignal<"
|
|
28
|
+
$jsonMode: WritableSignal<"selectedField" | "full">;
|
|
29
29
|
injectedFields$: BehaviorSubject<IFormBaseControl[]>;
|
|
30
30
|
$sections: import("@angular/core").Signal<import("../core-form/core-form/enum-interfaces").ICoreFormSection[]>;
|
|
31
31
|
enumType: typeof EnumFormDesignMode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, Renderer2
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { IFormBaseControl } from '../../core-form/core-form/enum-interfaces';
|
|
3
3
|
import { EnumFormBaseContolType } from '../../../enum/EnumFormBaseContolType';
|
|
4
4
|
import { CoreFormDesignService } from '../core-form-design.service';
|
|
@@ -13,8 +13,14 @@ export declare class FieldSettingComponent extends BaseComponent implements Afte
|
|
|
13
13
|
cdr: ChangeDetectorRef;
|
|
14
14
|
$control: import("@angular/core").Signal<IFormBaseControl | null>;
|
|
15
15
|
readonly $formContext: import("@angular/core").Signal<IFormBaseControl[]>;
|
|
16
|
+
readonly onParamsChanged: (updated: IFormBaseControl) => void;
|
|
17
|
+
readonly $resolvedType: import("@angular/core").Signal<string>;
|
|
18
|
+
readonly $props: import("@angular/core").Signal<{
|
|
19
|
+
control: IFormBaseControl;
|
|
20
|
+
onChange: (updated: IFormBaseControl) => void;
|
|
21
|
+
} | null>;
|
|
22
|
+
resolvePropsType(control: IFormBaseControl | null): string | null;
|
|
16
23
|
onControlParamsChange(): void;
|
|
17
|
-
componentLoaderMap: Record<string, () => Promise<Type<any>>>;
|
|
18
24
|
closeFieldSettingPanel(): void;
|
|
19
25
|
getFriendlyControlLabel(control: IFormBaseControl | null): string;
|
|
20
26
|
camelToTitle(input: string): string;
|
|
@@ -1,10 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BasePropsComponent } from '../../base-props/base-props.component';
|
|
2
|
+
import { SeekerPropsService } from './seeker-props.service';
|
|
3
|
+
import { IFilterOperator } from '../../../../../interfaces/IQueryListRequest';
|
|
4
|
+
import { ICoreTableColumnItem } from '../../../../core-table/ICoreTableColumnItem';
|
|
5
|
+
import { ICoreFormSection } from '../../../../core-form/core-form/enum-interfaces';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SeekerPropsComponent {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
export declare class SeekerPropsComponent extends BasePropsComponent {
|
|
8
|
+
readonly svc: SeekerPropsService;
|
|
9
|
+
$useTheseColumnsCsv: import("@angular/core").Signal<string>;
|
|
10
|
+
$excludedColumnsCsv: import("@angular/core").Signal<string>;
|
|
11
|
+
onUseColumnsChanged(raw: string): void;
|
|
12
|
+
onExcludedColumnsChanged(raw: string): void;
|
|
13
|
+
$alsoBind: import("@angular/core").Signal<import("../../../../core-form/core-form/enum-interfaces").ICoreFormControlSeekerExtraBindingModel[]>;
|
|
14
|
+
addAlsoBindRow(): void;
|
|
15
|
+
updateAlsoBindRow(i: number, key: 'takeFrom' | 'bindTo', v: string): void;
|
|
16
|
+
removeAlsoBindRow(i: number): void;
|
|
17
|
+
$outerParam: import("@angular/core").Signal<any>;
|
|
18
|
+
$outerParamJson: import("@angular/core").Signal<string>;
|
|
19
|
+
onOuterParamJsonChange(raw: string): void;
|
|
20
|
+
$outerFilter: import("@angular/core").Signal<IFilterOperator[]>;
|
|
21
|
+
addOuterFilter(): void;
|
|
22
|
+
updateOuterFilter(i: number, key: keyof IFilterOperator, v: any): void;
|
|
23
|
+
removeOuterFilter(i: number): void;
|
|
24
|
+
$extendedColumns: import("@angular/core").Signal<ICoreTableColumnItem[]>;
|
|
25
|
+
addExtendedColumn(): void;
|
|
26
|
+
updateExtendedColumn(i: number, key: keyof ICoreTableColumnItem, v: any): void;
|
|
27
|
+
removeExtendedColumn(i: number): void;
|
|
28
|
+
$extendedSections: import("@angular/core").Signal<ICoreFormSection[]>;
|
|
29
|
+
addExtendedSection(): void;
|
|
30
|
+
updateExtendedSection(i: number, caption: string): void;
|
|
31
|
+
removeExtendedSection(i: number): void;
|
|
8
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<SeekerPropsComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SeekerPropsComponent, "seeker-props", never, {
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeekerPropsComponent, "seeker-props", never, {}, {}, never, never, true, never>;
|
|
10
34
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { ICoreDropdownOption } from '../../../../../interfaces/ICoreDropdownOption';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SeekerPropsService {
|
|
5
|
+
readonly sourceTypeOptions$: BehaviorSubject<ICoreDropdownOption[]>;
|
|
6
|
+
readonly filterOperatorOptions$: BehaviorSubject<ICoreDropdownOption[]>;
|
|
7
|
+
extractArray<T>(input: BehaviorSubject<T[]> | T[] | undefined): T[];
|
|
8
|
+
extractObject<T>(input: BehaviorSubject<T> | T | undefined): T;
|
|
9
|
+
wrapArray<T>(arr: T[]): BehaviorSubject<T[]>;
|
|
10
|
+
wrapObject<T>(obj: T): BehaviorSubject<T>;
|
|
11
|
+
addItem<T>(source: T[], newItem: T): T[];
|
|
12
|
+
updateItem<T>(source: T[], index: number, updated: Partial<T>): T[];
|
|
13
|
+
removeItem<T>(source: T[], index: number): T[];
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeekerPropsService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SeekerPropsService>;
|
|
16
|
+
}
|
|
@@ -19,6 +19,7 @@ import { JsonService } from '../../../services/json.service';
|
|
|
19
19
|
import { FormGroup } from '@angular/forms';
|
|
20
20
|
import { IWorkflowReactContext } from '../../core-workflow-builder/interfaces/IWorkflowReactContext';
|
|
21
21
|
import { IRoutingResult } from '../../core-workflow-builder/interfaces/IRoutingResult';
|
|
22
|
+
import { IStepFormConfig } from '../../core-workflow-builder/interfaces/IStepConfig';
|
|
22
23
|
import * as i0 from "@angular/core";
|
|
23
24
|
export declare class LiveFormComponent extends BaseComponent implements AfterViewInit {
|
|
24
25
|
mls: MultiLanguageService;
|
|
@@ -60,6 +61,7 @@ export declare class LiveFormComponent extends BaseComponent implements AfterVie
|
|
|
60
61
|
$reactMode: WritableSignal<boolean>;
|
|
61
62
|
$onBehalfMode: import("@angular/core").Signal<boolean | undefined>;
|
|
62
63
|
$reactInjectedFieldsAdded: WritableSignal<boolean>;
|
|
64
|
+
$effectiveSections: import("@angular/core").Signal<ICoreFormSection[]>;
|
|
63
65
|
constructor(mls: MultiLanguageService, coreFormService: CoreFormService);
|
|
64
66
|
generateSubmitDto(): any;
|
|
65
67
|
toggleShowRouting(): void;
|
|
@@ -81,9 +83,9 @@ export declare class LiveFormComponent extends BaseComponent implements AfterVie
|
|
|
81
83
|
onLiveSubmit(e: any): void;
|
|
82
84
|
onClose(): void;
|
|
83
85
|
addKickOffInjectedFields(): void;
|
|
84
|
-
addReactInjectedFields(): void;
|
|
85
86
|
clearInjectedFields(): void;
|
|
86
87
|
react(reactType: string): void;
|
|
88
|
+
applyFormUi(sections: ICoreFormSection[], formUi: IStepFormConfig["formUi"]): ICoreFormSection[];
|
|
87
89
|
ngOnDestroy(): void;
|
|
88
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<LiveFormComponent, never>;
|
|
89
91
|
static ɵcmp: i0.ɵɵComponentDeclaration<LiveFormComponent, "live-form", never, { "$designMode": { "alias": "$designMode"; "required": false; "isSignal": true; }; "$forKickOff": { "alias": "$forKickOff"; "required": false; "isSignal": true; }; "$workflowReactContext": { "alias": "$workflowReactContext"; "required": false; "isSignal": true; }; }, { "$onClose": "$onClose"; }, never, never, true, never>;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { OnInit
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class PropsHostComponent implements OnInit {
|
|
4
|
-
loadComponent: () => Promise<Type<any>>;
|
|
5
4
|
isNested: boolean;
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
type: string;
|
|
6
|
+
props: any;
|
|
8
7
|
private vcRef;
|
|
9
|
-
private
|
|
8
|
+
private alert;
|
|
10
9
|
private componentRef?;
|
|
11
|
-
ngOnInit():
|
|
12
|
-
private assignInputs;
|
|
10
|
+
ngOnInit(): void;
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropsHostComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PropsHostComponent, "props-host", never, { "
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PropsHostComponent, "props-host", never, { "isNested": { "alias": "isNested"; "required": false; }; "type": { "alias": "type"; "required": false; }; "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
13
|
}
|
package/lib/app/libraries/core-orgchartflex/core-orgchartflex/core-orgchartflex.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit, TemplateRef, WritableSignal } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit, Signal, TemplateRef, WritableSignal } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CoreOrgchartflexComponent implements OnInit, AfterViewInit {
|
|
@@ -8,6 +8,8 @@ export declare class CoreOrgchartflexComponent implements OnInit, AfterViewInit
|
|
|
8
8
|
$showDissolved: import("@angular/core").InputSignal<boolean | undefined>;
|
|
9
9
|
$width: import("@angular/core").InputSignal<number | undefined>;
|
|
10
10
|
$height: import("@angular/core").InputSignal<number | undefined>;
|
|
11
|
+
$showOrgTree: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
$orgTreeWidth: import("@angular/core").InputSignal<number>;
|
|
11
13
|
$connectionColor: import("@angular/core").InputSignal<string | undefined>;
|
|
12
14
|
$connectionSize: import("@angular/core").InputSignal<number | undefined>;
|
|
13
15
|
$fromChildrenToTopLine: import("@angular/core").InputSignal<number | undefined>;
|
|
@@ -18,9 +20,10 @@ export declare class CoreOrgchartflexComponent implements OnInit, AfterViewInit
|
|
|
18
20
|
printFlag$: BehaviorSubject<boolean>;
|
|
19
21
|
printing$: BehaviorSubject<boolean>;
|
|
20
22
|
onPrintAreaRendered: EventEmitter<any>;
|
|
21
|
-
$
|
|
22
|
-
$
|
|
23
|
-
$
|
|
23
|
+
$internalData: WritableSignal<any[]>;
|
|
24
|
+
$container: Signal<ElementRef<any> | undefined>;
|
|
25
|
+
$parent: Signal<ElementRef<any> | undefined>;
|
|
26
|
+
$printArea: Signal<ElementRef<any> | undefined>;
|
|
24
27
|
$mouseDown: WritableSignal<boolean>;
|
|
25
28
|
$startX: WritableSignal<any>;
|
|
26
29
|
$scrollLeft: WritableSignal<any>;
|
|
@@ -28,6 +31,8 @@ export declare class CoreOrgchartflexComponent implements OnInit, AfterViewInit
|
|
|
28
31
|
$scrollTop: WritableSignal<any>;
|
|
29
32
|
$scale: WritableSignal<number>;
|
|
30
33
|
cdr: ChangeDetectorRef;
|
|
34
|
+
$isCollapsed: WritableSignal<boolean>;
|
|
35
|
+
togglePanel(): void;
|
|
31
36
|
startDragging(e: any, flag: any): void;
|
|
32
37
|
stopDragging(e: any, flag: any): void;
|
|
33
38
|
moveEvent(e: any): void;
|
|
@@ -37,12 +42,12 @@ export declare class CoreOrgchartflexComponent implements OnInit, AfterViewInit
|
|
|
37
42
|
highlightChartRect(): void;
|
|
38
43
|
clearChartHighlight(): void;
|
|
39
44
|
toggleExpand(e: any): void;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
45
|
+
zoomIn(): void;
|
|
46
|
+
zoomOut(): void;
|
|
47
|
+
zoomFeat(): void;
|
|
43
48
|
ngAfterViewInit(): void;
|
|
44
49
|
healImagesForCanvas(printArea: HTMLElement): Promise<void>;
|
|
45
50
|
exportOrgChartPro(): Promise<void>;
|
|
46
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreOrgchartflexComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CoreOrgchartflexComponent, "core-orgchartflex", never, { "$data": { "alias": "$data"; "required": true; "isSignal": true; }; "$itemTemplate": { "alias": "$itemTemplate"; "required": true; "isSignal": true; }; "$compactMode": { "alias": "$compactMode"; "required": false; "isSignal": true; }; "$showDissolved": { "alias": "$showDissolved"; "required": false; "isSignal": true; }; "$width": { "alias": "$width"; "required": false; "isSignal": true; }; "$height": { "alias": "$height"; "required": false; "isSignal": true; }; "$connectionColor": { "alias": "$connectionColor"; "required": false; "isSignal": true; }; "$connectionSize": { "alias": "$connectionSize"; "required": false; "isSignal": true; }; "$fromChildrenToTopLine": { "alias": "$fromChildrenToTopLine"; "required": false; "isSignal": true; }; "$fromParentToChildrenTopLine": { "alias": "$fromParentToChildrenTopLine"; "required": false; "isSignal": true; }; "$childrenHorizontalMargin": { "alias": "$childrenHorizontalMargin"; "required": false; "isSignal": true; }; "$childrenBorderSize": { "alias": "$childrenBorderSize"; "required": false; "isSignal": true; }; "$childrenBorderColor": { "alias": "$childrenBorderColor"; "required": false; "isSignal": true; }; "printFlag$": { "alias": "printFlag$"; "required": false; }; "printing$": { "alias": "printing$"; "required": false; }; }, { "onPrintAreaRendered": "onPrintAreaRendered"; }, never, never, true, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CoreOrgchartflexComponent, "core-orgchartflex", never, { "$data": { "alias": "$data"; "required": true; "isSignal": true; }; "$itemTemplate": { "alias": "$itemTemplate"; "required": true; "isSignal": true; }; "$compactMode": { "alias": "$compactMode"; "required": false; "isSignal": true; }; "$showDissolved": { "alias": "$showDissolved"; "required": false; "isSignal": true; }; "$width": { "alias": "$width"; "required": false; "isSignal": true; }; "$height": { "alias": "$height"; "required": false; "isSignal": true; }; "$showOrgTree": { "alias": "$showOrgTree"; "required": false; "isSignal": true; }; "$orgTreeWidth": { "alias": "$orgTreeWidth"; "required": false; "isSignal": true; }; "$connectionColor": { "alias": "$connectionColor"; "required": false; "isSignal": true; }; "$connectionSize": { "alias": "$connectionSize"; "required": false; "isSignal": true; }; "$fromChildrenToTopLine": { "alias": "$fromChildrenToTopLine"; "required": false; "isSignal": true; }; "$fromParentToChildrenTopLine": { "alias": "$fromParentToChildrenTopLine"; "required": false; "isSignal": true; }; "$childrenHorizontalMargin": { "alias": "$childrenHorizontalMargin"; "required": false; "isSignal": true; }; "$childrenBorderSize": { "alias": "$childrenBorderSize"; "required": false; "isSignal": true; }; "$childrenBorderColor": { "alias": "$childrenBorderColor"; "required": false; "isSignal": true; }; "printFlag$": { "alias": "printFlag$"; "required": false; }; "printing$": { "alias": "printing$"; "required": false; }; }, { "onPrintAreaRendered": "onPrintAreaRendered"; }, never, never, true, never>;
|
|
48
53
|
}
|
|
@@ -116,7 +116,7 @@ export declare class CoreWorkflowService {
|
|
|
116
116
|
getPositionsByIds(payload: IIdsRequest): Observable<any>;
|
|
117
117
|
initialDebugSubmit(request: IInitialDebugSubmitRequest): Observable<any>;
|
|
118
118
|
initialSubmit(request: IGenerateWorkflowRoutingRequest): Observable<any>;
|
|
119
|
-
react(unitedCorrelationIds: string, reactType: string, reason: string): Observable<any>;
|
|
119
|
+
react(unitedCorrelationIds: string, reactType: string, reason: string, updatedAttributes: any): Observable<any>;
|
|
120
120
|
inject(unitedCorrelationIds: string, injectType: string, reason: string, injectorEmployeeId?: number | undefined): Observable<any>;
|
|
121
121
|
generatePreviewEmail(request: IRenderWorkflowEmailRequest): Observable<any>;
|
|
122
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreWorkflowService, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IFormBaseControl } from "../../core-form/core-form/enum-interfaces";
|
|
2
2
|
import { IRuleTree } from "../../core-rule-tree/interfaces";
|
|
3
3
|
import { IActorAssignment } from "./IActorAssignment";
|
|
4
|
-
export interface IStepConfig extends IActorStepConfig, IStepRuleConfig {
|
|
4
|
+
export interface IStepConfig extends IActorStepConfig, IStepRuleConfig, IStepFormConfig {
|
|
5
5
|
}
|
|
6
6
|
export interface IStepRuleConfig {
|
|
7
7
|
ruleTree?: IRuleTree;
|
|
@@ -14,3 +14,12 @@ export interface IActorStepConfig {
|
|
|
14
14
|
actors?: IActorAssignment;
|
|
15
15
|
routingLogic?: 'parallel' | 'short-circuit' | 'sequential';
|
|
16
16
|
}
|
|
17
|
+
export interface IStepFormConfig {
|
|
18
|
+
formUi?: FormUi;
|
|
19
|
+
}
|
|
20
|
+
export type FormUi = {
|
|
21
|
+
hidden?: Record<string, true>;
|
|
22
|
+
readonly?: Record<string, true>;
|
|
23
|
+
required?: Record<string, true>;
|
|
24
|
+
reset?: Record<string, true>;
|
|
25
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { CoreWorkflowService } from '../core-workflow.service';
|
|
3
|
+
import { IWfWorkflowGroup } from '../interfaces/IWfWorkflowGroup';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class WfLabComponent {
|
|
6
|
+
router: Router;
|
|
7
|
+
wfs: CoreWorkflowService;
|
|
8
|
+
$workflowId: import("@angular/core").WritableSignal<string>;
|
|
9
|
+
$correlationId: import("@angular/core").WritableSignal<string>;
|
|
10
|
+
$stepId: import("@angular/core").WritableSignal<string>;
|
|
11
|
+
$actorId: import("@angular/core").WritableSignal<string>;
|
|
12
|
+
$reason: import("@angular/core").WritableSignal<string>;
|
|
13
|
+
$reactType: import("@angular/core").WritableSignal<string>;
|
|
14
|
+
$injectType: import("@angular/core").WritableSignal<string>;
|
|
15
|
+
$groups: import("@angular/core").WritableSignal<IWfWorkflowGroup[]>;
|
|
16
|
+
$allWorkflows: import("@angular/core").Signal<{
|
|
17
|
+
id: string;
|
|
18
|
+
label: string;
|
|
19
|
+
}[]>;
|
|
20
|
+
$steps: import("@angular/core").WritableSignal<import("../interfaces/IStep").IStep[]>;
|
|
21
|
+
$united: import("@angular/core").Signal<string>;
|
|
22
|
+
constructor();
|
|
23
|
+
private loadGroupsOnce;
|
|
24
|
+
selectWorkflow(id: string): void;
|
|
25
|
+
selectReactType(v: string): void;
|
|
26
|
+
selectInjectType(v: string): void;
|
|
27
|
+
doReact(): void;
|
|
28
|
+
doInject(): void;
|
|
29
|
+
openKickoff(): void;
|
|
30
|
+
openReactPage(): void;
|
|
31
|
+
openStatus(): void;
|
|
32
|
+
openPreview(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WfLabComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WfLabComponent, "core-wf-lab", never, {}, {}, never, never, true, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CoreWorkflowService } from '../../../core-workflow.service';
|
|
2
|
+
import { IFormBaseControl } from '../../../../core-form/core-form/enum-interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WfFormuiConfigComponent {
|
|
5
|
+
private readonly systemFields;
|
|
6
|
+
wfs: CoreWorkflowService;
|
|
7
|
+
$availableCols: import("@angular/core").Signal<IFormBaseControl[]>;
|
|
8
|
+
/** All AF fields */
|
|
9
|
+
$fields: import("@angular/core").Signal<IFormBaseControl[]>;
|
|
10
|
+
/** Current step */
|
|
11
|
+
$step: import("@angular/core").Signal<import("../../../interfaces/IStep").IStep | null>;
|
|
12
|
+
/** Initial checklists */
|
|
13
|
+
$initialHidden: import("@angular/core").Signal<string[]>;
|
|
14
|
+
$initialReadonly: import("@angular/core").Signal<string[]>;
|
|
15
|
+
$initialRequired: import("@angular/core").Signal<string[]>;
|
|
16
|
+
$initialReset: import("@angular/core").Signal<string[]>;
|
|
17
|
+
/** Toggle handler */
|
|
18
|
+
onToggle(mode: 'hidden' | 'readonly' | 'required' | 'reset', list: string[]): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WfFormuiConfigComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WfFormuiConfigComponent, "wf-formui-config", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-histaff-alpha",
|
|
3
|
-
"version": "6.4.
|
|
4
|
-
"description": "6.4.
|
|
3
|
+
"version": "6.4.9",
|
|
4
|
+
"description": "6.4.9: Feat(WFE: Multi-step form UI)",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^19.0.1",
|
|
7
7
|
"@angular/core": "^19.0.1"
|