@haiilo/catalyst-angular 2.4.9 → 3.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 +16 -10
- package/esm2020/lib/dialog/dialog-actions.component.mjs +26 -0
- package/esm2020/lib/dialog/dialog-header.component.mjs +44 -0
- package/esm2020/lib/dialog/dialog.component.mjs +28 -0
- package/esm2020/lib/dialog/dialog.service.mjs +45 -0
- package/esm2020/lib/directives/boolean-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/proxies.mjs +110 -85
- package/esm2020/lib/directives/radio-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/select-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/text-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/value-accessor.mjs +3 -3
- package/esm2020/public-api.mjs +5 -1
- package/fesm2015/haiilo-catalyst-angular.mjs +261 -110
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +267 -110
- package/fesm2020/haiilo-catalyst-angular.mjs.map +1 -1
- package/{haiilo-catalyst-angular.d.ts → index.d.ts} +0 -0
- package/lib/catalyst.module.d.ts +6 -1
- package/lib/dialog/dialog-actions.component.d.ts +12 -0
- package/lib/dialog/dialog-header.component.d.ts +30 -0
- package/lib/dialog/dialog.component.d.ts +14 -0
- package/lib/dialog/dialog.service.d.ts +29 -0
- package/lib/directives/boolean-value-accessor.d.ts +1 -1
- package/lib/directives/proxies.d.ts +33 -24
- package/lib/directives/radio-value-accessor.d.ts +1 -1
- package/lib/directives/select-value-accessor.d.ts +1 -1
- package/lib/directives/text-value-accessor.d.ts +1 -1
- package/lib/directives/value-accessor.d.ts +1 -1
- package/package.json +6 -5
- package/public-api.d.ts +4 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import * as i1$1 from '@angular/cdk/dialog';
|
|
2
|
+
import { DialogModule } from '@angular/cdk/dialog';
|
|
1
3
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, HostListener, Component, ChangeDetectionStrategy, InjectionToken, NgModule } from '@angular/core';
|
|
4
|
+
import { Directive, HostListener, Component, ChangeDetectionStrategy, EventEmitter, ViewEncapsulation, Inject, Input, Output, ContentChild, InjectionToken, NgModule, Injectable } from '@angular/core';
|
|
5
|
+
import * as i3 from '@haiilo/catalyst';
|
|
3
6
|
import { catI18nRegistry, catIconRegistry, catNotificationService } from '@haiilo/catalyst';
|
|
4
7
|
export { catI18nRegistry, catIconRegistry, catNotificationService } from '@haiilo/catalyst';
|
|
5
8
|
import { defineCustomElements } from '@haiilo/catalyst/loader';
|
|
@@ -7,6 +10,8 @@ import log from 'loglevel';
|
|
|
7
10
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
8
11
|
import { __decorate } from 'tslib';
|
|
9
12
|
import { fromEvent } from 'rxjs';
|
|
13
|
+
import * as i1 from '@angular/common';
|
|
14
|
+
import { CommonModule } from '@angular/common';
|
|
10
15
|
|
|
11
16
|
class ValueAccessor {
|
|
12
17
|
constructor(el) {
|
|
@@ -36,9 +41,9 @@ class ValueAccessor {
|
|
|
36
41
|
this.el.nativeElement.disabled = isDisabled;
|
|
37
42
|
}
|
|
38
43
|
}
|
|
39
|
-
ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
45
|
+
ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: ValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ValueAccessor, decorators: [{
|
|
42
47
|
type: Directive,
|
|
43
48
|
args: [{}]
|
|
44
49
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
|
|
@@ -54,15 +59,15 @@ class BooleanValueAccessor extends ValueAccessor {
|
|
|
54
59
|
this.el.nativeElement.checked = this.lastValue = value == null ? false : value;
|
|
55
60
|
}
|
|
56
61
|
}
|
|
57
|
-
BooleanValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
58
|
-
BooleanValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
62
|
+
BooleanValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: BooleanValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
63
|
+
BooleanValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: BooleanValueAccessor, selector: "cat-checkbox, cat-toggle", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
59
64
|
{
|
|
60
65
|
provide: NG_VALUE_ACCESSOR,
|
|
61
66
|
useExisting: BooleanValueAccessor,
|
|
62
67
|
multi: true
|
|
63
68
|
}
|
|
64
69
|
], usesInheritance: true, ngImport: i0 });
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: BooleanValueAccessor, decorators: [{
|
|
66
71
|
type: Directive,
|
|
67
72
|
args: [{
|
|
68
73
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -138,15 +143,15 @@ let CatAlert = class CatAlert {
|
|
|
138
143
|
this.el = r.nativeElement;
|
|
139
144
|
}
|
|
140
145
|
};
|
|
141
|
-
CatAlert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
142
|
-
CatAlert.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
146
|
+
CatAlert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatAlert, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
147
|
+
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 });
|
|
143
148
|
CatAlert = __decorate([
|
|
144
149
|
ProxyCmp({
|
|
145
150
|
defineCustomElementFn: undefined,
|
|
146
151
|
inputs: ['color', 'icon', 'noIcon']
|
|
147
152
|
})
|
|
148
153
|
], CatAlert);
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatAlert, decorators: [{
|
|
150
155
|
type: Component,
|
|
151
156
|
args: [{
|
|
152
157
|
selector: 'cat-alert',
|
|
@@ -162,15 +167,15 @@ let CatAvatar = class CatAvatar {
|
|
|
162
167
|
this.el = r.nativeElement;
|
|
163
168
|
}
|
|
164
169
|
};
|
|
165
|
-
CatAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
166
|
-
CatAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
170
|
+
CatAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
171
|
+
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 });
|
|
167
172
|
CatAvatar = __decorate([
|
|
168
173
|
ProxyCmp({
|
|
169
174
|
defineCustomElementFn: undefined,
|
|
170
175
|
inputs: ['icon', 'initials', 'label', 'round', 'size', 'src', 'url', 'urlTarget']
|
|
171
176
|
})
|
|
172
177
|
], CatAvatar);
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatAvatar, decorators: [{
|
|
174
179
|
type: Component,
|
|
175
180
|
args: [{
|
|
176
181
|
selector: 'cat-avatar',
|
|
@@ -186,15 +191,15 @@ let CatBadge = class CatBadge {
|
|
|
186
191
|
this.el = r.nativeElement;
|
|
187
192
|
}
|
|
188
193
|
};
|
|
189
|
-
CatBadge.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
190
|
-
CatBadge.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
194
|
+
CatBadge.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatBadge, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
195
|
+
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 });
|
|
191
196
|
CatBadge = __decorate([
|
|
192
197
|
ProxyCmp({
|
|
193
198
|
defineCustomElementFn: undefined,
|
|
194
199
|
inputs: ['color', 'pulse', 'round', 'size', 'variant']
|
|
195
200
|
})
|
|
196
201
|
], CatBadge);
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatBadge, decorators: [{
|
|
198
203
|
type: Component,
|
|
199
204
|
args: [{
|
|
200
205
|
selector: 'cat-badge',
|
|
@@ -211,22 +216,22 @@ let CatButton = class CatButton {
|
|
|
211
216
|
proxyOutputs(this, this.el, ['catClick', 'catFocus', 'catBlur']);
|
|
212
217
|
}
|
|
213
218
|
};
|
|
214
|
-
CatButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
215
|
-
CatButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
219
|
+
CatButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
220
|
+
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", 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 });
|
|
216
221
|
CatButton = __decorate([
|
|
217
222
|
ProxyCmp({
|
|
218
223
|
defineCustomElementFn: undefined,
|
|
219
|
-
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'loading', 'name', 'noEllipsis', 'round', 'size', 'submit', 'url', 'urlTarget', 'value', 'variant'],
|
|
224
|
+
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'iconSrc', 'loading', 'name', 'noEllipsis', 'round', 'size', 'submit', 'url', 'urlTarget', 'value', 'variant'],
|
|
220
225
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
221
226
|
})
|
|
222
227
|
], CatButton);
|
|
223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatButton, decorators: [{
|
|
224
229
|
type: Component,
|
|
225
230
|
args: [{
|
|
226
231
|
selector: 'cat-button',
|
|
227
232
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
228
233
|
template: '<ng-content></ng-content>',
|
|
229
|
-
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'loading', 'name', 'noEllipsis', 'round', 'size', 'submit', 'url', 'urlTarget', 'value', 'variant']
|
|
234
|
+
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'iconSrc', 'loading', 'name', 'noEllipsis', 'round', 'size', 'submit', 'url', 'urlTarget', 'value', 'variant']
|
|
230
235
|
}]
|
|
231
236
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
232
237
|
let CatCard = class CatCard {
|
|
@@ -236,14 +241,14 @@ let CatCard = class CatCard {
|
|
|
236
241
|
this.el = r.nativeElement;
|
|
237
242
|
}
|
|
238
243
|
};
|
|
239
|
-
CatCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
240
|
-
CatCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
244
|
+
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 });
|
|
245
|
+
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 });
|
|
241
246
|
CatCard = __decorate([
|
|
242
247
|
ProxyCmp({
|
|
243
248
|
defineCustomElementFn: undefined
|
|
244
249
|
})
|
|
245
250
|
], CatCard);
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatCard, decorators: [{
|
|
247
252
|
type: Component,
|
|
248
253
|
args: [{
|
|
249
254
|
selector: 'cat-card',
|
|
@@ -259,8 +264,8 @@ let CatCheckbox = class CatCheckbox {
|
|
|
259
264
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
260
265
|
}
|
|
261
266
|
};
|
|
262
|
-
CatCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
263
|
-
CatCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
267
|
+
CatCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
268
|
+
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", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
264
269
|
CatCheckbox = __decorate([
|
|
265
270
|
ProxyCmp({
|
|
266
271
|
defineCustomElementFn: undefined,
|
|
@@ -268,7 +273,7 @@ CatCheckbox = __decorate([
|
|
|
268
273
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
269
274
|
})
|
|
270
275
|
], CatCheckbox);
|
|
271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatCheckbox, decorators: [{
|
|
272
277
|
type: Component,
|
|
273
278
|
args: [{
|
|
274
279
|
selector: 'cat-checkbox',
|
|
@@ -285,8 +290,8 @@ let CatDropdown = class CatDropdown {
|
|
|
285
290
|
proxyOutputs(this, this.el, ['catOpen', 'catClose']);
|
|
286
291
|
}
|
|
287
292
|
};
|
|
288
|
-
CatDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
289
|
-
CatDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
293
|
+
CatDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
294
|
+
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 });
|
|
290
295
|
CatDropdown = __decorate([
|
|
291
296
|
ProxyCmp({
|
|
292
297
|
defineCustomElementFn: undefined,
|
|
@@ -294,7 +299,7 @@ CatDropdown = __decorate([
|
|
|
294
299
|
methods: ['close']
|
|
295
300
|
})
|
|
296
301
|
], CatDropdown);
|
|
297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDropdown, decorators: [{
|
|
298
303
|
type: Component,
|
|
299
304
|
args: [{
|
|
300
305
|
selector: 'cat-dropdown',
|
|
@@ -303,6 +308,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
303
308
|
inputs: ['noAutoClose', 'overflow', 'placement']
|
|
304
309
|
}]
|
|
305
310
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
311
|
+
let CatFormGroup = class CatFormGroup {
|
|
312
|
+
constructor(c, r, z) {
|
|
313
|
+
this.z = z;
|
|
314
|
+
c.detach();
|
|
315
|
+
this.el = r.nativeElement;
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
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 });
|
|
319
|
+
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 });
|
|
320
|
+
CatFormGroup = __decorate([
|
|
321
|
+
ProxyCmp({
|
|
322
|
+
defineCustomElementFn: undefined,
|
|
323
|
+
inputs: ['requiredMarker']
|
|
324
|
+
})
|
|
325
|
+
], CatFormGroup);
|
|
326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatFormGroup, decorators: [{
|
|
327
|
+
type: Component,
|
|
328
|
+
args: [{
|
|
329
|
+
selector: 'cat-form-group',
|
|
330
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
331
|
+
template: '<ng-content></ng-content>',
|
|
332
|
+
inputs: ['requiredMarker']
|
|
333
|
+
}]
|
|
334
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
306
335
|
let CatIcon = class CatIcon {
|
|
307
336
|
constructor(c, r, z) {
|
|
308
337
|
this.z = z;
|
|
@@ -310,21 +339,21 @@ let CatIcon = class CatIcon {
|
|
|
310
339
|
this.el = r.nativeElement;
|
|
311
340
|
}
|
|
312
341
|
};
|
|
313
|
-
CatIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
314
|
-
CatIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
342
|
+
CatIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
343
|
+
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 });
|
|
315
344
|
CatIcon = __decorate([
|
|
316
345
|
ProxyCmp({
|
|
317
346
|
defineCustomElementFn: undefined,
|
|
318
|
-
inputs: ['a11yLabel', 'icon', 'size']
|
|
347
|
+
inputs: ['a11yLabel', 'icon', 'iconSrc', 'size']
|
|
319
348
|
})
|
|
320
349
|
], CatIcon);
|
|
321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatIcon, decorators: [{
|
|
322
351
|
type: Component,
|
|
323
352
|
args: [{
|
|
324
353
|
selector: 'cat-icon',
|
|
325
354
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
326
355
|
template: '<ng-content></ng-content>',
|
|
327
|
-
inputs: ['a11yLabel', 'icon', 'size']
|
|
356
|
+
inputs: ['a11yLabel', 'icon', 'iconSrc', 'size']
|
|
328
357
|
}]
|
|
329
358
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
330
359
|
let CatInput = class CatInput {
|
|
@@ -335,22 +364,22 @@ let CatInput = class CatInput {
|
|
|
335
364
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
336
365
|
}
|
|
337
366
|
};
|
|
338
|
-
CatInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
339
|
-
CatInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
367
|
+
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 });
|
|
368
|
+
CatInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatInput, selector: "cat-input", inputs: { autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", hint: "hint", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", max: "max", maxLength: "maxLength", min: "min", minLength: "minLength", name: "name", 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 });
|
|
340
369
|
CatInput = __decorate([
|
|
341
370
|
ProxyCmp({
|
|
342
371
|
defineCustomElementFn: undefined,
|
|
343
|
-
inputs: ['autoComplete', 'clearable', 'disabled', 'hint', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'readonly', 'required', 'round', 'textPrefix', 'textSuffix', 'type', 'value'],
|
|
372
|
+
inputs: ['autoComplete', 'clearable', 'disabled', 'hint', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'readonly', 'required', 'requiredMarker', 'round', 'textPrefix', 'textSuffix', 'type', 'value'],
|
|
344
373
|
methods: ['doFocus', 'doBlur', 'doClick', 'clear']
|
|
345
374
|
})
|
|
346
375
|
], CatInput);
|
|
347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatInput, decorators: [{
|
|
348
377
|
type: Component,
|
|
349
378
|
args: [{
|
|
350
379
|
selector: 'cat-input',
|
|
351
380
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
352
381
|
template: '<ng-content></ng-content>',
|
|
353
|
-
inputs: ['autoComplete', 'clearable', 'disabled', 'hint', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'readonly', 'required', 'round', 'textPrefix', 'textSuffix', 'type', 'value']
|
|
382
|
+
inputs: ['autoComplete', 'clearable', 'disabled', 'hint', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'readonly', 'required', 'requiredMarker', 'round', 'textPrefix', 'textSuffix', 'type', 'value']
|
|
354
383
|
}]
|
|
355
384
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
356
385
|
let CatLabel = class CatLabel {
|
|
@@ -360,21 +389,21 @@ let CatLabel = class CatLabel {
|
|
|
360
389
|
this.el = r.nativeElement;
|
|
361
390
|
}
|
|
362
391
|
};
|
|
363
|
-
CatLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
364
|
-
CatLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
392
|
+
CatLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
393
|
+
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 });
|
|
365
394
|
CatLabel = __decorate([
|
|
366
395
|
ProxyCmp({
|
|
367
396
|
defineCustomElementFn: undefined,
|
|
368
|
-
inputs: ['for', 'required']
|
|
397
|
+
inputs: ['for', 'required', 'requiredMarker']
|
|
369
398
|
})
|
|
370
399
|
], CatLabel);
|
|
371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatLabel, decorators: [{
|
|
372
401
|
type: Component,
|
|
373
402
|
args: [{
|
|
374
403
|
selector: 'cat-label',
|
|
375
404
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
376
405
|
template: '<ng-content></ng-content>',
|
|
377
|
-
inputs: ['for', 'required']
|
|
406
|
+
inputs: ['for', 'required', 'requiredMarker']
|
|
378
407
|
}]
|
|
379
408
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
380
409
|
let CatModal = class CatModal {
|
|
@@ -384,8 +413,8 @@ let CatModal = class CatModal {
|
|
|
384
413
|
this.el = r.nativeElement;
|
|
385
414
|
}
|
|
386
415
|
};
|
|
387
|
-
CatModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
388
|
-
CatModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
416
|
+
CatModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
417
|
+
CatModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatModal, selector: "cat-modal", inputs: { size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
389
418
|
CatModal = __decorate([
|
|
390
419
|
ProxyCmp({
|
|
391
420
|
defineCustomElementFn: undefined,
|
|
@@ -393,7 +422,7 @@ CatModal = __decorate([
|
|
|
393
422
|
methods: ['show']
|
|
394
423
|
})
|
|
395
424
|
], CatModal);
|
|
396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatModal, decorators: [{
|
|
397
426
|
type: Component,
|
|
398
427
|
args: [{
|
|
399
428
|
selector: 'cat-modal',
|
|
@@ -409,15 +438,15 @@ let CatPagination = class CatPagination {
|
|
|
409
438
|
this.el = r.nativeElement;
|
|
410
439
|
}
|
|
411
440
|
};
|
|
412
|
-
CatPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
413
|
-
CatPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
441
|
+
CatPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
442
|
+
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 });
|
|
414
443
|
CatPagination = __decorate([
|
|
415
444
|
ProxyCmp({
|
|
416
445
|
defineCustomElementFn: undefined,
|
|
417
446
|
inputs: ['activePadding', 'compact', 'iconNext', 'iconPrev', 'page', 'pageCount', 'round', 'sidePadding', 'size', 'variant']
|
|
418
447
|
})
|
|
419
448
|
], CatPagination);
|
|
420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatPagination, decorators: [{
|
|
421
450
|
type: Component,
|
|
422
451
|
args: [{
|
|
423
452
|
selector: 'cat-pagination',
|
|
@@ -434,8 +463,8 @@ let CatRadio = class CatRadio {
|
|
|
434
463
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
435
464
|
}
|
|
436
465
|
};
|
|
437
|
-
CatRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
438
|
-
CatRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
466
|
+
CatRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
467
|
+
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", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
439
468
|
CatRadio = __decorate([
|
|
440
469
|
ProxyCmp({
|
|
441
470
|
defineCustomElementFn: undefined,
|
|
@@ -443,7 +472,7 @@ CatRadio = __decorate([
|
|
|
443
472
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
444
473
|
})
|
|
445
474
|
], CatRadio);
|
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatRadio, decorators: [{
|
|
447
476
|
type: Component,
|
|
448
477
|
args: [{
|
|
449
478
|
selector: 'cat-radio',
|
|
@@ -460,15 +489,15 @@ let CatRadioGroup = class CatRadioGroup {
|
|
|
460
489
|
proxyOutputs(this, this.el, ['catChange', 'catBlur']);
|
|
461
490
|
}
|
|
462
491
|
};
|
|
463
|
-
CatRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
464
|
-
CatRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
492
|
+
CatRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
493
|
+
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 });
|
|
465
494
|
CatRadioGroup = __decorate([
|
|
466
495
|
ProxyCmp({
|
|
467
496
|
defineCustomElementFn: undefined,
|
|
468
497
|
inputs: ['a11yLabel', 'disabled', 'labelLeft', 'name', 'value']
|
|
469
498
|
})
|
|
470
499
|
], CatRadioGroup);
|
|
471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatRadioGroup, decorators: [{
|
|
472
501
|
type: Component,
|
|
473
502
|
args: [{
|
|
474
503
|
selector: 'cat-radio-group',
|
|
@@ -485,15 +514,15 @@ let CatScrollable = class CatScrollable {
|
|
|
485
514
|
proxyOutputs(this, this.el, ['scrolledTop', 'scrolledLeft', 'scrolledRight', 'scrolledBottom']);
|
|
486
515
|
}
|
|
487
516
|
};
|
|
488
|
-
CatScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
489
|
-
CatScrollable.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
517
|
+
CatScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatScrollable, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
518
|
+
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 });
|
|
490
519
|
CatScrollable = __decorate([
|
|
491
520
|
ProxyCmp({
|
|
492
521
|
defineCustomElementFn: undefined,
|
|
493
522
|
inputs: ['noOverflowX', 'noOverflowY', 'noOverscroll', 'noScrolledInit', 'noShadowX', 'noShadowY', 'scrolledBuffer']
|
|
494
523
|
})
|
|
495
524
|
], CatScrollable);
|
|
496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatScrollable, decorators: [{
|
|
497
526
|
type: Component,
|
|
498
527
|
args: [{
|
|
499
528
|
selector: 'cat-scrollable',
|
|
@@ -510,22 +539,22 @@ let CatSelect = class CatSelect {
|
|
|
510
539
|
proxyOutputs(this, this.el, ['catOpen', 'catClose', 'catChange', 'catBlur']);
|
|
511
540
|
}
|
|
512
541
|
};
|
|
513
|
-
CatSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
514
|
-
CatSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
542
|
+
CatSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
543
|
+
CatSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatSelect, selector: "cat-select", inputs: { clearable: "clearable", debounce: "debounce", disabled: "disabled", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", multiple: "multiple", name: "name", 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 });
|
|
515
544
|
CatSelect = __decorate([
|
|
516
545
|
ProxyCmp({
|
|
517
546
|
defineCustomElementFn: undefined,
|
|
518
|
-
inputs: ['clearable', 'debounce', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'placeholder', 'placement', 'required', 'tagHint', 'tags', 'value'],
|
|
547
|
+
inputs: ['clearable', 'debounce', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'tagHint', 'tags', 'value'],
|
|
519
548
|
methods: ['connect']
|
|
520
549
|
})
|
|
521
550
|
], CatSelect);
|
|
522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSelect, decorators: [{
|
|
523
552
|
type: Component,
|
|
524
553
|
args: [{
|
|
525
554
|
selector: 'cat-select',
|
|
526
555
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
527
556
|
template: '<ng-content></ng-content>',
|
|
528
|
-
inputs: ['clearable', 'debounce', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'placeholder', 'placement', 'required', 'tagHint', 'tags', 'value']
|
|
557
|
+
inputs: ['clearable', 'debounce', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'tagHint', 'tags', 'value']
|
|
529
558
|
}]
|
|
530
559
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
531
560
|
let CatSelectDemo = class CatSelectDemo {
|
|
@@ -535,14 +564,14 @@ let CatSelectDemo = class CatSelectDemo {
|
|
|
535
564
|
this.el = r.nativeElement;
|
|
536
565
|
}
|
|
537
566
|
};
|
|
538
|
-
CatSelectDemo.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
539
|
-
CatSelectDemo.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
567
|
+
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 });
|
|
568
|
+
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 });
|
|
540
569
|
CatSelectDemo = __decorate([
|
|
541
570
|
ProxyCmp({
|
|
542
571
|
defineCustomElementFn: undefined
|
|
543
572
|
})
|
|
544
573
|
], CatSelectDemo);
|
|
545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSelectDemo, decorators: [{
|
|
546
575
|
type: Component,
|
|
547
576
|
args: [{
|
|
548
577
|
selector: 'cat-select-demo',
|
|
@@ -557,15 +586,15 @@ let CatSkeleton = class CatSkeleton {
|
|
|
557
586
|
this.el = r.nativeElement;
|
|
558
587
|
}
|
|
559
588
|
};
|
|
560
|
-
CatSkeleton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
561
|
-
CatSkeleton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
589
|
+
CatSkeleton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSkeleton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
590
|
+
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 });
|
|
562
591
|
CatSkeleton = __decorate([
|
|
563
592
|
ProxyCmp({
|
|
564
593
|
defineCustomElementFn: undefined,
|
|
565
594
|
inputs: ['effect', 'lines', 'size', 'variant']
|
|
566
595
|
})
|
|
567
596
|
], CatSkeleton);
|
|
568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSkeleton, decorators: [{
|
|
569
598
|
type: Component,
|
|
570
599
|
args: [{
|
|
571
600
|
selector: 'cat-skeleton',
|
|
@@ -581,15 +610,15 @@ let CatSpinner = class CatSpinner {
|
|
|
581
610
|
this.el = r.nativeElement;
|
|
582
611
|
}
|
|
583
612
|
};
|
|
584
|
-
CatSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
585
|
-
CatSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
613
|
+
CatSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSpinner, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
614
|
+
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 });
|
|
586
615
|
CatSpinner = __decorate([
|
|
587
616
|
ProxyCmp({
|
|
588
617
|
defineCustomElementFn: undefined,
|
|
589
618
|
inputs: ['a11yLabel', 'size']
|
|
590
619
|
})
|
|
591
620
|
], CatSpinner);
|
|
592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSpinner, decorators: [{
|
|
593
622
|
type: Component,
|
|
594
623
|
args: [{
|
|
595
624
|
selector: 'cat-spinner',
|
|
@@ -606,15 +635,15 @@ let CatTab = class CatTab {
|
|
|
606
635
|
proxyOutputs(this, this.el, ['tabClick']);
|
|
607
636
|
}
|
|
608
637
|
};
|
|
609
|
-
CatTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
610
|
-
CatTab.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
638
|
+
CatTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTab, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
639
|
+
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 });
|
|
611
640
|
CatTab = __decorate([
|
|
612
641
|
ProxyCmp({
|
|
613
642
|
defineCustomElementFn: undefined,
|
|
614
643
|
inputs: ['deactivated', 'icon', 'iconOnly', 'iconRight', 'label', 'url', 'urlTarget']
|
|
615
644
|
})
|
|
616
645
|
], CatTab);
|
|
617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTab, decorators: [{
|
|
618
647
|
type: Component,
|
|
619
648
|
args: [{
|
|
620
649
|
selector: 'cat-tab',
|
|
@@ -630,15 +659,15 @@ let CatTabs = class CatTabs {
|
|
|
630
659
|
this.el = r.nativeElement;
|
|
631
660
|
}
|
|
632
661
|
};
|
|
633
|
-
CatTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
634
|
-
CatTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
662
|
+
CatTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTabs, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
663
|
+
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 });
|
|
635
664
|
CatTabs = __decorate([
|
|
636
665
|
ProxyCmp({
|
|
637
666
|
defineCustomElementFn: undefined,
|
|
638
667
|
inputs: ['activeTab', 'tabsAlign']
|
|
639
668
|
})
|
|
640
669
|
], CatTabs);
|
|
641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTabs, decorators: [{
|
|
642
671
|
type: Component,
|
|
643
672
|
args: [{
|
|
644
673
|
selector: 'cat-tabs',
|
|
@@ -655,22 +684,22 @@ let CatTextarea = class CatTextarea {
|
|
|
655
684
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
656
685
|
}
|
|
657
686
|
};
|
|
658
|
-
CatTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
659
|
-
CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
687
|
+
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 });
|
|
688
|
+
CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatTextarea, selector: "cat-textarea", inputs: { disabled: "disabled", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", maxLength: "maxLength", minLength: "minLength", name: "name", 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 });
|
|
660
689
|
CatTextarea = __decorate([
|
|
661
690
|
ProxyCmp({
|
|
662
691
|
defineCustomElementFn: undefined,
|
|
663
|
-
inputs: ['disabled', 'hint', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'placeholder', 'readonly', 'required', 'rows', 'value'],
|
|
692
|
+
inputs: ['disabled', 'hint', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value'],
|
|
664
693
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
665
694
|
})
|
|
666
695
|
], CatTextarea);
|
|
667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTextarea, decorators: [{
|
|
668
697
|
type: Component,
|
|
669
698
|
args: [{
|
|
670
699
|
selector: 'cat-textarea',
|
|
671
700
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
672
701
|
template: '<ng-content></ng-content>',
|
|
673
|
-
inputs: ['disabled', 'hint', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'placeholder', 'readonly', 'required', 'rows', 'value']
|
|
702
|
+
inputs: ['disabled', 'hint', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value']
|
|
674
703
|
}]
|
|
675
704
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
676
705
|
let CatToggle = class CatToggle {
|
|
@@ -681,8 +710,8 @@ let CatToggle = class CatToggle {
|
|
|
681
710
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
682
711
|
}
|
|
683
712
|
};
|
|
684
|
-
CatToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
685
|
-
CatToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
713
|
+
CatToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
714
|
+
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", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
686
715
|
CatToggle = __decorate([
|
|
687
716
|
ProxyCmp({
|
|
688
717
|
defineCustomElementFn: undefined,
|
|
@@ -690,7 +719,7 @@ CatToggle = __decorate([
|
|
|
690
719
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
691
720
|
})
|
|
692
721
|
], CatToggle);
|
|
693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatToggle, decorators: [{
|
|
694
723
|
type: Component,
|
|
695
724
|
args: [{
|
|
696
725
|
selector: 'cat-toggle',
|
|
@@ -706,15 +735,15 @@ let CatTooltip = class CatTooltip {
|
|
|
706
735
|
this.el = r.nativeElement;
|
|
707
736
|
}
|
|
708
737
|
};
|
|
709
|
-
CatTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
710
|
-
CatTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
738
|
+
CatTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
739
|
+
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 });
|
|
711
740
|
CatTooltip = __decorate([
|
|
712
741
|
ProxyCmp({
|
|
713
742
|
defineCustomElementFn: undefined,
|
|
714
743
|
inputs: ['content', 'disabled', 'hideDelay', 'longTouchDuration', 'placement', 'round', 'showDelay', 'size']
|
|
715
744
|
})
|
|
716
745
|
], CatTooltip);
|
|
717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTooltip, decorators: [{
|
|
718
747
|
type: Component,
|
|
719
748
|
args: [{
|
|
720
749
|
selector: 'cat-tooltip',
|
|
@@ -729,15 +758,15 @@ class RadioValueAccessor extends ValueAccessor {
|
|
|
729
758
|
super(el);
|
|
730
759
|
}
|
|
731
760
|
}
|
|
732
|
-
RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
733
|
-
RadioValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
761
|
+
RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RadioValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
762
|
+
RadioValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: RadioValueAccessor, selector: "cat-radio, cat-radio-group", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
734
763
|
{
|
|
735
764
|
provide: NG_VALUE_ACCESSOR,
|
|
736
765
|
useExisting: RadioValueAccessor,
|
|
737
766
|
multi: true
|
|
738
767
|
}
|
|
739
768
|
], usesInheritance: true, ngImport: i0 });
|
|
740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RadioValueAccessor, decorators: [{
|
|
741
770
|
type: Directive,
|
|
742
771
|
args: [{
|
|
743
772
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -760,15 +789,15 @@ class SelectValueAccessor extends ValueAccessor {
|
|
|
760
789
|
super(el);
|
|
761
790
|
}
|
|
762
791
|
}
|
|
763
|
-
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
764
|
-
SelectValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
792
|
+
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SelectValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
793
|
+
SelectValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: SelectValueAccessor, selector: "cat-select", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
765
794
|
{
|
|
766
795
|
provide: NG_VALUE_ACCESSOR,
|
|
767
796
|
useExisting: SelectValueAccessor,
|
|
768
797
|
multi: true
|
|
769
798
|
}
|
|
770
799
|
], usesInheritance: true, ngImport: i0 });
|
|
771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SelectValueAccessor, decorators: [{
|
|
772
801
|
type: Directive,
|
|
773
802
|
args: [{
|
|
774
803
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -791,15 +820,15 @@ class TextValueAccessor extends ValueAccessor {
|
|
|
791
820
|
super(el);
|
|
792
821
|
}
|
|
793
822
|
}
|
|
794
|
-
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
795
|
-
TextValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
823
|
+
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
824
|
+
TextValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: TextValueAccessor, selector: "cat-input, cat-textarea", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
796
825
|
{
|
|
797
826
|
provide: NG_VALUE_ACCESSOR,
|
|
798
827
|
useExisting: TextValueAccessor,
|
|
799
828
|
multi: true
|
|
800
829
|
}
|
|
801
830
|
], usesInheritance: true, ngImport: i0 });
|
|
802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TextValueAccessor, decorators: [{
|
|
803
832
|
type: Directive,
|
|
804
833
|
args: [{
|
|
805
834
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -817,6 +846,94 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
817
846
|
}]
|
|
818
847
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
819
848
|
|
|
849
|
+
/**
|
|
850
|
+
* The header of a dialog.
|
|
851
|
+
*/
|
|
852
|
+
class CatDialogHeaderComponent {
|
|
853
|
+
constructor(i18n) {
|
|
854
|
+
this.i18n = i18n;
|
|
855
|
+
this.closeTxt = this.i18n.t('dialog.close');
|
|
856
|
+
this.closeSvg = '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.53 6.47a.75.75 0 0 0-1.06 1.06L10.94 12l-4.47 4.47a.75.75 0 1 0 1.06 1.06L12 13.06l4.47 4.47a.75.75 0 1 0 1.06-1.06L13.06 12l4.47-4.47a.75.75 0 0 0-1.06-1.06L12 10.94 7.53 6.47Z"/></svg>';
|
|
857
|
+
/**
|
|
858
|
+
* Whether the dialog can be closed via a close button.
|
|
859
|
+
*/
|
|
860
|
+
this.closable = true;
|
|
861
|
+
/**
|
|
862
|
+
* Emits when the close button is clicked.
|
|
863
|
+
*/
|
|
864
|
+
this.close = new EventEmitter();
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
CatDialogHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogHeaderComponent, deps: [{ token: CAT_I18N_REGISTRY_TOKEN }], target: i0.ɵɵFactoryTarget.Component });
|
|
868
|
+
CatDialogHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", 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 [iconSrc]=\"closeSvg\"\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: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CatButton, selector: "cat-button", inputs: ["a11yCurrent", "a11yLabel", "active", "buttonId", "color", "disabled", "icon", "iconOnly", "iconRight", "iconSrc", "loading", "name", "noEllipsis", "round", "size", "submit", "url", "urlTarget", "value", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogHeaderComponent, decorators: [{
|
|
870
|
+
type: Component,
|
|
871
|
+
args: [{ selector: 'cat-dialog-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
872
|
+
class: 'cat-dialog-header'
|
|
873
|
+
}, 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 [iconSrc]=\"closeSvg\"\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"] }]
|
|
874
|
+
}], ctorParameters: function () {
|
|
875
|
+
return [{ type: i3.CatI18nRegistry, decorators: [{
|
|
876
|
+
type: Inject,
|
|
877
|
+
args: [CAT_I18N_REGISTRY_TOKEN]
|
|
878
|
+
}] }];
|
|
879
|
+
}, propDecorators: { headline: [{
|
|
880
|
+
type: Input
|
|
881
|
+
}], subline: [{
|
|
882
|
+
type: Input
|
|
883
|
+
}], closable: [{
|
|
884
|
+
type: Input
|
|
885
|
+
}], close: [{
|
|
886
|
+
type: Output
|
|
887
|
+
}] } });
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* A modal dialog.
|
|
891
|
+
*/
|
|
892
|
+
class CatDialogComponent {
|
|
893
|
+
constructor(dialogRef) {
|
|
894
|
+
this.dialogRef = dialogRef;
|
|
895
|
+
}
|
|
896
|
+
ngAfterContentInit() {
|
|
897
|
+
var _a;
|
|
898
|
+
(_a = this.header) === null || _a === void 0 ? void 0 : _a.close.subscribe(() => this.dialogRef.close());
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
CatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogComponent, deps: [{ token: i1$1.DialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
902
|
+
CatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatDialogComponent, selector: "cat-dialog", host: { classAttribute: "cat-dialog-inner" }, queries: [{ propertyName: "header", first: true, predicate: CatDialogHeaderComponent, descendants: true }], ngImport: i0, template: "<ng-content select=\"cat-dialog-header\"></ng-content>\n <cat-scrollable>\n <div class=\"cat-dialog-content\">\n <ng-content></ng-content>\n </div>\n </cat-scrollable>\n<ng-content select=\"cat-dialog-actions\"></ng-content>\n", styles: [".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-pane{transition:transform .25s ease,opacity .25s ease;transform:translateY(24px);opacity:0}.cdk-overlay-backdrop-showing+.cdk-global-overlay-wrapper .cdk-overlay-pane{transform:translateY(0);opacity:1}.cat-backdrop.cdk-overlay-backdrop{transition-duration:.5s}.cdk-dialog-container>*:only-child{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}.cat-dialog-inner{display:flex;flex-direction:column;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"], dependencies: [{ kind: "component", type: CatScrollable, selector: "cat-scrollable", inputs: ["noOverflowX", "noOverflowY", "noOverscroll", "noScrolledInit", "noShadowX", "noShadowY", "scrolledBuffer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogComponent, decorators: [{
|
|
904
|
+
type: Component,
|
|
905
|
+
args: [{ selector: 'cat-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
906
|
+
class: 'cat-dialog-inner',
|
|
907
|
+
}, template: "<ng-content select=\"cat-dialog-header\"></ng-content>\n <cat-scrollable>\n <div class=\"cat-dialog-content\">\n <ng-content></ng-content>\n </div>\n </cat-scrollable>\n<ng-content select=\"cat-dialog-actions\"></ng-content>\n", styles: [".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-pane{transition:transform .25s ease,opacity .25s ease;transform:translateY(24px);opacity:0}.cdk-overlay-backdrop-showing+.cdk-global-overlay-wrapper .cdk-overlay-pane{transform:translateY(0);opacity:1}.cat-backdrop.cdk-overlay-backdrop{transition-duration:.5s}.cdk-dialog-container>*:only-child{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}.cat-dialog-inner{display:flex;flex-direction:column;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"] }]
|
|
908
|
+
}], ctorParameters: function () { return [{ type: i1$1.DialogRef }]; }, propDecorators: { header: [{
|
|
909
|
+
type: ContentChild,
|
|
910
|
+
args: [CatDialogHeaderComponent]
|
|
911
|
+
}] } });
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* The bottom actions of a dialog.
|
|
915
|
+
*/
|
|
916
|
+
class CatDialogActionsComponent {
|
|
917
|
+
constructor() {
|
|
918
|
+
/**
|
|
919
|
+
* Horizontal alignment of action buttons.
|
|
920
|
+
*/
|
|
921
|
+
this.align = 'end';
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
CatDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
925
|
+
CatDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CatDialogActionsComponent, selector: "cat-dialog-actions", inputs: { align: "align" }, host: { properties: { "class.cat-dialog-actions-center": "align === \"center\"", "class.cat-dialog-actions-end": "align === \"end\"" }, classAttribute: "cat-dialog-actions" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".cat-dialog-actions-center{justify-content:center}.cat-dialog-actions-end{flex-direction:row-reverse}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogActionsComponent, decorators: [{
|
|
927
|
+
type: Component,
|
|
928
|
+
args: [{ selector: 'cat-dialog-actions', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
929
|
+
class: 'cat-dialog-actions',
|
|
930
|
+
'[class.cat-dialog-actions-center]': 'align === "center"',
|
|
931
|
+
'[class.cat-dialog-actions-end]': 'align === "end"'
|
|
932
|
+
}, styles: [".cat-dialog-actions-center{justify-content:center}.cat-dialog-actions-end{flex-direction:row-reverse}\n"] }]
|
|
933
|
+
}], propDecorators: { align: [{
|
|
934
|
+
type: Input
|
|
935
|
+
}] } });
|
|
936
|
+
|
|
820
937
|
const CatComponents = [
|
|
821
938
|
CatAlert,
|
|
822
939
|
CatAvatar,
|
|
@@ -825,6 +942,7 @@ const CatComponents = [
|
|
|
825
942
|
CatCard,
|
|
826
943
|
CatCheckbox,
|
|
827
944
|
CatDropdown,
|
|
945
|
+
CatFormGroup,
|
|
828
946
|
CatIcon,
|
|
829
947
|
CatInput,
|
|
830
948
|
CatLabel,
|
|
@@ -871,28 +989,61 @@ class CatalystModule {
|
|
|
871
989
|
};
|
|
872
990
|
}
|
|
873
991
|
}
|
|
874
|
-
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
875
|
-
CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
992
|
+
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatalystModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
993
|
+
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, CatModal, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, TextValueAccessor,
|
|
876
994
|
SelectValueAccessor,
|
|
877
995
|
RadioValueAccessor,
|
|
878
|
-
BooleanValueAccessor], exports: [CatAlert, CatAvatar, CatBadge, CatButton, CatCard, CatCheckbox, CatDropdown, CatIcon, CatInput, CatLabel, CatModal, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, TextValueAccessor,
|
|
996
|
+
BooleanValueAccessor, CatDialogComponent, CatDialogActionsComponent, CatDialogHeaderComponent], imports: [CommonModule, DialogModule], exports: [CatAlert, CatAvatar, CatBadge, CatButton, CatCard, CatCheckbox, CatDropdown, CatFormGroup, CatIcon, CatInput, CatLabel, CatModal, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, TextValueAccessor,
|
|
879
997
|
SelectValueAccessor,
|
|
880
998
|
RadioValueAccessor,
|
|
881
|
-
BooleanValueAccessor] });
|
|
882
|
-
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
999
|
+
BooleanValueAccessor, CatDialogComponent, CatDialogActionsComponent, CatDialogHeaderComponent] });
|
|
1000
|
+
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatalystModule, imports: [CommonModule, DialogModule] });
|
|
1001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatalystModule, decorators: [{
|
|
884
1002
|
type: NgModule,
|
|
885
1003
|
args: [{
|
|
886
|
-
imports: [],
|
|
887
|
-
declarations: [...CatComponents, ...CatDirectives],
|
|
888
|
-
exports: [...CatComponents, ...CatDirectives],
|
|
1004
|
+
imports: [CommonModule, DialogModule],
|
|
1005
|
+
declarations: [...CatComponents, ...CatDirectives, CatDialogComponent, CatDialogActionsComponent, CatDialogHeaderComponent],
|
|
1006
|
+
exports: [...CatComponents, ...CatDirectives, CatDialogComponent, CatDialogActionsComponent, CatDialogHeaderComponent],
|
|
889
1007
|
providers: []
|
|
890
1008
|
}]
|
|
891
1009
|
}] });
|
|
892
1010
|
|
|
1011
|
+
/**
|
|
1012
|
+
* A service for managing modal dialogs.
|
|
1013
|
+
*/
|
|
1014
|
+
class CatDialogService {
|
|
1015
|
+
constructor(dialog) {
|
|
1016
|
+
this.dialog = dialog;
|
|
1017
|
+
}
|
|
1018
|
+
/**
|
|
1019
|
+
* Opens a modal dialog containing the given component.
|
|
1020
|
+
*
|
|
1021
|
+
* @param component The component to render as dialog content.
|
|
1022
|
+
* @param config The dialog configuration.
|
|
1023
|
+
* @returns The return value of the dialog.
|
|
1024
|
+
*/
|
|
1025
|
+
open(component, config) {
|
|
1026
|
+
return this.dialog.open(component, Object.assign({ backdropClass: 'cat-backdrop', panelClass: 'cat-dialog', width: '600px', minWidth: 'clamp(240px, 100vw - 16px, 320px)', minHeight: 'clamp(160px, 100vh - 16px, 240px)', maxHeight: 'calc(100vh - 64px)', maxWidth: 'calc(100vw - 64px)' }, config)).closed;
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* Closes all open dialogs.
|
|
1030
|
+
*/
|
|
1031
|
+
closeAll() {
|
|
1032
|
+
this.dialog.closeAll();
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
CatDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogService, deps: [{ token: i1$1.Dialog }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1036
|
+
CatDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogService, providedIn: 'root' });
|
|
1037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogService, decorators: [{
|
|
1038
|
+
type: Injectable,
|
|
1039
|
+
args: [{
|
|
1040
|
+
providedIn: 'root'
|
|
1041
|
+
}]
|
|
1042
|
+
}], ctorParameters: function () { return [{ type: i1$1.Dialog }]; } });
|
|
1043
|
+
|
|
893
1044
|
/**
|
|
894
1045
|
* Generated bundle index. Do not edit.
|
|
895
1046
|
*/
|
|
896
1047
|
|
|
897
|
-
export { BooleanValueAccessor, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatCard, CatCheckbox, CatDropdown, CatIcon, CatInput, CatLabel, CatModal, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSelectDemo, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, CatalystModule, RadioValueAccessor, SelectValueAccessor, TextValueAccessor, ValueAccessor };
|
|
1048
|
+
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, CatModal, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSelectDemo, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, CatalystModule, RadioValueAccessor, SelectValueAccessor, TextValueAccessor, ValueAccessor };
|
|
898
1049
|
//# sourceMappingURL=haiilo-catalyst-angular.mjs.map
|