barsa-novin-ray-core 2.3.58 → 2.3.59
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.
|
@@ -10904,6 +10904,8 @@ class FormComponent extends BaseComponent {
|
|
|
10904
10904
|
if (loadActivityView) {
|
|
10905
10905
|
frmParams.LoadActivityView = true;
|
|
10906
10906
|
}
|
|
10907
|
+
const urlparams = this._activatedRoute.snapshot.params;
|
|
10908
|
+
urlparams && urlparams.id && (frmParams.MoId = urlparams.id);
|
|
10907
10909
|
const formpanelCtrlr = new BarsaApi.Ul.FormPanelCtrlr({
|
|
10908
10910
|
FormRequestParams: frmParams
|
|
10909
10911
|
});
|
|
@@ -10911,9 +10913,10 @@ class FormComponent extends BaseComponent {
|
|
|
10911
10913
|
formpanelCtrlr.UlvMainCtrlr = this.UlvMainCtrlr;
|
|
10912
10914
|
formpanelCtrlr.Setting = formSetting;
|
|
10913
10915
|
formpanelCtrlr.InlineEditInReport = this.inlineEditInReport;
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10916
|
+
if (this._containerService) {
|
|
10917
|
+
this._containerService.FormPanelCtrlr = formpanelCtrlr;
|
|
10918
|
+
formpanelCtrlr.Page = this._containerService;
|
|
10919
|
+
}
|
|
10917
10920
|
const nav = this._router.getCurrentNavigation();
|
|
10918
10921
|
formpanelCtrlr.FormRequestParams.state = nav?.extras.state;
|
|
10919
10922
|
formpanelCtrlr.on({
|
|
@@ -11420,7 +11423,7 @@ class MasterDetailsPageComponent extends PageWithFormHandlerBaseComponent {
|
|
|
11420
11423
|
<div class="tw-flex tw-h-full tw-w-full tw-flex-col md:tw-flex-row">
|
|
11421
11424
|
<!-- لیست -->
|
|
11422
11425
|
<div
|
|
11423
|
-
class="tw-w-full md:tw-w-96
|
|
11426
|
+
class="tw-w-full md:tw-w-96"
|
|
11424
11427
|
>
|
|
11425
11428
|
<ng-container #containerRef></ng-container>
|
|
11426
11429
|
</div>
|
|
@@ -11440,7 +11443,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
11440
11443
|
<div class="tw-flex tw-h-full tw-w-full tw-flex-col md:tw-flex-row">
|
|
11441
11444
|
<!-- لیست -->
|
|
11442
11445
|
<div
|
|
11443
|
-
class="tw-w-full md:tw-w-96
|
|
11446
|
+
class="tw-w-full md:tw-w-96"
|
|
11444
11447
|
>
|
|
11445
11448
|
<ng-container #containerRef></ng-container>
|
|
11446
11449
|
</div>
|
|
@@ -15583,7 +15586,7 @@ class FormNewComponent extends BaseComponent {
|
|
|
15583
15586
|
}
|
|
15584
15587
|
ngOnInit() {
|
|
15585
15588
|
super.ngOnInit();
|
|
15586
|
-
const moId = this.settings.DisableGenerateId ? '0' : getUniqueId(4);
|
|
15589
|
+
const moId = this.settings.ResolveMoId || (this.settings.DisableGenerateId ? '0' : getUniqueId(4));
|
|
15587
15590
|
const typeDefId = this.settings?.MetaTypeDef?.Id;
|
|
15588
15591
|
const viewId = this.settings?.MetaView?.Id;
|
|
15589
15592
|
this.params = { moId, typeDefId, viewId };
|