@colijnit/corecomponents_v12 12.0.74 → 12.0.76
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/bundles/colijnit-corecomponents_v12.umd.js +951 -917
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/filter-item/filter-item.component.js +2 -2
- package/esm2015/lib/components/filter-item/filter-item.module.js +3 -2
- package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +12 -14
- package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +22 -16
- package/esm2015/lib/service/color-sequence.service.js +23 -0
- package/esm2015/public-api.js +2 -1
- package/fesm2015/colijnit-corecomponents_v12.js +56 -30
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/input-checkbox/input-checkbox.component.d.ts +2 -3
- package/lib/components/input-checkbox/style/_layout.scss +75 -0
- package/lib/components/input-checkbox/style/_material-definition.scss +13 -0
- package/lib/components/input-checkbox/style/_theme.scss +9 -1
- package/lib/components/input-radio-button/input-radio-button.component.d.ts +1 -5
- package/lib/components/input-radio-button/style/_layout.scss +25 -18
- package/lib/components/input-radio-button/style/_material-definition.scss +7 -5
- package/lib/components/input-radio-button/style/_theme.scss +6 -21
- package/lib/components/input-text/style/_layout.scss +1 -6
- package/lib/service/color-sequence.service.d.ts +4 -0
- package/lib/style/_variables.scss +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/common/http'), require('@angular/platform-browser'), require('rxjs'), require('rxjs/operators'), require('@syncfusion/ej2-angular-splitbuttons'), require('three'), require('three/examples/jsm/renderers/CSS3DRenderer'), require('@tweenjs/tween.js'), require('hammerjs'), require('@angular/animations'), require('@syncfusion/ej2-angular-popups'), require('@syncfusion/ej2-angular-kanban'), require('@syncfusion/ej2-angular-richtexteditor'), require('@angular/forms'), require('@syncfusion/ej2-angular-schedule'), require('@syncfusion/ej2-angular-navigations'), require('@syncfusion/ej2-angular-buttons'), require('@syncfusion/ej2-angular-dropdowns'), require('@syncfusion/ej2-angular-grids'), require('@syncfusion/ej2-base'), require('@syncfusion/ej2-angular-calendars'), require('@syncfusion/ej2-angular-inputs'), require('@syncfusion/ej2-angular-pivotview'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/cdk/drag-drop'), require('@angular/cdk/scrolling')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@colijnit/corecomponents_v12', ['exports', '@angular/core', '@angular/common', '@angular/common/http', '@angular/platform-browser', 'rxjs', 'rxjs/operators', '@syncfusion/ej2-angular-splitbuttons', 'three', 'three/examples/jsm/renderers/CSS3DRenderer', '@tweenjs/tween.js', 'hammerjs', '@angular/animations', '@syncfusion/ej2-angular-popups', '@syncfusion/ej2-angular-kanban', '@syncfusion/ej2-angular-richtexteditor', '@angular/forms', '@syncfusion/ej2-angular-schedule', '@syncfusion/ej2-angular-navigations', '@syncfusion/ej2-angular-buttons', '@syncfusion/ej2-angular-dropdowns', '@syncfusion/ej2-angular-grids', '@syncfusion/ej2-base', '@syncfusion/ej2-angular-calendars', '@syncfusion/ej2-angular-inputs', '@syncfusion/ej2-angular-pivotview', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/cdk/drag-drop', '@angular/cdk/scrolling'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.corecomponents_v12 = {}), global.ng.core, global.ng.common, global.ng.common.http, global.ng.platformBrowser, global.rxjs, global.rxjs.operators, global.ej2AngularSplitbuttons, global.three, global.CSS3DRenderer, global.TWEEN, null, global.ng.animations, global.ej2AngularPopups, global.ej2AngularKanban, global.ej2AngularRichtexteditor, global.ng.forms, global.ej2AngularSchedule, global.ej2AngularNavigations, global.ej2AngularButtons, global.ej2AngularDropdowns, global.ej2AngularGrids, global.ej2Base, global.ej2AngularCalendars, global.ej2AngularInputs, global.ej2AngularPivotview, global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.cdk.dragDrop, global.ng.cdk.scrolling));
|
|
5
|
-
})(this, (function (exports,
|
|
5
|
+
})(this, (function (exports, i0, common, http, platformBrowser, rxjs, operators, ej2AngularSplitbuttons, three, CSS3DRenderer, TWEEN, hammerjs, animations, ej2AngularPopups, ej2AngularKanban, ej2AngularRichtexteditor, forms, ej2AngularSchedule, ej2AngularNavigations, ej2AngularButtons, ej2AngularDropdowns, ej2AngularGrids, ej2Base, ej2AngularCalendars, ej2AngularInputs, ej2AngularPivotview, overlay, portal, dragDrop, scrolling) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
return Object.freeze(n);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
25
26
|
var TWEEN__namespace = /*#__PURE__*/_interopNamespace(TWEEN);
|
|
26
27
|
|
|
27
28
|
// @returns true iff given value equals null or equals undefined
|
|
@@ -1279,7 +1280,7 @@
|
|
|
1279
1280
|
return IconCacheService;
|
|
1280
1281
|
}());
|
|
1281
1282
|
IconCacheService.decorators = [
|
|
1282
|
-
{ type:
|
|
1283
|
+
{ type: i0.Injectable }
|
|
1283
1284
|
];
|
|
1284
1285
|
IconCacheService.ctorParameters = function () { return [
|
|
1285
1286
|
{ type: platformBrowser.DomSanitizer }
|
|
@@ -1303,19 +1304,19 @@
|
|
|
1303
1304
|
return IconComponent;
|
|
1304
1305
|
}());
|
|
1305
1306
|
IconComponent.decorators = [
|
|
1306
|
-
{ type:
|
|
1307
|
+
{ type: i0.Component, args: [{
|
|
1307
1308
|
selector: 'co-icon',
|
|
1308
1309
|
template: '',
|
|
1309
|
-
encapsulation:
|
|
1310
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1310
1311
|
},] }
|
|
1311
1312
|
];
|
|
1312
1313
|
IconComponent.ctorParameters = function () { return [
|
|
1313
1314
|
{ type: IconCacheService }
|
|
1314
1315
|
]; };
|
|
1315
1316
|
IconComponent.propDecorators = {
|
|
1316
|
-
icon: [{ type:
|
|
1317
|
-
iconData: [{ type:
|
|
1318
|
-
showClass: [{ type:
|
|
1317
|
+
icon: [{ type: i0.Input }],
|
|
1318
|
+
iconData: [{ type: i0.Input }, { type: i0.HostBinding, args: ["innerHtml",] }],
|
|
1319
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-icon",] }]
|
|
1319
1320
|
};
|
|
1320
1321
|
|
|
1321
1322
|
var IconModule = /** @class */ (function () {
|
|
@@ -1324,7 +1325,7 @@
|
|
|
1324
1325
|
return IconModule;
|
|
1325
1326
|
}());
|
|
1326
1327
|
IconModule.decorators = [
|
|
1327
|
-
{ type:
|
|
1328
|
+
{ type: i0.NgModule, args: [{
|
|
1328
1329
|
imports: [
|
|
1329
1330
|
common.CommonModule,
|
|
1330
1331
|
http.HttpClientModule
|
|
@@ -1439,7 +1440,7 @@
|
|
|
1439
1440
|
return CoScrollDispatcherService;
|
|
1440
1441
|
}());
|
|
1441
1442
|
CoScrollDispatcherService.decorators = [
|
|
1442
|
-
{ type:
|
|
1443
|
+
{ type: i0.Injectable }
|
|
1443
1444
|
];
|
|
1444
1445
|
function SCROLL_DISPATCHER_PROVIDER_FACTORY(parentDispatcher) {
|
|
1445
1446
|
return parentDispatcher || new CoScrollDispatcherService();
|
|
@@ -1447,7 +1448,7 @@
|
|
|
1447
1448
|
var SCROLL_DISPATCHER_PROVIDER = {
|
|
1448
1449
|
// If there is already a ScrollDispatcher available, use that. Otherwise, provide a new one.
|
|
1449
1450
|
provide: CoScrollDispatcherService,
|
|
1450
|
-
deps: [[new
|
|
1451
|
+
deps: [[new i0.Optional(), new i0.SkipSelf(), CoScrollDispatcherService]],
|
|
1451
1452
|
useFactory: SCROLL_DISPATCHER_PROVIDER_FACTORY
|
|
1452
1453
|
};
|
|
1453
1454
|
|
|
@@ -1511,7 +1512,7 @@
|
|
|
1511
1512
|
return CoViewportRulerService;
|
|
1512
1513
|
}());
|
|
1513
1514
|
CoViewportRulerService.decorators = [
|
|
1514
|
-
{ type:
|
|
1515
|
+
{ type: i0.Injectable }
|
|
1515
1516
|
];
|
|
1516
1517
|
CoViewportRulerService.ctorParameters = function () { return [
|
|
1517
1518
|
{ type: CoScrollDispatcherService }
|
|
@@ -1522,7 +1523,7 @@
|
|
|
1522
1523
|
var VIEWPORT_RULER_PROVIDER = {
|
|
1523
1524
|
// If there is already a ViewportRuler available, use that. Otherwise, provide a new one.
|
|
1524
1525
|
provide: CoViewportRulerService,
|
|
1525
|
-
deps: [[new
|
|
1526
|
+
deps: [[new i0.Optional(), new i0.SkipSelf(), CoViewportRulerService], CoScrollDispatcherService],
|
|
1526
1527
|
useFactory: VIEWPORT_RULER_PROVIDER_FACTORY
|
|
1527
1528
|
};
|
|
1528
1529
|
|
|
@@ -1719,7 +1720,7 @@
|
|
|
1719
1720
|
|
|
1720
1721
|
// NOTE: Copied from iOneJS and adapted to CoreComponents on 9-may-2018.
|
|
1721
1722
|
/** OpaqueToken that can be used to specify the global ripple options. */
|
|
1722
|
-
var MD_RIPPLE_GLOBAL_OPTIONS = new
|
|
1723
|
+
var MD_RIPPLE_GLOBAL_OPTIONS = new i0.InjectionToken('CoRippleGlobalOptions');
|
|
1723
1724
|
var CoRippleDirective = /** @class */ (function () {
|
|
1724
1725
|
function CoRippleDirective(elementRef, ngZone, ruler,
|
|
1725
1726
|
// Type needs to be `any` because of https://github.com/angular/angular/issues/12631
|
|
@@ -1775,7 +1776,7 @@
|
|
|
1775
1776
|
return CoRippleDirective;
|
|
1776
1777
|
}());
|
|
1777
1778
|
CoRippleDirective.decorators = [
|
|
1778
|
-
{ type:
|
|
1779
|
+
{ type: i0.Directive, args: [{
|
|
1779
1780
|
selector: '[md-ripple], [mat-ripple], [mdRipple], [matRipple]',
|
|
1780
1781
|
exportAs: 'mdRipple',
|
|
1781
1782
|
host: {
|
|
@@ -1785,19 +1786,19 @@
|
|
|
1785
1786
|
},] }
|
|
1786
1787
|
];
|
|
1787
1788
|
CoRippleDirective.ctorParameters = function () { return [
|
|
1788
|
-
{ type:
|
|
1789
|
-
{ type:
|
|
1789
|
+
{ type: i0.ElementRef },
|
|
1790
|
+
{ type: i0.NgZone },
|
|
1790
1791
|
{ type: CoViewportRulerService },
|
|
1791
|
-
{ type: undefined, decorators: [{ type:
|
|
1792
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MD_RIPPLE_GLOBAL_OPTIONS,] }] }
|
|
1792
1793
|
]; };
|
|
1793
1794
|
CoRippleDirective.propDecorators = {
|
|
1794
|
-
trigger: [{ type:
|
|
1795
|
-
centered: [{ type:
|
|
1796
|
-
disabled: [{ type:
|
|
1797
|
-
radius: [{ type:
|
|
1798
|
-
speedFactor: [{ type:
|
|
1799
|
-
color: [{ type:
|
|
1800
|
-
unbounded: [{ type:
|
|
1795
|
+
trigger: [{ type: i0.Input, args: ['mdRippleTrigger',] }],
|
|
1796
|
+
centered: [{ type: i0.Input, args: ['mdRippleCentered',] }],
|
|
1797
|
+
disabled: [{ type: i0.Input, args: ['mdRippleDisabled',] }],
|
|
1798
|
+
radius: [{ type: i0.Input, args: ['mdRippleRadius',] }],
|
|
1799
|
+
speedFactor: [{ type: i0.Input, args: ['mdRippleSpeedFactor',] }],
|
|
1800
|
+
color: [{ type: i0.Input, args: ['mdRippleColor',] }],
|
|
1801
|
+
unbounded: [{ type: i0.Input, args: ['mdRippleUnbounded',] }]
|
|
1801
1802
|
};
|
|
1802
1803
|
|
|
1803
1804
|
// NOTE: Copied and adapted to TwoDSelector from iOneJS on 9-may-2018.
|
|
@@ -1829,12 +1830,12 @@
|
|
|
1829
1830
|
return CoScrollableDirective;
|
|
1830
1831
|
}());
|
|
1831
1832
|
CoScrollableDirective.decorators = [
|
|
1832
|
-
{ type:
|
|
1833
|
+
{ type: i0.Directive, args: [{
|
|
1833
1834
|
selector: '[cdk-scrollable]'
|
|
1834
1835
|
},] }
|
|
1835
1836
|
];
|
|
1836
1837
|
CoScrollableDirective.ctorParameters = function () { return [
|
|
1837
|
-
{ type:
|
|
1838
|
+
{ type: i0.ElementRef },
|
|
1838
1839
|
{ type: CoScrollDispatcherService }
|
|
1839
1840
|
]; };
|
|
1840
1841
|
|
|
@@ -1845,7 +1846,7 @@
|
|
|
1845
1846
|
return RippleModule;
|
|
1846
1847
|
}());
|
|
1847
1848
|
RippleModule.decorators = [
|
|
1848
|
-
{ type:
|
|
1849
|
+
{ type: i0.NgModule, args: [{
|
|
1849
1850
|
declarations: [
|
|
1850
1851
|
CoRippleDirective,
|
|
1851
1852
|
CoScrollableDirective
|
|
@@ -1932,9 +1933,9 @@
|
|
|
1932
1933
|
this._elementRef = _elementRef;
|
|
1933
1934
|
this.hidden = false;
|
|
1934
1935
|
this.disabled = false;
|
|
1935
|
-
this.onClick = new
|
|
1936
|
-
this.clickedWhileDisabled = new
|
|
1937
|
-
this.isToggledChange = new
|
|
1936
|
+
this.onClick = new i0.EventEmitter();
|
|
1937
|
+
this.clickedWhileDisabled = new i0.EventEmitter();
|
|
1938
|
+
this.isToggledChange = new i0.EventEmitter();
|
|
1938
1939
|
}
|
|
1939
1940
|
ButtonComponent.prototype.showClass = function () {
|
|
1940
1941
|
return true;
|
|
@@ -1968,32 +1969,32 @@
|
|
|
1968
1969
|
return ButtonComponent;
|
|
1969
1970
|
}());
|
|
1970
1971
|
ButtonComponent.decorators = [
|
|
1971
|
-
{ type:
|
|
1972
|
+
{ type: i0.Component, args: [{
|
|
1972
1973
|
selector: "co-button",
|
|
1973
1974
|
template: "\n <co-icon *ngIf=\"!!iconData\" [iconData]=\"iconData\"></co-icon>\n <span *ngIf=\"!!label\" class=\"label\">{{ label }}</span>\n <div class=\"rippler\" md-ripple [mdRippleDisabled]=\"disabled\"></div>\n ",
|
|
1974
1975
|
host: {
|
|
1975
1976
|
tabindex: "0"
|
|
1976
1977
|
},
|
|
1977
|
-
changeDetection:
|
|
1978
|
-
encapsulation:
|
|
1978
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1979
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1979
1980
|
},] }
|
|
1980
1981
|
];
|
|
1981
1982
|
ButtonComponent.ctorParameters = function () { return [
|
|
1982
|
-
{ type:
|
|
1983
|
+
{ type: i0.ElementRef }
|
|
1983
1984
|
]; };
|
|
1984
1985
|
ButtonComponent.propDecorators = {
|
|
1985
|
-
label: [{ type:
|
|
1986
|
-
iconData: [{ type:
|
|
1987
|
-
isToggleButton: [{ type:
|
|
1988
|
-
isToggled: [{ type:
|
|
1989
|
-
hidden: [{ type:
|
|
1990
|
-
disabled: [{ type:
|
|
1991
|
-
showClass: [{ type:
|
|
1992
|
-
onClick: [{ type:
|
|
1993
|
-
clickedWhileDisabled: [{ type:
|
|
1994
|
-
isToggledChange: [{ type:
|
|
1995
|
-
hasIcon: [{ type:
|
|
1996
|
-
onHostClick: [{ type:
|
|
1986
|
+
label: [{ type: i0.Input }],
|
|
1987
|
+
iconData: [{ type: i0.Input }],
|
|
1988
|
+
isToggleButton: [{ type: i0.Input }],
|
|
1989
|
+
isToggled: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.toggled",] }],
|
|
1990
|
+
hidden: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.co-hidden",] }],
|
|
1991
|
+
disabled: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.disabled",] }],
|
|
1992
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-button",] }],
|
|
1993
|
+
onClick: [{ type: i0.Output }],
|
|
1994
|
+
clickedWhileDisabled: [{ type: i0.Output }],
|
|
1995
|
+
isToggledChange: [{ type: i0.Output }],
|
|
1996
|
+
hasIcon: [{ type: i0.HostBinding, args: ["class.has-icon",] }],
|
|
1997
|
+
onHostClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }]
|
|
1997
1998
|
};
|
|
1998
1999
|
|
|
1999
2000
|
var ButtonModule = /** @class */ (function () {
|
|
@@ -2002,7 +2003,7 @@
|
|
|
2002
2003
|
return ButtonModule;
|
|
2003
2004
|
}());
|
|
2004
2005
|
ButtonModule.decorators = [
|
|
2005
|
-
{ type:
|
|
2006
|
+
{ type: i0.NgModule, args: [{
|
|
2006
2007
|
imports: [
|
|
2007
2008
|
common.CommonModule,
|
|
2008
2009
|
IconModule,
|
|
@@ -2019,16 +2020,16 @@
|
|
|
2019
2020
|
return ImageComponent;
|
|
2020
2021
|
}());
|
|
2021
2022
|
ImageComponent.decorators = [
|
|
2022
|
-
{ type:
|
|
2023
|
+
{ type: i0.Component, args: [{
|
|
2023
2024
|
selector: "co-image",
|
|
2024
2025
|
template: "\n <img *ngIf=\"!!source\" [src]=\"source\">\n ",
|
|
2025
|
-
changeDetection:
|
|
2026
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2026
2027
|
styles: [":host{display:inline-block}img{width:100%;height:100%;object-fit:contain}\n"]
|
|
2027
2028
|
},] }
|
|
2028
2029
|
];
|
|
2029
2030
|
ImageComponent.ctorParameters = function () { return []; };
|
|
2030
2031
|
ImageComponent.propDecorators = {
|
|
2031
|
-
source: [{ type:
|
|
2032
|
+
source: [{ type: i0.Input }]
|
|
2032
2033
|
};
|
|
2033
2034
|
|
|
2034
2035
|
var ImageModule = /** @class */ (function () {
|
|
@@ -2037,7 +2038,7 @@
|
|
|
2037
2038
|
return ImageModule;
|
|
2038
2039
|
}());
|
|
2039
2040
|
ImageModule.decorators = [
|
|
2040
|
-
{ type:
|
|
2041
|
+
{ type: i0.NgModule, args: [{
|
|
2041
2042
|
imports: [common.CommonModule],
|
|
2042
2043
|
declarations: [ImageComponent],
|
|
2043
2044
|
exports: [ImageComponent]
|
|
@@ -2071,16 +2072,16 @@
|
|
|
2071
2072
|
return StopClickDirective;
|
|
2072
2073
|
}());
|
|
2073
2074
|
StopClickDirective.decorators = [
|
|
2074
|
-
{ type:
|
|
2075
|
+
{ type: i0.Directive, args: [{
|
|
2075
2076
|
selector: '[stopClick]'
|
|
2076
2077
|
},] }
|
|
2077
2078
|
];
|
|
2078
2079
|
StopClickDirective.ctorParameters = function () { return [
|
|
2079
|
-
{ type:
|
|
2080
|
-
{ type:
|
|
2080
|
+
{ type: i0.ElementRef },
|
|
2081
|
+
{ type: i0.NgZone }
|
|
2081
2082
|
]; };
|
|
2082
2083
|
StopClickDirective.propDecorators = {
|
|
2083
|
-
stopClick: [{ type:
|
|
2084
|
+
stopClick: [{ type: i0.Input }]
|
|
2084
2085
|
};
|
|
2085
2086
|
|
|
2086
2087
|
var StopClickModule = /** @class */ (function () {
|
|
@@ -2089,7 +2090,7 @@
|
|
|
2089
2090
|
return StopClickModule;
|
|
2090
2091
|
}());
|
|
2091
2092
|
StopClickModule.decorators = [
|
|
2092
|
-
{ type:
|
|
2093
|
+
{ type: i0.NgModule, args: [{
|
|
2093
2094
|
declarations: [
|
|
2094
2095
|
StopClickDirective
|
|
2095
2096
|
],
|
|
@@ -2124,17 +2125,17 @@
|
|
|
2124
2125
|
return LevelIndicatorComponent;
|
|
2125
2126
|
}());
|
|
2126
2127
|
LevelIndicatorComponent.decorators = [
|
|
2127
|
-
{ type:
|
|
2128
|
+
{ type: i0.Component, args: [{
|
|
2128
2129
|
selector: "co-level-indicator",
|
|
2129
2130
|
template: "\n <div [ngClass]=\"modelAsString\">\n <div class=\"square-1\"></div>\n <div class=\"square-2\"></div>\n <div class=\"square-3\"></div>\n </div>\n ",
|
|
2130
|
-
encapsulation:
|
|
2131
|
-
changeDetection:
|
|
2131
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
2132
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
2132
2133
|
},] }
|
|
2133
2134
|
];
|
|
2134
2135
|
LevelIndicatorComponent.ctorParameters = function () { return []; };
|
|
2135
2136
|
LevelIndicatorComponent.propDecorators = {
|
|
2136
|
-
model: [{ type:
|
|
2137
|
-
showClass: [{ type:
|
|
2137
|
+
model: [{ type: i0.Input }],
|
|
2138
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-level-indicator',] }]
|
|
2138
2139
|
};
|
|
2139
2140
|
|
|
2140
2141
|
var LevelIndicatorModule = /** @class */ (function () {
|
|
@@ -2143,7 +2144,7 @@
|
|
|
2143
2144
|
return LevelIndicatorModule;
|
|
2144
2145
|
}());
|
|
2145
2146
|
LevelIndicatorModule.decorators = [
|
|
2146
|
-
{ type:
|
|
2147
|
+
{ type: i0.NgModule, args: [{
|
|
2147
2148
|
imports: [
|
|
2148
2149
|
common.CommonModule
|
|
2149
2150
|
],
|
|
@@ -2169,7 +2170,7 @@
|
|
|
2169
2170
|
return PriceDisplayPipe;
|
|
2170
2171
|
}());
|
|
2171
2172
|
PriceDisplayPipe.decorators = [
|
|
2172
|
-
{ type:
|
|
2173
|
+
{ type: i0.Pipe, args: [{ name: "priceDisplay" },] }
|
|
2173
2174
|
];
|
|
2174
2175
|
|
|
2175
2176
|
var PriceDisplayPipeModule = /** @class */ (function () {
|
|
@@ -2178,7 +2179,7 @@
|
|
|
2178
2179
|
return PriceDisplayPipeModule;
|
|
2179
2180
|
}());
|
|
2180
2181
|
PriceDisplayPipeModule.decorators = [
|
|
2181
|
-
{ type:
|
|
2182
|
+
{ type: i0.NgModule, args: [{
|
|
2182
2183
|
declarations: [
|
|
2183
2184
|
PriceDisplayPipe
|
|
2184
2185
|
],
|
|
@@ -2816,7 +2817,7 @@
|
|
|
2816
2817
|
* Angular assigns an empty string to the input property in the naked "someBoolInput" template case.
|
|
2817
2818
|
*/
|
|
2818
2819
|
function InputBoolean(bindingPropertyName) {
|
|
2819
|
-
var inputDecorator =
|
|
2820
|
+
var inputDecorator = i0.Input(bindingPropertyName);
|
|
2820
2821
|
return function (target, key) {
|
|
2821
2822
|
inputDecorator(target, key);
|
|
2822
2823
|
var descriptor = Object.getOwnPropertyDescriptor(target, key) || {};
|
|
@@ -2853,29 +2854,29 @@
|
|
|
2853
2854
|
this.mouseOverExtended = false;
|
|
2854
2855
|
this.small = false;
|
|
2855
2856
|
this.noImagePlaceholder = false;
|
|
2856
|
-
this.onImageClick = new
|
|
2857
|
+
this.onImageClick = new i0.EventEmitter();
|
|
2857
2858
|
this.showClass = true;
|
|
2858
2859
|
this.imagePlaceHolder = this._iconCache.getIcon(this.icon.Camera);
|
|
2859
2860
|
}
|
|
2860
2861
|
return TileComponent;
|
|
2861
2862
|
}());
|
|
2862
2863
|
TileComponent.decorators = [
|
|
2863
|
-
{ type:
|
|
2864
|
+
{ type: i0.Component, args: [{
|
|
2864
2865
|
selector: 'co-tile',
|
|
2865
2866
|
template: "\n <div class=\"tile-wrapper\">\n <div class=\"tile-top\">\n <ng-content select=\"[tile-top-content]\"></ng-content>\n </div>\n <div class=\"image\" (click)=\"onImageClick.emit()\">\n <co-image *ngIf=\"image\" [source]=\"image\"></co-image>\n <div class=\"no-image-wrapper\" *ngIf=\"!image && !noImagePlaceholder\">\n <co-icon class=\"no-image\" [iconData]=\"imagePlaceHolder\"></co-icon>\n <span [textContent]=\"'Geen afbeelding'\"></span>\n </div>\n <ng-content select=\"[tile-over-image]\"></ng-content>\n </div>\n <div class=\"tile-bottom\">\n <ng-content select=\"[tile-bottom-content]\"></ng-content>\n </div>\n </div>\n <div class=\"tile-extra-bottom\">\n <div class=\"main\">\n <ng-content select=\"[tile-extra-bottom-content]\"></ng-content>\n </div>\n </div>\n <div class=\"tile-extended-shadow-wrapper\" *ngIf=\"mouseOverExtended\">\n <div class=\"shodow-masque\"></div>\n <div class=\"extended\">\n <ng-content select=\"[tile-extended-content]\"></ng-content>\n </div>\n </div>\n ",
|
|
2866
|
-
encapsulation:
|
|
2867
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
2867
2868
|
},] }
|
|
2868
2869
|
];
|
|
2869
2870
|
TileComponent.ctorParameters = function () { return [
|
|
2870
2871
|
{ type: IconCacheService }
|
|
2871
2872
|
]; };
|
|
2872
2873
|
TileComponent.propDecorators = {
|
|
2873
|
-
image: [{ type:
|
|
2874
|
-
mouseOverExtended: [{ type:
|
|
2875
|
-
small: [{ type:
|
|
2876
|
-
noImagePlaceholder: [{ type:
|
|
2877
|
-
onImageClick: [{ type:
|
|
2878
|
-
showClass: [{ type:
|
|
2874
|
+
image: [{ type: i0.Input }],
|
|
2875
|
+
mouseOverExtended: [{ type: i0.Input }],
|
|
2876
|
+
small: [{ type: i0.HostBinding, args: ['class.small',] }, { type: i0.Input }],
|
|
2877
|
+
noImagePlaceholder: [{ type: i0.Input }],
|
|
2878
|
+
onImageClick: [{ type: i0.Output }],
|
|
2879
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-tile',] }]
|
|
2879
2880
|
};
|
|
2880
2881
|
__decorate([
|
|
2881
2882
|
InputBoolean()
|
|
@@ -2893,7 +2894,7 @@
|
|
|
2893
2894
|
return TileModule;
|
|
2894
2895
|
}());
|
|
2895
2896
|
TileModule.decorators = [
|
|
2896
|
-
{ type:
|
|
2897
|
+
{ type: i0.NgModule, args: [{
|
|
2897
2898
|
imports: [
|
|
2898
2899
|
common.CommonModule,
|
|
2899
2900
|
IconModule,
|
|
@@ -2916,10 +2917,10 @@
|
|
|
2916
2917
|
this.hasThreeDButton = false;
|
|
2917
2918
|
this.hasCartButton = false;
|
|
2918
2919
|
// does not emit when you click one of the predefined buttons, but emits on a click on any of our other content
|
|
2919
|
-
this.contentClick = new
|
|
2920
|
-
this.configureButtonClick = new
|
|
2921
|
-
this.threeDButtonClick = new
|
|
2922
|
-
this.cartButtonClick = new
|
|
2920
|
+
this.contentClick = new i0.EventEmitter();
|
|
2921
|
+
this.configureButtonClick = new i0.EventEmitter();
|
|
2922
|
+
this.threeDButtonClick = new i0.EventEmitter();
|
|
2923
|
+
this.cartButtonClick = new i0.EventEmitter();
|
|
2923
2924
|
this.Icons = exports.CoreComponentsIcon;
|
|
2924
2925
|
}
|
|
2925
2926
|
ArticleTileComponent.prototype.onHostClick = function (event) {
|
|
@@ -2928,10 +2929,10 @@
|
|
|
2928
2929
|
return ArticleTileComponent;
|
|
2929
2930
|
}());
|
|
2930
2931
|
ArticleTileComponent.decorators = [
|
|
2931
|
-
{ type:
|
|
2932
|
+
{ type: i0.Component, args: [{
|
|
2932
2933
|
selector: "co-article-tile",
|
|
2933
2934
|
template: "\n <co-tile [image]=\"imageData\" [small]=\"isSmallModus\">\n <ng-container tile-top-content>\n <ng-content select=\"[tile-top-content]\"></ng-content>\n </ng-container>\n <ng-container tile-over-image>\n <ng-content select=\"[over-image]\"></ng-content>\n </ng-container>\n <ng-container tile-bottom-content>\n <div class=\"bottom-content-wrapper\">\n <div class=\"left-buttons\">\n <co-button class=\"card-button square white\" *ngIf=\"hasConfigureButton\" [iconData]=\"icons.getIcon(Icons.MagicWand)\"\n [stopClick]=\"true\" [class.mini]=\"isSmallModus\"\n (click)=\"configureButtonClick.emit($event)\"></co-button>\n <co-button class=\"card-button square white\" *ngIf=\"hasThreeDButton\" [iconData]=\"icons.getIcon(Icons.ThreeD)\"\n [stopClick]=\"true\" [class.mini]=\"isSmallModus\"\n (click)=\"threeDButtonClick.emit($event)\"></co-button>\n </div>\n <co-level-indicator *ngIf=\"!!level\" [model]=\"level\" [class.small]=\"isSmallModus\"></co-level-indicator>\n <co-button class=\"card-button\" *ngIf=\"hasCartButton\" [iconData]=\"icons.getIcon(Icons.AddToCartDrop)\"\n [stopClick]=\"true\" [class.mini]=\"isSmallModus\"\n (click)=\"cartButtonClick.emit($event)\"></co-button>\n </div>\n </ng-container>\n <ng-container tile-extra-bottom-content>\n <span *ngIf=\"!!description\" class=\"description\" [innerText]=\"description\"></span>\n <span *ngIf=\"!!price\" class=\"price\" [innerText]=\"price | priceDisplay\"></span>\n <ng-content select=\"[card-extra-content]\"></ng-content>\n </ng-container>\n </co-tile>\n ",
|
|
2934
|
-
changeDetection:
|
|
2935
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2935
2936
|
styles: [":host .description{font-weight:bold}co-button.card-button{height:50px;width:50px;padding:0;border-radius:50%}co-button.card-button.square{border-radius:5px}co-button.card-button ::ng-deep co-icon{height:50px;width:50px}co-button.card-button.mini{transform:scale(1);height:20px;width:20px}co-button.card-button.mini ::ng-deep co-icon{height:20px;width:20px}.bottom-content-wrapper{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;height:100%}.bottom-content-wrapper .left-buttons{display:flex;margin-right:auto;height:100%;align-items:center}.bottom-content-wrapper .left-buttons *{margin-right:5px}\n"]
|
|
2936
2937
|
},] }
|
|
2937
2938
|
];
|
|
@@ -2939,20 +2940,20 @@
|
|
|
2939
2940
|
{ type: IconCacheService }
|
|
2940
2941
|
]; };
|
|
2941
2942
|
ArticleTileComponent.propDecorators = {
|
|
2942
|
-
imageData: [{ type:
|
|
2943
|
-
description: [{ type:
|
|
2944
|
-
price: [{ type:
|
|
2945
|
-
level: [{ type:
|
|
2946
|
-
isSelected: [{ type:
|
|
2947
|
-
isSmallModus: [{ type:
|
|
2948
|
-
hasConfigureButton: [{ type:
|
|
2949
|
-
hasThreeDButton: [{ type:
|
|
2950
|
-
hasCartButton: [{ type:
|
|
2951
|
-
contentClick: [{ type:
|
|
2952
|
-
configureButtonClick: [{ type:
|
|
2953
|
-
threeDButtonClick: [{ type:
|
|
2954
|
-
cartButtonClick: [{ type:
|
|
2955
|
-
onHostClick: [{ type:
|
|
2943
|
+
imageData: [{ type: i0.Input }],
|
|
2944
|
+
description: [{ type: i0.Input }],
|
|
2945
|
+
price: [{ type: i0.Input }],
|
|
2946
|
+
level: [{ type: i0.Input }],
|
|
2947
|
+
isSelected: [{ type: i0.Input }],
|
|
2948
|
+
isSmallModus: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.small-modus",] }],
|
|
2949
|
+
hasConfigureButton: [{ type: i0.Input }],
|
|
2950
|
+
hasThreeDButton: [{ type: i0.Input }],
|
|
2951
|
+
hasCartButton: [{ type: i0.Input }],
|
|
2952
|
+
contentClick: [{ type: i0.Output }],
|
|
2953
|
+
configureButtonClick: [{ type: i0.Output }],
|
|
2954
|
+
threeDButtonClick: [{ type: i0.Output }],
|
|
2955
|
+
cartButtonClick: [{ type: i0.Output }],
|
|
2956
|
+
onHostClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }]
|
|
2956
2957
|
};
|
|
2957
2958
|
|
|
2958
2959
|
var ArticleTileModule = /** @class */ (function () {
|
|
@@ -2961,7 +2962,7 @@
|
|
|
2961
2962
|
return ArticleTileModule;
|
|
2962
2963
|
}());
|
|
2963
2964
|
ArticleTileModule.decorators = [
|
|
2964
|
-
{ type:
|
|
2965
|
+
{ type: i0.NgModule, args: [{
|
|
2965
2966
|
imports: [
|
|
2966
2967
|
common.CommonModule,
|
|
2967
2968
|
http.HttpClientModule,
|
|
@@ -2985,7 +2986,7 @@
|
|
|
2985
2986
|
function ButtonDropDownComponent() {
|
|
2986
2987
|
this.iconPosition = "Left";
|
|
2987
2988
|
this.transparent = false;
|
|
2988
|
-
this.select = new
|
|
2989
|
+
this.select = new i0.EventEmitter();
|
|
2989
2990
|
}
|
|
2990
2991
|
ButtonDropDownComponent.prototype.showClass = function () {
|
|
2991
2992
|
return true;
|
|
@@ -3002,22 +3003,22 @@
|
|
|
3002
3003
|
return ButtonDropDownComponent;
|
|
3003
3004
|
}());
|
|
3004
3005
|
ButtonDropDownComponent.decorators = [
|
|
3005
|
-
{ type:
|
|
3006
|
+
{ type: i0.Component, args: [{
|
|
3006
3007
|
selector: "co-button-drop-down",
|
|
3007
3008
|
template: "\n <button ejs-dropdownbutton\n [content]=\"content\"\n [items]=\"items\"\n [iconCss]=\"iconCss\"\n [iconPosition]=\"iconPosition\"\n [cssClass]=\"cssClass\"\n [ngClass]=\"{\n '.e-dropdown-popup': isTransparent,\n '.e-btn.e-active, .e-btn:hover': isTransparent\n }\"\n (select)=\"select.emit($event)\"></button>\n ",
|
|
3008
|
-
encapsulation:
|
|
3009
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
3009
3010
|
},] }
|
|
3010
3011
|
];
|
|
3011
3012
|
ButtonDropDownComponent.ctorParameters = function () { return []; };
|
|
3012
3013
|
ButtonDropDownComponent.propDecorators = {
|
|
3013
|
-
content: [{ type:
|
|
3014
|
-
items: [{ type:
|
|
3015
|
-
iconCss: [{ type:
|
|
3016
|
-
iconPosition: [{ type:
|
|
3017
|
-
cssClass: [{ type:
|
|
3018
|
-
transparent: [{ type:
|
|
3019
|
-
select: [{ type:
|
|
3020
|
-
showClass: [{ type:
|
|
3014
|
+
content: [{ type: i0.Input }],
|
|
3015
|
+
items: [{ type: i0.Input }],
|
|
3016
|
+
iconCss: [{ type: i0.Input }],
|
|
3017
|
+
iconPosition: [{ type: i0.Input }],
|
|
3018
|
+
cssClass: [{ type: i0.Input }],
|
|
3019
|
+
transparent: [{ type: i0.Input }],
|
|
3020
|
+
select: [{ type: i0.Output }],
|
|
3021
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-button-drop-down",] }]
|
|
3021
3022
|
};
|
|
3022
3023
|
|
|
3023
3024
|
var ButtonDropDownModule = /** @class */ (function () {
|
|
@@ -3026,7 +3027,7 @@
|
|
|
3026
3027
|
return ButtonDropDownModule;
|
|
3027
3028
|
}());
|
|
3028
3029
|
ButtonDropDownModule.decorators = [
|
|
3029
|
-
{ type:
|
|
3030
|
+
{ type: i0.NgModule, args: [{
|
|
3030
3031
|
declarations: [
|
|
3031
3032
|
ButtonDropDownComponent
|
|
3032
3033
|
],
|
|
@@ -3049,9 +3050,9 @@
|
|
|
3049
3050
|
this.hasMagnifierButton = false;
|
|
3050
3051
|
this.hasInfoButton = false;
|
|
3051
3052
|
// does not emit when you click one of the predefined buttons, but emits on a click on any of our other content
|
|
3052
|
-
this.contentClick = new
|
|
3053
|
-
this.infoButtonClick = new
|
|
3054
|
-
this.magnifierButtonClick = new
|
|
3053
|
+
this.contentClick = new i0.EventEmitter();
|
|
3054
|
+
this.infoButtonClick = new i0.EventEmitter();
|
|
3055
|
+
this.magnifierButtonClick = new i0.EventEmitter();
|
|
3055
3056
|
this.showClass = true;
|
|
3056
3057
|
this.Icons = exports.CoreComponentsIcon;
|
|
3057
3058
|
this.heightCard = 150;
|
|
@@ -3062,31 +3063,31 @@
|
|
|
3062
3063
|
return CardComponent;
|
|
3063
3064
|
}());
|
|
3064
3065
|
CardComponent.decorators = [
|
|
3065
|
-
{ type:
|
|
3066
|
+
{ type: i0.Component, args: [{
|
|
3066
3067
|
selector: 'co-card',
|
|
3067
3068
|
template: "\n <div class=\"co-card-wrapper\">\n <div class=\"content-wrapper\">\n <co-icon *ngIf=\"isSelected\" [iconData]=\"icons.getIcon(Icons.Check)\" class=\"check light circle\"></co-icon>\n <co-button *ngIf=\"hasMagnifierButton\" [iconData]=\"icons.getIcon(Icons.MagnifierPlus)\" class=\"magnify white small circle\"\n [stopClick]=\"true\" (click)=\"magnifierButtonClick.emit($event)\"></co-button>\n <div class=\"image\">\n <co-image [source]=\"imageData\"></co-image>\n <ng-content select=\"[over-image]\"></ng-content>\n </div>\n <co-level-indicator class=\"co-level-indicator\" *ngIf=\"!!level\" [model]=\"level\"></co-level-indicator>\n <co-button *ngIf=\"hasInfoButton\" [iconData]=\"icons.getIcon(Icons.Information)\" class=\"info white small circle\"\n [class.small]=\"!isSmallModus\" [stopClick]=\"true\" [class.mini]=\"isSmallModus\"\n (click)=\"infoButtonClick.emit($event)\"></co-button>\n </div>\n <div class=\"description-wrapper\">\n <span *ngIf=\"!!description\" class=\"description\" [innerText]=\"description\"></span>\n <span *ngIf=\"!!price\" class=\"price\" [innerText]=\"price | priceDisplay\"></span>\n <ng-content></ng-content>\n </div>\n </div>\n ",
|
|
3068
|
-
encapsulation:
|
|
3069
|
-
changeDetection:
|
|
3069
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
3070
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
3070
3071
|
},] }
|
|
3071
3072
|
];
|
|
3072
3073
|
CardComponent.ctorParameters = function () { return [
|
|
3073
3074
|
{ type: IconCacheService },
|
|
3074
|
-
{ type:
|
|
3075
|
+
{ type: i0.ChangeDetectorRef }
|
|
3075
3076
|
]; };
|
|
3076
3077
|
CardComponent.propDecorators = {
|
|
3077
|
-
imageData: [{ type:
|
|
3078
|
-
description: [{ type:
|
|
3079
|
-
price: [{ type:
|
|
3080
|
-
level: [{ type:
|
|
3081
|
-
isSelected: [{ type:
|
|
3082
|
-
isSmallModus: [{ type:
|
|
3083
|
-
hasMagnifierButton: [{ type:
|
|
3084
|
-
hasInfoButton: [{ type:
|
|
3085
|
-
contentClick: [{ type:
|
|
3086
|
-
infoButtonClick: [{ type:
|
|
3087
|
-
magnifierButtonClick: [{ type:
|
|
3088
|
-
showClass: [{ type:
|
|
3089
|
-
onHostClick: [{ type:
|
|
3078
|
+
imageData: [{ type: i0.Input }],
|
|
3079
|
+
description: [{ type: i0.Input }],
|
|
3080
|
+
price: [{ type: i0.Input }],
|
|
3081
|
+
level: [{ type: i0.Input }],
|
|
3082
|
+
isSelected: [{ type: i0.Input }],
|
|
3083
|
+
isSmallModus: [{ type: i0.Input }, { type: i0.HostBinding, args: ['class.small-modus',] }],
|
|
3084
|
+
hasMagnifierButton: [{ type: i0.Input }],
|
|
3085
|
+
hasInfoButton: [{ type: i0.Input }],
|
|
3086
|
+
contentClick: [{ type: i0.Output }],
|
|
3087
|
+
infoButtonClick: [{ type: i0.Output }],
|
|
3088
|
+
magnifierButtonClick: [{ type: i0.Output }],
|
|
3089
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-card',] }],
|
|
3090
|
+
onHostClick: [{ type: i0.HostListener, args: ['click', ['$event'],] }]
|
|
3090
3091
|
};
|
|
3091
3092
|
|
|
3092
3093
|
var CardModule = /** @class */ (function () {
|
|
@@ -3095,7 +3096,7 @@
|
|
|
3095
3096
|
return CardModule;
|
|
3096
3097
|
}());
|
|
3097
3098
|
CardModule.decorators = [
|
|
3098
|
-
{ type:
|
|
3099
|
+
{ type: i0.NgModule, args: [{
|
|
3099
3100
|
imports: [
|
|
3100
3101
|
common.CommonModule,
|
|
3101
3102
|
http.HttpClientModule,
|
|
@@ -3174,7 +3175,7 @@
|
|
|
3174
3175
|
this.cameraHeight = 50;
|
|
3175
3176
|
this.shadow = false;
|
|
3176
3177
|
this.selectedIndex = 0;
|
|
3177
|
-
this.indexSelected = new
|
|
3178
|
+
this.indexSelected = new i0.EventEmitter();
|
|
3178
3179
|
this._cameraZoom = 0;
|
|
3179
3180
|
this._backgroundColor = 0xffffff;
|
|
3180
3181
|
this._ambientLight = true;
|
|
@@ -3451,23 +3452,23 @@
|
|
|
3451
3452
|
return Carousel3dComponent;
|
|
3452
3453
|
}());
|
|
3453
3454
|
Carousel3dComponent.decorators = [
|
|
3454
|
-
{ type:
|
|
3455
|
+
{ type: i0.Component, args: [{
|
|
3455
3456
|
selector: "co-carousel-3d",
|
|
3456
3457
|
template: "\n <div class=\"carousel-3d-canvas-wrapper\" #canvasContainer>\n <div class=\"carousel-wrapper\" #carouselWrapper>\n <div class=\"carousel-navigate-button left\">\n <div class=\"carousel-navigate-button-wrapper\" *ngIf=\"canNavigateLeft\" (click)=\"handleButtonLeftClick()\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\">\n <path\n d=\"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z\"></path>\n </svg>\n </div>\n </div>\n <div class=\"carousel-navigate-button right\">\n <div class=\"carousel-navigate-button-wrapper\" *ngIf=\"canNavigateRight\" (click)=\"handleButtonRightClick()\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\">\n <path\n d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"></path>\n </svg>\n </div>\n </div>\n </div>\n </div>\n ",
|
|
3457
|
-
encapsulation:
|
|
3458
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
3458
3459
|
},] }
|
|
3459
3460
|
];
|
|
3460
3461
|
Carousel3dComponent.propDecorators = {
|
|
3461
|
-
canvasContainer: [{ type:
|
|
3462
|
-
carouselWrapper: [{ type:
|
|
3463
|
-
children: [{ type:
|
|
3464
|
-
tileWidth: [{ type:
|
|
3465
|
-
tileHeight: [{ type:
|
|
3466
|
-
cameraHeight: [{ type:
|
|
3467
|
-
shadow: [{ type:
|
|
3468
|
-
selectedIndex: [{ type:
|
|
3469
|
-
indexSelected: [{ type:
|
|
3470
|
-
showClass: [{ type:
|
|
3462
|
+
canvasContainer: [{ type: i0.ViewChild, args: ["canvasContainer", { read: i0.ElementRef },] }],
|
|
3463
|
+
carouselWrapper: [{ type: i0.ViewChild, args: ["carouselWrapper", { read: i0.ElementRef },] }],
|
|
3464
|
+
children: [{ type: i0.ContentChildren, args: ["carouselItem", { read: i0.ElementRef, descendants: true },] }],
|
|
3465
|
+
tileWidth: [{ type: i0.Input }],
|
|
3466
|
+
tileHeight: [{ type: i0.Input }],
|
|
3467
|
+
cameraHeight: [{ type: i0.Input }],
|
|
3468
|
+
shadow: [{ type: i0.Input }],
|
|
3469
|
+
selectedIndex: [{ type: i0.Input }],
|
|
3470
|
+
indexSelected: [{ type: i0.Output }],
|
|
3471
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-carousel-3d",] }]
|
|
3471
3472
|
};
|
|
3472
3473
|
|
|
3473
3474
|
var Carousel3dModule = /** @class */ (function () {
|
|
@@ -3476,7 +3477,7 @@
|
|
|
3476
3477
|
return Carousel3dModule;
|
|
3477
3478
|
}());
|
|
3478
3479
|
Carousel3dModule.decorators = [
|
|
3479
|
-
{ type:
|
|
3480
|
+
{ type: i0.NgModule, args: [{
|
|
3480
3481
|
imports: [
|
|
3481
3482
|
common.CommonModule
|
|
3482
3483
|
],
|
|
@@ -3614,16 +3615,16 @@
|
|
|
3614
3615
|
return CarouselComponent;
|
|
3615
3616
|
}());
|
|
3616
3617
|
CarouselComponent.decorators = [
|
|
3617
|
-
{ type:
|
|
3618
|
+
{ type: i0.Component, args: [{
|
|
3618
3619
|
selector: 'co-carousel',
|
|
3619
3620
|
template: "\n <div class=\"carousel-wrapper\" #container (swipeleft)=\"handleButtonRightClick()\" (swiperight)=\"handleButtonLeftClick()\">\n <ng-content></ng-content>\n </div>\n <div class=\"carousel-navigate-button left\">\n <div class=\"carousel-navigate-button-wrapper\" *ngIf=\"canNavigateLeft\" (click)=\"handleButtonLeftClick()\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\">\n <path\n d=\"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z\"></path>\n </svg>\n </div>\n </div>\n <div class=\"carousel-navigate-button right\">\n <div class=\"carousel-navigate-button-wrapper\" *ngIf=\"canNavigateRight\" (click)=\"handleButtonRightClick()\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\">\n <path\n d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"></path>\n </svg>\n </div>\n </div>\n ",
|
|
3620
|
-
encapsulation:
|
|
3621
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
3621
3622
|
},] }
|
|
3622
3623
|
];
|
|
3623
3624
|
CarouselComponent.propDecorators = {
|
|
3624
|
-
containerChild: [{ type:
|
|
3625
|
-
contentChildren: [{ type:
|
|
3626
|
-
showClass: [{ type:
|
|
3625
|
+
containerChild: [{ type: i0.ViewChild, args: ['container', { read: i0.ElementRef },] }],
|
|
3626
|
+
contentChildren: [{ type: i0.ContentChildren, args: ['carouselItem', { read: i0.ElementRef, descendants: true },] }],
|
|
3627
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-carousel',] }]
|
|
3627
3628
|
};
|
|
3628
3629
|
|
|
3629
3630
|
var CarouselHammerConfig = /** @class */ (function (_super) {
|
|
@@ -3643,7 +3644,7 @@
|
|
|
3643
3644
|
return CarouselModule;
|
|
3644
3645
|
}());
|
|
3645
3646
|
CarouselModule.decorators = [
|
|
3646
|
-
{ type:
|
|
3647
|
+
{ type: i0.NgModule, args: [{
|
|
3647
3648
|
imports: [
|
|
3648
3649
|
common.CommonModule,
|
|
3649
3650
|
platformBrowser.HammerModule
|
|
@@ -3682,8 +3683,8 @@
|
|
|
3682
3683
|
this.modal = false;
|
|
3683
3684
|
this.show = false;
|
|
3684
3685
|
this.borderless = false;
|
|
3685
|
-
this.closeClick = new
|
|
3686
|
-
this.overlayClick = new
|
|
3686
|
+
this.closeClick = new i0.EventEmitter();
|
|
3687
|
+
this.overlayClick = new i0.EventEmitter();
|
|
3687
3688
|
this.isTouch = false;
|
|
3688
3689
|
this.mobile = false;
|
|
3689
3690
|
}
|
|
@@ -3722,7 +3723,7 @@
|
|
|
3722
3723
|
return CoDialogComponent;
|
|
3723
3724
|
}());
|
|
3724
3725
|
CoDialogComponent.decorators = [
|
|
3725
|
-
{ type:
|
|
3726
|
+
{ type: i0.Component, args: [{
|
|
3726
3727
|
selector: 'co-dialog',
|
|
3727
3728
|
template: "\n <div class=\"co-dialog-overlay\" *ngIf=\"show\" (click)=\"handleOverlayClick($event)\" @showHideOverlay></div>\n <div class=\"co-dialog-wrapper\" *ngIf=\"show\" @showHideDialog>\n <div class=\"dialog-header\" *ngIf=\"!borderless\">\n <div class=\"dialog-header-caption\" *ngIf=\"headerTemplate\">\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"></ng-container>\n </div>\n <div class=\"dialog-close-button\" *ngIf=\"showCloseIcon\" (click)=\"handleCloseDialog($event)\">\n <co-icon [icon]=\"icons.Cancel\"></co-icon>\n </div>\n </div>\n <div class=\"dialog-content\" [ngClass]=\"customCssClass ? customCssClass : undefined\">\n <ng-content></ng-content>\n </div>\n <div class=\"dialog-footer\" *ngIf=\"footerTemplate\">\n <ng-container [ngTemplateOutlet]=\"footerTemplate\"></ng-container>\n </div>\n </div>\n ",
|
|
3728
3729
|
animations: [
|
|
@@ -3734,23 +3735,23 @@
|
|
|
3734
3735
|
]),
|
|
3735
3736
|
showHideDialogAnimation('showHideDialog')
|
|
3736
3737
|
],
|
|
3737
|
-
encapsulation:
|
|
3738
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
3738
3739
|
},] }
|
|
3739
3740
|
];
|
|
3740
3741
|
CoDialogComponent.propDecorators = {
|
|
3741
|
-
customCssClass: [{ type:
|
|
3742
|
-
headerTemplate: [{ type:
|
|
3743
|
-
footerTemplate: [{ type:
|
|
3744
|
-
showCloseIcon: [{ type:
|
|
3745
|
-
modal: [{ type:
|
|
3746
|
-
show: [{ type:
|
|
3747
|
-
borderless: [{ type:
|
|
3748
|
-
closeClick: [{ type:
|
|
3749
|
-
overlayClick: [{ type:
|
|
3750
|
-
showClass: [{ type:
|
|
3751
|
-
handleKeyDown: [{ type:
|
|
3752
|
-
isTouch: [{ type:
|
|
3753
|
-
mobile: [{ type:
|
|
3742
|
+
customCssClass: [{ type: i0.Input }],
|
|
3743
|
+
headerTemplate: [{ type: i0.Input }],
|
|
3744
|
+
footerTemplate: [{ type: i0.Input }],
|
|
3745
|
+
showCloseIcon: [{ type: i0.Input }],
|
|
3746
|
+
modal: [{ type: i0.Input }],
|
|
3747
|
+
show: [{ type: i0.Input }],
|
|
3748
|
+
borderless: [{ type: i0.HostBinding, args: ['class.borderless',] }, { type: i0.Input }],
|
|
3749
|
+
closeClick: [{ type: i0.Output }],
|
|
3750
|
+
overlayClick: [{ type: i0.Output }],
|
|
3751
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-dialog',] }],
|
|
3752
|
+
handleKeyDown: [{ type: i0.HostListener, args: ['window:keydown', ['$event'],] }],
|
|
3753
|
+
isTouch: [{ type: i0.HostBinding, args: ['class.is-touch',] }],
|
|
3754
|
+
mobile: [{ type: i0.HostBinding, args: ['class.is-mobile',] }]
|
|
3754
3755
|
};
|
|
3755
3756
|
|
|
3756
3757
|
var CoDialogModule = /** @class */ (function () {
|
|
@@ -3759,7 +3760,7 @@
|
|
|
3759
3760
|
return CoDialogModule;
|
|
3760
3761
|
}());
|
|
3761
3762
|
CoDialogModule.decorators = [
|
|
3762
|
-
{ type:
|
|
3763
|
+
{ type: i0.NgModule, args: [{
|
|
3763
3764
|
imports: [
|
|
3764
3765
|
common.CommonModule,
|
|
3765
3766
|
IconModule
|
|
@@ -3777,7 +3778,7 @@
|
|
|
3777
3778
|
this.visible = false;
|
|
3778
3779
|
this.width = "50%";
|
|
3779
3780
|
this.showCloseIcon = true;
|
|
3780
|
-
this.closeClick = new
|
|
3781
|
+
this.closeClick = new i0.EventEmitter();
|
|
3781
3782
|
this.target = '.co-dialog-prompt-root-container';
|
|
3782
3783
|
this.buttons = [
|
|
3783
3784
|
{ click: this.buttonClick.bind(this), buttonModel: { content: 'Ja', isPrimary: 'true' } },
|
|
@@ -3800,7 +3801,7 @@
|
|
|
3800
3801
|
return CoDialogPromptComponent;
|
|
3801
3802
|
}());
|
|
3802
3803
|
CoDialogPromptComponent.decorators = [
|
|
3803
|
-
{ type:
|
|
3804
|
+
{ type: i0.Component, args: [{
|
|
3804
3805
|
selector: 'co-dialog-prompt',
|
|
3805
3806
|
template: "\n <div #coDialogPromptRootContainer class='co-dialog-prompt-root-container'></div>\n <ejs-dialog #coDialogPrompt\n [buttons]=\"buttons\"\n [header]=\"header\"\n [content]=\"content\"\n [showCloseIcon]=\"showCloseIcon\"\n [target]=\"target\"\n [visible]=\"visible\"\n [width]=\"width\"\n (close)=\"onCloseClick()\"\n >\n </ejs-dialog>\n ",
|
|
3806
3807
|
styles: [""]
|
|
@@ -3808,13 +3809,13 @@
|
|
|
3808
3809
|
];
|
|
3809
3810
|
CoDialogPromptComponent.ctorParameters = function () { return []; };
|
|
3810
3811
|
CoDialogPromptComponent.propDecorators = {
|
|
3811
|
-
coDialogPrompt: [{ type:
|
|
3812
|
-
header: [{ type:
|
|
3813
|
-
content: [{ type:
|
|
3814
|
-
visible: [{ type:
|
|
3815
|
-
width: [{ type:
|
|
3816
|
-
showCloseIcon: [{ type:
|
|
3817
|
-
closeClick: [{ type:
|
|
3812
|
+
coDialogPrompt: [{ type: i0.ViewChild, args: ['coDialogPrompt',] }],
|
|
3813
|
+
header: [{ type: i0.Input }],
|
|
3814
|
+
content: [{ type: i0.Input }],
|
|
3815
|
+
visible: [{ type: i0.Input }],
|
|
3816
|
+
width: [{ type: i0.Input }],
|
|
3817
|
+
showCloseIcon: [{ type: i0.Input }],
|
|
3818
|
+
closeClick: [{ type: i0.Output }]
|
|
3818
3819
|
};
|
|
3819
3820
|
|
|
3820
3821
|
var CoDialogPromptModule = /** @class */ (function () {
|
|
@@ -3823,7 +3824,7 @@
|
|
|
3823
3824
|
return CoDialogPromptModule;
|
|
3824
3825
|
}());
|
|
3825
3826
|
CoDialogPromptModule.decorators = [
|
|
3826
|
-
{ type:
|
|
3827
|
+
{ type: i0.NgModule, args: [{
|
|
3827
3828
|
imports: [
|
|
3828
3829
|
ej2AngularPopups.DialogModule
|
|
3829
3830
|
],
|
|
@@ -3838,7 +3839,7 @@
|
|
|
3838
3839
|
this.icons = exports.CoreComponentsIcon;
|
|
3839
3840
|
this.showCloseIcon = true;
|
|
3840
3841
|
this.animation = true;
|
|
3841
|
-
this.closeClick = new
|
|
3842
|
+
this.closeClick = new i0.EventEmitter();
|
|
3842
3843
|
}
|
|
3843
3844
|
CoDialogWizardComponent.prototype.showClass = function () {
|
|
3844
3845
|
return true;
|
|
@@ -3846,7 +3847,7 @@
|
|
|
3846
3847
|
return CoDialogWizardComponent;
|
|
3847
3848
|
}());
|
|
3848
3849
|
CoDialogWizardComponent.decorators = [
|
|
3849
|
-
{ type:
|
|
3850
|
+
{ type: i0.Component, args: [{
|
|
3850
3851
|
selector: 'co-dialog-wizard',
|
|
3851
3852
|
template: "\n <div class=\"co-dialog-wizard-wrapper\" [@showHideDialog]=\"animation\">\n <div class=\"dialog-header\">\n <ng-content select=\"[header]\"></ng-content>\n <div class=\"dialog-close-button\" *ngIf=\"showCloseIcon\" (click)=\"closeClick.emit($event)\">\n <co-icon [icon]=\"icons.Cancel\"></co-icon>\n </div>\n </div>\n\n <hr class=\"co-dialog-wizard-divider\">\n\n <div class=\"dialog-content\">\n <ng-content></ng-content>\n </div>\n </div>\n ",
|
|
3852
3853
|
animations: [
|
|
@@ -3857,14 +3858,14 @@
|
|
|
3857
3858
|
animations.transition('* => void', animations.animate(200))
|
|
3858
3859
|
])
|
|
3859
3860
|
],
|
|
3860
|
-
encapsulation:
|
|
3861
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
3861
3862
|
},] }
|
|
3862
3863
|
];
|
|
3863
3864
|
CoDialogWizardComponent.propDecorators = {
|
|
3864
|
-
showCloseIcon: [{ type:
|
|
3865
|
-
animation: [{ type:
|
|
3866
|
-
closeClick: [{ type:
|
|
3867
|
-
showClass: [{ type:
|
|
3865
|
+
showCloseIcon: [{ type: i0.Input }],
|
|
3866
|
+
animation: [{ type: i0.Input }],
|
|
3867
|
+
closeClick: [{ type: i0.Output }],
|
|
3868
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-dialog-wizard",] }]
|
|
3868
3869
|
};
|
|
3869
3870
|
|
|
3870
3871
|
var CoDialogWizardModule = /** @class */ (function () {
|
|
@@ -3873,7 +3874,7 @@
|
|
|
3873
3874
|
return CoDialogWizardModule;
|
|
3874
3875
|
}());
|
|
3875
3876
|
CoDialogWizardModule.decorators = [
|
|
3876
|
-
{ type:
|
|
3877
|
+
{ type: i0.NgModule, args: [{
|
|
3877
3878
|
imports: [
|
|
3878
3879
|
common.CommonModule,
|
|
3879
3880
|
IconModule
|
|
@@ -3891,10 +3892,10 @@
|
|
|
3891
3892
|
this.enableTooltip = false;
|
|
3892
3893
|
this.keyField = "";
|
|
3893
3894
|
this.showEmptyColumn = false;
|
|
3894
|
-
this.cardClickEvent = new
|
|
3895
|
-
this.cardDoubleClickEvent = new
|
|
3896
|
-
this.dragStartEvent = new
|
|
3897
|
-
this.dragStopEvent = new
|
|
3895
|
+
this.cardClickEvent = new i0.EventEmitter();
|
|
3896
|
+
this.cardDoubleClickEvent = new i0.EventEmitter();
|
|
3897
|
+
this.dragStartEvent = new i0.EventEmitter();
|
|
3898
|
+
this.dragStopEvent = new i0.EventEmitter();
|
|
3898
3899
|
}
|
|
3899
3900
|
CoKanbanComponent.prototype.showClass = function () {
|
|
3900
3901
|
return true;
|
|
@@ -3924,30 +3925,30 @@
|
|
|
3924
3925
|
return CoKanbanComponent;
|
|
3925
3926
|
}());
|
|
3926
3927
|
CoKanbanComponent.decorators = [
|
|
3927
|
-
{ type:
|
|
3928
|
+
{ type: i0.Component, args: [{
|
|
3928
3929
|
selector: 'co-kanban',
|
|
3929
3930
|
template: "\n <ejs-kanban\n #kanban\n id=\"kanban\"\n [allowDragAndDrop]=\"allowDragAndDrop\"\n [allowKeyboard]=\"allowKeyboard\"\n [cardSettings]=\"cardSettings\"\n [enablePersistence]=\"enablePersistence\"\n [enableTooltip]=\"enableTooltip\"\n [keyField]=\"keyField\"\n [showEmptyColumn]=\"showEmptyColumn\"\n [swimlaneSettings]=\"swimlaneSettings\"\n [dataSource]=\"data\"\n (cardClick)=\"handleCardClick($event)\"\n (cardDoubleClick)=\"handleCardDoubleClick($event)\"\n (dialogOpen)=\"dialogOpen($event)\"\n (dragStart)=\"handleDragStart($event)\"\n (dragStop)=\"handleDragStop($event)\"\n >\n </ejs-kanban>\n ",
|
|
3930
|
-
encapsulation:
|
|
3931
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
3931
3932
|
},] }
|
|
3932
3933
|
];
|
|
3933
3934
|
CoKanbanComponent.ctorParameters = function () { return []; };
|
|
3934
3935
|
CoKanbanComponent.propDecorators = {
|
|
3935
|
-
kanban: [{ type:
|
|
3936
|
-
allowDragAndDrop: [{ type:
|
|
3937
|
-
allowKeyboard: [{ type:
|
|
3938
|
-
cardSettings: [{ type:
|
|
3939
|
-
enablePersistence: [{ type:
|
|
3940
|
-
enableTooltip: [{ type:
|
|
3941
|
-
keyField: [{ type:
|
|
3942
|
-
showEmptyColumn: [{ type:
|
|
3943
|
-
swimlaneSettings: [{ type:
|
|
3944
|
-
columns: [{ type:
|
|
3945
|
-
data: [{ type:
|
|
3946
|
-
cardClickEvent: [{ type:
|
|
3947
|
-
cardDoubleClickEvent: [{ type:
|
|
3948
|
-
dragStartEvent: [{ type:
|
|
3949
|
-
dragStopEvent: [{ type:
|
|
3950
|
-
showClass: [{ type:
|
|
3936
|
+
kanban: [{ type: i0.ViewChild, args: ['kanban', { static: false },] }],
|
|
3937
|
+
allowDragAndDrop: [{ type: i0.Input }],
|
|
3938
|
+
allowKeyboard: [{ type: i0.Input }],
|
|
3939
|
+
cardSettings: [{ type: i0.Input }],
|
|
3940
|
+
enablePersistence: [{ type: i0.Input }],
|
|
3941
|
+
enableTooltip: [{ type: i0.Input }],
|
|
3942
|
+
keyField: [{ type: i0.Input }],
|
|
3943
|
+
showEmptyColumn: [{ type: i0.Input }],
|
|
3944
|
+
swimlaneSettings: [{ type: i0.Input }],
|
|
3945
|
+
columns: [{ type: i0.Input }],
|
|
3946
|
+
data: [{ type: i0.Input }],
|
|
3947
|
+
cardClickEvent: [{ type: i0.Output }],
|
|
3948
|
+
cardDoubleClickEvent: [{ type: i0.Output }],
|
|
3949
|
+
dragStartEvent: [{ type: i0.Output }],
|
|
3950
|
+
dragStopEvent: [{ type: i0.Output }],
|
|
3951
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-kanban",] }]
|
|
3951
3952
|
};
|
|
3952
3953
|
__decorate([
|
|
3953
3954
|
InputBoolean()
|
|
@@ -3971,7 +3972,7 @@
|
|
|
3971
3972
|
return CoKanbanModule;
|
|
3972
3973
|
}());
|
|
3973
3974
|
CoKanbanModule.decorators = [
|
|
3974
|
-
{ type:
|
|
3975
|
+
{ type: i0.NgModule, args: [{
|
|
3975
3976
|
declarations: [
|
|
3976
3977
|
CoKanbanComponent
|
|
3977
3978
|
],
|
|
@@ -3987,7 +3988,7 @@
|
|
|
3987
3988
|
|
|
3988
3989
|
var CoRichTextEditorComponent = /** @class */ (function () {
|
|
3989
3990
|
function CoRichTextEditorComponent() {
|
|
3990
|
-
this.onChangeEvent = new
|
|
3991
|
+
this.onChangeEvent = new i0.EventEmitter();
|
|
3991
3992
|
}
|
|
3992
3993
|
CoRichTextEditorComponent.prototype.showClass = function () {
|
|
3993
3994
|
return true;
|
|
@@ -4014,18 +4015,18 @@
|
|
|
4014
4015
|
return CoRichTextEditorComponent;
|
|
4015
4016
|
}());
|
|
4016
4017
|
CoRichTextEditorComponent.decorators = [
|
|
4017
|
-
{ type:
|
|
4018
|
+
{ type: i0.Component, args: [{
|
|
4018
4019
|
selector: 'co-rich-text-editor',
|
|
4019
4020
|
template: "\n <ejs-richtexteditor\n #rte\n id=\"Rte\"\n [ngModel]=\"model\"\n (change)=\"onChange($event)\"\n >\n <ng-template></ng-template>\n </ejs-richtexteditor>\n ",
|
|
4020
4021
|
providers: [ej2AngularRichtexteditor.ToolbarService, ej2AngularRichtexteditor.LinkService, ej2AngularRichtexteditor.ImageService, ej2AngularRichtexteditor.HtmlEditorService],
|
|
4021
|
-
encapsulation:
|
|
4022
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
4022
4023
|
},] }
|
|
4023
4024
|
];
|
|
4024
4025
|
CoRichTextEditorComponent.propDecorators = {
|
|
4025
|
-
editor: [{ type:
|
|
4026
|
-
onChangeEvent: [{ type:
|
|
4027
|
-
model: [{ type:
|
|
4028
|
-
showClass: [{ type:
|
|
4026
|
+
editor: [{ type: i0.ViewChild, args: ['rte', { static: false },] }],
|
|
4027
|
+
onChangeEvent: [{ type: i0.Output }],
|
|
4028
|
+
model: [{ type: i0.Input }],
|
|
4029
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-rich-text-editor",] }]
|
|
4029
4030
|
};
|
|
4030
4031
|
|
|
4031
4032
|
var CoRichTextEditorModule = /** @class */ (function () {
|
|
@@ -4034,7 +4035,7 @@
|
|
|
4034
4035
|
return CoRichTextEditorModule;
|
|
4035
4036
|
}());
|
|
4036
4037
|
CoRichTextEditorModule.decorators = [
|
|
4037
|
-
{ type:
|
|
4038
|
+
{ type: i0.NgModule, args: [{
|
|
4038
4039
|
declarations: [CoRichTextEditorComponent],
|
|
4039
4040
|
exports: [
|
|
4040
4041
|
CoRichTextEditorComponent
|
|
@@ -4050,9 +4051,9 @@
|
|
|
4050
4051
|
var CoScheduleComponent = /** @class */ (function () {
|
|
4051
4052
|
function CoScheduleComponent() {
|
|
4052
4053
|
this.enablePersistence = false;
|
|
4053
|
-
this.actionBegin = new
|
|
4054
|
-
this.actionComplete = new
|
|
4055
|
-
this.actionFailure = new
|
|
4054
|
+
this.actionBegin = new i0.EventEmitter();
|
|
4055
|
+
this.actionComplete = new i0.EventEmitter();
|
|
4056
|
+
this.actionFailure = new i0.EventEmitter();
|
|
4056
4057
|
}
|
|
4057
4058
|
CoScheduleComponent.prototype.ngOnInit = function () {
|
|
4058
4059
|
};
|
|
@@ -4068,7 +4069,7 @@
|
|
|
4068
4069
|
return CoScheduleComponent;
|
|
4069
4070
|
}());
|
|
4070
4071
|
CoScheduleComponent.decorators = [
|
|
4071
|
-
{ type:
|
|
4072
|
+
{ type: i0.Component, args: [{
|
|
4072
4073
|
selector: 'co-schedule',
|
|
4073
4074
|
template: "\n <ejs-schedule\n #ejsSchedule\n [selectedDate]=\"selectedDate\"\n [currentView]=\"currentView\"\n [eventSettings]=\"eventSettings\"\n [enablePersistence]=\"enablePersistence\"\n (actionBegin)=\"onActionBegin($event)\"\n (actionComplete)=\"onActionComplete($event)\"\n (actionFailure)=\"onActionFailure($event)\"\n ><ng-content></ng-content>\n </ejs-schedule>\n ",
|
|
4074
4075
|
providers: [
|
|
@@ -4081,21 +4082,21 @@
|
|
|
4081
4082
|
ej2AngularSchedule.TimelineViewsService,
|
|
4082
4083
|
ej2AngularSchedule.TimelineMonthService
|
|
4083
4084
|
],
|
|
4084
|
-
encapsulation:
|
|
4085
|
-
changeDetection:
|
|
4085
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
4086
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
4086
4087
|
styles: [""]
|
|
4087
4088
|
},] }
|
|
4088
4089
|
];
|
|
4089
4090
|
CoScheduleComponent.ctorParameters = function () { return []; };
|
|
4090
4091
|
CoScheduleComponent.propDecorators = {
|
|
4091
|
-
scheduleObj: [{ type:
|
|
4092
|
-
selectedDate: [{ type:
|
|
4093
|
-
currentView: [{ type:
|
|
4094
|
-
eventSettings: [{ type:
|
|
4095
|
-
enablePersistence: [{ type:
|
|
4096
|
-
actionBegin: [{ type:
|
|
4097
|
-
actionComplete: [{ type:
|
|
4098
|
-
actionFailure: [{ type:
|
|
4092
|
+
scheduleObj: [{ type: i0.ViewChild, args: ['ejsSchedule', { static: true },] }],
|
|
4093
|
+
selectedDate: [{ type: i0.Input }],
|
|
4094
|
+
currentView: [{ type: i0.Input }],
|
|
4095
|
+
eventSettings: [{ type: i0.Input }],
|
|
4096
|
+
enablePersistence: [{ type: i0.Input }],
|
|
4097
|
+
actionBegin: [{ type: i0.Output }],
|
|
4098
|
+
actionComplete: [{ type: i0.Output }],
|
|
4099
|
+
actionFailure: [{ type: i0.Output }]
|
|
4099
4100
|
};
|
|
4100
4101
|
|
|
4101
4102
|
var CoScheduleModule = /** @class */ (function () {
|
|
@@ -4104,7 +4105,7 @@
|
|
|
4104
4105
|
return CoScheduleModule;
|
|
4105
4106
|
}());
|
|
4106
4107
|
CoScheduleModule.decorators = [
|
|
4107
|
-
{ type:
|
|
4108
|
+
{ type: i0.NgModule, args: [{
|
|
4108
4109
|
declarations: [
|
|
4109
4110
|
CoScheduleComponent
|
|
4110
4111
|
],
|
|
@@ -4135,7 +4136,7 @@
|
|
|
4135
4136
|
return CoSidebarComponent;
|
|
4136
4137
|
}());
|
|
4137
4138
|
CoSidebarComponent.decorators = [
|
|
4138
|
-
{ type:
|
|
4139
|
+
{ type: i0.Component, args: [{
|
|
4139
4140
|
selector: 'co-sidebar',
|
|
4140
4141
|
template: "\n <ejs-sidebar #sidebarInstance \n closeOnDocumentClick=\"true\"\n type=\"Over\"\n [position]=\"position\"\n [isOpen]=\"isOpen\"\n >\n <ng-content></ng-content>\n </ejs-sidebar>\n ",
|
|
4141
4142
|
styles: [""]
|
|
@@ -4143,9 +4144,9 @@
|
|
|
4143
4144
|
];
|
|
4144
4145
|
CoSidebarComponent.ctorParameters = function () { return []; };
|
|
4145
4146
|
CoSidebarComponent.propDecorators = {
|
|
4146
|
-
sidebarInstance: [{ type:
|
|
4147
|
-
position: [{ type:
|
|
4148
|
-
isOpen: [{ type:
|
|
4147
|
+
sidebarInstance: [{ type: i0.ViewChild, args: ['sidebarInstance',] }],
|
|
4148
|
+
position: [{ type: i0.Input }],
|
|
4149
|
+
isOpen: [{ type: i0.Input }]
|
|
4149
4150
|
};
|
|
4150
4151
|
|
|
4151
4152
|
var CoSidebarModule = /** @class */ (function () {
|
|
@@ -4154,7 +4155,7 @@
|
|
|
4154
4155
|
return CoSidebarModule;
|
|
4155
4156
|
}());
|
|
4156
4157
|
CoSidebarModule.decorators = [
|
|
4157
|
-
{ type:
|
|
4158
|
+
{ type: i0.NgModule, args: [{
|
|
4158
4159
|
declarations: [CoSidebarComponent],
|
|
4159
4160
|
imports: [
|
|
4160
4161
|
ej2AngularNavigations.SidebarModule
|
|
@@ -4166,7 +4167,7 @@
|
|
|
4166
4167
|
var CoToggleComponent = /** @class */ (function () {
|
|
4167
4168
|
function CoToggleComponent() {
|
|
4168
4169
|
this.readonly = false;
|
|
4169
|
-
this.activeChange = new
|
|
4170
|
+
this.activeChange = new i0.EventEmitter();
|
|
4170
4171
|
}
|
|
4171
4172
|
CoToggleComponent.prototype.ngOnInit = function () {
|
|
4172
4173
|
};
|
|
@@ -4179,7 +4180,7 @@
|
|
|
4179
4180
|
return CoToggleComponent;
|
|
4180
4181
|
}());
|
|
4181
4182
|
CoToggleComponent.decorators = [
|
|
4182
|
-
{ type:
|
|
4183
|
+
{ type: i0.Component, args: [{
|
|
4183
4184
|
selector: 'co-toggle',
|
|
4184
4185
|
template: "\n <ejs-switch \n [checked]=\"checked\"\n [disabled]=\"readonly\"\n ></ejs-switch>\n ",
|
|
4185
4186
|
styles: [""]
|
|
@@ -4187,10 +4188,10 @@
|
|
|
4187
4188
|
];
|
|
4188
4189
|
CoToggleComponent.ctorParameters = function () { return []; };
|
|
4189
4190
|
CoToggleComponent.propDecorators = {
|
|
4190
|
-
checked: [{ type:
|
|
4191
|
-
readonly: [{ type:
|
|
4192
|
-
activeChange: [{ type:
|
|
4193
|
-
onHostClick: [{ type:
|
|
4191
|
+
checked: [{ type: i0.Input }],
|
|
4192
|
+
readonly: [{ type: i0.Input }],
|
|
4193
|
+
activeChange: [{ type: i0.Output }],
|
|
4194
|
+
onHostClick: [{ type: i0.HostListener, args: ["click",] }]
|
|
4194
4195
|
};
|
|
4195
4196
|
|
|
4196
4197
|
var CoToggleModule = /** @class */ (function () {
|
|
@@ -4199,7 +4200,7 @@
|
|
|
4199
4200
|
return CoToggleModule;
|
|
4200
4201
|
}());
|
|
4201
4202
|
CoToggleModule.decorators = [
|
|
4202
|
-
{ type:
|
|
4203
|
+
{ type: i0.NgModule, args: [{
|
|
4203
4204
|
declarations: [
|
|
4204
4205
|
CoToggleComponent
|
|
4205
4206
|
],
|
|
@@ -4218,8 +4219,8 @@
|
|
|
4218
4219
|
this._elementRef = _elementRef;
|
|
4219
4220
|
this.expandButtonLast = false;
|
|
4220
4221
|
this.expanded = false;
|
|
4221
|
-
this.expandedChange = new
|
|
4222
|
-
this.buttonClicked = new
|
|
4222
|
+
this.expandedChange = new i0.EventEmitter();
|
|
4223
|
+
this.buttonClicked = new i0.EventEmitter();
|
|
4223
4224
|
}
|
|
4224
4225
|
CollapsibleComponent.prototype.showClass = function () {
|
|
4225
4226
|
return true;
|
|
@@ -4242,7 +4243,7 @@
|
|
|
4242
4243
|
return CollapsibleComponent;
|
|
4243
4244
|
}());
|
|
4244
4245
|
CollapsibleComponent.decorators = [
|
|
4245
|
-
{ type:
|
|
4246
|
+
{ type: i0.Component, args: [{
|
|
4246
4247
|
selector: "co-collapsible",
|
|
4247
4248
|
template: "\n <div class=\"collapsible-header\" [class.end]=\"expandButtonLast\" (click)=\"changeExpanded()\">\n <div class=\"collapsible-header-start\">\n <div class=\"expand-icon-wrapper\" [class.expanded]=\"expanded\" *ngIf=\"!expandButtonLast\">\n <co-icon class=\"expand-icon\" [iconData]=\"iconData\"></co-icon>\n </div>\n <div class=\"collapsible-title\" [textContent]=\"headerTitle\"></div>\n </div>\n <div class=\"collapsible-header-end\">\n <div class=\"collapsible-button-wrapper\" *ngIf=\"showButton !== undefined\" (click)=\"$event.stopPropagation()\">\n <button class=\"collapsible-button\" *ngIf=\"showButton\" [textContent]=\"buttonText\"\n (click)=\"onButtonClick()\"></button>\n </div>\n <div class=\"expand-icon-wrapper\" [class.expanded]=\"expanded\" *ngIf=\"expandButtonLast\">\n <co-icon class=\"expand-icon\" [iconData]=\"iconData\"></co-icon>\n </div>\n </div>\n </div>\n <div class=\"collapsible-content\" *ngIf=\"expanded\" @showHideContent>\n <ng-content></ng-content>\n </div>\n ",
|
|
4248
4249
|
animations: [
|
|
@@ -4252,24 +4253,24 @@
|
|
|
4252
4253
|
animations.transition('void <=> *', animations.animate(200))
|
|
4253
4254
|
]),
|
|
4254
4255
|
],
|
|
4255
|
-
changeDetection:
|
|
4256
|
-
encapsulation:
|
|
4256
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
4257
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
4257
4258
|
},] }
|
|
4258
4259
|
];
|
|
4259
4260
|
CollapsibleComponent.ctorParameters = function () { return [
|
|
4260
|
-
{ type:
|
|
4261
|
+
{ type: i0.ElementRef }
|
|
4261
4262
|
]; };
|
|
4262
4263
|
CollapsibleComponent.propDecorators = {
|
|
4263
|
-
headerTitle: [{ type:
|
|
4264
|
-
buttonText: [{ type:
|
|
4265
|
-
iconData: [{ type:
|
|
4266
|
-
expandButtonLast: [{ type:
|
|
4267
|
-
showButton: [{ type:
|
|
4268
|
-
expanded: [{ type:
|
|
4269
|
-
expandedChange: [{ type:
|
|
4270
|
-
buttonClicked: [{ type:
|
|
4271
|
-
showClass: [{ type:
|
|
4272
|
-
onHostClick: [{ type:
|
|
4264
|
+
headerTitle: [{ type: i0.Input }],
|
|
4265
|
+
buttonText: [{ type: i0.Input }],
|
|
4266
|
+
iconData: [{ type: i0.Input }],
|
|
4267
|
+
expandButtonLast: [{ type: i0.Input }],
|
|
4268
|
+
showButton: [{ type: i0.Input }],
|
|
4269
|
+
expanded: [{ type: i0.Input }],
|
|
4270
|
+
expandedChange: [{ type: i0.Output }],
|
|
4271
|
+
buttonClicked: [{ type: i0.Output }],
|
|
4272
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-collapsible",] }],
|
|
4273
|
+
onHostClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }]
|
|
4273
4274
|
};
|
|
4274
4275
|
|
|
4275
4276
|
var CollapsibleModule = /** @class */ (function () {
|
|
@@ -4278,7 +4279,7 @@
|
|
|
4278
4279
|
return CollapsibleModule;
|
|
4279
4280
|
}());
|
|
4280
4281
|
CollapsibleModule.decorators = [
|
|
4281
|
-
{ type:
|
|
4282
|
+
{ type: i0.NgModule, args: [{
|
|
4282
4283
|
imports: [
|
|
4283
4284
|
common.CommonModule,
|
|
4284
4285
|
IconModule,
|
|
@@ -4310,7 +4311,7 @@
|
|
|
4310
4311
|
return FormInputUserModelChangeListenerService;
|
|
4311
4312
|
}());
|
|
4312
4313
|
FormInputUserModelChangeListenerService.decorators = [
|
|
4313
|
-
{ type:
|
|
4314
|
+
{ type: i0.Injectable }
|
|
4314
4315
|
];
|
|
4315
4316
|
FormInputUserModelChangeListenerService.ctorParameters = function () { return []; };
|
|
4316
4317
|
|
|
@@ -4329,10 +4330,10 @@
|
|
|
4329
4330
|
return NgZoneWrapperService;
|
|
4330
4331
|
}());
|
|
4331
4332
|
NgZoneWrapperService.decorators = [
|
|
4332
|
-
{ type:
|
|
4333
|
+
{ type: i0.Injectable }
|
|
4333
4334
|
];
|
|
4334
4335
|
NgZoneWrapperService.ctorParameters = function () { return [
|
|
4335
|
-
{ type:
|
|
4336
|
+
{ type: i0.NgZone }
|
|
4336
4337
|
]; };
|
|
4337
4338
|
|
|
4338
4339
|
var BaseModule = /** @class */ (function () {
|
|
@@ -4341,7 +4342,7 @@
|
|
|
4341
4342
|
return BaseModule;
|
|
4342
4343
|
}());
|
|
4343
4344
|
BaseModule.decorators = [
|
|
4344
|
-
{ type:
|
|
4345
|
+
{ type: i0.NgModule, args: [{
|
|
4345
4346
|
imports: [
|
|
4346
4347
|
common.CommonModule,
|
|
4347
4348
|
forms.FormsModule
|
|
@@ -4356,7 +4357,7 @@
|
|
|
4356
4357
|
];
|
|
4357
4358
|
|
|
4358
4359
|
// Enables "DI for interfaces" (see ConfigNameDirective injected .hostComponent).
|
|
4359
|
-
var COMPONENT_INTERFACE_NAME = new
|
|
4360
|
+
var COMPONENT_INTERFACE_NAME = new i0.InjectionToken("ConfigurationAdapterComponent");
|
|
4360
4361
|
|
|
4361
4362
|
function requiredValidator(control) {
|
|
4362
4363
|
var isValid = !(control.value === null || control.value === undefined || control.value === "");
|
|
@@ -4394,21 +4395,21 @@
|
|
|
4394
4395
|
return ValidationErrorComponent;
|
|
4395
4396
|
}());
|
|
4396
4397
|
ValidationErrorComponent.decorators = [
|
|
4397
|
-
{ type:
|
|
4398
|
+
{ type: i0.Component, args: [{
|
|
4398
4399
|
selector: "co-validation-error",
|
|
4399
4400
|
template: "\n <div class=\"validation-error-content\">\n <co-icon [iconData]=\"icons.getIcon(Icons.InformationRoundOpen)\"></co-icon>\n <div class=\"validation-error-message\" [textContent]=\"error\"></div>\n </div>\n ",
|
|
4400
4401
|
animations: [],
|
|
4401
|
-
encapsulation:
|
|
4402
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
4402
4403
|
},] }
|
|
4403
4404
|
];
|
|
4404
4405
|
ValidationErrorComponent.ctorParameters = function () { return [
|
|
4405
4406
|
{ type: IconCacheService }
|
|
4406
4407
|
]; };
|
|
4407
4408
|
ValidationErrorComponent.propDecorators = {
|
|
4408
|
-
error: [{ type:
|
|
4409
|
-
top: [{ type:
|
|
4410
|
-
left: [{ type:
|
|
4411
|
-
showClass: [{ type:
|
|
4409
|
+
error: [{ type: i0.Input }],
|
|
4410
|
+
top: [{ type: i0.HostBinding, args: ['style.top.px',] }, { type: i0.Input }],
|
|
4411
|
+
left: [{ type: i0.HostBinding, args: ['style.left.px',] }, { type: i0.Input }],
|
|
4412
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-validation-error',] }]
|
|
4412
4413
|
};
|
|
4413
4414
|
|
|
4414
4415
|
/**
|
|
@@ -4430,16 +4431,16 @@
|
|
|
4430
4431
|
this.redErrorBackground = false;
|
|
4431
4432
|
// @Output()
|
|
4432
4433
|
// public commit: EventEmitter<any> = new EventEmitter<any>();
|
|
4433
|
-
this.nativeBlur = new
|
|
4434
|
-
this.blur = new
|
|
4434
|
+
this.nativeBlur = new i0.EventEmitter();
|
|
4435
|
+
this.blur = new i0.EventEmitter();
|
|
4435
4436
|
// emits when the enter button on keyboard was pressed while this form input had focussed
|
|
4436
|
-
this.enter = new
|
|
4437
|
-
this.focus = new
|
|
4438
|
-
this.keyDown = new
|
|
4439
|
-
this.keyUp = new
|
|
4440
|
-
this.modelChange = new
|
|
4441
|
-
this.userModelChange = new
|
|
4442
|
-
this.hiddenChange = new
|
|
4437
|
+
this.enter = new i0.EventEmitter();
|
|
4438
|
+
this.focus = new i0.EventEmitter();
|
|
4439
|
+
this.keyDown = new i0.EventEmitter();
|
|
4440
|
+
this.keyUp = new i0.EventEmitter();
|
|
4441
|
+
this.modelChange = new i0.EventEmitter();
|
|
4442
|
+
this.userModelChange = new i0.EventEmitter();
|
|
4443
|
+
this.hiddenChange = new i0.EventEmitter();
|
|
4443
4444
|
this.focused = false;
|
|
4444
4445
|
this.formInput = true;
|
|
4445
4446
|
this.customWidth = false;
|
|
@@ -5219,73 +5220,73 @@
|
|
|
5219
5220
|
BaseInputComponent.BaseFormInputComponentIndex = 0;
|
|
5220
5221
|
BaseInputComponent.HiddenClass = "hidden";
|
|
5221
5222
|
BaseInputComponent.decorators = [
|
|
5222
|
-
{ type:
|
|
5223
|
-
{ type:
|
|
5223
|
+
{ type: i0.Directive },
|
|
5224
|
+
{ type: i0.Injectable }
|
|
5224
5225
|
];
|
|
5225
5226
|
BaseInputComponent.ctorParameters = function () { return [
|
|
5226
|
-
{ type:
|
|
5227
|
-
{ type:
|
|
5228
|
-
{ type: FormInputUserModelChangeListenerService, decorators: [{ type:
|
|
5229
|
-
{ type: NgZoneWrapperService, decorators: [{ type:
|
|
5230
|
-
{ type:
|
|
5227
|
+
{ type: i0.ChangeDetectorRef },
|
|
5228
|
+
{ type: i0.ComponentFactoryResolver },
|
|
5229
|
+
{ type: FormInputUserModelChangeListenerService, decorators: [{ type: i0.Optional }] },
|
|
5230
|
+
{ type: NgZoneWrapperService, decorators: [{ type: i0.Optional }] },
|
|
5231
|
+
{ type: i0.ElementRef, decorators: [{ type: i0.Optional }] }
|
|
5231
5232
|
]; };
|
|
5232
5233
|
BaseInputComponent.propDecorators = {
|
|
5233
|
-
validationErrorContainer: [{ type:
|
|
5234
|
-
_ngModel: [{ type:
|
|
5235
|
-
showSaveCancel: [{ type:
|
|
5236
|
-
model: [{ type:
|
|
5237
|
-
label: [{ type:
|
|
5238
|
-
noValidation: [{ type:
|
|
5239
|
-
initFocus: [{ type:
|
|
5240
|
-
noClickFocus: [{ type:
|
|
5241
|
-
businessObjectId: [{ type:
|
|
5242
|
-
disabled: [{ type:
|
|
5243
|
-
maxLength: [{ type:
|
|
5244
|
-
forcedMaxLength: [{ type:
|
|
5245
|
-
readonly: [{ type:
|
|
5246
|
-
forceReadonly: [{ type:
|
|
5247
|
-
required: [{ type:
|
|
5248
|
-
forceRequired: [{ type:
|
|
5249
|
-
validators: [{ type:
|
|
5250
|
-
asyncValidators: [{ type:
|
|
5251
|
-
hidden: [{ type:
|
|
5252
|
-
decimals: [{ type:
|
|
5253
|
-
icon: [{ type:
|
|
5254
|
-
redErrorBackground: [{ type:
|
|
5255
|
-
myFormInputInstance: [{ type:
|
|
5256
|
-
nativeBlur: [{ type:
|
|
5257
|
-
blur: [{ type:
|
|
5258
|
-
enter: [{ type:
|
|
5259
|
-
focus: [{ type:
|
|
5260
|
-
keyDown: [{ type:
|
|
5261
|
-
keyUp: [{ type:
|
|
5262
|
-
modelChange: [{ type:
|
|
5263
|
-
userModelChange: [{ type:
|
|
5264
|
-
hiddenChange: [{ type:
|
|
5265
|
-
focused: [{ type:
|
|
5266
|
-
formInput: [{ type:
|
|
5267
|
-
customWidth: [{ type:
|
|
5268
|
-
customHeight: [{ type:
|
|
5269
|
-
noTriangleGraphic: [{ type:
|
|
5270
|
-
halfWidth: [{ type:
|
|
5271
|
-
fullWidth: [{ type:
|
|
5272
|
-
excludeUserModelChange: [{ type:
|
|
5273
|
-
noFormGroupControl: [{ type:
|
|
5274
|
-
formSubmitted: [{ type:
|
|
5275
|
-
hasNoLabel: [{ type:
|
|
5276
|
-
hasValue: [{ type:
|
|
5277
|
-
invalid: [{ type:
|
|
5278
|
-
isDisabled: [{ type:
|
|
5279
|
-
isReadonly: [{ type:
|
|
5280
|
-
isRequired: [{ type:
|
|
5281
|
-
touchedInvalid: [{ type:
|
|
5282
|
-
valid: [{ type:
|
|
5283
|
-
validationDisabled: [{ type:
|
|
5284
|
-
onClick: [{ type:
|
|
5285
|
-
onFocusIn: [{ type:
|
|
5286
|
-
handleDocumentScroll: [{ type:
|
|
5287
|
-
handleWindowResize: [{ type:
|
|
5288
|
-
handleKeyDown: [{ type:
|
|
5234
|
+
validationErrorContainer: [{ type: i0.ViewChild, args: ["validationError", { read: i0.ViewContainerRef },] }],
|
|
5235
|
+
_ngModel: [{ type: i0.ViewChild, args: [forms.NgModel, { static: true },] }],
|
|
5236
|
+
showSaveCancel: [{ type: i0.Input }],
|
|
5237
|
+
model: [{ type: i0.Input }],
|
|
5238
|
+
label: [{ type: i0.Input }],
|
|
5239
|
+
noValidation: [{ type: i0.Input }],
|
|
5240
|
+
initFocus: [{ type: i0.Input }],
|
|
5241
|
+
noClickFocus: [{ type: i0.Input }],
|
|
5242
|
+
businessObjectId: [{ type: i0.Input }],
|
|
5243
|
+
disabled: [{ type: i0.Input }],
|
|
5244
|
+
maxLength: [{ type: i0.Input }],
|
|
5245
|
+
forcedMaxLength: [{ type: i0.Input }],
|
|
5246
|
+
readonly: [{ type: i0.Input }],
|
|
5247
|
+
forceReadonly: [{ type: i0.Input }],
|
|
5248
|
+
required: [{ type: i0.Input }],
|
|
5249
|
+
forceRequired: [{ type: i0.Input }],
|
|
5250
|
+
validators: [{ type: i0.Input }],
|
|
5251
|
+
asyncValidators: [{ type: i0.Input }],
|
|
5252
|
+
hidden: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class." + BaseInputComponent.HiddenClass,] }],
|
|
5253
|
+
decimals: [{ type: i0.Input }],
|
|
5254
|
+
icon: [{ type: i0.Input }],
|
|
5255
|
+
redErrorBackground: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.cc-red-error-background",] }],
|
|
5256
|
+
myFormInputInstance: [{ type: i0.Input }],
|
|
5257
|
+
nativeBlur: [{ type: i0.Output }],
|
|
5258
|
+
blur: [{ type: i0.Output }],
|
|
5259
|
+
enter: [{ type: i0.Output }],
|
|
5260
|
+
focus: [{ type: i0.Output }],
|
|
5261
|
+
keyDown: [{ type: i0.Output }],
|
|
5262
|
+
keyUp: [{ type: i0.Output }],
|
|
5263
|
+
modelChange: [{ type: i0.Output }],
|
|
5264
|
+
userModelChange: [{ type: i0.Output }],
|
|
5265
|
+
hiddenChange: [{ type: i0.Output }],
|
|
5266
|
+
focused: [{ type: i0.HostBinding, args: ["class.cc-input-focused",] }],
|
|
5267
|
+
formInput: [{ type: i0.HostBinding, args: ["class.form-input",] }],
|
|
5268
|
+
customWidth: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.custom-width",] }],
|
|
5269
|
+
customHeight: [{ type: i0.Input }, { type: i0.HostBinding, args: ['class.custom-height',] }],
|
|
5270
|
+
noTriangleGraphic: [{ type: i0.Input }],
|
|
5271
|
+
halfWidth: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.half-width",] }],
|
|
5272
|
+
fullWidth: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.full-width-important",] }],
|
|
5273
|
+
excludeUserModelChange: [{ type: i0.Input }],
|
|
5274
|
+
noFormGroupControl: [{ type: i0.Input }],
|
|
5275
|
+
formSubmitted: [{ type: i0.HostBinding, args: ["class.form-submitted",] }],
|
|
5276
|
+
hasNoLabel: [{ type: i0.HostBinding, args: ["class.hasnolabel",] }],
|
|
5277
|
+
hasValue: [{ type: i0.HostBinding, args: ["class.hasvalue",] }],
|
|
5278
|
+
invalid: [{ type: i0.HostBinding, args: ["class.invalid",] }],
|
|
5279
|
+
isDisabled: [{ type: i0.HostBinding, args: ["class.disabled",] }],
|
|
5280
|
+
isReadonly: [{ type: i0.HostBinding, args: ["class.read-only",] }],
|
|
5281
|
+
isRequired: [{ type: i0.HostBinding, args: ["class.required",] }],
|
|
5282
|
+
touchedInvalid: [{ type: i0.HostBinding, args: ["class.cc-touched-invalid",] }],
|
|
5283
|
+
valid: [{ type: i0.HostBinding, args: ["class.valid",] }],
|
|
5284
|
+
validationDisabled: [{ type: i0.HostBinding, args: ["class.no-validation",] }],
|
|
5285
|
+
onClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }],
|
|
5286
|
+
onFocusIn: [{ type: i0.HostListener, args: ["focusin",] }],
|
|
5287
|
+
handleDocumentScroll: [{ type: i0.HostListener, args: ["document:scroll",] }],
|
|
5288
|
+
handleWindowResize: [{ type: i0.HostListener, args: ["window:resize",] }],
|
|
5289
|
+
handleKeyDown: [{ type: i0.HostListener, args: ["keydown", ["$event"],] }]
|
|
5289
5290
|
};
|
|
5290
5291
|
__decorate([
|
|
5291
5292
|
InputBoolean()
|
|
@@ -5428,7 +5429,7 @@
|
|
|
5428
5429
|
return FormMasterService;
|
|
5429
5430
|
}());
|
|
5430
5431
|
FormMasterService.decorators = [
|
|
5431
|
-
{ type:
|
|
5432
|
+
{ type: i0.Injectable }
|
|
5432
5433
|
];
|
|
5433
5434
|
FormMasterService.ctorParameters = function () { return []; };
|
|
5434
5435
|
|
|
@@ -5442,16 +5443,16 @@
|
|
|
5442
5443
|
var FormComponent = /** @class */ (function () {
|
|
5443
5444
|
function FormComponent(_formMaster) {
|
|
5444
5445
|
this._formMaster = _formMaster;
|
|
5445
|
-
this.onChange = new
|
|
5446
|
+
this.onChange = new i0.EventEmitter();
|
|
5446
5447
|
this.showClass = true;
|
|
5447
5448
|
this.submitted = false;
|
|
5448
5449
|
// Emits true after every valid submit.
|
|
5449
|
-
this.validSubmit = new
|
|
5450
|
+
this.validSubmit = new i0.EventEmitter();
|
|
5450
5451
|
// Emits void after every 'submit' (either valid or invalid, eg a submit attempt)
|
|
5451
|
-
this.anySubmit = new
|
|
5452
|
+
this.anySubmit = new i0.EventEmitter();
|
|
5452
5453
|
// note: a disabled control is considered valid
|
|
5453
|
-
this.validityChange = new
|
|
5454
|
-
this.readonlyChange = new
|
|
5454
|
+
this.validityChange = new i0.EventEmitter();
|
|
5455
|
+
this.readonlyChange = new i0.EventEmitter();
|
|
5455
5456
|
// The Angular in-memory representation of the form controls on this form. Performs actual logic, emits 'input field' (Control) state change events, etc.
|
|
5456
5457
|
this.formGroup = new forms.FormGroup({});
|
|
5457
5458
|
this.invalidSubmit = new rxjs.Subject();
|
|
@@ -5595,26 +5596,26 @@
|
|
|
5595
5596
|
return FormComponent;
|
|
5596
5597
|
}());
|
|
5597
5598
|
FormComponent.decorators = [
|
|
5598
|
-
{ type:
|
|
5599
|
+
{ type: i0.Component, args: [{
|
|
5599
5600
|
selector: "co-form",
|
|
5600
5601
|
template: "\n <ng-content></ng-content>\n ",
|
|
5601
|
-
encapsulation:
|
|
5602
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
5602
5603
|
},] }
|
|
5603
5604
|
];
|
|
5604
5605
|
FormComponent.ctorParameters = function () { return [
|
|
5605
5606
|
{ type: FormMasterService }
|
|
5606
5607
|
]; };
|
|
5607
5608
|
FormComponent.propDecorators = {
|
|
5608
|
-
readonly: [{ type:
|
|
5609
|
-
keepInView: [{ type:
|
|
5610
|
-
onChange: [{ type:
|
|
5611
|
-
showClass: [{ type:
|
|
5612
|
-
submitted: [{ type:
|
|
5613
|
-
validSubmit: [{ type:
|
|
5614
|
-
anySubmit: [{ type:
|
|
5615
|
-
validityChange: [{ type:
|
|
5616
|
-
readonlyChange: [{ type:
|
|
5617
|
-
invalidSubmit: [{ type:
|
|
5609
|
+
readonly: [{ type: i0.Input }],
|
|
5610
|
+
keepInView: [{ type: i0.Input }],
|
|
5611
|
+
onChange: [{ type: i0.Output }],
|
|
5612
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-form",] }],
|
|
5613
|
+
submitted: [{ type: i0.HostBinding, args: ["class.submitted",] }],
|
|
5614
|
+
validSubmit: [{ type: i0.Output }],
|
|
5615
|
+
anySubmit: [{ type: i0.Output }],
|
|
5616
|
+
validityChange: [{ type: i0.Output }],
|
|
5617
|
+
readonlyChange: [{ type: i0.Output }],
|
|
5618
|
+
invalidSubmit: [{ type: i0.Output }]
|
|
5618
5619
|
};
|
|
5619
5620
|
|
|
5620
5621
|
var DropDownListComponent = /** @class */ (function (_super) {
|
|
@@ -5642,41 +5643,41 @@
|
|
|
5642
5643
|
return DropDownListComponent;
|
|
5643
5644
|
}(BaseInputComponent));
|
|
5644
5645
|
DropDownListComponent.decorators = [
|
|
5645
|
-
{ type:
|
|
5646
|
+
{ type: i0.Component, args: [{
|
|
5646
5647
|
selector: "co-drop-down-list",
|
|
5647
5648
|
template: "\n <ejs-dropdownlist\n [dataSource]=\"collection\"\n [allowFiltering]=\"allowFiltering\"\n [value]=\"model\"\n [fields]=\"fields\"\n [filterBarPlaceholder]=\"filterBarPlaceholder\"\n [filterType]=\"filterType\"\n [placeholder]=\"placeholder\"\n [readonly]=\"readonly\"\n [itemTemplate]=\"itemTemplate\"\n [headerTemplate]=\"headerTemplate\"\n [valueTemplate]=\"valueTemplate\"\n [disabled]=\"disabled\"\n [ngModel]=\"model\"\n (ngModelChange)=\"modelChange.emit($event)\"\n showClearButton=\"true\"\n floatLabelType=\"Auto\"\n >\n </ejs-dropdownlist>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
5648
5649
|
providers: [
|
|
5649
5650
|
ej2AngularDropdowns.CheckBoxSelectionService,
|
|
5650
5651
|
{
|
|
5651
5652
|
provide: COMPONENT_INTERFACE_NAME,
|
|
5652
|
-
useExisting:
|
|
5653
|
+
useExisting: i0.forwardRef(function () { return DropDownListComponent; })
|
|
5653
5654
|
}, {
|
|
5654
5655
|
provide: BaseInputComponent,
|
|
5655
5656
|
useExisting: DropDownListComponent
|
|
5656
5657
|
}
|
|
5657
5658
|
],
|
|
5658
|
-
encapsulation:
|
|
5659
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
5659
5660
|
},] }
|
|
5660
5661
|
];
|
|
5661
5662
|
DropDownListComponent.ctorParameters = function () { return [
|
|
5662
|
-
{ type: FormComponent, decorators: [{ type:
|
|
5663
|
-
{ type:
|
|
5664
|
-
{ type:
|
|
5663
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
5664
|
+
{ type: i0.ChangeDetectorRef },
|
|
5665
|
+
{ type: i0.ComponentFactoryResolver },
|
|
5665
5666
|
{ type: FormInputUserModelChangeListenerService },
|
|
5666
5667
|
{ type: NgZoneWrapperService },
|
|
5667
|
-
{ type:
|
|
5668
|
+
{ type: i0.ElementRef }
|
|
5668
5669
|
]; };
|
|
5669
5670
|
DropDownListComponent.propDecorators = {
|
|
5670
|
-
collection: [{ type:
|
|
5671
|
-
fields: [{ type:
|
|
5672
|
-
placeholder: [{ type:
|
|
5673
|
-
allowFiltering: [{ type:
|
|
5674
|
-
filterBarPlaceholder: [{ type:
|
|
5675
|
-
filterType: [{ type:
|
|
5676
|
-
itemTemplate: [{ type:
|
|
5677
|
-
headerTemplate: [{ type:
|
|
5678
|
-
valueTemplate: [{ type:
|
|
5679
|
-
showClass: [{ type:
|
|
5671
|
+
collection: [{ type: i0.Input }],
|
|
5672
|
+
fields: [{ type: i0.Input }],
|
|
5673
|
+
placeholder: [{ type: i0.Input }],
|
|
5674
|
+
allowFiltering: [{ type: i0.Input }],
|
|
5675
|
+
filterBarPlaceholder: [{ type: i0.Input }],
|
|
5676
|
+
filterType: [{ type: i0.Input }],
|
|
5677
|
+
itemTemplate: [{ type: i0.Input }],
|
|
5678
|
+
headerTemplate: [{ type: i0.Input }],
|
|
5679
|
+
valueTemplate: [{ type: i0.Input }],
|
|
5680
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-drop-down-list",] }]
|
|
5680
5681
|
};
|
|
5681
5682
|
|
|
5682
5683
|
var DropDownModule = /** @class */ (function () {
|
|
@@ -5685,7 +5686,7 @@
|
|
|
5685
5686
|
return DropDownModule;
|
|
5686
5687
|
}());
|
|
5687
5688
|
DropDownModule.decorators = [
|
|
5688
|
-
{ type:
|
|
5689
|
+
{ type: i0.NgModule, args: [{
|
|
5689
5690
|
imports: [
|
|
5690
5691
|
BaseModule,
|
|
5691
5692
|
common.CommonModule,
|
|
@@ -5704,7 +5705,7 @@
|
|
|
5704
5705
|
return FormModule;
|
|
5705
5706
|
}());
|
|
5706
5707
|
FormModule.decorators = [
|
|
5707
|
-
{ type:
|
|
5708
|
+
{ type: i0.NgModule, args: [{
|
|
5708
5709
|
imports: [
|
|
5709
5710
|
common.CommonModule
|
|
5710
5711
|
],
|
|
@@ -5766,29 +5767,29 @@
|
|
|
5766
5767
|
return BaseGridComponent;
|
|
5767
5768
|
}());
|
|
5768
5769
|
BaseGridComponent.decorators = [
|
|
5769
|
-
{ type:
|
|
5770
|
+
{ type: i0.Directive }
|
|
5770
5771
|
];
|
|
5771
5772
|
BaseGridComponent.ctorParameters = function () { return [
|
|
5772
|
-
{ type:
|
|
5773
|
+
{ type: i0.ElementRef }
|
|
5773
5774
|
]; };
|
|
5774
5775
|
BaseGridComponent.propDecorators = {
|
|
5775
|
-
grid: [{ type:
|
|
5776
|
-
data: [{ type:
|
|
5777
|
-
gridLines: [{ type:
|
|
5778
|
-
contextMenuItems: [{ type:
|
|
5779
|
-
frozenColumns: [{ type:
|
|
5780
|
-
frozenRows: [{ type:
|
|
5781
|
-
sortingEnabled: [{ type:
|
|
5782
|
-
filteringEnabled: [{ type:
|
|
5783
|
-
pagingEnabled: [{ type:
|
|
5784
|
-
groupingEnabled: [{ type:
|
|
5785
|
-
reorderingEnabled: [{ type:
|
|
5786
|
-
rowDragAndDropEnabled: [{ type:
|
|
5787
|
-
rowDropSettings: [{ type:
|
|
5788
|
-
resizingEnabled: [{ type:
|
|
5789
|
-
showColumnMenu: [{ type:
|
|
5790
|
-
maxNumberOfRows: [{ type:
|
|
5791
|
-
columns: [{ type:
|
|
5776
|
+
grid: [{ type: i0.ViewChild, args: ['grid', { static: false },] }],
|
|
5777
|
+
data: [{ type: i0.Input }],
|
|
5778
|
+
gridLines: [{ type: i0.Input }],
|
|
5779
|
+
contextMenuItems: [{ type: i0.Input }],
|
|
5780
|
+
frozenColumns: [{ type: i0.Input }],
|
|
5781
|
+
frozenRows: [{ type: i0.Input }],
|
|
5782
|
+
sortingEnabled: [{ type: i0.Input }],
|
|
5783
|
+
filteringEnabled: [{ type: i0.Input }],
|
|
5784
|
+
pagingEnabled: [{ type: i0.Input }],
|
|
5785
|
+
groupingEnabled: [{ type: i0.Input }],
|
|
5786
|
+
reorderingEnabled: [{ type: i0.Input }],
|
|
5787
|
+
rowDragAndDropEnabled: [{ type: i0.Input }],
|
|
5788
|
+
rowDropSettings: [{ type: i0.Input }],
|
|
5789
|
+
resizingEnabled: [{ type: i0.Input }],
|
|
5790
|
+
showColumnMenu: [{ type: i0.Input }],
|
|
5791
|
+
maxNumberOfRows: [{ type: i0.Input }],
|
|
5792
|
+
columns: [{ type: i0.Input }]
|
|
5792
5793
|
};
|
|
5793
5794
|
__decorate([
|
|
5794
5795
|
InputBoolean()
|
|
@@ -5887,12 +5888,12 @@
|
|
|
5887
5888
|
return BaseToolbarGridComponent;
|
|
5888
5889
|
}(BaseGridComponent));
|
|
5889
5890
|
BaseToolbarGridComponent.decorators = [
|
|
5890
|
-
{ type:
|
|
5891
|
+
{ type: i0.Directive }
|
|
5891
5892
|
];
|
|
5892
5893
|
BaseToolbarGridComponent.propDecorators = {
|
|
5893
|
-
showColumnChooser: [{ type:
|
|
5894
|
-
exportExcelEnabled: [{ type:
|
|
5895
|
-
exportPdfEnabled: [{ type:
|
|
5894
|
+
showColumnChooser: [{ type: i0.Input }],
|
|
5895
|
+
exportExcelEnabled: [{ type: i0.Input }],
|
|
5896
|
+
exportPdfEnabled: [{ type: i0.Input }]
|
|
5896
5897
|
};
|
|
5897
5898
|
__decorate([
|
|
5898
5899
|
InputBoolean()
|
|
@@ -5908,9 +5909,9 @@
|
|
|
5908
5909
|
__extends(BaseInlineEditGridComponent, _super);
|
|
5909
5910
|
function BaseInlineEditGridComponent() {
|
|
5910
5911
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
5911
|
-
_this.rowSaved = new
|
|
5912
|
-
_this.beforeRowDelete = new
|
|
5913
|
-
_this.rowDeleted = new
|
|
5912
|
+
_this.rowSaved = new i0.EventEmitter();
|
|
5913
|
+
_this.beforeRowDelete = new i0.EventEmitter(false);
|
|
5914
|
+
_this.rowDeleted = new i0.EventEmitter();
|
|
5914
5915
|
_this.actionBeginObservable$ = new rxjs.Observable();
|
|
5915
5916
|
_this.actionBeginObservableSub = new rxjs.Subscription();
|
|
5916
5917
|
return _this;
|
|
@@ -5990,13 +5991,13 @@
|
|
|
5990
5991
|
return BaseInlineEditGridComponent;
|
|
5991
5992
|
}(BaseToolbarGridComponent));
|
|
5992
5993
|
BaseInlineEditGridComponent.decorators = [
|
|
5993
|
-
{ type:
|
|
5994
|
+
{ type: i0.Directive }
|
|
5994
5995
|
];
|
|
5995
5996
|
BaseInlineEditGridComponent.propDecorators = {
|
|
5996
|
-
inlineEdit: [{ type:
|
|
5997
|
-
rowSaved: [{ type:
|
|
5998
|
-
beforeRowDelete: [{ type:
|
|
5999
|
-
rowDeleted: [{ type:
|
|
5997
|
+
inlineEdit: [{ type: i0.Input }],
|
|
5998
|
+
rowSaved: [{ type: i0.Output }],
|
|
5999
|
+
beforeRowDelete: [{ type: i0.Output }],
|
|
6000
|
+
rowDeleted: [{ type: i0.Output }]
|
|
6000
6001
|
};
|
|
6001
6002
|
__decorate([
|
|
6002
6003
|
InputBoolean()
|
|
@@ -6008,14 +6009,14 @@
|
|
|
6008
6009
|
function BaseSelectionGridComponent() {
|
|
6009
6010
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
6010
6011
|
_this.includeDetailColumn = false;
|
|
6011
|
-
_this.rowsSelected = new
|
|
6012
|
-
_this.rowDoubleClick = new
|
|
6013
|
-
_this.detailColumnClick = new
|
|
6014
|
-
_this.contextMenuItemClick = new
|
|
6015
|
-
_this.rowDragStartEvent = new
|
|
6016
|
-
_this.rowDropEvent = new
|
|
6017
|
-
_this.beforeRowsDelete = new
|
|
6018
|
-
_this.rowsDeleted = new
|
|
6012
|
+
_this.rowsSelected = new i0.EventEmitter();
|
|
6013
|
+
_this.rowDoubleClick = new i0.EventEmitter();
|
|
6014
|
+
_this.detailColumnClick = new i0.EventEmitter();
|
|
6015
|
+
_this.contextMenuItemClick = new i0.EventEmitter();
|
|
6016
|
+
_this.rowDragStartEvent = new i0.EventEmitter();
|
|
6017
|
+
_this.rowDropEvent = new i0.EventEmitter();
|
|
6018
|
+
_this.beforeRowsDelete = new i0.EventEmitter();
|
|
6019
|
+
_this.rowsDeleted = new i0.EventEmitter();
|
|
6019
6020
|
_this.selectionOptions = { type: "Single" };
|
|
6020
6021
|
return _this;
|
|
6021
6022
|
}
|
|
@@ -6076,20 +6077,20 @@
|
|
|
6076
6077
|
return BaseSelectionGridComponent;
|
|
6077
6078
|
}(BaseInlineEditGridComponent));
|
|
6078
6079
|
BaseSelectionGridComponent.decorators = [
|
|
6079
|
-
{ type:
|
|
6080
|
+
{ type: i0.Directive }
|
|
6080
6081
|
];
|
|
6081
6082
|
BaseSelectionGridComponent.propDecorators = {
|
|
6082
|
-
multipleSelect: [{ type:
|
|
6083
|
-
includeDetailColumn: [{ type:
|
|
6084
|
-
detailColumnTemplate: [{ type:
|
|
6085
|
-
rowsSelected: [{ type:
|
|
6086
|
-
rowDoubleClick: [{ type:
|
|
6087
|
-
detailColumnClick: [{ type:
|
|
6088
|
-
contextMenuItemClick: [{ type:
|
|
6089
|
-
rowDragStartEvent: [{ type:
|
|
6090
|
-
rowDropEvent: [{ type:
|
|
6091
|
-
beforeRowsDelete: [{ type:
|
|
6092
|
-
rowsDeleted: [{ type:
|
|
6083
|
+
multipleSelect: [{ type: i0.Input }],
|
|
6084
|
+
includeDetailColumn: [{ type: i0.HostBinding, args: ["class.detail-column",] }, { type: i0.Input }],
|
|
6085
|
+
detailColumnTemplate: [{ type: i0.Input }],
|
|
6086
|
+
rowsSelected: [{ type: i0.Output }],
|
|
6087
|
+
rowDoubleClick: [{ type: i0.Output }],
|
|
6088
|
+
detailColumnClick: [{ type: i0.Output }],
|
|
6089
|
+
contextMenuItemClick: [{ type: i0.Output }],
|
|
6090
|
+
rowDragStartEvent: [{ type: i0.Output }],
|
|
6091
|
+
rowDropEvent: [{ type: i0.Output }],
|
|
6092
|
+
beforeRowsDelete: [{ type: i0.Output }],
|
|
6093
|
+
rowsDeleted: [{ type: i0.Output }]
|
|
6093
6094
|
};
|
|
6094
6095
|
__decorate([
|
|
6095
6096
|
InputBoolean()
|
|
@@ -6112,17 +6113,17 @@
|
|
|
6112
6113
|
return CoGridComponent;
|
|
6113
6114
|
}(BaseSelectionGridComponent));
|
|
6114
6115
|
CoGridComponent.decorators = [
|
|
6115
|
-
{ type:
|
|
6116
|
+
{ type: i0.Component, args: [{
|
|
6116
6117
|
selector: 'co-grid',
|
|
6117
6118
|
template: "\n <ejs-grid #grid id=\"grid\"\n [dataSource]=\"data\"\n [columns]=\"columns\"\n [contextMenuItems]=\"contextMenuItems\"\n [pageSettings]=\"pageSettings\"\n [toolbar]=\"toolbarOptions\"\n [gridLines]=\"gridLines\"\n [frozenColumns]=\"frozenColumns\"\n [frozenRows]=\"frozenRows\"\n [selectionSettings]=\"selectionOptions\"\n [editSettings]=\"editSettings\"\n [allowPaging]=\"pagingEnabled\"\n [allowSorting]=\"sortingEnabled\"\n [allowFiltering]=\"filteringEnabled\"\n [allowGrouping]=\"groupingEnabled\"\n [allowReordering]=\"reorderingEnabled\"\n [allowResizing]=\"resizingEnabled\"\n [allowRowDragAndDrop]=\"rowDragAndDropEnabled\"\n [showColumnMenu]=\"showColumnMenu\"\n [showColumnChooser]=\"showColumnChooser\"\n [allowExcelExport]=\"exportExcelEnabled\"\n [allowPdfExport]=\"exportPdfEnabled\"\n (toolbarClick)=\"toolbarClick($event)\"\n (rowSelected)=\"handleRowSelected($event)\"\n (recordDoubleClick)=\"handleDoubleClick($event)\"\n (recordClick)=\"handleRecordClick($event)\"\n (actionComplete)=\"handleActionComplete($event)\"\n (contextMenuClick)=\"contextMenuClick($event)\"\n (rowDragStart)=\"rowDragStartClick($event)\"\n (rowDrop)=\"rowDropClick($event)\"\n (beforeBatchDelete)=\"handleBeforeBatchDelete($event)\"\n (batchDelete)=\"handleBatchDelete($event)\"\n >\n </ejs-grid>\n ",
|
|
6118
6119
|
providers: [
|
|
6119
6120
|
ej2AngularGrids.RowDDService
|
|
6120
6121
|
],
|
|
6121
|
-
encapsulation:
|
|
6122
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6122
6123
|
},] }
|
|
6123
6124
|
];
|
|
6124
6125
|
CoGridComponent.propDecorators = {
|
|
6125
|
-
showClass: [{ type:
|
|
6126
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-grid',] }]
|
|
6126
6127
|
};
|
|
6127
6128
|
|
|
6128
6129
|
var GridToolbarComponent = /** @class */ (function () {
|
|
@@ -6133,11 +6134,11 @@
|
|
|
6133
6134
|
this.showAdd = false;
|
|
6134
6135
|
this.showDelete = false;
|
|
6135
6136
|
this.deleteEnabled = false;
|
|
6136
|
-
this.editClick = new
|
|
6137
|
-
this.cancelClick = new
|
|
6138
|
-
this.saveClick = new
|
|
6139
|
-
this.addClick = new
|
|
6140
|
-
this.deleteClick = new
|
|
6137
|
+
this.editClick = new i0.EventEmitter();
|
|
6138
|
+
this.cancelClick = new i0.EventEmitter();
|
|
6139
|
+
this.saveClick = new i0.EventEmitter();
|
|
6140
|
+
this.addClick = new i0.EventEmitter();
|
|
6141
|
+
this.deleteClick = new i0.EventEmitter();
|
|
6141
6142
|
}
|
|
6142
6143
|
GridToolbarComponent.prototype.showClass = function () {
|
|
6143
6144
|
return true;
|
|
@@ -6145,26 +6146,26 @@
|
|
|
6145
6146
|
return GridToolbarComponent;
|
|
6146
6147
|
}());
|
|
6147
6148
|
GridToolbarComponent.decorators = [
|
|
6148
|
-
{ type:
|
|
6149
|
+
{ type: i0.Component, args: [{
|
|
6149
6150
|
selector: "co-grid-toolbar",
|
|
6150
6151
|
template: "\n <div class=\"grid-toolbar-wrapper\">\n <co-icon *ngIf=\"showEdit\" [iconData]=\"iconsService.getIcon(icons.PenToSquareSolid)\" [title]=\"'edit'\" (click)=\"editClick.emit($event)\"></co-icon>\n <co-icon *ngIf=\"showEdit\" [iconData]=\"iconsService.getIcon(icons.RotateLeftSolid)\" [title]=\"'cancel'\" (click)=\"cancelClick.emit()\"></co-icon>\n <co-icon *ngIf=\"showEdit\" [iconData]=\"iconsService.getIcon(icons.FloppyDiskSolid)\" [title]=\"'save'\" (click)=\"saveClick.emit()\"></co-icon>\n <co-icon *ngIf=\"showAdd || showEdit\" [iconData]=\"iconsService.getIcon(icons.PlusSolid)\" [title]=\"'add'\" (click)=\"addClick.emit()\"></co-icon>\n <co-icon *ngIf=\"showDelete\" [iconData]=\"iconsService.getIcon(icons.TrashCanSolid)\" [title]=\"'delete'\" [class.disabled]=\"!deleteEnabled\" (click)=\"deleteClick.emit()\"></co-icon>\n </div>\n ",
|
|
6151
|
-
encapsulation:
|
|
6152
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6152
6153
|
},] }
|
|
6153
6154
|
];
|
|
6154
6155
|
GridToolbarComponent.ctorParameters = function () { return [
|
|
6155
6156
|
{ type: IconCacheService }
|
|
6156
6157
|
]; };
|
|
6157
6158
|
GridToolbarComponent.propDecorators = {
|
|
6158
|
-
showEdit: [{ type:
|
|
6159
|
-
showAdd: [{ type:
|
|
6160
|
-
showDelete: [{ type:
|
|
6161
|
-
deleteEnabled: [{ type:
|
|
6162
|
-
editClick: [{ type:
|
|
6163
|
-
cancelClick: [{ type:
|
|
6164
|
-
saveClick: [{ type:
|
|
6165
|
-
addClick: [{ type:
|
|
6166
|
-
deleteClick: [{ type:
|
|
6167
|
-
showClass: [{ type:
|
|
6159
|
+
showEdit: [{ type: i0.Input }],
|
|
6160
|
+
showAdd: [{ type: i0.Input }],
|
|
6161
|
+
showDelete: [{ type: i0.Input }],
|
|
6162
|
+
deleteEnabled: [{ type: i0.Input }],
|
|
6163
|
+
editClick: [{ type: i0.Output }],
|
|
6164
|
+
cancelClick: [{ type: i0.Output }],
|
|
6165
|
+
saveClick: [{ type: i0.Output }],
|
|
6166
|
+
addClick: [{ type: i0.Output }],
|
|
6167
|
+
deleteClick: [{ type: i0.Output }],
|
|
6168
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-grid-toolbar",] }]
|
|
6168
6169
|
};
|
|
6169
6170
|
|
|
6170
6171
|
ej2Base.enableRipple(true);
|
|
@@ -6174,7 +6175,7 @@
|
|
|
6174
6175
|
return GridToolbarModule;
|
|
6175
6176
|
}());
|
|
6176
6177
|
GridToolbarModule.decorators = [
|
|
6177
|
-
{ type:
|
|
6178
|
+
{ type: i0.NgModule, args: [{
|
|
6178
6179
|
imports: [
|
|
6179
6180
|
IconModule,
|
|
6180
6181
|
ButtonModule,
|
|
@@ -6195,7 +6196,7 @@
|
|
|
6195
6196
|
return CoGridModule;
|
|
6196
6197
|
}());
|
|
6197
6198
|
CoGridModule.decorators = [
|
|
6198
|
-
{ type:
|
|
6199
|
+
{ type: i0.NgModule, args: [{
|
|
6199
6200
|
imports: [
|
|
6200
6201
|
common.CommonModule,
|
|
6201
6202
|
forms.FormsModule,
|
|
@@ -6226,7 +6227,7 @@
|
|
|
6226
6227
|
var GridToolbarButtonComponent = /** @class */ (function () {
|
|
6227
6228
|
function GridToolbarButtonComponent() {
|
|
6228
6229
|
this.disabled = false;
|
|
6229
|
-
this.buttonClick = new
|
|
6230
|
+
this.buttonClick = new i0.EventEmitter();
|
|
6230
6231
|
}
|
|
6231
6232
|
GridToolbarButtonComponent.prototype.showClass = function () {
|
|
6232
6233
|
return true;
|
|
@@ -6234,17 +6235,17 @@
|
|
|
6234
6235
|
return GridToolbarButtonComponent;
|
|
6235
6236
|
}());
|
|
6236
6237
|
GridToolbarButtonComponent.decorators = [
|
|
6237
|
-
{ type:
|
|
6238
|
+
{ type: i0.Component, args: [{
|
|
6238
6239
|
selector: "co-grid-toolbar-button",
|
|
6239
6240
|
template: "\n <div class=\"grid-toolbar-button-wrapper\" [class.disabled]=\"disabled\" (click)=\"buttonClick.next()\">\n <co-icon [iconData]=\"iconData\"></co-icon>\n </div>\n ",
|
|
6240
|
-
encapsulation:
|
|
6241
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6241
6242
|
},] }
|
|
6242
6243
|
];
|
|
6243
6244
|
GridToolbarButtonComponent.propDecorators = {
|
|
6244
|
-
iconData: [{ type:
|
|
6245
|
-
disabled: [{ type:
|
|
6246
|
-
buttonClick: [{ type:
|
|
6247
|
-
showClass: [{ type:
|
|
6245
|
+
iconData: [{ type: i0.Input }],
|
|
6246
|
+
disabled: [{ type: i0.Input }],
|
|
6247
|
+
buttonClick: [{ type: i0.Output }],
|
|
6248
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-grid-toolbar-button",] }]
|
|
6248
6249
|
};
|
|
6249
6250
|
|
|
6250
6251
|
ej2Base.enableRipple(true);
|
|
@@ -6254,7 +6255,7 @@
|
|
|
6254
6255
|
return GridToolbarButtonModule;
|
|
6255
6256
|
}());
|
|
6256
6257
|
GridToolbarButtonModule.decorators = [
|
|
6257
|
-
{ type:
|
|
6258
|
+
{ type: i0.NgModule, args: [{
|
|
6258
6259
|
imports: [
|
|
6259
6260
|
IconModule,
|
|
6260
6261
|
],
|
|
@@ -6355,21 +6356,21 @@
|
|
|
6355
6356
|
return IconCollapseHandleComponent;
|
|
6356
6357
|
}());
|
|
6357
6358
|
IconCollapseHandleComponent.decorators = [
|
|
6358
|
-
{ type:
|
|
6359
|
+
{ type: i0.Component, args: [{
|
|
6359
6360
|
selector: "co-icon-collapse-handle",
|
|
6360
6361
|
template: "\n <div class=\"wrap\">\n <co-icon [icon]=\"Icons.ArrowPointUp\" [class]=\"'first ' + arrowDirection + ' ' + iconColorClass\"></co-icon>\n <co-icon *ngIf=\"twoArrows\" [icon]=\"Icons.ArrowPointUp\"\n [class]=\"'second ' + oppositeArrowDirection + ' ' + iconColorClass\"></co-icon>\n </div>\n <div class=\"absolute-fill-parent\" md-ripple></div>\n ",
|
|
6361
|
-
encapsulation:
|
|
6362
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6362
6363
|
},] }
|
|
6363
6364
|
];
|
|
6364
6365
|
IconCollapseHandleComponent.ctorParameters = function () { return []; };
|
|
6365
6366
|
IconCollapseHandleComponent.propDecorators = {
|
|
6366
|
-
showClass: [{ type:
|
|
6367
|
-
orientation: [{ type:
|
|
6368
|
-
arrowDirection: [{ type:
|
|
6369
|
-
twoArrows: [{ type:
|
|
6370
|
-
isVertical: [{ type:
|
|
6371
|
-
arrowsOrientatedHorizontally: [{ type:
|
|
6372
|
-
hidden: [{ type:
|
|
6367
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-icon-collapse-handle",] }],
|
|
6368
|
+
orientation: [{ type: i0.Input }],
|
|
6369
|
+
arrowDirection: [{ type: i0.Input }],
|
|
6370
|
+
twoArrows: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.two-arrows",] }],
|
|
6371
|
+
isVertical: [{ type: i0.HostBinding, args: ["class.vertical",] }],
|
|
6372
|
+
arrowsOrientatedHorizontally: [{ type: i0.HostBinding, args: ["class.arrows-orientated-horizontally",] }],
|
|
6373
|
+
hidden: [{ type: i0.HostBinding, args: ["class.hidden",] }]
|
|
6373
6374
|
};
|
|
6374
6375
|
__decorate([
|
|
6375
6376
|
InputBoolean()
|
|
@@ -6381,7 +6382,7 @@
|
|
|
6381
6382
|
return IconCollapseHandleModule;
|
|
6382
6383
|
}());
|
|
6383
6384
|
IconCollapseHandleModule.decorators = [
|
|
6384
|
-
{ type:
|
|
6385
|
+
{ type: i0.NgModule, args: [{
|
|
6385
6386
|
imports: [
|
|
6386
6387
|
common.CommonModule,
|
|
6387
6388
|
IconModule,
|
|
@@ -6407,7 +6408,8 @@
|
|
|
6407
6408
|
_this.formUserChangeListener = formUserChangeListener;
|
|
6408
6409
|
_this.ngZoneWrapper = ngZoneWrapper;
|
|
6409
6410
|
_this.elementRef = elementRef;
|
|
6410
|
-
_this.
|
|
6411
|
+
_this.clickableLabel = true;
|
|
6412
|
+
_this.modelChange = new i0.EventEmitter();
|
|
6411
6413
|
return _this;
|
|
6412
6414
|
}
|
|
6413
6415
|
InputCheckboxComponent.prototype.showClass = function () {
|
|
@@ -6417,43 +6419,44 @@
|
|
|
6417
6419
|
this.model = value;
|
|
6418
6420
|
this.modelChange.next(this.model);
|
|
6419
6421
|
};
|
|
6420
|
-
InputCheckboxComponent.prototype.handleModelChange = function (
|
|
6422
|
+
InputCheckboxComponent.prototype.handleModelChange = function (event) {
|
|
6423
|
+
event.preventDefault();
|
|
6424
|
+
event.stopPropagation();
|
|
6421
6425
|
if (!this.readonly && !this.disabled) {
|
|
6422
|
-
this.setModel(
|
|
6426
|
+
this.setModel(!this.model);
|
|
6423
6427
|
}
|
|
6424
6428
|
};
|
|
6425
6429
|
return InputCheckboxComponent;
|
|
6426
6430
|
}(BaseInputComponent));
|
|
6427
6431
|
InputCheckboxComponent.decorators = [
|
|
6428
|
-
{ type:
|
|
6432
|
+
{ type: i0.Component, args: [{
|
|
6429
6433
|
selector: "co-input-checkbox",
|
|
6430
|
-
template: "\n <
|
|
6434
|
+
template: "\n <div class=\"checkbox\" (click)=\"handleModelChange($event)\" [class.checked]=\"model\">\n <div class=\"checkmark\" [class.show]=\"model\"></div>\n </div>\n <div class=\"label\" [class.clickable]=\"clickableLabel\" *ngIf=\"label\" [textContent]=\"label\"\n (click)=\"clickableLabel ? handleModelChange($event) : true\"></div>\n ",
|
|
6431
6435
|
providers: [{
|
|
6432
6436
|
provide: COMPONENT_INTERFACE_NAME,
|
|
6433
|
-
useExisting:
|
|
6437
|
+
useExisting: i0.forwardRef(function () { return InputCheckboxComponent; })
|
|
6434
6438
|
}, {
|
|
6435
6439
|
provide: BaseInputComponent,
|
|
6436
6440
|
useExisting: InputCheckboxComponent
|
|
6437
6441
|
}],
|
|
6438
|
-
changeDetection:
|
|
6439
|
-
encapsulation:
|
|
6442
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6443
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6440
6444
|
},] }
|
|
6441
6445
|
];
|
|
6442
6446
|
InputCheckboxComponent.ctorParameters = function () { return [
|
|
6443
|
-
{ type: FormComponent, decorators: [{ type:
|
|
6447
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
6444
6448
|
{ type: IconCacheService },
|
|
6445
|
-
{ type:
|
|
6446
|
-
{ type:
|
|
6449
|
+
{ type: i0.ChangeDetectorRef },
|
|
6450
|
+
{ type: i0.ComponentFactoryResolver },
|
|
6447
6451
|
{ type: FormInputUserModelChangeListenerService },
|
|
6448
6452
|
{ type: NgZoneWrapperService },
|
|
6449
|
-
{ type:
|
|
6453
|
+
{ type: i0.ElementRef }
|
|
6450
6454
|
]; };
|
|
6451
6455
|
InputCheckboxComponent.propDecorators = {
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
showClass: [{ type: core.HostBinding, args: ["class.co-input-checkbox",] }]
|
|
6456
|
+
cssClass: [{ type: i0.Input }],
|
|
6457
|
+
clickableLabel: [{ type: i0.Input }],
|
|
6458
|
+
modelChange: [{ type: i0.Output }],
|
|
6459
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-checkbox",] }]
|
|
6457
6460
|
};
|
|
6458
6461
|
|
|
6459
6462
|
ej2Base.enableRipple(true);
|
|
@@ -6463,7 +6466,7 @@
|
|
|
6463
6466
|
return InputCheckboxModule;
|
|
6464
6467
|
}());
|
|
6465
6468
|
InputCheckboxModule.decorators = [
|
|
6466
|
-
{ type:
|
|
6469
|
+
{ type: i0.NgModule, args: [{
|
|
6467
6470
|
imports: [
|
|
6468
6471
|
BaseModule,
|
|
6469
6472
|
common.CommonModule,
|
|
@@ -6491,7 +6494,7 @@
|
|
|
6491
6494
|
return AppendPipe;
|
|
6492
6495
|
}());
|
|
6493
6496
|
AppendPipe.decorators = [
|
|
6494
|
-
{ type:
|
|
6497
|
+
{ type: i0.Pipe, args: [{ name: "append" },] }
|
|
6495
6498
|
];
|
|
6496
6499
|
|
|
6497
6500
|
var AppendPipeModule = /** @class */ (function () {
|
|
@@ -6500,7 +6503,7 @@
|
|
|
6500
6503
|
return AppendPipeModule;
|
|
6501
6504
|
}());
|
|
6502
6505
|
AppendPipeModule.decorators = [
|
|
6503
|
-
{ type:
|
|
6506
|
+
{ type: i0.NgModule, args: [{
|
|
6504
6507
|
declarations: [
|
|
6505
6508
|
AppendPipe
|
|
6506
6509
|
],
|
|
@@ -6529,35 +6532,35 @@
|
|
|
6529
6532
|
return InputCheckboxMultiSelectComponent;
|
|
6530
6533
|
}(BaseInputComponent));
|
|
6531
6534
|
InputCheckboxMultiSelectComponent.decorators = [
|
|
6532
|
-
{ type:
|
|
6535
|
+
{ type: i0.Component, args: [{
|
|
6533
6536
|
selector: "co-input-checkbox-multi-select",
|
|
6534
6537
|
template: "\n <ejs-multiselect\n [placeholder]=\"placeholder\"\n [dataSource]=\"source\"\n [fields]=\"fields\"\n mode=\"CheckBox\"\n showDropDownIcon=\"true\"\n [showSelectAll]=\"false\"\n [filterBarPlaceholder]=\"filterPlaceholder\"\n ></ejs-multiselect>\n ",
|
|
6535
6538
|
providers: [{
|
|
6536
6539
|
provide: COMPONENT_INTERFACE_NAME,
|
|
6537
|
-
useExisting:
|
|
6540
|
+
useExisting: i0.forwardRef(function () { return InputCheckboxMultiSelectComponent; })
|
|
6538
6541
|
}, {
|
|
6539
6542
|
provide: BaseInputComponent,
|
|
6540
6543
|
useExisting: InputCheckboxMultiSelectComponent
|
|
6541
6544
|
}],
|
|
6542
|
-
changeDetection:
|
|
6543
|
-
encapsulation:
|
|
6545
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6546
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6544
6547
|
},] }
|
|
6545
6548
|
];
|
|
6546
6549
|
InputCheckboxMultiSelectComponent.ctorParameters = function () { return [
|
|
6547
|
-
{ type: FormComponent, decorators: [{ type:
|
|
6548
|
-
{ type:
|
|
6549
|
-
{ type:
|
|
6550
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
6551
|
+
{ type: i0.ChangeDetectorRef },
|
|
6552
|
+
{ type: i0.ComponentFactoryResolver },
|
|
6550
6553
|
{ type: FormInputUserModelChangeListenerService },
|
|
6551
6554
|
{ type: NgZoneWrapperService },
|
|
6552
|
-
{ type:
|
|
6555
|
+
{ type: i0.ElementRef }
|
|
6553
6556
|
]; };
|
|
6554
6557
|
InputCheckboxMultiSelectComponent.propDecorators = {
|
|
6555
|
-
source: [{ type:
|
|
6556
|
-
fields: [{ type:
|
|
6557
|
-
selected: [{ type:
|
|
6558
|
-
placeholder: [{ type:
|
|
6559
|
-
filterPlaceholder: [{ type:
|
|
6560
|
-
showClass: [{ type:
|
|
6558
|
+
source: [{ type: i0.Input }],
|
|
6559
|
+
fields: [{ type: i0.Input }],
|
|
6560
|
+
selected: [{ type: i0.Input }],
|
|
6561
|
+
placeholder: [{ type: i0.Input }],
|
|
6562
|
+
filterPlaceholder: [{ type: i0.Input }],
|
|
6563
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-checkbox-multi-select",] }]
|
|
6561
6564
|
};
|
|
6562
6565
|
|
|
6563
6566
|
var InputCheckboxMultiSelectModule = /** @class */ (function () {
|
|
@@ -6566,7 +6569,7 @@
|
|
|
6566
6569
|
return InputCheckboxMultiSelectModule;
|
|
6567
6570
|
}());
|
|
6568
6571
|
InputCheckboxMultiSelectModule.decorators = [
|
|
6569
|
-
{ type:
|
|
6572
|
+
{ type: i0.NgModule, args: [{
|
|
6570
6573
|
imports: [
|
|
6571
6574
|
BaseModule,
|
|
6572
6575
|
common.CommonModule,
|
|
@@ -6591,7 +6594,7 @@
|
|
|
6591
6594
|
_this.ngZoneWrapper = ngZoneWrapper;
|
|
6592
6595
|
_this.elementRef = elementRef;
|
|
6593
6596
|
_this.shopPopup = true;
|
|
6594
|
-
_this.valueChange = new
|
|
6597
|
+
_this.valueChange = new i0.EventEmitter();
|
|
6595
6598
|
_this.isSmall = false;
|
|
6596
6599
|
_super.prototype._markAsOnPush.call(_this);
|
|
6597
6600
|
return _this;
|
|
@@ -6607,39 +6610,39 @@
|
|
|
6607
6610
|
return InputComboBoxComponent;
|
|
6608
6611
|
}(BaseInputComponent));
|
|
6609
6612
|
InputComboBoxComponent.decorators = [
|
|
6610
|
-
{ type:
|
|
6613
|
+
{ type: i0.Component, args: [{
|
|
6611
6614
|
selector: "co-input-combo-box",
|
|
6612
6615
|
template: "\n <ejs-combobox #combo [dataSource]=\"collection\"\n [fields]=\"fields\"\n [disabled]=\"readonly\"\n [placeholder]=\"placeholder\"\n [autofill]=\"true\"\n [ngModel]=\"model\"\n (ngModelChange)=\"modelChange.emit($event)\"\n (valueChange)=\"valueChange.emit($event)\"\n (focus)=\"onFocus()\"\n [popupWidth]=\"popupWidth\"\n [popupHeight]=\"popupHeight\"\n showClearButton=\"true\"\n floatLabelType=\"Auto\"\n >\n </ejs-combobox>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
6613
6616
|
providers: [{
|
|
6614
6617
|
provide: COMPONENT_INTERFACE_NAME,
|
|
6615
|
-
useExisting:
|
|
6618
|
+
useExisting: i0.forwardRef(function () { return InputComboBoxComponent; })
|
|
6616
6619
|
}, {
|
|
6617
6620
|
provide: BaseInputComponent,
|
|
6618
6621
|
useExisting: InputComboBoxComponent
|
|
6619
6622
|
}],
|
|
6620
|
-
encapsulation:
|
|
6623
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6621
6624
|
},] }
|
|
6622
6625
|
];
|
|
6623
6626
|
InputComboBoxComponent.ctorParameters = function () { return [
|
|
6624
|
-
{ type: FormComponent, decorators: [{ type:
|
|
6625
|
-
{ type:
|
|
6626
|
-
{ type:
|
|
6627
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
6628
|
+
{ type: i0.ChangeDetectorRef },
|
|
6629
|
+
{ type: i0.ComponentFactoryResolver },
|
|
6627
6630
|
{ type: FormInputUserModelChangeListenerService },
|
|
6628
6631
|
{ type: NgZoneWrapperService },
|
|
6629
|
-
{ type:
|
|
6632
|
+
{ type: i0.ElementRef }
|
|
6630
6633
|
]; };
|
|
6631
6634
|
InputComboBoxComponent.propDecorators = {
|
|
6632
|
-
combo: [{ type:
|
|
6633
|
-
collection: [{ type:
|
|
6634
|
-
fields: [{ type:
|
|
6635
|
-
selected: [{ type:
|
|
6636
|
-
placeholder: [{ type:
|
|
6637
|
-
shopPopup: [{ type:
|
|
6638
|
-
popupHeight: [{ type:
|
|
6639
|
-
popupWidth: [{ type:
|
|
6640
|
-
valueChange: [{ type:
|
|
6641
|
-
isSmall: [{ type:
|
|
6642
|
-
showClass: [{ type:
|
|
6635
|
+
combo: [{ type: i0.ViewChild, args: ["combo",] }],
|
|
6636
|
+
collection: [{ type: i0.Input }],
|
|
6637
|
+
fields: [{ type: i0.Input }],
|
|
6638
|
+
selected: [{ type: i0.Input }],
|
|
6639
|
+
placeholder: [{ type: i0.Input }],
|
|
6640
|
+
shopPopup: [{ type: i0.Input }],
|
|
6641
|
+
popupHeight: [{ type: i0.Input }],
|
|
6642
|
+
popupWidth: [{ type: i0.Input }],
|
|
6643
|
+
valueChange: [{ type: i0.Output }],
|
|
6644
|
+
isSmall: [{ type: i0.HostBinding, args: ['class.is-small',] }, { type: i0.Input }],
|
|
6645
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-combo-box",] }]
|
|
6643
6646
|
};
|
|
6644
6647
|
|
|
6645
6648
|
var InputComboBoxModule = /** @class */ (function () {
|
|
@@ -6648,7 +6651,7 @@
|
|
|
6648
6651
|
return InputComboBoxModule;
|
|
6649
6652
|
}());
|
|
6650
6653
|
InputComboBoxModule.decorators = [
|
|
6651
|
-
{ type:
|
|
6654
|
+
{ type: i0.NgModule, args: [{
|
|
6652
6655
|
imports: [
|
|
6653
6656
|
BaseModule,
|
|
6654
6657
|
common.CommonModule,
|
|
@@ -6678,7 +6681,7 @@
|
|
|
6678
6681
|
_this.calendarIconName = _this.icons.CalendarEmpty;
|
|
6679
6682
|
_this.iconHeight = "24px";
|
|
6680
6683
|
_this.placeholder = "";
|
|
6681
|
-
_this.blur = new
|
|
6684
|
+
_this.blur = new i0.EventEmitter();
|
|
6682
6685
|
_this.isMinimal = false;
|
|
6683
6686
|
_super.prototype._markAsOnPush.call(_this);
|
|
6684
6687
|
return _this;
|
|
@@ -6717,45 +6720,45 @@
|
|
|
6717
6720
|
return InputDatePickerComponent;
|
|
6718
6721
|
}(BaseInputComponent));
|
|
6719
6722
|
InputDatePickerComponent.decorators = [
|
|
6720
|
-
{ type:
|
|
6723
|
+
{ type: i0.Component, args: [{
|
|
6721
6724
|
selector: "co-input-date",
|
|
6722
6725
|
template: "\n <ejs-datepicker #ejsDatePicker\n floatLabelType=\"Auto\"\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n [readonly]=\"readonly\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-datepicker>\n <co-commit-buttons *ngIf=\"showSaveCancel && focused && canSaveOrCancel\"\n [committing]=\"committing\"\n [commitFinished]=\"commitFinished\"\n (commitClick)=\"commitClick($event)\"\n (cancelClick)=\"cancelClick($event)\"\n >\n </co-commit-buttons>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
6723
6726
|
providers: [{
|
|
6724
|
-
provide: COMPONENT_INTERFACE_NAME, useExisting:
|
|
6727
|
+
provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputDatePickerComponent; })
|
|
6725
6728
|
}, {
|
|
6726
6729
|
provide: BaseInputComponent,
|
|
6727
6730
|
useExisting: InputDatePickerComponent
|
|
6728
6731
|
}],
|
|
6729
|
-
encapsulation:
|
|
6732
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6730
6733
|
},] }
|
|
6731
6734
|
];
|
|
6732
6735
|
InputDatePickerComponent.ctorParameters = function () { return [
|
|
6733
|
-
{ type: FormComponent, decorators: [{ type:
|
|
6736
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
6734
6737
|
{ type: IconCacheService },
|
|
6735
|
-
{ type:
|
|
6736
|
-
{ type:
|
|
6738
|
+
{ type: i0.ChangeDetectorRef },
|
|
6739
|
+
{ type: i0.ComponentFactoryResolver },
|
|
6737
6740
|
{ type: FormInputUserModelChangeListenerService },
|
|
6738
6741
|
{ type: NgZoneWrapperService },
|
|
6739
|
-
{ type:
|
|
6742
|
+
{ type: i0.ElementRef }
|
|
6740
6743
|
]; };
|
|
6741
6744
|
InputDatePickerComponent.propDecorators = {
|
|
6742
|
-
ejsDatePicker: [{ type:
|
|
6743
|
-
dateFormat: [{ type:
|
|
6744
|
-
calendarIconName: [{ type:
|
|
6745
|
-
iconHeight: [{ type:
|
|
6746
|
-
placeholder: [{ type:
|
|
6747
|
-
width: [{ type:
|
|
6748
|
-
blur: [{ type:
|
|
6749
|
-
showClass: [{ type:
|
|
6750
|
-
isMinimal: [{ type:
|
|
6745
|
+
ejsDatePicker: [{ type: i0.ViewChild, args: ["ejsDatePicker",] }],
|
|
6746
|
+
dateFormat: [{ type: i0.Input }],
|
|
6747
|
+
calendarIconName: [{ type: i0.Input }],
|
|
6748
|
+
iconHeight: [{ type: i0.Input }],
|
|
6749
|
+
placeholder: [{ type: i0.Input }],
|
|
6750
|
+
width: [{ type: i0.Input }],
|
|
6751
|
+
blur: [{ type: i0.Output }],
|
|
6752
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-date",] }],
|
|
6753
|
+
isMinimal: [{ type: i0.HostBinding, args: ['class.is-minimal',] }, { type: i0.Input }]
|
|
6751
6754
|
};
|
|
6752
6755
|
|
|
6753
6756
|
var CommitButtonsComponent = /** @class */ (function () {
|
|
6754
6757
|
function CommitButtonsComponent(_renderer) {
|
|
6755
6758
|
var _this = this;
|
|
6756
6759
|
this._renderer = _renderer;
|
|
6757
|
-
this.cancelClick = new
|
|
6758
|
-
this.commitClick = new
|
|
6760
|
+
this.cancelClick = new i0.EventEmitter();
|
|
6761
|
+
this.commitClick = new i0.EventEmitter();
|
|
6759
6762
|
this._committing = false;
|
|
6760
6763
|
this._commitFinished = false;
|
|
6761
6764
|
this._handleAnimationIteration = function (event) {
|
|
@@ -6815,7 +6818,7 @@
|
|
|
6815
6818
|
return CommitButtonsComponent;
|
|
6816
6819
|
}());
|
|
6817
6820
|
CommitButtonsComponent.decorators = [
|
|
6818
|
-
{ type:
|
|
6821
|
+
{ type: i0.Component, args: [{
|
|
6819
6822
|
selector: "co-commit-buttons",
|
|
6820
6823
|
template: "\n <div class=\"commit-buttons-wrapper\" @showHideSaveCancel>\n <div class=\"commit-buttons-button save\" [class.finished]=\"commitFinished\"\n (click)=\"commitClick.emit($event)\">\n <div class=\"save-button-spinner\" *ngIf=\"committing || commitFinished\">\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n <div #animatediv></div>\n </div>\n <div class=\"spinner-checkmark\" *ngIf=\"!committing || commitFinished\"></div>\n </div>\n <div class=\"commit-buttons-button cancel\" (click)=\"cancelClick.emit($event)\">\n <div class=\"cancel-button\"></div>\n </div>\n </div>\n ",
|
|
6821
6824
|
animations: [
|
|
@@ -6825,19 +6828,19 @@
|
|
|
6825
6828
|
animations.transition('void <=> *', animations.animate(200))
|
|
6826
6829
|
]),
|
|
6827
6830
|
],
|
|
6828
|
-
encapsulation:
|
|
6831
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6829
6832
|
},] }
|
|
6830
6833
|
];
|
|
6831
6834
|
CommitButtonsComponent.ctorParameters = function () { return [
|
|
6832
|
-
{ type:
|
|
6835
|
+
{ type: i0.Renderer2 }
|
|
6833
6836
|
]; };
|
|
6834
6837
|
CommitButtonsComponent.propDecorators = {
|
|
6835
|
-
content: [{ type:
|
|
6836
|
-
committing: [{ type:
|
|
6837
|
-
commitFinished: [{ type:
|
|
6838
|
-
cancelClick: [{ type:
|
|
6839
|
-
commitClick: [{ type:
|
|
6840
|
-
showClass: [{ type:
|
|
6838
|
+
content: [{ type: i0.ViewChildren, args: ['animatediv', { read: i0.ElementRef },] }],
|
|
6839
|
+
committing: [{ type: i0.Input }],
|
|
6840
|
+
commitFinished: [{ type: i0.Input }],
|
|
6841
|
+
cancelClick: [{ type: i0.Output }],
|
|
6842
|
+
commitClick: [{ type: i0.Output }],
|
|
6843
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-commit-buttons",] }]
|
|
6841
6844
|
};
|
|
6842
6845
|
|
|
6843
6846
|
var CommitButtonsModule = /** @class */ (function () {
|
|
@@ -6846,7 +6849,7 @@
|
|
|
6846
6849
|
return CommitButtonsModule;
|
|
6847
6850
|
}());
|
|
6848
6851
|
CommitButtonsModule.decorators = [
|
|
6849
|
-
{ type:
|
|
6852
|
+
{ type: i0.NgModule, args: [{
|
|
6850
6853
|
imports: [
|
|
6851
6854
|
common.CommonModule
|
|
6852
6855
|
],
|
|
@@ -6865,7 +6868,7 @@
|
|
|
6865
6868
|
return InputDatePickerModule;
|
|
6866
6869
|
}());
|
|
6867
6870
|
InputDatePickerModule.decorators = [
|
|
6868
|
-
{ type:
|
|
6871
|
+
{ type: i0.NgModule, args: [{
|
|
6869
6872
|
imports: [
|
|
6870
6873
|
BaseModule,
|
|
6871
6874
|
common.CommonModule,
|
|
@@ -6876,7 +6879,7 @@
|
|
|
6876
6879
|
CommitButtonsModule
|
|
6877
6880
|
],
|
|
6878
6881
|
schemas: [
|
|
6879
|
-
|
|
6882
|
+
i0.NO_ERRORS_SCHEMA
|
|
6880
6883
|
],
|
|
6881
6884
|
declarations: [InputDatePickerComponent],
|
|
6882
6885
|
exports: [InputDatePickerComponent]
|
|
@@ -6889,12 +6892,12 @@
|
|
|
6889
6892
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
6890
6893
|
_this.dateFormat = "dd-MM-yyyy";
|
|
6891
6894
|
_this.placeholder = "";
|
|
6892
|
-
_this.startDateChange = new
|
|
6893
|
-
_this.endDateChange = new
|
|
6894
|
-
_this.dateRangeChange = new
|
|
6895
|
-
_this.close = new
|
|
6896
|
-
_this.select = new
|
|
6897
|
-
_this.cleared = new
|
|
6895
|
+
_this.startDateChange = new i0.EventEmitter();
|
|
6896
|
+
_this.endDateChange = new i0.EventEmitter();
|
|
6897
|
+
_this.dateRangeChange = new i0.EventEmitter();
|
|
6898
|
+
_this.close = new i0.EventEmitter();
|
|
6899
|
+
_this.select = new i0.EventEmitter();
|
|
6900
|
+
_this.cleared = new i0.EventEmitter();
|
|
6898
6901
|
return _this;
|
|
6899
6902
|
}
|
|
6900
6903
|
InputDateRangePickerComponent.prototype.showClass = function () {
|
|
@@ -6910,24 +6913,24 @@
|
|
|
6910
6913
|
return InputDateRangePickerComponent;
|
|
6911
6914
|
}(BaseInputComponent));
|
|
6912
6915
|
InputDateRangePickerComponent.decorators = [
|
|
6913
|
-
{ type:
|
|
6916
|
+
{ type: i0.Component, args: [{
|
|
6914
6917
|
selector: "co-input-date-range",
|
|
6915
6918
|
template: "\n <ejs-daterangepicker\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n [(startDate)]=\"startDate\"\n [(endDate)]=\"endDate\"\n [readonly]=\"readonly\"\n (ngModelChange)=\"rangeChange()\"\n (close)=\"close.next($event)\"\n (select)=\"select.next($event)\"\n (cleared)=\"cleared.next($event)\"\n ></ejs-daterangepicker>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
6916
|
-
encapsulation:
|
|
6919
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6917
6920
|
},] }
|
|
6918
6921
|
];
|
|
6919
6922
|
InputDateRangePickerComponent.propDecorators = {
|
|
6920
|
-
dateFormat: [{ type:
|
|
6921
|
-
placeholder: [{ type:
|
|
6922
|
-
startDate: [{ type:
|
|
6923
|
-
endDate: [{ type:
|
|
6924
|
-
startDateChange: [{ type:
|
|
6925
|
-
endDateChange: [{ type:
|
|
6926
|
-
dateRangeChange: [{ type:
|
|
6927
|
-
close: [{ type:
|
|
6928
|
-
select: [{ type:
|
|
6929
|
-
cleared: [{ type:
|
|
6930
|
-
showClass: [{ type:
|
|
6923
|
+
dateFormat: [{ type: i0.Input }],
|
|
6924
|
+
placeholder: [{ type: i0.Input }],
|
|
6925
|
+
startDate: [{ type: i0.Input }],
|
|
6926
|
+
endDate: [{ type: i0.Input }],
|
|
6927
|
+
startDateChange: [{ type: i0.Output }],
|
|
6928
|
+
endDateChange: [{ type: i0.Output }],
|
|
6929
|
+
dateRangeChange: [{ type: i0.Output }],
|
|
6930
|
+
close: [{ type: i0.Output }],
|
|
6931
|
+
select: [{ type: i0.Output }],
|
|
6932
|
+
cleared: [{ type: i0.Output }],
|
|
6933
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-date-range-picker",] }]
|
|
6931
6934
|
};
|
|
6932
6935
|
|
|
6933
6936
|
var InputDateRangePickerModule = /** @class */ (function () {
|
|
@@ -6936,7 +6939,7 @@
|
|
|
6936
6939
|
return InputDateRangePickerModule;
|
|
6937
6940
|
}());
|
|
6938
6941
|
InputDateRangePickerModule.decorators = [
|
|
6939
|
-
{ type:
|
|
6942
|
+
{ type: i0.NgModule, args: [{
|
|
6940
6943
|
imports: [
|
|
6941
6944
|
BaseModule,
|
|
6942
6945
|
ej2AngularCalendars.DateRangePickerModule,
|
|
@@ -7002,36 +7005,36 @@
|
|
|
7002
7005
|
return InputListboxComponent;
|
|
7003
7006
|
}(BaseInputComponent));
|
|
7004
7007
|
InputListboxComponent.decorators = [
|
|
7005
|
-
{ type:
|
|
7008
|
+
{ type: i0.Component, args: [{
|
|
7006
7009
|
selector: 'co-input-listbox',
|
|
7007
7010
|
template: "\n <div class=\"co-input-listbox-header\" [textContent]=\"placeholder\"></div>\n <div class=\"co-input-listbox-content\" [ngClass]=\"customCssClass ? customCssClass : undefined\">\n <ejs-listbox\n [ngModel]=\"value\"\n [dataSource]=\"collection\"\n [fields]=\"fields\"\n [disabled]=\"readonly\"\n [selectionSettings]=\"selectionSettings\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-listbox>\n </div>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
7008
7011
|
providers: [{
|
|
7009
|
-
provide: COMPONENT_INTERFACE_NAME, useExisting:
|
|
7012
|
+
provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputListboxComponent; })
|
|
7010
7013
|
}, {
|
|
7011
7014
|
provide: BaseInputComponent,
|
|
7012
7015
|
useExisting: InputListboxComponent
|
|
7013
7016
|
}],
|
|
7014
|
-
encapsulation:
|
|
7017
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
7015
7018
|
},] }
|
|
7016
7019
|
];
|
|
7017
7020
|
InputListboxComponent.ctorParameters = function () { return [
|
|
7018
|
-
{ type: FormComponent, decorators: [{ type:
|
|
7019
|
-
{ type:
|
|
7020
|
-
{ type:
|
|
7021
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
7022
|
+
{ type: i0.ChangeDetectorRef },
|
|
7023
|
+
{ type: i0.ComponentFactoryResolver },
|
|
7021
7024
|
{ type: FormInputUserModelChangeListenerService },
|
|
7022
7025
|
{ type: NgZoneWrapperService },
|
|
7023
|
-
{ type:
|
|
7026
|
+
{ type: i0.ElementRef }
|
|
7024
7027
|
]; };
|
|
7025
7028
|
InputListboxComponent.propDecorators = {
|
|
7026
|
-
customCssClass: [{ type:
|
|
7027
|
-
placeholder: [{ type:
|
|
7028
|
-
value: [{ type:
|
|
7029
|
-
collection: [{ type:
|
|
7030
|
-
fields: [{ type:
|
|
7031
|
-
singleSelect: [{ type:
|
|
7032
|
-
showCheckbox: [{ type:
|
|
7033
|
-
showSelectAll: [{ type:
|
|
7034
|
-
showClass: [{ type:
|
|
7029
|
+
customCssClass: [{ type: i0.Input }],
|
|
7030
|
+
placeholder: [{ type: i0.Input }],
|
|
7031
|
+
value: [{ type: i0.Input }],
|
|
7032
|
+
collection: [{ type: i0.Input }],
|
|
7033
|
+
fields: [{ type: i0.Input }],
|
|
7034
|
+
singleSelect: [{ type: i0.Input }],
|
|
7035
|
+
showCheckbox: [{ type: i0.Input }],
|
|
7036
|
+
showSelectAll: [{ type: i0.Input }],
|
|
7037
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-input-listbox',] }]
|
|
7035
7038
|
};
|
|
7036
7039
|
|
|
7037
7040
|
ej2Base.enableRipple(true);
|
|
@@ -7041,7 +7044,7 @@
|
|
|
7041
7044
|
return InputListboxModule;
|
|
7042
7045
|
}());
|
|
7043
7046
|
InputListboxModule.decorators = [
|
|
7044
|
-
{ type:
|
|
7047
|
+
{ type: i0.NgModule, args: [{
|
|
7045
7048
|
imports: [
|
|
7046
7049
|
common.CommonModule,
|
|
7047
7050
|
forms.FormsModule,
|
|
@@ -7411,7 +7414,7 @@
|
|
|
7411
7414
|
// @override Default true for us.
|
|
7412
7415
|
_this.noValidation = true;
|
|
7413
7416
|
// @override
|
|
7414
|
-
_this.modelChange = new
|
|
7417
|
+
_this.modelChange = new i0.EventEmitter();
|
|
7415
7418
|
_this.myKeyDownWhiteList = NUMBER_INPUTS_KEY_DOWN_WHITE_LIST;
|
|
7416
7419
|
_this.numberLogic = new BoundsConstrainedNumberValue();
|
|
7417
7420
|
_this.minSelected = false;
|
|
@@ -7639,42 +7642,42 @@
|
|
|
7639
7642
|
return InputNumberPickerComponent;
|
|
7640
7643
|
}(BaseInputComponent));
|
|
7641
7644
|
InputNumberPickerComponent.decorators = [
|
|
7642
|
-
{ type:
|
|
7645
|
+
{ type: i0.Component, args: [{
|
|
7643
7646
|
selector: 'co-input-number-picker',
|
|
7644
7647
|
template: "\n <div class=\"button-wrapper\">\n <co-button *ngIf=\"showButtons\" class=\"minus-operator circle\" [class.select]=\"minSelected\"\n [disabled]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(minusIcon)\"\n (mousedown)=\"onMinusMouseDown($event)\"\n (mouseup)=\"stopAutoCounting()\" (mouseleave)=\"stopAutoCounting()\"></co-button>\n </div>\n <input type=\"text\"\n [ngModel]=\"model\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n (ngModelChange)=\"handleChangeModel($event)\"\n (keydown)=\"handleKeyDown($event)\"/>\n <div class=\"button-wrapper\">\n <co-button *ngIf=\"showButtons\" class=\"plus-operator circle\" [class.select]=\"plusSelected\"\n [disabled]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(plusIcon)\"\n (mousedown)=\"onPlusMouseDown($event)\"\n (mouseup)=\"stopAutoCounting()\" (mouseleave)=\"stopAutoCounting()\"></co-button>\n </div>\n ",
|
|
7645
7648
|
providers: [{
|
|
7646
|
-
provide: COMPONENT_INTERFACE_NAME, useExisting:
|
|
7649
|
+
provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputNumberPickerComponent; })
|
|
7647
7650
|
}, {
|
|
7648
7651
|
provide: BaseInputComponent,
|
|
7649
7652
|
useExisting: InputNumberPickerComponent
|
|
7650
7653
|
}],
|
|
7651
|
-
changeDetection:
|
|
7652
|
-
encapsulation:
|
|
7654
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
7655
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
7653
7656
|
},] }
|
|
7654
7657
|
];
|
|
7655
7658
|
InputNumberPickerComponent.ctorParameters = function () { return [
|
|
7656
|
-
{ type: FormComponent, decorators: [{ type:
|
|
7657
|
-
{ type: IconCacheService, decorators: [{ type:
|
|
7658
|
-
{ type:
|
|
7659
|
-
{ type:
|
|
7660
|
-
{ type:
|
|
7659
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
7660
|
+
{ type: IconCacheService, decorators: [{ type: i0.Inject, args: [IconCacheService,] }] },
|
|
7661
|
+
{ type: i0.NgZone },
|
|
7662
|
+
{ type: i0.ComponentFactoryResolver },
|
|
7663
|
+
{ type: i0.ChangeDetectorRef },
|
|
7661
7664
|
{ type: FormInputUserModelChangeListenerService }
|
|
7662
7665
|
]; };
|
|
7663
7666
|
InputNumberPickerComponent.propDecorators = {
|
|
7664
|
-
model: [{ type:
|
|
7665
|
-
min: [{ type:
|
|
7666
|
-
step: [{ type:
|
|
7667
|
-
max: [{ type:
|
|
7668
|
-
ngModelOptions: [{ type:
|
|
7669
|
-
minusIcon: [{ type:
|
|
7670
|
-
plusIcon: [{ type:
|
|
7671
|
-
buttonShowMode: [{ type:
|
|
7672
|
-
noValidation: [{ type:
|
|
7673
|
-
decimals: [{ type:
|
|
7674
|
-
modelChange: [{ type:
|
|
7675
|
-
showButtonsOnFocusOnly: [{ type:
|
|
7676
|
-
hasLabel: [{ type:
|
|
7677
|
-
showClass: [{ type:
|
|
7667
|
+
model: [{ type: i0.Input }],
|
|
7668
|
+
min: [{ type: i0.Input }],
|
|
7669
|
+
step: [{ type: i0.Input }],
|
|
7670
|
+
max: [{ type: i0.Input }],
|
|
7671
|
+
ngModelOptions: [{ type: i0.Input }],
|
|
7672
|
+
minusIcon: [{ type: i0.Input }],
|
|
7673
|
+
plusIcon: [{ type: i0.Input }],
|
|
7674
|
+
buttonShowMode: [{ type: i0.Input }],
|
|
7675
|
+
noValidation: [{ type: i0.Input }],
|
|
7676
|
+
decimals: [{ type: i0.Input }],
|
|
7677
|
+
modelChange: [{ type: i0.Output }],
|
|
7678
|
+
showButtonsOnFocusOnly: [{ type: i0.HostBinding, args: ["class.show-buttons-on-focus-only",] }],
|
|
7679
|
+
hasLabel: [{ type: i0.HostBinding, args: ["class.has-label",] }],
|
|
7680
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-input-number-picker',] }]
|
|
7678
7681
|
};
|
|
7679
7682
|
__decorate([
|
|
7680
7683
|
InputBoolean()
|
|
@@ -7740,43 +7743,43 @@
|
|
|
7740
7743
|
return InputTextComponent;
|
|
7741
7744
|
}(BaseInputComponent));
|
|
7742
7745
|
InputTextComponent.decorators = [
|
|
7743
|
-
{ type:
|
|
7746
|
+
{ type: i0.Component, args: [{
|
|
7744
7747
|
selector: "co-input-text",
|
|
7745
7748
|
template: "\n <label *ngIf=\"showPlaceholderOnFocus || (!showPlaceholderOnFocus && !hasValue && !focused)\" [textContent]=\"placeholder\"></label>\n <co-icon *ngIf=\"leftIcon\" class=\"input-text-left-icon\" [icon]=\"leftIcon\"></co-icon>\n <co-icon *ngIf=\"rightIcon\" class=\"input-text-right-icon\" [icon]=\"rightIcon\"></co-icon>\n <input #input\n [type]=\"type\"\n [ngModel]=\"model\"\n [min]=\"type === 'number' && this.min ? this.min : undefined\"\n [max]=\"type === 'number' && this.max ? this.max : undefined\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n (ngModelChange)=\"modelChange.emit($event)\"\n >\n <co-commit-buttons *ngIf=\"showSaveCancel && focused && canSaveOrCancel\"\n [committing]=\"committing\"\n [commitFinished]=\"commitFinished\"\n (commitClick)=\"commitClick($event)\"\n (cancelClick)=\"cancelClick($event)\"\n >\n </co-commit-buttons>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
7746
7749
|
providers: [{
|
|
7747
7750
|
provide: COMPONENT_INTERFACE_NAME,
|
|
7748
|
-
useExisting:
|
|
7751
|
+
useExisting: i0.forwardRef(function () { return InputTextComponent; })
|
|
7749
7752
|
}, {
|
|
7750
7753
|
provide: BaseInputComponent,
|
|
7751
7754
|
useExisting: InputTextComponent
|
|
7752
7755
|
}],
|
|
7753
|
-
encapsulation:
|
|
7756
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
7754
7757
|
},] }
|
|
7755
7758
|
];
|
|
7756
7759
|
InputTextComponent.ctorParameters = function () { return [
|
|
7757
|
-
{ type: FormComponent, decorators: [{ type:
|
|
7758
|
-
{ type:
|
|
7759
|
-
{ type:
|
|
7760
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
7761
|
+
{ type: i0.ChangeDetectorRef },
|
|
7762
|
+
{ type: i0.ComponentFactoryResolver },
|
|
7760
7763
|
{ type: FormInputUserModelChangeListenerService },
|
|
7761
7764
|
{ type: NgZoneWrapperService },
|
|
7762
|
-
{ type:
|
|
7765
|
+
{ type: i0.ElementRef }
|
|
7763
7766
|
]; };
|
|
7764
7767
|
InputTextComponent.propDecorators = {
|
|
7765
|
-
placeholder: [{ type:
|
|
7766
|
-
type: [{ type:
|
|
7767
|
-
min: [{ type:
|
|
7768
|
-
max: [{ type:
|
|
7769
|
-
showClearButton: [{ type:
|
|
7770
|
-
keyDownWhiteList: [{ type:
|
|
7771
|
-
showPlaceholderOnFocus: [{ type:
|
|
7772
|
-
leftIcon: [{ type:
|
|
7773
|
-
rightIcon: [{ type:
|
|
7774
|
-
showClass: [{ type:
|
|
7775
|
-
hasLeftIcon: [{ type:
|
|
7776
|
-
hasRightIcon: [{ type:
|
|
7777
|
-
hasOwnLabel: [{ type:
|
|
7778
|
-
hideArrowButtons: [{ type:
|
|
7779
|
-
isSmall: [{ type:
|
|
7768
|
+
placeholder: [{ type: i0.Input }],
|
|
7769
|
+
type: [{ type: i0.Input }],
|
|
7770
|
+
min: [{ type: i0.Input }],
|
|
7771
|
+
max: [{ type: i0.Input }],
|
|
7772
|
+
showClearButton: [{ type: i0.Input }],
|
|
7773
|
+
keyDownWhiteList: [{ type: i0.Input }],
|
|
7774
|
+
showPlaceholderOnFocus: [{ type: i0.Input }],
|
|
7775
|
+
leftIcon: [{ type: i0.Input }],
|
|
7776
|
+
rightIcon: [{ type: i0.Input }],
|
|
7777
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-text",] }],
|
|
7778
|
+
hasLeftIcon: [{ type: i0.HostBinding, args: ['class.has-left-icon',] }],
|
|
7779
|
+
hasRightIcon: [{ type: i0.HostBinding, args: ['class.has-right-icon',] }],
|
|
7780
|
+
hasOwnLabel: [{ type: i0.HostBinding, args: ["class.has-own-label",] }],
|
|
7781
|
+
hideArrowButtons: [{ type: i0.Input }, { type: i0.HostBinding, args: ['class.hideArrows',] }],
|
|
7782
|
+
isSmall: [{ type: i0.HostBinding, args: ['class.is-small',] }, { type: i0.Input }]
|
|
7780
7783
|
};
|
|
7781
7784
|
|
|
7782
7785
|
var ValidationErrorModule = /** @class */ (function () {
|
|
@@ -7785,7 +7788,7 @@
|
|
|
7785
7788
|
return ValidationErrorModule;
|
|
7786
7789
|
}());
|
|
7787
7790
|
ValidationErrorModule.decorators = [
|
|
7788
|
-
{ type:
|
|
7791
|
+
{ type: i0.NgModule, args: [{
|
|
7789
7792
|
imports: [
|
|
7790
7793
|
common.CommonModule,
|
|
7791
7794
|
IconModule
|
|
@@ -7805,7 +7808,7 @@
|
|
|
7805
7808
|
return InputTextModule;
|
|
7806
7809
|
}());
|
|
7807
7810
|
InputTextModule.decorators = [
|
|
7808
|
-
{ type:
|
|
7811
|
+
{ type: i0.NgModule, args: [{
|
|
7809
7812
|
imports: [
|
|
7810
7813
|
BaseModule,
|
|
7811
7814
|
common.CommonModule,
|
|
@@ -7832,7 +7835,7 @@
|
|
|
7832
7835
|
return InputNumberPickerModule;
|
|
7833
7836
|
}());
|
|
7834
7837
|
InputNumberPickerModule.decorators = [
|
|
7835
|
-
{ type:
|
|
7838
|
+
{ type: i0.NgModule, args: [{
|
|
7836
7839
|
imports: [
|
|
7837
7840
|
common.CommonModule,
|
|
7838
7841
|
forms.FormsModule,
|
|
@@ -7860,40 +7863,47 @@
|
|
|
7860
7863
|
InputRadioButtonComponent.prototype.showClass = function () {
|
|
7861
7864
|
return true;
|
|
7862
7865
|
};
|
|
7863
|
-
InputRadioButtonComponent.prototype.handleModelChange = function (
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
+
InputRadioButtonComponent.prototype.handleModelChange = function (event) {
|
|
7867
|
+
event.preventDefault();
|
|
7868
|
+
event.stopPropagation();
|
|
7869
|
+
if (!this.readonly) {
|
|
7870
|
+
this.model = !this.model;
|
|
7871
|
+
this.modelChange.next(this.model);
|
|
7872
|
+
}
|
|
7866
7873
|
};
|
|
7867
7874
|
return InputRadioButtonComponent;
|
|
7868
7875
|
}(BaseInputComponent));
|
|
7869
7876
|
InputRadioButtonComponent.decorators = [
|
|
7870
|
-
{ type:
|
|
7877
|
+
{ type: i0.Component, args: [{
|
|
7871
7878
|
selector: "co-input-radio-button",
|
|
7872
|
-
template: "\n <
|
|
7879
|
+
template: "\n <div class=\"outer-circle\" [class.selected]=\"model\" (click)=\"handleModelChange($event)\">\n <div class=\"inner-circle\" *ngIf=\"model\" @showSelected></div>\n </div>\n <div class=\"label\" *ngIf=\"label\" [textContent]=\"label\" (click)=\"handleModelChange($event)\"></div>\n <input #input [ngModel]=\"model\" type=\"hidden\">\n ",
|
|
7873
7880
|
providers: [{
|
|
7874
|
-
provide: COMPONENT_INTERFACE_NAME, useExisting:
|
|
7881
|
+
provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputRadioButtonComponent; })
|
|
7875
7882
|
}, {
|
|
7876
7883
|
provide: BaseInputComponent,
|
|
7877
7884
|
useExisting: InputRadioButtonComponent
|
|
7878
7885
|
}],
|
|
7879
|
-
|
|
7880
|
-
|
|
7886
|
+
animations: [
|
|
7887
|
+
animations.trigger("showSelected", [
|
|
7888
|
+
animations.state("void", animations.style({ transform: "scale(0)" })),
|
|
7889
|
+
animations.state("*", animations.style({ transform: "scale(1)" })),
|
|
7890
|
+
animations.transition("void <=> *", animations.animate("200ms ease-in-out")),
|
|
7891
|
+
])
|
|
7892
|
+
],
|
|
7893
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
7894
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
7881
7895
|
},] }
|
|
7882
7896
|
];
|
|
7883
7897
|
InputRadioButtonComponent.ctorParameters = function () { return [
|
|
7884
|
-
{ type: FormComponent, decorators: [{ type:
|
|
7885
|
-
{ type:
|
|
7886
|
-
{ type:
|
|
7898
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
7899
|
+
{ type: i0.ChangeDetectorRef },
|
|
7900
|
+
{ type: i0.ComponentFactoryResolver },
|
|
7887
7901
|
{ type: FormInputUserModelChangeListenerService },
|
|
7888
7902
|
{ type: NgZoneWrapperService },
|
|
7889
|
-
{ type:
|
|
7903
|
+
{ type: i0.ElementRef }
|
|
7890
7904
|
]; };
|
|
7891
7905
|
InputRadioButtonComponent.propDecorators = {
|
|
7892
|
-
|
|
7893
|
-
label: [{ type: core.Input }],
|
|
7894
|
-
name: [{ type: core.Input }],
|
|
7895
|
-
checked: [{ type: core.HostBinding, args: ['class.checked',] }, { type: core.Input }],
|
|
7896
|
-
showClass: [{ type: core.HostBinding, args: ["class.co-radio-button",] }]
|
|
7906
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-radio-button",] }]
|
|
7897
7907
|
};
|
|
7898
7908
|
|
|
7899
7909
|
var InputRadioButtonModule = /** @class */ (function () {
|
|
@@ -7902,7 +7912,7 @@
|
|
|
7902
7912
|
return InputRadioButtonModule;
|
|
7903
7913
|
}());
|
|
7904
7914
|
InputRadioButtonModule.decorators = [
|
|
7905
|
-
{ type:
|
|
7915
|
+
{ type: i0.NgModule, args: [{
|
|
7906
7916
|
imports: [
|
|
7907
7917
|
BaseModule,
|
|
7908
7918
|
common.CommonModule,
|
|
@@ -7920,7 +7930,7 @@
|
|
|
7920
7930
|
function InputSearchComponent() {
|
|
7921
7931
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
7922
7932
|
_this.searchIcon = exports.CoreComponentsIcon.Magnifier;
|
|
7923
|
-
_this.search = new
|
|
7933
|
+
_this.search = new i0.EventEmitter();
|
|
7924
7934
|
_this.useLeftIcon = false;
|
|
7925
7935
|
_this.useRightIcon = false;
|
|
7926
7936
|
_this.noIcon = false;
|
|
@@ -7942,21 +7952,21 @@
|
|
|
7942
7952
|
return InputSearchComponent;
|
|
7943
7953
|
}(BaseInputComponent));
|
|
7944
7954
|
InputSearchComponent.decorators = [
|
|
7945
|
-
{ type:
|
|
7955
|
+
{ type: i0.Component, args: [{
|
|
7946
7956
|
selector: 'co-input-search',
|
|
7947
7957
|
template: "\n <co-input-text\n [model]=\"model\"\n [leftIcon]=\"useLeftIcon ? searchIcon : null\"\n [rightIcon]=\"useRightIcon ? searchIcon : null\"\n [placeholder]=\"placeholder\"\n [customHeight]=\"customHeight\"\n [showPlaceholderOnFocus]=\"false\"\n (modelChange)=\"modelChange.emit($event)\"\n ></co-input-text>\n ",
|
|
7948
|
-
changeDetection:
|
|
7949
|
-
encapsulation:
|
|
7958
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
7959
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
7950
7960
|
},] }
|
|
7951
7961
|
];
|
|
7952
7962
|
InputSearchComponent.propDecorators = {
|
|
7953
|
-
placeholder: [{ type:
|
|
7954
|
-
search: [{ type:
|
|
7955
|
-
useLeftIcon: [{ type:
|
|
7956
|
-
useRightIcon: [{ type:
|
|
7957
|
-
noIcon: [{ type:
|
|
7958
|
-
isSmall: [{ type:
|
|
7959
|
-
showClass: [{ type:
|
|
7963
|
+
placeholder: [{ type: i0.Input }],
|
|
7964
|
+
search: [{ type: i0.Output }],
|
|
7965
|
+
useLeftIcon: [{ type: i0.Input }],
|
|
7966
|
+
useRightIcon: [{ type: i0.Input }],
|
|
7967
|
+
noIcon: [{ type: i0.HostBinding, args: ['class.no-icon',] }, { type: i0.Input }],
|
|
7968
|
+
isSmall: [{ type: i0.HostBinding, args: ['class.is-small',] }, { type: i0.Input }],
|
|
7969
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-input-search',] }]
|
|
7960
7970
|
};
|
|
7961
7971
|
__decorate([
|
|
7962
7972
|
InputBoolean()
|
|
@@ -7971,7 +7981,7 @@
|
|
|
7971
7981
|
return InputSearchModule;
|
|
7972
7982
|
}());
|
|
7973
7983
|
InputSearchModule.decorators = [
|
|
7974
|
-
{ type:
|
|
7984
|
+
{ type: i0.NgModule, args: [{
|
|
7975
7985
|
imports: [
|
|
7976
7986
|
common.CommonModule,
|
|
7977
7987
|
IconModule,
|
|
@@ -8004,31 +8014,31 @@
|
|
|
8004
8014
|
return InputTextareaComponent;
|
|
8005
8015
|
}(BaseInputComponent));
|
|
8006
8016
|
InputTextareaComponent.decorators = [
|
|
8007
|
-
{ type:
|
|
8017
|
+
{ type: i0.Component, args: [{
|
|
8008
8018
|
selector: "co-input-textarea",
|
|
8009
8019
|
template: "\n <label [textContent]=\"placeholder\"></label>\n <textarea\n #input\n type=\"textarea\"\n [ngModel]=\"model\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></textarea>\n <co-commit-buttons *ngIf=\"showSaveCancel && focused && canSaveOrCancel\"\n [committing]=\"committing\"\n [commitFinished]=\"commitFinished\"\n (commitClick)=\"commitClick($event)\"\n (cancelClick)=\"cancelClick($event)\"\n >\n </co-commit-buttons>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
8010
8020
|
providers: [{
|
|
8011
8021
|
provide: COMPONENT_INTERFACE_NAME,
|
|
8012
|
-
useExisting:
|
|
8022
|
+
useExisting: i0.forwardRef(function () { return InputTextareaComponent; })
|
|
8013
8023
|
}, {
|
|
8014
8024
|
provide: BaseInputComponent,
|
|
8015
8025
|
useExisting: InputTextareaComponent
|
|
8016
8026
|
}],
|
|
8017
|
-
encapsulation:
|
|
8027
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
8018
8028
|
},] }
|
|
8019
8029
|
];
|
|
8020
8030
|
InputTextareaComponent.ctorParameters = function () { return [
|
|
8021
|
-
{ type: FormComponent, decorators: [{ type:
|
|
8022
|
-
{ type:
|
|
8023
|
-
{ type:
|
|
8031
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
8032
|
+
{ type: i0.ChangeDetectorRef },
|
|
8033
|
+
{ type: i0.ComponentFactoryResolver },
|
|
8024
8034
|
{ type: FormInputUserModelChangeListenerService },
|
|
8025
8035
|
{ type: NgZoneWrapperService },
|
|
8026
|
-
{ type:
|
|
8036
|
+
{ type: i0.ElementRef }
|
|
8027
8037
|
]; };
|
|
8028
8038
|
InputTextareaComponent.propDecorators = {
|
|
8029
|
-
placeholder: [{ type:
|
|
8030
|
-
showClass: [{ type:
|
|
8031
|
-
hasOwnLabel: [{ type:
|
|
8039
|
+
placeholder: [{ type: i0.Input }],
|
|
8040
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-textarea",] }],
|
|
8041
|
+
hasOwnLabel: [{ type: i0.HostBinding, args: ["class.has-own-label",] }]
|
|
8032
8042
|
};
|
|
8033
8043
|
|
|
8034
8044
|
var InputTextareaModule = /** @class */ (function () {
|
|
@@ -8037,7 +8047,7 @@
|
|
|
8037
8047
|
return InputTextareaModule;
|
|
8038
8048
|
}());
|
|
8039
8049
|
InputTextareaModule.decorators = [
|
|
8040
|
-
{ type:
|
|
8050
|
+
{ type: i0.NgModule, args: [{
|
|
8041
8051
|
imports: [
|
|
8042
8052
|
common.CommonModule,
|
|
8043
8053
|
forms.FormsModule,
|
|
@@ -8096,41 +8106,41 @@
|
|
|
8096
8106
|
return MultiSelectListComponent;
|
|
8097
8107
|
}(BaseInputComponent));
|
|
8098
8108
|
MultiSelectListComponent.decorators = [
|
|
8099
|
-
{ type:
|
|
8109
|
+
{ type: i0.Component, args: [{
|
|
8100
8110
|
selector: "co-multi-select-list",
|
|
8101
8111
|
template: "\n <ejs-multiselect\n [dataSource]=\"collection\"\n [placeholder]=\"placeholder\"\n [value]=\"model\"\n [mode]=\"mode\"\n [fields]=\"fields\"\n [readonly]=\"readonly\"\n [itemTemplate]=\"itemTemplate\"\n [headerTemplate]=\"headerTemplate\"\n [valueTemplate]=\"valueTemplate\"\n [footerTemplate]=\"footerTemplate\"\n [selectAllText]=\"'Select All'\"\n [showSelectAll]=showSelectAll\n [ngModel]=\"model\"\n (ngModelChange)=\"handleModelChange($event)\"\n (valueChange)=\"handleModelChange($event)\"\n ></ejs-multiselect>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
8102
8112
|
providers: [
|
|
8103
8113
|
ej2AngularDropdowns.CheckBoxSelectionService,
|
|
8104
8114
|
{
|
|
8105
8115
|
provide: COMPONENT_INTERFACE_NAME,
|
|
8106
|
-
useExisting:
|
|
8116
|
+
useExisting: i0.forwardRef(function () { return MultiSelectListComponent; })
|
|
8107
8117
|
}, {
|
|
8108
8118
|
provide: BaseInputComponent,
|
|
8109
8119
|
useExisting: MultiSelectListComponent
|
|
8110
8120
|
}
|
|
8111
8121
|
],
|
|
8112
|
-
encapsulation:
|
|
8122
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
8113
8123
|
},] }
|
|
8114
8124
|
];
|
|
8115
8125
|
MultiSelectListComponent.ctorParameters = function () { return [
|
|
8116
|
-
{ type: FormComponent, decorators: [{ type:
|
|
8117
|
-
{ type:
|
|
8118
|
-
{ type:
|
|
8126
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
8127
|
+
{ type: i0.ChangeDetectorRef },
|
|
8128
|
+
{ type: i0.ComponentFactoryResolver },
|
|
8119
8129
|
{ type: FormInputUserModelChangeListenerService },
|
|
8120
8130
|
{ type: NgZoneWrapperService },
|
|
8121
|
-
{ type:
|
|
8131
|
+
{ type: i0.ElementRef }
|
|
8122
8132
|
]; };
|
|
8123
8133
|
MultiSelectListComponent.propDecorators = {
|
|
8124
|
-
collection: [{ type:
|
|
8125
|
-
fields: [{ type:
|
|
8126
|
-
placeholder: [{ type:
|
|
8127
|
-
itemTemplate: [{ type:
|
|
8128
|
-
headerTemplate: [{ type:
|
|
8129
|
-
valueTemplate: [{ type:
|
|
8130
|
-
footerTemplate: [{ type:
|
|
8131
|
-
showSelectAll: [{ type:
|
|
8132
|
-
showCheckbox: [{ type:
|
|
8133
|
-
showClass: [{ type:
|
|
8134
|
+
collection: [{ type: i0.Input }],
|
|
8135
|
+
fields: [{ type: i0.Input }],
|
|
8136
|
+
placeholder: [{ type: i0.Input }],
|
|
8137
|
+
itemTemplate: [{ type: i0.Input }],
|
|
8138
|
+
headerTemplate: [{ type: i0.Input }],
|
|
8139
|
+
valueTemplate: [{ type: i0.Input }],
|
|
8140
|
+
footerTemplate: [{ type: i0.Input }],
|
|
8141
|
+
showSelectAll: [{ type: i0.Input }],
|
|
8142
|
+
showCheckbox: [{ type: i0.Input }],
|
|
8143
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-multi-select-list",] }]
|
|
8134
8144
|
};
|
|
8135
8145
|
|
|
8136
8146
|
var MultiSelectListModule = /** @class */ (function () {
|
|
@@ -8139,7 +8149,7 @@
|
|
|
8139
8149
|
return MultiSelectListModule;
|
|
8140
8150
|
}());
|
|
8141
8151
|
MultiSelectListModule.decorators = [
|
|
8142
|
-
{ type:
|
|
8152
|
+
{ type: i0.NgModule, args: [{
|
|
8143
8153
|
imports: [
|
|
8144
8154
|
BaseModule,
|
|
8145
8155
|
common.CommonModule,
|
|
@@ -8164,14 +8174,14 @@
|
|
|
8164
8174
|
this.allowNumberFormatting = true;
|
|
8165
8175
|
this.allowCalculatedField = false;
|
|
8166
8176
|
this.height = "100%";
|
|
8167
|
-
this.saveReportClick = new
|
|
8168
|
-
this.loadReportClick = new
|
|
8169
|
-
this.fetchReportClick = new
|
|
8170
|
-
this.renameReportClick = new
|
|
8171
|
-
this.removeReportClick = new
|
|
8172
|
-
this.newReportClick = new
|
|
8173
|
-
this.beforeToolbarRenderClick = new
|
|
8174
|
-
this.enginePopulated = new
|
|
8177
|
+
this.saveReportClick = new i0.EventEmitter();
|
|
8178
|
+
this.loadReportClick = new i0.EventEmitter();
|
|
8179
|
+
this.fetchReportClick = new i0.EventEmitter();
|
|
8180
|
+
this.renameReportClick = new i0.EventEmitter();
|
|
8181
|
+
this.removeReportClick = new i0.EventEmitter();
|
|
8182
|
+
this.newReportClick = new i0.EventEmitter();
|
|
8183
|
+
this.beforeToolbarRenderClick = new i0.EventEmitter();
|
|
8184
|
+
this.enginePopulated = new i0.EventEmitter();
|
|
8175
8185
|
}
|
|
8176
8186
|
CoPivotComponent.prototype.showClass = function () {
|
|
8177
8187
|
return true;
|
|
@@ -8227,39 +8237,39 @@
|
|
|
8227
8237
|
return CoPivotComponent;
|
|
8228
8238
|
}());
|
|
8229
8239
|
CoPivotComponent.decorators = [
|
|
8230
|
-
{ type:
|
|
8240
|
+
{ type: i0.Component, args: [{
|
|
8231
8241
|
selector: 'co-pivot',
|
|
8232
8242
|
template: "\n <ejs-pivotview\n #pivot\n id=\"Pivot\"\n [dataSourceSettings]=\"dataSourceSettings\"\n [gridSettings]=\"gridSettings\"\n [showGroupingBar]=\"showGroupingBar\"\n [allowGrouping]=\"allowGrouping\"\n [enablePersistence]=\"enablePersistence\"\n [showFieldList]=\"showFieldList\"\n [showToolbar]=\"showToolbar\"\n [toolbar]=\"toolbarOptions\"\n [allowExcelExport]=\"allowExcelExport\"\n [allowConditionalFormatting]=\"allowConditionalFormatting\"\n [allowNumberFormatting]=\"allowNumberFormatting\"\n [allowPdfExport]=\"allowPdfExport\"\n [allowCalculatedField]=\"allowCalculatedField\"\n [height]=\"height\"\n (saveReport)=\"saveReport($event)\"\n (loadReport)=\"loadReport($event)\"\n (fetchReport)=\"fetchReport($event)\"\n (renameReport)=\"renameReport($event)\"\n (removeReport)=\"removeReport($event)\"\n (newReport)=\"newReport()\"\n (toolbarRender)=\"beforeToolbarRender($event)\"\n (enginePopulated)=\"hanldeEnginePopulated($event)\"\n >\n </ejs-pivotview>\n ",
|
|
8233
8243
|
providers: [ej2AngularPivotview.GroupingBarService, ej2AngularPivotview.GroupingService, ej2AngularPivotview.ToolbarService, ej2AngularPivotview.ConditionalFormattingService, ej2AngularPivotview.FieldListService, ej2AngularPivotview.NumberFormattingService],
|
|
8234
|
-
encapsulation:
|
|
8244
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
8235
8245
|
},] }
|
|
8236
8246
|
];
|
|
8237
8247
|
CoPivotComponent.ctorParameters = function () { return []; };
|
|
8238
8248
|
CoPivotComponent.propDecorators = {
|
|
8239
|
-
pivot: [{ type:
|
|
8240
|
-
dataSourceSettings: [{ type:
|
|
8241
|
-
gridSettings: [{ type:
|
|
8242
|
-
toolbarOptions: [{ type:
|
|
8243
|
-
showGroupingBar: [{ type:
|
|
8244
|
-
allowGrouping: [{ type:
|
|
8245
|
-
enablePersistence: [{ type:
|
|
8246
|
-
showFieldList: [{ type:
|
|
8247
|
-
showToolbar: [{ type:
|
|
8248
|
-
allowExcelExport: [{ type:
|
|
8249
|
-
allowPdfExport: [{ type:
|
|
8250
|
-
allowConditionalFormatting: [{ type:
|
|
8251
|
-
allowNumberFormatting: [{ type:
|
|
8252
|
-
allowCalculatedField: [{ type:
|
|
8253
|
-
height: [{ type:
|
|
8254
|
-
saveReportClick: [{ type:
|
|
8255
|
-
loadReportClick: [{ type:
|
|
8256
|
-
fetchReportClick: [{ type:
|
|
8257
|
-
renameReportClick: [{ type:
|
|
8258
|
-
removeReportClick: [{ type:
|
|
8259
|
-
newReportClick: [{ type:
|
|
8260
|
-
beforeToolbarRenderClick: [{ type:
|
|
8261
|
-
enginePopulated: [{ type:
|
|
8262
|
-
showClass: [{ type:
|
|
8249
|
+
pivot: [{ type: i0.ViewChild, args: ['pivot', { static: false },] }],
|
|
8250
|
+
dataSourceSettings: [{ type: i0.Input }],
|
|
8251
|
+
gridSettings: [{ type: i0.Input }],
|
|
8252
|
+
toolbarOptions: [{ type: i0.Input }],
|
|
8253
|
+
showGroupingBar: [{ type: i0.Input }],
|
|
8254
|
+
allowGrouping: [{ type: i0.Input }],
|
|
8255
|
+
enablePersistence: [{ type: i0.Input }],
|
|
8256
|
+
showFieldList: [{ type: i0.Input }],
|
|
8257
|
+
showToolbar: [{ type: i0.Input }],
|
|
8258
|
+
allowExcelExport: [{ type: i0.Input }],
|
|
8259
|
+
allowPdfExport: [{ type: i0.Input }],
|
|
8260
|
+
allowConditionalFormatting: [{ type: i0.Input }],
|
|
8261
|
+
allowNumberFormatting: [{ type: i0.Input }],
|
|
8262
|
+
allowCalculatedField: [{ type: i0.Input }],
|
|
8263
|
+
height: [{ type: i0.Input }],
|
|
8264
|
+
saveReportClick: [{ type: i0.Output }],
|
|
8265
|
+
loadReportClick: [{ type: i0.Output }],
|
|
8266
|
+
fetchReportClick: [{ type: i0.Output }],
|
|
8267
|
+
renameReportClick: [{ type: i0.Output }],
|
|
8268
|
+
removeReportClick: [{ type: i0.Output }],
|
|
8269
|
+
newReportClick: [{ type: i0.Output }],
|
|
8270
|
+
beforeToolbarRenderClick: [{ type: i0.Output }],
|
|
8271
|
+
enginePopulated: [{ type: i0.Output }],
|
|
8272
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-pivot",] }]
|
|
8263
8273
|
};
|
|
8264
8274
|
__decorate([
|
|
8265
8275
|
InputBoolean()
|
|
@@ -8298,7 +8308,7 @@
|
|
|
8298
8308
|
return CoPivotModule;
|
|
8299
8309
|
}());
|
|
8300
8310
|
CoPivotModule.decorators = [
|
|
8301
|
-
{ type:
|
|
8311
|
+
{ type: i0.NgModule, args: [{
|
|
8302
8312
|
declarations: [CoPivotComponent],
|
|
8303
8313
|
exports: [
|
|
8304
8314
|
CoPivotComponent
|
|
@@ -8332,17 +8342,17 @@
|
|
|
8332
8342
|
return TextInputPopupComponent;
|
|
8333
8343
|
}());
|
|
8334
8344
|
TextInputPopupComponent.decorators = [
|
|
8335
|
-
{ type:
|
|
8345
|
+
{ type: i0.Component, args: [{
|
|
8336
8346
|
selector: "co-text-input-popup",
|
|
8337
8347
|
template: "\n <co-input-text [(model)]=\"text\" [label]=\"label\" [noValidation]=\"true\" [initFocus]=\"true\"></co-input-text>\n "
|
|
8338
8348
|
},] }
|
|
8339
8349
|
];
|
|
8340
8350
|
TextInputPopupComponent.ctorParameters = function () { return [
|
|
8341
|
-
{ type:
|
|
8351
|
+
{ type: i0.ChangeDetectorRef }
|
|
8342
8352
|
]; };
|
|
8343
8353
|
TextInputPopupComponent.propDecorators = {
|
|
8344
|
-
text: [{ type:
|
|
8345
|
-
label: [{ type:
|
|
8354
|
+
text: [{ type: i0.Input }],
|
|
8355
|
+
label: [{ type: i0.Input }]
|
|
8346
8356
|
};
|
|
8347
8357
|
|
|
8348
8358
|
/**
|
|
@@ -8955,15 +8965,15 @@
|
|
|
8955
8965
|
return PopupMessageDisplayComponent;
|
|
8956
8966
|
}());
|
|
8957
8967
|
PopupMessageDisplayComponent.decorators = [
|
|
8958
|
-
{ type:
|
|
8968
|
+
{ type: i0.Component, args: [{
|
|
8959
8969
|
selector: "co-popup-message-display",
|
|
8960
8970
|
template: "\n <span *ngIf=\"!image\" class=\"message\" [textContent]=\"message\"></span>\n <img *ngIf=\"image\" [src]=\"message\"/>\n <ng-container *ngIf=\"details\" label=\"DETAILS\">\n <div class=\"overflow-y-auto overflow-x-hidden details\">\n <span class=\"message wrap\" [textContent]=\"details\" style=\"overflow-wrap: break-word;\"></span>\n </div>\n <span class=\"details-link\" [textContent]=\"'COPY_MESSAGE_TO_CLIPBOARD'\" (click)=\"handleCopyClick()\"></span>\n </ng-container>\n "
|
|
8961
8971
|
},] }
|
|
8962
8972
|
];
|
|
8963
8973
|
PopupMessageDisplayComponent.ctorParameters = function () { return []; };
|
|
8964
8974
|
PopupMessageDisplayComponent.propDecorators = {
|
|
8965
|
-
message: [{ type:
|
|
8966
|
-
details: [{ type:
|
|
8975
|
+
message: [{ type: i0.Input }],
|
|
8976
|
+
details: [{ type: i0.Input }]
|
|
8967
8977
|
};
|
|
8968
8978
|
|
|
8969
8979
|
// the different types of buttons for the app window component
|
|
@@ -9002,7 +9012,7 @@
|
|
|
9002
9012
|
// Component that is part of the WindowComponent, and represents the panel with buttons on the bottom of app popups.
|
|
9003
9013
|
var PopupButtonsComponent = /** @class */ (function () {
|
|
9004
9014
|
function PopupButtonsComponent() {
|
|
9005
|
-
this.buttonClick = new
|
|
9015
|
+
this.buttonClick = new i0.EventEmitter();
|
|
9006
9016
|
this.buttons = [PopupButtonGlobals.Ok, PopupButtonGlobals.Cancel];
|
|
9007
9017
|
}
|
|
9008
9018
|
PopupButtonsComponent.prototype.ngOnInit = function () {
|
|
@@ -9027,7 +9037,7 @@
|
|
|
9027
9037
|
return PopupButtonsComponent;
|
|
9028
9038
|
}());
|
|
9029
9039
|
PopupButtonsComponent.decorators = [
|
|
9030
|
-
{ type:
|
|
9040
|
+
{ type: i0.Component, args: [{
|
|
9031
9041
|
selector: 'co-popup-buttons',
|
|
9032
9042
|
template: "\n <div class=\"popup-buttons\">\n <co-button\n *ngFor=\"let button of buttons\"\n [label]=\"button.label\"\n [class]=\"button.cssClass\"\n [disabled]=\"button.disabled\"\n (click)=\"handleClick($event, button)\"\n ></co-button>\n </div>\n ",
|
|
9033
9043
|
styles: [":host{display:flex;justify-content:center}:host co-button:not(:last-child){margin-right:10px}:host .popup-buttons{display:flex}\n"]
|
|
@@ -9035,9 +9045,9 @@
|
|
|
9035
9045
|
];
|
|
9036
9046
|
PopupButtonsComponent.ctorParameters = function () { return []; };
|
|
9037
9047
|
PopupButtonsComponent.propDecorators = {
|
|
9038
|
-
popupWindow: [{ type:
|
|
9039
|
-
buttonClick: [{ type:
|
|
9040
|
-
firstButton: [{ type:
|
|
9048
|
+
popupWindow: [{ type: i0.Input }],
|
|
9049
|
+
buttonClick: [{ type: i0.Output }],
|
|
9050
|
+
firstButton: [{ type: i0.ViewChild, args: [ButtonComponent,] }]
|
|
9041
9051
|
};
|
|
9042
9052
|
|
|
9043
9053
|
var PopupType;
|
|
@@ -9174,28 +9184,28 @@
|
|
|
9174
9184
|
return PopupWindowShellComponent;
|
|
9175
9185
|
}());
|
|
9176
9186
|
PopupWindowShellComponent.decorators = [
|
|
9177
|
-
{ type:
|
|
9187
|
+
{ type: i0.Component, args: [{
|
|
9178
9188
|
selector: "co-popup-window-shell",
|
|
9179
9189
|
template: "\n <ng-container *ngIf=\"!isBlank\">\n <co-button *ngIf=\"popupWindow?.settings.downloadable\" class=\"circle shadowed popup-downloadable\" [iconData]=\"downloadIcon\"\n iconClass=\"light\"\n (click)=\"onDownloadClick()\"></co-button>\n <co-button *ngIf=\"!popupWindow?.settings.hideCloseIcon\" class=\"circle shadowed popup-close\" [iconData]=\"closeIcon\"\n iconClass=\"light\"\n (click)=\"onCloseClick()\"></co-button>\n <div class=\"popup-wrapper\" *ngIf=\"!isBlank\">\n <div class=\"popup-title\"><h2 [textContent]=\"popupWindow?.settings.title\"></h2></div>\n <div class=\"popup-content\" (mousedown)=\"$event.stopImmediatePropagation()\">\n <ng-template #popupContent></ng-template>\n </div>\n <co-popup-buttons [popupWindow]=\"popupWindow\" (buttonClick)=\"onButtonClick($event)\"></co-popup-buttons>\n </div>\n </ng-container>\n <ng-template #popupContent *ngIf=\"isBlank\"></ng-template>\n ",
|
|
9180
|
-
changeDetection:
|
|
9190
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
9181
9191
|
styles: [":host{position:fixed;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}:host.popup-error div.popup-wrapper{background:#CFD0D1}:host.popup-warning .secondary-font{color:#fff}:host.popup-warning div.popup-wrapper{background:#484F60}:host.popup-warning div.popup-title,:host.popup-warning div.popup-content{color:#fff}:host.popup-notification div.popup-wrapper,:host.popup-question div.popup-wrapper{background:#CFD0D1}co-button.popup-close,co-button.popup-downloadable{position:absolute;transform:translateY(-50%)}co-button.popup-close{right:5px}co-button.popup-downloadable{right:45px}.popup-wrapper{padding:30px;border-radius:5px;box-shadow:0 0 13px -2px #0003;background:#CFD0D1;min-width:320px}.popup-wrapper .popup-title{padding-bottom:20px;border-bottom:1px solid #DAD9D9}.popup-wrapper .popup-content{margin-top:20px;margin-bottom:20px;max-height:50vh;max-width:80vw;overflow:auto}\n"]
|
|
9182
9192
|
},] }
|
|
9183
9193
|
];
|
|
9184
9194
|
PopupWindowShellComponent.ctorParameters = function () { return [
|
|
9185
9195
|
{ type: IconCacheService },
|
|
9186
|
-
{ type:
|
|
9187
|
-
{ type:
|
|
9196
|
+
{ type: i0.ChangeDetectorRef },
|
|
9197
|
+
{ type: i0.ViewContainerRef }
|
|
9188
9198
|
]; };
|
|
9189
9199
|
PopupWindowShellComponent.propDecorators = {
|
|
9190
|
-
popupWindow: [{ type:
|
|
9191
|
-
hasMobileSizings: [{ type:
|
|
9192
|
-
_viewContainer: [{ type:
|
|
9193
|
-
_appPopupButtons: [{ type:
|
|
9194
|
-
isError: [{ type:
|
|
9195
|
-
isWarning: [{ type:
|
|
9196
|
-
isNotification: [{ type:
|
|
9197
|
-
isQuestion: [{ type:
|
|
9198
|
-
isMovable: [{ type:
|
|
9200
|
+
popupWindow: [{ type: i0.Input }],
|
|
9201
|
+
hasMobileSizings: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.mobile-sizings",] }],
|
|
9202
|
+
_viewContainer: [{ type: i0.ViewChild, args: ["popupContent", { read: i0.ViewContainerRef },] }],
|
|
9203
|
+
_appPopupButtons: [{ type: i0.ViewChild, args: [PopupButtonsComponent,] }],
|
|
9204
|
+
isError: [{ type: i0.HostBinding, args: ["class.popup-error",] }],
|
|
9205
|
+
isWarning: [{ type: i0.HostBinding, args: ["class.popup-warning",] }],
|
|
9206
|
+
isNotification: [{ type: i0.HostBinding, args: ["class.popup-notification",] }],
|
|
9207
|
+
isQuestion: [{ type: i0.HostBinding, args: ["class.popup-question",] }],
|
|
9208
|
+
isMovable: [{ type: i0.HostBinding, args: ["class.movable",] }]
|
|
9199
9209
|
};
|
|
9200
9210
|
|
|
9201
9211
|
// Represent the base for app popup windows, with common fields and methods that each popup window has.
|
|
@@ -9239,7 +9249,7 @@
|
|
|
9239
9249
|
}());
|
|
9240
9250
|
PopupWindowModel.closeDefaultOutputStr = "PopupWindowModel.closeDefault()";
|
|
9241
9251
|
|
|
9242
|
-
var POPUP_WINDOW_DATA = new
|
|
9252
|
+
var POPUP_WINDOW_DATA = new i0.InjectionToken('POPUP_WINDOW_DATA');
|
|
9243
9253
|
|
|
9244
9254
|
// Class responsible for showing popups throughout the application and returning results from user interaction with those popups.
|
|
9245
9255
|
var PopupShowerService = /** @class */ (function () {
|
|
@@ -9313,18 +9323,18 @@
|
|
|
9313
9323
|
parent: this._injector,
|
|
9314
9324
|
providers: injectionTokens
|
|
9315
9325
|
};
|
|
9316
|
-
return
|
|
9326
|
+
return i0.Injector.create(options);
|
|
9317
9327
|
};
|
|
9318
9328
|
return PopupShowerService;
|
|
9319
9329
|
}());
|
|
9320
9330
|
PopupShowerService.decorators = [
|
|
9321
|
-
{ type:
|
|
9331
|
+
{ type: i0.Injectable }
|
|
9322
9332
|
];
|
|
9323
9333
|
PopupShowerService.ctorParameters = function () { return [
|
|
9324
|
-
{ type:
|
|
9325
|
-
{ type:
|
|
9334
|
+
{ type: i0.ComponentFactoryResolver },
|
|
9335
|
+
{ type: i0.ApplicationRef },
|
|
9326
9336
|
{ type: overlay.Overlay },
|
|
9327
|
-
{ type:
|
|
9337
|
+
{ type: i0.Injector }
|
|
9328
9338
|
]; };
|
|
9329
9339
|
|
|
9330
9340
|
// for PromptService.promptString
|
|
@@ -9525,7 +9535,7 @@
|
|
|
9525
9535
|
return PromptService;
|
|
9526
9536
|
}());
|
|
9527
9537
|
PromptService.decorators = [
|
|
9528
|
-
{ type:
|
|
9538
|
+
{ type: i0.Injectable }
|
|
9529
9539
|
];
|
|
9530
9540
|
PromptService.ctorParameters = function () { return [
|
|
9531
9541
|
{ type: PopupShowerService }
|
|
@@ -9548,7 +9558,7 @@
|
|
|
9548
9558
|
return PopupModule;
|
|
9549
9559
|
}());
|
|
9550
9560
|
PopupModule.decorators = [
|
|
9551
|
-
{ type:
|
|
9561
|
+
{ type: i0.NgModule, args: [{
|
|
9552
9562
|
imports: [
|
|
9553
9563
|
common.CommonModule,
|
|
9554
9564
|
InputTextModule,
|
|
@@ -9672,31 +9682,31 @@
|
|
|
9672
9682
|
}());
|
|
9673
9683
|
SimpleGridColumnDirective._MinManualResizeWidthPx = 50;
|
|
9674
9684
|
SimpleGridColumnDirective.decorators = [
|
|
9675
|
-
{ type:
|
|
9685
|
+
{ type: i0.Directive, args: [{
|
|
9676
9686
|
selector: "co-simple-grid-column"
|
|
9677
9687
|
},] }
|
|
9678
9688
|
];
|
|
9679
9689
|
SimpleGridColumnDirective.ctorParameters = function () { return [
|
|
9680
|
-
{ type:
|
|
9690
|
+
{ type: i0.ElementRef }
|
|
9681
9691
|
]; };
|
|
9682
9692
|
SimpleGridColumnDirective.propDecorators = {
|
|
9683
|
-
headerTemplate: [{ type:
|
|
9684
|
-
template: [{ type:
|
|
9685
|
-
editTemplate: [{ type:
|
|
9686
|
-
headerText: [{ type:
|
|
9687
|
-
field: [{ type:
|
|
9688
|
-
codeField: [{ type:
|
|
9689
|
-
displayField: [{ type:
|
|
9690
|
-
textAlign: [{ type:
|
|
9691
|
-
format: [{ type:
|
|
9692
|
-
resizable: [{ type:
|
|
9693
|
-
required: [{ type:
|
|
9694
|
-
autoFit: [{ type:
|
|
9695
|
-
width: [{ type:
|
|
9696
|
-
readonly: [{ type:
|
|
9697
|
-
collection: [{ type:
|
|
9698
|
-
order: [{ type:
|
|
9699
|
-
singleColumn: [{ type:
|
|
9693
|
+
headerTemplate: [{ type: i0.ContentChild, args: ['headerTemplate',] }],
|
|
9694
|
+
template: [{ type: i0.ContentChild, args: ['template',] }],
|
|
9695
|
+
editTemplate: [{ type: i0.ContentChild, args: ['editTemplate',] }],
|
|
9696
|
+
headerText: [{ type: i0.Input }],
|
|
9697
|
+
field: [{ type: i0.Input }],
|
|
9698
|
+
codeField: [{ type: i0.Input }],
|
|
9699
|
+
displayField: [{ type: i0.Input }],
|
|
9700
|
+
textAlign: [{ type: i0.Input }],
|
|
9701
|
+
format: [{ type: i0.Input }],
|
|
9702
|
+
resizable: [{ type: i0.Input }],
|
|
9703
|
+
required: [{ type: i0.Input }],
|
|
9704
|
+
autoFit: [{ type: i0.Input }],
|
|
9705
|
+
width: [{ type: i0.Input }],
|
|
9706
|
+
readonly: [{ type: i0.Input }],
|
|
9707
|
+
collection: [{ type: i0.Input }],
|
|
9708
|
+
order: [{ type: i0.Input }],
|
|
9709
|
+
singleColumn: [{ type: i0.Input }]
|
|
9700
9710
|
};
|
|
9701
9711
|
|
|
9702
9712
|
var BaseSimpleGridComponent = /** @class */ (function () {
|
|
@@ -9713,13 +9723,13 @@
|
|
|
9713
9723
|
* (update collection) by itself
|
|
9714
9724
|
*/
|
|
9715
9725
|
this.emitDragDrop = false;
|
|
9716
|
-
this.onDrop = new
|
|
9717
|
-
this.selectRow = new
|
|
9718
|
-
this.dblClickRow = new
|
|
9719
|
-
this.saveRow = new
|
|
9720
|
-
this.deleteRow = new
|
|
9721
|
-
this.addRow = new
|
|
9722
|
-
this.rowVisible = new
|
|
9726
|
+
this.onDrop = new i0.EventEmitter();
|
|
9727
|
+
this.selectRow = new i0.EventEmitter();
|
|
9728
|
+
this.dblClickRow = new i0.EventEmitter();
|
|
9729
|
+
this.saveRow = new i0.EventEmitter();
|
|
9730
|
+
this.deleteRow = new i0.EventEmitter();
|
|
9731
|
+
this.addRow = new i0.EventEmitter();
|
|
9732
|
+
this.rowVisible = new i0.EventEmitter();
|
|
9723
9733
|
this.columns = [];
|
|
9724
9734
|
this.headerColumns = [];
|
|
9725
9735
|
this._data = [];
|
|
@@ -9843,27 +9853,27 @@
|
|
|
9843
9853
|
return BaseSimpleGridComponent;
|
|
9844
9854
|
}());
|
|
9845
9855
|
BaseSimpleGridComponent.decorators = [
|
|
9846
|
-
{ type:
|
|
9856
|
+
{ type: i0.Directive }
|
|
9847
9857
|
];
|
|
9848
9858
|
BaseSimpleGridComponent.propDecorators = {
|
|
9849
|
-
content: [{ type:
|
|
9850
|
-
data: [{ type:
|
|
9851
|
-
dragDropEnabled: [{ type:
|
|
9852
|
-
resizable: [{ type:
|
|
9853
|
-
inlineEdit: [{ type:
|
|
9854
|
-
showToolbar: [{ type:
|
|
9855
|
-
autoAddRow: [{ type:
|
|
9856
|
-
emitDragDrop: [{ type:
|
|
9857
|
-
extraColumns: [{ type:
|
|
9858
|
-
onDrop: [{ type:
|
|
9859
|
-
selectRow: [{ type:
|
|
9860
|
-
dblClickRow: [{ type:
|
|
9861
|
-
saveRow: [{ type:
|
|
9862
|
-
deleteRow: [{ type:
|
|
9863
|
-
addRow: [{ type:
|
|
9864
|
-
rowVisible: [{ type:
|
|
9865
|
-
handleMouseMove: [{ type:
|
|
9866
|
-
handleMouseUp: [{ type:
|
|
9859
|
+
content: [{ type: i0.ContentChildren, args: [SimpleGridColumnDirective,] }],
|
|
9860
|
+
data: [{ type: i0.Input }],
|
|
9861
|
+
dragDropEnabled: [{ type: i0.Input }],
|
|
9862
|
+
resizable: [{ type: i0.Input }],
|
|
9863
|
+
inlineEdit: [{ type: i0.Input }],
|
|
9864
|
+
showToolbar: [{ type: i0.Input }],
|
|
9865
|
+
autoAddRow: [{ type: i0.Input }],
|
|
9866
|
+
emitDragDrop: [{ type: i0.Input }],
|
|
9867
|
+
extraColumns: [{ type: i0.Input }],
|
|
9868
|
+
onDrop: [{ type: i0.Output }],
|
|
9869
|
+
selectRow: [{ type: i0.Output }],
|
|
9870
|
+
dblClickRow: [{ type: i0.Output }],
|
|
9871
|
+
saveRow: [{ type: i0.Output }],
|
|
9872
|
+
deleteRow: [{ type: i0.Output }],
|
|
9873
|
+
addRow: [{ type: i0.Output }],
|
|
9874
|
+
rowVisible: [{ type: i0.Output }],
|
|
9875
|
+
handleMouseMove: [{ type: i0.HostListener, args: ['document:mousemove', ['$event'],] }],
|
|
9876
|
+
handleMouseUp: [{ type: i0.HostListener, args: ['document:mouseup', ['$event'],] }]
|
|
9867
9877
|
};
|
|
9868
9878
|
|
|
9869
9879
|
var SimpleGridComponent = /** @class */ (function (_super) {
|
|
@@ -10166,28 +10176,28 @@
|
|
|
10166
10176
|
return SimpleGridComponent;
|
|
10167
10177
|
}(BaseSimpleGridComponent));
|
|
10168
10178
|
SimpleGridComponent.decorators = [
|
|
10169
|
-
{ type:
|
|
10179
|
+
{ type: i0.Component, args: [{
|
|
10170
10180
|
selector: 'co-simple-grid',
|
|
10171
10181
|
template: "\n <co-grid-toolbar *ngIf=\"showToolbar\" [class.right]=\"rightToolbar\"\n [showEdit]=\"inlineEdit\"\n [showAdd]=\"showAdd\"\n [showDelete]=\"showDelete\"\n [deleteEnabled]=\"selectedRowIndex > -1\"\n (addClick)=\"addNewRow()\"\n (editClick)=\"editRow($event)\"\n (saveClick)=\"validateAndSave()\"\n (cancelClick)=\"cancelEditRow()\"\n (deleteClick)=\"removeRow()\"\n ></co-grid-toolbar>\n <table class=\"simple-grid-table\">\n <colgroup>\n <col *ngFor=\"let column of headerColumns; let index = index\"\n [class.simple-grid-column-auto-fit]=\"column.autoFit\"\n [style.width.px]=\"column.width\"\n [style.min-width.px]=\"MIN_COLUMN_WIDTH\">\n </colgroup>\n <thead>\n <tr>\n <th scope=\"col\" #headerCell class=\"simple-grid-column-header\" *ngFor=\"let column of headerColumns; let index = index\">\n <div class=\"simple-grid-column-header-wrapper\" [class.resizable]=\"resizable\"\n [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\">\n <ng-container *ngIf=\"column.headerTemplate; else noHeaderTemplate\">\n <ng-container [ngTemplateOutlet]=\"column.headerTemplate\"></ng-container>\n </ng-container>\n <ng-template #noHeaderTemplate>\n <div class=\"simple-grid-column-header-label\" [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\"\n [textContent]=\"column.headerText || ' '\"\n ></div>\n </ng-template>\n <div *ngIf=\"resizable && column.resizable\" class=\"simple-grid-column-sizer\"\n (mousedown)=\"handleSizerMouseDown($event, column)\"\n ></div>\n </div>\n </th>\n </tr>\n </thead>\n <tbody #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"simple-grid-drag-drop-list\"\n [cdkDropListDisabled]=\"!dragDropEnabled\"\n [cdkDropListData]=\"data\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\">\n <tr class=\"simple-grid-row\" [class.selected]=\"rowIndex === selectedRowIndex && !editing\" observeVisibility\n [class.editing]=\"rowIndex === editRowIndex\" *ngFor=\"let row of (!!rowsPerPage ? (data | paginate: {itemsPerPage: rowsPerPage, currentPage: currentPage}) : data); last as last; let rowIndex = index\" cdkDrag\n (click)=\"handleClickRow($event, rowIndex)\" (dblclick)=\"handleDblClickRow($event, rowIndex)\" (visible)=\"rowVisible.next(row)\">\n <co-form class=\"simple-grid-row-form\">\n <ng-container *ngIf=\"isSingleColumnRow(row)\">\n <td class=\"simple-grid-single-column-cell\" [attr.colspan]=\"headerColumns.length\">\n <co-simple-grid-cell\n [column]=\"columns[singleColumnIndex(row)]\"\n [row]=\"row\"\n [editMode]=\"false\"\n ></co-simple-grid-cell>\n </td>\n </ng-container>\n <ng-container *ngIf=\"!isSingleColumnRow(row)\">\n <ng-container *ngFor=\"let column of headerColumns; let columnIndex = index\">\n <td class=\"simple-grid-column-cell\" *ngIf=\"columnIndex !== singleColumnIndex(row)\">\n <co-simple-grid-cell\n [column]=\"column\"\n [row]=\"row\"\n [editMode]=\"inlineEdit && editing && rowIndex === editRowIndex\"\n [fieldEditMode]=\"editCellIndex === columnIndex\"\n (cellClick)=\"handleCellClick(columnIndex)\"\n ></co-simple-grid-cell>\n <div *ngIf=\"column.resizable\" class=\"simple-grid-column-sizer-placeholder\"></div>\n </td>\n </ng-container>\n </ng-container>\n </co-form>\n </tr>\n </tbody>\n </table>\n <co-pagination-bar *ngIf=\"data?.length > rowsPerPage\" class=\"pagination-bar\"\n [itemsPerPage]=\"rowsPerPage\"\n [currentPage]=\"currentPage\"\n [totalItems]=\"data.length\"\n [autoHide]=\"true\"\n (previousClick)=\"goToPreviousPage()\"\n (nextClick)=\"goToNextPage()\"\n (pageClick)=\"setCurrentPage($event)\"\n ></co-pagination-bar>\n ",
|
|
10172
10182
|
providers: [
|
|
10173
10183
|
FormMasterService
|
|
10174
10184
|
],
|
|
10175
|
-
changeDetection:
|
|
10176
|
-
encapsulation:
|
|
10185
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
10186
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
10177
10187
|
},] }
|
|
10178
10188
|
];
|
|
10179
10189
|
SimpleGridComponent.ctorParameters = function () { return [
|
|
10180
|
-
{ type:
|
|
10190
|
+
{ type: i0.ChangeDetectorRef },
|
|
10181
10191
|
{ type: FormMasterService }
|
|
10182
10192
|
]; };
|
|
10183
10193
|
SimpleGridComponent.propDecorators = {
|
|
10184
|
-
headerCells: [{ type:
|
|
10185
|
-
showAdd: [{ type:
|
|
10186
|
-
showDelete: [{ type:
|
|
10187
|
-
rightToolbar: [{ type:
|
|
10188
|
-
rowsPerPage: [{ type:
|
|
10189
|
-
showClass: [{ type:
|
|
10190
|
-
handleKeyDown: [{ type:
|
|
10194
|
+
headerCells: [{ type: i0.ViewChildren, args: ['headerCell',] }],
|
|
10195
|
+
showAdd: [{ type: i0.Input }],
|
|
10196
|
+
showDelete: [{ type: i0.Input }],
|
|
10197
|
+
rightToolbar: [{ type: i0.Input }],
|
|
10198
|
+
rowsPerPage: [{ type: i0.Input }],
|
|
10199
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-simple-grid',] }],
|
|
10200
|
+
handleKeyDown: [{ type: i0.HostListener, args: ['keydown', ['$event'],] }]
|
|
10191
10201
|
};
|
|
10192
10202
|
|
|
10193
10203
|
var PaginationBarComponent = /** @class */ (function () {
|
|
@@ -10199,9 +10209,9 @@
|
|
|
10199
10209
|
this.itemsPerPage = 20;
|
|
10200
10210
|
this.paginationRange = 8;
|
|
10201
10211
|
this.autoHide = false;
|
|
10202
|
-
this.previousClick = new
|
|
10203
|
-
this.nextClick = new
|
|
10204
|
-
this.pageClick = new
|
|
10212
|
+
this.previousClick = new i0.EventEmitter();
|
|
10213
|
+
this.nextClick = new i0.EventEmitter();
|
|
10214
|
+
this.pageClick = new i0.EventEmitter();
|
|
10205
10215
|
this._totalItems = 20;
|
|
10206
10216
|
this.pages = [];
|
|
10207
10217
|
}
|
|
@@ -10310,25 +10320,25 @@
|
|
|
10310
10320
|
return PaginationBarComponent;
|
|
10311
10321
|
}());
|
|
10312
10322
|
PaginationBarComponent.decorators = [
|
|
10313
|
-
{ type:
|
|
10323
|
+
{ type: i0.Component, args: [{
|
|
10314
10324
|
selector: "co-pagination-bar",
|
|
10315
10325
|
template: "\n <ul class=\"pagination\" *ngIf=\"!shouldBeHidden()\">\n <li *ngIf=\"directionLinks\" class=\"pagination-previous\" [class.disabled]=\"isOnFirstPage()\" (click)=\"onPreviousClick()\">\n <a [class.disabled]=\"isOnFirstPage()\">{{ previousLabel }}</a>\n </li>\n <li *ngFor=\"let page of pages\" [class.current]=\"currentPage === page.value\" (click)=\"onPageClick(page.value)\">\n <span>{{page.label}}</span>\n </li>\n <li *ngIf=\"directionLinks\" class=\"pagination-next\" [class.disabled]=\"isOnLastPage()\" (click)=\"onNextClick()\" >\n <a [class.disabled]=\"isOnLastPage()\">{{ nextLabel }}</a>\n </li>\n </ul>\n ",
|
|
10316
|
-
encapsulation:
|
|
10326
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
10317
10327
|
},] }
|
|
10318
10328
|
];
|
|
10319
10329
|
PaginationBarComponent.propDecorators = {
|
|
10320
|
-
directionLinks: [{ type:
|
|
10321
|
-
previousLabel: [{ type:
|
|
10322
|
-
nextLabel: [{ type:
|
|
10323
|
-
currentPage: [{ type:
|
|
10324
|
-
itemsPerPage: [{ type:
|
|
10325
|
-
totalItems: [{ type:
|
|
10326
|
-
paginationRange: [{ type:
|
|
10327
|
-
autoHide: [{ type:
|
|
10328
|
-
previousClick: [{ type:
|
|
10329
|
-
nextClick: [{ type:
|
|
10330
|
-
pageClick: [{ type:
|
|
10331
|
-
showClass: [{ type:
|
|
10330
|
+
directionLinks: [{ type: i0.Input }],
|
|
10331
|
+
previousLabel: [{ type: i0.Input }],
|
|
10332
|
+
nextLabel: [{ type: i0.Input }],
|
|
10333
|
+
currentPage: [{ type: i0.Input }],
|
|
10334
|
+
itemsPerPage: [{ type: i0.Input }],
|
|
10335
|
+
totalItems: [{ type: i0.Input }],
|
|
10336
|
+
paginationRange: [{ type: i0.Input }],
|
|
10337
|
+
autoHide: [{ type: i0.Input }],
|
|
10338
|
+
previousClick: [{ type: i0.Output }],
|
|
10339
|
+
nextClick: [{ type: i0.Output }],
|
|
10340
|
+
pageClick: [{ type: i0.Output }],
|
|
10341
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-pagination-bar",] }]
|
|
10332
10342
|
};
|
|
10333
10343
|
|
|
10334
10344
|
var PaginationBarModule = /** @class */ (function () {
|
|
@@ -10337,7 +10347,7 @@
|
|
|
10337
10347
|
return PaginationBarModule;
|
|
10338
10348
|
}());
|
|
10339
10349
|
PaginationBarModule.decorators = [
|
|
10340
|
-
{ type:
|
|
10350
|
+
{ type: i0.NgModule, args: [{
|
|
10341
10351
|
imports: [
|
|
10342
10352
|
common.CommonModule
|
|
10343
10353
|
],
|
|
@@ -10443,7 +10453,7 @@
|
|
|
10443
10453
|
return PaginatePipe;
|
|
10444
10454
|
}());
|
|
10445
10455
|
PaginatePipe.decorators = [
|
|
10446
|
-
{ type:
|
|
10456
|
+
{ type: i0.Pipe, args: [{
|
|
10447
10457
|
name: 'paginate',
|
|
10448
10458
|
pure: false
|
|
10449
10459
|
},] }
|
|
@@ -10536,7 +10546,7 @@
|
|
|
10536
10546
|
}());
|
|
10537
10547
|
PaginationService.DEFAULT_ID = "DEFAULT_PAGINATION_ID";
|
|
10538
10548
|
PaginationService.decorators = [
|
|
10539
|
-
{ type:
|
|
10549
|
+
{ type: i0.Injectable }
|
|
10540
10550
|
];
|
|
10541
10551
|
PaginationService.ctorParameters = function () { return []; };
|
|
10542
10552
|
|
|
@@ -10550,7 +10560,7 @@
|
|
|
10550
10560
|
this.nextLabel = 'Volgende pagina';
|
|
10551
10561
|
this.autoHide = false;
|
|
10552
10562
|
// Emits the new page number.
|
|
10553
|
-
this.pageChange = new
|
|
10563
|
+
this.pageChange = new i0.EventEmitter();
|
|
10554
10564
|
this.showClass = true;
|
|
10555
10565
|
this.totalItems = 1;
|
|
10556
10566
|
this.itemsPerPage = 20;
|
|
@@ -10627,25 +10637,25 @@
|
|
|
10627
10637
|
return PaginationComponent;
|
|
10628
10638
|
}());
|
|
10629
10639
|
PaginationComponent.decorators = [
|
|
10630
|
-
{ type:
|
|
10640
|
+
{ type: i0.Component, args: [{
|
|
10631
10641
|
selector: 'co-pagination',
|
|
10632
10642
|
template: "\n <div class=\"pagination-component-main-wrapper\" *ngIf=\"!shouldBeHidden()\">\n <div>\n <ng-content></ng-content>\n </div>\n\n <co-pagination-bar\n [currentPage]=\"getCurrentPage()\"\n [totalItems]=\"totalItems\"\n [itemsPerPage]=\"itemsPerPage\"\n [directionLinks]=\"directionLinks\"\n [previousLabel]=\"previousLabel\"\n [nextLabel]=\"nextLabel\"\n (previousClick)=\"goToPreviousPage()\"\n (nextClick)=\"goToNextPage()\"\n (pageClick)=\"setCurrentPage($event)\"\n ></co-pagination-bar>\n </div>\n ",
|
|
10633
|
-
encapsulation:
|
|
10643
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
10634
10644
|
},] }
|
|
10635
10645
|
];
|
|
10636
10646
|
PaginationComponent.ctorParameters = function () { return [
|
|
10637
10647
|
{ type: PaginationService }
|
|
10638
10648
|
]; };
|
|
10639
10649
|
PaginationComponent.propDecorators = {
|
|
10640
|
-
template: [{ type:
|
|
10641
|
-
id: [{ type:
|
|
10642
|
-
maxSize: [{ type:
|
|
10643
|
-
directionLinks: [{ type:
|
|
10644
|
-
previousLabel: [{ type:
|
|
10645
|
-
nextLabel: [{ type:
|
|
10646
|
-
autoHide: [{ type:
|
|
10647
|
-
pageChange: [{ type:
|
|
10648
|
-
showClass: [{ type:
|
|
10650
|
+
template: [{ type: i0.ViewChild, args: ['template',] }],
|
|
10651
|
+
id: [{ type: i0.Input }],
|
|
10652
|
+
maxSize: [{ type: i0.Input }],
|
|
10653
|
+
directionLinks: [{ type: i0.Input }],
|
|
10654
|
+
previousLabel: [{ type: i0.Input }],
|
|
10655
|
+
nextLabel: [{ type: i0.Input }],
|
|
10656
|
+
autoHide: [{ type: i0.Input }],
|
|
10657
|
+
pageChange: [{ type: i0.Output }],
|
|
10658
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-pagination',] }]
|
|
10649
10659
|
};
|
|
10650
10660
|
|
|
10651
10661
|
var PaginationModule = /** @class */ (function () {
|
|
@@ -10654,7 +10664,7 @@
|
|
|
10654
10664
|
return PaginationModule;
|
|
10655
10665
|
}());
|
|
10656
10666
|
PaginationModule.decorators = [
|
|
10657
|
-
{ type:
|
|
10667
|
+
{ type: i0.NgModule, args: [{
|
|
10658
10668
|
imports: [
|
|
10659
10669
|
common.CommonModule,
|
|
10660
10670
|
PaginationBarModule
|
|
@@ -10678,7 +10688,7 @@
|
|
|
10678
10688
|
this._changeDetector = _changeDetector;
|
|
10679
10689
|
this.defaultTextAlign = exports.ColumnAlign.Left;
|
|
10680
10690
|
this.editMode = false;
|
|
10681
|
-
this.cellClick = new
|
|
10691
|
+
this.cellClick = new i0.EventEmitter();
|
|
10682
10692
|
this._fieldEditMode = false;
|
|
10683
10693
|
this._focused = false;
|
|
10684
10694
|
}
|
|
@@ -10801,26 +10811,26 @@
|
|
|
10801
10811
|
return SimpleGridCellComponent;
|
|
10802
10812
|
}());
|
|
10803
10813
|
SimpleGridCellComponent.decorators = [
|
|
10804
|
-
{ type:
|
|
10814
|
+
{ type: i0.Component, args: [{
|
|
10805
10815
|
selector: "co-simple-grid-cell",
|
|
10806
10816
|
template: "\n <div class=\"simple-grid-column-cell-value\" [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\">\n <ng-container *ngIf=\"editMode; else noInlineEdit\">\n <ng-container #editTemplate *ngIf=\"column.editTemplate; else noEditTemplate\"\n [ngTemplateOutlet]=\"column.editTemplate\"\n [ngTemplateOutletContext]=\"{value: row[column.field], row: row}\"></ng-container>\n <ng-template #noEditTemplate>\n <ng-container *ngIf=\"column.template; else noTemplate\">\n <ng-container [ngTemplateOutlet]=\"column.template\"\n [ngTemplateOutletContext]=\"{value: row[column.field], row: row}\"></ng-container>\n </ng-container>\n <ng-template #noTemplate>\n <co-input-text [(model)]=\"row[column.field]\" [required]=\"column.required\"></co-input-text>\n </ng-template>\n </ng-template>\n </ng-container>\n <ng-template #noInlineEdit>\n <ng-container *ngIf=\"column.template; else noTemplate\">\n <ng-container [ngTemplateOutlet]=\"column.template\"\n [ngTemplateOutletContext]=\"{value: row[column.field], row: row}\"></ng-container>\n </ng-container>\n <ng-template #noTemplate>\n <span [textContent]=\"column.getFieldValue(row[column.field])\"></span>\n </ng-template>\n </ng-template>\n </div>\n ",
|
|
10807
|
-
encapsulation:
|
|
10817
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
10808
10818
|
},] }
|
|
10809
10819
|
];
|
|
10810
10820
|
SimpleGridCellComponent.ctorParameters = function () { return [
|
|
10811
|
-
{ type:
|
|
10821
|
+
{ type: i0.ChangeDetectorRef }
|
|
10812
10822
|
]; };
|
|
10813
10823
|
SimpleGridCellComponent.propDecorators = {
|
|
10814
|
-
editTemplateContent: [{ type:
|
|
10815
|
-
noEditTemplateContent: [{ type:
|
|
10816
|
-
noTemplateContent: [{ type:
|
|
10817
|
-
column: [{ type:
|
|
10818
|
-
row: [{ type:
|
|
10819
|
-
editMode: [{ type:
|
|
10820
|
-
fieldEditMode: [{ type:
|
|
10821
|
-
cellClick: [{ type:
|
|
10822
|
-
showClass: [{ type:
|
|
10823
|
-
handleClick: [{ type:
|
|
10824
|
+
editTemplateContent: [{ type: i0.ViewChild, args: ["editTemplate", { read: BaseInputComponent },] }],
|
|
10825
|
+
noEditTemplateContent: [{ type: i0.ViewChild, args: ["noEditTemplate",] }],
|
|
10826
|
+
noTemplateContent: [{ type: i0.ViewChild, args: ["noTemplate",] }],
|
|
10827
|
+
column: [{ type: i0.Input }],
|
|
10828
|
+
row: [{ type: i0.Input }],
|
|
10829
|
+
editMode: [{ type: i0.Input }],
|
|
10830
|
+
fieldEditMode: [{ type: i0.Input }],
|
|
10831
|
+
cellClick: [{ type: i0.Output }],
|
|
10832
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-simple-grid-cell",] }],
|
|
10833
|
+
handleClick: [{ type: i0.HostListener, args: ['click', ['$event'],] }]
|
|
10824
10834
|
};
|
|
10825
10835
|
|
|
10826
10836
|
var ObserveVisibilityDirective = /** @class */ (function () {
|
|
@@ -10828,7 +10838,7 @@
|
|
|
10828
10838
|
this._element = _element;
|
|
10829
10839
|
this.debounceTime = 0;
|
|
10830
10840
|
this.threshold = 0;
|
|
10831
|
-
this.visible = new
|
|
10841
|
+
this.visible = new i0.EventEmitter();
|
|
10832
10842
|
this._subject = new rxjs.Subject();
|
|
10833
10843
|
}
|
|
10834
10844
|
ObserveVisibilityDirective.prototype.ngOnInit = function () {
|
|
@@ -10903,17 +10913,17 @@
|
|
|
10903
10913
|
return ObserveVisibilityDirective;
|
|
10904
10914
|
}());
|
|
10905
10915
|
ObserveVisibilityDirective.decorators = [
|
|
10906
|
-
{ type:
|
|
10916
|
+
{ type: i0.Directive, args: [{
|
|
10907
10917
|
selector: '[observeVisibility]',
|
|
10908
10918
|
},] }
|
|
10909
10919
|
];
|
|
10910
10920
|
ObserveVisibilityDirective.ctorParameters = function () { return [
|
|
10911
|
-
{ type:
|
|
10921
|
+
{ type: i0.ElementRef }
|
|
10912
10922
|
]; };
|
|
10913
10923
|
ObserveVisibilityDirective.propDecorators = {
|
|
10914
|
-
debounceTime: [{ type:
|
|
10915
|
-
threshold: [{ type:
|
|
10916
|
-
visible: [{ type:
|
|
10924
|
+
debounceTime: [{ type: i0.Input }],
|
|
10925
|
+
threshold: [{ type: i0.Input }],
|
|
10926
|
+
visible: [{ type: i0.Output }]
|
|
10917
10927
|
};
|
|
10918
10928
|
|
|
10919
10929
|
var ObserveVisibilityModule = /** @class */ (function () {
|
|
@@ -10922,7 +10932,7 @@
|
|
|
10922
10932
|
return ObserveVisibilityModule;
|
|
10923
10933
|
}());
|
|
10924
10934
|
ObserveVisibilityModule.decorators = [
|
|
10925
|
-
{ type:
|
|
10935
|
+
{ type: i0.NgModule, args: [{
|
|
10926
10936
|
declarations: [
|
|
10927
10937
|
ObserveVisibilityDirective
|
|
10928
10938
|
],
|
|
@@ -10938,7 +10948,7 @@
|
|
|
10938
10948
|
return SimpleGridModule;
|
|
10939
10949
|
}());
|
|
10940
10950
|
SimpleGridModule.decorators = [
|
|
10941
|
-
{ type:
|
|
10951
|
+
{ type: i0.NgModule, args: [{
|
|
10942
10952
|
imports: [
|
|
10943
10953
|
common.CommonModule,
|
|
10944
10954
|
dragDrop.DragDropModule,
|
|
@@ -10978,8 +10988,8 @@
|
|
|
10978
10988
|
this.showMoreLabel = 'Show more';
|
|
10979
10989
|
this.showLessLabel = 'Show less';
|
|
10980
10990
|
this.noResultsLabel = "No results";
|
|
10981
|
-
this.collectionChange = new
|
|
10982
|
-
this.filterButtonClicked = new
|
|
10991
|
+
this.collectionChange = new i0.EventEmitter();
|
|
10992
|
+
this.filterButtonClicked = new i0.EventEmitter();
|
|
10983
10993
|
this.filteredCollection = [];
|
|
10984
10994
|
this.limitTo = 10;
|
|
10985
10995
|
this.filterText = "";
|
|
@@ -11093,33 +11103,33 @@
|
|
|
11093
11103
|
return FilterItemComponent;
|
|
11094
11104
|
}());
|
|
11095
11105
|
FilterItemComponent.decorators = [
|
|
11096
|
-
{ type:
|
|
11106
|
+
{ type: i0.Component, args: [{
|
|
11097
11107
|
selector: "co-filter-item",
|
|
11098
|
-
template: "\n <div class=\"co-filter-item-header\">\n <co-collapsible\n [headerTitle]=\"placeholder\"\n [expandButtonLast]=\"true\"\n [iconData]=\"iconService.getIcon(icons.ArrowPointDown)\"\n [expanded]=\"expanded\"\n [showButton]=\"showButton\"\n [buttonText]=\"filterButtonLabel\"\n (buttonClicked)=\"onButtonClicked()\"\n >\n <div class=\"co-filter-item-collapsable-content\">\n <div class=\"co-filter-item-custom-content\" *ngIf=\"customContent; else collectionContent\"\n (keydown)=\"showButton=true\" (click)=\"showButton=true\">\n <ng-content></ng-content>\n </div>\n <ng-template #collectionContent>\n <div class=\"co-filter-item-collection-content\">\n <co-input-text\n *ngIf=\"collection?.length > 10 || minSearchCharsToLoadCollection\"\n [placeholder]=\"searchPlaceholder\"\n [model]=\"filterText\"\n (modelChange)=\"applyFilter($event)\"\n >\n </co-input-text>\n <div class=\"no-results\" *ngIf=\"filteredCollection?.length === 0\">\n <span [textContent]=\"noResultsLabel\"></span>\n </div>\n <div class=\"co-filter-item-collection-results\">\n <ng-container\n *ngFor=\"let option of filteredCollection; let index = index\">\n <div class=\"co-filter-item-collection-result-item\" *ngIf=\"index < limitTo || showAllResults\">\n <co-input-checkbox *ngIf=\"!singleSelect\"\n [label]=\"option.description\"\n [model]=\"option.checked\"\n (modelChange)=\"handleModelChange(option)\"\n ></co-input-checkbox>\n <co-input-radio-button *ngIf=\"singleSelect\"\n [
|
|
11099
|
-
encapsulation:
|
|
11108
|
+
template: "\n <div class=\"co-filter-item-header\">\n <co-collapsible\n [headerTitle]=\"placeholder\"\n [expandButtonLast]=\"true\"\n [iconData]=\"iconService.getIcon(icons.ArrowPointDown)\"\n [expanded]=\"expanded\"\n [showButton]=\"showButton\"\n [buttonText]=\"filterButtonLabel\"\n (buttonClicked)=\"onButtonClicked()\"\n >\n <div class=\"co-filter-item-collapsable-content\">\n <div class=\"co-filter-item-custom-content\" *ngIf=\"customContent; else collectionContent\"\n (keydown)=\"showButton=true\" (click)=\"showButton=true\">\n <ng-content></ng-content>\n </div>\n <ng-template #collectionContent>\n <div class=\"co-filter-item-collection-content\">\n <co-input-text\n *ngIf=\"collection?.length > 10 || minSearchCharsToLoadCollection\"\n [placeholder]=\"searchPlaceholder\"\n [model]=\"filterText\"\n (modelChange)=\"applyFilter($event)\"\n >\n </co-input-text>\n <div class=\"no-results\" *ngIf=\"filteredCollection?.length === 0\">\n <span [textContent]=\"noResultsLabel\"></span>\n </div>\n <div class=\"co-filter-item-collection-results\">\n <ng-container\n *ngFor=\"let option of filteredCollection; let index = index\">\n <div class=\"co-filter-item-collection-result-item\" *ngIf=\"index < limitTo || showAllResults\">\n <co-input-checkbox *ngIf=\"!singleSelect\"\n [label]=\"option.description\"\n [model]=\"option.checked\"\n [clickableLabel]=\"false\"\n (modelChange)=\"handleModelChange(option)\"\n ></co-input-checkbox>\n <co-input-radio-button *ngIf=\"singleSelect\"\n [label]=\"option.description\"\n [model]=\"option.checked\"\n (modelChange)=\"handleModelChange(option)\"\n ></co-input-radio-button>\n <div class=\"co-filter-item-amount\" *ngIf=\"option.count\"\n [textContent]=\"option.count.toString() | append: ')' | prepend: ' ('\"\n ></div>\n </div>\n\n </ng-container>\n </div>\n <div class=\"co-filter-show-more-or-less\" *ngIf=\"!showAllResults\">\n <div class=\"co-filter-show-more clickable\"\n *ngIf=\"moreToShow()\">\n <a (click)=\"increaseLimit()\">\n <co-icon [iconData]=\"iconService.getIcon(icons.ArrowPointDown)\"></co-icon>\n <span [textContent]=\"showMoreLabel\"></span>\n </a>\n </div>\n <div class=\"co-filter-show-less clickable\"\n *ngIf=\"lessToShow()\">\n <a (click)=\"setToInitialLimit()\">\n <co-icon [iconData]=\"iconService.getIcon(icons.ArrowPointUp)\"></co-icon>\n <span [textContent]=\"showLessLabel\"></span>\n </a>\n </div>\n </div>\n </div>\n </ng-template>\n </div>\n </co-collapsible>\n </div>\n\n ",
|
|
11109
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
11100
11110
|
},] }
|
|
11101
11111
|
];
|
|
11102
11112
|
FilterItemComponent.ctorParameters = function () { return [
|
|
11103
11113
|
{ type: IconCacheService }
|
|
11104
11114
|
]; };
|
|
11105
11115
|
FilterItemComponent.propDecorators = {
|
|
11106
|
-
collection: [{ type:
|
|
11107
|
-
placeholder: [{ type:
|
|
11108
|
-
initialLimit: [{ type:
|
|
11109
|
-
expanded: [{ type:
|
|
11110
|
-
minSearchCharsToLoadCollection: [{ type:
|
|
11111
|
-
collectionLoadFn: [{ type:
|
|
11112
|
-
customContent: [{ type:
|
|
11113
|
-
showAllResults: [{ type:
|
|
11114
|
-
singleSelect: [{ type:
|
|
11115
|
-
filterButtonLabel: [{ type:
|
|
11116
|
-
searchPlaceholder: [{ type:
|
|
11117
|
-
showMoreLabel: [{ type:
|
|
11118
|
-
showLessLabel: [{ type:
|
|
11119
|
-
noResultsLabel: [{ type:
|
|
11120
|
-
collectionChange: [{ type:
|
|
11121
|
-
filterButtonClicked: [{ type:
|
|
11122
|
-
showClass: [{ type:
|
|
11116
|
+
collection: [{ type: i0.Input }],
|
|
11117
|
+
placeholder: [{ type: i0.Input }],
|
|
11118
|
+
initialLimit: [{ type: i0.Input }],
|
|
11119
|
+
expanded: [{ type: i0.Input }],
|
|
11120
|
+
minSearchCharsToLoadCollection: [{ type: i0.Input }],
|
|
11121
|
+
collectionLoadFn: [{ type: i0.Input }],
|
|
11122
|
+
customContent: [{ type: i0.Input }],
|
|
11123
|
+
showAllResults: [{ type: i0.Input }],
|
|
11124
|
+
singleSelect: [{ type: i0.Input }],
|
|
11125
|
+
filterButtonLabel: [{ type: i0.Input }],
|
|
11126
|
+
searchPlaceholder: [{ type: i0.Input }],
|
|
11127
|
+
showMoreLabel: [{ type: i0.Input }],
|
|
11128
|
+
showLessLabel: [{ type: i0.Input }],
|
|
11129
|
+
noResultsLabel: [{ type: i0.Input }],
|
|
11130
|
+
collectionChange: [{ type: i0.Output }],
|
|
11131
|
+
filterButtonClicked: [{ type: i0.Output }],
|
|
11132
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-filter-item",] }]
|
|
11123
11133
|
};
|
|
11124
11134
|
|
|
11125
11135
|
// A pipe for prepending strings to other strings in view templates.
|
|
@@ -11138,7 +11148,7 @@
|
|
|
11138
11148
|
return PrependPipe;
|
|
11139
11149
|
}());
|
|
11140
11150
|
PrependPipe.decorators = [
|
|
11141
|
-
{ type:
|
|
11151
|
+
{ type: i0.Pipe, args: [{ name: "prepend" },] }
|
|
11142
11152
|
];
|
|
11143
11153
|
|
|
11144
11154
|
var PrependPipeModule = /** @class */ (function () {
|
|
@@ -11147,7 +11157,7 @@
|
|
|
11147
11157
|
return PrependPipeModule;
|
|
11148
11158
|
}());
|
|
11149
11159
|
PrependPipeModule.decorators = [
|
|
11150
|
-
{ type:
|
|
11160
|
+
{ type: i0.NgModule, args: [{
|
|
11151
11161
|
declarations: [
|
|
11152
11162
|
PrependPipe
|
|
11153
11163
|
],
|
|
@@ -11163,7 +11173,7 @@
|
|
|
11163
11173
|
return FilterItemModule;
|
|
11164
11174
|
}());
|
|
11165
11175
|
FilterItemModule.decorators = [
|
|
11166
|
-
{ type:
|
|
11176
|
+
{ type: i0.NgModule, args: [{
|
|
11167
11177
|
imports: [
|
|
11168
11178
|
common.CommonModule,
|
|
11169
11179
|
CollapsibleModule,
|
|
@@ -11175,7 +11185,8 @@
|
|
|
11175
11185
|
AppendPipeModule,
|
|
11176
11186
|
PrependPipeModule,
|
|
11177
11187
|
InputTextModule,
|
|
11178
|
-
InputRadioButtonModule
|
|
11188
|
+
InputRadioButtonModule,
|
|
11189
|
+
InputTextModule
|
|
11179
11190
|
],
|
|
11180
11191
|
declarations: [
|
|
11181
11192
|
FilterItemComponent
|
|
@@ -11314,10 +11325,10 @@
|
|
|
11314
11325
|
return ClickOutsideMasterService;
|
|
11315
11326
|
}());
|
|
11316
11327
|
ClickOutsideMasterService.decorators = [
|
|
11317
|
-
{ type:
|
|
11328
|
+
{ type: i0.Injectable }
|
|
11318
11329
|
];
|
|
11319
11330
|
ClickOutsideMasterService.ctorParameters = function () { return [
|
|
11320
|
-
{ type:
|
|
11331
|
+
{ type: i0.NgZone }
|
|
11321
11332
|
]; };
|
|
11322
11333
|
|
|
11323
11334
|
var ClickOutsideDirective = /** @class */ (function () {
|
|
@@ -11326,7 +11337,7 @@
|
|
|
11326
11337
|
this.elementRef = elementRef;
|
|
11327
11338
|
this._ngZone = _ngZone;
|
|
11328
11339
|
this._master = _master;
|
|
11329
|
-
this.clickOutside = new
|
|
11340
|
+
this.clickOutside = new i0.EventEmitter();
|
|
11330
11341
|
this._enabled = true;
|
|
11331
11342
|
this._initialized = false;
|
|
11332
11343
|
this.onClick = function (event) {
|
|
@@ -11378,20 +11389,20 @@
|
|
|
11378
11389
|
return ClickOutsideDirective;
|
|
11379
11390
|
}());
|
|
11380
11391
|
ClickOutsideDirective.decorators = [
|
|
11381
|
-
{ type:
|
|
11392
|
+
{ type: i0.Directive, args: [{
|
|
11382
11393
|
selector: "[clickOutside]",
|
|
11383
11394
|
exportAs: 'clickOutside'
|
|
11384
11395
|
},] }
|
|
11385
11396
|
];
|
|
11386
11397
|
ClickOutsideDirective.ctorParameters = function () { return [
|
|
11387
|
-
{ type:
|
|
11388
|
-
{ type:
|
|
11398
|
+
{ type: i0.ElementRef },
|
|
11399
|
+
{ type: i0.NgZone },
|
|
11389
11400
|
{ type: ClickOutsideMasterService }
|
|
11390
11401
|
]; };
|
|
11391
11402
|
ClickOutsideDirective.propDecorators = {
|
|
11392
|
-
enabled: [{ type:
|
|
11393
|
-
alwaysTrigger: [{ type:
|
|
11394
|
-
clickOutside: [{ type:
|
|
11403
|
+
enabled: [{ type: i0.Input, args: ["clickOutside",] }],
|
|
11404
|
+
alwaysTrigger: [{ type: i0.Input }],
|
|
11405
|
+
clickOutside: [{ type: i0.Output }]
|
|
11395
11406
|
};
|
|
11396
11407
|
__decorate([
|
|
11397
11408
|
InputBoolean()
|
|
@@ -11403,7 +11414,7 @@
|
|
|
11403
11414
|
return ClickoutsideModule;
|
|
11404
11415
|
}());
|
|
11405
11416
|
ClickoutsideModule.decorators = [
|
|
11406
|
-
{ type:
|
|
11417
|
+
{ type: i0.NgModule, args: [{
|
|
11407
11418
|
declarations: [
|
|
11408
11419
|
ClickOutsideDirective
|
|
11409
11420
|
],
|
|
@@ -11416,6 +11427,28 @@
|
|
|
11416
11427
|
},] }
|
|
11417
11428
|
];
|
|
11418
11429
|
|
|
11430
|
+
var ColorSequenceService = /** @class */ (function () {
|
|
11431
|
+
function ColorSequenceService() {
|
|
11432
|
+
this.colors = new Map();
|
|
11433
|
+
}
|
|
11434
|
+
ColorSequenceService.prototype.getRandomColor = function (id) {
|
|
11435
|
+
if (this.colors.has(id)) {
|
|
11436
|
+
return this.colors.get(id);
|
|
11437
|
+
}
|
|
11438
|
+
var randomColor = Math.floor(Math.random() * 16777215).toString(16);
|
|
11439
|
+
var result = '#' + randomColor;
|
|
11440
|
+
this.colors.set(id, result);
|
|
11441
|
+
return result;
|
|
11442
|
+
};
|
|
11443
|
+
return ColorSequenceService;
|
|
11444
|
+
}());
|
|
11445
|
+
ColorSequenceService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ColorSequenceService_Factory() { return new ColorSequenceService(); }, token: ColorSequenceService, providedIn: "root" });
|
|
11446
|
+
ColorSequenceService.decorators = [
|
|
11447
|
+
{ type: i0.Injectable, args: [{
|
|
11448
|
+
providedIn: 'root'
|
|
11449
|
+
},] }
|
|
11450
|
+
];
|
|
11451
|
+
|
|
11419
11452
|
/*
|
|
11420
11453
|
* Public API Surface of corecomponents
|
|
11421
11454
|
*/
|
|
@@ -11461,6 +11494,7 @@
|
|
|
11461
11494
|
exports.CoToggleModule = CoToggleModule;
|
|
11462
11495
|
exports.CollapsibleComponent = CollapsibleComponent;
|
|
11463
11496
|
exports.CollapsibleModule = CollapsibleModule;
|
|
11497
|
+
exports.ColorSequenceService = ColorSequenceService;
|
|
11464
11498
|
exports.DropDownListComponent = DropDownListComponent;
|
|
11465
11499
|
exports.DropDownModule = DropDownModule;
|
|
11466
11500
|
exports.FilterItemComponent = FilterItemComponent;
|