@haiilo/catalyst-angular 5.4.0 → 6.0.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 +4 -4
- package/esm2020/lib/directives/boolean-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/proxies.mjs +17 -68
- package/esm2020/lib/directives/text-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/value-accessor-decorator.mjs +3 -3
- package/fesm2015/haiilo-catalyst-angular.mjs +26 -75
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +26 -75
- package/fesm2020/haiilo-catalyst-angular.mjs.map +1 -1
- package/lib/catalyst.module.d.ts +1 -1
- package/lib/directives/proxies.d.ts +15 -45
- package/lib/directives/text-value-accessor.d.ts +1 -1
- package/lib/directives/value-accessor-decorator.d.ts +1 -1
- package/package.json +2 -2
|
@@ -14,16 +14,16 @@ export class ValueAccessorDecorator {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
ValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessorDecorator, deps: [{ token: i0.ElementRef }, { token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
-
ValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-select", ngImport: i0 });
|
|
17
|
+
ValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-datepicker, cat-select", ngImport: i0 });
|
|
18
18
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessorDecorator, decorators: [{
|
|
19
19
|
type: Directive,
|
|
20
20
|
args: [{
|
|
21
21
|
/* tslint:disable-next-line:directive-selector */
|
|
22
|
-
selector: 'cat-input, cat-textarea, cat-select'
|
|
22
|
+
selector: 'cat-input, cat-textarea, cat-datepicker, cat-select'
|
|
23
23
|
}]
|
|
24
24
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.NgControl, decorators: [{
|
|
25
25
|
type: Self
|
|
26
26
|
}, {
|
|
27
27
|
type: Optional
|
|
28
28
|
}] }]; } });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWUtYWNjZXNzb3ItZGVjb3JhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2F0YWx5c3Qvc3JjL2xpYi9kaXJlY3RpdmVzL3ZhbHVlLWFjY2Vzc29yLWRlY29yYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWlCLFNBQVMsRUFBYyxRQUFRLEVBQUUsSUFBSSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFPckYsTUFBTSxPQUFPLHNCQUFzQjtJQUNqQyxZQUE2QixFQUFjLEVBQXVDLGdCQUE0QjtRQUFqRixPQUFFLEdBQUYsRUFBRSxDQUFZO1FBQXVDLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBWTtJQUFHLENBQUM7SUFFbEgsZUFBZTtRQUNiLElBQUksQ0FBQyxnQkFBZ0IsRUFBRSxhQUFhLEVBQUUsU0FBUyxDQUFDLEdBQUcsRUFBRSxDQUFDLElBQUksQ0FBQyxZQUFZLEVBQUUsQ0FBQyxDQUFDO0lBQzdFLENBQUM7SUFFTyxZQUFZO1FBQ2xCLElBQUksQ0FBQyxFQUFFLENBQUMsYUFBYSxDQUFDLE1BQU0sR0FBRyxJQUFJLENBQUMsZ0JBQWdCLEVBQUUsTUFBTSxJQUFJLENBQUMsQ0FBQyxJQUFJLENBQUMsZ0JBQWdCLEVBQUUsT0FBTyxDQUFDO0lBQ25HLENBQUM7O21IQVRVLHNCQUFzQjt1R0FBdEIsc0JBQXNCOzJGQUF0QixzQkFBc0I7a0JBSmxDLFNBQVM7bUJBQUM7b0JBQ1QsaURBQWlEO29CQUNqRCxRQUFRLEVBQUUscURBQXFEO2lCQUNoRTs7MEJBRStDLElBQUk7OzBCQUFJLFFBQVEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBZnRlclZpZXdJbml0LCBEaXJlY3RpdmUsIEVsZW1lbnRSZWYsIE9wdGlvbmFsLCBTZWxmIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBOZ0NvbnRyb2wgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5cbkBEaXJlY3RpdmUoe1xuICAvKiB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6ZGlyZWN0aXZlLXNlbGVjdG9yICovXG4gIHNlbGVjdG9yOiAnY2F0LWlucHV0LCBjYXQtdGV4dGFyZWEsIGNhdC1kYXRlcGlja2VyLCBjYXQtc2VsZWN0J1xufSlcbmV4cG9ydCBjbGFzcyBWYWx1ZUFjY2Vzc29yRGVjb3JhdG9yIGltcGxlbWVudHMgQWZ0ZXJWaWV3SW5pdCB7XG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgcmVhZG9ubHkgZWw6IEVsZW1lbnRSZWYsIEBTZWxmKCkgQE9wdGlvbmFsKCkgcHJpdmF0ZSByZWFkb25seSBjb250cm9sRGlyZWN0aXZlPzogTmdDb250cm9sKSB7fVxuXG4gIG5nQWZ0ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLmNvbnRyb2xEaXJlY3RpdmU/LnN0YXR1c0NoYW5nZXM/LnN1YnNjcmliZSgoKSA9PiB0aGlzLnVwZGF0ZUVycm9ycygpKTtcbiAgfVxuXG4gIHByaXZhdGUgdXBkYXRlRXJyb3JzKCk6IHZvaWQge1xuICAgIHRoaXMuZWwubmF0aXZlRWxlbWVudC5lcnJvcnMgPSB0aGlzLmNvbnRyb2xEaXJlY3RpdmU/LmVycm9ycyB8fCAhIXRoaXMuY29udHJvbERpcmVjdGl2ZT8uaW52YWxpZDtcbiAgfVxufVxuIl19
|
|
@@ -240,11 +240,11 @@ let CatCheckbox = class CatCheckbox {
|
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
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 });
|
|
243
|
-
CatCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatCheckbox, selector: "cat-checkbox", inputs: { checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", indeterminate: "indeterminate", 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 });
|
|
243
|
+
CatCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatCheckbox, selector: "cat-checkbox", inputs: { checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", indeterminate: "indeterminate", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", required: "required", resolvedValue: "resolvedValue", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
244
244
|
CatCheckbox = __decorate([
|
|
245
245
|
ProxyCmp({
|
|
246
|
-
inputs: ['checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
247
|
-
methods: ['doFocus', 'doBlur'
|
|
246
|
+
inputs: ['checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'resolvedValue', 'value'],
|
|
247
|
+
methods: ['doFocus', 'doBlur']
|
|
248
248
|
})
|
|
249
249
|
], CatCheckbox);
|
|
250
250
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCheckbox, decorators: [{
|
|
@@ -254,7 +254,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
254
254
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
255
255
|
template: '<ng-content></ng-content>',
|
|
256
256
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
257
|
-
inputs: ['checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
257
|
+
inputs: ['checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'resolvedValue', 'value'],
|
|
258
258
|
}]
|
|
259
259
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
260
260
|
let CatDatepicker = class CatDatepicker {
|
|
@@ -266,11 +266,11 @@ let CatDatepicker = class CatDatepicker {
|
|
|
266
266
|
}
|
|
267
267
|
};
|
|
268
268
|
CatDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
269
|
-
CatDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDatepicker, selector: "cat-datepicker", inputs: { autoComplete: "autoComplete", clearable: "clearable",
|
|
269
|
+
CatDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDatepicker, selector: "cat-datepicker", 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", max: "max", min: "min", mode: "mode", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", step: "step", textPrefix: "textPrefix", textSuffix: "textSuffix", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
270
270
|
CatDatepicker = __decorate([
|
|
271
271
|
ProxyCmp({
|
|
272
|
-
inputs: ['autoComplete', 'clearable', '
|
|
273
|
-
methods: ['doFocus', 'doBlur'
|
|
272
|
+
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'min', 'mode', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'step', 'textPrefix', 'textSuffix', 'value'],
|
|
273
|
+
methods: ['doFocus', 'doBlur']
|
|
274
274
|
})
|
|
275
275
|
], CatDatepicker);
|
|
276
276
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepicker, decorators: [{
|
|
@@ -280,7 +280,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
280
280
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
281
281
|
template: '<ng-content></ng-content>',
|
|
282
282
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
283
|
-
inputs: ['autoComplete', 'clearable', '
|
|
283
|
+
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'min', 'mode', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'step', 'textPrefix', 'textSuffix', 'value'],
|
|
284
284
|
}]
|
|
285
285
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
286
286
|
let CatDropdown = class CatDropdown {
|
|
@@ -370,7 +370,7 @@ CatInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
|
370
370
|
CatInput = __decorate([
|
|
371
371
|
ProxyCmp({
|
|
372
372
|
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'maxLength', 'min', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'round', 'textPrefix', 'textSuffix', 'type', 'value'],
|
|
373
|
-
methods: ['doFocus', 'doBlur', '
|
|
373
|
+
methods: ['doFocus', 'doBlur', 'clear']
|
|
374
374
|
})
|
|
375
375
|
], CatInput);
|
|
376
376
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatInput, decorators: [{
|
|
@@ -383,30 +383,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
383
383
|
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'maxLength', 'min', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'round', 'textPrefix', 'textSuffix', 'type', 'value'],
|
|
384
384
|
}]
|
|
385
385
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
386
|
-
let CatLabel = class CatLabel {
|
|
387
|
-
constructor(c, r, z) {
|
|
388
|
-
this.z = z;
|
|
389
|
-
c.detach();
|
|
390
|
-
this.el = r.nativeElement;
|
|
391
|
-
}
|
|
392
|
-
};
|
|
393
|
-
CatLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
394
|
-
CatLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatLabel, selector: "cat-label", inputs: { for: "for", horizontal: "horizontal", required: "required", requiredMarker: "requiredMarker" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
395
|
-
CatLabel = __decorate([
|
|
396
|
-
ProxyCmp({
|
|
397
|
-
inputs: ['for', 'horizontal', 'required', 'requiredMarker']
|
|
398
|
-
})
|
|
399
|
-
], CatLabel);
|
|
400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatLabel, decorators: [{
|
|
401
|
-
type: Component,
|
|
402
|
-
args: [{
|
|
403
|
-
selector: 'cat-label',
|
|
404
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
405
|
-
template: '<ng-content></ng-content>',
|
|
406
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
407
|
-
inputs: ['for', 'horizontal', 'required', 'requiredMarker'],
|
|
408
|
-
}]
|
|
409
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
410
386
|
let CatPagination = class CatPagination {
|
|
411
387
|
constructor(c, r, z) {
|
|
412
388
|
this.z = z;
|
|
@@ -445,7 +421,7 @@ CatRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
|
445
421
|
CatRadio = __decorate([
|
|
446
422
|
ProxyCmp({
|
|
447
423
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
448
|
-
methods: ['doFocus', 'doBlur'
|
|
424
|
+
methods: ['doFocus', 'doBlur']
|
|
449
425
|
})
|
|
450
426
|
], CatRadio);
|
|
451
427
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadio, decorators: [{
|
|
@@ -463,7 +439,7 @@ let CatRadioGroup = class CatRadioGroup {
|
|
|
463
439
|
this.z = z;
|
|
464
440
|
c.detach();
|
|
465
441
|
this.el = r.nativeElement;
|
|
466
|
-
proxyOutputs(this, this.el, ['catChange', 'catBlur']);
|
|
442
|
+
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
467
443
|
}
|
|
468
444
|
};
|
|
469
445
|
CatRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -666,7 +642,7 @@ CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
|
666
642
|
CatTextarea = __decorate([
|
|
667
643
|
ProxyCmp({
|
|
668
644
|
inputs: ['disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value'],
|
|
669
|
-
methods: ['doFocus', 'doBlur', '
|
|
645
|
+
methods: ['doFocus', 'doBlur', 'clear']
|
|
670
646
|
})
|
|
671
647
|
], CatTextarea);
|
|
672
648
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTextarea, decorators: [{
|
|
@@ -679,31 +655,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
679
655
|
inputs: ['disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value'],
|
|
680
656
|
}]
|
|
681
657
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
682
|
-
let CatTimepicker = class CatTimepicker {
|
|
683
|
-
constructor(c, r, z) {
|
|
684
|
-
this.z = z;
|
|
685
|
-
c.detach();
|
|
686
|
-
this.el = r.nativeElement;
|
|
687
|
-
proxyOutputs(this, this.el, ['catOpen', 'catClose', 'catChange', 'catBlur']);
|
|
688
|
-
}
|
|
689
|
-
};
|
|
690
|
-
CatTimepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTimepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
691
|
-
CatTimepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTimepicker, selector: "cat-timepicker", inputs: { clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", hourShort: "hourShort", identifier: "identifier", label: "label", labelHidden: "labelHidden", max: "max", min: "min", minutesStep: "minutesStep", multiple: "multiple", name: "name", nativeAttributes: "nativeAttributes", noItems: "noItems", placeholder: "placeholder", placement: "placement", required: "required", requiredMarker: "requiredMarker", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
692
|
-
CatTimepicker = __decorate([
|
|
693
|
-
ProxyCmp({
|
|
694
|
-
inputs: ['clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'hourShort', 'identifier', 'label', 'labelHidden', 'max', 'min', 'minutesStep', 'multiple', 'name', 'nativeAttributes', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'value']
|
|
695
|
-
})
|
|
696
|
-
], CatTimepicker);
|
|
697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTimepicker, decorators: [{
|
|
698
|
-
type: Component,
|
|
699
|
-
args: [{
|
|
700
|
-
selector: 'cat-timepicker',
|
|
701
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
702
|
-
template: '<ng-content></ng-content>',
|
|
703
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
704
|
-
inputs: ['clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'hourShort', 'identifier', 'label', 'labelHidden', 'max', 'min', 'minutesStep', 'multiple', 'name', 'nativeAttributes', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'value'],
|
|
705
|
-
}]
|
|
706
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
707
658
|
let CatToggle = class CatToggle {
|
|
708
659
|
constructor(c, r, z) {
|
|
709
660
|
this.z = z;
|
|
@@ -713,11 +664,11 @@ let CatToggle = class CatToggle {
|
|
|
713
664
|
}
|
|
714
665
|
};
|
|
715
666
|
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 });
|
|
716
|
-
CatToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatToggle, selector: "cat-toggle", inputs: { 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 });
|
|
667
|
+
CatToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatToggle, selector: "cat-toggle", inputs: { checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", required: "required", resolvedValue: "resolvedValue", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
717
668
|
CatToggle = __decorate([
|
|
718
669
|
ProxyCmp({
|
|
719
|
-
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
720
|
-
methods: ['doFocus', 'doBlur'
|
|
670
|
+
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'resolvedValue', 'value'],
|
|
671
|
+
methods: ['doFocus', 'doBlur']
|
|
721
672
|
})
|
|
722
673
|
], CatToggle);
|
|
723
674
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatToggle, decorators: [{
|
|
@@ -727,7 +678,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
727
678
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
728
679
|
template: '<ng-content></ng-content>',
|
|
729
680
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
730
|
-
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
681
|
+
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'resolvedValue', 'value'],
|
|
731
682
|
}]
|
|
732
683
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
733
684
|
let CatTooltip = class CatTooltip {
|
|
@@ -865,7 +816,7 @@ class BooleanValueAccessor extends ValueAccessor {
|
|
|
865
816
|
}
|
|
866
817
|
}
|
|
867
818
|
BooleanValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BooleanValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
868
|
-
BooleanValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: BooleanValueAccessor, selector: "cat-checkbox, cat-toggle", host: { listeners: { "catChange": "handleChangeEvent($event.target.
|
|
819
|
+
BooleanValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: BooleanValueAccessor, selector: "cat-checkbox, cat-toggle", host: { listeners: { "catChange": "handleChangeEvent($event.target.resolvedValue)" } }, providers: [
|
|
869
820
|
{
|
|
870
821
|
provide: NG_VALUE_ACCESSOR,
|
|
871
822
|
useExisting: BooleanValueAccessor,
|
|
@@ -878,7 +829,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
878
829
|
/* tslint:disable-next-line:directive-selector */
|
|
879
830
|
selector: 'cat-checkbox, cat-toggle',
|
|
880
831
|
host: {
|
|
881
|
-
'(catChange)': 'handleChangeEvent($event.target.
|
|
832
|
+
'(catChange)': 'handleChangeEvent($event.target.resolvedValue)'
|
|
882
833
|
},
|
|
883
834
|
providers: [
|
|
884
835
|
{
|
|
@@ -980,7 +931,7 @@ class TextValueAccessor extends ValueAccessor {
|
|
|
980
931
|
}
|
|
981
932
|
}
|
|
982
933
|
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
983
|
-
TextValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: TextValueAccessor, selector: "cat-input, cat-textarea", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
934
|
+
TextValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: TextValueAccessor, selector: "cat-input, cat-textarea, cat-datepicker", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
984
935
|
{
|
|
985
936
|
provide: NG_VALUE_ACCESSOR,
|
|
986
937
|
useExisting: TextValueAccessor,
|
|
@@ -991,7 +942,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
991
942
|
type: Directive,
|
|
992
943
|
args: [{
|
|
993
944
|
/* tslint:disable-next-line:directive-selector */
|
|
994
|
-
selector: 'cat-input, cat-textarea',
|
|
945
|
+
selector: 'cat-input, cat-textarea, cat-datepicker',
|
|
995
946
|
host: {
|
|
996
947
|
'(catChange)': 'handleChangeEvent($event.target.value)'
|
|
997
948
|
},
|
|
@@ -1020,12 +971,12 @@ class ValueAccessorDecorator {
|
|
|
1020
971
|
}
|
|
1021
972
|
}
|
|
1022
973
|
ValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessorDecorator, deps: [{ token: i0.ElementRef }, { token: i1$2.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1023
|
-
ValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-select", ngImport: i0 });
|
|
974
|
+
ValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-datepicker, cat-select", ngImport: i0 });
|
|
1024
975
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessorDecorator, decorators: [{
|
|
1025
976
|
type: Directive,
|
|
1026
977
|
args: [{
|
|
1027
978
|
/* tslint:disable-next-line:directive-selector */
|
|
1028
|
-
selector: 'cat-input, cat-textarea, cat-select'
|
|
979
|
+
selector: 'cat-input, cat-textarea, cat-datepicker, cat-select'
|
|
1029
980
|
}]
|
|
1030
981
|
}], ctorParameters: function () {
|
|
1031
982
|
return [{ type: i0.ElementRef }, { type: i1$2.NgControl, decorators: [{
|
|
@@ -1043,11 +994,11 @@ const CatComponents = [
|
|
|
1043
994
|
CatButtonGroup,
|
|
1044
995
|
CatCard,
|
|
1045
996
|
CatCheckbox,
|
|
997
|
+
CatDatepicker,
|
|
1046
998
|
CatDropdown,
|
|
1047
999
|
CatFormGroup,
|
|
1048
1000
|
CatIcon,
|
|
1049
1001
|
CatInput,
|
|
1050
|
-
CatLabel,
|
|
1051
1002
|
CatPagination,
|
|
1052
1003
|
CatRadio,
|
|
1053
1004
|
CatRadioGroup,
|
|
@@ -1094,14 +1045,14 @@ class CatalystModule {
|
|
|
1094
1045
|
}
|
|
1095
1046
|
}
|
|
1096
1047
|
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1097
|
-
CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, declarations: [CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDropdown, CatFormGroup, CatIcon, CatInput,
|
|
1048
|
+
CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, declarations: [CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDatepicker, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, BooleanValueAccessor,
|
|
1098
1049
|
RadioValueAccessor,
|
|
1099
1050
|
SelectValueAccessor,
|
|
1100
1051
|
SelectValueAccessorDecorator,
|
|
1101
1052
|
TextValueAccessor,
|
|
1102
1053
|
ValueAccessorDecorator, CatDialogComponent,
|
|
1103
1054
|
CatDialogActionsComponent,
|
|
1104
|
-
CatDialogHeaderComponent], imports: [CommonModule, DialogModule], exports: [CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDropdown, CatFormGroup, CatIcon, CatInput,
|
|
1055
|
+
CatDialogHeaderComponent], imports: [CommonModule, DialogModule], exports: [CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDatepicker, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, BooleanValueAccessor,
|
|
1105
1056
|
RadioValueAccessor,
|
|
1106
1057
|
SelectValueAccessor,
|
|
1107
1058
|
SelectValueAccessorDecorator,
|
|
@@ -1169,5 +1120,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1169
1120
|
* Generated bundle index. Do not edit.
|
|
1170
1121
|
*/
|
|
1171
1122
|
|
|
1172
|
-
export { BooleanValueAccessor, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDatepicker, CatDialogActionsComponent, CatDialogComponent, CatDialogHeaderComponent, CatDialogService, CatDropdown, CatFormGroup, CatIcon, CatInput,
|
|
1123
|
+
export { BooleanValueAccessor, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDatepicker, CatDialogActionsComponent, CatDialogComponent, CatDialogHeaderComponent, CatDialogService, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSelectDemo, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, CatalystModule, RadioValueAccessor, SelectValueAccessor, SelectValueAccessorDecorator, TextValueAccessor, ValueAccessor, ValueAccessorDecorator };
|
|
1173
1124
|
//# sourceMappingURL=haiilo-catalyst-angular.mjs.map
|