@igo2/common 1.11.1 → 1.12.0
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/igo2-common.umd.js +101 -15
- package/bundles/igo2-common.umd.js.map +1 -1
- package/esm2015/lib/action/action.module.js +1 -1
- package/esm2015/lib/action/actionbar/actionbar-item.component.js +1 -1
- package/esm2015/lib/action/actionbar/actionbar.component.js +1 -1
- package/esm2015/lib/action/actionbar/actionbar.module.js +1 -1
- package/esm2015/lib/action/index.js +1 -1
- package/esm2015/lib/action/shared/action.enums.js +1 -1
- package/esm2015/lib/action/shared/action.interfaces.js +1 -1
- package/esm2015/lib/action/shared/index.js +1 -1
- package/esm2015/lib/action/shared/store.js +1 -1
- package/esm2015/lib/backdrop/backdrop.component.js +1 -1
- package/esm2015/lib/backdrop/backdrop.module.js +1 -1
- package/esm2015/lib/backdrop/index.js +1 -1
- package/esm2015/lib/badge-icon/badge-icon.directive.js +1 -1
- package/esm2015/lib/badge-icon/badge-icon.module.js +1 -1
- package/esm2015/lib/badge-icon/index.js +1 -1
- package/esm2015/lib/clickout/clickout.directive.js +1 -1
- package/esm2015/lib/clickout/clickout.module.js +1 -1
- package/esm2015/lib/clickout/index.js +1 -1
- package/esm2015/lib/clone/clone.module.js +1 -1
- package/esm2015/lib/clone/clone.pipe.js +1 -1
- package/esm2015/lib/clone/index.js +1 -1
- package/esm2015/lib/collapsible/collapse.directive.js +1 -1
- package/esm2015/lib/collapsible/collapsible.component.js +1 -1
- package/esm2015/lib/collapsible/collapsible.module.js +1 -1
- package/esm2015/lib/collapsible/index.js +1 -1
- package/esm2015/lib/confirm-dialog/confirm-dialog.component.js +1 -1
- package/esm2015/lib/confirm-dialog/confirm-dialog.module.js +1 -1
- package/esm2015/lib/confirm-dialog/confirm-dialog.service.js +1 -1
- package/esm2015/lib/confirm-dialog/index.js +1 -1
- package/esm2015/lib/context-menu/context-menu.directive.js +1 -1
- package/esm2015/lib/context-menu/context-menu.module.js +1 -1
- package/esm2015/lib/context-menu/index.js +1 -1
- package/esm2015/lib/custom-html/custom-html.component.js +1 -1
- package/esm2015/lib/custom-html/custom-html.module.js +1 -1
- package/esm2015/lib/custom-html/custom-html.pipe.js +1 -1
- package/esm2015/lib/custom-html/index.js +1 -1
- package/esm2015/lib/dom/dom.interfaces.js +2 -0
- package/esm2015/lib/dom/dom.module.js +23 -0
- package/esm2015/lib/dom/dom.service.js +33 -0
- package/esm2015/lib/dom/index.js +3 -0
- package/esm2015/lib/drag-drop/drag-drop.module.js +1 -1
- package/esm2015/lib/drag-drop/index.js +1 -1
- package/esm2015/lib/dynamic-component/dynamic-component.module.js +1 -1
- package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.js +1 -1
- package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.js +1 -1
- package/esm2015/lib/dynamic-component/index.js +1 -1
- package/esm2015/lib/dynamic-component/shared/dynamic-component.interfaces.js +1 -1
- package/esm2015/lib/dynamic-component/shared/dynamic-component.js +1 -1
- package/esm2015/lib/dynamic-component/shared/dynamic-component.service.js +1 -1
- package/esm2015/lib/dynamic-component/shared/index.js +1 -1
- package/esm2015/lib/entity/entity-selector/entity-selector.component.js +1 -1
- package/esm2015/lib/entity/entity-selector/entity-selector.module.js +1 -1
- package/esm2015/lib/entity/entity-table/entity-table-row.directive.js +1 -1
- package/esm2015/lib/entity/entity-table/entity-table.component.js +29 -13
- package/esm2015/lib/entity/entity-table/entity-table.module.js +1 -1
- package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.component.js +1 -1
- package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.interface.js +1 -1
- package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.module.js +1 -1
- package/esm2015/lib/entity/entity.module.js +1 -1
- package/esm2015/lib/entity/index.js +1 -1
- package/esm2015/lib/entity/shared/entity.enums.js +1 -1
- package/esm2015/lib/entity/shared/entity.interfaces.js +1 -1
- package/esm2015/lib/entity/shared/entity.utils.js +1 -1
- package/esm2015/lib/entity/shared/index.js +1 -1
- package/esm2015/lib/entity/shared/state.js +1 -1
- package/esm2015/lib/entity/shared/store.js +1 -1
- package/esm2015/lib/entity/shared/strategies/filter-custom-function.js +1 -1
- package/esm2015/lib/entity/shared/strategies/filter-selection.js +1 -1
- package/esm2015/lib/entity/shared/strategies/index.js +1 -1
- package/esm2015/lib/entity/shared/strategies/strategy.js +1 -1
- package/esm2015/lib/entity/shared/transaction.js +1 -1
- package/esm2015/lib/entity/shared/view.js +1 -1
- package/esm2015/lib/entity/shared/watcher.js +1 -1
- package/esm2015/lib/flexible/flexible.component.js +1 -1
- package/esm2015/lib/flexible/flexible.module.js +1 -1
- package/esm2015/lib/flexible/flexible.type.js +1 -1
- package/esm2015/lib/flexible/index.js +1 -1
- package/esm2015/lib/form/form/form.component.js +1 -1
- package/esm2015/lib/form/form/form.module.js +1 -1
- package/esm2015/lib/form/form-field/form-field-select.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field-text.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field-textarea.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field.module.js +1 -1
- package/esm2015/lib/form/form-field/index.js +1 -1
- package/esm2015/lib/form/form-group/form-group.component.js +1 -1
- package/esm2015/lib/form/form-group/form-group.module.js +1 -1
- package/esm2015/lib/form/form.module.js +1 -1
- package/esm2015/lib/form/index.js +1 -1
- package/esm2015/lib/form/shared/form-field-component.js +1 -1
- package/esm2015/lib/form/shared/form-field.service.js +1 -1
- package/esm2015/lib/form/shared/form.interfaces.js +1 -1
- package/esm2015/lib/form/shared/form.service.js +1 -1
- package/esm2015/lib/form/shared/form.utils.js +1 -1
- package/esm2015/lib/form/shared/index.js +1 -1
- package/esm2015/lib/home-button/home-button.component.js +1 -1
- package/esm2015/lib/home-button/home-button.module.js +1 -1
- package/esm2015/lib/home-button/index.js +1 -1
- package/esm2015/lib/image/image.module.js +1 -1
- package/esm2015/lib/image/index.js +1 -1
- package/esm2015/lib/image/secure-image.pipe.js +11 -4
- package/esm2015/lib/interactive-tour/index.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.component.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.interface.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.loader.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.module.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.service.js +1 -1
- package/esm2015/lib/json-dialog/index.js +1 -1
- package/esm2015/lib/json-dialog/json-dialog.component.js +1 -1
- package/esm2015/lib/json-dialog/json-dialog.module.js +1 -1
- package/esm2015/lib/json-dialog/json-dialog.service.js +1 -1
- package/esm2015/lib/keyvalue/index.js +1 -1
- package/esm2015/lib/keyvalue/keyvalue.module.js +1 -1
- package/esm2015/lib/keyvalue/keyvalue.pipe.js +1 -1
- package/esm2015/lib/list/index.js +1 -1
- package/esm2015/lib/list/list-item.directive.js +1 -1
- package/esm2015/lib/list/list.component.js +1 -1
- package/esm2015/lib/list/list.module.js +1 -1
- package/esm2015/lib/panel/index.js +1 -1
- package/esm2015/lib/panel/panel.component.js +1 -1
- package/esm2015/lib/panel/panel.module.js +1 -1
- package/esm2015/lib/sidenav/index.js +1 -1
- package/esm2015/lib/sidenav/sidenav-shim.directive.js +1 -1
- package/esm2015/lib/sidenav/sidenav.module.js +1 -1
- package/esm2015/lib/spinner/index.js +1 -1
- package/esm2015/lib/spinner/spinner-activity.directive.js +1 -1
- package/esm2015/lib/spinner/spinner.component.js +1 -1
- package/esm2015/lib/spinner/spinner.module.js +1 -1
- package/esm2015/lib/stop-propagation/index.js +1 -1
- package/esm2015/lib/stop-propagation/stop-drop-propagation.directive.js +1 -1
- package/esm2015/lib/stop-propagation/stop-propagation.directive.js +1 -1
- package/esm2015/lib/stop-propagation/stop-propagation.module.js +1 -1
- package/esm2015/lib/table/index.js +1 -1
- package/esm2015/lib/table/table-action-color.enum.js +1 -1
- package/esm2015/lib/table/table-database.js +1 -1
- package/esm2015/lib/table/table-datasource.js +1 -1
- package/esm2015/lib/table/table-model.interface.js +1 -1
- package/esm2015/lib/table/table.component.js +1 -1
- package/esm2015/lib/table/table.module.js +1 -1
- package/esm2015/lib/tool/index.js +1 -1
- package/esm2015/lib/tool/shared/index.js +1 -1
- package/esm2015/lib/tool/shared/tool-component.js +1 -1
- package/esm2015/lib/tool/shared/tool.interface.js +1 -1
- package/esm2015/lib/tool/shared/tool.service.js +1 -1
- package/esm2015/lib/tool/shared/toolbox.enums.js +1 -1
- package/esm2015/lib/tool/shared/toolbox.js +1 -1
- package/esm2015/lib/tool/tool.module.js +1 -1
- package/esm2015/lib/tool/toolbox/toolbox.animation.js +1 -1
- package/esm2015/lib/tool/toolbox/toolbox.component.js +1 -1
- package/esm2015/lib/tool/toolbox/toolbox.module.js +1 -1
- package/esm2015/lib/widget/index.js +1 -1
- package/esm2015/lib/widget/shared/index.js +1 -1
- package/esm2015/lib/widget/shared/widget.interfaces.js +1 -1
- package/esm2015/lib/widget/shared/widget.js +1 -1
- package/esm2015/lib/widget/shared/widget.service.js +1 -1
- package/esm2015/lib/widget/widget-outlet/widget-outlet.component.js +1 -1
- package/esm2015/lib/widget/widget-outlet/widget-outlet.module.js +1 -1
- package/esm2015/lib/widget/widget.module.js +1 -1
- package/esm2015/lib/workspace/index.js +1 -1
- package/esm2015/lib/workspace/shared/index.js +1 -1
- package/esm2015/lib/workspace/shared/store.js +1 -1
- package/esm2015/lib/workspace/shared/workspace.interfaces.js +1 -1
- package/esm2015/lib/workspace/shared/workspace.js +1 -1
- package/esm2015/lib/workspace/workspace-selector/workspace-selector.component.js +1 -1
- package/esm2015/lib/workspace/workspace-selector/workspace-selector.module.js +1 -1
- package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.js +1 -1
- package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.js +1 -1
- package/esm2015/lib/workspace/workspace.module.js +1 -1
- package/esm2015/public_api.js +3 -1
- package/fesm2015/igo2-common.js +87 -18
- package/fesm2015/igo2-common.js.map +1 -1
- package/lib/dom/dom.interfaces.d.ts +10 -0
- package/lib/dom/dom.module.d.ts +8 -0
- package/lib/dom/dom.service.d.ts +10 -0
- package/lib/dom/index.d.ts +2 -0
- package/lib/entity/shared/entity.interfaces.d.ts +1 -0
- package/lib/image/secure-image.pipe.d.ts +3 -1
- package/package.json +3 -3
- package/public_api.d.ts +2 -0
- package/style/common.theming.scss +12 -12
- package/style/partial/action.scss +18 -18
- package/style/partial/common.variables.scss +8 -8
|
@@ -2550,14 +2550,20 @@
|
|
|
2550
2550
|
})();
|
|
2551
2551
|
|
|
2552
2552
|
var SecureImagePipe = /** @class */ (function () {
|
|
2553
|
-
function SecureImagePipe(http) {
|
|
2553
|
+
function SecureImagePipe(http, configService) {
|
|
2554
2554
|
this.http = http;
|
|
2555
|
+
this.configService = configService;
|
|
2555
2556
|
}
|
|
2556
2557
|
SecureImagePipe.prototype.transform = function (url) {
|
|
2558
|
+
var _a;
|
|
2557
2559
|
var headers = new i1$3.HttpHeaders({
|
|
2558
2560
|
'Content-Type': 'text/plain',
|
|
2559
2561
|
activityInterceptor: 'false'
|
|
2560
2562
|
});
|
|
2563
|
+
var regexDepot = new RegExp(((_a = this.configService) === null || _a === void 0 ? void 0 : _a.getConfig('depot.url')) + '.*?(?="|$)');
|
|
2564
|
+
if (regexDepot.test(url)) {
|
|
2565
|
+
url = url.match(regexDepot)[0];
|
|
2566
|
+
}
|
|
2561
2567
|
return this.http
|
|
2562
2568
|
.get(url, {
|
|
2563
2569
|
headers: headers,
|
|
@@ -2576,7 +2582,7 @@
|
|
|
2576
2582
|
};
|
|
2577
2583
|
return SecureImagePipe;
|
|
2578
2584
|
}());
|
|
2579
|
-
SecureImagePipe.ɵfac = function SecureImagePipe_Factory(t) { return new (t || SecureImagePipe)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.HttpClient, 16)); };
|
|
2585
|
+
SecureImagePipe.ɵfac = function SecureImagePipe_Factory(t) { return new (t || SecureImagePipe)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.HttpClient, 16), i0__namespace.ɵɵdirectiveInject(i1__namespace$2.ConfigService, 16)); };
|
|
2580
2586
|
SecureImagePipe.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "secureImage", type: SecureImagePipe, pure: true });
|
|
2581
2587
|
__decorate([
|
|
2582
2588
|
tsCacheable.Cacheable({
|
|
@@ -2589,7 +2595,7 @@
|
|
|
2589
2595
|
args: [{
|
|
2590
2596
|
name: 'secureImage'
|
|
2591
2597
|
}]
|
|
2592
|
-
}], function () { return [{ type: i1__namespace$3.HttpClient }]; }, { transform: [] });
|
|
2598
|
+
}], function () { return [{ type: i1__namespace$3.HttpClient }, { type: i1__namespace$2.ConfigService }]; }, { transform: [] });
|
|
2593
2599
|
})();
|
|
2594
2600
|
|
|
2595
2601
|
var SanitizeHtmlPipe = /** @class */ (function () {
|
|
@@ -3575,6 +3581,10 @@
|
|
|
3575
3581
|
}
|
|
3576
3582
|
});
|
|
3577
3583
|
_this.formGroup.controls[column.name].setValue(formControlValue_1);
|
|
3584
|
+
if (_this.isEdition(record) && column.linkColumnForce) {
|
|
3585
|
+
var entity = record.entity;
|
|
3586
|
+
_this.formGroup.controls[column.name].setValue(entity === null || entity === void 0 ? void 0 : entity.properties[_this.getColumnKeyWithoutPropertiesTag(column.linkColumnForce)]);
|
|
3587
|
+
}
|
|
3578
3588
|
}
|
|
3579
3589
|
else if (column.type === 'date') {
|
|
3580
3590
|
if (column.visible) {
|
|
@@ -3866,6 +3876,7 @@
|
|
|
3866
3876
|
}
|
|
3867
3877
|
}
|
|
3868
3878
|
else if (column.type === 'list' && value && column.domainValues) {
|
|
3879
|
+
var entity_1 = record.entity;
|
|
3869
3880
|
if (column.multiple) {
|
|
3870
3881
|
var list_id_1;
|
|
3871
3882
|
typeof value === 'string' ? list_id_1 = value.match(/[\w.-]+/g).map(Number) : list_id_1 = value;
|
|
@@ -3882,27 +3893,38 @@
|
|
|
3882
3893
|
});
|
|
3883
3894
|
this.isEdition(record) ? value = list_id_1 : value = list_option_1;
|
|
3884
3895
|
}
|
|
3896
|
+
else {
|
|
3897
|
+
if (!this.isEdition(record) && column.linkColumnForce) {
|
|
3898
|
+
value = entity_1 === null || entity_1 === void 0 ? void 0 : entity_1.properties[this.getColumnKeyWithoutPropertiesTag(column.linkColumnForce)];
|
|
3899
|
+
}
|
|
3900
|
+
else {
|
|
3901
|
+
column.domainValues.forEach(function (option) {
|
|
3902
|
+
if (typeof value === 'string' && /^\d+$/.test(value)) {
|
|
3903
|
+
value = parseInt(value);
|
|
3904
|
+
}
|
|
3905
|
+
if (option.value === value || option.id === value) {
|
|
3906
|
+
_this.isEdition(record) ? value = option.id : value = option.value;
|
|
3907
|
+
}
|
|
3908
|
+
});
|
|
3909
|
+
}
|
|
3910
|
+
}
|
|
3911
|
+
}
|
|
3912
|
+
else if (column.type === 'autocomplete' && value && column.domainValues) {
|
|
3913
|
+
var entity_2 = record.entity;
|
|
3914
|
+
if (!this.isEdition(record) && column.linkColumnForce) {
|
|
3915
|
+
value = entity_2 === null || entity_2 === void 0 ? void 0 : entity_2.properties[this.getColumnKeyWithoutPropertiesTag(column.linkColumnForce)];
|
|
3916
|
+
}
|
|
3885
3917
|
else {
|
|
3886
3918
|
column.domainValues.forEach(function (option) {
|
|
3887
3919
|
if (typeof value === 'string' && /^\d+$/.test(value)) {
|
|
3888
3920
|
value = parseInt(value);
|
|
3889
3921
|
}
|
|
3890
3922
|
if (option.value === value || option.id === value) {
|
|
3891
|
-
|
|
3923
|
+
value = option.value;
|
|
3892
3924
|
}
|
|
3893
3925
|
});
|
|
3894
3926
|
}
|
|
3895
3927
|
}
|
|
3896
|
-
else if (column.type === 'autocomplete' && value && column.domainValues) {
|
|
3897
|
-
column.domainValues.forEach(function (option) {
|
|
3898
|
-
if (typeof value === 'string' && /^\d+$/.test(value)) {
|
|
3899
|
-
value = parseInt(value);
|
|
3900
|
-
}
|
|
3901
|
-
if (option.value === value || option.id === value) {
|
|
3902
|
-
value = option.value;
|
|
3903
|
-
}
|
|
3904
|
-
});
|
|
3905
|
-
}
|
|
3906
3928
|
else if (column.type === 'date') {
|
|
3907
3929
|
if (this.isEdition(record)) {
|
|
3908
3930
|
if (value) {
|
|
@@ -4058,7 +4080,7 @@
|
|
|
4058
4080
|
i0__namespace.ɵɵadvance(1);
|
|
4059
4081
|
i0__namespace.ɵɵproperty("ngIf", ctx.withPaginator);
|
|
4060
4082
|
}
|
|
4061
|
-
}, directives: [i4__namespace.MatTable, i5__namespace.MatSort, i1__namespace$1.NgClass, i4__namespace.MatColumnDef, i4__namespace.MatHeaderCellDef, i4__namespace.MatCellDef, i1__namespace$1.NgForOf, i4__namespace.MatHeaderRowDef, i4__namespace.MatRowDef, i1__namespace$1.NgIf, i4__namespace.MatHeaderCell, i7__namespace.MatCheckbox, i4__namespace.MatCell, i5__namespace.MatSortHeader, i6__namespace.MatTooltip, i1__namespace$5.NgControlStatusGroup, i1__namespace$5.FormGroupDirective, i9__namespace.MatAutocomplete, i10__namespace.MatDatepickerToggle, i1__namespace.MatSuffix, i2__namespace$3.MatInput, i10__namespace.MatDatepickerInput, i1__namespace$5.DefaultValueAccessor, i1__namespace$5.NgControlStatus, i1__namespace$5.FormControlName, i10__namespace.MatDatepicker, i1__namespace$5.NumberValueAccessor, i1__namespace$5.MinValidator, i1__namespace$5.MaxValidator, i1__namespace$5.RequiredValidator, i2__namespace.MatSelect, i3__namespace.MatOption, i9__namespace.MatAutocompleteTrigger, i5__namespace$1.MatIcon, i4__namespace$1.MatButton, StopPropagationDirective, i4__namespace.MatHeaderRow, i4__namespace.MatRow, EntityTableRowDirective, EntityTablePaginatorComponent], pipes: [i1__namespace$1.AsyncPipe, SecureImagePipe, i6__namespace$1.TranslatePipe, SanitizeHtmlPipe], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:block}.table-compact[_nghost-%COMP%] tr.mat-header-row[_ngcontent-%COMP%], .table-compact[_nghost-%COMP%] .mat-checkbox .mat-checkbox-ripple{height:36px}.table-compact[_nghost-%COMP%] tr.mat-row[_ngcontent-%COMP%], .table-compact[_nghost-%COMP%] .mat-checkbox .mat-checkbox-ripple{height:28px}.table-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;overflow:auto;flex:1 1 auto}.mat-cell-text[_ngcontent-%COMP%]{overflow:hidden;word-wrap:break-word}th.mat-header-cell[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{padding:0 3px}entity-table[_ngcontent-%COMP%] table.igo-entity-table-with-selection[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd;cursor:pointer}table[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:7px}.class_boolean[_ngcontent-%COMP%], .class_icon[_ngcontent-%COMP%], .class_number[_ngcontent-%COMP%]{text-align:center;padding-right:35px!important}.class_sting[_ngcontent-%COMP%], .class_text[_ngcontent-%COMP%], .class_number_edition[_ngcontent-%COMP%]{text-align:left}td.edition[_ngcontent-%COMP%]{background:rgba(166,166,166,.2)}input[_ngcontent-%COMP%]{border-bottom:1px solid darkgrey}"], changeDetection: 0 });
|
|
4083
|
+
}, directives: [i4__namespace.MatTable, i5__namespace.MatSort, i1__namespace$1.NgClass, i4__namespace.MatColumnDef, i4__namespace.MatHeaderCellDef, i4__namespace.MatCellDef, i1__namespace$1.NgForOf, i4__namespace.MatHeaderRowDef, i4__namespace.MatRowDef, i1__namespace$1.NgIf, i4__namespace.MatHeaderCell, i7__namespace.MatCheckbox, i4__namespace.MatCell, i5__namespace.MatSortHeader, i6__namespace.MatTooltip, i1__namespace$5.NgControlStatusGroup, i1__namespace$5.FormGroupDirective, i9__namespace.MatAutocomplete, i10__namespace.MatDatepickerToggle, i1__namespace.MatSuffix, i2__namespace$3.MatInput, i10__namespace.MatDatepickerInput, i1__namespace$5.DefaultValueAccessor, i1__namespace$5.NgControlStatus, i1__namespace$5.FormControlName, i10__namespace.MatDatepicker, i1__namespace$5.NumberValueAccessor, i1__namespace$5.MinValidator, i1__namespace$5.MaxValidator, i1__namespace$5.RequiredValidator, i2__namespace.MatSelect, i3__namespace.MatOption, i9__namespace.MatAutocompleteTrigger, i5__namespace$1.MatIcon, i4__namespace$1.MatButton, StopPropagationDirective, i4__namespace.MatHeaderRow, i4__namespace.MatRow, EntityTableRowDirective, EntityTablePaginatorComponent], pipes: [i1__namespace$1.AsyncPipe, SecureImagePipe, i6__namespace$1.TranslatePipe, SanitizeHtmlPipe], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:block}.table-compact[_nghost-%COMP%] tr.mat-header-row[_ngcontent-%COMP%], .table-compact[_nghost-%COMP%] .mat-checkbox .mat-checkbox-ripple{height:36px}.table-compact[_nghost-%COMP%] tr.mat-row[_ngcontent-%COMP%], .table-compact[_nghost-%COMP%] .mat-checkbox .mat-checkbox-ripple{height:28px}.table-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;overflow:auto;flex:1 1 auto}.mat-cell-text[_ngcontent-%COMP%]{overflow:hidden;word-wrap:break-word}th.mat-header-cell[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{padding:0 3px}entity-table[_ngcontent-%COMP%] table.igo-entity-table-with-selection[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd;cursor:pointer}table[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:7px}.class_hidden[_ngcontent-%COMP%]{visibility:hidden}.class_display_none[_ngcontent-%COMP%]{display:none}.class_boolean[_ngcontent-%COMP%], .class_icon[_ngcontent-%COMP%], .class_number[_ngcontent-%COMP%]{text-align:center;padding-right:35px!important}.class_sting[_ngcontent-%COMP%], .class_text[_ngcontent-%COMP%], .class_number_edition[_ngcontent-%COMP%]{text-align:left}td.edition[_ngcontent-%COMP%]{background:rgba(166,166,166,.2)}input[_ngcontent-%COMP%]{border-bottom:1px solid darkgrey}"], changeDetection: 0 });
|
|
4062
4084
|
(function () {
|
|
4063
4085
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(EntityTableComponent, [{
|
|
4064
4086
|
type: i0.Component,
|
|
@@ -5729,6 +5751,68 @@
|
|
|
5729
5751
|
i1$2.IgoLanguageModule], exports: [SanitizeHtmlPipe, CustomHtmlComponent] });
|
|
5730
5752
|
})();
|
|
5731
5753
|
|
|
5754
|
+
var DOMService = /** @class */ (function () {
|
|
5755
|
+
function DOMService(http) {
|
|
5756
|
+
this.http = http;
|
|
5757
|
+
}
|
|
5758
|
+
DOMService.prototype.getDom = function (dom) {
|
|
5759
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5760
|
+
var url, result;
|
|
5761
|
+
return __generator(this, function (_a) {
|
|
5762
|
+
switch (_a.label) {
|
|
5763
|
+
case 0:
|
|
5764
|
+
url = dom.url;
|
|
5765
|
+
return [4 /*yield*/, this.http.get(url).pipe(operators.map(function (response) {
|
|
5766
|
+
result = response;
|
|
5767
|
+
return response;
|
|
5768
|
+
}), operators.catchError(function (err) {
|
|
5769
|
+
return rxjs.throwError(err);
|
|
5770
|
+
})).toPromise()];
|
|
5771
|
+
case 1:
|
|
5772
|
+
_a.sent();
|
|
5773
|
+
return [2 /*return*/, result];
|
|
5774
|
+
}
|
|
5775
|
+
});
|
|
5776
|
+
});
|
|
5777
|
+
};
|
|
5778
|
+
return DOMService;
|
|
5779
|
+
}());
|
|
5780
|
+
DOMService.ɵfac = function DOMService_Factory(t) { return new (t || DOMService)(i0__namespace.ɵɵinject(i1__namespace$3.HttpClient)); };
|
|
5781
|
+
DOMService.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: DOMService, factory: DOMService.ɵfac, providedIn: 'root' });
|
|
5782
|
+
(function () {
|
|
5783
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DOMService, [{
|
|
5784
|
+
type: i0.Injectable,
|
|
5785
|
+
args: [{
|
|
5786
|
+
providedIn: 'root'
|
|
5787
|
+
}]
|
|
5788
|
+
}], function () { return [{ type: i1__namespace$3.HttpClient }]; }, null);
|
|
5789
|
+
})();
|
|
5790
|
+
|
|
5791
|
+
var IgoDOMModule = /** @class */ (function () {
|
|
5792
|
+
function IgoDOMModule() {
|
|
5793
|
+
}
|
|
5794
|
+
IgoDOMModule.forRoot = function () {
|
|
5795
|
+
return {
|
|
5796
|
+
ngModule: IgoDOMModule,
|
|
5797
|
+
providers: [
|
|
5798
|
+
DOMService
|
|
5799
|
+
]
|
|
5800
|
+
};
|
|
5801
|
+
};
|
|
5802
|
+
return IgoDOMModule;
|
|
5803
|
+
}());
|
|
5804
|
+
IgoDOMModule.ɵfac = function IgoDOMModule_Factory(t) { return new (t || IgoDOMModule)(); };
|
|
5805
|
+
IgoDOMModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: IgoDOMModule });
|
|
5806
|
+
IgoDOMModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ providers: [DOMService] });
|
|
5807
|
+
(function () {
|
|
5808
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(IgoDOMModule, [{
|
|
5809
|
+
type: i0.NgModule,
|
|
5810
|
+
args: [{
|
|
5811
|
+
providers: [DOMService]
|
|
5812
|
+
}]
|
|
5813
|
+
}], null, null);
|
|
5814
|
+
})();
|
|
5815
|
+
|
|
5732
5816
|
var DragAndDropDirective = /** @class */ (function () {
|
|
5733
5817
|
function DragAndDropDirective() {
|
|
5734
5818
|
this.allowedExtensions = [];
|
|
@@ -11347,6 +11431,7 @@
|
|
|
11347
11431
|
exports.ConfirmDialogService = ConfirmDialogService;
|
|
11348
11432
|
exports.ContextMenuDirective = ContextMenuDirective;
|
|
11349
11433
|
exports.CustomHtmlComponent = CustomHtmlComponent;
|
|
11434
|
+
exports.DOMService = DOMService;
|
|
11350
11435
|
exports.DragAndDropDirective = DragAndDropDirective;
|
|
11351
11436
|
exports.DynamicComponent = DynamicComponent;
|
|
11352
11437
|
exports.DynamicComponentService = DynamicComponentService;
|
|
@@ -11379,6 +11464,7 @@
|
|
|
11379
11464
|
exports.IgoConfirmDialogModule = IgoConfirmDialogModule;
|
|
11380
11465
|
exports.IgoContextMenuModule = IgoContextMenuModule;
|
|
11381
11466
|
exports.IgoCustomHtmlModule = IgoCustomHtmlModule;
|
|
11467
|
+
exports.IgoDOMModule = IgoDOMModule;
|
|
11382
11468
|
exports.IgoDrapDropModule = IgoDrapDropModule;
|
|
11383
11469
|
exports.IgoDynamicComponentModule = IgoDynamicComponentModule;
|
|
11384
11470
|
exports.IgoDynamicOutletModule = IgoDynamicOutletModule;
|