@haiilo/catalyst-angular 2.5.0 → 3.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 +15 -11
- 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 +77 -103
- 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 +228 -128
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +234 -128
- 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 +24 -33
- 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',
|
|
@@ -310,15 +315,15 @@ let CatFormGroup = class CatFormGroup {
|
|
|
310
315
|
this.el = r.nativeElement;
|
|
311
316
|
}
|
|
312
317
|
};
|
|
313
|
-
CatFormGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
314
|
-
CatFormGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
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 });
|
|
315
320
|
CatFormGroup = __decorate([
|
|
316
321
|
ProxyCmp({
|
|
317
322
|
defineCustomElementFn: undefined,
|
|
318
323
|
inputs: ['requiredMarker']
|
|
319
324
|
})
|
|
320
325
|
], CatFormGroup);
|
|
321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatFormGroup, decorators: [{
|
|
322
327
|
type: Component,
|
|
323
328
|
args: [{
|
|
324
329
|
selector: 'cat-form-group',
|
|
@@ -334,21 +339,21 @@ let CatIcon = class CatIcon {
|
|
|
334
339
|
this.el = r.nativeElement;
|
|
335
340
|
}
|
|
336
341
|
};
|
|
337
|
-
CatIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
338
|
-
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 });
|
|
339
344
|
CatIcon = __decorate([
|
|
340
345
|
ProxyCmp({
|
|
341
346
|
defineCustomElementFn: undefined,
|
|
342
|
-
inputs: ['a11yLabel', 'icon', 'size']
|
|
347
|
+
inputs: ['a11yLabel', 'icon', 'iconSrc', 'size']
|
|
343
348
|
})
|
|
344
349
|
], CatIcon);
|
|
345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatIcon, decorators: [{
|
|
346
351
|
type: Component,
|
|
347
352
|
args: [{
|
|
348
353
|
selector: 'cat-icon',
|
|
349
354
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
350
355
|
template: '<ng-content></ng-content>',
|
|
351
|
-
inputs: ['a11yLabel', 'icon', 'size']
|
|
356
|
+
inputs: ['a11yLabel', 'icon', 'iconSrc', 'size']
|
|
352
357
|
}]
|
|
353
358
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
354
359
|
let CatInput = class CatInput {
|
|
@@ -359,8 +364,8 @@ let CatInput = class CatInput {
|
|
|
359
364
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
360
365
|
}
|
|
361
366
|
};
|
|
362
|
-
CatInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
363
|
-
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 });
|
|
364
369
|
CatInput = __decorate([
|
|
365
370
|
ProxyCmp({
|
|
366
371
|
defineCustomElementFn: undefined,
|
|
@@ -368,7 +373,7 @@ CatInput = __decorate([
|
|
|
368
373
|
methods: ['doFocus', 'doBlur', 'doClick', 'clear']
|
|
369
374
|
})
|
|
370
375
|
], CatInput);
|
|
371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatInput, decorators: [{
|
|
372
377
|
type: Component,
|
|
373
378
|
args: [{
|
|
374
379
|
selector: 'cat-input',
|
|
@@ -384,15 +389,15 @@ let CatLabel = class CatLabel {
|
|
|
384
389
|
this.el = r.nativeElement;
|
|
385
390
|
}
|
|
386
391
|
};
|
|
387
|
-
CatLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
388
|
-
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 });
|
|
389
394
|
CatLabel = __decorate([
|
|
390
395
|
ProxyCmp({
|
|
391
396
|
defineCustomElementFn: undefined,
|
|
392
397
|
inputs: ['for', 'required', 'requiredMarker']
|
|
393
398
|
})
|
|
394
399
|
], CatLabel);
|
|
395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatLabel, decorators: [{
|
|
396
401
|
type: Component,
|
|
397
402
|
args: [{
|
|
398
403
|
selector: 'cat-label',
|
|
@@ -401,31 +406,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
401
406
|
inputs: ['for', 'required', 'requiredMarker']
|
|
402
407
|
}]
|
|
403
408
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
404
|
-
let CatModal = class CatModal {
|
|
405
|
-
constructor(c, r, z) {
|
|
406
|
-
this.z = z;
|
|
407
|
-
c.detach();
|
|
408
|
-
this.el = r.nativeElement;
|
|
409
|
-
}
|
|
410
|
-
};
|
|
411
|
-
CatModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CatModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
412
|
-
CatModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CatModal, selector: "cat-modal", inputs: { size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
413
|
-
CatModal = __decorate([
|
|
414
|
-
ProxyCmp({
|
|
415
|
-
defineCustomElementFn: undefined,
|
|
416
|
-
inputs: ['size'],
|
|
417
|
-
methods: ['show']
|
|
418
|
-
})
|
|
419
|
-
], CatModal);
|
|
420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CatModal, decorators: [{
|
|
421
|
-
type: Component,
|
|
422
|
-
args: [{
|
|
423
|
-
selector: 'cat-modal',
|
|
424
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
425
|
-
template: '<ng-content></ng-content>',
|
|
426
|
-
inputs: ['size']
|
|
427
|
-
}]
|
|
428
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
429
409
|
let CatPagination = class CatPagination {
|
|
430
410
|
constructor(c, r, z) {
|
|
431
411
|
this.z = z;
|
|
@@ -433,15 +413,15 @@ let CatPagination = class CatPagination {
|
|
|
433
413
|
this.el = r.nativeElement;
|
|
434
414
|
}
|
|
435
415
|
};
|
|
436
|
-
CatPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
437
|
-
CatPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
416
|
+
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 });
|
|
417
|
+
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 });
|
|
438
418
|
CatPagination = __decorate([
|
|
439
419
|
ProxyCmp({
|
|
440
420
|
defineCustomElementFn: undefined,
|
|
441
421
|
inputs: ['activePadding', 'compact', 'iconNext', 'iconPrev', 'page', 'pageCount', 'round', 'sidePadding', 'size', 'variant']
|
|
442
422
|
})
|
|
443
423
|
], CatPagination);
|
|
444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatPagination, decorators: [{
|
|
445
425
|
type: Component,
|
|
446
426
|
args: [{
|
|
447
427
|
selector: 'cat-pagination',
|
|
@@ -458,8 +438,8 @@ let CatRadio = class CatRadio {
|
|
|
458
438
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
459
439
|
}
|
|
460
440
|
};
|
|
461
|
-
CatRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
462
|
-
CatRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
441
|
+
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 });
|
|
442
|
+
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 });
|
|
463
443
|
CatRadio = __decorate([
|
|
464
444
|
ProxyCmp({
|
|
465
445
|
defineCustomElementFn: undefined,
|
|
@@ -467,7 +447,7 @@ CatRadio = __decorate([
|
|
|
467
447
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
468
448
|
})
|
|
469
449
|
], CatRadio);
|
|
470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatRadio, decorators: [{
|
|
471
451
|
type: Component,
|
|
472
452
|
args: [{
|
|
473
453
|
selector: 'cat-radio',
|
|
@@ -484,15 +464,15 @@ let CatRadioGroup = class CatRadioGroup {
|
|
|
484
464
|
proxyOutputs(this, this.el, ['catChange', 'catBlur']);
|
|
485
465
|
}
|
|
486
466
|
};
|
|
487
|
-
CatRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
488
|
-
CatRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
467
|
+
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 });
|
|
468
|
+
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 });
|
|
489
469
|
CatRadioGroup = __decorate([
|
|
490
470
|
ProxyCmp({
|
|
491
471
|
defineCustomElementFn: undefined,
|
|
492
472
|
inputs: ['a11yLabel', 'disabled', 'labelLeft', 'name', 'value']
|
|
493
473
|
})
|
|
494
474
|
], CatRadioGroup);
|
|
495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatRadioGroup, decorators: [{
|
|
496
476
|
type: Component,
|
|
497
477
|
args: [{
|
|
498
478
|
selector: 'cat-radio-group',
|
|
@@ -509,15 +489,15 @@ let CatScrollable = class CatScrollable {
|
|
|
509
489
|
proxyOutputs(this, this.el, ['scrolledTop', 'scrolledLeft', 'scrolledRight', 'scrolledBottom']);
|
|
510
490
|
}
|
|
511
491
|
};
|
|
512
|
-
CatScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
513
|
-
CatScrollable.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
492
|
+
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 });
|
|
493
|
+
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 });
|
|
514
494
|
CatScrollable = __decorate([
|
|
515
495
|
ProxyCmp({
|
|
516
496
|
defineCustomElementFn: undefined,
|
|
517
497
|
inputs: ['noOverflowX', 'noOverflowY', 'noOverscroll', 'noScrolledInit', 'noShadowX', 'noShadowY', 'scrolledBuffer']
|
|
518
498
|
})
|
|
519
499
|
], CatScrollable);
|
|
520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatScrollable, decorators: [{
|
|
521
501
|
type: Component,
|
|
522
502
|
args: [{
|
|
523
503
|
selector: 'cat-scrollable',
|
|
@@ -534,8 +514,8 @@ let CatSelect = class CatSelect {
|
|
|
534
514
|
proxyOutputs(this, this.el, ['catOpen', 'catClose', 'catChange', 'catBlur']);
|
|
535
515
|
}
|
|
536
516
|
};
|
|
537
|
-
CatSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
538
|
-
CatSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
517
|
+
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 });
|
|
518
|
+
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 });
|
|
539
519
|
CatSelect = __decorate([
|
|
540
520
|
ProxyCmp({
|
|
541
521
|
defineCustomElementFn: undefined,
|
|
@@ -543,7 +523,7 @@ CatSelect = __decorate([
|
|
|
543
523
|
methods: ['connect']
|
|
544
524
|
})
|
|
545
525
|
], CatSelect);
|
|
546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSelect, decorators: [{
|
|
547
527
|
type: Component,
|
|
548
528
|
args: [{
|
|
549
529
|
selector: 'cat-select',
|
|
@@ -559,14 +539,14 @@ let CatSelectDemo = class CatSelectDemo {
|
|
|
559
539
|
this.el = r.nativeElement;
|
|
560
540
|
}
|
|
561
541
|
};
|
|
562
|
-
CatSelectDemo.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
563
|
-
CatSelectDemo.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
542
|
+
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 });
|
|
543
|
+
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 });
|
|
564
544
|
CatSelectDemo = __decorate([
|
|
565
545
|
ProxyCmp({
|
|
566
546
|
defineCustomElementFn: undefined
|
|
567
547
|
})
|
|
568
548
|
], CatSelectDemo);
|
|
569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSelectDemo, decorators: [{
|
|
570
550
|
type: Component,
|
|
571
551
|
args: [{
|
|
572
552
|
selector: 'cat-select-demo',
|
|
@@ -581,15 +561,15 @@ let CatSkeleton = class CatSkeleton {
|
|
|
581
561
|
this.el = r.nativeElement;
|
|
582
562
|
}
|
|
583
563
|
};
|
|
584
|
-
CatSkeleton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
585
|
-
CatSkeleton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
564
|
+
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 });
|
|
565
|
+
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 });
|
|
586
566
|
CatSkeleton = __decorate([
|
|
587
567
|
ProxyCmp({
|
|
588
568
|
defineCustomElementFn: undefined,
|
|
589
569
|
inputs: ['effect', 'lines', 'size', 'variant']
|
|
590
570
|
})
|
|
591
571
|
], CatSkeleton);
|
|
592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSkeleton, decorators: [{
|
|
593
573
|
type: Component,
|
|
594
574
|
args: [{
|
|
595
575
|
selector: 'cat-skeleton',
|
|
@@ -605,15 +585,15 @@ let CatSpinner = class CatSpinner {
|
|
|
605
585
|
this.el = r.nativeElement;
|
|
606
586
|
}
|
|
607
587
|
};
|
|
608
|
-
CatSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
609
|
-
CatSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
588
|
+
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 });
|
|
589
|
+
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 });
|
|
610
590
|
CatSpinner = __decorate([
|
|
611
591
|
ProxyCmp({
|
|
612
592
|
defineCustomElementFn: undefined,
|
|
613
593
|
inputs: ['a11yLabel', 'size']
|
|
614
594
|
})
|
|
615
595
|
], CatSpinner);
|
|
616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSpinner, decorators: [{
|
|
617
597
|
type: Component,
|
|
618
598
|
args: [{
|
|
619
599
|
selector: 'cat-spinner',
|
|
@@ -630,15 +610,15 @@ let CatTab = class CatTab {
|
|
|
630
610
|
proxyOutputs(this, this.el, ['tabClick']);
|
|
631
611
|
}
|
|
632
612
|
};
|
|
633
|
-
CatTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
634
|
-
CatTab.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
613
|
+
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 });
|
|
614
|
+
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 });
|
|
635
615
|
CatTab = __decorate([
|
|
636
616
|
ProxyCmp({
|
|
637
617
|
defineCustomElementFn: undefined,
|
|
638
618
|
inputs: ['deactivated', 'icon', 'iconOnly', 'iconRight', 'label', 'url', 'urlTarget']
|
|
639
619
|
})
|
|
640
620
|
], CatTab);
|
|
641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTab, decorators: [{
|
|
642
622
|
type: Component,
|
|
643
623
|
args: [{
|
|
644
624
|
selector: 'cat-tab',
|
|
@@ -654,15 +634,15 @@ let CatTabs = class CatTabs {
|
|
|
654
634
|
this.el = r.nativeElement;
|
|
655
635
|
}
|
|
656
636
|
};
|
|
657
|
-
CatTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
658
|
-
CatTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
637
|
+
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 });
|
|
638
|
+
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 });
|
|
659
639
|
CatTabs = __decorate([
|
|
660
640
|
ProxyCmp({
|
|
661
641
|
defineCustomElementFn: undefined,
|
|
662
642
|
inputs: ['activeTab', 'tabsAlign']
|
|
663
643
|
})
|
|
664
644
|
], CatTabs);
|
|
665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTabs, decorators: [{
|
|
666
646
|
type: Component,
|
|
667
647
|
args: [{
|
|
668
648
|
selector: 'cat-tabs',
|
|
@@ -679,8 +659,8 @@ let CatTextarea = class CatTextarea {
|
|
|
679
659
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
680
660
|
}
|
|
681
661
|
};
|
|
682
|
-
CatTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
683
|
-
CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
662
|
+
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 });
|
|
663
|
+
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 });
|
|
684
664
|
CatTextarea = __decorate([
|
|
685
665
|
ProxyCmp({
|
|
686
666
|
defineCustomElementFn: undefined,
|
|
@@ -688,7 +668,7 @@ CatTextarea = __decorate([
|
|
|
688
668
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
689
669
|
})
|
|
690
670
|
], CatTextarea);
|
|
691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTextarea, decorators: [{
|
|
692
672
|
type: Component,
|
|
693
673
|
args: [{
|
|
694
674
|
selector: 'cat-textarea',
|
|
@@ -705,8 +685,8 @@ let CatToggle = class CatToggle {
|
|
|
705
685
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
706
686
|
}
|
|
707
687
|
};
|
|
708
|
-
CatToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
709
|
-
CatToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
688
|
+
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 });
|
|
689
|
+
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 });
|
|
710
690
|
CatToggle = __decorate([
|
|
711
691
|
ProxyCmp({
|
|
712
692
|
defineCustomElementFn: undefined,
|
|
@@ -714,7 +694,7 @@ CatToggle = __decorate([
|
|
|
714
694
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
715
695
|
})
|
|
716
696
|
], CatToggle);
|
|
717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatToggle, decorators: [{
|
|
718
698
|
type: Component,
|
|
719
699
|
args: [{
|
|
720
700
|
selector: 'cat-toggle',
|
|
@@ -730,15 +710,15 @@ let CatTooltip = class CatTooltip {
|
|
|
730
710
|
this.el = r.nativeElement;
|
|
731
711
|
}
|
|
732
712
|
};
|
|
733
|
-
CatTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
734
|
-
CatTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
713
|
+
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 });
|
|
714
|
+
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 });
|
|
735
715
|
CatTooltip = __decorate([
|
|
736
716
|
ProxyCmp({
|
|
737
717
|
defineCustomElementFn: undefined,
|
|
738
718
|
inputs: ['content', 'disabled', 'hideDelay', 'longTouchDuration', 'placement', 'round', 'showDelay', 'size']
|
|
739
719
|
})
|
|
740
720
|
], CatTooltip);
|
|
741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTooltip, decorators: [{
|
|
742
722
|
type: Component,
|
|
743
723
|
args: [{
|
|
744
724
|
selector: 'cat-tooltip',
|
|
@@ -753,15 +733,15 @@ class RadioValueAccessor extends ValueAccessor {
|
|
|
753
733
|
super(el);
|
|
754
734
|
}
|
|
755
735
|
}
|
|
756
|
-
RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
757
|
-
RadioValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
736
|
+
RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RadioValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
737
|
+
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: [
|
|
758
738
|
{
|
|
759
739
|
provide: NG_VALUE_ACCESSOR,
|
|
760
740
|
useExisting: RadioValueAccessor,
|
|
761
741
|
multi: true
|
|
762
742
|
}
|
|
763
743
|
], usesInheritance: true, ngImport: i0 });
|
|
764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RadioValueAccessor, decorators: [{
|
|
765
745
|
type: Directive,
|
|
766
746
|
args: [{
|
|
767
747
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -784,15 +764,15 @@ class SelectValueAccessor extends ValueAccessor {
|
|
|
784
764
|
super(el);
|
|
785
765
|
}
|
|
786
766
|
}
|
|
787
|
-
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
788
|
-
SelectValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
767
|
+
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SelectValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
768
|
+
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: [
|
|
789
769
|
{
|
|
790
770
|
provide: NG_VALUE_ACCESSOR,
|
|
791
771
|
useExisting: SelectValueAccessor,
|
|
792
772
|
multi: true
|
|
793
773
|
}
|
|
794
774
|
], usesInheritance: true, ngImport: i0 });
|
|
795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SelectValueAccessor, decorators: [{
|
|
796
776
|
type: Directive,
|
|
797
777
|
args: [{
|
|
798
778
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -815,15 +795,15 @@ class TextValueAccessor extends ValueAccessor {
|
|
|
815
795
|
super(el);
|
|
816
796
|
}
|
|
817
797
|
}
|
|
818
|
-
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
819
|
-
TextValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
798
|
+
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
799
|
+
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: [
|
|
820
800
|
{
|
|
821
801
|
provide: NG_VALUE_ACCESSOR,
|
|
822
802
|
useExisting: TextValueAccessor,
|
|
823
803
|
multi: true
|
|
824
804
|
}
|
|
825
805
|
], usesInheritance: true, ngImport: i0 });
|
|
826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TextValueAccessor, decorators: [{
|
|
827
807
|
type: Directive,
|
|
828
808
|
args: [{
|
|
829
809
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -841,6 +821,94 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
841
821
|
}]
|
|
842
822
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
843
823
|
|
|
824
|
+
/**
|
|
825
|
+
* The header of a dialog.
|
|
826
|
+
*/
|
|
827
|
+
class CatDialogHeaderComponent {
|
|
828
|
+
constructor(i18n) {
|
|
829
|
+
this.i18n = i18n;
|
|
830
|
+
this.closeTxt = this.i18n.t('dialog.close');
|
|
831
|
+
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>';
|
|
832
|
+
/**
|
|
833
|
+
* Whether the dialog can be closed via a close button.
|
|
834
|
+
*/
|
|
835
|
+
this.closable = true;
|
|
836
|
+
/**
|
|
837
|
+
* Emits when the close button is clicked.
|
|
838
|
+
*/
|
|
839
|
+
this.close = new EventEmitter();
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
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 });
|
|
843
|
+
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 });
|
|
844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogHeaderComponent, decorators: [{
|
|
845
|
+
type: Component,
|
|
846
|
+
args: [{ selector: 'cat-dialog-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
847
|
+
class: 'cat-dialog-header'
|
|
848
|
+
}, 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"] }]
|
|
849
|
+
}], ctorParameters: function () {
|
|
850
|
+
return [{ type: i3.CatI18nRegistry, decorators: [{
|
|
851
|
+
type: Inject,
|
|
852
|
+
args: [CAT_I18N_REGISTRY_TOKEN]
|
|
853
|
+
}] }];
|
|
854
|
+
}, propDecorators: { headline: [{
|
|
855
|
+
type: Input
|
|
856
|
+
}], subline: [{
|
|
857
|
+
type: Input
|
|
858
|
+
}], closable: [{
|
|
859
|
+
type: Input
|
|
860
|
+
}], close: [{
|
|
861
|
+
type: Output
|
|
862
|
+
}] } });
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* A modal dialog.
|
|
866
|
+
*/
|
|
867
|
+
class CatDialogComponent {
|
|
868
|
+
constructor(dialogRef) {
|
|
869
|
+
this.dialogRef = dialogRef;
|
|
870
|
+
}
|
|
871
|
+
ngAfterContentInit() {
|
|
872
|
+
var _a;
|
|
873
|
+
(_a = this.header) === null || _a === void 0 ? void 0 : _a.close.subscribe(() => this.dialogRef.close());
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
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 });
|
|
877
|
+
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 });
|
|
878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogComponent, decorators: [{
|
|
879
|
+
type: Component,
|
|
880
|
+
args: [{ selector: 'cat-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
881
|
+
class: 'cat-dialog-inner',
|
|
882
|
+
}, 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"] }]
|
|
883
|
+
}], ctorParameters: function () { return [{ type: i1$1.DialogRef }]; }, propDecorators: { header: [{
|
|
884
|
+
type: ContentChild,
|
|
885
|
+
args: [CatDialogHeaderComponent]
|
|
886
|
+
}] } });
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* The bottom actions of a dialog.
|
|
890
|
+
*/
|
|
891
|
+
class CatDialogActionsComponent {
|
|
892
|
+
constructor() {
|
|
893
|
+
/**
|
|
894
|
+
* Horizontal alignment of action buttons.
|
|
895
|
+
*/
|
|
896
|
+
this.align = 'end';
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
CatDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
900
|
+
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 });
|
|
901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogActionsComponent, decorators: [{
|
|
902
|
+
type: Component,
|
|
903
|
+
args: [{ selector: 'cat-dialog-actions', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
904
|
+
class: 'cat-dialog-actions',
|
|
905
|
+
'[class.cat-dialog-actions-center]': 'align === "center"',
|
|
906
|
+
'[class.cat-dialog-actions-end]': 'align === "end"'
|
|
907
|
+
}, styles: [".cat-dialog-actions-center{justify-content:center}.cat-dialog-actions-end{flex-direction:row-reverse}\n"] }]
|
|
908
|
+
}], propDecorators: { align: [{
|
|
909
|
+
type: Input
|
|
910
|
+
}] } });
|
|
911
|
+
|
|
844
912
|
const CatComponents = [
|
|
845
913
|
CatAlert,
|
|
846
914
|
CatAvatar,
|
|
@@ -853,7 +921,6 @@ const CatComponents = [
|
|
|
853
921
|
CatIcon,
|
|
854
922
|
CatInput,
|
|
855
923
|
CatLabel,
|
|
856
|
-
CatModal,
|
|
857
924
|
CatRadio,
|
|
858
925
|
CatRadioGroup,
|
|
859
926
|
CatScrollable,
|
|
@@ -896,28 +963,61 @@ class CatalystModule {
|
|
|
896
963
|
};
|
|
897
964
|
}
|
|
898
965
|
}
|
|
899
|
-
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
900
|
-
CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
966
|
+
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatalystModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
967
|
+
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, TextValueAccessor,
|
|
901
968
|
SelectValueAccessor,
|
|
902
969
|
RadioValueAccessor,
|
|
903
|
-
BooleanValueAccessor], exports: [CatAlert, CatAvatar, CatBadge, CatButton, CatCard, CatCheckbox, CatDropdown, CatFormGroup, CatIcon, CatInput, CatLabel,
|
|
970
|
+
BooleanValueAccessor, CatDialogComponent, CatDialogActionsComponent, 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, TextValueAccessor,
|
|
904
971
|
SelectValueAccessor,
|
|
905
972
|
RadioValueAccessor,
|
|
906
|
-
BooleanValueAccessor] });
|
|
907
|
-
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
973
|
+
BooleanValueAccessor, CatDialogComponent, CatDialogActionsComponent, CatDialogHeaderComponent] });
|
|
974
|
+
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatalystModule, imports: [CommonModule, DialogModule] });
|
|
975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatalystModule, decorators: [{
|
|
909
976
|
type: NgModule,
|
|
910
977
|
args: [{
|
|
911
|
-
imports: [],
|
|
912
|
-
declarations: [...CatComponents, ...CatDirectives],
|
|
913
|
-
exports: [...CatComponents, ...CatDirectives],
|
|
978
|
+
imports: [CommonModule, DialogModule],
|
|
979
|
+
declarations: [...CatComponents, ...CatDirectives, CatDialogComponent, CatDialogActionsComponent, CatDialogHeaderComponent],
|
|
980
|
+
exports: [...CatComponents, ...CatDirectives, CatDialogComponent, CatDialogActionsComponent, CatDialogHeaderComponent],
|
|
914
981
|
providers: []
|
|
915
982
|
}]
|
|
916
983
|
}] });
|
|
917
984
|
|
|
985
|
+
/**
|
|
986
|
+
* A service for managing modal dialogs.
|
|
987
|
+
*/
|
|
988
|
+
class CatDialogService {
|
|
989
|
+
constructor(dialog) {
|
|
990
|
+
this.dialog = dialog;
|
|
991
|
+
}
|
|
992
|
+
/**
|
|
993
|
+
* Opens a modal dialog containing the given component.
|
|
994
|
+
*
|
|
995
|
+
* @param component The component to render as dialog content.
|
|
996
|
+
* @param config The dialog configuration.
|
|
997
|
+
* @returns The return value of the dialog.
|
|
998
|
+
*/
|
|
999
|
+
open(component, config) {
|
|
1000
|
+
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;
|
|
1001
|
+
}
|
|
1002
|
+
/**
|
|
1003
|
+
* Closes all open dialogs.
|
|
1004
|
+
*/
|
|
1005
|
+
closeAll() {
|
|
1006
|
+
this.dialog.closeAll();
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
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 });
|
|
1010
|
+
CatDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogService, providedIn: 'root' });
|
|
1011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatDialogService, decorators: [{
|
|
1012
|
+
type: Injectable,
|
|
1013
|
+
args: [{
|
|
1014
|
+
providedIn: 'root'
|
|
1015
|
+
}]
|
|
1016
|
+
}], ctorParameters: function () { return [{ type: i1$1.Dialog }]; } });
|
|
1017
|
+
|
|
918
1018
|
/**
|
|
919
1019
|
* Generated bundle index. Do not edit.
|
|
920
1020
|
*/
|
|
921
1021
|
|
|
922
|
-
export { BooleanValueAccessor, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatCard, CatCheckbox, CatDropdown, CatFormGroup, CatIcon, CatInput, CatLabel,
|
|
1022
|
+
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 };
|
|
923
1023
|
//# sourceMappingURL=haiilo-catalyst-angular.mjs.map
|