@progress-chef/platform-shared-components 0.0.34 → 0.0.35
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@progress-chef/platform-themes-service";
|
|
4
4
|
import * as i2 from "@progress/kendo-angular-dateinputs";
|
|
@@ -6,21 +6,44 @@ import * as i3 from "@progress/kendo-angular-label";
|
|
|
6
6
|
export class DateRangeComponent {
|
|
7
7
|
constructor(themesService) {
|
|
8
8
|
this.themesService = themesService;
|
|
9
|
+
this.isDisabled = false;
|
|
10
|
+
this.size = "medium";
|
|
11
|
+
this.rounded = "small";
|
|
12
|
+
this.fillMode = "solid";
|
|
9
13
|
this.autoCorrectOn = "none";
|
|
14
|
+
this.modelChange = new EventEmitter();
|
|
15
|
+
}
|
|
16
|
+
onStartChange(ev) {
|
|
17
|
+
this.modelChange.emit(ev);
|
|
18
|
+
}
|
|
19
|
+
onEndChange(ev) {
|
|
20
|
+
this.modelChange.emit(ev);
|
|
10
21
|
}
|
|
11
22
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeComponent, deps: [{ token: i1.ThemesService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateRangeComponent, selector: "lib-date-range", inputs: { range: "range", rangeStartLabel: "rangeStartLabel", rangeEndLabel: "rangeEndLabel", autoCorrectOn: "autoCorrectOn" }, ngImport: i0, template: "<kendo-daterange>\n <kendo-floatinglabel [text]=\"rangeStartLabel\">\n <kendo-dateinput kendoDateRangeStartInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.start\"></kendo-dateinput>\n </kendo-floatinglabel>\n <kendo-floatinglabel [text]=\"rangeEndLabel\">\n <kendo-dateinput kendoDateRangeEndInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.end\"></kendo-dateinput>\n </kendo-floatinglabel>\n</kendo-daterange>\n", styles: [""], dependencies: [{ kind: "component", type: i2.DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: i2.DateRangeComponent, selector: "kendo-daterange" }, { kind: "directive", type: i2.DateRangeStartInputDirective, selector: "[kendoDateRangeStartInput]", inputs: ["autoCorrectOn", "navigateCalendarOnFocus"] }, { kind: "directive", type: i2.DateRangeEndInputDirective, selector: "[kendoDateRangeEndInput]", inputs: ["autoCorrectOn", "navigateCalendarOnFocus"] }, { kind: "component", type: i3.FloatingLabelComponent, selector: "kendo-floatinglabel", inputs: ["labelCssStyle", "labelCssClass", "id", "text", "optional"], outputs: ["positionChange"], exportAs: ["kendoFloatingLabel"] }] }); }
|
|
23
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateRangeComponent, selector: "lib-date-range", inputs: { range: "range", rangeStartLabel: "rangeStartLabel", rangeEndLabel: "rangeEndLabel", isDisabled: "isDisabled", size: "size", rounded: "rounded", fillMode: "fillMode", autoCorrectOn: "autoCorrectOn", labelStyle: "labelStyle" }, outputs: { modelChange: "modelChange" }, ngImport: i0, template: "<kendo-daterange>\n <kendo-floatinglabel [text]=\"rangeStartLabel\" [labelCssStyle]=\"labelStyle\">\n <kendo-dateinput kendoDateRangeStartInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.start\"\n (valueChange)=\"onStartChange($event)\" [size]=\"size\" [rounded]=\"rounded\" [fillMode]=\"fillMode\"\n [disabled]=\"isDisabled\"></kendo-dateinput>\n </kendo-floatinglabel>\n <kendo-floatinglabel [text]=\"rangeEndLabel\" [labelCssStyle]=\"labelStyle\">\n <kendo-dateinput kendoDateRangeEndInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.end\"\n (valueChange)=\"onEndChange($event)\" [size]=\"size\" [rounded]=\"rounded\" [fillMode]=\"fillMode\"\n [disabled]=\"isDisabled\"></kendo-dateinput>\n </kendo-floatinglabel>\n</kendo-daterange>\n", styles: [""], dependencies: [{ kind: "component", type: i2.DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: i2.DateRangeComponent, selector: "kendo-daterange" }, { kind: "directive", type: i2.DateRangeStartInputDirective, selector: "[kendoDateRangeStartInput]", inputs: ["autoCorrectOn", "navigateCalendarOnFocus"] }, { kind: "directive", type: i2.DateRangeEndInputDirective, selector: "[kendoDateRangeEndInput]", inputs: ["autoCorrectOn", "navigateCalendarOnFocus"] }, { kind: "component", type: i3.FloatingLabelComponent, selector: "kendo-floatinglabel", inputs: ["labelCssStyle", "labelCssClass", "id", "text", "optional"], outputs: ["positionChange"], exportAs: ["kendoFloatingLabel"] }] }); }
|
|
13
24
|
}
|
|
14
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
15
26
|
type: Component,
|
|
16
|
-
args: [{ selector: 'lib-date-range', template: "<kendo-daterange>\n <kendo-floatinglabel [text]=\"rangeStartLabel\">\n <kendo-dateinput kendoDateRangeStartInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.start\"></kendo-dateinput>\n </kendo-floatinglabel>\n <kendo-floatinglabel [text]=\"rangeEndLabel\">\n <kendo-dateinput kendoDateRangeEndInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.end\"></kendo-dateinput>\n </kendo-floatinglabel>\n</kendo-daterange>\n" }]
|
|
27
|
+
args: [{ selector: 'lib-date-range', template: "<kendo-daterange>\n <kendo-floatinglabel [text]=\"rangeStartLabel\" [labelCssStyle]=\"labelStyle\">\n <kendo-dateinput kendoDateRangeStartInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.start\"\n (valueChange)=\"onStartChange($event)\" [size]=\"size\" [rounded]=\"rounded\" [fillMode]=\"fillMode\"\n [disabled]=\"isDisabled\"></kendo-dateinput>\n </kendo-floatinglabel>\n <kendo-floatinglabel [text]=\"rangeEndLabel\" [labelCssStyle]=\"labelStyle\">\n <kendo-dateinput kendoDateRangeEndInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.end\"\n (valueChange)=\"onEndChange($event)\" [size]=\"size\" [rounded]=\"rounded\" [fillMode]=\"fillMode\"\n [disabled]=\"isDisabled\"></kendo-dateinput>\n </kendo-floatinglabel>\n</kendo-daterange>\n" }]
|
|
17
28
|
}], ctorParameters: function () { return [{ type: i1.ThemesService }]; }, propDecorators: { range: [{
|
|
18
29
|
type: Input
|
|
19
30
|
}], rangeStartLabel: [{
|
|
20
31
|
type: Input
|
|
21
32
|
}], rangeEndLabel: [{
|
|
22
33
|
type: Input
|
|
34
|
+
}], isDisabled: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], size: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], rounded: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], fillMode: [{
|
|
41
|
+
type: Input
|
|
23
42
|
}], autoCorrectOn: [{
|
|
24
43
|
type: Input
|
|
44
|
+
}], labelStyle: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], modelChange: [{
|
|
47
|
+
type: Output
|
|
25
48
|
}] } });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1yYW5nZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaGFyZWQvc3JjL2xpYi9hdG9tcy9kYXRlLXJhbmdlL2RhdGUtcmFuZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2hhcmVkL3NyYy9saWIvYXRvbXMvZGF0ZS1yYW5nZS9kYXRlLXJhbmdlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7O0FBUXZFLE1BQU0sT0FBTyxrQkFBa0I7SUFhN0IsWUFBb0IsYUFBNEI7UUFBNUIsa0JBQWEsR0FBYixhQUFhLENBQWU7UUFUdkMsZUFBVSxHQUFZLEtBQUssQ0FBQztRQUM1QixTQUFJLEdBQWlDLFFBQVEsQ0FBQztRQUM5QyxZQUFPLEdBQTBDLE9BQU8sQ0FBQztRQUN6RCxhQUFRLEdBQWlDLE9BQU8sQ0FBQztRQUNqRCxrQkFBYSxHQUErQixNQUFNLENBQUM7UUFFbEQsZ0JBQVcsR0FBRyxJQUFJLFlBQVksRUFBTyxDQUFDO0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po
|
|
|
2427
2427
|
class DateRangeComponent {
|
|
2428
2428
|
constructor(themesService) {
|
|
2429
2429
|
this.themesService = themesService;
|
|
2430
|
+
this.isDisabled = false;
|
|
2431
|
+
this.size = "medium";
|
|
2432
|
+
this.rounded = "small";
|
|
2433
|
+
this.fillMode = "solid";
|
|
2430
2434
|
this.autoCorrectOn = "none";
|
|
2435
|
+
this.modelChange = new EventEmitter();
|
|
2436
|
+
}
|
|
2437
|
+
onStartChange(ev) {
|
|
2438
|
+
this.modelChange.emit(ev);
|
|
2439
|
+
}
|
|
2440
|
+
onEndChange(ev) {
|
|
2441
|
+
this.modelChange.emit(ev);
|
|
2431
2442
|
}
|
|
2432
2443
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeComponent, deps: [{ token: i1$1.ThemesService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2433
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateRangeComponent, selector: "lib-date-range", inputs: { range: "range", rangeStartLabel: "rangeStartLabel", rangeEndLabel: "rangeEndLabel", autoCorrectOn: "autoCorrectOn" }, ngImport: i0, template: "<kendo-daterange>\n <kendo-floatinglabel [text]=\"rangeStartLabel\">\n <kendo-dateinput kendoDateRangeStartInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.start\"></kendo-dateinput>\n </kendo-floatinglabel>\n <kendo-floatinglabel [text]=\"rangeEndLabel\">\n <kendo-dateinput kendoDateRangeEndInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.end\"></kendo-dateinput>\n </kendo-floatinglabel>\n</kendo-daterange>\n", styles: [""], dependencies: [{ kind: "component", type: i2$4.DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: i2$4.DateRangeComponent, selector: "kendo-daterange" }, { kind: "directive", type: i2$4.DateRangeStartInputDirective, selector: "[kendoDateRangeStartInput]", inputs: ["autoCorrectOn", "navigateCalendarOnFocus"] }, { kind: "directive", type: i2$4.DateRangeEndInputDirective, selector: "[kendoDateRangeEndInput]", inputs: ["autoCorrectOn", "navigateCalendarOnFocus"] }, { kind: "component", type: i3$4.FloatingLabelComponent, selector: "kendo-floatinglabel", inputs: ["labelCssStyle", "labelCssClass", "id", "text", "optional"], outputs: ["positionChange"], exportAs: ["kendoFloatingLabel"] }] }); }
|
|
2444
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateRangeComponent, selector: "lib-date-range", inputs: { range: "range", rangeStartLabel: "rangeStartLabel", rangeEndLabel: "rangeEndLabel", isDisabled: "isDisabled", size: "size", rounded: "rounded", fillMode: "fillMode", autoCorrectOn: "autoCorrectOn", labelStyle: "labelStyle" }, outputs: { modelChange: "modelChange" }, ngImport: i0, template: "<kendo-daterange>\n <kendo-floatinglabel [text]=\"rangeStartLabel\" [labelCssStyle]=\"labelStyle\">\n <kendo-dateinput kendoDateRangeStartInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.start\"\n (valueChange)=\"onStartChange($event)\" [size]=\"size\" [rounded]=\"rounded\" [fillMode]=\"fillMode\"\n [disabled]=\"isDisabled\"></kendo-dateinput>\n </kendo-floatinglabel>\n <kendo-floatinglabel [text]=\"rangeEndLabel\" [labelCssStyle]=\"labelStyle\">\n <kendo-dateinput kendoDateRangeEndInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.end\"\n (valueChange)=\"onEndChange($event)\" [size]=\"size\" [rounded]=\"rounded\" [fillMode]=\"fillMode\"\n [disabled]=\"isDisabled\"></kendo-dateinput>\n </kendo-floatinglabel>\n</kendo-daterange>\n", styles: [""], dependencies: [{ kind: "component", type: i2$4.DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: i2$4.DateRangeComponent, selector: "kendo-daterange" }, { kind: "directive", type: i2$4.DateRangeStartInputDirective, selector: "[kendoDateRangeStartInput]", inputs: ["autoCorrectOn", "navigateCalendarOnFocus"] }, { kind: "directive", type: i2$4.DateRangeEndInputDirective, selector: "[kendoDateRangeEndInput]", inputs: ["autoCorrectOn", "navigateCalendarOnFocus"] }, { kind: "component", type: i3$4.FloatingLabelComponent, selector: "kendo-floatinglabel", inputs: ["labelCssStyle", "labelCssClass", "id", "text", "optional"], outputs: ["positionChange"], exportAs: ["kendoFloatingLabel"] }] }); }
|
|
2434
2445
|
}
|
|
2435
2446
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
2436
2447
|
type: Component,
|
|
2437
|
-
args: [{ selector: 'lib-date-range', template: "<kendo-daterange>\n <kendo-floatinglabel [text]=\"rangeStartLabel\">\n <kendo-dateinput kendoDateRangeStartInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.start\"></kendo-dateinput>\n </kendo-floatinglabel>\n <kendo-floatinglabel [text]=\"rangeEndLabel\">\n <kendo-dateinput kendoDateRangeEndInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.end\"></kendo-dateinput>\n </kendo-floatinglabel>\n</kendo-daterange>\n" }]
|
|
2448
|
+
args: [{ selector: 'lib-date-range', template: "<kendo-daterange>\n <kendo-floatinglabel [text]=\"rangeStartLabel\" [labelCssStyle]=\"labelStyle\">\n <kendo-dateinput kendoDateRangeStartInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.start\"\n (valueChange)=\"onStartChange($event)\" [size]=\"size\" [rounded]=\"rounded\" [fillMode]=\"fillMode\"\n [disabled]=\"isDisabled\"></kendo-dateinput>\n </kendo-floatinglabel>\n <kendo-floatinglabel [text]=\"rangeEndLabel\" [labelCssStyle]=\"labelStyle\">\n <kendo-dateinput kendoDateRangeEndInput [autoCorrectOn]=\"autoCorrectOn\" [(value)]=\"range.end\"\n (valueChange)=\"onEndChange($event)\" [size]=\"size\" [rounded]=\"rounded\" [fillMode]=\"fillMode\"\n [disabled]=\"isDisabled\"></kendo-dateinput>\n </kendo-floatinglabel>\n</kendo-daterange>\n" }]
|
|
2438
2449
|
}], ctorParameters: function () { return [{ type: i1$1.ThemesService }]; }, propDecorators: { range: [{
|
|
2439
2450
|
type: Input
|
|
2440
2451
|
}], rangeStartLabel: [{
|
|
2441
2452
|
type: Input
|
|
2442
2453
|
}], rangeEndLabel: [{
|
|
2443
2454
|
type: Input
|
|
2455
|
+
}], isDisabled: [{
|
|
2456
|
+
type: Input
|
|
2457
|
+
}], size: [{
|
|
2458
|
+
type: Input
|
|
2459
|
+
}], rounded: [{
|
|
2460
|
+
type: Input
|
|
2461
|
+
}], fillMode: [{
|
|
2462
|
+
type: Input
|
|
2444
2463
|
}], autoCorrectOn: [{
|
|
2445
2464
|
type: Input
|
|
2465
|
+
}], labelStyle: [{
|
|
2466
|
+
type: Input
|
|
2467
|
+
}], modelChange: [{
|
|
2468
|
+
type: Output
|
|
2446
2469
|
}] } });
|
|
2447
2470
|
|
|
2448
2471
|
class DateRangeModule {
|