@skyux/grids 7.4.2 → 7.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.
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1tZXNzYWdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2dyaWRzL3NyYy9saWIvbW9kdWxlcy9ncmlkL3R5cGVzL2dyaWQtbWVzc2FnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2t5R3JpZE1lc3NhZ2VUeXBlIH0gZnJvbSAnLi9ncmlkLW1lc3NhZ2UtdHlwZSc7XG5cbi8qKlxuICogQGRlcHJlY2F0ZWQgYFNreUdyaWRDb21wb25lbnRgIGFuZCBpdHMgZmVhdHVyZXMgYXJlIGRlcHJlY2F0ZWQuIFdlIHJlY29tbWVuZCB1c2luZyB0aGUgZGF0YSBncmlkIGluc3RlYWQuIEZvciBtb3JlIGluZm9ybWF0aW9uLCBzZWUgaHR0cHM6Ly9kZXZlbG9wZXIuYmxhY2tiYXVkLmNvbS9za3l1eC9jb21wb25lbnRzL2RhdGEtZ3JpZFxuICovXG5leHBvcnQgaW50ZXJmYWNlIFNreUdyaWRNZXNzYWdlIHtcbiAgLyoqXG4gICAqIEluZGljYXRlcyB3aGF0IHR5cGUgb2YgbWVzc2FnZSBpcyBiZWluZyBzZW50LlxuICAgKi9cbiAgdHlwZTogU2t5R3JpZE1lc3NhZ2VUeXBlO1xuXG4gIC8qKlxuICAgKiBAaW50ZXJuYWxcbiAgICovXG4gIGRhdGE/OiB7XG4gICAgYWJvcnREZWxldGVSb3c/OiB7XG4gICAgICBpZDogc3RyaW5nO1xuICAgIH07X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dCBhcmUgc2VsZWN0ZWQuXG4gICAqL1xuICBzZWxlY3RlZFJvd0lkcz86IHN0cmluZ1tdO1xuXG4gIC8qKlxuICAgKiBAaW50ZXJuYWxcbiAgICogRGVmaW5lcyB0aGUgc291cmNlIG9mIHRoZSBjaGFuZ2UuIFRoaXMgd2lsbCB0eXBpY2FsbHkgYmUgdXNlZCB0byBkZXRlcm1pbmVcbiAgICogaWYgdGhlIGNoYW5nZSBjYW1lIGZyb20gdXNlciBpbnRlcmFjdGlvbiBvciBhIHByb2dyYW1tYXRpYyBzb3VyY2UuXG4gICAqL1xuICBzb3VyY2U/OiBTa3lHcmlkU2VsZWN0ZWRSb3dzU291cmNlO1xufVxuIl19
@@ -110,18 +110,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImpo
110
110
  class SkyGridColumnComponent {
111
111
  constructor() {
112
112
  /**
113
- * Specifies the horizontal alignment of the column's data and header.
113
+ * The horizontal alignment of the column's data and header.
114
114
  * Options include: `"left"`, `"center"`, and `"right"`.
115
115
  * @default "left"
116
116
  */
117
117
  this.alignment = 'left';
118
118
  /**
119
- * Indicates whether the column sorts the grid when users click the column header.
119
+ * Whether the column sorts the grid when users click the column header.
120
120
  * @default true
121
121
  */
122
122
  this.isSortable = true;
123
123
  /**
124
- * Specifies a search function to apply for the specific column. By default,
124
+ * The search function to apply for the specific column. By default,
125
125
  * the column executes a string compare on the column data.
126
126
  * @default (value, searchText) => value.toString().toLowerCase().indexOf(searchText) !== -1
127
127
  */
@@ -378,7 +378,7 @@ class SkyGridComponent {
378
378
  this.skyWindow = skyWindow;
379
379
  this.uiConfigService = uiConfigService;
380
380
  /**
381
- * Indicates whether to enable the multiselect feature to display a column of
381
+ * Whether to enable the multiselect feature to display a column of
382
382
  * checkboxes on the left side of the grid. You can specify a unique ID with
383
383
  * the `multiselectRowId` property, but multiselect defaults to the `id` property on
384
384
  * the `data` object.
@@ -386,7 +386,7 @@ class SkyGridComponent {
386
386
  */
387
387
  this.enableMultiselect = false;
388
388
  /**
389
- * Specifies how the grid fits to its parent. The valid options are `width`,
389
+ * How the grid fits to its parent. The valid options are `width`,
390
390
  * which fits the grid to the parent's full width, and `scroll`, which allows the grid
391
391
  * to exceed the parent's width. If the grid does not have enough columns to fill
392
392
  * the parent's width, it always stretches to the parent's full width.
@@ -394,11 +394,11 @@ class SkyGridComponent {
394
394
  */
395
395
  this.fit = 'width';
396
396
  /**
397
- * Indicates whether to display a toolbar with the grid.
397
+ * Whether to display a toolbar with the grid.
398
398
  */
399
399
  this.hasToolbar = false;
400
400
  /**
401
- * Provides an observable to send commands to the grid.
401
+ * The observable to send commands to the grid.
402
402
  */
403
403
  this.messageStream = new Subject();
404
404
  /**
@@ -456,7 +456,7 @@ class SkyGridComponent {
456
456
  this.dragulaGroupName = `sky-grids-group-${this.gridId}`;
457
457
  }
458
458
  /**
459
- * Specifies columns and column properties for the grid.
459
+ * Columns and column properties for the grid.
460
460
  */
461
461
  set columns(newColumns) {
462
462
  const oldColumns = this.columns;
@@ -472,7 +472,7 @@ class SkyGridComponent {
472
472
  return this._columns;
473
473
  }
474
474
  /**
475
- * Specifies the columns to display in the grid based on the `id` or `field` properties
475
+ * The columns to display in the grid based on the `id` or `field` properties
476
476
  * of the columns. If no columns are specified, then the grid displays all columns.
477
477
  */
478
478
  set selectedColumnIds(value) {
@@ -501,7 +501,7 @@ class SkyGridComponent {
501
501
  return this._selectedColumnIds;
502
502
  }
503
503
  /**
504
- * Specifies a set of IDs for the rows to select in a multiselect grid.
504
+ * The set of IDs for the rows to select in a multiselect grid.
505
505
  * The IDs match the `id` properties of the `data` objects.
506
506
  * Rows with IDs that are not included are de-selected in the grid.
507
507
  */
@@ -608,14 +608,14 @@ class SkyGridComponent {
608
608
  if (this.hasToolbar) {
609
609
  classNames.push('sky-grid-has-toolbar');
610
610
  }
611
- return this.addDelimeter(classNames, ' ');
611
+ return this.addDelimiter(classNames, ' ');
612
612
  }
613
613
  getTableHeaderClassNames(column) {
614
614
  const classNames = [];
615
615
  if (column && column.locked) {
616
616
  classNames.push('sky-grid-header-locked');
617
617
  }
618
- return this.addDelimeter(classNames, ' ');
618
+ return this.addDelimiter(classNames, ' ');
619
619
  }
620
620
  getCaretIconNames(column) {
621
621
  const iconNames = [];
@@ -627,7 +627,7 @@ class SkyGridComponent {
627
627
  iconNames.push('caret-down');
628
628
  }
629
629
  });
630
- return this.addDelimeter(iconNames, ' ');
630
+ return this.addDelimiter(iconNames, ' ');
631
631
  }
632
632
  onKeydown(event, column) {
633
633
  const key = event.key.toLowerCase();
@@ -1178,7 +1178,7 @@ class SkyGridComponent {
1178
1178
  getLastDisplayedColumn() {
1179
1179
  return this.getColumnModelByIndex(this.displayedColumns.length - 1);
1180
1180
  }
1181
- addDelimeter(text, delimiter) {
1181
+ addDelimiter(text, delimiter) {
1182
1182
  return text.filter((val) => val).join(delimiter);
1183
1183
  }
1184
1184
  destroyRowDelete(id) {