@haiilo/catalyst-angular 10.5.0 → 10.7.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 +20 -8
- package/esm2020/lib/datetime/datetime.component.mjs +130 -0
- package/esm2020/lib/dialog/dialog-actions.component.mjs +3 -3
- package/esm2020/lib/dialog/dialog-header.component.mjs +3 -3
- package/esm2020/lib/dialog/dialog.component.mjs +3 -3
- package/esm2020/lib/dialog/dialog.service.mjs +3 -3
- package/esm2020/lib/directives/boolean-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/date-value-accessor.mjs +51 -0
- package/esm2020/lib/directives/proxies.mjs +90 -90
- package/esm2020/lib/directives/radio-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/select-value-accessor-decorator.mjs +3 -3
- package/esm2020/lib/directives/select-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/text-value-accessor.mjs +5 -5
- package/esm2020/lib/directives/time-value-accessor.mjs +55 -0
- package/esm2020/lib/directives/value-accessor-decorator.mjs +3 -3
- package/esm2020/lib/directives/value-accessor.mjs +3 -3
- package/esm2020/public-api.mjs +4 -1
- package/fesm2015/haiilo-catalyst-angular.mjs +374 -131
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +363 -131
- package/fesm2020/haiilo-catalyst-angular.mjs.map +1 -1
- package/lib/catalyst.module.d.ts +14 -11
- package/lib/datetime/datetime.component.d.ts +29 -0
- package/lib/directives/date-value-accessor.d.ts +11 -0
- package/lib/directives/proxies.d.ts +1 -1
- package/lib/directives/text-value-accessor.d.ts +1 -1
- package/lib/directives/time-value-accessor.d.ts +11 -0
- package/package.json +3 -3
- package/public-api.d.ts +3 -0
|
@@ -24,9 +24,9 @@ class CatDialogActionsComponent {
|
|
|
24
24
|
this.align = 'end';
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
CatDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
28
|
-
CatDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
27
|
+
CatDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
CatDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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\"", "class.cat-dialog-actions-space-between": "align === \"space-between\"" }, 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{justify-content:end}.cat-dialog-actions-space-between{justify-content:space-between}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogActionsComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{ selector: 'cat-dialog-actions', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
32
32
|
class: 'cat-dialog-actions',
|
|
@@ -102,14 +102,14 @@ let CatAlert = class CatAlert {
|
|
|
102
102
|
this.el = r.nativeElement;
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
-
CatAlert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
106
|
-
CatAlert.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
105
|
+
CatAlert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatAlert, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
106
|
+
CatAlert.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
107
107
|
CatAlert = __decorate([
|
|
108
108
|
ProxyCmp({
|
|
109
109
|
inputs: ['color', 'icon', 'noIcon']
|
|
110
110
|
})
|
|
111
111
|
], CatAlert);
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatAlert, decorators: [{
|
|
113
113
|
type: Component,
|
|
114
114
|
args: [{
|
|
115
115
|
selector: 'cat-alert',
|
|
@@ -126,14 +126,14 @@ let CatAvatar = class CatAvatar {
|
|
|
126
126
|
this.el = r.nativeElement;
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
|
-
CatAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
130
|
-
CatAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
129
|
+
CatAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
130
|
+
CatAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
131
131
|
CatAvatar = __decorate([
|
|
132
132
|
ProxyCmp({
|
|
133
133
|
inputs: ['icon', 'initials', 'label', 'round', 'size', 'src', 'url', 'urlTarget']
|
|
134
134
|
})
|
|
135
135
|
], CatAvatar);
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatAvatar, decorators: [{
|
|
137
137
|
type: Component,
|
|
138
138
|
args: [{
|
|
139
139
|
selector: 'cat-avatar',
|
|
@@ -150,14 +150,14 @@ let CatBadge = class CatBadge {
|
|
|
150
150
|
this.el = r.nativeElement;
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
|
-
CatBadge.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
154
|
-
CatBadge.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
153
|
+
CatBadge.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatBadge, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
154
|
+
CatBadge.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
155
155
|
CatBadge = __decorate([
|
|
156
156
|
ProxyCmp({
|
|
157
157
|
inputs: ['color', 'pulse', 'round', 'size', 'variant']
|
|
158
158
|
})
|
|
159
159
|
], CatBadge);
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatBadge, decorators: [{
|
|
161
161
|
type: Component,
|
|
162
162
|
args: [{
|
|
163
163
|
selector: 'cat-badge',
|
|
@@ -175,15 +175,15 @@ let CatButton = class CatButton {
|
|
|
175
175
|
proxyOutputs(this, this.el, ['catClick', 'catFocus', 'catBlur']);
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
|
-
CatButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
179
|
-
CatButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
178
|
+
CatButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
179
|
+
CatButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatButton, selector: "cat-button", inputs: { a11yCurrent: "a11yCurrent", a11yLabel: "a11yLabel", active: "active", buttonGroupPosition: "buttonGroupPosition", buttonId: "buttonId", color: "color", disabled: "disabled", icon: "icon", iconOnly: "iconOnly", iconRight: "iconRight", loading: "loading", name: "name", nativeAttributes: "nativeAttributes", nativeContentAttributes: "nativeContentAttributes", 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 });
|
|
180
180
|
CatButton = __decorate([
|
|
181
181
|
ProxyCmp({
|
|
182
182
|
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonGroupPosition', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'loading', 'name', 'nativeAttributes', 'nativeContentAttributes', 'noEllipsis', 'round', 'size', 'submit', 'url', 'urlTarget', 'value', 'variant'],
|
|
183
183
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
184
184
|
})
|
|
185
185
|
], CatButton);
|
|
186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatButton, decorators: [{
|
|
187
187
|
type: Component,
|
|
188
188
|
args: [{
|
|
189
189
|
selector: 'cat-button',
|
|
@@ -200,14 +200,14 @@ let CatButtonGroup = class CatButtonGroup {
|
|
|
200
200
|
this.el = r.nativeElement;
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
|
-
CatButtonGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
204
|
-
CatButtonGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
203
|
+
CatButtonGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatButtonGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
204
|
+
CatButtonGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatButtonGroup, selector: "cat-button-group", inputs: { a11yLabel: "a11yLabel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
205
205
|
CatButtonGroup = __decorate([
|
|
206
206
|
ProxyCmp({
|
|
207
207
|
inputs: ['a11yLabel']
|
|
208
208
|
})
|
|
209
209
|
], CatButtonGroup);
|
|
210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatButtonGroup, decorators: [{
|
|
211
211
|
type: Component,
|
|
212
212
|
args: [{
|
|
213
213
|
selector: 'cat-button-group',
|
|
@@ -224,12 +224,12 @@ let CatCard = class CatCard {
|
|
|
224
224
|
this.el = r.nativeElement;
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
|
-
CatCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
228
|
-
CatCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
227
|
+
CatCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCard, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
228
|
+
CatCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatCard, selector: "cat-card", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
229
229
|
CatCard = __decorate([
|
|
230
230
|
ProxyCmp({})
|
|
231
231
|
], CatCard);
|
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCard, decorators: [{
|
|
233
233
|
type: Component,
|
|
234
234
|
args: [{
|
|
235
235
|
selector: 'cat-card',
|
|
@@ -247,15 +247,15 @@ let CatCheckbox = class CatCheckbox {
|
|
|
247
247
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
|
-
CatCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
251
|
-
CatCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
250
|
+
CatCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
251
|
+
CatCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatCheckbox, selector: "cat-checkbox", inputs: { checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", indeterminate: "indeterminate", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", noValue: "noValue", required: "required", resolvedValue: "resolvedValue", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
252
252
|
CatCheckbox = __decorate([
|
|
253
253
|
ProxyCmp({
|
|
254
254
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'resolvedValue', 'value'],
|
|
255
255
|
methods: ['doFocus', 'doBlur']
|
|
256
256
|
})
|
|
257
257
|
], CatCheckbox);
|
|
258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCheckbox, decorators: [{
|
|
259
259
|
type: Component,
|
|
260
260
|
args: [{
|
|
261
261
|
selector: 'cat-checkbox',
|
|
@@ -273,15 +273,15 @@ let CatDate = class CatDate {
|
|
|
273
273
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
|
-
CatDate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
277
|
-
CatDate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
276
|
+
CatDate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDate, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
277
|
+
CatDate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDate, selector: "cat-date", inputs: { autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", max: "max", min: "min", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", placement: "placement", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", textPrefix: "textPrefix", textSuffix: "textSuffix", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
278
278
|
CatDate = __decorate([
|
|
279
279
|
ProxyCmp({
|
|
280
280
|
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'min', 'name', 'nativeAttributes', 'placeholder', 'placement', 'readonly', 'required', 'requiredMarker', 'textPrefix', 'textSuffix', 'value'],
|
|
281
281
|
methods: ['doFocus', 'doBlur', 'clear']
|
|
282
282
|
})
|
|
283
283
|
], CatDate);
|
|
284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDate, decorators: [{
|
|
285
285
|
type: Component,
|
|
286
286
|
args: [{
|
|
287
287
|
selector: 'cat-date',
|
|
@@ -299,15 +299,15 @@ let CatDateInline = class CatDateInline {
|
|
|
299
299
|
proxyOutputs(this, this.el, ['catChange']);
|
|
300
300
|
}
|
|
301
301
|
};
|
|
302
|
-
CatDateInline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
303
|
-
CatDateInline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
302
|
+
CatDateInline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDateInline, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
303
|
+
CatDateInline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDateInline, selector: "cat-date-inline", inputs: { max: "max", min: "min", noClear: "noClear", noHint: "noHint", noToday: "noToday", noWeeks: "noWeeks", range: "range", size: "size", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
304
304
|
CatDateInline = __decorate([
|
|
305
305
|
ProxyCmp({
|
|
306
306
|
inputs: ['max', 'min', 'noClear', 'noHint', 'noToday', 'noWeeks', 'range', 'size', 'value'],
|
|
307
307
|
methods: ['select', 'clear', 'resetView']
|
|
308
308
|
})
|
|
309
309
|
], CatDateInline);
|
|
310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDateInline, decorators: [{
|
|
311
311
|
type: Component,
|
|
312
312
|
args: [{
|
|
313
313
|
selector: 'cat-date-inline',
|
|
@@ -325,15 +325,15 @@ let CatDatepicker = class CatDatepicker {
|
|
|
325
325
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
326
326
|
}
|
|
327
327
|
};
|
|
328
|
-
CatDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
329
|
-
CatDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
328
|
+
CatDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
329
|
+
CatDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDatepicker, selector: "cat-datepicker", inputs: { attachToElement: "attachToElement", autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", max: "max", min: "min", mode: "mode", name: "name", nativeAttributes: "nativeAttributes", nativePickerAttributes: "nativePickerAttributes", placeholder: "placeholder", position: "position", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", step: "step", textPrefix: "textPrefix", textSuffix: "textSuffix", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
330
330
|
CatDatepicker = __decorate([
|
|
331
331
|
ProxyCmp({
|
|
332
332
|
inputs: ['attachToElement', 'autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'min', 'mode', 'name', 'nativeAttributes', 'nativePickerAttributes', 'placeholder', 'position', 'readonly', 'required', 'requiredMarker', 'step', 'textPrefix', 'textSuffix', 'value'],
|
|
333
333
|
methods: ['doFocus', 'doBlur']
|
|
334
334
|
})
|
|
335
335
|
], CatDatepicker);
|
|
336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepicker, decorators: [{
|
|
337
337
|
type: Component,
|
|
338
338
|
args: [{
|
|
339
339
|
selector: 'cat-datepicker',
|
|
@@ -351,14 +351,14 @@ let CatDatepickerInline = class CatDatepickerInline {
|
|
|
351
351
|
proxyOutputs(this, this.el, ['catChange']);
|
|
352
352
|
}
|
|
353
353
|
};
|
|
354
|
-
CatDatepickerInline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
355
|
-
CatDatepickerInline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
354
|
+
CatDatepickerInline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepickerInline, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
355
|
+
CatDatepickerInline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDatepickerInline, selector: "cat-datepicker-inline", inputs: { disabled: "disabled", max: "max", min: "min", mode: "mode", nativePickerAttributes: "nativePickerAttributes", readonly: "readonly", step: "step", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
356
356
|
CatDatepickerInline = __decorate([
|
|
357
357
|
ProxyCmp({
|
|
358
358
|
inputs: ['disabled', 'max', 'min', 'mode', 'nativePickerAttributes', 'readonly', 'step', 'value']
|
|
359
359
|
})
|
|
360
360
|
], CatDatepickerInline);
|
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepickerInline, decorators: [{
|
|
362
362
|
type: Component,
|
|
363
363
|
args: [{
|
|
364
364
|
selector: 'cat-datepicker-inline',
|
|
@@ -376,22 +376,22 @@ let CatDropdown = class CatDropdown {
|
|
|
376
376
|
proxyOutputs(this, this.el, ['catOpen', 'catClose']);
|
|
377
377
|
}
|
|
378
378
|
};
|
|
379
|
-
CatDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
380
|
-
CatDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
379
|
+
CatDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
380
|
+
CatDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDropdown, selector: "cat-dropdown", inputs: { arrowNavigation: "arrowNavigation", noAutoClose: "noAutoClose", noInitialFocus: "noInitialFocus", noResize: "noResize", overflow: "overflow", placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
381
381
|
CatDropdown = __decorate([
|
|
382
382
|
ProxyCmp({
|
|
383
|
-
inputs: ['arrowNavigation', 'noAutoClose', 'noResize', 'overflow', 'placement'],
|
|
383
|
+
inputs: ['arrowNavigation', 'noAutoClose', 'noInitialFocus', 'noResize', 'overflow', 'placement'],
|
|
384
384
|
methods: ['toggle', 'open', 'close']
|
|
385
385
|
})
|
|
386
386
|
], CatDropdown);
|
|
387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDropdown, decorators: [{
|
|
388
388
|
type: Component,
|
|
389
389
|
args: [{
|
|
390
390
|
selector: 'cat-dropdown',
|
|
391
391
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
392
392
|
template: '<ng-content></ng-content>',
|
|
393
393
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
394
|
-
inputs: ['arrowNavigation', 'noAutoClose', 'noResize', 'overflow', 'placement'],
|
|
394
|
+
inputs: ['arrowNavigation', 'noAutoClose', 'noInitialFocus', 'noResize', 'overflow', 'placement'],
|
|
395
395
|
}]
|
|
396
396
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
397
397
|
let CatFormGroup = class CatFormGroup {
|
|
@@ -401,14 +401,14 @@ let CatFormGroup = class CatFormGroup {
|
|
|
401
401
|
this.el = r.nativeElement;
|
|
402
402
|
}
|
|
403
403
|
};
|
|
404
|
-
CatFormGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
405
|
-
CatFormGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
404
|
+
CatFormGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatFormGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
405
|
+
CatFormGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatFormGroup, selector: "cat-form-group", inputs: { horizontal: "horizontal", labelSize: "labelSize", requiredMarker: "requiredMarker" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
406
406
|
CatFormGroup = __decorate([
|
|
407
407
|
ProxyCmp({
|
|
408
408
|
inputs: ['horizontal', 'labelSize', 'requiredMarker']
|
|
409
409
|
})
|
|
410
410
|
], CatFormGroup);
|
|
411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatFormGroup, decorators: [{
|
|
412
412
|
type: Component,
|
|
413
413
|
args: [{
|
|
414
414
|
selector: 'cat-form-group',
|
|
@@ -425,14 +425,14 @@ let CatIcon = class CatIcon {
|
|
|
425
425
|
this.el = r.nativeElement;
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
|
-
CatIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
429
|
-
CatIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
428
|
+
CatIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
429
|
+
CatIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
430
430
|
CatIcon = __decorate([
|
|
431
431
|
ProxyCmp({
|
|
432
432
|
inputs: ['a11yLabel', 'icon', 'iconSrc', 'size']
|
|
433
433
|
})
|
|
434
434
|
], CatIcon);
|
|
435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatIcon, decorators: [{
|
|
436
436
|
type: Component,
|
|
437
437
|
args: [{
|
|
438
438
|
selector: 'cat-icon',
|
|
@@ -450,15 +450,15 @@ let CatInput = class CatInput {
|
|
|
450
450
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
451
451
|
}
|
|
452
452
|
};
|
|
453
|
-
CatInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
454
|
-
CatInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
453
|
+
CatInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
454
|
+
CatInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatInput, selector: "cat-input", inputs: { autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", max: "max", maxLength: "maxLength", min: "min", minLength: "minLength", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", round: "round", textPrefix: "textPrefix", textSuffix: "textSuffix", togglePassword: "togglePassword", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
455
455
|
CatInput = __decorate([
|
|
456
456
|
ProxyCmp({
|
|
457
457
|
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'maxLength', 'min', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'round', 'textPrefix', 'textSuffix', 'togglePassword', 'type', 'value'],
|
|
458
458
|
methods: ['doFocus', 'doBlur', 'clear', 'mask']
|
|
459
459
|
})
|
|
460
460
|
], CatInput);
|
|
461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatInput, decorators: [{
|
|
462
462
|
type: Component,
|
|
463
463
|
args: [{
|
|
464
464
|
selector: 'cat-input',
|
|
@@ -476,14 +476,14 @@ let CatPagination = class CatPagination {
|
|
|
476
476
|
proxyOutputs(this, this.el, ['catChange']);
|
|
477
477
|
}
|
|
478
478
|
};
|
|
479
|
-
CatPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
480
|
-
CatPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
479
|
+
CatPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
480
|
+
CatPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
481
481
|
CatPagination = __decorate([
|
|
482
482
|
ProxyCmp({
|
|
483
483
|
inputs: ['activePadding', 'compact', 'iconNext', 'iconPrev', 'page', 'pageCount', 'round', 'sidePadding', 'size', 'variant']
|
|
484
484
|
})
|
|
485
485
|
], CatPagination);
|
|
486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatPagination, decorators: [{
|
|
487
487
|
type: Component,
|
|
488
488
|
args: [{
|
|
489
489
|
selector: 'cat-pagination',
|
|
@@ -501,15 +501,15 @@ let CatRadio = class CatRadio {
|
|
|
501
501
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
502
502
|
}
|
|
503
503
|
};
|
|
504
|
-
CatRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
505
|
-
CatRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
504
|
+
CatRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
505
|
+
CatRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatRadio, selector: "cat-radio", inputs: { checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
506
506
|
CatRadio = __decorate([
|
|
507
507
|
ProxyCmp({
|
|
508
508
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
509
509
|
methods: ['doFocus', 'doBlur']
|
|
510
510
|
})
|
|
511
511
|
], CatRadio);
|
|
512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadio, decorators: [{
|
|
513
513
|
type: Component,
|
|
514
514
|
args: [{
|
|
515
515
|
selector: 'cat-radio',
|
|
@@ -527,14 +527,14 @@ let CatRadioGroup = class CatRadioGroup {
|
|
|
527
527
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
528
528
|
}
|
|
529
529
|
};
|
|
530
|
-
CatRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
531
|
-
CatRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
530
|
+
CatRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
531
|
+
CatRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
532
532
|
CatRadioGroup = __decorate([
|
|
533
533
|
ProxyCmp({
|
|
534
534
|
inputs: ['a11yLabel', 'disabled', 'labelLeft', 'name', 'value']
|
|
535
535
|
})
|
|
536
536
|
], CatRadioGroup);
|
|
537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadioGroup, decorators: [{
|
|
538
538
|
type: Component,
|
|
539
539
|
args: [{
|
|
540
540
|
selector: 'cat-radio-group',
|
|
@@ -552,14 +552,14 @@ let CatScrollable = class CatScrollable {
|
|
|
552
552
|
proxyOutputs(this, this.el, ['scrolledTop', 'scrolledLeft', 'scrolledRight', 'scrolledBottom']);
|
|
553
553
|
}
|
|
554
554
|
};
|
|
555
|
-
CatScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
556
|
-
CatScrollable.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
555
|
+
CatScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatScrollable, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
556
|
+
CatScrollable.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
557
557
|
CatScrollable = __decorate([
|
|
558
558
|
ProxyCmp({
|
|
559
559
|
inputs: ['noOverflowX', 'noOverflowY', 'noOverscroll', 'noScrolledInit', 'noShadowX', 'noShadowY', 'scrolledBuffer']
|
|
560
560
|
})
|
|
561
561
|
], CatScrollable);
|
|
562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatScrollable, decorators: [{
|
|
563
563
|
type: Component,
|
|
564
564
|
args: [{
|
|
565
565
|
selector: 'cat-scrollable',
|
|
@@ -577,15 +577,15 @@ let CatSelect = class CatSelect {
|
|
|
577
577
|
proxyOutputs(this, this.el, ['catOpen', 'catClose', 'catChange', 'catBlur']);
|
|
578
578
|
}
|
|
579
579
|
};
|
|
580
|
-
CatSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
581
|
-
CatSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
580
|
+
CatSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
581
|
+
CatSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatSelect, selector: "cat-select", inputs: { clearable: "clearable", debounce: "debounce", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", identifier: "identifier", label: "label", labelHidden: "labelHidden", multiple: "multiple", name: "name", nativeAttributes: "nativeAttributes", noItems: "noItems", placeholder: "placeholder", placement: "placement", required: "required", requiredMarker: "requiredMarker", tagHint: "tagHint", tags: "tags", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
582
582
|
CatSelect = __decorate([
|
|
583
583
|
ProxyCmp({
|
|
584
584
|
inputs: ['clearable', 'debounce', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'nativeAttributes', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'tagHint', 'tags', 'value'],
|
|
585
585
|
methods: ['doFocus', 'doBlur', 'clear', 'connect']
|
|
586
586
|
})
|
|
587
587
|
], CatSelect);
|
|
588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelect, decorators: [{
|
|
589
589
|
type: Component,
|
|
590
590
|
args: [{
|
|
591
591
|
selector: 'cat-select',
|
|
@@ -602,12 +602,12 @@ let CatSelectDemo = class CatSelectDemo {
|
|
|
602
602
|
this.el = r.nativeElement;
|
|
603
603
|
}
|
|
604
604
|
};
|
|
605
|
-
CatSelectDemo.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
606
|
-
CatSelectDemo.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
605
|
+
CatSelectDemo.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelectDemo, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
606
|
+
CatSelectDemo.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatSelectDemo, selector: "cat-select-demo", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
607
607
|
CatSelectDemo = __decorate([
|
|
608
608
|
ProxyCmp({})
|
|
609
609
|
], CatSelectDemo);
|
|
610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelectDemo, decorators: [{
|
|
611
611
|
type: Component,
|
|
612
612
|
args: [{
|
|
613
613
|
selector: 'cat-select-demo',
|
|
@@ -624,14 +624,14 @@ let CatSkeleton = class CatSkeleton {
|
|
|
624
624
|
this.el = r.nativeElement;
|
|
625
625
|
}
|
|
626
626
|
};
|
|
627
|
-
CatSkeleton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
628
|
-
CatSkeleton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
627
|
+
CatSkeleton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSkeleton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
628
|
+
CatSkeleton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
629
629
|
CatSkeleton = __decorate([
|
|
630
630
|
ProxyCmp({
|
|
631
631
|
inputs: ['effect', 'lines', 'size', 'variant']
|
|
632
632
|
})
|
|
633
633
|
], CatSkeleton);
|
|
634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSkeleton, decorators: [{
|
|
635
635
|
type: Component,
|
|
636
636
|
args: [{
|
|
637
637
|
selector: 'cat-skeleton',
|
|
@@ -648,14 +648,14 @@ let CatSpinner = class CatSpinner {
|
|
|
648
648
|
this.el = r.nativeElement;
|
|
649
649
|
}
|
|
650
650
|
};
|
|
651
|
-
CatSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
652
|
-
CatSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
651
|
+
CatSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSpinner, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
652
|
+
CatSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatSpinner, selector: "cat-spinner", inputs: { a11yLabel: "a11yLabel", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
653
653
|
CatSpinner = __decorate([
|
|
654
654
|
ProxyCmp({
|
|
655
655
|
inputs: ['a11yLabel', 'size']
|
|
656
656
|
})
|
|
657
657
|
], CatSpinner);
|
|
658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSpinner, decorators: [{
|
|
659
659
|
type: Component,
|
|
660
660
|
args: [{
|
|
661
661
|
selector: 'cat-spinner',
|
|
@@ -673,14 +673,14 @@ let CatTab = class CatTab {
|
|
|
673
673
|
proxyOutputs(this, this.el, ['catClick']);
|
|
674
674
|
}
|
|
675
675
|
};
|
|
676
|
-
CatTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
677
|
-
CatTab.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
676
|
+
CatTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTab, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
677
|
+
CatTab.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTab, selector: "cat-tab", inputs: { deactivated: "deactivated", error: "error", icon: "icon", iconOnly: "iconOnly", iconRight: "iconRight", label: "label", nativeAttributes: "nativeAttributes", url: "url", urlTarget: "urlTarget" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
678
678
|
CatTab = __decorate([
|
|
679
679
|
ProxyCmp({
|
|
680
680
|
inputs: ['deactivated', 'error', 'icon', 'iconOnly', 'iconRight', 'label', 'nativeAttributes', 'url', 'urlTarget']
|
|
681
681
|
})
|
|
682
682
|
], CatTab);
|
|
683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTab, decorators: [{
|
|
684
684
|
type: Component,
|
|
685
685
|
args: [{
|
|
686
686
|
selector: 'cat-tab',
|
|
@@ -698,15 +698,15 @@ let CatTabs = class CatTabs {
|
|
|
698
698
|
proxyOutputs(this, this.el, ['catChange']);
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
|
-
CatTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
702
|
-
CatTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
701
|
+
CatTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTabs, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
702
|
+
CatTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTabs, selector: "cat-tabs", inputs: { activeTab: "activeTab", tabsAlign: "tabsAlign" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
703
703
|
CatTabs = __decorate([
|
|
704
704
|
ProxyCmp({
|
|
705
705
|
inputs: ['activeTab', 'tabsAlign'],
|
|
706
706
|
methods: ['setActive', 'setActiveIndex']
|
|
707
707
|
})
|
|
708
708
|
], CatTabs);
|
|
709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTabs, decorators: [{
|
|
710
710
|
type: Component,
|
|
711
711
|
args: [{
|
|
712
712
|
selector: 'cat-tabs',
|
|
@@ -724,15 +724,15 @@ let CatTextarea = class CatTextarea {
|
|
|
724
724
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
725
725
|
}
|
|
726
726
|
};
|
|
727
|
-
CatTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
728
|
-
CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
727
|
+
CatTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
728
|
+
CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTextarea, selector: "cat-textarea", inputs: { disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", identifier: "identifier", label: "label", labelHidden: "labelHidden", maxLength: "maxLength", minLength: "minLength", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", rows: "rows", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
729
729
|
CatTextarea = __decorate([
|
|
730
730
|
ProxyCmp({
|
|
731
731
|
inputs: ['disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value'],
|
|
732
732
|
methods: ['doFocus', 'doBlur', 'clear']
|
|
733
733
|
})
|
|
734
734
|
], CatTextarea);
|
|
735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTextarea, decorators: [{
|
|
736
736
|
type: Component,
|
|
737
737
|
args: [{
|
|
738
738
|
selector: 'cat-textarea',
|
|
@@ -750,15 +750,15 @@ let CatTime = class CatTime {
|
|
|
750
750
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
751
751
|
}
|
|
752
752
|
};
|
|
753
|
-
CatTime.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
754
|
-
CatTime.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
753
|
+
CatTime.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTime, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
754
|
+
CatTime.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTime, selector: "cat-time", inputs: { autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", max: "max", min: "min", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", placement: "placement", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", step: "step", textPrefix: "textPrefix", textSuffix: "textSuffix", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
755
755
|
CatTime = __decorate([
|
|
756
756
|
ProxyCmp({
|
|
757
757
|
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'min', 'name', 'nativeAttributes', 'placeholder', 'placement', 'readonly', 'required', 'requiredMarker', 'step', 'textPrefix', 'textSuffix', 'value'],
|
|
758
758
|
methods: ['select', 'doFocus', 'doBlur', 'clear']
|
|
759
759
|
})
|
|
760
760
|
], CatTime);
|
|
761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTime, decorators: [{
|
|
762
762
|
type: Component,
|
|
763
763
|
args: [{
|
|
764
764
|
selector: 'cat-time',
|
|
@@ -776,15 +776,15 @@ let CatToggle = class CatToggle {
|
|
|
776
776
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
777
777
|
}
|
|
778
778
|
};
|
|
779
|
-
CatToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
780
|
-
CatToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
779
|
+
CatToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
780
|
+
CatToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatToggle, selector: "cat-toggle", inputs: { checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", noValue: "noValue", required: "required", resolvedValue: "resolvedValue", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
781
781
|
CatToggle = __decorate([
|
|
782
782
|
ProxyCmp({
|
|
783
783
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'resolvedValue', 'value'],
|
|
784
784
|
methods: ['doFocus', 'doBlur']
|
|
785
785
|
})
|
|
786
786
|
], CatToggle);
|
|
787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatToggle, decorators: [{
|
|
788
788
|
type: Component,
|
|
789
789
|
args: [{
|
|
790
790
|
selector: 'cat-toggle',
|
|
@@ -801,14 +801,14 @@ let CatTooltip = class CatTooltip {
|
|
|
801
801
|
this.el = r.nativeElement;
|
|
802
802
|
}
|
|
803
803
|
};
|
|
804
|
-
CatTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
805
|
-
CatTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
804
|
+
CatTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
805
|
+
CatTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 });
|
|
806
806
|
CatTooltip = __decorate([
|
|
807
807
|
ProxyCmp({
|
|
808
808
|
inputs: ['content', 'disabled', 'hideDelay', 'longTouchDuration', 'placement', 'round', 'showDelay', 'size']
|
|
809
809
|
})
|
|
810
810
|
], CatTooltip);
|
|
811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTooltip, decorators: [{
|
|
812
812
|
type: Component,
|
|
813
813
|
args: [{
|
|
814
814
|
selector: 'cat-tooltip',
|
|
@@ -836,9 +836,9 @@ class CatDialogHeaderComponent {
|
|
|
836
836
|
this.close = new EventEmitter();
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
|
-
CatDialogHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
840
|
-
CatDialogHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
839
|
+
CatDialogHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogHeaderComponent, deps: [{ token: CAT_I18N_REGISTRY_TOKEN }], target: i0.ɵɵFactoryTarget.Component });
|
|
840
|
+
CatDialogHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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 icon=\"$cat:dialog-close\"\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", "buttonGroupPosition", "buttonId", "color", "disabled", "icon", "iconOnly", "iconRight", "loading", "name", "nativeAttributes", "nativeContentAttributes", "noEllipsis", "round", "size", "submit", "url", "urlTarget", "value", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogHeaderComponent, decorators: [{
|
|
842
842
|
type: Component,
|
|
843
843
|
args: [{ selector: 'cat-dialog-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
844
844
|
class: 'cat-dialog-header'
|
|
@@ -870,9 +870,9 @@ class CatDialogComponent {
|
|
|
870
870
|
(_a = this.header) === null || _a === void 0 ? void 0 : _a.close.subscribe(() => this.dialogRef.close());
|
|
871
871
|
}
|
|
872
872
|
}
|
|
873
|
-
CatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
874
|
-
CatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
873
|
+
CatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogComponent, deps: [{ token: i1$1.DialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
874
|
+
CatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDialogComponent, selector: "cat-dialog", host: { classAttribute: "cat-dialog" }, 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}.cat-backdrop{transition-duration:.5s}.cat-dialog-pane .cdk-dialog-container>*:only-child{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}.cat-dialog{width:100%;height:100%;min-height:inherit;max-height:inherit;animation:cat-dialog-enter .25s ease}@keyframes cat-dialog-enter{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}\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 });
|
|
875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogComponent, decorators: [{
|
|
876
876
|
type: Component,
|
|
877
877
|
args: [{ selector: 'cat-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
878
878
|
class: 'cat-dialog'
|
|
@@ -910,9 +910,9 @@ class ValueAccessor {
|
|
|
910
910
|
this.el.nativeElement.disabled = isDisabled;
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
|
-
ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
914
|
-
ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
913
|
+
ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
914
|
+
ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
|
|
915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessor, decorators: [{
|
|
916
916
|
type: Directive,
|
|
917
917
|
args: [{}]
|
|
918
918
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
|
|
@@ -928,15 +928,15 @@ class BooleanValueAccessor extends ValueAccessor {
|
|
|
928
928
|
this.el.nativeElement.checked = this.lastValue = this.el.nativeElement.value == null ? value : this.el.nativeElement.value === value;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
-
BooleanValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
932
|
-
BooleanValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
931
|
+
BooleanValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BooleanValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
932
|
+
BooleanValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: BooleanValueAccessor, selector: "cat-checkbox, cat-toggle", host: { listeners: { "catChange": "handleChangeEvent($event.target.resolvedValue)" } }, providers: [
|
|
933
933
|
{
|
|
934
934
|
provide: NG_VALUE_ACCESSOR,
|
|
935
935
|
useExisting: BooleanValueAccessor,
|
|
936
936
|
multi: true
|
|
937
937
|
}
|
|
938
938
|
], usesInheritance: true, ngImport: i0 });
|
|
939
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BooleanValueAccessor, decorators: [{
|
|
940
940
|
type: Directive,
|
|
941
941
|
args: [{
|
|
942
942
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -954,20 +954,68 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
954
954
|
}]
|
|
955
955
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
956
956
|
|
|
957
|
+
class DateValueAccessor extends ValueAccessor {
|
|
958
|
+
constructor(el) {
|
|
959
|
+
super(el);
|
|
960
|
+
}
|
|
961
|
+
get nativeElement() {
|
|
962
|
+
return this.el.nativeElement;
|
|
963
|
+
}
|
|
964
|
+
writeValue(value) {
|
|
965
|
+
if (value && value instanceof Date) {
|
|
966
|
+
const year = value.getFullYear();
|
|
967
|
+
const month = (value.getMonth() + 1).toString().padStart(2, '0');
|
|
968
|
+
const day = value.getDate().toString().padStart(2, '0');
|
|
969
|
+
return super.writeValue(`${year}-${month}-${day}`);
|
|
970
|
+
}
|
|
971
|
+
return super.writeValue(undefined);
|
|
972
|
+
}
|
|
973
|
+
handleChangeEvent(value) {
|
|
974
|
+
var _a;
|
|
975
|
+
const [match, year, month, day] = (_a = value === null || value === void 0 ? void 0 : value.match(/^(\d{4})-(\d{2})-(\d{2})/)) !== null && _a !== void 0 ? _a : [];
|
|
976
|
+
return super.handleChangeEvent(match ? new Date(Number(year), Number(month) - 1, Number(day)) : null);
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
DateValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DateValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
980
|
+
DateValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: DateValueAccessor, selector: "cat-date, cat-date-inline", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
981
|
+
{
|
|
982
|
+
provide: NG_VALUE_ACCESSOR,
|
|
983
|
+
useExisting: DateValueAccessor,
|
|
984
|
+
multi: true
|
|
985
|
+
}
|
|
986
|
+
], usesInheritance: true, ngImport: i0 });
|
|
987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DateValueAccessor, decorators: [{
|
|
988
|
+
type: Directive,
|
|
989
|
+
args: [{
|
|
990
|
+
/* tslint:disable-next-line:directive-selector */
|
|
991
|
+
selector: 'cat-date, cat-date-inline',
|
|
992
|
+
host: {
|
|
993
|
+
'(catChange)': 'handleChangeEvent($event.target.value)'
|
|
994
|
+
},
|
|
995
|
+
providers: [
|
|
996
|
+
{
|
|
997
|
+
provide: NG_VALUE_ACCESSOR,
|
|
998
|
+
useExisting: DateValueAccessor,
|
|
999
|
+
multi: true
|
|
1000
|
+
}
|
|
1001
|
+
]
|
|
1002
|
+
}]
|
|
1003
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1004
|
+
|
|
957
1005
|
class RadioValueAccessor extends ValueAccessor {
|
|
958
1006
|
constructor(el) {
|
|
959
1007
|
super(el);
|
|
960
1008
|
}
|
|
961
1009
|
}
|
|
962
|
-
RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
963
|
-
RadioValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1010
|
+
RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1011
|
+
RadioValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: RadioValueAccessor, selector: "cat-radio, cat-radio-group", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
964
1012
|
{
|
|
965
1013
|
provide: NG_VALUE_ACCESSOR,
|
|
966
1014
|
useExisting: RadioValueAccessor,
|
|
967
1015
|
multi: true
|
|
968
1016
|
}
|
|
969
1017
|
], usesInheritance: true, ngImport: i0 });
|
|
970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioValueAccessor, decorators: [{
|
|
971
1019
|
type: Directive,
|
|
972
1020
|
args: [{
|
|
973
1021
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -990,15 +1038,15 @@ class SelectValueAccessor extends ValueAccessor {
|
|
|
990
1038
|
super(el);
|
|
991
1039
|
}
|
|
992
1040
|
}
|
|
993
|
-
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
994
|
-
SelectValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1041
|
+
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1042
|
+
SelectValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: SelectValueAccessor, selector: "cat-select", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
995
1043
|
{
|
|
996
1044
|
provide: NG_VALUE_ACCESSOR,
|
|
997
1045
|
useExisting: SelectValueAccessor,
|
|
998
1046
|
multi: true
|
|
999
1047
|
}
|
|
1000
1048
|
], usesInheritance: true, ngImport: i0 });
|
|
1001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectValueAccessor, decorators: [{
|
|
1002
1050
|
type: Directive,
|
|
1003
1051
|
args: [{
|
|
1004
1052
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -1026,9 +1074,9 @@ class SelectValueAccessorDecorator {
|
|
|
1026
1074
|
}
|
|
1027
1075
|
}
|
|
1028
1076
|
}
|
|
1029
|
-
SelectValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1030
|
-
SelectValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1031
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1077
|
+
SelectValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectValueAccessorDecorator, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1078
|
+
SelectValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: SelectValueAccessorDecorator, selector: "cat-select", inputs: { connector: "connector" }, usesOnChanges: true, ngImport: i0 });
|
|
1079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectValueAccessorDecorator, decorators: [{
|
|
1032
1080
|
type: Directive,
|
|
1033
1081
|
args: [{
|
|
1034
1082
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -1043,19 +1091,19 @@ class TextValueAccessor extends ValueAccessor {
|
|
|
1043
1091
|
super(el);
|
|
1044
1092
|
}
|
|
1045
1093
|
}
|
|
1046
|
-
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1047
|
-
TextValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1094
|
+
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1095
|
+
TextValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: TextValueAccessor, selector: "cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
1048
1096
|
{
|
|
1049
1097
|
provide: NG_VALUE_ACCESSOR,
|
|
1050
1098
|
useExisting: TextValueAccessor,
|
|
1051
1099
|
multi: true
|
|
1052
1100
|
}
|
|
1053
1101
|
], usesInheritance: true, ngImport: i0 });
|
|
1054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextValueAccessor, decorators: [{
|
|
1055
1103
|
type: Directive,
|
|
1056
1104
|
args: [{
|
|
1057
1105
|
/* tslint:disable-next-line:directive-selector */
|
|
1058
|
-
selector: 'cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline
|
|
1106
|
+
selector: 'cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline',
|
|
1059
1107
|
host: {
|
|
1060
1108
|
'(catChange)': 'handleChangeEvent($event.target.value)'
|
|
1061
1109
|
},
|
|
@@ -1069,6 +1117,58 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1069
1117
|
}]
|
|
1070
1118
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1071
1119
|
|
|
1120
|
+
class TimeValueAccessor extends ValueAccessor {
|
|
1121
|
+
constructor(el) {
|
|
1122
|
+
super(el);
|
|
1123
|
+
}
|
|
1124
|
+
get nativeElement() {
|
|
1125
|
+
return this.el.nativeElement;
|
|
1126
|
+
}
|
|
1127
|
+
writeValue(value) {
|
|
1128
|
+
if (value && value instanceof Date) {
|
|
1129
|
+
const hours = value.getHours().toString().padStart(2, '0');
|
|
1130
|
+
const mins = value.getMinutes().toString().padStart(2, '0');
|
|
1131
|
+
return super.writeValue(`${hours}:${mins}`);
|
|
1132
|
+
}
|
|
1133
|
+
return super.writeValue(undefined);
|
|
1134
|
+
}
|
|
1135
|
+
handleChangeEvent(value) {
|
|
1136
|
+
var _a;
|
|
1137
|
+
const [match, hours, mins] = (_a = value === null || value === void 0 ? void 0 : value.match(/^(\d{2}):(\d{2})/)) !== null && _a !== void 0 ? _a : [];
|
|
1138
|
+
if (match) {
|
|
1139
|
+
const date = new Date();
|
|
1140
|
+
date.setHours(Number(hours), Number(mins), 0, 0);
|
|
1141
|
+
return super.handleChangeEvent(date);
|
|
1142
|
+
}
|
|
1143
|
+
return super.handleChangeEvent(null);
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
TimeValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TimeValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1147
|
+
TimeValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: TimeValueAccessor, selector: "cat-time", host: { listeners: { "catChange": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
1148
|
+
{
|
|
1149
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1150
|
+
useExisting: TimeValueAccessor,
|
|
1151
|
+
multi: true
|
|
1152
|
+
}
|
|
1153
|
+
], usesInheritance: true, ngImport: i0 });
|
|
1154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TimeValueAccessor, decorators: [{
|
|
1155
|
+
type: Directive,
|
|
1156
|
+
args: [{
|
|
1157
|
+
/* tslint:disable-next-line:directive-selector */
|
|
1158
|
+
selector: 'cat-time',
|
|
1159
|
+
host: {
|
|
1160
|
+
'(catChange)': 'handleChangeEvent($event.target.value)'
|
|
1161
|
+
},
|
|
1162
|
+
providers: [
|
|
1163
|
+
{
|
|
1164
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1165
|
+
useExisting: TimeValueAccessor,
|
|
1166
|
+
multi: true
|
|
1167
|
+
}
|
|
1168
|
+
]
|
|
1169
|
+
}]
|
|
1170
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1171
|
+
|
|
1072
1172
|
class ValueAccessorDecorator {
|
|
1073
1173
|
constructor(el, controlDirective, controlContainer) {
|
|
1074
1174
|
this.el = el;
|
|
@@ -1097,9 +1197,9 @@ class ValueAccessorDecorator {
|
|
|
1097
1197
|
this.el.nativeElement.errors = ((_a = this.controlDirective) === null || _a === void 0 ? void 0 : _a.errors) || !!((_b = this.controlDirective) === null || _b === void 0 ? void 0 : _b.invalid);
|
|
1098
1198
|
}
|
|
1099
1199
|
}
|
|
1100
|
-
ValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1101
|
-
ValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1200
|
+
ValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessorDecorator, deps: [{ token: i0.ElementRef }, { token: i1$2.NgControl, optional: true, self: true }, { token: i1$2.ControlContainer, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1201
|
+
ValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ValueAccessorDecorator, selector: "cat-input, cat-textarea, cat-datepicker, cat-select, cat-date, cat-time", inputs: { errorInit: "errorInit" }, host: { listeners: { "catBlur": "updateErrors()" } }, ngImport: i0 });
|
|
1202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessorDecorator, decorators: [{
|
|
1103
1203
|
type: Directive,
|
|
1104
1204
|
args: [{
|
|
1105
1205
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -1124,6 +1224,140 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1124
1224
|
type: Input
|
|
1125
1225
|
}] } });
|
|
1126
1226
|
|
|
1227
|
+
class DatetimeComponent {
|
|
1228
|
+
get min() {
|
|
1229
|
+
var _a;
|
|
1230
|
+
return (_a = this._min) !== null && _a !== void 0 ? _a : null;
|
|
1231
|
+
}
|
|
1232
|
+
set min(value) {
|
|
1233
|
+
this._min = value;
|
|
1234
|
+
setTimeout(() => {
|
|
1235
|
+
var _a;
|
|
1236
|
+
const min = value ? this.toLocalISODate(value) : undefined;
|
|
1237
|
+
(_a = this.dateInput) === null || _a === void 0 ? void 0 : _a.nativeElement.setAttribute('min', min);
|
|
1238
|
+
this.limitTime('min');
|
|
1239
|
+
});
|
|
1240
|
+
}
|
|
1241
|
+
get max() {
|
|
1242
|
+
var _a;
|
|
1243
|
+
return (_a = this._max) !== null && _a !== void 0 ? _a : null;
|
|
1244
|
+
}
|
|
1245
|
+
set max(value) {
|
|
1246
|
+
this._max = value;
|
|
1247
|
+
setTimeout(() => {
|
|
1248
|
+
var _a;
|
|
1249
|
+
const max = value ? this.toLocalISODate(value) : undefined;
|
|
1250
|
+
(_a = this.dateInput) === null || _a === void 0 ? void 0 : _a.nativeElement.setAttribute('max', max);
|
|
1251
|
+
this.limitTime('max');
|
|
1252
|
+
});
|
|
1253
|
+
}
|
|
1254
|
+
ngAfterContentInit() {
|
|
1255
|
+
if (!this.dateInput) {
|
|
1256
|
+
throw new Error('Missing child element <cat-date></cat-date>');
|
|
1257
|
+
}
|
|
1258
|
+
if (!this.timeInput) {
|
|
1259
|
+
throw new Error('Missing child element <cat-time></cat-time>');
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
writeValue(value) {
|
|
1263
|
+
this.lastValue = this.lastDateValue = this.lastTimeValue = value;
|
|
1264
|
+
setTimeout(() => {
|
|
1265
|
+
var _a, _b;
|
|
1266
|
+
(_a = this.dateInput) === null || _a === void 0 ? void 0 : _a.writeValue(value);
|
|
1267
|
+
(_b = this.timeInput) === null || _b === void 0 ? void 0 : _b.writeValue(value);
|
|
1268
|
+
});
|
|
1269
|
+
}
|
|
1270
|
+
registerOnChange(fn) {
|
|
1271
|
+
setTimeout(() => {
|
|
1272
|
+
var _a, _b;
|
|
1273
|
+
(_a = this.dateInput) === null || _a === void 0 ? void 0 : _a.registerOnChange((value) => {
|
|
1274
|
+
this.lastDateValue = value;
|
|
1275
|
+
this.limitTime('min');
|
|
1276
|
+
this.limitTime('max');
|
|
1277
|
+
fn(this.value);
|
|
1278
|
+
});
|
|
1279
|
+
(_b = this.timeInput) === null || _b === void 0 ? void 0 : _b.registerOnChange((value) => {
|
|
1280
|
+
this.lastTimeValue = value;
|
|
1281
|
+
fn(this.value);
|
|
1282
|
+
});
|
|
1283
|
+
});
|
|
1284
|
+
}
|
|
1285
|
+
registerOnTouched(fn) {
|
|
1286
|
+
setTimeout(() => {
|
|
1287
|
+
var _a, _b;
|
|
1288
|
+
(_a = this.dateInput) === null || _a === void 0 ? void 0 : _a.registerOnTouched(fn);
|
|
1289
|
+
(_b = this.timeInput) === null || _b === void 0 ? void 0 : _b.registerOnTouched(fn);
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
setDisabledState(isDisabled) {
|
|
1293
|
+
setTimeout(() => {
|
|
1294
|
+
var _a, _b;
|
|
1295
|
+
(_a = this.dateInput) === null || _a === void 0 ? void 0 : _a.setDisabledState(isDisabled);
|
|
1296
|
+
(_b = this.timeInput) === null || _b === void 0 ? void 0 : _b.setDisabledState(isDisabled);
|
|
1297
|
+
});
|
|
1298
|
+
}
|
|
1299
|
+
get value() {
|
|
1300
|
+
if (this.lastDateValue && this.lastTimeValue) {
|
|
1301
|
+
const result = new Date(this.lastDateValue);
|
|
1302
|
+
result.setHours(this.lastTimeValue.getHours(), this.lastTimeValue.getMinutes(), this.lastTimeValue.getSeconds(), this.lastTimeValue.getMilliseconds());
|
|
1303
|
+
return result;
|
|
1304
|
+
}
|
|
1305
|
+
return null;
|
|
1306
|
+
}
|
|
1307
|
+
limitTime(mode) {
|
|
1308
|
+
var _a, _b;
|
|
1309
|
+
const limit = mode === 'min' ? this.min : this.max;
|
|
1310
|
+
const limitIso = limit ? this.toLocalISODate(limit) : undefined;
|
|
1311
|
+
const dateIso = this.lastDateValue ? this.toLocalISODate(this.lastDateValue) : undefined;
|
|
1312
|
+
const attr = limit && limitIso === dateIso ? this.toLocalISOTime(limit) : undefined;
|
|
1313
|
+
if (attr) {
|
|
1314
|
+
(_a = this.timeInput) === null || _a === void 0 ? void 0 : _a.nativeElement.setAttribute(mode, attr);
|
|
1315
|
+
}
|
|
1316
|
+
else {
|
|
1317
|
+
(_b = this.timeInput) === null || _b === void 0 ? void 0 : _b.nativeElement.removeAttribute(mode);
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
toLocalISODate(value) {
|
|
1321
|
+
const year = value.getFullYear();
|
|
1322
|
+
const month = (value.getMonth() + 1).toString().padStart(2, '0');
|
|
1323
|
+
const day = value.getDate().toString().padStart(2, '0');
|
|
1324
|
+
return `${year}-${month}-${day}`;
|
|
1325
|
+
}
|
|
1326
|
+
toLocalISOTime(value) {
|
|
1327
|
+
const hours = value.getHours().toString().padStart(2, '0');
|
|
1328
|
+
const mins = value.getMinutes().toString().padStart(2, '0');
|
|
1329
|
+
return `${hours}:${mins}`;
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
DatetimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DatetimeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1333
|
+
DatetimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: DatetimeComponent, selector: "cat-datetime", inputs: { min: "min", max: "max" }, providers: [
|
|
1334
|
+
{
|
|
1335
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1336
|
+
useExisting: DatetimeComponent,
|
|
1337
|
+
multi: true
|
|
1338
|
+
}
|
|
1339
|
+
], queries: [{ propertyName: "dateInput", first: true, predicate: DateValueAccessor, descendants: true }, { propertyName: "timeInput", first: true, predicate: TimeValueAccessor, descendants: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["cat-datetime{display:contents}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
1340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DatetimeComponent, decorators: [{
|
|
1341
|
+
type: Component,
|
|
1342
|
+
args: [{ selector: 'cat-datetime', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, providers: [
|
|
1343
|
+
{
|
|
1344
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1345
|
+
useExisting: DatetimeComponent,
|
|
1346
|
+
multi: true
|
|
1347
|
+
}
|
|
1348
|
+
], styles: ["cat-datetime{display:contents}\n"] }]
|
|
1349
|
+
}], propDecorators: { dateInput: [{
|
|
1350
|
+
type: ContentChild,
|
|
1351
|
+
args: [DateValueAccessor]
|
|
1352
|
+
}], timeInput: [{
|
|
1353
|
+
type: ContentChild,
|
|
1354
|
+
args: [TimeValueAccessor]
|
|
1355
|
+
}], min: [{
|
|
1356
|
+
type: Input
|
|
1357
|
+
}], max: [{
|
|
1358
|
+
type: Input
|
|
1359
|
+
}] } });
|
|
1360
|
+
|
|
1127
1361
|
const CatComponents = [
|
|
1128
1362
|
CatAlert,
|
|
1129
1363
|
CatAvatar,
|
|
@@ -1152,11 +1386,14 @@ const CatComponents = [
|
|
|
1152
1386
|
];
|
|
1153
1387
|
const CatDirectives = [
|
|
1154
1388
|
BooleanValueAccessor,
|
|
1389
|
+
DateValueAccessor,
|
|
1155
1390
|
RadioValueAccessor,
|
|
1156
1391
|
SelectValueAccessor,
|
|
1157
1392
|
SelectValueAccessorDecorator,
|
|
1158
1393
|
TextValueAccessor,
|
|
1159
|
-
|
|
1394
|
+
TimeValueAccessor,
|
|
1395
|
+
ValueAccessorDecorator,
|
|
1396
|
+
DatetimeComponent
|
|
1160
1397
|
];
|
|
1161
1398
|
const CAT_LOG_TOKEN = new InjectionToken('CAT_LOG', {
|
|
1162
1399
|
providedIn: 'root',
|
|
@@ -1182,24 +1419,30 @@ class CatalystModule {
|
|
|
1182
1419
|
};
|
|
1183
1420
|
}
|
|
1184
1421
|
}
|
|
1185
|
-
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1186
|
-
CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
1422
|
+
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1423
|
+
CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, declarations: [CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDatepicker, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, BooleanValueAccessor,
|
|
1424
|
+
DateValueAccessor,
|
|
1187
1425
|
RadioValueAccessor,
|
|
1188
1426
|
SelectValueAccessor,
|
|
1189
1427
|
SelectValueAccessorDecorator,
|
|
1190
1428
|
TextValueAccessor,
|
|
1191
|
-
|
|
1429
|
+
TimeValueAccessor,
|
|
1430
|
+
ValueAccessorDecorator,
|
|
1431
|
+
DatetimeComponent, CatDialogComponent,
|
|
1192
1432
|
CatDialogHeaderComponent,
|
|
1193
1433
|
CatDialogActionsComponent], imports: [CommonModule, DialogModule], exports: [CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDatepicker, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, BooleanValueAccessor,
|
|
1434
|
+
DateValueAccessor,
|
|
1194
1435
|
RadioValueAccessor,
|
|
1195
1436
|
SelectValueAccessor,
|
|
1196
1437
|
SelectValueAccessorDecorator,
|
|
1197
1438
|
TextValueAccessor,
|
|
1198
|
-
|
|
1439
|
+
TimeValueAccessor,
|
|
1440
|
+
ValueAccessorDecorator,
|
|
1441
|
+
DatetimeComponent, CatDialogComponent,
|
|
1199
1442
|
CatDialogHeaderComponent,
|
|
1200
1443
|
CatDialogActionsComponent] });
|
|
1201
|
-
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
1202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1444
|
+
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, imports: [CommonModule, DialogModule] });
|
|
1445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, decorators: [{
|
|
1203
1446
|
type: NgModule,
|
|
1204
1447
|
args: [{
|
|
1205
1448
|
imports: [CommonModule, DialogModule],
|
|
@@ -1257,9 +1500,9 @@ class CatDialogService {
|
|
|
1257
1500
|
this.dialog.closeAll();
|
|
1258
1501
|
}
|
|
1259
1502
|
}
|
|
1260
|
-
CatDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1261
|
-
CatDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1503
|
+
CatDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogService, deps: [{ token: i1$1.Dialog }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1504
|
+
CatDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogService, providedIn: 'root' });
|
|
1505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogService, decorators: [{
|
|
1263
1506
|
type: Injectable,
|
|
1264
1507
|
args: [{
|
|
1265
1508
|
providedIn: 'root'
|
|
@@ -1270,5 +1513,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1270
1513
|
* Generated bundle index. Do not edit.
|
|
1271
1514
|
*/
|
|
1272
1515
|
|
|
1273
|
-
export { BooleanValueAccessor, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDate, CatDateInline, CatDatepicker, CatDatepickerInline, CatDialogActionsComponent, CatDialogComponent, CatDialogHeaderComponent, CatDialogService, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSelectDemo, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatTime, CatToggle, CatTooltip, CatalystModule, RadioValueAccessor, SelectValueAccessor, SelectValueAccessorDecorator, TextValueAccessor, ValueAccessor, ValueAccessorDecorator };
|
|
1516
|
+
export { BooleanValueAccessor, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDate, CatDateInline, CatDatepicker, CatDatepickerInline, CatDialogActionsComponent, CatDialogComponent, CatDialogHeaderComponent, CatDialogService, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSelectDemo, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatTime, CatToggle, CatTooltip, CatalystModule, DateValueAccessor, DatetimeComponent, RadioValueAccessor, SelectValueAccessor, SelectValueAccessorDecorator, TextValueAccessor, TimeValueAccessor, ValueAccessor, ValueAccessorDecorator };
|
|
1274
1517
|
//# sourceMappingURL=haiilo-catalyst-angular.mjs.map
|