barsa-novin-ray-core 1.0.362 → 1.0.365

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,4 +1,4 @@
1
- import { AbbrevationDeviceSize, FormSetting, GeneralControlInfoModel, GridSetting, LayoutSetting, MenuItem, MetaobjectDataModel, ReportViewColumn } from './abstract-classes/models';
1
+ import { AbbrevationDeviceSize, FormSetting, GeneralControlInfoModel, GridSetting, LayoutSetting, MenuItem, MetaobjectDataModel, ReportViewColumn, SortSetting } from './abstract-classes/models';
2
2
  import { DateService } from './date-services';
3
3
  import { LogService } from './services/log.service';
4
4
  export declare enum TableHeaderWidthMode {
@@ -64,6 +64,21 @@ export declare function getValidExtension(validExtensions: any): string;
64
64
  export declare function getIcon(type: string): string;
65
65
  export declare function isImage(type: any): boolean;
66
66
  export declare function GetAllColumnsSorted(context: any): Array<ReportViewColumn>;
67
+ export declare function GetVisibleValue(object: any, field: any): string;
68
+ export interface Group {
69
+ $Group: any;
70
+ $Level: number;
71
+ $Count: number;
72
+ $Expanded: boolean;
73
+ $Parent: any;
74
+ $Children: any[];
75
+ $Visibility: boolean;
76
+ }
77
+ export declare function GroupBy(collection: any[], sortSettings: SortSetting[]): {
78
+ grouped: Group;
79
+ groups: any[];
80
+ };
81
+ export declare function FindGroup(groupTitle: string, a: any): any;
67
82
  export declare function FillAllLayoutControls(item: LayoutSetting, layoutControls: LayoutSetting[]): void;
68
83
  export declare function FindLayoutSettingFromLayout94(layout94: LayoutSetting, layoutTitle: string): LayoutSetting | null;
69
84
  export declare function getGridSettings(context: any): GridSetting;
@@ -2,6 +2,7 @@ import { PipeTransform } from '@angular/core';
2
2
  import { SortSetting } from '../abstract-classes';
3
3
  import { BbbTranslatePipe } from '../pipes/bbb-translate.pipe';
4
4
  import { VisibleValuePipe } from './visible-value.pipe';
5
+ import { Group } from '../constants';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class MultipleGroupByPipe implements PipeTransform {
7
8
  private bbbPipe;
@@ -13,12 +14,3 @@ export declare class MultipleGroupByPipe implements PipeTransform {
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<MultipleGroupByPipe, never>;
14
15
  static ɵpipe: i0.ɵɵPipeDeclaration<MultipleGroupByPipe, "multipleGroupBy", false>;
15
16
  }
16
- export interface Group {
17
- $Group: any;
18
- $Level: number;
19
- $Count: number;
20
- $Expanded: boolean;
21
- $Parent: any;
22
- $Children: any[];
23
- $Visibility: boolean;
24
- }
@@ -2,7 +2,7 @@ import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class VisibleValuePipe implements PipeTransform {
4
4
  constructor();
5
- transform(object: any, feild: any): string;
5
+ transform(object: any, field: any): string;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<VisibleValuePipe, never>;
7
7
  static ɵpipe: i0.ɵɵPipeDeclaration<VisibleValuePipe, "barsaVisibleValue", false>;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barsa-novin-ray-core",
3
- "version": "1.0.362",
3
+ "version": "1.0.365",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^14.2.7",
6
6
  "@angular/common": "^14.2.7"
package/public-api.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from './lib/report-container/report-container.component';
16
16
  export * from './lib/report-container/report-container.component';
17
17
  export * from './lib/form/form.component';
18
18
  export * from './lib/field-ui/field-ui.component';
19
+ export * from './lib/form-page-routing';
19
20
  export * from './lib/modal-root.component';
20
21
  export * from './lib/injdection-tokens';
21
22
  export * from './lib/abstract-classes';