@haiilo/catalyst-angular 10.21.3 → 10.22.1
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 +5 -4
- package/esm2020/lib/dialog/dialog.service.mjs +3 -3
- package/esm2020/lib/directives/proxies.mjs +27 -1
- package/esm2020/lib/directives/select-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/value-accessor-decorator.mjs +3 -3
- package/fesm2015/haiilo-catalyst-angular.mjs +35 -9
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +36 -10
- package/fesm2020/haiilo-catalyst-angular.mjs.map +1 -1
- package/lib/catalyst.module.d.ts +1 -1
- package/lib/directives/proxies.d.ts +21 -0
- package/lib/directives/select-value-accessor.d.ts +1 -1
- package/lib/directives/value-accessor-decorator.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1017,6 +1017,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1017
1017
|
inputs: ['activeTab', 'tabsAlign'],
|
|
1018
1018
|
}]
|
|
1019
1019
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1020
|
+
let CatTag = class CatTag {
|
|
1021
|
+
constructor(c, r, z) {
|
|
1022
|
+
this.z = z;
|
|
1023
|
+
c.detach();
|
|
1024
|
+
this.el = r.nativeElement;
|
|
1025
|
+
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
1026
|
+
}
|
|
1027
|
+
};
|
|
1028
|
+
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 });
|
|
1029
|
+
CatTag.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTag, selector: "cat-tag", inputs: { 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 });
|
|
1030
|
+
CatTag = __decorate([
|
|
1031
|
+
ProxyCmp({
|
|
1032
|
+
inputs: ['clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'identifier', 'label', 'labelHidden', 'name', 'nativeAttributes', 'placeholder', 'required', 'requiredMarker', 'tagCreationChars', 'value']
|
|
1033
|
+
})
|
|
1034
|
+
], CatTag);
|
|
1035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTag, decorators: [{
|
|
1036
|
+
type: Component,
|
|
1037
|
+
args: [{
|
|
1038
|
+
selector: 'cat-tag',
|
|
1039
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1040
|
+
template: '<ng-content></ng-content>',
|
|
1041
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1042
|
+
inputs: ['clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'identifier', 'label', 'labelHidden', 'name', 'nativeAttributes', 'placeholder', 'required', 'requiredMarker', 'tagCreationChars', 'value'],
|
|
1043
|
+
}]
|
|
1044
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1020
1045
|
let CatTextarea = class CatTextarea {
|
|
1021
1046
|
constructor(c, r, z) {
|
|
1022
1047
|
this.z = z;
|
|
@@ -1275,7 +1300,7 @@ class SelectValueAccessor extends ValueAccessor {
|
|
|
1275
1300
|
}
|
|
1276
1301
|
}
|
|
1277
1302
|
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1278
|
-
SelectValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: SelectValueAccessor, selector: "cat-select", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
1303
|
+
SelectValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: SelectValueAccessor, selector: "cat-select, cat-tag", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
1279
1304
|
{
|
|
1280
1305
|
provide: NG_VALUE_ACCESSOR,
|
|
1281
1306
|
useExisting: SelectValueAccessor,
|
|
@@ -1286,7 +1311,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1286
1311
|
type: Directive,
|
|
1287
1312
|
args: [{
|
|
1288
1313
|
/* tslint:disable-next-line:directive-selector */
|
|
1289
|
-
selector: 'cat-select',
|
|
1314
|
+
selector: 'cat-select, cat-tag',
|
|
1290
1315
|
host: {
|
|
1291
1316
|
'(catChange)': 'handleChangeEvent($event.target.value)'
|
|
1292
1317
|
},
|
|
@@ -1380,12 +1405,12 @@ class ValueAccessorDecorator {
|
|
|
1380
1405
|
}
|
|
1381
1406
|
}
|
|
1382
1407
|
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 }, { token: i1$2.ControlContainer, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1383
|
-
ValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-datepicker, cat-select, cat-date, cat-time", inputs: { errorInit: "errorInit" }, host: { listeners: { "catBlur": "updateErrors()" } }, ngImport: i0 });
|
|
1408
|
+
ValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-datepicker, cat-select, cat-date, cat-time, cat-tag", inputs: { errorInit: "errorInit" }, host: { listeners: { "catBlur": "updateErrors()" } }, ngImport: i0 });
|
|
1384
1409
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessorDecorator, decorators: [{
|
|
1385
1410
|
type: Directive,
|
|
1386
1411
|
args: [{
|
|
1387
1412
|
/* tslint:disable-next-line:directive-selector */
|
|
1388
|
-
selector: 'cat-input, cat-textarea, cat-datepicker, cat-select, cat-date, cat-time',
|
|
1413
|
+
selector: 'cat-input, cat-textarea, cat-datepicker, cat-select, cat-date, cat-time, cat-tag',
|
|
1389
1414
|
host: {
|
|
1390
1415
|
'(catBlur)': 'updateErrors()'
|
|
1391
1416
|
}
|
|
@@ -1431,7 +1456,8 @@ const CatComponents = [
|
|
|
1431
1456
|
CatTextarea,
|
|
1432
1457
|
CatTime,
|
|
1433
1458
|
CatToggle,
|
|
1434
|
-
CatTooltip
|
|
1459
|
+
CatTooltip,
|
|
1460
|
+
CatTag
|
|
1435
1461
|
];
|
|
1436
1462
|
const CatDirectives = [
|
|
1437
1463
|
BooleanValueAccessor,
|
|
@@ -1453,7 +1479,7 @@ class CatalystModule {
|
|
|
1453
1479
|
}
|
|
1454
1480
|
}
|
|
1455
1481
|
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1456
|
-
CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, declarations: [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, BooleanValueAccessor,
|
|
1482
|
+
CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, declarations: [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,
|
|
1457
1483
|
DateValueAccessor,
|
|
1458
1484
|
RadioValueAccessor,
|
|
1459
1485
|
SelectValueAccessor,
|
|
@@ -1463,7 +1489,7 @@ CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
1463
1489
|
ValueAccessorDecorator,
|
|
1464
1490
|
DatetimeComponent, CatDialogComponent,
|
|
1465
1491
|
CatDialogHeaderComponent,
|
|
1466
|
-
CatDialogActionsComponent], 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, BooleanValueAccessor,
|
|
1492
|
+
CatDialogActionsComponent], 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,
|
|
1467
1493
|
DateValueAccessor,
|
|
1468
1494
|
RadioValueAccessor,
|
|
1469
1495
|
SelectValueAccessor,
|
|
@@ -1525,13 +1551,13 @@ class CatDialogService {
|
|
|
1525
1551
|
const panelClass = config?.panelClass ?? [];
|
|
1526
1552
|
return this.dialog.open(component, {
|
|
1527
1553
|
backdropClass: 'cat-backdrop',
|
|
1528
|
-
panelClass: ['cat-dialog-pane', ...(Array.isArray(panelClass) ? panelClass : [panelClass])],
|
|
1529
1554
|
width: '600px',
|
|
1530
1555
|
minWidth: 'clamp(240px, 100vw - 16px, 320px)',
|
|
1531
1556
|
minHeight: 'clamp(144px, 100vh - 16px, 160px)',
|
|
1532
1557
|
maxHeight: 'calc(100vh - 64px)',
|
|
1533
1558
|
maxWidth: 'calc(100vw - 64px)',
|
|
1534
|
-
...config
|
|
1559
|
+
...config,
|
|
1560
|
+
panelClass: ['cat-dialog-pane', ...(Array.isArray(panelClass) ? panelClass : [panelClass])]
|
|
1535
1561
|
});
|
|
1536
1562
|
}
|
|
1537
1563
|
/**
|
|
@@ -1554,5 +1580,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1554
1580
|
* Generated bundle index. Do not edit.
|
|
1555
1581
|
*/
|
|
1556
1582
|
|
|
1557
|
-
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, CatTextarea, CatTime, CatToggle, CatTooltip, CatalystModule, DateValueAccessor, DatetimeComponent, RadioValueAccessor, SelectValueAccessor, SelectValueAccessorDecorator, TextValueAccessor, TimeValueAccessor, ValueAccessor, ValueAccessorDecorator };
|
|
1583
|
+
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 };
|
|
1558
1584
|
//# sourceMappingURL=haiilo-catalyst-angular.mjs.map
|