@colijnit/corecomponents_v12 258.1.18 → 258.1.20
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 +36 -164
- 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/filter-item/filter-item.component.js +5 -5
- 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 +16 -136
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -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.
|
|
@@ -9961,6 +9960,7 @@
|
|
|
9961
9960
|
this.headerColumns = [];
|
|
9962
9961
|
this.headerColumnsCopy = [];
|
|
9963
9962
|
this._data = [];
|
|
9963
|
+
this._exportData = [];
|
|
9964
9964
|
this.disabledRows = [];
|
|
9965
9965
|
this._prepared = false;
|
|
9966
9966
|
}
|
|
@@ -9984,6 +9984,16 @@
|
|
|
9984
9984
|
enumerable: false,
|
|
9985
9985
|
configurable: true
|
|
9986
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
|
+
});
|
|
9987
9997
|
Object.defineProperty(BaseSimpleGridComponent.prototype, "extraColumns", {
|
|
9988
9998
|
set: function (value) {
|
|
9989
9999
|
this._setColumns(value);
|
|
@@ -10092,6 +10102,7 @@
|
|
|
10092
10102
|
BaseSimpleGridComponent.propDecorators = {
|
|
10093
10103
|
content: [{ type: i0.ContentChildren, args: [SimpleGridColumnDirective,] }],
|
|
10094
10104
|
data: [{ type: i0.Input }],
|
|
10105
|
+
exportData: [{ type: i0.Input }],
|
|
10095
10106
|
dragDropEnabled: [{ type: i0.Input }],
|
|
10096
10107
|
resizable: [{ type: i0.Input }],
|
|
10097
10108
|
inlineEdit: [{ type: i0.Input }],
|
|
@@ -10111,150 +10122,13 @@
|
|
|
10111
10122
|
handleMouseUp: [{ type: i0.HostListener, args: ['document:mouseup', ['$event'],] }]
|
|
10112
10123
|
};
|
|
10113
10124
|
|
|
10114
|
-
var ExcelExportService = /** @class */ (function () {
|
|
10115
|
-
function ExcelExportService() {
|
|
10116
|
-
}
|
|
10117
|
-
/**
|
|
10118
|
-
* Export data to Excel file
|
|
10119
|
-
* @param data - Array of objects to export
|
|
10120
|
-
* @param columns - Column configuration (optional)
|
|
10121
|
-
* @param fileName - Name of the exported file
|
|
10122
|
-
* @param sheetName - Name of the Excel sheet
|
|
10123
|
-
*/
|
|
10124
|
-
ExcelExportService.prototype.exportToExcel = function (data, columns, fileName, sheetName) {
|
|
10125
|
-
var _this = this;
|
|
10126
|
-
if (fileName === void 0) { fileName = 'export'; }
|
|
10127
|
-
if (sheetName === void 0) { sheetName = 'Sheet1'; }
|
|
10128
|
-
// If columns are specified, transform data to match column structure
|
|
10129
|
-
var exportData = data;
|
|
10130
|
-
if (columns && columns.length > 0) {
|
|
10131
|
-
exportData = data.map(function (item) {
|
|
10132
|
-
var newItem = {};
|
|
10133
|
-
columns.forEach(function (col) {
|
|
10134
|
-
newItem[col.header] = _this.getFlatValue(item, col.key);
|
|
10135
|
-
});
|
|
10136
|
-
return newItem;
|
|
10137
|
-
});
|
|
10138
|
-
}
|
|
10139
|
-
// Create workbook and worksheet
|
|
10140
|
-
var wb = XLSX__namespace.utils.book_new();
|
|
10141
|
-
var ws = XLSX__namespace.utils.json_to_sheet(exportData);
|
|
10142
|
-
// Set column widths if specified
|
|
10143
|
-
if (columns && columns.some(function (col) { return col.width; })) {
|
|
10144
|
-
var colWidths = columns.map(function (col) { return ({ wch: col.width || 20 }); });
|
|
10145
|
-
ws['!cols'] = colWidths;
|
|
10146
|
-
}
|
|
10147
|
-
// Add worksheet to workbook
|
|
10148
|
-
XLSX__namespace.utils.book_append_sheet(wb, ws, sheetName);
|
|
10149
|
-
// Save file
|
|
10150
|
-
XLSX__namespace.writeFile(wb, fileName + ".xlsx");
|
|
10151
|
-
};
|
|
10152
|
-
/**
|
|
10153
|
-
* Export multiple sheets to one Excel file
|
|
10154
|
-
* @param sheets - Array of sheet data
|
|
10155
|
-
* @param fileName - Name of the exported file
|
|
10156
|
-
*/
|
|
10157
|
-
ExcelExportService.prototype.exportMultipleSheets = function (sheets, fileName) {
|
|
10158
|
-
var _this = this;
|
|
10159
|
-
if (fileName === void 0) { fileName = 'multi-sheet-export'; }
|
|
10160
|
-
var wb = XLSX__namespace.utils.book_new();
|
|
10161
|
-
sheets.forEach(function (sheet) {
|
|
10162
|
-
var exportData = sheet.data;
|
|
10163
|
-
if (sheet.columns && sheet.columns.length > 0) {
|
|
10164
|
-
exportData = sheet.data.map(function (item) {
|
|
10165
|
-
var newItem = {};
|
|
10166
|
-
sheet.columns.forEach(function (col) {
|
|
10167
|
-
newItem[col.header] = _this.getNestedValue(item, col.key);
|
|
10168
|
-
});
|
|
10169
|
-
return newItem;
|
|
10170
|
-
});
|
|
10171
|
-
}
|
|
10172
|
-
var ws = XLSX__namespace.utils.json_to_sheet(exportData);
|
|
10173
|
-
if (sheet.columns && sheet.columns.some(function (col) { return col.width; })) {
|
|
10174
|
-
var colWidths = sheet.columns.map(function (col) { return ({ wch: col.width || 20 }); });
|
|
10175
|
-
ws['!cols'] = colWidths;
|
|
10176
|
-
}
|
|
10177
|
-
XLSX__namespace.utils.book_append_sheet(wb, ws, sheet.sheetName);
|
|
10178
|
-
});
|
|
10179
|
-
XLSX__namespace.writeFile(wb, fileName + ".xlsx");
|
|
10180
|
-
};
|
|
10181
|
-
/**
|
|
10182
|
-
* Export HTML table to Excel
|
|
10183
|
-
* @param tableId - ID of the HTML table element
|
|
10184
|
-
* @param fileName - Name of the exported file
|
|
10185
|
-
* @param sheetName - Name of the Excel sheet
|
|
10186
|
-
*/
|
|
10187
|
-
ExcelExportService.prototype.exportTableToExcel = function (tableId, fileName, sheetName) {
|
|
10188
|
-
if (fileName === void 0) { fileName = 'table-export'; }
|
|
10189
|
-
if (sheetName === void 0) { sheetName = 'Sheet1'; }
|
|
10190
|
-
var table = document.getElementById(tableId);
|
|
10191
|
-
if (!table) {
|
|
10192
|
-
console.error("Table with ID '" + tableId + "' not found");
|
|
10193
|
-
return;
|
|
10194
|
-
}
|
|
10195
|
-
var wb = XLSX__namespace.utils.book_new();
|
|
10196
|
-
var ws = XLSX__namespace.utils.table_to_sheet(table);
|
|
10197
|
-
XLSX__namespace.utils.book_append_sheet(wb, ws, sheetName);
|
|
10198
|
-
XLSX__namespace.writeFile(wb, fileName + ".xlsx");
|
|
10199
|
-
};
|
|
10200
|
-
/**
|
|
10201
|
-
* Get nested object value using dot notation
|
|
10202
|
-
* @param obj - Object to search in
|
|
10203
|
-
* @param path - Dot notation path (e.g., 'user.address.city')
|
|
10204
|
-
*/
|
|
10205
|
-
ExcelExportService.prototype.getNestedValue = function (obj, path) {
|
|
10206
|
-
return path.split('.').reduce(function (current, key) {
|
|
10207
|
-
return current && current[key] !== undefined ? current[key] : '';
|
|
10208
|
-
}, obj);
|
|
10209
|
-
};
|
|
10210
|
-
ExcelExportService.prototype.getFlatValue = function (obj, key) {
|
|
10211
|
-
return obj && obj[key] !== undefined ? obj[key] : '';
|
|
10212
|
-
};
|
|
10213
|
-
/**
|
|
10214
|
-
* Format date for Excel export
|
|
10215
|
-
* @param date - Date to format
|
|
10216
|
-
* @param format - Format string (default: 'MM/DD/YYYY')
|
|
10217
|
-
*/
|
|
10218
|
-
ExcelExportService.prototype.formatDateForExport = function (date, format) {
|
|
10219
|
-
if (format === void 0) { format = 'MM/DD/YYYY'; }
|
|
10220
|
-
if (!date) {
|
|
10221
|
-
return '';
|
|
10222
|
-
}
|
|
10223
|
-
var d = new Date(date);
|
|
10224
|
-
if (isNaN(d.getTime())) {
|
|
10225
|
-
return '';
|
|
10226
|
-
}
|
|
10227
|
-
var month = (d.getMonth() + 1).toString().padStart(2, '0');
|
|
10228
|
-
var day = d.getDate().toString().padStart(2, '0');
|
|
10229
|
-
var year = d.getFullYear();
|
|
10230
|
-
switch (format) {
|
|
10231
|
-
case 'MM/DD/YYYY':
|
|
10232
|
-
return month + "/" + day + "/" + year;
|
|
10233
|
-
case 'DD/MM/YYYY':
|
|
10234
|
-
return day + "/" + month + "/" + year;
|
|
10235
|
-
case 'YYYY-MM-DD':
|
|
10236
|
-
return year + "-" + month + "-" + day;
|
|
10237
|
-
default:
|
|
10238
|
-
return d.toLocaleDateString();
|
|
10239
|
-
}
|
|
10240
|
-
};
|
|
10241
|
-
return ExcelExportService;
|
|
10242
|
-
}());
|
|
10243
|
-
ExcelExportService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ExcelExportService_Factory() { return new ExcelExportService(); }, token: ExcelExportService, providedIn: "root" });
|
|
10244
|
-
ExcelExportService.decorators = [
|
|
10245
|
-
{ type: i0.Injectable, args: [{
|
|
10246
|
-
providedIn: 'root'
|
|
10247
|
-
},] }
|
|
10248
|
-
];
|
|
10249
|
-
|
|
10250
10125
|
var SimpleGridComponent = /** @class */ (function (_super) {
|
|
10251
10126
|
__extends(SimpleGridComponent, _super);
|
|
10252
|
-
function SimpleGridComponent(icons, _changeDetection, _formMaster
|
|
10127
|
+
function SimpleGridComponent(icons, _changeDetection, _formMaster) {
|
|
10253
10128
|
var _this = _super.call(this) || this;
|
|
10254
10129
|
_this.icons = icons;
|
|
10255
10130
|
_this._changeDetection = _changeDetection;
|
|
10256
10131
|
_this._formMaster = _formMaster;
|
|
10257
|
-
_this.excelExportService = excelExportService;
|
|
10258
10132
|
_this.defaultTextAlign = exports.ColumnAlign.Left;
|
|
10259
10133
|
_this.showAdd = false;
|
|
10260
10134
|
_this.showDelete = false;
|
|
@@ -10627,7 +10501,7 @@
|
|
|
10627
10501
|
};
|
|
10628
10502
|
SimpleGridComponent.prototype.exportToExcel = function () {
|
|
10629
10503
|
this.isSettingsMenuOpen = false;
|
|
10630
|
-
var exportData = this._filterSelectedOrReturnAll(this.data);
|
|
10504
|
+
var exportData = this.exportData.length > 0 ? this._filterSelectedOrReturnAll(this.exportData) : this._filterSelectedOrReturnAll(this.data);
|
|
10631
10505
|
var columns = this.headerColumnsCopy.map(function (column) {
|
|
10632
10506
|
return ({
|
|
10633
10507
|
key: column.field,
|
|
@@ -10872,8 +10746,7 @@
|
|
|
10872
10746
|
SimpleGridComponent.ctorParameters = function () { return [
|
|
10873
10747
|
{ type: IconCacheService },
|
|
10874
10748
|
{ type: i0.ChangeDetectorRef },
|
|
10875
|
-
{ type: FormMasterService }
|
|
10876
|
-
{ type: ExcelExportService }
|
|
10749
|
+
{ type: FormMasterService }
|
|
10877
10750
|
]; };
|
|
10878
10751
|
SimpleGridComponent.propDecorators = {
|
|
10879
10752
|
headerCells: [{ type: i0.ViewChildren, args: ['headerCell',] }],
|
|
@@ -13389,7 +13262,7 @@
|
|
|
13389
13262
|
FilterItemComponent.decorators = [
|
|
13390
13263
|
{ type: i0.Component, args: [{
|
|
13391
13264
|
selector: "co-filter-item",
|
|
13392
|
-
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\" (mousedown)=\"showButton=true\">\n <ng-content></ng-content>\n </div>\n <ng-template #collectionContent>\n <div class=\"co-filter-item-collection-content\" *ngIf=\"mode === modes.Filterlist || mode === modes.SingleSelectList\n || mode === modes.SelectListWithNumberOutput || mode === modes.SelectListWithStringCollectionOutput\">\n <co-input-text\n *ngIf=\"collection?.length > 10 || minSearchCharsToLoadCollection\"\n [placeholder]=\"searchPlaceholder\"\n [model]=\"filterText\"\n (modelChange)=\"onModelChange($event)\"\n [readonly]=\"readonly\"\n >\n </co-input-text>\n <div *ngIf=\"isLoading\" class=\"filter-loader\"><span></span></div>\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=\"mode !== modes.SingleSelectList\"\n [label]=\"option.description\"\n [model]=\"option.checked\"\n [clickableLabel]=\"false\"\n (modelChange)=\"handleModelChange(option)\"\n [readonly]=\"readonly\"\n ></co-input-checkbox>\n <co-input-radio-button *ngIf=\"mode === modes.SingleSelectList\"\n [label]=\"option.description\"\n [model]=\"option.checked\"\n (modelChange)=\"handleModelChange(option)\"\n [readonly]=\"readonly\"\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 <div class=\"co-filter-item-slider-content\" *ngIf=\"mode === modes.Slider\">\n <co-input-text\n class=\"slider-from\"\n [type]=\"'number'\"\n [digitsOnly]=\"true\"\n [hideArrowButtons]=\"true\"\n [excludePlusMinus]=\"true\"\n [label]=\"'FROM' | coreLocalize\"\n [(model)]=\"sliderMin\"\n [readonly]=\"readonly\"\n (focusout)=\"handleModelChange(sliderMin)\"\n ></co-input-text>\n <co-input-text\n class=\"slider-to\"\n [type]=\"'number'\"\n [digitsOnly]=\"true\"\n [hideArrowButtons]=\"true\"\n [excludePlusMinus]=\"true\"\n [label]=\"'TO' | coreLocalize\"\n [(model)]=\"sliderMax\"\n [readonly]=\"readonly\"\n (focusout)=\"handleModelChange(sliderMax)\"\n ></co-input-text>\n </div>\n <div class=\"co-filter-item-slider-content\" *ngIf=\"mode === modes.NullableSlider\">\n <co-input-text\n class=\"slider-from\"\n [type]=\"'number'\"\n [digitsOnly]=\"true\"\n [hideArrowButtons]=\"true\"\n [excludePlusMinus]=\"true\"\n [label]=\"'FROM' | coreLocalize\"\n [(model)]=\"sliderMin\"\n [readonly]=\"readonly\"\n (focusout)=\"handleModelChange(sliderMin)\"\n ></co-input-text>\n <co-input-text\n class=\"slider-to\"\n [type]=\"'number'\"\n [digitsOnly]=\"true\"\n [hideArrowButtons]=\"true\"\n [excludePlusMinus]=\"true\"\n [label]=\"'TO' | coreLocalize\"\n [(model)]=\"sliderMax\"\n [readonly]=\"readonly\"\n (focusout)=\"handleModelChange(sliderMax)\"\n ></co-input-text>\n </div>\n <div class=\"co-filter-item-checkbox-content\" *ngIf=\"mode === modes.Checkbox \">\n <co-input-checkbox\n [(model)]=\"model\"\n (modelChange)=\"handleModelChange($event)\"\n [readonly]=\"readonly\"\n [label]=\"placeholder\">\n </co-input-checkbox>\n </div>\n <div class=\"co-filter-item-checkbox-content\"\n *ngIf=\"mode === modes.CheckboxToText || mode === modes.CheckboxToSimpleText || mode === modes.CheckboxToBinary\">\n <co-input-checkbox\n [(model)]=\"checkBoxToTextModel\"\n (modelChange)=\"handleModelChange($event)\"\n [readonly]=\"readonly\"\n [label]=\"placeholder\"></co-input-checkbox>\n </div>\n <div class=\"co-filter-item-textfield-content\" *ngIf=\"mode === modes.TextField\">\n <co-input-text\n [(model)]=\"model\" [readonly]=\"readonly\"\n (modelChange)=\"handleModelChange($event)\"></co-input-text>\n </div>\n <div class=\"co-filter-item-dateField-content\" *ngIf=\"mode === modes.DateField\">\n <co-input-date\n #dateInput\n [(model)]=\"model\" [readonly]=\"readonly\"\n (modelChange)=\"handleModelChange($event)\"\n ></co-input-date>\n </div>\n <div class=\"co-filter-item-dateField-content\" *ngIf=\"mode === modes.DateRangeField\">\n <co-input-date-range [readonly]=\"readonly\"\n #dateRangeInput\n [model]=\"[dateRangeStart, dateRangeEnd]\"\n (modelChange)=\"handleModelChange($event)\"\n [placeholder]=\"'Kies datum' | coreLocalize\">\n </co-input-date-range>\n </div>\n </ng-template>\n </div>\n </co-collapsible>\n </div>\n\n ",
|
|
13265
|
+
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\" (mousedown)=\"showButton=true\">\n <ng-content></ng-content>\n </div>\n <ng-template #collectionContent>\n <div class=\"co-filter-item-collection-content\" *ngIf=\"mode === modes.Filterlist || mode === modes.SingleSelectList\n || mode === modes.SelectListWithNumberOutput || mode === modes.SelectListWithStringCollectionOutput\">\n <co-input-text\n *ngIf=\"collection?.length > 10 || minSearchCharsToLoadCollection\"\n [placeholder]=\"searchPlaceholder\"\n [model]=\"filterText\"\n (modelChange)=\"onModelChange($event)\"\n [readonly]=\"readonly\"\n >\n </co-input-text>\n <div *ngIf=\"isLoading\" class=\"filter-loader\"><span></span></div>\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=\"mode !== modes.SingleSelectList\"\n [label]=\"option.description\"\n [model]=\"option.checked\"\n [clickableLabel]=\"false\"\n (modelChange)=\"handleModelChange(option)\"\n [readonly]=\"readonly\"\n ></co-input-checkbox>\n <co-input-radio-button *ngIf=\"mode === modes.SingleSelectList\"\n [label]=\"option.description\"\n [model]=\"option.checked\"\n (modelChange)=\"handleModelChange(option)\"\n [readonly]=\"readonly\"\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 <div class=\"co-filter-item-slider-content\" *ngIf=\"mode === modes.Slider\">\n <co-input-text\n class=\"slider-from\"\n [type]=\"'number'\"\n [digitsOnly]=\"true\"\n [hideArrowButtons]=\"true\"\n [excludePlusMinus]=\"true\"\n [label]=\"'FROM' | coreLocalize\"\n [(model)]=\"sliderMin\"\n [readonly]=\"readonly\"\n (modelChange)=\"handleModelChange(sliderMin)\"\n ></co-input-text>\n <co-input-text\n class=\"slider-to\"\n [type]=\"'number'\"\n [digitsOnly]=\"true\"\n [hideArrowButtons]=\"true\"\n [excludePlusMinus]=\"true\"\n [label]=\"'TO' | coreLocalize\"\n [(model)]=\"sliderMax\"\n [readonly]=\"readonly\"\n (modelChange)=\"handleModelChange(sliderMax)\"\n ></co-input-text>\n </div>\n <div class=\"co-filter-item-slider-content\" *ngIf=\"mode === modes.NullableSlider\">\n <co-input-text\n class=\"slider-from\"\n [type]=\"'number'\"\n [digitsOnly]=\"true\"\n [hideArrowButtons]=\"true\"\n [excludePlusMinus]=\"true\"\n [label]=\"'FROM' | coreLocalize\"\n [(model)]=\"sliderMin\"\n [readonly]=\"readonly\"\n (modelChange)=\"handleModelChange(sliderMin)\"\n ></co-input-text>\n <co-input-text\n class=\"slider-to\"\n [type]=\"'number'\"\n [digitsOnly]=\"true\"\n [hideArrowButtons]=\"true\"\n [excludePlusMinus]=\"true\"\n [label]=\"'TO' | coreLocalize\"\n [(model)]=\"sliderMax\"\n [readonly]=\"readonly\"\n (modelChange)=\"handleModelChange(sliderMax)\"\n ></co-input-text>\n </div>\n <div class=\"co-filter-item-checkbox-content\" *ngIf=\"mode === modes.Checkbox \">\n <co-input-checkbox\n [(model)]=\"model\"\n (modelChange)=\"handleModelChange($event)\"\n [readonly]=\"readonly\"\n [label]=\"placeholder\">\n </co-input-checkbox>\n </div>\n <div class=\"co-filter-item-checkbox-content\"\n *ngIf=\"mode === modes.CheckboxToText || mode === modes.CheckboxToSimpleText || mode === modes.CheckboxToBinary\">\n <co-input-checkbox\n [(model)]=\"checkBoxToTextModel\"\n (modelChange)=\"handleModelChange($event)\"\n [readonly]=\"readonly\"\n [label]=\"placeholder\"></co-input-checkbox>\n </div>\n <div class=\"co-filter-item-textfield-content\" *ngIf=\"mode === modes.TextField\">\n <co-input-text\n [(model)]=\"model\" [readonly]=\"readonly\"\n (modelChange)=\"handleModelChange($event)\"></co-input-text>\n </div>\n <div class=\"co-filter-item-dateField-content\" *ngIf=\"mode === modes.DateField\">\n <co-input-date\n #dateInput\n [(model)]=\"model\" [readonly]=\"readonly\"\n (modelChange)=\"handleModelChange($event)\"\n ></co-input-date>\n </div>\n <div class=\"co-filter-item-dateField-content\" *ngIf=\"mode === modes.DateRangeField\">\n <co-input-date-range [readonly]=\"readonly\"\n #dateRangeInput\n [model]=\"[dateRangeStart, dateRangeEnd]\"\n (modelChange)=\"handleModelChange($event)\"\n [placeholder]=\"'Kies datum' | coreLocalize\">\n </co-input-date-range>\n </div>\n </ng-template>\n </div>\n </co-collapsible>\n </div>\n\n ",
|
|
13393
13266
|
encapsulation: i0.ViewEncapsulation.None,
|
|
13394
13267
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
13395
13268
|
providers: [{
|
|
@@ -15569,22 +15442,21 @@
|
|
|
15569
15442
|
exports.showHideDialog = showHideDialog;
|
|
15570
15443
|
exports["ɵa"] = InputBoolean;
|
|
15571
15444
|
exports["ɵb"] = RippleModule;
|
|
15572
|
-
exports["ɵba"] =
|
|
15573
|
-
exports["ɵbb"] =
|
|
15574
|
-
exports["ɵbc"] =
|
|
15575
|
-
exports["ɵbd"] =
|
|
15576
|
-
exports["ɵbe"] =
|
|
15577
|
-
exports["ɵbf"] =
|
|
15578
|
-
exports["ɵbg"] =
|
|
15579
|
-
exports["ɵbh"] =
|
|
15580
|
-
exports["ɵbi"] =
|
|
15581
|
-
exports["ɵbj"] =
|
|
15582
|
-
exports["ɵbk"] =
|
|
15583
|
-
exports["ɵbl"] =
|
|
15584
|
-
exports["ɵbm"] =
|
|
15585
|
-
exports["ɵbn"] =
|
|
15586
|
-
exports["ɵbo"] =
|
|
15587
|
-
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;
|
|
15588
15460
|
exports["ɵc"] = MD_RIPPLE_GLOBAL_OPTIONS;
|
|
15589
15461
|
exports["ɵd"] = CoRippleDirective;
|
|
15590
15462
|
exports["ɵe"] = CoViewportRulerService;
|
|
@@ -15608,7 +15480,7 @@
|
|
|
15608
15480
|
exports["ɵw"] = CalendarTemplateComponent;
|
|
15609
15481
|
exports["ɵx"] = PopupShowerService;
|
|
15610
15482
|
exports["ɵy"] = BaseSimpleGridComponent;
|
|
15611
|
-
exports["ɵz"] =
|
|
15483
|
+
exports["ɵz"] = ObserveVisibilityDirective;
|
|
15612
15484
|
|
|
15613
15485
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
15614
15486
|
|