@ni/nimble-components 24.1.14 → 25.1.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.
- package/README.md +7 -0
- package/dist/all-components-bundle.js +272 -182
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +450 -424
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/mapping/icon/index.d.ts +1 -0
- package/dist/esm/mapping/icon/index.js +7 -0
- package/dist/esm/mapping/icon/index.js.map +1 -1
- package/dist/esm/mapping/spinner/index.d.ts +1 -0
- package/dist/esm/mapping/spinner/index.js +7 -0
- package/dist/esm/mapping/spinner/index.js.map +1 -1
- package/dist/esm/src/mapping/icon/index.d.ts +1 -0
- package/dist/esm/src/mapping/spinner/index.d.ts +1 -0
- package/dist/esm/src/table/testing/table.pageobject.d.ts +4 -4
- package/dist/esm/src/table-column/enum-base/models/mapping-icon-config.d.ts +3 -1
- package/dist/esm/src/table-column/enum-base/models/mapping-spinner-config.d.ts +8 -1
- package/dist/esm/src/table-column/icon/cell-view/index.d.ts +8 -4
- package/dist/esm/src/table-column/icon/cell-view/styles.d.ts +1 -0
- package/dist/esm/src/table-column/icon/group-header-view/index.d.ts +6 -4
- package/dist/esm/src/table-column/icon/testing/table-column-icon.pageobject.d.ts +23 -0
- package/dist/esm/table/testing/table.pageobject.d.ts +4 -4
- package/dist/esm/table/testing/table.pageobject.js +15 -37
- package/dist/esm/table/testing/table.pageobject.js.map +1 -1
- package/dist/esm/table-column/enum-base/models/mapping-icon-config.d.ts +3 -1
- package/dist/esm/table-column/enum-base/models/mapping-icon-config.js +4 -3
- package/dist/esm/table-column/enum-base/models/mapping-icon-config.js.map +1 -1
- package/dist/esm/table-column/enum-base/models/mapping-spinner-config.d.ts +8 -1
- package/dist/esm/table-column/enum-base/models/mapping-spinner-config.js +13 -1
- package/dist/esm/table-column/enum-base/models/mapping-spinner-config.js.map +1 -1
- package/dist/esm/table-column/icon/cell-view/index.d.ts +8 -4
- package/dist/esm/table-column/icon/cell-view/index.js +31 -7
- package/dist/esm/table-column/icon/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/icon/cell-view/styles.d.ts +1 -0
- package/dist/esm/table-column/icon/cell-view/styles.js +27 -0
- package/dist/esm/table-column/icon/cell-view/styles.js.map +1 -0
- package/dist/esm/table-column/icon/cell-view/template.js +15 -8
- package/dist/esm/table-column/icon/cell-view/template.js.map +1 -1
- package/dist/esm/table-column/icon/group-header-view/index.d.ts +6 -4
- package/dist/esm/table-column/icon/group-header-view/index.js +18 -9
- package/dist/esm/table-column/icon/group-header-view/index.js.map +1 -1
- package/dist/esm/table-column/icon/group-header-view/styles.js +5 -3
- package/dist/esm/table-column/icon/group-header-view/styles.js.map +1 -1
- package/dist/esm/table-column/icon/group-header-view/template.js +10 -24
- package/dist/esm/table-column/icon/group-header-view/template.js.map +1 -1
- package/dist/esm/table-column/icon/index.js +7 -2
- package/dist/esm/table-column/icon/index.js.map +1 -1
- package/dist/esm/table-column/icon/models/table-column-icon-validator.js +4 -1
- package/dist/esm/table-column/icon/models/table-column-icon-validator.js.map +1 -1
- package/dist/esm/table-column/icon/testing/table-column-icon.pageobject.d.ts +23 -0
- package/dist/esm/table-column/icon/testing/table-column-icon.pageobject.js +79 -0
- package/dist/esm/table-column/icon/testing/table-column-icon.pageobject.js.map +1 -0
- package/package.json +2 -3
|
@@ -16333,7 +16333,7 @@
|
|
|
16333
16333
|
|
|
16334
16334
|
/**
|
|
16335
16335
|
* Do not edit directly
|
|
16336
|
-
* Generated on
|
|
16336
|
+
* Generated on Thu, 18 Apr 2024 21:31:08 GMT
|
|
16337
16337
|
*/
|
|
16338
16338
|
|
|
16339
16339
|
const Information100DarkUi = "#a46eff";
|
|
@@ -16772,7 +16772,7 @@
|
|
|
16772
16772
|
|
|
16773
16773
|
const template$F = html `<slot></slot>`;
|
|
16774
16774
|
|
|
16775
|
-
const styles$
|
|
16775
|
+
const styles$Y = css `
|
|
16776
16776
|
:host {
|
|
16777
16777
|
display: contents;
|
|
16778
16778
|
}
|
|
@@ -16889,7 +16889,7 @@
|
|
|
16889
16889
|
], ThemeProvider.prototype, "theme", void 0);
|
|
16890
16890
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
16891
16891
|
baseName: 'theme-provider',
|
|
16892
|
-
styles: styles$
|
|
16892
|
+
styles: styles$Y,
|
|
16893
16893
|
template: template$F
|
|
16894
16894
|
});
|
|
16895
16895
|
DesignSystem.getOrCreate()
|
|
@@ -17097,7 +17097,7 @@
|
|
|
17097
17097
|
}
|
|
17098
17098
|
}
|
|
17099
17099
|
|
|
17100
|
-
const styles$
|
|
17100
|
+
const styles$X = css `
|
|
17101
17101
|
@layer base, hover, focusVisible, active, disabled;
|
|
17102
17102
|
|
|
17103
17103
|
@layer base {
|
|
@@ -17276,7 +17276,7 @@
|
|
|
17276
17276
|
baseName: 'anchor',
|
|
17277
17277
|
baseClass: Anchor$1,
|
|
17278
17278
|
template: template$E,
|
|
17279
|
-
styles: styles$
|
|
17279
|
+
styles: styles$X,
|
|
17280
17280
|
shadowOptions: {
|
|
17281
17281
|
delegatesFocus: true
|
|
17282
17282
|
}
|
|
@@ -17379,7 +17379,7 @@
|
|
|
17379
17379
|
padding: 0;
|
|
17380
17380
|
`;
|
|
17381
17381
|
|
|
17382
|
-
const styles$
|
|
17382
|
+
const styles$W = css `
|
|
17383
17383
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
17384
17384
|
|
|
17385
17385
|
@layer base {
|
|
@@ -17657,8 +17657,8 @@
|
|
|
17657
17657
|
}
|
|
17658
17658
|
`));
|
|
17659
17659
|
|
|
17660
|
-
const styles$
|
|
17661
|
-
${styles$
|
|
17660
|
+
const styles$V = css `
|
|
17661
|
+
${styles$W}
|
|
17662
17662
|
${buttonAppearanceVariantStyles}
|
|
17663
17663
|
|
|
17664
17664
|
.control {
|
|
@@ -17761,7 +17761,7 @@
|
|
|
17761
17761
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17762
17762
|
baseName: 'anchor-button',
|
|
17763
17763
|
template: template$D,
|
|
17764
|
-
styles: styles$
|
|
17764
|
+
styles: styles$V,
|
|
17765
17765
|
shadowOptions: {
|
|
17766
17766
|
delegatesFocus: true
|
|
17767
17767
|
}
|
|
@@ -17769,7 +17769,7 @@
|
|
|
17769
17769
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17770
17770
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17771
17771
|
|
|
17772
|
-
const styles$
|
|
17772
|
+
const styles$U = css `
|
|
17773
17773
|
${display('grid')}
|
|
17774
17774
|
|
|
17775
17775
|
:host {
|
|
@@ -17953,7 +17953,7 @@
|
|
|
17953
17953
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17954
17954
|
baseName: 'anchor-menu-item',
|
|
17955
17955
|
template: template$C,
|
|
17956
|
-
styles: styles$
|
|
17956
|
+
styles: styles$U,
|
|
17957
17957
|
shadowOptions: {
|
|
17958
17958
|
delegatesFocus: true
|
|
17959
17959
|
}
|
|
@@ -17962,7 +17962,7 @@
|
|
|
17962
17962
|
.withPrefix('nimble')
|
|
17963
17963
|
.register(nimbleAnchorMenuItem());
|
|
17964
17964
|
|
|
17965
|
-
const styles$
|
|
17965
|
+
const styles$T = css `
|
|
17966
17966
|
${display('inline-flex')}
|
|
17967
17967
|
|
|
17968
17968
|
:host {
|
|
@@ -18132,14 +18132,14 @@
|
|
|
18132
18132
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
18133
18133
|
baseName: 'anchor-tab',
|
|
18134
18134
|
template: template$B,
|
|
18135
|
-
styles: styles$
|
|
18135
|
+
styles: styles$T,
|
|
18136
18136
|
shadowOptions: {
|
|
18137
18137
|
delegatesFocus: true
|
|
18138
18138
|
}
|
|
18139
18139
|
});
|
|
18140
18140
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
18141
18141
|
|
|
18142
|
-
const styles$
|
|
18142
|
+
const styles$S = css `
|
|
18143
18143
|
${display('grid')}
|
|
18144
18144
|
|
|
18145
18145
|
:host {
|
|
@@ -18368,7 +18368,7 @@
|
|
|
18368
18368
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
18369
18369
|
baseName: 'anchor-tabs',
|
|
18370
18370
|
template: template$A,
|
|
18371
|
-
styles: styles$
|
|
18371
|
+
styles: styles$S,
|
|
18372
18372
|
shadowOptions: {
|
|
18373
18373
|
delegatesFocus: false
|
|
18374
18374
|
}
|
|
@@ -18384,7 +18384,7 @@
|
|
|
18384
18384
|
-webkit-user-select: none;
|
|
18385
18385
|
`;
|
|
18386
18386
|
|
|
18387
|
-
const styles$
|
|
18387
|
+
const styles$R = css `
|
|
18388
18388
|
${display('block')}
|
|
18389
18389
|
|
|
18390
18390
|
:host {
|
|
@@ -18628,7 +18628,7 @@
|
|
|
18628
18628
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
18629
18629
|
baseName: 'anchor-tree-item',
|
|
18630
18630
|
template: template$z,
|
|
18631
|
-
styles: styles$
|
|
18631
|
+
styles: styles$R,
|
|
18632
18632
|
shadowOptions: {
|
|
18633
18633
|
delegatesFocus: true
|
|
18634
18634
|
}
|
|
@@ -18644,7 +18644,7 @@
|
|
|
18644
18644
|
zIndex1000: '1000'
|
|
18645
18645
|
};
|
|
18646
18646
|
|
|
18647
|
-
const styles$
|
|
18647
|
+
const styles$Q = css `
|
|
18648
18648
|
:host {
|
|
18649
18649
|
/* Avoid using the 'display' helper to customize hidden behavior */
|
|
18650
18650
|
display: block;
|
|
@@ -18673,7 +18673,7 @@
|
|
|
18673
18673
|
baseName: 'anchored-region',
|
|
18674
18674
|
baseClass: AnchoredRegion$1,
|
|
18675
18675
|
template: anchoredRegionTemplate,
|
|
18676
|
-
styles: styles$
|
|
18676
|
+
styles: styles$Q
|
|
18677
18677
|
});
|
|
18678
18678
|
DesignSystem.getOrCreate()
|
|
18679
18679
|
.withPrefix('nimble')
|
|
@@ -18753,7 +18753,7 @@
|
|
|
18753
18753
|
*/
|
|
18754
18754
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
18755
18755
|
|
|
18756
|
-
const styles$
|
|
18756
|
+
const styles$P = css `
|
|
18757
18757
|
${display('flex')}
|
|
18758
18758
|
|
|
18759
18759
|
:host {
|
|
@@ -18896,8 +18896,8 @@
|
|
|
18896
18896
|
}
|
|
18897
18897
|
`));
|
|
18898
18898
|
|
|
18899
|
-
const styles$
|
|
18900
|
-
${styles$
|
|
18899
|
+
const styles$O = css `
|
|
18900
|
+
${styles$W}
|
|
18901
18901
|
${buttonAppearanceVariantStyles}
|
|
18902
18902
|
`;
|
|
18903
18903
|
|
|
@@ -18943,7 +18943,7 @@
|
|
|
18943
18943
|
baseName: 'button',
|
|
18944
18944
|
baseClass: Button$1,
|
|
18945
18945
|
template: buttonTemplate,
|
|
18946
|
-
styles: styles$
|
|
18946
|
+
styles: styles$O,
|
|
18947
18947
|
shadowOptions: {
|
|
18948
18948
|
delegatesFocus: true
|
|
18949
18949
|
}
|
|
@@ -19700,7 +19700,7 @@
|
|
|
19700
19700
|
:innerHTML=${x => x.icon.data}
|
|
19701
19701
|
></div>`;
|
|
19702
19702
|
|
|
19703
|
-
const styles$
|
|
19703
|
+
const styles$N = css `
|
|
19704
19704
|
${display('inline-flex')}
|
|
19705
19705
|
|
|
19706
19706
|
:host {
|
|
@@ -19754,7 +19754,7 @@
|
|
|
19754
19754
|
const composedIcon = iconClass.compose({
|
|
19755
19755
|
baseName,
|
|
19756
19756
|
template: template$y,
|
|
19757
|
-
styles: styles$
|
|
19757
|
+
styles: styles$N,
|
|
19758
19758
|
baseClass: iconClass
|
|
19759
19759
|
});
|
|
19760
19760
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
@@ -19985,11 +19985,11 @@
|
|
|
19985
19985
|
const nimbleBanner = Banner.compose({
|
|
19986
19986
|
baseName: 'banner',
|
|
19987
19987
|
template: template$x,
|
|
19988
|
-
styles: styles$
|
|
19988
|
+
styles: styles$P
|
|
19989
19989
|
});
|
|
19990
19990
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
19991
19991
|
|
|
19992
|
-
const styles$
|
|
19992
|
+
const styles$M = css `
|
|
19993
19993
|
${display('inline-block')}
|
|
19994
19994
|
|
|
19995
19995
|
:host {
|
|
@@ -20030,11 +20030,11 @@
|
|
|
20030
20030
|
baseName: 'breadcrumb',
|
|
20031
20031
|
baseClass: Breadcrumb$1,
|
|
20032
20032
|
template: breadcrumbTemplate,
|
|
20033
|
-
styles: styles$
|
|
20033
|
+
styles: styles$M
|
|
20034
20034
|
});
|
|
20035
20035
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
20036
20036
|
|
|
20037
|
-
const styles$
|
|
20037
|
+
const styles$L = css `
|
|
20038
20038
|
${display('inline-flex')}
|
|
20039
20039
|
|
|
20040
20040
|
:host {
|
|
@@ -20112,14 +20112,14 @@
|
|
|
20112
20112
|
baseName: 'breadcrumb-item',
|
|
20113
20113
|
baseClass: BreadcrumbItem$1,
|
|
20114
20114
|
template: breadcrumbItemTemplate,
|
|
20115
|
-
styles: styles$
|
|
20115
|
+
styles: styles$L,
|
|
20116
20116
|
separator: forwardSlash16X16.data
|
|
20117
20117
|
});
|
|
20118
20118
|
DesignSystem.getOrCreate()
|
|
20119
20119
|
.withPrefix('nimble')
|
|
20120
20120
|
.register(nimbleBreadcrumbItem());
|
|
20121
20121
|
|
|
20122
|
-
const styles$
|
|
20122
|
+
const styles$K = css `
|
|
20123
20123
|
${display('flex')}
|
|
20124
20124
|
|
|
20125
20125
|
:host {
|
|
@@ -20159,11 +20159,11 @@
|
|
|
20159
20159
|
baseName: 'card',
|
|
20160
20160
|
baseClass: Card$1,
|
|
20161
20161
|
template: template$w,
|
|
20162
|
-
styles: styles$
|
|
20162
|
+
styles: styles$K
|
|
20163
20163
|
});
|
|
20164
20164
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
20165
20165
|
|
|
20166
|
-
const styles$
|
|
20166
|
+
const styles$J = css `
|
|
20167
20167
|
${display('inline-flex')}
|
|
20168
20168
|
|
|
20169
20169
|
:host {
|
|
@@ -20322,14 +20322,14 @@
|
|
|
20322
20322
|
const nimbleCardButton = CardButton.compose({
|
|
20323
20323
|
baseName: 'card-button',
|
|
20324
20324
|
template: buttonTemplate,
|
|
20325
|
-
styles: styles$
|
|
20325
|
+
styles: styles$J,
|
|
20326
20326
|
shadowOptions: {
|
|
20327
20327
|
delegatesFocus: true
|
|
20328
20328
|
}
|
|
20329
20329
|
});
|
|
20330
20330
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
20331
20331
|
|
|
20332
|
-
const styles$
|
|
20332
|
+
const styles$I = css `
|
|
20333
20333
|
${display('inline-flex')}
|
|
20334
20334
|
|
|
20335
20335
|
:host {
|
|
@@ -20447,15 +20447,15 @@
|
|
|
20447
20447
|
baseName: 'checkbox',
|
|
20448
20448
|
baseClass: Checkbox$1,
|
|
20449
20449
|
template: checkboxTemplate,
|
|
20450
|
-
styles: styles$
|
|
20450
|
+
styles: styles$I,
|
|
20451
20451
|
checkedIndicator: check16X16.data,
|
|
20452
20452
|
indeterminateIndicator: minus16X16.data
|
|
20453
20453
|
});
|
|
20454
20454
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCheckbox());
|
|
20455
20455
|
const checkboxTag = 'nimble-checkbox';
|
|
20456
20456
|
|
|
20457
|
-
const styles$
|
|
20458
|
-
${styles$
|
|
20457
|
+
const styles$H = css `
|
|
20458
|
+
${styles$W}
|
|
20459
20459
|
${buttonAppearanceVariantStyles}
|
|
20460
20460
|
|
|
20461
20461
|
@layer checked {
|
|
@@ -20581,7 +20581,7 @@
|
|
|
20581
20581
|
const nimbleToggleButton = ToggleButton.compose({
|
|
20582
20582
|
baseName: 'toggle-button',
|
|
20583
20583
|
template: template$v,
|
|
20584
|
-
styles: styles$
|
|
20584
|
+
styles: styles$H,
|
|
20585
20585
|
shadowOptions: {
|
|
20586
20586
|
delegatesFocus: true
|
|
20587
20587
|
}
|
|
@@ -20618,7 +20618,7 @@
|
|
|
20618
20618
|
block: 'block'
|
|
20619
20619
|
};
|
|
20620
20620
|
|
|
20621
|
-
const styles$
|
|
20621
|
+
const styles$G = css `
|
|
20622
20622
|
${display('inline-flex')}
|
|
20623
20623
|
|
|
20624
20624
|
:host {
|
|
@@ -20838,7 +20838,7 @@
|
|
|
20838
20838
|
}
|
|
20839
20839
|
`));
|
|
20840
20840
|
|
|
20841
|
-
const styles$
|
|
20841
|
+
const styles$F = css `
|
|
20842
20842
|
.error-icon {
|
|
20843
20843
|
display: none;
|
|
20844
20844
|
}
|
|
@@ -20885,9 +20885,9 @@
|
|
|
20885
20885
|
standard: 'standard'
|
|
20886
20886
|
};
|
|
20887
20887
|
|
|
20888
|
-
const styles$
|
|
20888
|
+
const styles$E = css `
|
|
20889
|
+
${styles$G}
|
|
20889
20890
|
${styles$F}
|
|
20890
|
-
${styles$E}
|
|
20891
20891
|
|
|
20892
20892
|
:host {
|
|
20893
20893
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -21729,7 +21729,7 @@
|
|
|
21729
21729
|
baseName: 'combobox',
|
|
21730
21730
|
baseClass: FormAssociatedCombobox,
|
|
21731
21731
|
template: template$u,
|
|
21732
|
-
styles: styles$
|
|
21732
|
+
styles: styles$E,
|
|
21733
21733
|
shadowOptions: {
|
|
21734
21734
|
delegatesFocus: true
|
|
21735
21735
|
},
|
|
@@ -21774,7 +21774,7 @@
|
|
|
21774
21774
|
*/
|
|
21775
21775
|
const UserDismissed = Symbol('user dismissed');
|
|
21776
21776
|
|
|
21777
|
-
const styles$
|
|
21777
|
+
const styles$D = css `
|
|
21778
21778
|
${display('grid')}
|
|
21779
21779
|
|
|
21780
21780
|
dialog {
|
|
@@ -22029,12 +22029,12 @@
|
|
|
22029
22029
|
const nimbleDialog = Dialog.compose({
|
|
22030
22030
|
baseName: 'dialog',
|
|
22031
22031
|
template: template$t,
|
|
22032
|
-
styles: styles$
|
|
22032
|
+
styles: styles$D,
|
|
22033
22033
|
baseClass: Dialog
|
|
22034
22034
|
});
|
|
22035
22035
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
22036
22036
|
|
|
22037
|
-
const styles$
|
|
22037
|
+
const styles$C = css `
|
|
22038
22038
|
${display('block')}
|
|
22039
22039
|
|
|
22040
22040
|
:host {
|
|
@@ -22331,7 +22331,7 @@
|
|
|
22331
22331
|
const nimbleDrawer = Drawer.compose({
|
|
22332
22332
|
baseName: 'drawer',
|
|
22333
22333
|
template: template$s,
|
|
22334
|
-
styles: styles$
|
|
22334
|
+
styles: styles$C
|
|
22335
22335
|
});
|
|
22336
22336
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
22337
22337
|
|
|
@@ -24777,7 +24777,7 @@
|
|
|
24777
24777
|
.withPrefix('nimble')
|
|
24778
24778
|
.register(nimbleLabelProviderTable());
|
|
24779
24779
|
|
|
24780
|
-
const styles$
|
|
24780
|
+
const styles$B = css `
|
|
24781
24781
|
${display('flex')}
|
|
24782
24782
|
|
|
24783
24783
|
:host {
|
|
@@ -24938,7 +24938,7 @@
|
|
|
24938
24938
|
baseName: 'list-option',
|
|
24939
24939
|
baseClass: ListboxOption,
|
|
24940
24940
|
template: template$r,
|
|
24941
|
-
styles: styles$
|
|
24941
|
+
styles: styles$B
|
|
24942
24942
|
});
|
|
24943
24943
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
24944
24944
|
const listOptionTag = 'nimble-list-option';
|
|
@@ -24979,6 +24979,10 @@
|
|
|
24979
24979
|
* how specific data values should be displayed as icons in that column's cells.
|
|
24980
24980
|
*/
|
|
24981
24981
|
class MappingIcon extends Mapping$1 {
|
|
24982
|
+
constructor() {
|
|
24983
|
+
super(...arguments);
|
|
24984
|
+
this.textHidden = false;
|
|
24985
|
+
}
|
|
24982
24986
|
// Allow icons to be defined asynchronously from when the property is configured
|
|
24983
24987
|
async resolveIconAsync(icon) {
|
|
24984
24988
|
try {
|
|
@@ -25024,6 +25028,9 @@
|
|
|
25024
25028
|
__decorate$1([
|
|
25025
25029
|
attr()
|
|
25026
25030
|
], MappingIcon.prototype, "text", void 0);
|
|
25031
|
+
__decorate$1([
|
|
25032
|
+
attr({ attribute: 'text-hidden', mode: 'boolean' })
|
|
25033
|
+
], MappingIcon.prototype, "textHidden", void 0);
|
|
25027
25034
|
__decorate$1([
|
|
25028
25035
|
observable
|
|
25029
25036
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
@@ -25039,17 +25046,24 @@
|
|
|
25039
25046
|
* which specific data values should be displayed as spinners in that column's cells.
|
|
25040
25047
|
*/
|
|
25041
25048
|
class MappingSpinner extends Mapping$1 {
|
|
25049
|
+
constructor() {
|
|
25050
|
+
super(...arguments);
|
|
25051
|
+
this.textHidden = false;
|
|
25052
|
+
}
|
|
25042
25053
|
}
|
|
25043
25054
|
__decorate$1([
|
|
25044
25055
|
attr()
|
|
25045
25056
|
], MappingSpinner.prototype, "text", void 0);
|
|
25057
|
+
__decorate$1([
|
|
25058
|
+
attr({ attribute: 'text-hidden', mode: 'boolean' })
|
|
25059
|
+
], MappingSpinner.prototype, "textHidden", void 0);
|
|
25046
25060
|
const spinnerMapping = MappingSpinner.compose({
|
|
25047
25061
|
baseName: 'mapping-spinner',
|
|
25048
25062
|
template: template$q
|
|
25049
25063
|
});
|
|
25050
25064
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
25051
25065
|
|
|
25052
|
-
const styles$
|
|
25066
|
+
const styles$A = css `
|
|
25053
25067
|
${display('grid')}
|
|
25054
25068
|
|
|
25055
25069
|
:host {
|
|
@@ -25116,7 +25130,7 @@
|
|
|
25116
25130
|
baseName: 'menu',
|
|
25117
25131
|
baseClass: Menu$1,
|
|
25118
25132
|
template: menuTemplate,
|
|
25119
|
-
styles: styles$
|
|
25133
|
+
styles: styles$A
|
|
25120
25134
|
});
|
|
25121
25135
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
25122
25136
|
|
|
@@ -25133,7 +25147,7 @@
|
|
|
25133
25147
|
auto: 'auto'
|
|
25134
25148
|
};
|
|
25135
25149
|
|
|
25136
|
-
const styles$
|
|
25150
|
+
const styles$z = css `
|
|
25137
25151
|
${display('inline-block')}
|
|
25138
25152
|
|
|
25139
25153
|
:host {
|
|
@@ -25399,7 +25413,7 @@
|
|
|
25399
25413
|
const nimbleMenuButton = MenuButton.compose({
|
|
25400
25414
|
baseName: 'menu-button',
|
|
25401
25415
|
template: template$p,
|
|
25402
|
-
styles: styles$
|
|
25416
|
+
styles: styles$z,
|
|
25403
25417
|
shadowOptions: {
|
|
25404
25418
|
delegatesFocus: true
|
|
25405
25419
|
}
|
|
@@ -25407,7 +25421,7 @@
|
|
|
25407
25421
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
25408
25422
|
const menuButtonTag = 'nimble-menu-button';
|
|
25409
25423
|
|
|
25410
|
-
const styles$
|
|
25424
|
+
const styles$y = css `
|
|
25411
25425
|
${display('grid')}
|
|
25412
25426
|
|
|
25413
25427
|
:host {
|
|
@@ -25505,7 +25519,7 @@
|
|
|
25505
25519
|
baseName: 'menu-item',
|
|
25506
25520
|
baseClass: MenuItem$1,
|
|
25507
25521
|
template: menuItemTemplate,
|
|
25508
|
-
styles: styles$
|
|
25522
|
+
styles: styles$y,
|
|
25509
25523
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
25510
25524
|
});
|
|
25511
25525
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -25519,9 +25533,9 @@
|
|
|
25519
25533
|
block: 'block'
|
|
25520
25534
|
};
|
|
25521
25535
|
|
|
25522
|
-
const styles$
|
|
25536
|
+
const styles$x = css `
|
|
25523
25537
|
${display('inline-block')}
|
|
25524
|
-
${styles$
|
|
25538
|
+
${styles$F}
|
|
25525
25539
|
|
|
25526
25540
|
:host {
|
|
25527
25541
|
font: ${bodyFont};
|
|
@@ -25735,7 +25749,7 @@
|
|
|
25735
25749
|
baseName: 'number-field',
|
|
25736
25750
|
baseClass: NumberField$1,
|
|
25737
25751
|
template: numberFieldTemplate,
|
|
25738
|
-
styles: styles$
|
|
25752
|
+
styles: styles$x,
|
|
25739
25753
|
shadowOptions: {
|
|
25740
25754
|
delegatesFocus: true
|
|
25741
25755
|
},
|
|
@@ -25778,7 +25792,7 @@
|
|
|
25778
25792
|
});
|
|
25779
25793
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
25780
25794
|
|
|
25781
|
-
const styles$
|
|
25795
|
+
const styles$w = css `
|
|
25782
25796
|
${display('inline-flex')}
|
|
25783
25797
|
|
|
25784
25798
|
:host {
|
|
@@ -25879,12 +25893,12 @@
|
|
|
25879
25893
|
baseName: 'radio',
|
|
25880
25894
|
baseClass: Radio$1,
|
|
25881
25895
|
template: radioTemplate,
|
|
25882
|
-
styles: styles$
|
|
25896
|
+
styles: styles$w,
|
|
25883
25897
|
checkedIndicator: circleFilled16X16.data
|
|
25884
25898
|
});
|
|
25885
25899
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
25886
25900
|
|
|
25887
|
-
const styles$
|
|
25901
|
+
const styles$v = css `
|
|
25888
25902
|
${display('inline-block')}
|
|
25889
25903
|
|
|
25890
25904
|
.positioning-region {
|
|
@@ -25919,7 +25933,7 @@
|
|
|
25919
25933
|
baseName: 'radio-group',
|
|
25920
25934
|
baseClass: RadioGroup$1,
|
|
25921
25935
|
template: radioGroupTemplate,
|
|
25922
|
-
styles: styles$
|
|
25936
|
+
styles: styles$v,
|
|
25923
25937
|
shadowOptions: {
|
|
25924
25938
|
delegatesFocus: true
|
|
25925
25939
|
}
|
|
@@ -43360,7 +43374,7 @@ img.ProseMirror-separator {
|
|
|
43360
43374
|
},
|
|
43361
43375
|
});
|
|
43362
43376
|
|
|
43363
|
-
const styles$
|
|
43377
|
+
const styles$u = css `
|
|
43364
43378
|
.positioning-region {
|
|
43365
43379
|
display: flex;
|
|
43366
43380
|
padding: ${smallPadding} ${standardPadding};
|
|
@@ -43395,7 +43409,7 @@ img.ProseMirror-separator {
|
|
|
43395
43409
|
baseName: 'toolbar',
|
|
43396
43410
|
baseClass: Toolbar$1,
|
|
43397
43411
|
template: toolbarTemplate,
|
|
43398
|
-
styles: styles$
|
|
43412
|
+
styles: styles$u,
|
|
43399
43413
|
shadowOptions: {
|
|
43400
43414
|
delegatesFocus: true
|
|
43401
43415
|
}
|
|
@@ -43427,8 +43441,8 @@ img.ProseMirror-separator {
|
|
|
43427
43441
|
cssCustomPropertyName: null
|
|
43428
43442
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
43429
43443
|
|
|
43430
|
-
const styles$
|
|
43431
|
-
${styles$
|
|
43444
|
+
const styles$t = css `
|
|
43445
|
+
${styles$G}
|
|
43432
43446
|
|
|
43433
43447
|
:host {
|
|
43434
43448
|
height: auto;
|
|
@@ -43445,7 +43459,7 @@ img.ProseMirror-separator {
|
|
|
43445
43459
|
}
|
|
43446
43460
|
`;
|
|
43447
43461
|
|
|
43448
|
-
const styles$
|
|
43462
|
+
const styles$s = css `
|
|
43449
43463
|
${display('inline-flex')}
|
|
43450
43464
|
|
|
43451
43465
|
:host {
|
|
@@ -43477,7 +43491,7 @@ img.ProseMirror-separator {
|
|
|
43477
43491
|
const nimbleListbox = Listbox.compose({
|
|
43478
43492
|
baseName: 'listbox',
|
|
43479
43493
|
template: listboxTemplate,
|
|
43480
|
-
styles: styles$
|
|
43494
|
+
styles: styles$s
|
|
43481
43495
|
});
|
|
43482
43496
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListbox());
|
|
43483
43497
|
|
|
@@ -43744,7 +43758,7 @@ img.ProseMirror-separator {
|
|
|
43744
43758
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
43745
43759
|
baseName: 'rich-text-mention-listbox',
|
|
43746
43760
|
template: template$o,
|
|
43747
|
-
styles: styles$
|
|
43761
|
+
styles: styles$t
|
|
43748
43762
|
});
|
|
43749
43763
|
DesignSystem.getOrCreate()
|
|
43750
43764
|
.withPrefix('nimble')
|
|
@@ -43854,9 +43868,9 @@ img.ProseMirror-separator {
|
|
|
43854
43868
|
</template>
|
|
43855
43869
|
`;
|
|
43856
43870
|
|
|
43857
|
-
const styles$
|
|
43871
|
+
const styles$r = css `
|
|
43858
43872
|
${display('inline-flex')}
|
|
43859
|
-
${styles$
|
|
43873
|
+
${styles$F}
|
|
43860
43874
|
|
|
43861
43875
|
:host {
|
|
43862
43876
|
font: ${bodyFont};
|
|
@@ -58469,7 +58483,7 @@ img.ProseMirror-separator {
|
|
|
58469
58483
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
58470
58484
|
baseName: 'rich-text-editor',
|
|
58471
58485
|
template: template$n,
|
|
58472
|
-
styles: styles$
|
|
58486
|
+
styles: styles$r,
|
|
58473
58487
|
shadowOptions: {
|
|
58474
58488
|
delegatesFocus: true
|
|
58475
58489
|
}
|
|
@@ -58484,7 +58498,7 @@ img.ProseMirror-separator {
|
|
|
58484
58498
|
</template>
|
|
58485
58499
|
`;
|
|
58486
58500
|
|
|
58487
|
-
const styles$
|
|
58501
|
+
const styles$q = css `
|
|
58488
58502
|
${display('flex')}
|
|
58489
58503
|
|
|
58490
58504
|
:host {
|
|
@@ -58597,15 +58611,15 @@ img.ProseMirror-separator {
|
|
|
58597
58611
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
58598
58612
|
baseName: 'rich-text-viewer',
|
|
58599
58613
|
template: template$m,
|
|
58600
|
-
styles: styles$
|
|
58614
|
+
styles: styles$q
|
|
58601
58615
|
});
|
|
58602
58616
|
DesignSystem.getOrCreate()
|
|
58603
58617
|
.withPrefix('nimble')
|
|
58604
58618
|
.register(nimbleRichTextViewer());
|
|
58605
58619
|
|
|
58606
|
-
const styles$
|
|
58620
|
+
const styles$p = css `
|
|
58621
|
+
${styles$G}
|
|
58607
58622
|
${styles$F}
|
|
58608
|
-
${styles$E}
|
|
58609
58623
|
|
|
58610
58624
|
${
|
|
58611
58625
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -59613,7 +59627,7 @@ img.ProseMirror-separator {
|
|
|
59613
59627
|
baseName: 'select',
|
|
59614
59628
|
baseClass: Select$2,
|
|
59615
59629
|
template: template$l,
|
|
59616
|
-
styles: styles$
|
|
59630
|
+
styles: styles$p,
|
|
59617
59631
|
indicator: arrowExpanderDown16X16.data,
|
|
59618
59632
|
end: html `
|
|
59619
59633
|
<${iconExclamationMarkTag}
|
|
@@ -59626,7 +59640,7 @@ img.ProseMirror-separator {
|
|
|
59626
59640
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
59627
59641
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
59628
59642
|
|
|
59629
|
-
const styles$
|
|
59643
|
+
const styles$o = css `
|
|
59630
59644
|
${display('inline-grid')}
|
|
59631
59645
|
|
|
59632
59646
|
:host {
|
|
@@ -59844,12 +59858,12 @@ img.ProseMirror-separator {
|
|
|
59844
59858
|
const nimbleSpinner = Spinner.compose({
|
|
59845
59859
|
baseName: 'spinner',
|
|
59846
59860
|
template: template$k,
|
|
59847
|
-
styles: styles$
|
|
59861
|
+
styles: styles$o
|
|
59848
59862
|
});
|
|
59849
59863
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
59850
59864
|
const spinnerTag = 'nimble-spinner';
|
|
59851
59865
|
|
|
59852
|
-
const styles$
|
|
59866
|
+
const styles$n = css `
|
|
59853
59867
|
${display('inline-flex')}
|
|
59854
59868
|
|
|
59855
59869
|
:host {
|
|
@@ -60058,11 +60072,11 @@ img.ProseMirror-separator {
|
|
|
60058
60072
|
baseClass: Switch$1,
|
|
60059
60073
|
baseName: 'switch',
|
|
60060
60074
|
template: template$j,
|
|
60061
|
-
styles: styles$
|
|
60075
|
+
styles: styles$n
|
|
60062
60076
|
});
|
|
60063
60077
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
60064
60078
|
|
|
60065
|
-
const styles$
|
|
60079
|
+
const styles$m = css `
|
|
60066
60080
|
${display('inline-flex')}
|
|
60067
60081
|
|
|
60068
60082
|
:host {
|
|
@@ -60173,11 +60187,11 @@ img.ProseMirror-separator {
|
|
|
60173
60187
|
baseName: 'tab',
|
|
60174
60188
|
baseClass: Tab$1,
|
|
60175
60189
|
template: tabTemplate,
|
|
60176
|
-
styles: styles$
|
|
60190
|
+
styles: styles$m
|
|
60177
60191
|
});
|
|
60178
60192
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
60179
60193
|
|
|
60180
|
-
const styles$
|
|
60194
|
+
const styles$l = css `
|
|
60181
60195
|
${display('block')}
|
|
60182
60196
|
|
|
60183
60197
|
:host {
|
|
@@ -60197,7 +60211,7 @@ img.ProseMirror-separator {
|
|
|
60197
60211
|
baseName: 'tab-panel',
|
|
60198
60212
|
baseClass: TabPanel$1,
|
|
60199
60213
|
template: tabPanelTemplate,
|
|
60200
|
-
styles: styles$
|
|
60214
|
+
styles: styles$l
|
|
60201
60215
|
});
|
|
60202
60216
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
60203
60217
|
|
|
@@ -63876,7 +63890,7 @@ img.ProseMirror-separator {
|
|
|
63876
63890
|
}
|
|
63877
63891
|
}
|
|
63878
63892
|
|
|
63879
|
-
const styles$
|
|
63893
|
+
const styles$k = css `
|
|
63880
63894
|
${display('flex')}
|
|
63881
63895
|
|
|
63882
63896
|
:host {
|
|
@@ -64060,7 +64074,7 @@ img.ProseMirror-separator {
|
|
|
64060
64074
|
}
|
|
64061
64075
|
`));
|
|
64062
64076
|
|
|
64063
|
-
const styles$
|
|
64077
|
+
const styles$j = css `
|
|
64064
64078
|
${display('flex')}
|
|
64065
64079
|
|
|
64066
64080
|
:host {
|
|
@@ -64157,12 +64171,12 @@ img.ProseMirror-separator {
|
|
|
64157
64171
|
const nimbleTableHeader = TableHeader.compose({
|
|
64158
64172
|
baseName: 'table-header',
|
|
64159
64173
|
template: template$i,
|
|
64160
|
-
styles: styles$
|
|
64174
|
+
styles: styles$j
|
|
64161
64175
|
});
|
|
64162
64176
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
64163
64177
|
const tableHeaderTag = 'nimble-table-header';
|
|
64164
64178
|
|
|
64165
|
-
const styles$
|
|
64179
|
+
const styles$i = css `
|
|
64166
64180
|
:host .animating {
|
|
64167
64181
|
transition: ${mediumDelay} ease-in;
|
|
64168
64182
|
}
|
|
@@ -64187,8 +64201,8 @@ img.ProseMirror-separator {
|
|
|
64187
64201
|
}
|
|
64188
64202
|
`;
|
|
64189
64203
|
|
|
64190
|
-
const styles$
|
|
64191
|
-
${styles$
|
|
64204
|
+
const styles$h = css `
|
|
64205
|
+
${styles$i}
|
|
64192
64206
|
${display('flex')}
|
|
64193
64207
|
|
|
64194
64208
|
:host {
|
|
@@ -64310,7 +64324,7 @@ img.ProseMirror-separator {
|
|
|
64310
64324
|
}
|
|
64311
64325
|
`));
|
|
64312
64326
|
|
|
64313
|
-
const styles$
|
|
64327
|
+
const styles$g = css `
|
|
64314
64328
|
${display('flex')}
|
|
64315
64329
|
|
|
64316
64330
|
:host {
|
|
@@ -64413,7 +64427,7 @@ img.ProseMirror-separator {
|
|
|
64413
64427
|
const nimbleTableCell = TableCell.compose({
|
|
64414
64428
|
baseName: 'table-cell',
|
|
64415
64429
|
template: template$h,
|
|
64416
|
-
styles: styles$
|
|
64430
|
+
styles: styles$g
|
|
64417
64431
|
});
|
|
64418
64432
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
64419
64433
|
const tableCellTag = 'nimble-table-cell';
|
|
@@ -64755,14 +64769,14 @@ img.ProseMirror-separator {
|
|
|
64755
64769
|
const nimbleTableRow = TableRow.compose({
|
|
64756
64770
|
baseName: 'table-row',
|
|
64757
64771
|
template: template$g,
|
|
64758
|
-
styles: styles$
|
|
64772
|
+
styles: styles$h
|
|
64759
64773
|
});
|
|
64760
64774
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
64761
64775
|
const tableRowTag = 'nimble-table-row';
|
|
64762
64776
|
|
|
64763
|
-
const styles$
|
|
64777
|
+
const styles$f = css `
|
|
64764
64778
|
${display('grid')}
|
|
64765
|
-
${styles$
|
|
64779
|
+
${styles$i}
|
|
64766
64780
|
|
|
64767
64781
|
:host {
|
|
64768
64782
|
align-items: center;
|
|
@@ -64988,7 +65002,7 @@ img.ProseMirror-separator {
|
|
|
64988
65002
|
const nimbleTableGroupRow = TableGroupRow.compose({
|
|
64989
65003
|
baseName: 'table-group-row',
|
|
64990
65004
|
template: template$f,
|
|
64991
|
-
styles: styles$
|
|
65005
|
+
styles: styles$f
|
|
64992
65006
|
});
|
|
64993
65007
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
64994
65008
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
@@ -67706,11 +67720,11 @@ img.ProseMirror-separator {
|
|
|
67706
67720
|
const nimbleTable = Table.compose({
|
|
67707
67721
|
baseName: 'table',
|
|
67708
67722
|
template: template$e,
|
|
67709
|
-
styles: styles$
|
|
67723
|
+
styles: styles$k
|
|
67710
67724
|
});
|
|
67711
67725
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
67712
67726
|
|
|
67713
|
-
const styles$
|
|
67727
|
+
const styles$e = css `
|
|
67714
67728
|
:host {
|
|
67715
67729
|
display: contents;
|
|
67716
67730
|
}
|
|
@@ -67816,7 +67830,7 @@ img.ProseMirror-separator {
|
|
|
67816
67830
|
return ColumnWithPlaceholder;
|
|
67817
67831
|
}
|
|
67818
67832
|
|
|
67819
|
-
const styles$
|
|
67833
|
+
const styles$d = css `
|
|
67820
67834
|
:host {
|
|
67821
67835
|
width: fit-content;
|
|
67822
67836
|
max-width: 100%;
|
|
@@ -67927,7 +67941,7 @@ img.ProseMirror-separator {
|
|
|
67927
67941
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
67928
67942
|
baseName: 'table-column-anchor-cell-view',
|
|
67929
67943
|
template: template$c,
|
|
67930
|
-
styles: styles$
|
|
67944
|
+
styles: styles$d
|
|
67931
67945
|
});
|
|
67932
67946
|
DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
|
|
67933
67947
|
const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
|
|
@@ -68013,7 +68027,7 @@ img.ProseMirror-separator {
|
|
|
68013
68027
|
</span>
|
|
68014
68028
|
`;
|
|
68015
68029
|
|
|
68016
|
-
const styles$
|
|
68030
|
+
const styles$c = css `
|
|
68017
68031
|
span {
|
|
68018
68032
|
font: ${bodyFont};
|
|
68019
68033
|
color: ${bodyFontColor};
|
|
@@ -68036,7 +68050,7 @@ img.ProseMirror-separator {
|
|
|
68036
68050
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
68037
68051
|
baseName: 'table-column-text-group-header-view',
|
|
68038
68052
|
template: template$b,
|
|
68039
|
-
styles: styles$
|
|
68053
|
+
styles: styles$c
|
|
68040
68054
|
});
|
|
68041
68055
|
DesignSystem.getOrCreate()
|
|
68042
68056
|
.withPrefix('nimble')
|
|
@@ -68155,7 +68169,7 @@ img.ProseMirror-separator {
|
|
|
68155
68169
|
const nimbleTableColumnAnchor = TableColumnAnchor.compose({
|
|
68156
68170
|
baseName: 'table-column-anchor',
|
|
68157
68171
|
template: template$d,
|
|
68158
|
-
styles: styles$
|
|
68172
|
+
styles: styles$e
|
|
68159
68173
|
});
|
|
68160
68174
|
DesignSystem.getOrCreate()
|
|
68161
68175
|
.withPrefix('nimble')
|
|
@@ -68208,7 +68222,7 @@ img.ProseMirror-separator {
|
|
|
68208
68222
|
const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
|
|
68209
68223
|
baseName: 'table-column-date-text-group-header-view',
|
|
68210
68224
|
template: template$b,
|
|
68211
|
-
styles: styles$
|
|
68225
|
+
styles: styles$c
|
|
68212
68226
|
});
|
|
68213
68227
|
DesignSystem.getOrCreate()
|
|
68214
68228
|
.withPrefix('nimble')
|
|
@@ -68240,7 +68254,7 @@ img.ProseMirror-separator {
|
|
|
68240
68254
|
</template>
|
|
68241
68255
|
`;
|
|
68242
68256
|
|
|
68243
|
-
const styles$
|
|
68257
|
+
const styles$b = css `
|
|
68244
68258
|
:host(.right-align) {
|
|
68245
68259
|
margin-left: auto;
|
|
68246
68260
|
}
|
|
@@ -68337,7 +68351,7 @@ img.ProseMirror-separator {
|
|
|
68337
68351
|
const dateTextCellView = TableColumnDateTextCellView.compose({
|
|
68338
68352
|
baseName: 'table-column-date-text-cell-view',
|
|
68339
68353
|
template: template$a,
|
|
68340
|
-
styles: styles$
|
|
68354
|
+
styles: styles$b
|
|
68341
68355
|
});
|
|
68342
68356
|
DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
|
|
68343
68357
|
const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
|
|
@@ -68598,7 +68612,7 @@ img.ProseMirror-separator {
|
|
|
68598
68612
|
const nimbleTableColumnDateText = TableColumnDateText.compose({
|
|
68599
68613
|
baseName: 'table-column-date-text',
|
|
68600
68614
|
template: template$d,
|
|
68601
|
-
styles: styles$
|
|
68615
|
+
styles: styles$e
|
|
68602
68616
|
});
|
|
68603
68617
|
DesignSystem.getOrCreate()
|
|
68604
68618
|
.withPrefix('nimble')
|
|
@@ -68615,7 +68629,7 @@ img.ProseMirror-separator {
|
|
|
68615
68629
|
const durationTextCellView = TableColumnDurationTextCellView.compose({
|
|
68616
68630
|
baseName: 'table-column-duration-text-cell-view',
|
|
68617
68631
|
template: template$a,
|
|
68618
|
-
styles: styles$
|
|
68632
|
+
styles: styles$b
|
|
68619
68633
|
});
|
|
68620
68634
|
DesignSystem.getOrCreate()
|
|
68621
68635
|
.withPrefix('nimble')
|
|
@@ -68717,7 +68731,7 @@ img.ProseMirror-separator {
|
|
|
68717
68731
|
const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
|
|
68718
68732
|
baseName: 'table-column-duration-text-group-header-view',
|
|
68719
68733
|
template: template$b,
|
|
68720
|
-
styles: styles$
|
|
68734
|
+
styles: styles$c
|
|
68721
68735
|
});
|
|
68722
68736
|
DesignSystem.getOrCreate()
|
|
68723
68737
|
.withPrefix('nimble')
|
|
@@ -68770,7 +68784,7 @@ img.ProseMirror-separator {
|
|
|
68770
68784
|
const nimbleTableColumnDurationText = TableColumnDurationText.compose({
|
|
68771
68785
|
baseName: 'table-column-duration-text',
|
|
68772
68786
|
template: template$d,
|
|
68773
|
-
styles: styles$
|
|
68787
|
+
styles: styles$e
|
|
68774
68788
|
});
|
|
68775
68789
|
DesignSystem.getOrCreate()
|
|
68776
68790
|
.withPrefix('nimble')
|
|
@@ -68878,8 +68892,8 @@ img.ProseMirror-separator {
|
|
|
68878
68892
|
attr({ attribute: 'key-type' })
|
|
68879
68893
|
], TableColumnEnumBase.prototype, "keyType", void 0);
|
|
68880
68894
|
|
|
68881
|
-
const styles$
|
|
68882
|
-
${styles$
|
|
68895
|
+
const styles$a = css `
|
|
68896
|
+
${styles$e}
|
|
68883
68897
|
|
|
68884
68898
|
slot[name='mapping'] {
|
|
68885
68899
|
display: none;
|
|
@@ -68992,7 +69006,7 @@ img.ProseMirror-separator {
|
|
|
68992
69006
|
const enumTextCellView = TableColumnEnumTextCellView.compose({
|
|
68993
69007
|
baseName: 'table-column-enum-text-cell-view',
|
|
68994
69008
|
template: template$a,
|
|
68995
|
-
styles: styles$
|
|
69009
|
+
styles: styles$b
|
|
68996
69010
|
});
|
|
68997
69011
|
DesignSystem.getOrCreate().withPrefix('nimble').register(enumTextCellView());
|
|
68998
69012
|
const tableColumnEnumTextCellViewTag = 'nimble-table-column-enum-text-cell-view';
|
|
@@ -69011,7 +69025,7 @@ img.ProseMirror-separator {
|
|
|
69011
69025
|
const enumTextGroupHeaderView = TableColumnEnumTextGroupHeaderView.compose({
|
|
69012
69026
|
baseName: 'table-column-enum-text-group-header-view',
|
|
69013
69027
|
template: template$b,
|
|
69014
|
-
styles: styles$
|
|
69028
|
+
styles: styles$c
|
|
69015
69029
|
});
|
|
69016
69030
|
DesignSystem.getOrCreate()
|
|
69017
69031
|
.withPrefix('nimble')
|
|
@@ -69049,7 +69063,7 @@ img.ProseMirror-separator {
|
|
|
69049
69063
|
const nimbleTableColumnEnumText = TableColumnEnumText.compose({
|
|
69050
69064
|
baseName: 'table-column-enum-text',
|
|
69051
69065
|
template: template$9,
|
|
69052
|
-
styles: styles$
|
|
69066
|
+
styles: styles$a
|
|
69053
69067
|
});
|
|
69054
69068
|
DesignSystem.getOrCreate()
|
|
69055
69069
|
.withPrefix('nimble')
|
|
@@ -69078,7 +69092,7 @@ img.ProseMirror-separator {
|
|
|
69078
69092
|
const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
|
|
69079
69093
|
baseName: 'table-column-number-text-group-header-view',
|
|
69080
69094
|
template: template$b,
|
|
69081
|
-
styles: styles$
|
|
69095
|
+
styles: styles$c
|
|
69082
69096
|
});
|
|
69083
69097
|
DesignSystem.getOrCreate()
|
|
69084
69098
|
.withPrefix('nimble')
|
|
@@ -69100,7 +69114,7 @@ img.ProseMirror-separator {
|
|
|
69100
69114
|
const numberTextCellView = TableColumnNumberTextCellView.compose({
|
|
69101
69115
|
baseName: 'table-column-number-text-cell-view',
|
|
69102
69116
|
template: template$a,
|
|
69103
|
-
styles: styles$
|
|
69117
|
+
styles: styles$b
|
|
69104
69118
|
});
|
|
69105
69119
|
DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
|
|
69106
69120
|
const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
|
|
@@ -69641,7 +69655,7 @@ img.ProseMirror-separator {
|
|
|
69641
69655
|
const nimbleTableColumnNumberText = TableColumnNumberText.compose({
|
|
69642
69656
|
baseName: 'table-column-number-text',
|
|
69643
69657
|
template: template$8,
|
|
69644
|
-
styles: styles$
|
|
69658
|
+
styles: styles$e
|
|
69645
69659
|
});
|
|
69646
69660
|
DesignSystem.getOrCreate()
|
|
69647
69661
|
.withPrefix('nimble')
|
|
@@ -69664,7 +69678,9 @@ img.ProseMirror-separator {
|
|
|
69664
69678
|
return mapping instanceof MappingIcon;
|
|
69665
69679
|
}
|
|
69666
69680
|
static isSupportedMappingElement(mapping) {
|
|
69667
|
-
return (mapping instanceof MappingIcon
|
|
69681
|
+
return (mapping instanceof MappingIcon
|
|
69682
|
+
|| mapping instanceof MappingSpinner
|
|
69683
|
+
|| mapping instanceof MappingText);
|
|
69668
69684
|
}
|
|
69669
69685
|
static hasUnresolvedIcon(mappingIcon) {
|
|
69670
69686
|
return (typeof mappingIcon.icon === 'string'
|
|
@@ -69694,7 +69710,7 @@ img.ProseMirror-separator {
|
|
|
69694
69710
|
}
|
|
69695
69711
|
}
|
|
69696
69712
|
|
|
69697
|
-
const styles$
|
|
69713
|
+
const styles$9 = css `
|
|
69698
69714
|
${display('inline-flex')}
|
|
69699
69715
|
|
|
69700
69716
|
:host {
|
|
@@ -69702,11 +69718,13 @@ img.ProseMirror-separator {
|
|
|
69702
69718
|
align-items: center;
|
|
69703
69719
|
}
|
|
69704
69720
|
|
|
69705
|
-
.
|
|
69721
|
+
.reserve-icon-size {
|
|
69706
69722
|
flex-shrink: 0;
|
|
69723
|
+
width: ${iconSize};
|
|
69724
|
+
height: ${iconSize};
|
|
69707
69725
|
}
|
|
69708
69726
|
|
|
69709
|
-
|
|
69727
|
+
.text {
|
|
69710
69728
|
flex-shrink: 1;
|
|
69711
69729
|
font: ${bodyFont};
|
|
69712
69730
|
color: ${bodyFontColor};
|
|
@@ -69718,31 +69736,30 @@ img.ProseMirror-separator {
|
|
|
69718
69736
|
|
|
69719
69737
|
// prettier-ignore
|
|
69720
69738
|
const template$7 = html `
|
|
69721
|
-
${when(x => x.
|
|
69722
|
-
|
|
69723
|
-
|
|
69724
|
-
|
|
69725
|
-
|
|
69726
|
-
|
|
69727
|
-
|
|
69728
|
-
|
|
69729
|
-
|
|
69730
|
-
|
|
69731
|
-
class="no-shrink">
|
|
69732
|
-
</${spinnerTag}>
|
|
69733
|
-
<span
|
|
69734
|
-
${overflow('hasOverflow')}
|
|
69735
|
-
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
69736
|
-
>${x => x.text}</span>
|
|
69737
|
-
`)}
|
|
69738
|
-
${when(x => x.visual === undefined, html `
|
|
69739
|
-
<span
|
|
69740
|
-
${overflow('hasOverflow')}
|
|
69741
|
-
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
69742
|
-
>${x => x.text}</span>
|
|
69743
|
-
`)}
|
|
69739
|
+
${when(x => x.visualizationTemplate, html `
|
|
69740
|
+
<span class="reserve-icon-size">
|
|
69741
|
+
${x => x.visualizationTemplate}
|
|
69742
|
+
</span>
|
|
69743
|
+
`)}
|
|
69744
|
+
<span
|
|
69745
|
+
${overflow('hasOverflow')}
|
|
69746
|
+
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
69747
|
+
class="text"
|
|
69748
|
+
>${x => x.text}</span>
|
|
69744
69749
|
`;
|
|
69745
69750
|
|
|
69751
|
+
/**
|
|
69752
|
+
* Predefined icon appearance states
|
|
69753
|
+
* @public
|
|
69754
|
+
*/
|
|
69755
|
+
const IconSeverity = {
|
|
69756
|
+
default: undefined,
|
|
69757
|
+
error: 'error',
|
|
69758
|
+
warning: 'warning',
|
|
69759
|
+
success: 'success',
|
|
69760
|
+
information: 'information'
|
|
69761
|
+
};
|
|
69762
|
+
|
|
69746
69763
|
// Create an empty template containing only a space because creating a ViewTemplate
|
|
69747
69764
|
// with an empty string throws an exception at runtime.
|
|
69748
69765
|
// prettier-ignore
|
|
@@ -69753,11 +69770,11 @@ img.ProseMirror-separator {
|
|
|
69753
69770
|
}
|
|
69754
69771
|
return html `
|
|
69755
69772
|
<${icon}
|
|
69756
|
-
title="${x => x.text}"
|
|
69773
|
+
title="${x => (x.textHidden ? x.text : '')}"
|
|
69757
69774
|
role="img"
|
|
69758
69775
|
aria-label="${x => x.text}"
|
|
69776
|
+
aria-hidden="${x => (x.textHidden ? 'false' : 'true')}"
|
|
69759
69777
|
severity="${x => x.severity}"
|
|
69760
|
-
class="no-shrink"
|
|
69761
69778
|
>
|
|
69762
69779
|
</${icon}>
|
|
69763
69780
|
`;
|
|
@@ -69766,19 +69783,30 @@ img.ProseMirror-separator {
|
|
|
69766
69783
|
* Mapping configuration corresponding to a icon mapping
|
|
69767
69784
|
*/
|
|
69768
69785
|
class MappingIconConfig extends MappingConfig {
|
|
69769
|
-
constructor(resolvedIcon, severity, text) {
|
|
69786
|
+
constructor(resolvedIcon, severity, text, textHidden) {
|
|
69770
69787
|
super(text);
|
|
69771
69788
|
this.severity = severity;
|
|
69789
|
+
this.textHidden = textHidden;
|
|
69772
69790
|
this.iconTemplate = createIconTemplate(resolvedIcon);
|
|
69773
69791
|
}
|
|
69774
69792
|
}
|
|
69775
69793
|
|
|
69794
|
+
const spinnerTemplate = html `
|
|
69795
|
+
<${spinnerTag}
|
|
69796
|
+
title="${x => (x.textHidden ? x.text : '')}"
|
|
69797
|
+
aria-label="${x => x.text}"
|
|
69798
|
+
aria-hidden="${x => (x.textHidden ? 'false' : 'true')}"
|
|
69799
|
+
>
|
|
69800
|
+
</${spinnerTag}>
|
|
69801
|
+
`;
|
|
69776
69802
|
/**
|
|
69777
69803
|
* Mapping configuration corresponding to a spinner mapping
|
|
69778
69804
|
*/
|
|
69779
69805
|
class MappingSpinnerConfig extends MappingConfig {
|
|
69780
|
-
constructor(text) {
|
|
69806
|
+
constructor(text, textHidden) {
|
|
69781
69807
|
super(text);
|
|
69808
|
+
this.textHidden = textHidden;
|
|
69809
|
+
this.spinnerTemplate = spinnerTemplate;
|
|
69782
69810
|
}
|
|
69783
69811
|
}
|
|
69784
69812
|
|
|
@@ -69786,51 +69814,89 @@ img.ProseMirror-separator {
|
|
|
69786
69814
|
* The group header view for the icon column
|
|
69787
69815
|
*/
|
|
69788
69816
|
class TableColumnIconGroupHeaderView extends TableColumnTextGroupHeaderViewBase {
|
|
69817
|
+
constructor() {
|
|
69818
|
+
super(...arguments);
|
|
69819
|
+
this.textHidden = false;
|
|
69820
|
+
}
|
|
69789
69821
|
updateText() {
|
|
69790
|
-
this.
|
|
69822
|
+
this.resetState();
|
|
69791
69823
|
if (!this.columnConfig) {
|
|
69792
|
-
this.text = '';
|
|
69793
69824
|
return;
|
|
69794
69825
|
}
|
|
69795
69826
|
const value = this.groupHeaderValue;
|
|
69796
69827
|
const mappingConfig = this.columnConfig.mappingConfigs.get(value);
|
|
69797
69828
|
if (mappingConfig instanceof MappingIconConfig) {
|
|
69798
|
-
this.visual = 'icon';
|
|
69799
69829
|
this.severity = mappingConfig.severity;
|
|
69800
69830
|
this.text = mappingConfig.text ?? '';
|
|
69801
|
-
this.
|
|
69831
|
+
this.visualizationTemplate = mappingConfig.iconTemplate;
|
|
69802
69832
|
}
|
|
69803
69833
|
else if (mappingConfig instanceof MappingSpinnerConfig) {
|
|
69804
|
-
this.
|
|
69834
|
+
this.text = mappingConfig.text ?? '';
|
|
69835
|
+
this.visualizationTemplate = mappingConfig.spinnerTemplate;
|
|
69836
|
+
}
|
|
69837
|
+
else if (mappingConfig instanceof MappingTextConfig) {
|
|
69805
69838
|
this.text = mappingConfig.text ?? '';
|
|
69806
69839
|
}
|
|
69807
69840
|
}
|
|
69841
|
+
resetState() {
|
|
69842
|
+
this.text = '';
|
|
69843
|
+
this.visualizationTemplate = undefined;
|
|
69844
|
+
this.severity = IconSeverity.default;
|
|
69845
|
+
}
|
|
69808
69846
|
}
|
|
69809
69847
|
__decorate$1([
|
|
69810
69848
|
observable
|
|
69811
69849
|
], TableColumnIconGroupHeaderView.prototype, "severity", void 0);
|
|
69812
69850
|
__decorate$1([
|
|
69813
69851
|
observable
|
|
69814
|
-
], TableColumnIconGroupHeaderView.prototype, "
|
|
69815
|
-
__decorate$1([
|
|
69816
|
-
observable
|
|
69817
|
-
], TableColumnIconGroupHeaderView.prototype, "visual", void 0);
|
|
69852
|
+
], TableColumnIconGroupHeaderView.prototype, "visualizationTemplate", void 0);
|
|
69818
69853
|
const iconGroupHeaderView = TableColumnIconGroupHeaderView.compose({
|
|
69819
69854
|
baseName: 'table-column-icon-group-header-view',
|
|
69820
69855
|
template: template$7,
|
|
69821
|
-
styles: styles$
|
|
69856
|
+
styles: styles$9
|
|
69822
69857
|
});
|
|
69823
69858
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconGroupHeaderView());
|
|
69824
69859
|
const tableColumnIconGroupHeaderViewTag = 'nimble-table-column-icon-group-header-view';
|
|
69825
69860
|
|
|
69861
|
+
const styles$8 = css `
|
|
69862
|
+
${display('inline-flex')}
|
|
69863
|
+
|
|
69864
|
+
:host {
|
|
69865
|
+
gap: ${smallPadding};
|
|
69866
|
+
align-items: center;
|
|
69867
|
+
}
|
|
69868
|
+
|
|
69869
|
+
.reserve-icon-size {
|
|
69870
|
+
flex-shrink: 0;
|
|
69871
|
+
width: ${iconSize};
|
|
69872
|
+
height: ${iconSize};
|
|
69873
|
+
}
|
|
69874
|
+
|
|
69875
|
+
.text {
|
|
69876
|
+
flex-shrink: 1;
|
|
69877
|
+
font: ${bodyFont};
|
|
69878
|
+
color: ${bodyFontColor};
|
|
69879
|
+
white-space: nowrap;
|
|
69880
|
+
overflow: hidden;
|
|
69881
|
+
text-overflow: ellipsis;
|
|
69882
|
+
}
|
|
69883
|
+
`;
|
|
69884
|
+
|
|
69885
|
+
// prettier-ignore
|
|
69826
69886
|
const template$6 = html `
|
|
69827
|
-
${when(x => x.
|
|
69828
|
-
|
|
69829
|
-
|
|
69830
|
-
|
|
69831
|
-
|
|
69832
|
-
|
|
69833
|
-
|
|
69887
|
+
${when(x => x.visualizationTemplate, html `
|
|
69888
|
+
<span class="reserve-icon-size">
|
|
69889
|
+
${x => x.visualizationTemplate}
|
|
69890
|
+
</span>
|
|
69891
|
+
`)}
|
|
69892
|
+
${when(x => !x.textHidden, html `
|
|
69893
|
+
<span
|
|
69894
|
+
${overflow('hasOverflow')}
|
|
69895
|
+
title=${x => (x.hasOverflow && x.text ? x.text : null)}
|
|
69896
|
+
class="text"
|
|
69897
|
+
>
|
|
69898
|
+
${x => x.text}
|
|
69899
|
+
</span>
|
|
69834
69900
|
`)}
|
|
69835
69901
|
`;
|
|
69836
69902
|
|
|
@@ -69838,6 +69904,12 @@ img.ProseMirror-separator {
|
|
|
69838
69904
|
* The cell view for the icon column
|
|
69839
69905
|
*/
|
|
69840
69906
|
class TableColumnIconCellView extends TableCellView {
|
|
69907
|
+
constructor() {
|
|
69908
|
+
super(...arguments);
|
|
69909
|
+
this.textHidden = false;
|
|
69910
|
+
/** @internal */
|
|
69911
|
+
this.hasOverflow = false;
|
|
69912
|
+
}
|
|
69841
69913
|
columnConfigChanged() {
|
|
69842
69914
|
this.updateState();
|
|
69843
69915
|
}
|
|
@@ -69845,7 +69917,7 @@ img.ProseMirror-separator {
|
|
|
69845
69917
|
this.updateState();
|
|
69846
69918
|
}
|
|
69847
69919
|
updateState() {
|
|
69848
|
-
this.
|
|
69920
|
+
this.resetState();
|
|
69849
69921
|
if (!this.columnConfig || !this.cellRecord) {
|
|
69850
69922
|
return;
|
|
69851
69923
|
}
|
|
@@ -69855,15 +69927,26 @@ img.ProseMirror-separator {
|
|
|
69855
69927
|
}
|
|
69856
69928
|
const mappingConfig = this.columnConfig.mappingConfigs.get(value);
|
|
69857
69929
|
if (mappingConfig instanceof MappingIconConfig) {
|
|
69858
|
-
this.visual = 'icon';
|
|
69859
69930
|
this.severity = mappingConfig.severity;
|
|
69860
69931
|
this.text = mappingConfig.text;
|
|
69861
|
-
this.
|
|
69932
|
+
this.visualizationTemplate = mappingConfig.iconTemplate;
|
|
69933
|
+
this.textHidden = mappingConfig.textHidden;
|
|
69862
69934
|
}
|
|
69863
69935
|
else if (mappingConfig instanceof MappingSpinnerConfig) {
|
|
69864
|
-
this.visual = 'spinner';
|
|
69865
69936
|
this.text = mappingConfig.text;
|
|
69937
|
+
this.visualizationTemplate = mappingConfig.spinnerTemplate;
|
|
69938
|
+
this.textHidden = mappingConfig.textHidden;
|
|
69866
69939
|
}
|
|
69940
|
+
else if (mappingConfig instanceof MappingTextConfig) {
|
|
69941
|
+
this.text = mappingConfig.text;
|
|
69942
|
+
this.textHidden = false;
|
|
69943
|
+
}
|
|
69944
|
+
}
|
|
69945
|
+
resetState() {
|
|
69946
|
+
this.text = undefined;
|
|
69947
|
+
this.textHidden = false;
|
|
69948
|
+
this.visualizationTemplate = undefined;
|
|
69949
|
+
this.severity = IconSeverity.default;
|
|
69867
69950
|
}
|
|
69868
69951
|
}
|
|
69869
69952
|
__decorate$1([
|
|
@@ -69874,13 +69957,17 @@ img.ProseMirror-separator {
|
|
|
69874
69957
|
], TableColumnIconCellView.prototype, "text", void 0);
|
|
69875
69958
|
__decorate$1([
|
|
69876
69959
|
observable
|
|
69877
|
-
], TableColumnIconCellView.prototype, "
|
|
69960
|
+
], TableColumnIconCellView.prototype, "visualizationTemplate", void 0);
|
|
69961
|
+
__decorate$1([
|
|
69962
|
+
observable
|
|
69963
|
+
], TableColumnIconCellView.prototype, "textHidden", void 0);
|
|
69878
69964
|
__decorate$1([
|
|
69879
69965
|
observable
|
|
69880
|
-
], TableColumnIconCellView.prototype, "
|
|
69966
|
+
], TableColumnIconCellView.prototype, "hasOverflow", void 0);
|
|
69881
69967
|
const iconCellView = TableColumnIconCellView.compose({
|
|
69882
69968
|
baseName: 'table-column-icon-cell-view',
|
|
69883
|
-
template: template$6
|
|
69969
|
+
template: template$6,
|
|
69970
|
+
styles: styles$8
|
|
69884
69971
|
});
|
|
69885
69972
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconCellView());
|
|
69886
69973
|
const tableColumnIconCellViewTag = 'nimble-table-column-icon-cell-view';
|
|
@@ -69906,10 +69993,13 @@ img.ProseMirror-separator {
|
|
|
69906
69993
|
}
|
|
69907
69994
|
createMappingConfig(mapping) {
|
|
69908
69995
|
if (mapping instanceof MappingIcon) {
|
|
69909
|
-
return new MappingIconConfig(mapping.resolvedIcon, mapping.severity, mapping.text);
|
|
69996
|
+
return new MappingIconConfig(mapping.resolvedIcon, mapping.severity, mapping.text, mapping.textHidden);
|
|
69910
69997
|
}
|
|
69911
69998
|
if (mapping instanceof MappingSpinner) {
|
|
69912
|
-
return new MappingSpinnerConfig(mapping.text);
|
|
69999
|
+
return new MappingSpinnerConfig(mapping.text, mapping.textHidden);
|
|
70000
|
+
}
|
|
70001
|
+
if (mapping instanceof MappingText) {
|
|
70002
|
+
return new MappingTextConfig(mapping.text);
|
|
69913
70003
|
}
|
|
69914
70004
|
// Getting here would indicate a programming error, b/c validation will prevent
|
|
69915
70005
|
// this function from running when there is an unsupported mapping.
|
|
@@ -69919,7 +70009,7 @@ img.ProseMirror-separator {
|
|
|
69919
70009
|
const nimbleTableColumnIcon = TableColumnIcon.compose({
|
|
69920
70010
|
baseName: 'table-column-icon',
|
|
69921
70011
|
template: template$9,
|
|
69922
|
-
styles: styles$
|
|
70012
|
+
styles: styles$a
|
|
69923
70013
|
});
|
|
69924
70014
|
DesignSystem.getOrCreate()
|
|
69925
70015
|
.withPrefix('nimble')
|
|
@@ -69938,7 +70028,7 @@ img.ProseMirror-separator {
|
|
|
69938
70028
|
const textCellView = TableColumnTextCellView.compose({
|
|
69939
70029
|
baseName: 'table-column-text-cell-view',
|
|
69940
70030
|
template: template$a,
|
|
69941
|
-
styles: styles$
|
|
70031
|
+
styles: styles$b
|
|
69942
70032
|
});
|
|
69943
70033
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
|
|
69944
70034
|
const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
|
|
@@ -69966,7 +70056,7 @@ img.ProseMirror-separator {
|
|
|
69966
70056
|
const nimbleTableColumnText = TableColumnText.compose({
|
|
69967
70057
|
baseName: 'table-column-text',
|
|
69968
70058
|
template: template$d,
|
|
69969
|
-
styles: styles$
|
|
70059
|
+
styles: styles$e
|
|
69970
70060
|
});
|
|
69971
70061
|
DesignSystem.getOrCreate()
|
|
69972
70062
|
.withPrefix('nimble')
|
|
@@ -70065,7 +70155,7 @@ img.ProseMirror-separator {
|
|
|
70065
70155
|
|
|
70066
70156
|
const styles$5 = css `
|
|
70067
70157
|
${display('inline-flex')}
|
|
70068
|
-
${styles$
|
|
70158
|
+
${styles$F}
|
|
70069
70159
|
|
|
70070
70160
|
:host {
|
|
70071
70161
|
font: ${bodyFont};
|
|
@@ -70411,7 +70501,7 @@ img.ProseMirror-separator {
|
|
|
70411
70501
|
|
|
70412
70502
|
const styles$4 = css `
|
|
70413
70503
|
${display('inline-block')}
|
|
70414
|
-
${styles$
|
|
70504
|
+
${styles$F}
|
|
70415
70505
|
|
|
70416
70506
|
:host {
|
|
70417
70507
|
font: ${bodyFont};
|