@haiilo/catalyst-angular 2.5.0 → 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 +15 -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 +80 -80
- 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 +231 -105
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +237 -105
- 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 +25 -25
- 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',
|
|
@@ -408,8 +413,8 @@ let CatModal = class CatModal {
|
|
|
408
413
|
this.el = r.nativeElement;
|
|
409
414
|
}
|
|
410
415
|
};
|
|
411
|
-
CatModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
412
|
-
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 });
|
|
413
418
|
CatModal = __decorate([
|
|
414
419
|
ProxyCmp({
|
|
415
420
|
defineCustomElementFn: undefined,
|
|
@@ -417,7 +422,7 @@ CatModal = __decorate([
|
|
|
417
422
|
methods: ['show']
|
|
418
423
|
})
|
|
419
424
|
], CatModal);
|
|
420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatModal, decorators: [{
|
|
421
426
|
type: Component,
|
|
422
427
|
args: [{
|
|
423
428
|
selector: 'cat-modal',
|
|
@@ -433,15 +438,15 @@ let CatPagination = class CatPagination {
|
|
|
433
438
|
this.el = r.nativeElement;
|
|
434
439
|
}
|
|
435
440
|
};
|
|
436
|
-
CatPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
437
|
-
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 });
|
|
438
443
|
CatPagination = __decorate([
|
|
439
444
|
ProxyCmp({
|
|
440
445
|
defineCustomElementFn: undefined,
|
|
441
446
|
inputs: ['activePadding', 'compact', 'iconNext', 'iconPrev', 'page', 'pageCount', 'round', 'sidePadding', 'size', 'variant']
|
|
442
447
|
})
|
|
443
448
|
], CatPagination);
|
|
444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatPagination, decorators: [{
|
|
445
450
|
type: Component,
|
|
446
451
|
args: [{
|
|
447
452
|
selector: 'cat-pagination',
|
|
@@ -458,8 +463,8 @@ let CatRadio = class CatRadio {
|
|
|
458
463
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
459
464
|
}
|
|
460
465
|
};
|
|
461
|
-
CatRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
462
|
-
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 });
|
|
463
468
|
CatRadio = __decorate([
|
|
464
469
|
ProxyCmp({
|
|
465
470
|
defineCustomElementFn: undefined,
|
|
@@ -467,7 +472,7 @@ CatRadio = __decorate([
|
|
|
467
472
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
468
473
|
})
|
|
469
474
|
], CatRadio);
|
|
470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatRadio, decorators: [{
|
|
471
476
|
type: Component,
|
|
472
477
|
args: [{
|
|
473
478
|
selector: 'cat-radio',
|
|
@@ -484,15 +489,15 @@ let CatRadioGroup = class CatRadioGroup {
|
|
|
484
489
|
proxyOutputs(this, this.el, ['catChange', 'catBlur']);
|
|
485
490
|
}
|
|
486
491
|
};
|
|
487
|
-
CatRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
488
|
-
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 });
|
|
489
494
|
CatRadioGroup = __decorate([
|
|
490
495
|
ProxyCmp({
|
|
491
496
|
defineCustomElementFn: undefined,
|
|
492
497
|
inputs: ['a11yLabel', 'disabled', 'labelLeft', 'name', 'value']
|
|
493
498
|
})
|
|
494
499
|
], CatRadioGroup);
|
|
495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatRadioGroup, decorators: [{
|
|
496
501
|
type: Component,
|
|
497
502
|
args: [{
|
|
498
503
|
selector: 'cat-radio-group',
|
|
@@ -509,15 +514,15 @@ let CatScrollable = class CatScrollable {
|
|
|
509
514
|
proxyOutputs(this, this.el, ['scrolledTop', 'scrolledLeft', 'scrolledRight', 'scrolledBottom']);
|
|
510
515
|
}
|
|
511
516
|
};
|
|
512
|
-
CatScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
513
|
-
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 });
|
|
514
519
|
CatScrollable = __decorate([
|
|
515
520
|
ProxyCmp({
|
|
516
521
|
defineCustomElementFn: undefined,
|
|
517
522
|
inputs: ['noOverflowX', 'noOverflowY', 'noOverscroll', 'noScrolledInit', 'noShadowX', 'noShadowY', 'scrolledBuffer']
|
|
518
523
|
})
|
|
519
524
|
], CatScrollable);
|
|
520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatScrollable, decorators: [{
|
|
521
526
|
type: Component,
|
|
522
527
|
args: [{
|
|
523
528
|
selector: 'cat-scrollable',
|
|
@@ -534,8 +539,8 @@ let CatSelect = class CatSelect {
|
|
|
534
539
|
proxyOutputs(this, this.el, ['catOpen', 'catClose', 'catChange', 'catBlur']);
|
|
535
540
|
}
|
|
536
541
|
};
|
|
537
|
-
CatSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
538
|
-
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 });
|
|
539
544
|
CatSelect = __decorate([
|
|
540
545
|
ProxyCmp({
|
|
541
546
|
defineCustomElementFn: undefined,
|
|
@@ -543,7 +548,7 @@ CatSelect = __decorate([
|
|
|
543
548
|
methods: ['connect']
|
|
544
549
|
})
|
|
545
550
|
], CatSelect);
|
|
546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSelect, decorators: [{
|
|
547
552
|
type: Component,
|
|
548
553
|
args: [{
|
|
549
554
|
selector: 'cat-select',
|
|
@@ -559,14 +564,14 @@ let CatSelectDemo = class CatSelectDemo {
|
|
|
559
564
|
this.el = r.nativeElement;
|
|
560
565
|
}
|
|
561
566
|
};
|
|
562
|
-
CatSelectDemo.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
563
|
-
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 });
|
|
564
569
|
CatSelectDemo = __decorate([
|
|
565
570
|
ProxyCmp({
|
|
566
571
|
defineCustomElementFn: undefined
|
|
567
572
|
})
|
|
568
573
|
], CatSelectDemo);
|
|
569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSelectDemo, decorators: [{
|
|
570
575
|
type: Component,
|
|
571
576
|
args: [{
|
|
572
577
|
selector: 'cat-select-demo',
|
|
@@ -581,15 +586,15 @@ let CatSkeleton = class CatSkeleton {
|
|
|
581
586
|
this.el = r.nativeElement;
|
|
582
587
|
}
|
|
583
588
|
};
|
|
584
|
-
CatSkeleton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
585
|
-
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 });
|
|
586
591
|
CatSkeleton = __decorate([
|
|
587
592
|
ProxyCmp({
|
|
588
593
|
defineCustomElementFn: undefined,
|
|
589
594
|
inputs: ['effect', 'lines', 'size', 'variant']
|
|
590
595
|
})
|
|
591
596
|
], CatSkeleton);
|
|
592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSkeleton, decorators: [{
|
|
593
598
|
type: Component,
|
|
594
599
|
args: [{
|
|
595
600
|
selector: 'cat-skeleton',
|
|
@@ -605,15 +610,15 @@ let CatSpinner = class CatSpinner {
|
|
|
605
610
|
this.el = r.nativeElement;
|
|
606
611
|
}
|
|
607
612
|
};
|
|
608
|
-
CatSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
609
|
-
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 });
|
|
610
615
|
CatSpinner = __decorate([
|
|
611
616
|
ProxyCmp({
|
|
612
617
|
defineCustomElementFn: undefined,
|
|
613
618
|
inputs: ['a11yLabel', 'size']
|
|
614
619
|
})
|
|
615
620
|
], CatSpinner);
|
|
616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatSpinner, decorators: [{
|
|
617
622
|
type: Component,
|
|
618
623
|
args: [{
|
|
619
624
|
selector: 'cat-spinner',
|
|
@@ -630,15 +635,15 @@ let CatTab = class CatTab {
|
|
|
630
635
|
proxyOutputs(this, this.el, ['tabClick']);
|
|
631
636
|
}
|
|
632
637
|
};
|
|
633
|
-
CatTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
634
|
-
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 });
|
|
635
640
|
CatTab = __decorate([
|
|
636
641
|
ProxyCmp({
|
|
637
642
|
defineCustomElementFn: undefined,
|
|
638
643
|
inputs: ['deactivated', 'icon', 'iconOnly', 'iconRight', 'label', 'url', 'urlTarget']
|
|
639
644
|
})
|
|
640
645
|
], CatTab);
|
|
641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTab, decorators: [{
|
|
642
647
|
type: Component,
|
|
643
648
|
args: [{
|
|
644
649
|
selector: 'cat-tab',
|
|
@@ -654,15 +659,15 @@ let CatTabs = class CatTabs {
|
|
|
654
659
|
this.el = r.nativeElement;
|
|
655
660
|
}
|
|
656
661
|
};
|
|
657
|
-
CatTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
658
|
-
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 });
|
|
659
664
|
CatTabs = __decorate([
|
|
660
665
|
ProxyCmp({
|
|
661
666
|
defineCustomElementFn: undefined,
|
|
662
667
|
inputs: ['activeTab', 'tabsAlign']
|
|
663
668
|
})
|
|
664
669
|
], CatTabs);
|
|
665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTabs, decorators: [{
|
|
666
671
|
type: Component,
|
|
667
672
|
args: [{
|
|
668
673
|
selector: 'cat-tabs',
|
|
@@ -679,8 +684,8 @@ let CatTextarea = class CatTextarea {
|
|
|
679
684
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
680
685
|
}
|
|
681
686
|
};
|
|
682
|
-
CatTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
683
|
-
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 });
|
|
684
689
|
CatTextarea = __decorate([
|
|
685
690
|
ProxyCmp({
|
|
686
691
|
defineCustomElementFn: undefined,
|
|
@@ -688,7 +693,7 @@ CatTextarea = __decorate([
|
|
|
688
693
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
689
694
|
})
|
|
690
695
|
], CatTextarea);
|
|
691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTextarea, decorators: [{
|
|
692
697
|
type: Component,
|
|
693
698
|
args: [{
|
|
694
699
|
selector: 'cat-textarea',
|
|
@@ -705,8 +710,8 @@ let CatToggle = class CatToggle {
|
|
|
705
710
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
706
711
|
}
|
|
707
712
|
};
|
|
708
|
-
CatToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
709
|
-
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 });
|
|
710
715
|
CatToggle = __decorate([
|
|
711
716
|
ProxyCmp({
|
|
712
717
|
defineCustomElementFn: undefined,
|
|
@@ -714,7 +719,7 @@ CatToggle = __decorate([
|
|
|
714
719
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
715
720
|
})
|
|
716
721
|
], CatToggle);
|
|
717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatToggle, decorators: [{
|
|
718
723
|
type: Component,
|
|
719
724
|
args: [{
|
|
720
725
|
selector: 'cat-toggle',
|
|
@@ -730,15 +735,15 @@ let CatTooltip = class CatTooltip {
|
|
|
730
735
|
this.el = r.nativeElement;
|
|
731
736
|
}
|
|
732
737
|
};
|
|
733
|
-
CatTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
734
|
-
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 });
|
|
735
740
|
CatTooltip = __decorate([
|
|
736
741
|
ProxyCmp({
|
|
737
742
|
defineCustomElementFn: undefined,
|
|
738
743
|
inputs: ['content', 'disabled', 'hideDelay', 'longTouchDuration', 'placement', 'round', 'showDelay', 'size']
|
|
739
744
|
})
|
|
740
745
|
], CatTooltip);
|
|
741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CatTooltip, decorators: [{
|
|
742
747
|
type: Component,
|
|
743
748
|
args: [{
|
|
744
749
|
selector: 'cat-tooltip',
|
|
@@ -753,15 +758,15 @@ class RadioValueAccessor extends ValueAccessor {
|
|
|
753
758
|
super(el);
|
|
754
759
|
}
|
|
755
760
|
}
|
|
756
|
-
RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
757
|
-
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: [
|
|
758
763
|
{
|
|
759
764
|
provide: NG_VALUE_ACCESSOR,
|
|
760
765
|
useExisting: RadioValueAccessor,
|
|
761
766
|
multi: true
|
|
762
767
|
}
|
|
763
768
|
], usesInheritance: true, ngImport: i0 });
|
|
764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RadioValueAccessor, decorators: [{
|
|
765
770
|
type: Directive,
|
|
766
771
|
args: [{
|
|
767
772
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -784,15 +789,15 @@ class SelectValueAccessor extends ValueAccessor {
|
|
|
784
789
|
super(el);
|
|
785
790
|
}
|
|
786
791
|
}
|
|
787
|
-
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
788
|
-
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: [
|
|
789
794
|
{
|
|
790
795
|
provide: NG_VALUE_ACCESSOR,
|
|
791
796
|
useExisting: SelectValueAccessor,
|
|
792
797
|
multi: true
|
|
793
798
|
}
|
|
794
799
|
], usesInheritance: true, ngImport: i0 });
|
|
795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SelectValueAccessor, decorators: [{
|
|
796
801
|
type: Directive,
|
|
797
802
|
args: [{
|
|
798
803
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -815,15 +820,15 @@ class TextValueAccessor extends ValueAccessor {
|
|
|
815
820
|
super(el);
|
|
816
821
|
}
|
|
817
822
|
}
|
|
818
|
-
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
819
|
-
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: [
|
|
820
825
|
{
|
|
821
826
|
provide: NG_VALUE_ACCESSOR,
|
|
822
827
|
useExisting: TextValueAccessor,
|
|
823
828
|
multi: true
|
|
824
829
|
}
|
|
825
830
|
], usesInheritance: true, ngImport: i0 });
|
|
826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TextValueAccessor, decorators: [{
|
|
827
832
|
type: Directive,
|
|
828
833
|
args: [{
|
|
829
834
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -841,6 +846,94 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
841
846
|
}]
|
|
842
847
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
843
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
|
+
|
|
844
937
|
const CatComponents = [
|
|
845
938
|
CatAlert,
|
|
846
939
|
CatAvatar,
|
|
@@ -896,28 +989,61 @@ class CatalystModule {
|
|
|
896
989
|
};
|
|
897
990
|
}
|
|
898
991
|
}
|
|
899
|
-
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
900
|
-
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,
|
|
901
994
|
SelectValueAccessor,
|
|
902
995
|
RadioValueAccessor,
|
|
903
|
-
BooleanValueAccessor], 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,
|
|
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,
|
|
904
997
|
SelectValueAccessor,
|
|
905
998
|
RadioValueAccessor,
|
|
906
|
-
BooleanValueAccessor] });
|
|
907
|
-
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
908
|
-
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: [{
|
|
909
1002
|
type: NgModule,
|
|
910
1003
|
args: [{
|
|
911
|
-
imports: [],
|
|
912
|
-
declarations: [...CatComponents, ...CatDirectives],
|
|
913
|
-
exports: [...CatComponents, ...CatDirectives],
|
|
1004
|
+
imports: [CommonModule, DialogModule],
|
|
1005
|
+
declarations: [...CatComponents, ...CatDirectives, CatDialogComponent, CatDialogActionsComponent, CatDialogHeaderComponent],
|
|
1006
|
+
exports: [...CatComponents, ...CatDirectives, CatDialogComponent, CatDialogActionsComponent, CatDialogHeaderComponent],
|
|
914
1007
|
providers: []
|
|
915
1008
|
}]
|
|
916
1009
|
}] });
|
|
917
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
|
+
|
|
918
1044
|
/**
|
|
919
1045
|
* Generated bundle index. Do not edit.
|
|
920
1046
|
*/
|
|
921
1047
|
|
|
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, 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 };
|
|
923
1049
|
//# sourceMappingURL=haiilo-catalyst-angular.mjs.map
|