barsa-novin-ray-core 2.3.136 → 2.3.141

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.
@@ -184,6 +184,219 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
184
184
  args: [{ selector: 'bnrc-empty-page-with-router-and-router-outlet', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-container #containerRef></ng-container>\r\n<router-outlet></router-outlet>\r\n<router-outlet name=\"main\"></router-outlet>\r\n" }]
185
185
  }], ctorParameters: () => [] });
186
186
 
187
+ class GeneralControlInfoModel {
188
+ constructor() {
189
+ this.ShowLabel = true;
190
+ }
191
+ }
192
+ class StringControlInfoModel extends GeneralControlInfoModel {
193
+ }
194
+ class RichStringControlInfoModel extends StringControlInfoModel {
195
+ }
196
+ class NumberControlInfoModel extends GeneralControlInfoModel {
197
+ }
198
+ class FilePictureInfoModel extends GeneralControlInfoModel {
199
+ }
200
+ class FileControlInfoModel extends GeneralControlInfoModel {
201
+ }
202
+ class CommandControlInfoModel extends GeneralControlInfoModel {
203
+ }
204
+ class IconControlInfoModel extends GeneralControlInfoModel {
205
+ }
206
+ class PictureFileControlInfoModel extends GeneralControlInfoModel {
207
+ }
208
+ class GaugeControlInfoModel extends GeneralControlInfoModel {
209
+ }
210
+ class RelationListControlInfoModel extends GeneralControlInfoModel {
211
+ }
212
+ class HistoryControlInfoModel extends RelationListControlInfoModel {
213
+ }
214
+ class RabetehAkseTakiListiControlInfoModel extends RelationListControlInfoModel {
215
+ }
216
+ class RelatedReportControlInfoModel extends GeneralControlInfoModel {
217
+ }
218
+ class CodeEditorControlInfoModel extends GeneralControlInfoModel {
219
+ }
220
+ class EnumControlInfoModel extends GeneralControlInfoModel {
221
+ }
222
+ class RowDataOption {
223
+ }
224
+ class DateTimeControlInfoModel extends GeneralControlInfoModel {
225
+ }
226
+ class BoolControlInfoModel extends GeneralControlInfoModel {
227
+ }
228
+ class CalculateControlInfoModel extends GeneralControlInfoModel {
229
+ }
230
+ class SubformControlInfoModel extends GeneralControlInfoModel {
231
+ }
232
+ class LinearListControlInfoModel extends GeneralControlInfoModel {
233
+ }
234
+ class ListRelationModel {
235
+ }
236
+ class SingleRelationControlInfoModel extends GeneralControlInfoModel {
237
+ }
238
+ class MetaobjectDataModel {
239
+ }
240
+ class MoForReportModelBase {
241
+ }
242
+ class MoForReportModel extends MoForReportModelBase {
243
+ constructor() {
244
+ super();
245
+ this.DeletedList = this.AddedList = this.MoDataList = [];
246
+ }
247
+ }
248
+ class ReportBaseInfo {
249
+ }
250
+ class FormToolbarButton {
251
+ }
252
+ class ReportExtraInfo extends ReportBaseInfo {
253
+ }
254
+ class MetaobjectRelationModel extends ListRelationModel {
255
+ }
256
+ var FieldInfoTypeEnum;
257
+ (function (FieldInfoTypeEnum) {
258
+ FieldInfoTypeEnum[FieldInfoTypeEnum["IntInfo"] = 0] = "IntInfo";
259
+ FieldInfoTypeEnum[FieldInfoTypeEnum["StringInfo"] = 2] = "StringInfo";
260
+ FieldInfoTypeEnum[FieldInfoTypeEnum["DateInfo"] = 3] = "DateInfo";
261
+ FieldInfoTypeEnum[FieldInfoTypeEnum["BoolInfo"] = 5] = "BoolInfo";
262
+ FieldInfoTypeEnum[FieldInfoTypeEnum["EnumInfo"] = 6] = "EnumInfo";
263
+ FieldInfoTypeEnum[FieldInfoTypeEnum["UserInfo"] = 7] = "UserInfo";
264
+ FieldInfoTypeEnum[FieldInfoTypeEnum["CategoryInfo"] = 8] = "CategoryInfo";
265
+ FieldInfoTypeEnum[FieldInfoTypeEnum["MetaObjectInfo"] = 9] = "MetaObjectInfo";
266
+ FieldInfoTypeEnum[FieldInfoTypeEnum["CommandInfo"] = 10] = "CommandInfo";
267
+ FieldInfoTypeEnum[FieldInfoTypeEnum["PicturesInfo"] = 11] = "PicturesInfo";
268
+ FieldInfoTypeEnum[FieldInfoTypeEnum["RelationInfo"] = 12] = "RelationInfo";
269
+ FieldInfoTypeEnum[FieldInfoTypeEnum["HistoryInfo"] = 13] = "HistoryInfo";
270
+ FieldInfoTypeEnum[FieldInfoTypeEnum["RelationInfoReverse_AksListi"] = 14] = "RelationInfoReverse_AksListi";
271
+ FieldInfoTypeEnum[FieldInfoTypeEnum["CreatorUserInfo"] = 15] = "CreatorUserInfo";
272
+ FieldInfoTypeEnum[FieldInfoTypeEnum["CreationDateInfo"] = 16] = "CreationDateInfo";
273
+ FieldInfoTypeEnum[FieldInfoTypeEnum["LastUpdateDateInfo"] = 17] = "LastUpdateDateInfo";
274
+ FieldInfoTypeEnum[FieldInfoTypeEnum["ReminderInfo"] = 18] = "ReminderInfo";
275
+ FieldInfoTypeEnum[FieldInfoTypeEnum["RichStringInfo"] = 19] = "RichStringInfo";
276
+ FieldInfoTypeEnum[FieldInfoTypeEnum["ConvertCommandInfo"] = 20] = "ConvertCommandInfo";
277
+ FieldInfoTypeEnum[FieldInfoTypeEnum["RelationInfoSingleReverse_AksTakiListi"] = 21] = "RelationInfoSingleReverse_AksTakiListi";
278
+ FieldInfoTypeEnum[FieldInfoTypeEnum["DialCommandInfo"] = 22] = "DialCommandInfo";
279
+ FieldInfoTypeEnum[FieldInfoTypeEnum["FindContactCommandInfo"] = 23] = "FindContactCommandInfo";
280
+ FieldInfoTypeEnum[FieldInfoTypeEnum["SequenceCommandInfo"] = 24] = "SequenceCommandInfo";
281
+ FieldInfoTypeEnum[FieldInfoTypeEnum["CurrencyInfo"] = 25] = "CurrencyInfo";
282
+ FieldInfoTypeEnum[FieldInfoTypeEnum["SinglePictureInfo"] = 26] = "SinglePictureInfo";
283
+ FieldInfoTypeEnum[FieldInfoTypeEnum["WordReportCommandInfo"] = 27] = "WordReportCommandInfo";
284
+ FieldInfoTypeEnum[FieldInfoTypeEnum["HierarchicalInfo"] = 28] = "HierarchicalInfo";
285
+ FieldInfoTypeEnum[FieldInfoTypeEnum["TimeSpanInfo"] = 29] = "TimeSpanInfo";
286
+ FieldInfoTypeEnum[FieldInfoTypeEnum["ReportInfo"] = 30] = "ReportInfo";
287
+ FieldInfoTypeEnum[FieldInfoTypeEnum["FileInfo"] = 31] = "FileInfo";
288
+ FieldInfoTypeEnum[FieldInfoTypeEnum["WordFileInfo"] = 32] = "WordFileInfo";
289
+ FieldInfoTypeEnum[FieldInfoTypeEnum["PictureFileInfo"] = 33] = "PictureFileInfo";
290
+ FieldInfoTypeEnum[FieldInfoTypeEnum["GaugeInfo"] = 34] = "GaugeInfo";
291
+ FieldInfoTypeEnum[FieldInfoTypeEnum["CodeInfo"] = 35] = "CodeInfo";
292
+ FieldInfoTypeEnum[FieldInfoTypeEnum["WorkCenterInfo"] = 36] = "WorkCenterInfo";
293
+ FieldInfoTypeEnum[FieldInfoTypeEnum["IsDeletedInfo"] = 37] = "IsDeletedInfo";
294
+ FieldInfoTypeEnum[FieldInfoTypeEnum["RowNumberInfo"] = 38] = "RowNumberInfo";
295
+ FieldInfoTypeEnum[FieldInfoTypeEnum["BinaryInfo"] = 39] = "BinaryInfo";
296
+ FieldInfoTypeEnum[FieldInfoTypeEnum["ReverseMetaObjectInfo_AksTakiTaki"] = 40] = "ReverseMetaObjectInfo_AksTakiTaki";
297
+ FieldInfoTypeEnum[FieldInfoTypeEnum["ColorInfo"] = 41] = "ColorInfo";
298
+ FieldInfoTypeEnum[FieldInfoTypeEnum["IconInfo"] = 42] = "IconInfo";
299
+ FieldInfoTypeEnum[FieldInfoTypeEnum["RefreshFieldCommandInfo"] = 43] = "RefreshFieldCommandInfo";
300
+ FieldInfoTypeEnum[FieldInfoTypeEnum["ReferenceFieldInfo"] = 44] = "ReferenceFieldInfo";
301
+ FieldInfoTypeEnum[FieldInfoTypeEnum["SearchCommandInfo"] = 45] = "SearchCommandInfo";
302
+ FieldInfoTypeEnum[FieldInfoTypeEnum["OrderInfo"] = 46] = "OrderInfo"; // 0x0000002E
303
+ })(FieldInfoTypeEnum || (FieldInfoTypeEnum = {}));
304
+ class BaseReportModel {
305
+ constructor() {
306
+ this.DefaultItemComponent = 'ReportDefaultItemComponent';
307
+ }
308
+ }
309
+ const DefaultCommandsAccessValue = {
310
+ Add: false,
311
+ AddToList: false,
312
+ Delete: false,
313
+ Edit: false,
314
+ Export: false,
315
+ Print: false,
316
+ Refresh: false,
317
+ RemoveFromList: false,
318
+ View: false
319
+ };
320
+ class CustomCommand {
321
+ }
322
+ class ReportModel extends BaseReportModel {
323
+ constructor() {
324
+ super();
325
+ }
326
+ }
327
+ class ReportListModel extends BaseReportModel {
328
+ }
329
+ class ReportFormModel extends BaseReportModel {
330
+ }
331
+ class ReportCalendarModel extends BaseReportModel {
332
+ }
333
+ class ReportTreeModel extends BaseReportModel {
334
+ }
335
+ class ReportViewColumn {
336
+ }
337
+ const DefaultGridSetting = {
338
+ ColSettingList: [],
339
+ AutoSizeColumns: false,
340
+ SortSettingList: [],
341
+ Hidden: true
342
+ };
343
+ class GridSetting {
344
+ }
345
+ class ColSetting {
346
+ }
347
+ class SortSetting {
348
+ }
349
+ class ReportField {
350
+ constructor(column, item) {
351
+ this.column = column;
352
+ this.item = item;
353
+ const name = column.Name;
354
+ this.caption = column.Caption;
355
+ this.value = this.item[name];
356
+ if (Number(column.FieldTypeId) === FieldInfoTypeEnum.DateInfo) {
357
+ this.value = this.item[name + '$Caption'];
358
+ }
359
+ if (Number(column.FieldTypeId) === FieldInfoTypeEnum.IconInfo) {
360
+ this.value = this.item[name].Url;
361
+ }
362
+ }
363
+ }
364
+ const DateRanges = [
365
+ 'DateR_None',
366
+ 'DateR_SpecificRange',
367
+ 'DateR_Today',
368
+ 'DateR_ThisWeek',
369
+ 'DateR_ThisMonth',
370
+ 'DateR_ThisYear',
371
+ 'DateR_DaysBefore',
372
+ 'DateR_PrevWeek',
373
+ 'DateR_PrevMonth',
374
+ 'DateR_PrevYear',
375
+ 'DateR_DaysAfter',
376
+ 'DateR_NextWeek',
377
+ 'DateR_NextMonth',
378
+ 'DateR_NextYear'
379
+ ];
380
+ var SortDirection;
381
+ (function (SortDirection) {
382
+ SortDirection["NONE"] = "none";
383
+ SortDirection["ASC"] = "asc";
384
+ SortDirection["DESC"] = "desc";
385
+ })(SortDirection || (SortDirection = {}));
386
+ var SelectionMode;
387
+ (function (SelectionMode) {
388
+ SelectionMode["SINGLE"] = "single";
389
+ SelectionMode["MULTIPLE"] = "multiple";
390
+ SelectionMode["NONE"] = "none";
391
+ })(SelectionMode || (SelectionMode = {}));
392
+ var UlvHeightSizeType;
393
+ (function (UlvHeightSizeType) {
394
+ UlvHeightSizeType[UlvHeightSizeType["Default"] = 0] = "Default";
395
+ UlvHeightSizeType[UlvHeightSizeType["FillPage"] = 1] = "FillPage";
396
+ UlvHeightSizeType[UlvHeightSizeType["DesignSize"] = 2] = "DesignSize";
397
+ UlvHeightSizeType[UlvHeightSizeType["CustomSize"] = 3] = "CustomSize";
398
+ })(UlvHeightSizeType || (UlvHeightSizeType = {}));
399
+
187
400
  class DateService {
188
401
  constructor() {
189
402
  this.logService = new LogService();
@@ -1576,7 +1789,7 @@ function getLabelWidth(item) {
1576
1789
  // labelCaption = labelCaption.replace('*', '');
1577
1790
  // }
1578
1791
  labelCaption += ':';
1579
- const labelWidth = measureText(labelCaption);
1792
+ const labelWidth = measureTextBy(labelCaption);
1580
1793
  let labelWithPadding = labelWidth + 10;
1581
1794
  if (item.FieldUi?.Setting?.FieldIcon) {
1582
1795
  labelWithPadding += 24;
@@ -4802,6 +5015,7 @@ class FormPanelService extends BaseComponent {
4802
5015
  this._headerDescriptionSource = new BehaviorSubject('');
4803
5016
  this._hideFooter$ = new BehaviorSubject(false);
4804
5017
  this._canSend$ = new BehaviorSubject(false);
5018
+ this._isModal = new BehaviorSubject(false);
4805
5019
  this._router = inject(Router);
4806
5020
  this._activatedRoute = inject(ActivatedRoute);
4807
5021
  this.context$ = this._contextSource.asObservable().pipe(tap((context) => this._prepareContext(context)), takeUntil(this._onDestroy$));
@@ -4892,6 +5106,9 @@ class FormPanelService extends BaseComponent {
4892
5106
  }
4893
5107
  this._contextSource.next(val);
4894
5108
  }
5109
+ setIsModal(isModal) {
5110
+ this._isModal.next(isModal);
5111
+ }
4895
5112
  hideFooter(hideFooter) {
4896
5113
  this._hideFooter$.next(hideFooter);
4897
5114
  }
@@ -5162,7 +5379,8 @@ class FormPanelService extends BaseComponent {
5162
5379
  }
5163
5380
  _refresh() {
5164
5381
  this._initialize(this._context);
5165
- if (this._context?.IsSubForm) {
5382
+ const isModal = BarsaApi.Common.Util.TryGetValue(this, '_context.Setting.IsModal', false);
5383
+ if (this._context?.IsSubForm || isModal || this._isModal.getValue()) {
5166
5384
  return;
5167
5385
  }
5168
5386
  const mo = this._moSource.getValue();
@@ -5732,9 +5950,10 @@ class ApplicationCtrlrService {
5732
5950
  // console.error(`system data for systemid ${systemId} not found.`);
5733
5951
  return;
5734
5952
  }
5735
- if (oldSystemId) {
5953
+ if (oldSystemId && !this._urlIsGloablPage()) {
5954
+ const href = window.location.href;
5736
5955
  const x = this._systemLocationHref$.getValue();
5737
- x[oldSystemId] = window.location.href;
5956
+ x[oldSystemId] = href;
5738
5957
  this._systemLocationHref$.next(x);
5739
5958
  if (systemId && x[systemId] && Object.keys(x).length > 1) {
5740
5959
  window.location.href = x[systemId];
@@ -5746,9 +5965,15 @@ class ApplicationCtrlrService {
5746
5965
  !systemData.IsActive && this._selectedSystemTitle$.next(systemData.Caption);
5747
5966
  this._customApplicationMenuBodyUi.fireEvent('SelectedSystemChanged', this._customApplicationMenuBodyUi, systemData);
5748
5967
  }
5968
+ setGlobalPages(pages) {
5969
+ this._gloablPages = pages;
5970
+ }
5749
5971
  selectAppTileGroup(id) {
5750
5972
  this._selectedAppTileGroup$.next(id);
5751
5973
  }
5974
+ setBasePath(basePath) {
5975
+ this._basePath = basePath;
5976
+ }
5752
5977
  setCommandGroupsSelected(commandGroupCaption) {
5753
5978
  const groupsSelected = this._selectedCommandGroups$.getValue();
5754
5979
  const selectedSystemId = this._selectedSystemId$.getValue();
@@ -5767,6 +5992,10 @@ class ApplicationCtrlrService {
5767
5992
  this.selectNavGroupItem(selectedNavGroupItemId);
5768
5993
  }
5769
5994
  selectSystemCommand(command) {
5995
+ // if (command && this._urlIsGloablPage()) {
5996
+ // const x = `${window.location.origin}/${this._basePath}`;
5997
+ // window.location.href = x;
5998
+ // }
5770
5999
  this.selectSystemCommandId(command.Key);
5771
6000
  new Promise((resolve, _reject) => {
5772
6001
  // this._routeToSystem(this._selectedSystemId$.getValue());
@@ -5873,6 +6102,9 @@ class ApplicationCtrlrService {
5873
6102
  }
5874
6103
  }
5875
6104
  }
6105
+ _urlIsGloablPage() {
6106
+ return this._gloablPages?.some((c) => window.location.href.indexOf(c.Route) > -1) ? true : false;
6107
+ }
5876
6108
  _routeToSystem(systemId) {
5877
6109
  this.systemChange(systemId);
5878
6110
  }
@@ -5901,22 +6133,10 @@ class ApplicationCtrlrService {
5901
6133
  }
5902
6134
  // ساخت یک CommandGroup به نام System
5903
6135
  _mergeToSystemGroup(commandGroups) {
5904
- const allCommands = [];
5905
6136
  for (const group of commandGroups) {
5906
6137
  !group.Caption && (group.Caption = 'Global');
5907
6138
  }
5908
- return commandGroups.filter((c) => c.Commands.length);
5909
- for (const group of commandGroups) {
5910
- allCommands.push(...this.flattenLeafCommands(group.Commands));
5911
- }
5912
- const systemGroup = {
5913
- Caption: 'All',
5914
- Name: 'All',
5915
- Key: 'All',
5916
- Order: 0,
5917
- Commands: allCommands
5918
- };
5919
- return systemGroup.Commands.length > 0 ? [systemGroup] : [];
6139
+ return commandGroups;
5920
6140
  }
5921
6141
  _handleEvents() {
5922
6142
  const context = BarsaApi.Ul.ApplicationCtrlr.Adapter.Control;
@@ -6045,7 +6265,7 @@ function reportRoutes(authGuard = false) {
6045
6265
  return {
6046
6266
  path: 'report/:id',
6047
6267
  canActivate: authGuard ? [AuthGuard] : [],
6048
- loadChildren: () => import('./barsa-novin-ray-core-barsa-report-page.module-BbA0tJ6I.mjs').then((m) => m.BarsaReportPageModule),
6268
+ loadChildren: () => import('./barsa-novin-ray-core-barsa-report-page.module-CJMzaCtb.mjs').then((m) => m.BarsaReportPageModule),
6049
6269
  resolve: {
6050
6270
  breadcrumb: ReportBreadcrumbResolver
6051
6271
  }
@@ -7179,7 +7399,7 @@ class UlvMainService {
7179
7399
  ? false
7180
7400
  : true
7181
7401
  }))
7182
- ]), map((c) => !c ? [] : [...c.filter((d) => !d.Command?.IsBuiltin), ...c.filter((d) => d.Command?.IsBuiltin)]), map((c) => c.reduce((acc, b) => (acc.length > 0 && acc[acc.length - 1]['0'] && b['0'] ? acc : [...acc, b]), [])), map((c) => this._setPriorityAndPriorityGroup(c)));
7402
+ ].reverse()), map((c) => !c ? [] : [...c.filter((d) => !d.Command?.IsBuiltin), ...c.filter((d) => d.Command?.IsBuiltin)]), map((c) => c.reduce((acc, b) => (acc.length > 0 && acc[acc.length - 1]['0'] && b['0'] ? acc : [...acc, b]), [])), map((c) => this._setPriorityAndPriorityGroup(c)));
7183
7403
  this.destroy$ = this._destroySource.asObservable().pipe(tap(() => this._unscubscribeContext()));
7184
7404
  this.moDataList$ = this.moDataListSource.asObservable().pipe();
7185
7405
  this.selectedCount$ = this.moDataList$.pipe(map((items) => items.filter((d) => d.$IsChecked).length));
@@ -8901,7 +9121,9 @@ class NotificationService {
8901
9121
  });
8902
9122
  }
8903
9123
  get SupportNotifications() {
8904
- return typeof Notification !== 'undefined' && this._serviceWorkerNotification.isEnabled;
9124
+ return (typeof Notification !== 'undefined' &&
9125
+ this._serviceWorkerNotification.isEnabled &&
9126
+ Notification.permission === 'granted');
8905
9127
  }
8906
9128
  showNotification(notificationItem, mo, uiOptions, otherOptions) {
8907
9129
  if (notificationItem.Title && notificationItem.Title.startsWith('[') && notificationItem.Title.endsWith(']')) {
@@ -9671,6 +9893,69 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
9671
9893
  args: [{ providedIn: 'root' }]
9672
9894
  }] });
9673
9895
 
9896
+ class SimpleTemplateEngine {
9897
+ constructor() {
9898
+ this.cache = new Map();
9899
+ }
9900
+ render(template, valueResolver) {
9901
+ if (!template) {
9902
+ return '';
9903
+ }
9904
+ let compiled = this.cache.get(template);
9905
+ if (!compiled) {
9906
+ compiled = this.compile(template);
9907
+ this.cache.set(template, compiled);
9908
+ }
9909
+ return compiled(valueResolver);
9910
+ }
9911
+ isSafeKey(key) {
9912
+ return /^[a-zA-Z0-9_.]+$/.test(key);
9913
+ }
9914
+ compile(template) {
9915
+ const tokens = [];
9916
+ const regex = /\[(.*?)\]/g;
9917
+ let lastIndex = 0;
9918
+ let match;
9919
+ while ((match = regex.exec(template))) {
9920
+ const index = match.index;
9921
+ if (index > lastIndex) {
9922
+ tokens.push(template.slice(lastIndex, index));
9923
+ }
9924
+ const key = match[1].trim();
9925
+ tokens.push((resolver) => {
9926
+ try {
9927
+ if (!this.isSafeKey(key)) {
9928
+ return '';
9929
+ }
9930
+ const value = resolver(key);
9931
+ if (value == null) {
9932
+ return '';
9933
+ }
9934
+ return String(value);
9935
+ }
9936
+ catch {
9937
+ return '';
9938
+ }
9939
+ });
9940
+ lastIndex = regex.lastIndex;
9941
+ }
9942
+ if (lastIndex < template.length) {
9943
+ tokens.push(template.slice(lastIndex));
9944
+ }
9945
+ return (resolver) => {
9946
+ let result = '';
9947
+ for (const token of tokens) {
9948
+ result += typeof token === 'string' ? token : token(resolver);
9949
+ }
9950
+ return result;
9951
+ };
9952
+ }
9953
+ }
9954
+ const TEMPLATE_ENGINE = new InjectionToken('TEMPLATE_ENGINE', {
9955
+ providedIn: 'root',
9956
+ factory: () => new SimpleTemplateEngine()
9957
+ });
9958
+
9674
9959
  class FieldBaseComponent extends BaseComponent {
9675
9960
  get customFieldInfo() {
9676
9961
  return this.context.Setting.CustomFieldInfo;
@@ -9691,6 +9976,10 @@ class FieldBaseComponent extends BaseComponent {
9691
9976
  ariaLabel: 'انتخاب'
9692
9977
  }
9693
9978
  };
9979
+ this.errorMessage = signal('');
9980
+ this.errorCode = signal(-1);
9981
+ this.injector = inject(Injector);
9982
+ // #endregion
9694
9983
  this._portalService = inject(PortalService);
9695
9984
  this._bbbPipe = inject(BbbTranslatePipe);
9696
9985
  this._picFieldSrc = inject(PictureFieldSourcePipe);
@@ -9722,21 +10011,17 @@ class FieldBaseComponent extends BaseComponent {
9722
10011
  }
9723
10012
  ngOnInit() {
9724
10013
  super.ngOnInit();
10014
+ this.controller?.init();
9725
10015
  if (this.context) {
9726
10016
  const elDom = this._el.nativeElement;
9727
10017
  this.context._el = elDom;
9728
10018
  !this.context.getEl && (this.context.getEl = () => ({ dom: elDom }));
9729
10019
  this.context.dom = this.el.nativeElement;
9730
10020
  this.context.id = this.id;
9731
- // this.context.rendered = true;
9732
10021
  this.Setting = this.context ? this.context.Setting : null;
9733
10022
  const readonly = this.context?.readOnly;
9734
10023
  this._setReadonly(readonly, false);
9735
10024
  this._setDisable(this.context.disable, false);
9736
- // this.parameters = BarsaApi.Common.Util.TryGetValue(this.context, 'Setting.CustomUi.Parameters', null);
9737
- // if (!this.parameters) {
9738
- // this.parameters = BarsaApi.Common.Util.TryGetValue(this.context, 'Setting.CustomUi.Settings', null);
9739
- // }
9740
10025
  this.JsonExtraProp = BarsaApi.Common.Util.TryGetValue(this.context, 'Setting.JsonExtraProp', null);
9741
10026
  }
9742
10027
  this._addListener();
@@ -9762,6 +10047,10 @@ class FieldBaseComponent extends BaseComponent {
9762
10047
  this._focusToFirstFocusableElement();
9763
10048
  }
9764
10049
  }
10050
+ showError(message, code) {
10051
+ this.errorMessage.set(message);
10052
+ this.errorCode.set(code);
10053
+ }
9765
10054
  fireContextEvent(event, value, value1, value2) {
9766
10055
  this.context.fireEvent(event, value, value1, value2);
9767
10056
  }
@@ -9835,7 +10124,7 @@ class FieldBaseComponent extends BaseComponent {
9835
10124
  }
9836
10125
  }
9837
10126
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FieldBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9838
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: FieldBaseComponent, isStandalone: false, selector: "bnrc-field-base", inputs: { context: "context", focusControl: "focusControl", layoutInfo: "layoutInfo", value: "value", width: "width", height: "height", formHeight: "formHeight", inlineEdit: "inlineEdit", cellEdit: "cellEdit", formContainer: "formContainer", id: "id", parametes: "parametes" }, outputs: { valueChange: "valueChange", formmatedValue: "formmatedValue" }, host: { properties: { "class.isMobile": "this.isMobile", "class.isTablet": "this.isTablet", "class.rtl": "this._rlt" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10127
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: FieldBaseComponent, isStandalone: false, selector: "bnrc-field-base", inputs: { context: "context", focusControl: "focusControl", layoutInfo: "layoutInfo", value: "value", width: "width", height: "height", formHeight: "formHeight", inlineEdit: "inlineEdit", cellEdit: "cellEdit", formContainer: "formContainer", id: "id", parametes: "parametes", settings: "settings" }, outputs: { valueChange: "valueChange", formmatedValue: "formmatedValue" }, host: { properties: { "class.isMobile": "this.isMobile", "class.isTablet": "this.isTablet", "class.rtl": "this._rlt" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9839
10128
  }
9840
10129
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FieldBaseComponent, decorators: [{
9841
10130
  type: Component,
@@ -9869,6 +10158,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
9869
10158
  type: Input
9870
10159
  }], parametes: [{
9871
10160
  type: Input
10161
+ }], settings: [{
10162
+ type: Input
9872
10163
  }], valueChange: [{
9873
10164
  type: Output
9874
10165
  }], formmatedValue: [{
@@ -9884,10 +10175,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
9884
10175
  args: ['class.rtl']
9885
10176
  }] } });
9886
10177
 
9887
- class FormBaseComponent extends BaseComponent {
10178
+ class FieldViewBase extends FieldBaseComponent {
9888
10179
  constructor() {
9889
- super();
9890
- this.id = `form_${getUniqueId(4)}`;
10180
+ super(...arguments);
10181
+ this.errorMessage = signal('');
10182
+ this.errorCode = signal(-1);
10183
+ this.injector = inject(Injector);
10184
+ }
10185
+ /**
10186
+ *
10187
+ */
10188
+ ngOnInit() {
10189
+ if (!this.parameters) {
10190
+ this.parameters = BarsaApi.Common.Util.TryGetValue(this.context, 'Setting.CustomUi.Parameters');
10191
+ if (!this.parameters) {
10192
+ this.parameters = this.settings;
10193
+ }
10194
+ }
10195
+ this.controller.init(this.parameters);
10196
+ }
10197
+ showError(message, code) {
10198
+ this.errorMessage.set(message);
10199
+ this.errorCode.set(code);
10200
+ }
10201
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FieldViewBase, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
10202
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: FieldViewBase, isStandalone: false, selector: "bnrc-ext-field-base", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10203
+ }
10204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FieldViewBase, decorators: [{
10205
+ type: Component,
10206
+ args: [{
10207
+ selector: 'bnrc-ext-field-base',
10208
+ template: '',
10209
+ changeDetection: ChangeDetectionStrategy.OnPush,
10210
+ standalone: false
10211
+ }]
10212
+ }] });
10213
+
10214
+ class FormBaseComponent extends BaseComponent {
10215
+ constructor() {
10216
+ super();
10217
+ this.id = `form_${getUniqueId(4)}`;
9891
10218
  this.fullscreen = false;
9892
10219
  this._typeDefName = '';
9893
10220
  this._viewName = '';
@@ -10984,219 +11311,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
10984
11311
  }]
10985
11312
  }] });
10986
11313
 
10987
- class GeneralControlInfoModel {
10988
- constructor() {
10989
- this.ShowLabel = true;
10990
- }
10991
- }
10992
- class StringControlInfoModel extends GeneralControlInfoModel {
10993
- }
10994
- class RichStringControlInfoModel extends StringControlInfoModel {
10995
- }
10996
- class NumberControlInfoModel extends GeneralControlInfoModel {
10997
- }
10998
- class FilePictureInfoModel extends GeneralControlInfoModel {
10999
- }
11000
- class FileControlInfoModel extends GeneralControlInfoModel {
11001
- }
11002
- class CommandControlInfoModel extends GeneralControlInfoModel {
11003
- }
11004
- class IconControlInfoModel extends GeneralControlInfoModel {
11005
- }
11006
- class PictureFileControlInfoModel extends GeneralControlInfoModel {
11007
- }
11008
- class GaugeControlInfoModel extends GeneralControlInfoModel {
11009
- }
11010
- class RelationListControlInfoModel extends GeneralControlInfoModel {
11011
- }
11012
- class HistoryControlInfoModel extends RelationListControlInfoModel {
11013
- }
11014
- class RabetehAkseTakiListiControlInfoModel extends RelationListControlInfoModel {
11015
- }
11016
- class RelatedReportControlInfoModel extends GeneralControlInfoModel {
11017
- }
11018
- class CodeEditorControlInfoModel extends GeneralControlInfoModel {
11019
- }
11020
- class EnumControlInfoModel extends GeneralControlInfoModel {
11021
- }
11022
- class RowDataOption {
11023
- }
11024
- class DateTimeControlInfoModel extends GeneralControlInfoModel {
11025
- }
11026
- class BoolControlInfoModel extends GeneralControlInfoModel {
11027
- }
11028
- class CalculateControlInfoModel extends GeneralControlInfoModel {
11029
- }
11030
- class SubformControlInfoModel extends GeneralControlInfoModel {
11031
- }
11032
- class LinearListControlInfoModel extends GeneralControlInfoModel {
11033
- }
11034
- class ListRelationModel {
11035
- }
11036
- class SingleRelationControlInfoModel extends GeneralControlInfoModel {
11037
- }
11038
- class MetaobjectDataModel {
11039
- }
11040
- class MoForReportModelBase {
11041
- }
11042
- class MoForReportModel extends MoForReportModelBase {
11043
- constructor() {
11044
- super();
11045
- this.DeletedList = this.AddedList = this.MoDataList = [];
11046
- }
11047
- }
11048
- class ReportBaseInfo {
11049
- }
11050
- class FormToolbarButton {
11051
- }
11052
- class ReportExtraInfo extends ReportBaseInfo {
11053
- }
11054
- class MetaobjectRelationModel extends ListRelationModel {
11055
- }
11056
- var FieldInfoTypeEnum;
11057
- (function (FieldInfoTypeEnum) {
11058
- FieldInfoTypeEnum[FieldInfoTypeEnum["IntInfo"] = 0] = "IntInfo";
11059
- FieldInfoTypeEnum[FieldInfoTypeEnum["StringInfo"] = 2] = "StringInfo";
11060
- FieldInfoTypeEnum[FieldInfoTypeEnum["DateInfo"] = 3] = "DateInfo";
11061
- FieldInfoTypeEnum[FieldInfoTypeEnum["BoolInfo"] = 5] = "BoolInfo";
11062
- FieldInfoTypeEnum[FieldInfoTypeEnum["EnumInfo"] = 6] = "EnumInfo";
11063
- FieldInfoTypeEnum[FieldInfoTypeEnum["UserInfo"] = 7] = "UserInfo";
11064
- FieldInfoTypeEnum[FieldInfoTypeEnum["CategoryInfo"] = 8] = "CategoryInfo";
11065
- FieldInfoTypeEnum[FieldInfoTypeEnum["MetaObjectInfo"] = 9] = "MetaObjectInfo";
11066
- FieldInfoTypeEnum[FieldInfoTypeEnum["CommandInfo"] = 10] = "CommandInfo";
11067
- FieldInfoTypeEnum[FieldInfoTypeEnum["PicturesInfo"] = 11] = "PicturesInfo";
11068
- FieldInfoTypeEnum[FieldInfoTypeEnum["RelationInfo"] = 12] = "RelationInfo";
11069
- FieldInfoTypeEnum[FieldInfoTypeEnum["HistoryInfo"] = 13] = "HistoryInfo";
11070
- FieldInfoTypeEnum[FieldInfoTypeEnum["RelationInfoReverse_AksListi"] = 14] = "RelationInfoReverse_AksListi";
11071
- FieldInfoTypeEnum[FieldInfoTypeEnum["CreatorUserInfo"] = 15] = "CreatorUserInfo";
11072
- FieldInfoTypeEnum[FieldInfoTypeEnum["CreationDateInfo"] = 16] = "CreationDateInfo";
11073
- FieldInfoTypeEnum[FieldInfoTypeEnum["LastUpdateDateInfo"] = 17] = "LastUpdateDateInfo";
11074
- FieldInfoTypeEnum[FieldInfoTypeEnum["ReminderInfo"] = 18] = "ReminderInfo";
11075
- FieldInfoTypeEnum[FieldInfoTypeEnum["RichStringInfo"] = 19] = "RichStringInfo";
11076
- FieldInfoTypeEnum[FieldInfoTypeEnum["ConvertCommandInfo"] = 20] = "ConvertCommandInfo";
11077
- FieldInfoTypeEnum[FieldInfoTypeEnum["RelationInfoSingleReverse_AksTakiListi"] = 21] = "RelationInfoSingleReverse_AksTakiListi";
11078
- FieldInfoTypeEnum[FieldInfoTypeEnum["DialCommandInfo"] = 22] = "DialCommandInfo";
11079
- FieldInfoTypeEnum[FieldInfoTypeEnum["FindContactCommandInfo"] = 23] = "FindContactCommandInfo";
11080
- FieldInfoTypeEnum[FieldInfoTypeEnum["SequenceCommandInfo"] = 24] = "SequenceCommandInfo";
11081
- FieldInfoTypeEnum[FieldInfoTypeEnum["CurrencyInfo"] = 25] = "CurrencyInfo";
11082
- FieldInfoTypeEnum[FieldInfoTypeEnum["SinglePictureInfo"] = 26] = "SinglePictureInfo";
11083
- FieldInfoTypeEnum[FieldInfoTypeEnum["WordReportCommandInfo"] = 27] = "WordReportCommandInfo";
11084
- FieldInfoTypeEnum[FieldInfoTypeEnum["HierarchicalInfo"] = 28] = "HierarchicalInfo";
11085
- FieldInfoTypeEnum[FieldInfoTypeEnum["TimeSpanInfo"] = 29] = "TimeSpanInfo";
11086
- FieldInfoTypeEnum[FieldInfoTypeEnum["ReportInfo"] = 30] = "ReportInfo";
11087
- FieldInfoTypeEnum[FieldInfoTypeEnum["FileInfo"] = 31] = "FileInfo";
11088
- FieldInfoTypeEnum[FieldInfoTypeEnum["WordFileInfo"] = 32] = "WordFileInfo";
11089
- FieldInfoTypeEnum[FieldInfoTypeEnum["PictureFileInfo"] = 33] = "PictureFileInfo";
11090
- FieldInfoTypeEnum[FieldInfoTypeEnum["GaugeInfo"] = 34] = "GaugeInfo";
11091
- FieldInfoTypeEnum[FieldInfoTypeEnum["CodeInfo"] = 35] = "CodeInfo";
11092
- FieldInfoTypeEnum[FieldInfoTypeEnum["WorkCenterInfo"] = 36] = "WorkCenterInfo";
11093
- FieldInfoTypeEnum[FieldInfoTypeEnum["IsDeletedInfo"] = 37] = "IsDeletedInfo";
11094
- FieldInfoTypeEnum[FieldInfoTypeEnum["RowNumberInfo"] = 38] = "RowNumberInfo";
11095
- FieldInfoTypeEnum[FieldInfoTypeEnum["BinaryInfo"] = 39] = "BinaryInfo";
11096
- FieldInfoTypeEnum[FieldInfoTypeEnum["ReverseMetaObjectInfo_AksTakiTaki"] = 40] = "ReverseMetaObjectInfo_AksTakiTaki";
11097
- FieldInfoTypeEnum[FieldInfoTypeEnum["ColorInfo"] = 41] = "ColorInfo";
11098
- FieldInfoTypeEnum[FieldInfoTypeEnum["IconInfo"] = 42] = "IconInfo";
11099
- FieldInfoTypeEnum[FieldInfoTypeEnum["RefreshFieldCommandInfo"] = 43] = "RefreshFieldCommandInfo";
11100
- FieldInfoTypeEnum[FieldInfoTypeEnum["ReferenceFieldInfo"] = 44] = "ReferenceFieldInfo";
11101
- FieldInfoTypeEnum[FieldInfoTypeEnum["SearchCommandInfo"] = 45] = "SearchCommandInfo";
11102
- FieldInfoTypeEnum[FieldInfoTypeEnum["OrderInfo"] = 46] = "OrderInfo"; // 0x0000002E
11103
- })(FieldInfoTypeEnum || (FieldInfoTypeEnum = {}));
11104
- class BaseReportModel {
11105
- constructor() {
11106
- this.DefaultItemComponent = 'ReportDefaultItemComponent';
11107
- }
11108
- }
11109
- const DefaultCommandsAccessValue = {
11110
- Add: false,
11111
- AddToList: false,
11112
- Delete: false,
11113
- Edit: false,
11114
- Export: false,
11115
- Print: false,
11116
- Refresh: false,
11117
- RemoveFromList: false,
11118
- View: false
11119
- };
11120
- class CustomCommand {
11121
- }
11122
- class ReportModel extends BaseReportModel {
11123
- constructor() {
11124
- super();
11125
- }
11126
- }
11127
- class ReportListModel extends BaseReportModel {
11128
- }
11129
- class ReportFormModel extends BaseReportModel {
11130
- }
11131
- class ReportCalendarModel extends BaseReportModel {
11132
- }
11133
- class ReportTreeModel extends BaseReportModel {
11134
- }
11135
- class ReportViewColumn {
11136
- }
11137
- const DefaultGridSetting = {
11138
- ColSettingList: [],
11139
- AutoSizeColumns: false,
11140
- SortSettingList: [],
11141
- Hidden: true
11142
- };
11143
- class GridSetting {
11144
- }
11145
- class ColSetting {
11146
- }
11147
- class SortSetting {
11148
- }
11149
- class ReportField {
11150
- constructor(column, item) {
11151
- this.column = column;
11152
- this.item = item;
11153
- const name = column.Name;
11154
- this.caption = column.Caption;
11155
- this.value = this.item[name];
11156
- if (Number(column.FieldTypeId) === FieldInfoTypeEnum.DateInfo) {
11157
- this.value = this.item[name + '$Caption'];
11158
- }
11159
- if (Number(column.FieldTypeId) === FieldInfoTypeEnum.IconInfo) {
11160
- this.value = this.item[name].Url;
11161
- }
11162
- }
11163
- }
11164
- const DateRanges = [
11165
- 'DateR_None',
11166
- 'DateR_SpecificRange',
11167
- 'DateR_Today',
11168
- 'DateR_ThisWeek',
11169
- 'DateR_ThisMonth',
11170
- 'DateR_ThisYear',
11171
- 'DateR_DaysBefore',
11172
- 'DateR_PrevWeek',
11173
- 'DateR_PrevMonth',
11174
- 'DateR_PrevYear',
11175
- 'DateR_DaysAfter',
11176
- 'DateR_NextWeek',
11177
- 'DateR_NextMonth',
11178
- 'DateR_NextYear'
11179
- ];
11180
- var SortDirection;
11181
- (function (SortDirection) {
11182
- SortDirection["NONE"] = "none";
11183
- SortDirection["ASC"] = "asc";
11184
- SortDirection["DESC"] = "desc";
11185
- })(SortDirection || (SortDirection = {}));
11186
- var SelectionMode;
11187
- (function (SelectionMode) {
11188
- SelectionMode["SINGLE"] = "single";
11189
- SelectionMode["MULTIPLE"] = "multiple";
11190
- SelectionMode["NONE"] = "none";
11191
- })(SelectionMode || (SelectionMode = {}));
11192
- var UlvHeightSizeType;
11193
- (function (UlvHeightSizeType) {
11194
- UlvHeightSizeType[UlvHeightSizeType["Default"] = 0] = "Default";
11195
- UlvHeightSizeType[UlvHeightSizeType["FillPage"] = 1] = "FillPage";
11196
- UlvHeightSizeType[UlvHeightSizeType["DesignSize"] = 2] = "DesignSize";
11197
- UlvHeightSizeType[UlvHeightSizeType["CustomSize"] = 3] = "CustomSize";
11198
- })(UlvHeightSizeType || (UlvHeightSizeType = {}));
11199
-
11200
11314
  class FilesValidationHelper {
11201
11315
  get maxFileCount() {
11202
11316
  return this._maxFileCount;
@@ -11310,6 +11424,7 @@ class ReportViewBaseComponent extends BaseComponent {
11310
11424
  this._cdr = inject(ChangeDetectorRef);
11311
11425
  this._renderer2 = inject(Renderer2);
11312
11426
  this._findColumnByDbName = inject(FindColumnByDbNamePipe);
11427
+ this._columnCustomPipe = inject(ColumnCustomComponentPipe);
11313
11428
  this._ulvMainService = inject(UlvMainService);
11314
11429
  this._portalService = inject(PortalService);
11315
11430
  this._uploadService = inject(UploadService, { optional: true });
@@ -12594,6 +12709,147 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
12594
12709
  args: ['class.absolute-page']
12595
12710
  }] } });
12596
12711
 
12712
+ class ColumnRendererBase extends BaseComponent {
12713
+ constructor() {
12714
+ super(...arguments);
12715
+ this._isSmall = false;
12716
+ this.errorMessage = signal('');
12717
+ this.errorCode = signal(-1);
12718
+ this.injector = inject(Injector);
12719
+ /**
12720
+ *
12721
+ */
12722
+ this._renderer2 = inject(Renderer2);
12723
+ this._cdr = inject(ChangeDetectorRef);
12724
+ }
12725
+ ngOnInit() {
12726
+ this.signalValue = signal(this.value);
12727
+ super.ngOnInit();
12728
+ this.fieldTypeId = Number(this.column.FieldTypeId);
12729
+ if (this.deviceSize === 's') {
12730
+ this._isSmall = true;
12731
+ }
12732
+ }
12733
+ ngOnChanges(changes) {
12734
+ const { value } = changes;
12735
+ if (value && !value.firstChange) {
12736
+ this.signalValue.set(value.currentValue);
12737
+ }
12738
+ }
12739
+ ngAfterViewInit() {
12740
+ if (this.column.FieldTypeId.toString() === '31') {
12741
+ setTimeout(() => {
12742
+ this._cdr.detectChanges();
12743
+ }, 0);
12744
+ }
12745
+ }
12746
+ showError(message, code) {
12747
+ this.errorMessage.set(message);
12748
+ this.errorCode.set(code);
12749
+ }
12750
+ onElapsised(val) {
12751
+ if (this.disableEllapsis) {
12752
+ return;
12753
+ }
12754
+ this.showMore = val;
12755
+ this._cdr.detectChanges();
12756
+ }
12757
+ onSetMaxWidth() {
12758
+ this._renderer2.setStyle(this._filePopover.nativeElement, 'max-width', `${this.containerDom?.offsetWidth}px`);
12759
+ }
12760
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ColumnRendererBase, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
12761
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: ColumnRendererBase, isStandalone: false, selector: "bsu-column-renderer-base", inputs: { cellEdit: "cellEdit", column: "column", allColumns: "allColumns", mo: "mo", index: "index", editMode: "editMode", attachmentViewType: "attachmentViewType", customRowHeight: "customRowHeight", controlUi: "controlUi", formLayoutShowLabel: "formLayoutShowLabel", isChecked: "isChecked", isNewInlineMo: "isNewInlineMo", containerDom: "containerDom", disableEllapsis: "disableEllapsis", rtl: "rtl", isMobile: "isMobile", fdTextMode: "fdTextMode", deviceName: "deviceName", deviceSize: "deviceSize", value: "value", icon: "icon", parameters: "parameters" }, host: { properties: { "class.isMobile": "this._isSmall" } }, viewQueries: [{ propertyName: "_filePopover", first: true, predicate: ["fileviewerPopover"], descendants: true, read: ElementRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12762
+ }
12763
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ColumnRendererBase, decorators: [{
12764
+ type: Component,
12765
+ args: [{
12766
+ selector: 'bsu-column-renderer-base',
12767
+ template: '',
12768
+ changeDetection: ChangeDetectionStrategy.OnPush,
12769
+ standalone: false
12770
+ }]
12771
+ }], propDecorators: { _filePopover: [{
12772
+ type: ViewChild,
12773
+ args: ['fileviewerPopover', { static: false, read: ElementRef }]
12774
+ }], _isSmall: [{
12775
+ type: HostBinding,
12776
+ args: ['class.isMobile']
12777
+ }], cellEdit: [{
12778
+ type: Input
12779
+ }], column: [{
12780
+ type: Input
12781
+ }], allColumns: [{
12782
+ type: Input
12783
+ }], mo: [{
12784
+ type: Input
12785
+ }], index: [{
12786
+ type: Input
12787
+ }], editMode: [{
12788
+ type: Input
12789
+ }], attachmentViewType: [{
12790
+ type: Input
12791
+ }], customRowHeight: [{
12792
+ type: Input
12793
+ }], controlUi: [{
12794
+ type: Input
12795
+ }], formLayoutShowLabel: [{
12796
+ type: Input
12797
+ }], isChecked: [{
12798
+ type: Input
12799
+ }], isNewInlineMo: [{
12800
+ type: Input
12801
+ }], containerDom: [{
12802
+ type: Input
12803
+ }], disableEllapsis: [{
12804
+ type: Input
12805
+ }], rtl: [{
12806
+ type: Input
12807
+ }], isMobile: [{
12808
+ type: Input
12809
+ }], fdTextMode: [{
12810
+ type: Input
12811
+ }], deviceName: [{
12812
+ type: Input
12813
+ }], deviceSize: [{
12814
+ type: Input
12815
+ }], value: [{
12816
+ type: Input
12817
+ }], icon: [{
12818
+ type: Input
12819
+ }], parameters: [{
12820
+ type: Input
12821
+ }] } });
12822
+
12823
+ class ColumnRendererViewBase extends ColumnRendererBase {
12824
+ constructor() {
12825
+ super(...arguments);
12826
+ this.errorMessage = signal('');
12827
+ this.errorCode = signal(-1);
12828
+ this.injector = inject(Injector);
12829
+ }
12830
+ /**
12831
+ *
12832
+ */
12833
+ ngOnInit() {
12834
+ this.controller.init(this.parameters);
12835
+ }
12836
+ showError(message, code) {
12837
+ this.errorMessage.set(message);
12838
+ this.errorCode.set(code);
12839
+ }
12840
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ColumnRendererViewBase, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
12841
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: ColumnRendererViewBase, isStandalone: false, selector: "bnrc-ext-field-base", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12842
+ }
12843
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ColumnRendererViewBase, decorators: [{
12844
+ type: Component,
12845
+ args: [{
12846
+ selector: 'bnrc-ext-field-base',
12847
+ template: '',
12848
+ changeDetection: ChangeDetectionStrategy.OnPush,
12849
+ standalone: false
12850
+ }]
12851
+ }] });
12852
+
12597
12853
  class EmptyPageComponent extends PageWithFormHandlerBaseComponent {
12598
12854
  constructor() {
12599
12855
  super(...arguments);
@@ -12826,6 +13082,11 @@ class MasterDetailsPageComponent extends PageWithFormHandlerBaseComponent {
12826
13082
  this.isinsideview = true;
12827
13083
  }
12828
13084
  }
13085
+ ngOnDestroy() {
13086
+ super.ngOnDestroy();
13087
+ // add ngondestroy because to call routingservice ngondestroy.
13088
+ // if i dont add this ngondestroy in routingservice do not call.
13089
+ }
12829
13090
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MasterDetailsPageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
12830
13091
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: MasterDetailsPageComponent, isStandalone: false, selector: "bnrc-master-details-page", host: { properties: { "style.position": "this._position", "class.section": "this.sectionClass", "class.modal": "this.ismodal", "class.insideview": "this.isinsideview" } }, providers: [RoutingService, ContainerService], usesInheritance: true, ngImport: i0, template: `
12831
13092
  <div class="tw-flex tw-h-full tw-w-full tw-flex-col md:tw-flex-row">
@@ -13521,6 +13782,7 @@ class BaseViewItemPropsComponent extends BaseViewPropsComponent {
13521
13782
  this.hasCartableTemplate = false;
13522
13783
  this.workflowState = signal(null);
13523
13784
  this.bruleActionMessage = signal(null);
13785
+ this.activeColumn = signal(undefined);
13524
13786
  this._domSanitizer = inject(DomSanitizer);
13525
13787
  this._cdr = inject(ChangeDetectorRef);
13526
13788
  this._reportValuePipe = inject(MoReportValuePipe);
@@ -13945,7 +14207,7 @@ class BaseViewItemPropsComponent extends BaseViewPropsComponent {
13945
14207
  });
13946
14208
  }
13947
14209
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: BaseViewItemPropsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13948
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: BaseViewItemPropsComponent, isStandalone: false, selector: "bnrc-base-view-item-props", inputs: { checkboxComponent: "checkboxComponent", disableEllapsis: "disableEllapsis", isslider: "isslider", attachmentViewType: "attachmentViewType", contextMenuOverflowText: "contextMenuOverflowText", detailsComponent: "detailsComponent", detailsColumns: "detailsColumns", detailsText: "detailsText", mo: "mo", moDataListCount: "moDataListCount", index: "index", last: "last", isdirty: "isdirty", isChecked: "isChecked", hideDetailsText: "hideDetailsText", showViewButton: "showViewButton", isNewInlineMo: "isNewInlineMo", extraRelation: "extraRelation", hideOpenIcon: "hideOpenIcon", inlineEditWithoutSelection: "inlineEditWithoutSelection", inDialog: "inDialog", isMobile: "isMobile", isMultiSelect: "isMultiSelect", rowIndicator: "rowIndicator", groupSummary: "groupSummary", isLastChildGroup: "isLastChildGroup", showRowNumber: "showRowNumber", rowNumber: "rowNumber", coloringRow: "coloringRow", noSaveInlineEditInServer: "noSaveInlineEditInServer", rowIndicatorColor: "rowIndicatorColor", maxHeightHeader: "maxHeightHeader", UlvMainCtrlr: "UlvMainCtrlr", fieldDict: "fieldDict", actionList: "actionList", serializedRelatedMo: "serializedRelatedMo", cartableTemplate: "cartableTemplate", cartableMo: "cartableMo", cartableWorkflowData: "cartableWorkflowData" }, outputs: { actionListClick: "actionListClick", events: "events" }, viewQueries: [{ propertyName: "_cartableFormRef", first: true, predicate: ["cartableFormRef"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14210
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: BaseViewItemPropsComponent, isStandalone: false, selector: "bnrc-base-view-item-props", inputs: { checkboxComponent: "checkboxComponent", disableEllapsis: "disableEllapsis", isslider: "isslider", attachmentViewType: "attachmentViewType", dirtyColumns: "dirtyColumns", contextMenuOverflowText: "contextMenuOverflowText", detailsComponent: "detailsComponent", detailsColumns: "detailsColumns", detailsText: "detailsText", mo: "mo", moDataListCount: "moDataListCount", index: "index", last: "last", hideHeader: "hideHeader", isdirty: "isdirty", isChecked: "isChecked", hideDetailsText: "hideDetailsText", showViewButton: "showViewButton", isNewInlineMo: "isNewInlineMo", extraRelation: "extraRelation", hideOpenIcon: "hideOpenIcon", inlineEditWithoutSelection: "inlineEditWithoutSelection", inDialog: "inDialog", isMobile: "isMobile", isMultiSelect: "isMultiSelect", rowIndicator: "rowIndicator", groupSummary: "groupSummary", isLastChildGroup: "isLastChildGroup", showRowNumber: "showRowNumber", rowNumber: "rowNumber", coloringRow: "coloringRow", noSaveInlineEditInServer: "noSaveInlineEditInServer", rowIndicatorColor: "rowIndicatorColor", maxHeightHeader: "maxHeightHeader", UlvMainCtrlr: "UlvMainCtrlr", fieldDict: "fieldDict", actionList: "actionList", serializedRelatedMo: "serializedRelatedMo", cartableTemplate: "cartableTemplate", cartableMo: "cartableMo", cartableWorkflowData: "cartableWorkflowData" }, outputs: { actionListClick: "actionListClick", events: "events" }, viewQueries: [{ propertyName: "_cartableFormRef", first: true, predicate: ["cartableFormRef"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
13949
14211
  }
13950
14212
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: BaseViewItemPropsComponent, decorators: [{
13951
14213
  type: Component,
@@ -13970,6 +14232,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
13970
14232
  type: Input
13971
14233
  }], attachmentViewType: [{
13972
14234
  type: Input
14235
+ }], dirtyColumns: [{
14236
+ type: Input
13973
14237
  }], contextMenuOverflowText: [{
13974
14238
  type: Input
13975
14239
  }], detailsComponent: [{
@@ -13986,6 +14250,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
13986
14250
  type: Input
13987
14251
  }], last: [{
13988
14252
  type: Input
14253
+ }], hideHeader: [{
14254
+ type: Input
13989
14255
  }], isdirty: [{
13990
14256
  type: Input
13991
14257
  }], isChecked: [{
@@ -14705,8 +14971,16 @@ class RootPortalComponent extends PageBaseComponent {
14705
14971
  }
14706
14972
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: RootPortalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14707
14973
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: RootPortalComponent, isStandalone: false, selector: "bnrc-root-portal", host: { properties: { "attr.dir": "this._dir", "attr.devicesize": "this._deviceSize" } }, viewQueries: [{ propertyName: "sectionRef", first: true, predicate: ["sectionRef"], descendants: true }, { propertyName: "footerRefVcr", first: true, predicate: ["footerRef"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: `
14974
+ <span
14975
+ class="!tw-hidden tw-grid-cols-[1fr_auto] tw-text-bold tw-grid tw-grid-cols-12 tw-gap-2 tw-py-1 tw-px-2 tw-font-semibold
14976
+ max-md:tw-grid-cols-1 tw-inline-flex tw-items-center tw-gap-1 tw-px-3
14977
+ tw-py-1 tw-text-xs tw-font-semibold tw-text-red-700 tw-bg-red-100 tw-border
14978
+ tw-border-red-300 tw-rounded-full"
14979
+ >
14980
+ <span class="tw-w-2 tw-h-2 tw-bg-red-500 tw-rounded-full tw-animate-pulse"></span>
14981
+ </span>
14708
14982
  <div
14709
- class="tw-hidden grid-cols-0 tw-grid-cols-1 tw-grid-cols-2 tw-grid-cols-3 tw-grid-cols-4 tw-grid-cols-5
14983
+ class=" tw-text-muted tw-hidden grid-cols-0 tw-grid-cols-1 tw-grid-cols-2 tw-grid-cols-3 tw-grid-cols-4 tw-grid-cols-5
14710
14984
  tw-grid-cols-6 tw-grid-cols-7 tw-grid-cols-8 tw-grid-cols-9 tw-grid-cols-10 tw-grid-cols-11 tw-grid-cols-12"
14711
14985
  ></div>
14712
14986
  <div
@@ -14778,8 +15052,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
14778
15052
  args: [{
14779
15053
  selector: 'bnrc-root-portal',
14780
15054
  template: `
15055
+ <span
15056
+ class="!tw-hidden tw-grid-cols-[1fr_auto] tw-text-bold tw-grid tw-grid-cols-12 tw-gap-2 tw-py-1 tw-px-2 tw-font-semibold
15057
+ max-md:tw-grid-cols-1 tw-inline-flex tw-items-center tw-gap-1 tw-px-3
15058
+ tw-py-1 tw-text-xs tw-font-semibold tw-text-red-700 tw-bg-red-100 tw-border
15059
+ tw-border-red-300 tw-rounded-full"
15060
+ >
15061
+ <span class="tw-w-2 tw-h-2 tw-bg-red-500 tw-rounded-full tw-animate-pulse"></span>
15062
+ </span>
14781
15063
  <div
14782
- class="tw-hidden grid-cols-0 tw-grid-cols-1 tw-grid-cols-2 tw-grid-cols-3 tw-grid-cols-4 tw-grid-cols-5
15064
+ class=" tw-text-muted tw-hidden grid-cols-0 tw-grid-cols-1 tw-grid-cols-2 tw-grid-cols-3 tw-grid-cols-4 tw-grid-cols-5
14783
15065
  tw-grid-cols-6 tw-grid-cols-7 tw-grid-cols-8 tw-grid-cols-9 tw-grid-cols-10 tw-grid-cols-11 tw-grid-cols-12"
14784
15066
  ></div>
14785
15067
  <div
@@ -17891,16 +18173,25 @@ class BaseController {
17891
18173
  /**
17892
18174
  *
17893
18175
  */
17894
- setView(view) {
18176
+ constructor(view) {
17895
18177
  this.view = view;
17896
18178
  }
17897
18179
  }
18180
+ class FieldBaseController extends BaseController {
18181
+ init(_params) {
18182
+ }
18183
+ }
17898
18184
 
17899
- class ViewBase {
18185
+ class ViewBase extends BaseComponent {
17900
18186
  constructor() {
18187
+ super(...arguments);
17901
18188
  this.errorMessage = signal('');
17902
18189
  this.errorCode = signal(-1);
18190
+ this.injector = inject(Injector);
17903
18191
  }
18192
+ /**
18193
+ *
18194
+ */
17904
18195
  ngOnInit() {
17905
18196
  this.controller.init();
17906
18197
  }
@@ -17908,12 +18199,15 @@ class ViewBase {
17908
18199
  this.errorMessage.set(message);
17909
18200
  this.errorCode.set(code);
17910
18201
  }
17911
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ViewBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
17912
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: ViewBase, isStandalone: false, ngImport: i0 }); }
18202
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ViewBase, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
18203
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: ViewBase, isStandalone: false, selector: "bnrc-view-base", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
17913
18204
  }
17914
18205
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ViewBase, decorators: [{
17915
- type: Directive,
18206
+ type: Component,
17916
18207
  args: [{
18208
+ selector: 'bnrc-view-base',
18209
+ template: '',
18210
+ changeDetection: ChangeDetectionStrategy.OnPush,
17917
18211
  standalone: false
17918
18212
  }]
17919
18213
  }] });
@@ -18763,6 +19057,10 @@ class BarsaNovinRayCoreModule extends BaseModule {
18763
19057
  provide: RouteReuseStrategy,
18764
19058
  useClass: CustomRouteReuseStrategy
18765
19059
  },
19060
+ {
19061
+ provide: TEMPLATE_ENGINE,
19062
+ useClass: SimpleTemplateEngine
19063
+ },
18766
19064
  ...pipes,
18767
19065
  ...services
18768
19066
  ]
@@ -19084,5 +19382,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
19084
19382
  * Generated bundle index. Do not edit.
19085
19383
  */
19086
19384
 
19087
- export { PreventDefaultDirective as $, AnchorScrollDirective as A, BaseModule as B, CardDynamicItemComponent as C, DynamicComponentService as D, EmptyPageWithRouterAndRouterOutletComponent as E, FieldDirective as F, IntersectionObserverDirective as G, ItemsRendererDirective as H, ImageLazyDirective as I, NumbersOnlyInputDirective as J, PlaceHolderDirective as K, RenderUlvViewerDirective as L, MasterDetailsPageComponent as M, NotFoundComponent as N, RenderUlvPaginDirective as O, PortalPageComponent as P, UntilInViewDirective as Q, ReportEmptyPageComponent as R, CopyDirective as S, TableResizerDirective as T, UlvCommandDirective as U, EllapsisTextDirective as V, WorfkflowwChoiceCommandDirective as W, FillEmptySpaceDirective as X, FormCloseDirective as Y, MobileDirective as Z, BodyClickDirective as _, EmptyPageComponent as a, MoInfoUlvPagingPipe as a$, StopPropagationDirective as a0, CountDownDirective as a1, RouteFormChangeDirective as a2, DynamicStyleDirective as a3, NowraptextDirective as a4, LabelmandatoryDirective as a5, AbsoluteDivBodyDirective as a6, LoadExternalFilesDirective as a7, RenderUlvDirective as a8, PrintFilesDirective as a9, TlbButtonsPipe as aA, RemoveNewlinePipe as aB, MoValuePipe as aC, FilterPipe as aD, FilterTabPipe as aE, MoReportValueConcatPipe as aF, FilterStringPipe as aG, SortPipe as aH, BbbTranslatePipe as aI, BarsaIconDictPipe as aJ, FileInfoCountPipe as aK, ControlUiPipe as aL, VisibleValuePipe as aM, FilterToolbarControlPipe as aN, MultipleGroupByPipe as aO, PictureFieldSourcePipe as aP, FioriIconPipe as aQ, CanUploadFilePipe as aR, ListCountPipe as aS, TotalSummaryPipe as aT, MergeFieldsToColumnsPipe as aU, FindColumnByDbNamePipe as aV, FilterColumnsByDetailsPipe as aW, MoInfoUlvMoListPipe as aX, ReversePipe as aY, ColumnCustomUiPipe as aZ, SanitizeTextPipe as a_, SaveImageDirective as aa, WebOtpDirective as ab, SplideSliderDirective as ac, DynamicRootVariableDirective as ad, HorizontalResponsiveDirective as ae, MeasureFormTitleWidthDirective as af, OverflowTextDirective as ag, ShortcutRegisterDirective as ah, ShortcutHandlerDirective as ai, BarsaReadonlyDirective as aj, ResizeObserverDirective as ak, ColumnValueDirective as al, ScrollToSelectedDirective as am, ScrollPersistDirective as an, TooltipDirective as ao, SimplebarDirective as ap, LeafletLongPressDirective as aq, ResizeHandlerDirective as ar, SafeBottomDirective as as, MoReportValuePipe as at, NumeralPipe as au, GroupByPipe as av, ContextMenuPipe as aw, HeaderFacetValuePipe as ax, SeperatorFixPipe as ay, ConvertToStylePipe as az, PortalPageSidebarComponent as b, CardViewService as b$, ColumnCustomComponentPipe as b0, ColumnValuePipe as b1, ColumnIconPipe as b2, RowNumberPipe as b3, ComboRowImagePipe as b4, IsExpandedNodePipe as b5, ThImageOrIconePipe as b6, FindPreviewColumnPipe as b7, ReplacePipe as b8, FilterWorkflowInMobilePipe as b9, LogService as bA, PortalService as bB, UiService as bC, UlvMainService as bD, UploadService as bE, NetworkStatusService as bF, AudioRecordingService as bG, VideoRecordingService as bH, LocalStorageService as bI, IndexedDbService as bJ, BarsaStorageService as bK, PromptUpdateService as bL, NotificationService as bM, ServiceWorkerNotificationService as bN, ColumnService as bO, ServiceWorkerCommuncationService as bP, SaveScrollPositionService as bQ, RoutingService as bR, GroupByService as bS, LayoutMainContentService as bT, TabpageService as bU, InMemoryStorageService as bV, ShellbarHeightService as bW, ApplicationCtrlrService as bX, PushCheckService as bY, IdbService as bZ, PushNotificationService as b_, HideColumnsInmobilePipe as ba, StringToNumberPipe as bb, ColumnValueOfParametersPipe as bc, HideAcceptCancelButtonsPipe as bd, FilterInlineActionListPipe as be, IsImagePipe as bf, ToolbarSettingsPipe as bg, CardMediaSizePipe as bh, LabelStarTrimPipe as bi, SplitPipe as bj, DynamicDarkColorPipe as bk, ChunkArrayPipe as bl, MapToChatMessagePipe as bm, PicturesByGroupIdPipe as bn, ScopedCssPipe as bo, ReportActionListPipe as bp, ApiService as bq, BreadcrumbService as br, CustomInjector as bs, DialogParams as bt, BarsaDialogService as bu, FormPanelService as bv, FormService as bw, ContainerService as bx, HorizontalLayoutService as by, LayoutService as bz, BaseDynamicComponent as c, LinearListControlInfoModel as c$, BaseSettingsService as c0, CalendarSettingsService as c1, PortalDynamicPageResolver as c2, PortalFormPageResolver as c3, PortalPageResolver as c4, PortalReportPageResolver as c5, TileGroupBreadcrumResolver as c6, LoginSettingsResolver as c7, ReportBreadcrumbResolver as c8, DateService as c9, ReportItemBaseComponent as cA, ApplicationBaseComponent as cB, LayoutItemBaseComponent as cC, LayoutPanelBaseComponent as cD, PageBaseComponent as cE, NumberBaseComponent as cF, GeneralControlInfoModel as cG, StringControlInfoModel as cH, RichStringControlInfoModel as cI, NumberControlInfoModel as cJ, FilePictureInfoModel as cK, FileControlInfoModel as cL, CommandControlInfoModel as cM, IconControlInfoModel as cN, PictureFileControlInfoModel as cO, GaugeControlInfoModel as cP, RelationListControlInfoModel as cQ, HistoryControlInfoModel as cR, RabetehAkseTakiListiControlInfoModel as cS, RelatedReportControlInfoModel as cT, CodeEditorControlInfoModel as cU, EnumControlInfoModel as cV, RowDataOption as cW, DateTimeControlInfoModel as cX, BoolControlInfoModel as cY, CalculateControlInfoModel as cZ, SubformControlInfoModel as c_, DateHijriService as ca, DateMiladiService as cb, DateShamsiService as cc, FormNewComponent as cd, ReportContainerComponent as ce, FormComponent as cf, FieldUiComponent as cg, BarsaSapUiFormPageModule as ch, ReportNavigatorComponent as ci, BaseController as cj, ViewBase as ck, ModalRootComponent as cl, ButtonLoadingComponent as cm, UnlimitSessionComponent as cn, SplitterComponent as co, APP_VERSION as cp, DIALOG_SERVICE as cq, FORM_DIALOG_COMPONENT as cr, NOTIFICATAION_POPUP_SERVER as cs, TOAST_SERVICE as ct, NOTIFICATION_WEBWORKER_FACTORY as cu, FieldBaseComponent as cv, FormBaseComponent as cw, FormToolbarBaseComponent as cx, SystemBaseComponent as cy, ReportBaseComponent as cz, DynamicFormComponent as d, executeUlvCommandHandler as d$, ListRelationModel as d0, SingleRelationControlInfoModel as d1, MetaobjectDataModel as d2, MoForReportModelBase as d3, MoForReportModel as d4, ReportBaseInfo as d5, FormToolbarButton as d6, ReportExtraInfo as d7, MetaobjectRelationModel as d8, FieldInfoTypeEnum as d9, FormPageComponent as dA, BaseColumnPropsComponent as dB, TilePropsComponent as dC, FormFieldReportPageComponent as dD, BaseUlvSettingComponent as dE, TableHeaderWidthMode as dF, setTableThWidth as dG, calculateColumnContent as dH, calculateColumnWidth as dI, setColumnWidthByMaxMoContentWidth as dJ, calculateMoDataListContentWidthByColumnName as dK, calculateFreeColumnSize as dL, calculateColumnWidthFitToContainer as dM, calcContextMenuWidth as dN, RotateImage as dO, isInLocalMode as dP, getLabelWidth as dQ, getColumnValueOfMoDataList as dR, throwIfAlreadyLoaded as dS, measureText2 as dT, measureText as dU, measureTextBy as dV, genrateInlineMoId as dW, enumValueToStringSize as dX, isVersionBiggerThan as dY, compareVersions as dZ, scrollToElement as d_, BaseReportModel as da, DefaultCommandsAccessValue as db, CustomCommand as dc, ReportModel as dd, ReportListModel as de, ReportFormModel as df, ReportCalendarModel as dg, ReportTreeModel as dh, ReportViewColumn as di, DefaultGridSetting as dj, GridSetting as dk, ColSetting as dl, SortSetting as dm, ReportField as dn, DateRanges as dp, SortDirection as dq, SelectionMode as dr, UlvHeightSizeType as ds, FilesValidationHelper as dt, BarsaApi as du, ReportViewBaseComponent as dv, FormPropsBaseComponent as dw, LinearListHelper as dx, PageWithFormHandlerBaseComponent as dy, FormPageBaseComponent as dz, DynamicItemComponent as e, VideoMimeType as e$, getUniqueId as e0, getDateService as e1, getAllItemsPerChildren as e2, setOneDepthLevel as e3, isFirefox as e4, getImagePath as e5, checkPermission as e6, fixUnclosedParentheses as e7, isFunction as e8, DeviceWidth as e9, getResetGridSettings as eA, GetDefaultMoObjectInfo as eB, getLayout94ObjectInfo as eC, getFormSettings as eD, createFormPanelMetaConditions as eE, getNewMoGridEditor as eF, createGridEditorFormPanel as eG, getLayoutControl as eH, getControlList as eI, shallowEqual as eJ, toNumber as eK, InputNumber as eL, AffixRespondEvents as eM, isTargetWindow as eN, getTargetRect as eO, getFieldValue as eP, availablePrefixes as eQ, requestAnimationFramePolyfill as eR, ExecuteDynamicCommand as eS, ExecuteWorkflowChoiceDef as eT, getRequestAnimationFrame as eU, cancelRequestAnimationFrame as eV, easeInOutCubic as eW, WordMimeType as eX, ImageMimeType as eY, PdfMimeType as eZ, AllFilesMimeType as e_, getHeaderValue as ea, elementInViewport2 as eb, PreventDefaulEvent as ec, stopPropagation as ed, getParentHeight as ee, getComponentDefined as ef, isSafari as eg, isFF as eh, getDeviceIsPhone as ei, getDeviceIsDesktop as ej, getDeviceIsTablet as ek, getDeviceIsMobile as el, getControlSizeMode as em, formatBytes as en, getValidExtension as eo, getIcon as ep, isImage as eq, GetAllColumnsSorted as er, GetVisibleValue as es, GroupBy as et, FindGroup as eu, FillAllLayoutControls as ev, FindToolbarItem as ew, FindLayoutSettingFromLayout94 as ex, GetAllHorizontalFromLayout94 as ey, getGridSettings as ez, formRoutes as f, AudioMimeType as f0, MimeTypes as f1, GetContentType as f2, GetViewableExtensions as f3, ChangeLayoutInfoCustomUi as f4, mobile_regex as f5, number_only as f6, forbiddenValidator as f7, GetImgTags as f8, ImagetoPrint as f9, PrintImage as fa, SaveImageToFile as fb, validateAllFormFields as fc, getFocusableTagNames as fd, addCssVariableToRoot as fe, flattenTree as ff, IsDarkMode as fg, nullOrUndefinedString as fh, fromEntries as fi, bodyClick as fj, removeDynamicStyle as fk, addDynamicVariableTo as fl, AddDynamicFormStyles as fm, RemoveDynamicFormStyles as fn, ContainerComponent as fo, IntersectionStatus as fp, fromIntersectionObserver as fq, CustomRouteReuseStrategy as fr, AuthGuard as fs, RedirectHomeGuard as ft, RootPageComponent as fu, ResizableComponent as fv, ResizableDirective as fw, ResizableModule as fx, PushBannerComponent as fy, BarsaNovinRayCoreModule as fz, BaseViewPropsComponent as g, BaseViewContentPropsComponent as h, BaseViewItemPropsComponent as i, RowState as j, BaseItemContentPropsComponent as k, CardBaseItemContentPropsComponent as l, BaseFormToolbaritemPropsComponent as m, DynamicFormToolbaritemComponent as n, DynamicLayoutComponent as o, DynamicTileGroupComponent as p, DynamicUlvToolbarComponent as q, reportRoutes as r, DynamicUlvPagingComponent as s, RootPortalComponent as t, BaseComponent as u, AttrRtlDirective as v, BaseDirective as w, ColumnResizerDirective as x, DynamicCommandDirective as y, EllipsifyDirective as z };
19088
- //# sourceMappingURL=barsa-novin-ray-core-barsa-novin-ray-core-DHEK96LQ.mjs.map
19385
+ export { PreventDefaultDirective as $, AnchorScrollDirective as A, BaseModule as B, CardDynamicItemComponent as C, DynamicComponentService as D, EmptyPageWithRouterAndRouterOutletComponent as E, FieldDirective as F, IntersectionObserverDirective as G, ItemsRendererDirective as H, ImageLazyDirective as I, NumbersOnlyInputDirective as J, PlaceHolderDirective as K, RenderUlvViewerDirective as L, MasterDetailsPageComponent as M, NotFoundComponent as N, RenderUlvPaginDirective as O, PortalPageComponent as P, UntilInViewDirective as Q, ReportEmptyPageComponent as R, CopyDirective as S, TableResizerDirective as T, UlvCommandDirective as U, EllapsisTextDirective as V, WorfkflowwChoiceCommandDirective as W, FillEmptySpaceDirective as X, FormCloseDirective as Y, MobileDirective as Z, BodyClickDirective as _, EmptyPageComponent as a, MoInfoUlvPagingPipe as a$, StopPropagationDirective as a0, CountDownDirective as a1, RouteFormChangeDirective as a2, DynamicStyleDirective as a3, NowraptextDirective as a4, LabelmandatoryDirective as a5, AbsoluteDivBodyDirective as a6, LoadExternalFilesDirective as a7, RenderUlvDirective as a8, PrintFilesDirective as a9, TlbButtonsPipe as aA, RemoveNewlinePipe as aB, MoValuePipe as aC, FilterPipe as aD, FilterTabPipe as aE, MoReportValueConcatPipe as aF, FilterStringPipe as aG, SortPipe as aH, BbbTranslatePipe as aI, BarsaIconDictPipe as aJ, FileInfoCountPipe as aK, ControlUiPipe as aL, VisibleValuePipe as aM, FilterToolbarControlPipe as aN, MultipleGroupByPipe as aO, PictureFieldSourcePipe as aP, FioriIconPipe as aQ, CanUploadFilePipe as aR, ListCountPipe as aS, TotalSummaryPipe as aT, MergeFieldsToColumnsPipe as aU, FindColumnByDbNamePipe as aV, FilterColumnsByDetailsPipe as aW, MoInfoUlvMoListPipe as aX, ReversePipe as aY, ColumnCustomUiPipe as aZ, SanitizeTextPipe as a_, SaveImageDirective as aa, WebOtpDirective as ab, SplideSliderDirective as ac, DynamicRootVariableDirective as ad, HorizontalResponsiveDirective as ae, MeasureFormTitleWidthDirective as af, OverflowTextDirective as ag, ShortcutRegisterDirective as ah, ShortcutHandlerDirective as ai, BarsaReadonlyDirective as aj, ResizeObserverDirective as ak, ColumnValueDirective as al, ScrollToSelectedDirective as am, ScrollPersistDirective as an, TooltipDirective as ao, SimplebarDirective as ap, LeafletLongPressDirective as aq, ResizeHandlerDirective as ar, SafeBottomDirective as as, MoReportValuePipe as at, NumeralPipe as au, GroupByPipe as av, ContextMenuPipe as aw, HeaderFacetValuePipe as ax, SeperatorFixPipe as ay, ConvertToStylePipe as az, PortalPageSidebarComponent as b, CardViewService as b$, ColumnCustomComponentPipe as b0, ColumnValuePipe as b1, ColumnIconPipe as b2, RowNumberPipe as b3, ComboRowImagePipe as b4, IsExpandedNodePipe as b5, ThImageOrIconePipe as b6, FindPreviewColumnPipe as b7, ReplacePipe as b8, FilterWorkflowInMobilePipe as b9, LogService as bA, PortalService as bB, UiService as bC, UlvMainService as bD, UploadService as bE, NetworkStatusService as bF, AudioRecordingService as bG, VideoRecordingService as bH, LocalStorageService as bI, IndexedDbService as bJ, BarsaStorageService as bK, PromptUpdateService as bL, NotificationService as bM, ServiceWorkerNotificationService as bN, ColumnService as bO, ServiceWorkerCommuncationService as bP, SaveScrollPositionService as bQ, RoutingService as bR, GroupByService as bS, LayoutMainContentService as bT, TabpageService as bU, InMemoryStorageService as bV, ShellbarHeightService as bW, ApplicationCtrlrService as bX, PushCheckService as bY, IdbService as bZ, PushNotificationService as b_, HideColumnsInmobilePipe as ba, StringToNumberPipe as bb, ColumnValueOfParametersPipe as bc, HideAcceptCancelButtonsPipe as bd, FilterInlineActionListPipe as be, IsImagePipe as bf, ToolbarSettingsPipe as bg, CardMediaSizePipe as bh, LabelStarTrimPipe as bi, SplitPipe as bj, DynamicDarkColorPipe as bk, ChunkArrayPipe as bl, MapToChatMessagePipe as bm, PicturesByGroupIdPipe as bn, ScopedCssPipe as bo, ReportActionListPipe as bp, ApiService as bq, BreadcrumbService as br, CustomInjector as bs, DialogParams as bt, BarsaDialogService as bu, FormPanelService as bv, FormService as bw, ContainerService as bx, HorizontalLayoutService as by, LayoutService as bz, BaseDynamicComponent as c, ReportExtraInfo as c$, BaseSettingsService as c0, CalendarSettingsService as c1, SimpleTemplateEngine as c2, TEMPLATE_ENGINE as c3, PortalDynamicPageResolver as c4, PortalFormPageResolver as c5, PortalPageResolver as c6, PortalReportPageResolver as c7, TileGroupBreadcrumResolver as c8, LoginSettingsResolver as c9, RichStringControlInfoModel as cA, NumberControlInfoModel as cB, FilePictureInfoModel as cC, FileControlInfoModel as cD, CommandControlInfoModel as cE, IconControlInfoModel as cF, PictureFileControlInfoModel as cG, GaugeControlInfoModel as cH, RelationListControlInfoModel as cI, HistoryControlInfoModel as cJ, RabetehAkseTakiListiControlInfoModel as cK, RelatedReportControlInfoModel as cL, CodeEditorControlInfoModel as cM, EnumControlInfoModel as cN, RowDataOption as cO, DateTimeControlInfoModel as cP, BoolControlInfoModel as cQ, CalculateControlInfoModel as cR, SubformControlInfoModel as cS, LinearListControlInfoModel as cT, ListRelationModel as cU, SingleRelationControlInfoModel as cV, MetaobjectDataModel as cW, MoForReportModelBase as cX, MoForReportModel as cY, ReportBaseInfo as cZ, FormToolbarButton as c_, ReportBreadcrumbResolver as ca, DateService as cb, DateHijriService as cc, DateMiladiService as cd, DateShamsiService as ce, FormNewComponent as cf, ReportContainerComponent as cg, FormComponent as ch, FieldUiComponent as ci, BarsaSapUiFormPageModule as cj, ReportNavigatorComponent as ck, BaseController as cl, FieldBaseController as cm, ViewBase as cn, ModalRootComponent as co, ButtonLoadingComponent as cp, UnlimitSessionComponent as cq, SplitterComponent as cr, APP_VERSION as cs, DIALOG_SERVICE as ct, FORM_DIALOG_COMPONENT as cu, NOTIFICATAION_POPUP_SERVER as cv, TOAST_SERVICE as cw, NOTIFICATION_WEBWORKER_FACTORY as cx, GeneralControlInfoModel as cy, StringControlInfoModel as cz, DynamicFormComponent as d, measureTextBy as d$, MetaobjectRelationModel as d0, FieldInfoTypeEnum as d1, BaseReportModel as d2, DefaultCommandsAccessValue as d3, CustomCommand as d4, ReportModel as d5, ReportListModel as d6, ReportFormModel as d7, ReportCalendarModel as d8, ReportTreeModel as d9, FormPropsBaseComponent as dA, LinearListHelper as dB, PageWithFormHandlerBaseComponent as dC, FormPageBaseComponent as dD, FormPageComponent as dE, BaseColumnPropsComponent as dF, TilePropsComponent as dG, FormFieldReportPageComponent as dH, ColumnRendererBase as dI, ColumnRendererViewBase as dJ, BaseUlvSettingComponent as dK, TableHeaderWidthMode as dL, setTableThWidth as dM, calculateColumnContent as dN, calculateColumnWidth as dO, setColumnWidthByMaxMoContentWidth as dP, calculateMoDataListContentWidthByColumnName as dQ, calculateFreeColumnSize as dR, calculateColumnWidthFitToContainer as dS, calcContextMenuWidth as dT, RotateImage as dU, isInLocalMode as dV, getLabelWidth as dW, getColumnValueOfMoDataList as dX, throwIfAlreadyLoaded as dY, measureText2 as dZ, measureText as d_, ReportViewColumn as da, DefaultGridSetting as db, GridSetting as dc, ColSetting as dd, SortSetting as de, ReportField as df, DateRanges as dg, SortDirection as dh, SelectionMode as di, UlvHeightSizeType as dj, FieldBaseComponent as dk, FieldViewBase as dl, FormBaseComponent as dm, FormToolbarBaseComponent as dn, SystemBaseComponent as dp, ReportBaseComponent as dq, ReportItemBaseComponent as dr, ApplicationBaseComponent as ds, LayoutItemBaseComponent as dt, LayoutPanelBaseComponent as du, PageBaseComponent as dv, NumberBaseComponent as dw, FilesValidationHelper as dx, BarsaApi as dy, ReportViewBaseComponent as dz, DynamicItemComponent as e, cancelRequestAnimationFrame as e$, genrateInlineMoId as e0, enumValueToStringSize as e1, isVersionBiggerThan as e2, compareVersions as e3, scrollToElement as e4, executeUlvCommandHandler as e5, getUniqueId as e6, getDateService as e7, getAllItemsPerChildren as e8, setOneDepthLevel as e9, FindGroup as eA, FillAllLayoutControls as eB, FindToolbarItem as eC, FindLayoutSettingFromLayout94 as eD, GetAllHorizontalFromLayout94 as eE, getGridSettings as eF, getResetGridSettings as eG, GetDefaultMoObjectInfo as eH, getLayout94ObjectInfo as eI, getFormSettings as eJ, createFormPanelMetaConditions as eK, getNewMoGridEditor as eL, createGridEditorFormPanel as eM, getLayoutControl as eN, getControlList as eO, shallowEqual as eP, toNumber as eQ, InputNumber as eR, AffixRespondEvents as eS, isTargetWindow as eT, getTargetRect as eU, getFieldValue as eV, availablePrefixes as eW, requestAnimationFramePolyfill as eX, ExecuteDynamicCommand as eY, ExecuteWorkflowChoiceDef as eZ, getRequestAnimationFrame as e_, isFirefox as ea, getImagePath as eb, checkPermission as ec, fixUnclosedParentheses as ed, isFunction as ee, DeviceWidth as ef, getHeaderValue as eg, elementInViewport2 as eh, PreventDefaulEvent as ei, stopPropagation as ej, getParentHeight as ek, getComponentDefined as el, isSafari as em, isFF as en, getDeviceIsPhone as eo, getDeviceIsDesktop as ep, getDeviceIsTablet as eq, getDeviceIsMobile as er, getControlSizeMode as es, formatBytes as et, getValidExtension as eu, getIcon as ev, isImage as ew, GetAllColumnsSorted as ex, GetVisibleValue as ey, GroupBy as ez, formRoutes as f, easeInOutCubic as f0, WordMimeType as f1, ImageMimeType as f2, PdfMimeType as f3, AllFilesMimeType as f4, VideoMimeType as f5, AudioMimeType as f6, MimeTypes as f7, GetContentType as f8, GetViewableExtensions as f9, RootPageComponent as fA, ResizableComponent as fB, ResizableDirective as fC, ResizableModule as fD, PushBannerComponent as fE, BarsaNovinRayCoreModule as fF, ChangeLayoutInfoCustomUi as fa, mobile_regex as fb, number_only as fc, forbiddenValidator as fd, GetImgTags as fe, ImagetoPrint as ff, PrintImage as fg, SaveImageToFile as fh, validateAllFormFields as fi, getFocusableTagNames as fj, addCssVariableToRoot as fk, flattenTree as fl, IsDarkMode as fm, nullOrUndefinedString as fn, fromEntries as fo, bodyClick as fp, removeDynamicStyle as fq, addDynamicVariableTo as fr, AddDynamicFormStyles as fs, RemoveDynamicFormStyles as ft, ContainerComponent as fu, IntersectionStatus as fv, fromIntersectionObserver as fw, CustomRouteReuseStrategy as fx, AuthGuard as fy, RedirectHomeGuard as fz, BaseViewPropsComponent as g, BaseViewContentPropsComponent as h, BaseViewItemPropsComponent as i, RowState as j, BaseItemContentPropsComponent as k, CardBaseItemContentPropsComponent as l, BaseFormToolbaritemPropsComponent as m, DynamicFormToolbaritemComponent as n, DynamicLayoutComponent as o, DynamicTileGroupComponent as p, DynamicUlvToolbarComponent as q, reportRoutes as r, DynamicUlvPagingComponent as s, RootPortalComponent as t, BaseComponent as u, AttrRtlDirective as v, BaseDirective as w, ColumnResizerDirective as x, DynamicCommandDirective as y, EllipsifyDirective as z };
19386
+ //# sourceMappingURL=barsa-novin-ray-core-barsa-novin-ray-core-DBn8AG4Y.mjs.map