@colijnit/corecomponents_v12 12.0.73 → 12.0.75
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 +953 -918
- 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 +5 -3
- package/esm2015/lib/components/filter-item/filter-item.module.js +3 -2
- package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +9 -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 -31
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/input-checkbox/input-checkbox.component.d.ts +1 -3
- package/lib/components/input-checkbox/style/_layout.scss +68 -1
- 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,7 @@
|
|
|
6407
6408
|
_this.formUserChangeListener = formUserChangeListener;
|
|
6408
6409
|
_this.ngZoneWrapper = ngZoneWrapper;
|
|
6409
6410
|
_this.elementRef = elementRef;
|
|
6410
|
-
_this.modelChange = new
|
|
6411
|
+
_this.modelChange = new i0.EventEmitter();
|
|
6411
6412
|
return _this;
|
|
6412
6413
|
}
|
|
6413
6414
|
InputCheckboxComponent.prototype.showClass = function () {
|
|
@@ -6417,43 +6418,43 @@
|
|
|
6417
6418
|
this.model = value;
|
|
6418
6419
|
this.modelChange.next(this.model);
|
|
6419
6420
|
};
|
|
6420
|
-
InputCheckboxComponent.prototype.handleModelChange = function (
|
|
6421
|
+
InputCheckboxComponent.prototype.handleModelChange = function (event) {
|
|
6422
|
+
event.preventDefault();
|
|
6423
|
+
event.stopPropagation();
|
|
6421
6424
|
if (!this.readonly && !this.disabled) {
|
|
6422
|
-
this.setModel(
|
|
6425
|
+
this.setModel(!this.model);
|
|
6423
6426
|
}
|
|
6424
6427
|
};
|
|
6425
6428
|
return InputCheckboxComponent;
|
|
6426
6429
|
}(BaseInputComponent));
|
|
6427
6430
|
InputCheckboxComponent.decorators = [
|
|
6428
|
-
{ type:
|
|
6431
|
+
{ type: i0.Component, args: [{
|
|
6429
6432
|
selector: "co-input-checkbox",
|
|
6430
|
-
template: "\n <
|
|
6433
|
+
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\" *ngIf=\"label\" [textContent]=\"label\" (click)=\"handleModelChange($event)\"></div>\n ",
|
|
6431
6434
|
providers: [{
|
|
6432
6435
|
provide: COMPONENT_INTERFACE_NAME,
|
|
6433
|
-
useExisting:
|
|
6436
|
+
useExisting: i0.forwardRef(function () { return InputCheckboxComponent; })
|
|
6434
6437
|
}, {
|
|
6435
6438
|
provide: BaseInputComponent,
|
|
6436
6439
|
useExisting: InputCheckboxComponent
|
|
6437
6440
|
}],
|
|
6438
|
-
changeDetection:
|
|
6439
|
-
encapsulation:
|
|
6441
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6442
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6440
6443
|
},] }
|
|
6441
6444
|
];
|
|
6442
6445
|
InputCheckboxComponent.ctorParameters = function () { return [
|
|
6443
|
-
{ type: FormComponent, decorators: [{ type:
|
|
6446
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
6444
6447
|
{ type: IconCacheService },
|
|
6445
|
-
{ type:
|
|
6446
|
-
{ type:
|
|
6448
|
+
{ type: i0.ChangeDetectorRef },
|
|
6449
|
+
{ type: i0.ComponentFactoryResolver },
|
|
6447
6450
|
{ type: FormInputUserModelChangeListenerService },
|
|
6448
6451
|
{ type: NgZoneWrapperService },
|
|
6449
|
-
{ type:
|
|
6452
|
+
{ type: i0.ElementRef }
|
|
6450
6453
|
]; };
|
|
6451
6454
|
InputCheckboxComponent.propDecorators = {
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
modelChange: [{ type: core.Output }],
|
|
6456
|
-
showClass: [{ type: core.HostBinding, args: ["class.co-input-checkbox",] }]
|
|
6455
|
+
cssClass: [{ type: i0.Input }],
|
|
6456
|
+
modelChange: [{ type: i0.Output }],
|
|
6457
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-checkbox",] }]
|
|
6457
6458
|
};
|
|
6458
6459
|
|
|
6459
6460
|
ej2Base.enableRipple(true);
|
|
@@ -6463,7 +6464,7 @@
|
|
|
6463
6464
|
return InputCheckboxModule;
|
|
6464
6465
|
}());
|
|
6465
6466
|
InputCheckboxModule.decorators = [
|
|
6466
|
-
{ type:
|
|
6467
|
+
{ type: i0.NgModule, args: [{
|
|
6467
6468
|
imports: [
|
|
6468
6469
|
BaseModule,
|
|
6469
6470
|
common.CommonModule,
|
|
@@ -6491,7 +6492,7 @@
|
|
|
6491
6492
|
return AppendPipe;
|
|
6492
6493
|
}());
|
|
6493
6494
|
AppendPipe.decorators = [
|
|
6494
|
-
{ type:
|
|
6495
|
+
{ type: i0.Pipe, args: [{ name: "append" },] }
|
|
6495
6496
|
];
|
|
6496
6497
|
|
|
6497
6498
|
var AppendPipeModule = /** @class */ (function () {
|
|
@@ -6500,7 +6501,7 @@
|
|
|
6500
6501
|
return AppendPipeModule;
|
|
6501
6502
|
}());
|
|
6502
6503
|
AppendPipeModule.decorators = [
|
|
6503
|
-
{ type:
|
|
6504
|
+
{ type: i0.NgModule, args: [{
|
|
6504
6505
|
declarations: [
|
|
6505
6506
|
AppendPipe
|
|
6506
6507
|
],
|
|
@@ -6529,35 +6530,35 @@
|
|
|
6529
6530
|
return InputCheckboxMultiSelectComponent;
|
|
6530
6531
|
}(BaseInputComponent));
|
|
6531
6532
|
InputCheckboxMultiSelectComponent.decorators = [
|
|
6532
|
-
{ type:
|
|
6533
|
+
{ type: i0.Component, args: [{
|
|
6533
6534
|
selector: "co-input-checkbox-multi-select",
|
|
6534
6535
|
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
6536
|
providers: [{
|
|
6536
6537
|
provide: COMPONENT_INTERFACE_NAME,
|
|
6537
|
-
useExisting:
|
|
6538
|
+
useExisting: i0.forwardRef(function () { return InputCheckboxMultiSelectComponent; })
|
|
6538
6539
|
}, {
|
|
6539
6540
|
provide: BaseInputComponent,
|
|
6540
6541
|
useExisting: InputCheckboxMultiSelectComponent
|
|
6541
6542
|
}],
|
|
6542
|
-
changeDetection:
|
|
6543
|
-
encapsulation:
|
|
6543
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6544
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6544
6545
|
},] }
|
|
6545
6546
|
];
|
|
6546
6547
|
InputCheckboxMultiSelectComponent.ctorParameters = function () { return [
|
|
6547
|
-
{ type: FormComponent, decorators: [{ type:
|
|
6548
|
-
{ type:
|
|
6549
|
-
{ type:
|
|
6548
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
6549
|
+
{ type: i0.ChangeDetectorRef },
|
|
6550
|
+
{ type: i0.ComponentFactoryResolver },
|
|
6550
6551
|
{ type: FormInputUserModelChangeListenerService },
|
|
6551
6552
|
{ type: NgZoneWrapperService },
|
|
6552
|
-
{ type:
|
|
6553
|
+
{ type: i0.ElementRef }
|
|
6553
6554
|
]; };
|
|
6554
6555
|
InputCheckboxMultiSelectComponent.propDecorators = {
|
|
6555
|
-
source: [{ type:
|
|
6556
|
-
fields: [{ type:
|
|
6557
|
-
selected: [{ type:
|
|
6558
|
-
placeholder: [{ type:
|
|
6559
|
-
filterPlaceholder: [{ type:
|
|
6560
|
-
showClass: [{ type:
|
|
6556
|
+
source: [{ type: i0.Input }],
|
|
6557
|
+
fields: [{ type: i0.Input }],
|
|
6558
|
+
selected: [{ type: i0.Input }],
|
|
6559
|
+
placeholder: [{ type: i0.Input }],
|
|
6560
|
+
filterPlaceholder: [{ type: i0.Input }],
|
|
6561
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-checkbox-multi-select",] }]
|
|
6561
6562
|
};
|
|
6562
6563
|
|
|
6563
6564
|
var InputCheckboxMultiSelectModule = /** @class */ (function () {
|
|
@@ -6566,7 +6567,7 @@
|
|
|
6566
6567
|
return InputCheckboxMultiSelectModule;
|
|
6567
6568
|
}());
|
|
6568
6569
|
InputCheckboxMultiSelectModule.decorators = [
|
|
6569
|
-
{ type:
|
|
6570
|
+
{ type: i0.NgModule, args: [{
|
|
6570
6571
|
imports: [
|
|
6571
6572
|
BaseModule,
|
|
6572
6573
|
common.CommonModule,
|
|
@@ -6591,7 +6592,7 @@
|
|
|
6591
6592
|
_this.ngZoneWrapper = ngZoneWrapper;
|
|
6592
6593
|
_this.elementRef = elementRef;
|
|
6593
6594
|
_this.shopPopup = true;
|
|
6594
|
-
_this.valueChange = new
|
|
6595
|
+
_this.valueChange = new i0.EventEmitter();
|
|
6595
6596
|
_this.isSmall = false;
|
|
6596
6597
|
_super.prototype._markAsOnPush.call(_this);
|
|
6597
6598
|
return _this;
|
|
@@ -6607,39 +6608,39 @@
|
|
|
6607
6608
|
return InputComboBoxComponent;
|
|
6608
6609
|
}(BaseInputComponent));
|
|
6609
6610
|
InputComboBoxComponent.decorators = [
|
|
6610
|
-
{ type:
|
|
6611
|
+
{ type: i0.Component, args: [{
|
|
6611
6612
|
selector: "co-input-combo-box",
|
|
6612
6613
|
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
6614
|
providers: [{
|
|
6614
6615
|
provide: COMPONENT_INTERFACE_NAME,
|
|
6615
|
-
useExisting:
|
|
6616
|
+
useExisting: i0.forwardRef(function () { return InputComboBoxComponent; })
|
|
6616
6617
|
}, {
|
|
6617
6618
|
provide: BaseInputComponent,
|
|
6618
6619
|
useExisting: InputComboBoxComponent
|
|
6619
6620
|
}],
|
|
6620
|
-
encapsulation:
|
|
6621
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6621
6622
|
},] }
|
|
6622
6623
|
];
|
|
6623
6624
|
InputComboBoxComponent.ctorParameters = function () { return [
|
|
6624
|
-
{ type: FormComponent, decorators: [{ type:
|
|
6625
|
-
{ type:
|
|
6626
|
-
{ type:
|
|
6625
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
6626
|
+
{ type: i0.ChangeDetectorRef },
|
|
6627
|
+
{ type: i0.ComponentFactoryResolver },
|
|
6627
6628
|
{ type: FormInputUserModelChangeListenerService },
|
|
6628
6629
|
{ type: NgZoneWrapperService },
|
|
6629
|
-
{ type:
|
|
6630
|
+
{ type: i0.ElementRef }
|
|
6630
6631
|
]; };
|
|
6631
6632
|
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:
|
|
6633
|
+
combo: [{ type: i0.ViewChild, args: ["combo",] }],
|
|
6634
|
+
collection: [{ type: i0.Input }],
|
|
6635
|
+
fields: [{ type: i0.Input }],
|
|
6636
|
+
selected: [{ type: i0.Input }],
|
|
6637
|
+
placeholder: [{ type: i0.Input }],
|
|
6638
|
+
shopPopup: [{ type: i0.Input }],
|
|
6639
|
+
popupHeight: [{ type: i0.Input }],
|
|
6640
|
+
popupWidth: [{ type: i0.Input }],
|
|
6641
|
+
valueChange: [{ type: i0.Output }],
|
|
6642
|
+
isSmall: [{ type: i0.HostBinding, args: ['class.is-small',] }, { type: i0.Input }],
|
|
6643
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-combo-box",] }]
|
|
6643
6644
|
};
|
|
6644
6645
|
|
|
6645
6646
|
var InputComboBoxModule = /** @class */ (function () {
|
|
@@ -6648,7 +6649,7 @@
|
|
|
6648
6649
|
return InputComboBoxModule;
|
|
6649
6650
|
}());
|
|
6650
6651
|
InputComboBoxModule.decorators = [
|
|
6651
|
-
{ type:
|
|
6652
|
+
{ type: i0.NgModule, args: [{
|
|
6652
6653
|
imports: [
|
|
6653
6654
|
BaseModule,
|
|
6654
6655
|
common.CommonModule,
|
|
@@ -6678,7 +6679,7 @@
|
|
|
6678
6679
|
_this.calendarIconName = _this.icons.CalendarEmpty;
|
|
6679
6680
|
_this.iconHeight = "24px";
|
|
6680
6681
|
_this.placeholder = "";
|
|
6681
|
-
_this.blur = new
|
|
6682
|
+
_this.blur = new i0.EventEmitter();
|
|
6682
6683
|
_this.isMinimal = false;
|
|
6683
6684
|
_super.prototype._markAsOnPush.call(_this);
|
|
6684
6685
|
return _this;
|
|
@@ -6717,45 +6718,45 @@
|
|
|
6717
6718
|
return InputDatePickerComponent;
|
|
6718
6719
|
}(BaseInputComponent));
|
|
6719
6720
|
InputDatePickerComponent.decorators = [
|
|
6720
|
-
{ type:
|
|
6721
|
+
{ type: i0.Component, args: [{
|
|
6721
6722
|
selector: "co-input-date",
|
|
6722
6723
|
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
6724
|
providers: [{
|
|
6724
|
-
provide: COMPONENT_INTERFACE_NAME, useExisting:
|
|
6725
|
+
provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputDatePickerComponent; })
|
|
6725
6726
|
}, {
|
|
6726
6727
|
provide: BaseInputComponent,
|
|
6727
6728
|
useExisting: InputDatePickerComponent
|
|
6728
6729
|
}],
|
|
6729
|
-
encapsulation:
|
|
6730
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6730
6731
|
},] }
|
|
6731
6732
|
];
|
|
6732
6733
|
InputDatePickerComponent.ctorParameters = function () { return [
|
|
6733
|
-
{ type: FormComponent, decorators: [{ type:
|
|
6734
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
6734
6735
|
{ type: IconCacheService },
|
|
6735
|
-
{ type:
|
|
6736
|
-
{ type:
|
|
6736
|
+
{ type: i0.ChangeDetectorRef },
|
|
6737
|
+
{ type: i0.ComponentFactoryResolver },
|
|
6737
6738
|
{ type: FormInputUserModelChangeListenerService },
|
|
6738
6739
|
{ type: NgZoneWrapperService },
|
|
6739
|
-
{ type:
|
|
6740
|
+
{ type: i0.ElementRef }
|
|
6740
6741
|
]; };
|
|
6741
6742
|
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:
|
|
6743
|
+
ejsDatePicker: [{ type: i0.ViewChild, args: ["ejsDatePicker",] }],
|
|
6744
|
+
dateFormat: [{ type: i0.Input }],
|
|
6745
|
+
calendarIconName: [{ type: i0.Input }],
|
|
6746
|
+
iconHeight: [{ type: i0.Input }],
|
|
6747
|
+
placeholder: [{ type: i0.Input }],
|
|
6748
|
+
width: [{ type: i0.Input }],
|
|
6749
|
+
blur: [{ type: i0.Output }],
|
|
6750
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-date",] }],
|
|
6751
|
+
isMinimal: [{ type: i0.HostBinding, args: ['class.is-minimal',] }, { type: i0.Input }]
|
|
6751
6752
|
};
|
|
6752
6753
|
|
|
6753
6754
|
var CommitButtonsComponent = /** @class */ (function () {
|
|
6754
6755
|
function CommitButtonsComponent(_renderer) {
|
|
6755
6756
|
var _this = this;
|
|
6756
6757
|
this._renderer = _renderer;
|
|
6757
|
-
this.cancelClick = new
|
|
6758
|
-
this.commitClick = new
|
|
6758
|
+
this.cancelClick = new i0.EventEmitter();
|
|
6759
|
+
this.commitClick = new i0.EventEmitter();
|
|
6759
6760
|
this._committing = false;
|
|
6760
6761
|
this._commitFinished = false;
|
|
6761
6762
|
this._handleAnimationIteration = function (event) {
|
|
@@ -6815,7 +6816,7 @@
|
|
|
6815
6816
|
return CommitButtonsComponent;
|
|
6816
6817
|
}());
|
|
6817
6818
|
CommitButtonsComponent.decorators = [
|
|
6818
|
-
{ type:
|
|
6819
|
+
{ type: i0.Component, args: [{
|
|
6819
6820
|
selector: "co-commit-buttons",
|
|
6820
6821
|
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
6822
|
animations: [
|
|
@@ -6825,19 +6826,19 @@
|
|
|
6825
6826
|
animations.transition('void <=> *', animations.animate(200))
|
|
6826
6827
|
]),
|
|
6827
6828
|
],
|
|
6828
|
-
encapsulation:
|
|
6829
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6829
6830
|
},] }
|
|
6830
6831
|
];
|
|
6831
6832
|
CommitButtonsComponent.ctorParameters = function () { return [
|
|
6832
|
-
{ type:
|
|
6833
|
+
{ type: i0.Renderer2 }
|
|
6833
6834
|
]; };
|
|
6834
6835
|
CommitButtonsComponent.propDecorators = {
|
|
6835
|
-
content: [{ type:
|
|
6836
|
-
committing: [{ type:
|
|
6837
|
-
commitFinished: [{ type:
|
|
6838
|
-
cancelClick: [{ type:
|
|
6839
|
-
commitClick: [{ type:
|
|
6840
|
-
showClass: [{ type:
|
|
6836
|
+
content: [{ type: i0.ViewChildren, args: ['animatediv', { read: i0.ElementRef },] }],
|
|
6837
|
+
committing: [{ type: i0.Input }],
|
|
6838
|
+
commitFinished: [{ type: i0.Input }],
|
|
6839
|
+
cancelClick: [{ type: i0.Output }],
|
|
6840
|
+
commitClick: [{ type: i0.Output }],
|
|
6841
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-commit-buttons",] }]
|
|
6841
6842
|
};
|
|
6842
6843
|
|
|
6843
6844
|
var CommitButtonsModule = /** @class */ (function () {
|
|
@@ -6846,7 +6847,7 @@
|
|
|
6846
6847
|
return CommitButtonsModule;
|
|
6847
6848
|
}());
|
|
6848
6849
|
CommitButtonsModule.decorators = [
|
|
6849
|
-
{ type:
|
|
6850
|
+
{ type: i0.NgModule, args: [{
|
|
6850
6851
|
imports: [
|
|
6851
6852
|
common.CommonModule
|
|
6852
6853
|
],
|
|
@@ -6865,7 +6866,7 @@
|
|
|
6865
6866
|
return InputDatePickerModule;
|
|
6866
6867
|
}());
|
|
6867
6868
|
InputDatePickerModule.decorators = [
|
|
6868
|
-
{ type:
|
|
6869
|
+
{ type: i0.NgModule, args: [{
|
|
6869
6870
|
imports: [
|
|
6870
6871
|
BaseModule,
|
|
6871
6872
|
common.CommonModule,
|
|
@@ -6876,7 +6877,7 @@
|
|
|
6876
6877
|
CommitButtonsModule
|
|
6877
6878
|
],
|
|
6878
6879
|
schemas: [
|
|
6879
|
-
|
|
6880
|
+
i0.NO_ERRORS_SCHEMA
|
|
6880
6881
|
],
|
|
6881
6882
|
declarations: [InputDatePickerComponent],
|
|
6882
6883
|
exports: [InputDatePickerComponent]
|
|
@@ -6889,12 +6890,12 @@
|
|
|
6889
6890
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
6890
6891
|
_this.dateFormat = "dd-MM-yyyy";
|
|
6891
6892
|
_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
|
|
6893
|
+
_this.startDateChange = new i0.EventEmitter();
|
|
6894
|
+
_this.endDateChange = new i0.EventEmitter();
|
|
6895
|
+
_this.dateRangeChange = new i0.EventEmitter();
|
|
6896
|
+
_this.close = new i0.EventEmitter();
|
|
6897
|
+
_this.select = new i0.EventEmitter();
|
|
6898
|
+
_this.cleared = new i0.EventEmitter();
|
|
6898
6899
|
return _this;
|
|
6899
6900
|
}
|
|
6900
6901
|
InputDateRangePickerComponent.prototype.showClass = function () {
|
|
@@ -6910,24 +6911,24 @@
|
|
|
6910
6911
|
return InputDateRangePickerComponent;
|
|
6911
6912
|
}(BaseInputComponent));
|
|
6912
6913
|
InputDateRangePickerComponent.decorators = [
|
|
6913
|
-
{ type:
|
|
6914
|
+
{ type: i0.Component, args: [{
|
|
6914
6915
|
selector: "co-input-date-range",
|
|
6915
6916
|
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:
|
|
6917
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
6917
6918
|
},] }
|
|
6918
6919
|
];
|
|
6919
6920
|
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:
|
|
6921
|
+
dateFormat: [{ type: i0.Input }],
|
|
6922
|
+
placeholder: [{ type: i0.Input }],
|
|
6923
|
+
startDate: [{ type: i0.Input }],
|
|
6924
|
+
endDate: [{ type: i0.Input }],
|
|
6925
|
+
startDateChange: [{ type: i0.Output }],
|
|
6926
|
+
endDateChange: [{ type: i0.Output }],
|
|
6927
|
+
dateRangeChange: [{ type: i0.Output }],
|
|
6928
|
+
close: [{ type: i0.Output }],
|
|
6929
|
+
select: [{ type: i0.Output }],
|
|
6930
|
+
cleared: [{ type: i0.Output }],
|
|
6931
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-date-range-picker",] }]
|
|
6931
6932
|
};
|
|
6932
6933
|
|
|
6933
6934
|
var InputDateRangePickerModule = /** @class */ (function () {
|
|
@@ -6936,7 +6937,7 @@
|
|
|
6936
6937
|
return InputDateRangePickerModule;
|
|
6937
6938
|
}());
|
|
6938
6939
|
InputDateRangePickerModule.decorators = [
|
|
6939
|
-
{ type:
|
|
6940
|
+
{ type: i0.NgModule, args: [{
|
|
6940
6941
|
imports: [
|
|
6941
6942
|
BaseModule,
|
|
6942
6943
|
ej2AngularCalendars.DateRangePickerModule,
|
|
@@ -7002,36 +7003,36 @@
|
|
|
7002
7003
|
return InputListboxComponent;
|
|
7003
7004
|
}(BaseInputComponent));
|
|
7004
7005
|
InputListboxComponent.decorators = [
|
|
7005
|
-
{ type:
|
|
7006
|
+
{ type: i0.Component, args: [{
|
|
7006
7007
|
selector: 'co-input-listbox',
|
|
7007
7008
|
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
7009
|
providers: [{
|
|
7009
|
-
provide: COMPONENT_INTERFACE_NAME, useExisting:
|
|
7010
|
+
provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputListboxComponent; })
|
|
7010
7011
|
}, {
|
|
7011
7012
|
provide: BaseInputComponent,
|
|
7012
7013
|
useExisting: InputListboxComponent
|
|
7013
7014
|
}],
|
|
7014
|
-
encapsulation:
|
|
7015
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
7015
7016
|
},] }
|
|
7016
7017
|
];
|
|
7017
7018
|
InputListboxComponent.ctorParameters = function () { return [
|
|
7018
|
-
{ type: FormComponent, decorators: [{ type:
|
|
7019
|
-
{ type:
|
|
7020
|
-
{ type:
|
|
7019
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
7020
|
+
{ type: i0.ChangeDetectorRef },
|
|
7021
|
+
{ type: i0.ComponentFactoryResolver },
|
|
7021
7022
|
{ type: FormInputUserModelChangeListenerService },
|
|
7022
7023
|
{ type: NgZoneWrapperService },
|
|
7023
|
-
{ type:
|
|
7024
|
+
{ type: i0.ElementRef }
|
|
7024
7025
|
]; };
|
|
7025
7026
|
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:
|
|
7027
|
+
customCssClass: [{ type: i0.Input }],
|
|
7028
|
+
placeholder: [{ type: i0.Input }],
|
|
7029
|
+
value: [{ type: i0.Input }],
|
|
7030
|
+
collection: [{ type: i0.Input }],
|
|
7031
|
+
fields: [{ type: i0.Input }],
|
|
7032
|
+
singleSelect: [{ type: i0.Input }],
|
|
7033
|
+
showCheckbox: [{ type: i0.Input }],
|
|
7034
|
+
showSelectAll: [{ type: i0.Input }],
|
|
7035
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-input-listbox',] }]
|
|
7035
7036
|
};
|
|
7036
7037
|
|
|
7037
7038
|
ej2Base.enableRipple(true);
|
|
@@ -7041,7 +7042,7 @@
|
|
|
7041
7042
|
return InputListboxModule;
|
|
7042
7043
|
}());
|
|
7043
7044
|
InputListboxModule.decorators = [
|
|
7044
|
-
{ type:
|
|
7045
|
+
{ type: i0.NgModule, args: [{
|
|
7045
7046
|
imports: [
|
|
7046
7047
|
common.CommonModule,
|
|
7047
7048
|
forms.FormsModule,
|
|
@@ -7411,7 +7412,7 @@
|
|
|
7411
7412
|
// @override Default true for us.
|
|
7412
7413
|
_this.noValidation = true;
|
|
7413
7414
|
// @override
|
|
7414
|
-
_this.modelChange = new
|
|
7415
|
+
_this.modelChange = new i0.EventEmitter();
|
|
7415
7416
|
_this.myKeyDownWhiteList = NUMBER_INPUTS_KEY_DOWN_WHITE_LIST;
|
|
7416
7417
|
_this.numberLogic = new BoundsConstrainedNumberValue();
|
|
7417
7418
|
_this.minSelected = false;
|
|
@@ -7639,42 +7640,42 @@
|
|
|
7639
7640
|
return InputNumberPickerComponent;
|
|
7640
7641
|
}(BaseInputComponent));
|
|
7641
7642
|
InputNumberPickerComponent.decorators = [
|
|
7642
|
-
{ type:
|
|
7643
|
+
{ type: i0.Component, args: [{
|
|
7643
7644
|
selector: 'co-input-number-picker',
|
|
7644
7645
|
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
7646
|
providers: [{
|
|
7646
|
-
provide: COMPONENT_INTERFACE_NAME, useExisting:
|
|
7647
|
+
provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputNumberPickerComponent; })
|
|
7647
7648
|
}, {
|
|
7648
7649
|
provide: BaseInputComponent,
|
|
7649
7650
|
useExisting: InputNumberPickerComponent
|
|
7650
7651
|
}],
|
|
7651
|
-
changeDetection:
|
|
7652
|
-
encapsulation:
|
|
7652
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
7653
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
7653
7654
|
},] }
|
|
7654
7655
|
];
|
|
7655
7656
|
InputNumberPickerComponent.ctorParameters = function () { return [
|
|
7656
|
-
{ type: FormComponent, decorators: [{ type:
|
|
7657
|
-
{ type: IconCacheService, decorators: [{ type:
|
|
7658
|
-
{ type:
|
|
7659
|
-
{ type:
|
|
7660
|
-
{ type:
|
|
7657
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
7658
|
+
{ type: IconCacheService, decorators: [{ type: i0.Inject, args: [IconCacheService,] }] },
|
|
7659
|
+
{ type: i0.NgZone },
|
|
7660
|
+
{ type: i0.ComponentFactoryResolver },
|
|
7661
|
+
{ type: i0.ChangeDetectorRef },
|
|
7661
7662
|
{ type: FormInputUserModelChangeListenerService }
|
|
7662
7663
|
]; };
|
|
7663
7664
|
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:
|
|
7665
|
+
model: [{ type: i0.Input }],
|
|
7666
|
+
min: [{ type: i0.Input }],
|
|
7667
|
+
step: [{ type: i0.Input }],
|
|
7668
|
+
max: [{ type: i0.Input }],
|
|
7669
|
+
ngModelOptions: [{ type: i0.Input }],
|
|
7670
|
+
minusIcon: [{ type: i0.Input }],
|
|
7671
|
+
plusIcon: [{ type: i0.Input }],
|
|
7672
|
+
buttonShowMode: [{ type: i0.Input }],
|
|
7673
|
+
noValidation: [{ type: i0.Input }],
|
|
7674
|
+
decimals: [{ type: i0.Input }],
|
|
7675
|
+
modelChange: [{ type: i0.Output }],
|
|
7676
|
+
showButtonsOnFocusOnly: [{ type: i0.HostBinding, args: ["class.show-buttons-on-focus-only",] }],
|
|
7677
|
+
hasLabel: [{ type: i0.HostBinding, args: ["class.has-label",] }],
|
|
7678
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-input-number-picker',] }]
|
|
7678
7679
|
};
|
|
7679
7680
|
__decorate([
|
|
7680
7681
|
InputBoolean()
|
|
@@ -7740,43 +7741,43 @@
|
|
|
7740
7741
|
return InputTextComponent;
|
|
7741
7742
|
}(BaseInputComponent));
|
|
7742
7743
|
InputTextComponent.decorators = [
|
|
7743
|
-
{ type:
|
|
7744
|
+
{ type: i0.Component, args: [{
|
|
7744
7745
|
selector: "co-input-text",
|
|
7745
7746
|
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
7747
|
providers: [{
|
|
7747
7748
|
provide: COMPONENT_INTERFACE_NAME,
|
|
7748
|
-
useExisting:
|
|
7749
|
+
useExisting: i0.forwardRef(function () { return InputTextComponent; })
|
|
7749
7750
|
}, {
|
|
7750
7751
|
provide: BaseInputComponent,
|
|
7751
7752
|
useExisting: InputTextComponent
|
|
7752
7753
|
}],
|
|
7753
|
-
encapsulation:
|
|
7754
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
7754
7755
|
},] }
|
|
7755
7756
|
];
|
|
7756
7757
|
InputTextComponent.ctorParameters = function () { return [
|
|
7757
|
-
{ type: FormComponent, decorators: [{ type:
|
|
7758
|
-
{ type:
|
|
7759
|
-
{ type:
|
|
7758
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
7759
|
+
{ type: i0.ChangeDetectorRef },
|
|
7760
|
+
{ type: i0.ComponentFactoryResolver },
|
|
7760
7761
|
{ type: FormInputUserModelChangeListenerService },
|
|
7761
7762
|
{ type: NgZoneWrapperService },
|
|
7762
|
-
{ type:
|
|
7763
|
+
{ type: i0.ElementRef }
|
|
7763
7764
|
]; };
|
|
7764
7765
|
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:
|
|
7766
|
+
placeholder: [{ type: i0.Input }],
|
|
7767
|
+
type: [{ type: i0.Input }],
|
|
7768
|
+
min: [{ type: i0.Input }],
|
|
7769
|
+
max: [{ type: i0.Input }],
|
|
7770
|
+
showClearButton: [{ type: i0.Input }],
|
|
7771
|
+
keyDownWhiteList: [{ type: i0.Input }],
|
|
7772
|
+
showPlaceholderOnFocus: [{ type: i0.Input }],
|
|
7773
|
+
leftIcon: [{ type: i0.Input }],
|
|
7774
|
+
rightIcon: [{ type: i0.Input }],
|
|
7775
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-text",] }],
|
|
7776
|
+
hasLeftIcon: [{ type: i0.HostBinding, args: ['class.has-left-icon',] }],
|
|
7777
|
+
hasRightIcon: [{ type: i0.HostBinding, args: ['class.has-right-icon',] }],
|
|
7778
|
+
hasOwnLabel: [{ type: i0.HostBinding, args: ["class.has-own-label",] }],
|
|
7779
|
+
hideArrowButtons: [{ type: i0.Input }, { type: i0.HostBinding, args: ['class.hideArrows',] }],
|
|
7780
|
+
isSmall: [{ type: i0.HostBinding, args: ['class.is-small',] }, { type: i0.Input }]
|
|
7780
7781
|
};
|
|
7781
7782
|
|
|
7782
7783
|
var ValidationErrorModule = /** @class */ (function () {
|
|
@@ -7785,7 +7786,7 @@
|
|
|
7785
7786
|
return ValidationErrorModule;
|
|
7786
7787
|
}());
|
|
7787
7788
|
ValidationErrorModule.decorators = [
|
|
7788
|
-
{ type:
|
|
7789
|
+
{ type: i0.NgModule, args: [{
|
|
7789
7790
|
imports: [
|
|
7790
7791
|
common.CommonModule,
|
|
7791
7792
|
IconModule
|
|
@@ -7805,7 +7806,7 @@
|
|
|
7805
7806
|
return InputTextModule;
|
|
7806
7807
|
}());
|
|
7807
7808
|
InputTextModule.decorators = [
|
|
7808
|
-
{ type:
|
|
7809
|
+
{ type: i0.NgModule, args: [{
|
|
7809
7810
|
imports: [
|
|
7810
7811
|
BaseModule,
|
|
7811
7812
|
common.CommonModule,
|
|
@@ -7832,7 +7833,7 @@
|
|
|
7832
7833
|
return InputNumberPickerModule;
|
|
7833
7834
|
}());
|
|
7834
7835
|
InputNumberPickerModule.decorators = [
|
|
7835
|
-
{ type:
|
|
7836
|
+
{ type: i0.NgModule, args: [{
|
|
7836
7837
|
imports: [
|
|
7837
7838
|
common.CommonModule,
|
|
7838
7839
|
forms.FormsModule,
|
|
@@ -7860,40 +7861,47 @@
|
|
|
7860
7861
|
InputRadioButtonComponent.prototype.showClass = function () {
|
|
7861
7862
|
return true;
|
|
7862
7863
|
};
|
|
7863
|
-
InputRadioButtonComponent.prototype.handleModelChange = function (
|
|
7864
|
-
|
|
7865
|
-
|
|
7864
|
+
InputRadioButtonComponent.prototype.handleModelChange = function (event) {
|
|
7865
|
+
event.preventDefault();
|
|
7866
|
+
event.stopPropagation();
|
|
7867
|
+
if (!this.readonly) {
|
|
7868
|
+
this.model = !this.model;
|
|
7869
|
+
this.modelChange.next(this.model);
|
|
7870
|
+
}
|
|
7866
7871
|
};
|
|
7867
7872
|
return InputRadioButtonComponent;
|
|
7868
7873
|
}(BaseInputComponent));
|
|
7869
7874
|
InputRadioButtonComponent.decorators = [
|
|
7870
|
-
{ type:
|
|
7875
|
+
{ type: i0.Component, args: [{
|
|
7871
7876
|
selector: "co-input-radio-button",
|
|
7872
|
-
template: "\n <
|
|
7877
|
+
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
7878
|
providers: [{
|
|
7874
|
-
provide: COMPONENT_INTERFACE_NAME, useExisting:
|
|
7879
|
+
provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputRadioButtonComponent; })
|
|
7875
7880
|
}, {
|
|
7876
7881
|
provide: BaseInputComponent,
|
|
7877
7882
|
useExisting: InputRadioButtonComponent
|
|
7878
7883
|
}],
|
|
7879
|
-
|
|
7880
|
-
|
|
7884
|
+
animations: [
|
|
7885
|
+
animations.trigger("showSelected", [
|
|
7886
|
+
animations.state("void", animations.style({ transform: "scale(0)" })),
|
|
7887
|
+
animations.state("*", animations.style({ transform: "scale(1)" })),
|
|
7888
|
+
animations.transition("void <=> *", animations.animate("200ms ease-in-out")),
|
|
7889
|
+
])
|
|
7890
|
+
],
|
|
7891
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
7892
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
7881
7893
|
},] }
|
|
7882
7894
|
];
|
|
7883
7895
|
InputRadioButtonComponent.ctorParameters = function () { return [
|
|
7884
|
-
{ type: FormComponent, decorators: [{ type:
|
|
7885
|
-
{ type:
|
|
7886
|
-
{ type:
|
|
7896
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
7897
|
+
{ type: i0.ChangeDetectorRef },
|
|
7898
|
+
{ type: i0.ComponentFactoryResolver },
|
|
7887
7899
|
{ type: FormInputUserModelChangeListenerService },
|
|
7888
7900
|
{ type: NgZoneWrapperService },
|
|
7889
|
-
{ type:
|
|
7901
|
+
{ type: i0.ElementRef }
|
|
7890
7902
|
]; };
|
|
7891
7903
|
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",] }]
|
|
7904
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-radio-button",] }]
|
|
7897
7905
|
};
|
|
7898
7906
|
|
|
7899
7907
|
var InputRadioButtonModule = /** @class */ (function () {
|
|
@@ -7902,7 +7910,7 @@
|
|
|
7902
7910
|
return InputRadioButtonModule;
|
|
7903
7911
|
}());
|
|
7904
7912
|
InputRadioButtonModule.decorators = [
|
|
7905
|
-
{ type:
|
|
7913
|
+
{ type: i0.NgModule, args: [{
|
|
7906
7914
|
imports: [
|
|
7907
7915
|
BaseModule,
|
|
7908
7916
|
common.CommonModule,
|
|
@@ -7920,7 +7928,7 @@
|
|
|
7920
7928
|
function InputSearchComponent() {
|
|
7921
7929
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
7922
7930
|
_this.searchIcon = exports.CoreComponentsIcon.Magnifier;
|
|
7923
|
-
_this.search = new
|
|
7931
|
+
_this.search = new i0.EventEmitter();
|
|
7924
7932
|
_this.useLeftIcon = false;
|
|
7925
7933
|
_this.useRightIcon = false;
|
|
7926
7934
|
_this.noIcon = false;
|
|
@@ -7942,21 +7950,21 @@
|
|
|
7942
7950
|
return InputSearchComponent;
|
|
7943
7951
|
}(BaseInputComponent));
|
|
7944
7952
|
InputSearchComponent.decorators = [
|
|
7945
|
-
{ type:
|
|
7953
|
+
{ type: i0.Component, args: [{
|
|
7946
7954
|
selector: 'co-input-search',
|
|
7947
7955
|
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:
|
|
7956
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
7957
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
7950
7958
|
},] }
|
|
7951
7959
|
];
|
|
7952
7960
|
InputSearchComponent.propDecorators = {
|
|
7953
|
-
placeholder: [{ type:
|
|
7954
|
-
search: [{ type:
|
|
7955
|
-
useLeftIcon: [{ type:
|
|
7956
|
-
useRightIcon: [{ type:
|
|
7957
|
-
noIcon: [{ type:
|
|
7958
|
-
isSmall: [{ type:
|
|
7959
|
-
showClass: [{ type:
|
|
7961
|
+
placeholder: [{ type: i0.Input }],
|
|
7962
|
+
search: [{ type: i0.Output }],
|
|
7963
|
+
useLeftIcon: [{ type: i0.Input }],
|
|
7964
|
+
useRightIcon: [{ type: i0.Input }],
|
|
7965
|
+
noIcon: [{ type: i0.HostBinding, args: ['class.no-icon',] }, { type: i0.Input }],
|
|
7966
|
+
isSmall: [{ type: i0.HostBinding, args: ['class.is-small',] }, { type: i0.Input }],
|
|
7967
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-input-search',] }]
|
|
7960
7968
|
};
|
|
7961
7969
|
__decorate([
|
|
7962
7970
|
InputBoolean()
|
|
@@ -7971,7 +7979,7 @@
|
|
|
7971
7979
|
return InputSearchModule;
|
|
7972
7980
|
}());
|
|
7973
7981
|
InputSearchModule.decorators = [
|
|
7974
|
-
{ type:
|
|
7982
|
+
{ type: i0.NgModule, args: [{
|
|
7975
7983
|
imports: [
|
|
7976
7984
|
common.CommonModule,
|
|
7977
7985
|
IconModule,
|
|
@@ -8004,31 +8012,31 @@
|
|
|
8004
8012
|
return InputTextareaComponent;
|
|
8005
8013
|
}(BaseInputComponent));
|
|
8006
8014
|
InputTextareaComponent.decorators = [
|
|
8007
|
-
{ type:
|
|
8015
|
+
{ type: i0.Component, args: [{
|
|
8008
8016
|
selector: "co-input-textarea",
|
|
8009
8017
|
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
8018
|
providers: [{
|
|
8011
8019
|
provide: COMPONENT_INTERFACE_NAME,
|
|
8012
|
-
useExisting:
|
|
8020
|
+
useExisting: i0.forwardRef(function () { return InputTextareaComponent; })
|
|
8013
8021
|
}, {
|
|
8014
8022
|
provide: BaseInputComponent,
|
|
8015
8023
|
useExisting: InputTextareaComponent
|
|
8016
8024
|
}],
|
|
8017
|
-
encapsulation:
|
|
8025
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
8018
8026
|
},] }
|
|
8019
8027
|
];
|
|
8020
8028
|
InputTextareaComponent.ctorParameters = function () { return [
|
|
8021
|
-
{ type: FormComponent, decorators: [{ type:
|
|
8022
|
-
{ type:
|
|
8023
|
-
{ type:
|
|
8029
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
8030
|
+
{ type: i0.ChangeDetectorRef },
|
|
8031
|
+
{ type: i0.ComponentFactoryResolver },
|
|
8024
8032
|
{ type: FormInputUserModelChangeListenerService },
|
|
8025
8033
|
{ type: NgZoneWrapperService },
|
|
8026
|
-
{ type:
|
|
8034
|
+
{ type: i0.ElementRef }
|
|
8027
8035
|
]; };
|
|
8028
8036
|
InputTextareaComponent.propDecorators = {
|
|
8029
|
-
placeholder: [{ type:
|
|
8030
|
-
showClass: [{ type:
|
|
8031
|
-
hasOwnLabel: [{ type:
|
|
8037
|
+
placeholder: [{ type: i0.Input }],
|
|
8038
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-input-textarea",] }],
|
|
8039
|
+
hasOwnLabel: [{ type: i0.HostBinding, args: ["class.has-own-label",] }]
|
|
8032
8040
|
};
|
|
8033
8041
|
|
|
8034
8042
|
var InputTextareaModule = /** @class */ (function () {
|
|
@@ -8037,7 +8045,7 @@
|
|
|
8037
8045
|
return InputTextareaModule;
|
|
8038
8046
|
}());
|
|
8039
8047
|
InputTextareaModule.decorators = [
|
|
8040
|
-
{ type:
|
|
8048
|
+
{ type: i0.NgModule, args: [{
|
|
8041
8049
|
imports: [
|
|
8042
8050
|
common.CommonModule,
|
|
8043
8051
|
forms.FormsModule,
|
|
@@ -8096,41 +8104,41 @@
|
|
|
8096
8104
|
return MultiSelectListComponent;
|
|
8097
8105
|
}(BaseInputComponent));
|
|
8098
8106
|
MultiSelectListComponent.decorators = [
|
|
8099
|
-
{ type:
|
|
8107
|
+
{ type: i0.Component, args: [{
|
|
8100
8108
|
selector: "co-multi-select-list",
|
|
8101
8109
|
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
8110
|
providers: [
|
|
8103
8111
|
ej2AngularDropdowns.CheckBoxSelectionService,
|
|
8104
8112
|
{
|
|
8105
8113
|
provide: COMPONENT_INTERFACE_NAME,
|
|
8106
|
-
useExisting:
|
|
8114
|
+
useExisting: i0.forwardRef(function () { return MultiSelectListComponent; })
|
|
8107
8115
|
}, {
|
|
8108
8116
|
provide: BaseInputComponent,
|
|
8109
8117
|
useExisting: MultiSelectListComponent
|
|
8110
8118
|
}
|
|
8111
8119
|
],
|
|
8112
|
-
encapsulation:
|
|
8120
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
8113
8121
|
},] }
|
|
8114
8122
|
];
|
|
8115
8123
|
MultiSelectListComponent.ctorParameters = function () { return [
|
|
8116
|
-
{ type: FormComponent, decorators: [{ type:
|
|
8117
|
-
{ type:
|
|
8118
|
-
{ type:
|
|
8124
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
8125
|
+
{ type: i0.ChangeDetectorRef },
|
|
8126
|
+
{ type: i0.ComponentFactoryResolver },
|
|
8119
8127
|
{ type: FormInputUserModelChangeListenerService },
|
|
8120
8128
|
{ type: NgZoneWrapperService },
|
|
8121
|
-
{ type:
|
|
8129
|
+
{ type: i0.ElementRef }
|
|
8122
8130
|
]; };
|
|
8123
8131
|
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:
|
|
8132
|
+
collection: [{ type: i0.Input }],
|
|
8133
|
+
fields: [{ type: i0.Input }],
|
|
8134
|
+
placeholder: [{ type: i0.Input }],
|
|
8135
|
+
itemTemplate: [{ type: i0.Input }],
|
|
8136
|
+
headerTemplate: [{ type: i0.Input }],
|
|
8137
|
+
valueTemplate: [{ type: i0.Input }],
|
|
8138
|
+
footerTemplate: [{ type: i0.Input }],
|
|
8139
|
+
showSelectAll: [{ type: i0.Input }],
|
|
8140
|
+
showCheckbox: [{ type: i0.Input }],
|
|
8141
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-multi-select-list",] }]
|
|
8134
8142
|
};
|
|
8135
8143
|
|
|
8136
8144
|
var MultiSelectListModule = /** @class */ (function () {
|
|
@@ -8139,7 +8147,7 @@
|
|
|
8139
8147
|
return MultiSelectListModule;
|
|
8140
8148
|
}());
|
|
8141
8149
|
MultiSelectListModule.decorators = [
|
|
8142
|
-
{ type:
|
|
8150
|
+
{ type: i0.NgModule, args: [{
|
|
8143
8151
|
imports: [
|
|
8144
8152
|
BaseModule,
|
|
8145
8153
|
common.CommonModule,
|
|
@@ -8164,14 +8172,14 @@
|
|
|
8164
8172
|
this.allowNumberFormatting = true;
|
|
8165
8173
|
this.allowCalculatedField = false;
|
|
8166
8174
|
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
|
|
8175
|
+
this.saveReportClick = new i0.EventEmitter();
|
|
8176
|
+
this.loadReportClick = new i0.EventEmitter();
|
|
8177
|
+
this.fetchReportClick = new i0.EventEmitter();
|
|
8178
|
+
this.renameReportClick = new i0.EventEmitter();
|
|
8179
|
+
this.removeReportClick = new i0.EventEmitter();
|
|
8180
|
+
this.newReportClick = new i0.EventEmitter();
|
|
8181
|
+
this.beforeToolbarRenderClick = new i0.EventEmitter();
|
|
8182
|
+
this.enginePopulated = new i0.EventEmitter();
|
|
8175
8183
|
}
|
|
8176
8184
|
CoPivotComponent.prototype.showClass = function () {
|
|
8177
8185
|
return true;
|
|
@@ -8227,39 +8235,39 @@
|
|
|
8227
8235
|
return CoPivotComponent;
|
|
8228
8236
|
}());
|
|
8229
8237
|
CoPivotComponent.decorators = [
|
|
8230
|
-
{ type:
|
|
8238
|
+
{ type: i0.Component, args: [{
|
|
8231
8239
|
selector: 'co-pivot',
|
|
8232
8240
|
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
8241
|
providers: [ej2AngularPivotview.GroupingBarService, ej2AngularPivotview.GroupingService, ej2AngularPivotview.ToolbarService, ej2AngularPivotview.ConditionalFormattingService, ej2AngularPivotview.FieldListService, ej2AngularPivotview.NumberFormattingService],
|
|
8234
|
-
encapsulation:
|
|
8242
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
8235
8243
|
},] }
|
|
8236
8244
|
];
|
|
8237
8245
|
CoPivotComponent.ctorParameters = function () { return []; };
|
|
8238
8246
|
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:
|
|
8247
|
+
pivot: [{ type: i0.ViewChild, args: ['pivot', { static: false },] }],
|
|
8248
|
+
dataSourceSettings: [{ type: i0.Input }],
|
|
8249
|
+
gridSettings: [{ type: i0.Input }],
|
|
8250
|
+
toolbarOptions: [{ type: i0.Input }],
|
|
8251
|
+
showGroupingBar: [{ type: i0.Input }],
|
|
8252
|
+
allowGrouping: [{ type: i0.Input }],
|
|
8253
|
+
enablePersistence: [{ type: i0.Input }],
|
|
8254
|
+
showFieldList: [{ type: i0.Input }],
|
|
8255
|
+
showToolbar: [{ type: i0.Input }],
|
|
8256
|
+
allowExcelExport: [{ type: i0.Input }],
|
|
8257
|
+
allowPdfExport: [{ type: i0.Input }],
|
|
8258
|
+
allowConditionalFormatting: [{ type: i0.Input }],
|
|
8259
|
+
allowNumberFormatting: [{ type: i0.Input }],
|
|
8260
|
+
allowCalculatedField: [{ type: i0.Input }],
|
|
8261
|
+
height: [{ type: i0.Input }],
|
|
8262
|
+
saveReportClick: [{ type: i0.Output }],
|
|
8263
|
+
loadReportClick: [{ type: i0.Output }],
|
|
8264
|
+
fetchReportClick: [{ type: i0.Output }],
|
|
8265
|
+
renameReportClick: [{ type: i0.Output }],
|
|
8266
|
+
removeReportClick: [{ type: i0.Output }],
|
|
8267
|
+
newReportClick: [{ type: i0.Output }],
|
|
8268
|
+
beforeToolbarRenderClick: [{ type: i0.Output }],
|
|
8269
|
+
enginePopulated: [{ type: i0.Output }],
|
|
8270
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-pivot",] }]
|
|
8263
8271
|
};
|
|
8264
8272
|
__decorate([
|
|
8265
8273
|
InputBoolean()
|
|
@@ -8298,7 +8306,7 @@
|
|
|
8298
8306
|
return CoPivotModule;
|
|
8299
8307
|
}());
|
|
8300
8308
|
CoPivotModule.decorators = [
|
|
8301
|
-
{ type:
|
|
8309
|
+
{ type: i0.NgModule, args: [{
|
|
8302
8310
|
declarations: [CoPivotComponent],
|
|
8303
8311
|
exports: [
|
|
8304
8312
|
CoPivotComponent
|
|
@@ -8332,17 +8340,17 @@
|
|
|
8332
8340
|
return TextInputPopupComponent;
|
|
8333
8341
|
}());
|
|
8334
8342
|
TextInputPopupComponent.decorators = [
|
|
8335
|
-
{ type:
|
|
8343
|
+
{ type: i0.Component, args: [{
|
|
8336
8344
|
selector: "co-text-input-popup",
|
|
8337
8345
|
template: "\n <co-input-text [(model)]=\"text\" [label]=\"label\" [noValidation]=\"true\" [initFocus]=\"true\"></co-input-text>\n "
|
|
8338
8346
|
},] }
|
|
8339
8347
|
];
|
|
8340
8348
|
TextInputPopupComponent.ctorParameters = function () { return [
|
|
8341
|
-
{ type:
|
|
8349
|
+
{ type: i0.ChangeDetectorRef }
|
|
8342
8350
|
]; };
|
|
8343
8351
|
TextInputPopupComponent.propDecorators = {
|
|
8344
|
-
text: [{ type:
|
|
8345
|
-
label: [{ type:
|
|
8352
|
+
text: [{ type: i0.Input }],
|
|
8353
|
+
label: [{ type: i0.Input }]
|
|
8346
8354
|
};
|
|
8347
8355
|
|
|
8348
8356
|
/**
|
|
@@ -8955,15 +8963,15 @@
|
|
|
8955
8963
|
return PopupMessageDisplayComponent;
|
|
8956
8964
|
}());
|
|
8957
8965
|
PopupMessageDisplayComponent.decorators = [
|
|
8958
|
-
{ type:
|
|
8966
|
+
{ type: i0.Component, args: [{
|
|
8959
8967
|
selector: "co-popup-message-display",
|
|
8960
8968
|
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
8969
|
},] }
|
|
8962
8970
|
];
|
|
8963
8971
|
PopupMessageDisplayComponent.ctorParameters = function () { return []; };
|
|
8964
8972
|
PopupMessageDisplayComponent.propDecorators = {
|
|
8965
|
-
message: [{ type:
|
|
8966
|
-
details: [{ type:
|
|
8973
|
+
message: [{ type: i0.Input }],
|
|
8974
|
+
details: [{ type: i0.Input }]
|
|
8967
8975
|
};
|
|
8968
8976
|
|
|
8969
8977
|
// the different types of buttons for the app window component
|
|
@@ -9002,7 +9010,7 @@
|
|
|
9002
9010
|
// Component that is part of the WindowComponent, and represents the panel with buttons on the bottom of app popups.
|
|
9003
9011
|
var PopupButtonsComponent = /** @class */ (function () {
|
|
9004
9012
|
function PopupButtonsComponent() {
|
|
9005
|
-
this.buttonClick = new
|
|
9013
|
+
this.buttonClick = new i0.EventEmitter();
|
|
9006
9014
|
this.buttons = [PopupButtonGlobals.Ok, PopupButtonGlobals.Cancel];
|
|
9007
9015
|
}
|
|
9008
9016
|
PopupButtonsComponent.prototype.ngOnInit = function () {
|
|
@@ -9027,7 +9035,7 @@
|
|
|
9027
9035
|
return PopupButtonsComponent;
|
|
9028
9036
|
}());
|
|
9029
9037
|
PopupButtonsComponent.decorators = [
|
|
9030
|
-
{ type:
|
|
9038
|
+
{ type: i0.Component, args: [{
|
|
9031
9039
|
selector: 'co-popup-buttons',
|
|
9032
9040
|
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
9041
|
styles: [":host{display:flex;justify-content:center}:host co-button:not(:last-child){margin-right:10px}:host .popup-buttons{display:flex}\n"]
|
|
@@ -9035,9 +9043,9 @@
|
|
|
9035
9043
|
];
|
|
9036
9044
|
PopupButtonsComponent.ctorParameters = function () { return []; };
|
|
9037
9045
|
PopupButtonsComponent.propDecorators = {
|
|
9038
|
-
popupWindow: [{ type:
|
|
9039
|
-
buttonClick: [{ type:
|
|
9040
|
-
firstButton: [{ type:
|
|
9046
|
+
popupWindow: [{ type: i0.Input }],
|
|
9047
|
+
buttonClick: [{ type: i0.Output }],
|
|
9048
|
+
firstButton: [{ type: i0.ViewChild, args: [ButtonComponent,] }]
|
|
9041
9049
|
};
|
|
9042
9050
|
|
|
9043
9051
|
var PopupType;
|
|
@@ -9174,28 +9182,28 @@
|
|
|
9174
9182
|
return PopupWindowShellComponent;
|
|
9175
9183
|
}());
|
|
9176
9184
|
PopupWindowShellComponent.decorators = [
|
|
9177
|
-
{ type:
|
|
9185
|
+
{ type: i0.Component, args: [{
|
|
9178
9186
|
selector: "co-popup-window-shell",
|
|
9179
9187
|
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:
|
|
9188
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
9181
9189
|
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
9190
|
},] }
|
|
9183
9191
|
];
|
|
9184
9192
|
PopupWindowShellComponent.ctorParameters = function () { return [
|
|
9185
9193
|
{ type: IconCacheService },
|
|
9186
|
-
{ type:
|
|
9187
|
-
{ type:
|
|
9194
|
+
{ type: i0.ChangeDetectorRef },
|
|
9195
|
+
{ type: i0.ViewContainerRef }
|
|
9188
9196
|
]; };
|
|
9189
9197
|
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:
|
|
9198
|
+
popupWindow: [{ type: i0.Input }],
|
|
9199
|
+
hasMobileSizings: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.mobile-sizings",] }],
|
|
9200
|
+
_viewContainer: [{ type: i0.ViewChild, args: ["popupContent", { read: i0.ViewContainerRef },] }],
|
|
9201
|
+
_appPopupButtons: [{ type: i0.ViewChild, args: [PopupButtonsComponent,] }],
|
|
9202
|
+
isError: [{ type: i0.HostBinding, args: ["class.popup-error",] }],
|
|
9203
|
+
isWarning: [{ type: i0.HostBinding, args: ["class.popup-warning",] }],
|
|
9204
|
+
isNotification: [{ type: i0.HostBinding, args: ["class.popup-notification",] }],
|
|
9205
|
+
isQuestion: [{ type: i0.HostBinding, args: ["class.popup-question",] }],
|
|
9206
|
+
isMovable: [{ type: i0.HostBinding, args: ["class.movable",] }]
|
|
9199
9207
|
};
|
|
9200
9208
|
|
|
9201
9209
|
// Represent the base for app popup windows, with common fields and methods that each popup window has.
|
|
@@ -9239,7 +9247,7 @@
|
|
|
9239
9247
|
}());
|
|
9240
9248
|
PopupWindowModel.closeDefaultOutputStr = "PopupWindowModel.closeDefault()";
|
|
9241
9249
|
|
|
9242
|
-
var POPUP_WINDOW_DATA = new
|
|
9250
|
+
var POPUP_WINDOW_DATA = new i0.InjectionToken('POPUP_WINDOW_DATA');
|
|
9243
9251
|
|
|
9244
9252
|
// Class responsible for showing popups throughout the application and returning results from user interaction with those popups.
|
|
9245
9253
|
var PopupShowerService = /** @class */ (function () {
|
|
@@ -9313,18 +9321,18 @@
|
|
|
9313
9321
|
parent: this._injector,
|
|
9314
9322
|
providers: injectionTokens
|
|
9315
9323
|
};
|
|
9316
|
-
return
|
|
9324
|
+
return i0.Injector.create(options);
|
|
9317
9325
|
};
|
|
9318
9326
|
return PopupShowerService;
|
|
9319
9327
|
}());
|
|
9320
9328
|
PopupShowerService.decorators = [
|
|
9321
|
-
{ type:
|
|
9329
|
+
{ type: i0.Injectable }
|
|
9322
9330
|
];
|
|
9323
9331
|
PopupShowerService.ctorParameters = function () { return [
|
|
9324
|
-
{ type:
|
|
9325
|
-
{ type:
|
|
9332
|
+
{ type: i0.ComponentFactoryResolver },
|
|
9333
|
+
{ type: i0.ApplicationRef },
|
|
9326
9334
|
{ type: overlay.Overlay },
|
|
9327
|
-
{ type:
|
|
9335
|
+
{ type: i0.Injector }
|
|
9328
9336
|
]; };
|
|
9329
9337
|
|
|
9330
9338
|
// for PromptService.promptString
|
|
@@ -9525,7 +9533,7 @@
|
|
|
9525
9533
|
return PromptService;
|
|
9526
9534
|
}());
|
|
9527
9535
|
PromptService.decorators = [
|
|
9528
|
-
{ type:
|
|
9536
|
+
{ type: i0.Injectable }
|
|
9529
9537
|
];
|
|
9530
9538
|
PromptService.ctorParameters = function () { return [
|
|
9531
9539
|
{ type: PopupShowerService }
|
|
@@ -9548,7 +9556,7 @@
|
|
|
9548
9556
|
return PopupModule;
|
|
9549
9557
|
}());
|
|
9550
9558
|
PopupModule.decorators = [
|
|
9551
|
-
{ type:
|
|
9559
|
+
{ type: i0.NgModule, args: [{
|
|
9552
9560
|
imports: [
|
|
9553
9561
|
common.CommonModule,
|
|
9554
9562
|
InputTextModule,
|
|
@@ -9672,31 +9680,31 @@
|
|
|
9672
9680
|
}());
|
|
9673
9681
|
SimpleGridColumnDirective._MinManualResizeWidthPx = 50;
|
|
9674
9682
|
SimpleGridColumnDirective.decorators = [
|
|
9675
|
-
{ type:
|
|
9683
|
+
{ type: i0.Directive, args: [{
|
|
9676
9684
|
selector: "co-simple-grid-column"
|
|
9677
9685
|
},] }
|
|
9678
9686
|
];
|
|
9679
9687
|
SimpleGridColumnDirective.ctorParameters = function () { return [
|
|
9680
|
-
{ type:
|
|
9688
|
+
{ type: i0.ElementRef }
|
|
9681
9689
|
]; };
|
|
9682
9690
|
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:
|
|
9691
|
+
headerTemplate: [{ type: i0.ContentChild, args: ['headerTemplate',] }],
|
|
9692
|
+
template: [{ type: i0.ContentChild, args: ['template',] }],
|
|
9693
|
+
editTemplate: [{ type: i0.ContentChild, args: ['editTemplate',] }],
|
|
9694
|
+
headerText: [{ type: i0.Input }],
|
|
9695
|
+
field: [{ type: i0.Input }],
|
|
9696
|
+
codeField: [{ type: i0.Input }],
|
|
9697
|
+
displayField: [{ type: i0.Input }],
|
|
9698
|
+
textAlign: [{ type: i0.Input }],
|
|
9699
|
+
format: [{ type: i0.Input }],
|
|
9700
|
+
resizable: [{ type: i0.Input }],
|
|
9701
|
+
required: [{ type: i0.Input }],
|
|
9702
|
+
autoFit: [{ type: i0.Input }],
|
|
9703
|
+
width: [{ type: i0.Input }],
|
|
9704
|
+
readonly: [{ type: i0.Input }],
|
|
9705
|
+
collection: [{ type: i0.Input }],
|
|
9706
|
+
order: [{ type: i0.Input }],
|
|
9707
|
+
singleColumn: [{ type: i0.Input }]
|
|
9700
9708
|
};
|
|
9701
9709
|
|
|
9702
9710
|
var BaseSimpleGridComponent = /** @class */ (function () {
|
|
@@ -9713,13 +9721,13 @@
|
|
|
9713
9721
|
* (update collection) by itself
|
|
9714
9722
|
*/
|
|
9715
9723
|
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
|
|
9724
|
+
this.onDrop = new i0.EventEmitter();
|
|
9725
|
+
this.selectRow = new i0.EventEmitter();
|
|
9726
|
+
this.dblClickRow = new i0.EventEmitter();
|
|
9727
|
+
this.saveRow = new i0.EventEmitter();
|
|
9728
|
+
this.deleteRow = new i0.EventEmitter();
|
|
9729
|
+
this.addRow = new i0.EventEmitter();
|
|
9730
|
+
this.rowVisible = new i0.EventEmitter();
|
|
9723
9731
|
this.columns = [];
|
|
9724
9732
|
this.headerColumns = [];
|
|
9725
9733
|
this._data = [];
|
|
@@ -9843,27 +9851,27 @@
|
|
|
9843
9851
|
return BaseSimpleGridComponent;
|
|
9844
9852
|
}());
|
|
9845
9853
|
BaseSimpleGridComponent.decorators = [
|
|
9846
|
-
{ type:
|
|
9854
|
+
{ type: i0.Directive }
|
|
9847
9855
|
];
|
|
9848
9856
|
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:
|
|
9857
|
+
content: [{ type: i0.ContentChildren, args: [SimpleGridColumnDirective,] }],
|
|
9858
|
+
data: [{ type: i0.Input }],
|
|
9859
|
+
dragDropEnabled: [{ type: i0.Input }],
|
|
9860
|
+
resizable: [{ type: i0.Input }],
|
|
9861
|
+
inlineEdit: [{ type: i0.Input }],
|
|
9862
|
+
showToolbar: [{ type: i0.Input }],
|
|
9863
|
+
autoAddRow: [{ type: i0.Input }],
|
|
9864
|
+
emitDragDrop: [{ type: i0.Input }],
|
|
9865
|
+
extraColumns: [{ type: i0.Input }],
|
|
9866
|
+
onDrop: [{ type: i0.Output }],
|
|
9867
|
+
selectRow: [{ type: i0.Output }],
|
|
9868
|
+
dblClickRow: [{ type: i0.Output }],
|
|
9869
|
+
saveRow: [{ type: i0.Output }],
|
|
9870
|
+
deleteRow: [{ type: i0.Output }],
|
|
9871
|
+
addRow: [{ type: i0.Output }],
|
|
9872
|
+
rowVisible: [{ type: i0.Output }],
|
|
9873
|
+
handleMouseMove: [{ type: i0.HostListener, args: ['document:mousemove', ['$event'],] }],
|
|
9874
|
+
handleMouseUp: [{ type: i0.HostListener, args: ['document:mouseup', ['$event'],] }]
|
|
9867
9875
|
};
|
|
9868
9876
|
|
|
9869
9877
|
var SimpleGridComponent = /** @class */ (function (_super) {
|
|
@@ -10166,28 +10174,28 @@
|
|
|
10166
10174
|
return SimpleGridComponent;
|
|
10167
10175
|
}(BaseSimpleGridComponent));
|
|
10168
10176
|
SimpleGridComponent.decorators = [
|
|
10169
|
-
{ type:
|
|
10177
|
+
{ type: i0.Component, args: [{
|
|
10170
10178
|
selector: 'co-simple-grid',
|
|
10171
10179
|
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
10180
|
providers: [
|
|
10173
10181
|
FormMasterService
|
|
10174
10182
|
],
|
|
10175
|
-
changeDetection:
|
|
10176
|
-
encapsulation:
|
|
10183
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
10184
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
10177
10185
|
},] }
|
|
10178
10186
|
];
|
|
10179
10187
|
SimpleGridComponent.ctorParameters = function () { return [
|
|
10180
|
-
{ type:
|
|
10188
|
+
{ type: i0.ChangeDetectorRef },
|
|
10181
10189
|
{ type: FormMasterService }
|
|
10182
10190
|
]; };
|
|
10183
10191
|
SimpleGridComponent.propDecorators = {
|
|
10184
|
-
headerCells: [{ type:
|
|
10185
|
-
showAdd: [{ type:
|
|
10186
|
-
showDelete: [{ type:
|
|
10187
|
-
rightToolbar: [{ type:
|
|
10188
|
-
rowsPerPage: [{ type:
|
|
10189
|
-
showClass: [{ type:
|
|
10190
|
-
handleKeyDown: [{ type:
|
|
10192
|
+
headerCells: [{ type: i0.ViewChildren, args: ['headerCell',] }],
|
|
10193
|
+
showAdd: [{ type: i0.Input }],
|
|
10194
|
+
showDelete: [{ type: i0.Input }],
|
|
10195
|
+
rightToolbar: [{ type: i0.Input }],
|
|
10196
|
+
rowsPerPage: [{ type: i0.Input }],
|
|
10197
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-simple-grid',] }],
|
|
10198
|
+
handleKeyDown: [{ type: i0.HostListener, args: ['keydown', ['$event'],] }]
|
|
10191
10199
|
};
|
|
10192
10200
|
|
|
10193
10201
|
var PaginationBarComponent = /** @class */ (function () {
|
|
@@ -10199,9 +10207,9 @@
|
|
|
10199
10207
|
this.itemsPerPage = 20;
|
|
10200
10208
|
this.paginationRange = 8;
|
|
10201
10209
|
this.autoHide = false;
|
|
10202
|
-
this.previousClick = new
|
|
10203
|
-
this.nextClick = new
|
|
10204
|
-
this.pageClick = new
|
|
10210
|
+
this.previousClick = new i0.EventEmitter();
|
|
10211
|
+
this.nextClick = new i0.EventEmitter();
|
|
10212
|
+
this.pageClick = new i0.EventEmitter();
|
|
10205
10213
|
this._totalItems = 20;
|
|
10206
10214
|
this.pages = [];
|
|
10207
10215
|
}
|
|
@@ -10310,25 +10318,25 @@
|
|
|
10310
10318
|
return PaginationBarComponent;
|
|
10311
10319
|
}());
|
|
10312
10320
|
PaginationBarComponent.decorators = [
|
|
10313
|
-
{ type:
|
|
10321
|
+
{ type: i0.Component, args: [{
|
|
10314
10322
|
selector: "co-pagination-bar",
|
|
10315
10323
|
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:
|
|
10324
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
10317
10325
|
},] }
|
|
10318
10326
|
];
|
|
10319
10327
|
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:
|
|
10328
|
+
directionLinks: [{ type: i0.Input }],
|
|
10329
|
+
previousLabel: [{ type: i0.Input }],
|
|
10330
|
+
nextLabel: [{ type: i0.Input }],
|
|
10331
|
+
currentPage: [{ type: i0.Input }],
|
|
10332
|
+
itemsPerPage: [{ type: i0.Input }],
|
|
10333
|
+
totalItems: [{ type: i0.Input }],
|
|
10334
|
+
paginationRange: [{ type: i0.Input }],
|
|
10335
|
+
autoHide: [{ type: i0.Input }],
|
|
10336
|
+
previousClick: [{ type: i0.Output }],
|
|
10337
|
+
nextClick: [{ type: i0.Output }],
|
|
10338
|
+
pageClick: [{ type: i0.Output }],
|
|
10339
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-pagination-bar",] }]
|
|
10332
10340
|
};
|
|
10333
10341
|
|
|
10334
10342
|
var PaginationBarModule = /** @class */ (function () {
|
|
@@ -10337,7 +10345,7 @@
|
|
|
10337
10345
|
return PaginationBarModule;
|
|
10338
10346
|
}());
|
|
10339
10347
|
PaginationBarModule.decorators = [
|
|
10340
|
-
{ type:
|
|
10348
|
+
{ type: i0.NgModule, args: [{
|
|
10341
10349
|
imports: [
|
|
10342
10350
|
common.CommonModule
|
|
10343
10351
|
],
|
|
@@ -10443,7 +10451,7 @@
|
|
|
10443
10451
|
return PaginatePipe;
|
|
10444
10452
|
}());
|
|
10445
10453
|
PaginatePipe.decorators = [
|
|
10446
|
-
{ type:
|
|
10454
|
+
{ type: i0.Pipe, args: [{
|
|
10447
10455
|
name: 'paginate',
|
|
10448
10456
|
pure: false
|
|
10449
10457
|
},] }
|
|
@@ -10536,7 +10544,7 @@
|
|
|
10536
10544
|
}());
|
|
10537
10545
|
PaginationService.DEFAULT_ID = "DEFAULT_PAGINATION_ID";
|
|
10538
10546
|
PaginationService.decorators = [
|
|
10539
|
-
{ type:
|
|
10547
|
+
{ type: i0.Injectable }
|
|
10540
10548
|
];
|
|
10541
10549
|
PaginationService.ctorParameters = function () { return []; };
|
|
10542
10550
|
|
|
@@ -10550,7 +10558,7 @@
|
|
|
10550
10558
|
this.nextLabel = 'Volgende pagina';
|
|
10551
10559
|
this.autoHide = false;
|
|
10552
10560
|
// Emits the new page number.
|
|
10553
|
-
this.pageChange = new
|
|
10561
|
+
this.pageChange = new i0.EventEmitter();
|
|
10554
10562
|
this.showClass = true;
|
|
10555
10563
|
this.totalItems = 1;
|
|
10556
10564
|
this.itemsPerPage = 20;
|
|
@@ -10627,25 +10635,25 @@
|
|
|
10627
10635
|
return PaginationComponent;
|
|
10628
10636
|
}());
|
|
10629
10637
|
PaginationComponent.decorators = [
|
|
10630
|
-
{ type:
|
|
10638
|
+
{ type: i0.Component, args: [{
|
|
10631
10639
|
selector: 'co-pagination',
|
|
10632
10640
|
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:
|
|
10641
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
10634
10642
|
},] }
|
|
10635
10643
|
];
|
|
10636
10644
|
PaginationComponent.ctorParameters = function () { return [
|
|
10637
10645
|
{ type: PaginationService }
|
|
10638
10646
|
]; };
|
|
10639
10647
|
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:
|
|
10648
|
+
template: [{ type: i0.ViewChild, args: ['template',] }],
|
|
10649
|
+
id: [{ type: i0.Input }],
|
|
10650
|
+
maxSize: [{ type: i0.Input }],
|
|
10651
|
+
directionLinks: [{ type: i0.Input }],
|
|
10652
|
+
previousLabel: [{ type: i0.Input }],
|
|
10653
|
+
nextLabel: [{ type: i0.Input }],
|
|
10654
|
+
autoHide: [{ type: i0.Input }],
|
|
10655
|
+
pageChange: [{ type: i0.Output }],
|
|
10656
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-pagination',] }]
|
|
10649
10657
|
};
|
|
10650
10658
|
|
|
10651
10659
|
var PaginationModule = /** @class */ (function () {
|
|
@@ -10654,7 +10662,7 @@
|
|
|
10654
10662
|
return PaginationModule;
|
|
10655
10663
|
}());
|
|
10656
10664
|
PaginationModule.decorators = [
|
|
10657
|
-
{ type:
|
|
10665
|
+
{ type: i0.NgModule, args: [{
|
|
10658
10666
|
imports: [
|
|
10659
10667
|
common.CommonModule,
|
|
10660
10668
|
PaginationBarModule
|
|
@@ -10678,7 +10686,7 @@
|
|
|
10678
10686
|
this._changeDetector = _changeDetector;
|
|
10679
10687
|
this.defaultTextAlign = exports.ColumnAlign.Left;
|
|
10680
10688
|
this.editMode = false;
|
|
10681
|
-
this.cellClick = new
|
|
10689
|
+
this.cellClick = new i0.EventEmitter();
|
|
10682
10690
|
this._fieldEditMode = false;
|
|
10683
10691
|
this._focused = false;
|
|
10684
10692
|
}
|
|
@@ -10801,26 +10809,26 @@
|
|
|
10801
10809
|
return SimpleGridCellComponent;
|
|
10802
10810
|
}());
|
|
10803
10811
|
SimpleGridCellComponent.decorators = [
|
|
10804
|
-
{ type:
|
|
10812
|
+
{ type: i0.Component, args: [{
|
|
10805
10813
|
selector: "co-simple-grid-cell",
|
|
10806
10814
|
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:
|
|
10815
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
10808
10816
|
},] }
|
|
10809
10817
|
];
|
|
10810
10818
|
SimpleGridCellComponent.ctorParameters = function () { return [
|
|
10811
|
-
{ type:
|
|
10819
|
+
{ type: i0.ChangeDetectorRef }
|
|
10812
10820
|
]; };
|
|
10813
10821
|
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:
|
|
10822
|
+
editTemplateContent: [{ type: i0.ViewChild, args: ["editTemplate", { read: BaseInputComponent },] }],
|
|
10823
|
+
noEditTemplateContent: [{ type: i0.ViewChild, args: ["noEditTemplate",] }],
|
|
10824
|
+
noTemplateContent: [{ type: i0.ViewChild, args: ["noTemplate",] }],
|
|
10825
|
+
column: [{ type: i0.Input }],
|
|
10826
|
+
row: [{ type: i0.Input }],
|
|
10827
|
+
editMode: [{ type: i0.Input }],
|
|
10828
|
+
fieldEditMode: [{ type: i0.Input }],
|
|
10829
|
+
cellClick: [{ type: i0.Output }],
|
|
10830
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-simple-grid-cell",] }],
|
|
10831
|
+
handleClick: [{ type: i0.HostListener, args: ['click', ['$event'],] }]
|
|
10824
10832
|
};
|
|
10825
10833
|
|
|
10826
10834
|
var ObserveVisibilityDirective = /** @class */ (function () {
|
|
@@ -10828,7 +10836,7 @@
|
|
|
10828
10836
|
this._element = _element;
|
|
10829
10837
|
this.debounceTime = 0;
|
|
10830
10838
|
this.threshold = 0;
|
|
10831
|
-
this.visible = new
|
|
10839
|
+
this.visible = new i0.EventEmitter();
|
|
10832
10840
|
this._subject = new rxjs.Subject();
|
|
10833
10841
|
}
|
|
10834
10842
|
ObserveVisibilityDirective.prototype.ngOnInit = function () {
|
|
@@ -10903,17 +10911,17 @@
|
|
|
10903
10911
|
return ObserveVisibilityDirective;
|
|
10904
10912
|
}());
|
|
10905
10913
|
ObserveVisibilityDirective.decorators = [
|
|
10906
|
-
{ type:
|
|
10914
|
+
{ type: i0.Directive, args: [{
|
|
10907
10915
|
selector: '[observeVisibility]',
|
|
10908
10916
|
},] }
|
|
10909
10917
|
];
|
|
10910
10918
|
ObserveVisibilityDirective.ctorParameters = function () { return [
|
|
10911
|
-
{ type:
|
|
10919
|
+
{ type: i0.ElementRef }
|
|
10912
10920
|
]; };
|
|
10913
10921
|
ObserveVisibilityDirective.propDecorators = {
|
|
10914
|
-
debounceTime: [{ type:
|
|
10915
|
-
threshold: [{ type:
|
|
10916
|
-
visible: [{ type:
|
|
10922
|
+
debounceTime: [{ type: i0.Input }],
|
|
10923
|
+
threshold: [{ type: i0.Input }],
|
|
10924
|
+
visible: [{ type: i0.Output }]
|
|
10917
10925
|
};
|
|
10918
10926
|
|
|
10919
10927
|
var ObserveVisibilityModule = /** @class */ (function () {
|
|
@@ -10922,7 +10930,7 @@
|
|
|
10922
10930
|
return ObserveVisibilityModule;
|
|
10923
10931
|
}());
|
|
10924
10932
|
ObserveVisibilityModule.decorators = [
|
|
10925
|
-
{ type:
|
|
10933
|
+
{ type: i0.NgModule, args: [{
|
|
10926
10934
|
declarations: [
|
|
10927
10935
|
ObserveVisibilityDirective
|
|
10928
10936
|
],
|
|
@@ -10938,7 +10946,7 @@
|
|
|
10938
10946
|
return SimpleGridModule;
|
|
10939
10947
|
}());
|
|
10940
10948
|
SimpleGridModule.decorators = [
|
|
10941
|
-
{ type:
|
|
10949
|
+
{ type: i0.NgModule, args: [{
|
|
10942
10950
|
imports: [
|
|
10943
10951
|
common.CommonModule,
|
|
10944
10952
|
dragDrop.DragDropModule,
|
|
@@ -10978,8 +10986,8 @@
|
|
|
10978
10986
|
this.showMoreLabel = 'Show more';
|
|
10979
10987
|
this.showLessLabel = 'Show less';
|
|
10980
10988
|
this.noResultsLabel = "No results";
|
|
10981
|
-
this.collectionChange = new
|
|
10982
|
-
this.filterButtonClicked = new
|
|
10989
|
+
this.collectionChange = new i0.EventEmitter();
|
|
10990
|
+
this.filterButtonClicked = new i0.EventEmitter();
|
|
10983
10991
|
this.filteredCollection = [];
|
|
10984
10992
|
this.limitTo = 10;
|
|
10985
10993
|
this.filterText = "";
|
|
@@ -11038,7 +11046,10 @@
|
|
|
11038
11046
|
this.collectionChange.emit(this.collection);
|
|
11039
11047
|
};
|
|
11040
11048
|
FilterItemComponent.prototype.valueSelected = function () {
|
|
11041
|
-
|
|
11049
|
+
if (this.collection) {
|
|
11050
|
+
return !!this.collection.find(function (c) { return c.checked; });
|
|
11051
|
+
}
|
|
11052
|
+
return false;
|
|
11042
11053
|
};
|
|
11043
11054
|
// Applies filter to the collection.
|
|
11044
11055
|
FilterItemComponent.prototype.applyFilter = function (text) {
|
|
@@ -11090,33 +11101,33 @@
|
|
|
11090
11101
|
return FilterItemComponent;
|
|
11091
11102
|
}());
|
|
11092
11103
|
FilterItemComponent.decorators = [
|
|
11093
|
-
{ type:
|
|
11104
|
+
{ type: i0.Component, args: [{
|
|
11094
11105
|
selector: "co-filter-item",
|
|
11095
|
-
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 [
|
|
11096
|
-
encapsulation:
|
|
11106
|
+
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 [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 ",
|
|
11107
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
11097
11108
|
},] }
|
|
11098
11109
|
];
|
|
11099
11110
|
FilterItemComponent.ctorParameters = function () { return [
|
|
11100
11111
|
{ type: IconCacheService }
|
|
11101
11112
|
]; };
|
|
11102
11113
|
FilterItemComponent.propDecorators = {
|
|
11103
|
-
collection: [{ type:
|
|
11104
|
-
placeholder: [{ type:
|
|
11105
|
-
initialLimit: [{ type:
|
|
11106
|
-
expanded: [{ type:
|
|
11107
|
-
minSearchCharsToLoadCollection: [{ type:
|
|
11108
|
-
collectionLoadFn: [{ type:
|
|
11109
|
-
customContent: [{ type:
|
|
11110
|
-
showAllResults: [{ type:
|
|
11111
|
-
singleSelect: [{ type:
|
|
11112
|
-
filterButtonLabel: [{ type:
|
|
11113
|
-
searchPlaceholder: [{ type:
|
|
11114
|
-
showMoreLabel: [{ type:
|
|
11115
|
-
showLessLabel: [{ type:
|
|
11116
|
-
noResultsLabel: [{ type:
|
|
11117
|
-
collectionChange: [{ type:
|
|
11118
|
-
filterButtonClicked: [{ type:
|
|
11119
|
-
showClass: [{ type:
|
|
11114
|
+
collection: [{ type: i0.Input }],
|
|
11115
|
+
placeholder: [{ type: i0.Input }],
|
|
11116
|
+
initialLimit: [{ type: i0.Input }],
|
|
11117
|
+
expanded: [{ type: i0.Input }],
|
|
11118
|
+
minSearchCharsToLoadCollection: [{ type: i0.Input }],
|
|
11119
|
+
collectionLoadFn: [{ type: i0.Input }],
|
|
11120
|
+
customContent: [{ type: i0.Input }],
|
|
11121
|
+
showAllResults: [{ type: i0.Input }],
|
|
11122
|
+
singleSelect: [{ type: i0.Input }],
|
|
11123
|
+
filterButtonLabel: [{ type: i0.Input }],
|
|
11124
|
+
searchPlaceholder: [{ type: i0.Input }],
|
|
11125
|
+
showMoreLabel: [{ type: i0.Input }],
|
|
11126
|
+
showLessLabel: [{ type: i0.Input }],
|
|
11127
|
+
noResultsLabel: [{ type: i0.Input }],
|
|
11128
|
+
collectionChange: [{ type: i0.Output }],
|
|
11129
|
+
filterButtonClicked: [{ type: i0.Output }],
|
|
11130
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-filter-item",] }]
|
|
11120
11131
|
};
|
|
11121
11132
|
|
|
11122
11133
|
// A pipe for prepending strings to other strings in view templates.
|
|
@@ -11135,7 +11146,7 @@
|
|
|
11135
11146
|
return PrependPipe;
|
|
11136
11147
|
}());
|
|
11137
11148
|
PrependPipe.decorators = [
|
|
11138
|
-
{ type:
|
|
11149
|
+
{ type: i0.Pipe, args: [{ name: "prepend" },] }
|
|
11139
11150
|
];
|
|
11140
11151
|
|
|
11141
11152
|
var PrependPipeModule = /** @class */ (function () {
|
|
@@ -11144,7 +11155,7 @@
|
|
|
11144
11155
|
return PrependPipeModule;
|
|
11145
11156
|
}());
|
|
11146
11157
|
PrependPipeModule.decorators = [
|
|
11147
|
-
{ type:
|
|
11158
|
+
{ type: i0.NgModule, args: [{
|
|
11148
11159
|
declarations: [
|
|
11149
11160
|
PrependPipe
|
|
11150
11161
|
],
|
|
@@ -11160,7 +11171,7 @@
|
|
|
11160
11171
|
return FilterItemModule;
|
|
11161
11172
|
}());
|
|
11162
11173
|
FilterItemModule.decorators = [
|
|
11163
|
-
{ type:
|
|
11174
|
+
{ type: i0.NgModule, args: [{
|
|
11164
11175
|
imports: [
|
|
11165
11176
|
common.CommonModule,
|
|
11166
11177
|
CollapsibleModule,
|
|
@@ -11172,7 +11183,8 @@
|
|
|
11172
11183
|
AppendPipeModule,
|
|
11173
11184
|
PrependPipeModule,
|
|
11174
11185
|
InputTextModule,
|
|
11175
|
-
InputRadioButtonModule
|
|
11186
|
+
InputRadioButtonModule,
|
|
11187
|
+
InputTextModule
|
|
11176
11188
|
],
|
|
11177
11189
|
declarations: [
|
|
11178
11190
|
FilterItemComponent
|
|
@@ -11311,10 +11323,10 @@
|
|
|
11311
11323
|
return ClickOutsideMasterService;
|
|
11312
11324
|
}());
|
|
11313
11325
|
ClickOutsideMasterService.decorators = [
|
|
11314
|
-
{ type:
|
|
11326
|
+
{ type: i0.Injectable }
|
|
11315
11327
|
];
|
|
11316
11328
|
ClickOutsideMasterService.ctorParameters = function () { return [
|
|
11317
|
-
{ type:
|
|
11329
|
+
{ type: i0.NgZone }
|
|
11318
11330
|
]; };
|
|
11319
11331
|
|
|
11320
11332
|
var ClickOutsideDirective = /** @class */ (function () {
|
|
@@ -11323,7 +11335,7 @@
|
|
|
11323
11335
|
this.elementRef = elementRef;
|
|
11324
11336
|
this._ngZone = _ngZone;
|
|
11325
11337
|
this._master = _master;
|
|
11326
|
-
this.clickOutside = new
|
|
11338
|
+
this.clickOutside = new i0.EventEmitter();
|
|
11327
11339
|
this._enabled = true;
|
|
11328
11340
|
this._initialized = false;
|
|
11329
11341
|
this.onClick = function (event) {
|
|
@@ -11375,20 +11387,20 @@
|
|
|
11375
11387
|
return ClickOutsideDirective;
|
|
11376
11388
|
}());
|
|
11377
11389
|
ClickOutsideDirective.decorators = [
|
|
11378
|
-
{ type:
|
|
11390
|
+
{ type: i0.Directive, args: [{
|
|
11379
11391
|
selector: "[clickOutside]",
|
|
11380
11392
|
exportAs: 'clickOutside'
|
|
11381
11393
|
},] }
|
|
11382
11394
|
];
|
|
11383
11395
|
ClickOutsideDirective.ctorParameters = function () { return [
|
|
11384
|
-
{ type:
|
|
11385
|
-
{ type:
|
|
11396
|
+
{ type: i0.ElementRef },
|
|
11397
|
+
{ type: i0.NgZone },
|
|
11386
11398
|
{ type: ClickOutsideMasterService }
|
|
11387
11399
|
]; };
|
|
11388
11400
|
ClickOutsideDirective.propDecorators = {
|
|
11389
|
-
enabled: [{ type:
|
|
11390
|
-
alwaysTrigger: [{ type:
|
|
11391
|
-
clickOutside: [{ type:
|
|
11401
|
+
enabled: [{ type: i0.Input, args: ["clickOutside",] }],
|
|
11402
|
+
alwaysTrigger: [{ type: i0.Input }],
|
|
11403
|
+
clickOutside: [{ type: i0.Output }]
|
|
11392
11404
|
};
|
|
11393
11405
|
__decorate([
|
|
11394
11406
|
InputBoolean()
|
|
@@ -11400,7 +11412,7 @@
|
|
|
11400
11412
|
return ClickoutsideModule;
|
|
11401
11413
|
}());
|
|
11402
11414
|
ClickoutsideModule.decorators = [
|
|
11403
|
-
{ type:
|
|
11415
|
+
{ type: i0.NgModule, args: [{
|
|
11404
11416
|
declarations: [
|
|
11405
11417
|
ClickOutsideDirective
|
|
11406
11418
|
],
|
|
@@ -11413,6 +11425,28 @@
|
|
|
11413
11425
|
},] }
|
|
11414
11426
|
];
|
|
11415
11427
|
|
|
11428
|
+
var ColorSequenceService = /** @class */ (function () {
|
|
11429
|
+
function ColorSequenceService() {
|
|
11430
|
+
this.colors = new Map();
|
|
11431
|
+
}
|
|
11432
|
+
ColorSequenceService.prototype.getRandomColor = function (id) {
|
|
11433
|
+
if (this.colors.has(id)) {
|
|
11434
|
+
return this.colors.get(id);
|
|
11435
|
+
}
|
|
11436
|
+
var randomColor = Math.floor(Math.random() * 16777215).toString(16);
|
|
11437
|
+
var result = '#' + randomColor;
|
|
11438
|
+
this.colors.set(id, result);
|
|
11439
|
+
return result;
|
|
11440
|
+
};
|
|
11441
|
+
return ColorSequenceService;
|
|
11442
|
+
}());
|
|
11443
|
+
ColorSequenceService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ColorSequenceService_Factory() { return new ColorSequenceService(); }, token: ColorSequenceService, providedIn: "root" });
|
|
11444
|
+
ColorSequenceService.decorators = [
|
|
11445
|
+
{ type: i0.Injectable, args: [{
|
|
11446
|
+
providedIn: 'root'
|
|
11447
|
+
},] }
|
|
11448
|
+
];
|
|
11449
|
+
|
|
11416
11450
|
/*
|
|
11417
11451
|
* Public API Surface of corecomponents
|
|
11418
11452
|
*/
|
|
@@ -11458,6 +11492,7 @@
|
|
|
11458
11492
|
exports.CoToggleModule = CoToggleModule;
|
|
11459
11493
|
exports.CollapsibleComponent = CollapsibleComponent;
|
|
11460
11494
|
exports.CollapsibleModule = CollapsibleModule;
|
|
11495
|
+
exports.ColorSequenceService = ColorSequenceService;
|
|
11461
11496
|
exports.DropDownListComponent = DropDownListComponent;
|
|
11462
11497
|
exports.DropDownModule = DropDownModule;
|
|
11463
11498
|
exports.FilterItemComponent = FilterItemComponent;
|