barsa-novin-ray-core 2.3.161 → 2.3.164
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-barsa-novin-ray-core-CGEy-PGS.mjs → barsa-novin-ray-core-barsa-novin-ray-core-a524W8nV.mjs} +283 -73
- package/fesm2022/barsa-novin-ray-core-barsa-novin-ray-core-a524W8nV.mjs.map +1 -0
- package/fesm2022/{barsa-novin-ray-core-barsa-report-page.module-CX07bJeh.mjs → barsa-novin-ray-core-barsa-report-page.module-Cc0Iyw-a.mjs} +2 -2
- package/fesm2022/{barsa-novin-ray-core-barsa-report-page.module-CX07bJeh.mjs.map → barsa-novin-ray-core-barsa-report-page.module-Cc0Iyw-a.mjs.map} +1 -1
- package/fesm2022/barsa-novin-ray-core.mjs +1 -1
- package/package.json +1 -1
- package/types/barsa-novin-ray-core.d.ts +104 -15
- package/fesm2022/barsa-novin-ray-core-barsa-novin-ray-core-CGEy-PGS.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, inject, ElementRef, Input, ChangeDetectionStrategy, Component, Pipe, Injector, EnvironmentInjector, ApplicationRef, createComponent, Compiler, DOCUMENT, InjectionToken, NgZone, signal, ViewContainerRef, isDevMode, SecurityContext, EventEmitter, ChangeDetectorRef, Renderer2, HostBinding, Output, HostListener, ViewChild, effect, Directive, TemplateRef, input, NgModule, NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA, ErrorHandler, provideAppInitializer } from '@angular/core';
|
|
2
|
+
import { Injectable, inject, ElementRef, Input, ChangeDetectionStrategy, Component, Pipe, Injector, EnvironmentInjector, ApplicationRef, createComponent, Compiler, DOCUMENT, InjectionToken, NgZone, signal, ViewContainerRef, isDevMode, SecurityContext, EventEmitter, ChangeDetectorRef, Renderer2, HostBinding, Output, HostListener, ViewChild, effect, Directive, TemplateRef, input, booleanAttribute, NgModule, NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA, ErrorHandler, provideAppInitializer } from '@angular/core';
|
|
3
3
|
import { Subject, from, BehaviorSubject, of, exhaustMap, map as map$1, shareReplay, catchError, timer, combineLatest, debounceTime as debounceTime$1, distinctUntilChanged as distinctUntilChanged$1, switchMap, forkJoin, withLatestFrom as withLatestFrom$1, fromEvent, throwError, merge, interval, filter as filter$1, lastValueFrom, timeout, takeUntil as takeUntil$1, take, skip, Observable, tap as tap$1, mergeWith, Subscription } from 'rxjs';
|
|
4
4
|
import * as i1 from '@angular/router';
|
|
5
5
|
import { Router, NavigationEnd, ActivatedRoute, RouterEvent, NavigationStart, RouterModule, RouteReuseStrategy } from '@angular/router';
|
|
@@ -21,6 +21,14 @@ import Splide from '@splidejs/splide';
|
|
|
21
21
|
|
|
22
22
|
class BarsaApi {
|
|
23
23
|
static { this.idGenerator = -10000; }
|
|
24
|
+
/**
|
|
25
|
+
* رجیستری سراسری کامپوننتهای سفارشی (per-xtype) که از سرور با
|
|
26
|
+
* BL method گرفته میشود. کلید = originalXtype (مثل 'Ui.TextArea')،
|
|
27
|
+
* مقدار = تعریف کامپوننت (Module/Name/Selector/Version/IsFederatedRemote/...).
|
|
28
|
+
* توسط CustomUiRegistryService در AppInitializer پر میشود و در
|
|
29
|
+
* getComponentDefined خوانده میشود.
|
|
30
|
+
*/
|
|
31
|
+
static { this.CustomUiMap = {}; }
|
|
24
32
|
static get GanttChartHelper() {
|
|
25
33
|
return GanttChartHelper;
|
|
26
34
|
}
|
|
@@ -1090,6 +1098,16 @@ const isAndroid = () => {
|
|
|
1090
1098
|
}
|
|
1091
1099
|
return !!Device.os.android;
|
|
1092
1100
|
};
|
|
1101
|
+
const isIOS$1 = () => {
|
|
1102
|
+
if (!Device.os) {
|
|
1103
|
+
_setOS();
|
|
1104
|
+
}
|
|
1105
|
+
if (Device.os.ios) {
|
|
1106
|
+
return true;
|
|
1107
|
+
}
|
|
1108
|
+
// iPadOS 13+ خودش را «Macintosh» گزارش میکند؛ با وجود لمس از مکِ واقعی تفکیک میشود
|
|
1109
|
+
return !!Device.os.macintosh && supportTouch();
|
|
1110
|
+
};
|
|
1093
1111
|
// * ******* Browser Detection ********
|
|
1094
1112
|
/**
|
|
1095
1113
|
* Contains information about the used browser.
|
|
@@ -1972,6 +1990,10 @@ function setOneDepthLevel(node) {
|
|
|
1972
1990
|
function isFirefox() {
|
|
1973
1991
|
return navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
|
|
1974
1992
|
}
|
|
1993
|
+
/** تشخیص دستگاههای iOS (iPhone/iPad/iPod، شامل iPadOS 13+ در حالت دسکتاپ). */
|
|
1994
|
+
function isIOS() {
|
|
1995
|
+
return isIOS$1();
|
|
1996
|
+
}
|
|
1975
1997
|
function getImagePath(type, moId, fileId, fieldDefId, size, sizeH) {
|
|
1976
1998
|
moId = moId == null ? '' : encodeURIComponent(moId);
|
|
1977
1999
|
fileId = fileId == null ? '' : encodeURIComponent(fileId);
|
|
@@ -2064,14 +2086,23 @@ function getComponentDefined(controlUi, customUiSetting) {
|
|
|
2064
2086
|
selector = selector.substring(1, selector.length);
|
|
2065
2087
|
selector = BarsaApi.LoginFormData.CustomUiPrefix + '-' + selector;
|
|
2066
2088
|
let version;
|
|
2067
|
-
|
|
2068
|
-
|
|
2089
|
+
let isFederatedRemote = false;
|
|
2090
|
+
let moduleFileName;
|
|
2091
|
+
// ── انتخاب override با اولویت ──────────────────────────────────
|
|
2092
|
+
// ۱) CustomUi روی خود فیلد (خاصترین) > ۲) رجیستری سراسری per-xtype > ۳) پیشفرض
|
|
2093
|
+
const registryEntry = BarsaApi.CustomUiMap ? BarsaApi.CustomUiMap[controlUi.originalXtype] : null;
|
|
2094
|
+
const override = customUiSetting && customUiSetting.Module ? customUiSetting : registryEntry;
|
|
2095
|
+
if (override && override.Module) {
|
|
2096
|
+
moduleName = override.Module;
|
|
2069
2097
|
moduleKebabName = BarsaApi.Common.Util.GetKebabCase(moduleName);
|
|
2070
|
-
componentName =
|
|
2071
|
-
selector =
|
|
2072
|
-
version =
|
|
2073
|
-
|
|
2074
|
-
|
|
2098
|
+
componentName = override.Name;
|
|
2099
|
+
selector = override.Selector;
|
|
2100
|
+
version = override.Version;
|
|
2101
|
+
isFederatedRemote = !!override.IsFederatedRemote;
|
|
2102
|
+
moduleFileName = override.ModuleFileName;
|
|
2103
|
+
}
|
|
2104
|
+
// ModuleFileName سرور را ترجیح بده؛ در غیر اینصورت از kebab نام ماژول بساز
|
|
2105
|
+
const modulePath = moduleFileName ? moduleFileName : moduleKebabName.slice(1, moduleKebabName.length);
|
|
2075
2106
|
return {
|
|
2076
2107
|
Id: '',
|
|
2077
2108
|
$Caption: '',
|
|
@@ -2079,7 +2110,8 @@ function getComponentDefined(controlUi, customUiSetting) {
|
|
|
2079
2110
|
ModuleFileName: modulePath,
|
|
2080
2111
|
Name: componentName,
|
|
2081
2112
|
Selector: selector,
|
|
2082
|
-
Version: version
|
|
2113
|
+
Version: version,
|
|
2114
|
+
IsFederatedRemote: isFederatedRemote
|
|
2083
2115
|
};
|
|
2084
2116
|
}
|
|
2085
2117
|
function isSafari() {
|
|
@@ -5146,7 +5178,7 @@ class DynamicComponentService {
|
|
|
5146
5178
|
// ── entry point اصلی ────────────────────────────────────
|
|
5147
5179
|
getComponentBySelector(component, elementInjector, environmentInjector) {
|
|
5148
5180
|
// ۱ — اگه version داشت → URL ثابت بساز و از Module Federation لود کن
|
|
5149
|
-
if (component.Version) {
|
|
5181
|
+
if (component.IsFederatedRemote && component.Version) {
|
|
5150
5182
|
const entry = this.buildRemoteEntryUrl(component.Module, component.Version);
|
|
5151
5183
|
return this._loadFromRemote(entry, component, elementInjector);
|
|
5152
5184
|
}
|
|
@@ -6089,6 +6121,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
6089
6121
|
|
|
6090
6122
|
class ApplicationCtrlrService {
|
|
6091
6123
|
constructor() {
|
|
6124
|
+
this._hideMiniNav$ = new BehaviorSubject(false);
|
|
6092
6125
|
this._selectedNavGroupItemId$ = new BehaviorSubject({});
|
|
6093
6126
|
this._selectedReportId$ = new BehaviorSubject({});
|
|
6094
6127
|
this._selectedReportCaption$ = new BehaviorSubject({});
|
|
@@ -6113,10 +6146,11 @@ class ApplicationCtrlrService {
|
|
|
6113
6146
|
get appMenuItems$() {
|
|
6114
6147
|
return this._appMenuItems$.asObservable();
|
|
6115
6148
|
}
|
|
6149
|
+
get hideMiniNav$() {
|
|
6150
|
+
return this._hideMiniNav$.asObservable();
|
|
6151
|
+
}
|
|
6116
6152
|
get systemCommandGroups$() {
|
|
6117
|
-
return this._selectedSystemNavUi$
|
|
6118
|
-
.asObservable()
|
|
6119
|
-
.pipe(map$1((c) => (!c ? [] : c.SystemData.CommandGroups || [])));
|
|
6153
|
+
return this._selectedSystemNavUi$.asObservable().pipe(map$1((c) => (!c ? [] : c.SystemData.CommandGroups || [])));
|
|
6120
6154
|
}
|
|
6121
6155
|
get selectedCommand$() {
|
|
6122
6156
|
return combineLatest([this._selectedCommandId$, this._selectedSystemId$]).pipe(map$1(([selectedCommand, systemId]) => selectedCommand[systemId]));
|
|
@@ -6162,6 +6196,9 @@ class ApplicationCtrlrService {
|
|
|
6162
6196
|
get systemCaption$() {
|
|
6163
6197
|
return this._selectedSystemTitle$.asObservable();
|
|
6164
6198
|
}
|
|
6199
|
+
setHideMiniNav(value) {
|
|
6200
|
+
this._hideMiniNav$.next(value);
|
|
6201
|
+
}
|
|
6165
6202
|
getSelectedNavGroupItemId(systemId) {
|
|
6166
6203
|
return this._selectedNavGroupItemId$.getValue()[systemId];
|
|
6167
6204
|
}
|
|
@@ -6513,7 +6550,7 @@ function reportRoutes(authGuard = false) {
|
|
|
6513
6550
|
return {
|
|
6514
6551
|
path: 'report/:id',
|
|
6515
6552
|
canActivate: authGuard ? [AuthGuard] : [],
|
|
6516
|
-
loadChildren: () => import('./barsa-novin-ray-core-barsa-report-page.module-
|
|
6553
|
+
loadChildren: () => import('./barsa-novin-ray-core-barsa-report-page.module-Cc0Iyw-a.mjs').then((m) => m.BarsaReportPageModule),
|
|
6517
6554
|
resolve: {
|
|
6518
6555
|
breadcrumb: ReportBreadcrumbResolver
|
|
6519
6556
|
}
|
|
@@ -7545,6 +7582,7 @@ class UlvMainService {
|
|
|
7545
7582
|
this.openOneClick = false;
|
|
7546
7583
|
this._bbbPipe = inject(BbbTranslatePipe);
|
|
7547
7584
|
this._apiService = inject(ApiService);
|
|
7585
|
+
this._portalService = inject(PortalService);
|
|
7548
7586
|
this._setUiViewerSelector$ = new Subject();
|
|
7549
7587
|
this._gridFreeColumnSizing$ = new BehaviorSubject(false);
|
|
7550
7588
|
this._layoutInfoSource = new Subject();
|
|
@@ -7616,6 +7654,8 @@ class UlvMainService {
|
|
|
7616
7654
|
this._showToolbarBorderSource = new BehaviorSubject(false);
|
|
7617
7655
|
this._viewSettingsSource = new BehaviorSubject({});
|
|
7618
7656
|
this._parentHeightSource = new BehaviorSubject(0);
|
|
7657
|
+
this._moveUpAccessSource = new BehaviorSubject(false);
|
|
7658
|
+
this._reorderGroupbySource = new BehaviorSubject([]);
|
|
7619
7659
|
this.context$ = this._contextSource
|
|
7620
7660
|
.asObservable()
|
|
7621
7661
|
.pipe(takeUntil(this._onDestroy$), tap((context) => (this.context = context)), tap((context) => this._initialize(context)), tap((context) => this._addEventListener(context)))
|
|
@@ -7882,6 +7922,20 @@ class UlvMainService {
|
|
|
7882
7922
|
get parentHeight() {
|
|
7883
7923
|
return this._parentHeightSource.getValue();
|
|
7884
7924
|
}
|
|
7925
|
+
/**
|
|
7926
|
+
* مجاز بودن تغییر ترتیب رکوردها با drag/drop. بهصورت واکنشی از سه عامل ساخته میشود:
|
|
7927
|
+
* دسترسی MoveUp، نبودِ گروهبندی، و نبودِ حالتِ ویرایش لیستی (چون در این دو حالت اندیس ردیف با اندیس آرایه یکی نیست).
|
|
7928
|
+
*/
|
|
7929
|
+
get allowRecordReorder$() {
|
|
7930
|
+
return combineLatest([
|
|
7931
|
+
this._moveUpAccessSource,
|
|
7932
|
+
this._reorderGroupbySource,
|
|
7933
|
+
this._inlineEditModeSource
|
|
7934
|
+
]).pipe(map(([moveUp, groupby, inlineEdit]) => moveUp === true && !groupby.length && !inlineEdit), distinctUntilChanged());
|
|
7935
|
+
}
|
|
7936
|
+
setReorderGroupby(groupby) {
|
|
7937
|
+
this._reorderGroupbySource.next(groupby ?? []);
|
|
7938
|
+
}
|
|
7885
7939
|
get alternateRowMode$() {
|
|
7886
7940
|
return this._alternateRowMode.asObservable();
|
|
7887
7941
|
}
|
|
@@ -8086,6 +8140,13 @@ class UlvMainService {
|
|
|
8086
8140
|
this._onDestroy$.next();
|
|
8087
8141
|
this._unscubscribeContext();
|
|
8088
8142
|
}
|
|
8143
|
+
/**
|
|
8144
|
+
* تغییر ترتیب رکورد: source را دقیقاً بالای aboveTarget قرار میدهد.
|
|
8145
|
+
* برای بردن به انتهای لیست، aboveTargetMoId برابر null فرستاده میشود.
|
|
8146
|
+
*/
|
|
8147
|
+
changeRecordOrderAbove(sourceMoId, aboveTargetMoId) {
|
|
8148
|
+
return this._portalService.RunBlMethodAsync('ChangeOrderAbove', [sourceMoId, aboveTargetMoId]);
|
|
8149
|
+
}
|
|
8089
8150
|
pageSizeChanged(pageIndex) {
|
|
8090
8151
|
this.context.fireEvent('PageChange', this.context, pageIndex);
|
|
8091
8152
|
}
|
|
@@ -8349,6 +8410,11 @@ class UlvMainService {
|
|
|
8349
8410
|
this._initSearchpanel(context);
|
|
8350
8411
|
this._initCreateNewInlineMo(context);
|
|
8351
8412
|
this._initGridFreeColumnSizing(context);
|
|
8413
|
+
this._initAllowRecordReorder(context);
|
|
8414
|
+
}
|
|
8415
|
+
_initAllowRecordReorder(context) {
|
|
8416
|
+
const moveUp = BarsaApi.Common.Util.TryGetValue(context, 'Setting.Extra.DefaultCommandsAccess.MoveUp', false);
|
|
8417
|
+
this._moveUpAccessSource.next(moveUp === true);
|
|
8352
8418
|
}
|
|
8353
8419
|
_initGridFreeColumnSizing(context) {
|
|
8354
8420
|
if (context && context.Setting.View?.Grid_FreeColumnSizing) {
|
|
@@ -10391,6 +10457,122 @@ const TEMPLATE_ENGINE = new InjectionToken('TEMPLATE_ENGINE', {
|
|
|
10391
10457
|
factory: () => new SimpleTemplateEngine()
|
|
10392
10458
|
});
|
|
10393
10459
|
|
|
10460
|
+
/**
|
|
10461
|
+
* رجیستری سراسری کامپوننتهای سفارشی (per-xtype) — با کش سمت کلاینت (stale-while-revalidate).
|
|
10462
|
+
*
|
|
10463
|
+
* دیتای رجیستری از سرور با یک BL method گرفته میشود (متد سمت سرور:
|
|
10464
|
+
* TarahiOlgo_GetComponentRegistry که یک Dictionary<xtype, ComponentSchema> برمیگرداند)
|
|
10465
|
+
* و داخل BarsaApi.CustomUiMap نگهداری میشود تا getComponentDefined بتواند
|
|
10466
|
+
* بهصورت O(1) بخواندش.
|
|
10467
|
+
*
|
|
10468
|
+
* ترتیب اولویت انتخاب کامپوننت در getComponentDefined:
|
|
10469
|
+
* ۱) CustomUi روی خود فیلد > ۲) این رجیستری (per-xtype) > ۳) DefaultUiModule + CustomUiPrefix
|
|
10470
|
+
*
|
|
10471
|
+
* استراتژی لود (هیچکدام بوت اپ را block نمیکنند):
|
|
10472
|
+
* ۱) primeFromCache() — همگام و فوری. کشِ localStorage را میخواند و در صورت معتبر بودن
|
|
10473
|
+
* (نسخهاش با ChangeKeyVersion فعلی یکی باشد) بلافاصله روی BarsaApi.CustomUiMap میگذارد.
|
|
10474
|
+
* از دومین بار به بعدِ اجرای اپ، اولین رندر هم رجیستریِ درست را میبیند — بدون هیچ شبکهای.
|
|
10475
|
+
* ۲) refresh() — ناهمگام و fire-and-forget؛ هرگز نباید await شود. روی موفقیت هم مپِ زنده
|
|
10476
|
+
* و هم کش را آپدیت میکند. روی خطا (تایماوت، قطعی شبکه، ...) هیچچیز را پاک نمیکند —
|
|
10477
|
+
* یعنی یک خطای گذرا، رجیستریِ سالمِ قبلی (کششده یا زنده) را از بین نمیبرد.
|
|
10478
|
+
*/
|
|
10479
|
+
class CustomUiRegistryService {
|
|
10480
|
+
constructor() {
|
|
10481
|
+
this._log = inject(LogService);
|
|
10482
|
+
this._localStorage = inject(LocalStorageService);
|
|
10483
|
+
this._loaded = false;
|
|
10484
|
+
}
|
|
10485
|
+
/** نام BL method سمت سرور. در صورت متفاوتبودن، همینجا تغییرش بده. */
|
|
10486
|
+
static { this.BL_METHOD = 'TarahiOlgo_GetComponentRegistry'; }
|
|
10487
|
+
static { this.CACHE_KEY = 'CUSTOM_UI_REGISTRY_CACHE'; }
|
|
10488
|
+
/** true اگر رجیستری در همین session با موفقیت از سرور تازه شده باشد. */
|
|
10489
|
+
get isLoaded() {
|
|
10490
|
+
return this._loaded;
|
|
10491
|
+
}
|
|
10492
|
+
/**
|
|
10493
|
+
* همگام: کشِ محلیِ معتبر را (در صورت وجود) فوری روی BarsaApi.CustomUiMap اعمال میکند.
|
|
10494
|
+
* باید همیشه قبل از اولین رندرِ فرمها صدا زده شود (مثلاً بعد از loadServerStartupData
|
|
10495
|
+
* در AppInitializer)، ولی خودش هیچ کار شبکهای انجام نمیدهد پس بوت را کند نمیکند.
|
|
10496
|
+
*/
|
|
10497
|
+
primeFromCache() {
|
|
10498
|
+
const raw = this._localStorage.getItem(CustomUiRegistryService.CACHE_KEY);
|
|
10499
|
+
if (!raw) {
|
|
10500
|
+
return;
|
|
10501
|
+
}
|
|
10502
|
+
try {
|
|
10503
|
+
const cached = JSON.parse(raw);
|
|
10504
|
+
if (!cached?.data || typeof cached.data !== 'object') {
|
|
10505
|
+
return;
|
|
10506
|
+
}
|
|
10507
|
+
if (cached.v !== this._currentVersion) {
|
|
10508
|
+
// متادیتای سرور از آخرین کش عوض شده → به کش قدیمی اعتماد نکن، منتظر refresh بمان
|
|
10509
|
+
return;
|
|
10510
|
+
}
|
|
10511
|
+
BarsaApi.CustomUiMap = cached.data;
|
|
10512
|
+
}
|
|
10513
|
+
catch (err) {
|
|
10514
|
+
this._log.error('CustomUiRegistry primeFromCache: invalid cache', err);
|
|
10515
|
+
}
|
|
10516
|
+
}
|
|
10517
|
+
/**
|
|
10518
|
+
* ناهمگام و fire-and-forget. هرگز نباید توی زنجیرهی AppInitializer await شود —
|
|
10519
|
+
* اگر سرور دیر جواب بدهد یا اصلاً جواب ندهد (بدون timeout داخلی در RunBlMethodAsync)،
|
|
10520
|
+
* اپ نباید معطلش بماند؛ فقط CustomUiMap دیرتر (یا هیچوقت در آن session) تازه میشود.
|
|
10521
|
+
*/
|
|
10522
|
+
refresh() {
|
|
10523
|
+
try {
|
|
10524
|
+
BarsaApi.Bw.RunBlMethodAsync({
|
|
10525
|
+
Method: CustomUiRegistryService.BL_METHOD,
|
|
10526
|
+
SuccessFn: (data) => {
|
|
10527
|
+
const parsed = this._parse(data);
|
|
10528
|
+
if (!parsed) {
|
|
10529
|
+
return;
|
|
10530
|
+
}
|
|
10531
|
+
BarsaApi.CustomUiMap = parsed;
|
|
10532
|
+
this._loaded = true;
|
|
10533
|
+
this._persist(parsed);
|
|
10534
|
+
},
|
|
10535
|
+
FailFn: (err) => {
|
|
10536
|
+
this._log.error('CustomUiRegistry refresh failed', err);
|
|
10537
|
+
// عمداً چیزی پاک نمیشود؛ کش/مپ قبلی (اگر بود) دستنخورده میماند
|
|
10538
|
+
},
|
|
10539
|
+
doReturn: () => { }
|
|
10540
|
+
});
|
|
10541
|
+
}
|
|
10542
|
+
catch (err) {
|
|
10543
|
+
this._log.error('CustomUiRegistry refresh threw', err);
|
|
10544
|
+
}
|
|
10545
|
+
}
|
|
10546
|
+
get _currentVersion() {
|
|
10547
|
+
return BarsaApi.LoginFormData?.ChangeKeyVersion ?? '';
|
|
10548
|
+
}
|
|
10549
|
+
_parse(data) {
|
|
10550
|
+
try {
|
|
10551
|
+
const parsed = typeof data === 'string' ? JSON.parse(data) : data;
|
|
10552
|
+
return parsed && typeof parsed === 'object' ? parsed : null;
|
|
10553
|
+
}
|
|
10554
|
+
catch (err) {
|
|
10555
|
+
this._log.error('CustomUiRegistry: invalid JSON from server', err);
|
|
10556
|
+
return null;
|
|
10557
|
+
}
|
|
10558
|
+
}
|
|
10559
|
+
_persist(data) {
|
|
10560
|
+
try {
|
|
10561
|
+
const cache = { v: this._currentVersion, data };
|
|
10562
|
+
this._localStorage.setItem(CustomUiRegistryService.CACHE_KEY, JSON.stringify(cache));
|
|
10563
|
+
}
|
|
10564
|
+
catch (err) {
|
|
10565
|
+
this._log.error('CustomUiRegistry: failed to persist cache', err);
|
|
10566
|
+
}
|
|
10567
|
+
}
|
|
10568
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CustomUiRegistryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10569
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CustomUiRegistryService, providedIn: 'root' }); }
|
|
10570
|
+
}
|
|
10571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CustomUiRegistryService, decorators: [{
|
|
10572
|
+
type: Injectable,
|
|
10573
|
+
args: [{ providedIn: 'root' }]
|
|
10574
|
+
}] });
|
|
10575
|
+
|
|
10394
10576
|
class FieldBaseComponent extends BaseComponent {
|
|
10395
10577
|
get customFieldInfo() {
|
|
10396
10578
|
return this.context.Setting.CustomFieldInfo;
|
|
@@ -11052,7 +11234,9 @@ class ReportBaseComponent extends BaseComponent {
|
|
|
11052
11234
|
}
|
|
11053
11235
|
applyGroupby() {
|
|
11054
11236
|
const sortList = BarsaApi.Common.Util.TryGetValue(this.context, 'Setting.View.GridSetting.SortSettingList', []);
|
|
11055
|
-
|
|
11237
|
+
const grouped = sortList.filter((c) => c.IsGrouped);
|
|
11238
|
+
this.groupbySource.next(grouped);
|
|
11239
|
+
this._ulvMainService.setReorderGroupby(grouped);
|
|
11056
11240
|
}
|
|
11057
11241
|
_raiseRowClick(index, mo) {
|
|
11058
11242
|
this.context?.fireEvent('rowdblclick', this.context, index, mo);
|
|
@@ -12139,7 +12323,7 @@ class ReportViewBaseComponent extends BaseComponent {
|
|
|
12139
12323
|
this.rowIndicator = Number(columns[0].MetaFieldTypeId) === 41;
|
|
12140
12324
|
}
|
|
12141
12325
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ReportViewBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12142
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: ReportViewBaseComponent, isStandalone: false, selector: "bnrc-report-view-base", inputs: { contextView: "contextView", viewSetting: "viewSetting", allColumns: "allColumns", isCheckList: "isCheckList", simpleInlineEdit: "simpleInlineEdit", alternateRowMode: "alternateRowMode", 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", isReportPage: "isReportPage", ulvHeightSizeType: "ulvHeightSizeType", contentHeight: "contentHeight", alternateEditObjectColumn: "alternateEditObjectColumn", disableHyperLink: "disableHyperLink", columnsHyperLink: "columnsHyperLink", effectiveReportLayout: "effectiveReportLayout", contentDensity: "contentDensity", rtl: "rtl", showOkCancelButtons: "showOkCancelButtons", title: "title", hasInlineDeleteButton: "hasInlineDeleteButton", hasInlineEditButton: "hasInlineEditButton", contextSetting: "contextSetting", gridFreeColumnSizing: "gridFreeColumnSizing", navigationArrow: "navigationArrow", cartableTemplates: "cartableTemplates", cartableChildsMo: "cartableChildsMo", pagingSetting: "pagingSetting", minEmptyRows: "minEmptyRows", 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 }); }
|
|
12326
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: ReportViewBaseComponent, isStandalone: false, selector: "bnrc-report-view-base", inputs: { contextView: "contextView", viewSetting: "viewSetting", allColumns: "allColumns", isCheckList: "isCheckList", simpleInlineEdit: "simpleInlineEdit", alternateRowMode: "alternateRowMode", inlineEditWithoutSelection: "inlineEditWithoutSelection", hideToolbar: "hideToolbar", hideTitle: "hideTitle", toolbarButtons: "toolbarButtons", allChecked: "allChecked", moDataList: "moDataList", UlvMainCtrlr: "UlvMainCtrlr", access: "access", allowRecordReorder: "allowRecordReorder", 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", isReportPage: "isReportPage", ulvHeightSizeType: "ulvHeightSizeType", contentHeight: "contentHeight", alternateEditObjectColumn: "alternateEditObjectColumn", disableHyperLink: "disableHyperLink", columnsHyperLink: "columnsHyperLink", effectiveReportLayout: "effectiveReportLayout", contentDensity: "contentDensity", rtl: "rtl", showOkCancelButtons: "showOkCancelButtons", title: "title", hasInlineDeleteButton: "hasInlineDeleteButton", hasInlineEditButton: "hasInlineEditButton", contextSetting: "contextSetting", gridFreeColumnSizing: "gridFreeColumnSizing", navigationArrow: "navigationArrow", cartableTemplates: "cartableTemplates", cartableChildsMo: "cartableChildsMo", pagingSetting: "pagingSetting", minEmptyRows: "minEmptyRows", 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 }); }
|
|
12143
12327
|
}
|
|
12144
12328
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ReportViewBaseComponent, decorators: [{
|
|
12145
12329
|
type: Component,
|
|
@@ -12183,6 +12367,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
12183
12367
|
type: Input
|
|
12184
12368
|
}], access: [{
|
|
12185
12369
|
type: Input
|
|
12370
|
+
}], allowRecordReorder: [{
|
|
12371
|
+
type: Input
|
|
12186
12372
|
}], groupby: [{
|
|
12187
12373
|
type: Input
|
|
12188
12374
|
}], selectedCount: [{
|
|
@@ -15650,7 +15836,7 @@ class RootPortalComponent extends PageBaseComponent {
|
|
|
15650
15836
|
</div>
|
|
15651
15837
|
</div>
|
|
15652
15838
|
}
|
|
15653
|
-
<section loadExternalFiles class="
|
|
15839
|
+
<section loadExternalFiles class="section" id="mainpage" #sectionRef>
|
|
15654
15840
|
<div #containerRef></div>
|
|
15655
15841
|
</section>
|
|
15656
15842
|
<div class="page-wrapper">
|
|
@@ -15731,7 +15917,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
15731
15917
|
</div>
|
|
15732
15918
|
</div>
|
|
15733
15919
|
}
|
|
15734
|
-
<section loadExternalFiles class="
|
|
15920
|
+
<section loadExternalFiles class="section" id="mainpage" #sectionRef>
|
|
15735
15921
|
<div #containerRef></div>
|
|
15736
15922
|
</section>
|
|
15737
15923
|
<div class="page-wrapper">
|
|
@@ -16346,6 +16532,8 @@ class RenderUlvPaginDirective extends BaseDirective {
|
|
|
16346
16532
|
if (context) {
|
|
16347
16533
|
const customUiSetting = BarsaApi.Common.Util.TryGetValue(context.Setting, 'ClassNames.CustomUi', null);
|
|
16348
16534
|
const component = getComponentDefined(context, customUiSetting);
|
|
16535
|
+
component.Name = 'UlvPaging';
|
|
16536
|
+
component.Selector = 'bsu-ulv-paging';
|
|
16349
16537
|
this._portalService
|
|
16350
16538
|
.getComponent(component, this._injector, this._environmentInjector)
|
|
16351
16539
|
.pipe(takeUntil(this._onDestroy$), delay(0), tap((component) => {
|
|
@@ -17504,41 +17692,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
17504
17692
|
}] } });
|
|
17505
17693
|
|
|
17506
17694
|
class DynamicRootVariableDirective extends BaseDirective {
|
|
17507
|
-
|
|
17508
|
-
super
|
|
17509
|
-
this.
|
|
17510
|
-
|
|
17511
|
-
|
|
17512
|
-
|
|
17513
|
-
|
|
17514
|
-
|
|
17515
|
-
|
|
17516
|
-
|
|
17517
|
-
|
|
17518
|
-
|
|
17519
|
-
|
|
17520
|
-
|
|
17521
|
-
|
|
17522
|
-
|
|
17523
|
-
|
|
17524
|
-
|
|
17525
|
-
|
|
17695
|
+
constructor() {
|
|
17696
|
+
super(...arguments);
|
|
17697
|
+
this.cssVariableName = input.required(...(ngDevMode ? [{ debugName: "cssVariableName" }] : /* istanbul ignore next */ []));
|
|
17698
|
+
this.cssVariableValue = input.required(...(ngDevMode ? [{ debugName: "cssVariableValue" }] : /* istanbul ignore next */ []));
|
|
17699
|
+
this.disable = input(false, { ...(ngDevMode ? { debugName: "disable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
17700
|
+
/**
|
|
17701
|
+
* برای اجرای دستی مجدد effect توسط refresh
|
|
17702
|
+
*/
|
|
17703
|
+
this._refreshVersion = signal(0, ...(ngDevMode ? [{ debugName: "_refreshVersion" }] : /* istanbul ignore next */ []));
|
|
17704
|
+
/**
|
|
17705
|
+
* با تغییر هرکدام از ورودیهای زیر دوباره اجرا میشود:
|
|
17706
|
+
*
|
|
17707
|
+
* cssVariableName
|
|
17708
|
+
* cssVariableValue
|
|
17709
|
+
* disable
|
|
17710
|
+
* _refreshVersion
|
|
17711
|
+
*/
|
|
17712
|
+
this._styleEffect = effect((onCleanup) => {
|
|
17713
|
+
// باعث میشود refresh نیز effect را مجدداً اجرا کند.
|
|
17714
|
+
this._refreshVersion();
|
|
17715
|
+
const cssVariableName = this.cssVariableName();
|
|
17716
|
+
const cssVariableValue = this.cssVariableValue();
|
|
17717
|
+
const disabled = this.disable();
|
|
17718
|
+
if (disabled || !cssVariableName) {
|
|
17719
|
+
return;
|
|
17720
|
+
}
|
|
17721
|
+
const style = addDynamicVariableTo(cssVariableName, cssVariableValue);
|
|
17722
|
+
/*
|
|
17723
|
+
* قبل از اجرای مجدد effect و همچنین هنگام destroy شدن
|
|
17724
|
+
* directive، استایل قبلی حذف میشود.
|
|
17725
|
+
*/
|
|
17726
|
+
onCleanup(() => {
|
|
17727
|
+
removeDynamicStyle(style);
|
|
17728
|
+
});
|
|
17729
|
+
}, ...(ngDevMode ? [{ debugName: "_styleEffect" }] : /* istanbul ignore next */ []));
|
|
17526
17730
|
}
|
|
17527
17731
|
refresh() {
|
|
17528
|
-
this.
|
|
17529
|
-
this._addDynamicFormStyles(this.cssVariableName, this.cssVariableValue);
|
|
17530
|
-
}
|
|
17531
|
-
_addDynamicFormStyles(cssVariableName, cssVariableValue) {
|
|
17532
|
-
if (this.disable) {
|
|
17533
|
-
return;
|
|
17534
|
-
}
|
|
17535
|
-
this._style = addDynamicVariableTo(cssVariableName, cssVariableValue);
|
|
17536
|
-
}
|
|
17537
|
-
_removeDynamicFormStyles() {
|
|
17538
|
-
removeDynamicStyle(this._style);
|
|
17732
|
+
this._refreshVersion.update(version => version + 1);
|
|
17539
17733
|
}
|
|
17540
17734
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: DynamicRootVariableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
17541
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
17735
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.17", type: DynamicRootVariableDirective, isStandalone: false, selector: "[cssRootVariable]", inputs: { cssVariableName: { classPropertyName: "cssVariableName", publicName: "cssVariableName", isSignal: true, isRequired: true, transformFunction: null }, cssVariableValue: { classPropertyName: "cssVariableValue", publicName: "cssVariableValue", isSignal: true, isRequired: true, transformFunction: null }, disable: { classPropertyName: "disable", publicName: "disable", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["cssRootVariable"], usesInheritance: true, ngImport: i0 }); }
|
|
17542
17736
|
}
|
|
17543
17737
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: DynamicRootVariableDirective, decorators: [{
|
|
17544
17738
|
type: Directive,
|
|
@@ -17547,13 +17741,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
17547
17741
|
exportAs: 'cssRootVariable',
|
|
17548
17742
|
standalone: false
|
|
17549
17743
|
}]
|
|
17550
|
-
}], propDecorators: { cssVariableName: [{
|
|
17551
|
-
type: Input
|
|
17552
|
-
}], cssVariableValue: [{
|
|
17553
|
-
type: Input
|
|
17554
|
-
}], disable: [{
|
|
17555
|
-
type: Input
|
|
17556
|
-
}] } });
|
|
17744
|
+
}], propDecorators: { cssVariableName: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssVariableName", required: true }] }], cssVariableValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssVariableValue", required: true }] }], disable: [{ type: i0.Input, args: [{ isSignal: true, alias: "disable", required: false }] }] } });
|
|
17557
17745
|
|
|
17558
17746
|
class HorizontalResponsiveDirective extends BaseDirective {
|
|
17559
17747
|
ngOnInit() {
|
|
@@ -18205,6 +18393,12 @@ class MoLinkerDirective extends BaseDirective {
|
|
|
18205
18393
|
}
|
|
18206
18394
|
// گوش دادن به رویداد کلیک
|
|
18207
18395
|
onClick(event) {
|
|
18396
|
+
// وقتی لینک غیرفعال است (مثلاً حالت inline-edit) اصلاً هایپرلینکی وجود ندارد،
|
|
18397
|
+
// پس نباید preventDefault کنیم؛ در غیر اینصورت اکشن پیشفرضِ کلیکهای داخلی مثل
|
|
18398
|
+
// باز شدن دیالوگ انتخاب فایل (input[type=file].click()) کنسل میشود.
|
|
18399
|
+
if (this.disableHyperLink()) {
|
|
18400
|
+
return;
|
|
18401
|
+
}
|
|
18208
18402
|
if (!event.ctrlKey && !event.metaKey && !event.shiftKey && event.button === 0) {
|
|
18209
18403
|
event.preventDefault();
|
|
18210
18404
|
}
|
|
@@ -19256,16 +19450,17 @@ class ResizableDirective {
|
|
|
19256
19450
|
*/
|
|
19257
19451
|
constructor() {
|
|
19258
19452
|
this.resizableComplete = new EventEmitter();
|
|
19453
|
+
this.resizableStart = new EventEmitter();
|
|
19259
19454
|
this.documentRef = inject(DOCUMENT);
|
|
19260
19455
|
this.elementRef = inject(ElementRef);
|
|
19261
|
-
this.resizable = fromEvent(this.elementRef.nativeElement, 'mousedown').pipe(tap((e) => e.preventDefault()), switchMap$1(() => {
|
|
19456
|
+
this.resizable = fromEvent(this.elementRef.nativeElement, 'mousedown').pipe(tap((e) => e.preventDefault()), tap(() => this.resizableStart.emit()), switchMap$1(() => {
|
|
19262
19457
|
const elDom = this.elementRef.nativeElement;
|
|
19263
19458
|
const { width, right, left } = elDom.closest('th').getBoundingClientRect();
|
|
19264
19459
|
return fromEvent(this.documentRef, 'mousemove').pipe(map(({ clientX }) => (this.rtl ? width + left - clientX : width + clientX - right)), distinctUntilChanged(), takeUntil(fromEvent(this.documentRef, 'mouseup').pipe(tap((_c) => this.resizableComplete.emit()))));
|
|
19265
19460
|
}));
|
|
19266
19461
|
}
|
|
19267
19462
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ResizableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
19268
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.17", type: ResizableDirective, isStandalone: false, selector: "[resizable]", inputs: { rtl: "rtl" }, outputs: { resizableComplete: "resizableComplete", resizable: "resizable" }, ngImport: i0 }); }
|
|
19463
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.17", type: ResizableDirective, isStandalone: false, selector: "[resizable]", inputs: { rtl: "rtl" }, outputs: { resizableComplete: "resizableComplete", resizableStart: "resizableStart", resizable: "resizable" }, ngImport: i0 }); }
|
|
19269
19464
|
}
|
|
19270
19465
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ResizableDirective, decorators: [{
|
|
19271
19466
|
type: Directive,
|
|
@@ -19277,6 +19472,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
19277
19472
|
type: Input
|
|
19278
19473
|
}], resizableComplete: [{
|
|
19279
19474
|
type: Output
|
|
19475
|
+
}], resizableStart: [{
|
|
19476
|
+
type: Output
|
|
19280
19477
|
}], resizable: [{
|
|
19281
19478
|
type: Output
|
|
19282
19479
|
}] } });
|
|
@@ -19285,6 +19482,7 @@ class ResizableComponent {
|
|
|
19285
19482
|
constructor() {
|
|
19286
19483
|
this.widthChange = new EventEmitter();
|
|
19287
19484
|
this.widthChanging = new EventEmitter();
|
|
19485
|
+
this.widthChangeStart = new EventEmitter();
|
|
19288
19486
|
this._el = inject(ElementRef);
|
|
19289
19487
|
this._renderer2 = inject(Renderer2);
|
|
19290
19488
|
}
|
|
@@ -19293,11 +19491,11 @@ class ResizableComponent {
|
|
|
19293
19491
|
this.widthChanging.emit(width);
|
|
19294
19492
|
}
|
|
19295
19493
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ResizableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19296
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: ResizableComponent, isStandalone: false, selector: "th[resizable]", inputs: { disableResize: "disableResize", rtl: "rtl" }, outputs: { widthChange: "widthChange", widthChanging: "widthChanging" }, ngImport: i0, template: "<div class=\"wrapper\" [style.justify-content]=\"disableResize ? 'center' : 'flex-end'\">\r\n <div class=\"content tw-flex\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div\r\n [style.pointer-events]=\"disableResize ? 'none' : 'auto'\"\r\n class=\"bar\"\r\n [class.rtl]=\"rtl\"\r\n (resizable)=\"onResize($event)\"\r\n [rtl]=\"rtl\"\r\n (resizableComplete)=\"widthChange.emit()\"\r\n ></div>\r\n</div>\r\n", styles: [".wrapper{display:flex}.content{flex:1;min-width:0}.bar{position:absolute;z-index:2;top:0;bottom:0;width:2px;margin:0 -.5rem 0 .5rem;justify-self:flex-start;border-left:2px solid transparent;border-right:2px solid transparent;background:#8a2be2;cursor:col-resize;opacity:0;transition:opacity .3s}.bar.rtl{margin:0 0 0 -.5rem}.bar:hover,.bar:active{opacity:1}\n"], dependencies: [{ kind: "directive", type: ResizableDirective, selector: "[resizable]", inputs: ["rtl"], outputs: ["resizableComplete", "resizable"] }] }); }
|
|
19494
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: ResizableComponent, isStandalone: false, selector: "th[resizable]", inputs: { disableResize: "disableResize", rtl: "rtl" }, outputs: { widthChange: "widthChange", widthChanging: "widthChanging", widthChangeStart: "widthChangeStart" }, ngImport: i0, template: "<div class=\"wrapper\" [style.justify-content]=\"disableResize ? 'center' : 'flex-end'\">\r\n <div class=\"content tw-flex\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div\r\n [style.pointer-events]=\"disableResize ? 'none' : 'auto'\"\r\n class=\"bar\"\r\n [class.rtl]=\"rtl\"\r\n (resizable)=\"onResize($event)\"\r\n [rtl]=\"rtl\"\r\n (resizableStart)=\"widthChangeStart.emit()\"\r\n (resizableComplete)=\"widthChange.emit()\"\r\n ></div>\r\n</div>\r\n", styles: [".wrapper{display:flex}.content{flex:1;min-width:0}.bar{position:absolute;z-index:2;top:0;bottom:0;width:2px;margin:0 -.5rem 0 .5rem;justify-self:flex-start;border-left:2px solid transparent;border-right:2px solid transparent;background:#8a2be2;cursor:col-resize;opacity:0;transition:opacity .3s}.bar.rtl{margin:0 0 0 -.5rem}.bar:hover,.bar:active{opacity:1}\n"], dependencies: [{ kind: "directive", type: ResizableDirective, selector: "[resizable]", inputs: ["rtl"], outputs: ["resizableComplete", "resizableStart", "resizable"] }] }); }
|
|
19297
19495
|
}
|
|
19298
19496
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ResizableComponent, decorators: [{
|
|
19299
19497
|
type: Component,
|
|
19300
|
-
args: [{ selector: 'th[resizable]', standalone: false, template: "<div class=\"wrapper\" [style.justify-content]=\"disableResize ? 'center' : 'flex-end'\">\r\n <div class=\"content tw-flex\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div\r\n [style.pointer-events]=\"disableResize ? 'none' : 'auto'\"\r\n class=\"bar\"\r\n [class.rtl]=\"rtl\"\r\n (resizable)=\"onResize($event)\"\r\n [rtl]=\"rtl\"\r\n (resizableComplete)=\"widthChange.emit()\"\r\n ></div>\r\n</div>\r\n", styles: [".wrapper{display:flex}.content{flex:1;min-width:0}.bar{position:absolute;z-index:2;top:0;bottom:0;width:2px;margin:0 -.5rem 0 .5rem;justify-self:flex-start;border-left:2px solid transparent;border-right:2px solid transparent;background:#8a2be2;cursor:col-resize;opacity:0;transition:opacity .3s}.bar.rtl{margin:0 0 0 -.5rem}.bar:hover,.bar:active{opacity:1}\n"] }]
|
|
19498
|
+
args: [{ selector: 'th[resizable]', standalone: false, template: "<div class=\"wrapper\" [style.justify-content]=\"disableResize ? 'center' : 'flex-end'\">\r\n <div class=\"content tw-flex\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div\r\n [style.pointer-events]=\"disableResize ? 'none' : 'auto'\"\r\n class=\"bar\"\r\n [class.rtl]=\"rtl\"\r\n (resizable)=\"onResize($event)\"\r\n [rtl]=\"rtl\"\r\n (resizableStart)=\"widthChangeStart.emit()\"\r\n (resizableComplete)=\"widthChange.emit()\"\r\n ></div>\r\n</div>\r\n", styles: [".wrapper{display:flex}.content{flex:1;min-width:0}.bar{position:absolute;z-index:2;top:0;bottom:0;width:2px;margin:0 -.5rem 0 .5rem;justify-self:flex-start;border-left:2px solid transparent;border-right:2px solid transparent;background:#8a2be2;cursor:col-resize;opacity:0;transition:opacity .3s}.bar.rtl{margin:0 0 0 -.5rem}.bar:hover,.bar:active{opacity:1}\n"] }]
|
|
19301
19499
|
}], propDecorators: { disableResize: [{
|
|
19302
19500
|
type: Input
|
|
19303
19501
|
}], rtl: [{
|
|
@@ -19306,6 +19504,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
19306
19504
|
type: Output
|
|
19307
19505
|
}], widthChanging: [{
|
|
19308
19506
|
type: Output
|
|
19507
|
+
}], widthChangeStart: [{
|
|
19508
|
+
type: Output
|
|
19309
19509
|
}] } });
|
|
19310
19510
|
|
|
19311
19511
|
class ResizableModule {
|
|
@@ -19897,7 +20097,8 @@ const services = [
|
|
|
19897
20097
|
BarsaStorageService,
|
|
19898
20098
|
ServiceWorkerCommuncationService,
|
|
19899
20099
|
ApplicationCtrlrService,
|
|
19900
|
-
PushNotificationService
|
|
20100
|
+
PushNotificationService,
|
|
20101
|
+
CustomUiRegistryService
|
|
19901
20102
|
];
|
|
19902
20103
|
const pipes = [
|
|
19903
20104
|
NumeralPipe,
|
|
@@ -20012,18 +20213,27 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
20012
20213
|
ngModule: BarsaNovinRayCoreModule,
|
|
20013
20214
|
providers: [
|
|
20014
20215
|
provideAppInitializer(() => {
|
|
20015
|
-
const initializerFn = ((portalService, applicationCtrlrService, titleService, promptUpdateService, barsaStorageService, swCommunication, _, router) => () => {
|
|
20216
|
+
const initializerFn = ((portalService, applicationCtrlrService, titleService, promptUpdateService, barsaStorageService, swCommunication, _, router, customUiRegistryService) => () => {
|
|
20016
20217
|
const inLocalMode = isInLocalMode();
|
|
20017
20218
|
return portalService
|
|
20018
20219
|
.loadServerStartupData()
|
|
20019
|
-
.then(() =>
|
|
20020
|
-
|
|
20021
|
-
|
|
20022
|
-
|
|
20023
|
-
|
|
20024
|
-
|
|
20025
|
-
|
|
20026
|
-
|
|
20220
|
+
.then(() => {
|
|
20221
|
+
// همگام و فوری: از کشِ localStorage (اگه معتبر بود) قبل از
|
|
20222
|
+
// اولین رندرِ فرمها روی BarsaApi.CustomUiMap میشینه.
|
|
20223
|
+
customUiRegistryService.primeFromCache();
|
|
20224
|
+
// ناهمگام و fire-and-forget: عمداً await/داخل Promise.all
|
|
20225
|
+
// نیست تا اگه سرور دیر جواب بده یا اصلاً جواب نده، بوت اپ
|
|
20226
|
+
// گیر نکنه. جواب که برسه، مپ زنده + کش رو در پسزمینه آپدیت میکنه.
|
|
20227
|
+
customUiRegistryService.refresh();
|
|
20228
|
+
return Promise.all([
|
|
20229
|
+
functionL1(),
|
|
20230
|
+
functionL2(portalService, applicationCtrlrService, titleService)
|
|
20231
|
+
]).finally(() => {
|
|
20232
|
+
promptUpdateService.checkForUpdate();
|
|
20233
|
+
barsaStorageService.init();
|
|
20234
|
+
swCommunication.init();
|
|
20235
|
+
});
|
|
20236
|
+
})
|
|
20027
20237
|
.catch((_) => {
|
|
20028
20238
|
if (!inLocalMode && !navigator.onLine) {
|
|
20029
20239
|
console.error('internet is not connected.');
|
|
@@ -20034,7 +20244,7 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
20034
20244
|
}
|
|
20035
20245
|
return Promise.resolve();
|
|
20036
20246
|
});
|
|
20037
|
-
})(inject(PortalService), inject(ApplicationCtrlrService), inject(Title), inject(PromptUpdateService), inject(BarsaStorageService), inject(ServiceWorkerCommuncationService), inject(NetworkStatusService), inject(Router));
|
|
20247
|
+
})(inject(PortalService), inject(ApplicationCtrlrService), inject(Title), inject(PromptUpdateService), inject(BarsaStorageService), inject(ServiceWorkerCommuncationService), inject(NetworkStatusService), inject(Router), inject(CustomUiRegistryService));
|
|
20038
20248
|
return initializerFn();
|
|
20039
20249
|
}),
|
|
20040
20250
|
{
|
|
@@ -20388,5 +20598,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
20388
20598
|
* Generated bundle index. Do not edit.
|
|
20389
20599
|
*/
|
|
20390
20600
|
|
|
20391
|
-
export { ColSetting as $, APP_VERSION as A, BaseModule as B, BaseFormToolbaritemPropsComponent as C, DynamicComponentService as D, BaseItemContentPropsComponent as E, BaseReportModel as F, BaseSettingsService as G, BaseUlvSettingComponent as H, BaseViewContentPropsComponent as I, BaseViewItemPropsComponent as J, BaseViewPropsComponent as K, BbbTranslatePipe as L, BodyClickDirective as M, BoolControlInfoModel as N, BreadcrumbService as O, ButtonLoadingComponent as P, CalculateControlInfoModel as Q, ReportEmptyPageComponent as R, CalendarSettingsStore as S, CanUploadFilePipe as T, CardBaseItemContentPropsComponent as U, CardDynamicItemComponent as V, CardMediaSizePipe as W, CardViewService as X, ChangeLayoutInfoCustomUi as Y, ChunkArrayPipe as Z, CodeEditorControlInfoModel as _, AbsoluteDivBodyDirective as a, FilePictureInfoModel as a$, ColumnCustomComponentPipe as a0, ColumnCustomUiPipe as a1, ColumnIconPipe as a2, ColumnRendererBase as a3, ColumnRendererViewBase as a4, ColumnResizerDirective as a5, ColumnService as a6, ColumnValueDirective as a7, ColumnValueOfParametersPipe as a8, ColumnValuePipe as a9, DynamicFormComponent as aA, DynamicFormToolbaritemComponent as aB, DynamicItemComponent as aC, DynamicLayoutComponent as aD, DynamicRootVariableDirective as aE, DynamicStyleDirective as aF, DynamicUlvPagingComponent as aG, DynamicUlvToolbarComponent as aH, EllapsisTextDirective as aI, EllipsifyDirective as aJ, EmptyPageComponent as aK, EmptyPageWithRouterAndRouterOutletComponent as aL, EntitySettingsStore as aM, EnumCaptionPipe as aN, EnumControlInfoModel as aO, ExecuteDynamicCommand as aP, ExecuteWorkflowChoiceDef as aQ, ExistsColumnsPipe as aR, FORM_DIALOG_COMPONENT as aS, FieldBaseComponent as aT, FieldBaseController as aU, FieldDirective as aV, FieldInfoTypeEnum as aW, FieldUiComponent as aX, FieldViewBase as aY, FileControlInfoModel as aZ, FileInfoCountPipe as a_, ComboRowImagePipe as aa, CommandControlInfoModel as ab, ContainerComponent as ac, ContainerService as ad, ContextMenuPipe as ae, ControlUiPipe as af, ConvertToStylePipe as ag, CopyDirective as ah, CountDownDirective as ai, CustomCommand as aj, CustomInjector as ak, CustomRouteReuseStrategy as al, DEFAULT_REPORT_LAYOUT_POLICY as am, DIALOG_SERVICE as an, DateHijriService as ao, DateMiladiService as ap, DateRanges as aq, DateService as ar, DateShamsiService as as, DateTimeControlInfoModel as at, DefaultCommandsAccessValue as au, DefaultGridSetting as av, DeviceWidth as aw, DialogParams as ax, DynamicCommandDirective as ay, DynamicDarkColorPipe as az, AddDynamicFormStyles as b, LabelStarTrimPipe as b$, FilesValidationHelper as b0, FillAllLayoutControls as b1, FillEmptySpaceDirective as b2, FilterColumnsByDetailsPipe as b3, FilterInlineActionListPipe as b4, FilterPipe as b5, FilterStringPipe as b6, FilterTabPipe as b7, FilterToolbarControlPipe as b8, FilterWorkflowInMobilePipe as b9, GetImgTags as bA, GetViewableExtensions as bB, GetVisibleValue as bC, GridSetting as bD, GroupBy as bE, GroupByPipe as bF, GroupByService as bG, HeaderFacetValuePipe as bH, HideAcceptCancelButtonsPipe as bI, HideColumnsInmobilePipe as bJ, HistoryControlInfoModel as bK, HorizontalLayoutService as bL, HorizontalResponsiveDirective as bM, IconControlInfoModel as bN, IdbService as bO, ImageLazyDirective as bP, ImageMimeType as bQ, ImagetoPrint as bR, InMemoryStorageService as bS, IndexedDbService as bT, InputNumber as bU, IntersectionObserverDirective as bV, IntersectionStatus as bW, IsDarkMode as bX, IsExpandedNodePipe as bY, IsImagePipe as bZ, ItemsRendererDirective as b_, FindColumnByDbNamePipe as ba, FindColumnsPipe as bb, FindGroup as bc, FindLayoutSettingFromLayout94 as bd, FindPreviewColumnPipe as be, FindToolbarItem as bf, FioriIconPipe as bg, FormBaseComponent as bh, FormCloseDirective as bi, FormComponent as bj, FormFieldReportPageComponent as bk, FormNewComponent as bl, FormPageBaseComponent as bm, FormPageComponent as bn, FormPanelService as bo, FormPropsBaseComponent as bp, FormService as bq, FormToolbarBaseComponent as br, FormToolbarButton as bs, GaugeControlInfoModel as bt, GeneralControlInfoModel as bu, GetAllColumnsSorted as bv, GetAllHorizontalFromLayout94 as bw, GetContentType as bx, GetCssVariableValuePipe as by, GetDefaultMoObjectInfo as bz, AffixRespondEvents as c, PushCheckService as c$, LabelmandatoryDirective as c0, LayoutItemBaseComponent as c1, LayoutMainContentService as c2, LayoutPanelBaseComponent as c3, LayoutService as c4, LeafletLongPressDirective as c5, LinearListControlInfoModel as c6, LinearListHelper as c7, ListCountPipe as c8, ListRelationModel as c9, NotificationService as cA, NowraptextDirective as cB, NumberBaseComponent as cC, NumberControlInfoModel as cD, NumbersOnlyInputDirective as cE, NumeralPipe as cF, OverflowTextDirective as cG, PageBaseComponent as cH, PageWithFormHandlerBaseComponent as cI, PdfMimeType as cJ, PictureFieldSourcePipe as cK, PictureFileControlInfoModel as cL, PicturesByGroupIdPipe as cM, PlaceHolderDirective as cN, PortalDynamicPageResolver as cO, PortalFormPageResolver as cP, PortalPageComponent as cQ, PortalPageResolver as cR, PortalPageSidebarComponent as cS, PortalReportPageResolver as cT, PortalService as cU, PreventDefaulEvent as cV, PreventDefaultDirective as cW, PrintFilesDirective as cX, PrintImage as cY, PromptUpdateService as cZ, PushBannerComponent as c_, LoadExternalFilesDirective as ca, LocalStorageService as cb, LogService as cc, LoginSettingsResolver as cd, MapToChatMessagePipe as ce, MasterDetailsPageComponent as cf, MeasureFormTitleWidthDirective as cg, MergeFieldsToColumnsPipe as ch, MetaobjectDataModel as ci, MetaobjectRelationModel as cj, MimeTypes as ck, MoForReportModel as cl, MoForReportModelBase as cm, MoInfoUlvMoListPipe as cn, MoInfoUlvPagingPipe as co, MoLinkerDirective as cp, MoReportValueConcatPipe as cq, MoReportValuePipe as cr, MoValuePipe as cs, MobileDirective as ct, ModalRootComponent as cu, MultipleGroupByPipe as cv, NOTIFICATAION_POPUP_SERVER as cw, NOTIFICATION_WEBWORKER_FACTORY as cx, NetworkStatusService as cy, NotFoundComponent as cz, AllFilesMimeType as d, SimpleTemplateEngine as d$, PushNotificationService as d0, REPORT_GRID_VIEWPORT_CLASS as d1, REPORT_TYPE_DEFAULT_POLICIES as d2, RUNTIME_NAV_STATE_SCHEMA_V1 as d3, RabetehAkseTakiListiControlInfoModel as d4, RedirectHomeGuard as d5, RelatedReportControlInfoModel as d6, RelationListControlInfoModel as d7, RemoveDynamicFormStyles as d8, RemoveNewlinePipe as d9, ReversePipe as dA, RichStringControlInfoModel as dB, RootPageComponent as dC, RootPortalComponent as dD, RotateImage as dE, RouteFormChangeDirective as dF, RoutingService as dG, RowDataOption as dH, RowNumberPipe as dI, RowState as dJ, RuntimeNavStateCacheService as dK, SafeBottomDirective as dL, SanitizeTextPipe as dM, SaveImageDirective as dN, SaveImageToFile as dO, SaveScrollPositionService as dP, ScopedCssPipe as dQ, ScrollLayoutContextHolder as dR, ScrollPersistDirective as dS, ScrollToSelectedDirective as dT, SelectionMode as dU, SeperatorFixPipe as dV, ServiceWorkerCommuncationService as dW, ServiceWorkerNotificationService as dX, ShellbarHeightService as dY, ShortcutHandlerDirective as dZ, ShortcutRegisterDirective as d_, RenderUlvDirective as da, RenderUlvPaginDirective as db, RenderUlvViewerDirective as dc, ReplacePipe as dd, ReportActionListPipe as de, ReportBaseComponent as df, ReportBaseInfo as dg, ReportBreadcrumbResolver as dh, ReportCalendarModel as di, ReportContainerComponent as dj, ReportExtraInfo as dk, ReportField as dl, ReportFormModel as dm, ReportItemBaseComponent as dn, ReportListModel as dp, ReportModel as dq, ReportNavigatorComponent as dr, ReportTreeModel as ds, ReportViewBaseComponent as dt, ReportViewColumn as du, ResizableComponent as dv, ResizableDirective as dw, ResizableModule as dx, ResizeHandlerDirective as dy, ResizeObserverDirective as dz, AnchorScrollDirective as e, forbiddenValidator as e$, SimplebarDirective as e0, SingleRelationControlInfoModel as e1, SortDirection as e2, SortPipe as e3, SortSetting as e4, SplideSliderDirective as e5, SplitPipe as e6, SplitterComponent as e7, StopPropagationDirective as e8, StringControlInfoModel as e9, WebOtpDirective as eA, WordMimeType as eB, WorfkflowwChoiceCommandDirective as eC, addCssVariableToRoot as eD, addDynamicVariableTo as eE, availablePrefixes as eF, bodyClick as eG, buildRuntimeNavStateCacheKey as eH, calcContextMenuWidth as eI, calculateColumnContent as eJ, calculateColumnWidth as eK, calculateColumnWidthFitToContainer as eL, calculateFreeColumnSize as eM, calculateMoDataListContentWidthByColumnName as eN, cancelRequestAnimationFrame as eO, checkPermission as eP, compareVersions as eQ, contextDefaultsFromEnvironment as eR, createFormPanelMetaConditions as eS, createGridEditorFormPanel as eT, easeInOutCubic as eU, elementInViewport2 as eV, enumValueToStringSize as eW, executeUlvCommandHandler as eX, extractLayoutPolicyFromView as eY, fixUnclosedParentheses as eZ, flattenTree as e_, StringToNumberPipe as ea, SubformControlInfoModel as eb, SystemBaseComponent as ec, TEMPLATE_ENGINE as ed, TOAST_SERVICE as ee, TableHeaderWidthMode as ef, TableResizerDirective as eg, TabpageService as eh, ThImageOrIconePipe as ei, TileGroupBreadcrumResolver as ej, TilePropsComponent as ek, TlbButtonsPipe as el, ToolbarSettingsPipe as em, TooltipDirective as en, TotalSummaryPipe as eo, UiService as ep, UlvCommandDirective as eq, UlvHeightSizeType as er, UlvMainService as es, UnlimitSessionComponent as et, UntilInViewDirective as eu, UploadService as ev, VideoMimeType as ew, VideoRecordingService as ex, ViewBase as ey, VisibleValuePipe as ez, formRoutes as f, toNumber as f$, formatBytes as f0, fromEntries as f1, fromIntersectionObserver as f2, genrateInlineMoId as f3, getAllItemsPerChildren as f4, getColumnValueOfMoDataList as f5, getComponentDefined as f6, getControlList as f7, getControlSizeMode as f8, getDateService as f9, isImage as fA, isInLocalMode as fB, isSafari as fC, isTargetWindow as fD, isVersionBiggerThan as fE, measureText as fF, measureText2 as fG, measureTextBy as fH, mobile_regex as fI, multilevelSort as fJ, nullOrUndefinedString as fK, number_only as fL, removeDynamicStyle as fM, requestAnimationFramePolyfill as fN, resolveFinalScroll as fO, resolveReportLayoutPolicy as fP, scrollLayoutModeToContextEnvironment as fQ, scrollToElement as fR, searchEx as fS, setColumnWidthByMaxMoContentWidth as fT, setOneDepthLevel as fU, setTableThWidth as fV, shallowEqual as fW, sort as fX, sortEx as fY, stopPropagation as fZ, throwIfAlreadyLoaded as f_, getDeviceIsDesktop as fa, getDeviceIsMobile as fb, getDeviceIsPhone as fc, getDeviceIsTablet as fd, getFieldValue as fe, getFocusableTagNames as ff, getFormSettings as fg, getGridSettings as fh, getHeaderValue as fi, getIcon as fj, getImagePath as fk, getLabelWidth as fl, getLayout94ObjectInfo as fm, getLayoutControl as fn, getNestedValue as fo, getNewMoGridEditor as fp, getParentHeight as fq, getReportTypeDefaultPolicy as fr, getRequestAnimationFrame as fs, getResetGridSettings as ft, getTargetRect as fu, getUniqueId as fv, getValidExtension as fw, isFF as fx, isFirefox as fy, isFunction as fz, ApiService as g, validateAllFormFields as g0, ApplicationBaseComponent as h, ApplicationCtrlrService as i, AttrRtlDirective as j, AudioMimeType as k, AudioRecordingService as l, AuthGuard as m, BarsaApi as n, BarsaDialogService as o, BarsaIconDictPipe as p, BarsaNovinRayCoreModule as q, reportRoutes as r, BarsaReadonlyDirective as s, BarsaSapUiFormPageModule as t, BarsaStorageService as u, BaseColumnPropsComponent as v, BaseComponent as w, BaseController as x, BaseDirective as y, BaseDynamicComponent as z };
|
|
20392
|
-
//# sourceMappingURL=barsa-novin-ray-core-barsa-novin-ray-core-
|
|
20601
|
+
export { ColSetting as $, APP_VERSION as A, BaseModule as B, BaseFormToolbaritemPropsComponent as C, DynamicComponentService as D, BaseItemContentPropsComponent as E, BaseReportModel as F, BaseSettingsService as G, BaseUlvSettingComponent as H, BaseViewContentPropsComponent as I, BaseViewItemPropsComponent as J, BaseViewPropsComponent as K, BbbTranslatePipe as L, BodyClickDirective as M, BoolControlInfoModel as N, BreadcrumbService as O, ButtonLoadingComponent as P, CalculateControlInfoModel as Q, ReportEmptyPageComponent as R, CalendarSettingsStore as S, CanUploadFilePipe as T, CardBaseItemContentPropsComponent as U, CardDynamicItemComponent as V, CardMediaSizePipe as W, CardViewService as X, ChangeLayoutInfoCustomUi as Y, ChunkArrayPipe as Z, CodeEditorControlInfoModel as _, AbsoluteDivBodyDirective as a, FileInfoCountPipe as a$, ColumnCustomComponentPipe as a0, ColumnCustomUiPipe as a1, ColumnIconPipe as a2, ColumnRendererBase as a3, ColumnRendererViewBase as a4, ColumnResizerDirective as a5, ColumnService as a6, ColumnValueDirective as a7, ColumnValueOfParametersPipe as a8, ColumnValuePipe as a9, DynamicDarkColorPipe as aA, DynamicFormComponent as aB, DynamicFormToolbaritemComponent as aC, DynamicItemComponent as aD, DynamicLayoutComponent as aE, DynamicRootVariableDirective as aF, DynamicStyleDirective as aG, DynamicUlvPagingComponent as aH, DynamicUlvToolbarComponent as aI, EllapsisTextDirective as aJ, EllipsifyDirective as aK, EmptyPageComponent as aL, EmptyPageWithRouterAndRouterOutletComponent as aM, EntitySettingsStore as aN, EnumCaptionPipe as aO, EnumControlInfoModel as aP, ExecuteDynamicCommand as aQ, ExecuteWorkflowChoiceDef as aR, ExistsColumnsPipe as aS, FORM_DIALOG_COMPONENT as aT, FieldBaseComponent as aU, FieldBaseController as aV, FieldDirective as aW, FieldInfoTypeEnum as aX, FieldUiComponent as aY, FieldViewBase as aZ, FileControlInfoModel as a_, ComboRowImagePipe as aa, CommandControlInfoModel as ab, ContainerComponent as ac, ContainerService as ad, ContextMenuPipe as ae, ControlUiPipe as af, ConvertToStylePipe as ag, CopyDirective as ah, CountDownDirective as ai, CustomCommand as aj, CustomInjector as ak, CustomRouteReuseStrategy as al, CustomUiRegistryService as am, DEFAULT_REPORT_LAYOUT_POLICY as an, DIALOG_SERVICE as ao, DateHijriService as ap, DateMiladiService as aq, DateRanges as ar, DateService as as, DateShamsiService as at, DateTimeControlInfoModel as au, DefaultCommandsAccessValue as av, DefaultGridSetting as aw, DeviceWidth as ax, DialogParams as ay, DynamicCommandDirective as az, AddDynamicFormStyles as b, ItemsRendererDirective as b$, FilePictureInfoModel as b0, FilesValidationHelper as b1, FillAllLayoutControls as b2, FillEmptySpaceDirective as b3, FilterColumnsByDetailsPipe as b4, FilterInlineActionListPipe as b5, FilterPipe as b6, FilterStringPipe as b7, FilterTabPipe as b8, FilterToolbarControlPipe as b9, GetDefaultMoObjectInfo as bA, GetImgTags as bB, GetViewableExtensions as bC, GetVisibleValue as bD, GridSetting as bE, GroupBy as bF, GroupByPipe as bG, GroupByService as bH, HeaderFacetValuePipe as bI, HideAcceptCancelButtonsPipe as bJ, HideColumnsInmobilePipe as bK, HistoryControlInfoModel as bL, HorizontalLayoutService as bM, HorizontalResponsiveDirective as bN, IconControlInfoModel as bO, IdbService as bP, ImageLazyDirective as bQ, ImageMimeType as bR, ImagetoPrint as bS, InMemoryStorageService as bT, IndexedDbService as bU, InputNumber as bV, IntersectionObserverDirective as bW, IntersectionStatus as bX, IsDarkMode as bY, IsExpandedNodePipe as bZ, IsImagePipe as b_, FilterWorkflowInMobilePipe as ba, FindColumnByDbNamePipe as bb, FindColumnsPipe as bc, FindGroup as bd, FindLayoutSettingFromLayout94 as be, FindPreviewColumnPipe as bf, FindToolbarItem as bg, FioriIconPipe as bh, FormBaseComponent as bi, FormCloseDirective as bj, FormComponent as bk, FormFieldReportPageComponent as bl, FormNewComponent as bm, FormPageBaseComponent as bn, FormPageComponent as bo, FormPanelService as bp, FormPropsBaseComponent as bq, FormService as br, FormToolbarBaseComponent as bs, FormToolbarButton as bt, GaugeControlInfoModel as bu, GeneralControlInfoModel as bv, GetAllColumnsSorted as bw, GetAllHorizontalFromLayout94 as bx, GetContentType as by, GetCssVariableValuePipe as bz, AffixRespondEvents as c, PushBannerComponent as c$, LabelStarTrimPipe as c0, LabelmandatoryDirective as c1, LayoutItemBaseComponent as c2, LayoutMainContentService as c3, LayoutPanelBaseComponent as c4, LayoutService as c5, LeafletLongPressDirective as c6, LinearListControlInfoModel as c7, LinearListHelper as c8, ListCountPipe as c9, NotFoundComponent as cA, NotificationService as cB, NowraptextDirective as cC, NumberBaseComponent as cD, NumberControlInfoModel as cE, NumbersOnlyInputDirective as cF, NumeralPipe as cG, OverflowTextDirective as cH, PageBaseComponent as cI, PageWithFormHandlerBaseComponent as cJ, PdfMimeType as cK, PictureFieldSourcePipe as cL, PictureFileControlInfoModel as cM, PicturesByGroupIdPipe as cN, PlaceHolderDirective as cO, PortalDynamicPageResolver as cP, PortalFormPageResolver as cQ, PortalPageComponent as cR, PortalPageResolver as cS, PortalPageSidebarComponent as cT, PortalReportPageResolver as cU, PortalService as cV, PreventDefaulEvent as cW, PreventDefaultDirective as cX, PrintFilesDirective as cY, PrintImage as cZ, PromptUpdateService as c_, ListRelationModel as ca, LoadExternalFilesDirective as cb, LocalStorageService as cc, LogService as cd, LoginSettingsResolver as ce, MapToChatMessagePipe as cf, MasterDetailsPageComponent as cg, MeasureFormTitleWidthDirective as ch, MergeFieldsToColumnsPipe as ci, MetaobjectDataModel as cj, MetaobjectRelationModel as ck, MimeTypes as cl, MoForReportModel as cm, MoForReportModelBase as cn, MoInfoUlvMoListPipe as co, MoInfoUlvPagingPipe as cp, MoLinkerDirective as cq, MoReportValueConcatPipe as cr, MoReportValuePipe as cs, MoValuePipe as ct, MobileDirective as cu, ModalRootComponent as cv, MultipleGroupByPipe as cw, NOTIFICATAION_POPUP_SERVER as cx, NOTIFICATION_WEBWORKER_FACTORY as cy, NetworkStatusService as cz, AllFilesMimeType as d, ShortcutRegisterDirective as d$, PushCheckService as d0, PushNotificationService as d1, REPORT_GRID_VIEWPORT_CLASS as d2, REPORT_TYPE_DEFAULT_POLICIES as d3, RUNTIME_NAV_STATE_SCHEMA_V1 as d4, RabetehAkseTakiListiControlInfoModel as d5, RedirectHomeGuard as d6, RelatedReportControlInfoModel as d7, RelationListControlInfoModel as d8, RemoveDynamicFormStyles as d9, ResizeObserverDirective as dA, ReversePipe as dB, RichStringControlInfoModel as dC, RootPageComponent as dD, RootPortalComponent as dE, RotateImage as dF, RouteFormChangeDirective as dG, RoutingService as dH, RowDataOption as dI, RowNumberPipe as dJ, RowState as dK, RuntimeNavStateCacheService as dL, SafeBottomDirective as dM, SanitizeTextPipe as dN, SaveImageDirective as dO, SaveImageToFile as dP, SaveScrollPositionService as dQ, ScopedCssPipe as dR, ScrollLayoutContextHolder as dS, ScrollPersistDirective as dT, ScrollToSelectedDirective as dU, SelectionMode as dV, SeperatorFixPipe as dW, ServiceWorkerCommuncationService as dX, ServiceWorkerNotificationService as dY, ShellbarHeightService as dZ, ShortcutHandlerDirective as d_, RemoveNewlinePipe as da, RenderUlvDirective as db, RenderUlvPaginDirective as dc, RenderUlvViewerDirective as dd, ReplacePipe as de, ReportActionListPipe as df, ReportBaseComponent as dg, ReportBaseInfo as dh, ReportBreadcrumbResolver as di, ReportCalendarModel as dj, ReportContainerComponent as dk, ReportExtraInfo as dl, ReportField as dm, ReportFormModel as dn, ReportItemBaseComponent as dp, ReportListModel as dq, ReportModel as dr, ReportNavigatorComponent as ds, ReportTreeModel as dt, ReportViewBaseComponent as du, ReportViewColumn as dv, ResizableComponent as dw, ResizableDirective as dx, ResizableModule as dy, ResizeHandlerDirective as dz, AnchorScrollDirective as e, flattenTree as e$, SimpleTemplateEngine as e0, SimplebarDirective as e1, SingleRelationControlInfoModel as e2, SortDirection as e3, SortPipe as e4, SortSetting as e5, SplideSliderDirective as e6, SplitPipe as e7, SplitterComponent as e8, StopPropagationDirective as e9, VisibleValuePipe as eA, WebOtpDirective as eB, WordMimeType as eC, WorfkflowwChoiceCommandDirective as eD, addCssVariableToRoot as eE, addDynamicVariableTo as eF, availablePrefixes as eG, bodyClick as eH, buildRuntimeNavStateCacheKey as eI, calcContextMenuWidth as eJ, calculateColumnContent as eK, calculateColumnWidth as eL, calculateColumnWidthFitToContainer as eM, calculateFreeColumnSize as eN, calculateMoDataListContentWidthByColumnName as eO, cancelRequestAnimationFrame as eP, checkPermission as eQ, compareVersions as eR, contextDefaultsFromEnvironment as eS, createFormPanelMetaConditions as eT, createGridEditorFormPanel as eU, easeInOutCubic as eV, elementInViewport2 as eW, enumValueToStringSize as eX, executeUlvCommandHandler as eY, extractLayoutPolicyFromView as eZ, fixUnclosedParentheses as e_, StringControlInfoModel as ea, StringToNumberPipe as eb, SubformControlInfoModel as ec, SystemBaseComponent as ed, TEMPLATE_ENGINE as ee, TOAST_SERVICE as ef, TableHeaderWidthMode as eg, TableResizerDirective as eh, TabpageService as ei, ThImageOrIconePipe as ej, TileGroupBreadcrumResolver as ek, TilePropsComponent as el, TlbButtonsPipe as em, ToolbarSettingsPipe as en, TooltipDirective as eo, TotalSummaryPipe as ep, UiService as eq, UlvCommandDirective as er, UlvHeightSizeType as es, UlvMainService as et, UnlimitSessionComponent as eu, UntilInViewDirective as ev, UploadService as ew, VideoMimeType as ex, VideoRecordingService as ey, ViewBase as ez, formRoutes as f, stopPropagation as f$, forbiddenValidator as f0, formatBytes as f1, fromEntries as f2, fromIntersectionObserver as f3, genrateInlineMoId as f4, getAllItemsPerChildren as f5, getColumnValueOfMoDataList as f6, getComponentDefined as f7, getControlList as f8, getControlSizeMode as f9, isFunction as fA, isIOS as fB, isImage as fC, isInLocalMode as fD, isSafari as fE, isTargetWindow as fF, isVersionBiggerThan as fG, measureText as fH, measureText2 as fI, measureTextBy as fJ, mobile_regex as fK, multilevelSort as fL, nullOrUndefinedString as fM, number_only as fN, removeDynamicStyle as fO, requestAnimationFramePolyfill as fP, resolveFinalScroll as fQ, resolveReportLayoutPolicy as fR, scrollLayoutModeToContextEnvironment as fS, scrollToElement as fT, searchEx as fU, setColumnWidthByMaxMoContentWidth as fV, setOneDepthLevel as fW, setTableThWidth as fX, shallowEqual as fY, sort as fZ, sortEx as f_, getDateService as fa, getDeviceIsDesktop as fb, getDeviceIsMobile as fc, getDeviceIsPhone as fd, getDeviceIsTablet as fe, getFieldValue as ff, getFocusableTagNames as fg, getFormSettings as fh, getGridSettings as fi, getHeaderValue as fj, getIcon as fk, getImagePath as fl, getLabelWidth as fm, getLayout94ObjectInfo as fn, getLayoutControl as fo, getNestedValue as fp, getNewMoGridEditor as fq, getParentHeight as fr, getReportTypeDefaultPolicy as fs, getRequestAnimationFrame as ft, getResetGridSettings as fu, getTargetRect as fv, getUniqueId as fw, getValidExtension as fx, isFF as fy, isFirefox as fz, ApiService as g, throwIfAlreadyLoaded as g0, toNumber as g1, validateAllFormFields as g2, ApplicationBaseComponent as h, ApplicationCtrlrService as i, AttrRtlDirective as j, AudioMimeType as k, AudioRecordingService as l, AuthGuard as m, BarsaApi as n, BarsaDialogService as o, BarsaIconDictPipe as p, BarsaNovinRayCoreModule as q, reportRoutes as r, BarsaReadonlyDirective as s, BarsaSapUiFormPageModule as t, BarsaStorageService as u, BaseColumnPropsComponent as v, BaseComponent as w, BaseController as x, BaseDirective as y, BaseDynamicComponent as z };
|
|
20602
|
+
//# sourceMappingURL=barsa-novin-ray-core-barsa-novin-ray-core-a524W8nV.mjs.map
|