@haiilo/catalyst-angular 10.4.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 +115 -88
- 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 +398 -129
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +387 -129
- 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 +14 -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
|
-
methods: ['
|
|
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',
|
|
@@ -291,6 +291,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
291
291
|
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'],
|
|
292
292
|
}]
|
|
293
293
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
294
|
+
let CatDateInline = class CatDateInline {
|
|
295
|
+
constructor(c, r, z) {
|
|
296
|
+
this.z = z;
|
|
297
|
+
c.detach();
|
|
298
|
+
this.el = r.nativeElement;
|
|
299
|
+
proxyOutputs(this, this.el, ['catChange']);
|
|
300
|
+
}
|
|
301
|
+
};
|
|
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
|
+
CatDateInline = __decorate([
|
|
305
|
+
ProxyCmp({
|
|
306
|
+
inputs: ['max', 'min', 'noClear', 'noHint', 'noToday', 'noWeeks', 'range', 'size', 'value'],
|
|
307
|
+
methods: ['select', 'clear', 'resetView']
|
|
308
|
+
})
|
|
309
|
+
], CatDateInline);
|
|
310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDateInline, decorators: [{
|
|
311
|
+
type: Component,
|
|
312
|
+
args: [{
|
|
313
|
+
selector: 'cat-date-inline',
|
|
314
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
315
|
+
template: '<ng-content></ng-content>',
|
|
316
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
317
|
+
inputs: ['max', 'min', 'noClear', 'noHint', 'noToday', 'noWeeks', 'range', 'size', 'value'],
|
|
318
|
+
}]
|
|
319
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
294
320
|
let CatDatepicker = class CatDatepicker {
|
|
295
321
|
constructor(c, r, z) {
|
|
296
322
|
this.z = z;
|
|
@@ -299,15 +325,15 @@ let CatDatepicker = class CatDatepicker {
|
|
|
299
325
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
300
326
|
}
|
|
301
327
|
};
|
|
302
|
-
CatDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
303
|
-
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 });
|
|
304
330
|
CatDatepicker = __decorate([
|
|
305
331
|
ProxyCmp({
|
|
306
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'],
|
|
307
333
|
methods: ['doFocus', 'doBlur']
|
|
308
334
|
})
|
|
309
335
|
], CatDatepicker);
|
|
310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepicker, decorators: [{
|
|
311
337
|
type: Component,
|
|
312
338
|
args: [{
|
|
313
339
|
selector: 'cat-datepicker',
|
|
@@ -325,14 +351,14 @@ let CatDatepickerInline = class CatDatepickerInline {
|
|
|
325
351
|
proxyOutputs(this, this.el, ['catChange']);
|
|
326
352
|
}
|
|
327
353
|
};
|
|
328
|
-
CatDatepickerInline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
329
|
-
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 });
|
|
330
356
|
CatDatepickerInline = __decorate([
|
|
331
357
|
ProxyCmp({
|
|
332
358
|
inputs: ['disabled', 'max', 'min', 'mode', 'nativePickerAttributes', 'readonly', 'step', 'value']
|
|
333
359
|
})
|
|
334
360
|
], CatDatepickerInline);
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepickerInline, decorators: [{
|
|
336
362
|
type: Component,
|
|
337
363
|
args: [{
|
|
338
364
|
selector: 'cat-datepicker-inline',
|
|
@@ -350,22 +376,22 @@ let CatDropdown = class CatDropdown {
|
|
|
350
376
|
proxyOutputs(this, this.el, ['catOpen', 'catClose']);
|
|
351
377
|
}
|
|
352
378
|
};
|
|
353
|
-
CatDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
354
|
-
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 });
|
|
355
381
|
CatDropdown = __decorate([
|
|
356
382
|
ProxyCmp({
|
|
357
|
-
inputs: ['arrowNavigation', 'noAutoClose', 'noResize', 'overflow', 'placement'],
|
|
383
|
+
inputs: ['arrowNavigation', 'noAutoClose', 'noInitialFocus', 'noResize', 'overflow', 'placement'],
|
|
358
384
|
methods: ['toggle', 'open', 'close']
|
|
359
385
|
})
|
|
360
386
|
], CatDropdown);
|
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDropdown, decorators: [{
|
|
362
388
|
type: Component,
|
|
363
389
|
args: [{
|
|
364
390
|
selector: 'cat-dropdown',
|
|
365
391
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
366
392
|
template: '<ng-content></ng-content>',
|
|
367
393
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
368
|
-
inputs: ['arrowNavigation', 'noAutoClose', 'noResize', 'overflow', 'placement'],
|
|
394
|
+
inputs: ['arrowNavigation', 'noAutoClose', 'noInitialFocus', 'noResize', 'overflow', 'placement'],
|
|
369
395
|
}]
|
|
370
396
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
371
397
|
let CatFormGroup = class CatFormGroup {
|
|
@@ -375,14 +401,14 @@ let CatFormGroup = class CatFormGroup {
|
|
|
375
401
|
this.el = r.nativeElement;
|
|
376
402
|
}
|
|
377
403
|
};
|
|
378
|
-
CatFormGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
379
|
-
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 });
|
|
380
406
|
CatFormGroup = __decorate([
|
|
381
407
|
ProxyCmp({
|
|
382
408
|
inputs: ['horizontal', 'labelSize', 'requiredMarker']
|
|
383
409
|
})
|
|
384
410
|
], CatFormGroup);
|
|
385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatFormGroup, decorators: [{
|
|
386
412
|
type: Component,
|
|
387
413
|
args: [{
|
|
388
414
|
selector: 'cat-form-group',
|
|
@@ -399,14 +425,14 @@ let CatIcon = class CatIcon {
|
|
|
399
425
|
this.el = r.nativeElement;
|
|
400
426
|
}
|
|
401
427
|
};
|
|
402
|
-
CatIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
403
|
-
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 });
|
|
404
430
|
CatIcon = __decorate([
|
|
405
431
|
ProxyCmp({
|
|
406
432
|
inputs: ['a11yLabel', 'icon', 'iconSrc', 'size']
|
|
407
433
|
})
|
|
408
434
|
], CatIcon);
|
|
409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatIcon, decorators: [{
|
|
410
436
|
type: Component,
|
|
411
437
|
args: [{
|
|
412
438
|
selector: 'cat-icon',
|
|
@@ -424,15 +450,15 @@ let CatInput = class CatInput {
|
|
|
424
450
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
425
451
|
}
|
|
426
452
|
};
|
|
427
|
-
CatInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
428
|
-
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 });
|
|
429
455
|
CatInput = __decorate([
|
|
430
456
|
ProxyCmp({
|
|
431
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'],
|
|
432
458
|
methods: ['doFocus', 'doBlur', 'clear', 'mask']
|
|
433
459
|
})
|
|
434
460
|
], CatInput);
|
|
435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatInput, decorators: [{
|
|
436
462
|
type: Component,
|
|
437
463
|
args: [{
|
|
438
464
|
selector: 'cat-input',
|
|
@@ -450,14 +476,14 @@ let CatPagination = class CatPagination {
|
|
|
450
476
|
proxyOutputs(this, this.el, ['catChange']);
|
|
451
477
|
}
|
|
452
478
|
};
|
|
453
|
-
CatPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
454
|
-
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 });
|
|
455
481
|
CatPagination = __decorate([
|
|
456
482
|
ProxyCmp({
|
|
457
483
|
inputs: ['activePadding', 'compact', 'iconNext', 'iconPrev', 'page', 'pageCount', 'round', 'sidePadding', 'size', 'variant']
|
|
458
484
|
})
|
|
459
485
|
], CatPagination);
|
|
460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatPagination, decorators: [{
|
|
461
487
|
type: Component,
|
|
462
488
|
args: [{
|
|
463
489
|
selector: 'cat-pagination',
|
|
@@ -475,15 +501,15 @@ let CatRadio = class CatRadio {
|
|
|
475
501
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
476
502
|
}
|
|
477
503
|
};
|
|
478
|
-
CatRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
479
|
-
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 });
|
|
480
506
|
CatRadio = __decorate([
|
|
481
507
|
ProxyCmp({
|
|
482
508
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
483
509
|
methods: ['doFocus', 'doBlur']
|
|
484
510
|
})
|
|
485
511
|
], CatRadio);
|
|
486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadio, decorators: [{
|
|
487
513
|
type: Component,
|
|
488
514
|
args: [{
|
|
489
515
|
selector: 'cat-radio',
|
|
@@ -501,14 +527,14 @@ let CatRadioGroup = class CatRadioGroup {
|
|
|
501
527
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
502
528
|
}
|
|
503
529
|
};
|
|
504
|
-
CatRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
505
|
-
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 });
|
|
506
532
|
CatRadioGroup = __decorate([
|
|
507
533
|
ProxyCmp({
|
|
508
534
|
inputs: ['a11yLabel', 'disabled', 'labelLeft', 'name', 'value']
|
|
509
535
|
})
|
|
510
536
|
], CatRadioGroup);
|
|
511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadioGroup, decorators: [{
|
|
512
538
|
type: Component,
|
|
513
539
|
args: [{
|
|
514
540
|
selector: 'cat-radio-group',
|
|
@@ -526,14 +552,14 @@ let CatScrollable = class CatScrollable {
|
|
|
526
552
|
proxyOutputs(this, this.el, ['scrolledTop', 'scrolledLeft', 'scrolledRight', 'scrolledBottom']);
|
|
527
553
|
}
|
|
528
554
|
};
|
|
529
|
-
CatScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
530
|
-
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 });
|
|
531
557
|
CatScrollable = __decorate([
|
|
532
558
|
ProxyCmp({
|
|
533
559
|
inputs: ['noOverflowX', 'noOverflowY', 'noOverscroll', 'noScrolledInit', 'noShadowX', 'noShadowY', 'scrolledBuffer']
|
|
534
560
|
})
|
|
535
561
|
], CatScrollable);
|
|
536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatScrollable, decorators: [{
|
|
537
563
|
type: Component,
|
|
538
564
|
args: [{
|
|
539
565
|
selector: 'cat-scrollable',
|
|
@@ -551,15 +577,15 @@ let CatSelect = class CatSelect {
|
|
|
551
577
|
proxyOutputs(this, this.el, ['catOpen', 'catClose', 'catChange', 'catBlur']);
|
|
552
578
|
}
|
|
553
579
|
};
|
|
554
|
-
CatSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
555
|
-
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 });
|
|
556
582
|
CatSelect = __decorate([
|
|
557
583
|
ProxyCmp({
|
|
558
584
|
inputs: ['clearable', 'debounce', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'nativeAttributes', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'tagHint', 'tags', 'value'],
|
|
559
585
|
methods: ['doFocus', 'doBlur', 'clear', 'connect']
|
|
560
586
|
})
|
|
561
587
|
], CatSelect);
|
|
562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelect, decorators: [{
|
|
563
589
|
type: Component,
|
|
564
590
|
args: [{
|
|
565
591
|
selector: 'cat-select',
|
|
@@ -576,12 +602,12 @@ let CatSelectDemo = class CatSelectDemo {
|
|
|
576
602
|
this.el = r.nativeElement;
|
|
577
603
|
}
|
|
578
604
|
};
|
|
579
|
-
CatSelectDemo.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
580
|
-
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 });
|
|
581
607
|
CatSelectDemo = __decorate([
|
|
582
608
|
ProxyCmp({})
|
|
583
609
|
], CatSelectDemo);
|
|
584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelectDemo, decorators: [{
|
|
585
611
|
type: Component,
|
|
586
612
|
args: [{
|
|
587
613
|
selector: 'cat-select-demo',
|
|
@@ -598,14 +624,14 @@ let CatSkeleton = class CatSkeleton {
|
|
|
598
624
|
this.el = r.nativeElement;
|
|
599
625
|
}
|
|
600
626
|
};
|
|
601
|
-
CatSkeleton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
602
|
-
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 });
|
|
603
629
|
CatSkeleton = __decorate([
|
|
604
630
|
ProxyCmp({
|
|
605
631
|
inputs: ['effect', 'lines', 'size', 'variant']
|
|
606
632
|
})
|
|
607
633
|
], CatSkeleton);
|
|
608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSkeleton, decorators: [{
|
|
609
635
|
type: Component,
|
|
610
636
|
args: [{
|
|
611
637
|
selector: 'cat-skeleton',
|
|
@@ -622,14 +648,14 @@ let CatSpinner = class CatSpinner {
|
|
|
622
648
|
this.el = r.nativeElement;
|
|
623
649
|
}
|
|
624
650
|
};
|
|
625
|
-
CatSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
626
|
-
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 });
|
|
627
653
|
CatSpinner = __decorate([
|
|
628
654
|
ProxyCmp({
|
|
629
655
|
inputs: ['a11yLabel', 'size']
|
|
630
656
|
})
|
|
631
657
|
], CatSpinner);
|
|
632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSpinner, decorators: [{
|
|
633
659
|
type: Component,
|
|
634
660
|
args: [{
|
|
635
661
|
selector: 'cat-spinner',
|
|
@@ -647,14 +673,14 @@ let CatTab = class CatTab {
|
|
|
647
673
|
proxyOutputs(this, this.el, ['catClick']);
|
|
648
674
|
}
|
|
649
675
|
};
|
|
650
|
-
CatTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
651
|
-
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 });
|
|
652
678
|
CatTab = __decorate([
|
|
653
679
|
ProxyCmp({
|
|
654
680
|
inputs: ['deactivated', 'error', 'icon', 'iconOnly', 'iconRight', 'label', 'nativeAttributes', 'url', 'urlTarget']
|
|
655
681
|
})
|
|
656
682
|
], CatTab);
|
|
657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTab, decorators: [{
|
|
658
684
|
type: Component,
|
|
659
685
|
args: [{
|
|
660
686
|
selector: 'cat-tab',
|
|
@@ -672,15 +698,15 @@ let CatTabs = class CatTabs {
|
|
|
672
698
|
proxyOutputs(this, this.el, ['catChange']);
|
|
673
699
|
}
|
|
674
700
|
};
|
|
675
|
-
CatTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
676
|
-
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 });
|
|
677
703
|
CatTabs = __decorate([
|
|
678
704
|
ProxyCmp({
|
|
679
705
|
inputs: ['activeTab', 'tabsAlign'],
|
|
680
706
|
methods: ['setActive', 'setActiveIndex']
|
|
681
707
|
})
|
|
682
708
|
], CatTabs);
|
|
683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTabs, decorators: [{
|
|
684
710
|
type: Component,
|
|
685
711
|
args: [{
|
|
686
712
|
selector: 'cat-tabs',
|
|
@@ -698,15 +724,15 @@ let CatTextarea = class CatTextarea {
|
|
|
698
724
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
699
725
|
}
|
|
700
726
|
};
|
|
701
|
-
CatTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
702
|
-
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 });
|
|
703
729
|
CatTextarea = __decorate([
|
|
704
730
|
ProxyCmp({
|
|
705
731
|
inputs: ['disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value'],
|
|
706
732
|
methods: ['doFocus', 'doBlur', 'clear']
|
|
707
733
|
})
|
|
708
734
|
], CatTextarea);
|
|
709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTextarea, decorators: [{
|
|
710
736
|
type: Component,
|
|
711
737
|
args: [{
|
|
712
738
|
selector: 'cat-textarea',
|
|
@@ -724,15 +750,15 @@ let CatTime = class CatTime {
|
|
|
724
750
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
725
751
|
}
|
|
726
752
|
};
|
|
727
|
-
CatTime.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
728
|
-
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 });
|
|
729
755
|
CatTime = __decorate([
|
|
730
756
|
ProxyCmp({
|
|
731
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'],
|
|
732
758
|
methods: ['select', 'doFocus', 'doBlur', 'clear']
|
|
733
759
|
})
|
|
734
760
|
], CatTime);
|
|
735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTime, decorators: [{
|
|
736
762
|
type: Component,
|
|
737
763
|
args: [{
|
|
738
764
|
selector: 'cat-time',
|
|
@@ -750,15 +776,15 @@ let CatToggle = class CatToggle {
|
|
|
750
776
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
751
777
|
}
|
|
752
778
|
};
|
|
753
|
-
CatToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
754
|
-
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 });
|
|
755
781
|
CatToggle = __decorate([
|
|
756
782
|
ProxyCmp({
|
|
757
783
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'resolvedValue', 'value'],
|
|
758
784
|
methods: ['doFocus', 'doBlur']
|
|
759
785
|
})
|
|
760
786
|
], CatToggle);
|
|
761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatToggle, decorators: [{
|
|
762
788
|
type: Component,
|
|
763
789
|
args: [{
|
|
764
790
|
selector: 'cat-toggle',
|
|
@@ -775,14 +801,14 @@ let CatTooltip = class CatTooltip {
|
|
|
775
801
|
this.el = r.nativeElement;
|
|
776
802
|
}
|
|
777
803
|
};
|
|
778
|
-
CatTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
779
|
-
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 });
|
|
780
806
|
CatTooltip = __decorate([
|
|
781
807
|
ProxyCmp({
|
|
782
808
|
inputs: ['content', 'disabled', 'hideDelay', 'longTouchDuration', 'placement', 'round', 'showDelay', 'size']
|
|
783
809
|
})
|
|
784
810
|
], CatTooltip);
|
|
785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTooltip, decorators: [{
|
|
786
812
|
type: Component,
|
|
787
813
|
args: [{
|
|
788
814
|
selector: 'cat-tooltip',
|
|
@@ -810,9 +836,9 @@ class CatDialogHeaderComponent {
|
|
|
810
836
|
this.close = new EventEmitter();
|
|
811
837
|
}
|
|
812
838
|
}
|
|
813
|
-
CatDialogHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
814
|
-
CatDialogHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
815
|
-
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: [{
|
|
816
842
|
type: Component,
|
|
817
843
|
args: [{ selector: 'cat-dialog-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
818
844
|
class: 'cat-dialog-header'
|
|
@@ -844,9 +870,9 @@ class CatDialogComponent {
|
|
|
844
870
|
(_a = this.header) === null || _a === void 0 ? void 0 : _a.close.subscribe(() => this.dialogRef.close());
|
|
845
871
|
}
|
|
846
872
|
}
|
|
847
|
-
CatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
848
|
-
CatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
849
|
-
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: [{
|
|
850
876
|
type: Component,
|
|
851
877
|
args: [{ selector: 'cat-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
852
878
|
class: 'cat-dialog'
|
|
@@ -884,9 +910,9 @@ class ValueAccessor {
|
|
|
884
910
|
this.el.nativeElement.disabled = isDisabled;
|
|
885
911
|
}
|
|
886
912
|
}
|
|
887
|
-
ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
888
|
-
ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
889
|
-
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: [{
|
|
890
916
|
type: Directive,
|
|
891
917
|
args: [{}]
|
|
892
918
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
|
|
@@ -902,15 +928,15 @@ class BooleanValueAccessor extends ValueAccessor {
|
|
|
902
928
|
this.el.nativeElement.checked = this.lastValue = this.el.nativeElement.value == null ? value : this.el.nativeElement.value === value;
|
|
903
929
|
}
|
|
904
930
|
}
|
|
905
|
-
BooleanValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
906
|
-
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: [
|
|
907
933
|
{
|
|
908
934
|
provide: NG_VALUE_ACCESSOR,
|
|
909
935
|
useExisting: BooleanValueAccessor,
|
|
910
936
|
multi: true
|
|
911
937
|
}
|
|
912
938
|
], usesInheritance: true, ngImport: i0 });
|
|
913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BooleanValueAccessor, decorators: [{
|
|
914
940
|
type: Directive,
|
|
915
941
|
args: [{
|
|
916
942
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -928,20 +954,68 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
928
954
|
}]
|
|
929
955
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
930
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
|
+
|
|
931
1005
|
class RadioValueAccessor extends ValueAccessor {
|
|
932
1006
|
constructor(el) {
|
|
933
1007
|
super(el);
|
|
934
1008
|
}
|
|
935
1009
|
}
|
|
936
|
-
RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
937
|
-
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: [
|
|
938
1012
|
{
|
|
939
1013
|
provide: NG_VALUE_ACCESSOR,
|
|
940
1014
|
useExisting: RadioValueAccessor,
|
|
941
1015
|
multi: true
|
|
942
1016
|
}
|
|
943
1017
|
], usesInheritance: true, ngImport: i0 });
|
|
944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioValueAccessor, decorators: [{
|
|
945
1019
|
type: Directive,
|
|
946
1020
|
args: [{
|
|
947
1021
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -964,15 +1038,15 @@ class SelectValueAccessor extends ValueAccessor {
|
|
|
964
1038
|
super(el);
|
|
965
1039
|
}
|
|
966
1040
|
}
|
|
967
|
-
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
968
|
-
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: [
|
|
969
1043
|
{
|
|
970
1044
|
provide: NG_VALUE_ACCESSOR,
|
|
971
1045
|
useExisting: SelectValueAccessor,
|
|
972
1046
|
multi: true
|
|
973
1047
|
}
|
|
974
1048
|
], usesInheritance: true, ngImport: i0 });
|
|
975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectValueAccessor, decorators: [{
|
|
976
1050
|
type: Directive,
|
|
977
1051
|
args: [{
|
|
978
1052
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -1000,9 +1074,9 @@ class SelectValueAccessorDecorator {
|
|
|
1000
1074
|
}
|
|
1001
1075
|
}
|
|
1002
1076
|
}
|
|
1003
|
-
SelectValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1004
|
-
SelectValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1005
|
-
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: [{
|
|
1006
1080
|
type: Directive,
|
|
1007
1081
|
args: [{
|
|
1008
1082
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -1017,19 +1091,19 @@ class TextValueAccessor extends ValueAccessor {
|
|
|
1017
1091
|
super(el);
|
|
1018
1092
|
}
|
|
1019
1093
|
}
|
|
1020
|
-
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1021
|
-
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: [
|
|
1022
1096
|
{
|
|
1023
1097
|
provide: NG_VALUE_ACCESSOR,
|
|
1024
1098
|
useExisting: TextValueAccessor,
|
|
1025
1099
|
multi: true
|
|
1026
1100
|
}
|
|
1027
1101
|
], usesInheritance: true, ngImport: i0 });
|
|
1028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextValueAccessor, decorators: [{
|
|
1029
1103
|
type: Directive,
|
|
1030
1104
|
args: [{
|
|
1031
1105
|
/* tslint:disable-next-line:directive-selector */
|
|
1032
|
-
selector: 'cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline
|
|
1106
|
+
selector: 'cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline',
|
|
1033
1107
|
host: {
|
|
1034
1108
|
'(catChange)': 'handleChangeEvent($event.target.value)'
|
|
1035
1109
|
},
|
|
@@ -1043,6 +1117,58 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1043
1117
|
}]
|
|
1044
1118
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1045
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
|
+
|
|
1046
1172
|
class ValueAccessorDecorator {
|
|
1047
1173
|
constructor(el, controlDirective, controlContainer) {
|
|
1048
1174
|
this.el = el;
|
|
@@ -1071,9 +1197,9 @@ class ValueAccessorDecorator {
|
|
|
1071
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);
|
|
1072
1198
|
}
|
|
1073
1199
|
}
|
|
1074
|
-
ValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1075
|
-
ValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1076
|
-
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: [{
|
|
1077
1203
|
type: Directive,
|
|
1078
1204
|
args: [{
|
|
1079
1205
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -1098,6 +1224,140 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1098
1224
|
type: Input
|
|
1099
1225
|
}] } });
|
|
1100
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
|
+
|
|
1101
1361
|
const CatComponents = [
|
|
1102
1362
|
CatAlert,
|
|
1103
1363
|
CatAvatar,
|
|
@@ -1126,11 +1386,14 @@ const CatComponents = [
|
|
|
1126
1386
|
];
|
|
1127
1387
|
const CatDirectives = [
|
|
1128
1388
|
BooleanValueAccessor,
|
|
1389
|
+
DateValueAccessor,
|
|
1129
1390
|
RadioValueAccessor,
|
|
1130
1391
|
SelectValueAccessor,
|
|
1131
1392
|
SelectValueAccessorDecorator,
|
|
1132
1393
|
TextValueAccessor,
|
|
1133
|
-
|
|
1394
|
+
TimeValueAccessor,
|
|
1395
|
+
ValueAccessorDecorator,
|
|
1396
|
+
DatetimeComponent
|
|
1134
1397
|
];
|
|
1135
1398
|
const CAT_LOG_TOKEN = new InjectionToken('CAT_LOG', {
|
|
1136
1399
|
providedIn: 'root',
|
|
@@ -1156,24 +1419,30 @@ class CatalystModule {
|
|
|
1156
1419
|
};
|
|
1157
1420
|
}
|
|
1158
1421
|
}
|
|
1159
|
-
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1160
|
-
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,
|
|
1161
1425
|
RadioValueAccessor,
|
|
1162
1426
|
SelectValueAccessor,
|
|
1163
1427
|
SelectValueAccessorDecorator,
|
|
1164
1428
|
TextValueAccessor,
|
|
1165
|
-
|
|
1429
|
+
TimeValueAccessor,
|
|
1430
|
+
ValueAccessorDecorator,
|
|
1431
|
+
DatetimeComponent, CatDialogComponent,
|
|
1166
1432
|
CatDialogHeaderComponent,
|
|
1167
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,
|
|
1168
1435
|
RadioValueAccessor,
|
|
1169
1436
|
SelectValueAccessor,
|
|
1170
1437
|
SelectValueAccessorDecorator,
|
|
1171
1438
|
TextValueAccessor,
|
|
1172
|
-
|
|
1439
|
+
TimeValueAccessor,
|
|
1440
|
+
ValueAccessorDecorator,
|
|
1441
|
+
DatetimeComponent, CatDialogComponent,
|
|
1173
1442
|
CatDialogHeaderComponent,
|
|
1174
1443
|
CatDialogActionsComponent] });
|
|
1175
|
-
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
1176
|
-
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: [{
|
|
1177
1446
|
type: NgModule,
|
|
1178
1447
|
args: [{
|
|
1179
1448
|
imports: [CommonModule, DialogModule],
|
|
@@ -1231,9 +1500,9 @@ class CatDialogService {
|
|
|
1231
1500
|
this.dialog.closeAll();
|
|
1232
1501
|
}
|
|
1233
1502
|
}
|
|
1234
|
-
CatDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1235
|
-
CatDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1236
|
-
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: [{
|
|
1237
1506
|
type: Injectable,
|
|
1238
1507
|
args: [{
|
|
1239
1508
|
providedIn: 'root'
|
|
@@ -1244,5 +1513,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1244
1513
|
* Generated bundle index. Do not edit.
|
|
1245
1514
|
*/
|
|
1246
1515
|
|
|
1247
|
-
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, 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 };
|
|
1248
1517
|
//# sourceMappingURL=haiilo-catalyst-angular.mjs.map
|