nuxeo-development-framework 5.7.1 → 5.7.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.
- package/bundles/nuxeo-development-framework.umd.js +210 -11
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/pdf-tron/directives/index.js +2 -0
- package/esm2015/lib/components/pdf-tron/directives/ndf-tron-extract-text.directive.js +203 -0
- package/esm2015/lib/components/pdf-tron/models/index.js +2 -0
- package/esm2015/lib/components/pdf-tron/models/tron.model.js +2 -0
- package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +7 -12
- package/esm2015/lib/components/spell-checker-field/spell-checker-field.module.js +1 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/nuxeo-development-framework.js +204 -14
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/pdf-tron/directives/index.d.ts +1 -0
- package/lib/components/pdf-tron/directives/ndf-tron-extract-text.directive.d.ts +51 -0
- package/lib/components/pdf-tron/models/index.d.ts +1 -0
- package/lib/components/pdf-tron/models/tron.model.d.ts +35 -0
- package/lib/components/pdf-tron/pdf-tron.module.d.ts +3 -2
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -8,7 +8,7 @@ import { __awaiter, __classPrivateFieldGet, __decorate, __param, __classPrivateF
|
|
|
8
8
|
import * as i1$3 from '@angular/material/dialog';
|
|
9
9
|
import { MAT_DIALOG_DATA, MatDialogRef, MatDialogModule, MatDialogConfig, MatDialog } from '@angular/material/dialog';
|
|
10
10
|
import * as i1$5 from '@angular/router';
|
|
11
|
-
import { ActivatedRoute, Router, RouterModule, RoutesRecognized } from '@angular/router';
|
|
11
|
+
import { ActivatedRoute, Router, RouterModule, NavigationStart, RoutesRecognized } from '@angular/router';
|
|
12
12
|
import * as i1 from '@ngx-translate/core';
|
|
13
13
|
import { TranslateService, TranslateModule, TranslateStore, TranslateLoader } from '@ngx-translate/core';
|
|
14
14
|
import { map, distinctUntilChanged, takeUntil, catchError, take, tap, switchMap, first, delay, retry, expand, last, debounceTime, filter as filter$1, finalize, startWith, mergeMap, toArray, reduce, concatMap } from 'rxjs/operators';
|
|
@@ -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, { cloneDeep, filter, sortBy, each, unionWith, isEqual, 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, flatMap, map as map$1 } 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';
|
|
@@ -36158,23 +36158,213 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
36158
36158
|
type: Output
|
|
36159
36159
|
}] } });
|
|
36160
36160
|
|
|
36161
|
+
class NdfTronExtractText extends BaseComponent {
|
|
36162
|
+
constructor(pdfTronService, renderer, injector) {
|
|
36163
|
+
super(injector);
|
|
36164
|
+
this.pdfTronService = pdfTronService;
|
|
36165
|
+
this.renderer = renderer;
|
|
36166
|
+
this.injector = injector;
|
|
36167
|
+
this.listnerAdded = false;
|
|
36168
|
+
this.detectionRectColor = {
|
|
36169
|
+
R: 255,
|
|
36170
|
+
G: 230,
|
|
36171
|
+
B: 162,
|
|
36172
|
+
A: 1
|
|
36173
|
+
};
|
|
36174
|
+
this.focusedField = '';
|
|
36175
|
+
this.focusedFieldPrefix = '';
|
|
36176
|
+
this.onExtractText = new EventEmitter();
|
|
36177
|
+
this.extractedText = '';
|
|
36178
|
+
this.savedCoordinates = [];
|
|
36179
|
+
this.onAnnotationsChange = (annotations, action) => {
|
|
36180
|
+
var _a;
|
|
36181
|
+
this.extractedText = '';
|
|
36182
|
+
const { annotManager, docViewer, Annotations } = (_a = this.pdfTronService) === null || _a === void 0 ? void 0 : _a.instance;
|
|
36183
|
+
if (action === 'add') {
|
|
36184
|
+
annotations.forEach((annot) => {
|
|
36185
|
+
var _a;
|
|
36186
|
+
if (annot instanceof ((_a = this.pdfTronService) === null || _a === void 0 ? void 0 : _a.instance.Annotations.RectangleAnnotation)) {
|
|
36187
|
+
this.rect = annot.getRect();
|
|
36188
|
+
if (this.currentPageNum != docViewer.getCurrentPage()) {
|
|
36189
|
+
this.currentPageNum = docViewer.getCurrentPage();
|
|
36190
|
+
this.targetPage = this.pagesZones.pages[this.currentPageNum - 1];
|
|
36191
|
+
this.allWords = this.getAllWordsInThePage();
|
|
36192
|
+
}
|
|
36193
|
+
const pageHeight = this.targetPage.page_height;
|
|
36194
|
+
const pageWidth = this.targetPage.page_width;
|
|
36195
|
+
const standardHeight = docViewer.getPageHeight(this.currentPageNum);
|
|
36196
|
+
const standardWidth = docViewer.getPageWidth(this.currentPageNum);
|
|
36197
|
+
const widthRatio = pageWidth / standardWidth;
|
|
36198
|
+
const heightRatio = pageHeight / standardHeight;
|
|
36199
|
+
this.allWords.forEach((word) => {
|
|
36200
|
+
if (word.coordinates.upper_left.x >= widthRatio * this.rect.x1 &&
|
|
36201
|
+
word.coordinates.upper_left.y >= heightRatio * this.rect.y1 &&
|
|
36202
|
+
word.coordinates.bottom_right.x <= widthRatio * this.rect.x2 &&
|
|
36203
|
+
word.coordinates.bottom_right.y <= heightRatio * this.rect.y2) {
|
|
36204
|
+
this.extractedText += word.text + ' ';
|
|
36205
|
+
}
|
|
36206
|
+
});
|
|
36207
|
+
if (this.extractedText) {
|
|
36208
|
+
this.onExtractText.emit(this.extractedText);
|
|
36209
|
+
this.addFieldNameToRectangle(docViewer, annotManager, Annotations);
|
|
36210
|
+
this.holdDrawedRectangleCoordinates({
|
|
36211
|
+
width: widthRatio,
|
|
36212
|
+
height: heightRatio
|
|
36213
|
+
});
|
|
36214
|
+
}
|
|
36215
|
+
}
|
|
36216
|
+
});
|
|
36217
|
+
}
|
|
36218
|
+
};
|
|
36219
|
+
this.initiateTextDimensions();
|
|
36220
|
+
this.routerService.events.pipe(takeUntil(this.destroy$)).subscribe((res) => {
|
|
36221
|
+
var _a;
|
|
36222
|
+
if (res instanceof NavigationStart) {
|
|
36223
|
+
const { annotManager, docViewer } = (_a = this.pdfTronService) === null || _a === void 0 ? void 0 : _a.instance;
|
|
36224
|
+
annotManager.off('annotationChanged', this.onAnnotationsChange);
|
|
36225
|
+
docViewer.off('documentLoaded', this.enableAnnotationRectangle);
|
|
36226
|
+
}
|
|
36227
|
+
});
|
|
36228
|
+
}
|
|
36229
|
+
ngOnChanges(changes) {
|
|
36230
|
+
if (changes.focusedField || changes.pagesZones) {
|
|
36231
|
+
this.enableAnnotationRectangle();
|
|
36232
|
+
}
|
|
36233
|
+
}
|
|
36234
|
+
enableAnnotationRectangle() {
|
|
36235
|
+
var _a, _b, _c, _d, _e;
|
|
36236
|
+
if (this.focusedField && ((_a = this.pagesZones.pages) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
36237
|
+
(_c = (_b = this.pdfTronService) === null || _b === void 0 ? void 0 : _b.instance) === null || _c === void 0 ? void 0 : _c.setToolMode('AnnotationCreateRectangle');
|
|
36238
|
+
this.focusedLabelDimensions = this.calculateWidthOfText();
|
|
36239
|
+
}
|
|
36240
|
+
else {
|
|
36241
|
+
(_e = (_d = this.pdfTronService) === null || _d === void 0 ? void 0 : _d.instance) === null || _e === void 0 ? void 0 : _e.setToolMode('TextSelect');
|
|
36242
|
+
this.initiateTextDimensions();
|
|
36243
|
+
}
|
|
36244
|
+
}
|
|
36245
|
+
ngAfterViewChecked() {
|
|
36246
|
+
var _a, _b;
|
|
36247
|
+
if (((_a = this.pdfTronService) === null || _a === void 0 ? void 0 : _a.instance) && !this.listnerAdded && this.pagesZones) {
|
|
36248
|
+
this.listnerAdded = true;
|
|
36249
|
+
const { annotManager, docViewer } = (_b = this.pdfTronService) === null || _b === void 0 ? void 0 : _b.instance;
|
|
36250
|
+
docViewer.on('documentLoaded', this.enableAnnotationRectangle);
|
|
36251
|
+
this.setColorOfRectangle(docViewer);
|
|
36252
|
+
annotManager.on('annotationChanged', this.onAnnotationsChange);
|
|
36253
|
+
}
|
|
36254
|
+
}
|
|
36255
|
+
setColorOfRectangle(docViewer) {
|
|
36256
|
+
const rectangleTool = docViewer.getTool('AnnotationCreateRectangle');
|
|
36257
|
+
rectangleTool.defaults = {
|
|
36258
|
+
StrokeColor: this.detectionRectColor,
|
|
36259
|
+
FillColor: this.detectionRectColor,
|
|
36260
|
+
StrokeThickness: 2,
|
|
36261
|
+
Opacity: 0.4
|
|
36262
|
+
};
|
|
36263
|
+
}
|
|
36264
|
+
addFieldNameToRectangle(docViewer, annotManager, Annotations) {
|
|
36265
|
+
const { x1, x2, y1, y2 } = this.rect;
|
|
36266
|
+
if (this.focusedField) {
|
|
36267
|
+
const textAnnot = new Annotations.FreeTextAnnotation();
|
|
36268
|
+
textAnnot.PageNumber = docViewer.getCurrentPage();
|
|
36269
|
+
const rectWidth = x2 - x1;
|
|
36270
|
+
const rectHeight = y2 - y1;
|
|
36271
|
+
if (this.focusedLabelDimensions.width > rectWidth || this.focusedLabelDimensions.height > rectHeight) {
|
|
36272
|
+
textAnnot.X = x1;
|
|
36273
|
+
textAnnot.Y = y1 - 15;
|
|
36274
|
+
}
|
|
36275
|
+
else {
|
|
36276
|
+
textAnnot.X = x1 + rectWidth / 2 - this.focusedLabelDimensions.width / 2;
|
|
36277
|
+
textAnnot.Y = y1 + rectHeight / 2 - this.focusedLabelDimensions.height / 2;
|
|
36278
|
+
}
|
|
36279
|
+
textAnnot.Width = this.focusedLabelDimensions.width;
|
|
36280
|
+
textAnnot.Height = this.focusedLabelDimensions.height;
|
|
36281
|
+
textAnnot.FontSize = '24px';
|
|
36282
|
+
textAnnot.setPadding(new Annotations.Rect(0, 0, 0, 0));
|
|
36283
|
+
textAnnot.TextColor = new Annotations.Color(83, 70, 199);
|
|
36284
|
+
textAnnot.setContents(this.translatedLabel);
|
|
36285
|
+
textAnnot.StrokeThickness = 0;
|
|
36286
|
+
annotManager.addAnnotation(textAnnot);
|
|
36287
|
+
annotManager.redrawAnnotation(textAnnot);
|
|
36288
|
+
}
|
|
36289
|
+
}
|
|
36290
|
+
holdDrawedRectangleCoordinates(ratio) {
|
|
36291
|
+
const _windowCoordinates = {
|
|
36292
|
+
x1: ratio.width * this.rect.x1,
|
|
36293
|
+
x2: ratio.width * this.rect.x2,
|
|
36294
|
+
y1: ratio.height * this.rect.y1,
|
|
36295
|
+
y2: ratio.height * this.rect.y2
|
|
36296
|
+
};
|
|
36297
|
+
let index = this.savedCoordinates.findIndex((elem) => elem.fieldName === this.focusedField);
|
|
36298
|
+
if (index > -1) {
|
|
36299
|
+
this.savedCoordinates[index].coordinates.push({
|
|
36300
|
+
pdfTronCoordinate: this.rect,
|
|
36301
|
+
windowCoordinate: _windowCoordinates
|
|
36302
|
+
});
|
|
36303
|
+
}
|
|
36304
|
+
else {
|
|
36305
|
+
this.savedCoordinates.push({
|
|
36306
|
+
fieldName: this.focusedField,
|
|
36307
|
+
coordinates: [
|
|
36308
|
+
{
|
|
36309
|
+
pdfTronCoordinate: this.rect,
|
|
36310
|
+
windowCoordinate: _windowCoordinates
|
|
36311
|
+
}
|
|
36312
|
+
]
|
|
36313
|
+
});
|
|
36314
|
+
}
|
|
36315
|
+
}
|
|
36316
|
+
getAllWordsInThePage() {
|
|
36317
|
+
return flatMap(this.targetPage.zones, (zone) => flatMap(zone.paragraphs, (paragraph) => flatMap(paragraph.lines, (line) => map$1(line.words))));
|
|
36318
|
+
}
|
|
36319
|
+
initiateTextDimensions() {
|
|
36320
|
+
this.focusedLabelDimensions = { width: 0, height: 0 };
|
|
36321
|
+
}
|
|
36322
|
+
calculateWidthOfText() {
|
|
36323
|
+
const span = this.renderer.createElement('span');
|
|
36324
|
+
const textNode = this.renderer.createText(this.translatedLabel);
|
|
36325
|
+
this.renderer.appendChild(span, textNode);
|
|
36326
|
+
this.renderer.setStyle(span, 'font-size', '24px');
|
|
36327
|
+
this.renderer.setStyle(span, 'visibility', 'hidden');
|
|
36328
|
+
this.renderer.setStyle(span, 'position', 'absolute');
|
|
36329
|
+
this.renderer.appendChild(document.body, span);
|
|
36330
|
+
const dimensions = { width: span.clientWidth, height: span.clientHeight };
|
|
36331
|
+
this.renderer.removeChild(document.body, span);
|
|
36332
|
+
return dimensions;
|
|
36333
|
+
}
|
|
36334
|
+
get translatedLabel() {
|
|
36335
|
+
return this.translateService.instant(this.focusedFieldPrefix + this.focusedField);
|
|
36336
|
+
}
|
|
36337
|
+
}
|
|
36338
|
+
NdfTronExtractText.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTronExtractText, deps: [{ token: PdftronService }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
|
36339
|
+
NdfTronExtractText.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: NdfTronExtractText, selector: "[ndfTronExtractText]", inputs: { pagesZones: "pagesZones", detectionRectColor: "detectionRectColor", focusedField: "focusedField", focusedFieldPrefix: "focusedFieldPrefix" }, outputs: { onExtractText: "onExtractText" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
36340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: NdfTronExtractText, decorators: [{
|
|
36341
|
+
type: Directive,
|
|
36342
|
+
args: [{
|
|
36343
|
+
selector: '[ndfTronExtractText]'
|
|
36344
|
+
}]
|
|
36345
|
+
}], ctorParameters: function () { return [{ type: PdftronService }, { type: i0.Renderer2 }, { type: i0.Injector }]; }, propDecorators: { pagesZones: [{
|
|
36346
|
+
type: Input
|
|
36347
|
+
}], detectionRectColor: [{
|
|
36348
|
+
type: Input
|
|
36349
|
+
}], focusedField: [{
|
|
36350
|
+
type: Input
|
|
36351
|
+
}], focusedFieldPrefix: [{
|
|
36352
|
+
type: Input
|
|
36353
|
+
}], onExtractText: [{
|
|
36354
|
+
type: Output
|
|
36355
|
+
}] } });
|
|
36356
|
+
|
|
36161
36357
|
class PdfTronModule {
|
|
36162
36358
|
}
|
|
36163
36359
|
PdfTronModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PdfTronModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36164
|
-
PdfTronModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PdfTronModule, declarations: [PdftronComponent], imports: [CommonModule], exports: [PdftronComponent] });
|
|
36165
|
-
PdfTronModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PdfTronModule, imports: [[
|
|
36166
|
-
CommonModule
|
|
36167
|
-
]] });
|
|
36360
|
+
PdfTronModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PdfTronModule, declarations: [PdftronComponent, NdfTronExtractText], imports: [CommonModule], exports: [PdftronComponent, NdfTronExtractText] });
|
|
36361
|
+
PdfTronModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PdfTronModule, imports: [[CommonModule]] });
|
|
36168
36362
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PdfTronModule, decorators: [{
|
|
36169
36363
|
type: NgModule,
|
|
36170
36364
|
args: [{
|
|
36171
|
-
declarations: [PdftronComponent],
|
|
36172
|
-
imports: [
|
|
36173
|
-
|
|
36174
|
-
],
|
|
36175
|
-
exports: [
|
|
36176
|
-
PdftronComponent
|
|
36177
|
-
]
|
|
36365
|
+
declarations: [PdftronComponent, NdfTronExtractText],
|
|
36366
|
+
imports: [CommonModule],
|
|
36367
|
+
exports: [PdftronComponent, NdfTronExtractText]
|
|
36178
36368
|
}]
|
|
36179
36369
|
}] });
|
|
36180
36370
|
|
|
@@ -45435,5 +45625,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
45435
45625
|
* Generated bundle index. Do not edit.
|
|
45436
45626
|
*/
|
|
45437
45627
|
|
|
45438
|
-
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, ChartThemeService, index$2 as ChartUtils, ChartsModule, CheckConditionPipe, CheckboxTemplateDirective, CircleNode, CircleNodeComponent, ClickOutsideDirective, ClipboardComponent, ColumnRendererRegistryService, 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, ReportConfigurationService, 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 };
|
|
45628
|
+
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, ChartThemeService, index$2 as ChartUtils, ChartsModule, CheckConditionPipe, CheckboxTemplateDirective, CircleNode, CircleNodeComponent, ClickOutsideDirective, ClipboardComponent, ColumnRendererRegistryService, 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, NdfTronExtractText, 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, ReportConfigurationService, 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 };
|
|
45439
45629
|
//# sourceMappingURL=nuxeo-development-framework.js.map
|