@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'
|
|
@@ -841,9 +867,9 @@ class CatDialogComponent {
|
|
|
841
867
|
this.header?.close.subscribe(() => this.dialogRef.close());
|
|
842
868
|
}
|
|
843
869
|
}
|
|
844
|
-
CatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
845
|
-
CatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
870
|
+
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 });
|
|
871
|
+
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 });
|
|
872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogComponent, decorators: [{
|
|
847
873
|
type: Component,
|
|
848
874
|
args: [{ selector: 'cat-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
849
875
|
class: 'cat-dialog'
|
|
@@ -881,9 +907,9 @@ class ValueAccessor {
|
|
|
881
907
|
this.el.nativeElement.disabled = isDisabled;
|
|
882
908
|
}
|
|
883
909
|
}
|
|
884
|
-
ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
885
|
-
ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
910
|
+
ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
911
|
+
ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: ValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
|
|
912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessor, decorators: [{
|
|
887
913
|
type: Directive,
|
|
888
914
|
args: [{}]
|
|
889
915
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
|
|
@@ -899,15 +925,15 @@ class BooleanValueAccessor extends ValueAccessor {
|
|
|
899
925
|
this.el.nativeElement.checked = this.lastValue = this.el.nativeElement.value == null ? value : this.el.nativeElement.value === value;
|
|
900
926
|
}
|
|
901
927
|
}
|
|
902
|
-
BooleanValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
903
|
-
BooleanValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
928
|
+
BooleanValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BooleanValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
929
|
+
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: [
|
|
904
930
|
{
|
|
905
931
|
provide: NG_VALUE_ACCESSOR,
|
|
906
932
|
useExisting: BooleanValueAccessor,
|
|
907
933
|
multi: true
|
|
908
934
|
}
|
|
909
935
|
], usesInheritance: true, ngImport: i0 });
|
|
910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BooleanValueAccessor, decorators: [{
|
|
911
937
|
type: Directive,
|
|
912
938
|
args: [{
|
|
913
939
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -925,20 +951,67 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
925
951
|
}]
|
|
926
952
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
927
953
|
|
|
954
|
+
class DateValueAccessor extends ValueAccessor {
|
|
955
|
+
constructor(el) {
|
|
956
|
+
super(el);
|
|
957
|
+
}
|
|
958
|
+
get nativeElement() {
|
|
959
|
+
return this.el.nativeElement;
|
|
960
|
+
}
|
|
961
|
+
writeValue(value) {
|
|
962
|
+
if (value && value instanceof Date) {
|
|
963
|
+
const year = value.getFullYear();
|
|
964
|
+
const month = (value.getMonth() + 1).toString().padStart(2, '0');
|
|
965
|
+
const day = value.getDate().toString().padStart(2, '0');
|
|
966
|
+
return super.writeValue(`${year}-${month}-${day}`);
|
|
967
|
+
}
|
|
968
|
+
return super.writeValue(undefined);
|
|
969
|
+
}
|
|
970
|
+
handleChangeEvent(value) {
|
|
971
|
+
const [match, year, month, day] = value?.match(/^(\d{4})-(\d{2})-(\d{2})/) ?? [];
|
|
972
|
+
return super.handleChangeEvent(match ? new Date(Number(year), Number(month) - 1, Number(day)) : null);
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
DateValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DateValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
976
|
+
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: [
|
|
977
|
+
{
|
|
978
|
+
provide: NG_VALUE_ACCESSOR,
|
|
979
|
+
useExisting: DateValueAccessor,
|
|
980
|
+
multi: true
|
|
981
|
+
}
|
|
982
|
+
], usesInheritance: true, ngImport: i0 });
|
|
983
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DateValueAccessor, decorators: [{
|
|
984
|
+
type: Directive,
|
|
985
|
+
args: [{
|
|
986
|
+
/* tslint:disable-next-line:directive-selector */
|
|
987
|
+
selector: 'cat-date, cat-date-inline',
|
|
988
|
+
host: {
|
|
989
|
+
'(catChange)': 'handleChangeEvent($event.target.value)'
|
|
990
|
+
},
|
|
991
|
+
providers: [
|
|
992
|
+
{
|
|
993
|
+
provide: NG_VALUE_ACCESSOR,
|
|
994
|
+
useExisting: DateValueAccessor,
|
|
995
|
+
multi: true
|
|
996
|
+
}
|
|
997
|
+
]
|
|
998
|
+
}]
|
|
999
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1000
|
+
|
|
928
1001
|
class RadioValueAccessor extends ValueAccessor {
|
|
929
1002
|
constructor(el) {
|
|
930
1003
|
super(el);
|
|
931
1004
|
}
|
|
932
1005
|
}
|
|
933
|
-
RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
934
|
-
RadioValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1006
|
+
RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1007
|
+
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: [
|
|
935
1008
|
{
|
|
936
1009
|
provide: NG_VALUE_ACCESSOR,
|
|
937
1010
|
useExisting: RadioValueAccessor,
|
|
938
1011
|
multi: true
|
|
939
1012
|
}
|
|
940
1013
|
], usesInheritance: true, ngImport: i0 });
|
|
941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioValueAccessor, decorators: [{
|
|
942
1015
|
type: Directive,
|
|
943
1016
|
args: [{
|
|
944
1017
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -961,15 +1034,15 @@ class SelectValueAccessor extends ValueAccessor {
|
|
|
961
1034
|
super(el);
|
|
962
1035
|
}
|
|
963
1036
|
}
|
|
964
|
-
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
965
|
-
SelectValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1037
|
+
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1038
|
+
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: [
|
|
966
1039
|
{
|
|
967
1040
|
provide: NG_VALUE_ACCESSOR,
|
|
968
1041
|
useExisting: SelectValueAccessor,
|
|
969
1042
|
multi: true
|
|
970
1043
|
}
|
|
971
1044
|
], usesInheritance: true, ngImport: i0 });
|
|
972
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectValueAccessor, decorators: [{
|
|
973
1046
|
type: Directive,
|
|
974
1047
|
args: [{
|
|
975
1048
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -997,9 +1070,9 @@ class SelectValueAccessorDecorator {
|
|
|
997
1070
|
}
|
|
998
1071
|
}
|
|
999
1072
|
}
|
|
1000
|
-
SelectValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1001
|
-
SelectValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1073
|
+
SelectValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectValueAccessorDecorator, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1074
|
+
SelectValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: SelectValueAccessorDecorator, selector: "cat-select", inputs: { connector: "connector" }, usesOnChanges: true, ngImport: i0 });
|
|
1075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectValueAccessorDecorator, decorators: [{
|
|
1003
1076
|
type: Directive,
|
|
1004
1077
|
args: [{
|
|
1005
1078
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -1014,19 +1087,19 @@ class TextValueAccessor extends ValueAccessor {
|
|
|
1014
1087
|
super(el);
|
|
1015
1088
|
}
|
|
1016
1089
|
}
|
|
1017
|
-
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1018
|
-
TextValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1090
|
+
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1091
|
+
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: [
|
|
1019
1092
|
{
|
|
1020
1093
|
provide: NG_VALUE_ACCESSOR,
|
|
1021
1094
|
useExisting: TextValueAccessor,
|
|
1022
1095
|
multi: true
|
|
1023
1096
|
}
|
|
1024
1097
|
], usesInheritance: true, ngImport: i0 });
|
|
1025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextValueAccessor, decorators: [{
|
|
1026
1099
|
type: Directive,
|
|
1027
1100
|
args: [{
|
|
1028
1101
|
/* tslint:disable-next-line:directive-selector */
|
|
1029
|
-
selector: 'cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline
|
|
1102
|
+
selector: 'cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline',
|
|
1030
1103
|
host: {
|
|
1031
1104
|
'(catChange)': 'handleChangeEvent($event.target.value)'
|
|
1032
1105
|
},
|
|
@@ -1040,6 +1113,57 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1040
1113
|
}]
|
|
1041
1114
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1042
1115
|
|
|
1116
|
+
class TimeValueAccessor extends ValueAccessor {
|
|
1117
|
+
constructor(el) {
|
|
1118
|
+
super(el);
|
|
1119
|
+
}
|
|
1120
|
+
get nativeElement() {
|
|
1121
|
+
return this.el.nativeElement;
|
|
1122
|
+
}
|
|
1123
|
+
writeValue(value) {
|
|
1124
|
+
if (value && value instanceof Date) {
|
|
1125
|
+
const hours = value.getHours().toString().padStart(2, '0');
|
|
1126
|
+
const mins = value.getMinutes().toString().padStart(2, '0');
|
|
1127
|
+
return super.writeValue(`${hours}:${mins}`);
|
|
1128
|
+
}
|
|
1129
|
+
return super.writeValue(undefined);
|
|
1130
|
+
}
|
|
1131
|
+
handleChangeEvent(value) {
|
|
1132
|
+
const [match, hours, mins] = value?.match(/^(\d{2}):(\d{2})/) ?? [];
|
|
1133
|
+
if (match) {
|
|
1134
|
+
const date = new Date();
|
|
1135
|
+
date.setHours(Number(hours), Number(mins), 0, 0);
|
|
1136
|
+
return super.handleChangeEvent(date);
|
|
1137
|
+
}
|
|
1138
|
+
return super.handleChangeEvent(null);
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
TimeValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TimeValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1142
|
+
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: [
|
|
1143
|
+
{
|
|
1144
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1145
|
+
useExisting: TimeValueAccessor,
|
|
1146
|
+
multi: true
|
|
1147
|
+
}
|
|
1148
|
+
], usesInheritance: true, ngImport: i0 });
|
|
1149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TimeValueAccessor, decorators: [{
|
|
1150
|
+
type: Directive,
|
|
1151
|
+
args: [{
|
|
1152
|
+
/* tslint:disable-next-line:directive-selector */
|
|
1153
|
+
selector: 'cat-time',
|
|
1154
|
+
host: {
|
|
1155
|
+
'(catChange)': 'handleChangeEvent($event.target.value)'
|
|
1156
|
+
},
|
|
1157
|
+
providers: [
|
|
1158
|
+
{
|
|
1159
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1160
|
+
useExisting: TimeValueAccessor,
|
|
1161
|
+
multi: true
|
|
1162
|
+
}
|
|
1163
|
+
]
|
|
1164
|
+
}]
|
|
1165
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1166
|
+
|
|
1043
1167
|
class ValueAccessorDecorator {
|
|
1044
1168
|
constructor(el, controlDirective, controlContainer) {
|
|
1045
1169
|
this.el = el;
|
|
@@ -1066,9 +1190,9 @@ class ValueAccessorDecorator {
|
|
|
1066
1190
|
this.el.nativeElement.errors = this.controlDirective?.errors || !!this.controlDirective?.invalid;
|
|
1067
1191
|
}
|
|
1068
1192
|
}
|
|
1069
|
-
ValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1070
|
-
ValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1193
|
+
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 });
|
|
1194
|
+
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 });
|
|
1195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ValueAccessorDecorator, decorators: [{
|
|
1072
1196
|
type: Directive,
|
|
1073
1197
|
args: [{
|
|
1074
1198
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -1091,6 +1215,131 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1091
1215
|
type: Input
|
|
1092
1216
|
}] } });
|
|
1093
1217
|
|
|
1218
|
+
class DatetimeComponent {
|
|
1219
|
+
get min() {
|
|
1220
|
+
return this._min ?? null;
|
|
1221
|
+
}
|
|
1222
|
+
set min(value) {
|
|
1223
|
+
this._min = value;
|
|
1224
|
+
setTimeout(() => {
|
|
1225
|
+
const min = value ? this.toLocalISODate(value) : undefined;
|
|
1226
|
+
this.dateInput?.nativeElement.setAttribute('min', min);
|
|
1227
|
+
this.limitTime('min');
|
|
1228
|
+
});
|
|
1229
|
+
}
|
|
1230
|
+
get max() {
|
|
1231
|
+
return this._max ?? null;
|
|
1232
|
+
}
|
|
1233
|
+
set max(value) {
|
|
1234
|
+
this._max = value;
|
|
1235
|
+
setTimeout(() => {
|
|
1236
|
+
const max = value ? this.toLocalISODate(value) : undefined;
|
|
1237
|
+
this.dateInput?.nativeElement.setAttribute('max', max);
|
|
1238
|
+
this.limitTime('max');
|
|
1239
|
+
});
|
|
1240
|
+
}
|
|
1241
|
+
ngAfterContentInit() {
|
|
1242
|
+
if (!this.dateInput) {
|
|
1243
|
+
throw new Error('Missing child element <cat-date></cat-date>');
|
|
1244
|
+
}
|
|
1245
|
+
if (!this.timeInput) {
|
|
1246
|
+
throw new Error('Missing child element <cat-time></cat-time>');
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
writeValue(value) {
|
|
1250
|
+
this.lastValue = this.lastDateValue = this.lastTimeValue = value;
|
|
1251
|
+
setTimeout(() => {
|
|
1252
|
+
this.dateInput?.writeValue(value);
|
|
1253
|
+
this.timeInput?.writeValue(value);
|
|
1254
|
+
});
|
|
1255
|
+
}
|
|
1256
|
+
registerOnChange(fn) {
|
|
1257
|
+
setTimeout(() => {
|
|
1258
|
+
this.dateInput?.registerOnChange((value) => {
|
|
1259
|
+
this.lastDateValue = value;
|
|
1260
|
+
this.limitTime('min');
|
|
1261
|
+
this.limitTime('max');
|
|
1262
|
+
fn(this.value);
|
|
1263
|
+
});
|
|
1264
|
+
this.timeInput?.registerOnChange((value) => {
|
|
1265
|
+
this.lastTimeValue = value;
|
|
1266
|
+
fn(this.value);
|
|
1267
|
+
});
|
|
1268
|
+
});
|
|
1269
|
+
}
|
|
1270
|
+
registerOnTouched(fn) {
|
|
1271
|
+
setTimeout(() => {
|
|
1272
|
+
this.dateInput?.registerOnTouched(fn);
|
|
1273
|
+
this.timeInput?.registerOnTouched(fn);
|
|
1274
|
+
});
|
|
1275
|
+
}
|
|
1276
|
+
setDisabledState(isDisabled) {
|
|
1277
|
+
setTimeout(() => {
|
|
1278
|
+
this.dateInput?.setDisabledState(isDisabled);
|
|
1279
|
+
this.timeInput?.setDisabledState(isDisabled);
|
|
1280
|
+
});
|
|
1281
|
+
}
|
|
1282
|
+
get value() {
|
|
1283
|
+
if (this.lastDateValue && this.lastTimeValue) {
|
|
1284
|
+
const result = new Date(this.lastDateValue);
|
|
1285
|
+
result.setHours(this.lastTimeValue.getHours(), this.lastTimeValue.getMinutes(), this.lastTimeValue.getSeconds(), this.lastTimeValue.getMilliseconds());
|
|
1286
|
+
return result;
|
|
1287
|
+
}
|
|
1288
|
+
return null;
|
|
1289
|
+
}
|
|
1290
|
+
limitTime(mode) {
|
|
1291
|
+
const limit = mode === 'min' ? this.min : this.max;
|
|
1292
|
+
const limitIso = limit ? this.toLocalISODate(limit) : undefined;
|
|
1293
|
+
const dateIso = this.lastDateValue ? this.toLocalISODate(this.lastDateValue) : undefined;
|
|
1294
|
+
const attr = limit && limitIso === dateIso ? this.toLocalISOTime(limit) : undefined;
|
|
1295
|
+
if (attr) {
|
|
1296
|
+
this.timeInput?.nativeElement.setAttribute(mode, attr);
|
|
1297
|
+
}
|
|
1298
|
+
else {
|
|
1299
|
+
this.timeInput?.nativeElement.removeAttribute(mode);
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
toLocalISODate(value) {
|
|
1303
|
+
const year = value.getFullYear();
|
|
1304
|
+
const month = (value.getMonth() + 1).toString().padStart(2, '0');
|
|
1305
|
+
const day = value.getDate().toString().padStart(2, '0');
|
|
1306
|
+
return `${year}-${month}-${day}`;
|
|
1307
|
+
}
|
|
1308
|
+
toLocalISOTime(value) {
|
|
1309
|
+
const hours = value.getHours().toString().padStart(2, '0');
|
|
1310
|
+
const mins = value.getMinutes().toString().padStart(2, '0');
|
|
1311
|
+
return `${hours}:${mins}`;
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
DatetimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DatetimeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1315
|
+
DatetimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: DatetimeComponent, selector: "cat-datetime", inputs: { min: "min", max: "max" }, providers: [
|
|
1316
|
+
{
|
|
1317
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1318
|
+
useExisting: DatetimeComponent,
|
|
1319
|
+
multi: true
|
|
1320
|
+
}
|
|
1321
|
+
], 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 });
|
|
1322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: DatetimeComponent, decorators: [{
|
|
1323
|
+
type: Component,
|
|
1324
|
+
args: [{ selector: 'cat-datetime', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, providers: [
|
|
1325
|
+
{
|
|
1326
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1327
|
+
useExisting: DatetimeComponent,
|
|
1328
|
+
multi: true
|
|
1329
|
+
}
|
|
1330
|
+
], styles: ["cat-datetime{display:contents}\n"] }]
|
|
1331
|
+
}], propDecorators: { dateInput: [{
|
|
1332
|
+
type: ContentChild,
|
|
1333
|
+
args: [DateValueAccessor]
|
|
1334
|
+
}], timeInput: [{
|
|
1335
|
+
type: ContentChild,
|
|
1336
|
+
args: [TimeValueAccessor]
|
|
1337
|
+
}], min: [{
|
|
1338
|
+
type: Input
|
|
1339
|
+
}], max: [{
|
|
1340
|
+
type: Input
|
|
1341
|
+
}] } });
|
|
1342
|
+
|
|
1094
1343
|
const CatComponents = [
|
|
1095
1344
|
CatAlert,
|
|
1096
1345
|
CatAvatar,
|
|
@@ -1119,11 +1368,14 @@ const CatComponents = [
|
|
|
1119
1368
|
];
|
|
1120
1369
|
const CatDirectives = [
|
|
1121
1370
|
BooleanValueAccessor,
|
|
1371
|
+
DateValueAccessor,
|
|
1122
1372
|
RadioValueAccessor,
|
|
1123
1373
|
SelectValueAccessor,
|
|
1124
1374
|
SelectValueAccessorDecorator,
|
|
1125
1375
|
TextValueAccessor,
|
|
1126
|
-
|
|
1376
|
+
TimeValueAccessor,
|
|
1377
|
+
ValueAccessorDecorator,
|
|
1378
|
+
DatetimeComponent
|
|
1127
1379
|
];
|
|
1128
1380
|
const CAT_LOG_TOKEN = new InjectionToken('CAT_LOG', {
|
|
1129
1381
|
providedIn: 'root',
|
|
@@ -1149,24 +1401,30 @@ class CatalystModule {
|
|
|
1149
1401
|
};
|
|
1150
1402
|
}
|
|
1151
1403
|
}
|
|
1152
|
-
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1153
|
-
CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
1404
|
+
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1405
|
+
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,
|
|
1406
|
+
DateValueAccessor,
|
|
1154
1407
|
RadioValueAccessor,
|
|
1155
1408
|
SelectValueAccessor,
|
|
1156
1409
|
SelectValueAccessorDecorator,
|
|
1157
1410
|
TextValueAccessor,
|
|
1158
|
-
|
|
1411
|
+
TimeValueAccessor,
|
|
1412
|
+
ValueAccessorDecorator,
|
|
1413
|
+
DatetimeComponent, CatDialogComponent,
|
|
1159
1414
|
CatDialogHeaderComponent,
|
|
1160
1415
|
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,
|
|
1416
|
+
DateValueAccessor,
|
|
1161
1417
|
RadioValueAccessor,
|
|
1162
1418
|
SelectValueAccessor,
|
|
1163
1419
|
SelectValueAccessorDecorator,
|
|
1164
1420
|
TextValueAccessor,
|
|
1165
|
-
|
|
1421
|
+
TimeValueAccessor,
|
|
1422
|
+
ValueAccessorDecorator,
|
|
1423
|
+
DatetimeComponent, CatDialogComponent,
|
|
1166
1424
|
CatDialogHeaderComponent,
|
|
1167
1425
|
CatDialogActionsComponent] });
|
|
1168
|
-
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
1169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1426
|
+
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, imports: [CommonModule, DialogModule] });
|
|
1427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, decorators: [{
|
|
1170
1428
|
type: NgModule,
|
|
1171
1429
|
args: [{
|
|
1172
1430
|
imports: [CommonModule, DialogModule],
|
|
@@ -1232,9 +1490,9 @@ class CatDialogService {
|
|
|
1232
1490
|
this.dialog.closeAll();
|
|
1233
1491
|
}
|
|
1234
1492
|
}
|
|
1235
|
-
CatDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1236
|
-
CatDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1493
|
+
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 });
|
|
1494
|
+
CatDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogService, providedIn: 'root' });
|
|
1495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogService, decorators: [{
|
|
1238
1496
|
type: Injectable,
|
|
1239
1497
|
args: [{
|
|
1240
1498
|
providedIn: 'root'
|
|
@@ -1245,5 +1503,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1245
1503
|
* Generated bundle index. Do not edit.
|
|
1246
1504
|
*/
|
|
1247
1505
|
|
|
1248
|
-
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 };
|
|
1506
|
+
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 };
|
|
1249
1507
|
//# sourceMappingURL=haiilo-catalyst-angular.mjs.map
|