@ni/nimble-components 17.0.2 → 17.0.3
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 +253 -127
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +505 -463
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/all-components.d.ts +1 -0
- package/dist/esm/all-components.js +1 -0
- package/dist/esm/all-components.js.map +1 -1
- package/dist/esm/table/components/cell/index.d.ts +15 -3
- package/dist/esm/table/components/cell/index.js +32 -2
- package/dist/esm/table/components/cell/index.js.map +1 -1
- package/dist/esm/table/components/cell/styles.js +8 -1
- package/dist/esm/table/components/cell/styles.js.map +1 -1
- package/dist/esm/table/components/cell/template.d.ts +1 -1
- package/dist/esm/table/components/cell/template.js +2 -2
- package/dist/esm/table/components/cell/template.js.map +1 -1
- package/dist/esm/table/components/row/index.d.ts +7 -5
- package/dist/esm/table/components/row/index.js +20 -5
- package/dist/esm/table/components/row/index.js.map +1 -1
- package/dist/esm/table/components/row/styles.js +3 -5
- package/dist/esm/table/components/row/styles.js.map +1 -1
- package/dist/esm/table/components/row/template.d.ts +1 -1
- package/dist/esm/table/components/row/template.js +3 -1
- package/dist/esm/table/components/row/template.js.map +1 -1
- package/dist/esm/table/index.d.ts +2 -2
- package/dist/esm/table/index.js +3 -12
- package/dist/esm/table/index.js.map +1 -1
- package/dist/esm/table/template.js +14 -4
- package/dist/esm/table/template.js.map +1 -1
- package/dist/esm/table/types.d.ts +17 -1
- package/dist/esm/table-column/base/index.d.ts +31 -0
- package/dist/esm/table-column/base/index.js +7 -0
- package/dist/esm/table-column/base/index.js.map +1 -0
- package/dist/esm/table-column/base/styles.d.ts +1 -0
- package/dist/esm/table-column/base/styles.js +7 -0
- package/dist/esm/table-column/base/styles.js.map +1 -0
- package/dist/esm/table-column/base/template.d.ts +1 -0
- package/dist/esm/table-column/base/template.js +7 -0
- package/dist/esm/table-column/base/template.js.map +1 -0
- package/dist/esm/table-column/text/index.d.ts +18 -0
- package/dist/esm/table-column/text/index.js +40 -0
- package/dist/esm/table-column/text/index.js.map +1 -0
- package/dist/esm/table-column/text/styles.d.ts +1 -0
- package/dist/esm/table-column/text/styles.js +16 -0
- package/dist/esm/table-column/text/styles.js.map +1 -0
- package/dist/esm/table-column/text/template.d.ts +3 -0
- package/dist/esm/table-column/text/template.js +11 -0
- package/dist/esm/table-column/text/template.js.map +1 -0
- package/package.json +1 -1
|
@@ -15713,9 +15713,9 @@
|
|
|
15713
15713
|
const prefix = 'ni-nimble';
|
|
15714
15714
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
15715
15715
|
|
|
15716
|
-
const template$
|
|
15716
|
+
const template$h = html `<slot></slot>`;
|
|
15717
15717
|
|
|
15718
|
-
const styles$
|
|
15718
|
+
const styles$G = css `
|
|
15719
15719
|
:host {
|
|
15720
15720
|
display: contents;
|
|
15721
15721
|
}
|
|
@@ -15771,8 +15771,8 @@
|
|
|
15771
15771
|
], ThemeProvider.prototype, "theme", void 0);
|
|
15772
15772
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
15773
15773
|
baseName: 'theme-provider',
|
|
15774
|
-
styles: styles$
|
|
15775
|
-
template: template$
|
|
15774
|
+
styles: styles$G,
|
|
15775
|
+
template: template$h
|
|
15776
15776
|
});
|
|
15777
15777
|
DesignSystem.getOrCreate()
|
|
15778
15778
|
.withPrefix('nimble')
|
|
@@ -15931,7 +15931,7 @@
|
|
|
15931
15931
|
}
|
|
15932
15932
|
}
|
|
15933
15933
|
|
|
15934
|
-
const styles$
|
|
15934
|
+
const styles$F = css `
|
|
15935
15935
|
${display('inline')}
|
|
15936
15936
|
|
|
15937
15937
|
:host {
|
|
@@ -16014,7 +16014,7 @@
|
|
|
16014
16014
|
`;
|
|
16015
16015
|
|
|
16016
16016
|
// prettier-ignore
|
|
16017
|
-
const template$
|
|
16017
|
+
const template$g = (context, definition) => html `
|
|
16018
16018
|
<a
|
|
16019
16019
|
class="control"
|
|
16020
16020
|
part="control"
|
|
@@ -16087,8 +16087,8 @@
|
|
|
16087
16087
|
const nimbleAnchor = Anchor.compose({
|
|
16088
16088
|
baseName: 'anchor',
|
|
16089
16089
|
baseClass: Anchor$1,
|
|
16090
|
-
template: template$
|
|
16091
|
-
styles: styles$
|
|
16090
|
+
template: template$g,
|
|
16091
|
+
styles: styles$F,
|
|
16092
16092
|
shadowOptions: {
|
|
16093
16093
|
delegatesFocus: true
|
|
16094
16094
|
}
|
|
@@ -16173,7 +16173,7 @@
|
|
|
16173
16173
|
return new MultivaluePropertyStyleSheetBehavior('appearance', value, styles);
|
|
16174
16174
|
}
|
|
16175
16175
|
|
|
16176
|
-
const styles$
|
|
16176
|
+
const styles$E = css `
|
|
16177
16177
|
${display('inline-flex')}
|
|
16178
16178
|
|
|
16179
16179
|
:host {
|
|
@@ -16454,8 +16454,8 @@
|
|
|
16454
16454
|
}
|
|
16455
16455
|
`));
|
|
16456
16456
|
|
|
16457
|
-
const styles$
|
|
16458
|
-
${styles$
|
|
16457
|
+
const styles$D = css `
|
|
16458
|
+
${styles$E}
|
|
16459
16459
|
${buttonAppearanceVariantStyles}
|
|
16460
16460
|
|
|
16461
16461
|
.control {
|
|
@@ -16463,7 +16463,7 @@
|
|
|
16463
16463
|
}
|
|
16464
16464
|
`;
|
|
16465
16465
|
|
|
16466
|
-
const template$
|
|
16466
|
+
const template$f = (context, definition) => html `
|
|
16467
16467
|
<a
|
|
16468
16468
|
class="control"
|
|
16469
16469
|
part="control"
|
|
@@ -16545,15 +16545,15 @@
|
|
|
16545
16545
|
], AnchorButton.prototype, "disabled", void 0);
|
|
16546
16546
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
16547
16547
|
baseName: 'anchor-button',
|
|
16548
|
-
template: template$
|
|
16549
|
-
styles: styles$
|
|
16548
|
+
template: template$f,
|
|
16549
|
+
styles: styles$D,
|
|
16550
16550
|
shadowOptions: {
|
|
16551
16551
|
delegatesFocus: true
|
|
16552
16552
|
}
|
|
16553
16553
|
});
|
|
16554
16554
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
16555
16555
|
|
|
16556
|
-
const styles$
|
|
16556
|
+
const styles$C = css `
|
|
16557
16557
|
:host {
|
|
16558
16558
|
contain: layout;
|
|
16559
16559
|
display: block;
|
|
@@ -16577,13 +16577,13 @@
|
|
|
16577
16577
|
baseName: 'anchored-region',
|
|
16578
16578
|
baseClass: AnchoredRegion$1,
|
|
16579
16579
|
template: anchoredRegionTemplate,
|
|
16580
|
-
styles: styles$
|
|
16580
|
+
styles: styles$C
|
|
16581
16581
|
});
|
|
16582
16582
|
DesignSystem.getOrCreate()
|
|
16583
16583
|
.withPrefix('nimble')
|
|
16584
16584
|
.register(nimbleAnchoredRegion());
|
|
16585
16585
|
|
|
16586
|
-
const styles$
|
|
16586
|
+
const styles$B = css `
|
|
16587
16587
|
${display('inline-block')}
|
|
16588
16588
|
|
|
16589
16589
|
:host {
|
|
@@ -16624,7 +16624,7 @@
|
|
|
16624
16624
|
baseName: 'breadcrumb',
|
|
16625
16625
|
baseClass: Breadcrumb$1,
|
|
16626
16626
|
template: breadcrumbTemplate,
|
|
16627
|
-
styles: styles$
|
|
16627
|
+
styles: styles$B
|
|
16628
16628
|
});
|
|
16629
16629
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
16630
16630
|
|
|
@@ -17230,7 +17230,7 @@
|
|
|
17230
17230
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.033 14.026L4.9 10.866 6.277 9.53l1.744 1.81 4.562-4.507 1.307 1.363zm1.155-10.68l-1.321-1.32-2.312 2.311-2.311-2.311-1.321 1.32 2.311 2.312L1.923 7.97l1.32 1.32 2.312-2.31 2.312 2.31 1.32-1.32-2.31-2.312z"/></svg>`
|
|
17231
17231
|
};
|
|
17232
17232
|
|
|
17233
|
-
const styles$
|
|
17233
|
+
const styles$A = css `
|
|
17234
17234
|
${display('inline-flex')}
|
|
17235
17235
|
|
|
17236
17236
|
:host {
|
|
@@ -17309,15 +17309,15 @@
|
|
|
17309
17309
|
baseName: 'breadcrumb-item',
|
|
17310
17310
|
baseClass: BreadcrumbItem$1,
|
|
17311
17311
|
template: breadcrumbItemTemplate,
|
|
17312
|
-
styles: styles$
|
|
17312
|
+
styles: styles$A,
|
|
17313
17313
|
separator: forwardSlash16X16.data
|
|
17314
17314
|
});
|
|
17315
17315
|
DesignSystem.getOrCreate()
|
|
17316
17316
|
.withPrefix('nimble')
|
|
17317
17317
|
.register(nimbleBreadcrumbItem());
|
|
17318
17318
|
|
|
17319
|
-
const styles$
|
|
17320
|
-
${styles$
|
|
17319
|
+
const styles$z = css `
|
|
17320
|
+
${styles$E}
|
|
17321
17321
|
${buttonAppearanceVariantStyles}
|
|
17322
17322
|
`;
|
|
17323
17323
|
|
|
@@ -17363,7 +17363,7 @@
|
|
|
17363
17363
|
baseName: 'button',
|
|
17364
17364
|
baseClass: Button$1,
|
|
17365
17365
|
template: buttonTemplate,
|
|
17366
|
-
styles: styles$
|
|
17366
|
+
styles: styles$z,
|
|
17367
17367
|
shadowOptions: {
|
|
17368
17368
|
delegatesFocus: true
|
|
17369
17369
|
}
|
|
@@ -17443,7 +17443,7 @@
|
|
|
17443
17443
|
*/
|
|
17444
17444
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
17445
17445
|
|
|
17446
|
-
const styles$
|
|
17446
|
+
const styles$y = css `
|
|
17447
17447
|
${display('inline-flex')}
|
|
17448
17448
|
|
|
17449
17449
|
:host {
|
|
@@ -17602,14 +17602,14 @@
|
|
|
17602
17602
|
const nimbleCardButton = CardButton.compose({
|
|
17603
17603
|
baseName: 'card-button',
|
|
17604
17604
|
template: buttonTemplate,
|
|
17605
|
-
styles: styles$
|
|
17605
|
+
styles: styles$y,
|
|
17606
17606
|
shadowOptions: {
|
|
17607
17607
|
delegatesFocus: true
|
|
17608
17608
|
}
|
|
17609
17609
|
});
|
|
17610
17610
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
17611
17611
|
|
|
17612
|
-
const styles$
|
|
17612
|
+
const styles$x = css `
|
|
17613
17613
|
${display('inline-flex')}
|
|
17614
17614
|
|
|
17615
17615
|
:host {
|
|
@@ -17727,14 +17727,14 @@
|
|
|
17727
17727
|
baseName: 'checkbox',
|
|
17728
17728
|
baseClass: Checkbox$1,
|
|
17729
17729
|
template: checkboxTemplate,
|
|
17730
|
-
styles: styles$
|
|
17730
|
+
styles: styles$x,
|
|
17731
17731
|
checkedIndicator: check16X16.data,
|
|
17732
17732
|
indeterminateIndicator: minus16X16.data
|
|
17733
17733
|
});
|
|
17734
17734
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCheckbox());
|
|
17735
17735
|
|
|
17736
|
-
const styles$
|
|
17737
|
-
${styles$
|
|
17736
|
+
const styles$w = css `
|
|
17737
|
+
${styles$E}
|
|
17738
17738
|
|
|
17739
17739
|
.control[aria-pressed='true'] {
|
|
17740
17740
|
background-color: ${fillSelectedColor};
|
|
@@ -17760,7 +17760,7 @@
|
|
|
17760
17760
|
}
|
|
17761
17761
|
`;
|
|
17762
17762
|
|
|
17763
|
-
const template$
|
|
17763
|
+
const template$e = (context, definition) => html `
|
|
17764
17764
|
<div
|
|
17765
17765
|
role="button"
|
|
17766
17766
|
part="control"
|
|
@@ -17835,8 +17835,8 @@
|
|
|
17835
17835
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
17836
17836
|
const nimbleToggleButton = ToggleButton.compose({
|
|
17837
17837
|
baseName: 'toggle-button',
|
|
17838
|
-
template: template$
|
|
17839
|
-
styles: styles$
|
|
17838
|
+
template: template$e,
|
|
17839
|
+
styles: styles$w,
|
|
17840
17840
|
shadowOptions: {
|
|
17841
17841
|
delegatesFocus: true
|
|
17842
17842
|
}
|
|
@@ -17849,13 +17849,13 @@
|
|
|
17849
17849
|
</div>
|
|
17850
17850
|
`;
|
|
17851
17851
|
|
|
17852
|
-
const template$
|
|
17852
|
+
const template$d = html `
|
|
17853
17853
|
<template>
|
|
17854
17854
|
<div class="icon" :innerHTML=${x => x.icon.data}></div>
|
|
17855
17855
|
</template
|
|
17856
17856
|
`;
|
|
17857
17857
|
|
|
17858
|
-
const styles$
|
|
17858
|
+
const styles$v = css `
|
|
17859
17859
|
${display('inline-flex')}
|
|
17860
17860
|
|
|
17861
17861
|
:host {
|
|
@@ -17908,8 +17908,8 @@
|
|
|
17908
17908
|
const registerIcon = (baseName, iconClass) => {
|
|
17909
17909
|
const composedIcon = iconClass.compose({
|
|
17910
17910
|
baseName,
|
|
17911
|
-
template: template$
|
|
17912
|
-
styles: styles$
|
|
17911
|
+
template: template$d,
|
|
17912
|
+
styles: styles$v,
|
|
17913
17913
|
baseClass: iconClass
|
|
17914
17914
|
});
|
|
17915
17915
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
@@ -17943,7 +17943,7 @@
|
|
|
17943
17943
|
block: 'block'
|
|
17944
17944
|
};
|
|
17945
17945
|
|
|
17946
|
-
const styles$
|
|
17946
|
+
const styles$u = css `
|
|
17947
17947
|
${display('inline-flex')}
|
|
17948
17948
|
|
|
17949
17949
|
:host {
|
|
@@ -18171,7 +18171,7 @@
|
|
|
18171
18171
|
}
|
|
18172
18172
|
`));
|
|
18173
18173
|
|
|
18174
|
-
const styles$
|
|
18174
|
+
const styles$t = css `
|
|
18175
18175
|
.error-icon {
|
|
18176
18176
|
display: none;
|
|
18177
18177
|
}
|
|
@@ -18209,9 +18209,9 @@
|
|
|
18209
18209
|
}
|
|
18210
18210
|
`;
|
|
18211
18211
|
|
|
18212
|
-
const styles$
|
|
18212
|
+
const styles$s = css `
|
|
18213
|
+
${styles$u}
|
|
18213
18214
|
${styles$t}
|
|
18214
|
-
${styles$s}
|
|
18215
18215
|
|
|
18216
18216
|
:host {
|
|
18217
18217
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -18447,7 +18447,7 @@
|
|
|
18447
18447
|
baseName: 'combobox',
|
|
18448
18448
|
baseClass: Combobox$1,
|
|
18449
18449
|
template: comboboxTemplate,
|
|
18450
|
-
styles: styles$
|
|
18450
|
+
styles: styles$s,
|
|
18451
18451
|
shadowOptions: {
|
|
18452
18452
|
delegatesFocus: true
|
|
18453
18453
|
},
|
|
@@ -18491,7 +18491,7 @@
|
|
|
18491
18491
|
*/
|
|
18492
18492
|
const UserDismissed = Symbol('user dismissed');
|
|
18493
18493
|
|
|
18494
|
-
const styles$
|
|
18494
|
+
const styles$r = css `
|
|
18495
18495
|
${display('grid')}
|
|
18496
18496
|
|
|
18497
18497
|
dialog {
|
|
@@ -18607,7 +18607,7 @@
|
|
|
18607
18607
|
}
|
|
18608
18608
|
`));
|
|
18609
18609
|
|
|
18610
|
-
const template$
|
|
18610
|
+
const template$c = html `
|
|
18611
18611
|
<template>
|
|
18612
18612
|
<dialog
|
|
18613
18613
|
${ref('dialogElement')}
|
|
@@ -18733,13 +18733,13 @@
|
|
|
18733
18733
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
18734
18734
|
const nimbleDialog = Dialog.compose({
|
|
18735
18735
|
baseName: 'dialog',
|
|
18736
|
-
template: template$
|
|
18737
|
-
styles: styles$
|
|
18736
|
+
template: template$c,
|
|
18737
|
+
styles: styles$r,
|
|
18738
18738
|
baseClass: Dialog
|
|
18739
18739
|
});
|
|
18740
18740
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
18741
18741
|
|
|
18742
|
-
const styles$
|
|
18742
|
+
const styles$q = css `
|
|
18743
18743
|
${display('block')}
|
|
18744
18744
|
|
|
18745
18745
|
:host {
|
|
@@ -18892,7 +18892,7 @@
|
|
|
18892
18892
|
}
|
|
18893
18893
|
`));
|
|
18894
18894
|
|
|
18895
|
-
const template$
|
|
18895
|
+
const template$b = html `
|
|
18896
18896
|
<dialog
|
|
18897
18897
|
${ref('dialog')}
|
|
18898
18898
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -19006,8 +19006,8 @@
|
|
|
19006
19006
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
19007
19007
|
const nimbleDrawer = Drawer.compose({
|
|
19008
19008
|
baseName: 'drawer',
|
|
19009
|
-
template: template$
|
|
19010
|
-
styles: styles$
|
|
19009
|
+
template: template$b,
|
|
19010
|
+
styles: styles$q
|
|
19011
19011
|
});
|
|
19012
19012
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
19013
19013
|
|
|
@@ -20639,7 +20639,7 @@
|
|
|
20639
20639
|
}
|
|
20640
20640
|
registerIcon('icon-xmark-check', IconXmarkCheck);
|
|
20641
20641
|
|
|
20642
|
-
const styles$
|
|
20642
|
+
const styles$p = css `
|
|
20643
20643
|
${display('flex')}
|
|
20644
20644
|
|
|
20645
20645
|
:host {
|
|
@@ -20719,11 +20719,11 @@
|
|
|
20719
20719
|
baseName: 'list-option',
|
|
20720
20720
|
baseClass: ListboxOption,
|
|
20721
20721
|
template: listboxOptionTemplate,
|
|
20722
|
-
styles: styles$
|
|
20722
|
+
styles: styles$p
|
|
20723
20723
|
});
|
|
20724
20724
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
20725
20725
|
|
|
20726
|
-
const styles$
|
|
20726
|
+
const styles$o = css `
|
|
20727
20727
|
${display('grid')}
|
|
20728
20728
|
|
|
20729
20729
|
:host {
|
|
@@ -20778,11 +20778,11 @@
|
|
|
20778
20778
|
baseName: 'menu',
|
|
20779
20779
|
baseClass: Menu$1,
|
|
20780
20780
|
template: menuTemplate,
|
|
20781
|
-
styles: styles$
|
|
20781
|
+
styles: styles$o
|
|
20782
20782
|
});
|
|
20783
20783
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
20784
20784
|
|
|
20785
|
-
const styles$
|
|
20785
|
+
const styles$n = css `
|
|
20786
20786
|
${display('inline-block')}
|
|
20787
20787
|
|
|
20788
20788
|
:host {
|
|
@@ -20801,7 +20801,7 @@
|
|
|
20801
20801
|
`;
|
|
20802
20802
|
|
|
20803
20803
|
// prettier-ignore
|
|
20804
|
-
const template$
|
|
20804
|
+
const template$a = html `
|
|
20805
20805
|
<template
|
|
20806
20806
|
?open="${x => x.open}"
|
|
20807
20807
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -21009,15 +21009,15 @@
|
|
|
21009
21009
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
21010
21010
|
const nimbleMenuButton = MenuButton.compose({
|
|
21011
21011
|
baseName: 'menu-button',
|
|
21012
|
-
template: template$
|
|
21013
|
-
styles: styles$
|
|
21012
|
+
template: template$a,
|
|
21013
|
+
styles: styles$n,
|
|
21014
21014
|
shadowOptions: {
|
|
21015
21015
|
delegatesFocus: true
|
|
21016
21016
|
}
|
|
21017
21017
|
});
|
|
21018
21018
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
21019
21019
|
|
|
21020
|
-
const styles$
|
|
21020
|
+
const styles$m = css `
|
|
21021
21021
|
${display('grid')}
|
|
21022
21022
|
|
|
21023
21023
|
:host {
|
|
@@ -21115,7 +21115,7 @@
|
|
|
21115
21115
|
baseName: 'menu-item',
|
|
21116
21116
|
baseClass: MenuItem$1,
|
|
21117
21117
|
template: menuItemTemplate,
|
|
21118
|
-
styles: styles$
|
|
21118
|
+
styles: styles$m,
|
|
21119
21119
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
21120
21120
|
});
|
|
21121
21121
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -21129,9 +21129,9 @@
|
|
|
21129
21129
|
block: 'block'
|
|
21130
21130
|
};
|
|
21131
21131
|
|
|
21132
|
-
const styles$
|
|
21132
|
+
const styles$l = css `
|
|
21133
21133
|
${display('inline-block')}
|
|
21134
|
-
${styles$
|
|
21134
|
+
${styles$t}
|
|
21135
21135
|
|
|
21136
21136
|
:host {
|
|
21137
21137
|
font: ${bodyFont};
|
|
@@ -21345,7 +21345,7 @@
|
|
|
21345
21345
|
baseName: 'number-field',
|
|
21346
21346
|
baseClass: NumberField$1,
|
|
21347
21347
|
template: numberFieldTemplate,
|
|
21348
|
-
styles: styles$
|
|
21348
|
+
styles: styles$l,
|
|
21349
21349
|
shadowOptions: {
|
|
21350
21350
|
delegatesFocus: true
|
|
21351
21351
|
},
|
|
@@ -21386,7 +21386,7 @@
|
|
|
21386
21386
|
});
|
|
21387
21387
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
21388
21388
|
|
|
21389
|
-
const styles$
|
|
21389
|
+
const styles$k = css `
|
|
21390
21390
|
${display('inline-flex')}
|
|
21391
21391
|
|
|
21392
21392
|
:host {
|
|
@@ -21486,12 +21486,12 @@
|
|
|
21486
21486
|
baseName: 'radio',
|
|
21487
21487
|
baseClass: Radio$1,
|
|
21488
21488
|
template: radioTemplate,
|
|
21489
|
-
styles: styles$
|
|
21489
|
+
styles: styles$k,
|
|
21490
21490
|
checkedIndicator: circleFilled16X16.data
|
|
21491
21491
|
});
|
|
21492
21492
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
21493
21493
|
|
|
21494
|
-
const styles$
|
|
21494
|
+
const styles$j = css `
|
|
21495
21495
|
${display('inline-block')}
|
|
21496
21496
|
|
|
21497
21497
|
.positioning-region {
|
|
@@ -21526,16 +21526,16 @@
|
|
|
21526
21526
|
baseName: 'radio-group',
|
|
21527
21527
|
baseClass: RadioGroup$1,
|
|
21528
21528
|
template: radioGroupTemplate,
|
|
21529
|
-
styles: styles$
|
|
21529
|
+
styles: styles$j,
|
|
21530
21530
|
shadowOptions: {
|
|
21531
21531
|
delegatesFocus: true
|
|
21532
21532
|
}
|
|
21533
21533
|
});
|
|
21534
21534
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadioGroup());
|
|
21535
21535
|
|
|
21536
|
-
const styles$
|
|
21536
|
+
const styles$i = css `
|
|
21537
|
+
${styles$u}
|
|
21537
21538
|
${styles$t}
|
|
21538
|
-
${styles$s}
|
|
21539
21539
|
|
|
21540
21540
|
${
|
|
21541
21541
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -21611,7 +21611,7 @@
|
|
|
21611
21611
|
baseName: 'select',
|
|
21612
21612
|
baseClass: Select$1,
|
|
21613
21613
|
template: selectTemplate,
|
|
21614
|
-
styles: styles$
|
|
21614
|
+
styles: styles$i,
|
|
21615
21615
|
indicator: arrowExpanderDown16X16.data,
|
|
21616
21616
|
end: html `
|
|
21617
21617
|
<${DesignSystem.tagFor(IconExclamationMark)}
|
|
@@ -21623,7 +21623,7 @@
|
|
|
21623
21623
|
});
|
|
21624
21624
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
21625
21625
|
|
|
21626
|
-
const styles$
|
|
21626
|
+
const styles$h = css `
|
|
21627
21627
|
${display('inline-flex')}
|
|
21628
21628
|
|
|
21629
21629
|
:host {
|
|
@@ -21767,7 +21767,7 @@
|
|
|
21767
21767
|
}
|
|
21768
21768
|
`));
|
|
21769
21769
|
|
|
21770
|
-
const template$
|
|
21770
|
+
const template$9 = html `
|
|
21771
21771
|
<template role="progressbar">
|
|
21772
21772
|
<div class="container">
|
|
21773
21773
|
<div class="bit1"></div>
|
|
@@ -21784,12 +21784,12 @@
|
|
|
21784
21784
|
}
|
|
21785
21785
|
const nimbleSpinner = Spinner.compose({
|
|
21786
21786
|
baseName: 'spinner',
|
|
21787
|
-
template: template$
|
|
21788
|
-
styles: styles$
|
|
21787
|
+
template: template$9,
|
|
21788
|
+
styles: styles$h
|
|
21789
21789
|
});
|
|
21790
21790
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
21791
21791
|
|
|
21792
|
-
const styles$
|
|
21792
|
+
const styles$g = css `
|
|
21793
21793
|
${display('inline-flex')}
|
|
21794
21794
|
|
|
21795
21795
|
:host {
|
|
@@ -21952,7 +21952,7 @@
|
|
|
21952
21952
|
`));
|
|
21953
21953
|
|
|
21954
21954
|
// prettier-ignore
|
|
21955
|
-
const template$
|
|
21955
|
+
const template$8 = html `
|
|
21956
21956
|
<template
|
|
21957
21957
|
role="switch"
|
|
21958
21958
|
aria-checked="${x => x.checked}"
|
|
@@ -21996,12 +21996,12 @@
|
|
|
21996
21996
|
const nimbleSwitch = Switch.compose({
|
|
21997
21997
|
baseClass: Switch$1,
|
|
21998
21998
|
baseName: 'switch',
|
|
21999
|
-
template: template$
|
|
22000
|
-
styles: styles$
|
|
21999
|
+
template: template$8,
|
|
22000
|
+
styles: styles$g
|
|
22001
22001
|
});
|
|
22002
22002
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
22003
22003
|
|
|
22004
|
-
const styles$
|
|
22004
|
+
const styles$f = css `
|
|
22005
22005
|
${display('inline-flex')}
|
|
22006
22006
|
|
|
22007
22007
|
:host {
|
|
@@ -22106,11 +22106,11 @@
|
|
|
22106
22106
|
baseName: 'tab',
|
|
22107
22107
|
baseClass: Tab$1,
|
|
22108
22108
|
template: tabTemplate,
|
|
22109
|
-
styles: styles$
|
|
22109
|
+
styles: styles$f
|
|
22110
22110
|
});
|
|
22111
22111
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
22112
22112
|
|
|
22113
|
-
const styles$
|
|
22113
|
+
const styles$e = css `
|
|
22114
22114
|
${display('block')}
|
|
22115
22115
|
|
|
22116
22116
|
:host {
|
|
@@ -22130,7 +22130,7 @@
|
|
|
22130
22130
|
baseName: 'tab-panel',
|
|
22131
22131
|
baseClass: TabPanel$1,
|
|
22132
22132
|
template: tabPanelTemplate,
|
|
22133
|
-
styles: styles$
|
|
22133
|
+
styles: styles$e
|
|
22134
22134
|
});
|
|
22135
22135
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
22136
22136
|
|
|
@@ -25128,7 +25128,7 @@
|
|
|
25128
25128
|
}
|
|
25129
25129
|
}
|
|
25130
25130
|
|
|
25131
|
-
const styles$
|
|
25131
|
+
const styles$d = css `
|
|
25132
25132
|
${display('flex')}
|
|
25133
25133
|
|
|
25134
25134
|
.table-container {
|
|
@@ -25155,7 +25155,7 @@
|
|
|
25155
25155
|
}
|
|
25156
25156
|
`;
|
|
25157
25157
|
|
|
25158
|
-
const styles$
|
|
25158
|
+
const styles$c = css `
|
|
25159
25159
|
${display('flex')}
|
|
25160
25160
|
|
|
25161
25161
|
:host {
|
|
@@ -25169,7 +25169,7 @@
|
|
|
25169
25169
|
`;
|
|
25170
25170
|
|
|
25171
25171
|
// prettier-ignore
|
|
25172
|
-
const template$
|
|
25172
|
+
const template$7 = html `
|
|
25173
25173
|
<template role="columnheader">
|
|
25174
25174
|
<slot></slot>
|
|
25175
25175
|
</template>
|
|
@@ -25183,22 +25183,20 @@
|
|
|
25183
25183
|
}
|
|
25184
25184
|
const nimbleTableHeader = TableHeader.compose({
|
|
25185
25185
|
baseName: 'table-header',
|
|
25186
|
-
template: template$
|
|
25187
|
-
styles: styles$
|
|
25186
|
+
template: template$7,
|
|
25187
|
+
styles: styles$c
|
|
25188
25188
|
});
|
|
25189
25189
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
25190
25190
|
|
|
25191
|
-
const styles$
|
|
25192
|
-
${display('
|
|
25191
|
+
const styles$b = css `
|
|
25192
|
+
${display('grid')}
|
|
25193
25193
|
|
|
25194
25194
|
:host {
|
|
25195
25195
|
height: ${controlHeight};
|
|
25196
25196
|
background: ${applicationBackgroundColor};
|
|
25197
25197
|
border-top: calc(2 * ${borderWidth}) solid ${tableRowBorderColor};
|
|
25198
|
-
|
|
25199
|
-
|
|
25200
|
-
.cell {
|
|
25201
|
-
flex: 1;
|
|
25198
|
+
grid-auto-flow: column;
|
|
25199
|
+
grid-auto-columns: 1fr;
|
|
25202
25200
|
}
|
|
25203
25201
|
|
|
25204
25202
|
:host(:hover) .cell {
|
|
@@ -25206,19 +25204,26 @@
|
|
|
25206
25204
|
}
|
|
25207
25205
|
`;
|
|
25208
25206
|
|
|
25209
|
-
const styles$
|
|
25210
|
-
${display('
|
|
25207
|
+
const styles$a = css `
|
|
25208
|
+
${display('grid')}
|
|
25211
25209
|
|
|
25212
25210
|
:host {
|
|
25213
25211
|
padding: 0px calc(${standardPadding} / 2);
|
|
25212
|
+
align-self: center;
|
|
25213
|
+
height: 100%;
|
|
25214
|
+
}
|
|
25215
|
+
|
|
25216
|
+
.cell-content-container {
|
|
25217
|
+
overflow: hidden;
|
|
25218
|
+
display: flex;
|
|
25214
25219
|
align-items: center;
|
|
25215
25220
|
}
|
|
25216
25221
|
`;
|
|
25217
25222
|
|
|
25218
25223
|
// prettier-ignore
|
|
25219
|
-
const template$
|
|
25224
|
+
const template$6 = html `
|
|
25220
25225
|
<template role="cell">
|
|
25221
|
-
${
|
|
25226
|
+
<div ${ref('cellContentContainer')} class="cell-content-container"></div>
|
|
25222
25227
|
</template>
|
|
25223
25228
|
`;
|
|
25224
25229
|
|
|
@@ -25227,24 +25232,56 @@
|
|
|
25227
25232
|
* @internal
|
|
25228
25233
|
*/
|
|
25229
25234
|
class TableCell extends FoundationElement {
|
|
25235
|
+
constructor() {
|
|
25236
|
+
super(...arguments);
|
|
25237
|
+
this.customCellView = undefined;
|
|
25238
|
+
}
|
|
25239
|
+
connectedCallback() {
|
|
25240
|
+
super.connectedCallback();
|
|
25241
|
+
this.customCellView = this.cellTemplate?.render(this.cellState, this.cellContentContainer);
|
|
25242
|
+
}
|
|
25243
|
+
cellStateChanged() {
|
|
25244
|
+
this.customCellView?.bind(this.cellState, defaultExecutionContext);
|
|
25245
|
+
}
|
|
25246
|
+
cellTemplateChanged() {
|
|
25247
|
+
if (this.isConnected) {
|
|
25248
|
+
this.customCellView = this.cellTemplate?.render(this.cellState, this.cellContentContainer);
|
|
25249
|
+
}
|
|
25250
|
+
}
|
|
25251
|
+
cellStylesChanged(prev, next) {
|
|
25252
|
+
if (prev) {
|
|
25253
|
+
this.$fastController.removeStyles(prev);
|
|
25254
|
+
}
|
|
25255
|
+
if (next) {
|
|
25256
|
+
this.$fastController.addStyles(next);
|
|
25257
|
+
}
|
|
25258
|
+
}
|
|
25230
25259
|
}
|
|
25231
25260
|
__decorate$1([
|
|
25232
25261
|
observable
|
|
25233
|
-
], TableCell.prototype, "
|
|
25262
|
+
], TableCell.prototype, "cellState", void 0);
|
|
25263
|
+
__decorate$1([
|
|
25264
|
+
observable
|
|
25265
|
+
], TableCell.prototype, "cellTemplate", void 0);
|
|
25266
|
+
__decorate$1([
|
|
25267
|
+
observable
|
|
25268
|
+
], TableCell.prototype, "cellStyles", void 0);
|
|
25234
25269
|
const nimbleTableCell = TableCell.compose({
|
|
25235
25270
|
baseName: 'table-cell',
|
|
25236
|
-
template: template$
|
|
25237
|
-
styles: styles$
|
|
25271
|
+
template: template$6,
|
|
25272
|
+
styles: styles$a
|
|
25238
25273
|
});
|
|
25239
25274
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
25240
25275
|
|
|
25241
25276
|
// prettier-ignore
|
|
25242
|
-
const template$
|
|
25277
|
+
const template$5 = html `
|
|
25243
25278
|
<template role="row">
|
|
25244
25279
|
${repeat(x => x.columns, html `
|
|
25245
25280
|
<${DesignSystem.tagFor(TableCell)}
|
|
25246
25281
|
class="cell"
|
|
25247
|
-
:
|
|
25282
|
+
:cellTemplate="${x => x.cellTemplate}"
|
|
25283
|
+
:cellStyles="${x => x.cellStyles}"
|
|
25284
|
+
:cellState="${(x, c) => c.parent.getCellState(x)}"
|
|
25248
25285
|
>
|
|
25249
25286
|
</${DesignSystem.tagFor(TableCell)}>
|
|
25250
25287
|
`)}
|
|
@@ -25258,50 +25295,80 @@
|
|
|
25258
25295
|
class TableRow extends FoundationElement {
|
|
25259
25296
|
constructor() {
|
|
25260
25297
|
super(...arguments);
|
|
25261
|
-
// TODO: Temporarily assume the set of columns will be an array of strings.
|
|
25262
|
-
// Eventually, this will be an array of column definitions.
|
|
25263
25298
|
this.columns = [];
|
|
25264
25299
|
}
|
|
25265
|
-
|
|
25266
|
-
|
|
25300
|
+
getCellState(column) {
|
|
25301
|
+
const fieldNames = column.getDataRecordFieldNames();
|
|
25302
|
+
if (this.hasValidFieldNames(fieldNames) && this.dataRecord) {
|
|
25303
|
+
const cellDataValues = fieldNames.map(field => this.dataRecord[field]);
|
|
25304
|
+
const cellRecord = Object.fromEntries(column.cellRecordFieldNames.map((k, i) => [
|
|
25305
|
+
k,
|
|
25306
|
+
cellDataValues[i]
|
|
25307
|
+
]));
|
|
25308
|
+
const columnConfig = column.getColumnConfig?.() ?? {};
|
|
25309
|
+
const cellState = {
|
|
25310
|
+
cellRecord,
|
|
25311
|
+
columnConfig
|
|
25312
|
+
};
|
|
25313
|
+
return cellState;
|
|
25314
|
+
}
|
|
25315
|
+
return { cellRecord: {}, columnConfig: {} };
|
|
25316
|
+
}
|
|
25317
|
+
hasValidFieldNames(keys) {
|
|
25318
|
+
return keys.every(key => key !== undefined);
|
|
25267
25319
|
}
|
|
25268
25320
|
}
|
|
25269
25321
|
__decorate$1([
|
|
25270
25322
|
observable
|
|
25271
|
-
], TableRow.prototype, "
|
|
25323
|
+
], TableRow.prototype, "dataRecord", void 0);
|
|
25272
25324
|
__decorate$1([
|
|
25273
25325
|
observable
|
|
25274
25326
|
], TableRow.prototype, "columns", void 0);
|
|
25275
25327
|
const nimbleTableRow = TableRow.compose({
|
|
25276
25328
|
baseName: 'table-row',
|
|
25277
|
-
template: template$
|
|
25278
|
-
styles: styles$
|
|
25329
|
+
template: template$5,
|
|
25330
|
+
styles: styles$b
|
|
25279
25331
|
});
|
|
25280
25332
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
25281
25333
|
|
|
25334
|
+
/**
|
|
25335
|
+
* The base class for table columns
|
|
25336
|
+
*/
|
|
25337
|
+
class TableColumn extends FoundationElement {
|
|
25338
|
+
}
|
|
25339
|
+
|
|
25340
|
+
const isTableColumn = () => {
|
|
25341
|
+
const filter = (value, _, __) => {
|
|
25342
|
+
return value instanceof TableColumn;
|
|
25343
|
+
};
|
|
25344
|
+
return filter;
|
|
25345
|
+
};
|
|
25282
25346
|
// prettier-ignore
|
|
25283
|
-
const template$
|
|
25347
|
+
const template$4 = html `
|
|
25284
25348
|
<template role="table">
|
|
25285
25349
|
<div class="table-container">
|
|
25286
25350
|
<div role="rowgroup" class="header-container">
|
|
25287
25351
|
<div class="header-row" role="row">
|
|
25288
|
-
${repeat(x => x.
|
|
25352
|
+
${repeat(x => x.columns, html `
|
|
25289
25353
|
<${DesignSystem.tagFor(TableHeader)} class="header">
|
|
25290
|
-
${x => x}
|
|
25354
|
+
${x => x.textContent}
|
|
25291
25355
|
</${DesignSystem.tagFor(TableHeader)}>
|
|
25292
25356
|
`)}
|
|
25293
25357
|
</div>
|
|
25294
25358
|
</div>
|
|
25295
25359
|
<div class="table-viewport" role="rowgroup">
|
|
25360
|
+
${when(x => x.columns.length > 0, html `
|
|
25296
25361
|
${repeat(x => x.tableData, html `
|
|
25297
25362
|
<${DesignSystem.tagFor(TableRow)}
|
|
25298
|
-
:
|
|
25363
|
+
:dataRecord="${x => x.record}"
|
|
25299
25364
|
:columns="${(_, c) => c.parent.columns}"
|
|
25300
25365
|
>
|
|
25301
25366
|
</${DesignSystem.tagFor(TableRow)}>
|
|
25302
25367
|
`)}
|
|
25368
|
+
`)}
|
|
25303
25369
|
</div>
|
|
25304
25370
|
</div>
|
|
25371
|
+
<slot ${slotted({ property: 'columns', filter: isTableColumn() })}></slot>
|
|
25305
25372
|
</template>
|
|
25306
25373
|
`;
|
|
25307
25374
|
|
|
@@ -25316,11 +25383,7 @@
|
|
|
25316
25383
|
* @internal
|
|
25317
25384
|
*/
|
|
25318
25385
|
this.tableData = [];
|
|
25319
|
-
// TODO: Temporarily expose the columns as a string array. This will ultimately be
|
|
25320
|
-
// column definitions provided by slotted elements.
|
|
25321
25386
|
this.columns = [];
|
|
25322
|
-
// TODO: Temporarily expose the column headers as a string array.
|
|
25323
|
-
this.columnHeaders = [];
|
|
25324
25387
|
this.tableInitialized = false;
|
|
25325
25388
|
this.tableValidator = new TableValidator();
|
|
25326
25389
|
this.update = (state) => {
|
|
@@ -25387,7 +25450,7 @@
|
|
|
25387
25450
|
refreshRows() {
|
|
25388
25451
|
const rows = this.table.getRowModel().rows;
|
|
25389
25452
|
this.tableData = rows.map(row => {
|
|
25390
|
-
const rowState = {
|
|
25453
|
+
const rowState = { record: row.original };
|
|
25391
25454
|
return rowState;
|
|
25392
25455
|
});
|
|
25393
25456
|
}
|
|
@@ -25396,8 +25459,8 @@
|
|
|
25396
25459
|
this.update(this.table.initialState);
|
|
25397
25460
|
this.refreshRows();
|
|
25398
25461
|
}
|
|
25399
|
-
//
|
|
25400
|
-
//
|
|
25462
|
+
// Generate columns for TanStack that correspond to all the keys in TData because all operations,
|
|
25463
|
+
// such as grouping and sorting, will be performed on the data's records, not the values rendered within a cell.
|
|
25401
25464
|
generateColumns() {
|
|
25402
25465
|
if (this.data.length === 0) {
|
|
25403
25466
|
return;
|
|
@@ -25413,8 +25476,6 @@
|
|
|
25413
25476
|
return columnDef;
|
|
25414
25477
|
});
|
|
25415
25478
|
this.updateTableOptions({ columns: generatedColumns });
|
|
25416
|
-
this.columnHeaders = generatedColumns.map(x => x.header);
|
|
25417
|
-
this.columns = this.columnHeaders;
|
|
25418
25479
|
}
|
|
25419
25480
|
}
|
|
25420
25481
|
__decorate$1([
|
|
@@ -25429,16 +25490,81 @@
|
|
|
25429
25490
|
__decorate$1([
|
|
25430
25491
|
observable
|
|
25431
25492
|
], Table.prototype, "columns", void 0);
|
|
25432
|
-
__decorate$1([
|
|
25433
|
-
observable
|
|
25434
|
-
], Table.prototype, "columnHeaders", void 0);
|
|
25435
25493
|
const nimbleTable = Table.compose({
|
|
25436
25494
|
baseName: 'table',
|
|
25437
|
-
template: template$
|
|
25438
|
-
styles: styles$
|
|
25495
|
+
template: template$4,
|
|
25496
|
+
styles: styles$d
|
|
25439
25497
|
});
|
|
25440
25498
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
25441
25499
|
|
|
25500
|
+
const styles$9 = css `
|
|
25501
|
+
:host {
|
|
25502
|
+
display: none;
|
|
25503
|
+
}
|
|
25504
|
+
`;
|
|
25505
|
+
|
|
25506
|
+
const template$3 = html `
|
|
25507
|
+
<template>
|
|
25508
|
+
<slot></slot>
|
|
25509
|
+
</template>
|
|
25510
|
+
`;
|
|
25511
|
+
|
|
25512
|
+
const cellStyles = css `
|
|
25513
|
+
span {
|
|
25514
|
+
font: ${bodyFont};
|
|
25515
|
+
color: ${bodyFontColor};
|
|
25516
|
+
white-space: nowrap;
|
|
25517
|
+
overflow: hidden;
|
|
25518
|
+
text-overflow: ellipsis;
|
|
25519
|
+
}
|
|
25520
|
+
|
|
25521
|
+
.placeholder {
|
|
25522
|
+
color: ${controlLabelFontColor};
|
|
25523
|
+
}
|
|
25524
|
+
`;
|
|
25525
|
+
|
|
25526
|
+
const cellTemplate = html `
|
|
25527
|
+
<span
|
|
25528
|
+
class="${x => (typeof x.cellRecord.value === 'string' ? '' : 'placeholder')}"
|
|
25529
|
+
>
|
|
25530
|
+
${x => (typeof x.cellRecord.value === 'string'
|
|
25531
|
+
? x.cellRecord.value
|
|
25532
|
+
: x.columnConfig.placeholder)}
|
|
25533
|
+
</span>
|
|
25534
|
+
`;
|
|
25535
|
+
|
|
25536
|
+
/**
|
|
25537
|
+
* The table column for displaying strings.
|
|
25538
|
+
*/
|
|
25539
|
+
class TableColumnText extends TableColumn {
|
|
25540
|
+
constructor() {
|
|
25541
|
+
super(...arguments);
|
|
25542
|
+
this.cellRecordFieldNames = ['value'];
|
|
25543
|
+
this.cellStyles = cellStyles;
|
|
25544
|
+
this.cellTemplate = cellTemplate;
|
|
25545
|
+
}
|
|
25546
|
+
getColumnConfig() {
|
|
25547
|
+
return { placeholder: this.placeholder ?? '' };
|
|
25548
|
+
}
|
|
25549
|
+
getDataRecordFieldNames() {
|
|
25550
|
+
return [this.fieldName];
|
|
25551
|
+
}
|
|
25552
|
+
}
|
|
25553
|
+
__decorate$1([
|
|
25554
|
+
attr({ attribute: 'field-name' })
|
|
25555
|
+
], TableColumnText.prototype, "fieldName", void 0);
|
|
25556
|
+
__decorate$1([
|
|
25557
|
+
attr
|
|
25558
|
+
], TableColumnText.prototype, "placeholder", void 0);
|
|
25559
|
+
const nimbleTableColumnText = TableColumnText.compose({
|
|
25560
|
+
baseName: 'table-column-text',
|
|
25561
|
+
template: template$3,
|
|
25562
|
+
styles: styles$9
|
|
25563
|
+
});
|
|
25564
|
+
DesignSystem.getOrCreate()
|
|
25565
|
+
.withPrefix('nimble')
|
|
25566
|
+
.register(nimbleTableColumnText());
|
|
25567
|
+
|
|
25442
25568
|
const styles$8 = css `
|
|
25443
25569
|
${display('grid')}
|
|
25444
25570
|
|
|
@@ -25679,7 +25805,7 @@
|
|
|
25679
25805
|
|
|
25680
25806
|
const styles$5 = css `
|
|
25681
25807
|
${display('inline-block')}
|
|
25682
|
-
${styles$
|
|
25808
|
+
${styles$t}
|
|
25683
25809
|
|
|
25684
25810
|
:host {
|
|
25685
25811
|
font: ${bodyFont};
|