@ni/nimble-components 19.8.3 → 19.8.5
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 +39 -117
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +279 -294
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/src/table/index.d.ts +1 -0
- package/dist/esm/src/table/models/table-layout-manager.d.ts +1 -1
- package/dist/esm/src/table-column/anchor/cell-view/index.d.ts +1 -1
- package/dist/esm/src/table-column/anchor/index.d.ts +0 -3
- package/dist/esm/src/table-column/base/types.d.ts +0 -3
- package/dist/esm/src/table-column/text/cell-view/index.d.ts +0 -1
- package/dist/esm/src/table-column/text/group-header-view/index.d.ts +0 -1
- package/dist/esm/src/table-column/text/index.d.ts +1 -2
- package/dist/esm/src/table-column/text-base/cell-view/index.d.ts +1 -10
- package/dist/esm/src/table-column/text-base/group-header-view/index.d.ts +2 -12
- package/dist/esm/src/table-column/text-base/group-header-view/template.d.ts +1 -1
- package/dist/esm/src/table-column/text-base/index.d.ts +1 -11
- package/dist/esm/table/index.d.ts +1 -0
- package/dist/esm/table/index.js +9 -0
- package/dist/esm/table/index.js.map +1 -1
- package/dist/esm/table/models/table-layout-manager.d.ts +1 -1
- package/dist/esm/table/models/table-layout-manager.js +9 -10
- package/dist/esm/table/models/table-layout-manager.js.map +1 -1
- package/dist/esm/table-column/anchor/cell-view/index.d.ts +1 -1
- package/dist/esm/table-column/anchor/cell-view/index.js +3 -3
- package/dist/esm/table-column/anchor/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/anchor/cell-view/styles.js +1 -5
- package/dist/esm/table-column/anchor/cell-view/styles.js.map +1 -1
- package/dist/esm/table-column/anchor/cell-view/template.js +4 -5
- package/dist/esm/table-column/anchor/cell-view/template.js.map +1 -1
- package/dist/esm/table-column/anchor/index.d.ts +0 -3
- package/dist/esm/table-column/anchor/index.js +0 -7
- package/dist/esm/table-column/anchor/index.js.map +1 -1
- package/dist/esm/table-column/base/types.d.ts +0 -3
- package/dist/esm/table-column/base/types.js.map +1 -1
- package/dist/esm/table-column/text/cell-view/index.d.ts +0 -1
- package/dist/esm/table-column/text/cell-view/index.js +3 -11
- package/dist/esm/table-column/text/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/text/group-header-view/index.d.ts +0 -1
- package/dist/esm/table-column/text/group-header-view/index.js +3 -11
- package/dist/esm/table-column/text/group-header-view/index.js.map +1 -1
- package/dist/esm/table-column/text/index.d.ts +1 -2
- package/dist/esm/table-column/text/index.js.map +1 -1
- package/dist/esm/table-column/text-base/cell-view/index.d.ts +1 -10
- package/dist/esm/table-column/text-base/cell-view/index.js +2 -22
- package/dist/esm/table-column/text-base/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/text-base/cell-view/styles.js +1 -5
- package/dist/esm/table-column/text-base/cell-view/styles.js.map +1 -1
- package/dist/esm/table-column/text-base/cell-view/template.js +2 -3
- package/dist/esm/table-column/text-base/cell-view/template.js.map +1 -1
- package/dist/esm/table-column/text-base/group-header-view/index.d.ts +2 -12
- package/dist/esm/table-column/text-base/group-header-view/index.js +2 -22
- package/dist/esm/table-column/text-base/group-header-view/index.js.map +1 -1
- package/dist/esm/table-column/text-base/group-header-view/styles.js +1 -5
- package/dist/esm/table-column/text-base/group-header-view/styles.js.map +1 -1
- package/dist/esm/table-column/text-base/group-header-view/template.d.ts +1 -1
- package/dist/esm/table-column/text-base/group-header-view/template.js +2 -3
- package/dist/esm/table-column/text-base/group-header-view/template.js.map +1 -1
- package/dist/esm/table-column/text-base/index.d.ts +1 -11
- package/dist/esm/table-column/text-base/index.js +1 -9
- package/dist/esm/table-column/text-base/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -16288,7 +16288,7 @@
|
|
|
16288
16288
|
|
|
16289
16289
|
/**
|
|
16290
16290
|
* Do not edit directly
|
|
16291
|
-
* Generated on
|
|
16291
|
+
* Generated on Fri, 21 Jul 2023 16:51:13 GMT
|
|
16292
16292
|
*/
|
|
16293
16293
|
|
|
16294
16294
|
const Information100DarkUi = "#a46eff";
|
|
@@ -30899,11 +30899,11 @@
|
|
|
30899
30899
|
this.visibleColumns = [];
|
|
30900
30900
|
this.currentTotalDelta = 0;
|
|
30901
30901
|
this.dragStart = 0;
|
|
30902
|
-
this.
|
|
30902
|
+
this.initialColumnWidths = [];
|
|
30903
30903
|
this.onDividerMouseMove = (event) => {
|
|
30904
30904
|
const mouseEvent = event;
|
|
30905
30905
|
for (let i = 0; i < this.visibleColumns.length; i++) {
|
|
30906
|
-
this.visibleColumns[i].columnInternals.currentPixelWidth = this.
|
|
30906
|
+
this.visibleColumns[i].columnInternals.currentPixelWidth = this.initialColumnWidths[i]?.initialPixelWidth;
|
|
30907
30907
|
}
|
|
30908
30908
|
this.currentTotalDelta = this.getAllowedSizeDelta(mouseEvent.clientX - this.dragStart);
|
|
30909
30909
|
this.performCascadeSizeLeft(this.leftColumnIndex, this.currentTotalDelta);
|
|
@@ -30982,7 +30982,7 @@
|
|
|
30982
30982
|
// size left
|
|
30983
30983
|
let currentIndex = this.leftColumnIndex;
|
|
30984
30984
|
while (currentIndex >= 0) {
|
|
30985
|
-
const columnInitialWidths = this.
|
|
30985
|
+
const columnInitialWidths = this.initialColumnWidths[currentIndex];
|
|
30986
30986
|
availableSpace
|
|
30987
30987
|
+= columnInitialWidths.initialPixelWidth
|
|
30988
30988
|
- columnInitialWidths.minPixelWidth;
|
|
@@ -30992,7 +30992,7 @@
|
|
|
30992
30992
|
}
|
|
30993
30993
|
performCascadeSizeLeft(leftColumnIndex, delta) {
|
|
30994
30994
|
let currentDelta = delta;
|
|
30995
|
-
const leftColumnInitialWidths = this.
|
|
30995
|
+
const leftColumnInitialWidths = this.initialColumnWidths[leftColumnIndex];
|
|
30996
30996
|
const allowedDelta = delta < 0
|
|
30997
30997
|
? Math.max(leftColumnInitialWidths.minPixelWidth
|
|
30998
30998
|
- leftColumnInitialWidths.initialPixelWidth, currentDelta)
|
|
@@ -31007,7 +31007,7 @@
|
|
|
31007
31007
|
}
|
|
31008
31008
|
performCascadeSizeRight(rightColumnIndex, delta) {
|
|
31009
31009
|
let currentDelta = delta;
|
|
31010
|
-
const rightColumnInitialWidths = this.
|
|
31010
|
+
const rightColumnInitialWidths = this.initialColumnWidths[rightColumnIndex];
|
|
31011
31011
|
const allowedDelta = delta > 0
|
|
31012
31012
|
? Math.min(rightColumnInitialWidths.initialPixelWidth
|
|
31013
31013
|
- rightColumnInitialWidths.minPixelWidth, currentDelta)
|
|
@@ -31031,9 +31031,9 @@
|
|
|
31031
31031
|
}
|
|
31032
31032
|
}
|
|
31033
31033
|
cacheColumnInitialPixelWidths() {
|
|
31034
|
-
this.
|
|
31034
|
+
this.initialColumnWidths = [];
|
|
31035
31035
|
for (const column of this.visibleColumns) {
|
|
31036
|
-
this.
|
|
31036
|
+
this.initialColumnWidths.push({
|
|
31037
31037
|
initalColumnFractionalWidth: column.columnInternals.currentFractionalWidth,
|
|
31038
31038
|
initialPixelWidth: column.columnInternals.currentPixelWidth,
|
|
31039
31039
|
minPixelWidth: column.columnInternals.minPixelWidth
|
|
@@ -31051,9 +31051,8 @@
|
|
|
31051
31051
|
if (column === this.gridSizedColumns[gridColumnIndex]) {
|
|
31052
31052
|
gridColumnIndex += 1;
|
|
31053
31053
|
column.columnInternals.currentFractionalWidth = (column.columnInternals.currentPixelWidth
|
|
31054
|
-
/ this.
|
|
31055
|
-
* this.
|
|
31056
|
-
.initalColumnFractionalWidth;
|
|
31054
|
+
/ this.initialColumnWidths[i].initialPixelWidth)
|
|
31055
|
+
* this.initialColumnWidths[i].initalColumnFractionalWidth;
|
|
31057
31056
|
column.columnInternals.currentPixelWidth = undefined;
|
|
31058
31057
|
}
|
|
31059
31058
|
}
|
|
@@ -31656,6 +31655,8 @@
|
|
|
31656
31655
|
this.table = createTable(this.options);
|
|
31657
31656
|
this.virtualizer = new Virtualizer(this, this.table);
|
|
31658
31657
|
this.layoutManager = new TableLayoutManager(this);
|
|
31658
|
+
this.layoutManagerNotifier = Observable.getNotifier(this.layoutManager);
|
|
31659
|
+
this.layoutManagerNotifier.subscribe(this, 'isColumnBeingSized');
|
|
31659
31660
|
this.selectionManager = new InteractiveSelectionManager(this.table, this.selectionMode);
|
|
31660
31661
|
}
|
|
31661
31662
|
get validity() {
|
|
@@ -31743,6 +31744,13 @@
|
|
|
31743
31744
|
this.tableUpdateTracker.trackColumnPropertyChanged(args);
|
|
31744
31745
|
}
|
|
31745
31746
|
}
|
|
31747
|
+
else if (source instanceof TableLayoutManager
|
|
31748
|
+
&& args === 'isColumnBeingSized'
|
|
31749
|
+
&& !this.layoutManager.isColumnBeingSized) {
|
|
31750
|
+
// 'isColumnBeingSized' changing to 'false' indicates an interactive
|
|
31751
|
+
// column sizing operation has been completed
|
|
31752
|
+
this.emitColumnConfigurationChangeEvent();
|
|
31753
|
+
}
|
|
31746
31754
|
}
|
|
31747
31755
|
/** @internal */
|
|
31748
31756
|
onRowSelectionToggle(rowIndex, event) {
|
|
@@ -32452,10 +32460,6 @@
|
|
|
32452
32460
|
overflow: hidden;
|
|
32453
32461
|
text-overflow: ellipsis;
|
|
32454
32462
|
}
|
|
32455
|
-
|
|
32456
|
-
.placeholder {
|
|
32457
|
-
color: ${controlLabelFontColor};
|
|
32458
|
-
}
|
|
32459
32463
|
`;
|
|
32460
32464
|
|
|
32461
32465
|
/* eslint-disable @typescript-eslint/indent */
|
|
@@ -32483,17 +32487,16 @@
|
|
|
32483
32487
|
download="${x => x.columnConfig.download}"
|
|
32484
32488
|
underline-hidden="${x => x.columnConfig.underlineHidden}"
|
|
32485
32489
|
appearance="${x => x.columnConfig.appearance}"
|
|
32486
|
-
title=${x => (x.hasOverflow
|
|
32490
|
+
title=${x => (x.hasOverflow ? x.text : null)}
|
|
32487
32491
|
>
|
|
32488
|
-
${x => x.
|
|
32492
|
+
${x => x.text}
|
|
32489
32493
|
</${anchorTag}>`)}
|
|
32490
32494
|
${when(x => typeof x.cellRecord.href !== 'string', html `
|
|
32491
32495
|
<span
|
|
32492
32496
|
${overflow('hasOverflow')}
|
|
32493
|
-
|
|
32494
|
-
title=${x => (x.hasOverflow && x.content ? x.content : null)}
|
|
32497
|
+
title=${x => (x.hasOverflow ? x.text : null)}
|
|
32495
32498
|
>
|
|
32496
|
-
${x => x.
|
|
32499
|
+
${x => x.text}
|
|
32497
32500
|
</span>`)}
|
|
32498
32501
|
</template>
|
|
32499
32502
|
`;
|
|
@@ -32507,14 +32510,14 @@
|
|
|
32507
32510
|
/** @internal */
|
|
32508
32511
|
this.hasOverflow = false;
|
|
32509
32512
|
}
|
|
32510
|
-
get
|
|
32513
|
+
get text() {
|
|
32511
32514
|
if (typeof this.cellRecord.label === 'string') {
|
|
32512
32515
|
return this.cellRecord.label;
|
|
32513
32516
|
}
|
|
32514
32517
|
if (typeof this.cellRecord.href === 'string') {
|
|
32515
32518
|
return this.cellRecord.href;
|
|
32516
32519
|
}
|
|
32517
|
-
return
|
|
32520
|
+
return '';
|
|
32518
32521
|
}
|
|
32519
32522
|
focusedRecycleCallback() {
|
|
32520
32523
|
this.anchor?.blur();
|
|
@@ -32525,7 +32528,7 @@
|
|
|
32525
32528
|
], TableColumnAnchorCellView.prototype, "hasOverflow", void 0);
|
|
32526
32529
|
__decorate$1([
|
|
32527
32530
|
volatile
|
|
32528
|
-
], TableColumnAnchorCellView.prototype, "
|
|
32531
|
+
], TableColumnAnchorCellView.prototype, "text", null);
|
|
32529
32532
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
32530
32533
|
baseName: 'table-column-anchor-cell-view',
|
|
32531
32534
|
template: template$7,
|
|
@@ -32543,20 +32546,9 @@
|
|
|
32543
32546
|
/** @internal */
|
|
32544
32547
|
this.hasOverflow = false;
|
|
32545
32548
|
/**
|
|
32546
|
-
* Text to render in the cell
|
|
32549
|
+
* Text to render in the cell.
|
|
32547
32550
|
*/
|
|
32548
32551
|
this.text = '';
|
|
32549
|
-
/**
|
|
32550
|
-
* Text to render in the cell when it contains an invalid value (i.e. when shouldUsePlaceholder is true).
|
|
32551
|
-
*/
|
|
32552
|
-
this.placeholder = '';
|
|
32553
|
-
/**
|
|
32554
|
-
* Returns whether to display the placeholder value or the text value
|
|
32555
|
-
*/
|
|
32556
|
-
this.shouldUsePlaceholder = true;
|
|
32557
|
-
}
|
|
32558
|
-
get content() {
|
|
32559
|
-
return this.shouldUsePlaceholder ? this.placeholder : this.text;
|
|
32560
32552
|
}
|
|
32561
32553
|
}
|
|
32562
32554
|
__decorate$1([
|
|
@@ -32565,23 +32557,13 @@
|
|
|
32565
32557
|
__decorate$1([
|
|
32566
32558
|
observable
|
|
32567
32559
|
], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
|
|
32568
|
-
__decorate$1([
|
|
32569
|
-
observable
|
|
32570
|
-
], TableColumnTextGroupHeaderViewBase.prototype, "placeholder", void 0);
|
|
32571
|
-
__decorate$1([
|
|
32572
|
-
observable
|
|
32573
|
-
], TableColumnTextGroupHeaderViewBase.prototype, "shouldUsePlaceholder", void 0);
|
|
32574
|
-
__decorate$1([
|
|
32575
|
-
volatile
|
|
32576
|
-
], TableColumnTextGroupHeaderViewBase.prototype, "content", null);
|
|
32577
32560
|
|
|
32578
32561
|
const template$6 = html `
|
|
32579
32562
|
<span
|
|
32580
32563
|
${overflow('hasOverflow')}
|
|
32581
|
-
|
|
32582
|
-
title="${x => (x.hasOverflow && x.content ? x.content : undefined)}"
|
|
32564
|
+
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
32583
32565
|
>
|
|
32584
|
-
${x => x.
|
|
32566
|
+
${x => x.text}
|
|
32585
32567
|
</span>
|
|
32586
32568
|
`;
|
|
32587
32569
|
|
|
@@ -32593,28 +32575,16 @@
|
|
|
32593
32575
|
overflow: hidden;
|
|
32594
32576
|
text-overflow: ellipsis;
|
|
32595
32577
|
}
|
|
32596
|
-
|
|
32597
|
-
.placeholder {
|
|
32598
|
-
color: ${controlLabelFontColor};
|
|
32599
|
-
}
|
|
32600
32578
|
`;
|
|
32601
32579
|
|
|
32602
32580
|
/**
|
|
32603
32581
|
* The group header view for displaying string fields as text.
|
|
32604
32582
|
*/
|
|
32605
32583
|
class TableColumnTextGroupHeaderView extends TableColumnTextGroupHeaderViewBase {
|
|
32606
|
-
columnConfigChanged() {
|
|
32607
|
-
this.placeholder = this.columnConfig?.placeholder ?? '';
|
|
32608
|
-
}
|
|
32609
32584
|
groupHeaderValueChanged() {
|
|
32610
|
-
|
|
32611
|
-
|
|
32612
|
-
|
|
32613
|
-
}
|
|
32614
|
-
else {
|
|
32615
|
-
this.text = '';
|
|
32616
|
-
this.shouldUsePlaceholder = true;
|
|
32617
|
-
}
|
|
32585
|
+
this.text = typeof this.groupHeaderValue === 'string'
|
|
32586
|
+
? this.groupHeaderValue
|
|
32587
|
+
: '';
|
|
32618
32588
|
}
|
|
32619
32589
|
}
|
|
32620
32590
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
@@ -32657,9 +32627,6 @@
|
|
|
32657
32627
|
this.hrefFieldName
|
|
32658
32628
|
];
|
|
32659
32629
|
}
|
|
32660
|
-
placeholderChanged() {
|
|
32661
|
-
this.updateColumnConfig();
|
|
32662
|
-
}
|
|
32663
32630
|
appearanceChanged() {
|
|
32664
32631
|
this.updateColumnConfig();
|
|
32665
32632
|
}
|
|
@@ -32689,7 +32656,6 @@
|
|
|
32689
32656
|
}
|
|
32690
32657
|
updateColumnConfig() {
|
|
32691
32658
|
this.columnInternals.columnConfig = {
|
|
32692
|
-
placeholder: this.placeholder ?? '',
|
|
32693
32659
|
appearance: this.appearance,
|
|
32694
32660
|
underlineHidden: this.underlineHidden,
|
|
32695
32661
|
hreflang: this.hreflang,
|
|
@@ -32708,9 +32674,6 @@
|
|
|
32708
32674
|
__decorate$1([
|
|
32709
32675
|
attr({ attribute: 'href-field-name' })
|
|
32710
32676
|
], TableColumnAnchor.prototype, "hrefFieldName", void 0);
|
|
32711
|
-
__decorate$1([
|
|
32712
|
-
attr
|
|
32713
|
-
], TableColumnAnchor.prototype, "placeholder", void 0);
|
|
32714
32677
|
__decorate$1([
|
|
32715
32678
|
attr
|
|
32716
32679
|
], TableColumnAnchor.prototype, "appearance", void 0);
|
|
@@ -32751,31 +32714,22 @@
|
|
|
32751
32714
|
/**
|
|
32752
32715
|
* The base class for table columns that display fields of any type as text.
|
|
32753
32716
|
*/
|
|
32754
|
-
class TableColumnTextBase extends mixinGroupableColumnAPI(mixinFractionalWidthColumnAPI(
|
|
32717
|
+
class TableColumnTextBase extends mixinGroupableColumnAPI(mixinFractionalWidthColumnAPI(TableColumn)) {
|
|
32755
32718
|
fieldNameChanged() {
|
|
32756
32719
|
this.columnInternals.dataRecordFieldNames = [this.fieldName];
|
|
32757
32720
|
this.columnInternals.operandDataRecordFieldName = this.fieldName;
|
|
32758
32721
|
}
|
|
32759
|
-
placeholderChanged() {
|
|
32760
|
-
this.columnInternals.columnConfig = {
|
|
32761
|
-
placeholder: this.placeholder ?? ''
|
|
32762
|
-
};
|
|
32763
|
-
}
|
|
32764
32722
|
}
|
|
32765
32723
|
__decorate$1([
|
|
32766
32724
|
attr({ attribute: 'field-name' })
|
|
32767
32725
|
], TableColumnTextBase.prototype, "fieldName", void 0);
|
|
32768
|
-
__decorate$1([
|
|
32769
|
-
attr
|
|
32770
|
-
], TableColumnTextBase.prototype, "placeholder", void 0);
|
|
32771
32726
|
|
|
32772
32727
|
const template$5 = html `
|
|
32773
32728
|
<span
|
|
32774
32729
|
${overflow('hasOverflow')}
|
|
32775
|
-
|
|
32776
|
-
title=${x => (x.hasOverflow && x.content ? x.content : null)}
|
|
32730
|
+
title=${x => (x.hasOverflow && x.text ? x.text : null)}
|
|
32777
32731
|
>
|
|
32778
|
-
${x => x.
|
|
32732
|
+
${x => x.text}
|
|
32779
32733
|
</span>
|
|
32780
32734
|
`;
|
|
32781
32735
|
|
|
@@ -32787,10 +32741,6 @@
|
|
|
32787
32741
|
overflow: hidden;
|
|
32788
32742
|
text-overflow: ellipsis;
|
|
32789
32743
|
}
|
|
32790
|
-
|
|
32791
|
-
.placeholder {
|
|
32792
|
-
color: ${controlLabelFontColor};
|
|
32793
|
-
}
|
|
32794
32744
|
`;
|
|
32795
32745
|
|
|
32796
32746
|
/**
|
|
@@ -32802,20 +32752,9 @@
|
|
|
32802
32752
|
/** @internal */
|
|
32803
32753
|
this.hasOverflow = false;
|
|
32804
32754
|
/**
|
|
32805
|
-
* Text to render in the cell
|
|
32755
|
+
* Text to render in the cell.
|
|
32806
32756
|
*/
|
|
32807
32757
|
this.text = '';
|
|
32808
|
-
/**
|
|
32809
|
-
* Text to render in the cell when it contains an invalid value (i.e. when shouldUsePlaceholder is true).
|
|
32810
|
-
*/
|
|
32811
|
-
this.placeholder = '';
|
|
32812
|
-
/**
|
|
32813
|
-
* Returns whether to display the placeholder value or the text value
|
|
32814
|
-
*/
|
|
32815
|
-
this.shouldUsePlaceholder = true;
|
|
32816
|
-
}
|
|
32817
|
-
get content() {
|
|
32818
|
-
return this.shouldUsePlaceholder ? this.placeholder : this.text;
|
|
32819
32758
|
}
|
|
32820
32759
|
}
|
|
32821
32760
|
__decorate$1([
|
|
@@ -32824,32 +32763,15 @@
|
|
|
32824
32763
|
__decorate$1([
|
|
32825
32764
|
observable
|
|
32826
32765
|
], TableColumnTextCellViewBase.prototype, "text", void 0);
|
|
32827
|
-
__decorate$1([
|
|
32828
|
-
observable
|
|
32829
|
-
], TableColumnTextCellViewBase.prototype, "placeholder", void 0);
|
|
32830
|
-
__decorate$1([
|
|
32831
|
-
observable
|
|
32832
|
-
], TableColumnTextCellViewBase.prototype, "shouldUsePlaceholder", void 0);
|
|
32833
|
-
__decorate$1([
|
|
32834
|
-
volatile
|
|
32835
|
-
], TableColumnTextCellViewBase.prototype, "content", null);
|
|
32836
32766
|
|
|
32837
32767
|
/**
|
|
32838
32768
|
* A cell view for displaying string fields as text
|
|
32839
32769
|
*/
|
|
32840
32770
|
class TableColumnTextCellView extends TableColumnTextCellViewBase {
|
|
32841
|
-
columnConfigChanged() {
|
|
32842
|
-
this.placeholder = this.columnConfig.placeholder;
|
|
32843
|
-
}
|
|
32844
32771
|
cellRecordChanged() {
|
|
32845
|
-
|
|
32846
|
-
|
|
32847
|
-
|
|
32848
|
-
}
|
|
32849
|
-
else {
|
|
32850
|
-
this.text = '';
|
|
32851
|
-
this.shouldUsePlaceholder = true;
|
|
32852
|
-
}
|
|
32772
|
+
this.text = typeof this.cellRecord.value === 'string'
|
|
32773
|
+
? this.cellRecord.value
|
|
32774
|
+
: '';
|
|
32853
32775
|
}
|
|
32854
32776
|
}
|
|
32855
32777
|
const textCellView = TableColumnTextCellView.compose({
|