@haiilo/catalyst-angular 10.5.0 → 10.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/catalyst.module.mjs +20 -8
- package/esm2020/lib/datetime/datetime.component.mjs +130 -0
- package/esm2020/lib/dialog/dialog-actions.component.mjs +3 -3
- package/esm2020/lib/dialog/dialog-header.component.mjs +3 -3
- package/esm2020/lib/dialog/dialog.component.mjs +3 -3
- package/esm2020/lib/dialog/dialog.service.mjs +3 -3
- package/esm2020/lib/directives/boolean-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/date-value-accessor.mjs +51 -0
- package/esm2020/lib/directives/proxies.mjs +90 -90
- package/esm2020/lib/directives/radio-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/select-value-accessor-decorator.mjs +3 -3
- package/esm2020/lib/directives/select-value-accessor.mjs +3 -3
- package/esm2020/lib/directives/text-value-accessor.mjs +5 -5
- package/esm2020/lib/directives/time-value-accessor.mjs +55 -0
- package/esm2020/lib/directives/value-accessor-decorator.mjs +3 -3
- package/esm2020/lib/directives/value-accessor.mjs +3 -3
- package/esm2020/public-api.mjs +4 -1
- package/fesm2015/haiilo-catalyst-angular.mjs +374 -131
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +363 -131
- package/fesm2020/haiilo-catalyst-angular.mjs.map +1 -1
- package/lib/catalyst.module.d.ts +14 -11
- package/lib/datetime/datetime.component.d.ts +29 -0
- package/lib/directives/date-value-accessor.d.ts +11 -0
- package/lib/directives/proxies.d.ts +1 -1
- package/lib/directives/text-value-accessor.d.ts +1 -1
- package/lib/directives/time-value-accessor.d.ts +11 -0
- package/package.json +3 -3
- package/public-api.d.ts +3 -0
|
@@ -24,9 +24,9 @@ class CatDialogActionsComponent {
|
|
|
24
24
|
this.align = 'end';
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
CatDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
28
|
-
CatDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
27
|
+
CatDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
CatDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDialogActionsComponent, selector: "cat-dialog-actions", inputs: { align: "align" }, host: { properties: { "class.cat-dialog-actions-center": "align === \"center\"", "class.cat-dialog-actions-end": "align === \"end\"", "class.cat-dialog-actions-space-between": "align === \"space-between\"" }, classAttribute: "cat-dialog-actions" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".cat-dialog-actions-center{justify-content:center}.cat-dialog-actions-end{justify-content:end}.cat-dialog-actions-space-between{justify-content:space-between}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogActionsComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{ selector: 'cat-dialog-actions', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
32
32
|
class: 'cat-dialog-actions',
|
|
@@ -102,14 +102,14 @@ let CatAlert = class CatAlert {
|
|
|
102
102
|
this.el = r.nativeElement;
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
-
CatAlert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
106
|
-
CatAlert.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
105
|
+
CatAlert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatAlert, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
106
|
+
CatAlert.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatAlert, selector: "cat-alert", inputs: { color: "color", icon: "icon", noIcon: "noIcon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
107
107
|
CatAlert = __decorate([
|
|
108
108
|
ProxyCmp({
|
|
109
109
|
inputs: ['color', 'icon', 'noIcon']
|
|
110
110
|
})
|
|
111
111
|
], CatAlert);
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatAlert, decorators: [{
|
|
113
113
|
type: Component,
|
|
114
114
|
args: [{
|
|
115
115
|
selector: 'cat-alert',
|
|
@@ -126,14 +126,14 @@ let CatAvatar = class CatAvatar {
|
|
|
126
126
|
this.el = r.nativeElement;
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
|
-
CatAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
130
|
-
CatAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
129
|
+
CatAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
130
|
+
CatAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatAvatar, selector: "cat-avatar", inputs: { icon: "icon", initials: "initials", label: "label", round: "round", size: "size", src: "src", url: "url", urlTarget: "urlTarget" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
131
131
|
CatAvatar = __decorate([
|
|
132
132
|
ProxyCmp({
|
|
133
133
|
inputs: ['icon', 'initials', 'label', 'round', 'size', 'src', 'url', 'urlTarget']
|
|
134
134
|
})
|
|
135
135
|
], CatAvatar);
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatAvatar, decorators: [{
|
|
137
137
|
type: Component,
|
|
138
138
|
args: [{
|
|
139
139
|
selector: 'cat-avatar',
|
|
@@ -150,14 +150,14 @@ let CatBadge = class CatBadge {
|
|
|
150
150
|
this.el = r.nativeElement;
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
|
-
CatBadge.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
154
|
-
CatBadge.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
153
|
+
CatBadge.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatBadge, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
154
|
+
CatBadge.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatBadge, selector: "cat-badge", inputs: { color: "color", pulse: "pulse", round: "round", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
155
155
|
CatBadge = __decorate([
|
|
156
156
|
ProxyCmp({
|
|
157
157
|
inputs: ['color', 'pulse', 'round', 'size', 'variant']
|
|
158
158
|
})
|
|
159
159
|
], CatBadge);
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatBadge, decorators: [{
|
|
161
161
|
type: Component,
|
|
162
162
|
args: [{
|
|
163
163
|
selector: 'cat-badge',
|
|
@@ -175,15 +175,15 @@ let CatButton = class CatButton {
|
|
|
175
175
|
proxyOutputs(this, this.el, ['catClick', 'catFocus', 'catBlur']);
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
|
-
CatButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
179
|
-
CatButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
178
|
+
CatButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
179
|
+
CatButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatButton, selector: "cat-button", inputs: { a11yCurrent: "a11yCurrent", a11yLabel: "a11yLabel", active: "active", buttonGroupPosition: "buttonGroupPosition", buttonId: "buttonId", color: "color", disabled: "disabled", icon: "icon", iconOnly: "iconOnly", iconRight: "iconRight", loading: "loading", name: "name", nativeAttributes: "nativeAttributes", nativeContentAttributes: "nativeContentAttributes", noEllipsis: "noEllipsis", round: "round", size: "size", submit: "submit", url: "url", urlTarget: "urlTarget", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
180
180
|
CatButton = __decorate([
|
|
181
181
|
ProxyCmp({
|
|
182
182
|
inputs: ['a11yCurrent', 'a11yLabel', 'active', 'buttonGroupPosition', 'buttonId', 'color', 'disabled', 'icon', 'iconOnly', 'iconRight', 'loading', 'name', 'nativeAttributes', 'nativeContentAttributes', 'noEllipsis', 'round', 'size', 'submit', 'url', 'urlTarget', 'value', 'variant'],
|
|
183
183
|
methods: ['doFocus', 'doBlur', 'doClick']
|
|
184
184
|
})
|
|
185
185
|
], CatButton);
|
|
186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatButton, decorators: [{
|
|
187
187
|
type: Component,
|
|
188
188
|
args: [{
|
|
189
189
|
selector: 'cat-button',
|
|
@@ -200,14 +200,14 @@ let CatButtonGroup = class CatButtonGroup {
|
|
|
200
200
|
this.el = r.nativeElement;
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
|
-
CatButtonGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
204
|
-
CatButtonGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
203
|
+
CatButtonGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatButtonGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
204
|
+
CatButtonGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatButtonGroup, selector: "cat-button-group", inputs: { a11yLabel: "a11yLabel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
205
205
|
CatButtonGroup = __decorate([
|
|
206
206
|
ProxyCmp({
|
|
207
207
|
inputs: ['a11yLabel']
|
|
208
208
|
})
|
|
209
209
|
], CatButtonGroup);
|
|
210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatButtonGroup, decorators: [{
|
|
211
211
|
type: Component,
|
|
212
212
|
args: [{
|
|
213
213
|
selector: 'cat-button-group',
|
|
@@ -224,12 +224,12 @@ let CatCard = class CatCard {
|
|
|
224
224
|
this.el = r.nativeElement;
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
|
-
CatCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
228
|
-
CatCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
227
|
+
CatCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCard, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
228
|
+
CatCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatCard, selector: "cat-card", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
229
229
|
CatCard = __decorate([
|
|
230
230
|
ProxyCmp({})
|
|
231
231
|
], CatCard);
|
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCard, decorators: [{
|
|
233
233
|
type: Component,
|
|
234
234
|
args: [{
|
|
235
235
|
selector: 'cat-card',
|
|
@@ -247,15 +247,15 @@ let CatCheckbox = class CatCheckbox {
|
|
|
247
247
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
|
-
CatCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
251
|
-
CatCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
250
|
+
CatCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
251
|
+
CatCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatCheckbox, selector: "cat-checkbox", inputs: { checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", indeterminate: "indeterminate", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", noValue: "noValue", required: "required", resolvedValue: "resolvedValue", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
252
252
|
CatCheckbox = __decorate([
|
|
253
253
|
ProxyCmp({
|
|
254
254
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'indeterminate', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'resolvedValue', 'value'],
|
|
255
255
|
methods: ['doFocus', 'doBlur']
|
|
256
256
|
})
|
|
257
257
|
], CatCheckbox);
|
|
258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCheckbox, decorators: [{
|
|
259
259
|
type: Component,
|
|
260
260
|
args: [{
|
|
261
261
|
selector: 'cat-checkbox',
|
|
@@ -273,15 +273,15 @@ let CatDate = class CatDate {
|
|
|
273
273
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
|
-
CatDate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
277
|
-
CatDate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
276
|
+
CatDate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDate, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
277
|
+
CatDate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDate, selector: "cat-date", inputs: { autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", max: "max", min: "min", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", placement: "placement", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", textPrefix: "textPrefix", textSuffix: "textSuffix", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
278
278
|
CatDate = __decorate([
|
|
279
279
|
ProxyCmp({
|
|
280
280
|
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'min', 'name', 'nativeAttributes', 'placeholder', 'placement', 'readonly', 'required', 'requiredMarker', 'textPrefix', 'textSuffix', 'value'],
|
|
281
281
|
methods: ['doFocus', 'doBlur', 'clear']
|
|
282
282
|
})
|
|
283
283
|
], CatDate);
|
|
284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDate, decorators: [{
|
|
285
285
|
type: Component,
|
|
286
286
|
args: [{
|
|
287
287
|
selector: 'cat-date',
|
|
@@ -299,15 +299,15 @@ let CatDateInline = class CatDateInline {
|
|
|
299
299
|
proxyOutputs(this, this.el, ['catChange']);
|
|
300
300
|
}
|
|
301
301
|
};
|
|
302
|
-
CatDateInline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
303
|
-
CatDateInline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
302
|
+
CatDateInline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDateInline, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
303
|
+
CatDateInline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDateInline, selector: "cat-date-inline", inputs: { max: "max", min: "min", noClear: "noClear", noHint: "noHint", noToday: "noToday", noWeeks: "noWeeks", range: "range", size: "size", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
304
304
|
CatDateInline = __decorate([
|
|
305
305
|
ProxyCmp({
|
|
306
306
|
inputs: ['max', 'min', 'noClear', 'noHint', 'noToday', 'noWeeks', 'range', 'size', 'value'],
|
|
307
307
|
methods: ['select', 'clear', 'resetView']
|
|
308
308
|
})
|
|
309
309
|
], CatDateInline);
|
|
310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDateInline, decorators: [{
|
|
311
311
|
type: Component,
|
|
312
312
|
args: [{
|
|
313
313
|
selector: 'cat-date-inline',
|
|
@@ -325,15 +325,15 @@ let CatDatepicker = class CatDatepicker {
|
|
|
325
325
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
326
326
|
}
|
|
327
327
|
};
|
|
328
|
-
CatDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
329
|
-
CatDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
328
|
+
CatDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
329
|
+
CatDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDatepicker, selector: "cat-datepicker", inputs: { attachToElement: "attachToElement", autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", max: "max", min: "min", mode: "mode", name: "name", nativeAttributes: "nativeAttributes", nativePickerAttributes: "nativePickerAttributes", placeholder: "placeholder", position: "position", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", step: "step", textPrefix: "textPrefix", textSuffix: "textSuffix", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
330
330
|
CatDatepicker = __decorate([
|
|
331
331
|
ProxyCmp({
|
|
332
332
|
inputs: ['attachToElement', 'autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'min', 'mode', 'name', 'nativeAttributes', 'nativePickerAttributes', 'placeholder', 'position', 'readonly', 'required', 'requiredMarker', 'step', 'textPrefix', 'textSuffix', 'value'],
|
|
333
333
|
methods: ['doFocus', 'doBlur']
|
|
334
334
|
})
|
|
335
335
|
], CatDatepicker);
|
|
336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepicker, decorators: [{
|
|
337
337
|
type: Component,
|
|
338
338
|
args: [{
|
|
339
339
|
selector: 'cat-datepicker',
|
|
@@ -351,14 +351,14 @@ let CatDatepickerInline = class CatDatepickerInline {
|
|
|
351
351
|
proxyOutputs(this, this.el, ['catChange']);
|
|
352
352
|
}
|
|
353
353
|
};
|
|
354
|
-
CatDatepickerInline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
355
|
-
CatDatepickerInline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
354
|
+
CatDatepickerInline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepickerInline, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
355
|
+
CatDatepickerInline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDatepickerInline, selector: "cat-datepicker-inline", inputs: { disabled: "disabled", max: "max", min: "min", mode: "mode", nativePickerAttributes: "nativePickerAttributes", readonly: "readonly", step: "step", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
356
356
|
CatDatepickerInline = __decorate([
|
|
357
357
|
ProxyCmp({
|
|
358
358
|
inputs: ['disabled', 'max', 'min', 'mode', 'nativePickerAttributes', 'readonly', 'step', 'value']
|
|
359
359
|
})
|
|
360
360
|
], CatDatepickerInline);
|
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDatepickerInline, decorators: [{
|
|
362
362
|
type: Component,
|
|
363
363
|
args: [{
|
|
364
364
|
selector: 'cat-datepicker-inline',
|
|
@@ -376,22 +376,22 @@ let CatDropdown = class CatDropdown {
|
|
|
376
376
|
proxyOutputs(this, this.el, ['catOpen', 'catClose']);
|
|
377
377
|
}
|
|
378
378
|
};
|
|
379
|
-
CatDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
380
|
-
CatDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
379
|
+
CatDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
380
|
+
CatDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDropdown, selector: "cat-dropdown", inputs: { arrowNavigation: "arrowNavigation", noAutoClose: "noAutoClose", noInitialFocus: "noInitialFocus", noResize: "noResize", overflow: "overflow", placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
381
381
|
CatDropdown = __decorate([
|
|
382
382
|
ProxyCmp({
|
|
383
|
-
inputs: ['arrowNavigation', 'noAutoClose', 'noResize', 'overflow', 'placement'],
|
|
383
|
+
inputs: ['arrowNavigation', 'noAutoClose', 'noInitialFocus', 'noResize', 'overflow', 'placement'],
|
|
384
384
|
methods: ['toggle', 'open', 'close']
|
|
385
385
|
})
|
|
386
386
|
], CatDropdown);
|
|
387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDropdown, decorators: [{
|
|
388
388
|
type: Component,
|
|
389
389
|
args: [{
|
|
390
390
|
selector: 'cat-dropdown',
|
|
391
391
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
392
392
|
template: '<ng-content></ng-content>',
|
|
393
393
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
394
|
-
inputs: ['arrowNavigation', 'noAutoClose', 'noResize', 'overflow', 'placement'],
|
|
394
|
+
inputs: ['arrowNavigation', 'noAutoClose', 'noInitialFocus', 'noResize', 'overflow', 'placement'],
|
|
395
395
|
}]
|
|
396
396
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
397
397
|
let CatFormGroup = class CatFormGroup {
|
|
@@ -401,14 +401,14 @@ let CatFormGroup = class CatFormGroup {
|
|
|
401
401
|
this.el = r.nativeElement;
|
|
402
402
|
}
|
|
403
403
|
};
|
|
404
|
-
CatFormGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
405
|
-
CatFormGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
404
|
+
CatFormGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatFormGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
405
|
+
CatFormGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatFormGroup, selector: "cat-form-group", inputs: { horizontal: "horizontal", labelSize: "labelSize", requiredMarker: "requiredMarker" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
406
406
|
CatFormGroup = __decorate([
|
|
407
407
|
ProxyCmp({
|
|
408
408
|
inputs: ['horizontal', 'labelSize', 'requiredMarker']
|
|
409
409
|
})
|
|
410
410
|
], CatFormGroup);
|
|
411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatFormGroup, decorators: [{
|
|
412
412
|
type: Component,
|
|
413
413
|
args: [{
|
|
414
414
|
selector: 'cat-form-group',
|
|
@@ -425,14 +425,14 @@ let CatIcon = class CatIcon {
|
|
|
425
425
|
this.el = r.nativeElement;
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
|
-
CatIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
429
|
-
CatIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
428
|
+
CatIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
429
|
+
CatIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatIcon, selector: "cat-icon", inputs: { a11yLabel: "a11yLabel", icon: "icon", iconSrc: "iconSrc", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
430
430
|
CatIcon = __decorate([
|
|
431
431
|
ProxyCmp({
|
|
432
432
|
inputs: ['a11yLabel', 'icon', 'iconSrc', 'size']
|
|
433
433
|
})
|
|
434
434
|
], CatIcon);
|
|
435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatIcon, decorators: [{
|
|
436
436
|
type: Component,
|
|
437
437
|
args: [{
|
|
438
438
|
selector: 'cat-icon',
|
|
@@ -450,15 +450,15 @@ let CatInput = class CatInput {
|
|
|
450
450
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
451
451
|
}
|
|
452
452
|
};
|
|
453
|
-
CatInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
454
|
-
CatInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
453
|
+
CatInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
454
|
+
CatInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatInput, selector: "cat-input", inputs: { autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", max: "max", maxLength: "maxLength", min: "min", minLength: "minLength", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", round: "round", textPrefix: "textPrefix", textSuffix: "textSuffix", togglePassword: "togglePassword", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
455
455
|
CatInput = __decorate([
|
|
456
456
|
ProxyCmp({
|
|
457
457
|
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'maxLength', 'min', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'round', 'textPrefix', 'textSuffix', 'togglePassword', 'type', 'value'],
|
|
458
458
|
methods: ['doFocus', 'doBlur', 'clear', 'mask']
|
|
459
459
|
})
|
|
460
460
|
], CatInput);
|
|
461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatInput, decorators: [{
|
|
462
462
|
type: Component,
|
|
463
463
|
args: [{
|
|
464
464
|
selector: 'cat-input',
|
|
@@ -476,14 +476,14 @@ let CatPagination = class CatPagination {
|
|
|
476
476
|
proxyOutputs(this, this.el, ['catChange']);
|
|
477
477
|
}
|
|
478
478
|
};
|
|
479
|
-
CatPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
480
|
-
CatPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
479
|
+
CatPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
480
|
+
CatPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatPagination, selector: "cat-pagination", inputs: { activePadding: "activePadding", compact: "compact", iconNext: "iconNext", iconPrev: "iconPrev", page: "page", pageCount: "pageCount", round: "round", sidePadding: "sidePadding", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
481
481
|
CatPagination = __decorate([
|
|
482
482
|
ProxyCmp({
|
|
483
483
|
inputs: ['activePadding', 'compact', 'iconNext', 'iconPrev', 'page', 'pageCount', 'round', 'sidePadding', 'size', 'variant']
|
|
484
484
|
})
|
|
485
485
|
], CatPagination);
|
|
486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatPagination, decorators: [{
|
|
487
487
|
type: Component,
|
|
488
488
|
args: [{
|
|
489
489
|
selector: 'cat-pagination',
|
|
@@ -501,15 +501,15 @@ let CatRadio = class CatRadio {
|
|
|
501
501
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
502
502
|
}
|
|
503
503
|
};
|
|
504
|
-
CatRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
505
|
-
CatRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
504
|
+
CatRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
505
|
+
CatRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatRadio, selector: "cat-radio", inputs: { checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
506
506
|
CatRadio = __decorate([
|
|
507
507
|
ProxyCmp({
|
|
508
508
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'required', 'value'],
|
|
509
509
|
methods: ['doFocus', 'doBlur']
|
|
510
510
|
})
|
|
511
511
|
], CatRadio);
|
|
512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadio, decorators: [{
|
|
513
513
|
type: Component,
|
|
514
514
|
args: [{
|
|
515
515
|
selector: 'cat-radio',
|
|
@@ -527,14 +527,14 @@ let CatRadioGroup = class CatRadioGroup {
|
|
|
527
527
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
528
528
|
}
|
|
529
529
|
};
|
|
530
|
-
CatRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
531
|
-
CatRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
530
|
+
CatRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
531
|
+
CatRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatRadioGroup, selector: "cat-radio-group", inputs: { a11yLabel: "a11yLabel", disabled: "disabled", labelLeft: "labelLeft", name: "name", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
532
532
|
CatRadioGroup = __decorate([
|
|
533
533
|
ProxyCmp({
|
|
534
534
|
inputs: ['a11yLabel', 'disabled', 'labelLeft', 'name', 'value']
|
|
535
535
|
})
|
|
536
536
|
], CatRadioGroup);
|
|
537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatRadioGroup, decorators: [{
|
|
538
538
|
type: Component,
|
|
539
539
|
args: [{
|
|
540
540
|
selector: 'cat-radio-group',
|
|
@@ -552,14 +552,14 @@ let CatScrollable = class CatScrollable {
|
|
|
552
552
|
proxyOutputs(this, this.el, ['scrolledTop', 'scrolledLeft', 'scrolledRight', 'scrolledBottom']);
|
|
553
553
|
}
|
|
554
554
|
};
|
|
555
|
-
CatScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
556
|
-
CatScrollable.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
555
|
+
CatScrollable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatScrollable, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
556
|
+
CatScrollable.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatScrollable, selector: "cat-scrollable", inputs: { noOverflowX: "noOverflowX", noOverflowY: "noOverflowY", noOverscroll: "noOverscroll", noScrolledInit: "noScrolledInit", noShadowX: "noShadowX", noShadowY: "noShadowY", scrolledBuffer: "scrolledBuffer" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
557
557
|
CatScrollable = __decorate([
|
|
558
558
|
ProxyCmp({
|
|
559
559
|
inputs: ['noOverflowX', 'noOverflowY', 'noOverscroll', 'noScrolledInit', 'noShadowX', 'noShadowY', 'scrolledBuffer']
|
|
560
560
|
})
|
|
561
561
|
], CatScrollable);
|
|
562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatScrollable, decorators: [{
|
|
563
563
|
type: Component,
|
|
564
564
|
args: [{
|
|
565
565
|
selector: 'cat-scrollable',
|
|
@@ -577,15 +577,15 @@ let CatSelect = class CatSelect {
|
|
|
577
577
|
proxyOutputs(this, this.el, ['catOpen', 'catClose', 'catChange', 'catBlur']);
|
|
578
578
|
}
|
|
579
579
|
};
|
|
580
|
-
CatSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
581
|
-
CatSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
580
|
+
CatSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
581
|
+
CatSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatSelect, selector: "cat-select", inputs: { clearable: "clearable", debounce: "debounce", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", identifier: "identifier", label: "label", labelHidden: "labelHidden", multiple: "multiple", name: "name", nativeAttributes: "nativeAttributes", noItems: "noItems", placeholder: "placeholder", placement: "placement", required: "required", requiredMarker: "requiredMarker", tagHint: "tagHint", tags: "tags", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
582
582
|
CatSelect = __decorate([
|
|
583
583
|
ProxyCmp({
|
|
584
584
|
inputs: ['clearable', 'debounce', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'multiple', 'name', 'nativeAttributes', 'noItems', 'placeholder', 'placement', 'required', 'requiredMarker', 'tagHint', 'tags', 'value'],
|
|
585
585
|
methods: ['doFocus', 'doBlur', 'clear', 'connect']
|
|
586
586
|
})
|
|
587
587
|
], CatSelect);
|
|
588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelect, decorators: [{
|
|
589
589
|
type: Component,
|
|
590
590
|
args: [{
|
|
591
591
|
selector: 'cat-select',
|
|
@@ -602,12 +602,12 @@ let CatSelectDemo = class CatSelectDemo {
|
|
|
602
602
|
this.el = r.nativeElement;
|
|
603
603
|
}
|
|
604
604
|
};
|
|
605
|
-
CatSelectDemo.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
606
|
-
CatSelectDemo.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
605
|
+
CatSelectDemo.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelectDemo, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
606
|
+
CatSelectDemo.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatSelectDemo, selector: "cat-select-demo", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
607
607
|
CatSelectDemo = __decorate([
|
|
608
608
|
ProxyCmp({})
|
|
609
609
|
], CatSelectDemo);
|
|
610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSelectDemo, decorators: [{
|
|
611
611
|
type: Component,
|
|
612
612
|
args: [{
|
|
613
613
|
selector: 'cat-select-demo',
|
|
@@ -624,14 +624,14 @@ let CatSkeleton = class CatSkeleton {
|
|
|
624
624
|
this.el = r.nativeElement;
|
|
625
625
|
}
|
|
626
626
|
};
|
|
627
|
-
CatSkeleton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
628
|
-
CatSkeleton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
627
|
+
CatSkeleton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSkeleton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
628
|
+
CatSkeleton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatSkeleton, selector: "cat-skeleton", inputs: { effect: "effect", lines: "lines", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
629
629
|
CatSkeleton = __decorate([
|
|
630
630
|
ProxyCmp({
|
|
631
631
|
inputs: ['effect', 'lines', 'size', 'variant']
|
|
632
632
|
})
|
|
633
633
|
], CatSkeleton);
|
|
634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSkeleton, decorators: [{
|
|
635
635
|
type: Component,
|
|
636
636
|
args: [{
|
|
637
637
|
selector: 'cat-skeleton',
|
|
@@ -648,14 +648,14 @@ let CatSpinner = class CatSpinner {
|
|
|
648
648
|
this.el = r.nativeElement;
|
|
649
649
|
}
|
|
650
650
|
};
|
|
651
|
-
CatSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
652
|
-
CatSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
651
|
+
CatSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSpinner, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
652
|
+
CatSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatSpinner, selector: "cat-spinner", inputs: { a11yLabel: "a11yLabel", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
653
653
|
CatSpinner = __decorate([
|
|
654
654
|
ProxyCmp({
|
|
655
655
|
inputs: ['a11yLabel', 'size']
|
|
656
656
|
})
|
|
657
657
|
], CatSpinner);
|
|
658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatSpinner, decorators: [{
|
|
659
659
|
type: Component,
|
|
660
660
|
args: [{
|
|
661
661
|
selector: 'cat-spinner',
|
|
@@ -673,14 +673,14 @@ let CatTab = class CatTab {
|
|
|
673
673
|
proxyOutputs(this, this.el, ['catClick']);
|
|
674
674
|
}
|
|
675
675
|
};
|
|
676
|
-
CatTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
677
|
-
CatTab.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
676
|
+
CatTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTab, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
677
|
+
CatTab.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTab, selector: "cat-tab", inputs: { deactivated: "deactivated", error: "error", icon: "icon", iconOnly: "iconOnly", iconRight: "iconRight", label: "label", nativeAttributes: "nativeAttributes", url: "url", urlTarget: "urlTarget" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
678
678
|
CatTab = __decorate([
|
|
679
679
|
ProxyCmp({
|
|
680
680
|
inputs: ['deactivated', 'error', 'icon', 'iconOnly', 'iconRight', 'label', 'nativeAttributes', 'url', 'urlTarget']
|
|
681
681
|
})
|
|
682
682
|
], CatTab);
|
|
683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTab, decorators: [{
|
|
684
684
|
type: Component,
|
|
685
685
|
args: [{
|
|
686
686
|
selector: 'cat-tab',
|
|
@@ -698,15 +698,15 @@ let CatTabs = class CatTabs {
|
|
|
698
698
|
proxyOutputs(this, this.el, ['catChange']);
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
|
-
CatTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
702
|
-
CatTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
701
|
+
CatTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTabs, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
702
|
+
CatTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTabs, selector: "cat-tabs", inputs: { activeTab: "activeTab", tabsAlign: "tabsAlign" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
703
703
|
CatTabs = __decorate([
|
|
704
704
|
ProxyCmp({
|
|
705
705
|
inputs: ['activeTab', 'tabsAlign'],
|
|
706
706
|
methods: ['setActive', 'setActiveIndex']
|
|
707
707
|
})
|
|
708
708
|
], CatTabs);
|
|
709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTabs, decorators: [{
|
|
710
710
|
type: Component,
|
|
711
711
|
args: [{
|
|
712
712
|
selector: 'cat-tabs',
|
|
@@ -724,15 +724,15 @@ let CatTextarea = class CatTextarea {
|
|
|
724
724
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
725
725
|
}
|
|
726
726
|
};
|
|
727
|
-
CatTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
728
|
-
CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
727
|
+
CatTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
728
|
+
CatTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTextarea, selector: "cat-textarea", inputs: { disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", identifier: "identifier", label: "label", labelHidden: "labelHidden", maxLength: "maxLength", minLength: "minLength", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", rows: "rows", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
729
729
|
CatTextarea = __decorate([
|
|
730
730
|
ProxyCmp({
|
|
731
731
|
inputs: ['disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'identifier', 'label', 'labelHidden', 'maxLength', 'minLength', 'name', 'nativeAttributes', 'placeholder', 'readonly', 'required', 'requiredMarker', 'rows', 'value'],
|
|
732
732
|
methods: ['doFocus', 'doBlur', 'clear']
|
|
733
733
|
})
|
|
734
734
|
], CatTextarea);
|
|
735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTextarea, decorators: [{
|
|
736
736
|
type: Component,
|
|
737
737
|
args: [{
|
|
738
738
|
selector: 'cat-textarea',
|
|
@@ -750,15 +750,15 @@ let CatTime = class CatTime {
|
|
|
750
750
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
751
751
|
}
|
|
752
752
|
};
|
|
753
|
-
CatTime.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
754
|
-
CatTime.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
753
|
+
CatTime.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTime, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
754
|
+
CatTime.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTime, selector: "cat-time", inputs: { autoComplete: "autoComplete", clearable: "clearable", disabled: "disabled", errorUpdate: "errorUpdate", errors: "errors", hint: "hint", horizontal: "horizontal", icon: "icon", iconRight: "iconRight", identifier: "identifier", label: "label", labelHidden: "labelHidden", max: "max", min: "min", name: "name", nativeAttributes: "nativeAttributes", placeholder: "placeholder", placement: "placement", readonly: "readonly", required: "required", requiredMarker: "requiredMarker", step: "step", textPrefix: "textPrefix", textSuffix: "textSuffix", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
755
755
|
CatTime = __decorate([
|
|
756
756
|
ProxyCmp({
|
|
757
757
|
inputs: ['autoComplete', 'clearable', 'disabled', 'errorUpdate', 'errors', 'hint', 'horizontal', 'icon', 'iconRight', 'identifier', 'label', 'labelHidden', 'max', 'min', 'name', 'nativeAttributes', 'placeholder', 'placement', 'readonly', 'required', 'requiredMarker', 'step', 'textPrefix', 'textSuffix', 'value'],
|
|
758
758
|
methods: ['select', 'doFocus', 'doBlur', 'clear']
|
|
759
759
|
})
|
|
760
760
|
], CatTime);
|
|
761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTime, decorators: [{
|
|
762
762
|
type: Component,
|
|
763
763
|
args: [{
|
|
764
764
|
selector: 'cat-time',
|
|
@@ -776,15 +776,15 @@ let CatToggle = class CatToggle {
|
|
|
776
776
|
proxyOutputs(this, this.el, ['catChange', 'catFocus', 'catBlur']);
|
|
777
777
|
}
|
|
778
778
|
};
|
|
779
|
-
CatToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
780
|
-
CatToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
779
|
+
CatToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
780
|
+
CatToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatToggle, selector: "cat-toggle", inputs: { checked: "checked", disabled: "disabled", hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", labelLeft: "labelLeft", name: "name", nativeAttributes: "nativeAttributes", noValue: "noValue", required: "required", resolvedValue: "resolvedValue", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
781
781
|
CatToggle = __decorate([
|
|
782
782
|
ProxyCmp({
|
|
783
783
|
inputs: ['checked', 'disabled', 'hint', 'identifier', 'label', 'labelHidden', 'labelLeft', 'name', 'nativeAttributes', 'noValue', 'required', 'resolvedValue', 'value'],
|
|
784
784
|
methods: ['doFocus', 'doBlur']
|
|
785
785
|
})
|
|
786
786
|
], CatToggle);
|
|
787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatToggle, decorators: [{
|
|
788
788
|
type: Component,
|
|
789
789
|
args: [{
|
|
790
790
|
selector: 'cat-toggle',
|
|
@@ -801,14 +801,14 @@ let CatTooltip = class CatTooltip {
|
|
|
801
801
|
this.el = r.nativeElement;
|
|
802
802
|
}
|
|
803
803
|
};
|
|
804
|
-
CatTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
805
|
-
CatTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
804
|
+
CatTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
805
|
+
CatTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatTooltip, selector: "cat-tooltip", inputs: { content: "content", disabled: "disabled", hideDelay: "hideDelay", longTouchDuration: "longTouchDuration", placement: "placement", round: "round", showDelay: "showDelay", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
806
806
|
CatTooltip = __decorate([
|
|
807
807
|
ProxyCmp({
|
|
808
808
|
inputs: ['content', 'disabled', 'hideDelay', 'longTouchDuration', 'placement', 'round', 'showDelay', 'size']
|
|
809
809
|
})
|
|
810
810
|
], CatTooltip);
|
|
811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTooltip, decorators: [{
|
|
812
812
|
type: Component,
|
|
813
813
|
args: [{
|
|
814
814
|
selector: 'cat-tooltip',
|
|
@@ -836,9 +836,9 @@ class CatDialogHeaderComponent {
|
|
|
836
836
|
this.close = new EventEmitter();
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
|
-
CatDialogHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
840
|
-
CatDialogHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
839
|
+
CatDialogHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogHeaderComponent, deps: [{ token: CAT_I18N_REGISTRY_TOKEN }], target: i0.ɵɵFactoryTarget.Component });
|
|
840
|
+
CatDialogHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDialogHeaderComponent, selector: "cat-dialog-header", inputs: { headline: "headline", subline: "subline", closable: "closable" }, outputs: { close: "close" }, host: { classAttribute: "cat-dialog-header" }, ngImport: i0, template: "<div class=\"cat-dialog-header-content\" *ngIf=\"headline || subline\">\n <h3 class=\"cat-h5 cat-m-0\" *ngIf=\"headline\">{{ headline }}</h3>\n <h4 class=\"cat-h6 cat-m-0\" *ngIf=\"subline\">{{ subline }}</h4>\n</div>\n<ng-content></ng-content>\n<cat-button\n *ngIf=\"closable\"\n class=\"cat-dialog-close cat-button-pull\"\n variant=\"text\"\n size=\"s\"\n icon=\"$cat:dialog-close\"\n [iconOnly]=\"true\"\n [a11yLabel]=\"closeTxt\"\n (click)=\"close.emit()\"\n></cat-button>\n", styles: [".cat-dialog-close{margin-left:auto;align-self:start}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CatButton, selector: "cat-button", inputs: ["a11yCurrent", "a11yLabel", "active", "buttonGroupPosition", "buttonId", "color", "disabled", "icon", "iconOnly", "iconRight", "loading", "name", "nativeAttributes", "nativeContentAttributes", "noEllipsis", "round", "size", "submit", "url", "urlTarget", "value", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDialogHeaderComponent, decorators: [{
|
|
842
842
|
type: Component,
|
|
843
843
|
args: [{ selector: 'cat-dialog-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
844
844
|
class: 'cat-dialog-header'
|
|
@@ -867,9 +867,9 @@ class CatDialogComponent {
|
|
|
867
867
|
this.header?.close.subscribe(() => this.dialogRef.close());
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
|
-
CatDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
871
|
-
CatDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
872
|
-
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: [{
|
|
873
873
|
type: Component,
|
|
874
874
|
args: [{ selector: 'cat-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
875
875
|
class: 'cat-dialog'
|
|
@@ -907,9 +907,9 @@ class ValueAccessor {
|
|
|
907
907
|
this.el.nativeElement.disabled = isDisabled;
|
|
908
908
|
}
|
|
909
909
|
}
|
|
910
|
-
ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
911
|
-
ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
912
|
-
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: [{
|
|
913
913
|
type: Directive,
|
|
914
914
|
args: [{}]
|
|
915
915
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
|
|
@@ -925,15 +925,15 @@ class BooleanValueAccessor extends ValueAccessor {
|
|
|
925
925
|
this.el.nativeElement.checked = this.lastValue = this.el.nativeElement.value == null ? value : this.el.nativeElement.value === value;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
BooleanValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
929
|
-
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: [
|
|
930
930
|
{
|
|
931
931
|
provide: NG_VALUE_ACCESSOR,
|
|
932
932
|
useExisting: BooleanValueAccessor,
|
|
933
933
|
multi: true
|
|
934
934
|
}
|
|
935
935
|
], usesInheritance: true, ngImport: i0 });
|
|
936
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BooleanValueAccessor, decorators: [{
|
|
937
937
|
type: Directive,
|
|
938
938
|
args: [{
|
|
939
939
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -951,20 +951,67 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
951
951
|
}]
|
|
952
952
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
953
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
|
+
|
|
954
1001
|
class RadioValueAccessor extends ValueAccessor {
|
|
955
1002
|
constructor(el) {
|
|
956
1003
|
super(el);
|
|
957
1004
|
}
|
|
958
1005
|
}
|
|
959
|
-
RadioValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
960
|
-
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: [
|
|
961
1008
|
{
|
|
962
1009
|
provide: NG_VALUE_ACCESSOR,
|
|
963
1010
|
useExisting: RadioValueAccessor,
|
|
964
1011
|
multi: true
|
|
965
1012
|
}
|
|
966
1013
|
], usesInheritance: true, ngImport: i0 });
|
|
967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioValueAccessor, decorators: [{
|
|
968
1015
|
type: Directive,
|
|
969
1016
|
args: [{
|
|
970
1017
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -987,15 +1034,15 @@ class SelectValueAccessor extends ValueAccessor {
|
|
|
987
1034
|
super(el);
|
|
988
1035
|
}
|
|
989
1036
|
}
|
|
990
|
-
SelectValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
991
|
-
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: [
|
|
992
1039
|
{
|
|
993
1040
|
provide: NG_VALUE_ACCESSOR,
|
|
994
1041
|
useExisting: SelectValueAccessor,
|
|
995
1042
|
multi: true
|
|
996
1043
|
}
|
|
997
1044
|
], usesInheritance: true, ngImport: i0 });
|
|
998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SelectValueAccessor, decorators: [{
|
|
999
1046
|
type: Directive,
|
|
1000
1047
|
args: [{
|
|
1001
1048
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -1023,9 +1070,9 @@ class SelectValueAccessorDecorator {
|
|
|
1023
1070
|
}
|
|
1024
1071
|
}
|
|
1025
1072
|
}
|
|
1026
|
-
SelectValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1027
|
-
SelectValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1028
|
-
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: [{
|
|
1029
1076
|
type: Directive,
|
|
1030
1077
|
args: [{
|
|
1031
1078
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -1040,19 +1087,19 @@ class TextValueAccessor extends ValueAccessor {
|
|
|
1040
1087
|
super(el);
|
|
1041
1088
|
}
|
|
1042
1089
|
}
|
|
1043
|
-
TextValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1044
|
-
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: [
|
|
1045
1092
|
{
|
|
1046
1093
|
provide: NG_VALUE_ACCESSOR,
|
|
1047
1094
|
useExisting: TextValueAccessor,
|
|
1048
1095
|
multi: true
|
|
1049
1096
|
}
|
|
1050
1097
|
], usesInheritance: true, ngImport: i0 });
|
|
1051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextValueAccessor, decorators: [{
|
|
1052
1099
|
type: Directive,
|
|
1053
1100
|
args: [{
|
|
1054
1101
|
/* tslint:disable-next-line:directive-selector */
|
|
1055
|
-
selector: 'cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline
|
|
1102
|
+
selector: 'cat-input, cat-textarea, cat-datepicker, cat-datepicker-inline',
|
|
1056
1103
|
host: {
|
|
1057
1104
|
'(catChange)': 'handleChangeEvent($event.target.value)'
|
|
1058
1105
|
},
|
|
@@ -1066,6 +1113,57 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1066
1113
|
}]
|
|
1067
1114
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1068
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
|
+
|
|
1069
1167
|
class ValueAccessorDecorator {
|
|
1070
1168
|
constructor(el, controlDirective, controlContainer) {
|
|
1071
1169
|
this.el = el;
|
|
@@ -1092,9 +1190,9 @@ class ValueAccessorDecorator {
|
|
|
1092
1190
|
this.el.nativeElement.errors = this.controlDirective?.errors || !!this.controlDirective?.invalid;
|
|
1093
1191
|
}
|
|
1094
1192
|
}
|
|
1095
|
-
ValueAccessorDecorator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1096
|
-
ValueAccessorDecorator.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
1097
|
-
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: [{
|
|
1098
1196
|
type: Directive,
|
|
1099
1197
|
args: [{
|
|
1100
1198
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -1117,6 +1215,131 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1117
1215
|
type: Input
|
|
1118
1216
|
}] } });
|
|
1119
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
|
+
|
|
1120
1343
|
const CatComponents = [
|
|
1121
1344
|
CatAlert,
|
|
1122
1345
|
CatAvatar,
|
|
@@ -1145,11 +1368,14 @@ const CatComponents = [
|
|
|
1145
1368
|
];
|
|
1146
1369
|
const CatDirectives = [
|
|
1147
1370
|
BooleanValueAccessor,
|
|
1371
|
+
DateValueAccessor,
|
|
1148
1372
|
RadioValueAccessor,
|
|
1149
1373
|
SelectValueAccessor,
|
|
1150
1374
|
SelectValueAccessorDecorator,
|
|
1151
1375
|
TextValueAccessor,
|
|
1152
|
-
|
|
1376
|
+
TimeValueAccessor,
|
|
1377
|
+
ValueAccessorDecorator,
|
|
1378
|
+
DatetimeComponent
|
|
1153
1379
|
];
|
|
1154
1380
|
const CAT_LOG_TOKEN = new InjectionToken('CAT_LOG', {
|
|
1155
1381
|
providedIn: 'root',
|
|
@@ -1175,24 +1401,30 @@ class CatalystModule {
|
|
|
1175
1401
|
};
|
|
1176
1402
|
}
|
|
1177
1403
|
}
|
|
1178
|
-
CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1179
|
-
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,
|
|
1180
1407
|
RadioValueAccessor,
|
|
1181
1408
|
SelectValueAccessor,
|
|
1182
1409
|
SelectValueAccessorDecorator,
|
|
1183
1410
|
TextValueAccessor,
|
|
1184
|
-
|
|
1411
|
+
TimeValueAccessor,
|
|
1412
|
+
ValueAccessorDecorator,
|
|
1413
|
+
DatetimeComponent, CatDialogComponent,
|
|
1185
1414
|
CatDialogHeaderComponent,
|
|
1186
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,
|
|
1187
1417
|
RadioValueAccessor,
|
|
1188
1418
|
SelectValueAccessor,
|
|
1189
1419
|
SelectValueAccessorDecorator,
|
|
1190
1420
|
TextValueAccessor,
|
|
1191
|
-
|
|
1421
|
+
TimeValueAccessor,
|
|
1422
|
+
ValueAccessorDecorator,
|
|
1423
|
+
DatetimeComponent, CatDialogComponent,
|
|
1192
1424
|
CatDialogHeaderComponent,
|
|
1193
1425
|
CatDialogActionsComponent] });
|
|
1194
|
-
CatalystModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
1195
|
-
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: [{
|
|
1196
1428
|
type: NgModule,
|
|
1197
1429
|
args: [{
|
|
1198
1430
|
imports: [CommonModule, DialogModule],
|
|
@@ -1258,9 +1490,9 @@ class CatDialogService {
|
|
|
1258
1490
|
this.dialog.closeAll();
|
|
1259
1491
|
}
|
|
1260
1492
|
}
|
|
1261
|
-
CatDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1262
|
-
CatDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1263
|
-
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: [{
|
|
1264
1496
|
type: Injectable,
|
|
1265
1497
|
args: [{
|
|
1266
1498
|
providedIn: 'root'
|
|
@@ -1271,5 +1503,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
1271
1503
|
* Generated bundle index. Do not edit.
|
|
1272
1504
|
*/
|
|
1273
1505
|
|
|
1274
|
-
export { BooleanValueAccessor, CAT_I18N_REGISTRY_TOKEN, CAT_ICON_REGISTRY_TOKEN, CAT_LOG_TOKEN, CAT_NOTIFICATION_SERVICE_TOKEN, CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDate, CatDateInline, CatDatepicker, CatDatepickerInline, CatDialogActionsComponent, CatDialogComponent, CatDialogHeaderComponent, CatDialogService, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSelectDemo, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatTime, CatToggle, CatTooltip, CatalystModule, RadioValueAccessor, SelectValueAccessor, SelectValueAccessorDecorator, TextValueAccessor, ValueAccessor, ValueAccessorDecorator };
|
|
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 };
|
|
1275
1507
|
//# sourceMappingURL=haiilo-catalyst-angular.mjs.map
|