@haiilo/catalyst-angular 4.1.2 → 5.0.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 +14 -10
- package/esm2020/lib/directives/angular-component-lib/utils.mjs +6 -8
- package/esm2020/lib/directives/proxies.mjs +59 -59
- package/esm2020/lib/directives/select-value-accessor-decorator.mjs +24 -0
- package/esm2020/public-api.mjs +3 -2
- package/fesm2015/haiilo-catalyst-angular.mjs +98 -75
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +98 -75
- package/fesm2020/haiilo-catalyst-angular.mjs.map +1 -1
- package/lib/catalyst.module.d.ts +12 -11
- package/lib/directives/proxies.d.ts +69 -69
- package/lib/directives/select-value-accessor-decorator.d.ts +14 -0
- package/package.json +2 -2
- package/public-api.d.ts +2 -1
|
@@ -41,20 +41,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
41
41
|
/* eslint-disable */
|
|
42
42
|
const proxyInputs = (Cmp, inputs) => {
|
|
43
43
|
const Prototype = Cmp.prototype;
|
|
44
|
-
inputs.forEach(item => {
|
|
44
|
+
inputs.forEach((item) => {
|
|
45
45
|
Object.defineProperty(Prototype, item, {
|
|
46
46
|
get() {
|
|
47
47
|
return this.el[item];
|
|
48
48
|
},
|
|
49
49
|
set(val) {
|
|
50
50
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
51
|
-
}
|
|
51
|
+
},
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
55
|
const proxyMethods = (Cmp, methods) => {
|
|
56
56
|
const Prototype = Cmp.prototype;
|
|
57
|
-
methods.forEach(methodName => {
|
|
57
|
+
methods.forEach((methodName) => {
|
|
58
58
|
Prototype[methodName] = function () {
|
|
59
59
|
const args = arguments;
|
|
60
60
|
return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
|
|
@@ -62,12 +62,10 @@ const proxyMethods = (Cmp, methods) => {
|
|
|
62
62
|
});
|
|
63
63
|
};
|
|
64
64
|
const proxyOutputs = (instance, el, events) => {
|
|
65
|
-
events.forEach(eventName => instance[eventName] = fromEvent(el, eventName));
|
|
65
|
+
events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));
|
|
66
66
|
};
|
|
67
67
|
const defineCustomElement = (tagName, customElement) => {
|
|
68
|
-
if (customElement !== undefined &&
|
|
69
|
-
typeof customElements !== 'undefined' &&
|
|
70
|
-
!customElements.get(tagName)) {
|
|
68
|
+
if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
|
|
71
69
|
customElements.define(tagName, customElement);
|
|
72
70
|
}
|
|
73
71
|
};
|
|
@@ -100,7 +98,6 @@ CatAlert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
|
100
98
|
CatAlert.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatAlert, selector: "cat-alert", inputs: { color: "color", icon: "icon", noIcon: "noIcon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
101
99
|
CatAlert = __decorate([
|
|
102
100
|
ProxyCmp({
|
|
103
|
-
defineCustomElementFn: undefined,
|
|
104
101
|
inputs: ['color', 'icon', 'noIcon']
|
|
105
102
|
})
|
|
106
103
|
], CatAlert);
|
|
@@ -110,7 +107,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
110
107
|
selector: 'cat-alert',
|
|
111
108
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
112
109
|
template: '<ng-content></ng-content>',
|
|
113
|
-
|
|
110
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
111
|
+
inputs: ['color', 'icon', 'noIcon'],
|
|
114
112
|
}]
|
|
115
113
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
116
114
|
let CatAvatar = class CatAvatar {
|
|
@@ -124,7 +122,6 @@ CatAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2
|
|
|
124
122
|
CatAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatAvatar, selector: "cat-avatar", inputs: { icon: "icon", initials: "initials", label: "label", round: "round", size: "size", src: "src", url: "url", urlTarget: "urlTarget" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
125
123
|
CatAvatar = __decorate([
|
|
126
124
|
ProxyCmp({
|
|
127
|
-
defineCustomElementFn: undefined,
|
|
128
125
|
inputs: ['icon', 'initials', 'label', 'round', 'size', 'src', 'url', 'urlTarget']
|
|
129
126
|
})
|
|
130
127
|
], CatAvatar);
|
|
@@ -134,7 +131,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
134
131
|
selector: 'cat-avatar',
|
|
135
132
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
136
133
|
template: '<ng-content></ng-content>',
|
|
137
|
-
|
|
134
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
135
|
+
inputs: ['icon', 'initials', 'label', 'round', 'size', 'src', 'url', 'urlTarget'],
|
|
138
136
|
}]
|
|
139
137
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
140
138
|
let CatBadge = class CatBadge {
|
|
@@ -148,7 +146,6 @@ CatBadge.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
|
148
146
|
CatBadge.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatBadge, selector: "cat-badge", inputs: { color: "color", pulse: "pulse", round: "round", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
149
147
|
CatBadge = __decorate([
|
|
150
148
|
ProxyCmp({
|
|
151
|
-
defineCustomElementFn: undefined,
|
|
152
149
|
inputs: ['color', 'pulse', 'round', 'size', 'variant']
|
|
153
150
|
})
|
|
154
151
|
], CatBadge);
|
|
@@ -158,7 +155,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
158
155
|
selector: 'cat-badge',
|
|
159
156
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
160
157
|
template: '<ng-content></ng-content>',
|
|
161
|
-
|
|
158
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
159
|
+
inputs: ['color', 'pulse', 'round', 'size', 'variant'],
|
|
162
160
|
}]
|
|
163
161
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
164
162
|
let CatButton = class CatButton {
|
|
@@ -173,7 +171,6 @@ CatButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2
|
|
|
173
171
|
CatButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatButton, selector: "cat-button", inputs: { a11yCurrent: "a11yCurrent", a11yLabel: "a11yLabel", active: "active", buttonId: "buttonId", color: "color", disabled: "disabled", icon: "icon", iconOnly: "iconOnly", iconRight: "iconRight", iconSrc: "iconSrc", loading: "loading", name: "name", nativeAttributes: "nativeAttributes", 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 });
|
|
174
172
|
CatButton = __decorate([
|
|
175
173
|
ProxyCmp({
|
|
176
|
-
defineCustomElementFn: undefined,
|
|
177
174
|
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'iconSrc', 'loading', 'name', 'nativeAttributes', 'noEllipsis', 'round', 'size', 'submit', 'url', 'urlTarget', 'value', 'variant'],
|
|
178
175
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
179
176
|
})
|
|
@@ -184,7 +181,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
184
181
|
selector: 'cat-button',
|
|
185
182
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
186
183
|
template: '<ng-content></ng-content>',
|
|
187
|
-
|
|
184
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
185
|
+
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'iconSrc', 'loading', 'name', 'nativeAttributes', 'noEllipsis', 'round', 'size', 'submit', 'url', 'urlTarget', 'value', 'variant'],
|
|
188
186
|
}]
|
|
189
187
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
190
188
|
let CatCard = class CatCard {
|
|
@@ -197,16 +195,16 @@ let CatCard = class CatCard {
|
|
|
197
195
|
CatCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatCard, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
198
196
|
CatCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatCard, selector: "cat-card", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
199
197
|
CatCard = __decorate([
|
|
200
|
-
ProxyCmp({
|
|
201
|
-
defineCustomElementFn: undefined
|
|
202
|
-
})
|
|
198
|
+
ProxyCmp({})
|
|
203
199
|
], CatCard);
|
|
204
200
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatCard, decorators: [{
|
|
205
201
|
type: Component,
|
|
206
202
|
args: [{
|
|
207
203
|
selector: 'cat-card',
|
|
208
204
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
209
|
-
template: '<ng-content></ng-content>'
|
|
205
|
+
template: '<ng-content></ng-content>',
|
|
206
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
207
|
+
inputs: [],
|
|
210
208
|
}]
|
|
211
209
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
212
210
|
let CatCheckbox = class CatCheckbox {
|
|
@@ -221,7 +219,6 @@ CatCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14
|
|
|
221
219
|
CatCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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 });
|
|
222
220
|
CatCheckbox = __decorate([
|
|
223
221
|
ProxyCmp({
|
|
224
|
-
defineCustomElementFn: undefined,
|
|
225
222
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
226
223
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
227
224
|
})
|
|
@@ -232,7 +229,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
232
229
|
selector: 'cat-checkbox',
|
|
233
230
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
234
231
|
template: '<ng-content></ng-content>',
|
|
235
|
-
|
|
232
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
233
|
+
inputs: ['checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
236
234
|
}]
|
|
237
235
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
238
236
|
let CatDropdown = class CatDropdown {
|
|
@@ -247,7 +245,6 @@ CatDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14
|
|
|
247
245
|
CatDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatDropdown, selector: "cat-dropdown", inputs: { noAutoClose: "noAutoClose", overflow: "overflow", placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
248
246
|
CatDropdown = __decorate([
|
|
249
247
|
ProxyCmp({
|
|
250
|
-
defineCustomElementFn: undefined,
|
|
251
248
|
inputs: ['noAutoClose', 'overflow', 'placement'],
|
|
252
249
|
methods: ['close']
|
|
253
250
|
})
|
|
@@ -258,7 +255,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
258
255
|
selector: 'cat-dropdown',
|
|
259
256
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
260
257
|
template: '<ng-content></ng-content>',
|
|
261
|
-
|
|
258
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
259
|
+
inputs: ['noAutoClose', 'overflow', 'placement'],
|
|
262
260
|
}]
|
|
263
261
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
264
262
|
let CatFormGroup = class CatFormGroup {
|
|
@@ -269,11 +267,10 @@ let CatFormGroup = class CatFormGroup {
|
|
|
269
267
|
}
|
|
270
268
|
};
|
|
271
269
|
CatFormGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatFormGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
272
|
-
CatFormGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatFormGroup, selector: "cat-form-group", inputs: { requiredMarker: "requiredMarker" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
270
|
+
CatFormGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatFormGroup, selector: "cat-form-group", inputs: { labelSize: "labelSize", requiredMarker: "requiredMarker" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
273
271
|
CatFormGroup = __decorate([
|
|
274
272
|
ProxyCmp({
|
|
275
|
-
|
|
276
|
-
inputs: ['requiredMarker']
|
|
273
|
+
inputs: ['labelSize', 'requiredMarker']
|
|
277
274
|
})
|
|
278
275
|
], CatFormGroup);
|
|
279
276
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatFormGroup, decorators: [{
|
|
@@ -282,7 +279,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
282
279
|
selector: 'cat-form-group',
|
|
283
280
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
284
281
|
template: '<ng-content></ng-content>',
|
|
285
|
-
inputs
|
|
282
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
283
|
+
inputs: ['labelSize', 'requiredMarker'],
|
|
286
284
|
}]
|
|
287
285
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
288
286
|
let CatIcon = class CatIcon {
|
|
@@ -296,7 +294,6 @@ CatIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1
|
|
|
296
294
|
CatIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatIcon, selector: "cat-icon", inputs: { a11yLabel: "a11yLabel", icon: "icon", iconSrc: "iconSrc", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
297
295
|
CatIcon = __decorate([
|
|
298
296
|
ProxyCmp({
|
|
299
|
-
defineCustomElementFn: undefined,
|
|
300
297
|
inputs: ['a11yLabel', 'icon', 'iconSrc', 'size']
|
|
301
298
|
})
|
|
302
299
|
], CatIcon);
|
|
@@ -306,7 +303,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
306
303
|
selector: 'cat-icon',
|
|
307
304
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
308
305
|
template: '<ng-content></ng-content>',
|
|
309
|
-
|
|
306
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
307
|
+
inputs: ['a11yLabel', 'icon', 'iconSrc', 'size'],
|
|
310
308
|
}]
|
|
311
309
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
312
310
|
let CatInput = class CatInput {
|
|
@@ -318,11 +316,10 @@ let CatInput = class CatInput {
|
|
|
318
316
|
}
|
|
319
317
|
};
|
|
320
318
|
CatInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
321
|
-
CatInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatInput, selector: "cat-input", inputs: { autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", 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", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
319
|
+
CatInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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", 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", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
322
320
|
CatInput = __decorate([
|
|
323
321
|
ProxyCmp({
|
|
324
|
-
|
|
325
|
-
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'maxLength', 'min', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'round', 'textPrefix', 'textSuffix', 'type', 'value'],
|
|
322
|
+
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'],
|
|
326
323
|
methods: ['doFocus', 'doBlur', 'doClick', 'clear']
|
|
327
324
|
})
|
|
328
325
|
], CatInput);
|
|
@@ -332,7 +329,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
332
329
|
selector: 'cat-input',
|
|
333
330
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
334
331
|
template: '<ng-content></ng-content>',
|
|
335
|
-
|
|
332
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
333
|
+
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'],
|
|
336
334
|
}]
|
|
337
335
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
338
336
|
let CatLabel = class CatLabel {
|
|
@@ -346,7 +344,6 @@ CatLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
|
346
344
|
CatLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatLabel, selector: "cat-label", inputs: { for: "for", required: "required", requiredMarker: "requiredMarker" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
347
345
|
CatLabel = __decorate([
|
|
348
346
|
ProxyCmp({
|
|
349
|
-
defineCustomElementFn: undefined,
|
|
350
347
|
inputs: ['for', 'required', 'requiredMarker']
|
|
351
348
|
})
|
|
352
349
|
], CatLabel);
|
|
@@ -356,7 +353,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
356
353
|
selector: 'cat-label',
|
|
357
354
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
358
355
|
template: '<ng-content></ng-content>',
|
|
359
|
-
|
|
356
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
357
|
+
inputs: ['for', 'required', 'requiredMarker'],
|
|
360
358
|
}]
|
|
361
359
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
362
360
|
let CatPagination = class CatPagination {
|
|
@@ -370,7 +368,6 @@ CatPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
|
370
368
|
CatPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatPagination, selector: "cat-pagination", inputs: { activePadding: "activePadding", compact: "compact", iconNext: "iconNext", iconPrev: "iconPrev", page: "page", pageCount: "pageCount", round: "round", sidePadding: "sidePadding", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
371
369
|
CatPagination = __decorate([
|
|
372
370
|
ProxyCmp({
|
|
373
|
-
defineCustomElementFn: undefined,
|
|
374
371
|
inputs: ['activePadding', 'compact', 'iconNext', 'iconPrev', 'page', 'pageCount', 'round', 'sidePadding', 'size', 'variant']
|
|
375
372
|
})
|
|
376
373
|
], CatPagination);
|
|
@@ -380,7 +377,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
380
377
|
selector: 'cat-pagination',
|
|
381
378
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
382
379
|
template: '<ng-content></ng-content>',
|
|
383
|
-
|
|
380
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
381
|
+
inputs: ['activePadding', 'compact', 'iconNext', 'iconPrev', 'page', 'pageCount', 'round', 'sidePadding', 'size', 'variant'],
|
|
384
382
|
}]
|
|
385
383
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
386
384
|
let CatRadio = class CatRadio {
|
|
@@ -395,7 +393,6 @@ CatRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
|
395
393
|
CatRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatRadio, selector: "cat-radio", 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 });
|
|
396
394
|
CatRadio = __decorate([
|
|
397
395
|
ProxyCmp({
|
|
398
|
-
defineCustomElementFn: undefined,
|
|
399
396
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
400
397
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
401
398
|
})
|
|
@@ -406,7 +403,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
406
403
|
selector: 'cat-radio',
|
|
407
404
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
408
405
|
template: '<ng-content></ng-content>',
|
|
409
|
-
|
|
406
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
407
|
+
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
410
408
|
}]
|
|
411
409
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
412
410
|
let CatRadioGroup = class CatRadioGroup {
|
|
@@ -421,7 +419,6 @@ CatRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
|
421
419
|
CatRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatRadioGroup, selector: "cat-radio-group", inputs: { a11yLabel: "a11yLabel", disabled: "disabled", labelLeft: "labelLeft", name: "name", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
422
420
|
CatRadioGroup = __decorate([
|
|
423
421
|
ProxyCmp({
|
|
424
|
-
defineCustomElementFn: undefined,
|
|
425
422
|
inputs: ['a11yLabel', 'disabled', 'labelLeft', 'name', 'value']
|
|
426
423
|
})
|
|
427
424
|
], CatRadioGroup);
|
|
@@ -431,7 +428,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
431
428
|
selector: 'cat-radio-group',
|
|
432
429
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
433
430
|
template: '<ng-content></ng-content>',
|
|
434
|
-
|
|
431
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
432
|
+
inputs: ['a11yLabel', 'disabled', 'labelLeft', 'name', 'value'],
|
|
435
433
|
}]
|
|
436
434
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
437
435
|
let CatScrollable = class CatScrollable {
|
|
@@ -446,7 +444,6 @@ CatScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
|
446
444
|
CatScrollable.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatScrollable, selector: "cat-scrollable", inputs: { noOverflowX: "noOverflowX", noOverflowY: "noOverflowY", noOverscroll: "noOverscroll", noScrolledInit: "noScrolledInit", noShadowX: "noShadowX", noShadowY: "noShadowY", scrolledBuffer: "scrolledBuffer" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
447
445
|
CatScrollable = __decorate([
|
|
448
446
|
ProxyCmp({
|
|
449
|
-
defineCustomElementFn: undefined,
|
|
450
447
|
inputs: ['noOverflowX', 'noOverflowY', 'noOverscroll', 'noScrolledInit', 'noShadowX', 'noShadowY', 'scrolledBuffer']
|
|
451
448
|
})
|
|
452
449
|
], CatScrollable);
|
|
@@ -456,7 +453,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
456
453
|
selector: 'cat-scrollable',
|
|
457
454
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
458
455
|
template: '<ng-content></ng-content>',
|
|
459
|
-
|
|
456
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
457
|
+
inputs: ['noOverflowX', 'noOverflowY', 'noOverscroll', 'noScrolledInit', 'noShadowX', 'noShadowY', 'scrolledBuffer'],
|
|
460
458
|
}]
|
|
461
459
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
462
460
|
let CatSelect = class CatSelect {
|
|
@@ -471,7 +469,6 @@ CatSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2
|
|
|
471
469
|
CatSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatSelect, selector: "cat-select", inputs: { clearable: "clearable", debounce: "debounce", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", 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 });
|
|
472
470
|
CatSelect = __decorate([
|
|
473
471
|
ProxyCmp({
|
|
474
|
-
defineCustomElementFn: undefined,
|
|
475
472
|
inputs: ['clearable', 'debounce', 'disabled', 'errorUpdate', 'errors', 'hint', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'nativeAttributes', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'tagHint', 'tags', 'value'],
|
|
476
473
|
methods: ['connect']
|
|
477
474
|
})
|
|
@@ -482,7 +479,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
482
479
|
selector: 'cat-select',
|
|
483
480
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
484
481
|
template: '<ng-content></ng-content>',
|
|
485
|
-
|
|
482
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
483
|
+
inputs: ['clearable', 'debounce', 'disabled', 'errorUpdate', 'errors', 'hint', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'nativeAttributes', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'tagHint', 'tags', 'value'],
|
|
486
484
|
}]
|
|
487
485
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
488
486
|
let CatSelectDemo = class CatSelectDemo {
|
|
@@ -495,16 +493,16 @@ let CatSelectDemo = class CatSelectDemo {
|
|
|
495
493
|
CatSelectDemo.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSelectDemo, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
496
494
|
CatSelectDemo.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatSelectDemo, selector: "cat-select-demo", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
497
495
|
CatSelectDemo = __decorate([
|
|
498
|
-
ProxyCmp({
|
|
499
|
-
defineCustomElementFn: undefined
|
|
500
|
-
})
|
|
496
|
+
ProxyCmp({})
|
|
501
497
|
], CatSelectDemo);
|
|
502
498
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSelectDemo, decorators: [{
|
|
503
499
|
type: Component,
|
|
504
500
|
args: [{
|
|
505
501
|
selector: 'cat-select-demo',
|
|
506
502
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
507
|
-
template: '<ng-content></ng-content>'
|
|
503
|
+
template: '<ng-content></ng-content>',
|
|
504
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
505
|
+
inputs: [],
|
|
508
506
|
}]
|
|
509
507
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
510
508
|
let CatSkeleton = class CatSkeleton {
|
|
@@ -518,7 +516,6 @@ CatSkeleton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14
|
|
|
518
516
|
CatSkeleton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatSkeleton, selector: "cat-skeleton", inputs: { effect: "effect", lines: "lines", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
519
517
|
CatSkeleton = __decorate([
|
|
520
518
|
ProxyCmp({
|
|
521
|
-
defineCustomElementFn: undefined,
|
|
522
519
|
inputs: ['effect', 'lines', 'size', 'variant']
|
|
523
520
|
})
|
|
524
521
|
], CatSkeleton);
|
|
@@ -528,7 +525,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
528
525
|
selector: 'cat-skeleton',
|
|
529
526
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
530
527
|
template: '<ng-content></ng-content>',
|
|
531
|
-
|
|
528
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
529
|
+
inputs: ['effect', 'lines', 'size', 'variant'],
|
|
532
530
|
}]
|
|
533
531
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
534
532
|
let CatSpinner = class CatSpinner {
|
|
@@ -542,7 +540,6 @@ CatSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
|
542
540
|
CatSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatSpinner, selector: "cat-spinner", inputs: { a11yLabel: "a11yLabel", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
543
541
|
CatSpinner = __decorate([
|
|
544
542
|
ProxyCmp({
|
|
545
|
-
defineCustomElementFn: undefined,
|
|
546
543
|
inputs: ['a11yLabel', 'size']
|
|
547
544
|
})
|
|
548
545
|
], CatSpinner);
|
|
@@ -552,7 +549,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
552
549
|
selector: 'cat-spinner',
|
|
553
550
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
554
551
|
template: '<ng-content></ng-content>',
|
|
555
|
-
|
|
552
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
553
|
+
inputs: ['a11yLabel', 'size'],
|
|
556
554
|
}]
|
|
557
555
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
558
556
|
let CatTab = class CatTab {
|
|
@@ -567,7 +565,6 @@ CatTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12
|
|
|
567
565
|
CatTab.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatTab, selector: "cat-tab", inputs: { deactivated: "deactivated", icon: "icon", iconOnly: "iconOnly", iconRight: "iconRight", label: "label", url: "url", urlTarget: "urlTarget" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
568
566
|
CatTab = __decorate([
|
|
569
567
|
ProxyCmp({
|
|
570
|
-
defineCustomElementFn: undefined,
|
|
571
568
|
inputs: ['deactivated', 'icon', 'iconOnly', 'iconRight', 'label', 'url', 'urlTarget']
|
|
572
569
|
})
|
|
573
570
|
], CatTab);
|
|
@@ -577,7 +574,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
577
574
|
selector: 'cat-tab',
|
|
578
575
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
579
576
|
template: '<ng-content></ng-content>',
|
|
580
|
-
|
|
577
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
578
|
+
inputs: ['deactivated', 'icon', 'iconOnly', 'iconRight', 'label', 'url', 'urlTarget'],
|
|
581
579
|
}]
|
|
582
580
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
583
581
|
let CatTabs = class CatTabs {
|
|
@@ -591,7 +589,6 @@ CatTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1
|
|
|
591
589
|
CatTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatTabs, selector: "cat-tabs", inputs: { activeTab: "activeTab", tabsAlign: "tabsAlign" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
592
590
|
CatTabs = __decorate([
|
|
593
591
|
ProxyCmp({
|
|
594
|
-
defineCustomElementFn: undefined,
|
|
595
592
|
inputs: ['activeTab', 'tabsAlign']
|
|
596
593
|
})
|
|
597
594
|
], CatTabs);
|
|
@@ -601,7 +598,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
601
598
|
selector: 'cat-tabs',
|
|
602
599
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
603
600
|
template: '<ng-content></ng-content>',
|
|
604
|
-
|
|
601
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
602
|
+
inputs: ['activeTab', 'tabsAlign'],
|
|
605
603
|
}]
|
|
606
604
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
607
605
|
let CatTextarea = class CatTextarea {
|
|
@@ -613,11 +611,10 @@ let CatTextarea = class CatTextarea {
|
|
|
613
611
|
}
|
|
614
612
|
};
|
|
615
613
|
CatTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
616
|
-
CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatTextarea, selector: "cat-textarea", inputs: { disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", 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 });
|
|
614
|
+
CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatTextarea, selector: "cat-textarea", inputs: { 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 });
|
|
617
615
|
CatTextarea = __decorate([
|
|
618
616
|
ProxyCmp({
|
|
619
|
-
|
|
620
|
-
inputs: ['disabled', 'errorUpdate', 'errors', 'hint', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value'],
|
|
617
|
+
inputs: ['disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value'],
|
|
621
618
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
622
619
|
})
|
|
623
620
|
], CatTextarea);
|
|
@@ -627,7 +624,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
627
624
|
selector: 'cat-textarea',
|
|
628
625
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
629
626
|
template: '<ng-content></ng-content>',
|
|
630
|
-
|
|
627
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
628
|
+
inputs: ['disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value'],
|
|
631
629
|
}]
|
|
632
630
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
633
631
|
let CatToggle = class CatToggle {
|
|
@@ -642,7 +640,6 @@ CatToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2
|
|
|
642
640
|
CatToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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 });
|
|
643
641
|
CatToggle = __decorate([
|
|
644
642
|
ProxyCmp({
|
|
645
|
-
defineCustomElementFn: undefined,
|
|
646
643
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
647
644
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
648
645
|
})
|
|
@@ -653,7 +650,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
653
650
|
selector: 'cat-toggle',
|
|
654
651
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
655
652
|
template: '<ng-content></ng-content>',
|
|
656
|
-
|
|
653
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
654
|
+
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
657
655
|
}]
|
|
658
656
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
659
657
|
let CatTooltip = class CatTooltip {
|
|
@@ -667,7 +665,6 @@ CatTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
|
667
665
|
CatTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatTooltip, selector: "cat-tooltip", inputs: { content: "content", disabled: "disabled", hideDelay: "hideDelay", longTouchDuration: "longTouchDuration", placement: "placement", round: "round", showDelay: "showDelay", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
668
666
|
CatTooltip = __decorate([
|
|
669
667
|
ProxyCmp({
|
|
670
|
-
defineCustomElementFn: undefined,
|
|
671
668
|
inputs: ['content', 'disabled', 'hideDelay', 'longTouchDuration', 'placement', 'round', 'showDelay', 'size']
|
|
672
669
|
})
|
|
673
670
|
], CatTooltip);
|
|
@@ -677,7 +674,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
677
674
|
selector: 'cat-tooltip',
|
|
678
675
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
679
676
|
template: '<ng-content></ng-content>',
|
|
680
|
-
|
|
677
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
678
|
+
inputs: ['content', 'disabled', 'hideDelay', 'longTouchDuration', 'placement', 'round', 'showDelay', 'size'],
|
|
681
679
|
}]
|
|
682
680
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
683
681
|
|
|
@@ -879,6 +877,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
879
877
|
}]
|
|
880
878
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
881
879
|
|
|
880
|
+
class SelectValueAccessorDecorator {
|
|
881
|
+
constructor(el) {
|
|
882
|
+
this.el = el;
|
|
883
|
+
}
|
|
884
|
+
ngOnChanges({ connector }) {
|
|
885
|
+
if (connector === null || connector === void 0 ? void 0 : connector.currentValue) {
|
|
886
|
+
this.el.nativeElement.connect(connector.currentValue);
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
SelectValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SelectValueAccessorDecorator, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
891
|
+
SelectValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: SelectValueAccessorDecorator, selector: "cat-select", inputs: { connector: "connector" }, usesOnChanges: true, ngImport: i0 });
|
|
892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SelectValueAccessorDecorator, decorators: [{
|
|
893
|
+
type: Directive,
|
|
894
|
+
args: [{
|
|
895
|
+
/* tslint:disable-next-line:directive-selector */
|
|
896
|
+
selector: 'cat-select'
|
|
897
|
+
}]
|
|
898
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { connector: [{
|
|
899
|
+
type: Input
|
|
900
|
+
}] } });
|
|
901
|
+
|
|
882
902
|
class TextValueAccessor extends ValueAccessor {
|
|
883
903
|
constructor(el) {
|
|
884
904
|
super(el);
|
|
@@ -966,10 +986,11 @@ const CatComponents = [
|
|
|
966
986
|
CatTooltip
|
|
967
987
|
];
|
|
968
988
|
const CatDirectives = [
|
|
969
|
-
TextValueAccessor,
|
|
970
|
-
SelectValueAccessor,
|
|
971
|
-
RadioValueAccessor,
|
|
972
989
|
BooleanValueAccessor,
|
|
990
|
+
RadioValueAccessor,
|
|
991
|
+
SelectValueAccessor,
|
|
992
|
+
SelectValueAccessorDecorator,
|
|
993
|
+
TextValueAccessor,
|
|
973
994
|
ValueAccessorDecorator
|
|
974
995
|
];
|
|
975
996
|
const CAT_LOG_TOKEN = new InjectionToken('CAT_LOG', {
|
|
@@ -997,16 +1018,18 @@ class CatalystModule {
|
|
|
997
1018
|
}
|
|
998
1019
|
}
|
|
999
1020
|
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatalystModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1000
|
-
CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: CatalystModule, declarations: [CatAlert, CatAvatar, CatBadge, CatButton, CatCard, CatCheckbox, CatDropdown, CatFormGroup, CatIcon, CatInput, CatLabel, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip,
|
|
1001
|
-
SelectValueAccessor,
|
|
1021
|
+
CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: CatalystModule, declarations: [CatAlert, CatAvatar, CatBadge, CatButton, CatCard, CatCheckbox, CatDropdown, CatFormGroup, CatIcon, CatInput, CatLabel, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, BooleanValueAccessor,
|
|
1002
1022
|
RadioValueAccessor,
|
|
1003
|
-
|
|
1023
|
+
SelectValueAccessor,
|
|
1024
|
+
SelectValueAccessorDecorator,
|
|
1025
|
+
TextValueAccessor,
|
|
1004
1026
|
ValueAccessorDecorator, CatDialogComponent,
|
|
1005
1027
|
CatDialogActionsComponent,
|
|
1006
|
-
CatDialogHeaderComponent], imports: [CommonModule, DialogModule], exports: [CatAlert, CatAvatar, CatBadge, CatButton, CatCard, CatCheckbox, CatDropdown, CatFormGroup, CatIcon, CatInput, CatLabel, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip,
|
|
1007
|
-
SelectValueAccessor,
|
|
1028
|
+
CatDialogHeaderComponent], imports: [CommonModule, DialogModule], exports: [CatAlert, CatAvatar, CatBadge, CatButton, CatCard, CatCheckbox, CatDropdown, CatFormGroup, CatIcon, CatInput, CatLabel, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, BooleanValueAccessor,
|
|
1008
1029
|
RadioValueAccessor,
|
|
1009
|
-
|
|
1030
|
+
SelectValueAccessor,
|
|
1031
|
+
SelectValueAccessorDecorator,
|
|
1032
|
+
TextValueAccessor,
|
|
1010
1033
|
ValueAccessorDecorator, CatDialogComponent,
|
|
1011
1034
|
CatDialogActionsComponent,
|
|
1012
1035
|
CatDialogHeaderComponent] });
|
|
@@ -1070,5 +1093,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
1070
1093
|
* Generated bundle index. Do not edit.
|
|
1071
1094
|
*/
|
|
1072
1095
|
|
|
1073
|
-
export { BooleanValueAccessor, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatCard, CatCheckbox, CatDialogActionsComponent, CatDialogComponent, CatDialogHeaderComponent, CatDialogService, CatDropdown, CatFormGroup, CatIcon, CatInput, CatLabel, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSelectDemo, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, CatalystModule, RadioValueAccessor, SelectValueAccessor, TextValueAccessor, ValueAccessor, ValueAccessorDecorator };
|
|
1096
|
+
export { BooleanValueAccessor, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatCard, CatCheckbox, CatDialogActionsComponent, CatDialogComponent, CatDialogHeaderComponent, CatDialogService, CatDropdown, CatFormGroup, CatIcon, CatInput, CatLabel, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSelectDemo, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, CatalystModule, RadioValueAccessor, SelectValueAccessor, SelectValueAccessorDecorator, TextValueAccessor, ValueAccessor, ValueAccessorDecorator };
|
|
1074
1097
|
//# sourceMappingURL=haiilo-catalyst-angular.mjs.map
|