jsl-ui 9.5.0 → 9.6.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 (32) hide show
  1. package/lib/components/auto-suggest/AutoSuggestComponent.js +1 -1
  2. package/lib/components/button/ButtonComponent.js +1 -1
  3. package/lib/components/checkbox/CheckBoxComponent.js +1 -1
  4. package/lib/components/date/DateComponent.js +1 -1
  5. package/lib/components/date-range/DateRangeComponent.js +1 -1
  6. package/lib/components/dialog/DialogComponent.js +2 -2
  7. package/lib/components/expander/ExpanderComponent.js +8 -8
  8. package/lib/components/form-field/FormFieldComponent.js +2 -2
  9. package/lib/components/grid/GridComponent.js +1 -1
  10. package/lib/components/input/InputComponent.js +3 -3
  11. package/lib/components/navigation/NavigationComponent.js +13 -11
  12. package/lib/components/notification/Notification.js +1 -1
  13. package/lib/components/number/NumberComponent.js +1 -1
  14. package/lib/components/progress/ProgressComponent.js +2 -2
  15. package/lib/components/ribbon-menu/RibbonMenuComponent.js +9 -7
  16. package/lib/components/select/SelectComponent.js +3 -3
  17. package/lib/components/select/SelectDDAreaComponent.js +23 -19
  18. package/lib/components/stack-panel/SplitterComponent.js +1 -1
  19. package/lib/components/tabs/TabsComponent.js +24 -22
  20. package/lib/components/time/TimeComponent.js +4 -4
  21. package/lib/components/tree-view/TreeViewComponent.js +1 -1
  22. package/lib/components/virtual-render/VirtualRenderComponent.js +2 -2
  23. package/lib/core/culture.js +2 -2
  24. package/lib/grid/filterDialogs/excelFilter.js +4 -4
  25. package/lib/grid/slick.formatters.js +1 -1
  26. package/lib/grid/slick.grid.js +1 -1
  27. package/lib/grid/slick.groupitemmetadataprovider.d.ts +4 -4
  28. package/lib/index.js.map +1 -1
  29. package/lib/interaction/dataconverter.js +1 -0
  30. package/lib/ui/dialog.d.ts +1 -0
  31. package/lib/ui/dialog.js +8 -2
  32. package/package.json +2 -2
@@ -43,8 +43,8 @@ var VirtualRenderComponent = /** @class */ (function () {
43
43
  };
44
44
  var vrContainer = {
45
45
  tag: "div", attr: {
46
- class: "v-r-comp " + (_a = o.class, (_a !== null && _a !== void 0 ? _a : "")),
47
- style: "overflow-y:auto;" + (_b = o.style, (_b !== null && _b !== void 0 ? _b : "")),
46
+ class: "v-r-comp " + ((_a = o.class) !== null && _a !== void 0 ? _a : ""),
47
+ style: "overflow-y:auto;" + ((_b = o.style) !== null && _b !== void 0 ? _b : ""),
48
48
  scroll: function (e, node) {
49
49
  var newScrollPos = node.dom.scrollTop;
50
50
  if (Math.abs(_this.State.scrollPos - newScrollPos) < o.bufferSizeInPx) {
@@ -1,7 +1,7 @@
1
1
  var _a;
2
2
  var _w = window;
3
3
  _w._current_culture = "";
4
- var culture = (_a = _w._culture, (_a !== null && _a !== void 0 ? _a : {
4
+ var culture = (_a = _w._culture) !== null && _a !== void 0 ? _a : {
5
5
  info: { thousandSep: ",", decimalSep: ".", dateFormat: "yy-mm-dd", numberFormat: "#,0.####" },
6
6
  /**
7
7
  * sets a culture
@@ -377,7 +377,7 @@ var culture = (_a = _w._culture, (_a !== null && _a !== void 0 ? _a : {
377
377
  // 'zh-cht':['.',',','d/m/yy'],
378
378
  '': ['.', ',', 'yy-mm-dd']
379
379
  }
380
- }));
380
+ };
381
381
  _w._culture = culture;
382
382
  /**
383
383
  * culture info for date and number formatting and parsing
@@ -128,13 +128,13 @@ var ExcelFilter = /** @class */ (function () {
128
128
  if (Array.isArray(values)) {
129
129
  for (_a = 0, values_1 = values; _a < values_1.length; _a++) {
130
130
  x = values_1[_a];
131
- sortedValues.push({ id: [x], txt: (x !== null && x !== void 0 ? x : "") });
131
+ sortedValues.push({ id: [x], txt: x !== null && x !== void 0 ? x : "" });
132
132
  }
133
133
  }
134
134
  else {
135
135
  for (o in values) {
136
136
  if (values.hasOwnProperty(o)) {
137
- sortedValues.push({ id: values[o], txt: (o !== null && o !== void 0 ? o : "") });
137
+ sortedValues.push({ id: values[o], txt: o !== null && o !== void 0 ? o : "" });
138
138
  }
139
139
  }
140
140
  }
@@ -194,9 +194,9 @@ var ExcelFilter = /** @class */ (function () {
194
194
  renderer.render(vr);
195
195
  search.addEventListener("input", function (evt) {
196
196
  var _a;
197
- var term = (_a = evt.target.value, (_a !== null && _a !== void 0 ? _a : "")).toLowerCase();
197
+ var term = ((_a = evt.target.value) !== null && _a !== void 0 ? _a : "").toLowerCase();
198
198
  if (term) {
199
- visibleValues = sortedValues.filter(function (x) { var _a; return (_a = x.txt, (_a !== null && _a !== void 0 ? _a : "")).toLowerCase().indexOf(term) >= 0; });
199
+ visibleValues = sortedValues.filter(function (x) { var _a; return ((_a = x.txt) !== null && _a !== void 0 ? _a : "").toLowerCase().indexOf(term) >= 0; });
200
200
  }
201
201
  else {
202
202
  visibleValues = sortedValues;
@@ -84,7 +84,7 @@ export var MultiLookupFormatter = function (row, cell, value, columnDef, dataCon
84
84
  }
85
85
  else {
86
86
  var vlList = vl;
87
- result = vlList.filter(function (x) { return value.indexOf(x.value) >= 0; }).map(function (x) { var _a; return _a = x.text, (_a !== null && _a !== void 0 ? _a : ""); }).join(", ");
87
+ result = vlList.filter(function (x) { return value.indexOf(x.value) >= 0; }).map(function (x) { var _a; return (_a = x.text) !== null && _a !== void 0 ? _a : ""; }).join(", ");
88
88
  }
89
89
  }
90
90
  }
@@ -81,7 +81,7 @@ export function SlickGrid(container, data, columns, options) {
81
81
  editorCellNavOnLRKeys: false,
82
82
  doPaging: true,
83
83
  resizeDelta: 2,
84
- dragDelta: 3,
84
+ dragDelta: 3, // NEW
85
85
  };
86
86
  var columnDefaults = {
87
87
  name: "",
@@ -13,9 +13,9 @@
13
13
  * @param options
14
14
  */
15
15
  export declare function GroupItemMetadataProvider(options?: any): {
16
- "init": (grid: any) => void;
17
- "destroy": () => void;
18
- "getGroupRowMetadata": (item: any) => {
16
+ init: (grid: any) => void;
17
+ destroy: () => void;
18
+ getGroupRowMetadata: (item: any) => {
19
19
  selectable: boolean;
20
20
  focusable: any;
21
21
  cssClasses: any;
@@ -28,7 +28,7 @@ export declare function GroupItemMetadataProvider(options?: any): {
28
28
  };
29
29
  height: any;
30
30
  };
31
- "getTotalsRowMetadata": (item: any) => {
31
+ getTotalsRowMetadata: (item: any) => {
32
32
  selectable: boolean;
33
33
  focusable: any;
34
34
  cssClasses: any;