@alfresco/adf-insights 8.4.0-19066231420 → 8.4.0-19066638615
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.
|
@@ -108,11 +108,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
108
108
|
/* eslint-disable @angular-eslint/component-selector, @angular-eslint/no-input-rename */
|
|
109
109
|
class CheckboxWidgetAnalyticsComponent extends WidgetComponent {
|
|
110
110
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CheckboxWidgetAnalyticsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
111
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: CheckboxWidgetAnalyticsComponent, isStandalone: true, selector: "analytics-checkbox-widget", inputs: { formGroup: ["group", "formGroup"], controllerName: "controllerName" }, usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"formGroup\">\n <mat-checkbox\n color=\"primary\"\n formControlName=\"{{controllerName}}\"\n [id]=\"field.id\"\n [checked]=\"field.value\"\n [(ngModel)]=\"field.value\"\n (ngModelChange)=\"changeValue(field)\"\n >{{field.nameKey | translate}}</mat-checkbox\n >\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
111
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: CheckboxWidgetAnalyticsComponent, isStandalone: true, selector: "analytics-checkbox-widget", inputs: { formGroup: ["group", "formGroup"], controllerName: "controllerName" }, host: { listeners: { "click": "event($event)" } }, usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"formGroup\">\n <mat-checkbox\n color=\"primary\"\n formControlName=\"{{controllerName}}\"\n [id]=\"field.id\"\n [checked]=\"field.value\"\n [(ngModel)]=\"field.value\"\n (ngModelChange)=\"changeValue(field)\"\n >{{field.nameKey | translate}}</mat-checkbox\n >\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
112
112
|
}
|
|
113
113
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CheckboxWidgetAnalyticsComponent, decorators: [{
|
|
114
114
|
type: Component,
|
|
115
|
-
args: [{ selector: 'analytics-checkbox-widget', imports: [CommonModule, TranslatePipe, ReactiveFormsModule, MatCheckboxModule],
|
|
115
|
+
args: [{ selector: 'analytics-checkbox-widget', imports: [CommonModule, TranslatePipe, ReactiveFormsModule, MatCheckboxModule], host: {
|
|
116
|
+
'(click)': 'event($event)'
|
|
117
|
+
}, encapsulation: ViewEncapsulation.None, template: "<div [formGroup]=\"formGroup\">\n <mat-checkbox\n color=\"primary\"\n formControlName=\"{{controllerName}}\"\n [id]=\"field.id\"\n [checked]=\"field.value\"\n [(ngModel)]=\"field.value\"\n (ngModelChange)=\"changeValue(field)\"\n >{{field.nameKey | translate}}</mat-checkbox\n >\n</div>\n" }]
|
|
116
118
|
}], propDecorators: { formGroup: [{
|
|
117
119
|
type: Input,
|
|
118
120
|
args: ['group']
|
|
@@ -283,11 +285,13 @@ class DropdownWidgetAnalyticsComponent extends WidgetComponent {
|
|
|
283
285
|
return validatorList;
|
|
284
286
|
}
|
|
285
287
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: DropdownWidgetAnalyticsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
286
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: DropdownWidgetAnalyticsComponent, isStandalone: true, selector: "analytics-dropdown-widget", inputs: { formGroup: ["group", "formGroup"], controllerName: "controllerName", showDefaultOption: "showDefaultOption", required: "required", defaultOptionText: "defaultOptionText" }, usesInheritance: true, ngImport: i0, template: "<div class=\"adf-dropdown-widget\" [formGroup]=\"formGroup\">\n <label class=\"adf-dropdown-widget__label\" [attr.for]=\"field.id\">{{field.nameKey | translate}}</label>\n <select\n [formControlName]=\"controllerName\"\n [attr.id]=\"'select-' + field.id\"\n class=\"adf-dropdown-widget__select\"\n [(ngModel)]=\"field.value\"\n (ngModelChange)=\"changeValue($event)\"\n >\n <option *ngIf=\"showDefaultOption\" value=\"null\">{{defaultOptionText}}</option>\n <option *ngFor=\"let opt of field.options\" [value]=\"opt.id\">{{opt.label}}</option>\n </select>\n</div>\n", styles: [".adf-dropdown-widget,.adf-dropdown-widget__select{width:100%}.adf-dropdown-widget__invalid .adf-dropdown-widget__select{border-color:var(--theme-warn-color)}.adf-dropdown-widget__invalid .adf-dropdown-widget__label{color:var(--theme-warn-color)}.adf-dropdown-widget__invalid .adf-dropdown-widget__label:after{background-color:var(--theme-warn-color)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
288
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: DropdownWidgetAnalyticsComponent, isStandalone: true, selector: "analytics-dropdown-widget", inputs: { formGroup: ["group", "formGroup"], controllerName: "controllerName", showDefaultOption: "showDefaultOption", required: "required", defaultOptionText: "defaultOptionText" }, host: { listeners: { "click": "event($event)" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"adf-dropdown-widget\" [formGroup]=\"formGroup\">\n <label class=\"adf-dropdown-widget__label\" [attr.for]=\"field.id\">{{field.nameKey | translate}}</label>\n <select\n [formControlName]=\"controllerName\"\n [attr.id]=\"'select-' + field.id\"\n class=\"adf-dropdown-widget__select\"\n [(ngModel)]=\"field.value\"\n (ngModelChange)=\"changeValue($event)\"\n >\n <option *ngIf=\"showDefaultOption\" value=\"null\">{{defaultOptionText}}</option>\n <option *ngFor=\"let opt of field.options\" [value]=\"opt.id\">{{opt.label}}</option>\n </select>\n</div>\n", styles: [".adf-dropdown-widget,.adf-dropdown-widget__select{width:100%}.adf-dropdown-widget__invalid .adf-dropdown-widget__select{border-color:var(--theme-warn-color)}.adf-dropdown-widget__invalid .adf-dropdown-widget__label{color:var(--theme-warn-color)}.adf-dropdown-widget__invalid .adf-dropdown-widget__label:after{background-color:var(--theme-warn-color)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
287
289
|
}
|
|
288
290
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: DropdownWidgetAnalyticsComponent, decorators: [{
|
|
289
291
|
type: Component,
|
|
290
|
-
args: [{ selector: 'analytics-dropdown-widget', imports: [CommonModule, TranslatePipe, ReactiveFormsModule],
|
|
292
|
+
args: [{ selector: 'analytics-dropdown-widget', imports: [CommonModule, TranslatePipe, ReactiveFormsModule], host: {
|
|
293
|
+
'(click)': 'event($event)'
|
|
294
|
+
}, encapsulation: ViewEncapsulation.None, template: "<div class=\"adf-dropdown-widget\" [formGroup]=\"formGroup\">\n <label class=\"adf-dropdown-widget__label\" [attr.for]=\"field.id\">{{field.nameKey | translate}}</label>\n <select\n [formControlName]=\"controllerName\"\n [attr.id]=\"'select-' + field.id\"\n class=\"adf-dropdown-widget__select\"\n [(ngModel)]=\"field.value\"\n (ngModelChange)=\"changeValue($event)\"\n >\n <option *ngIf=\"showDefaultOption\" value=\"null\">{{defaultOptionText}}</option>\n <option *ngFor=\"let opt of field.options\" [value]=\"opt.id\">{{opt.label}}</option>\n </select>\n</div>\n", styles: [".adf-dropdown-widget,.adf-dropdown-widget__select{width:100%}.adf-dropdown-widget__invalid .adf-dropdown-widget__select{border-color:var(--theme-warn-color)}.adf-dropdown-widget__invalid .adf-dropdown-widget__label{color:var(--theme-warn-color)}.adf-dropdown-widget__invalid .adf-dropdown-widget__label:after{background-color:var(--theme-warn-color)}\n"] }]
|
|
291
295
|
}], propDecorators: { formGroup: [{
|
|
292
296
|
type: Input,
|
|
293
297
|
args: ['group']
|
|
@@ -358,11 +362,13 @@ class NumberWidgetAnalyticsComponent extends WidgetComponent {
|
|
|
358
362
|
}
|
|
359
363
|
}
|
|
360
364
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: NumberWidgetAnalyticsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
361
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: NumberWidgetAnalyticsComponent, isStandalone: true, selector: "analytics-number-widget", inputs: { formGroup: ["group", "formGroup"], controllerName: "controllerName", required: "required" }, usesInheritance: true, ngImport: i0, template: "<div class=\"adf-number-widget\" [formGroup]=\"formGroup\">\n <mat-form-field class=\"example-full-width\" [floatLabel]=\"'always'\">\n <input matInput\n placeholder=\"{{field.nameKey | translate}}\"\n formControlName=\"{{controllerName}}\"\n type=\"text\"\n pattern=\"-?[0-9]*(\\.[0-9]+)?\"\n [id]=\"field.id\"\n [value]=\"field.value\"\n [(ngModel)]=\"field.value\"\n (ngModelChange)=\"changeValue(field)\">\n </mat-form-field>\n</div>\n", styles: [".adf-number-widget,.adf-number-widget .example-full-width{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
365
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: NumberWidgetAnalyticsComponent, isStandalone: true, selector: "analytics-number-widget", inputs: { formGroup: ["group", "formGroup"], controllerName: "controllerName", required: "required" }, host: { listeners: { "click": "event($event)" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"adf-number-widget\" [formGroup]=\"formGroup\">\n <mat-form-field class=\"example-full-width\" [floatLabel]=\"'always'\">\n <input matInput\n placeholder=\"{{field.nameKey | translate}}\"\n formControlName=\"{{controllerName}}\"\n type=\"text\"\n pattern=\"-?[0-9]*(\\.[0-9]+)?\"\n [id]=\"field.id\"\n [value]=\"field.value\"\n [(ngModel)]=\"field.value\"\n (ngModelChange)=\"changeValue(field)\">\n </mat-form-field>\n</div>\n", styles: [".adf-number-widget,.adf-number-widget .example-full-width{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
362
366
|
}
|
|
363
367
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: NumberWidgetAnalyticsComponent, decorators: [{
|
|
364
368
|
type: Component,
|
|
365
|
-
args: [{ selector: 'analytics-number-widget', imports: [CommonModule, TranslatePipe, ReactiveFormsModule, MatFormFieldModule, MatInputModule],
|
|
369
|
+
args: [{ selector: 'analytics-number-widget', imports: [CommonModule, TranslatePipe, ReactiveFormsModule, MatFormFieldModule, MatInputModule], host: {
|
|
370
|
+
'(click)': 'event($event)'
|
|
371
|
+
}, encapsulation: ViewEncapsulation.None, template: "<div class=\"adf-number-widget\" [formGroup]=\"formGroup\">\n <mat-form-field class=\"example-full-width\" [floatLabel]=\"'always'\">\n <input matInput\n placeholder=\"{{field.nameKey | translate}}\"\n formControlName=\"{{controllerName}}\"\n type=\"text\"\n pattern=\"-?[0-9]*(\\.[0-9]+)?\"\n [id]=\"field.id\"\n [value]=\"field.value\"\n [(ngModel)]=\"field.value\"\n (ngModelChange)=\"changeValue(field)\">\n </mat-form-field>\n</div>\n", styles: [".adf-number-widget,.adf-number-widget .example-full-width{width:100%}\n"] }]
|
|
366
372
|
}], propDecorators: { formGroup: [{
|
|
367
373
|
type: Input,
|
|
368
374
|
args: ['group']
|