barsa-sap-ui 2.0.16 → 2.0.17

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.
@@ -1,8 +1,8 @@
1
- import { ElementRef, ChangeDetectorRef, NgZone, Renderer2, OnInit, SimpleChanges } from '@angular/core';
1
+ import { ElementRef, ChangeDetectorRef, NgZone, Renderer2, OnInit, SimpleChanges, EventEmitter } from '@angular/core';
2
2
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
3
  import { Observable, Subscription } from 'rxjs';
4
4
  import { ContentDensity, ContentDensityService } from '@fundamental-ngx/core';
5
- import { LayoutItemBaseComponent, FormPanelService, BbbTranslatePipe } from 'barsa-novin-ray-core';
5
+ import { LayoutItemBaseComponent, LayoutService, FormPanelService, BbbTranslatePipe } from 'barsa-novin-ray-core';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class LayoutControlComponent extends LayoutItemBaseComponent implements OnInit {
8
8
  protected formPanelService: FormPanelService;
@@ -12,6 +12,7 @@ export declare class LayoutControlComponent extends LayoutItemBaseComponent impl
12
12
  protected _ngZone: NgZone;
13
13
  protected _renderer2: Renderer2;
14
14
  protected _bbbTranslate: BbbTranslatePipe;
15
+ protected _parentLayoutService: LayoutService;
15
16
  tempLabelRef: ElementRef;
16
17
  layoutControlClass: boolean;
17
18
  isRowDirection: any;
@@ -37,6 +38,10 @@ export declare class LayoutControlComponent extends LayoutItemBaseComponent impl
37
38
  hasHorizontalText: boolean;
38
39
  contentDensity: ContentDensity;
39
40
  flex: string;
41
+ events: EventEmitter<{
42
+ title: string;
43
+ data?: any;
44
+ }>;
40
45
  hide: boolean;
41
46
  layoutSubscription: Subscription;
42
47
  wrapContent: boolean;
@@ -53,15 +58,16 @@ export declare class LayoutControlComponent extends LayoutItemBaseComponent impl
53
58
  emptyText: SafeHtml;
54
59
  layoutControlWidth: number;
55
60
  formHeight$: Observable<number>;
56
- constructor(formPanelService: FormPanelService, el: ElementRef, _contentDensityService: ContentDensityService, domSanitizer: DomSanitizer, _cdr: ChangeDetectorRef, _ngZone: NgZone, _renderer2: Renderer2, _bbbTranslate: BbbTranslatePipe);
61
+ constructor(formPanelService: FormPanelService, el: ElementRef, _contentDensityService: ContentDensityService, domSanitizer: DomSanitizer, _cdr: ChangeDetectorRef, _ngZone: NgZone, _renderer2: Renderer2, _bbbTranslate: BbbTranslatePipe, _parentLayoutService: LayoutService);
57
62
  ngOnChanges(changes: SimpleChanges): void;
58
63
  ngOnInit(): void;
64
+ private _refreshLabel;
59
65
  _resizeUlvByDevice(device: any): void;
60
66
  prepareMinAndMaxSize(): void;
61
67
  RefreshLabel: () => void;
62
68
  SetVisible: (visible: any, refresh: any) => void;
63
69
  private _setHide;
64
70
  private _setFlex;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutControlComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutControlComponent, "bsu-layout-control", never, { "inlineEdit": { "alias": "inlineEdit"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "focusControl": { "alias": "focusControl"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "maxLabelWidth": { "alias": "maxLabelWidth"; "required": false; }; "hasHorizontalText": { "alias": "hasHorizontalText"; "required": false; }; "contentDensity": { "alias": "contentDensity"; "required": false; }; "flex": { "alias": "flex"; "required": false; }; "RefreshLabel": { "alias": "RefreshLabel"; "required": false; }; "SetVisible": { "alias": "SetVisible"; "required": false; }; }, {}, never, never, false, never>;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutControlComponent, [null, null, null, null, null, null, null, null, { skipSelf: true; }]>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutControlComponent, "bsu-layout-control", never, { "inlineEdit": { "alias": "inlineEdit"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "focusControl": { "alias": "focusControl"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "maxLabelWidth": { "alias": "maxLabelWidth"; "required": false; }; "hasHorizontalText": { "alias": "hasHorizontalText"; "required": false; }; "contentDensity": { "alias": "contentDensity"; "required": false; }; "flex": { "alias": "flex"; "required": false; }; "RefreshLabel": { "alias": "RefreshLabel"; "required": false; }; "SetVisible": { "alias": "SetVisible"; "required": false; }; }, { "events": "events"; }, never, never, false, never>;
67
73
  }
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, ElementRef, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { LayoutItemBaseComponent, LayoutService, FormPanelService } from 'barsa-novin-ray-core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class LyHorizontalLayoutComponent extends LayoutItemBaseComponent implements OnInit {
@@ -7,7 +7,10 @@ export declare class LyHorizontalLayoutComponent extends LayoutItemBaseComponent
7
7
  private layoutService;
8
8
  protected _cdr: ChangeDetectorRef;
9
9
  renderItems: TemplateRef<any>;
10
- maxLabelWidth: number;
10
+ events: EventEmitter<{
11
+ title: string;
12
+ data?: any;
13
+ }>;
11
14
  flex: any;
12
15
  horizontalLayoutClass: boolean;
13
16
  wrapContent: boolean;
@@ -19,5 +22,5 @@ export declare class LyHorizontalLayoutComponent extends LayoutItemBaseComponent
19
22
  ngOnInit(): void;
20
23
  private _setHasHorizontalText;
21
24
  static ɵfac: i0.ɵɵFactoryDeclaration<LyHorizontalLayoutComponent, [null, null, { skipSelf: true; }, null]>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<LyHorizontalLayoutComponent, "bsu-ly-horizontal-layout", never, { "renderItems": { "alias": "renderItems"; "required": false; }; "maxLabelWidth": { "alias": "maxLabelWidth"; "required": false; }; }, {}, never, never, false, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<LyHorizontalLayoutComponent, "bsu-ly-horizontal-layout", never, { "renderItems": { "alias": "renderItems"; "required": false; }; }, { "events": "events"; }, never, never, false, never>;
23
26
  }
@@ -19,6 +19,10 @@ export declare class LyLayoutPanelComponent extends LayoutPanelBaseComponent imp
19
19
  readonly: boolean;
20
20
  maxWidth: number;
21
21
  ngOnInit(): void;
22
+ onEvents(ev: {
23
+ title: string;
24
+ data?: any;
25
+ }): void;
22
26
  setDisplay(): void;
23
27
  protected _setBRule(): void;
24
28
  static ɵfac: i0.ɵɵFactoryDeclaration<LyLayoutPanelComponent, never>;
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, OnInit, ViewContainerRef } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnInit, ViewContainerRef } from '@angular/core';
2
2
  import { LayoutItemBaseComponent, LayoutService, FormPanelService } from 'barsa-novin-ray-core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class LyVerticalLayoutComponent extends LayoutItemBaseComponent implements OnInit, AfterViewInit {
@@ -8,12 +8,15 @@ export declare class LyVerticalLayoutComponent extends LayoutItemBaseComponent i
8
8
  flex: any;
9
9
  flexDirection: string;
10
10
  flexWrap: any;
11
- maxLabelWidth: number;
11
+ events: EventEmitter<{
12
+ title: string;
13
+ data?: any;
14
+ }>;
12
15
  viewRef: ViewContainerRef;
13
16
  searchPanelIsObject: boolean;
14
17
  constructor(formPanelService: FormPanelService, layoutService: LayoutService, _cdr: ChangeDetectorRef);
15
18
  ngOnInit(): void;
16
19
  ngAfterViewInit(): void;
17
20
  static ɵfac: i0.ɵɵFactoryDeclaration<LyVerticalLayoutComponent, [null, { skipSelf: true; }, null]>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<LyVerticalLayoutComponent, "bsu-ly-vertical-layout", never, { "maxLabelWidth": { "alias": "maxLabelWidth"; "required": false; }; }, {}, never, never, false, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<LyVerticalLayoutComponent, "bsu-ly-vertical-layout", never, {}, { "events": "events"; }, never, never, false, never>;
19
22
  }
@@ -16,6 +16,7 @@ export declare class UiTreeViewComponent extends ReportViewBaseComponent<UiRepor
16
16
  collapseIcon: string;
17
17
  iconField: string;
18
18
  colorField: string;
19
+ viewSettingsContentDensity: 'compact' | 'cozy' | undefined;
19
20
  checkChange: EventEmitter<{
20
21
  node: TreeNodeObj;
21
22
  index: number;
@@ -46,5 +47,5 @@ export declare class UiTreeViewComponent extends ReportViewBaseComponent<UiRepor
46
47
  onCheckChange($event: any): void;
47
48
  onLoadChildren(node: any): void;
48
49
  static ɵfac: i0.ɵɵFactoryDeclaration<UiTreeViewComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<UiTreeViewComponent, "bsu-ui-tree-view", never, { "root": { "alias": "root"; "required": false; }; "selectedNode": { "alias": "selectedNode"; "required": false; }; "isHetro": { "alias": "isHetro"; "required": false; }; "leafCursorPointer": { "alias": "leafCursorPointer"; "required": false; }; "relationList": { "alias": "relationList"; "required": false; }; "showOkCancelButtons": { "alias": "showOkCancelButtons"; "required": false; }; "enableNodeReordering": { "alias": "enableNodeReordering"; "required": false; }; "collapseIcon": { "alias": "collapseIcon"; "required": false; }; "iconField": { "alias": "iconField"; "required": false; }; "colorField": { "alias": "colorField"; "required": false; }; }, { "checkChange": "checkChange"; "nodeSelect": "nodeSelect"; "createNew": "createNew"; "loadChildren": "loadChildren"; "nodeViewClick": "nodeViewClick"; "nodeUlvCommand": "nodeUlvCommand"; "itemDrop": "itemDrop"; "itemDragMoved": "itemDragMoved"; }, never, never, false, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiTreeViewComponent, "bsu-ui-tree-view", never, { "root": { "alias": "root"; "required": false; }; "selectedNode": { "alias": "selectedNode"; "required": false; }; "isHetro": { "alias": "isHetro"; "required": false; }; "leafCursorPointer": { "alias": "leafCursorPointer"; "required": false; }; "relationList": { "alias": "relationList"; "required": false; }; "showOkCancelButtons": { "alias": "showOkCancelButtons"; "required": false; }; "enableNodeReordering": { "alias": "enableNodeReordering"; "required": false; }; "collapseIcon": { "alias": "collapseIcon"; "required": false; }; "iconField": { "alias": "iconField"; "required": false; }; "colorField": { "alias": "colorField"; "required": false; }; "viewSettingsContentDensity": { "alias": "viewSettingsContentDensity"; "required": false; }; }, { "checkChange": "checkChange"; "nodeSelect": "nodeSelect"; "createNew": "createNew"; "loadChildren": "loadChildren"; "nodeViewClick": "nodeViewClick"; "nodeUlvCommand": "nodeUlvCommand"; "itemDrop": "itemDrop"; "itemDragMoved": "itemDragMoved"; }, never, never, false, never>;
50
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barsa-sap-ui",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^17.3.5",
6
6
  "@angular/common": "^17.3.5"