barsa-develop-components 2.3.113 → 2.3.114

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.
@@ -11,7 +11,7 @@ import * as i4 from '@fundamental-ngx/core/toolbar';
11
11
  import * as i2$1 from 'barsa-novin-ray-core';
12
12
  import { ReportViewBaseComponent, FieldBaseComponent, FormBaseComponent, FormPanelService, LogService, BaseComponent, BarsaApi, ReportBaseComponent, MoReportValuePipe, getDeviceIsMobile, BaseItemContentPropsComponent, CardBaseItemContentPropsComponent, CardViewService, FormPropsBaseComponent, FindLayoutSettingFromLayout94, BaseFormToolbaritemPropsComponent, PortalService, DateService, getDateService, UploadService, AudioRecordingService, VideoRecordingService, createGridEditorFormPanel, PictureFieldSourcePipe, ImageMimeType, AudioMimeType, VideoMimeType, AllFilesMimeType, PreventDefaulEvent, getIcon, isImage, FilesValidationHelper, LinearListHelper, getUniqueId, BaseViewItemPropsComponent, ColumnValueOfParametersPipe, BaseModule, DynamicComponentService, BarsaNovinRayCoreModule } from 'barsa-novin-ray-core';
13
13
  import { takeUntil, shareReplay, filter, map, debounceTime as debounceTime$1, tap, exhaustMap, concatMap, finalize, delay, withLatestFrom } from 'rxjs/operators';
14
- import { TabListComponent, DialogRef, PopoverBodyComponent, TabPanelComponent, CardHeaderComponent, DialogService, FundamentalNgxCoreModule } from '@fundamental-ngx/core';
14
+ import { TabListComponent, DialogRef, DialogService, PopoverBodyComponent, TabPanelComponent, CardHeaderComponent, FundamentalNgxCoreModule } from '@fundamental-ngx/core';
15
15
  import * as i1$1 from '@fundamental-ngx/core/tabs';
16
16
  import * as i1$2 from '@fundamental-ngx/core/button';
17
17
  import * as i3$1 from '@fundamental-ngx/core/segmented-button';
@@ -676,6 +676,7 @@ class BarcodeReaderComponent extends UiMoInfoSubFormUiComponent {
676
676
  constructor() {
677
677
  super(...arguments);
678
678
  this.size = 'large';
679
+ this._dialogService = inject(DialogService);
679
680
  }
680
681
  ngOnInit() {
681
682
  super.ngOnInit();
@@ -693,7 +694,8 @@ class BarcodeReaderComponent extends UiMoInfoSubFormUiComponent {
693
694
  const data = { barcodeFormats: this.barcodeFormat };
694
695
  const dialogRef = this._dialogService.open(BarcodeReaderDialogComponent, {
695
696
  data,
696
- fullScreen: this.isMobileDevice ? false : true,
697
+ width: this.isMobileDevice ? '100svw' : undefined,
698
+ height: this.isMobileDevice ? '100svh' : undefined,
697
699
  verticalPadding: true,
698
700
  responsivePadding: true,
699
701
  mobile: this.isMobileDevice,
@@ -819,6 +821,7 @@ class UiPersonComponent extends FieldBaseComponent {
819
821
  }
820
822
  ];
821
823
  this.onClose$ = new Subject();
824
+ this._dialogService = inject(DialogService);
822
825
  }
823
826
  ngOnInit() {
824
827
  super.ngOnInit();