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