@theseam/ui-common 0.2.15 → 0.3.0

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.
Files changed (73) hide show
  1. package/bundles/theseam-ui-common-datatable.umd.js +1 -7
  2. package/bundles/theseam-ui-common-datatable.umd.js.map +1 -1
  3. package/bundles/theseam-ui-common-framework.umd.js +1 -1
  4. package/bundles/theseam-ui-common-framework.umd.js.map +1 -1
  5. package/bundles/theseam-ui-common-scrollbar.umd.js +1 -1
  6. package/bundles/theseam-ui-common-scrollbar.umd.js.map +1 -1
  7. package/bundles/theseam-ui-common-table-cell-types.umd.js +89 -4
  8. package/bundles/theseam-ui-common-table-cell-types.umd.js.map +1 -1
  9. package/bundles/theseam-ui-common-tel-input.umd.js +59 -7
  10. package/bundles/theseam-ui-common-tel-input.umd.js.map +1 -1
  11. package/bundles/theseam-ui-common-testing.umd.js.map +1 -1
  12. package/bundles/theseam-ui-common-utils.umd.js.map +1 -1
  13. package/bundles/theseam-ui-common-viewers.umd.js +269 -4
  14. package/bundles/theseam-ui-common-viewers.umd.js.map +1 -1
  15. package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +0 -1
  16. package/datatable/theseam-ui-common-datatable.metadata.json +1 -1
  17. package/esm2015/datatable/datatable-column-preferences/datatable-column-preferences.component.js +4 -10
  18. package/esm2015/datatable/models/columns-alteration.js +1 -1
  19. package/esm2015/datatable/models/columns-alterations/hide-column.columns-alteration.js +1 -1
  20. package/esm2015/datatable/models/columns-alterations/sort.columns-alteration.js +1 -1
  21. package/esm2015/datatable/models/columns-alterations/width.columns-alteration.js +1 -1
  22. package/esm2015/datatable/models/internal-column-props.js +1 -1
  23. package/esm2015/datatable/services/columns-alterations-manager.service.js +1 -1
  24. package/esm2015/datatable/utils/map-columns-alterations-states.js +1 -1
  25. package/esm2015/framework/top-bar/top-bar.component.js +2 -2
  26. package/esm2015/graphql/models/gql-datatable-accessor.js +1 -1
  27. package/esm2015/scrollbar/overlay-scrollbar.directive.js +2 -2
  28. package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js +1 -1
  29. package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +17 -2
  30. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js +1 -1
  31. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +16 -2
  32. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js +1 -1
  33. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +16 -2
  34. package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js +1 -1
  35. package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +32 -4
  36. package/esm2015/tel-input/tel-input/tel-input.component.js +10 -2
  37. package/esm2015/tel-input/tel-input.directive.js +50 -5
  38. package/esm2015/testing/current-tick-time.js +1 -1
  39. package/esm2015/utils/array-move.js +1 -1
  40. package/esm2015/utils/router/is-empty-url-route.js +1 -1
  41. package/esm2015/viewers/html-template-viewer/html-template-viewer.component.js +219 -0
  42. package/esm2015/viewers/html-template-viewer/html-template-viewer.module.js +23 -0
  43. package/esm2015/viewers/html-template-viewer/index.js +3 -0
  44. package/esm2015/viewers/public-api.js +2 -1
  45. package/fesm2015/theseam-ui-common-datatable.js +1 -7
  46. package/fesm2015/theseam-ui-common-datatable.js.map +1 -1
  47. package/fesm2015/theseam-ui-common-framework.js +1 -1
  48. package/fesm2015/theseam-ui-common-framework.js.map +1 -1
  49. package/fesm2015/theseam-ui-common-scrollbar.js +1 -1
  50. package/fesm2015/theseam-ui-common-scrollbar.js.map +1 -1
  51. package/fesm2015/theseam-ui-common-table-cell-types.js +74 -5
  52. package/fesm2015/theseam-ui-common-table-cell-types.js.map +1 -1
  53. package/fesm2015/theseam-ui-common-tel-input.js +58 -6
  54. package/fesm2015/theseam-ui-common-tel-input.js.map +1 -1
  55. package/fesm2015/theseam-ui-common-testing.js.map +1 -1
  56. package/fesm2015/theseam-ui-common-utils.js.map +1 -1
  57. package/fesm2015/theseam-ui-common-viewers.js +237 -2
  58. package/fesm2015/theseam-ui-common-viewers.js.map +1 -1
  59. package/framework/theseam-ui-common-framework.metadata.json +1 -1
  60. package/package.json +1 -1
  61. package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +5 -0
  62. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +5 -0
  63. package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +5 -0
  64. package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +8 -0
  65. package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +9 -0
  66. package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +1 -1
  67. package/tel-input/tel-input.directive.d.ts +7 -3
  68. package/tel-input/theseam-ui-common-tel-input.metadata.json +1 -1
  69. package/viewers/html-template-viewer/html-template-viewer.component.d.ts +67 -0
  70. package/viewers/html-template-viewer/html-template-viewer.module.d.ts +2 -0
  71. package/viewers/html-template-viewer/index.d.ts +2 -0
  72. package/viewers/public-api.d.ts +1 -0
  73. package/viewers/theseam-ui-common-viewers.metadata.json +1 -1
@@ -2492,11 +2492,6 @@
2492
2492
  this._datatable = _datatable;
2493
2493
  this._columnsAlterationsManager = _columnsAlterationsManager;
2494
2494
  this._filterControl = new forms.FormControl();
2495
- this._alphabeticalColumnCompareFn = function (a, b) {
2496
- var aProp = getColumnProp(a);
2497
- var bProp = getColumnProp(b);
2498
- return aProp === bProp ? 0 : aProp > bProp ? 1 : -1;
2499
- };
2500
2495
  this._columns$ = rxjs.combineLatest([
2501
2496
  (_a = this._datatable.columns$) !== null && _a !== void 0 ? _a : rxjs.of([]),
2502
2497
  utils.observeControlValue(this._filterControl)
@@ -2504,8 +2499,7 @@
2504
2499
  var _c = __read(_b, 2), columns = _c[0], filter = _c[1];
2505
2500
  var _filter = (filter || '').trim().toLowerCase();
2506
2501
  return columns
2507
- .filter(function (c) { return _this._canToggleColumn(c, _filter); })
2508
- .sort(_this._alphabeticalColumnCompareFn);
2502
+ .filter(function (c) { return _this._canToggleColumn(c, _filter); });
2509
2503
  }));
2510
2504
  }
2511
2505
  DatatableColumnPreferencesComponent.prototype._canToggleColumn = function (column, filter, omitInternalColumns) {