@messaia/cdk 13.3.10 → 13.4.0-legacy
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/esm2020/lib/base/base.module.mjs +10 -32
- package/esm2020/lib/base/components/base.component.mjs +9 -61
- package/esm2020/lib/base/components/generic-form-base.component.mjs +23 -27
- package/esm2020/lib/base/components/generic-form.component.mjs +3 -3
- package/esm2020/lib/base/components/generic-list.component.mjs +31 -152
- package/esm2020/lib/base/components/generic-reactive-form.component.mjs +3 -6
- package/esm2020/lib/base/interceptors/base.interceptor.mjs +3 -3
- package/esm2020/lib/base/interceptors/caching-interceptor.mjs +3 -3
- package/esm2020/lib/base/interceptors/loading.interceptor.mjs +3 -3
- package/esm2020/lib/base/services/file.service.mjs +3 -3
- package/esm2020/lib/base/services/loading-screen.service.mjs +3 -3
- package/esm2020/lib/base/services/print.service.mjs +3 -3
- package/esm2020/lib/chips/chips.module.mjs +8 -21
- package/esm2020/lib/chips/components/chips.component.mjs +179 -243
- package/esm2020/lib/common/common.module.mjs +5 -6
- package/esm2020/lib/common/constants/constants.mjs +2 -3
- package/esm2020/lib/common/directives/disable-control.directive.mjs +3 -3
- package/esm2020/lib/common/functions/decorators.mjs +3 -3
- package/esm2020/lib/common/functions/functions.mjs +2 -3
- package/esm2020/lib/common/functions/utils.mjs +3 -17
- package/esm2020/lib/common/helpers/app-storage.mjs +7 -31
- package/esm2020/lib/common/helpers/dynamic-builder.mjs +3 -3
- package/esm2020/lib/common/helpers/dynamic-component-compiler.mjs +3 -3
- package/esm2020/lib/common/models/action-menu-item.mjs +1 -1
- package/esm2020/lib/common/models/app-setting.mjs +3 -3
- package/esm2020/lib/common/pipes/data-source.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/enum.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/file-size.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/filter.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/first-letter.mjs +3 -3
- package/esm2020/lib/common/pipes/keys.mjs +3 -3
- package/esm2020/lib/common/pipes/month-name.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/only-number.mjs +3 -3
- package/esm2020/lib/common/pipes/order.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/placeholder.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/safe-html.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/time.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/titlecase.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/truncate.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/values.mjs +3 -3
- package/esm2020/lib/common/services/base.service.mjs +3 -3
- package/esm2020/lib/common/services/enum.service.mjs +3 -3
- package/esm2020/lib/dialogs/alert-dialog/alert-dialog.component.mjs +4 -4
- package/esm2020/lib/dialogs/confirm-dialog/confirm-dialog.component.mjs +4 -4
- package/esm2020/lib/dialogs/dialog.component.mjs +9 -9
- package/esm2020/lib/dialogs/dialogs.module.mjs +4 -4
- package/esm2020/lib/dialogs/prompt-dialog/prompt-dialog.component.mjs +4 -4
- package/esm2020/lib/dialogs/services/dialog.service.mjs +3 -3
- package/esm2020/lib/file/file-input.component.mjs +3 -3
- package/esm2020/lib/file/file.module.mjs +4 -4
- package/esm2020/lib/form-validators/directives/base-directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/control-host.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/html-control-template.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/rx-form.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/async-validation.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/base-validator.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/control-expression-process.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/file-control.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/image-file-control.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/rxformcontrol.directive.mjs +3 -3
- package/esm2020/lib/form-validators/domain/element-processor/decimal.provider.mjs +3 -3
- package/esm2020/lib/form-validators/services/reactive-form.module.mjs +7 -7
- package/esm2020/lib/form-validators/services/rx-form-builder.mjs +3 -3
- package/esm2020/lib/form-validators/services/typed-form-builder.mjs +3 -3
- package/esm2020/lib/forms/components/generic-form/generic-form.component.mjs +13 -30
- package/esm2020/lib/forms/constants/constants.mjs +2 -3
- package/esm2020/lib/forms/directives/mat-form-field-editor.directive.mjs +3 -3
- package/esm2020/lib/forms/directives/mat-form-field-readonly.directive.mjs +3 -3
- package/esm2020/lib/forms/forms.module.mjs +7 -7
- package/esm2020/lib/forms/functions/decorators.mjs +116 -36
- package/esm2020/lib/forms/functions/functions.mjs +7 -17
- package/esm2020/lib/forms/helpers/abstract-mat-form-field.mjs +15 -41
- package/esm2020/lib/forms/helpers/value-accessor-base.mjs +3 -3
- package/esm2020/lib/forms/models/form-field-definition.mjs +6 -7
- package/esm2020/lib/forms/models/form-field-group.mjs +12 -0
- package/esm2020/lib/forms/validators/equal-validator.directive.mjs +3 -3
- package/esm2020/lib/forms/validators/native-element-injector.directive.mjs +3 -3
- package/esm2020/lib/forms/validators/unique-validator-directive.mjs +3 -3
- package/esm2020/lib/http/http.module.mjs +4 -4
- package/esm2020/lib/layout/form-toolbar/form-toolbar.component.mjs +3 -3
- package/esm2020/lib/layout/form-toolbar-menu/form-toolbar-menu.component.mjs +3 -3
- package/esm2020/lib/layout/layout-card-over/layout-card-over.component.mjs +4 -4
- package/esm2020/lib/layout/layout-footer/layout-footer.component.mjs +3 -3
- package/esm2020/lib/layout/layout-manage-list/layout-manage-list.component.mjs +4 -4
- package/esm2020/lib/layout/layout-manage-list/layout-manage-list.directives.mjs +7 -7
- package/esm2020/lib/layout/layout-nav/layout-nav.component.mjs +3 -3
- package/esm2020/lib/layout/layout-nav-list/layout-nav-list.component.mjs +32 -21
- package/esm2020/lib/layout/layout-nav-list/layout-nav-list.directives.mjs +26 -50
- package/esm2020/lib/layout/layout-toggle.class.mjs +3 -3
- package/esm2020/lib/layout/layout.component.mjs +3 -3
- package/esm2020/lib/layout/layout.directives.mjs +7 -7
- package/esm2020/lib/layout/layout.module.mjs +9 -9
- package/esm2020/lib/layout/list-toolbar/list-toolbar.component.mjs +9 -20
- package/esm2020/lib/layout/list-toolbar-menu/list-toolbar-menu.component.mjs +19 -0
- package/esm2020/lib/layout/navigation-drawer/navigation-drawer.component.mjs +8 -8
- package/esm2020/lib/media/directives/media-toggle.directive.mjs +3 -3
- package/esm2020/lib/media/media.module.mjs +4 -4
- package/esm2020/lib/media/services/media.service.mjs +3 -3
- package/esm2020/lib/menu/components/menu.component.mjs +3 -3
- package/esm2020/lib/menu/menu.module.mjs +4 -4
- package/esm2020/lib/menu/services/menu-items.service.mjs +3 -3
- package/esm2020/lib/menu/services/menu.resolve.mjs +5 -5
- package/esm2020/lib/menu/services/menu.service.mjs +3 -3
- package/esm2020/lib/search/search.module.mjs +4 -4
- package/esm2020/lib/search/vd-search-box/vd-search-box.component.mjs +3 -3
- package/esm2020/lib/search/vd-search-input/vd-search-input.component.mjs +3 -3
- package/esm2020/lib/select/components/select.component.mjs +11 -28
- package/esm2020/lib/select/directives/vd-select-option.directive.mjs +3 -3
- package/esm2020/lib/select/directives/vd-select-trigger.directive.mjs +3 -3
- package/esm2020/lib/select/public_api.mjs +2 -1
- package/esm2020/lib/select/select.module.mjs +4 -4
- package/esm2020/lib/table/components/dynamic-table/dynamic-table.component.mjs +43 -117
- package/esm2020/lib/table/components/filter-clear.component.mjs +4 -4
- package/esm2020/lib/table/components/filter-date.component.mjs +4 -4
- package/esm2020/lib/table/components/filter-input.component.mjs +4 -4
- package/esm2020/lib/table/components/filter-select.component.mjs +6 -6
- package/esm2020/lib/table/directives/data-source-filter.directive.mjs +3 -3
- package/esm2020/lib/table/enums/table-column-type.mjs +1 -2
- package/esm2020/lib/table/functions/decorators.mjs +45 -38
- package/esm2020/lib/table/functions/functions.mjs +5 -18
- package/esm2020/lib/table/models/table-column.mjs +1 -2
- package/esm2020/lib/table/models/table-definition.mjs +1 -1
- package/esm2020/lib/table/models/table-menu-item.mjs +1 -1
- package/esm2020/lib/table/paginator-intl.mjs +3 -3
- package/esm2020/lib/table/table.data-source.mjs +15 -49
- package/esm2020/lib/table/table.module.mjs +4 -11
- package/fesm2015/messaia-cdk.mjs +9541 -10197
- package/fesm2015/messaia-cdk.mjs.map +1 -1
- package/fesm2020/messaia-cdk.mjs +8052 -8695
- package/fesm2020/messaia-cdk.mjs.map +1 -1
- package/lib/base/base.module.d.ts +5 -18
- package/lib/base/components/base.component.d.ts +4 -31
- package/lib/base/components/generic-form-base.component.d.ts +7 -9
- package/lib/base/components/generic-list.component.d.ts +8 -55
- package/lib/chips/chips.module.d.ts +10 -18
- package/lib/chips/components/chips.component.d.ts +73 -131
- package/lib/common/common.module.d.ts +1 -2
- package/lib/common/constants/constants.d.ts +1 -2
- package/lib/common/functions/utils.d.ts +0 -7
- package/lib/common/helpers/app-storage.d.ts +1 -12
- package/lib/common/models/action-menu-item.d.ts +16 -7
- package/lib/common/styles/_common-theme.scss +5 -10
- package/lib/common/styles/_layout.scss +92 -149
- package/lib/common/styles/utilities/_general.scss +7 -428
- package/lib/forms/components/generic-form/generic-form.component.d.ts +3 -13
- package/lib/forms/constants/constants.d.ts +1 -2
- package/lib/forms/forms.module.d.ts +3 -3
- package/lib/forms/functions/decorators.d.ts +8 -3
- package/lib/forms/functions/functions.d.ts +3 -3
- package/lib/forms/helpers/abstract-mat-form-field.d.ts +14 -28
- package/lib/forms/models/form-field-definition.d.ts +34 -41
- package/lib/forms/models/form-field-group.d.ts +12 -0
- package/lib/layout/_layout-theme.scss +79 -114
- package/lib/layout/layout-nav-list/layout-nav-list.component.d.ts +9 -12
- package/lib/layout/layout-nav-list/layout-nav-list.directives.d.ts +0 -36
- package/lib/layout/layout.module.d.ts +4 -4
- package/lib/layout/list-toolbar/list-toolbar.component.d.ts +4 -13
- package/lib/layout/list-toolbar-menu/list-toolbar-menu.component.d.ts +14 -0
- package/lib/select/components/select.component.d.ts +8 -15
- package/lib/select/public_api.d.ts +1 -0
- package/lib/table/components/dynamic-table/dynamic-table.component.d.ts +12 -58
- package/lib/table/components/filter-clear.component.d.ts +1 -1
- package/lib/table/components/filter-date.component.d.ts +1 -1
- package/lib/table/components/filter-input.component.d.ts +1 -1
- package/lib/table/components/filter-select.component.d.ts +1 -1
- package/lib/table/enums/table-column-type.d.ts +1 -2
- package/lib/table/functions/decorators.d.ts +5 -3
- package/lib/table/models/table-column.d.ts +34 -39
- package/lib/table/models/table-definition.d.ts +5 -8
- package/lib/table/models/table-menu-item.d.ts +2 -2
- package/lib/table/table.data-source.d.ts +4 -26
- package/lib/table/table.module.d.ts +19 -23
- package/package.json +1 -1
- package/esm2020/lib/base/components/dynamic-table-config-dialog.comnponent.mjs +0 -96
- package/esm2020/lib/base/interfaces/ibase-component.mjs +0 -2
- package/esm2020/lib/base/interfaces/igeneric-form-base.mjs +0 -2
- package/esm2020/lib/base/interfaces/igeneric-list-component.mjs +0 -2
- package/esm2020/lib/chips/directives/autocomplete-option.directive.mjs +0 -18
- package/esm2020/lib/chips/directives/chip.directive.mjs +0 -18
- package/esm2020/lib/common/models/action-menu.mjs +0 -12
- package/esm2020/lib/forms/models/form-field-group-definition.mjs +0 -12
- package/esm2020/lib/layout/dynamic-menu/dynamic-menu.component.mjs +0 -40
- package/esm2020/lib/table/constants/constants.mjs +0 -3
- package/esm2020/lib/table/models/table-column-config.mjs +0 -63
- package/esm2020/lib/table/models/table-menu.mjs +0 -12
- package/lib/base/components/dynamic-table-config-dialog.comnponent.d.ts +0 -39
- package/lib/base/interfaces/ibase-component.d.ts +0 -87
- package/lib/base/interfaces/igeneric-form-base.d.ts +0 -81
- package/lib/base/interfaces/igeneric-list-component.d.ts +0 -80
- package/lib/chips/directives/autocomplete-option.directive.d.ts +0 -11
- package/lib/chips/directives/chip.directive.d.ts +0 -11
- package/lib/common/models/action-menu.d.ts +0 -16
- package/lib/forms/models/form-field-group-definition.d.ts +0 -16
- package/lib/layout/dynamic-menu/dynamic-menu.component.d.ts +0 -29
- package/lib/table/constants/constants.d.ts +0 -2
- package/lib/table/models/table-column-config.d.ts +0 -30
- package/lib/table/models/table-menu.d.ts +0 -8
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CdkPortal } from "@angular/cdk/portal";
|
|
2
|
-
import { Directive, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* VdAutocompleteOptionDirective class
|
|
6
|
-
*/
|
|
7
|
-
export class VdAutocompleteOptionDirective extends CdkPortal {
|
|
8
|
-
constructor(templateRef, viewContainerRef) {
|
|
9
|
-
super(templateRef, viewContainerRef);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
/** @nocollapse */ VdAutocompleteOptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: VdAutocompleteOptionDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13
|
-
/** @nocollapse */ VdAutocompleteOptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: VdAutocompleteOptionDirective, selector: "[vd-autocomplete-option]ng-template", usesInheritance: true, ngImport: i0 });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: VdAutocompleteOptionDirective, decorators: [{
|
|
15
|
-
type: Directive,
|
|
16
|
-
args: [{ selector: '[vd-autocomplete-option]ng-template' }]
|
|
17
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; } });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLW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PcHRpb25EaXJlY3RpdmUgZXh0ZW5kcyBDZGtQb3J0YWwge1xyXG4gICAgY29uc3RydWN0b3IodGVtcGxhdGVSZWY6IFRlbXBsYXRlUmVmPGFueT4sIHZpZXdDb250YWluZXJSZWY6IFZpZXdDb250YWluZXJSZWYpIHtcclxuICAgICAgICBzdXBlcih0ZW1wbGF0ZVJlZiwgdmlld0NvbnRhaW5lclJlZik7XHJcbiAgICB9XHJcbn0iXX0=
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CdkPortal } from "@angular/cdk/portal";
|
|
2
|
-
import { Directive, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* VdChipDirective class
|
|
6
|
-
*/
|
|
7
|
-
export class VdChipDirective extends CdkPortal {
|
|
8
|
-
constructor(templateRef, viewContainerRef) {
|
|
9
|
-
super(templateRef, viewContainerRef);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
/** @nocollapse */ VdChipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: VdChipDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13
|
-
/** @nocollapse */ VdChipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: VdChipDirective, selector: "[vd-chip]ng-template", usesInheritance: true, ngImport: i0 });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: VdChipDirective, decorators: [{
|
|
15
|
-
type: Directive,
|
|
16
|
-
args: [{ selector: '[vd-chip]ng-template' }]
|
|
17
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; } });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY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lZjogVGVtcGxhdGVSZWY8YW55Piwgdmlld0NvbnRhaW5lclJlZjogVmlld0NvbnRhaW5lclJlZikge1xyXG4gICAgICAgIHN1cGVyKHRlbXBsYXRlUmVmLCB2aWV3Q29udGFpbmVyUmVmKTtcclxuICAgIH1cclxufVxyXG4iXX0=
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export class ActionMenu {
|
|
2
|
-
/**
|
|
3
|
-
* constructor
|
|
4
|
-
* @param init
|
|
5
|
-
*/
|
|
6
|
-
constructor(init) {
|
|
7
|
-
this.icon = 'more_vert';
|
|
8
|
-
this.iconFontSet = 'material-icons-outlined';
|
|
9
|
-
Object.assign(this, init);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLW1lbnUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvc3JjL2xpYi9jb21tb24vbW9kZWxzL2FjdGlvbi1tZW51LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxVQUFVO0lBVW5COzs7T0FHRztJQUNILFlBQW1CLElBQTZDO1FBWmhFLFNBQUksR0FBcUQsV0FBVyxDQUFDO1FBQ3JFLGdCQUFXLEdBQVkseUJBQXlCLENBQUM7UUFZN0MsTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFJLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDOUIsQ0FBQztDQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQWN0aW9uTWVudUl0ZW0gfSBmcm9tIFwiLi9hY3Rpb24tbWVudS1pdGVtXCI7XHJcblxyXG5leHBvcnQgY2xhc3MgQWN0aW9uTWVudTxURW50aXR5ID0gYW55LCBUQ29udGV4dCA9IGFueT4ge1xyXG4gICAgdGl0bGU/OiBzdHJpbmc7XHJcbiAgICBpY29uPzogKCh4PzogVEVudGl0eSwgY3R4PzogVENvbnRleHQpID0+IGFueSkgfCBzdHJpbmcgPSAnbW9yZV92ZXJ0JztcclxuICAgIGljb25Gb250U2V0Pzogc3RyaW5nID0gJ21hdGVyaWFsLWljb25zLW91dGxpbmVkJztcclxuICAgIGljb25DbGFzcz86ICgoeD86IFRFbnRpdHksIGN0eD86IFRDb250ZXh0KSA9PiBhbnkpIHwgc3RyaW5nO1xyXG4gICAgZXZlbnQ/OiAoeD86IFRFbnRpdHksIGN0eD86IFRDb250ZXh0KSA9PiBhbnk7XHJcbiAgICBoaWRlPzogKHg/OiBURW50aXR5LCBjdHg/OiBUQ29udGV4dCkgPT4gYW55O1xyXG4gICAgZGlzYWJsZT86ICh4PzogVEVudGl0eSwgY3R4PzogVENvbnRleHQpID0+IGFueTtcclxuICAgIGl0ZW1zPzogQWN0aW9uTWVudUl0ZW08VEVudGl0eSwgVENvbnRleHQ+W107XHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBjb25zdHJ1Y3RvclxyXG4gICAgICogQHBhcmFtIGluaXQgXHJcbiAgICAgKi9cclxuICAgIHB1YmxpYyBjb25zdHJ1Y3Rvcihpbml0PzogUGFydGlhbDxBY3Rpb25NZW51PFRFbnRpdHksIFRDb250ZXh0Pj4pIHtcclxuICAgICAgICBPYmplY3QuYXNzaWduKHRoaXMsIGluaXQpO1xyXG4gICAgfVxyXG59Il19
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export class FormFieldGroupDefinition {
|
|
2
|
-
/**
|
|
3
|
-
* constructor
|
|
4
|
-
* @param init
|
|
5
|
-
*/
|
|
6
|
-
constructor(init) {
|
|
7
|
-
this.name = 'details';
|
|
8
|
-
this.fields = [];
|
|
9
|
-
Object.assign(this, init);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZ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XG4gICAgICogQHBhcmFtIGluaXQgXHJcbiAgICAgKi9cclxuICAgIHB1YmxpYyBjb25zdHJ1Y3Rvcihpbml0PzogUGFydGlhbDxGb3JtRmllbGRHcm91cERlZmluaXRpb248VD4+KSB7XHJcbiAgICAgICAgT2JqZWN0LmFzc2lnbih0aGlzLCBpbml0KTtcclxuICAgIH1cclxufSJdfQ==
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Component, Input, ViewChild } from '@angular/core';
|
|
2
|
-
import { MatMenu } from '@angular/material/menu';
|
|
3
|
-
import { ActionMenu } from '../../common/models/action-menu';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/material/button";
|
|
6
|
-
import * as i2 from "@angular/material/icon";
|
|
7
|
-
import * as i3 from "@angular/material/menu";
|
|
8
|
-
import * as i4 from "@angular/common";
|
|
9
|
-
export class VdDynamicMenuComponent {
|
|
10
|
-
/**
|
|
11
|
-
* Handles a string function expression
|
|
12
|
-
* @param expression
|
|
13
|
-
* @returns
|
|
14
|
-
*/
|
|
15
|
-
handleExpression(expression) {
|
|
16
|
-
if (!expression) {
|
|
17
|
-
return null;
|
|
18
|
-
}
|
|
19
|
-
if (typeof expression === 'function') {
|
|
20
|
-
return expression(this.item, this.context);
|
|
21
|
-
}
|
|
22
|
-
return expression;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
/** @nocollapse */ VdDynamicMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: VdDynamicMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
/** @nocollapse */ VdDynamicMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: VdDynamicMenuComponent, selector: "vd-dynamic-menu", inputs: { menu: "menu", item: "item", context: "context" }, viewQueries: [{ propertyName: "matMenu", first: true, predicate: MatMenu, descendants: true }], ngImport: i0, template: "<div layout=\"item\" layout-align=\"start center\" *ngIf=\"menu\" flex>\r\n <a mat-icon-button [mat-menu-trigger-for]=\"matMenu\" *ngIf=\"menu?.items?.length\" [disabled]=\"item?.locked || menu.disable && menu.disable(item, context)\" (click)=\"$event.stopPropagation();\">\r\n <mat-icon fontSet=\"{{menu.iconFontSet}}\" [class]=\"handleExpression(menu.iconClass)\">{{handleExpression(menu.icon) || 'more_vert'}}</mat-icon>\r\n </a>\r\n <mat-menu x-position=\"before\" #matMenu=\"matMenu\">\r\n <ng-container *ngFor=\"let menuItem of menu?.items\">\r\n <ng-container *ngIf=\"!menuItem.subItems\">\r\n <a mat-menu-item (click)=\"menuItem.event?menuItem.event(item, context):null\" *ngIf=\"!menuItem.hide || !menuItem.hide(item, context)\" [disabled]=\"menuItem.disable && menuItem.disable(item, context)\">\r\n <mat-icon fontSet=\"{{menuItem.iconFontSet || 'material-icons-outlined'}}\" [class]=\"handleExpression(menuItem.iconClass)\">{{handleExpression(menuItem.icon) || 'radio_button_unchecked'}}</mat-icon>\r\n <span>{{menuItem.title}}</span>\r\n </a>\r\n </ng-container>\r\n <ng-container *ngIf=\"menuItem.subItems\">\r\n <mat-menu x-position=\"before\" #subMenu=\"matMenu\">\r\n <ng-container *ngFor=\"let menuSubItem of menuItem.subItems\">\r\n <a mat-menu-item (click)=\"menuSubItem.event?menuSubItem.event(item, context):null\" *ngIf=\"!menuSubItem.hide || !menuSubItem.hide(item, context)\" [disabled]=\"menuSubItem.disable && menuSubItem.disable(item, context)\">\r\n <mat-icon fontSet=\"{{menuSubItem.iconFontSet || 'material-icons-outlined'}}\" [class]=\"handleExpression(menuSubItem.iconClass)\">{{handleExpression(menuSubItem.icon) || 'radio_button_unchecked'}}</mat-icon>\r\n <span>{{menuSubItem.title}}</span>\r\n </a>\r\n </ng-container>\r\n </mat-menu>\r\n <a mat-menu-item [matMenuTriggerFor]=\"subMenu\" *ngIf=\"!menuItem.hide || !menuItem.hide(item, context)\" [disabled]=\"menuItem.disable && menuItem.disable(item, context)\">\r\n <mat-icon fontSet=\"{{menuItem.iconFontSet || 'material-icons-outlined'}}\" [class]=\"handleExpression(menuItem.iconClass)\">{{handleExpression(menuItem.icon) || 'radio_button_unchecked'}}</mat-icon>\r\n <span>{{menuItem.title}}</span>\r\n </a>\r\n </ng-container>\r\n </ng-container>\r\n </mat-menu>\r\n</div>", components: [{ type: i1.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matButton", "matAnchor"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i3.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: VdDynamicMenuComponent, decorators: [{
|
|
28
|
-
type: Component,
|
|
29
|
-
args: [{ selector: 'vd-dynamic-menu', template: "<div layout=\"item\" layout-align=\"start center\" *ngIf=\"menu\" flex>\r\n <a mat-icon-button [mat-menu-trigger-for]=\"matMenu\" *ngIf=\"menu?.items?.length\" [disabled]=\"item?.locked || menu.disable && menu.disable(item, context)\" (click)=\"$event.stopPropagation();\">\r\n <mat-icon fontSet=\"{{menu.iconFontSet}}\" [class]=\"handleExpression(menu.iconClass)\">{{handleExpression(menu.icon) || 'more_vert'}}</mat-icon>\r\n </a>\r\n <mat-menu x-position=\"before\" #matMenu=\"matMenu\">\r\n <ng-container *ngFor=\"let menuItem of menu?.items\">\r\n <ng-container *ngIf=\"!menuItem.subItems\">\r\n <a mat-menu-item (click)=\"menuItem.event?menuItem.event(item, context):null\" *ngIf=\"!menuItem.hide || !menuItem.hide(item, context)\" [disabled]=\"menuItem.disable && menuItem.disable(item, context)\">\r\n <mat-icon fontSet=\"{{menuItem.iconFontSet || 'material-icons-outlined'}}\" [class]=\"handleExpression(menuItem.iconClass)\">{{handleExpression(menuItem.icon) || 'radio_button_unchecked'}}</mat-icon>\r\n <span>{{menuItem.title}}</span>\r\n </a>\r\n </ng-container>\r\n <ng-container *ngIf=\"menuItem.subItems\">\r\n <mat-menu x-position=\"before\" #subMenu=\"matMenu\">\r\n <ng-container *ngFor=\"let menuSubItem of menuItem.subItems\">\r\n <a mat-menu-item (click)=\"menuSubItem.event?menuSubItem.event(item, context):null\" *ngIf=\"!menuSubItem.hide || !menuSubItem.hide(item, context)\" [disabled]=\"menuSubItem.disable && menuSubItem.disable(item, context)\">\r\n <mat-icon fontSet=\"{{menuSubItem.iconFontSet || 'material-icons-outlined'}}\" [class]=\"handleExpression(menuSubItem.iconClass)\">{{handleExpression(menuSubItem.icon) || 'radio_button_unchecked'}}</mat-icon>\r\n <span>{{menuSubItem.title}}</span>\r\n </a>\r\n </ng-container>\r\n </mat-menu>\r\n <a mat-menu-item [matMenuTriggerFor]=\"subMenu\" *ngIf=\"!menuItem.hide || !menuItem.hide(item, context)\" [disabled]=\"menuItem.disable && menuItem.disable(item, context)\">\r\n <mat-icon fontSet=\"{{menuItem.iconFontSet || 'material-icons-outlined'}}\" [class]=\"handleExpression(menuItem.iconClass)\">{{handleExpression(menuItem.icon) || 'radio_button_unchecked'}}</mat-icon>\r\n <span>{{menuItem.title}}</span>\r\n </a>\r\n </ng-container>\r\n </ng-container>\r\n </mat-menu>\r\n</div>" }]
|
|
30
|
-
}], propDecorators: { matMenu: [{
|
|
31
|
-
type: ViewChild,
|
|
32
|
-
args: [MatMenu]
|
|
33
|
-
}], menu: [{
|
|
34
|
-
type: Input
|
|
35
|
-
}], item: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}], context: [{
|
|
38
|
-
type: Input
|
|
39
|
-
}] } });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy1tZW51LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nkay9zcmMvbGliL2xheW91dC9keW5hbWljLW1lbnUvZHluYW1pYy1tZW51LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nkay9zcmMvbGliL2xheW91dC9keW5hbWljLW1lbnUvZHluYW1pYy1tZW51LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM1RCxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDakQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGlDQUFpQyxDQUFDOzs7Ozs7QUFNN0QsTUFBTSxPQUFPLHNCQUFzQjtJQTBCL0I7Ozs7T0FJRztJQUNJLGdCQUFnQixDQUFDLFVBQTZCO1FBQ2pELElBQUksQ0FBQyxVQUFVLEVBQUU7WUFDYixPQUFPLElBQUksQ0FBQztTQUNmO1FBRUQsSUFBSSxPQUFPLFVBQVUsS0FBSyxVQUFVLEVBQUU7WUFDbEMsT0FBTyxVQUFVLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsT0FBTyxDQUFDLENBQUM7U0FDOUM7UUFFRC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ICAgICAgICAgICAgICAgICAgICAgICA8c3Bhbj57e21lbnVTdWJJdGVtLnRpdGxlfX08L3NwYW4+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cclxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgICAgICAgICAgICAgIDwvbWF0LW1lbnU+XHJcbiAgICAgICAgICAgICAgICA8YSBtYXQtbWVudS1pdGVtIFttYXRNZW51VHJpZ2dlckZvcl09XCJzdWJNZW51XCIgKm5nSWY9XCIhbWVudUl0ZW0uaGlkZSB8fCAhbWVudUl0ZW0uaGlkZShpdGVtLCBjb250ZXh0KVwiIFtkaXNhYmxlZF09XCJtZW51SXRlbS5kaXNhYmxlICYmIG1lbnVJdGVtLmRpc2FibGUoaXRlbSwgY29udGV4dClcIj5cclxuICAgICAgICAgICAgICAgICAgICA8bWF0LWljb24gZm9udFNldD1cInt7bWVudUl0ZW0uaWNvbkZvbnRTZXQgfHwgJ21hdGVyaWFsLWljb25zLW91dGxpbmVkJ319XCIgW2NsYXNzXT1cImhhbmRsZUV4cHJlc3Npb24obWVudUl0ZW0uaWNvbkNsYXNzKVwiPnt7aGFuZGxlRXhwcmVzc2lvbihtZW51SXRlbS5pY29uKSB8fCAncmFkaW9fYnV0dG9uX3VuY2hlY2tlZCd9fTwvbWF0LWljb24+XHJcbiAgICAgICAgICAgICAgICAgICAgPHNwYW4+e3ttZW51SXRlbS50aXRsZX19PC9zcGFuPlxyXG4gICAgICAgICAgICAgICAgPC9hPlxyXG4gICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgIDwvbWF0LW1lbnU+XHJcbjwvZGl2PiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export const tableDefinitionMetadataKey = 'custom:vdTableDefinition';
|
|
2
|
-
export const tableColumnsMetadataKey = 'custom:vdTableColumns';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2RrL3NyYy9saWIvdGFibGUvY29uc3RhbnRzL2NvbnN0YW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSwwQkFBMEIsR0FBRywwQkFBMEIsQ0FBQztBQUNyRSxNQUFNLENBQUMsTUFBTSx1QkFBdUIsR0FBRyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCB0YWJsZURlZmluaXRpb25NZXRhZGF0YUtleSA9ICdjdXN0b206dmRUYWJsZURlZmluaXRpb24nO1xyXG5leHBvcnQgY29uc3QgdGFibGVDb2x1bW5zTWV0YWRhdGFLZXkgPSAnY3VzdG9tOnZkVGFibGVDb2x1bW5zJzsiXX0=
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { Display } from "../../common/functions/decorators";
|
|
3
|
-
import { TableColumnType } from "../enums/table-column-type";
|
|
4
|
-
import { Column } from "../functions/decorators";
|
|
5
|
-
export class TableColumnConfig {
|
|
6
|
-
/**
|
|
7
|
-
* constructor
|
|
8
|
-
* @param init
|
|
9
|
-
*/
|
|
10
|
-
constructor(init) {
|
|
11
|
-
Object.assign(this, init);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
__decorate([
|
|
15
|
-
Column({ type: TableColumnType.TextInput }),
|
|
16
|
-
Display($localize `:@@name:Name`),
|
|
17
|
-
__metadata("design:type", String)
|
|
18
|
-
], TableColumnConfig.prototype, "header", void 0);
|
|
19
|
-
__decorate([
|
|
20
|
-
Column({
|
|
21
|
-
type: TableColumnType.TextInput,
|
|
22
|
-
maxWidth: 65,
|
|
23
|
-
change: (_, ctx) => ctx?.updateColumns()
|
|
24
|
-
}),
|
|
25
|
-
Display($localize `:@@index:Index`),
|
|
26
|
-
__metadata("design:type", Number)
|
|
27
|
-
], TableColumnConfig.prototype, "index", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
Column({ maxWidth: 60 }),
|
|
30
|
-
Display($localize `:@@hidden:Hidden`),
|
|
31
|
-
__metadata("design:type", Boolean)
|
|
32
|
-
], TableColumnConfig.prototype, "hidden", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column({ maxWidth: 60 }),
|
|
35
|
-
Display($localize `:@@disabled:Disabled`),
|
|
36
|
-
__metadata("design:type", Boolean)
|
|
37
|
-
], TableColumnConfig.prototype, "disabled", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
Column({ maxWidth: 60 }),
|
|
40
|
-
Display($localize `:@@extraSmall:Extra small`),
|
|
41
|
-
__metadata("design:type", Boolean)
|
|
42
|
-
], TableColumnConfig.prototype, "showGtXs", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
Column({ maxWidth: 60 }),
|
|
45
|
-
Display($localize `:@@small:Small`),
|
|
46
|
-
__metadata("design:type", Boolean)
|
|
47
|
-
], TableColumnConfig.prototype, "showGtSm", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
Column({ maxWidth: 60 }),
|
|
50
|
-
Display($localize `:@@medium:Medium`),
|
|
51
|
-
__metadata("design:type", Boolean)
|
|
52
|
-
], TableColumnConfig.prototype, "showGtMd", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
Column({ maxWidth: 60 }),
|
|
55
|
-
Display($localize `:@@large:Large`),
|
|
56
|
-
__metadata("design:type", Boolean)
|
|
57
|
-
], TableColumnConfig.prototype, "showGtLg", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
Column({ maxWidth: 60 }),
|
|
60
|
-
Display($localize `:@@extraLarge:Extra large`),
|
|
61
|
-
__metadata("design:type", Boolean)
|
|
62
|
-
], TableColumnConfig.prototype, "showGtXl", void 0);
|
|
63
|
-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RlPzogRnVuY3Rpb247XHJcblxyXG5cclxuICAgIHB1YmxpYyB0b29sdGlwPzogRnVuY3Rpb247XHJcbiAgICBwdWJsaWMgdG9vbHRpcENsYXNzPzogc3RyaW5nO1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogY29uc3RydWN0b3JcclxuICAgICAqIEBwYXJhbSBpbml0IFxyXG4gICAgICovXHJcbiAgICBwdWJsaWMgY29uc3RydWN0b3IoaW5pdD86IFBhcnRpYWw8VGFibGVDb2x1bW5Db25maWc+KSB7XHJcbiAgICAgICAgT2JqZWN0LmFzc2lnbih0aGlzLCBpbml0KTtcclxuICAgIH1cclxufSJdfQ==
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ActionMenu } from "../../common/models/action-menu";
|
|
2
|
-
export class TableMenu extends ActionMenu {
|
|
3
|
-
/**
|
|
4
|
-
* constructor
|
|
5
|
-
* @param init
|
|
6
|
-
*/
|
|
7
|
-
constructor(init) {
|
|
8
|
-
super(init);
|
|
9
|
-
Object.assign(this, init);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtbWVudS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nkay9zcmMvbGliL3RhYmxlL21vZGVscy90YWJsZS1tZW51LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUU3RCxNQUFNLE9BQU8sU0FBeUMsU0FBUSxVQUE2QjtJQUV2Rjs7O09BR0c7SUFDSCxZQUFtQixJQUE0QztRQUMzRCxLQUFLLENBQUMsSUFBSSxDQUFDLENBQUE7UUFDWCxNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsQ0FBQztJQUM5QixDQUFDO0NBQ0oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBY3Rpb25NZW51IH0gZnJvbSBcIi4uLy4uL2NvbW1vbi9tb2RlbHMvYWN0aW9uLW1lbnVcIjtcclxuXHJcbmV4cG9ydCBjbGFzcyBUYWJsZU1lbnU8VEVudGl0eSA9IGFueSwgVENvbnRleHQgPSBhbnk+IGV4dGVuZHMgQWN0aW9uTWVudTxURW50aXR5LCBUQ29udGV4dD4ge1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogY29uc3RydWN0b3JcclxuICAgICAqIEBwYXJhbSBpbml0IFxyXG4gICAgICovXHJcbiAgICBwdWJsaWMgY29uc3RydWN0b3IoaW5pdD86IFBhcnRpYWw8VGFibGVNZW51PFRFbnRpdHksIFRDb250ZXh0Pj4pIHtcclxuICAgICAgICBzdXBlcihpbml0KVxyXG4gICAgICAgIE9iamVjdC5hc3NpZ24odGhpcywgaW5pdCk7XHJcbiAgICB9XHJcbn0iXX0=
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { ActivatedRoute } from '@angular/router';
|
|
4
|
-
import { TableColumnConfig } from '../../table/models/table-column-config';
|
|
5
|
-
import { IGenericListComponent } from '../interfaces/igeneric-list-component';
|
|
6
|
-
import { BaseComponent } from './base.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class VdDynamicTableConfigDialogComponent extends BaseComponent {
|
|
9
|
-
protected route: ActivatedRoute;
|
|
10
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
11
|
-
dialogRef: MatDialogRef<VdDynamicTableConfigDialogComponent>;
|
|
12
|
-
genericList: IGenericListComponent<any>;
|
|
13
|
-
/**
|
|
14
|
-
* columns: TableColumn[]
|
|
15
|
-
*/
|
|
16
|
-
columns: TableColumnConfig[];
|
|
17
|
-
/**
|
|
18
|
-
* classType: typeof TableColumnConfig
|
|
19
|
-
*/
|
|
20
|
-
classType: typeof TableColumnConfig;
|
|
21
|
-
/**
|
|
22
|
-
* Constructor
|
|
23
|
-
*/
|
|
24
|
-
constructor(route: ActivatedRoute, changeDetectorRef: ChangeDetectorRef, dialogRef: MatDialogRef<VdDynamicTableConfigDialogComponent>, genericList: IGenericListComponent<any>);
|
|
25
|
-
/**
|
|
26
|
-
* Saves config
|
|
27
|
-
*/
|
|
28
|
-
save(): void;
|
|
29
|
-
/**
|
|
30
|
-
* Applies config
|
|
31
|
-
*/
|
|
32
|
-
apply(): void;
|
|
33
|
-
/**
|
|
34
|
-
* Updates the columns
|
|
35
|
-
*/
|
|
36
|
-
updateColumns(): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VdDynamicTableConfigDialogComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdDynamicTableConfigDialogComponent, "vd-dynamic-table-config-dialog", never, {}, {}, never, never>;
|
|
39
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { Type } from "@angular/core";
|
|
2
|
-
import { MatDialogConfig } from "@angular/material/dialog";
|
|
3
|
-
import { Router } from "@angular/router";
|
|
4
|
-
import { Observable } from "rxjs";
|
|
5
|
-
import { AppSetting } from "../../common/models/app-setting";
|
|
6
|
-
import { Menu } from "../../menu/models/menu";
|
|
7
|
-
import { AuthUser } from "../models/auth-user";
|
|
8
|
-
export interface IBaseComponent {
|
|
9
|
-
/**
|
|
10
|
-
* App settings
|
|
11
|
-
*/
|
|
12
|
-
appSetting: AppSetting;
|
|
13
|
-
/**
|
|
14
|
-
* Menu items
|
|
15
|
-
*/
|
|
16
|
-
menu: Menu;
|
|
17
|
-
/**
|
|
18
|
-
* The name of the project
|
|
19
|
-
*/
|
|
20
|
-
projectName: string;
|
|
21
|
-
/**
|
|
22
|
-
* The title of the current page
|
|
23
|
-
*/
|
|
24
|
-
title: string;
|
|
25
|
-
/**
|
|
26
|
-
* The subtitle of the current outlet
|
|
27
|
-
*/
|
|
28
|
-
subtitle: string;
|
|
29
|
-
/**
|
|
30
|
-
* Loading status
|
|
31
|
-
*/
|
|
32
|
-
isLoading: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Saving status
|
|
35
|
-
*/
|
|
36
|
-
get isSaving(): boolean;
|
|
37
|
-
set isSaving(isSaving: boolean);
|
|
38
|
-
/**
|
|
39
|
-
* Represents the request errors
|
|
40
|
-
*/
|
|
41
|
-
errors: Array<string>;
|
|
42
|
-
/**
|
|
43
|
-
* Provides the navigation and url manipulation capabilities.
|
|
44
|
-
*/
|
|
45
|
-
router: Router;
|
|
46
|
-
/**
|
|
47
|
-
* Current route
|
|
48
|
-
*/
|
|
49
|
-
currentRoute: string;
|
|
50
|
-
/**
|
|
51
|
-
* Current base route
|
|
52
|
-
*/
|
|
53
|
-
currentBaseRoute: string;
|
|
54
|
-
/**
|
|
55
|
-
* A url to return to after save
|
|
56
|
-
*/
|
|
57
|
-
returnUrl: string;
|
|
58
|
-
/**
|
|
59
|
-
* Current user object
|
|
60
|
-
*/
|
|
61
|
-
currentUser: AuthUser;
|
|
62
|
-
/**
|
|
63
|
-
* Refreshs this page/component
|
|
64
|
-
*/
|
|
65
|
-
reloadPage(): void;
|
|
66
|
-
/**
|
|
67
|
-
* Navigate based on the provided array of commands and a starting point.
|
|
68
|
-
* @param commands
|
|
69
|
-
*/
|
|
70
|
-
navigate(commands: any[], queryParams?: any, fragment?: string, preserveFragment?: boolean): void;
|
|
71
|
-
/**
|
|
72
|
-
* Navigates back to return url
|
|
73
|
-
*/
|
|
74
|
-
navigateToReturnUrl(): void;
|
|
75
|
-
/**
|
|
76
|
-
* Shows a confirm dialog to send some data
|
|
77
|
-
* @param message The message to display
|
|
78
|
-
* @param observabe The observable instance
|
|
79
|
-
* @param successCallback A success callback
|
|
80
|
-
* @param errorCallback An error callback
|
|
81
|
-
*/
|
|
82
|
-
showConfirmationDialog(message: string, observabe: Observable<any>, successCallback: Function, errorCallback: Function): void;
|
|
83
|
-
/**
|
|
84
|
-
* Navigates to the add page.
|
|
85
|
-
*/
|
|
86
|
-
openDialog<T, D = any>(dialogType: Type<T>, config: MatDialogConfig<D>, callback: Function): void;
|
|
87
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { FormGroup, NgForm } from "@angular/forms";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { IEntity } from "../../common/models/entity";
|
|
4
|
-
import { SaveAction } from "../../common/models/save-action";
|
|
5
|
-
import { IBaseComponent } from "./ibase-component";
|
|
6
|
-
export interface IGenericFormBaseComponent<TEntity extends IEntity | any> extends IBaseComponent {
|
|
7
|
-
/**
|
|
8
|
-
* Action = edit?
|
|
9
|
-
*/
|
|
10
|
-
isEditMode: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* The id of the item to load
|
|
13
|
-
*/
|
|
14
|
-
id: number | string;
|
|
15
|
-
/**
|
|
16
|
-
* The current item to add or edit
|
|
17
|
-
*/
|
|
18
|
-
item: TEntity;
|
|
19
|
-
/**
|
|
20
|
-
* Represents the request errors
|
|
21
|
-
*/
|
|
22
|
-
errors: Array<string>;
|
|
23
|
-
/**
|
|
24
|
-
* Get params
|
|
25
|
-
*/
|
|
26
|
-
query: any;
|
|
27
|
-
/**
|
|
28
|
-
* If true, show the menu 'Delete'
|
|
29
|
-
*/
|
|
30
|
-
deletable: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Form group
|
|
33
|
-
*/
|
|
34
|
-
form: NgForm | FormGroup;
|
|
35
|
-
/**
|
|
36
|
-
* Gets form value
|
|
37
|
-
*/
|
|
38
|
-
get formValue(): TEntity | any;
|
|
39
|
-
/**
|
|
40
|
-
* Loads an item by ID
|
|
41
|
-
*/
|
|
42
|
-
loadItem(): void;
|
|
43
|
-
/**
|
|
44
|
-
* Loads an item by ID asyncly
|
|
45
|
-
*/
|
|
46
|
-
loadItemAsync(): Observable<TEntity>;
|
|
47
|
-
/**
|
|
48
|
-
* Saves data into database.
|
|
49
|
-
* @param action
|
|
50
|
-
*/
|
|
51
|
-
save(action?: SaveAction, form?: NgForm | FormGroup): void;
|
|
52
|
-
/**
|
|
53
|
-
* Saves data and navigates to edit view
|
|
54
|
-
*/
|
|
55
|
-
apply(): void;
|
|
56
|
-
/**
|
|
57
|
-
* Deletes the current record.
|
|
58
|
-
*/
|
|
59
|
-
delete(): void;
|
|
60
|
-
/**
|
|
61
|
-
* Validates the form
|
|
62
|
-
* @param form
|
|
63
|
-
*/
|
|
64
|
-
validateForm(form?: NgForm | FormGroup): void;
|
|
65
|
-
/**
|
|
66
|
-
* Validates the form
|
|
67
|
-
* @param form
|
|
68
|
-
*/
|
|
69
|
-
isFormValid(form?: NgForm | FormGroup): boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Resets form controls
|
|
72
|
-
* @param form
|
|
73
|
-
* @returns
|
|
74
|
-
*/
|
|
75
|
-
resetForm(form: NgForm): void;
|
|
76
|
-
/**
|
|
77
|
-
* Loads the previous URL in the history list.
|
|
78
|
-
* @param action
|
|
79
|
-
*/
|
|
80
|
-
back(action?: SaveAction): void;
|
|
81
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { MatPaginator } from "@angular/material/paginator";
|
|
2
|
-
import { MatSort } from "@angular/material/sort";
|
|
3
|
-
import { IEntity } from "../../common/models/entity";
|
|
4
|
-
import { VdDynamicTableComponent } from "../../table/components/dynamic-table/dynamic-table.component";
|
|
5
|
-
import { TableColumnConfig } from "../../table/models/table-column-config";
|
|
6
|
-
import { TableDataSource } from "../../table/table.data-source";
|
|
7
|
-
import { IBaseComponent } from "./ibase-component";
|
|
8
|
-
export interface IGenericListComponent<TEntity extends IEntity | any> extends IBaseComponent {
|
|
9
|
-
/**
|
|
10
|
-
* A reference to VdDynamicTableComponent
|
|
11
|
-
*/
|
|
12
|
-
dynamicTable: VdDynamicTableComponent;
|
|
13
|
-
/**
|
|
14
|
-
* Data-table datasource
|
|
15
|
-
*/
|
|
16
|
-
dataSource: TableDataSource<TEntity, any> | null;
|
|
17
|
-
/**
|
|
18
|
-
* A reference to MdPaginator element
|
|
19
|
-
*/
|
|
20
|
-
paginator: MatPaginator;
|
|
21
|
-
/**
|
|
22
|
-
* A reference to MdSort attribute
|
|
23
|
-
*/
|
|
24
|
-
sort: MatSort;
|
|
25
|
-
/**
|
|
26
|
-
* Page size options
|
|
27
|
-
*/
|
|
28
|
-
pageSizeOptions: Array<number>;
|
|
29
|
-
/**
|
|
30
|
-
* Reloads items
|
|
31
|
-
*/
|
|
32
|
-
loadList(resetSelection?: boolean): void;
|
|
33
|
-
/**
|
|
34
|
-
* Search
|
|
35
|
-
* @param filter
|
|
36
|
-
*/
|
|
37
|
-
search(filter: string): void;
|
|
38
|
-
/**
|
|
39
|
-
* Navigates to the add page.
|
|
40
|
-
*/
|
|
41
|
-
add(): void;
|
|
42
|
-
/**
|
|
43
|
-
* Navigates to the edit page.
|
|
44
|
-
* @param item The id of the item
|
|
45
|
-
*/
|
|
46
|
-
edit(item: TEntity, context?: any): void;
|
|
47
|
-
/**
|
|
48
|
-
* Patches the entity
|
|
49
|
-
* @param id The ID of the entity
|
|
50
|
-
* @param fields The fields to patch
|
|
51
|
-
* @param value The (optional) value to change
|
|
52
|
-
* @param includes Includes some navigations
|
|
53
|
-
*/
|
|
54
|
-
patch(id: number, fields: Array<string>, value: any, includes?: any): void;
|
|
55
|
-
/**
|
|
56
|
-
* Deletes an item from the database.
|
|
57
|
-
*/
|
|
58
|
-
deleteItem(item: TEntity): void;
|
|
59
|
-
/**
|
|
60
|
-
* Deletes an item from the database.
|
|
61
|
-
*/
|
|
62
|
-
deleteItems(): void;
|
|
63
|
-
/**
|
|
64
|
-
* Opens the config dialog
|
|
65
|
-
*/
|
|
66
|
-
openConfigDialog(): void;
|
|
67
|
-
/**
|
|
68
|
-
* Saves the table config
|
|
69
|
-
* @param configs
|
|
70
|
-
*/
|
|
71
|
-
saveConfigs(configs: TableColumnConfig[]): void;
|
|
72
|
-
/**
|
|
73
|
-
* Gets and applies the table configs
|
|
74
|
-
*/
|
|
75
|
-
loadConfigs(): void;
|
|
76
|
-
/**
|
|
77
|
-
* Updates the table columns
|
|
78
|
-
*/
|
|
79
|
-
updateColumns(loadConfig?: boolean): void;
|
|
80
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CdkPortal } from "@angular/cdk/portal";
|
|
2
|
-
import { TemplateRef, ViewContainerRef } from "@angular/core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* VdAutocompleteOptionDirective class
|
|
6
|
-
*/
|
|
7
|
-
export declare class VdAutocompleteOptionDirective extends CdkPortal {
|
|
8
|
-
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VdAutocompleteOptionDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<VdAutocompleteOptionDirective, "[vd-autocomplete-option]ng-template", never, {}, {}, never>;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CdkPortal } from "@angular/cdk/portal";
|
|
2
|
-
import { TemplateRef, ViewContainerRef } from "@angular/core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* VdChipDirective class
|
|
6
|
-
*/
|
|
7
|
-
export declare class VdChipDirective extends CdkPortal {
|
|
8
|
-
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VdChipDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<VdChipDirective, "[vd-chip]ng-template", never, {}, {}, never>;
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ActionMenuItem } from "./action-menu-item";
|
|
2
|
-
export declare class ActionMenu<TEntity = any, TContext = any> {
|
|
3
|
-
title?: string;
|
|
4
|
-
icon?: ((x?: TEntity, ctx?: TContext) => any) | string;
|
|
5
|
-
iconFontSet?: string;
|
|
6
|
-
iconClass?: ((x?: TEntity, ctx?: TContext) => any) | string;
|
|
7
|
-
event?: (x?: TEntity, ctx?: TContext) => any;
|
|
8
|
-
hide?: (x?: TEntity, ctx?: TContext) => any;
|
|
9
|
-
disable?: (x?: TEntity, ctx?: TContext) => any;
|
|
10
|
-
items?: ActionMenuItem<TEntity, TContext>[];
|
|
11
|
-
/**
|
|
12
|
-
* constructor
|
|
13
|
-
* @param init
|
|
14
|
-
*/
|
|
15
|
-
constructor(init?: Partial<ActionMenu<TEntity, TContext>>);
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Type } from "@angular/core";
|
|
2
|
-
import { FormFieldDefinition } from "./form-field-definition";
|
|
3
|
-
export declare class FormFieldGroupDefinition<T = any> {
|
|
4
|
-
name: string;
|
|
5
|
-
index?: number;
|
|
6
|
-
header?: string;
|
|
7
|
-
fields: FormFieldDefinition<T>[];
|
|
8
|
-
groups: [FormFieldDefinition<T>[]];
|
|
9
|
-
type?: Type<any>;
|
|
10
|
-
instance?: object;
|
|
11
|
-
/**
|
|
12
|
-
* constructor
|
|
13
|
-
* @param init
|
|
14
|
-
*/
|
|
15
|
-
constructor(init?: Partial<FormFieldGroupDefinition<T>>);
|
|
16
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { MatMenu } from '@angular/material/menu';
|
|
2
|
-
import { ActionMenu } from '../../common/models/action-menu';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class VdDynamicMenuComponent {
|
|
5
|
-
/**
|
|
6
|
-
* matMenu: MatMenu
|
|
7
|
-
*/
|
|
8
|
-
matMenu: MatMenu;
|
|
9
|
-
/**
|
|
10
|
-
* menu: ActionMenu
|
|
11
|
-
*/
|
|
12
|
-
menu: ActionMenu;
|
|
13
|
-
/**
|
|
14
|
-
* item: any
|
|
15
|
-
*/
|
|
16
|
-
item: any;
|
|
17
|
-
/**
|
|
18
|
-
* context: any
|
|
19
|
-
*/
|
|
20
|
-
context: any;
|
|
21
|
-
/**
|
|
22
|
-
* Handles a string function expression
|
|
23
|
-
* @param expression
|
|
24
|
-
* @returns
|
|
25
|
-
*/
|
|
26
|
-
handleExpression(expression: string | Function): string;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VdDynamicMenuComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdDynamicMenuComponent, "vd-dynamic-menu", never, { "menu": "menu"; "item": "item"; "context": "context"; }, {}, never, never>;
|
|
29
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare class TableColumnConfig {
|
|
2
|
-
name: string;
|
|
3
|
-
sortBy?: string;
|
|
4
|
-
header?: string;
|
|
5
|
-
index?: number;
|
|
6
|
-
hidden?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
showGtXs?: boolean;
|
|
9
|
-
showGtSm?: boolean;
|
|
10
|
-
showGtMd?: boolean;
|
|
11
|
-
showGtLg?: boolean;
|
|
12
|
-
showGtXl?: boolean;
|
|
13
|
-
showGtXxl?: boolean;
|
|
14
|
-
width?: number;
|
|
15
|
-
widthUnit?: string;
|
|
16
|
-
minWidth?: number;
|
|
17
|
-
minWidthUnit?: string;
|
|
18
|
-
maxWidth?: number;
|
|
19
|
-
maxWidthUnit?: string;
|
|
20
|
-
sticky?: boolean;
|
|
21
|
-
stickyEnd?: boolean;
|
|
22
|
-
hide?: Function;
|
|
23
|
-
tooltip?: Function;
|
|
24
|
-
tooltipClass?: string;
|
|
25
|
-
/**
|
|
26
|
-
* constructor
|
|
27
|
-
* @param init
|
|
28
|
-
*/
|
|
29
|
-
constructor(init?: Partial<TableColumnConfig>);
|
|
30
|
-
}
|