nuxeo-development-framework 5.5.0 → 5.5.2

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.
Files changed (58) hide show
  1. package/bundles/nuxeo-development-framework.umd.js +213 -1382
  2. package/bundles/nuxeo-development-framework.umd.js.map +1 -1
  3. package/esm2015/lib/components/ndf-config-editor/constants/index.js +2 -2
  4. package/esm2015/lib/components/ndf-config-editor/constants/query.js +2 -2
  5. package/esm2015/lib/components/ndf-config-editor/containers/ndf-config-editor/ndf-config-editor.component.js +24 -17
  6. package/esm2015/lib/components/ndf-config-editor/metadata-token.js +3 -0
  7. package/esm2015/lib/components/ndf-config-editor/models/payload-data.js +2 -0
  8. package/esm2015/lib/components/ndf-config-editor/public/editor-navigate-button.js +8 -4
  9. package/esm2015/lib/components/ndf-config-editor/public-api.js +2 -1
  10. package/esm2015/lib/components/ndf-config-editor/services/data-access.service.js +12 -15
  11. package/esm2015/lib/components/ndf-config-editor/services/data-store.service.js +38 -10
  12. package/esm2015/lib/components/reports/ndf-reports/models/details.js +1 -1
  13. package/esm2015/lib/components/reports/ndf-reports/models/ndf-reports.config.js +1 -1
  14. package/esm2015/lib/components/reports/ndf-reports/services/index.js +2 -1
  15. package/esm2015/lib/components/reports/ndf-reports/services/report-details.service.js +29 -0
  16. package/esm2015/lib/components/reports/ndf-reports/utilities/reports-table.mapper.js +3 -2
  17. package/esm2015/lib/components/tables/ndf-table/containers/ndf-table/ndf-table.component.js +7 -7
  18. package/esm2015/lib/components/tables/ndf-table/models/table-column.js +1 -1
  19. package/esm2015/lib/components/tables/ndf-table/models/table-options.js +1 -1
  20. package/esm2015/lib/components/tables/ndf-table/services/ndf-table-configuration.service.js +18 -13
  21. package/esm2015/lib/components/tables/ndf-table/services/ndf-table.service.js +2 -2
  22. package/esm2015/lib/shared/constants/editor-config-type.js +5 -0
  23. package/esm2015/lib/shared/constants/index.js +2 -0
  24. package/esm2015/lib/shared/index.js +2 -1
  25. package/esm2015/lib/shared/services/base/base-editor-config.service.js +70 -0
  26. package/esm2015/lib/shared/services/base/index.js +2 -1
  27. package/esm2015/public-api.js +2 -1
  28. package/fesm2015/nuxeo-development-framework.js +193 -1377
  29. package/fesm2015/nuxeo-development-framework.js.map +1 -1
  30. package/lib/components/ndf-config-editor/constants/index.d.ts +1 -1
  31. package/lib/components/ndf-config-editor/containers/config-preview/config-preview.component.d.ts +2 -2
  32. package/lib/components/ndf-config-editor/containers/ndf-config-editor/ndf-config-editor.component.d.ts +8 -7
  33. package/lib/components/ndf-config-editor/metadata-token.d.ts +8 -0
  34. package/lib/components/ndf-config-editor/models/payload-data.d.ts +6 -0
  35. package/lib/components/ndf-config-editor/public/editor-navigate-button.d.ts +1 -0
  36. package/lib/components/ndf-config-editor/public-api.d.ts +1 -0
  37. package/lib/components/ndf-config-editor/services/data-access.service.d.ts +7 -4
  38. package/lib/components/ndf-config-editor/services/data-store.service.d.ts +6 -3
  39. package/lib/components/reports/ndf-reports/containers/ndf-reports/ndf-reports.component.d.ts +2 -2
  40. package/lib/components/reports/ndf-reports/models/details.d.ts +5 -1
  41. package/lib/components/reports/ndf-reports/models/ndf-reports.config.d.ts +1 -1
  42. package/lib/components/reports/ndf-reports/services/index.d.ts +1 -0
  43. package/lib/components/reports/ndf-reports/services/report-details.service.d.ts +12 -0
  44. package/lib/components/tables/ndf-table/containers/ndf-table/ndf-table.component.d.ts +1 -1
  45. package/lib/components/tables/ndf-table/models/table-column.d.ts +1 -0
  46. package/lib/components/tables/ndf-table/models/table-options.d.ts +1 -1
  47. package/lib/components/tables/ndf-table/services/ndf-table-configuration.service.d.ts +3 -5
  48. package/lib/shared/constants/editor-config-type.d.ts +4 -0
  49. package/lib/shared/constants/index.d.ts +1 -0
  50. package/lib/shared/index.d.ts +1 -0
  51. package/lib/shared/services/base/base-editor-config.service.d.ts +32 -0
  52. package/lib/shared/services/base/index.d.ts +1 -0
  53. package/package.json +2 -2
  54. package/public-api.d.ts +1 -0
  55. package/esm2015/lib/components/ndf-config-editor/constants/type.js +0 -5
  56. package/esm2015/lib/components/ndf-config-editor/services/dummy-data.js +0 -1321
  57. package/lib/components/ndf-config-editor/constants/type.d.ts +0 -4
  58. package/lib/components/ndf-config-editor/services/dummy-data.d.ts +0 -992
@@ -37,7 +37,7 @@ import _omit from 'lodash/omit';
37
37
  import _assign from 'lodash/assign';
38
38
  import _cloneDeep from 'lodash/cloneDeep';
39
39
  import * as _ from 'lodash';
40
- import ___default, { filter, sortBy, each, unionWith, isEqual, cloneDeep, isNil, isObject as isObject$1, isDate, isBoolean, isNumber, keys, trim, get, set, values, union, assign, keyBy } from 'lodash';
40
+ import ___default, { cloneDeep, filter, sortBy, each, unionWith, isEqual, isNil, isObject as isObject$1, isDate, isBoolean, isNumber, keys, trim, get, set, values, union, assign, keyBy } from 'lodash';
41
41
  import * as i1$4 from '@angular/platform-browser';
42
42
  import { BrowserTransferStateModule } from '@angular/platform-browser';
43
43
  import moment$8 from 'moment-es6';
@@ -3129,6 +3129,69 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
3129
3129
  args: [{ providedIn: 'root' }]
3130
3130
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
3131
3131
 
3132
+ class BaseEditorConfigService extends BaseService {
3133
+ constructor(injector) {
3134
+ super(injector);
3135
+ this.injector = injector;
3136
+ this.appConfigService = this.injector.get(AppConfigService);
3137
+ }
3138
+ fetchData({ key, type, app, localPath }) {
3139
+ return this.request({
3140
+ type: 'get',
3141
+ endpoint: `/search/pp/PP_NDF_UI_Configurations/execute`,
3142
+ queryParams: Object.assign({ ndfuiconfig_type: type, ndfuiconfig_key: key }, (app ? { ndfuiconfig_app: app } : {})),
3143
+ headers: {
3144
+ properties: 'ndfuiconfig,note'
3145
+ }
3146
+ }).pipe(map((response) => { var _a; return (_a = response.entries) === null || _a === void 0 ? void 0 : _a[0]; }), switchMap((entry) => {
3147
+ var _a;
3148
+ const content = this._parseData((_a = entry === null || entry === void 0 ? void 0 : entry.properties) === null || _a === void 0 ? void 0 : _a['note:note']);
3149
+ if (content) {
3150
+ return of({
3151
+ submitted: true,
3152
+ uid: entry.uid,
3153
+ data: {
3154
+ key: key,
3155
+ type: type,
3156
+ app: entry.properties['ndfuiconfig:app'],
3157
+ config: content
3158
+ }
3159
+ });
3160
+ }
3161
+ const config = this.appConfigService.myConfiguration || {};
3162
+ const base = localPath ? ___default.get(config, localPath) : config;
3163
+ const data = cloneDeep(___default.get(base, key));
3164
+ return of({
3165
+ submitted: false,
3166
+ data: {
3167
+ key: key,
3168
+ type: type,
3169
+ app: app,
3170
+ config: data
3171
+ }
3172
+ });
3173
+ }));
3174
+ }
3175
+ _parseData(data) {
3176
+ if (!data) {
3177
+ return null;
3178
+ }
3179
+ try {
3180
+ return JSON.parse(data);
3181
+ }
3182
+ catch (error) {
3183
+ console.warn('Error parsing data:', error);
3184
+ return null;
3185
+ }
3186
+ }
3187
+ }
3188
+ BaseEditorConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseEditorConfigService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3189
+ BaseEditorConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseEditorConfigService, providedIn: 'root' });
3190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: BaseEditorConfigService, decorators: [{
3191
+ type: Injectable,
3192
+ args: [{ providedIn: 'root' }]
3193
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
3194
+
3132
3195
  /**
3133
3196
  * Transforms URL into async safe URL to be rendered in the view
3134
3197
  *
@@ -18476,6 +18539,11 @@ Evaluator.templateSettings = {
18476
18539
  escape: /\{\{\{([\s\S]+?)\}\}\}/g
18477
18540
  };
18478
18541
 
18542
+ const NDF_EDITOR_TYPE = {
18543
+ REPORTS: 'report',
18544
+ TABLES: 'table'
18545
+ };
18546
+
18479
18547
  class BaseField extends BaseCustomValueAccessor {
18480
18548
  constructor() {
18481
18549
  super(...arguments);
@@ -19557,21 +19625,6 @@ const PAGE_SIZE = [
19557
19625
  }
19558
19626
  ];
19559
19627
 
19560
- const CONFIG_EDITOR_MODE = {
19561
- EDIT: 'edit',
19562
- PREVIEW: 'preview'
19563
- };
19564
-
19565
- const NDF_EDITOR_TYPE = {
19566
- REPORTS: 'reports',
19567
- TABLES: 'tables'
19568
- };
19569
-
19570
- const PARAMS_KEYS = {
19571
- TYPE: 'type',
19572
- KEY: 'key'
19573
- };
19574
-
19575
19628
  class DynamicTableService {
19576
19629
  constructor() {
19577
19630
  this.refreshData = new EventEmitter();
@@ -20322,7 +20375,7 @@ class NdfTableService extends BaseService {
20322
20375
  headers: request === null || request === void 0 ? void 0 : request.headers,
20323
20376
  queryParams: request === null || request === void 0 ? void 0 : request.params,
20324
20377
  payload: payload
20325
- }).pipe(map((res) => `${res === null || res === void 0 ? void 0 : res.Statue}`.toLowerCase() === 'success'));
20378
+ }).pipe(map((res) => `${res === null || res === void 0 ? void 0 : res.Status}`.toLowerCase() === 'success'));
20326
20379
  }
20327
20380
  }
20328
20381
  NdfTableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTableService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
@@ -20334,17 +20387,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
20334
20387
  }]
20335
20388
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
20336
20389
 
20337
- class NdfTableConfigurationService extends HttpBaseService {
20390
+ class NdfTableConfigurationService extends BaseEditorConfigService {
20338
20391
  constructor(injector) {
20339
20392
  super(injector);
20340
20393
  this.injector = injector;
20341
- this.appConfigService = this.injector.get(AppConfigService);
20342
- this.configurationsUrl = 'assets/configs/configuration.json';
20343
20394
  }
20344
- getTableConfiguration(key, path) {
20345
- return of(this.appConfigService.myConfiguration).pipe(map((config) => {
20346
- const base = path ? ___default.get(config, path) : config;
20347
- return cloneDeep(___default.get(base, key));
20395
+ getTableConfiguration(key, localPath) {
20396
+ var _a;
20397
+ return this.fetchData({
20398
+ key,
20399
+ type: 'table',
20400
+ app: (_a = this.environment) === null || _a === void 0 ? void 0 : _a.appKey,
20401
+ localPath
20402
+ }).pipe(map((res) => {
20403
+ var _a;
20404
+ if (!res.submitted) {
20405
+ console.warn('%c \n--------------------------------------------------\n' +
20406
+ 'Unsaved table configuration detected. Open the config editor to save it' +
20407
+ '\n--------------------------------------------------\n', 'font-size: 14px;');
20408
+ }
20409
+ return (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.config;
20348
20410
  }));
20349
20411
  }
20350
20412
  }
@@ -20357,6 +20419,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
20357
20419
 
20358
20420
  const PROJECT_BASE_HREF = new InjectionToken('PROJECT_BASE_HREF');
20359
20421
 
20422
+ const CONFIG_EDITOR_MODE = {
20423
+ EDIT: 'edit',
20424
+ PREVIEW: 'preview'
20425
+ };
20426
+
20427
+ const PARAMS_KEYS = {
20428
+ TYPE: 'type',
20429
+ KEY: 'key',
20430
+ };
20431
+
20360
20432
  class EditorButtonComponent {
20361
20433
  constructor(environment, router, baseAppUrl, configService) {
20362
20434
  var _a;
@@ -20368,6 +20440,10 @@ class EditorButtonComponent {
20368
20440
  this.editorConfig = (_a = this.configService.myConfiguration) === null || _a === void 0 ? void 0 : _a.configEditor;
20369
20441
  this.isFeatureEnabled = environment.configEditor === 'YES';
20370
20442
  }
20443
+ get isEnabled() {
20444
+ var _a, _b, _c, _d;
20445
+ return ((_a = this.editorConfig) === null || _a === void 0 ? void 0 : _a.enabled) && ((_d = (_c = (_b = this.editorConfig) === null || _b === void 0 ? void 0 : _b.types) === null || _c === void 0 ? void 0 : _c[this.type]) === null || _d === void 0 ? void 0 : _d.enabled);
20446
+ }
20371
20447
  ngOnInit() { }
20372
20448
  navigate() {
20373
20449
  var _a;
@@ -20383,14 +20459,14 @@ class EditorButtonComponent {
20383
20459
  this.router.navigate([url], {
20384
20460
  queryParams: {
20385
20461
  [PARAMS_KEYS.TYPE]: this.type,
20386
- [PARAMS_KEYS.KEY]: this.key
20462
+ [PARAMS_KEYS.KEY]: this.key,
20387
20463
  }
20388
20464
  });
20389
20465
  }
20390
20466
  }
20391
20467
  EditorButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EditorButtonComponent, deps: [{ token: 'environment' }, { token: i1$5.Router }, { token: PROJECT_BASE_HREF }, { token: AppConfigService }], target: i0.ɵɵFactoryTarget.Component });
20392
20468
  EditorButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EditorButtonComponent, selector: "app-editor-button", inputs: { type: "type", key: "key" }, ngImport: i0, template: `
20393
- <ng-container *ngIf="isFeatureEnabled && editorConfig?.enabled && editorConfig?.types?.tables?.enabled">
20469
+ <ng-container *ngIf="isFeatureEnabled && isEnabled">
20394
20470
  <button
20395
20471
  mat-stroked-button
20396
20472
  [matTooltip]="'JSON_EDITOR.navigateToEditor' | translate"
@@ -20406,7 +20482,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
20406
20482
  args: [{
20407
20483
  selector: 'app-editor-button',
20408
20484
  template: `
20409
- <ng-container *ngIf="isFeatureEnabled && editorConfig?.enabled && editorConfig?.types?.tables?.enabled">
20485
+ <ng-container *ngIf="isFeatureEnabled && isEnabled">
20410
20486
  <button
20411
20487
  mat-stroked-button
20412
20488
  [matTooltip]="'JSON_EDITOR.navigateToEditor' | translate"
@@ -20666,7 +20742,7 @@ class NdfTableComponent extends DestroySubject {
20666
20742
  return;
20667
20743
  }
20668
20744
  const columns = this._displayedColumnsSub.getValue();
20669
- const fields = columns.map((col) => col.headerClass);
20745
+ const fields = columns.map((col) => col.headerClass || (col === null || col === void 0 ? void 0 : col.filedKey));
20670
20746
  const headers = columns.map((col) => (this.tableConfig.prefix || '') + col.name);
20671
20747
  const criteria = this._customCriteriaSub.getValue();
20672
20748
  request.params = Object.assign({}, criteria.params, this._sortValue || {}, ((_b = this.tableConfig) === null || _b === void 0 ? void 0 : _b.quickFilters) ? { quickFilters: this.tableConfig.quickFilters } : {}, request.params);
@@ -20691,10 +20767,10 @@ class NdfTableComponent extends DestroySubject {
20691
20767
  payload.reportMetaData.headers = headers.map((col) => ___default.get(currentTranslations, col));
20692
20768
  payload.reportMetaData.blobName = ___default.get(translations['ar'], blobNameKey);
20693
20769
  payload.reportMetaData.blobNameEn = ___default.get(translations['en'], blobNameKey);
20694
- return this._ngTableService.exportTable(request, payload);
20695
- }), catchError((_) => {
20696
- this._toastrService.error('TABLE.EXPORT.RequestError');
20697
- return of(false);
20770
+ return this._ngTableService.exportTable(request, payload).pipe(catchError((_) => {
20771
+ this._toastrService.error('TABLE.EXPORT.RequestError');
20772
+ return of(false);
20773
+ }));
20698
20774
  }), filter$1(Boolean), takeUntil(this.destroy$))
20699
20775
  .subscribe((res) => {
20700
20776
  if (res) {
@@ -42680,6 +42756,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
42680
42756
  }]
42681
42757
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
42682
42758
 
42759
+ class ReportDetailsService extends BaseEditorConfigService {
42760
+ constructor(injector) {
42761
+ super(injector);
42762
+ this.injector = injector;
42763
+ }
42764
+ getTableConfiguration(key, localPath) {
42765
+ var _a;
42766
+ return this.fetchData({
42767
+ key,
42768
+ type: NDF_EDITOR_TYPE.REPORTS,
42769
+ app: (_a = this.environment) === null || _a === void 0 ? void 0 : _a.appKey,
42770
+ localPath
42771
+ }).pipe(map((res) => {
42772
+ var _a;
42773
+ return (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.config;
42774
+ }));
42775
+ }
42776
+ }
42777
+ ReportDetailsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ReportDetailsService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
42778
+ ReportDetailsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ReportDetailsService, providedIn: 'root' });
42779
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ReportDetailsService, decorators: [{
42780
+ type: Injectable,
42781
+ args: [{ providedIn: 'root' }]
42782
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
42783
+
42683
42784
  class DigitChartComponent extends BaseChart {
42684
42785
  constructor() {
42685
42786
  super(...arguments);
@@ -43547,7 +43648,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
43547
43648
  function mapToNdfTableConfig(report, details) {
43548
43649
  var _a, _b, _c, _d, _e;
43549
43650
  const _request = report.request;
43550
- const _detailsConfig = ___default.merge((_a = report.reports) === null || _a === void 0 ? void 0 : _a.details, details);
43651
+ const { source } = ___default.merge((_a = report.reports) === null || _a === void 0 ? void 0 : _a.details, details);
43652
+ const _detailsConfig = source;
43551
43653
  const customUrl = ___default.merge({
43552
43654
  url: `/api/v1${_request === null || _request === void 0 ? void 0 : _request.customUrl.url}`,
43553
43655
  method: _request === null || _request === void 0 ? void 0 : _request.customUrl.method
@@ -43998,1350 +44100,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
43998
44100
  }]
43999
44101
  }] });
44000
44102
 
44001
- const TABLE_DATA = {
44002
- options: {
44003
- columns: {
44004
- toggle: true,
44005
- sortable: {
44006
- enabled: true,
44007
- },
44008
- },
44009
- filters: {
44010
- mode: 'payload',
44011
- reload: {
44012
- strategy: 'always',
44013
- },
44014
- panel: {
44015
- visible: true,
44016
- toggleButton: true,
44017
- },
44018
- fields: [
44019
- {
44020
- type: 'aggregation',
44021
- config: {
44022
- label: 'rmAdvancedSearch.recDefintionSystemName',
44023
- aggregation: 'RecordDefinition_systemName_agg',
44024
- fieldKey: 'recdef:systemName',
44025
- dataTransformer: 'system',
44026
- order: 0,
44027
- sendMode: 'queryParam',
44028
- render: {
44029
- type: 'checkbox',
44030
- options: {
44031
- showTotal: true,
44032
- },
44033
- },
44034
- },
44035
- },
44036
- {
44037
- type: 'aggregation',
44038
- config: {
44039
- label: 'rmAdvancedSearch.gdocCategoryHierarchyCode',
44040
- aggregation: 'generaldocument_categoryHierarchyCode_agg',
44041
- fieldKey: 'gdoc:categoryHierarchyCode',
44042
- dataTransformer: 'subject',
44043
- order: 0,
44044
- sendMode: 'queryParam',
44045
- valueType: 'property',
44046
- render: {
44047
- type: 'checkbox',
44048
- options: {
44049
- showTotal: true,
44050
- },
44051
- },
44052
- },
44053
- },
44054
- {
44055
- type: 'aggregation',
44056
- config: {
44057
- label: 'rmAdvancedSearch.gdocCategoryHierarchyCode1',
44058
- aggregation: 'generaldocument_categoryHierarchyCode_1_agg',
44059
- fieldKey: 'gdoc:categoryHierarchyCode__1',
44060
- order: 0,
44061
- sendMode: 'queryParam',
44062
- valueType: 'property',
44063
- dataTransformer: 'subject',
44064
- render: {
44065
- type: 'checkbox',
44066
- options: {
44067
- showTotal: true,
44068
- collapse: true,
44069
- },
44070
- },
44071
- },
44072
- },
44073
- {
44074
- type: 'aggregation',
44075
- config: {
44076
- label: 'rmAdvancedSearch.gdocDocumentTypeCode',
44077
- aggregation: 'generaldocument_documentTypeCode_agg',
44078
- fieldKey: 'gdoc:documentTypeCode',
44079
- dataTransformer: 'documentTypee',
44080
- sendMode: 'queryParam',
44081
- render: {
44082
- type: 'checkbox',
44083
- options: {
44084
- showTotal: true,
44085
- filter: true,
44086
- sort: true,
44087
- collapse: true,
44088
- },
44089
- },
44090
- },
44091
- },
44092
- {
44093
- type: 'predicate',
44094
- config: {
44095
- label: 'FILTERS.gdocDocumentSubject',
44096
- fieldKey: 'gdoc:documentSubject',
44097
- sendMode: 'payload',
44098
- valueType: 'valueObject',
44099
- render: {
44100
- type: 'input',
44101
- options: {
44102
- delay: 300,
44103
- suffix: {
44104
- dropdown: {
44105
- items: [
44106
- {
44107
- key: 'OPERATORS.equals',
44108
- value: '=',
44109
- },
44110
- {
44111
- key: 'OPERATORS.notEquals',
44112
- value: '!=',
44113
- },
44114
- {
44115
- key: 'OPERATORS.like',
44116
- value: 'LIKE',
44117
- },
44118
- {
44119
- key: 'OPERATORS.iLike',
44120
- value: 'ILIKE',
44121
- },
44122
- ],
44123
- },
44124
- },
44125
- },
44126
- },
44127
- },
44128
- },
44129
- {
44130
- type: 'predicate',
44131
- config: {
44132
- label: 'FILTERS.dcTitle',
44133
- fieldKey: 'dc:title',
44134
- sendMode: 'payload',
44135
- valueType: 'valueObject',
44136
- render: {
44137
- type: 'input',
44138
- options: {
44139
- delay: 300,
44140
- suffix: {
44141
- dropdown: {
44142
- items: [
44143
- {
44144
- key: 'OPERATORS.equals',
44145
- value: '=',
44146
- },
44147
- {
44148
- key: 'OPERATORS.notEquals',
44149
- value: '!=',
44150
- },
44151
- {
44152
- key: 'OPERATORS.like',
44153
- value: 'LIKE',
44154
- },
44155
- {
44156
- key: 'OPERATORS.iLike',
44157
- value: 'ILIKE',
44158
- },
44159
- ],
44160
- },
44161
- },
44162
- },
44163
- },
44164
- },
44165
- },
44166
- {
44167
- type: 'predicate',
44168
- config: {
44169
- label: 'FILTERS.documentNumber',
44170
- fieldKey: 'gdoc:documentReferenceNumber',
44171
- sendMode: 'payload',
44172
- valueType: 'valueObject',
44173
- render: {
44174
- type: 'input',
44175
- options: {
44176
- debounceTime: 300,
44177
- suffix: {
44178
- dropdown: {
44179
- items: [
44180
- {
44181
- key: 'OPERATORS.equals',
44182
- value: '=',
44183
- },
44184
- {
44185
- key: 'OPERATORS.notEquals',
44186
- value: '!=',
44187
- },
44188
- {
44189
- key: 'OPERATORS.like',
44190
- value: 'LIKE',
44191
- },
44192
- {
44193
- key: 'OPERATORS.iLike',
44194
- value: 'ILIKE',
44195
- },
44196
- ],
44197
- },
44198
- },
44199
- },
44200
- },
44201
- },
44202
- },
44203
- {
44204
- type: 'predicate',
44205
- config: {
44206
- label: 'FILTERS.recUnifiedNumber',
44207
- fieldKey: 'recdef:unifiedNumber',
44208
- sendMode: 'payload',
44209
- valueType: 'valueObject',
44210
- render: {
44211
- type: 'input',
44212
- options: {
44213
- delay: 300,
44214
- suffix: {
44215
- dropdown: {
44216
- items: [
44217
- {
44218
- key: 'OPERATORS.equals',
44219
- value: '=',
44220
- },
44221
- {
44222
- key: 'OPERATORS.notEquals',
44223
- value: '!=',
44224
- },
44225
- {
44226
- key: 'OPERATORS.like',
44227
- value: 'LIKE',
44228
- },
44229
- {
44230
- key: 'OPERATORS.iLike',
44231
- value: 'ILIKE',
44232
- },
44233
- ],
44234
- },
44235
- },
44236
- },
44237
- },
44238
- },
44239
- },
44240
- {
44241
- type: 'aggregation',
44242
- config: {
44243
- label: 'FILTERS.recPhysicalOriginal',
44244
- aggregation: 'RecordDefinition_physicalOriginal_agg',
44245
- fieldKey: 'recdef:physicalOriginal',
44246
- prefix: 'FILTERS.BUCKETS.physicalOriginal.',
44247
- sendMode: 'queryParam',
44248
- render: {
44249
- type: 'checkbox',
44250
- options: {
44251
- showTotal: true,
44252
- },
44253
- },
44254
- },
44255
- },
44256
- {
44257
- type: 'aggregation',
44258
- config: {
44259
- label: 'rmAdvancedSearch.gdocSecrecyLevel',
44260
- aggregation: 'generaldocument_secrecyLevel_agg',
44261
- fieldKey: 'gdoc:secrecyLevel',
44262
- prefix: 'search.buckets.',
44263
- sendMode: 'queryParam',
44264
- render: {
44265
- type: 'checkbox',
44266
- options: {
44267
- showTotal: true,
44268
- },
44269
- },
44270
- },
44271
- },
44272
- {
44273
- type: 'predicate',
44274
- config: {
44275
- label: 'FILTERS.tags',
44276
- fieldKey: 'ecm:tag',
44277
- sendMode: 'payload',
44278
- valueType: 'valueObject',
44279
- render: {
44280
- type: 'input',
44281
- options: {
44282
- delay: 300,
44283
- suffix: {
44284
- dropdown: {
44285
- items: [
44286
- {
44287
- key: 'OPERATORS.equals',
44288
- value: '=',
44289
- },
44290
- {
44291
- key: 'OPERATORS.notEquals',
44292
- value: '!=',
44293
- },
44294
- {
44295
- key: 'OPERATORS.like',
44296
- value: 'LIKE',
44297
- },
44298
- {
44299
- key: 'OPERATORS.iLike',
44300
- value: 'ILIKE',
44301
- },
44302
- ],
44303
- },
44304
- },
44305
- },
44306
- },
44307
- },
44308
- },
44309
- {
44310
- type: 'aggregation',
44311
- config: {
44312
- label: 'FILTERS.priority',
44313
- aggregation: 'generaldocument_importance_agg',
44314
- fieldKey: 'gdoc:importance',
44315
- prefix: 'search.buckets.',
44316
- sendMode: 'queryParam',
44317
- render: {
44318
- type: 'checkbox',
44319
- options: {
44320
- showTotal: true,
44321
- },
44322
- },
44323
- },
44324
- },
44325
- {
44326
- type: 'aggregation',
44327
- config: {
44328
- label: 'FILTERS.dcCreated',
44329
- aggregation: 'dublincore_created_agg',
44330
- fieldKey: 'dc:created',
44331
- prefix: 'search.buckets.',
44332
- sendMode: 'queryParam',
44333
- tooltip: {
44334
- type: 'date',
44335
- properties: {
44336
- from: 'from',
44337
- to: 'to',
44338
- },
44339
- },
44340
- render: {
44341
- type: 'checkbox',
44342
- options: {
44343
- showTotal: true,
44344
- },
44345
- },
44346
- },
44347
- },
44348
- {
44349
- type: 'aggregation',
44350
- config: {
44351
- label: 'rmAdvancedSearch.gdocGDocumentDate',
44352
- aggregation: 'generaldocument_gDocumentDate_agg',
44353
- fieldKey: 'gdoc:gDocumentDate',
44354
- prefix: 'search.buckets.',
44355
- sendMode: 'custom',
44356
- valueType: 'valueObject',
44357
- render: {
44358
- type: 'dateList',
44359
- view: 'list',
44360
- options: {
44361
- showTotal: true,
44362
- minMax: true,
44363
- },
44364
- },
44365
- },
44366
- },
44367
- {
44368
- type: 'aggregation',
44369
- config: {
44370
- label: 'rmAdvancedSearch.saveTypee',
44371
- aggregation: 'RetentionInfo_saveTypee_agg',
44372
- fieldKey: 'retentioninfo:saveTypee',
44373
- prefix: 'FILTERS.BUCKETS.physicalOriginal.',
44374
- sendMode: 'queryParam',
44375
- render: {
44376
- type: 'checkbox',
44377
- options: {
44378
- showTotal: true,
44379
- },
44380
- },
44381
- },
44382
- },
44383
- {
44384
- type: 'aggregation',
44385
- config: {
44386
- label: 'rmAdvancedSearch.retentionPlan',
44387
- aggregation: 'RetentionInfo_status_agg',
44388
- fieldKey: 'retentioninfo:status',
44389
- prefix: 'FILTERS.BUCKETS.physicalOriginal.',
44390
- sendMode: 'queryParam',
44391
- render: {
44392
- type: 'checkbox',
44393
- options: {
44394
- showTotal: true,
44395
- },
44396
- },
44397
- },
44398
- },
44399
- {
44400
- type: 'aggregation',
44401
- config: {
44402
- label: 'FILTERS.startDateActiveRetention',
44403
- aggregation: 'RetentionInfo_activeRetentionStartDateHijri_agg',
44404
- fieldKey: 'retentioninfo:activeRetentionStartDateHijri',
44405
- prefix: 'search.buckets.',
44406
- sendMode: 'queryParam',
44407
- permission: 'hasRoleOnArchiveOrLoan',
44408
- tooltip: {
44409
- type: 'date',
44410
- properties: {
44411
- from: 'from',
44412
- to: 'to',
44413
- },
44414
- },
44415
- render: {
44416
- type: 'checkbox',
44417
- options: {
44418
- showTotal: true,
44419
- },
44420
- },
44421
- },
44422
- },
44423
- {
44424
- type: 'aggregation',
44425
- config: {
44426
- label: 'FILTERS.endDateActiveRetention',
44427
- aggregation: 'RetentionInfo_activeRetentionEndDateHijri_agg',
44428
- fieldKey: 'retentioninfo:activeRetentionEndDateHijri',
44429
- prefix: 'search.buckets.',
44430
- sendMode: 'queryParam',
44431
- permission: 'hasRoleOnArchiveOrLoan',
44432
- tooltip: {
44433
- type: 'date',
44434
- properties: {
44435
- from: 'from',
44436
- to: 'to',
44437
- },
44438
- },
44439
- render: {
44440
- type: 'checkbox',
44441
- options: {
44442
- showTotal: true,
44443
- },
44444
- },
44445
- },
44446
- },
44447
- {
44448
- type: 'aggregation',
44449
- config: {
44450
- label: 'FILTERS.endDateRetention',
44451
- aggregation: 'RetentionInfo_retentionEndDateHijri_agg',
44452
- fieldKey: 'retentioninfo:retentionEndDateHijri',
44453
- prefix: 'search.buckets.',
44454
- sendMode: 'queryParam',
44455
- permission: 'hasRoleOnArchiveOrLoan',
44456
- tooltip: {
44457
- type: 'date',
44458
- properties: {
44459
- from: 'from',
44460
- to: 'to',
44461
- },
44462
- },
44463
- render: {
44464
- type: 'checkbox',
44465
- options: {
44466
- showTotal: true,
44467
- },
44468
- },
44469
- },
44470
- },
44471
- {
44472
- type: 'aggregation',
44473
- config: {
44474
- label: 'rmAdvancedSearch.locationReference_site_agg',
44475
- aggregation: 'LocationReferenceSchema_site_agg',
44476
- permission: 'hasRoleOnArchiveOrLoan',
44477
- fieldKey: 'locRef:site',
44478
- order: 0,
44479
- sendMode: 'queryParam',
44480
- valueType: 'property',
44481
- dataTransformer: 'site',
44482
- render: {
44483
- type: 'checkbox',
44484
- options: {
44485
- showTotal: true,
44486
- },
44487
- },
44488
- },
44489
- },
44490
- {
44491
- type: 'aggregation',
44492
- config: {
44493
- label: 'rmAdvancedSearch.locationReference_store_agg',
44494
- aggregation: 'LocationReferenceSchema_store_agg',
44495
- fieldKey: 'locRef:store',
44496
- permission: 'hasRoleOnArchiveOrLoan',
44497
- order: 0,
44498
- sendMode: 'queryParam',
44499
- valueType: 'property',
44500
- dataTransformer: 'store',
44501
- render: {
44502
- type: 'checkbox',
44503
- options: {
44504
- showTotal: true,
44505
- },
44506
- },
44507
- },
44508
- },
44509
- {
44510
- type: 'predicate',
44511
- config: {
44512
- label: 'rmAdvancedSearch.locationReference_box',
44513
- fieldKey: 'locRef:boxCode',
44514
- permission: 'hasRoleOnArchiveOrLoan',
44515
- sendMode: 'payload',
44516
- valueType: 'valueObject',
44517
- render: {
44518
- type: 'input',
44519
- options: {
44520
- debounceTime: 400,
44521
- mask: {
44522
- mask: '00-00-00-00-000',
44523
- dropSpecialCharacters: false,
44524
- showMaskTyped: true,
44525
- },
44526
- suffix: {
44527
- dropdown: {
44528
- items: [
44529
- {
44530
- key: 'OPERATORS.equals',
44531
- value: '=',
44532
- },
44533
- {
44534
- key: 'OPERATORS.notEquals',
44535
- value: '!=',
44536
- },
44537
- {
44538
- key: 'OPERATORS.like',
44539
- value: 'LIKE',
44540
- },
44541
- {
44542
- key: 'OPERATORS.iLike',
44543
- value: 'ILIKE',
44544
- },
44545
- ],
44546
- },
44547
- },
44548
- },
44549
- },
44550
- },
44551
- },
44552
- ],
44553
- },
44554
- search: {
44555
- fieldKey: 'ecm:fulltext',
44556
- searchMode: 'triggered',
44557
- suffix: {
44558
- dialog: {
44559
- title: 'INFO.dialogTitle',
44560
- content: [
44561
- '##INFO.query_sequence##',
44562
- '##INFO.query_and##',
44563
- '##INFO.query_negation##',
44564
- '##INFO.query_prefix##',
44565
- '##INFO.query_historical##',
44566
- '##INFO.query_or##',
44567
- '##INFO.query_phrase##',
44568
- ],
44569
- },
44570
- },
44571
- },
44572
- tableMode: {
44573
- mode: 'list',
44574
- componentName: 'rms.components.advancedSearchCard',
44575
- toggleMode: true,
44576
- availableMode: [
44577
- {
44578
- value: 'list',
44579
- icon: 'table_rows',
44580
- },
44581
- {
44582
- value: 'custom',
44583
- icon: 'rectangle',
44584
- },
44585
- ],
44586
- },
44587
- },
44588
- scrollbarH: true,
44589
- pageNumber: 1,
44590
- pageSize: 10,
44591
- prefix: 'LISTING.',
44592
- pageProvider: 'PP_RM_Record',
44593
- customUrl: {
44594
- url: '/api/v1/custom-search/pp/PP_RM_Record/execute',
44595
- method: 'POST',
44596
- },
44597
- headers: {
44598
- properties: 'dublincore, file, generaldocument, RecordDefinition,RetentionInfo, LocationReferenceSchema, facetedTag',
44599
- },
44600
- quickFilters: 'After Archiving',
44601
- fullWidth: 'auto',
44602
- fields: {
44603
- systemName: 'recdef:systemName',
44604
- categoryHierarchyCode: 'gdoc:categoryHierarchyCode',
44605
- docTypee: 'gdoc:documentTypeCode',
44606
- subject: 'gdoc:documentSubject',
44607
- title: 'dc:title',
44608
- docNum: 'gdoc:documentReferenceNumber',
44609
- unifiedNumber: 'recdef:unifiedNumber',
44610
- physicalOriginal: 'recdef:physicalOriginal',
44611
- secrecyLevel: 'gdoc:secrecyLevel',
44612
- tags: 'ecm:tag',
44613
- importance: 'gdoc:importance',
44614
- created: 'dc:created',
44615
- gdocumentDate: 'gdoc:gDocumentDate',
44616
- saveTypee: 'retentioninfo:saveTypee',
44617
- retentioninfoStatus: 'retentioninfo:status',
44618
- activeRetentionStartDateHijri: 'retentioninfo:activeRetentionStartDateHijri',
44619
- activeRetentionEndDateHijri: 'retentioninfo:activeRetentionEndDateHijri',
44620
- retentionEndDateHijri: 'retentioninfo:retentionEndDateHijri',
44621
- site: 'locRef:site',
44622
- store: 'locRef:store',
44623
- box: 'locRef:boxCode',
44624
- file: 'file:content',
44625
- },
44626
- columns: [
44627
- {
44628
- name: 'systemName',
44629
- prop: 'properties.systemName',
44630
- display: true,
44631
- type: 'custom',
44632
- template: 'common.components.systemName',
44633
- translatePrefix: 'search.buckets',
44634
- isOrginalKey: true,
44635
- sortable: false,
44636
- headerClass: 'recdef:systemName',
44637
- defaultVisible: true,
44638
- minWidth: 150,
44639
- },
44640
- {
44641
- name: 'categoryHierarchyCode',
44642
- prop: 'properties.categoryHierarchyCode',
44643
- display: true,
44644
- type: 'custom',
44645
- template: 'rms.components.mainAndSecondaryCategory',
44646
- mainCategory: true,
44647
- sortable: true,
44648
- headerClass: 'gdoc:categoryHierarchyCode',
44649
- defaultVisible: true,
44650
- },
44651
- {
44652
- name: 'categoryHierarchyCode1',
44653
- prop: 'properties.categoryHierarchyCode',
44654
- display: true,
44655
- type: 'custom',
44656
- template: 'rms.components.mainAndSecondaryCategory',
44657
- mainCategory: false,
44658
- sortable: true,
44659
- headerClass: 'gdoc:categoryHierarchyCode',
44660
- defaultVisible: true,
44661
- },
44662
- {
44663
- name: 'Doc_Type',
44664
- prop: 'properties.docTypee',
44665
- display: true,
44666
- template: 'common.components.documentType',
44667
- type: 'custom',
44668
- headerClass: 'gdoc:documentTypeCode',
44669
- defaultVisible: true,
44670
- },
44671
- {
44672
- name: 'Doc_subject',
44673
- prop: 'properties.subject',
44674
- display: true,
44675
- type: 'text',
44676
- headerClass: 'gdoc:documentSubject',
44677
- defaultVisible: true,
44678
- },
44679
- {
44680
- name: 'Doc_Name',
44681
- prop: 'properties.title',
44682
- display: true,
44683
- type: 'custom',
44684
- template: 'common.components.titleWithIcon',
44685
- sortable: true,
44686
- headerClass: 'dc:title',
44687
- defaultVisible: false,
44688
- },
44689
- {
44690
- name: 'Doc_RefernceNum',
44691
- prop: 'properties.docNum',
44692
- display: true,
44693
- type: 'text',
44694
- sortable: true,
44695
- headerClass: 'gdoc:documentReferenceNumber',
44696
- defaultVisible: true,
44697
- },
44698
- {
44699
- name: 'unifiedNumber',
44700
- prop: 'properties.unifiedNumber',
44701
- display: true,
44702
- type: 'text',
44703
- sortable: true,
44704
- headerClass: 'recdef:unifiedNumber',
44705
- defaultVisible: true,
44706
- },
44707
- {
44708
- name: 'physicalOriginal',
44709
- prop: 'properties.physicalOriginal',
44710
- display: true,
44711
- type: 'custom',
44712
- template: 'rms.components.TranslatedValueColumn',
44713
- translatePrefix: 'rmDocumentUpload.hasPhysicalOriginal',
44714
- isBooleanValue: true,
44715
- sortable: false,
44716
- headerClass: 'recdef:physicalOriginal',
44717
- defaultVisible: false,
44718
- minWidth: 150,
44719
- },
44720
- {
44721
- name: 'secrecyLevel',
44722
- prop: 'properties.secrecyLevel',
44723
- display: true,
44724
- type: 'custom',
44725
- template: 'common.components.coloredSecrecyLevel',
44726
- headerClass: 'gdoc:secrecyLevel',
44727
- defaultVisible: true,
44728
- minWidth: 150,
44729
- },
44730
- {
44731
- name: 'tags',
44732
- prop: 'properties.tags',
44733
- display: true,
44734
- type: 'custom',
44735
- template: 'common.components.tags',
44736
- translatePrefix: 'search.buckets',
44737
- isOrginalKey: true,
44738
- sortable: false,
44739
- headerClass: 'ecm:tag',
44740
- defaultVisible: false,
44741
- minWidth: 150,
44742
- },
44743
- {
44744
- name: 'importance',
44745
- prop: 'properties.importance',
44746
- display: true,
44747
- translatePrefix: 'search.buckets',
44748
- type: 'custom',
44749
- template: 'rms.components.TranslatedValueColumn',
44750
- sortable: true,
44751
- isOrginalKey: true,
44752
- headerClass: 'gdoc:importance',
44753
- defaultVisible: false,
44754
- },
44755
- {
44756
- name: 'date_created',
44757
- prop: 'properties.created',
44758
- display: true,
44759
- type: 'custom',
44760
- template: 'common.components.dateWithoutTime',
44761
- headerClass: 'dc:created',
44762
- defaultVisible: false,
44763
- minWidth: 150,
44764
- },
44765
- {
44766
- name: 'docDate',
44767
- prop: 'properties.gdocumentDate',
44768
- display: true,
44769
- type: 'custom',
44770
- template: 'common.components.dateWithoutTime',
44771
- headerClass: 'gdoc:gDocumentDate',
44772
- defaultVisible: false,
44773
- },
44774
- {
44775
- name: 'retentionType',
44776
- prop: 'properties.saveTypee',
44777
- display: true,
44778
- translatePrefix: 'search.buckets',
44779
- type: 'custom',
44780
- template: 'rms.components.TranslatedValueColumn',
44781
- headerClass: 'retentioninfo:saveTypee',
44782
- defaultVisible: false,
44783
- },
44784
- {
44785
- name: 'retentioninfoStatus',
44786
- prop: 'properties.retentioninfoStatus',
44787
- display: true,
44788
- translatePrefix: 'search.buckets',
44789
- type: 'custom',
44790
- template: 'rms.components.TranslatedValueColumn',
44791
- headerClass: 'retentioninfo:status',
44792
- defaultVisible: false,
44793
- },
44794
- {
44795
- name: 'activeRetentionStartDateHijri',
44796
- prop: 'properties.activeRetentionStartDateHijri',
44797
- display: false,
44798
- type: 'custom',
44799
- template: 'common.components.hijri',
44800
- headerClass: 'retentioninfo:activeRetentionStartDateHijri',
44801
- defaultVisible: false,
44802
- },
44803
- {
44804
- name: 'activeRetentionEndDateHijri',
44805
- prop: 'properties.activeRetentionEndDateHijri',
44806
- display: false,
44807
- type: 'custom',
44808
- template: 'common.components.hijri',
44809
- headerClass: 'retentioninfo:activeRetentionEndDateHijri',
44810
- defaultVisible: false,
44811
- },
44812
- {
44813
- name: 'retentionEndDateHijri',
44814
- prop: 'properties.retentionEndDateHijri',
44815
- display: false,
44816
- type: 'custom',
44817
- template: 'common.components.hijri',
44818
- headerClass: 'retentioninfo:retentionEndDateHijri',
44819
- defaultVisible: true,
44820
- },
44821
- {
44822
- name: 'site',
44823
- prop: 'properties.site',
44824
- display: false,
44825
- type: 'custom',
44826
- template: 'common.components.site',
44827
- headerClass: 'locRef:site',
44828
- defaultVisible: true,
44829
- },
44830
- {
44831
- name: 'store',
44832
- prop: 'properties.store',
44833
- display: false,
44834
- type: 'custom',
44835
- template: 'common.components.store',
44836
- headerClass: 'locRef:store',
44837
- defaultVisible: true,
44838
- },
44839
- {
44840
- name: 'Box',
44841
- prop: 'properties.box',
44842
- display: false,
44843
- type: 'custom',
44844
- template: 'common.components.box',
44845
- headerClass: 'locRef:boxCode',
44846
- defaultVisible: true,
44847
- },
44848
- ],
44849
- columnsWithDynamicDisplay: [
44850
- 'activeRetentionStartDateHijri',
44851
- 'activeRetentionEndDateHijri',
44852
- 'retentionEndDateHijri',
44853
- 'site',
44854
- 'store',
44855
- 'Box',
44856
- ],
44857
- };
44858
- const REPORTS_DATA = {
44859
- request: {
44860
- pageProvider: 'PP_RPT_Expected_TransferArchive_Records',
44861
- customUrl: {
44862
- url: '/custom-search/pp/PP_RPT_Expected_TransferArchive_Records/execute',
44863
- method: 'post',
44864
- },
44865
- params: {
44866
- pageSize: 1,
44867
- },
44868
- },
44869
- filters: {
44870
- mode: 'payload',
44871
- visible: true,
44872
- togglePanel: true,
44873
- fields: [
44874
- {
44875
- type: 'aggregation',
44876
- config: {
44877
- label: 'rmAdvancedSearch.gdocCategoryHierarchyCode',
44878
- aggregation: 'generaldocument_categoryHierarchyCode_agg',
44879
- fieldKey: 'gdoc:categoryHierarchyCode',
44880
- dataTransformer: 'subject',
44881
- order: 0,
44882
- sendMode: 'queryParam',
44883
- valueType: 'property',
44884
- render: {
44885
- type: 'checkbox',
44886
- options: {
44887
- showTotal: true,
44888
- },
44889
- },
44890
- },
44891
- },
44892
- {
44893
- type: 'aggregation',
44894
- config: {
44895
- label: 'rmAdvancedSearch.gdocCategoryHierarchyCode1',
44896
- aggregation: 'generaldocument_categoryHierarchyCode_1_agg',
44897
- fieldKey: 'gdoc:categoryHierarchyCode__1',
44898
- order: 0,
44899
- sendMode: 'queryParam',
44900
- valueType: 'property',
44901
- dataTransformer: 'subject',
44902
- render: {
44903
- type: 'checkbox',
44904
- options: {
44905
- showTotal: true,
44906
- collapse: true,
44907
- },
44908
- },
44909
- },
44910
- },
44911
- ],
44912
- },
44913
- reports: {
44914
- details: {
44915
- enabled: true,
44916
- prefix: 'LISTING.',
44917
- // quickFilters: 'After Archiving',
44918
- columnsOptions: {
44919
- toggle: true,
44920
- sortable: {
44921
- enabled: true,
44922
- },
44923
- },
44924
- request: {
44925
- headers: {
44926
- properties: 'dublincore, file, generaldocument, RecordDefinition,retentioninfo',
44927
- },
44928
- },
44929
- fields: {
44930
- title: 'dc:title',
44931
- subject: 'gdoc:documentSubject',
44932
- docTypee: 'gdoc:documentTypeCode',
44933
- secrecyLevel: 'gdoc:secrecyLevel',
44934
- docTypeId: 'documenttypee:documentTypeId',
44935
- created: 'dc:created',
44936
- department: 'department',
44937
- file: 'file:content',
44938
- systemName: 'recdef:systemName',
44939
- docNum: 'gdoc:documentReferenceNumber',
44940
- physicalOriginal: 'recdef:physicalOriginal',
44941
- gdocumentDate: 'gdoc:gDocumentDate',
44942
- importance: 'gdoc:importance',
44943
- unifiedNumber: 'recdef:unifiedNumber',
44944
- creator: 'dc:creator',
44945
- saveTypee: 'retentioninfo:saveTypee',
44946
- },
44947
- columns: [
44948
- {
44949
- name: 'Doc_Name',
44950
- prop: 'properties.title',
44951
- display: true,
44952
- type: 'custom',
44953
- template: 'common.components.titleWithIcon',
44954
- sortable: true,
44955
- headerClass: 'dc:title',
44956
- defaultVisible: true,
44957
- },
44958
- {
44959
- name: 'systemName',
44960
- prop: 'properties.systemName',
44961
- display: true,
44962
- type: 'custom',
44963
- template: 'common.components.systemName',
44964
- translatePrefix: 'search.buckets',
44965
- isOrginalKey: true,
44966
- sortable: false,
44967
- headerClass: 'recdef:systemName',
44968
- defaultVisible: true,
44969
- },
44970
- {
44971
- name: 'Doc_RefernceNum',
44972
- prop: 'properties.docNum',
44973
- display: true,
44974
- type: 'text',
44975
- sortable: true,
44976
- headerClass: 'gdoc:documentReferenceNumber',
44977
- defaultVisible: true,
44978
- },
44979
- {
44980
- name: 'Doc_Type',
44981
- prop: 'properties.docTypee',
44982
- display: true,
44983
- template: 'common.components.documentType',
44984
- type: 'custom',
44985
- headerClass: 'gdoc:documentTypeCode',
44986
- defaultVisible: false,
44987
- },
44988
- {
44989
- name: 'retentionType',
44990
- prop: 'properties.saveTypee',
44991
- display: true,
44992
- type: 'text',
44993
- translatePrefix: 'vocabulary.VOC_SaveType',
44994
- headerClass: 'retentioninfo:saveTypee',
44995
- defaultVisible: false,
44996
- },
44997
- {
44998
- name: 'physicalOriginal',
44999
- prop: 'properties.physicalOriginal',
45000
- display: true,
45001
- type: 'custom',
45002
- template: 'rms.components.TranslatedValueColumn',
45003
- translatePrefix: 'rmDocumentUpload.hasPhysicalOriginal',
45004
- isBooleanValue: true,
45005
- sortable: false,
45006
- headerClass: 'recdef:physicalOriginal',
45007
- defaultVisible: false,
45008
- },
45009
- {
45010
- name: 'mainTopic',
45011
- prop: 'properties.subject',
45012
- display: true,
45013
- type: 'text',
45014
- headerClass: 'gdoc:documentSubject',
45015
- defaultVisible: false,
45016
- },
45017
- {
45018
- name: 'docDate',
45019
- prop: 'properties.gdocumentDate',
45020
- display: true,
45021
- type: 'custom',
45022
- template: 'common.components.dateWithoutTime',
45023
- headerClass: 'gdoc:gDocumentDate',
45024
- defaultVisible: true,
45025
- },
45026
- {
45027
- name: 'secrecyLevel',
45028
- prop: 'properties.secrecyLevel',
45029
- display: true,
45030
- type: 'custom',
45031
- template: 'common.components.coloredSecrecyLevel',
45032
- headerClass: 'gdoc:secrecyLevel',
45033
- defaultVisible: true,
45034
- },
45035
- {
45036
- name: 'importance',
45037
- prop: 'properties.importance',
45038
- display: true,
45039
- translatePrefix: 'search.buckets',
45040
- type: 'custom',
45041
- template: 'rms.components.TranslatedValueColumn',
45042
- sortable: true,
45043
- isOrginalKey: true,
45044
- headerClass: 'gdoc:importance',
45045
- },
45046
- {
45047
- name: 'unifiedNumber',
45048
- prop: 'properties.unifiedNumber',
45049
- display: true,
45050
- type: 'text',
45051
- sortable: true,
45052
- headerClass: 'recdef:unifiedNumber',
45053
- },
45054
- {
45055
- name: 'docDate',
45056
- prop: 'properties.created',
45057
- display: true,
45058
- type: 'custom',
45059
- template: 'common.components.dateWithoutTime',
45060
- headerClass: 'dc:created',
45061
- defaultVisible: false,
45062
- },
45063
- {
45064
- name: 'creator',
45065
- prop: 'properties.creator',
45066
- display: true,
45067
- type: 'text',
45068
- sortable: true,
45069
- headerClass: 'dc:creator',
45070
- defaultVisible: false,
45071
- },
45072
- {
45073
- name: 'documentType',
45074
- prop: 'properties.docTypeId',
45075
- display: true,
45076
- type: 'custom',
45077
- template: 'common.components.documentType',
45078
- headerClass: 'gdoc:documentTypeCode',
45079
- defaultVisible: false,
45080
- },
45081
- {
45082
- name: 'orgUnit',
45083
- prop: 'department.title',
45084
- display: true,
45085
- type: 'custom',
45086
- template: 'common.components.departement',
45087
- headerClass: 'recdef:departmentCode',
45088
- sortable: false,
45089
- defaultVisible: false,
45090
- },
45091
- ],
45092
- },
45093
- items: [
45094
- {
45095
- id: 'resultsCount',
45096
- label: 'REPORTS.resultsCount',
45097
- mode: 'digit',
45098
- datasource: {
45099
- propertyPath: 'resultsCount',
45100
- },
45101
- },
45102
- {
45103
- id: 'future__gdocCategoryHierarchyCode',
45104
- label: 'REPORTS.gdocCategoryHierarchyCode',
45105
- mode: 'graph',
45106
- print: true,
45107
- dialog: {
45108
- active: true,
45109
- },
45110
- details: {
45111
- enabled: true,
45112
- },
45113
- datasource: [
45114
- {
45115
- propertyPath: 'aggregations.generaldocument_categoryHierarchyCode_agg.buckets',
45116
- dataFormat: 'subject',
45117
- transformer: 'reduceData',
45118
- },
45119
- ],
45120
- chart: {
45121
- type: 'pie',
45122
- plugins: [
45123
- 'chartDataLabels',
45124
- 'scrollableLegends',
45125
- 'doughnutEmptyState',
45126
- ],
45127
- },
45128
- },
45129
- {
45130
- id: 'future__generaldocument_categoryHierarchyCode_1_agg',
45131
- label: 'REPORTS.gdocCategoryHierarchyCode1',
45132
- mode: 'graph',
45133
- print: true,
45134
- dialog: {
45135
- active: true,
45136
- },
45137
- details: {
45138
- enabled: true,
45139
- },
45140
- datasource: [
45141
- {
45142
- propertyPath: 'aggregations.generaldocument_categoryHierarchyCode_1_agg.buckets',
45143
- dataFormat: 'subject',
45144
- transformer: 'reduceData',
45145
- },
45146
- ],
45147
- chart: {
45148
- type: 'doughnut',
45149
- plugins: [
45150
- 'chartDataLabels',
45151
- 'scrollableLegends',
45152
- 'doughnutEmptyState',
45153
- ],
45154
- },
45155
- },
45156
- {
45157
- id: 'future__generaldocument_secrecyLevel_agg',
45158
- label: 'REPORTS.gdocSecrecyLevel',
45159
- mode: 'graph',
45160
- print: true,
45161
- dialog: {
45162
- active: true,
45163
- },
45164
- prefix: 'search.buckets.',
45165
- details: {
45166
- enabled: true,
45167
- },
45168
- datasource: [
45169
- {
45170
- propertyPath: 'aggregations.generaldocument_secrecyLevel_agg.buckets',
45171
- transformer: 'reduceData',
45172
- },
45173
- ],
45174
- chart: {
45175
- type: 'bar',
45176
- options: {
45177
- indexAxis: 'y',
45178
- responsive: true,
45179
- maintainAspectRatio: false,
45180
- scales: {
45181
- x: {
45182
- ticks: {
45183
- stepSize: 1,
45184
- },
45185
- grid: {
45186
- color: '#eee',
45187
- },
45188
- },
45189
- y: {
45190
- ticks: {
45191
- precision: 0,
45192
- stepSize: 1,
45193
- color: '#000',
45194
- crossAlign: 'far',
45195
- callback: function (_, index) {
45196
- const label = `${this.getLabels()[index]}`;
45197
- const maxLength = 18;
45198
- return (label === null || label === void 0 ? void 0 : label.length) > maxLength
45199
- ? label.substring(0, maxLength) + '...'
45200
- : label;
45201
- },
45202
- },
45203
- grid: {
45204
- color: '#000',
45205
- },
45206
- },
45207
- },
45208
- plugins: {
45209
- legend: {
45210
- display: false,
45211
- },
45212
- },
45213
- },
45214
- plugins: [
45215
- 'chartDataLabels',
45216
- 'scrollableLegends',
45217
- 'doughnutEmptyState',
45218
- ],
45219
- },
45220
- },
45221
- {
45222
- id: 'future__RetentionInfo_saveTypee_agg',
45223
- label: 'REPORTS.rinfoSaveTypee',
45224
- mode: 'graph',
45225
- print: true,
45226
- prefix: 'search.buckets.',
45227
- details: {
45228
- enabled: true,
45229
- },
45230
- datasource: [
45231
- {
45232
- propertyPath: 'aggregations.RetentionInfo_saveTypee_agg.buckets',
45233
- transformer: 'reduceData',
45234
- },
45235
- ],
45236
- chart: {
45237
- type: 'pie',
45238
- plugins: [
45239
- 'chartDataLabels',
45240
- 'scrollableLegends',
45241
- 'doughnutEmptyState',
45242
- ],
45243
- },
45244
- },
45245
- {
45246
- mode: 'dynamicLine',
45247
- id: 'late_RetentionInfo_activeRetentionExpireDate_agg',
45248
- label: 'REPORTS.expectedTransferDate',
45249
- print: true,
45250
- dialog: {
45251
- active: true,
45252
- },
45253
- details: {
45254
- enabled: true,
45255
- },
45256
- request: {
45257
- pageProvider: 'PP_RPT_Expected_TransferArchive_Records',
45258
- customUrl: {
45259
- url: '/custom-search/pp/PP_RPT_Expected_TransferArchive_Records/execute',
45260
- method: 'post',
45261
- },
45262
- },
45263
- datasource: [
45264
- {
45265
- aggregation: 'RetentionInfo_activeRetentionExpireDate_agg',
45266
- propertyPath: 'aggregations.RetentionInfo_activeRetentionExpireDate_agg.buckets',
45267
- transformer: 'timeFormat',
45268
- },
45269
- ],
45270
- chart: {
45271
- type: 'line',
45272
- options: {
45273
- layout: {
45274
- padding: {
45275
- right: 40,
45276
- left: 40,
45277
- },
45278
- },
45279
- },
45280
- datasets: [
45281
- {
45282
- borderWidth: 2,
45283
- borderColor: '#000',
45284
- pointBorderWidth: 0,
45285
- pointBackgroundColor: '#000',
45286
- },
45287
- ],
45288
- },
45289
- },
45290
- {
45291
- id: 'future__RecordDefinition_systemName_agg',
45292
- label: 'REPORTS.rdSystemName',
45293
- mode: 'graph',
45294
- print: true,
45295
- dialog: {
45296
- active: true,
45297
- },
45298
- prefix: 'search.buckets.',
45299
- details: {
45300
- enabled: true,
45301
- },
45302
- datasource: [
45303
- {
45304
- propertyPath: 'aggregations.RecordDefinition_systemName_agg.buckets',
45305
- transformer: 'reduceData',
45306
- },
45307
- ],
45308
- chart: {
45309
- type: 'bar',
45310
- direction: 'vertical',
45311
- plugins: [
45312
- 'chartDataLabels',
45313
- 'scrollableLegends',
45314
- 'doughnutEmptyState',
45315
- ],
45316
- },
45317
- },
45318
- ],
45319
- },
45320
- };
45321
-
45322
- class DataAccessService extends BaseService {
45323
- getData(key, type) {
45324
- if (type == NDF_EDITOR_TYPE.REPORTS) {
45325
- return of(JSON.stringify(REPORTS_DATA, null, 2));
45326
- }
45327
- return of(JSON.stringify(TABLE_DATA, null, 2));
44103
+ class DataAccessService extends BaseEditorConfigService {
44104
+ constructor(injector) {
44105
+ super(injector);
45328
44106
  }
45329
- saveData(key, data) {
45330
- return of(JSON.stringify(TABLE_DATA, null, 2));
44107
+ saveData(payload) {
44108
+ return this.customAutomation({
44109
+ operation: 'AC_UA_Create_UI_Configuration',
44110
+ context: payload
44111
+ });
45331
44112
  }
45332
44113
  }
45333
- DataAccessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DataAccessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
44114
+ DataAccessService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DataAccessService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
45334
44115
  DataAccessService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DataAccessService, providedIn: 'root' });
45335
44116
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DataAccessService, decorators: [{
45336
44117
  type: Injectable,
45337
44118
  args: [{
45338
44119
  providedIn: 'root'
45339
44120
  }]
45340
- }] });
44121
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
44122
+
44123
+ const METADATA_EDITOR_OPTIONS = new InjectionToken('METADATA_EDITOR_CONFIG');
45341
44124
 
45342
44125
  class DataStoreService {
45343
- constructor(dataAccessService) {
44126
+ constructor(dataAccessService, environment, options) {
45344
44127
  this.dataAccessService = dataAccessService;
44128
+ this.environment = environment;
44129
+ this.options = options;
45345
44130
  this._editorTypeSubject = new BehaviorSubject(NDF_EDITOR_TYPE.TABLES);
45346
44131
  this.editorType$ = this._editorTypeSubject.asObservable();
45347
44132
  this._editorModeSubject = new BehaviorSubject(CONFIG_EDITOR_MODE.EDIT);
@@ -45366,24 +44151,49 @@ class DataStoreService {
45366
44151
  this._editorTypeSubject.next(type);
45367
44152
  }
45368
44153
  getData(key, type) {
45369
- return this.dataAccessService.getData(key, type).pipe(switchMap((data) => {
45370
- this._dataSubject.next(data);
44154
+ var _a, _b;
44155
+ const metadata = ((_a = this.options) === null || _a === void 0 ? void 0 : _a[type]) || {};
44156
+ return this.dataAccessService
44157
+ .fetchData({
44158
+ app: (_b = this.environment) === null || _b === void 0 ? void 0 : _b.appKey,
44159
+ key: key,
44160
+ type: type,
44161
+ localPath: metadata === null || metadata === void 0 ? void 0 : metadata.localPath
44162
+ })
44163
+ .pipe(switchMap((res) => {
44164
+ var _a, _b;
44165
+ if ((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.config) {
44166
+ const data = JSON.stringify((_b = res === null || res === void 0 ? void 0 : res.data) === null || _b === void 0 ? void 0 : _b.config, null, 2);
44167
+ this._dataSubject.next(data || '{\n"key": "value"\n}');
44168
+ }
45371
44169
  return this.editorData$;
45372
44170
  }));
45373
44171
  }
45374
- saveData(key) {
44172
+ saveData(key, type) {
44173
+ var _a;
45375
44174
  const data = this._dataSubject.getValue();
45376
- return this.dataAccessService.saveData(key, data);
44175
+ return this.dataAccessService.saveData({
44176
+ app: (_a = this.environment) === null || _a === void 0 ? void 0 : _a.appKey,
44177
+ key: key,
44178
+ type: type,
44179
+ content: data
44180
+ });
45377
44181
  }
45378
44182
  storeData(data) {
45379
44183
  this._dataSubject.next(data);
45380
44184
  }
45381
44185
  }
45382
- DataStoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DataStoreService, deps: [{ token: DataAccessService }], target: i0.ɵɵFactoryTarget.Injectable });
44186
+ DataStoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DataStoreService, deps: [{ token: DataAccessService }, { token: 'environment' }, { token: METADATA_EDITOR_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable });
45383
44187
  DataStoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DataStoreService });
45384
44188
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DataStoreService, decorators: [{
45385
44189
  type: Injectable
45386
- }], ctorParameters: function () { return [{ type: DataAccessService }]; } });
44190
+ }], ctorParameters: function () { return [{ type: DataAccessService }, { type: undefined, decorators: [{
44191
+ type: Inject,
44192
+ args: ['environment']
44193
+ }] }, { type: undefined, decorators: [{
44194
+ type: Inject,
44195
+ args: [METADATA_EDITOR_OPTIONS]
44196
+ }] }]; } });
45387
44197
 
45388
44198
  // monaco-loader.service.ts
45389
44199
  class MonacoLoaderService {
@@ -45831,7 +44641,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
45831
44641
  }] });
45832
44642
 
45833
44643
  class NdfConfigEditorComponent extends DestroySubject {
45834
- constructor(environment, dataStore, configService, matDialog, location) {
44644
+ constructor(environment, dataStore, configService, matDialog, location, toastrService) {
45835
44645
  var _a;
45836
44646
  super();
45837
44647
  this.environment = environment;
@@ -45839,6 +44649,7 @@ class NdfConfigEditorComponent extends DestroySubject {
45839
44649
  this.configService = configService;
45840
44650
  this.matDialog = matDialog;
45841
44651
  this.location = location;
44652
+ this.toastrService = toastrService;
45842
44653
  this.isEditorHasErrors = false;
45843
44654
  this._defaultEditorOptions = {
45844
44655
  value: ``,
@@ -45865,7 +44676,7 @@ class NdfConfigEditorComponent extends DestroySubject {
45865
44676
  ngOnInit() {
45866
44677
  this._dataKeySubject
45867
44678
  .pipe(switchMap((key) => this.dataStore.getData(key, this.metadata.type)), takeUntil(this.destroy$))
45868
- .subscribe((res) => { });
44679
+ .subscribe();
45869
44680
  }
45870
44681
  onDataChanged(data) {
45871
44682
  this.dataStore.storeData(data);
@@ -45874,7 +44685,12 @@ class NdfConfigEditorComponent extends DestroySubject {
45874
44685
  this.isEditorHasErrors = hasErrors;
45875
44686
  }
45876
44687
  saveData() {
45877
- this.dataStore.saveData(this.metadata.key);
44688
+ this.dataStore
44689
+ .saveData(this.metadata.key, this.metadata.type)
44690
+ .pipe(takeUntil(this.destroy$))
44691
+ .subscribe((res) => {
44692
+ this.toastrService.show('success', 'TOASTER.SUCCESS', 'JSON_EDITOR.MESSAGES.dataSaved');
44693
+ });
45878
44694
  }
45879
44695
  navigateBack() {
45880
44696
  this.location.back();
@@ -45919,7 +44735,7 @@ class NdfConfigEditorComponent extends DestroySubject {
45919
44735
  }
45920
44736
  }
45921
44737
  }
45922
- NdfConfigEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfConfigEditorComponent, deps: [{ token: 'environment' }, { token: DataStoreService }, { token: AppConfigService }, { token: i1$3.MatDialog }, { token: i4$1.Location }], target: i0.ɵɵFactoryTarget.Component });
44738
+ NdfConfigEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfConfigEditorComponent, deps: [{ token: 'environment' }, { token: DataStoreService }, { token: AppConfigService }, { token: i1$3.MatDialog }, { token: i4$1.Location }, { token: CustomToastrService }], target: i0.ɵɵFactoryTarget.Component });
45923
44739
  NdfConfigEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: NdfConfigEditorComponent, selector: "app-ndf-config-editor", inputs: { metadata: "metadata", theme: "theme", options: "options" }, providers: [DataStoreService], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"config?.enabled && isFeatureEnabled; else emptyTpl\">\r\n\t<div class=\"ndf-config-editor\" ndfFluidHeight *permission=\"{ name: config?.types[metadata?.type]?.permission }\">\r\n\t\t<div class=\"ndf-config-editor__sidebar\">\r\n\t\t\t<app-editor-settings class=\"ndf-config-editor__setting\"></app-editor-settings>\r\n\t\t\t<app-config-editor-actions\r\n\t\t\t\tappItemHeight\r\n\t\t\t\tcssVar=\"--ndf-editor-actions-height\"\r\n\t\t\t\t[saveDisabled]=\"isEditorHasErrors || !(dataStore.editorData | isValidJson)\"\r\n\t\t\t\t[config]=\"config?.types[metadata?.type]\"\r\n\t\t\t\t(onInfo)=\"openInfoDialog($event)\"\r\n\t\t\t\t(onBack)=\"navigateBack()\"\r\n\t\t\t\t(onSave)=\"saveData()\"\r\n\t\t\t>\r\n\t\t\t</app-config-editor-actions>\r\n\t\t</div>\r\n\t\t<div class=\"ndf-config-editor__content\">\r\n\t\t\t<div class=\"ndf-config-editor__topbar\">\r\n\t\t\t\t<app-editor-mode-switch\r\n\t\t\t\t\t[mode]=\"dataStore.editorMode\"\r\n\t\t\t\t\t(changeMode)=\"dataStore.changeMode($event)\"\r\n\t\t\t\t></app-editor-mode-switch>\r\n\t\t\t</div>\r\n\t\t\t<app-config-preview\r\n\t\t\t\t*ngIf=\"dataStore.editorMode === modes.PREVIEW\"\r\n [type]=\"dataStore.editorType$ | async\"\r\n\t\t\t\t[data]=\"previewData$ | async\"\r\n\t\t\t></app-config-preview>\r\n\t\t\t<ndf-monaco-editor\r\n\t\t\t\t*ngIf=\"dataStore.editorMode === modes.EDIT\"\r\n\t\t\t\t[value]=\"editorData$ | async\"\r\n\t\t\t\t[options]=\"options$ | async\"\r\n\t\t\t\t[theme]=\"theme$ | async\"\r\n\t\t\t\t(valueChange)=\"onDataChanged($event)\"\r\n\t\t\t\t(hasError)=\"onEditorErrors($event)\"\r\n\t\t\t\t(onInit)=\"onEditorReady($event)\"\r\n\t\t\t></ndf-monaco-editor>\r\n\t\t</div>\r\n\t</div>\r\n</ng-container>\r\n\r\n<ng-template #emptyTpl>\r\n\t<div class=\"ndf-empty-config\">\r\n\t\t<app-no-data-found message=\"JSON_EDITOR.MESSAGES.notAllowed\"></app-no-data-found>\r\n\t</div>\r\n</ng-template>\r\n", styles: [":host{display:var(--ndf-config-wrapper-display, flex);flex-direction:var(--ndf-config-wrapper-direction, column);grid-gap:var(--ndf-config-wrapper-gap, .5rem);gap:var(--ndf-config-wrapper-gap, .5rem);flex-grow:1;height:var(--ndf-config-wrapper-height, 100%)}.ndf-empty-config{justify-content:center;align-items:center}.ndf-empty-config,.ndf-config-editor{padding:var(--ndf-editor-padding, 1rem);background-color:var(--ndf-editor-background-color, #fff);color:var(--ndf-editor-color);border-radius:var(--ndf-editor-border-radius, .5rem);display:flex;flex-grow:1;max-height:var(--ndf-fluid-height, 100%)}.ndf-config-editor{grid-gap:var(--ndf-editor--gap, 1rem);gap:var(--ndf-editor--gap, 1rem)}.ndf-config-editor__sidebar{width:var(--ndf-editor-sidebar-width, 18rem);background:var(--ndf-editor-sidebar-background);border:var(--ndf-editor-sidebars-border, 0px solid transparent);border-radius:var(--ndf-editor-sidebar-radius, 0rem);display:grid;grid-template-rows:var(--ndf-editor-sidebar-rows, 1fr auto)}.ndf-config-editor__content{flex-grow:1;background:var(--ndf-editor-content-background);border:var(--ndf-editor-content-border, 0px solid transparent);border-radius:var(--ndf-editor-content-radius, 0rem);display:flex;flex-direction:column;grid-gap:var(--ndf-editor-content-gap, 1rem);gap:var(--ndf-editor-content-gap, 1rem)}.ndf-config-editor__topbar{display:var(--ndf-editor-topbar-display, flex);justify-content:var(--ndf-editor-topbar-justify-content, flex-end)}.ndf-config-editor__setting{max-height:var(--ndf-editor-content-max-height, calc(var(--ndf-fluid-height) - var(--ndf-editor-actions-height, 125px) - 2.5rem));overflow:auto}\n"], components: [{ type: EditorSettingsComponent, selector: "app-editor-settings" }, { type: ConfigEditorActionsComponent, selector: "app-config-editor-actions", inputs: ["saveDisabled", "config"], outputs: ["onSave", "onInfo", "onBack"] }, { type: EditorModeSwitchComponent, selector: "app-editor-mode-switch", inputs: ["mode"], outputs: ["changeMode"] }, { type: ConfigPreviewComponent, selector: "app-config-preview", inputs: ["type", "data"] }, { type: MonacoEditorComponent, selector: "ndf-monaco-editor", inputs: ["value", "options", "theme", "model"], outputs: ["onInit", "hasError", "valueChange"] }, { type: NoDataFoundComponent, selector: "app-no-data-found", inputs: ["message", "width", "height"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: PermissionsDirective, selector: "[permission]", inputs: ["permission"] }, { type: FluidHeightDirective, selector: "[ndfFluidHeight]", inputs: ["minHeight", "ndfFluidHeight", "subtractItems", "decrease", "delay", "cssVar", "calculate", "inlineStyle"], exportAs: ["ndfFluidHeight"] }, { type: ElementHeightDirective, selector: "[appItemHeight]", inputs: ["cssVar", "calculate", "inlineStyle"], exportAs: ["appItemHeight"] }], pipes: { "isValidJson": IsValidJsonPipe, "async": i4$1.AsyncPipe } });
45924
44740
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfConfigEditorComponent, decorators: [{
45925
44741
  type: Component,
@@ -45932,7 +44748,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
45932
44748
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
45933
44749
  type: Inject,
45934
44750
  args: ['environment']
45935
- }] }, { type: DataStoreService }, { type: AppConfigService }, { type: i1$3.MatDialog }, { type: i4$1.Location }]; }, propDecorators: { metadata: [{
44751
+ }] }, { type: DataStoreService }, { type: AppConfigService }, { type: i1$3.MatDialog }, { type: i4$1.Location }, { type: CustomToastrService }]; }, propDecorators: { metadata: [{
45936
44752
  type: Input
45937
44753
  }], theme: [{
45938
44754
  type: Input
@@ -46044,5 +44860,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
46044
44860
  * Generated bundle index. Do not edit.
46045
44861
  */
46046
44862
 
46047
- export { ACTIONS_TABLE_TEMPLATE, AGGREGATION_FIELD_TYPES, AUTOCOMPLETE_TEMPLATE, ActionsTableTemplateDirective, ActiveUserSwitchComponent, ActivitiesLogComponent, ActivitiesLogModule, ActivityLineComponent, AdapterService, AddPermissionsDialogComponent, AddToCollectionComponent, AggregationAutocompleteComponent, AggregationCheckboxComponent, AggregationCustomComponent, AggregationDateListComponent, AggregationFieldComponent, AggregationGroupComponent, AggregationRadioComponent, AggregationSelectComponent, AggregationSwitchComponent, ApisErrorsMessagesService, AppConfigService, AppHasRoleDirective, AttachmentItemComponent, AttachmentItemModule, AttachmentModalModule, AttachmentsComponent, AttachmentsListComponent, AttachmentsPageProviderComponent, AutocompleteFilterPipe, AutocompleteTemplateDirective, AvatarComponent, AvatarModule, BaseChartBuilderService, BaseChartComponent, BaseColumnComponent, BaseComponent, BaseCustomReport, BaseDatePicker, BaseDateValueAccessor, BaseDialogComponent, BaseNodeClass, BaseSelector, BaseService, BooleanViewerComponent, ButtonComponent, CHART_DEFAULTS_OPTIONS, CHART_MAIN_COLOR, CHECKBOX_TEMPLATE, COLORS_COUNT, COMPARISON_OPERATOR, CONFIG_EDITOR_MODE, CUSTOM_FIELD_TYPES, CUSTOM_TEMPLATE, CachingExpiryUnit, CalendarService, CallApiService, CardComponent, CardModule, ChartComponent, ChartDataService, ChartDataTransformers, index$1 as ChartDefaults, ChartManagerService, ChartPanel, ChartPanelFooterComponent, ChartPanelHeaderComponent, ChartPanelModule, index as ChartPlugins, ChartPluginsRegistry, index$2 as ChartUtils, ChartsModule, CheckConditionPipe, CheckboxTemplateDirective, CircleNode, CircleNodeComponent, ClickOutsideDirective, ClipboardComponent, CommentApiService, CommentsDashletComponent, CommentsModule, ComponentRegisterService, ComponentTranslationModel, ConfigEditorActionsComponent, ConfigPreviewComponent, ConfirmCallerDialogComponent, ConfirmCallerModule, ConfirmDialogComponent, ConfirmationDialogComponent, ConfirmationDialogModule, Connection, ConnectionLabelComponent, ContentActionType, ContentNode, ContentNodeComponent, CopyComponent, CopyToClipboardDirective, CopyToClipboardModule, CorrespondenceRelationComponent, CorrespondenceRelationCreateFormComponent, CorrespondenceRelationModule, CorrespondenceRelationService, CorrespondenceTagsComponent, CreateDirectoryComponent, CreateEntityComponent, CreateEntityModule, CreateModalComponent, CreationTypeComponent, CtsTagsModule, CustomConnectionComponent, CustomDocumentViewerComponent, CustomFieldComponent, CustomMomentDateAdapter, CustomPpViewerComponent, CustomReportsRegistry, CustomSocketComponent, CustomTemplateDirective, CustomToastrModule, CustomToastrService, CutomeVocViewerComponent, DATE_LIST_TEMPLATE, DATE_LIST_VIEW, DATE_LOCALE_KEYS, DATE_TYPE, DEFAULT_DEBOUNCE_TIME, DEFAULT_VIEW, DIAGRAM_DEFAULT_OPTIONS, DIAGRAM_HEIGHT, DROPDOWN_LABEL_TEMPLATE, DROPDOWN_MULTI_LABEL_TEMPLATE, DROPDOWN_TEMPLATE, DataChartComponent, DataViewerComponent, DateFormatterService, DateHelperService, DateListTemplateDirective, DateViewerComponent, DeleteComponent, DepartmentApiService, DepartmentFormComponent, DepartmentManagementService, DepartmentViewerComponent, DestroySubject, DiagramDirective, DiagramPluginsService, DiagramService, DiagramUtils, DiagramsModule, DialogMangmentService, DigitChartService, DirectiveModule, DisplaySuitableIconComponent, DisplaySuitableIconModule, DocumentScanService, DocumentTemplatesConstants, DocumentTemplatesService, DocumentUploadComponent, DocumentsComponent, DocumentsConstants, DocumentsListComponent, DocumentsModule, DocumentsService, DragAndDropDirective, DropdownLabelTemplateDirective, DropdownMultiLabelTemplateDirective, DropdownTemplateDirective, DropdownViewerComponent, DynamicChartComponent, DynamicChartModule, DynamicColumnComponent, DynamicCustomComponent, DynamicFieldsRendererComponent, DynamicFieldsRendererModule, DynamicFilterComponent, DynamicFilterModule, DynamicFormBoolItemComponent, DynamicFormBuilderComponent, DynamicFormCheckboxItemComponent, DynamicFormComponent, DynamicFormDateItemComponent, DynamicFormDepartmentComponent, DynamicFormFieldComponent, DynamicFormHijriDateitemComponent, DynamicFormMapItemComponent, DynamicFormModule, DynamicFormOptionsComponent, DynamicFormSelectItemComponent, DynamicFormSelectTagComponent, DynamicFormSelectUserFilterComponent, DynamicFormSelectUsersComponent, DynamicFormService, DynamicFormSlideToggleitemComponent, DynamicFormTextItemComponent, DynamicFormTextareaComponent, DynamicFormViewerComponent, DynamicFormVocabularyItemComponent, DynamicSearchComponent, DynamicSearchModule, DynamicTableComponent, DynamicTableModule, DynamicTableService, DynamicTabsComponent, DynamicTabsModule, DynamicTimelineReportService, DynamicViewModule, EMPTY_TEMPLATE, ENTITY_TYPE, EXTENSION_JSONS, EditDeleteModalComponent, EditorModeSwitchComponent, EditorSettingsComponent, ElementHeightDirective, ElementHeightModule, EmptyTemplateDirective, EnvManager, Evaluator, EvaluatorsService, ExtensionLoaderService, ExtensionService, FIELD_SEND_MODE, FIELD_TYPE, FILTER_CUSTOM_TEMPLATE, FILTER_DATES_TYPE, FieldHeaderComponent, FieldValueObject, FileGridInfiniteScrollDirective, FileManagerAbstract, FileManagerAdapter, FileManagerPaginationConfig, FileManagerService, FileMangerModule, FileSizePipe, FilterAutocompleteInputComponent, FilterCollapseControlComponent, FilterComponent, FilterCustomTemplateDirective, FilterDateRangeComponent, FilterEmptyMessageComponent, FilterModule, FilterOptionTextComponent, FilterOptionsSortComponent, FilterPipe, FilterQueryService, FilterSearchInputComponent, FiltersByRolesPipe, FiltersMapperService, FiltersPanelComponent, FluidHeightDirective, FluidHeightModule, FolderModalComponent, FolderishType, FormBuilderService, GREGORIAN_DATE_FORMATS, GREGORIAN_FORMAT, GatewayNodeComponent, GatewayPortsComponent, GlobalAdminService, GlobalPdfTron, GregorianDatepickerComponent, HIJRI_DATE_ARABIC_NAMES, HIJRI_DATE_ENGLISH_NAMES, HIJRI_DATE_FORMATS, HIJRI_FORMAT, HashTranslateAsyncPipe, HashTranslatePipe, HijriAdapterService, HijriDatePipe, HijriDatepickerComponent, HijriGregorianDatepickerComponent, HtmlDialogComponent, IN_OUT_DIRECTION, IconService, InfoDialogComponent, InitializationService, InputDateComponent, InputPort, InputRangeDateComponent, ItemListComponent, Lang, LatestActivityComponent, LatestActivityModule, LibrarySharedModule, ListViewerComponent, LoanRequestComponent, LocalStoragService, LocalizeState, LocalizedDatePipe, LocalizedLabelPipe, MAT_MOMENT_DATE_ADAPTER_OPTIONS, MAT_MOMENT_DATE_ADAPTER_OPTIONS_FACTORY, MESSAGE_TYPE, MIN_VISIBLE_COUNT, MONACO_EDITOR_CONFIG, MY_MOMENT_FORMATS, MainfolderService, MapToAggregationConfigPipe, MessageService, ModeTogglerComponent, MomentDateAdapter, MonacoEditorComponent, MoveComponent, MultiValuePipe, MultipleDynamicFormViewerComponent, MutipleDynamicFormViewerModule, NDF_EDITOR_TYPE, NODE_CIRCLE_SIZE, NODE_GATEWAY_SIZE, NODE_HEIGHT, NODE_MARGIN, NODE_STATUS, NODE_TYPE, NODE_WIDTH, NOTIFICATIONS_LIST_OPTIONS, NOTIFICATION_ICON, NOTIFICATION_ITEM, NOTIFICATION_STATUS, NOTIFY_EVENT, NdfConfigEditorComponent, NdfConfigEditorModule, NdfConfirmationDialogComponent, NdfDatepickerComponent, NdfDatepickerModule, NdfFiltersPanelModule, NdfGregorianDatepickerComponent, NdfHijriDatepickerComponent, NdfNuxeoDialog, NdfPanelComponent, NdfPanelModule, NdfReportComponent, NdfReportsComponent, NdfReportsModule, NdfReportsService, NdfTableComponent, NdfTableConfigurationService, NdfTableModule, NdfTableService, NdfTabsComponent, NdfTabsModule, NdfTransformService, NgxHijriGregorianDatepickerModule, NoDataComponent, NoDataFoundComponent, NoDataModule, NodeIconComponent, NodeInputsComponent, NodeOutputsComponent, NodePortsComponent, NotificationIconDirective, NotificationItemComponent, NotificationItemDirective, NotificationSourceSelectComponent, NotificationStatusToggleComponent, NotificationToastComponent, NotificationsButtonComponent, NotificationsDateSelectComponent, NotificationsListComponent, NotificationsListContainerComponent, NotificationsModule, NotificationsService, NotificationsSettingsContainerComponent, NuxeoCoreModule, NuxeoDevelopmentFrameworkComponent, NuxeoDevelopmentFrameworkModule, NuxeoDevelopmentFrameworkService, NuxeoDialogModule, NuxeoDialogService, NuxeoMapper, NuxeoService, NxQL, NxQlQuery, OutputPort, PAGINATION_MODE, PANEL_MODE, PARAMS_KEYS, PREDICATE_FIELD_TYPES, PROJECT_BASE_HREF, PageSizesListComponent, PaginationComponent, PaginationModule, PdfTronModule, PdftronComponent, PdftronService, PermissionService, PermissionsComponent, PermissionsDirective, PermissionsModule, PermissionsTemplateComponent, PipesModule, PredicateDateInputComponent, PredicateFieldComponent, PredicateTextInputComponent, PublishDialogComponent, PublishingDocumentService, RADIO_TEMPLATE, RadioTemplateDirective, ReadMoreComponent, RecentlyViewedService, RemoveButtonComponent, RenameComponent, ReportConfigMapperService, ReportTransformService, ReportsDataTransformers, ReportsStateService, RolesService, SEARCH_TABLE_TEMPLATE, SOCKET_WIDTH, SUBSCRIPTION_STATE, SWITCH_TEMPLATE, SafeHtmlPipe, SanitizerPipe, ScanComponent, ScanModalComponent, SearchAutocompleteComponent, SearchTableTemplateDirective, SecurePipe, SelectComponent, SelectModule, SelectUsersByDepartmentModule, SelectUsersByDepartmentsComponent, SetDirRtlDirective, SetRtlDirective, ShareDialogComponent, SharedDocsService, SharedServicesModule, SidepanelComponent, SilentPdfTronService, SingleActivityComponent, SkeletonComponent, SkeletonModule, Socket, SortListPipe, SortingListComponent, SpellCheckerFieldModule, SpellCheckerTextFieldComponent, SpinnerComponent, StatisticService, StatusIconComponent, SwitchTemplateDirective, TRANSLATION_PROVIDER, TableColumnsTogglerComponent, TableComponent, TableExportComponent, TableModule, TableSkeletonComponent, TagsApiService, TemplateModalComponent, TemplateNode, TemplateNodeComponent, TextSearchComponent, TimeAgoPipe, ToastsModule, TooltipPipe, TransferDocComponent, TranslateLoaderService, TranslatedVocabularySelectComponent, TranslationService, TreeviewSelectComponent, UpdateModalComponent, UploadFileService, UploadManagmentService, UserCardComponent, UserComponent, UserModule, UserPreferenceValues, UserPreferencesService, UserService, UsersCardComponent, UsersCardModule, UtilityService, VALUE_OBJECT, VersionsComponent, ViewerFilesService, ViewerLogComponent, ViewerLogModule, VocabularyApiService, VocabularyComponent, VocabularyModule, WorkflowService, ZoomControlComponent, appInitializer, departmentCacheBuster$, extensionJsonsFactory, filterEnabled, getChartsOptions, getConnections, getDoughnutOptions, getHorizontalBarOptions, getLineOptions, getPieOptions, getRandomNumber, getValue, getVerticalBarOptions, isDateObject, isFieldValueObject, mergeArrays, mergeObjects, minute$1 as minute, provideExtensionConfig, reduceEmptyMenus, reduceSeparators, removeConnections, removeEmptyKeys, removeNode, removeNodeAndConnections, serializeControl, serializePort, slideAnimation, sortByOrder };
44863
+ export { ACTIONS_TABLE_TEMPLATE, AGGREGATION_FIELD_TYPES, AUTOCOMPLETE_TEMPLATE, ActionsTableTemplateDirective, ActiveUserSwitchComponent, ActivitiesLogComponent, ActivitiesLogModule, ActivityLineComponent, AdapterService, AddPermissionsDialogComponent, AddToCollectionComponent, AggregationAutocompleteComponent, AggregationCheckboxComponent, AggregationCustomComponent, AggregationDateListComponent, AggregationFieldComponent, AggregationGroupComponent, AggregationRadioComponent, AggregationSelectComponent, AggregationSwitchComponent, ApisErrorsMessagesService, AppConfigService, AppHasRoleDirective, AttachmentItemComponent, AttachmentItemModule, AttachmentModalModule, AttachmentsComponent, AttachmentsListComponent, AttachmentsPageProviderComponent, AutocompleteFilterPipe, AutocompleteTemplateDirective, AvatarComponent, AvatarModule, BaseChartBuilderService, BaseChartComponent, BaseColumnComponent, BaseComponent, BaseCustomReport, BaseDatePicker, BaseDateValueAccessor, BaseDialogComponent, BaseEditorConfigService, BaseNodeClass, BaseSelector, BaseService, BooleanViewerComponent, ButtonComponent, CHART_DEFAULTS_OPTIONS, CHART_MAIN_COLOR, CHECKBOX_TEMPLATE, COLORS_COUNT, COMPARISON_OPERATOR, CONFIG_EDITOR_MODE, CUSTOM_FIELD_TYPES, CUSTOM_TEMPLATE, CachingExpiryUnit, CalendarService, CallApiService, CardComponent, CardModule, ChartComponent, ChartDataService, ChartDataTransformers, index$1 as ChartDefaults, ChartManagerService, ChartPanel, ChartPanelFooterComponent, ChartPanelHeaderComponent, ChartPanelModule, index as ChartPlugins, ChartPluginsRegistry, index$2 as ChartUtils, ChartsModule, CheckConditionPipe, CheckboxTemplateDirective, CircleNode, CircleNodeComponent, ClickOutsideDirective, ClipboardComponent, CommentApiService, CommentsDashletComponent, CommentsModule, ComponentRegisterService, ComponentTranslationModel, ConfigEditorActionsComponent, ConfigPreviewComponent, ConfirmCallerDialogComponent, ConfirmCallerModule, ConfirmDialogComponent, ConfirmationDialogComponent, ConfirmationDialogModule, Connection, ConnectionLabelComponent, ContentActionType, ContentNode, ContentNodeComponent, CopyComponent, CopyToClipboardDirective, CopyToClipboardModule, CorrespondenceRelationComponent, CorrespondenceRelationCreateFormComponent, CorrespondenceRelationModule, CorrespondenceRelationService, CorrespondenceTagsComponent, CreateDirectoryComponent, CreateEntityComponent, CreateEntityModule, CreateModalComponent, CreationTypeComponent, CtsTagsModule, CustomConnectionComponent, CustomDocumentViewerComponent, CustomFieldComponent, CustomMomentDateAdapter, CustomPpViewerComponent, CustomReportsRegistry, CustomSocketComponent, CustomTemplateDirective, CustomToastrModule, CustomToastrService, CutomeVocViewerComponent, DATE_LIST_TEMPLATE, DATE_LIST_VIEW, DATE_LOCALE_KEYS, DATE_TYPE, DEFAULT_DEBOUNCE_TIME, DEFAULT_VIEW, DIAGRAM_DEFAULT_OPTIONS, DIAGRAM_HEIGHT, DROPDOWN_LABEL_TEMPLATE, DROPDOWN_MULTI_LABEL_TEMPLATE, DROPDOWN_TEMPLATE, DataChartComponent, DataViewerComponent, DateFormatterService, DateHelperService, DateListTemplateDirective, DateViewerComponent, DeleteComponent, DepartmentApiService, DepartmentFormComponent, DepartmentManagementService, DepartmentViewerComponent, DestroySubject, DiagramDirective, DiagramPluginsService, DiagramService, DiagramUtils, DiagramsModule, DialogMangmentService, DigitChartService, DirectiveModule, DisplaySuitableIconComponent, DisplaySuitableIconModule, DocumentScanService, DocumentTemplatesConstants, DocumentTemplatesService, DocumentUploadComponent, DocumentsComponent, DocumentsConstants, DocumentsListComponent, DocumentsModule, DocumentsService, DragAndDropDirective, DropdownLabelTemplateDirective, DropdownMultiLabelTemplateDirective, DropdownTemplateDirective, DropdownViewerComponent, DynamicChartComponent, DynamicChartModule, DynamicColumnComponent, DynamicCustomComponent, DynamicFieldsRendererComponent, DynamicFieldsRendererModule, DynamicFilterComponent, DynamicFilterModule, DynamicFormBoolItemComponent, DynamicFormBuilderComponent, DynamicFormCheckboxItemComponent, DynamicFormComponent, DynamicFormDateItemComponent, DynamicFormDepartmentComponent, DynamicFormFieldComponent, DynamicFormHijriDateitemComponent, DynamicFormMapItemComponent, DynamicFormModule, DynamicFormOptionsComponent, DynamicFormSelectItemComponent, DynamicFormSelectTagComponent, DynamicFormSelectUserFilterComponent, DynamicFormSelectUsersComponent, DynamicFormService, DynamicFormSlideToggleitemComponent, DynamicFormTextItemComponent, DynamicFormTextareaComponent, DynamicFormViewerComponent, DynamicFormVocabularyItemComponent, DynamicSearchComponent, DynamicSearchModule, DynamicTableComponent, DynamicTableModule, DynamicTableService, DynamicTabsComponent, DynamicTabsModule, DynamicTimelineReportService, DynamicViewModule, EMPTY_TEMPLATE, ENTITY_TYPE, EXTENSION_JSONS, EditDeleteModalComponent, EditorModeSwitchComponent, EditorSettingsComponent, ElementHeightDirective, ElementHeightModule, EmptyTemplateDirective, EnvManager, Evaluator, EvaluatorsService, ExtensionLoaderService, ExtensionService, FIELD_SEND_MODE, FIELD_TYPE, FILTER_CUSTOM_TEMPLATE, FILTER_DATES_TYPE, FieldHeaderComponent, FieldValueObject, FileGridInfiniteScrollDirective, FileManagerAbstract, FileManagerAdapter, FileManagerPaginationConfig, FileManagerService, FileMangerModule, FileSizePipe, FilterAutocompleteInputComponent, FilterCollapseControlComponent, FilterComponent, FilterCustomTemplateDirective, FilterDateRangeComponent, FilterEmptyMessageComponent, FilterModule, FilterOptionTextComponent, FilterOptionsSortComponent, FilterPipe, FilterQueryService, FilterSearchInputComponent, FiltersByRolesPipe, FiltersMapperService, FiltersPanelComponent, FluidHeightDirective, FluidHeightModule, FolderModalComponent, FolderishType, FormBuilderService, GREGORIAN_DATE_FORMATS, GREGORIAN_FORMAT, GatewayNodeComponent, GatewayPortsComponent, GlobalAdminService, GlobalPdfTron, GregorianDatepickerComponent, HIJRI_DATE_ARABIC_NAMES, HIJRI_DATE_ENGLISH_NAMES, HIJRI_DATE_FORMATS, HIJRI_FORMAT, HashTranslateAsyncPipe, HashTranslatePipe, HijriAdapterService, HijriDatePipe, HijriDatepickerComponent, HijriGregorianDatepickerComponent, HtmlDialogComponent, IN_OUT_DIRECTION, IconService, InfoDialogComponent, InitializationService, InputDateComponent, InputPort, InputRangeDateComponent, ItemListComponent, Lang, LatestActivityComponent, LatestActivityModule, LibrarySharedModule, ListViewerComponent, LoanRequestComponent, LocalStoragService, LocalizeState, LocalizedDatePipe, LocalizedLabelPipe, MAT_MOMENT_DATE_ADAPTER_OPTIONS, MAT_MOMENT_DATE_ADAPTER_OPTIONS_FACTORY, MESSAGE_TYPE, METADATA_EDITOR_OPTIONS, MIN_VISIBLE_COUNT, MONACO_EDITOR_CONFIG, MY_MOMENT_FORMATS, MainfolderService, MapToAggregationConfigPipe, MessageService, ModeTogglerComponent, MomentDateAdapter, MonacoEditorComponent, MoveComponent, MultiValuePipe, MultipleDynamicFormViewerComponent, MutipleDynamicFormViewerModule, NDF_EDITOR_TYPE, NODE_CIRCLE_SIZE, NODE_GATEWAY_SIZE, NODE_HEIGHT, NODE_MARGIN, NODE_STATUS, NODE_TYPE, NODE_WIDTH, NOTIFICATIONS_LIST_OPTIONS, NOTIFICATION_ICON, NOTIFICATION_ITEM, NOTIFICATION_STATUS, NOTIFY_EVENT, NdfConfigEditorComponent, NdfConfigEditorModule, NdfConfirmationDialogComponent, NdfDatepickerComponent, NdfDatepickerModule, NdfFiltersPanelModule, NdfGregorianDatepickerComponent, NdfHijriDatepickerComponent, NdfNuxeoDialog, NdfPanelComponent, NdfPanelModule, NdfReportComponent, NdfReportsComponent, NdfReportsModule, NdfReportsService, NdfTableComponent, NdfTableConfigurationService, NdfTableModule, NdfTableService, NdfTabsComponent, NdfTabsModule, NdfTransformService, NgxHijriGregorianDatepickerModule, NoDataComponent, NoDataFoundComponent, NoDataModule, NodeIconComponent, NodeInputsComponent, NodeOutputsComponent, NodePortsComponent, NotificationIconDirective, NotificationItemComponent, NotificationItemDirective, NotificationSourceSelectComponent, NotificationStatusToggleComponent, NotificationToastComponent, NotificationsButtonComponent, NotificationsDateSelectComponent, NotificationsListComponent, NotificationsListContainerComponent, NotificationsModule, NotificationsService, NotificationsSettingsContainerComponent, NuxeoCoreModule, NuxeoDevelopmentFrameworkComponent, NuxeoDevelopmentFrameworkModule, NuxeoDevelopmentFrameworkService, NuxeoDialogModule, NuxeoDialogService, NuxeoMapper, NuxeoService, NxQL, NxQlQuery, OutputPort, PAGINATION_MODE, PANEL_MODE, PARAMS_KEYS, PREDICATE_FIELD_TYPES, PROJECT_BASE_HREF, PageSizesListComponent, PaginationComponent, PaginationModule, PdfTronModule, PdftronComponent, PdftronService, PermissionService, PermissionsComponent, PermissionsDirective, PermissionsModule, PermissionsTemplateComponent, PipesModule, PredicateDateInputComponent, PredicateFieldComponent, PredicateTextInputComponent, PublishDialogComponent, PublishingDocumentService, RADIO_TEMPLATE, RadioTemplateDirective, ReadMoreComponent, RecentlyViewedService, RemoveButtonComponent, RenameComponent, ReportConfigMapperService, ReportDetailsService, ReportTransformService, ReportsDataTransformers, ReportsStateService, RolesService, SEARCH_TABLE_TEMPLATE, SOCKET_WIDTH, SUBSCRIPTION_STATE, SWITCH_TEMPLATE, SafeHtmlPipe, SanitizerPipe, ScanComponent, ScanModalComponent, SearchAutocompleteComponent, SearchTableTemplateDirective, SecurePipe, SelectComponent, SelectModule, SelectUsersByDepartmentModule, SelectUsersByDepartmentsComponent, SetDirRtlDirective, SetRtlDirective, ShareDialogComponent, SharedDocsService, SharedServicesModule, SidepanelComponent, SilentPdfTronService, SingleActivityComponent, SkeletonComponent, SkeletonModule, Socket, SortListPipe, SortingListComponent, SpellCheckerFieldModule, SpellCheckerTextFieldComponent, SpinnerComponent, StatisticService, StatusIconComponent, SwitchTemplateDirective, TRANSLATION_PROVIDER, TableColumnsTogglerComponent, TableComponent, TableExportComponent, TableModule, TableSkeletonComponent, TagsApiService, TemplateModalComponent, TemplateNode, TemplateNodeComponent, TextSearchComponent, TimeAgoPipe, ToastsModule, TooltipPipe, TransferDocComponent, TranslateLoaderService, TranslatedVocabularySelectComponent, TranslationService, TreeviewSelectComponent, UpdateModalComponent, UploadFileService, UploadManagmentService, UserCardComponent, UserComponent, UserModule, UserPreferenceValues, UserPreferencesService, UserService, UsersCardComponent, UsersCardModule, UtilityService, VALUE_OBJECT, VersionsComponent, ViewerFilesService, ViewerLogComponent, ViewerLogModule, VocabularyApiService, VocabularyComponent, VocabularyModule, WorkflowService, ZoomControlComponent, appInitializer, departmentCacheBuster$, extensionJsonsFactory, filterEnabled, getChartsOptions, getConnections, getDoughnutOptions, getHorizontalBarOptions, getLineOptions, getPieOptions, getRandomNumber, getValue, getVerticalBarOptions, isDateObject, isFieldValueObject, mergeArrays, mergeObjects, minute$1 as minute, provideExtensionConfig, reduceEmptyMenus, reduceSeparators, removeConnections, removeEmptyKeys, removeNode, removeNodeAndConnections, serializeControl, serializePort, slideAnimation, sortByOrder };
46048
44864
  //# sourceMappingURL=nuxeo-development-framework.js.map