@haiilo/catalyst-angular 10.30.2 → 10.31.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/esm2020/lib/catalyst.module.mjs +10 -5
- package/esm2020/lib/dialog/dialog-header.component.mjs +1 -1
- package/esm2020/lib/dialog/dialog.service.mjs +18 -6
- package/esm2020/lib/directives/proxies.mjs +25 -25
- package/esm2020/lib/tooltip/tooltip.directive.mjs +28 -0
- package/esm2020/public-api.mjs +3 -2
- package/fesm2015/haiilo-catalyst-angular.mjs +78 -35
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +75 -34
- package/fesm2020/haiilo-catalyst-angular.mjs.map +1 -1
- package/lib/catalyst.module.d.ts +4 -3
- package/lib/dialog/dialog.service.d.ts +14 -2
- package/lib/directives/proxies.d.ts +8 -8
- package/lib/tooltip/tooltip.directive.d.ts +14 -0
- package/package.json +3 -3
- package/public-api.d.ts +2 -1
package/esm2020/public-api.mjs
CHANGED
|
@@ -4,7 +4,7 @@ export * from './lib/datetime/datetime.component';
|
|
|
4
4
|
export { CatDialogActionsComponent } from './lib/dialog/dialog-actions.component';
|
|
5
5
|
export { CatDialogHeaderComponent } from './lib/dialog/dialog-header.component';
|
|
6
6
|
export { CatDialogComponent } from './lib/dialog/dialog.component';
|
|
7
|
-
export { CatDialogService } from './lib/dialog/dialog.service';
|
|
7
|
+
export { CatDialogService, CAT_DIALOG_SIZE_TOKEN } from './lib/dialog/dialog.service';
|
|
8
8
|
export * from './lib/directives/boolean-value-accessor';
|
|
9
9
|
export * from './lib/directives/date-value-accessor';
|
|
10
10
|
export * from './lib/directives/proxies';
|
|
@@ -15,4 +15,5 @@ export * from './lib/directives/text-value-accessor';
|
|
|
15
15
|
export * from './lib/directives/time-value-accessor';
|
|
16
16
|
export * from './lib/directives/value-accessor';
|
|
17
17
|
export * from './lib/directives/value-accessor-decorator';
|
|
18
|
-
|
|
18
|
+
export { CatTooltipDirective } from './lib/tooltip/tooltip.directive';
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2NhdGFseXN0L3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQ2xGLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLHNDQUFzQyxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ25FLE9BQU8sRUFBbUIsZ0JBQWdCLEVBQUUscUJBQXFCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUN2RyxjQUFjLHlDQUF5QyxDQUFDO0FBQ3hELGNBQWMsc0NBQXNDLENBQUM7QUFDckQsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsd0NBQXdDLENBQUM7QUFDdkQsY0FBYyxrREFBa0QsQ0FBQztBQUNqRSxjQUFjLHNDQUFzQyxDQUFDO0FBQ3JELGNBQWMsc0NBQXNDLENBQUM7QUFDckQsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLDJDQUEyQyxDQUFDO0FBQzFELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvaW5qZWN0aW9uLXRva2VuJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NhdGFseXN0Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9kYXRldGltZS9kYXRldGltZS5jb21wb25lbnQnO1xuZXhwb3J0IHsgQ2F0RGlhbG9nQWN0aW9uc0NvbXBvbmVudCB9IGZyb20gJy4vbGliL2RpYWxvZy9kaWFsb2ctYWN0aW9ucy5jb21wb25lbnQnO1xuZXhwb3J0IHsgQ2F0RGlhbG9nSGVhZGVyQ29tcG9uZW50IH0gZnJvbSAnLi9saWIvZGlhbG9nL2RpYWxvZy1oZWFkZXIuY29tcG9uZW50JztcbmV4cG9ydCB7IENhdERpYWxvZ0NvbXBvbmVudCB9IGZyb20gJy4vbGliL2RpYWxvZy9kaWFsb2cuY29tcG9uZW50JztcbmV4cG9ydCB7IENhdERpYWxvZ0NvbmZpZywgQ2F0RGlhbG9nU2VydmljZSwgQ0FUX0RJQUxPR19TSVpFX1RPS0VOIH0gZnJvbSAnLi9saWIvZGlhbG9nL2RpYWxvZy5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RpcmVjdGl2ZXMvYm9vbGVhbi12YWx1ZS1hY2Nlc3Nvcic7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9kaXJlY3RpdmVzL2RhdGUtdmFsdWUtYWNjZXNzb3InO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcy9wcm94aWVzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RpcmVjdGl2ZXMvcmFkaW8tdmFsdWUtYWNjZXNzb3InO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcy9zZWxlY3QtdmFsdWUtYWNjZXNzb3InO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcy9zZWxlY3QtdmFsdWUtYWNjZXNzb3ItZGVjb3JhdG9yJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RpcmVjdGl2ZXMvdGV4dC12YWx1ZS1hY2Nlc3Nvcic7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9kaXJlY3RpdmVzL3RpbWUtdmFsdWUtYWNjZXNzb3InO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcy92YWx1ZS1hY2Nlc3Nvcic7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9kaXJlY3RpdmVzL3ZhbHVlLWFjY2Vzc29yLWRlY29yYXRvcic7XG5leHBvcnQgeyBDYXRUb29sdGlwRGlyZWN0aXZlIH0gZnJvbSAnLi9saWIvdG9vbHRpcC90b29sdGlwLmRpcmVjdGl2ZSc7XG4iXX0=
|
|
@@ -530,10 +530,10 @@ let CatButton = class CatButton {
|
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
532
|
CatButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
533
|
-
CatButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatButton, selector: "cat-button", inputs: { a11yCurrent: "a11yCurrent", a11yLabel: "a11yLabel", active: "active", buttonGroupPosition: "buttonGroupPosition", buttonId: "buttonId", color: "color", disabled: "disabled", icon: "icon", iconOnly: "iconOnly", iconRight: "iconRight", loading: "loading", name: "name", nativeAttributes: "nativeAttributes", nativeContentAttributes: "nativeContentAttributes", noEllipsis: "noEllipsis", round: "round", size: "size", submit: "submit", url: "url", urlTarget: "urlTarget", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
533
|
+
CatButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatButton, selector: "cat-button", inputs: { a11yCurrent: "a11yCurrent", a11yLabel: "a11yLabel", active: "active", buttonGroupPosition: "buttonGroupPosition", buttonId: "buttonId", color: "color", disabled: "disabled", icon: "icon", iconOnly: "iconOnly", iconRight: "iconRight", loading: "loading", name: "name", nativeAttributes: "nativeAttributes", nativeContentAttributes: "nativeContentAttributes", noEllipsis: "noEllipsis", round: "round", size: "size", submit: "submit", testId: "testId", url: "url", urlTarget: "urlTarget", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
534
534
|
CatButton = __decorate([
|
|
535
535
|
ProxyCmp({
|
|
536
|
-
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonGroupPosition', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'loading', 'name', 'nativeAttributes', 'nativeContentAttributes', 'noEllipsis', 'round', 'size', 'submit', 'url', 'urlTarget', 'value', 'variant'],
|
|
536
|
+
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonGroupPosition', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'loading', 'name', 'nativeAttributes', 'nativeContentAttributes', 'noEllipsis', 'round', 'size', 'submit', 'testId', 'url', 'urlTarget', 'value', 'variant'],
|
|
537
537
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
538
538
|
})
|
|
539
539
|
], CatButton);
|
|
@@ -544,7 +544,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
544
544
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
545
545
|
template: '<ng-content></ng-content>',
|
|
546
546
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
547
|
-
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonGroupPosition', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'loading', 'name', 'nativeAttributes', 'nativeContentAttributes', 'noEllipsis', 'round', 'size', 'submit', 'url', 'urlTarget', 'value', 'variant'],
|
|
547
|
+
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonGroupPosition', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'loading', 'name', 'nativeAttributes', 'nativeContentAttributes', 'noEllipsis', 'round', 'size', 'submit', 'testId', 'url', 'urlTarget', 'value', 'variant'],
|
|
548
548
|
}]
|
|
549
549
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
550
550
|
let CatButtonGroup = class CatButtonGroup {
|
|
@@ -603,10 +603,10 @@ let CatCheckbox = class CatCheckbox {
|
|
|
603
603
|
}
|
|
604
604
|
};
|
|
605
605
|
CatCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
606
|
-
CatCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatCheckbox, selector: "cat-checkbox", inputs: { alignment: "alignment", checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", indeterminate: "indeterminate", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", noValue: "noValue", required: "required", requiredMarker: "requiredMarker", resolvedValue: "resolvedValue", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
606
|
+
CatCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatCheckbox, selector: "cat-checkbox", inputs: { alignment: "alignment", checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", indeterminate: "indeterminate", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", noValue: "noValue", required: "required", requiredMarker: "requiredMarker", resolvedValue: "resolvedValue", testId: "testId", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
607
607
|
CatCheckbox = __decorate([
|
|
608
608
|
ProxyCmp({
|
|
609
|
-
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'requiredMarker', 'resolvedValue', 'value'],
|
|
609
|
+
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'requiredMarker', 'resolvedValue', 'testId', 'value'],
|
|
610
610
|
methods: ['doFocus', 'doBlur']
|
|
611
611
|
})
|
|
612
612
|
], CatCheckbox);
|
|
@@ -617,7 +617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
617
617
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
618
618
|
template: '<ng-content></ng-content>',
|
|
619
619
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
620
|
-
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'requiredMarker', 'resolvedValue', 'value'],
|
|
620
|
+
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'requiredMarker', 'resolvedValue', 'testId', 'value'],
|
|
621
621
|
}]
|
|
622
622
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
623
623
|
let CatDate = class CatDate {
|
|
@@ -806,10 +806,10 @@ let CatInput = class CatInput {
|
|
|
806
806
|
}
|
|
807
807
|
};
|
|
808
808
|
CatInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
809
|
-
CatInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatInput, selector: "cat-input", inputs: { autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", loading: "loading", max: "max", maxLength: "maxLength", min: "min", minLength: "minLength", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", round: "round", textPrefix: "textPrefix", textSuffix: "textSuffix", togglePassword: "togglePassword", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
809
|
+
CatInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatInput, selector: "cat-input", inputs: { autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", loading: "loading", max: "max", maxLength: "maxLength", min: "min", minLength: "minLength", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", round: "round", testId: "testId", textPrefix: "textPrefix", textSuffix: "textSuffix", togglePassword: "togglePassword", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
810
810
|
CatInput = __decorate([
|
|
811
811
|
ProxyCmp({
|
|
812
|
-
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'loading', 'max', 'maxLength', 'min', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'round', 'textPrefix', 'textSuffix', 'togglePassword', 'type', 'value'],
|
|
812
|
+
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'loading', 'max', 'maxLength', 'min', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'round', 'testId', 'textPrefix', 'textSuffix', 'togglePassword', 'type', 'value'],
|
|
813
813
|
methods: ['doFocus', 'doBlur', 'clear', 'mask']
|
|
814
814
|
})
|
|
815
815
|
], CatInput);
|
|
@@ -820,7 +820,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
820
820
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
821
821
|
template: '<ng-content></ng-content>',
|
|
822
822
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
823
|
-
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'loading', 'max', 'maxLength', 'min', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'round', 'textPrefix', 'textSuffix', 'togglePassword', 'type', 'value'],
|
|
823
|
+
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'loading', 'max', 'maxLength', 'min', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'round', 'testId', 'textPrefix', 'textSuffix', 'togglePassword', 'type', 'value'],
|
|
824
824
|
}]
|
|
825
825
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
826
826
|
let CatPagination = class CatPagination {
|
|
@@ -857,10 +857,10 @@ let CatRadio = class CatRadio {
|
|
|
857
857
|
}
|
|
858
858
|
};
|
|
859
859
|
CatRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
860
|
-
CatRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatRadio, selector: "cat-radio", inputs: { alignment: "alignment", checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
860
|
+
CatRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatRadio, selector: "cat-radio", inputs: { alignment: "alignment", checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", required: "required", testId: "testId", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
861
861
|
CatRadio = __decorate([
|
|
862
862
|
ProxyCmp({
|
|
863
|
-
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
863
|
+
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'testId', 'value'],
|
|
864
864
|
methods: ['doFocus', 'doBlur']
|
|
865
865
|
})
|
|
866
866
|
], CatRadio);
|
|
@@ -871,7 +871,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
871
871
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
872
872
|
template: '<ng-content></ng-content>',
|
|
873
873
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
874
|
-
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
874
|
+
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'testId', 'value'],
|
|
875
875
|
}]
|
|
876
876
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
877
877
|
let CatRadioGroup = class CatRadioGroup {
|
|
@@ -933,10 +933,10 @@ let CatSelect = class CatSelect {
|
|
|
933
933
|
}
|
|
934
934
|
};
|
|
935
935
|
CatSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
936
|
-
CatSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatSelect, selector: "cat-select", inputs: { clearable: "clearable", debounce: "debounce", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", identifier: "identifier", label: "label", labelHidden: "labelHidden", multiple: "multiple", name: "name", nativeAttributes: "nativeAttributes", noItems: "noItems", placeholder: "placeholder", placement: "placement", required: "required", requiredMarker: "requiredMarker", tagHint: "tagHint", tags: "tags", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
936
|
+
CatSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatSelect, selector: "cat-select", inputs: { clearable: "clearable", debounce: "debounce", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", identifier: "identifier", label: "label", labelHidden: "labelHidden", multiple: "multiple", name: "name", nativeAttributes: "nativeAttributes", noItems: "noItems", placeholder: "placeholder", placement: "placement", required: "required", requiredMarker: "requiredMarker", tagHint: "tagHint", tags: "tags", testId: "testId", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
937
937
|
CatSelect = __decorate([
|
|
938
938
|
ProxyCmp({
|
|
939
|
-
inputs: ['clearable', 'debounce', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'nativeAttributes', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'tagHint', 'tags', 'value'],
|
|
939
|
+
inputs: ['clearable', 'debounce', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'nativeAttributes', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'tagHint', 'tags', 'testId', 'value'],
|
|
940
940
|
methods: ['doFocus', 'doBlur', 'clear', 'connect']
|
|
941
941
|
})
|
|
942
942
|
], CatSelect);
|
|
@@ -947,7 +947,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
947
947
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
948
948
|
template: '<ng-content></ng-content>',
|
|
949
949
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
950
|
-
inputs: ['clearable', 'debounce', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'nativeAttributes', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'tagHint', 'tags', 'value'],
|
|
950
|
+
inputs: ['clearable', 'debounce', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'nativeAttributes', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'tagHint', 'tags', 'testId', 'value'],
|
|
951
951
|
}]
|
|
952
952
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
953
953
|
let CatSelectDemo = class CatSelectDemo {
|
|
@@ -1080,10 +1080,10 @@ let CatTag = class CatTag {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
};
|
|
1082
1082
|
CatTag.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTag, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1083
|
-
CatTag.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTag, selector: "cat-tag", inputs: { addOnBlur: "addOnBlur", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", required: "required", requiredMarker: "requiredMarker", tagCreationChars: "tagCreationChars", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1083
|
+
CatTag.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTag, selector: "cat-tag", inputs: { addOnBlur: "addOnBlur", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", required: "required", requiredMarker: "requiredMarker", tagCreationChars: "tagCreationChars", testId: "testId", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1084
1084
|
CatTag = __decorate([
|
|
1085
1085
|
ProxyCmp({
|
|
1086
|
-
inputs: ['addOnBlur', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'identifier', 'label', 'labelHidden', 'name', 'nativeAttributes', 'placeholder', 'required', 'requiredMarker', 'tagCreationChars', 'value']
|
|
1086
|
+
inputs: ['addOnBlur', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'identifier', 'label', 'labelHidden', 'name', 'nativeAttributes', 'placeholder', 'required', 'requiredMarker', 'tagCreationChars', 'testId', 'value']
|
|
1087
1087
|
})
|
|
1088
1088
|
], CatTag);
|
|
1089
1089
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTag, decorators: [{
|
|
@@ -1093,7 +1093,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1093
1093
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1094
1094
|
template: '<ng-content></ng-content>',
|
|
1095
1095
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1096
|
-
inputs: ['addOnBlur', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'identifier', 'label', 'labelHidden', 'name', 'nativeAttributes', 'placeholder', 'required', 'requiredMarker', 'tagCreationChars', 'value'],
|
|
1096
|
+
inputs: ['addOnBlur', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'identifier', 'label', 'labelHidden', 'name', 'nativeAttributes', 'placeholder', 'required', 'requiredMarker', 'tagCreationChars', 'testId', 'value'],
|
|
1097
1097
|
}]
|
|
1098
1098
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1099
1099
|
let CatTextarea = class CatTextarea {
|
|
@@ -1105,10 +1105,10 @@ let CatTextarea = class CatTextarea {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
};
|
|
1107
1107
|
CatTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1108
|
-
CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTextarea, selector: "cat-textarea", inputs: { autoComplete: "autoComplete", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", identifier: "identifier", label: "label", labelHidden: "labelHidden", maxLength: "maxLength", minLength: "minLength", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", rows: "rows", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1108
|
+
CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTextarea, selector: "cat-textarea", inputs: { autoComplete: "autoComplete", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", identifier: "identifier", label: "label", labelHidden: "labelHidden", maxLength: "maxLength", minLength: "minLength", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", rows: "rows", testId: "testId", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1109
1109
|
CatTextarea = __decorate([
|
|
1110
1110
|
ProxyCmp({
|
|
1111
|
-
inputs: ['autoComplete', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value'],
|
|
1111
|
+
inputs: ['autoComplete', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'testId', 'value'],
|
|
1112
1112
|
methods: ['doFocus', 'doBlur', 'clear']
|
|
1113
1113
|
})
|
|
1114
1114
|
], CatTextarea);
|
|
@@ -1119,7 +1119,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1119
1119
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1120
1120
|
template: '<ng-content></ng-content>',
|
|
1121
1121
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1122
|
-
inputs: ['autoComplete', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value'],
|
|
1122
|
+
inputs: ['autoComplete', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'testId', 'value'],
|
|
1123
1123
|
}]
|
|
1124
1124
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1125
1125
|
let CatTime = class CatTime {
|
|
@@ -1157,10 +1157,10 @@ let CatToggle = class CatToggle {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
};
|
|
1159
1159
|
CatToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1160
|
-
CatToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatToggle, selector: "cat-toggle", inputs: { alignment: "alignment", checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", noValue: "noValue", required: "required", resolvedValue: "resolvedValue", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1160
|
+
CatToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatToggle, selector: "cat-toggle", inputs: { alignment: "alignment", checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", noValue: "noValue", required: "required", resolvedValue: "resolvedValue", testId: "testId", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1161
1161
|
CatToggle = __decorate([
|
|
1162
1162
|
ProxyCmp({
|
|
1163
|
-
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'resolvedValue', 'value'],
|
|
1163
|
+
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'resolvedValue', 'testId', 'value'],
|
|
1164
1164
|
methods: ['doFocus', 'doBlur']
|
|
1165
1165
|
})
|
|
1166
1166
|
], CatToggle);
|
|
@@ -1171,7 +1171,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1171
1171
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1172
1172
|
template: '<ng-content></ng-content>',
|
|
1173
1173
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1174
|
-
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'resolvedValue', 'value'],
|
|
1174
|
+
inputs: ['alignment', 'checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'resolvedValue', 'testId', 'value'],
|
|
1175
1175
|
}]
|
|
1176
1176
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1177
1177
|
let CatTooltip = class CatTooltip {
|
|
@@ -1217,7 +1217,7 @@ class CatDialogHeaderComponent {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
}
|
|
1219
1219
|
CatDialogHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogHeaderComponent, deps: [{ token: CAT_I18N_REGISTRY_TOKEN }], target: i0.ɵɵFactoryTarget.Component });
|
|
1220
|
-
CatDialogHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDialogHeaderComponent, selector: "cat-dialog-header", inputs: { headline: "headline", subline: "subline", closable: "closable" }, outputs: { close: "close" }, host: { classAttribute: "cat-dialog-header" }, ngImport: i0, template: "<div class=\"cat-dialog-header-content\" *ngIf=\"headline || subline\">\n <h3 class=\"cat-h5 cat-m-0\" *ngIf=\"headline\">{{ headline }}</h3>\n <h4 class=\"cat-h6 cat-m-0\" *ngIf=\"subline\">{{ subline }}</h4>\n</div>\n<ng-content></ng-content>\n<cat-button\n *ngIf=\"closable\"\n class=\"cat-dialog-close cat-button-pull\"\n variant=\"text\"\n size=\"s\"\n icon=\"$cat:dialog-close\"\n [iconOnly]=\"true\"\n [a11yLabel]=\"closeTxt\"\n (click)=\"close.emit()\"\n></cat-button>\n", styles: [".cat-dialog-close{margin-left:auto;align-self:start}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CatButton, selector: "cat-button", inputs: ["a11yCurrent", "a11yLabel", "active", "buttonGroupPosition", "buttonId", "color", "disabled", "icon", "iconOnly", "iconRight", "loading", "name", "nativeAttributes", "nativeContentAttributes", "noEllipsis", "round", "size", "submit", "url", "urlTarget", "value", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1220
|
+
CatDialogHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDialogHeaderComponent, selector: "cat-dialog-header", inputs: { headline: "headline", subline: "subline", closable: "closable" }, outputs: { close: "close" }, host: { classAttribute: "cat-dialog-header" }, ngImport: i0, template: "<div class=\"cat-dialog-header-content\" *ngIf=\"headline || subline\">\n <h3 class=\"cat-h5 cat-m-0\" *ngIf=\"headline\">{{ headline }}</h3>\n <h4 class=\"cat-h6 cat-m-0\" *ngIf=\"subline\">{{ subline }}</h4>\n</div>\n<ng-content></ng-content>\n<cat-button\n *ngIf=\"closable\"\n class=\"cat-dialog-close cat-button-pull\"\n variant=\"text\"\n size=\"s\"\n icon=\"$cat:dialog-close\"\n [iconOnly]=\"true\"\n [a11yLabel]=\"closeTxt\"\n (click)=\"close.emit()\"\n></cat-button>\n", styles: [".cat-dialog-close{margin-left:auto;align-self:start}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CatButton, selector: "cat-button", inputs: ["a11yCurrent", "a11yLabel", "active", "buttonGroupPosition", "buttonId", "color", "disabled", "icon", "iconOnly", "iconRight", "loading", "name", "nativeAttributes", "nativeContentAttributes", "noEllipsis", "round", "size", "submit", "testId", "url", "urlTarget", "value", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1221
1221
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogHeaderComponent, decorators: [{
|
|
1222
1222
|
type: Component,
|
|
1223
1223
|
args: [{ selector: 'cat-dialog-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
@@ -1497,6 +1497,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1497
1497
|
type: Input
|
|
1498
1498
|
}] } });
|
|
1499
1499
|
|
|
1500
|
+
/**
|
|
1501
|
+
* A directive that can be used to add a Catalyst tooltip to an element.
|
|
1502
|
+
*/
|
|
1503
|
+
class CatTooltipDirective {
|
|
1504
|
+
constructor(templateRef, viewContainer) {
|
|
1505
|
+
this.templateRef = templateRef;
|
|
1506
|
+
this.viewContainer = viewContainer;
|
|
1507
|
+
}
|
|
1508
|
+
ngOnInit() {
|
|
1509
|
+
this.viewContainer.createComponent(CatTooltip, {
|
|
1510
|
+
projectableNodes: [this.viewContainer.createEmbeddedView(this.templateRef).rootNodes]
|
|
1511
|
+
}).instance.content = this.catTooltip;
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
CatTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTooltipDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1515
|
+
CatTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: CatTooltipDirective, selector: "[catTooltip]", inputs: { catTooltip: "catTooltip" }, ngImport: i0 });
|
|
1516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTooltipDirective, decorators: [{
|
|
1517
|
+
type: Directive,
|
|
1518
|
+
args: [{
|
|
1519
|
+
selector: '[catTooltip]'
|
|
1520
|
+
}]
|
|
1521
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { catTooltip: [{
|
|
1522
|
+
type: Input
|
|
1523
|
+
}] } });
|
|
1524
|
+
|
|
1500
1525
|
const CatComponents = [
|
|
1501
1526
|
CatAlert,
|
|
1502
1527
|
CatAvatar,
|
|
@@ -1557,7 +1582,8 @@ CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
1557
1582
|
ValueAccessorDecorator,
|
|
1558
1583
|
DatetimeComponent, CatDialogComponent,
|
|
1559
1584
|
CatDialogHeaderComponent,
|
|
1560
|
-
CatDialogActionsComponent
|
|
1585
|
+
CatDialogActionsComponent,
|
|
1586
|
+
CatTooltipDirective], imports: [CommonModule, DialogModule], exports: [CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDate, CatDateInline, CatDatepicker, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatTime, CatToggle, CatTooltip, CatTag, BooleanValueAccessor,
|
|
1561
1587
|
DateValueAccessor,
|
|
1562
1588
|
RadioValueAccessor,
|
|
1563
1589
|
SelectValueAccessor,
|
|
@@ -1567,7 +1593,8 @@ CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
1567
1593
|
ValueAccessorDecorator,
|
|
1568
1594
|
DatetimeComponent, CatDialogComponent,
|
|
1569
1595
|
CatDialogHeaderComponent,
|
|
1570
|
-
CatDialogActionsComponent
|
|
1596
|
+
CatDialogActionsComponent,
|
|
1597
|
+
CatTooltipDirective] });
|
|
1571
1598
|
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, imports: [CommonModule, DialogModule] });
|
|
1572
1599
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, decorators: [{
|
|
1573
1600
|
type: NgModule,
|
|
@@ -1578,25 +1605,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1578
1605
|
...CatDirectives,
|
|
1579
1606
|
CatDialogComponent,
|
|
1580
1607
|
CatDialogHeaderComponent,
|
|
1581
|
-
CatDialogActionsComponent
|
|
1608
|
+
CatDialogActionsComponent,
|
|
1609
|
+
CatTooltipDirective
|
|
1582
1610
|
],
|
|
1583
1611
|
exports: [
|
|
1584
1612
|
...CatComponents,
|
|
1585
1613
|
...CatDirectives,
|
|
1586
1614
|
CatDialogComponent,
|
|
1587
1615
|
CatDialogHeaderComponent,
|
|
1588
|
-
CatDialogActionsComponent
|
|
1616
|
+
CatDialogActionsComponent,
|
|
1617
|
+
CatTooltipDirective
|
|
1589
1618
|
],
|
|
1590
1619
|
providers: []
|
|
1591
1620
|
}]
|
|
1592
1621
|
}] });
|
|
1593
1622
|
|
|
1623
|
+
/**
|
|
1624
|
+
* Injection token for custom dialog sizes. The map should contain a key-value
|
|
1625
|
+
* pair of size names and their corresponding CSS width values. The key `default`
|
|
1626
|
+
* is used as the default size when no size is specified.
|
|
1627
|
+
*/
|
|
1628
|
+
const CAT_DIALOG_SIZE_TOKEN = new InjectionToken('CatDialogSize');
|
|
1594
1629
|
/**
|
|
1595
1630
|
* A service for managing modal dialogs.
|
|
1596
1631
|
*/
|
|
1597
1632
|
class CatDialogService {
|
|
1598
|
-
constructor(dialog) {
|
|
1633
|
+
constructor(dialog, size) {
|
|
1599
1634
|
this.dialog = dialog;
|
|
1635
|
+
this.size = size;
|
|
1600
1636
|
}
|
|
1601
1637
|
/**
|
|
1602
1638
|
* Opens a modal dialog containing the given component.
|
|
@@ -1616,9 +1652,9 @@ class CatDialogService {
|
|
|
1616
1652
|
* @returns A reference to the just opened dialog.
|
|
1617
1653
|
*/
|
|
1618
1654
|
openWithRef(component, config) {
|
|
1619
|
-
var _a;
|
|
1655
|
+
var _a, _b, _c, _d, _e;
|
|
1620
1656
|
const panelClass = (_a = config === null || config === void 0 ? void 0 : config.panelClass) !== null && _a !== void 0 ? _a : [];
|
|
1621
|
-
return this.dialog.open(component, Object.assign(Object.assign({ backdropClass: 'cat-backdrop',
|
|
1657
|
+
return this.dialog.open(component, Object.assign(Object.assign({ backdropClass: 'cat-backdrop', minWidth: 'clamp(240px, 100vw - 16px, 320px)', minHeight: 'clamp(144px, 100vh - 16px, 160px)', maxHeight: 'calc(100vh - 64px)', maxWidth: 'calc(100vw - 64px)' }, config), { width: (config === null || config === void 0 ? void 0 : config.width) ? ((_c = (_b = this.size) === null || _b === void 0 ? void 0 : _b[config.width]) !== null && _c !== void 0 ? _c : config.width) : ((_e = (_d = this.size) === null || _d === void 0 ? void 0 : _d['default']) !== null && _e !== void 0 ? _e : '600px'), panelClass: ['cat-dialog-pane', ...(Array.isArray(panelClass) ? panelClass : [panelClass])] }));
|
|
1622
1658
|
}
|
|
1623
1659
|
/**
|
|
1624
1660
|
* Closes all open dialogs.
|
|
@@ -1627,18 +1663,25 @@ class CatDialogService {
|
|
|
1627
1663
|
this.dialog.closeAll();
|
|
1628
1664
|
}
|
|
1629
1665
|
}
|
|
1630
|
-
CatDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogService, deps: [{ token: i1$1.Dialog }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1666
|
+
CatDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogService, deps: [{ token: i1$1.Dialog }, { token: CAT_DIALOG_SIZE_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1631
1667
|
CatDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogService, providedIn: 'root' });
|
|
1632
1668
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogService, decorators: [{
|
|
1633
1669
|
type: Injectable,
|
|
1634
1670
|
args: [{
|
|
1635
1671
|
providedIn: 'root'
|
|
1636
1672
|
}]
|
|
1637
|
-
}], ctorParameters: function () {
|
|
1673
|
+
}], ctorParameters: function () {
|
|
1674
|
+
return [{ type: i1$1.Dialog }, { type: undefined, decorators: [{
|
|
1675
|
+
type: Optional
|
|
1676
|
+
}, {
|
|
1677
|
+
type: Inject,
|
|
1678
|
+
args: [CAT_DIALOG_SIZE_TOKEN]
|
|
1679
|
+
}] }];
|
|
1680
|
+
} });
|
|
1638
1681
|
|
|
1639
1682
|
/**
|
|
1640
1683
|
* Generated bundle index. Do not edit.
|
|
1641
1684
|
*/
|
|
1642
1685
|
|
|
1643
|
-
export { BooleanValueAccessor, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDate, CatDateInline, CatDatepicker, CatDatepickerInline, CatDialogActionsComponent, CatDialogComponent, CatDialogHeaderComponent, CatDialogService, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSelectDemo, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTag, CatTextarea, CatTime, CatToggle, CatTooltip, CatalystModule, DateValueAccessor, DatetimeComponent, RadioValueAccessor, SelectValueAccessor, SelectValueAccessorDecorator, TextValueAccessor, TimeValueAccessor, ValueAccessor, ValueAccessorDecorator };
|
|
1686
|
+
export { BooleanValueAccessor, CAT_DIALOG_SIZE_TOKEN, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDate, CatDateInline, CatDatepicker, CatDatepickerInline, CatDialogActionsComponent, CatDialogComponent, CatDialogHeaderComponent, CatDialogService, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSelectDemo, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTag, CatTextarea, CatTime, CatToggle, CatTooltip, CatTooltipDirective, CatalystModule, DateValueAccessor, DatetimeComponent, RadioValueAccessor, SelectValueAccessor, SelectValueAccessorDecorator, TextValueAccessor, TimeValueAccessor, ValueAccessor, ValueAccessorDecorator };
|
|
1644
1687
|
//# sourceMappingURL=haiilo-catalyst-angular.mjs.map
|