@ni/nimble-components 19.0.1 → 19.0.2
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/dist/all-components-bundle.js +16 -1
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +374 -373
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/table/index.d.ts +1 -0
- package/dist/esm/table/index.js +15 -0
- package/dist/esm/table/index.js.map +1 -1
- package/dist/esm/table/types.d.ts +23 -0
- package/package.json +1 -1
|
@@ -16366,7 +16366,7 @@
|
|
|
16366
16366
|
|
|
16367
16367
|
/**
|
|
16368
16368
|
* Do not edit directly
|
|
16369
|
-
* Generated on
|
|
16369
|
+
* Generated on Wed, 17 May 2023 21:20:25 GMT
|
|
16370
16370
|
*/
|
|
16371
16371
|
const Information100DarkUi = "#a46eff";
|
|
16372
16372
|
const Information100LightUi = "#804ad9";
|
|
@@ -30690,6 +30690,7 @@
|
|
|
30690
30690
|
currentColumn.columnInternals.currentSortDirection = TableColumnSortDirection.none;
|
|
30691
30691
|
}
|
|
30692
30692
|
}
|
|
30693
|
+
this.emitColumnConfigurationChangeEvent();
|
|
30693
30694
|
}
|
|
30694
30695
|
/**
|
|
30695
30696
|
* @internal
|
|
@@ -30872,6 +30873,20 @@
|
|
|
30872
30873
|
this.tableValidator.validateRecordIds(data, this.idFieldName);
|
|
30873
30874
|
this.canRenderRows = this.checkValidity();
|
|
30874
30875
|
}
|
|
30876
|
+
emitColumnConfigurationChangeEvent() {
|
|
30877
|
+
const detail = {
|
|
30878
|
+
columns: this.columns.map(column => ({
|
|
30879
|
+
columnId: column.columnId,
|
|
30880
|
+
sortIndex: column.columnInternals.currentSortIndex ?? undefined,
|
|
30881
|
+
sortDirection: column.columnInternals.currentSortDirection,
|
|
30882
|
+
groupIndex: column.columnInternals.groupIndex,
|
|
30883
|
+
hidden: column.columnHidden,
|
|
30884
|
+
fractionalWidth: column.columnInternals.currentFractionalWidth,
|
|
30885
|
+
pixelWidth: column.columnInternals.currentPixelWidth
|
|
30886
|
+
}))
|
|
30887
|
+
};
|
|
30888
|
+
this.$emit('column-configuration-change', detail);
|
|
30889
|
+
}
|
|
30875
30890
|
async emitSelectionChangeEvent() {
|
|
30876
30891
|
const detail = {
|
|
30877
30892
|
selectedRecordIds: await this.getSelectedRecordIds()
|