@colijnit/corecomponents_v12 258.1.17 → 258.1.19
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 +78 -170
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.d.ts +16 -17
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/colijnit-corecomponents_v12.js +17 -18
- package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +25 -2
- package/esm2015/lib/components/input-date-picker/input-date-picker.module.js +4 -2
- package/esm2015/lib/components/list-of-values/list-of-values.component.js +28 -6
- package/esm2015/lib/components/simple-grid/base-simple-grid.component.js +9 -1
- package/esm2015/lib/components/simple-grid/simple-grid.component.js +4 -7
- package/fesm2015/colijnit-corecomponents_v12.js +58 -138
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/input-date-picker/input-date-picker.component.d.ts +13 -0
- package/lib/components/list-of-values/list-of-values.component.d.ts +13 -1
- package/lib/components/simple-grid/base-simple-grid.component.d.ts +3 -0
- package/lib/components/simple-grid/simple-grid.component.d.ts +1 -3
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('rxjs'), require('@angular/platform-browser'), require('@angular/animations'), require('@angular/common'), require('@angular/common/http'), require('rxjs/operators'), require('three'), require('three/examples/jsm/renderers/CSS3DRenderer'), require('@tweenjs/tween.js'), require('hammerjs'), require('@angular/cdk/drag-drop'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@colijnit/corecomponents_v12', ['exports', '@angular/core', '@angular/forms', 'rxjs', '@angular/platform-browser', '@angular/animations', '@angular/common', '@angular/common/http', 'rxjs/operators', 'three', 'three/examples/jsm/renderers/CSS3DRenderer', '@tweenjs/tween.js', 'hammerjs', '@angular/cdk/drag-drop', '@angular/cdk/overlay', '@angular/cdk/portal', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.corecomponents_v12 = {}), global.ng.core, global.ng.forms, global.rxjs, global.ng.platformBrowser, global.ng.animations, global.ng.common, global.ng.common.http, global.rxjs.operators, global.three, global.CSS3DRenderer, global.TWEEN, null, global.ng.cdk.dragDrop, global.ng.cdk.overlay, global.ng.cdk.portal, global.
|
|
5
|
-
})(this, (function (exports, i0, forms, rxjs, platformBrowser, animations, common, http, operators, three, CSS3DRenderer, TWEEN, hammerjs, dragDrop, i1, portal,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('rxjs'), require('@angular/platform-browser'), require('@angular/animations'), require('@angular/common'), require('@angular/common/http'), require('rxjs/operators'), require('three'), require('three/examples/jsm/renderers/CSS3DRenderer'), require('@tweenjs/tween.js'), require('hammerjs'), require('@angular/cdk/drag-drop'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@colijnit/ioneconnector/build/enum/user-right-type.enum'), require('@angular/cdk/scrolling'), require('@colijnit/ioneconnector/build/utils/array-utils'), require('@colijnit/ioneconnector/build/model/default-get-object-configurations-params'), require('@colijnit/ioneconnector/build/model/object-configuration')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@colijnit/corecomponents_v12', ['exports', '@angular/core', '@angular/forms', 'rxjs', '@angular/platform-browser', '@angular/animations', '@angular/common', '@angular/common/http', 'rxjs/operators', 'three', 'three/examples/jsm/renderers/CSS3DRenderer', '@tweenjs/tween.js', 'hammerjs', '@angular/cdk/drag-drop', '@angular/cdk/overlay', '@angular/cdk/portal', '@colijnit/ioneconnector/build/enum/user-right-type.enum', '@angular/cdk/scrolling', '@colijnit/ioneconnector/build/utils/array-utils', '@colijnit/ioneconnector/build/model/default-get-object-configurations-params', '@colijnit/ioneconnector/build/model/object-configuration'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.corecomponents_v12 = {}), global.ng.core, global.ng.forms, global.rxjs, global.ng.platformBrowser, global.ng.animations, global.ng.common, global.ng.common.http, global.rxjs.operators, global.three, global.CSS3DRenderer, global.TWEEN, null, global.ng.cdk.dragDrop, global.ng.cdk.overlay, global.ng.cdk.portal, global.userRightType_enum, global.ng.cdk.scrolling, global.arrayUtils, global.defaultGetObjectConfigurationsParams, global.objectConfiguration));
|
|
5
|
+
})(this, (function (exports, i0, forms, rxjs, platformBrowser, animations, common, http, operators, three, CSS3DRenderer, TWEEN, hammerjs, dragDrop, i1, portal, userRightType_enum, scrolling, arrayUtils, defaultGetObjectConfigurationsParams, objectConfiguration) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
26
|
var TWEEN__namespace = /*#__PURE__*/_interopNamespace(TWEEN);
|
|
27
27
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
28
|
-
var XLSX__namespace = /*#__PURE__*/_interopNamespace(XLSX);
|
|
29
28
|
|
|
30
29
|
/******************************************************************************
|
|
31
30
|
Copyright (c) Microsoft Corporation.
|
|
@@ -5952,8 +5951,17 @@
|
|
|
5952
5951
|
|
|
5953
5952
|
var InputDatePickerComponent = /** @class */ (function (_super) {
|
|
5954
5953
|
__extends(InputDatePickerComponent, _super);
|
|
5955
|
-
function InputDatePickerComponent() {
|
|
5956
|
-
|
|
5954
|
+
function InputDatePickerComponent(formComponent, changeDetector, overlayService, componentFactoryResolver, formUserChangeListener, ngZoneWrapper, elementRef) {
|
|
5955
|
+
var _this = _super.call(this, changeDetector, componentFactoryResolver, overlayService, formUserChangeListener, ngZoneWrapper, elementRef) || this;
|
|
5956
|
+
_this.formComponent = formComponent;
|
|
5957
|
+
_this.changeDetector = changeDetector;
|
|
5958
|
+
_this.overlayService = overlayService;
|
|
5959
|
+
_this.componentFactoryResolver = componentFactoryResolver;
|
|
5960
|
+
_this.formUserChangeListener = formUserChangeListener;
|
|
5961
|
+
_this.ngZoneWrapper = ngZoneWrapper;
|
|
5962
|
+
_this.elementRef = elementRef;
|
|
5963
|
+
_super.prototype._markAsOnPush.call(_this);
|
|
5964
|
+
return _this;
|
|
5957
5965
|
}
|
|
5958
5966
|
InputDatePickerComponent.prototype.showClass = function () {
|
|
5959
5967
|
return true;
|
|
@@ -6043,6 +6051,15 @@
|
|
|
6043
6051
|
encapsulation: i0.ViewEncapsulation.None
|
|
6044
6052
|
},] }
|
|
6045
6053
|
];
|
|
6054
|
+
InputDatePickerComponent.ctorParameters = function () { return [
|
|
6055
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
6056
|
+
{ type: i0.ChangeDetectorRef },
|
|
6057
|
+
{ type: OverlayService },
|
|
6058
|
+
{ type: i0.ComponentFactoryResolver },
|
|
6059
|
+
{ type: FormInputUserModelChangeListenerService },
|
|
6060
|
+
{ type: NgZoneWrapperService },
|
|
6061
|
+
{ type: i0.ElementRef }
|
|
6062
|
+
]; };
|
|
6046
6063
|
InputDatePickerComponent.propDecorators = {
|
|
6047
6064
|
showClass: [{ type: i0.HostBinding, args: ['class.co-input-date',] }]
|
|
6048
6065
|
};
|
|
@@ -7314,7 +7331,8 @@
|
|
|
7314
7331
|
InputTextModule,
|
|
7315
7332
|
CalendarModule,
|
|
7316
7333
|
ClickoutsideModule,
|
|
7317
|
-
OverlayModule
|
|
7334
|
+
OverlayModule,
|
|
7335
|
+
forms.ReactiveFormsModule
|
|
7318
7336
|
],
|
|
7319
7337
|
schemas: [
|
|
7320
7338
|
i0.NO_ERRORS_SCHEMA
|
|
@@ -9942,6 +9960,7 @@
|
|
|
9942
9960
|
this.headerColumns = [];
|
|
9943
9961
|
this.headerColumnsCopy = [];
|
|
9944
9962
|
this._data = [];
|
|
9963
|
+
this._exportData = [];
|
|
9945
9964
|
this.disabledRows = [];
|
|
9946
9965
|
this._prepared = false;
|
|
9947
9966
|
}
|
|
@@ -9965,6 +9984,16 @@
|
|
|
9965
9984
|
enumerable: false,
|
|
9966
9985
|
configurable: true
|
|
9967
9986
|
});
|
|
9987
|
+
Object.defineProperty(BaseSimpleGridComponent.prototype, "exportData", {
|
|
9988
|
+
get: function () {
|
|
9989
|
+
return this._exportData;
|
|
9990
|
+
},
|
|
9991
|
+
set: function (value) {
|
|
9992
|
+
this._exportData = value;
|
|
9993
|
+
},
|
|
9994
|
+
enumerable: false,
|
|
9995
|
+
configurable: true
|
|
9996
|
+
});
|
|
9968
9997
|
Object.defineProperty(BaseSimpleGridComponent.prototype, "extraColumns", {
|
|
9969
9998
|
set: function (value) {
|
|
9970
9999
|
this._setColumns(value);
|
|
@@ -10073,6 +10102,7 @@
|
|
|
10073
10102
|
BaseSimpleGridComponent.propDecorators = {
|
|
10074
10103
|
content: [{ type: i0.ContentChildren, args: [SimpleGridColumnDirective,] }],
|
|
10075
10104
|
data: [{ type: i0.Input }],
|
|
10105
|
+
exportData: [{ type: i0.Input }],
|
|
10076
10106
|
dragDropEnabled: [{ type: i0.Input }],
|
|
10077
10107
|
resizable: [{ type: i0.Input }],
|
|
10078
10108
|
inlineEdit: [{ type: i0.Input }],
|
|
@@ -10092,150 +10122,13 @@
|
|
|
10092
10122
|
handleMouseUp: [{ type: i0.HostListener, args: ['document:mouseup', ['$event'],] }]
|
|
10093
10123
|
};
|
|
10094
10124
|
|
|
10095
|
-
var ExcelExportService = /** @class */ (function () {
|
|
10096
|
-
function ExcelExportService() {
|
|
10097
|
-
}
|
|
10098
|
-
/**
|
|
10099
|
-
* Export data to Excel file
|
|
10100
|
-
* @param data - Array of objects to export
|
|
10101
|
-
* @param columns - Column configuration (optional)
|
|
10102
|
-
* @param fileName - Name of the exported file
|
|
10103
|
-
* @param sheetName - Name of the Excel sheet
|
|
10104
|
-
*/
|
|
10105
|
-
ExcelExportService.prototype.exportToExcel = function (data, columns, fileName, sheetName) {
|
|
10106
|
-
var _this = this;
|
|
10107
|
-
if (fileName === void 0) { fileName = 'export'; }
|
|
10108
|
-
if (sheetName === void 0) { sheetName = 'Sheet1'; }
|
|
10109
|
-
// If columns are specified, transform data to match column structure
|
|
10110
|
-
var exportData = data;
|
|
10111
|
-
if (columns && columns.length > 0) {
|
|
10112
|
-
exportData = data.map(function (item) {
|
|
10113
|
-
var newItem = {};
|
|
10114
|
-
columns.forEach(function (col) {
|
|
10115
|
-
newItem[col.header] = _this.getFlatValue(item, col.key);
|
|
10116
|
-
});
|
|
10117
|
-
return newItem;
|
|
10118
|
-
});
|
|
10119
|
-
}
|
|
10120
|
-
// Create workbook and worksheet
|
|
10121
|
-
var wb = XLSX__namespace.utils.book_new();
|
|
10122
|
-
var ws = XLSX__namespace.utils.json_to_sheet(exportData);
|
|
10123
|
-
// Set column widths if specified
|
|
10124
|
-
if (columns && columns.some(function (col) { return col.width; })) {
|
|
10125
|
-
var colWidths = columns.map(function (col) { return ({ wch: col.width || 20 }); });
|
|
10126
|
-
ws['!cols'] = colWidths;
|
|
10127
|
-
}
|
|
10128
|
-
// Add worksheet to workbook
|
|
10129
|
-
XLSX__namespace.utils.book_append_sheet(wb, ws, sheetName);
|
|
10130
|
-
// Save file
|
|
10131
|
-
XLSX__namespace.writeFile(wb, fileName + ".xlsx");
|
|
10132
|
-
};
|
|
10133
|
-
/**
|
|
10134
|
-
* Export multiple sheets to one Excel file
|
|
10135
|
-
* @param sheets - Array of sheet data
|
|
10136
|
-
* @param fileName - Name of the exported file
|
|
10137
|
-
*/
|
|
10138
|
-
ExcelExportService.prototype.exportMultipleSheets = function (sheets, fileName) {
|
|
10139
|
-
var _this = this;
|
|
10140
|
-
if (fileName === void 0) { fileName = 'multi-sheet-export'; }
|
|
10141
|
-
var wb = XLSX__namespace.utils.book_new();
|
|
10142
|
-
sheets.forEach(function (sheet) {
|
|
10143
|
-
var exportData = sheet.data;
|
|
10144
|
-
if (sheet.columns && sheet.columns.length > 0) {
|
|
10145
|
-
exportData = sheet.data.map(function (item) {
|
|
10146
|
-
var newItem = {};
|
|
10147
|
-
sheet.columns.forEach(function (col) {
|
|
10148
|
-
newItem[col.header] = _this.getNestedValue(item, col.key);
|
|
10149
|
-
});
|
|
10150
|
-
return newItem;
|
|
10151
|
-
});
|
|
10152
|
-
}
|
|
10153
|
-
var ws = XLSX__namespace.utils.json_to_sheet(exportData);
|
|
10154
|
-
if (sheet.columns && sheet.columns.some(function (col) { return col.width; })) {
|
|
10155
|
-
var colWidths = sheet.columns.map(function (col) { return ({ wch: col.width || 20 }); });
|
|
10156
|
-
ws['!cols'] = colWidths;
|
|
10157
|
-
}
|
|
10158
|
-
XLSX__namespace.utils.book_append_sheet(wb, ws, sheet.sheetName);
|
|
10159
|
-
});
|
|
10160
|
-
XLSX__namespace.writeFile(wb, fileName + ".xlsx");
|
|
10161
|
-
};
|
|
10162
|
-
/**
|
|
10163
|
-
* Export HTML table to Excel
|
|
10164
|
-
* @param tableId - ID of the HTML table element
|
|
10165
|
-
* @param fileName - Name of the exported file
|
|
10166
|
-
* @param sheetName - Name of the Excel sheet
|
|
10167
|
-
*/
|
|
10168
|
-
ExcelExportService.prototype.exportTableToExcel = function (tableId, fileName, sheetName) {
|
|
10169
|
-
if (fileName === void 0) { fileName = 'table-export'; }
|
|
10170
|
-
if (sheetName === void 0) { sheetName = 'Sheet1'; }
|
|
10171
|
-
var table = document.getElementById(tableId);
|
|
10172
|
-
if (!table) {
|
|
10173
|
-
console.error("Table with ID '" + tableId + "' not found");
|
|
10174
|
-
return;
|
|
10175
|
-
}
|
|
10176
|
-
var wb = XLSX__namespace.utils.book_new();
|
|
10177
|
-
var ws = XLSX__namespace.utils.table_to_sheet(table);
|
|
10178
|
-
XLSX__namespace.utils.book_append_sheet(wb, ws, sheetName);
|
|
10179
|
-
XLSX__namespace.writeFile(wb, fileName + ".xlsx");
|
|
10180
|
-
};
|
|
10181
|
-
/**
|
|
10182
|
-
* Get nested object value using dot notation
|
|
10183
|
-
* @param obj - Object to search in
|
|
10184
|
-
* @param path - Dot notation path (e.g., 'user.address.city')
|
|
10185
|
-
*/
|
|
10186
|
-
ExcelExportService.prototype.getNestedValue = function (obj, path) {
|
|
10187
|
-
return path.split('.').reduce(function (current, key) {
|
|
10188
|
-
return current && current[key] !== undefined ? current[key] : '';
|
|
10189
|
-
}, obj);
|
|
10190
|
-
};
|
|
10191
|
-
ExcelExportService.prototype.getFlatValue = function (obj, key) {
|
|
10192
|
-
return obj && obj[key] !== undefined ? obj[key] : '';
|
|
10193
|
-
};
|
|
10194
|
-
/**
|
|
10195
|
-
* Format date for Excel export
|
|
10196
|
-
* @param date - Date to format
|
|
10197
|
-
* @param format - Format string (default: 'MM/DD/YYYY')
|
|
10198
|
-
*/
|
|
10199
|
-
ExcelExportService.prototype.formatDateForExport = function (date, format) {
|
|
10200
|
-
if (format === void 0) { format = 'MM/DD/YYYY'; }
|
|
10201
|
-
if (!date) {
|
|
10202
|
-
return '';
|
|
10203
|
-
}
|
|
10204
|
-
var d = new Date(date);
|
|
10205
|
-
if (isNaN(d.getTime())) {
|
|
10206
|
-
return '';
|
|
10207
|
-
}
|
|
10208
|
-
var month = (d.getMonth() + 1).toString().padStart(2, '0');
|
|
10209
|
-
var day = d.getDate().toString().padStart(2, '0');
|
|
10210
|
-
var year = d.getFullYear();
|
|
10211
|
-
switch (format) {
|
|
10212
|
-
case 'MM/DD/YYYY':
|
|
10213
|
-
return month + "/" + day + "/" + year;
|
|
10214
|
-
case 'DD/MM/YYYY':
|
|
10215
|
-
return day + "/" + month + "/" + year;
|
|
10216
|
-
case 'YYYY-MM-DD':
|
|
10217
|
-
return year + "-" + month + "-" + day;
|
|
10218
|
-
default:
|
|
10219
|
-
return d.toLocaleDateString();
|
|
10220
|
-
}
|
|
10221
|
-
};
|
|
10222
|
-
return ExcelExportService;
|
|
10223
|
-
}());
|
|
10224
|
-
ExcelExportService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ExcelExportService_Factory() { return new ExcelExportService(); }, token: ExcelExportService, providedIn: "root" });
|
|
10225
|
-
ExcelExportService.decorators = [
|
|
10226
|
-
{ type: i0.Injectable, args: [{
|
|
10227
|
-
providedIn: 'root'
|
|
10228
|
-
},] }
|
|
10229
|
-
];
|
|
10230
|
-
|
|
10231
10125
|
var SimpleGridComponent = /** @class */ (function (_super) {
|
|
10232
10126
|
__extends(SimpleGridComponent, _super);
|
|
10233
|
-
function SimpleGridComponent(icons, _changeDetection, _formMaster
|
|
10127
|
+
function SimpleGridComponent(icons, _changeDetection, _formMaster) {
|
|
10234
10128
|
var _this = _super.call(this) || this;
|
|
10235
10129
|
_this.icons = icons;
|
|
10236
10130
|
_this._changeDetection = _changeDetection;
|
|
10237
10131
|
_this._formMaster = _formMaster;
|
|
10238
|
-
_this.excelExportService = excelExportService;
|
|
10239
10132
|
_this.defaultTextAlign = exports.ColumnAlign.Left;
|
|
10240
10133
|
_this.showAdd = false;
|
|
10241
10134
|
_this.showDelete = false;
|
|
@@ -10608,7 +10501,7 @@
|
|
|
10608
10501
|
};
|
|
10609
10502
|
SimpleGridComponent.prototype.exportToExcel = function () {
|
|
10610
10503
|
this.isSettingsMenuOpen = false;
|
|
10611
|
-
var exportData = this._filterSelectedOrReturnAll(this.data);
|
|
10504
|
+
var exportData = this.exportData.length > 0 ? this._filterSelectedOrReturnAll(this.exportData) : this._filterSelectedOrReturnAll(this.data);
|
|
10612
10505
|
var columns = this.headerColumnsCopy.map(function (column) {
|
|
10613
10506
|
return ({
|
|
10614
10507
|
key: column.field,
|
|
@@ -10853,8 +10746,7 @@
|
|
|
10853
10746
|
SimpleGridComponent.ctorParameters = function () { return [
|
|
10854
10747
|
{ type: IconCacheService },
|
|
10855
10748
|
{ type: i0.ChangeDetectorRef },
|
|
10856
|
-
{ type: FormMasterService }
|
|
10857
|
-
{ type: ExcelExportService }
|
|
10749
|
+
{ type: FormMasterService }
|
|
10858
10750
|
]; };
|
|
10859
10751
|
SimpleGridComponent.propDecorators = {
|
|
10860
10752
|
headerCells: [{ type: i0.ViewChildren, args: ['headerCell',] }],
|
|
@@ -11948,8 +11840,15 @@
|
|
|
11948
11840
|
|
|
11949
11841
|
var ListOfValuesComponent = /** @class */ (function (_super) {
|
|
11950
11842
|
__extends(ListOfValuesComponent, _super);
|
|
11951
|
-
function ListOfValuesComponent() {
|
|
11952
|
-
var _this = _super.
|
|
11843
|
+
function ListOfValuesComponent(formComponent, changeDetector, overlayService, componentFactoryResolver, formUserChangeListener, ngZoneWrapper, elementRef) {
|
|
11844
|
+
var _this = _super.call(this, changeDetector, componentFactoryResolver, overlayService, formUserChangeListener, ngZoneWrapper, elementRef) || this;
|
|
11845
|
+
_this.formComponent = formComponent;
|
|
11846
|
+
_this.changeDetector = changeDetector;
|
|
11847
|
+
_this.overlayService = overlayService;
|
|
11848
|
+
_this.componentFactoryResolver = componentFactoryResolver;
|
|
11849
|
+
_this.formUserChangeListener = formUserChangeListener;
|
|
11850
|
+
_this.ngZoneWrapper = ngZoneWrapper;
|
|
11851
|
+
_this.elementRef = elementRef;
|
|
11953
11852
|
_this.icons = exports.CoreComponentsIcon;
|
|
11954
11853
|
_this.multiselect = false;
|
|
11955
11854
|
_this.largeCollection = false;
|
|
@@ -11963,6 +11862,7 @@
|
|
|
11963
11862
|
_this.filteredCollection = [];
|
|
11964
11863
|
_this.isLoading = false;
|
|
11965
11864
|
_this._collection = [];
|
|
11865
|
+
_super.prototype._markAsOnPush.call(_this);
|
|
11966
11866
|
return _this;
|
|
11967
11867
|
}
|
|
11968
11868
|
Object.defineProperty(ListOfValuesComponent.prototype, "model", {
|
|
@@ -12133,7 +12033,7 @@
|
|
|
12133
12033
|
}
|
|
12134
12034
|
}
|
|
12135
12035
|
}
|
|
12136
|
-
this.
|
|
12036
|
+
this.setModel(option);
|
|
12137
12037
|
this.modelChange.emit(this.model);
|
|
12138
12038
|
this.detectChanges();
|
|
12139
12039
|
};
|
|
@@ -12187,7 +12087,7 @@
|
|
|
12187
12087
|
ListOfValuesComponent.decorators = [
|
|
12188
12088
|
{ type: i0.Component, args: [{
|
|
12189
12089
|
selector: 'co-list-of-values',
|
|
12190
|
-
template: "\n <co-input-text\n *ngIf=\"!largeCollection\"\n aria-haspopup=\"listbox\"\n [attr.aria-expanded]=\"isSelectOpen\"\n aria-controls=\"lov-popup\"\n role=\"combobox\"\n class=\"no-focus-line\"\n overlayParent\n #parentForOverlay=\"overlayParent\"\n type=\"text\"\n [id]=\"label\"\n [model]=\"multiselect ? selectedModels : selectedModel\"\n [placeholder]=\"label\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [noClickFocus]=\"false\"\n [leftIconData]=\"leftIconData\"\n [rightIcon]=\"isSelectOpen ? icons.ChevronUpRegular : icons.ChevronDownRegular\"\n [showClearButton]=\"true\"\n [useContent]=\"multiselect\"\n [customHeight]=\"multiselect\"\n [keepFocussed]=\"keepFocussed\"\n (modelChange)=\"handleInputModelChange($event)\"\n (click)=\"openPopup()\"\n (rightIconClick)=\"toggleSelect()\"\n (keydown)=\"handleInputKeyDown($event)\"\n (clearIconClick)=\"clearModel($event)\"\n (blur)=\"checkModel()\">\n <ng-container *ngIf=\"multiselect && showChips\">\n <div class=\"multiselect-chips-wrapper\">\n <div class=\"chips\" *ngFor=\"let chip of model\">\n <span class=\"chips-description\" [textContent]=\"chip[displayField]\"></span>\n <co-icon class=\"remove-chip-icon\" [icon]=\"icons.CrossSkinny\" (click)=\"removeOptionFromModel(chip)\"></co-icon>\n </div>\n </div>\n </ng-container>\n </co-input-text>\n
|
|
12090
|
+
template: "\n <co-input-text\n *ngIf=\"!largeCollection\"\n aria-haspopup=\"listbox\"\n [attr.aria-expanded]=\"isSelectOpen\"\n aria-controls=\"lov-popup\"\n role=\"combobox\"\n class=\"no-focus-line\"\n overlayParent\n #parentForOverlay=\"overlayParent\"\n type=\"text\"\n [id]=\"label\"\n [model]=\"multiselect ? selectedModels : selectedModel\"\n [placeholder]=\"label\"\n [myFormInputInstance]=\"this\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [noClickFocus]=\"false\"\n [leftIconData]=\"leftIconData\"\n [rightIcon]=\"isSelectOpen ? icons.ChevronUpRegular : icons.ChevronDownRegular\"\n [showClearButton]=\"true\"\n [useContent]=\"multiselect\"\n [customHeight]=\"multiselect\"\n [keepFocussed]=\"keepFocussed\"\n (modelChange)=\"handleInputModelChange($event)\"\n (click)=\"openPopup()\"\n (rightIconClick)=\"toggleSelect()\"\n (keydown)=\"handleInputKeyDown($event)\"\n (clearIconClick)=\"clearModel($event)\"\n (blur)=\"checkModel()\">\n <ng-container *ngIf=\"multiselect && showChips\">\n <div class=\"multiselect-chips-wrapper\">\n <div class=\"chips\" *ngFor=\"let chip of model\">\n <span class=\"chips-description\" [textContent]=\"chip[displayField]\"></span>\n <co-icon class=\"remove-chip-icon\" [icon]=\"icons.CrossSkinny\" (click)=\"removeOptionFromModel(chip)\"></co-icon>\n </div>\n </div>\n </ng-container>\n </co-input-text>\n\n <co-input-text\n *ngIf=\"largeCollection\"\n [model]=\"filterText\"\n [placeholder]=\"label\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n (modelChange)=\"onModelChange($event)\">\n </co-input-text>\n <div *ngIf=\"isLoading\" class=\"filter-loader\"><span></span></div>\n <input type=\"hidden\" [ngModel]=\"model\">\n ",
|
|
12191
12091
|
providers: [
|
|
12192
12092
|
OverlayService,
|
|
12193
12093
|
{
|
|
@@ -12198,6 +12098,15 @@
|
|
|
12198
12098
|
encapsulation: i0.ViewEncapsulation.None
|
|
12199
12099
|
},] }
|
|
12200
12100
|
];
|
|
12101
|
+
ListOfValuesComponent.ctorParameters = function () { return [
|
|
12102
|
+
{ type: FormComponent, decorators: [{ type: i0.Optional }] },
|
|
12103
|
+
{ type: i0.ChangeDetectorRef },
|
|
12104
|
+
{ type: OverlayService },
|
|
12105
|
+
{ type: i0.ComponentFactoryResolver },
|
|
12106
|
+
{ type: FormInputUserModelChangeListenerService },
|
|
12107
|
+
{ type: NgZoneWrapperService },
|
|
12108
|
+
{ type: i0.ElementRef }
|
|
12109
|
+
]; };
|
|
12201
12110
|
ListOfValuesComponent.propDecorators = {
|
|
12202
12111
|
model: [{ type: i0.Input }],
|
|
12203
12112
|
parentForOverlay: [{ type: i0.ViewChild, args: ['parentForOverlay', { read: i0.ElementRef },] }],
|
|
@@ -15533,22 +15442,21 @@
|
|
|
15533
15442
|
exports.showHideDialog = showHideDialog;
|
|
15534
15443
|
exports["ɵa"] = InputBoolean;
|
|
15535
15444
|
exports["ɵb"] = RippleModule;
|
|
15536
|
-
exports["ɵba"] =
|
|
15537
|
-
exports["ɵbb"] =
|
|
15538
|
-
exports["ɵbc"] =
|
|
15539
|
-
exports["ɵbd"] =
|
|
15540
|
-
exports["ɵbe"] =
|
|
15541
|
-
exports["ɵbf"] =
|
|
15542
|
-
exports["ɵbg"] =
|
|
15543
|
-
exports["ɵbh"] =
|
|
15544
|
-
exports["ɵbi"] =
|
|
15545
|
-
exports["ɵbj"] =
|
|
15546
|
-
exports["ɵbk"] =
|
|
15547
|
-
exports["ɵbl"] =
|
|
15548
|
-
exports["ɵbm"] =
|
|
15549
|
-
exports["ɵbn"] =
|
|
15550
|
-
exports["ɵbo"] =
|
|
15551
|
-
exports["ɵbp"] = HourSchedulingTestObjectComponent;
|
|
15445
|
+
exports["ɵba"] = PaginationService;
|
|
15446
|
+
exports["ɵbb"] = PaginatePipe;
|
|
15447
|
+
exports["ɵbc"] = SimpleGridCellComponent;
|
|
15448
|
+
exports["ɵbd"] = ListOfValuesMultiselectPopupComponent;
|
|
15449
|
+
exports["ɵbe"] = ConfirmationDialogComponent;
|
|
15450
|
+
exports["ɵbf"] = DialogBaseComponent;
|
|
15451
|
+
exports["ɵbg"] = CoreDynamicComponentService;
|
|
15452
|
+
exports["ɵbh"] = PrependPipeModule;
|
|
15453
|
+
exports["ɵbi"] = PrependPipe;
|
|
15454
|
+
exports["ɵbj"] = CheckmarkOverlayComponent;
|
|
15455
|
+
exports["ɵbk"] = ScannerService;
|
|
15456
|
+
exports["ɵbl"] = TooltipModule;
|
|
15457
|
+
exports["ɵbm"] = TooltipComponent;
|
|
15458
|
+
exports["ɵbn"] = TooltipDirective;
|
|
15459
|
+
exports["ɵbo"] = HourSchedulingTestObjectComponent;
|
|
15552
15460
|
exports["ɵc"] = MD_RIPPLE_GLOBAL_OPTIONS;
|
|
15553
15461
|
exports["ɵd"] = CoRippleDirective;
|
|
15554
15462
|
exports["ɵe"] = CoViewportRulerService;
|
|
@@ -15572,7 +15480,7 @@
|
|
|
15572
15480
|
exports["ɵw"] = CalendarTemplateComponent;
|
|
15573
15481
|
exports["ɵx"] = PopupShowerService;
|
|
15574
15482
|
exports["ɵy"] = BaseSimpleGridComponent;
|
|
15575
|
-
exports["ɵz"] =
|
|
15483
|
+
exports["ɵz"] = ObserveVisibilityDirective;
|
|
15576
15484
|
|
|
15577
15485
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
15578
15486
|
|