barsa-novin-ray-core 2.3.74 → 2.3.75

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.
@@ -15621,7 +15621,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
15621
15621
 
15622
15622
  class FormNewComponent extends BaseComponent {
15623
15623
  constructor() {
15624
- super();
15624
+ super(...arguments);
15625
+ this._location = inject(Location);
15625
15626
  }
15626
15627
  ngOnInit() {
15627
15628
  super.ngOnInit();
@@ -15630,18 +15631,21 @@ class FormNewComponent extends BaseComponent {
15630
15631
  const viewId = this.settings?.MetaView?.Id;
15631
15632
  this.params = { moId, typeDefId, viewId };
15632
15633
  }
15633
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormNewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15634
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: FormNewComponent, isStandalone: false, selector: "bnrc-form-new", inputs: { settings: "settings" }, usesInheritance: true, ngImport: i0, template: '<bnrc-form [params]="params"></bnrc-form>', isInline: true, dependencies: [{ kind: "component", type: FormComponent, selector: "bnrc-form", inputs: ["params", "customFormPanelUi", "formPanelCtrl", "UlvMainCtrlr", "formPanelCtrlId", "saveOnChange", "inlineEditInReport"], outputs: ["titleChanged", "moChanged", "formClose", "uiComponent", "formRendered", "bruleAction", "beforeTransition", "afterTransition"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15634
+ onFormClose() {
15635
+ this._location.back();
15636
+ }
15637
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormNewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15638
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: FormNewComponent, isStandalone: false, selector: "bnrc-form-new", inputs: { settings: "settings" }, usesInheritance: true, ngImport: i0, template: '<bnrc-form [params]="params" (formClose)="onFormClose()"></bnrc-form>', isInline: true, dependencies: [{ kind: "component", type: FormComponent, selector: "bnrc-form", inputs: ["params", "customFormPanelUi", "formPanelCtrl", "UlvMainCtrlr", "formPanelCtrlId", "saveOnChange", "inlineEditInReport"], outputs: ["titleChanged", "moChanged", "formClose", "uiComponent", "formRendered", "bruleAction", "beforeTransition", "afterTransition"] }, { kind: "directive", type: FormCloseDirective, selector: "[formClose]", inputs: ["isMobile"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15635
15639
  }
15636
15640
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormNewComponent, decorators: [{
15637
15641
  type: Component,
15638
15642
  args: [{
15639
15643
  selector: 'bnrc-form-new',
15640
- template: '<bnrc-form [params]="params"></bnrc-form>',
15644
+ template: '<bnrc-form [params]="params" (formClose)="onFormClose()"></bnrc-form>',
15641
15645
  changeDetection: ChangeDetectionStrategy.OnPush,
15642
15646
  standalone: false
15643
15647
  }]
15644
- }], ctorParameters: () => [], propDecorators: { settings: [{
15648
+ }], propDecorators: { settings: [{
15645
15649
  type: Input
15646
15650
  }] } });
15647
15651