ngx-histaff-alpha 6.4.8 → 6.5.0

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.
Files changed (67) hide show
  1. package/fesm2022/{ngx-histaff-alpha-ai-hint-for-table.component-f4YBgbOv.mjs → ngx-histaff-alpha-ai-hint-for-table.component-CHgQSi0p.mjs} +2 -2
  2. package/fesm2022/{ngx-histaff-alpha-ai-hint-for-table.component-f4YBgbOv.mjs.map → ngx-histaff-alpha-ai-hint-for-table.component-CHgQSi0p.mjs.map} +1 -1
  3. package/fesm2022/{ngx-histaff-alpha-core-form-design.component-BMU-rbOU.mjs → ngx-histaff-alpha-core-form-design.component-CTrNNE7-.mjs} +458 -254
  4. package/fesm2022/ngx-histaff-alpha-core-form-design.component-CTrNNE7-.mjs.map +1 -0
  5. package/fesm2022/{ngx-histaff-alpha-core-sys-action.component-nEE8LeYS.mjs → ngx-histaff-alpha-core-sys-action.component-GIciqrnf.mjs} +2 -2
  6. package/fesm2022/{ngx-histaff-alpha-core-sys-action.component-nEE8LeYS.mjs.map → ngx-histaff-alpha-core-sys-action.component-GIciqrnf.mjs.map} +1 -1
  7. package/fesm2022/{ngx-histaff-alpha-core-template-editor.component-DwSst07G.mjs → ngx-histaff-alpha-core-template-editor.component-XwgAdRVH.mjs} +2 -2
  8. package/fesm2022/{ngx-histaff-alpha-core-template-editor.component-DwSst07G.mjs.map → ngx-histaff-alpha-core-template-editor.component-XwgAdRVH.mjs.map} +1 -1
  9. package/fesm2022/{ngx-histaff-alpha-core-toast-loading.component-DWIQZeZl.mjs → ngx-histaff-alpha-core-toast-loading.component-Dx9YYqpG.mjs} +2 -2
  10. package/fesm2022/{ngx-histaff-alpha-core-toast-loading.component-DWIQZeZl.mjs.map → ngx-histaff-alpha-core-toast-loading.component-Dx9YYqpG.mjs.map} +1 -1
  11. package/fesm2022/{ngx-histaff-alpha-core-workflow-consume.component-B-RPGCiI.mjs → ngx-histaff-alpha-core-workflow-consume.component-BP8zuxYQ.mjs} +2 -2
  12. package/fesm2022/{ngx-histaff-alpha-core-workflow-consume.component-B-RPGCiI.mjs.map → ngx-histaff-alpha-core-workflow-consume.component-BP8zuxYQ.mjs.map} +1 -1
  13. package/fesm2022/{ngx-histaff-alpha-db-settings.component-C3fYKsMd.mjs → ngx-histaff-alpha-db-settings.component-aOgA1qSq.mjs} +5 -5
  14. package/fesm2022/{ngx-histaff-alpha-db-settings.component-C3fYKsMd.mjs.map → ngx-histaff-alpha-db-settings.component-aOgA1qSq.mjs.map} +1 -1
  15. package/fesm2022/{ngx-histaff-alpha-design-wrapper.component-C9Jf7XWj.mjs → ngx-histaff-alpha-design-wrapper.component-hBUaZceS.mjs} +49 -7
  16. package/fesm2022/ngx-histaff-alpha-design-wrapper.component-hBUaZceS.mjs.map +1 -0
  17. package/fesm2022/{ngx-histaff-alpha-design-wrapper.route-Bk9j5IIl.mjs → ngx-histaff-alpha-design-wrapper.route-DQoOPQge.mjs} +5 -5
  18. package/fesm2022/{ngx-histaff-alpha-design-wrapper.route-Bk9j5IIl.mjs.map → ngx-histaff-alpha-design-wrapper.route-DQoOPQge.mjs.map} +1 -1
  19. package/fesm2022/{ngx-histaff-alpha-hrm-schema.component-SerupGF3.mjs → ngx-histaff-alpha-hrm-schema.component-BJZOW5Wi.mjs} +2 -2
  20. package/fesm2022/{ngx-histaff-alpha-hrm-schema.component-SerupGF3.mjs.map → ngx-histaff-alpha-hrm-schema.component-BJZOW5Wi.mjs.map} +1 -1
  21. package/fesm2022/{ngx-histaff-alpha-live-form.component-CkeOK3B7.mjs → ngx-histaff-alpha-live-form.component-x08G6uI3.mjs} +99 -139
  22. package/fesm2022/ngx-histaff-alpha-live-form.component-x08G6uI3.mjs.map +1 -0
  23. package/fesm2022/{ngx-histaff-alpha-ngx-histaff-alpha-DZMJyvtg.mjs → ngx-histaff-alpha-ngx-histaff-alpha-B4dw5BXZ.mjs} +296 -308
  24. package/fesm2022/ngx-histaff-alpha-ngx-histaff-alpha-B4dw5BXZ.mjs.map +1 -0
  25. package/fesm2022/{ngx-histaff-alpha-simple-chat.component-BbsCjEaN.mjs → ngx-histaff-alpha-simple-chat.component-CtnJMX2M.mjs} +2 -2
  26. package/fesm2022/{ngx-histaff-alpha-simple-chat.component-BbsCjEaN.mjs.map → ngx-histaff-alpha-simple-chat.component-CtnJMX2M.mjs.map} +1 -1
  27. package/fesm2022/{ngx-histaff-alpha-template-list.component-BZCdtedY.mjs → ngx-histaff-alpha-template-list.component-BysOT_8n.mjs} +2 -2
  28. package/fesm2022/{ngx-histaff-alpha-template-list.component-BZCdtedY.mjs.map → ngx-histaff-alpha-template-list.component-BysOT_8n.mjs.map} +1 -1
  29. package/fesm2022/{ngx-histaff-alpha-tracker-studio.component-CDJfkoan.mjs → ngx-histaff-alpha-tracker-studio.component-D9L1y1k0.mjs} +2 -2
  30. package/fesm2022/{ngx-histaff-alpha-tracker-studio.component-CDJfkoan.mjs.map → ngx-histaff-alpha-tracker-studio.component-D9L1y1k0.mjs.map} +1 -1
  31. package/fesm2022/{ngx-histaff-alpha-wf-form-assign.component-BLM4gRwQ.mjs → ngx-histaff-alpha-wf-form-assign.component-BACGd2Yk.mjs} +2 -2
  32. package/fesm2022/{ngx-histaff-alpha-wf-form-assign.component-BLM4gRwQ.mjs.map → ngx-histaff-alpha-wf-form-assign.component-BACGd2Yk.mjs.map} +1 -1
  33. package/fesm2022/{ngx-histaff-alpha-wf-global-config.component-BhlbCxKD.mjs → ngx-histaff-alpha-wf-global-config.component-ABO46891.mjs} +18 -2
  34. package/fesm2022/ngx-histaff-alpha-wf-global-config.component-ABO46891.mjs.map +1 -0
  35. package/fesm2022/{ngx-histaff-alpha-wf-instance-status.component-rCfzZVzd.mjs → ngx-histaff-alpha-wf-instance-status.component-CJj_SSmd.mjs} +2 -2
  36. package/fesm2022/{ngx-histaff-alpha-wf-instance-status.component-rCfzZVzd.mjs.map → ngx-histaff-alpha-wf-instance-status.component-CJj_SSmd.mjs.map} +1 -1
  37. package/fesm2022/{ngx-histaff-alpha-wf-instance-step-react.component-BFrOIHlR.mjs → ngx-histaff-alpha-wf-instance-step-react.component-D2FW3Uk6.mjs} +6 -7
  38. package/fesm2022/ngx-histaff-alpha-wf-instance-step-react.component-D2FW3Uk6.mjs.map +1 -0
  39. package/fesm2022/ngx-histaff-alpha-wf-lab.component-Ci9x7286.mjs +130 -0
  40. package/fesm2022/ngx-histaff-alpha-wf-lab.component-Ci9x7286.mjs.map +1 -0
  41. package/fesm2022/ngx-histaff-alpha.mjs +1 -1
  42. package/lib/app/libraries/core-form/core-form/enum-interfaces.d.ts +6 -0
  43. package/lib/app/libraries/core-form-design/core-form-design.component.d.ts +1 -1
  44. package/lib/app/libraries/core-form-design/core-form-group-editor.component.d.ts +1 -1
  45. package/lib/app/libraries/core-form-design/field-setting/field-setting-props.registry.d.ts +2 -0
  46. package/lib/app/libraries/core-form-design/field-setting/field-setting.component.d.ts +8 -2
  47. package/lib/app/libraries/core-form-design/field-setting/type-specific/seeker-props/seeker-props.component.d.ts +31 -7
  48. package/lib/app/libraries/core-form-design/field-setting/type-specific/seeker-props/seeker-props.service.d.ts +16 -0
  49. package/lib/app/libraries/core-form-design/live-form/live-form.component.d.ts +3 -1
  50. package/lib/app/libraries/core-form-design/props-host/props-host.component.d.ts +6 -8
  51. package/lib/app/libraries/core-orgchartflex/core-orgchartflex/core-orgchartflex.component.d.ts +13 -8
  52. package/lib/app/libraries/core-workflow-builder/core-workflow.service.d.ts +1 -1
  53. package/lib/app/libraries/core-workflow-builder/interfaces/IStepConfig.d.ts +10 -1
  54. package/lib/app/libraries/core-workflow-builder/interfaces/IWorkflowReactContext.d.ts +2 -0
  55. package/lib/app/libraries/core-workflow-builder/wf-lab/wf-lab.component.d.ts +35 -0
  56. 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
  57. package/package.json +2 -2
  58. package/fesm2022/ngx-histaff-alpha-core-form-design.component-BMU-rbOU.mjs.map +0 -1
  59. package/fesm2022/ngx-histaff-alpha-design-wrapper.component-C9Jf7XWj.mjs.map +0 -1
  60. package/fesm2022/ngx-histaff-alpha-email-props.component-Cf35Pexq.mjs +0 -14
  61. package/fesm2022/ngx-histaff-alpha-email-props.component-Cf35Pexq.mjs.map +0 -1
  62. package/fesm2022/ngx-histaff-alpha-form-array-props.component-DZ7gptOo.mjs +0 -26
  63. package/fesm2022/ngx-histaff-alpha-form-array-props.component-DZ7gptOo.mjs.map +0 -1
  64. package/fesm2022/ngx-histaff-alpha-live-form.component-CkeOK3B7.mjs.map +0 -1
  65. package/fesm2022/ngx-histaff-alpha-ngx-histaff-alpha-DZMJyvtg.mjs.map +0 -1
  66. package/fesm2022/ngx-histaff-alpha-wf-global-config.component-BhlbCxKD.mjs.map +0 -1
  67. package/fesm2022/ngx-histaff-alpha-wf-instance-step-react.component-BFrOIHlR.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, ChangeDetectionStrategy, Component, Injector, runInInjectionContext, effect, Input, EventEmitter, ElementRef, ViewChild, Output, Renderer2, input, isDevMode, signal, computed, Injectable, output, viewChild, ChangeDetectorRef, Directive, Pipe, ViewChildren } from '@angular/core';
3
- import { B as BaseComponent, m as CoreWorkflowService, x as CoreFormDesignService, b as AlertService, y as EnumWorkflowStepType, v as alertOptions, i as EnumFormBaseContolType, M as MultiLanguageService, T as TooltipDirective, e as TranslatePipe, h as BaseEditComponent, j as DialogService, A as AppService, k as CorePageEditComponent, F as FullscreenModalLoaderComponent, z as DomService, G as CoreDropdownComponent, H as CoreChecklistComponent, J as CoreDatePickerComponent, K as CoreFormControlSeekerComponent, L as CoreCurrencyInputComponent, n as EnumCoreFormControlSeekerSourceType, N as EnumActorSourceType, O as CoreParamControlComponent, P as CoreRadioGroupComponent, Q as GptService, R as ApplicationHelpService, U as HotKeysDirective, V as EnumCorePageEditMode, W as CoreFormComponent, X as NavigatorService, Y as JsonService } from './ngx-histaff-alpha-ngx-histaff-alpha-DZMJyvtg.mjs';
3
+ import { B as BaseComponent, m as CoreWorkflowService, x as CoreFormDesignService, b as AlertService, y as EnumWorkflowStepType, v as alertOptions, i as EnumFormBaseContolType, M as MultiLanguageService, T as TooltipDirective, e as TranslatePipe, h as BaseEditComponent, j as DialogService, A as AppService, k as CorePageEditComponent, F as FullscreenModalLoaderComponent, z as DomService, G as CoreDropdownComponent, H as CoreChecklistComponent, J as CoreDatePickerComponent, K as CoreFormControlSeekerComponent, L as CoreCurrencyInputComponent, n as EnumCoreFormControlSeekerSourceType, N as EnumActorSourceType, O as CoreParamControlComponent, P as CoreRadioGroupComponent, Q as GptService, R as CoreStickerCollectionComponent, U as ApplicationHelpService, V as HotKeysDirective, W as EnumCorePageEditMode, X as CoreFormComponent, Y as NavigatorService, Z as JsonService } from './ngx-histaff-alpha-ngx-histaff-alpha-B4dw5BXZ.mjs';
4
4
  import * as i1$1 from '@angular/router';
5
5
  import { Router, ActivatedRoute, RouterOutlet } from '@angular/router';
6
6
  import { catchError, of, BehaviorSubject, distinctUntilChanged } from 'rxjs';
@@ -8,11 +8,11 @@ import { EnumTranslateKey } from 'alpha-global-constants';
8
8
  import { AsyncPipe, NgTemplateOutlet, LowerCasePipe, NgStyle } from '@angular/common';
9
9
  import * as i1 from '@angular/forms';
10
10
  import { Validators, ReactiveFormsModule, FormGroup, FormControl, FormArray, FormsModule } from '@angular/forms';
11
- import { C as CoreFormDesignComponent } from './ngx-histaff-alpha-core-form-design.component-BMU-rbOU.mjs';
11
+ import { CoreFormDesignComponent } from './ngx-histaff-alpha-core-form-design.component-CTrNNE7-.mjs';
12
12
  import { trigger, state, transition, style, animate } from '@angular/animations';
13
13
  import { HttpClient } from '@angular/common/http';
14
- import { C as CoreToastLoadingComponent } from './ngx-histaff-alpha-core-toast-loading.component-DWIQZeZl.mjs';
15
- import { R as RoutingPreviewPanelComponent } from './ngx-histaff-alpha-live-form.component-CkeOK3B7.mjs';
14
+ import { C as CoreToastLoadingComponent } from './ngx-histaff-alpha-core-toast-loading.component-Dx9YYqpG.mjs';
15
+ import { R as RoutingPreviewPanelComponent } from './ngx-histaff-alpha-live-form.component-x08G6uI3.mjs';
16
16
 
17
17
  class CurrentHeaderComponent extends BaseComponent {
18
18
  constructor(mls) {
@@ -1391,6 +1391,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
1391
1391
  ], template: "<div class=\"rule-config-shell-container\">\r\n\r\n <div class=\"rule-tree-header\">\r\n <div class=\"title\">Rule Conditions</div>\r\n <div class=\"subtitle\">\r\n Define logic that must be satisfied for this step to proceed. These conditions will be evaluated\r\n automatically.\r\n </div>\r\n </div>\r\n\r\n <div class=\"fallback-type-header\">\r\n <div class=\"title\">Fallback Behavior</div>\r\n <div class=\"subtitle\">\r\n\r\n @if ($stepType() !== enumType.BranchCard) {\r\n Choose what happens when the rule condition evaluates to <strong>false (0)</strong> at runtime:\r\n <ul>\r\n <li><strong>Hard Block</strong> Step will be auto-rejected.</li>\r\n <li><strong>Soft Warn</strong> User will see a warning but may continue.</li>\r\n </ul>\r\n\r\n } @else {\r\n When the condition evaluates to <strong>false (0)</strong>, the next branch (by order) will be triggered automatically.\r\n }\r\n </div>\r\n @if ($stepType() !== enumType.BranchCard) {\r\n <core-radio-group\r\n [options$]=\"fallbackTypeOptions$\"\r\n [vertical]=\"true\"\r\n [gapY]=\"8\"\r\n [ngModel]=\"$fallbackType()\"\r\n (ngModelChange)=\"onFallbackTypeChanged($event)\" \r\n />\r\n }\r\n\r\n </div>\r\n\r\n @if ($stepType() !== enumType.BranchCard) {\r\n <div class=\"fallback-message-wrapper\">\r\n <label for=\"fallback-message\" class=\"form-label\">Optional Warning Message</label>\r\n <textarea\r\n id=\"fallback-message\"\r\n class=\"form-control\"\r\n placeholder=\"Enter a message to show when this fallback is triggered...\"\r\n rows=\"3\"\r\n [ngModel]=\"$fallbackMessage()\"\r\n (ngModelChange)=\"onFallbackMessageChanged($event)\"\r\n ></textarea>\r\n </div>\r\n }\r\n\r\n <div class=\"rule-tree-wrapper\">\r\n\r\n <core-rule-tree [$totalCols]=\"wfs.$availableCols()\" [$mainForm]=\"$stepFormGroup()\"\r\n ($jsonEmitter)=\"onRuleTreeJsonChange($event)\" />\r\n\r\n </div>\r\n</div>", styles: [".rule-tree-header{background:linear-gradient(135deg,#f0f8ff,#e6f7ff);border:1px solid #cde4f9;padding:1rem 1.25rem;border-radius:8px;margin-bottom:1rem;box-shadow:0 1px 3px #0040800d}.rule-tree-header .title{font-size:1.1rem;font-weight:600;color:#036;margin-bottom:.25rem}.rule-tree-header .subtitle{font-size:.9rem;color:#444;line-height:1.4}.fallback-type-header{background:linear-gradient(135deg,#fefce8,#fff9c4);border:1px solid #f5e96c;padding:1rem 1.25rem;border-radius:8px;margin-bottom:1rem;box-shadow:0 1px 3px #8060000d}.fallback-type-header .title{font-size:1.05rem;font-weight:600;color:#8a6d00;margin-bottom:.25rem}.fallback-type-header .subtitle{font-size:.9rem;color:#5f4700;line-height:1.5}.fallback-type-header .subtitle ul{padding-left:1.2rem;margin-top:.5rem}.fallback-type-header .subtitle ul li{margin-bottom:.25rem}.fallback-message-wrapper{margin-top:1rem}.fallback-message-wrapper .form-label{font-weight:500;color:#444;margin-bottom:.5rem;display:inline-block}.fallback-message-wrapper textarea.form-control{width:100%;resize:vertical;min-height:80px;font-family:system-ui,sans-serif;font-size:14px;padding:.5rem .75rem;border-radius:6px;background:#fefefe}.rule-tree-wrapper{margin-top:.5rem}\n"] }]
1392
1392
  }] });
1393
1393
 
1394
+ class WfFormuiConfigComponent {
1395
+ constructor() {
1396
+ this.systemFields = ["initialRequesterEmployeeId"];
1397
+ this.wfs = inject(CoreWorkflowService);
1398
+ this.$availableCols = computed(() => this.$fields().filter(f => !this.systemFields.includes(f.field)) ?? []);
1399
+ /** All AF fields */
1400
+ this.$fields = computed(() => this.wfs.$availableCols());
1401
+ /** Current step */
1402
+ this.$step = computed(() => this.wfs.$currentStep());
1403
+ /** Initial checklists */
1404
+ this.$initialHidden = computed(() => Object.keys(this.$step()?.config?.formUi?.hidden ?? {}));
1405
+ this.$initialReadonly = computed(() => Object.keys(this.$step()?.config?.formUi?.readonly ?? {}));
1406
+ this.$initialRequired = computed(() => Object.keys(this.$step()?.config?.formUi?.required ?? {}));
1407
+ this.$initialReset = computed(() => Object.keys(this.$step()?.config?.formUi?.reset ?? {}));
1408
+ }
1409
+ /** Toggle handler */
1410
+ onToggle(mode, list) {
1411
+ const step = this.$step();
1412
+ if (!step)
1413
+ return;
1414
+ const formUi = step.config?.formUi ?? {};
1415
+ formUi[mode] = list.reduce((acc, k) => {
1416
+ acc[k] = true;
1417
+ return acc;
1418
+ }, {});
1419
+ this.wfs.updateStep({
1420
+ ...step,
1421
+ config: {
1422
+ ...(step.config ?? {}),
1423
+ formUi: { ...formUi }
1424
+ }
1425
+ });
1426
+ }
1427
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: WfFormuiConfigComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1428
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: WfFormuiConfigComponent, isStandalone: true, selector: "wf-formui-config", ngImport: i0, template: "<div class=\"formui-config-container\">\r\n\r\n <div class=\"formui-config-header\">\r\n <div class=\"title\">Form UI Configuration</div>\r\n <div class=\"subtitle\">Control field visibility and behavior for this step</div>\r\n </div>\r\n\r\n <div class=\"formui-body\">\r\n\r\n <!-- Hidden Fields -->\r\n <div class=\"formui-block\">\r\n <div class=\"label\">Hidden Fields</div>\r\n\r\n <core-sticker-collection [$items]=\"$availableCols()\" [$shownFrom]=\"'field'\" [$initialChecked]=\"$initialHidden()\"\r\n ($checkedChange)=\"onToggle('hidden', $event)\" [$enableFilter]=\"true\"></core-sticker-collection>\r\n </div>\r\n\r\n <!-- Readonly Fields -->\r\n <div class=\"formui-block\">\r\n <div class=\"label\">Readonly Fields</div>\r\n\r\n <core-sticker-collection [$items]=\"$availableCols()\" [$shownFrom]=\"'field'\" [$initialChecked]=\"$initialReadonly()\"\r\n ($checkedChange)=\"onToggle('readonly', $event)\" [$enableFilter]=\"true\"></core-sticker-collection>\r\n </div>\r\n\r\n <!-- Required Overrides -->\r\n <div class=\"formui-block\">\r\n <div class=\"label\">Required Overrides</div>\r\n\r\n <core-sticker-collection [$items]=\"$availableCols()\" [$shownFrom]=\"'field'\" [$initialChecked]=\"$initialRequired()\"\r\n ($checkedChange)=\"onToggle('required', $event)\" [$enableFilter]=\"true\"></core-sticker-collection>\r\n </div>\r\n\r\n <!-- Reset on Enter -->\r\n <div class=\"formui-block\">\r\n <div class=\"label\">Reset on Enter Step</div>\r\n\r\n <core-sticker-collection [$items]=\"$availableCols()\" [$shownFrom]=\"'field'\" [$initialChecked]=\"$initialReset()\"\r\n ($checkedChange)=\"onToggle('reset', $event)\" [$enableFilter]=\"true\"></core-sticker-collection>\r\n </div>\r\n\r\n </div>\r\n\r\n</div>", styles: [".formui-config-header{background:linear-gradient(135deg,#f8fafc,#eef2f7);border:1px solid #d8dee6;padding:1rem 1.25rem;border-radius:8px;margin-bottom:1rem;box-shadow:0 1px 3px #0040800d}.formui-config-header .title{font-size:1.05rem;font-weight:600;color:#334155;margin-bottom:.25rem}.formui-config-header .subtitle{font-size:.88rem;color:#475569;line-height:1.45}.formui-body{margin-bottom:1rem}.formui-block{margin-top:15px}\n"], dependencies: [{ kind: "component", type: CoreStickerCollectionComponent, selector: "core-sticker-collection", inputs: ["$items", "$shownFrom", "$tooltipFrom", "$initialChecked", "$showMore", "$showMoreTooltip", "$hideShowMoreIfNotSelected", "$enableFilter"], outputs: ["$checkedChange", "$onShowMore"] }] }); }
1429
+ }
1430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: WfFormuiConfigComponent, decorators: [{
1431
+ type: Component,
1432
+ args: [{ selector: 'wf-formui-config', imports: [CoreStickerCollectionComponent], template: "<div class=\"formui-config-container\">\r\n\r\n <div class=\"formui-config-header\">\r\n <div class=\"title\">Form UI Configuration</div>\r\n <div class=\"subtitle\">Control field visibility and behavior for this step</div>\r\n </div>\r\n\r\n <div class=\"formui-body\">\r\n\r\n <!-- Hidden Fields -->\r\n <div class=\"formui-block\">\r\n <div class=\"label\">Hidden Fields</div>\r\n\r\n <core-sticker-collection [$items]=\"$availableCols()\" [$shownFrom]=\"'field'\" [$initialChecked]=\"$initialHidden()\"\r\n ($checkedChange)=\"onToggle('hidden', $event)\" [$enableFilter]=\"true\"></core-sticker-collection>\r\n </div>\r\n\r\n <!-- Readonly Fields -->\r\n <div class=\"formui-block\">\r\n <div class=\"label\">Readonly Fields</div>\r\n\r\n <core-sticker-collection [$items]=\"$availableCols()\" [$shownFrom]=\"'field'\" [$initialChecked]=\"$initialReadonly()\"\r\n ($checkedChange)=\"onToggle('readonly', $event)\" [$enableFilter]=\"true\"></core-sticker-collection>\r\n </div>\r\n\r\n <!-- Required Overrides -->\r\n <div class=\"formui-block\">\r\n <div class=\"label\">Required Overrides</div>\r\n\r\n <core-sticker-collection [$items]=\"$availableCols()\" [$shownFrom]=\"'field'\" [$initialChecked]=\"$initialRequired()\"\r\n ($checkedChange)=\"onToggle('required', $event)\" [$enableFilter]=\"true\"></core-sticker-collection>\r\n </div>\r\n\r\n <!-- Reset on Enter -->\r\n <div class=\"formui-block\">\r\n <div class=\"label\">Reset on Enter Step</div>\r\n\r\n <core-sticker-collection [$items]=\"$availableCols()\" [$shownFrom]=\"'field'\" [$initialChecked]=\"$initialReset()\"\r\n ($checkedChange)=\"onToggle('reset', $event)\" [$enableFilter]=\"true\"></core-sticker-collection>\r\n </div>\r\n\r\n </div>\r\n\r\n</div>", styles: [".formui-config-header{background:linear-gradient(135deg,#f8fafc,#eef2f7);border:1px solid #d8dee6;padding:1rem 1.25rem;border-radius:8px;margin-bottom:1rem;box-shadow:0 1px 3px #0040800d}.formui-config-header .title{font-size:1.05rem;font-weight:600;color:#334155;margin-bottom:.25rem}.formui-config-header .subtitle{font-size:.88rem;color:#475569;line-height:1.45}.formui-body{margin-bottom:1rem}.formui-block{margin-top:15px}\n"] }]
1433
+ }] });
1434
+
1394
1435
  class WfStepConfigShellComponent {
1395
1436
  constructor(wfs, domService) {
1396
1437
  this.wfs = wfs;
@@ -1450,7 +1491,7 @@ class WfStepConfigShellComponent {
1450
1491
  });
1451
1492
  }
1452
1493
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: WfStepConfigShellComponent, deps: [{ token: CoreWorkflowService }, { token: DomService }], target: i0.ɵɵFactoryTarget.Component }); }
1453
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: WfStepConfigShellComponent, isStandalone: true, selector: "wf-step-config-shell", viewQueries: [{ propertyName: "$container", first: true, predicate: ["container"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"wf-step-config-shell-container\" #container [class.shown]=\"wfs.$showStepConfig()\">\r\n \r\n <div class=\"wf-step-config-header\">\r\n <div class=\"panel-title\">\r\n {{ wfs.$currentStep()?.type || 'Step' }} Configuration\r\n </div>\r\n <div class=\"close-wrapper\" (click)=\"close()\">\r\n <i class=\"feather-x\"></i>\r\n </div>\r\n </div>\r\n \r\n <div class=\"wf-step-config-content\">\r\n\r\n\r\n @switch (wfs.$currentStep()?.type) {\r\n\r\n @case (enumType.BranchCard) {\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.Approval) {\r\n <wf-approver-config/>\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.Handle) {\r\n <wf-handler-config/>\r\n }\r\n \r\n @case (enumType.CC) {\r\n <wf-cc-config/>\r\n }\r\n \r\n @case (enumType.Submit) {\r\n <wf-submit-config/>\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.End) {\r\n <wf-end-config/>\r\n <rule-config-shell />\r\n }\r\n \r\n @default {\r\n <div class=\"unsupported-type\">\r\n Unsupported type\r\n </div>\r\n }\r\n \r\n }\r\n \r\n </div>\r\n \r\n</div>", styles: [".wf-step-config-shell-container{display:block;position:fixed;top:0;right:-532px;width:532px;height:100vh;background-color:#fff;transition:right .2s ease-out;box-shadow:var(--decoration-box-shadow);overflow-y:auto}.wf-step-config-header{display:flex;align-items:center;justify-content:space-between;padding:15px;height:60px;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;color:#1f2937}.wf-step-config-header .panel-title{flex-grow:1}.wf-step-config-header .close-wrapper{display:flex;align-items:center;justify-content:center;background-color:#f1f5f9;width:32px;height:32px;border-radius:50%;cursor:pointer;transition:background-color .2s}.wf-step-config-header .close-wrapper:hover{background-color:#e2e8f0}.wf-step-config-content{flex-grow:1;padding:15px;overflow-y:visible;font-size:13px}.wf-step-config-content .core-radio-group-container label{font-size:13px!important}.loading-placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:#94a3b8;font-size:14px}.wf-step-config-shell-container.shown{right:0}.rule-and-gpt-flow{display:flex;flex-direction:column;gap:16px}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "component", type: WfApproverConfigComponent, selector: "wf-approver-config" }, { kind: "component", type: WfCcConfigComponent, selector: "wf-cc-config" }, { kind: "component", type: WfEndConfigComponent, selector: "wf-end-config" }, { kind: "component", type: WfHandlerConfigComponent, selector: "wf-handler-config" }, { kind: "component", type: WfSubmitConfigComponent, selector: "wf-submit-config" }, { kind: "component", type: RuleConfigShellComponent, selector: "rule-config-shell" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1494
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: WfStepConfigShellComponent, isStandalone: true, selector: "wf-step-config-shell", viewQueries: [{ propertyName: "$container", first: true, predicate: ["container"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"wf-step-config-shell-container\" #container [class.shown]=\"wfs.$showStepConfig()\">\r\n \r\n <div class=\"wf-step-config-header\">\r\n <div class=\"panel-title\">\r\n {{ wfs.$currentStep()?.type || 'Step' }} Configuration\r\n </div>\r\n <div class=\"close-wrapper\" (click)=\"close()\">\r\n <i class=\"feather-x\"></i>\r\n </div>\r\n </div>\r\n \r\n <div class=\"wf-step-config-content\">\r\n\r\n\r\n @switch (wfs.$currentStep()?.type) {\r\n\r\n @case (enumType.BranchCard) {\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.Approval) {\r\n <wf-approver-config/>\r\n <hr />\r\n <wf-formui-config />\r\n <hr />\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.Handle) {\r\n <wf-handler-config/>\r\n <hr />\r\n <wf-formui-config />\r\n }\r\n \r\n @case (enumType.CC) {\r\n <wf-cc-config/>\r\n }\r\n \r\n @case (enumType.Submit) {\r\n <wf-submit-config/>\r\n <hr />\r\n <wf-formui-config />\r\n <hr />\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.End) {\r\n <wf-end-config/>\r\n <hr />\r\n <rule-config-shell />\r\n }\r\n \r\n @default {\r\n <div class=\"unsupported-type\">\r\n Unsupported type\r\n </div>\r\n }\r\n \r\n }\r\n \r\n </div>\r\n \r\n</div>", styles: [".wf-step-config-shell-container{display:block;position:fixed;top:0;right:-532px;width:532px;height:100vh;background-color:#fff;transition:right .2s ease-out;box-shadow:var(--decoration-box-shadow);overflow-y:auto}.wf-step-config-header{display:flex;align-items:center;justify-content:space-between;padding:15px;height:60px;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;color:#1f2937}.wf-step-config-header .panel-title{flex-grow:1}.wf-step-config-header .close-wrapper{display:flex;align-items:center;justify-content:center;background-color:#f1f5f9;width:32px;height:32px;border-radius:50%;cursor:pointer;transition:background-color .2s}.wf-step-config-header .close-wrapper:hover{background-color:#e2e8f0}.wf-step-config-content{flex-grow:1;padding:15px;overflow-y:visible;font-size:13px}.wf-step-config-content .core-radio-group-container label{font-size:13px!important}.loading-placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:#94a3b8;font-size:14px}.wf-step-config-shell-container.shown{right:0}.rule-and-gpt-flow{display:flex;flex-direction:column;gap:16px}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "component", type: WfApproverConfigComponent, selector: "wf-approver-config" }, { kind: "component", type: WfCcConfigComponent, selector: "wf-cc-config" }, { kind: "component", type: WfEndConfigComponent, selector: "wf-end-config" }, { kind: "component", type: WfHandlerConfigComponent, selector: "wf-handler-config" }, { kind: "component", type: WfSubmitConfigComponent, selector: "wf-submit-config" }, { kind: "component", type: WfFormuiConfigComponent, selector: "wf-formui-config" }, { kind: "component", type: RuleConfigShellComponent, selector: "rule-config-shell" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1454
1495
  }
1455
1496
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: WfStepConfigShellComponent, decorators: [{
1456
1497
  type: Component,
@@ -1462,9 +1503,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
1462
1503
  WfEndConfigComponent,
1463
1504
  WfHandlerConfigComponent,
1464
1505
  WfSubmitConfigComponent,
1506
+ WfFormuiConfigComponent,
1465
1507
  RuleConfigShellComponent,
1466
1508
  WfGptAssistantComponent
1467
- ], template: "<div class=\"wf-step-config-shell-container\" #container [class.shown]=\"wfs.$showStepConfig()\">\r\n \r\n <div class=\"wf-step-config-header\">\r\n <div class=\"panel-title\">\r\n {{ wfs.$currentStep()?.type || 'Step' }} Configuration\r\n </div>\r\n <div class=\"close-wrapper\" (click)=\"close()\">\r\n <i class=\"feather-x\"></i>\r\n </div>\r\n </div>\r\n \r\n <div class=\"wf-step-config-content\">\r\n\r\n\r\n @switch (wfs.$currentStep()?.type) {\r\n\r\n @case (enumType.BranchCard) {\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.Approval) {\r\n <wf-approver-config/>\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.Handle) {\r\n <wf-handler-config/>\r\n }\r\n \r\n @case (enumType.CC) {\r\n <wf-cc-config/>\r\n }\r\n \r\n @case (enumType.Submit) {\r\n <wf-submit-config/>\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.End) {\r\n <wf-end-config/>\r\n <rule-config-shell />\r\n }\r\n \r\n @default {\r\n <div class=\"unsupported-type\">\r\n Unsupported type\r\n </div>\r\n }\r\n \r\n }\r\n \r\n </div>\r\n \r\n</div>", styles: [".wf-step-config-shell-container{display:block;position:fixed;top:0;right:-532px;width:532px;height:100vh;background-color:#fff;transition:right .2s ease-out;box-shadow:var(--decoration-box-shadow);overflow-y:auto}.wf-step-config-header{display:flex;align-items:center;justify-content:space-between;padding:15px;height:60px;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;color:#1f2937}.wf-step-config-header .panel-title{flex-grow:1}.wf-step-config-header .close-wrapper{display:flex;align-items:center;justify-content:center;background-color:#f1f5f9;width:32px;height:32px;border-radius:50%;cursor:pointer;transition:background-color .2s}.wf-step-config-header .close-wrapper:hover{background-color:#e2e8f0}.wf-step-config-content{flex-grow:1;padding:15px;overflow-y:visible;font-size:13px}.wf-step-config-content .core-radio-group-container label{font-size:13px!important}.loading-placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:#94a3b8;font-size:14px}.wf-step-config-shell-container.shown{right:0}.rule-and-gpt-flow{display:flex;flex-direction:column;gap:16px}\n"] }]
1509
+ ], template: "<div class=\"wf-step-config-shell-container\" #container [class.shown]=\"wfs.$showStepConfig()\">\r\n \r\n <div class=\"wf-step-config-header\">\r\n <div class=\"panel-title\">\r\n {{ wfs.$currentStep()?.type || 'Step' }} Configuration\r\n </div>\r\n <div class=\"close-wrapper\" (click)=\"close()\">\r\n <i class=\"feather-x\"></i>\r\n </div>\r\n </div>\r\n \r\n <div class=\"wf-step-config-content\">\r\n\r\n\r\n @switch (wfs.$currentStep()?.type) {\r\n\r\n @case (enumType.BranchCard) {\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.Approval) {\r\n <wf-approver-config/>\r\n <hr />\r\n <wf-formui-config />\r\n <hr />\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.Handle) {\r\n <wf-handler-config/>\r\n <hr />\r\n <wf-formui-config />\r\n }\r\n \r\n @case (enumType.CC) {\r\n <wf-cc-config/>\r\n }\r\n \r\n @case (enumType.Submit) {\r\n <wf-submit-config/>\r\n <hr />\r\n <wf-formui-config />\r\n <hr />\r\n <rule-config-shell />\r\n }\r\n \r\n @case (enumType.End) {\r\n <wf-end-config/>\r\n <hr />\r\n <rule-config-shell />\r\n }\r\n \r\n @default {\r\n <div class=\"unsupported-type\">\r\n Unsupported type\r\n </div>\r\n }\r\n \r\n }\r\n \r\n </div>\r\n \r\n</div>", styles: [".wf-step-config-shell-container{display:block;position:fixed;top:0;right:-532px;width:532px;height:100vh;background-color:#fff;transition:right .2s ease-out;box-shadow:var(--decoration-box-shadow);overflow-y:auto}.wf-step-config-header{display:flex;align-items:center;justify-content:space-between;padding:15px;height:60px;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;color:#1f2937}.wf-step-config-header .panel-title{flex-grow:1}.wf-step-config-header .close-wrapper{display:flex;align-items:center;justify-content:center;background-color:#f1f5f9;width:32px;height:32px;border-radius:50%;cursor:pointer;transition:background-color .2s}.wf-step-config-header .close-wrapper:hover{background-color:#e2e8f0}.wf-step-config-content{flex-grow:1;padding:15px;overflow-y:visible;font-size:13px}.wf-step-config-content .core-radio-group-container label{font-size:13px!important}.loading-placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:#94a3b8;font-size:14px}.wf-step-config-shell-container.shown{right:0}.rule-and-gpt-flow{display:flex;flex-direction:column;gap:16px}\n"] }]
1468
1510
  }], ctorParameters: () => [{ type: CoreWorkflowService }, { type: DomService }] });
1469
1511
 
1470
1512
  const ROOT_BRANCH_ID = 'root';
@@ -2466,4 +2508,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
2466
2508
  }], ctorParameters: () => [] });
2467
2509
 
2468
2510
  export { DesignWrapperComponent };
2469
- //# sourceMappingURL=ngx-histaff-alpha-design-wrapper.component-C9Jf7XWj.mjs.map
2511
+ //# sourceMappingURL=ngx-histaff-alpha-design-wrapper.component-hBUaZceS.mjs.map