nuxeo-development-framework 4.3.1 → 4.3.3
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 +4365 -3037
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/charts/chart.const.js +3 -0
- package/esm2015/lib/components/charts/chart.token.js +3 -0
- package/esm2015/lib/components/charts/charts.module.js +19 -0
- package/esm2015/lib/components/charts/components/base-chart.component.js +44 -0
- package/esm2015/lib/components/charts/components/chart.component.js +135 -0
- package/esm2015/lib/components/charts/components/data-chart.component.js +169 -0
- package/esm2015/lib/components/charts/components/index.js +4 -0
- package/esm2015/lib/components/charts/defaults/bar.js +18 -0
- package/esm2015/lib/components/charts/defaults/doughnut.js +18 -0
- package/esm2015/lib/components/charts/defaults/index.js +5 -0
- package/esm2015/lib/components/charts/defaults/line.js +36 -0
- package/esm2015/lib/components/charts/defaults/pie.js +20 -0
- package/esm2015/lib/components/charts/index.js +10 -0
- package/esm2015/lib/components/charts/models/index.js +5 -0
- package/esm2015/lib/components/charts/models/options.js +2 -0
- package/esm2015/lib/components/charts/models/plugins-options.js +2 -0
- package/esm2015/lib/components/charts/models/response.js +2 -0
- package/esm2015/lib/components/charts/models/statistic-request-config.js +2 -0
- package/esm2015/lib/components/charts/plugins/doughnut-center-text.js +25 -0
- package/esm2015/lib/components/charts/plugins/doughnut-empty-state.js +34 -0
- package/esm2015/lib/components/charts/plugins/index.js +4 -0
- package/esm2015/lib/components/charts/plugins/legend-margin.js +16 -0
- package/esm2015/lib/components/charts/services/index.js +2 -0
- package/esm2015/lib/components/charts/services/statistic.service.js +75 -0
- package/esm2015/lib/components/charts/utility/colors.js +79 -0
- package/esm2015/lib/components/charts/utility/common.js +7 -0
- package/esm2015/lib/components/charts/utility/index.js +3 -0
- package/esm2015/lib/components/comments/comments.module.js +9 -5
- package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +30 -23
- package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +28 -34
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +22 -22
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +16 -18
- package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +6 -6
- package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +3 -2
- package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +33 -29
- package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +32 -24
- package/esm2015/lib/components/diagrams/components/connection-label.component.js +1 -1
- package/esm2015/lib/components/diagrams/directive/diagram.directive.js +2 -3
- package/esm2015/lib/components/diagrams/editor/customize.js +11 -14
- package/esm2015/lib/components/diagrams/editor/overrides/connection-path.transformers.js +21 -34
- package/esm2015/lib/components/diagrams/editor/path-plugin.js +11 -10
- package/esm2015/lib/components/diagrams/models/base-node.model.js +2 -1
- package/esm2015/lib/components/diagrams/models/connection.model.js +1 -1
- package/esm2015/lib/components/diagrams/types/common.type.js +1 -1
- package/esm2015/lib/components/diagrams/types/diagram-config.type.js +1 -1
- package/esm2015/lib/components/diagrams/types/node-definition.js +1 -1
- package/esm2015/lib/components/diagrams/utilities/random.js +9 -3
- package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +9 -11
- package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +17 -7
- package/esm2015/lib/components/documents/components/documents/documents.component.js +1 -1
- package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +45 -40
- package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +21 -17
- package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +98 -92
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.js +22 -10
- package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +8 -4
- package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +28 -29
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +16 -3
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +26 -18
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +2 -2
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +4 -2
- package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +13 -10
- package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +3 -3
- package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +68 -29
- package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +60 -42
- package/esm2015/lib/components/file-manger/components/copy/copy.component.js +66 -36
- package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +40 -13
- package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +238 -200
- package/esm2015/lib/components/file-manger/components/creation-type/creation-type.component.js +14 -12
- package/esm2015/lib/components/file-manger/components/delete/delete.component.js +49 -20
- package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +45 -43
- package/esm2015/lib/components/file-manger/components/loan-request/loan-request.component.js +63 -36
- package/esm2015/lib/components/file-manger/components/move/move.component.js +61 -31
- package/esm2015/lib/components/file-manger/components/publish-dialog/publish-dialog.component.js +81 -81
- package/esm2015/lib/components/file-manger/components/rename/rename.component.js +58 -30
- package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +99 -66
- package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +95 -75
- package/esm2015/lib/components/file-manger/components/template-modal/template-modal.component.js +15 -11
- package/esm2015/lib/components/file-manger/components/transfer-doc/transfer-doc.component.js +54 -23
- package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +24 -24
- package/esm2015/lib/components/file-manger/file-manager.abstract.js +266 -264
- package/esm2015/lib/components/file-manger/file-manger.module.js +39 -35
- package/esm2015/lib/components/filter/filter/filter.component.js +1 -1
- package/esm2015/lib/components/notifications/components/base-notifications.component.js +2 -16
- package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +3 -3
- package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +24 -4
- package/esm2015/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.js +3 -2
- package/esm2015/lib/components/notifications/models/notification-message.mode.js +1 -1
- package/esm2015/lib/components/notifications/models/notifications-list-options.js +1 -1
- package/esm2015/lib/components/notifications/services/notifications.service.js +23 -17
- package/esm2015/lib/components/notifications/services/socket.service.js +13 -5
- package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +107 -90
- package/esm2015/lib/components/permissions/permissions/permissions.component.js +100 -57
- package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +36 -52
- package/esm2015/lib/components/permissions/permissions.module.js +23 -7
- package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +1 -1
- package/esm2015/lib/components/spell-checker-field/spell-checker-field.module.js +37 -0
- package/esm2015/lib/components/spell-checker-field/spell-checker-text-field/spell-checker-text-field.component.js +88 -0
- package/esm2015/lib/components/table/dynamic-component.js +59 -0
- package/esm2015/lib/components/table/page-sizes-list/page-sizes-list.component.js +38 -0
- package/esm2015/lib/components/table/table/table.component.js +39 -21
- package/esm2015/lib/components/table/table.module.js +22 -18
- package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +11 -6
- package/esm2015/lib/core/services/callApi/call-api.service.js +23 -6
- package/esm2015/lib/shared/components/base/base-selector.component.js +1 -1
- package/esm2015/lib/shared/components/base/base.component.js +5 -5
- package/esm2015/lib/shared/components/nuxeo-dialog/confirmation/ndf-confirmation-dialog.component.js +1 -1
- package/esm2015/lib/shared/components/nuxeo-dialog/nuxeo-dialog.module.js +8 -4
- package/esm2015/lib/shared/components/nuxeo-dialog/nuxeo.dialog.js +11 -7
- package/esm2015/lib/shared/services/base/http-base.service.js +10 -19
- package/esm2015/lib/shared-services/dialog-mangment.service.js +66 -21
- package/esm2015/lib/shared-services/shared-docs.service.js +20 -26
- package/esm2015/public-api.js +8 -2
- package/fesm2015/nuxeo-development-framework.js +3555 -2277
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/charts/chart.const.d.ts +2 -0
- package/lib/components/charts/chart.token.d.ts +8 -0
- package/lib/components/charts/charts.module.d.ts +9 -0
- package/lib/components/charts/components/base-chart.component.d.ts +21 -0
- package/lib/components/charts/components/chart.component.d.ts +28 -0
- package/lib/components/charts/components/data-chart.component.d.ts +39 -0
- package/lib/components/charts/components/index.d.ts +3 -0
- package/lib/components/charts/defaults/bar.d.ts +2 -0
- package/lib/components/charts/defaults/doughnut.d.ts +2 -0
- package/lib/components/charts/defaults/index.d.ts +4 -0
- package/lib/components/charts/defaults/line.d.ts +2 -0
- package/lib/components/charts/defaults/pie.d.ts +2 -0
- package/lib/components/charts/index.d.ts +9 -0
- package/lib/components/charts/models/index.d.ts +4 -0
- package/lib/components/charts/models/options.d.ts +12 -0
- package/lib/components/charts/models/plugins-options.d.ts +18 -0
- package/lib/components/charts/models/response.d.ts +5 -0
- package/lib/components/charts/models/statistic-request-config.d.ts +30 -0
- package/lib/components/charts/plugins/doughnut-center-text.d.ts +2 -0
- package/lib/components/charts/plugins/doughnut-empty-state.d.ts +2 -0
- package/lib/components/charts/plugins/index.d.ts +3 -0
- package/lib/components/charts/plugins/legend-margin.d.ts +2 -0
- package/lib/components/charts/services/index.d.ts +1 -0
- package/lib/components/charts/services/statistic.service.d.ts +23 -0
- package/lib/components/charts/utility/colors.d.ts +11 -0
- package/lib/components/charts/utility/common.d.ts +4 -0
- package/lib/components/charts/utility/index.d.ts +2 -0
- package/lib/components/comments/comments.module.d.ts +2 -1
- package/lib/components/comments/components/comment-item/comment-item.component.d.ts +3 -1
- package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +8 -5
- package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +8 -8
- package/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.d.ts +5 -5
- package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +3 -2
- package/lib/components/diagrams/editor/customize.d.ts +7 -7
- package/lib/components/diagrams/editor/overrides/connection-path.transformers.d.ts +2 -5
- package/lib/components/diagrams/models/base-node.model.d.ts +1 -1
- package/lib/components/diagrams/models/connection.model.d.ts +2 -1
- package/lib/components/diagrams/types/common.type.d.ts +4 -0
- package/lib/components/diagrams/types/diagram-config.type.d.ts +7 -7
- package/lib/components/diagrams/types/node-definition.d.ts +1 -0
- package/lib/components/diagrams/utilities/random.d.ts +1 -1
- package/lib/components/documents/components/document-upload/document-upload.component.d.ts +3 -1
- package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +11 -10
- package/lib/components/dynamic-chart/dynamic-chart.module.d.ts +5 -6
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.d.ts +6 -2
- package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.d.ts +2 -1
- package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts +4 -4
- package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +5 -1
- package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +3 -1
- package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +5 -1
- package/lib/components/dynamic-form/dynamic-form.module.d.ts +2 -1
- package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +29 -11
- package/lib/components/file-manger/components/add-to-collection/add-to-collection.component.d.ts +11 -5
- package/lib/components/file-manger/components/copy/copy.component.d.ts +11 -4
- package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts +9 -4
- package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +13 -19
- package/lib/components/file-manger/components/creation-type/creation-type.component.d.ts +6 -4
- package/lib/components/file-manger/components/delete/delete.component.d.ts +11 -4
- package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +9 -11
- package/lib/components/file-manger/components/loan-request/loan-request.component.d.ts +11 -5
- package/lib/components/file-manger/components/move/move.component.d.ts +11 -4
- package/lib/components/file-manger/components/publish-dialog/publish-dialog.component.d.ts +12 -10
- package/lib/components/file-manger/components/rename/rename.component.d.ts +11 -5
- package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +9 -8
- package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +6 -7
- package/lib/components/file-manger/components/template-modal/template-modal.component.d.ts +4 -3
- package/lib/components/file-manger/components/transfer-doc/transfer-doc.component.d.ts +11 -4
- package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +9 -8
- package/lib/components/file-manger/file-manager.abstract.d.ts +24 -22
- package/lib/components/file-manger/file-manger.module.d.ts +2 -1
- package/lib/components/notifications/components/base-notifications.component.d.ts +2 -8
- package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +1 -1
- package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +4 -1
- package/lib/components/notifications/models/notification-message.mode.d.ts +1 -0
- package/lib/components/notifications/models/notifications-list-options.d.ts +4 -0
- package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +8 -6
- package/lib/components/permissions/permissions/permissions.component.d.ts +3 -1
- package/lib/components/permissions/permissions-template/permissions-template.component.d.ts +3 -3
- package/lib/components/permissions/permissions.module.d.ts +2 -1
- package/lib/components/spell-checker-field/spell-checker-field.module.d.ts +10 -0
- package/lib/components/spell-checker-field/spell-checker-text-field/spell-checker-text-field.component.d.ts +24 -0
- package/lib/components/table/dynamic-component.d.ts +20 -0
- package/lib/components/table/page-sizes-list/page-sizes-list.component.d.ts +15 -0
- package/lib/components/table/table/table.component.d.ts +15 -6
- package/lib/components/table/table.module.d.ts +14 -10
- package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +2 -2
- package/lib/core/services/callApi/call-api.service.d.ts +8 -1
- package/lib/shared/components/base/base-selector.component.d.ts +4 -4
- package/lib/shared/components/base/base.component.d.ts +5 -5
- package/lib/shared/components/nuxeo-dialog/nuxeo-dialog.module.d.ts +2 -1
- package/lib/shared/components/nuxeo-dialog/nuxeo.dialog.d.ts +2 -1
- package/lib/shared/services/base/http-base.service.d.ts +3 -1
- package/lib/shared-services/dialog-mangment.service.d.ts +5 -1
- package/lib/shared-services/shared-docs.service.d.ts +3 -1
- package/package.json +3 -4
- package/public-api.d.ts +7 -1
- package/esm2015/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.js +0 -164
- package/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.d.ts +0 -33
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./dynamic-chart/dynamic-chart.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "@
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "@angular/material/tooltip";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
import * as i4 from "../../shared/libraryShared.module";
|
|
6
|
+
import * as i5 from "@angular/material/tooltip";
|
|
8
7
|
/**
|
|
9
8
|
* @title
|
|
10
9
|
* Chart Module
|
|
11
10
|
*/
|
|
12
11
|
export declare class DynamicChartModule {
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicChartModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicChartModule, [typeof i1.DynamicChartComponent
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicChartModule, [typeof i1.DynamicChartComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4.LibrarySharedModule, typeof i5.MatTooltipModule], [typeof i1.DynamicChartComponent]>;
|
|
15
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<DynamicChartModule>;
|
|
16
15
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class DynamicFieldsRendererComponent implements OnInit {
|
|
4
4
|
form: any;
|
|
5
5
|
agencyNameFilter: any;
|
|
6
6
|
countryNameFilter: any;
|
|
7
|
+
orgNameFilter: any;
|
|
8
|
+
ngoNameFilter: any;
|
|
7
9
|
mode: string;
|
|
8
10
|
fields: ({
|
|
9
11
|
type: string;
|
|
@@ -131,8 +133,10 @@ export declare class DynamicFieldsRendererComponent implements OnInit {
|
|
|
131
133
|
customParentProperty?: undefined;
|
|
132
134
|
useCustomAddEditAction?: undefined;
|
|
133
135
|
})[];
|
|
136
|
+
checkTextSpellCheckerField: EventEmitter<string>;
|
|
134
137
|
constructor();
|
|
135
138
|
ngOnInit(): void;
|
|
139
|
+
checkTextOfSpellCheckField(control: string): void;
|
|
136
140
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFieldsRendererComponent, never>;
|
|
137
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFieldsRendererComponent, "app-dynamic-fields-renderer", never, { "form": "form"; "agencyNameFilter": "agencyNameFilter"; "countryNameFilter": "countryNameFilter"; "mode": "mode"; "fields": "fields"; }, {}, never, never>;
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFieldsRendererComponent, "app-dynamic-fields-renderer", never, { "form": "form"; "agencyNameFilter": "agencyNameFilter"; "countryNameFilter": "countryNameFilter"; "orgNameFilter": "orgNameFilter"; "ngoNameFilter": "ngoNameFilter"; "mode": "mode"; "fields": "fields"; }, { "checkTextSpellCheckerField": "checkTextSpellCheckerField"; }, never, never>;
|
|
138
142
|
}
|
|
@@ -6,8 +6,9 @@ import * as i4 from "@angular/forms";
|
|
|
6
6
|
import * as i5 from "../../directive/directive.module";
|
|
7
7
|
import * as i6 from "@ngx-translate/core";
|
|
8
8
|
import * as i7 from "../vocabulary/vocabulary.module";
|
|
9
|
+
import * as i8 from "../spell-checker-field/spell-checker-field.module";
|
|
9
10
|
export declare class DynamicFieldsRendererModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFieldsRendererModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicFieldsRendererModule, [typeof i1.DynamicFieldsRendererComponent], [typeof i2.CommonModule, typeof i3.DynamicFormModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.DirectiveModule, typeof i6.TranslateModule, typeof i7.VocabularyModule], [typeof i1.DynamicFieldsRendererComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicFieldsRendererModule, [typeof i1.DynamicFieldsRendererComponent], [typeof i2.CommonModule, typeof i3.DynamicFormModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.DirectiveModule, typeof i6.TranslateModule, typeof i7.VocabularyModule, typeof i8.SpellCheckerFieldModule], [typeof i1.DynamicFieldsRendererComponent]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<DynamicFieldsRendererModule>;
|
|
13
14
|
}
|
package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
4
|
import { TreeviewItem } from 'ngx-treeview';
|
|
5
5
|
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
6
6
|
import { DepartmentApiService } from '../dynamic-form-department/services/department-api.service';
|
|
7
|
+
import { BaseDialogComponent } from '../../../../shared/components/base/base-dialog.component';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class DepartmentFormComponent implements OnInit {
|
|
9
|
+
export declare class DepartmentFormComponent extends BaseDialogComponent<DepartmentFormComponent, any, any> implements OnInit {
|
|
9
10
|
data: any;
|
|
10
11
|
dialogRef: MatDialogRef<DepartmentFormComponent>;
|
|
11
12
|
private toastr;
|
|
12
13
|
private departmentManagementService;
|
|
13
|
-
loading: boolean;
|
|
14
14
|
depId: any;
|
|
15
15
|
updateMode: boolean;
|
|
16
16
|
depCode: any;
|
|
17
17
|
item: TreeviewItem;
|
|
18
|
-
constructor(data: any, dialogRef: MatDialogRef<DepartmentFormComponent>, toastr: CustomToastrService, departmentManagementService: DepartmentApiService);
|
|
18
|
+
constructor(data: any, dialogRef: MatDialogRef<DepartmentFormComponent>, toastr: CustomToastrService, departmentManagementService: DepartmentApiService, injector: Injector);
|
|
19
19
|
departmentForm: FormGroup;
|
|
20
20
|
ngOnInit(): void;
|
|
21
21
|
filterNullValues(formValue: any): {};
|
|
@@ -50,6 +50,10 @@ export declare class DynamicFormDepartmentComponent implements ControlValueAcces
|
|
|
50
50
|
/** to allow custom paramsto be passed to get departments request from outside the component */
|
|
51
51
|
customParams: {};
|
|
52
52
|
disabled: boolean;
|
|
53
|
+
fixedParentNode: {
|
|
54
|
+
text: string;
|
|
55
|
+
value: string;
|
|
56
|
+
};
|
|
53
57
|
/** emitted when item is selected */
|
|
54
58
|
onSelecting: EventEmitter<any>;
|
|
55
59
|
/** emitted when action is clicked */
|
|
@@ -77,5 +81,5 @@ export declare class DynamicFormDepartmentComponent implements ControlValueAcces
|
|
|
77
81
|
hasErrors(): boolean;
|
|
78
82
|
onAction(e: any): void;
|
|
79
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormDepartmentComponent, [null, null, { optional: true; self: true; }]>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormDepartmentComponent, "app-dynamic-form-department", never, { "treeview": "treeview"; "treeViewAsFormControl": "treeViewAsFormControl"; "placeholder": "placeholder"; "multiple": "multiple"; "searchable": "searchable"; "label": "label"; "defaultSelect": "defaultSelect"; "displayDepTypee": "displayDepTypee"; "displayIsAllowRecExternal": "displayIsAllowRecExternal"; "pp_departmentNestedTree": "pp_departmentNestedTree"; "pp_departmentTree": "pp_departmentTree"; "customPrefix": "customPrefix"; "useCustomAddEditAction": "useCustomAddEditAction"; "customParentProperty": "customParentProperty"; "customParams": "customParams"; "disabled": "disabled"; }, { "onSelecting": "onSelecting"; "actionClicked": "actionClicked"; }, never, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormDepartmentComponent, "app-dynamic-form-department", never, { "treeview": "treeview"; "treeViewAsFormControl": "treeViewAsFormControl"; "placeholder": "placeholder"; "multiple": "multiple"; "searchable": "searchable"; "label": "label"; "defaultSelect": "defaultSelect"; "displayDepTypee": "displayDepTypee"; "displayIsAllowRecExternal": "displayIsAllowRecExternal"; "pp_departmentNestedTree": "pp_departmentNestedTree"; "pp_departmentTree": "pp_departmentTree"; "customPrefix": "customPrefix"; "useCustomAddEditAction": "useCustomAddEditAction"; "customParentProperty": "customParentProperty"; "customParams": "customParams"; "disabled": "disabled"; "fixedParentNode": "fixedParentNode"; }, { "onSelecting": "onSelecting"; "actionClicked": "actionClicked"; }, never, never>;
|
|
81
85
|
}
|
|
@@ -3,14 +3,16 @@ import { TreeviewItem } from 'ngx-treeview';
|
|
|
3
3
|
import { AppConfigService } from '../../../../../configuration/app-config.service';
|
|
4
4
|
import { AdapterService } from '../../../../../core/adapters/adapter.service';
|
|
5
5
|
import { NuxeoService } from '../../../../../core/services/nuxeo/nuxeo.service';
|
|
6
|
+
import { NuxeoDialogService } from '../../../../../../lib/shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class DepartmentManagementService {
|
|
8
9
|
private nuxeoService;
|
|
9
10
|
private adapter;
|
|
10
11
|
private myConfigService;
|
|
12
|
+
nuxeoDialogService: NuxeoDialogService;
|
|
11
13
|
private dialog;
|
|
12
14
|
private environment;
|
|
13
|
-
constructor(nuxeoService: NuxeoService, adapter: AdapterService, myConfigService: AppConfigService, dialog: MatDialog, environment: any);
|
|
15
|
+
constructor(nuxeoService: NuxeoService, adapter: AdapterService, myConfigService: AppConfigService, nuxeoDialogService: NuxeoDialogService, dialog: MatDialog, environment: any);
|
|
14
16
|
createDepartment(Department: any, parentId: any): import("rxjs").Observable<unknown>;
|
|
15
17
|
createDepartmentInRoot(Department: any): import("rxjs").Observable<unknown>;
|
|
16
18
|
updateDepartment(Department: any, departmentId: any): import("rxjs").Observable<unknown>;
|
|
@@ -76,6 +76,10 @@ export declare class TreeviewSelectComponent implements OnInit, OnChanges, OnDes
|
|
|
76
76
|
arabic: boolean;
|
|
77
77
|
languageSubscription: Subscription;
|
|
78
78
|
onDestroy$: Subject<boolean>;
|
|
79
|
+
fixedParentNode: {
|
|
80
|
+
text: string;
|
|
81
|
+
value: string;
|
|
82
|
+
};
|
|
79
83
|
private dropdownTreeviewSelectI18n;
|
|
80
84
|
constructor(i18n: TreeviewI18n, translation: TranslationService, departmentApiService: DepartmentApiService, departmentManagment: DepartmentManagementService, rolesService: RolesService, nuxeoService: NuxeoService, globalAdmin: GlobalAdminService);
|
|
81
85
|
ngOnInit(): void;
|
|
@@ -108,5 +112,5 @@ export declare class TreeviewSelectComponent implements OnInit, OnChanges, OnDes
|
|
|
108
112
|
update(item: any): void;
|
|
109
113
|
isItemSelected(item: any): any;
|
|
110
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeviewSelectComponent, never>;
|
|
111
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeviewSelectComponent, "app-dynamic-form-treeview-select", never, { "treeview": "treeview"; "treeViewAsFormControl": "treeViewAsFormControl"; "config": "config"; "items": "items"; "value": "value"; "multiple": "multiple"; "defaultSelect": "defaultSelect"; "pp_departmentNestedTree": "pp_departmentNestedTree"; "useCustomAddEditAction": "useCustomAddEditAction"; "customPrefix": "customPrefix"; "customParentProperty": "customParentProperty"; "placeholder": "placeholder"; "defaultSelection": "defaultSelection"; "displayDepTypee": "displayDepTypee"; "disabled": "disabled"; "displayIsAllowRecExternal": "displayIsAllowRecExternal"; }, { "valueChange": "valueChange"; "plusClicked": "plusClicked"; "actionClicked": "actionClicked"; }, never, never>;
|
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeviewSelectComponent, "app-dynamic-form-treeview-select", never, { "treeview": "treeview"; "treeViewAsFormControl": "treeViewAsFormControl"; "config": "config"; "items": "items"; "value": "value"; "multiple": "multiple"; "defaultSelect": "defaultSelect"; "pp_departmentNestedTree": "pp_departmentNestedTree"; "useCustomAddEditAction": "useCustomAddEditAction"; "customPrefix": "customPrefix"; "customParentProperty": "customParentProperty"; "placeholder": "placeholder"; "defaultSelection": "defaultSelection"; "displayDepTypee": "displayDepTypee"; "disabled": "disabled"; "displayIsAllowRecExternal": "displayIsAllowRecExternal"; "fixedParentNode": "fixedParentNode"; }, { "valueChange": "valueChange"; "plusClicked": "plusClicked"; "actionClicked": "actionClicked"; }, never, never>;
|
|
112
116
|
}
|
|
@@ -54,6 +54,7 @@ import * as i50 from "angular-ng-autocomplete";
|
|
|
54
54
|
import * as i51 from "angular-formio";
|
|
55
55
|
import * as i52 from "@angular/material/dialog";
|
|
56
56
|
import * as i53 from "../../pipes/pipes.module";
|
|
57
|
+
import * as i54 from "../../shared/components/nuxeo-dialog/nuxeo-dialog.module";
|
|
57
58
|
/**
|
|
58
59
|
* @title
|
|
59
60
|
* Dynamic Form Module
|
|
@@ -62,6 +63,6 @@ export declare class DynamicFormModule {
|
|
|
62
63
|
formioRegisters: () => (typeof registerVocabularyComponent)[];
|
|
63
64
|
constructor(injector: Injector);
|
|
64
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormModule, never>;
|
|
65
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicFormModule, [typeof i1.DynamicFormComponent, typeof i2.TreeviewSelectComponent, typeof i3.DynamicFormDepartmentComponent, typeof i4.DynamicFormBoolItemComponent, typeof i5.DynamicFormDateItemComponent, typeof i6.DynamicFormMapItemComponent, typeof i7.DynamicFormTextItemComponent, typeof i8.DynamicFormSelectItemComponent, typeof i9.DynamicFormItemDispatcherComponent, typeof i10.DynamicFormContentProxyDirective, typeof i11.DynamicFormTextareaComponent, typeof i12.DynamicFormSlideToggleitemComponent, typeof i13.DynamicFormVocabularyItemComponent, typeof i14.DynamicFormHijriDateitemComponent, typeof i15.DynamicFormCheckboxItemComponent, typeof i16.DynamicFormOptionsComponent, typeof i17.DynamicFormSelectUsersComponent, typeof i18.DynamicFormSelectUserFilterComponent, typeof i19.DynamicFormSelectTagComponent, typeof i20.SearchAutocompleteComponent, typeof i21.VocabularyWrapperComponent, typeof i22.DateWrapperComponent, typeof i1.DynamicFormComponent, typeof i23.DynamicFormBuilderComponent, typeof i24.DynamicFormFieldComponent, typeof i25.ToggleWrapperComponent, typeof i26.DynamicFormViewerComponent, typeof i27.DepartmentFormComponent, typeof i28.UserSelectorWrapperComponent], [typeof i29.CommonModule, typeof i30.TreeviewModule, typeof i31.FormsModule, typeof i32.LibrarySharedModule, typeof i33.OwlDateTimeModule, typeof i33.OwlNativeDateTimeModule, typeof i31.ReactiveFormsModule, typeof i34.MatDatepickerModule, typeof i35.MatNativeDateModule, typeof i36.MatCheckboxModule, typeof i37.MatInputModule, typeof i38.MatIconModule, typeof i39.MatButtonModule, typeof i40.MatMenuModule, typeof i41.MatDatetimepickerModule, typeof i41.MatNativeDatetimeModule, typeof i42.NgSelectModule, typeof i43.MatSlideToggleModule, typeof i44.NgxHijriGregorianDatepickerModule, typeof i45.MatRadioModule, typeof i46.AvatarModule, typeof i47.DirectiveModule, typeof i48.MatTooltipModule, typeof i49.TranslateModule, typeof i50.AutocompleteLibModule, typeof i51.FormioModule, typeof i52.MatDialogModule, typeof i53.PipesModule], [typeof i2.TreeviewSelectComponent, typeof i3.DynamicFormDepartmentComponent, typeof i1.DynamicFormComponent, typeof i4.DynamicFormBoolItemComponent, typeof i5.DynamicFormDateItemComponent, typeof i6.DynamicFormMapItemComponent, typeof i7.DynamicFormTextItemComponent, typeof i8.DynamicFormSelectItemComponent, typeof i11.DynamicFormTextareaComponent, typeof i12.DynamicFormSlideToggleitemComponent, typeof i13.DynamicFormVocabularyItemComponent, typeof i14.DynamicFormHijriDateitemComponent, typeof i15.DynamicFormCheckboxItemComponent, typeof i16.DynamicFormOptionsComponent, typeof i17.DynamicFormSelectUsersComponent, typeof i18.DynamicFormSelectUserFilterComponent, typeof i19.DynamicFormSelectTagComponent, typeof i20.SearchAutocompleteComponent, typeof i1.DynamicFormComponent, typeof i23.DynamicFormBuilderComponent, typeof i24.DynamicFormFieldComponent, typeof i26.DynamicFormViewerComponent, typeof i49.TranslateModule, typeof i27.DepartmentFormComponent]>;
|
|
66
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicFormModule, [typeof i1.DynamicFormComponent, typeof i2.TreeviewSelectComponent, typeof i3.DynamicFormDepartmentComponent, typeof i4.DynamicFormBoolItemComponent, typeof i5.DynamicFormDateItemComponent, typeof i6.DynamicFormMapItemComponent, typeof i7.DynamicFormTextItemComponent, typeof i8.DynamicFormSelectItemComponent, typeof i9.DynamicFormItemDispatcherComponent, typeof i10.DynamicFormContentProxyDirective, typeof i11.DynamicFormTextareaComponent, typeof i12.DynamicFormSlideToggleitemComponent, typeof i13.DynamicFormVocabularyItemComponent, typeof i14.DynamicFormHijriDateitemComponent, typeof i15.DynamicFormCheckboxItemComponent, typeof i16.DynamicFormOptionsComponent, typeof i17.DynamicFormSelectUsersComponent, typeof i18.DynamicFormSelectUserFilterComponent, typeof i19.DynamicFormSelectTagComponent, typeof i20.SearchAutocompleteComponent, typeof i21.VocabularyWrapperComponent, typeof i22.DateWrapperComponent, typeof i1.DynamicFormComponent, typeof i23.DynamicFormBuilderComponent, typeof i24.DynamicFormFieldComponent, typeof i25.ToggleWrapperComponent, typeof i26.DynamicFormViewerComponent, typeof i27.DepartmentFormComponent, typeof i28.UserSelectorWrapperComponent], [typeof i29.CommonModule, typeof i30.TreeviewModule, typeof i31.FormsModule, typeof i32.LibrarySharedModule, typeof i33.OwlDateTimeModule, typeof i33.OwlNativeDateTimeModule, typeof i31.ReactiveFormsModule, typeof i34.MatDatepickerModule, typeof i35.MatNativeDateModule, typeof i36.MatCheckboxModule, typeof i37.MatInputModule, typeof i38.MatIconModule, typeof i39.MatButtonModule, typeof i40.MatMenuModule, typeof i41.MatDatetimepickerModule, typeof i41.MatNativeDatetimeModule, typeof i42.NgSelectModule, typeof i43.MatSlideToggleModule, typeof i44.NgxHijriGregorianDatepickerModule, typeof i45.MatRadioModule, typeof i46.AvatarModule, typeof i47.DirectiveModule, typeof i48.MatTooltipModule, typeof i49.TranslateModule, typeof i50.AutocompleteLibModule, typeof i51.FormioModule, typeof i52.MatDialogModule, typeof i53.PipesModule, typeof i54.NuxeoDialogModule], [typeof i2.TreeviewSelectComponent, typeof i3.DynamicFormDepartmentComponent, typeof i1.DynamicFormComponent, typeof i4.DynamicFormBoolItemComponent, typeof i5.DynamicFormDateItemComponent, typeof i6.DynamicFormMapItemComponent, typeof i7.DynamicFormTextItemComponent, typeof i8.DynamicFormSelectItemComponent, typeof i11.DynamicFormTextareaComponent, typeof i12.DynamicFormSlideToggleitemComponent, typeof i13.DynamicFormVocabularyItemComponent, typeof i14.DynamicFormHijriDateitemComponent, typeof i15.DynamicFormCheckboxItemComponent, typeof i16.DynamicFormOptionsComponent, typeof i17.DynamicFormSelectUsersComponent, typeof i18.DynamicFormSelectUserFilterComponent, typeof i19.DynamicFormSelectTagComponent, typeof i20.SearchAutocompleteComponent, typeof i1.DynamicFormComponent, typeof i23.DynamicFormBuilderComponent, typeof i24.DynamicFormFieldComponent, typeof i26.DynamicFormViewerComponent, typeof i49.TranslateModule, typeof i27.DepartmentFormComponent]>;
|
|
66
67
|
static ɵinj: i0.ɵɵInjectorDeclaration<DynamicFormModule>;
|
|
67
68
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
-
import { CallApiService } from '../../../core/services/callApi/call-api.service';
|
|
4
3
|
import { AdapterService } from '../../../core/adapters/adapter.service';
|
|
4
|
+
import { CallApiService } from '../../../core/services/callApi/call-api.service';
|
|
5
5
|
import { DynamicTableService } from '../services/dynamic-table.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
@@ -35,6 +35,7 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
35
35
|
private adapter;
|
|
36
36
|
private callApi;
|
|
37
37
|
private dynamicTableService;
|
|
38
|
+
private cdr;
|
|
38
39
|
/** event to emit when selecting single row */
|
|
39
40
|
onRowSelected: EventEmitter<any>;
|
|
40
41
|
/** event to emit when selecting single row to catch index*/
|
|
@@ -47,6 +48,7 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
47
48
|
onMultiRowSelected: EventEmitter<any>;
|
|
48
49
|
/** event t emit when start getting data and when finish */
|
|
49
50
|
onLoading: EventEmitter<any>;
|
|
51
|
+
onLoad: EventEmitter<any>;
|
|
50
52
|
/** Array of columns */
|
|
51
53
|
columns: any;
|
|
52
54
|
/** Array of columns on smaller screens */
|
|
@@ -64,8 +66,15 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
64
66
|
/** Controls number of items per page in table */
|
|
65
67
|
pageSize: any;
|
|
66
68
|
/** Sorting column */
|
|
67
|
-
sortingBy
|
|
69
|
+
sortingBy: {
|
|
70
|
+
sortBy?: string;
|
|
71
|
+
sortOrder?: string;
|
|
72
|
+
};
|
|
68
73
|
queryParam?: {};
|
|
74
|
+
customFilters: {
|
|
75
|
+
params?: Record<string, any>;
|
|
76
|
+
payload?: Record<string, any>;
|
|
77
|
+
};
|
|
69
78
|
quickFilter?: any;
|
|
70
79
|
/** Controls if it report page */
|
|
71
80
|
report: any;
|
|
@@ -74,12 +83,10 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
74
83
|
fullWidth?: string;
|
|
75
84
|
/** 'list' for noraml table 'card' for cards mode like in memos */
|
|
76
85
|
tableMode: string;
|
|
86
|
+
componentName: string;
|
|
77
87
|
/** action to be used in case of card mode */
|
|
78
88
|
tableActions: any;
|
|
79
|
-
defultSort:
|
|
80
|
-
prop: string;
|
|
81
|
-
dir: string;
|
|
82
|
-
}[];
|
|
89
|
+
defultSort: any;
|
|
83
90
|
range: any;
|
|
84
91
|
isSearchPage: boolean;
|
|
85
92
|
/** allow multiselect rows with checkbox */
|
|
@@ -89,6 +96,11 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
89
96
|
highlightSelectedCard: boolean;
|
|
90
97
|
showActionsAsMenu: boolean;
|
|
91
98
|
filterParams: {};
|
|
99
|
+
skipAggregation: 'never' | 'onPageChange';
|
|
100
|
+
customUrl: {
|
|
101
|
+
url: string;
|
|
102
|
+
method: 'POST' | 'GET';
|
|
103
|
+
};
|
|
92
104
|
format: string;
|
|
93
105
|
pageNum: number;
|
|
94
106
|
rows: any[];
|
|
@@ -96,17 +108,23 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
96
108
|
myDataSubscription: Subscription;
|
|
97
109
|
loading: any;
|
|
98
110
|
sorting: boolean;
|
|
99
|
-
|
|
111
|
+
pageSizes: Array<{
|
|
112
|
+
label: string;
|
|
113
|
+
size: number;
|
|
114
|
+
}>;
|
|
115
|
+
initialized: boolean;
|
|
116
|
+
constructor(adapter: AdapterService, callApi: CallApiService, dynamicTableService: DynamicTableService, cdr: ChangeDetectorRef);
|
|
100
117
|
ngOnInit(): void;
|
|
101
118
|
ngOnDestroy(): void;
|
|
102
|
-
ngOnChanges(
|
|
103
|
-
getData(): void;
|
|
119
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
120
|
+
getData(payload?: Record<string, any>, headers?: Record<string, any>): void;
|
|
104
121
|
rowDetails(event: any): void;
|
|
105
122
|
indexDetails(event: any): void;
|
|
106
123
|
performAction(action: any): void;
|
|
107
124
|
onSort(sortObject: any): void;
|
|
108
125
|
onMultiRowSelectValue(event: any): void;
|
|
109
126
|
PaginationChange(event: any): void;
|
|
127
|
+
onChangePageSize(pageSize: number): void;
|
|
110
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
|
|
111
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "cts-dynamic-table", never, { "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "headers": "headers"; "fields": "fields"; "pageProvider": "pageProvider"; "pageSize": "pageSize"; "sortingBy": "sortingBy"; "queryParam": "queryParam"; "quickFilter": "quickFilter"; "report": "report"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "tableMode": "tableMode"; "tableActions": "tableActions"; "defultSort": "defultSort"; "range": "range"; "isSearchPage": "isSearchPage"; "multiSelectRows": "multiSelectRows"; "customFirstRow": "customFirstRow"; "highlightSelectedCard": "highlightSelectedCard"; "showActionsAsMenu": "showActionsAsMenu"; "filterParams": "filterParams"; "format": "format"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "actionOnRow": "actionOnRow"; "onGettingData": "onGettingData"; "onMultiRowSelected": "onMultiRowSelected"; "onLoading": "onLoading"; }, never, never>;
|
|
129
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "cts-dynamic-table", never, { "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "headers": "headers"; "fields": "fields"; "pageProvider": "pageProvider"; "pageSize": "pageSize"; "sortingBy": "sortingBy"; "queryParam": "queryParam"; "customFilters": "customFilters"; "quickFilter": "quickFilter"; "report": "report"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "tableMode": "tableMode"; "componentName": "componentName"; "tableActions": "tableActions"; "defultSort": "defultSort"; "range": "range"; "isSearchPage": "isSearchPage"; "multiSelectRows": "multiSelectRows"; "customFirstRow": "customFirstRow"; "highlightSelectedCard": "highlightSelectedCard"; "showActionsAsMenu": "showActionsAsMenu"; "filterParams": "filterParams"; "skipAggregation": "skipAggregation"; "customUrl": "customUrl"; "format": "format"; "pageSizes": "pageSizes"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "actionOnRow": "actionOnRow"; "onGettingData": "onGettingData"; "onMultiRowSelected": "onMultiRowSelected"; "onLoading": "onLoading"; "onLoad": "onLoad"; }, never, never>;
|
|
112
130
|
}
|
package/lib/components/file-manger/components/add-to-collection/add-to-collection.component.d.ts
CHANGED
|
@@ -1,19 +1,24 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { DxFormComponent } from 'devextreme-angular';
|
|
3
3
|
import { Observable, Subject } from 'rxjs';
|
|
4
4
|
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
5
5
|
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
6
|
+
import { BaseComponent } from '../../../../shared/components/base/base.component';
|
|
7
|
+
import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
8
|
+
import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
|
|
6
9
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AddToCollectionComponent implements OnInit {
|
|
10
|
+
export declare class AddToCollectionComponent extends BaseComponent implements OnInit {
|
|
8
11
|
private fileManagerService;
|
|
9
12
|
protected customToastrService: CustomToastrService;
|
|
13
|
+
nuxeoDialogService: NuxeoDialogService;
|
|
10
14
|
form: DxFormComponent;
|
|
15
|
+
contentTemplate: TemplateRef<any>;
|
|
16
|
+
actionsTemplate: TemplateRef<any>;
|
|
11
17
|
set visible(value: any);
|
|
12
18
|
get visible(): any;
|
|
13
19
|
visibleChange: EventEmitter<any>;
|
|
14
20
|
rtlEnabled: boolean;
|
|
15
21
|
selectedItems: any;
|
|
16
|
-
loading: boolean;
|
|
17
22
|
isSelected: boolean;
|
|
18
23
|
collectionid: any;
|
|
19
24
|
selectedTags: any;
|
|
@@ -21,11 +26,12 @@ export declare class AddToCollectionComponent implements OnInit {
|
|
|
21
26
|
tagsInput$: Subject<string>;
|
|
22
27
|
tagsLoading: boolean;
|
|
23
28
|
_visible: boolean;
|
|
24
|
-
constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService);
|
|
29
|
+
constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService, nuxeoDialogService: NuxeoDialogService, injector: Injector);
|
|
25
30
|
ngOnInit(): void;
|
|
31
|
+
openDialog(): void;
|
|
26
32
|
emitSelection(event: any): void;
|
|
27
33
|
loadItems(): void;
|
|
28
|
-
onFormCollectionSubmit
|
|
34
|
+
onFormCollectionSubmit: DialogActionType;
|
|
29
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddToCollectionComponent, never>;
|
|
30
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddToCollectionComponent, "app-add-to-collection", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "selectedItems": "selectedItems"; }, { "visibleChange": "visibleChange"; }, never, never>;
|
|
31
37
|
}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { DxFormComponent } from 'devextreme-angular';
|
|
3
3
|
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
4
4
|
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
5
|
+
import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
6
|
+
import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
|
|
7
|
+
import { BaseComponent } from '../../../../shared/components/base/base.component';
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CopyComponent implements OnInit {
|
|
9
|
+
export declare class CopyComponent extends BaseComponent implements OnInit {
|
|
7
10
|
private fileManagerService;
|
|
8
11
|
protected customToastrService: CustomToastrService;
|
|
12
|
+
nuxeoDialogService: NuxeoDialogService;
|
|
9
13
|
form: DxFormComponent;
|
|
14
|
+
contentTemplate: TemplateRef<any>;
|
|
15
|
+
actionsTemplate: TemplateRef<any>;
|
|
10
16
|
set visible(value: any);
|
|
11
17
|
get visible(): any;
|
|
12
18
|
visibleChange: EventEmitter<any>;
|
|
@@ -22,12 +28,13 @@ export declare class CopyComponent implements OnInit {
|
|
|
22
28
|
disable: boolean;
|
|
23
29
|
_visible: boolean;
|
|
24
30
|
currentItem: any;
|
|
25
|
-
constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService);
|
|
31
|
+
constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService, nuxeoDialogService: NuxeoDialogService, injector: Injector);
|
|
26
32
|
ngOnInit(): void;
|
|
33
|
+
openDialog(): void;
|
|
27
34
|
cancel(): void;
|
|
28
35
|
selectItem(e: any): void;
|
|
29
36
|
createTreeNodeChildren: (parent: any) => any;
|
|
30
|
-
copy
|
|
37
|
+
copy: DialogActionType;
|
|
31
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<CopyComponent, never>;
|
|
32
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<CopyComponent, "app-copy", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "selectedItem": "selectedItem"; "rootFolder": "rootFolder"; "rootEntries": "rootEntries"; "selectedItems": "selectedItems"; "directory": "directory"; "pageConfigurations": "pageConfigurations"; }, { "visibleChange": "visibleChange"; "getSelectedFolder": "getSelectedFolder"; }, never, never>;
|
|
33
40
|
}
|
package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
3
3
|
import { DxFormComponent } from 'devextreme-angular';
|
|
4
4
|
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
5
|
+
import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
6
|
+
import { BaseComponent } from '../../../../shared/components/base/base.component';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CreateDirectoryComponent implements OnInit {
|
|
8
|
+
export declare class CreateDirectoryComponent extends BaseComponent implements OnInit {
|
|
7
9
|
private fileManagerService;
|
|
8
10
|
private customToastrService;
|
|
11
|
+
nuxeoDialogService: NuxeoDialogService;
|
|
9
12
|
form: DxFormComponent;
|
|
13
|
+
contentTemplate: TemplateRef<any>;
|
|
14
|
+
actionsTemplate: TemplateRef<any>;
|
|
10
15
|
set visible(value: any);
|
|
11
16
|
get visible(): any;
|
|
12
17
|
visibleChange: EventEmitter<any>;
|
|
@@ -15,9 +20,9 @@ export declare class CreateDirectoryComponent implements OnInit {
|
|
|
15
20
|
selectedItem: any;
|
|
16
21
|
formData: any;
|
|
17
22
|
_visible: boolean;
|
|
18
|
-
|
|
19
|
-
constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService);
|
|
23
|
+
constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService, nuxeoDialogService: NuxeoDialogService, injector: Injector);
|
|
20
24
|
ngOnInit(): void;
|
|
25
|
+
openDialog(): void;
|
|
21
26
|
onSubmit(e: any): void;
|
|
22
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateDirectoryComponent, never>;
|
|
23
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<CreateDirectoryComponent, "app-create-directory", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "selectedItem": "selectedItem"; }, { "visibleChange": "visibleChange"; "refresh": "refresh"; }, never, never>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
3
|
import { UploadManagmentService } from '../../../../shared-services/upload-managment.service';
|
|
5
4
|
import { DialogMangmentService } from '../../../../shared-services/dialog-mangment.service';
|
|
6
5
|
import { DynamicFormService } from '../../../../shared-services/dynamic-form.service';
|
|
@@ -11,24 +10,21 @@ import { CustomToastrService } from '../../../custom-toastr/services/custom-toas
|
|
|
11
10
|
import { DateHelperService } from '../../../hijri-gregorian-datepicker/services/date-helper.service';
|
|
12
11
|
import { AdapterService } from '../../../../core/adapters/adapter.service';
|
|
13
12
|
import { AppConfigService } from '../../../../configuration/app-config.service';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
13
|
+
import { BaseDialogComponent } from '../../../../shared/components/base/base-dialog.component';
|
|
14
|
+
import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
|
|
16
15
|
import * as i0 from "@angular/core";
|
|
17
|
-
export declare class CreateModalComponent implements OnInit, OnDestroy {
|
|
16
|
+
export declare class CreateModalComponent extends BaseDialogComponent<CreateModalComponent, any, any> implements OnInit, OnDestroy {
|
|
18
17
|
data: any;
|
|
19
|
-
dialogRef: MatDialogRef<CreateModalComponent>;
|
|
20
18
|
uploadMangmentService: UploadManagmentService;
|
|
21
19
|
dialogMangmentService: DialogMangmentService;
|
|
22
20
|
private fileMangerService;
|
|
23
21
|
private tosterService;
|
|
24
|
-
|
|
22
|
+
formBuilder: FormBuilder;
|
|
25
23
|
private adapeter;
|
|
26
24
|
private fileManagerService;
|
|
27
25
|
private appConfService;
|
|
28
26
|
private dateHelperService;
|
|
29
|
-
private translationService;
|
|
30
27
|
private userService;
|
|
31
|
-
private nuxeoService;
|
|
32
28
|
private environment;
|
|
33
29
|
private dynamicFormService;
|
|
34
30
|
addingProperties: boolean;
|
|
@@ -50,20 +46,18 @@ export declare class CreateModalComponent implements OnInit, OnDestroy {
|
|
|
50
46
|
staticFormFields: any;
|
|
51
47
|
agencyNameFilter: any;
|
|
52
48
|
countryNameFilter: any;
|
|
53
|
-
isArabic: boolean;
|
|
54
49
|
showStaticForm: boolean;
|
|
55
|
-
langSubscription: Subscription;
|
|
56
50
|
disableCreateWhenFinishBtn: boolean;
|
|
57
51
|
creating: boolean;
|
|
58
52
|
displayNoteMessage: boolean;
|
|
59
53
|
myEnvironment: any;
|
|
60
54
|
KeyUpEvent(event: KeyboardEvent): void;
|
|
61
|
-
constructor(data: any,
|
|
55
|
+
constructor(data: any, uploadMangmentService: UploadManagmentService, dialogMangmentService: DialogMangmentService, fileMangerService: FileManagerService, tosterService: CustomToastrService, formBuilder: FormBuilder, adapeter: AdapterService, fileManagerService: FileManagerService, appConfService: AppConfigService, dateHelperService: DateHelperService, userService: UserService, environment: any, injector: Injector, dynamicFormService: DynamicFormService);
|
|
62
56
|
ngOnInit(): void;
|
|
63
57
|
initiatfileForm(): void;
|
|
64
|
-
createWhenFinish
|
|
65
|
-
|
|
66
|
-
startAddingProperties()
|
|
58
|
+
createWhenFinish: DialogActionType;
|
|
59
|
+
close(): import("rxjs").Observable<any>;
|
|
60
|
+
startAddingProperties: () => void;
|
|
67
61
|
setStaticData(title: any): {
|
|
68
62
|
title: any;
|
|
69
63
|
description: string;
|
|
@@ -93,16 +87,16 @@ export declare class CreateModalComponent implements OnInit, OnDestroy {
|
|
|
93
87
|
countryName?: undefined;
|
|
94
88
|
remarks?: undefined;
|
|
95
89
|
};
|
|
96
|
-
createDocument
|
|
90
|
+
createDocument: DialogActionType;
|
|
97
91
|
constructPayLoadToWorkSpace(files: any): void;
|
|
98
|
-
tryAgainCreateDocument
|
|
92
|
+
tryAgainCreateDocument: DialogActionType;
|
|
99
93
|
constructPayLoad(files: any): void;
|
|
100
94
|
mappingStaticData(data: any): any;
|
|
101
95
|
selectFile(file: any): void;
|
|
102
96
|
ondynamicFormChange(dynamicData: any): void;
|
|
103
|
-
minimizDialog
|
|
97
|
+
minimizDialog: DialogActionType;
|
|
104
98
|
removeItem(item: any, listofFiles: any): void;
|
|
105
|
-
ApplyChangesToAll
|
|
99
|
+
ApplyChangesToAll: DialogActionType;
|
|
106
100
|
checkValidation(): boolean;
|
|
107
101
|
ngOnDestroy(): void;
|
|
108
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateModalComponent, never>;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { BaseDialogComponent } from '../../../../shared/components/base/base-dialog.component';
|
|
4
|
+
import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CreationTypeComponent implements OnInit {
|
|
6
|
+
export declare class CreationTypeComponent extends BaseDialogComponent<CreationTypeComponent, any, any> implements OnInit {
|
|
5
7
|
dialogRef: MatDialogRef<CreationTypeComponent>;
|
|
6
|
-
constructor(dialogRef: MatDialogRef<CreationTypeComponent
|
|
8
|
+
constructor(dialogRef: MatDialogRef<CreationTypeComponent>, injector: Injector);
|
|
7
9
|
ngOnInit(): void;
|
|
8
|
-
closeDialog
|
|
10
|
+
closeDialog: DialogActionType;
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreationTypeComponent, never>;
|
|
10
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<CreationTypeComponent, "app-creation-type", never, {}, {}, never, never>;
|
|
11
13
|
}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, TemplateRef, OnInit, Injector } from '@angular/core';
|
|
2
2
|
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
3
3
|
import { DxFormComponent } from 'devextreme-angular';
|
|
4
4
|
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
5
|
+
import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
|
|
6
|
+
import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
|
|
7
|
+
import { BaseComponent } from '../../../../shared/components/base/base.component';
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DeleteComponent implements OnInit {
|
|
9
|
+
export declare class DeleteComponent extends BaseComponent implements OnInit {
|
|
7
10
|
private fileManagerService;
|
|
8
11
|
protected customToastrService: CustomToastrService;
|
|
12
|
+
nuxeoDialogService: NuxeoDialogService;
|
|
9
13
|
form: DxFormComponent;
|
|
14
|
+
contentTemplate: TemplateRef<any>;
|
|
15
|
+
actionsTemplate: TemplateRef<any>;
|
|
10
16
|
set visible(value: any);
|
|
11
17
|
get visible(): any;
|
|
12
18
|
visibleChange: EventEmitter<any>;
|
|
@@ -15,10 +21,11 @@ export declare class DeleteComponent implements OnInit {
|
|
|
15
21
|
selectedItem: any;
|
|
16
22
|
selectedItems: any;
|
|
17
23
|
_visible: boolean;
|
|
18
|
-
constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService);
|
|
24
|
+
constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService, nuxeoDialogService: NuxeoDialogService, injector: Injector);
|
|
19
25
|
ngOnInit(): void;
|
|
26
|
+
openDialog(): void;
|
|
20
27
|
cancel(): void;
|
|
21
|
-
deleteFolder
|
|
28
|
+
deleteFolder: DialogActionType;
|
|
22
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeleteComponent, never>;
|
|
23
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<DeleteComponent, "app-delete", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "selectedItem": "selectedItem"; "selectedItems": "selectedItems"; }, { "visibleChange": "visibleChange"; "refresh": "refresh"; }, never, never>;
|
|
24
31
|
}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
4
|
import { DynamicFormService } from '../../../../shared-services/dynamic-form.service';
|
|
5
5
|
import { FileManagerService } from '../../../../shared-services/file-manager.service';
|
|
6
|
-
import { TranslationService } from '../../../../core/services/translation/translation.service';
|
|
7
6
|
import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
|
|
7
|
+
import { BaseDialogComponent } from '../../../../shared/components/base/base-dialog.component';
|
|
8
|
+
import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class FolderModalComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
10
|
+
export declare class FolderModalComponent extends BaseDialogComponent<FolderModalComponent, any, any> implements OnInit, AfterViewInit, OnDestroy {
|
|
10
11
|
data: any;
|
|
11
12
|
private dialogRef;
|
|
12
13
|
private fileMangerService;
|
|
13
14
|
private dynamicFormService;
|
|
14
|
-
private translationService;
|
|
15
15
|
private tosterService;
|
|
16
|
-
private formBuilder;
|
|
17
16
|
folderType: any;
|
|
18
17
|
dynamicForm: any;
|
|
19
18
|
temporaryDyanmicData: {};
|
|
@@ -30,26 +29,25 @@ export declare class FolderModalComponent implements OnInit, AfterViewInit, OnDe
|
|
|
30
29
|
parentId: string;
|
|
31
30
|
childId: any;
|
|
32
31
|
testingForm: FormGroup;
|
|
33
|
-
isArabic: boolean;
|
|
34
32
|
private _unsubscribeAll;
|
|
35
33
|
isDmsFolder: boolean;
|
|
36
34
|
creating: boolean;
|
|
37
35
|
folderForm: FormGroup;
|
|
38
36
|
KeyUpEvent(event: KeyboardEvent): void;
|
|
39
|
-
constructor(data: any, dialogRef: MatDialogRef<FolderModalComponent>, fileMangerService: FileManagerService, dynamicFormService: DynamicFormService,
|
|
37
|
+
constructor(data: any, dialogRef: MatDialogRef<FolderModalComponent>, fileMangerService: FileManagerService, dynamicFormService: DynamicFormService, tosterService: CustomToastrService, injector: Injector);
|
|
40
38
|
ngOnInit(): void;
|
|
41
39
|
ngAfterViewInit(): void;
|
|
42
40
|
ngOnDestroy(): void;
|
|
43
41
|
ondynamicFormChange(dynamicData: any): void;
|
|
44
42
|
closeDialog(): void;
|
|
45
|
-
createDocument
|
|
43
|
+
createDocument: DialogActionType;
|
|
46
44
|
constructPayLoad(dynamicValues: any, staticForm: any): {
|
|
47
45
|
document: {
|
|
48
46
|
type: any;
|
|
49
47
|
name: any;
|
|
50
48
|
properties: {
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
'dc:description': any;
|
|
50
|
+
'dc:title': any;
|
|
53
51
|
};
|
|
54
52
|
};
|
|
55
53
|
};
|