@theseam/ui-common 0.2.11 → 0.2.12
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/theseam-ui-common-table-cell-types.umd.js +245 -19
- package/bundles/theseam-ui-common-table-cell-types.umd.js.map +1 -1
- package/esm2015/table-cell-types/public-api.js +8 -1
- package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +74 -0
- package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js +1 -1
- package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +73 -0
- package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js +1 -1
- package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +71 -0
- package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-manifests.js +29 -17
- package/esm2015/table-cell-types/table-cell-types.module.js +9 -2
- package/fesm2015/theseam-ui-common-table-cell-types.js +232 -20
- package/fesm2015/theseam-ui-common-table-cell-types.js.map +1 -1
- package/package.json +1 -1
- package/table-cell-types/public-api.d.ts +7 -0
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +39 -0
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +19 -0
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.d.ts +3 -0
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +31 -1
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +19 -0
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.d.ts +3 -0
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +23 -1
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +19 -0
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.d.ts +3 -0
- package/table-cell-types/table-cell-type-manifests.d.ts +2 -1
- package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +1 -1
|
@@ -1,8 +1,80 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@theseam/ui-common/table-cell-type'), require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@theseam/ui-common/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@theseam/ui-common/table-cell-types', ['exports', '@theseam/ui-common/table-cell-type', '@angular/core', 'rxjs', 'rxjs/operators', '@theseam/ui-common/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam['ui-common'] = global.theseam['ui-common'] || {}, global.theseam['ui-common']['table-cell-types'] = {}), global.theseam['ui-common']['table-cell-type'], global.ng.core, global.rxjs, global.rxjs.operators, global.theseam['ui-common'].
|
|
5
|
-
}(this, (function (exports, tableCellType, core, rxjs, operators, datatable, icon, table, telInput,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@theseam/ui-common/table-cell-type'), require('@angular/common'), require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@theseam/ui-common/utils'), require('@angular/cdk/coercion'), require('@theseam/ui-common/datatable'), require('@theseam/ui-common/icon'), require('@theseam/ui-common/table'), require('@theseam/ui-common/tel-input'), require('@angular/cdk/portal'), require('@angular/router'), require('@ng-bootstrap/ng-bootstrap'), require('@theseam/ui-common/asset-reader'), require('@theseam/ui-common/popover'), require('@theseam/ui-common/progress'), require('@theseam/ui-common/shared')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/table-cell-types', ['exports', '@theseam/ui-common/table-cell-type', '@angular/common', '@angular/core', 'rxjs', 'rxjs/operators', '@theseam/ui-common/utils', '@angular/cdk/coercion', '@theseam/ui-common/datatable', '@theseam/ui-common/icon', '@theseam/ui-common/table', '@theseam/ui-common/tel-input', '@angular/cdk/portal', '@angular/router', '@ng-bootstrap/ng-bootstrap', '@theseam/ui-common/asset-reader', '@theseam/ui-common/popover', '@theseam/ui-common/progress', '@theseam/ui-common/shared'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam['ui-common'] = global.theseam['ui-common'] || {}, global.theseam['ui-common']['table-cell-types'] = {}), global.theseam['ui-common']['table-cell-type'], global.ng.common, global.ng.core, global.rxjs, global.rxjs.operators, global.theseam['ui-common'].utils, global.ng.cdk.coercion, global.theseam['ui-common'].datatable, global.theseam['ui-common'].icon, global.theseam['ui-common'].table, global.theseam['ui-common']['tel-input'], global.ng.cdk.portal, global.ng.router, global.ngBootstrap, global.theseam['ui-common']['asset-reader'], global.theseam['ui-common'].popover, global.theseam['ui-common'].progress, global.theseam['ui-common'].shared));
|
|
5
|
+
}(this, (function (exports, tableCellType, common, core, rxjs, operators, utils, coercion, datatable, icon, table, telInput, portal, router, ngBootstrap, assetReader, popover, progress, shared) { 'use strict';
|
|
6
|
+
|
|
7
|
+
var TableCellTypeCurrencyComponent = /** @class */ (function () {
|
|
8
|
+
// TODO: implement
|
|
9
|
+
// titleAttr?: string
|
|
10
|
+
function TableCellTypeCurrencyComponent(_cdf, _tableCellTypeHelpers, _tableData) {
|
|
11
|
+
var _this = this;
|
|
12
|
+
var _a, _b;
|
|
13
|
+
this._cdf = _cdf;
|
|
14
|
+
this._tableCellTypeHelpers = _tableCellTypeHelpers;
|
|
15
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
16
|
+
var tableData = _tableData;
|
|
17
|
+
this.value = tableData && this._formatCurrency(tableData.value, tableData);
|
|
18
|
+
this.row = tableData && tableData.row;
|
|
19
|
+
this.rowIndex = tableData && tableData.rowIndex;
|
|
20
|
+
this.colData = tableData && tableData.colData;
|
|
21
|
+
this.textAlign = this._parseConfigValue((_b = (_a = tableData === null || tableData === void 0 ? void 0 : tableData.colData) === null || _a === void 0 ? void 0 : _a.cellTypeConfig) === null || _b === void 0 ? void 0 : _b.textAlign, tableData) || 'right';
|
|
22
|
+
// this.titleAttr = this._parseConfigValue(tableData?.colData?.cellTypeConfig?.titleAttr, tableData) || this.value
|
|
23
|
+
if (tableData) {
|
|
24
|
+
tableData.changed
|
|
25
|
+
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
26
|
+
.subscribe(function (v) {
|
|
27
|
+
if (v.changes.hasOwnProperty('value')) {
|
|
28
|
+
_this.value = _this._formatCurrency(v.changes.value.currentValue, tableData);
|
|
29
|
+
_this._cdf.markForCheck();
|
|
30
|
+
}
|
|
31
|
+
if (v.changes.hasOwnProperty('colData')) {
|
|
32
|
+
_this.colData = v.changes.colData.currentValue;
|
|
33
|
+
_this._cdf.markForCheck();
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
TableCellTypeCurrencyComponent.prototype.ngOnInit = function () { };
|
|
39
|
+
TableCellTypeCurrencyComponent.prototype.ngOnDestroy = function () {
|
|
40
|
+
this._ngUnsubscribe.next();
|
|
41
|
+
this._ngUnsubscribe.complete();
|
|
42
|
+
};
|
|
43
|
+
TableCellTypeCurrencyComponent.prototype._formatCurrency = function (currentValue, tableData) {
|
|
44
|
+
var _a;
|
|
45
|
+
var config = (_a = tableData === null || tableData === void 0 ? void 0 : tableData.colData) === null || _a === void 0 ? void 0 : _a.cellTypeConfig;
|
|
46
|
+
var locale = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.locale, tableData) || 'en-US';
|
|
47
|
+
var currency = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.currency, tableData) || '$';
|
|
48
|
+
var currencyCode = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.currencyCode, tableData) || 'USD';
|
|
49
|
+
var minIntegerDigits = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.minIntegerDigits, tableData) || 1;
|
|
50
|
+
var minFractionDigits = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.minFractionDigits, tableData) || 0;
|
|
51
|
+
var maxFractionDigits = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.maxFractionDigits, tableData) || 2;
|
|
52
|
+
var format = minIntegerDigits + "." + minFractionDigits + "-" + maxFractionDigits;
|
|
53
|
+
return common.formatCurrency(currentValue, locale, currency, currencyCode, format);
|
|
54
|
+
};
|
|
55
|
+
TableCellTypeCurrencyComponent.prototype._parseConfigValue = function (val, tableData) {
|
|
56
|
+
var _this = this;
|
|
57
|
+
var contextFn = function () { return _this._tableCellTypeHelpers.getValueContext(val, tableData); };
|
|
58
|
+
return this._tableCellTypeHelpers.parseValueProp(val, contextFn);
|
|
59
|
+
};
|
|
60
|
+
return TableCellTypeCurrencyComponent;
|
|
61
|
+
}());
|
|
62
|
+
TableCellTypeCurrencyComponent.decorators = [
|
|
63
|
+
{ type: core.Component, args: [{
|
|
64
|
+
selector: 'seam-table-cell-type-currency',
|
|
65
|
+
template: "<div [class]=\"'text-' + textAlign\">\n <seam-table-cell-type-selector\n type=\"string\"\n [value]=\"value\"\n [rowIndex]=\"rowIndex\"\n [row]=\"row\"\n [colData]=\"colData\"></seam-table-cell-type-selector>\n</div>\n",
|
|
66
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
67
|
+
styles: [""]
|
|
68
|
+
},] }
|
|
69
|
+
];
|
|
70
|
+
TableCellTypeCurrencyComponent.ctorParameters = function () { return [
|
|
71
|
+
{ type: core.ChangeDetectorRef },
|
|
72
|
+
{ type: tableCellType.TableCellTypesHelpersService },
|
|
73
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [tableCellType.TABLE_CELL_DATA,] }] }
|
|
74
|
+
]; };
|
|
75
|
+
TableCellTypeCurrencyComponent.propDecorators = {
|
|
76
|
+
value: [{ type: core.Input }]
|
|
77
|
+
};
|
|
6
78
|
|
|
7
79
|
var TableCellTypeDateComponent = /** @class */ (function () {
|
|
8
80
|
function TableCellTypeDateComponent(_cdf, _tableData) {
|
|
@@ -57,6 +129,75 @@
|
|
|
57
129
|
format: [{ type: core.Input }]
|
|
58
130
|
};
|
|
59
131
|
|
|
132
|
+
var TableCellTypeDecimalComponent = /** @class */ (function () {
|
|
133
|
+
function TableCellTypeDecimalComponent(_cdf, _tableCellTypeHelpers, _tableData) {
|
|
134
|
+
var _this = this;
|
|
135
|
+
var _a, _b;
|
|
136
|
+
this._cdf = _cdf;
|
|
137
|
+
this._tableCellTypeHelpers = _tableCellTypeHelpers;
|
|
138
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
139
|
+
var tableData = _tableData;
|
|
140
|
+
this.value = tableData && this._formatDecimal(tableData.value, tableData);
|
|
141
|
+
this.row = tableData && tableData.row;
|
|
142
|
+
this.rowIndex = tableData && tableData.rowIndex;
|
|
143
|
+
this.colData = tableData && tableData.colData;
|
|
144
|
+
this.textAlign = this._parseConfigValue((_b = (_a = tableData === null || tableData === void 0 ? void 0 : tableData.colData) === null || _a === void 0 ? void 0 : _a.cellTypeConfig) === null || _b === void 0 ? void 0 : _b.textAlign, tableData) || 'right';
|
|
145
|
+
if (tableData) {
|
|
146
|
+
tableData.changed
|
|
147
|
+
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
148
|
+
.subscribe(function (v) {
|
|
149
|
+
if (v.changes.hasOwnProperty('value')) {
|
|
150
|
+
_this.value = _this._formatDecimal(v.changes.value.currentValue, tableData);
|
|
151
|
+
_this._cdf.markForCheck();
|
|
152
|
+
}
|
|
153
|
+
if (v.changes.hasOwnProperty('colData')) {
|
|
154
|
+
_this.colData = v.changes.colData.currentValue;
|
|
155
|
+
_this._cdf.markForCheck();
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
TableCellTypeDecimalComponent.prototype.ngOnInit = function () { };
|
|
161
|
+
TableCellTypeDecimalComponent.prototype.ngOnDestroy = function () {
|
|
162
|
+
this._ngUnsubscribe.next();
|
|
163
|
+
this._ngUnsubscribe.complete();
|
|
164
|
+
};
|
|
165
|
+
TableCellTypeDecimalComponent.prototype._formatDecimal = function (currentValue, tableData) {
|
|
166
|
+
var _a;
|
|
167
|
+
var config = (_a = tableData === null || tableData === void 0 ? void 0 : tableData.colData) === null || _a === void 0 ? void 0 : _a.cellTypeConfig;
|
|
168
|
+
var formatDecimal = utils.notNullOrUndefined(config === null || config === void 0 ? void 0 : config.formatNumber) ?
|
|
169
|
+
this._parseConfigValue(coercion.coerceBooleanProperty(config === null || config === void 0 ? void 0 : config.formatNumber), tableData) : true;
|
|
170
|
+
var locale = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.locale, tableData) || 'en-US';
|
|
171
|
+
var minIntegerDigits = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.minIntegerDigits, tableData) || 1;
|
|
172
|
+
var minFractionDigits = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.minFractionDigits, tableData) || 0;
|
|
173
|
+
var maxFractionDigits = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.maxFractionDigits, tableData) || 3;
|
|
174
|
+
var format = minIntegerDigits + "." + minFractionDigits + "-" + maxFractionDigits;
|
|
175
|
+
return formatDecimal ? common.formatNumber(currentValue, locale, format) : currentValue;
|
|
176
|
+
};
|
|
177
|
+
TableCellTypeDecimalComponent.prototype._parseConfigValue = function (val, tableData) {
|
|
178
|
+
var _this = this;
|
|
179
|
+
var contextFn = function () { return _this._tableCellTypeHelpers.getValueContext(val, tableData); };
|
|
180
|
+
return this._tableCellTypeHelpers.parseValueProp(val, contextFn);
|
|
181
|
+
};
|
|
182
|
+
return TableCellTypeDecimalComponent;
|
|
183
|
+
}());
|
|
184
|
+
TableCellTypeDecimalComponent.decorators = [
|
|
185
|
+
{ type: core.Component, args: [{
|
|
186
|
+
selector: 'seam-table-cell-type-decimal',
|
|
187
|
+
template: "<div [class]=\"'text-' + textAlign\">\n <seam-table-cell-type-selector\n type=\"string\"\n [value]=\"value\"\n [rowIndex]=\"rowIndex\"\n [row]=\"row\"\n [colData]=\"colData\"></seam-table-cell-type-selector>\n</div>\n",
|
|
188
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
189
|
+
styles: [""]
|
|
190
|
+
},] }
|
|
191
|
+
];
|
|
192
|
+
TableCellTypeDecimalComponent.ctorParameters = function () { return [
|
|
193
|
+
{ type: core.ChangeDetectorRef },
|
|
194
|
+
{ type: tableCellType.TableCellTypesHelpersService },
|
|
195
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [tableCellType.TABLE_CELL_DATA,] }] }
|
|
196
|
+
]; };
|
|
197
|
+
TableCellTypeDecimalComponent.propDecorators = {
|
|
198
|
+
value: [{ type: core.Input }]
|
|
199
|
+
};
|
|
200
|
+
|
|
60
201
|
var TableCellTypeIconComponent = /** @class */ (function () {
|
|
61
202
|
function TableCellTypeIconComponent(_cdf, _tableCellTypeHelpers, _datatable, _table, _tableData) {
|
|
62
203
|
var _this = this;
|
|
@@ -228,6 +369,73 @@
|
|
|
228
369
|
_isDatatable: [{ type: core.HostBinding, args: ['class.datatable-cell-type',] }]
|
|
229
370
|
};
|
|
230
371
|
|
|
372
|
+
var TableCellTypeIntegerComponent = /** @class */ (function () {
|
|
373
|
+
function TableCellTypeIntegerComponent(_cdf, _tableCellTypeHelpers, _tableData) {
|
|
374
|
+
var _this = this;
|
|
375
|
+
var _a, _b;
|
|
376
|
+
this._cdf = _cdf;
|
|
377
|
+
this._tableCellTypeHelpers = _tableCellTypeHelpers;
|
|
378
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
379
|
+
var tableData = _tableData;
|
|
380
|
+
this.value = tableData && this._formatInteger(tableData.value, tableData);
|
|
381
|
+
this.row = tableData && tableData.row;
|
|
382
|
+
this.rowIndex = tableData && tableData.rowIndex;
|
|
383
|
+
this.colData = tableData && tableData.colData;
|
|
384
|
+
this.textAlign = this._parseConfigValue((_b = (_a = tableData === null || tableData === void 0 ? void 0 : tableData.colData) === null || _a === void 0 ? void 0 : _a.cellTypeConfig) === null || _b === void 0 ? void 0 : _b.textAlign, tableData) || 'right';
|
|
385
|
+
if (tableData) {
|
|
386
|
+
tableData.changed
|
|
387
|
+
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
388
|
+
.subscribe(function (v) {
|
|
389
|
+
if (v.changes.hasOwnProperty('value')) {
|
|
390
|
+
_this.value = _this._formatInteger(v.changes.value.currentValue, tableData);
|
|
391
|
+
_this._cdf.markForCheck();
|
|
392
|
+
}
|
|
393
|
+
if (v.changes.hasOwnProperty('colData')) {
|
|
394
|
+
_this.colData = v.changes.colData.currentValue;
|
|
395
|
+
_this._cdf.markForCheck();
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
TableCellTypeIntegerComponent.prototype.ngOnInit = function () { };
|
|
401
|
+
TableCellTypeIntegerComponent.prototype.ngOnDestroy = function () {
|
|
402
|
+
this._ngUnsubscribe.next();
|
|
403
|
+
this._ngUnsubscribe.complete();
|
|
404
|
+
};
|
|
405
|
+
TableCellTypeIntegerComponent.prototype._formatInteger = function (currentValue, tableData) {
|
|
406
|
+
var _a;
|
|
407
|
+
var config = (_a = tableData === null || tableData === void 0 ? void 0 : tableData.colData) === null || _a === void 0 ? void 0 : _a.cellTypeConfig;
|
|
408
|
+
var formatInteger = utils.notNullOrUndefined(config === null || config === void 0 ? void 0 : config.formatNumber) ?
|
|
409
|
+
this._parseConfigValue(coercion.coerceBooleanProperty(config === null || config === void 0 ? void 0 : config.formatNumber), tableData) : true;
|
|
410
|
+
var locale = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.locale, tableData) || 'en-US';
|
|
411
|
+
var minIntegerDigits = this._parseConfigValue(config === null || config === void 0 ? void 0 : config.minIntegerDigits, tableData) || 1;
|
|
412
|
+
var format = minIntegerDigits + ".0-0";
|
|
413
|
+
return formatInteger ? common.formatNumber(currentValue, locale, format) : currentValue;
|
|
414
|
+
};
|
|
415
|
+
TableCellTypeIntegerComponent.prototype._parseConfigValue = function (val, tableData) {
|
|
416
|
+
var _this = this;
|
|
417
|
+
var contextFn = function () { return _this._tableCellTypeHelpers.getValueContext(val, tableData); };
|
|
418
|
+
return this._tableCellTypeHelpers.parseValueProp(val, contextFn);
|
|
419
|
+
};
|
|
420
|
+
return TableCellTypeIntegerComponent;
|
|
421
|
+
}());
|
|
422
|
+
TableCellTypeIntegerComponent.decorators = [
|
|
423
|
+
{ type: core.Component, args: [{
|
|
424
|
+
selector: 'seam-table-cell-type-integer',
|
|
425
|
+
template: "<div [class]=\"'text-' + textAlign\">\n <seam-table-cell-type-selector\n type=\"string\"\n [value]=\"value\"\n [rowIndex]=\"rowIndex\"\n [row]=\"row\"\n [colData]=\"colData\"></seam-table-cell-type-selector>\n</div>\n",
|
|
426
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
427
|
+
styles: [""]
|
|
428
|
+
},] }
|
|
429
|
+
];
|
|
430
|
+
TableCellTypeIntegerComponent.ctorParameters = function () { return [
|
|
431
|
+
{ type: core.ChangeDetectorRef },
|
|
432
|
+
{ type: tableCellType.TableCellTypesHelpersService },
|
|
433
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [tableCellType.TABLE_CELL_DATA,] }] }
|
|
434
|
+
]; };
|
|
435
|
+
TableCellTypeIntegerComponent.propDecorators = {
|
|
436
|
+
value: [{ type: core.Input }]
|
|
437
|
+
};
|
|
438
|
+
|
|
231
439
|
var TableCellTypePhoneComponent = /** @class */ (function () {
|
|
232
440
|
function TableCellTypePhoneComponent(_cdf, _tableData) {
|
|
233
441
|
var _this = this;
|
|
@@ -702,17 +910,17 @@
|
|
|
702
910
|
multi: true
|
|
703
911
|
};
|
|
704
912
|
var ɵ1 = {
|
|
705
|
-
name: '
|
|
706
|
-
component:
|
|
913
|
+
name: 'currency',
|
|
914
|
+
component: TableCellTypeCurrencyComponent
|
|
707
915
|
};
|
|
708
|
-
var
|
|
916
|
+
var TABLE_CELL_TYPE_MANIFEST_CURRENCY = {
|
|
709
917
|
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
710
918
|
useValue: ɵ1,
|
|
711
919
|
multi: true
|
|
712
920
|
};
|
|
713
921
|
var ɵ2 = {
|
|
714
922
|
name: 'decimal',
|
|
715
|
-
component:
|
|
923
|
+
component: TableCellTypeDecimalComponent
|
|
716
924
|
};
|
|
717
925
|
var TABLE_CELL_TYPE_MANIFEST_DECIMAL = {
|
|
718
926
|
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
@@ -720,57 +928,66 @@
|
|
|
720
928
|
multi: true
|
|
721
929
|
};
|
|
722
930
|
var ɵ3 = {
|
|
931
|
+
name: 'integer',
|
|
932
|
+
component: TableCellTypeIntegerComponent
|
|
933
|
+
};
|
|
934
|
+
var TABLE_CELL_TYPE_MANIFEST_INTEGER = {
|
|
935
|
+
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
936
|
+
useValue: ɵ3,
|
|
937
|
+
multi: true
|
|
938
|
+
};
|
|
939
|
+
var ɵ4 = {
|
|
723
940
|
name: 'date',
|
|
724
941
|
component: TableCellTypeDateComponent
|
|
725
942
|
};
|
|
726
943
|
var TABLE_CELL_TYPE_MANIFEST_DATE = {
|
|
727
944
|
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
728
|
-
useValue: ɵ
|
|
945
|
+
useValue: ɵ4,
|
|
729
946
|
multi: true
|
|
730
947
|
};
|
|
731
|
-
var ɵ
|
|
948
|
+
var ɵ5 = {
|
|
732
949
|
name: 'icon',
|
|
733
950
|
component: TableCellTypeIconComponent
|
|
734
951
|
};
|
|
735
952
|
var TABLE_CELL_TYPE_MANIFEST_ICON = {
|
|
736
953
|
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
737
|
-
useValue: ɵ
|
|
954
|
+
useValue: ɵ5,
|
|
738
955
|
multi: true
|
|
739
956
|
};
|
|
740
|
-
var ɵ
|
|
957
|
+
var ɵ6 = {
|
|
741
958
|
name: 'image',
|
|
742
959
|
component: TableCellTypeIconComponent
|
|
743
960
|
};
|
|
744
961
|
var TABLE_CELL_TYPE_MANIFEST_IMAGE = {
|
|
745
962
|
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
746
|
-
useValue: ɵ
|
|
963
|
+
useValue: ɵ6,
|
|
747
964
|
multi: true
|
|
748
965
|
};
|
|
749
|
-
var ɵ
|
|
966
|
+
var ɵ7 = {
|
|
750
967
|
name: 'progress-circle',
|
|
751
968
|
component: TableCellTypeProgressCircleComponent
|
|
752
969
|
};
|
|
753
970
|
var TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE = {
|
|
754
971
|
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
755
|
-
useValue: ɵ
|
|
972
|
+
useValue: ɵ7,
|
|
756
973
|
multi: true
|
|
757
974
|
};
|
|
758
|
-
var ɵ
|
|
975
|
+
var ɵ8 = {
|
|
759
976
|
name: 'progress-circle-icon',
|
|
760
977
|
component: TableCellTypeProgressCircleIconComponent
|
|
761
978
|
};
|
|
762
979
|
var TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE_ICON = {
|
|
763
980
|
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
764
|
-
useValue: ɵ
|
|
981
|
+
useValue: ɵ8,
|
|
765
982
|
multi: true
|
|
766
983
|
};
|
|
767
|
-
var ɵ
|
|
984
|
+
var ɵ9 = {
|
|
768
985
|
name: 'phone',
|
|
769
986
|
component: TableCellTypePhoneComponent
|
|
770
987
|
};
|
|
771
988
|
var TABLE_CELL_TYPE_MANIFEST_PHONE = {
|
|
772
989
|
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
773
|
-
useValue: ɵ
|
|
990
|
+
useValue: ɵ9,
|
|
774
991
|
multi: true
|
|
775
992
|
};
|
|
776
993
|
|
|
@@ -1094,8 +1311,11 @@
|
|
|
1094
1311
|
|
|
1095
1312
|
var cellTypeComponents = [
|
|
1096
1313
|
TableCellTypeStringComponent,
|
|
1314
|
+
TableCellTypeCurrencyComponent,
|
|
1097
1315
|
TableCellTypeDateComponent,
|
|
1316
|
+
TableCellTypeDecimalComponent,
|
|
1098
1317
|
TableCellTypeIconComponent,
|
|
1318
|
+
TableCellTypeIntegerComponent,
|
|
1099
1319
|
TableCellTypeProgressCircleComponent,
|
|
1100
1320
|
TableCellTypeProgressCircleIconComponent,
|
|
1101
1321
|
TableCellTypePhoneComponent
|
|
@@ -1103,6 +1323,7 @@
|
|
|
1103
1323
|
var cellTypeProviders = [
|
|
1104
1324
|
TABLE_CELL_TYPE_MANIFEST_STRING,
|
|
1105
1325
|
TABLE_CELL_TYPE_MANIFEST_INTEGER,
|
|
1326
|
+
TABLE_CELL_TYPE_MANIFEST_CURRENCY,
|
|
1106
1327
|
TABLE_CELL_TYPE_MANIFEST_DECIMAL,
|
|
1107
1328
|
TABLE_CELL_TYPE_MANIFEST_DATE,
|
|
1108
1329
|
TABLE_CELL_TYPE_MANIFEST_ICON,
|
|
@@ -1142,6 +1363,7 @@
|
|
|
1142
1363
|
* Generated bundle index. Do not edit.
|
|
1143
1364
|
*/
|
|
1144
1365
|
|
|
1366
|
+
exports.TABLE_CELL_TYPE_MANIFEST_CURRENCY = TABLE_CELL_TYPE_MANIFEST_CURRENCY;
|
|
1145
1367
|
exports.TABLE_CELL_TYPE_MANIFEST_DATE = TABLE_CELL_TYPE_MANIFEST_DATE;
|
|
1146
1368
|
exports.TABLE_CELL_TYPE_MANIFEST_DECIMAL = TABLE_CELL_TYPE_MANIFEST_DECIMAL;
|
|
1147
1369
|
exports.TABLE_CELL_TYPE_MANIFEST_ICON = TABLE_CELL_TYPE_MANIFEST_ICON;
|
|
@@ -1151,8 +1373,11 @@
|
|
|
1151
1373
|
exports.TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE = TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE;
|
|
1152
1374
|
exports.TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE_ICON = TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE_ICON;
|
|
1153
1375
|
exports.TABLE_CELL_TYPE_MANIFEST_STRING = TABLE_CELL_TYPE_MANIFEST_STRING;
|
|
1376
|
+
exports.TableCellTypeCurrencyComponent = TableCellTypeCurrencyComponent;
|
|
1154
1377
|
exports.TableCellTypeDateComponent = TableCellTypeDateComponent;
|
|
1378
|
+
exports.TableCellTypeDecimalComponent = TableCellTypeDecimalComponent;
|
|
1155
1379
|
exports.TableCellTypeIconComponent = TableCellTypeIconComponent;
|
|
1380
|
+
exports.TableCellTypeIntegerComponent = TableCellTypeIntegerComponent;
|
|
1156
1381
|
exports.TableCellTypePhoneComponent = TableCellTypePhoneComponent;
|
|
1157
1382
|
exports.TableCellTypeProgressCircleComponent = TableCellTypeProgressCircleComponent;
|
|
1158
1383
|
exports.TableCellTypeProgressCircleIconComponent = TableCellTypeProgressCircleIconComponent;
|
|
@@ -1167,6 +1392,7 @@
|
|
|
1167
1392
|
exports.ɵ6 = ɵ6;
|
|
1168
1393
|
exports.ɵ7 = ɵ7;
|
|
1169
1394
|
exports.ɵ8 = ɵ8;
|
|
1395
|
+
exports.ɵ9 = ɵ9;
|
|
1170
1396
|
|
|
1171
1397
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1172
1398
|
|