barsa-novin-ray-core 2.3.63 → 2.3.64
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.
|
@@ -1420,8 +1420,9 @@ function _calcWidthOfTh(column, i, propName, thList) {
|
|
|
1420
1420
|
}
|
|
1421
1421
|
if (column.$IsImageOricon && i < thList.length - 1) {
|
|
1422
1422
|
const fieldTypeId = +column.FieldTypeId;
|
|
1423
|
-
|
|
1424
|
-
|
|
1423
|
+
const isPicture = fieldTypeId === 42;
|
|
1424
|
+
if (fieldTypeId === 6 || fieldTypeId === 5 || isPicture) {
|
|
1425
|
+
return isPicture ? '48px' : '32px';
|
|
1425
1426
|
}
|
|
1426
1427
|
debugger;
|
|
1427
1428
|
}
|
|
@@ -9987,6 +9988,7 @@ class ReportViewBaseComponent extends BaseComponent {
|
|
|
9987
9988
|
constructor() {
|
|
9988
9989
|
super(...arguments);
|
|
9989
9990
|
this._reportView = true;
|
|
9991
|
+
this._visibility = 'hidden';
|
|
9990
9992
|
this.rowActivable = true;
|
|
9991
9993
|
this.columnSummary = new EventEmitter();
|
|
9992
9994
|
this.escapeKey = new EventEmitter();
|
|
@@ -10029,6 +10031,7 @@ class ReportViewBaseComponent extends BaseComponent {
|
|
|
10029
10031
|
this._uploadService = inject(UploadService, { optional: true });
|
|
10030
10032
|
this._groupByService = inject(GroupByService, { skipSelf: true, optional: true });
|
|
10031
10033
|
this._containerWidth = 0;
|
|
10034
|
+
this._firstVisible = false;
|
|
10032
10035
|
}
|
|
10033
10036
|
set containerWidth(val) {
|
|
10034
10037
|
this._containerWidth = val;
|
|
@@ -10061,6 +10064,16 @@ class ReportViewBaseComponent extends BaseComponent {
|
|
|
10061
10064
|
});
|
|
10062
10065
|
}
|
|
10063
10066
|
this._setRowIndicator(this.columns);
|
|
10067
|
+
const config = {
|
|
10068
|
+
root: null,
|
|
10069
|
+
rootMargin: '0px',
|
|
10070
|
+
threshold: 0.5
|
|
10071
|
+
};
|
|
10072
|
+
fromIntersectionObserver(this._el.nativeElement, config, 0.5, false)
|
|
10073
|
+
.pipe(takeUntil$1(this._onDestroy$))
|
|
10074
|
+
.subscribe((status) => {
|
|
10075
|
+
this.onVisibilityChange(status);
|
|
10076
|
+
});
|
|
10064
10077
|
}
|
|
10065
10078
|
ngOnChanges(changes) {
|
|
10066
10079
|
super.ngOnChanges(changes);
|
|
@@ -10075,6 +10088,12 @@ class ReportViewBaseComponent extends BaseComponent {
|
|
|
10075
10088
|
this.detectChanges();
|
|
10076
10089
|
}
|
|
10077
10090
|
}
|
|
10091
|
+
onVisibilityChange(e, ..._args) {
|
|
10092
|
+
if (e === 'Visible') {
|
|
10093
|
+
this._visibility = 'visible';
|
|
10094
|
+
this._renderer2.setStyle(this._el.nativeElement, 'visibility', 'visible');
|
|
10095
|
+
}
|
|
10096
|
+
}
|
|
10078
10097
|
onDeselectAll() {
|
|
10079
10098
|
this.deselectAll.emit();
|
|
10080
10099
|
}
|
|
@@ -10217,7 +10236,7 @@ class ReportViewBaseComponent extends BaseComponent {
|
|
|
10217
10236
|
this.rowIndicator = Number(columns[0].MetaFieldTypeId) === 41;
|
|
10218
10237
|
}
|
|
10219
10238
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ReportViewBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
10220
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: ReportViewBaseComponent, isStandalone: false, selector: "bnrc-report-view-base", inputs: { contextView: "contextView", viewSetting: "viewSetting", allColumns: "allColumns", isCheckList: "isCheckList", simpleInlineEdit: "simpleInlineEdit", inlineEditWithoutSelection: "inlineEditWithoutSelection", hideToolbar: "hideToolbar", hideTitle: "hideTitle", toolbarButtons: "toolbarButtons", allChecked: "allChecked", moDataList: "moDataList", UlvMainCtrlr: "UlvMainCtrlr", access: "access", groupby: "groupby", selectedCount: "selectedCount", conditionalFormats: "conditionalFormats", parentHeight: "parentHeight", deviceName: "deviceName", deviceSize: "deviceSize", contextMenuItems: "contextMenuItems", columns: "columns", allowInlineEdit: "allowInlineEdit", secondaryColumns: "secondaryColumns", popin: "popin", customFieldInfo: "customFieldInfo", hasSummary: "hasSummary", layoutInfo: "layoutInfo", hasSelected: "hasSelected", hideIcon: "hideIcon", columnsCount: "columnsCount", hideOpenIcon: "hideOpenIcon", openOnClick: "openOnClick", typeDefId: "typeDefId", reportId: "reportId", listEditViewId: "listEditViewId", typeViewId: "typeViewId", extraRelation: "extraRelation", relationList: "relationList", disableResponsive: "disableResponsive", rowItem: "rowItem", mobileOrTablet: "mobileOrTablet", inDialog: "inDialog", isMultiSelect: "isMultiSelect", fullscreen: "fullscreen", hideSearchpanel: "hideSearchpanel", newInlineEditMo: "newInlineEditMo", selectedMo: "selectedMo", inlineEditMode: "inlineEditMode", onlyInlineEdit: "onlyInlineEdit", rowHoverable: "rowHoverable", groupSummary: "groupSummary", tlbButtons: "tlbButtons", formSetting: "formSetting", disableOverflowContextMenu: "disableOverflowContextMenu", rowActivable: "rowActivable", contentDensity: "contentDensity", rtl: "rtl", showOkCancelButtons: "showOkCancelButtons", title: "title", hasInlineDeleteButton: "hasInlineDeleteButton", hasInlineEditButton: "hasInlineEditButton", contextSetting: "contextSetting", gridFreeColumnSizing: "gridFreeColumnSizing", navigationArrow: "navigationArrow", cartableTemplates: "cartableTemplates", cartableChildsMo: "cartableChildsMo", pagingSetting: "pagingSetting", containerWidth: "containerWidth" }, outputs: { columnSummary: "columnSummary", escapeKey: "escapeKey", resetWorkflowState: "resetWorkflowState", deselectAll: "deselectAll", editFormPanelCancel: "editFormPanelCancel", editFormPanelSave: "editFormPanelSave", selectNextInlineRecord: "selectNextInlineRecord", editFormPanelValueChange: "editFormPanelValueChange", ulvCommandClick: "ulvCommandClick", sortAscending: "sortAscending", workflowShareButtons: "workflowShareButtons", sortDescending: "sortDescending", filter: "filter", executeToolbarButton: "executeToolbarButton", resetGridSettings: "resetGridSettings", sortSettingsChange: "sortSettingsChange", rowCheck: "rowCheck", rowClick: "rowClick", cartableFormClosed: "cartableFormClosed", createNewMo: "createNewMo", updateMo: "updateMo", expandClick: "expandClick", trackBySelectedFn: "trackBySelectedFn", allCheckbox: "allCheckbox", mandatory: "mandatory", columnResized: "columnResized", hasDetailsInRow: "hasDetailsInRow" }, host: { properties: { "class.report-view": "this._reportView" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10239
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: ReportViewBaseComponent, isStandalone: false, selector: "bnrc-report-view-base", inputs: { contextView: "contextView", viewSetting: "viewSetting", allColumns: "allColumns", isCheckList: "isCheckList", simpleInlineEdit: "simpleInlineEdit", inlineEditWithoutSelection: "inlineEditWithoutSelection", hideToolbar: "hideToolbar", hideTitle: "hideTitle", toolbarButtons: "toolbarButtons", allChecked: "allChecked", moDataList: "moDataList", UlvMainCtrlr: "UlvMainCtrlr", access: "access", groupby: "groupby", selectedCount: "selectedCount", conditionalFormats: "conditionalFormats", parentHeight: "parentHeight", deviceName: "deviceName", deviceSize: "deviceSize", contextMenuItems: "contextMenuItems", columns: "columns", allowInlineEdit: "allowInlineEdit", secondaryColumns: "secondaryColumns", popin: "popin", customFieldInfo: "customFieldInfo", hasSummary: "hasSummary", layoutInfo: "layoutInfo", hasSelected: "hasSelected", hideIcon: "hideIcon", columnsCount: "columnsCount", hideOpenIcon: "hideOpenIcon", openOnClick: "openOnClick", typeDefId: "typeDefId", reportId: "reportId", listEditViewId: "listEditViewId", typeViewId: "typeViewId", extraRelation: "extraRelation", relationList: "relationList", disableResponsive: "disableResponsive", rowItem: "rowItem", mobileOrTablet: "mobileOrTablet", inDialog: "inDialog", isMultiSelect: "isMultiSelect", fullscreen: "fullscreen", hideSearchpanel: "hideSearchpanel", newInlineEditMo: "newInlineEditMo", selectedMo: "selectedMo", inlineEditMode: "inlineEditMode", onlyInlineEdit: "onlyInlineEdit", rowHoverable: "rowHoverable", groupSummary: "groupSummary", tlbButtons: "tlbButtons", formSetting: "formSetting", disableOverflowContextMenu: "disableOverflowContextMenu", rowActivable: "rowActivable", contentDensity: "contentDensity", rtl: "rtl", showOkCancelButtons: "showOkCancelButtons", title: "title", hasInlineDeleteButton: "hasInlineDeleteButton", hasInlineEditButton: "hasInlineEditButton", contextSetting: "contextSetting", gridFreeColumnSizing: "gridFreeColumnSizing", navigationArrow: "navigationArrow", cartableTemplates: "cartableTemplates", cartableChildsMo: "cartableChildsMo", pagingSetting: "pagingSetting", containerWidth: "containerWidth" }, outputs: { columnSummary: "columnSummary", escapeKey: "escapeKey", resetWorkflowState: "resetWorkflowState", deselectAll: "deselectAll", editFormPanelCancel: "editFormPanelCancel", editFormPanelSave: "editFormPanelSave", selectNextInlineRecord: "selectNextInlineRecord", editFormPanelValueChange: "editFormPanelValueChange", ulvCommandClick: "ulvCommandClick", sortAscending: "sortAscending", workflowShareButtons: "workflowShareButtons", sortDescending: "sortDescending", filter: "filter", executeToolbarButton: "executeToolbarButton", resetGridSettings: "resetGridSettings", sortSettingsChange: "sortSettingsChange", rowCheck: "rowCheck", rowClick: "rowClick", cartableFormClosed: "cartableFormClosed", createNewMo: "createNewMo", updateMo: "updateMo", expandClick: "expandClick", trackBySelectedFn: "trackBySelectedFn", allCheckbox: "allCheckbox", mandatory: "mandatory", columnResized: "columnResized", hasDetailsInRow: "hasDetailsInRow" }, host: { properties: { "class.report-view": "this._reportView", "style.visibility": "this._visibility" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10221
10240
|
}
|
|
10222
10241
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ReportViewBaseComponent, decorators: [{
|
|
10223
10242
|
type: Component,
|
|
@@ -10230,6 +10249,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
10230
10249
|
}], propDecorators: { _reportView: [{
|
|
10231
10250
|
type: HostBinding,
|
|
10232
10251
|
args: ['class.report-view']
|
|
10252
|
+
}], _visibility: [{
|
|
10253
|
+
type: HostBinding,
|
|
10254
|
+
args: ['style.visibility']
|
|
10233
10255
|
}], contextView: [{
|
|
10234
10256
|
type: Input
|
|
10235
10257
|
}], viewSetting: [{
|
|
@@ -11486,15 +11508,17 @@ class PortalPageComponent extends PageWithFormHandlerBaseComponent {
|
|
|
11486
11508
|
this._routingService = inject(RoutingService);
|
|
11487
11509
|
}
|
|
11488
11510
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PortalPageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11489
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: PortalPageComponent, isStandalone: false, selector: "bnrc-portal-page", providers: [RoutingService], usesInheritance: true, ngImport: i0, template: `<ng-container #containerRef></ng-container> <router-outlet></router-outlet
|
|
11511
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: PortalPageComponent, isStandalone: false, selector: "bnrc-portal-page", providers: [RoutingService, ContainerService], usesInheritance: true, ngImport: i0, template: `<ng-container #containerRef></ng-container> <router-outlet></router-outlet
|
|
11512
|
+
><router-outlet name="dialog"></router-outlet>`, isInline: true, dependencies: [{ kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11490
11513
|
}
|
|
11491
11514
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PortalPageComponent, decorators: [{
|
|
11492
11515
|
type: Component,
|
|
11493
11516
|
args: [{
|
|
11494
11517
|
selector: 'bnrc-portal-page',
|
|
11495
|
-
template: `<ng-container #containerRef></ng-container> <router-outlet></router-outlet
|
|
11518
|
+
template: `<ng-container #containerRef></ng-container> <router-outlet></router-outlet
|
|
11519
|
+
><router-outlet name="dialog"></router-outlet>`,
|
|
11496
11520
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11497
|
-
providers: [RoutingService],
|
|
11521
|
+
providers: [RoutingService, ContainerService],
|
|
11498
11522
|
standalone: false
|
|
11499
11523
|
}]
|
|
11500
11524
|
}] });
|
|
@@ -16271,13 +16295,42 @@ const commonRoutes = [
|
|
|
16271
16295
|
},
|
|
16272
16296
|
children: [formRoutes(true)]
|
|
16273
16297
|
},
|
|
16298
|
+
{
|
|
16299
|
+
path: 'appgroupsidebar',
|
|
16300
|
+
component: EmptyPageComponent,
|
|
16301
|
+
canActivate: [AuthGuard],
|
|
16302
|
+
data: {
|
|
16303
|
+
pageData: {
|
|
16304
|
+
Module: 'BarsaNovinRayCore',
|
|
16305
|
+
HasAuthorize: true,
|
|
16306
|
+
Route: '/appgroupsidebar/:id'
|
|
16307
|
+
}
|
|
16308
|
+
},
|
|
16309
|
+
resolve: { pageData: PortalPageResolver, breadcrumb: TileGroupBreadcrumResolver },
|
|
16310
|
+
children: [
|
|
16311
|
+
formRoutes(),
|
|
16312
|
+
{
|
|
16313
|
+
path: 'report/:id',
|
|
16314
|
+
component: EmptyPageComponent,
|
|
16315
|
+
resolve: { pageData: PortalReportPageResolver },
|
|
16316
|
+
data: {
|
|
16317
|
+
pageData: {
|
|
16318
|
+
HasAuthorize: false,
|
|
16319
|
+
Route: '/report',
|
|
16320
|
+
Module: 'BarsaReportPage'
|
|
16321
|
+
}
|
|
16322
|
+
},
|
|
16323
|
+
children: [formRoutes(true)]
|
|
16324
|
+
}
|
|
16325
|
+
]
|
|
16326
|
+
},
|
|
16274
16327
|
{
|
|
16275
16328
|
path: 'appgroup',
|
|
16276
16329
|
component: PortalPageComponent,
|
|
16277
16330
|
canActivate: [AuthGuard],
|
|
16278
16331
|
data: {
|
|
16279
16332
|
pageData: {
|
|
16280
|
-
Module: '
|
|
16333
|
+
Module: 'BarsaNovinRayCore',
|
|
16281
16334
|
HasAuthorize: true,
|
|
16282
16335
|
Route: '/appgroup'
|
|
16283
16336
|
}
|