barsa-novin-ray-core 2.3.24 → 2.3.25
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.
- package/fesm2022/barsa-novin-ray-core.mjs +379 -84
- package/fesm2022/barsa-novin-ray-core.mjs.map +1 -1
- package/index.d.ts +87 -14
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, inject, ElementRef, Input, ChangeDetectionStrategy, Component, Pipe, ComponentFactoryResolver, Injector, ApplicationRef, Compiler, DOCUMENT, NgModuleFactory, InjectionToken, NgZone, EventEmitter, ChangeDetectorRef, Renderer2, HostBinding, Output, HostListener, ViewContainerRef, ViewChild, signal, Directive, TemplateRef, input, NgModule, NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA, provideAppInitializer, ErrorHandler } from '@angular/core';
|
|
3
|
-
import { Subject, from, BehaviorSubject, of, combineLatest, fromEvent, forkJoin, throwError, merge, interval, filter as filter$1, tap as tap$1, concatMap as concatMap$1, catchError as catchError$1, finalize as finalize$1, Observable, takeUntil as takeUntil$1, exhaustMap as exhaustMap$1, timer, debounceTime as debounceTime$1, mergeWith } from 'rxjs';
|
|
3
|
+
import { Subject, from, BehaviorSubject, of, combineLatest, fromEvent, forkJoin, throwError, merge, interval, filter as filter$1, tap as tap$1, concatMap as concatMap$1, catchError as catchError$1, finalize as finalize$1, map as map$1, Observable, takeUntil as takeUntil$1, exhaustMap as exhaustMap$1, timer, debounceTime as debounceTime$1, mergeWith } from 'rxjs';
|
|
4
4
|
import * as i1 from '@angular/router';
|
|
5
5
|
import { Router, NavigationEnd, ActivatedRoute, NavigationStart, RouterEvent, RouterModule } from '@angular/router';
|
|
6
6
|
import { DomSanitizer, Title } from '@angular/platform-browser';
|
|
@@ -662,6 +662,7 @@ class DateShamsiService extends DateService {
|
|
|
662
662
|
return moment$2(date);
|
|
663
663
|
}
|
|
664
664
|
stringToMoment(str, format) {
|
|
665
|
+
format = this.convertFormatToJalali(format);
|
|
665
666
|
return moment$2(str, format, true);
|
|
666
667
|
}
|
|
667
668
|
getStrMonthName(date) {
|
|
@@ -674,6 +675,10 @@ class DateShamsiService extends DateService {
|
|
|
674
675
|
}
|
|
675
676
|
format(value, format) {
|
|
676
677
|
const m = this.getMoment(value);
|
|
678
|
+
format = this.convertFormatToJalali(format);
|
|
679
|
+
return m.format(format);
|
|
680
|
+
}
|
|
681
|
+
convertFormatToJalali(format) {
|
|
677
682
|
format = format.indexOf('YYYY') > -1 ? format.replace('YYYY', 'j1111') : format;
|
|
678
683
|
format = format.indexOf('YY') > -1 ? format.replace('YY', 'j11') : format;
|
|
679
684
|
format = format.indexOf('MMMM') > -1 ? format.replace('MMMM', 'j2222') : format;
|
|
@@ -682,7 +687,7 @@ class DateShamsiService extends DateService {
|
|
|
682
687
|
format = format.replace(/1/g, 'Y');
|
|
683
688
|
format = format.replace(/2/g, 'M');
|
|
684
689
|
format = format.replace(/3/g, 'D');
|
|
685
|
-
return
|
|
690
|
+
return format;
|
|
686
691
|
}
|
|
687
692
|
getShortDateString(date) {
|
|
688
693
|
const m = moment$2(date);
|
|
@@ -1416,7 +1421,7 @@ function _calcWidthOfTh(column, i, propName, thList) {
|
|
|
1416
1421
|
if (column.$IsImageOricon && i < thList.length - 1) {
|
|
1417
1422
|
const fieldTypeId = +column.FieldTypeId;
|
|
1418
1423
|
if (fieldTypeId === 6 || fieldTypeId === 5 || fieldTypeId === 42) {
|
|
1419
|
-
return '
|
|
1424
|
+
return '32px';
|
|
1420
1425
|
}
|
|
1421
1426
|
debugger;
|
|
1422
1427
|
}
|
|
@@ -2378,7 +2383,8 @@ function flattenTree(root, prop) {
|
|
|
2378
2383
|
return result;
|
|
2379
2384
|
}
|
|
2380
2385
|
function IsDarkMode() {
|
|
2381
|
-
|
|
2386
|
+
const x = document.documentElement.getAttribute('data-mode')?.includes('dark') || false;
|
|
2387
|
+
return x || Array.from(document.body.classList).some((className) => className.toLowerCase().includes('dark'));
|
|
2382
2388
|
}
|
|
2383
2389
|
function nullOrUndefinedString(param) {
|
|
2384
2390
|
return `${param} can not be null or undefined.`;
|
|
@@ -2991,37 +2997,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
2991
2997
|
}]
|
|
2992
2998
|
}], ctorParameters: () => [] });
|
|
2993
2999
|
|
|
2994
|
-
class DateTimeToCaptionPipe {
|
|
2995
|
-
transform(value, format, culture, showDate = true, showTime = true) {
|
|
2996
|
-
if (!value) {
|
|
2997
|
-
return '';
|
|
2998
|
-
}
|
|
2999
|
-
this._dateService = this._dateService ?? getDateService(new LogService(), culture);
|
|
3000
|
-
let formatPattern = format;
|
|
3001
|
-
if (!showDate) {
|
|
3002
|
-
formatPattern = format.split(' ')[1];
|
|
3003
|
-
}
|
|
3004
|
-
else if (!showTime) {
|
|
3005
|
-
formatPattern = format.split(' ')[0];
|
|
3006
|
-
}
|
|
3007
|
-
if (culture === 'fa-IR') {
|
|
3008
|
-
formatPattern = formatPattern.replace('YYYY', 'jYYYY');
|
|
3009
|
-
formatPattern = formatPattern.replace('MM', 'jMM');
|
|
3010
|
-
formatPattern = formatPattern.replace('DD', 'jDD');
|
|
3011
|
-
}
|
|
3012
|
-
return this._dateService.getMoment(value).format(formatPattern);
|
|
3013
|
-
}
|
|
3014
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DateTimeToCaptionPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3015
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: DateTimeToCaptionPipe, isStandalone: false, name: "dateTimeToCaption" }); }
|
|
3016
|
-
}
|
|
3017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DateTimeToCaptionPipe, decorators: [{
|
|
3018
|
-
type: Pipe,
|
|
3019
|
-
args: [{
|
|
3020
|
-
name: 'dateTimeToCaption',
|
|
3021
|
-
standalone: false
|
|
3022
|
-
}]
|
|
3023
|
-
}] });
|
|
3024
|
-
|
|
3025
3000
|
class FilterToolbarControlPipe {
|
|
3026
3001
|
transform(config) {
|
|
3027
3002
|
return config.items.filter((c) => c.xtype !== 'Ly.LayoutControl' || (c.xtype === 'Ly.LayoutControl' && c.FieldUi)); // filter toolbar button.fieldui is undefined in toolbar layout control.
|
|
@@ -3917,6 +3892,134 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
3917
3892
|
}]
|
|
3918
3893
|
}] });
|
|
3919
3894
|
|
|
3895
|
+
class DynamicDarkColorPipe {
|
|
3896
|
+
transform(styleStr) {
|
|
3897
|
+
const prefersDark = IsDarkMode() || window.matchMedia('(prefers-color-scheme: dark)').matches;
|
|
3898
|
+
if (!prefersDark || !styleStr) {
|
|
3899
|
+
return styleStr;
|
|
3900
|
+
}
|
|
3901
|
+
// پیدا کردن رنگ در استرینگ
|
|
3902
|
+
const regex = /color\s*:\s*([^;!]+)[;!]/i;
|
|
3903
|
+
const match = styleStr.match(regex);
|
|
3904
|
+
if (!match) {
|
|
3905
|
+
return styleStr;
|
|
3906
|
+
}
|
|
3907
|
+
const originalColor = match[1].trim();
|
|
3908
|
+
const rgb = this.parseColor(originalColor);
|
|
3909
|
+
if (!rgb) {
|
|
3910
|
+
return styleStr;
|
|
3911
|
+
}
|
|
3912
|
+
// تنظیم روشنایی برای حالت دارک
|
|
3913
|
+
const hexColor = this.rgbToHex(rgb);
|
|
3914
|
+
const newColor = this.toDarkModeHSL(hexColor);
|
|
3915
|
+
// جایگزینی رنگ در استرینگ
|
|
3916
|
+
const newStyleStr = styleStr.replace(regex, `color: ${newColor};`);
|
|
3917
|
+
return newStyleStr;
|
|
3918
|
+
}
|
|
3919
|
+
toDarkModeHSL(hexColor) {
|
|
3920
|
+
// Convert HEX to HSL
|
|
3921
|
+
const r = parseInt(hexColor.substring(1, 3), 16) / 255;
|
|
3922
|
+
const g = parseInt(hexColor.substring(3, 5), 16) / 255;
|
|
3923
|
+
const b = parseInt(hexColor.substring(5, 7), 16) / 255;
|
|
3924
|
+
const max = Math.max(r, g, b);
|
|
3925
|
+
const min = Math.min(r, g, b);
|
|
3926
|
+
let h, s, l = (max + min) / 2;
|
|
3927
|
+
if (max === min) {
|
|
3928
|
+
h = s = 0; // achromatic
|
|
3929
|
+
}
|
|
3930
|
+
else {
|
|
3931
|
+
const d = max - min;
|
|
3932
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
3933
|
+
switch (max) {
|
|
3934
|
+
case r:
|
|
3935
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
|
3936
|
+
break;
|
|
3937
|
+
case g:
|
|
3938
|
+
h = (b - r) / d + 2;
|
|
3939
|
+
break;
|
|
3940
|
+
case b:
|
|
3941
|
+
h = (r - g) / d + 4;
|
|
3942
|
+
break;
|
|
3943
|
+
}
|
|
3944
|
+
h /= 6;
|
|
3945
|
+
}
|
|
3946
|
+
// Adjust lightness for dark mode (e.g., reduce lightness for darker colors, increase for lighter ones)
|
|
3947
|
+
// This is a simplified example; more complex logic might be needed for optimal results.
|
|
3948
|
+
l = 1 - l; // Invert lightness
|
|
3949
|
+
l = Math.min(0.8, Math.max(0.2, l)); // Clamp lightness to a reasonable range for dark mode
|
|
3950
|
+
// Convert HSL back to HEX
|
|
3951
|
+
const c = (1 - Math.abs(2 * l - 1)) * s;
|
|
3952
|
+
const x = c * (1 - Math.abs(((h * 6) % 2) - 1));
|
|
3953
|
+
const m = l - c / 2;
|
|
3954
|
+
let r_prime, g_prime, b_prime;
|
|
3955
|
+
if (0 <= h * 6 && h * 6 < 1) {
|
|
3956
|
+
r_prime = c;
|
|
3957
|
+
g_prime = x;
|
|
3958
|
+
b_prime = 0;
|
|
3959
|
+
}
|
|
3960
|
+
else if (1 <= h * 6 && h * 6 < 2) {
|
|
3961
|
+
r_prime = x;
|
|
3962
|
+
g_prime = c;
|
|
3963
|
+
b_prime = 0;
|
|
3964
|
+
}
|
|
3965
|
+
else if (2 <= h * 6 && h * 6 < 3) {
|
|
3966
|
+
r_prime = 0;
|
|
3967
|
+
g_prime = c;
|
|
3968
|
+
b_prime = x;
|
|
3969
|
+
}
|
|
3970
|
+
else if (3 <= h * 6 && h * 6 < 4) {
|
|
3971
|
+
r_prime = 0;
|
|
3972
|
+
g_prime = x;
|
|
3973
|
+
b_prime = c;
|
|
3974
|
+
}
|
|
3975
|
+
else if (4 <= h * 6 && h * 6 < 5) {
|
|
3976
|
+
r_prime = x;
|
|
3977
|
+
g_prime = 0;
|
|
3978
|
+
b_prime = c;
|
|
3979
|
+
}
|
|
3980
|
+
else if (5 <= h * 6 && h * 6 < 6) {
|
|
3981
|
+
r_prime = c;
|
|
3982
|
+
g_prime = 0;
|
|
3983
|
+
b_prime = x;
|
|
3984
|
+
}
|
|
3985
|
+
const finalR = Math.round((r_prime + m) * 255);
|
|
3986
|
+
const finalG = Math.round((g_prime + m) * 255);
|
|
3987
|
+
const finalB = Math.round((b_prime + m) * 255);
|
|
3988
|
+
return '#' + ((1 << 24) + (finalR << 16) + (finalG << 8) + finalB).toString(16).slice(1); // eslint-disable-line no-bitwise
|
|
3989
|
+
}
|
|
3990
|
+
rgbToHex(rgb) {
|
|
3991
|
+
if (!rgb || rgb.length < 3) {
|
|
3992
|
+
return null;
|
|
3993
|
+
}
|
|
3994
|
+
const r = rgb[0];
|
|
3995
|
+
const g = rgb[1];
|
|
3996
|
+
const b = rgb[2];
|
|
3997
|
+
const toHex = (c) => {
|
|
3998
|
+
const hex = c.toString(16);
|
|
3999
|
+
return hex.length === 1 ? '0' + hex : hex;
|
|
4000
|
+
};
|
|
4001
|
+
return `#${toHex(r)}${toHex(g)}${toHex(b)}`;
|
|
4002
|
+
}
|
|
4003
|
+
parseColor(color) {
|
|
4004
|
+
const temp = document.createElement('div');
|
|
4005
|
+
temp.style.color = color;
|
|
4006
|
+
document.body.appendChild(temp);
|
|
4007
|
+
const computed = getComputedStyle(temp).color;
|
|
4008
|
+
document.body.removeChild(temp);
|
|
4009
|
+
const match = computed.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
|
|
4010
|
+
return match ? [parseInt(match[1], 10), parseInt(match[2], 10), parseInt(match[3], 10)] : null;
|
|
4011
|
+
}
|
|
4012
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DynamicDarkColorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4013
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: DynamicDarkColorPipe, isStandalone: false, name: "dynamicDarkColor" }); }
|
|
4014
|
+
}
|
|
4015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DynamicDarkColorPipe, decorators: [{
|
|
4016
|
+
type: Pipe,
|
|
4017
|
+
args: [{
|
|
4018
|
+
name: 'dynamicDarkColor',
|
|
4019
|
+
standalone: false
|
|
4020
|
+
}]
|
|
4021
|
+
}] });
|
|
4022
|
+
|
|
3920
4023
|
class ApiService {
|
|
3921
4024
|
constructor() {
|
|
3922
4025
|
this.portalLoginUrl = `/api/auth/portal/login`;
|
|
@@ -4251,6 +4354,7 @@ class FormPanelService extends BaseComponent {
|
|
|
4251
4354
|
this._headerTitleSource = new BehaviorSubject('');
|
|
4252
4355
|
this._maskSource = new BehaviorSubject(false);
|
|
4253
4356
|
this._headerRemoveContentPaddingSource = new BehaviorSubject(false);
|
|
4357
|
+
this._hideBreadCrumbSource = new BehaviorSubject(false);
|
|
4254
4358
|
this._headerDescriptionSource = new BehaviorSubject('');
|
|
4255
4359
|
this._hideFooter$ = new BehaviorSubject(false);
|
|
4256
4360
|
this._canSend$ = new BehaviorSubject(false);
|
|
@@ -4293,7 +4397,7 @@ class FormPanelService extends BaseComponent {
|
|
|
4293
4397
|
this.formWidth$ = this._formWidthSource.asObservable().pipe(takeUntil(this._onDestroy$));
|
|
4294
4398
|
this.toolbarVisible$ = this._toolbarVisibleSource.asObservable().pipe(takeUntil(this._onDestroy$));
|
|
4295
4399
|
this.title$ = combineLatest([this._headerTitleSource.asObservable(), this._titleSource.asObservable()]).pipe(map(([headerTitle, title]) => (headerTitle ? headerTitle : title)), takeUntil(this._onDestroy$));
|
|
4296
|
-
this.headerLayout$ = this._headerLayoutSource.asObservable().pipe(filter((headerLayout) => !!headerLayout), tap((headerLayout) => this._headerTitleSource.next(getHeaderValue(headerLayout?.Title))), tap((headerLayout) => this._hideClose$.next(headerLayout?.HideClose)), tap((headerLayout) => this._hideTitle$.next(headerLayout?.HideTitle)), tap((headerLayout) => this._hidePin$.next(headerLayout?.HidePin)), tap((headerLayout) => this._headerDescriptionSource.next(getHeaderValue(headerLayout?.Description))), tap((headerLayout) => this._headerRemoveContentPaddingSource.next(getHeaderValue(headerLayout?.RemoveContentPadding))), takeUntil(this._onDestroy$));
|
|
4400
|
+
this.headerLayout$ = this._headerLayoutSource.asObservable().pipe(filter((headerLayout) => !!headerLayout), tap((headerLayout) => this._headerTitleSource.next(getHeaderValue(headerLayout?.Title))), tap((headerLayout) => this._hideClose$.next(headerLayout?.HideClose)), tap((headerLayout) => this._hideTitle$.next(headerLayout?.HideTitle)), tap((headerLayout) => this._hidePin$.next(headerLayout?.HidePin)), tap((headerLayout) => this._headerDescriptionSource.next(getHeaderValue(headerLayout?.Description))), tap((headerLayout) => this._headerRemoveContentPaddingSource.next(getHeaderValue(headerLayout?.RemoveContentPadding))), tap((headerLayout) => this._hideBreadCrumbSource.next(getHeaderValue(headerLayout?.HideBreadCrumb))), takeUntil(this._onDestroy$));
|
|
4297
4401
|
this.headerDescription$ = this._headerDescriptionSource.asObservable().pipe(takeUntil(this._onDestroy$));
|
|
4298
4402
|
this.headerRemoveContentPadding$ = this._headerRemoveContentPaddingSource
|
|
4299
4403
|
.asObservable()
|
|
@@ -4309,6 +4413,9 @@ class FormPanelService extends BaseComponent {
|
|
|
4309
4413
|
get sidebarState$() {
|
|
4310
4414
|
return this._sidebarState$.asObservable();
|
|
4311
4415
|
}
|
|
4416
|
+
get hideBreadCrumb$() {
|
|
4417
|
+
return this._hideBreadCrumbSource.asObservable();
|
|
4418
|
+
}
|
|
4312
4419
|
get hidePin$() {
|
|
4313
4420
|
return this._hidePin$.asObservable();
|
|
4314
4421
|
}
|
|
@@ -7800,6 +7907,52 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
7800
7907
|
type: Injectable
|
|
7801
7908
|
}] });
|
|
7802
7909
|
|
|
7910
|
+
class InMemoryStorageService {
|
|
7911
|
+
constructor() {
|
|
7912
|
+
this._dictionary = new Map();
|
|
7913
|
+
}
|
|
7914
|
+
setItem(key, value) {
|
|
7915
|
+
this._dictionary.set(key, value);
|
|
7916
|
+
}
|
|
7917
|
+
getItem(key) {
|
|
7918
|
+
return this._dictionary.get(key);
|
|
7919
|
+
}
|
|
7920
|
+
remove(key) {
|
|
7921
|
+
this._dictionary.delete(key);
|
|
7922
|
+
}
|
|
7923
|
+
clear() {
|
|
7924
|
+
this._dictionary.clear();
|
|
7925
|
+
}
|
|
7926
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: InMemoryStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7927
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: InMemoryStorageService, providedIn: 'root' }); }
|
|
7928
|
+
}
|
|
7929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: InMemoryStorageService, decorators: [{
|
|
7930
|
+
type: Injectable,
|
|
7931
|
+
args: [{ providedIn: 'root' }]
|
|
7932
|
+
}] });
|
|
7933
|
+
|
|
7934
|
+
class ShellbarHeightService {
|
|
7935
|
+
constructor() {
|
|
7936
|
+
this._dict = new BehaviorSubject(['']);
|
|
7937
|
+
this.shellbarHeight$ = this._dict
|
|
7938
|
+
.asObservable()
|
|
7939
|
+
.pipe(map$1((x) => !x.length ? '' : 'calc(' + x.reduce((prev, curr) => (prev ? `${prev} + ${curr}` : `${curr}`)) + ')'));
|
|
7940
|
+
}
|
|
7941
|
+
add(variableValue) {
|
|
7942
|
+
const x = this._dict.getValue();
|
|
7943
|
+
if (!x.includes(variableValue)) {
|
|
7944
|
+
x.push(variableValue);
|
|
7945
|
+
}
|
|
7946
|
+
this._dict.next([...x]);
|
|
7947
|
+
}
|
|
7948
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ShellbarHeightService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7949
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ShellbarHeightService, providedIn: 'root' }); }
|
|
7950
|
+
}
|
|
7951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ShellbarHeightService, decorators: [{
|
|
7952
|
+
type: Injectable,
|
|
7953
|
+
args: [{ providedIn: 'root' }]
|
|
7954
|
+
}], ctorParameters: () => [] });
|
|
7955
|
+
|
|
7803
7956
|
class FieldBaseComponent extends BaseComponent {
|
|
7804
7957
|
get customFieldInfo() {
|
|
7805
7958
|
return this.context.Setting.CustomFieldInfo;
|
|
@@ -8064,6 +8217,8 @@ class FormBaseComponent extends BaseComponent {
|
|
|
8064
8217
|
super();
|
|
8065
8218
|
this.id = `form_${getUniqueId(4)}`;
|
|
8066
8219
|
this.fullscreen = false;
|
|
8220
|
+
this._typeDefName = '';
|
|
8221
|
+
this._viewName = '';
|
|
8067
8222
|
this.formClose = new EventEmitter();
|
|
8068
8223
|
this._breadcrumbService = inject(BreadcrumbService);
|
|
8069
8224
|
this._portalService = inject(PortalService);
|
|
@@ -8076,6 +8231,9 @@ class FormBaseComponent extends BaseComponent {
|
|
|
8076
8231
|
this._formPanelService.isSearchPanel$.subscribe((isSearchPanel) => {
|
|
8077
8232
|
this.isSearchPanel = isSearchPanel;
|
|
8078
8233
|
});
|
|
8234
|
+
this.breadCrumbs$ = this._breadcrumbService.breadcrumbs$;
|
|
8235
|
+
this.canSend$ = this._formPanelService.canSend$;
|
|
8236
|
+
this.hideBreadCrumb$ = this._formPanelService.hideBreadCrumb$;
|
|
8079
8237
|
this.hideClose$ = this._formPanelService.hideClose$;
|
|
8080
8238
|
this.hideTitle$ = this._formPanelService.hideTitle$;
|
|
8081
8239
|
this.hidePin$ = this._formPanelService.hidePin$;
|
|
@@ -8098,11 +8256,16 @@ class FormBaseComponent extends BaseComponent {
|
|
|
8098
8256
|
this.mask$ = this._formPanelService.mask$;
|
|
8099
8257
|
this.headerDescription$ = this._formPanelService.headerDescription$;
|
|
8100
8258
|
this.headerRemoveContentPadding$ = this._formPanelService.headerRemoveContentPadding$;
|
|
8259
|
+
this.standalone$ = this._portalService.standalone$;
|
|
8260
|
+
this.landscape$ = this._portalService.landscape$;
|
|
8261
|
+
this.deviceSize$ = this._portalService.deviceSize$;
|
|
8262
|
+
this.dirValue$ = this._portalService.dirValue$;
|
|
8263
|
+
this.rtl$ = this._portalService.rtl$;
|
|
8101
8264
|
this._formPanelService.context$.pipe(takeUntil(this._onDestroy$)).subscribe();
|
|
8102
8265
|
this._formPanelService.view$.pipe(takeUntil(this._onDestroy$)).subscribe();
|
|
8103
|
-
this.landscape$ = this._portalService.landscape$;
|
|
8104
|
-
this.standalone$ = this._portalService.standalone$;
|
|
8105
8266
|
this._portalService.standalone$.pipe(takeUntil(this._onDestroy$)).subscribe((c) => (this._standalone = c));
|
|
8267
|
+
this._formPanelService.mo$.subscribe((c) => (this._typeDefName = c?.$TypeDefName ?? ''));
|
|
8268
|
+
this._formPanelService.view$.subscribe((c) => (this._viewName = c?.TypeViewName ?? ''));
|
|
8106
8269
|
}
|
|
8107
8270
|
get forceClose$() {
|
|
8108
8271
|
return this._formPanelService.forceClose$;
|
|
@@ -8120,7 +8283,9 @@ class FormBaseComponent extends BaseComponent {
|
|
|
8120
8283
|
if (this.layout94.items[0].xtype !== 'Ly.LayoutTabPanel') {
|
|
8121
8284
|
return [];
|
|
8122
8285
|
}
|
|
8123
|
-
const
|
|
8286
|
+
const x = this.layout94.items[0];
|
|
8287
|
+
this.modernTabContainerComponent = x.CustomUi;
|
|
8288
|
+
const tabs = x.items;
|
|
8124
8289
|
return tabs.filter((c) => c.Visible !== false);
|
|
8125
8290
|
}));
|
|
8126
8291
|
setTimeout(() => {
|
|
@@ -8186,7 +8351,7 @@ class FormBaseComponent extends BaseComponent {
|
|
|
8186
8351
|
this.parameters = BarsaApi.Common.Util.TryGetValue(this.context, 'Setting.View.CustomUi.Parameters', null);
|
|
8187
8352
|
}
|
|
8188
8353
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8189
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: FormBaseComponent, isStandalone: false, selector: "bnrc-form-base", inputs: { context: "context" }, outputs: { formClose: "formClose" }, host: { properties: { "attr.id": "this.id", "class.fullscreen": "this.fullscreen" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8354
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: FormBaseComponent, isStandalone: false, selector: "bnrc-form-base", inputs: { context: "context" }, outputs: { formClose: "formClose" }, host: { properties: { "attr.id": "this.id", "class.fullscreen": "this.fullscreen", "attr.typeDefName": "this._typeDefName", "attr.viewName": "this._viewName" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8190
8355
|
}
|
|
8191
8356
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FormBaseComponent, decorators: [{
|
|
8192
8357
|
type: Component,
|
|
@@ -8202,6 +8367,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
8202
8367
|
}], fullscreen: [{
|
|
8203
8368
|
type: HostBinding,
|
|
8204
8369
|
args: ['class.fullscreen']
|
|
8370
|
+
}], _typeDefName: [{
|
|
8371
|
+
type: HostBinding,
|
|
8372
|
+
args: ['attr.typeDefName']
|
|
8373
|
+
}], _viewName: [{
|
|
8374
|
+
type: HostBinding,
|
|
8375
|
+
args: ['attr.viewName']
|
|
8205
8376
|
}], context: [{
|
|
8206
8377
|
type: Input
|
|
8207
8378
|
}], formClose: [{
|
|
@@ -10697,9 +10868,9 @@ class EmptyPageComponent extends PageWithFormHandlerBaseComponent {
|
|
|
10697
10868
|
this.ismodal = true;
|
|
10698
10869
|
}
|
|
10699
10870
|
super.ngOnInit();
|
|
10700
|
-
if (!BarsaApi.LoginFormData.IsServiceDesk && !isModal) {
|
|
10701
|
-
|
|
10702
|
-
}
|
|
10871
|
+
// if (!BarsaApi.LoginFormData.IsServiceDesk && !isModal) {
|
|
10872
|
+
// this._position = 'initial';
|
|
10873
|
+
// }
|
|
10703
10874
|
if (this._activatedRoute.snapshot.data?.pageData?.Component?.Settings?.IsRelativePage && !isModal) {
|
|
10704
10875
|
this._position = 'initial';
|
|
10705
10876
|
}
|
|
@@ -10872,6 +11043,7 @@ class BaseDynamicComponent extends BaseComponent {
|
|
|
10872
11043
|
super(...arguments);
|
|
10873
11044
|
this.events = new EventEmitter();
|
|
10874
11045
|
this._vcr = inject(ViewContainerRef);
|
|
11046
|
+
this._cdr = inject(ChangeDetectorRef);
|
|
10875
11047
|
this._portalService = inject(PortalService);
|
|
10876
11048
|
this._injector = inject(Injector);
|
|
10877
11049
|
}
|
|
@@ -10905,13 +11077,14 @@ class BaseDynamicComponent extends BaseComponent {
|
|
|
10905
11077
|
.getComponent(Module, ModuleFileName, Name, Selector, this._injector)
|
|
10906
11078
|
.pipe(takeUntil$1(this._onDestroy$))
|
|
10907
11079
|
.subscribe((componentRef) => {
|
|
10908
|
-
this._container.insert(componentRef.hostView);
|
|
10909
11080
|
this._component = componentRef;
|
|
10910
11081
|
if (this.component.Parameters) {
|
|
10911
11082
|
this._component.instance.parameters = this.component.Parameters;
|
|
11083
|
+
this._component.instance.settings = this.component.Parameters;
|
|
10912
11084
|
}
|
|
10913
11085
|
else if (this.component.Settings) {
|
|
10914
11086
|
this._component.instance.parameters = this.component.Settings;
|
|
11087
|
+
this._component.instance.settings = this.component.Settings;
|
|
10915
11088
|
}
|
|
10916
11089
|
if (this.value) {
|
|
10917
11090
|
this._component.instance.value = this.value;
|
|
@@ -10923,13 +11096,23 @@ class BaseDynamicComponent extends BaseComponent {
|
|
|
10923
11096
|
.pipe(takeUntil$1(this._onDestroy$), tap$1((c) => this.events.emit(c)))
|
|
10924
11097
|
.subscribe();
|
|
10925
11098
|
}
|
|
11099
|
+
this._container.insert(componentRef.hostView);
|
|
11100
|
+
this._cdr.detectChanges();
|
|
10926
11101
|
});
|
|
10927
11102
|
// this.setComponentInputs();
|
|
10928
11103
|
}
|
|
10929
11104
|
setComponentInputs() {
|
|
10930
11105
|
const inputProperties = Object.keys(this).filter((c) => !c.startsWith('_') && c !== 'events');
|
|
10931
|
-
inputProperties.forEach((
|
|
10932
|
-
this._component.instance[
|
|
11106
|
+
inputProperties.forEach((key) => {
|
|
11107
|
+
const property = this._component.instance[key];
|
|
11108
|
+
if (property instanceof EventEmitter) {
|
|
11109
|
+
property.pipe(takeUntil$1(this._onDestroy$)).subscribe((e) => {
|
|
11110
|
+
this[key].emit(e);
|
|
11111
|
+
});
|
|
11112
|
+
}
|
|
11113
|
+
else {
|
|
11114
|
+
this._component.instance[key] = this[key];
|
|
11115
|
+
}
|
|
10933
11116
|
});
|
|
10934
11117
|
}
|
|
10935
11118
|
_destroyComponentInstance() {
|
|
@@ -12030,6 +12213,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
12030
12213
|
type: Input
|
|
12031
12214
|
}] } });
|
|
12032
12215
|
|
|
12216
|
+
class DynamicTileGroupComponent extends BaseDynamicComponent {
|
|
12217
|
+
constructor() {
|
|
12218
|
+
super(...arguments);
|
|
12219
|
+
this.tilesDropped = new EventEmitter();
|
|
12220
|
+
this.hideAppTileClick = new EventEmitter();
|
|
12221
|
+
this.renameAppTileClick = new EventEmitter();
|
|
12222
|
+
this.toggleGroup = new EventEmitter();
|
|
12223
|
+
this.resetGroup = new EventEmitter();
|
|
12224
|
+
this.deleteGroup = new EventEmitter();
|
|
12225
|
+
}
|
|
12226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DynamicTileGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
12227
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: DynamicTileGroupComponent, isStandalone: false, selector: "bnrc-dynamic-tile-group,[dynamictilegroup]", inputs: { appTileGroup: "appTileGroup", tabRef: "tabRef", stackContent: "stackContent", cssStyles: "cssStyles", edit: "edit", rtl: "rtl", isAppTileSubGroup: "isAppTileSubGroup", deviceSize: "deviceSize", isLast: "isLast" }, outputs: { tilesDropped: "tilesDropped", hideAppTileClick: "hideAppTileClick", renameAppTileClick: "renameAppTileClick", toggleGroup: "toggleGroup", resetGroup: "resetGroup", deleteGroup: "deleteGroup" }, usesInheritance: true, ngImport: i0, template: `<ng-container #componentContainer></ng-container>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12228
|
+
}
|
|
12229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DynamicTileGroupComponent, decorators: [{
|
|
12230
|
+
type: Component,
|
|
12231
|
+
args: [{
|
|
12232
|
+
selector: 'bnrc-dynamic-tile-group,[dynamictilegroup]',
|
|
12233
|
+
template: `<ng-container #componentContainer></ng-container>`,
|
|
12234
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12235
|
+
standalone: false
|
|
12236
|
+
}]
|
|
12237
|
+
}], propDecorators: { appTileGroup: [{
|
|
12238
|
+
type: Input
|
|
12239
|
+
}], tabRef: [{
|
|
12240
|
+
type: Input
|
|
12241
|
+
}], stackContent: [{
|
|
12242
|
+
type: Input
|
|
12243
|
+
}], cssStyles: [{
|
|
12244
|
+
type: Input
|
|
12245
|
+
}], edit: [{
|
|
12246
|
+
type: Input
|
|
12247
|
+
}], rtl: [{
|
|
12248
|
+
type: Input
|
|
12249
|
+
}], isAppTileSubGroup: [{
|
|
12250
|
+
type: Input
|
|
12251
|
+
}], deviceSize: [{
|
|
12252
|
+
type: Input
|
|
12253
|
+
}], isLast: [{
|
|
12254
|
+
type: Input
|
|
12255
|
+
}], tilesDropped: [{
|
|
12256
|
+
type: Output
|
|
12257
|
+
}], hideAppTileClick: [{
|
|
12258
|
+
type: Output
|
|
12259
|
+
}], renameAppTileClick: [{
|
|
12260
|
+
type: Output
|
|
12261
|
+
}], toggleGroup: [{
|
|
12262
|
+
type: Output
|
|
12263
|
+
}], resetGroup: [{
|
|
12264
|
+
type: Output
|
|
12265
|
+
}], deleteGroup: [{
|
|
12266
|
+
type: Output
|
|
12267
|
+
}] } });
|
|
12268
|
+
|
|
12033
12269
|
class UnlimitSessionComponent extends BaseComponent {
|
|
12034
12270
|
constructor() {
|
|
12035
12271
|
super(...arguments);
|
|
@@ -14059,6 +14295,10 @@ class DynamicRootVariableDirective extends BaseDirective {
|
|
|
14059
14295
|
super.ngOnDestroy();
|
|
14060
14296
|
this._removeDynamicFormStyles();
|
|
14061
14297
|
}
|
|
14298
|
+
refresh() {
|
|
14299
|
+
this._removeDynamicFormStyles();
|
|
14300
|
+
this._addDynamicFormStyles(this.cssVariableName, this.cssVariableValue);
|
|
14301
|
+
}
|
|
14062
14302
|
_addDynamicFormStyles(cssVariableName, cssVariableValue) {
|
|
14063
14303
|
if (!cssVariableName || this.disable) {
|
|
14064
14304
|
return;
|
|
@@ -14085,12 +14325,13 @@ class DynamicRootVariableDirective extends BaseDirective {
|
|
|
14085
14325
|
head.removeChild(this._style);
|
|
14086
14326
|
}
|
|
14087
14327
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DynamicRootVariableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14088
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: DynamicRootVariableDirective, isStandalone: false, selector: "[cssRootVariable]", inputs: { cssVariableName: "cssVariableName", cssVariableValue: "cssVariableValue", disable: "disable" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
14328
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: DynamicRootVariableDirective, isStandalone: false, selector: "[cssRootVariable]", inputs: { cssVariableName: "cssVariableName", cssVariableValue: "cssVariableValue", disable: "disable" }, exportAs: ["cssRootVariable"], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
14089
14329
|
}
|
|
14090
14330
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DynamicRootVariableDirective, decorators: [{
|
|
14091
14331
|
type: Directive,
|
|
14092
14332
|
args: [{
|
|
14093
14333
|
selector: '[cssRootVariable]',
|
|
14334
|
+
exportAs: 'cssRootVariable',
|
|
14094
14335
|
standalone: false
|
|
14095
14336
|
}]
|
|
14096
14337
|
}], propDecorators: { cssVariableName: [{
|
|
@@ -14413,6 +14654,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
14413
14654
|
type: Input
|
|
14414
14655
|
}] } });
|
|
14415
14656
|
|
|
14657
|
+
class ScrollPersistDirective {
|
|
14658
|
+
constructor() {
|
|
14659
|
+
this.el = inject(ElementRef);
|
|
14660
|
+
this._inMemoryService = inject(InMemoryStorageService);
|
|
14661
|
+
}
|
|
14662
|
+
ngAfterViewInit() {
|
|
14663
|
+
this.observer = new IntersectionObserver((entries) => {
|
|
14664
|
+
const entry = entries[0];
|
|
14665
|
+
if (entry.isIntersecting) {
|
|
14666
|
+
const prevScroll = this._inMemoryService.getItem(this.key);
|
|
14667
|
+
if (prevScroll) {
|
|
14668
|
+
this.el.nativeElement.scrollTop = +prevScroll;
|
|
14669
|
+
}
|
|
14670
|
+
this.observer.disconnect();
|
|
14671
|
+
}
|
|
14672
|
+
});
|
|
14673
|
+
this.observer.observe(this.el.nativeElement);
|
|
14674
|
+
}
|
|
14675
|
+
onScroll() {
|
|
14676
|
+
const scrollTop = this.el.nativeElement.scrollTop;
|
|
14677
|
+
this._inMemoryService.setItem(this.key, scrollTop);
|
|
14678
|
+
}
|
|
14679
|
+
ngOnDestroy() {
|
|
14680
|
+
if (this.observer) {
|
|
14681
|
+
this.observer.disconnect();
|
|
14682
|
+
}
|
|
14683
|
+
}
|
|
14684
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ScrollPersistDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14685
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: ScrollPersistDirective, isStandalone: false, selector: "[scrollPersist]", inputs: { key: ["scrollPersist", "key"] }, host: { listeners: { "scroll": "onScroll()" } }, ngImport: i0 }); }
|
|
14686
|
+
}
|
|
14687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ScrollPersistDirective, decorators: [{
|
|
14688
|
+
type: Directive,
|
|
14689
|
+
args: [{
|
|
14690
|
+
selector: '[scrollPersist]',
|
|
14691
|
+
standalone: false
|
|
14692
|
+
}]
|
|
14693
|
+
}], propDecorators: { key: [{
|
|
14694
|
+
type: Input,
|
|
14695
|
+
args: ['scrollPersist']
|
|
14696
|
+
}], onScroll: [{
|
|
14697
|
+
type: HostListener,
|
|
14698
|
+
args: ['scroll']
|
|
14699
|
+
}] } });
|
|
14700
|
+
|
|
14416
14701
|
class PortalDynamicPageResolver {
|
|
14417
14702
|
/** Inserted by Angular inject() migration for backwards compatibility */
|
|
14418
14703
|
constructor() {
|
|
@@ -15508,7 +15793,8 @@ const components = [
|
|
|
15508
15793
|
FormPageComponent,
|
|
15509
15794
|
FormFieldReportPageComponent,
|
|
15510
15795
|
ButtonLoadingComponent,
|
|
15511
|
-
UnlimitSessionComponent
|
|
15796
|
+
UnlimitSessionComponent,
|
|
15797
|
+
DynamicTileGroupComponent
|
|
15512
15798
|
];
|
|
15513
15799
|
const directives = [
|
|
15514
15800
|
PlaceHolderDirective,
|
|
@@ -15556,7 +15842,35 @@ const directives = [
|
|
|
15556
15842
|
BarsaReadonlyDirective,
|
|
15557
15843
|
ResizeObserverDirective,
|
|
15558
15844
|
ColumnValueDirective,
|
|
15559
|
-
ScrollToSelectedDirective
|
|
15845
|
+
ScrollToSelectedDirective,
|
|
15846
|
+
ScrollPersistDirective
|
|
15847
|
+
];
|
|
15848
|
+
const services = [
|
|
15849
|
+
PortalService,
|
|
15850
|
+
UploadService,
|
|
15851
|
+
ApiService,
|
|
15852
|
+
LogService,
|
|
15853
|
+
BarsaDialogService,
|
|
15854
|
+
UiService,
|
|
15855
|
+
LayoutService,
|
|
15856
|
+
TabpageService,
|
|
15857
|
+
DynamicComponentService,
|
|
15858
|
+
BreadcrumbService,
|
|
15859
|
+
AuthGuard,
|
|
15860
|
+
NetworkStatusService,
|
|
15861
|
+
AudioRecordingService,
|
|
15862
|
+
VideoRecordingService,
|
|
15863
|
+
RedirectHomeGuard,
|
|
15864
|
+
PromptUpdateService,
|
|
15865
|
+
NotificationService,
|
|
15866
|
+
ServiceWorkerNotificationService,
|
|
15867
|
+
SaveScrollPositionService,
|
|
15868
|
+
LocalStorageService,
|
|
15869
|
+
InMemoryStorageService,
|
|
15870
|
+
IndexedDbService,
|
|
15871
|
+
BbbTranslatePipe,
|
|
15872
|
+
BarsaStorageService,
|
|
15873
|
+
ServiceWorkerCommuncationService
|
|
15560
15874
|
];
|
|
15561
15875
|
const pipes = [
|
|
15562
15876
|
NumeralPipe,
|
|
@@ -15583,7 +15897,6 @@ const pipes = [
|
|
|
15583
15897
|
FileInfoCountPipe,
|
|
15584
15898
|
ControlUiPipe,
|
|
15585
15899
|
VisibleValuePipe,
|
|
15586
|
-
DateTimeToCaptionPipe,
|
|
15587
15900
|
FilterToolbarControlPipe,
|
|
15588
15901
|
ListCountPipe,
|
|
15589
15902
|
TotalSummaryPipe,
|
|
@@ -15614,7 +15927,8 @@ const pipes = [
|
|
|
15614
15927
|
ToolbarSettingsPipe,
|
|
15615
15928
|
CardMediaSizePipe,
|
|
15616
15929
|
LabelStarTrimPipe,
|
|
15617
|
-
SplitPipe
|
|
15930
|
+
SplitPipe,
|
|
15931
|
+
DynamicDarkColorPipe
|
|
15618
15932
|
];
|
|
15619
15933
|
const functionL1 = function () {
|
|
15620
15934
|
if (BarsaApi.LoginFormData.Culture === 'fa-IR') {
|
|
@@ -15695,30 +16009,7 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
15695
16009
|
return initializerFn();
|
|
15696
16010
|
}),
|
|
15697
16011
|
...pipes,
|
|
15698
|
-
|
|
15699
|
-
UploadService,
|
|
15700
|
-
ApiService,
|
|
15701
|
-
LogService,
|
|
15702
|
-
BarsaDialogService,
|
|
15703
|
-
UiService,
|
|
15704
|
-
LayoutService,
|
|
15705
|
-
TabpageService,
|
|
15706
|
-
DynamicComponentService,
|
|
15707
|
-
BreadcrumbService,
|
|
15708
|
-
AuthGuard,
|
|
15709
|
-
NetworkStatusService,
|
|
15710
|
-
AudioRecordingService,
|
|
15711
|
-
VideoRecordingService,
|
|
15712
|
-
RedirectHomeGuard,
|
|
15713
|
-
PromptUpdateService,
|
|
15714
|
-
NotificationService,
|
|
15715
|
-
ServiceWorkerNotificationService,
|
|
15716
|
-
SaveScrollPositionService,
|
|
15717
|
-
LocalStorageService,
|
|
15718
|
-
IndexedDbService,
|
|
15719
|
-
BbbTranslatePipe,
|
|
15720
|
-
BarsaStorageService,
|
|
15721
|
-
ServiceWorkerCommuncationService
|
|
16012
|
+
...services
|
|
15722
16013
|
]
|
|
15723
16014
|
};
|
|
15724
16015
|
}
|
|
@@ -15744,7 +16035,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
15744
16035
|
FormPageComponent,
|
|
15745
16036
|
FormFieldReportPageComponent,
|
|
15746
16037
|
ButtonLoadingComponent,
|
|
15747
|
-
UnlimitSessionComponent,
|
|
16038
|
+
UnlimitSessionComponent,
|
|
16039
|
+
DynamicTileGroupComponent, NumeralPipe,
|
|
15748
16040
|
CanUploadFilePipe,
|
|
15749
16041
|
RemoveNewlinePipe,
|
|
15750
16042
|
ConvertToStylePipe,
|
|
@@ -15768,7 +16060,6 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
15768
16060
|
FileInfoCountPipe,
|
|
15769
16061
|
ControlUiPipe,
|
|
15770
16062
|
VisibleValuePipe,
|
|
15771
|
-
DateTimeToCaptionPipe,
|
|
15772
16063
|
FilterToolbarControlPipe,
|
|
15773
16064
|
ListCountPipe,
|
|
15774
16065
|
TotalSummaryPipe,
|
|
@@ -15799,7 +16090,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
15799
16090
|
ToolbarSettingsPipe,
|
|
15800
16091
|
CardMediaSizePipe,
|
|
15801
16092
|
LabelStarTrimPipe,
|
|
15802
|
-
SplitPipe,
|
|
16093
|
+
SplitPipe,
|
|
16094
|
+
DynamicDarkColorPipe, PlaceHolderDirective,
|
|
15803
16095
|
NumbersOnlyInputDirective,
|
|
15804
16096
|
RenderUlvViewerDirective,
|
|
15805
16097
|
RenderUlvPaginDirective,
|
|
@@ -15844,7 +16136,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
15844
16136
|
BarsaReadonlyDirective,
|
|
15845
16137
|
ResizeObserverDirective,
|
|
15846
16138
|
ColumnValueDirective,
|
|
15847
|
-
ScrollToSelectedDirective
|
|
16139
|
+
ScrollToSelectedDirective,
|
|
16140
|
+
ScrollPersistDirective], imports: [CommonModule,
|
|
15848
16141
|
BarsaNovinRayCoreRoutingModule,
|
|
15849
16142
|
BarsaSapUiFormPageModule,
|
|
15850
16143
|
ResizableModule,
|
|
@@ -15870,7 +16163,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
15870
16163
|
FormPageComponent,
|
|
15871
16164
|
FormFieldReportPageComponent,
|
|
15872
16165
|
ButtonLoadingComponent,
|
|
15873
|
-
UnlimitSessionComponent,
|
|
16166
|
+
UnlimitSessionComponent,
|
|
16167
|
+
DynamicTileGroupComponent, NumeralPipe,
|
|
15874
16168
|
CanUploadFilePipe,
|
|
15875
16169
|
RemoveNewlinePipe,
|
|
15876
16170
|
ConvertToStylePipe,
|
|
@@ -15894,7 +16188,6 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
15894
16188
|
FileInfoCountPipe,
|
|
15895
16189
|
ControlUiPipe,
|
|
15896
16190
|
VisibleValuePipe,
|
|
15897
|
-
DateTimeToCaptionPipe,
|
|
15898
16191
|
FilterToolbarControlPipe,
|
|
15899
16192
|
ListCountPipe,
|
|
15900
16193
|
TotalSummaryPipe,
|
|
@@ -15925,7 +16218,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
15925
16218
|
ToolbarSettingsPipe,
|
|
15926
16219
|
CardMediaSizePipe,
|
|
15927
16220
|
LabelStarTrimPipe,
|
|
15928
|
-
SplitPipe,
|
|
16221
|
+
SplitPipe,
|
|
16222
|
+
DynamicDarkColorPipe, PlaceHolderDirective,
|
|
15929
16223
|
NumbersOnlyInputDirective,
|
|
15930
16224
|
RenderUlvViewerDirective,
|
|
15931
16225
|
RenderUlvPaginDirective,
|
|
@@ -15970,7 +16264,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
15970
16264
|
BarsaReadonlyDirective,
|
|
15971
16265
|
ResizeObserverDirective,
|
|
15972
16266
|
ColumnValueDirective,
|
|
15973
|
-
ScrollToSelectedDirective
|
|
16267
|
+
ScrollToSelectedDirective,
|
|
16268
|
+
ScrollPersistDirective] }); }
|
|
15974
16269
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: BarsaNovinRayCoreModule, providers: [provideHttpClient(withInterceptorsFromDi())], imports: [CommonModule,
|
|
15975
16270
|
BarsaNovinRayCoreRoutingModule,
|
|
15976
16271
|
BarsaSapUiFormPageModule,
|
|
@@ -16000,5 +16295,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
16000
16295
|
* Generated bundle index. Do not edit.
|
|
16001
16296
|
*/
|
|
16002
16297
|
|
|
16003
|
-
export { APP_VERSION, AbsoluteDivBodyDirective, AffixRespondEvents, AllFilesMimeType, AnchorScrollDirective, ApiService, ApplicationBaseComponent, AttrRtlDirective, AudioMimeType, AudioRecordingService, AuthGuard, BarsaApi, BarsaDialogService, BarsaIconDictPipe, BarsaNovinRayCoreModule, BarsaReadonlyDirective, BarsaSapUiFormPageModule, BarsaStorageService, BaseColumnPropsComponent, BaseComponent, BaseController, BaseDirective, BaseDynamicComponent, BaseFormToolbaritemPropsComponent, BaseItemContentPropsComponent, BaseModule, BaseReportModel, BaseUlvSettingComponent, BaseViewContentPropsComponent, BaseViewItemPropsComponent, BaseViewPropsComponent, BbbTranslatePipe, BodyClickDirective, BoolControlInfoModel, BreadcrumbService, ButtonLoadingComponent, CalculateControlInfoModel, CanUploadFilePipe, CardMediaSizePipe, ChangeLayoutInfoCustomUi, CodeEditorControlInfoModel, ColSetting, ColumnCustomComponentPipe, ColumnCustomUiPipe, ColumnIconPipe, ColumnResizerDirective, ColumnService, ColumnValueDirective, ColumnValueOfParametersPipe, ColumnValuePipe, ComboRowImagePipe, CommandControlInfoModel, ContainerComponent, ContainerService, ContextMenuPipe, ControlUiPipe, ConvertToStylePipe, CopyDirective, CountDownDirective, CustomCommand, CustomInjector, CustomRouteReuseStategy, DIALOG_SERVICE, DateHijriService, DateMiladiService, DateRanges, DateService, DateShamsiService, DateTimeControlInfoModel,
|
|
16298
|
+
export { APP_VERSION, AbsoluteDivBodyDirective, AffixRespondEvents, AllFilesMimeType, AnchorScrollDirective, ApiService, ApplicationBaseComponent, AttrRtlDirective, AudioMimeType, AudioRecordingService, AuthGuard, BarsaApi, BarsaDialogService, BarsaIconDictPipe, BarsaNovinRayCoreModule, BarsaReadonlyDirective, BarsaSapUiFormPageModule, BarsaStorageService, BaseColumnPropsComponent, BaseComponent, BaseController, BaseDirective, BaseDynamicComponent, BaseFormToolbaritemPropsComponent, BaseItemContentPropsComponent, BaseModule, BaseReportModel, BaseUlvSettingComponent, BaseViewContentPropsComponent, BaseViewItemPropsComponent, BaseViewPropsComponent, BbbTranslatePipe, BodyClickDirective, BoolControlInfoModel, BreadcrumbService, ButtonLoadingComponent, CalculateControlInfoModel, CanUploadFilePipe, CardMediaSizePipe, ChangeLayoutInfoCustomUi, CodeEditorControlInfoModel, ColSetting, ColumnCustomComponentPipe, ColumnCustomUiPipe, ColumnIconPipe, ColumnResizerDirective, ColumnService, ColumnValueDirective, ColumnValueOfParametersPipe, ColumnValuePipe, ComboRowImagePipe, CommandControlInfoModel, ContainerComponent, ContainerService, ContextMenuPipe, ControlUiPipe, ConvertToStylePipe, CopyDirective, CountDownDirective, CustomCommand, CustomInjector, CustomRouteReuseStategy, DIALOG_SERVICE, DateHijriService, DateMiladiService, DateRanges, DateService, DateShamsiService, DateTimeControlInfoModel, DeviceWidth, DialogParams, DynamicCommandDirective, DynamicComponentService, DynamicDarkColorPipe, DynamicFormComponent, DynamicFormToolbaritemComponent, DynamicItemComponent, DynamicLayoutComponent, DynamicRootVariableDirective, DynamicStyleDirective, DynamicTileGroupComponent, EllapsisTextDirective, EllipsifyDirective, EmptyPageComponent, EmptyPageWithRouterAndRouterOutletComponent, EnumControlInfoModel, ExecuteDynamicCommand, ExecuteWorkflowChoiceDef, FORM_DIALOG_COMPONENT, FieldBaseComponent, FieldDirective, FieldInfoTypeEnum, FieldUiComponent, FileControlInfoModel, FileInfoCountPipe, FilePictureInfoModel, FilesValidationHelper, FillAllLayoutControls, FillEmptySpaceDirective, FilterColumnsByDetailsPipe, FilterInlineActionListPipe, FilterPipe, FilterStringPipe, FilterTabPipe, FilterToolbarControlPipe, FilterWorkflowInMobilePipe, FindColumnByDbNamePipe, FindGroup, FindLayoutSettingFromLayout94, FindPreviewColumnPipe, FindToolbarItem, FioriIconPipe, FormBaseComponent, FormCloseDirective, FormComponent, FormFieldReportPageComponent, FormNewComponent, FormPageBaseComponent, FormPageComponent, FormPanelService, FormPropsBaseComponent, FormService, FormToolbarBaseComponent, GaugeControlInfoModel, GeneralControlInfoModel, GetAllColumnsSorted, GetAllHorizontalFromLayout94, GetDefaultMoObjectInfo, GetImgTags, GetVisibleValue, GridSetting, GroupBy, GroupByPipe, GroupByService, HeaderFacetValuePipe, HideAcceptCancelButtonsPipe, HideColumnsInmobilePipe, HistoryControlInfoModel, HorizontalLayoutService, HorizontalResponsiveDirective, IconControlInfoModel, ImageLazyDirective, ImageMimeType, ImagetoPrint, InMemoryStorageService, IndexedDbService, InputNumber, IntersectionObserverDirective, IntersectionStatus, IsDarkMode, IsExpandedNodePipe, IsImagePipe, ItemsRendererDirective, LabelStarTrimPipe, LabelmandatoryDirective, LayoutItemBaseComponent, LayoutMainContentService, LayoutPanelBaseComponent, LayoutService, LinearListControlInfoModel, LinearListHelper, ListCountPipe, ListRelationModel, LoadExternalFilesDirective, LocalStorageService, LogService, LoginSettingsResolver, MeasureFormTitleWidthDirective, MergeFieldsToColumnsPipe, MetaobjectDataModel, MetaobjectRelationModel, MoForReportModel, MoInfoUlvMoListPipe, MoInfoUlvPagingPipe, MoReportValueConcatPipe, MoReportValuePipe, MoValuePipe, MobileDirective, ModalRootComponent, MultipleGroupByPipe, NOTIFICATAION_POPUP_SERVER, NOTIFICATION_WEBWORKER_FACTORY, NetworkStatusService, NotFoundComponent, NotificationService, NowraptextDirective, NumberBaseComponent, NumberControlInfoModel, NumbersOnlyInputDirective, NumeralPipe, OverflowTextDirective, PageBaseComponent, PageWithFormHandlerBaseComponent, PdfMimeType, PictureFieldSourcePipe, PictureFileControlInfoModel, PlaceHolderDirective, PortalDynamicPageResolver, PortalFormPageResolver, PortalPageComponent, PortalPageResolver, PortalPageSidebarComponent, PortalReportPageResolver, PortalService, PreventDefaulEvent, PreventDefaultDirective, PrintFilesDirective, PrintImage, PromptUpdateService, RabetehAkseTakiListiControlInfoModel, RedirectHomeGuard, RedirectReportNavigatorCommandComponent, RelatedReportControlInfoModel, RelationListControlInfoModel, RemoveNewlinePipe, RenderUlvDirective, RenderUlvPaginDirective, RenderUlvViewerDirective, ReplacePipe, ReportBaseComponent, ReportBaseInfo, ReportCalendarModel, ReportContainerComponent, ReportExtraInfo, ReportField, ReportFormModel, ReportItemBaseComponent, ReportListModel, ReportModel, ReportTreeModel, ReportViewBaseComponent, ReportViewColumn, ResizableComponent, ResizableDirective, ResizableModule, ResizeObserverDirective, ReversePipe, RichStringControlInfoModel, RootPageComponent, RootPortalComponent, RouteFormChangeDirective, RoutingService, RowDataOption, RowNumberPipe, SanitizeTextPipe, SaveImageDirective, SaveImageToFile, SaveScrollPositionService, ScrollPersistDirective, ScrollToSelectedDirective, SelectionMode, SeperatorFixPipe, ServiceWorkerCommuncationService, ServiceWorkerNotificationService, ShellbarHeightService, ShortcutHandlerDirective, ShortcutRegisterDirective, SingleRelationControlInfoModel, SortDirection, SortPipe, SortSetting, SplideSliderDirective, SplitPipe, StopPropagationDirective, StringControlInfoModel, StringToNumberPipe, SubformControlInfoModel, SystemBaseComponent, TOAST_SERVICE, TableHeaderWidthMode, TableResizerDirective, TabpageService, ThImageOrIconePipe, TileGroupBreadcrumResolver, TilePropsComponent, TlbButtonsPipe, ToolbarSettingsPipe, TotalSummaryPipe, UiService, UlvCommandDirective, UlvMainService, UnlimitSessionComponent, UntilInViewDirective, UploadService, VideoMimeType, VideoRecordingService, ViewBase, VisibleValuePipe, WebOtpDirective, WordMimeType, WorfkflowwChoiceCommandDirective, addCssVariableToRoot, availablePrefixes, calcContextMenuWidth, calculateColumnContent, calculateColumnWidth, calculateColumnWidthFitToContainer, calculateFreeColumnSize, calculateMoDataListContentWidthByColumnName, cancelRequestAnimationFrame, createFormPanelMetaConditions, createGridEditorFormPanel, easeInOutCubic, elementInViewport2, enumValueToStringSize, executeUlvCommandHandler, flattenTree, forbiddenValidator, formRoutes, formatBytes, fromIntersectionObserver, genrateInlineMoId, getAllItemsPerChildren, getColumnValueOfMoDataList, getComponentDefined, getControlList, getControlSizeMode, getDateService, getDeviceIsDesktop, getDeviceIsMobile, getDeviceIsPhone, getDeviceIsTablet, getFieldValue, getFocusableTagNames, getFormSettings, getGridSettings, getHeaderValue, getIcon, getImagePath, getLabelWidth, getLayout94ObjectInfo, getLayoutControl, getNewMoGridEditor, getParentHeight, getRequestAnimationFrame, getResetGridSettings, getTargetRect, getUniqueId, getValidExtension, isFF, isFirefox, isFunction, isImage, isInLocalMode, isSafari, isTargetWindow, measureText, measureText2, measureTextBy, mobile_regex, nullOrUndefinedString, number_only, requestAnimationFramePolyfill, setColumnWidthByMaxMoContentWidth, setOneDepthLevel, setTableThWidth, shallowEqual, stopPropagation, throwIfAlreadyLoaded, toNumber, validateAllFormFields };
|
|
16004
16299
|
//# sourceMappingURL=barsa-novin-ray-core.mjs.map
|