@ni/nimble-components 24.1.7 → 24.1.8

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.
@@ -16301,7 +16301,7 @@
16301
16301
 
16302
16302
  /**
16303
16303
  * Do not edit directly
16304
- * Generated on Thu, 04 Apr 2024 17:54:36 GMT
16304
+ * Generated on Thu, 04 Apr 2024 21:17:49 GMT
16305
16305
  */
16306
16306
 
16307
16307
  const Information100DarkUi = "#a46eff";
@@ -67827,7 +67827,7 @@ img.ProseMirror-separator {
67827
67827
  /**
67828
67828
  * The base class for table columns that display fields of any type as text.
67829
67829
  */
67830
- class TableColumnTextBase extends mixinGroupableColumnAPI(mixinFractionalWidthColumnAPI(mixinColumnWithPlaceholderAPI(TableColumn))) {
67830
+ class TableColumnTextBase extends TableColumn {
67831
67831
  fieldNameChanged() {
67832
67832
  this.columnInternals.dataRecordFieldNames = [this.fieldName];
67833
67833
  this.columnInternals.operandDataRecordFieldName = this.fieldName;
@@ -67836,6 +67836,10 @@ img.ProseMirror-separator {
67836
67836
  __decorate$1([
67837
67837
  attr({ attribute: 'field-name' })
67838
67838
  ], TableColumnTextBase.prototype, "fieldName", void 0);
67839
+ // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type, @typescript-eslint/no-explicit-any
67840
+ function mixinTextBase(base) {
67841
+ return mixinGroupableColumnAPI(mixinFractionalWidthColumnAPI(mixinColumnWithPlaceholderAPI(base)));
67842
+ }
67839
67843
 
67840
67844
  function formatNumericDate(formatter, date) {
67841
67845
  if (typeof date === 'number') {
@@ -68085,7 +68089,7 @@ img.ProseMirror-separator {
68085
68089
  /**
68086
68090
  * The table column for displaying dates/times as text.
68087
68091
  */
68088
- class TableColumnDateText extends TableColumnTextBase {
68092
+ class TableColumnDateText extends mixinTextBase((TableColumnTextBase)) {
68089
68093
  constructor() {
68090
68094
  super(...arguments);
68091
68095
  /** @internal */
@@ -68433,7 +68437,7 @@ img.ProseMirror-separator {
68433
68437
  /**
68434
68438
  * The table column for displaying a duration value as text.
68435
68439
  */
68436
- class TableColumnDurationText extends TableColumnTextBase {
68440
+ class TableColumnDurationText extends mixinTextBase((TableColumnTextBase)) {
68437
68441
  constructor() {
68438
68442
  super(...arguments);
68439
68443
  this.langSubscriber = {
@@ -69213,7 +69217,7 @@ img.ProseMirror-separator {
69213
69217
  /**
69214
69218
  * The table column for displaying numbers as text.
69215
69219
  */
69216
- class TableColumnNumberText extends TableColumnTextBase {
69220
+ class TableColumnNumberText extends mixinTextBase((TableColumnTextBase)) {
69217
69221
  constructor() {
69218
69222
  super(...arguments);
69219
69223
  /** @internal */
@@ -69668,7 +69672,7 @@ img.ProseMirror-separator {
69668
69672
  /**
69669
69673
  * The table column for displaying string fields as text.
69670
69674
  */
69671
- class TableColumnText extends TableColumnTextBase {
69675
+ class TableColumnText extends mixinTextBase((TableColumnTextBase)) {
69672
69676
  placeholderChanged() {
69673
69677
  this.columnInternals.columnConfig = {
69674
69678
  placeholder: this.placeholder