@ni/spright-components 4.4.1 → 4.5.1
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 +397 -285
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +63 -8
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/all-components.d.ts +2 -0
- package/dist/esm/all-components.js +2 -0
- package/dist/esm/all-components.js.map +1 -1
- package/dist/esm/chat/conversation/index.d.ts +12 -0
- package/dist/esm/chat/conversation/index.js +18 -0
- package/dist/esm/chat/conversation/index.js.map +1 -0
- package/dist/esm/chat/conversation/styles.d.ts +1 -0
- package/dist/esm/chat/conversation/styles.js +16 -0
- package/dist/esm/chat/conversation/styles.js.map +1 -0
- package/dist/esm/chat/conversation/template.d.ts +2 -0
- package/dist/esm/chat/conversation/template.js +6 -0
- package/dist/esm/chat/conversation/template.js.map +1 -0
- package/dist/esm/chat/message/index.d.ts +20 -0
- package/dist/esm/chat/message/index.js +32 -0
- package/dist/esm/chat/message/index.js.map +1 -0
- package/dist/esm/chat/message/styles.d.ts +1 -0
- package/dist/esm/chat/message/styles.js +44 -0
- package/dist/esm/chat/message/styles.js.map +1 -0
- package/dist/esm/chat/message/template.d.ts +2 -0
- package/dist/esm/chat/message/template.js +6 -0
- package/dist/esm/chat/message/template.js.map +1 -0
- package/dist/esm/chat/message/types.d.ts +10 -0
- package/dist/esm/chat/message/types.js +10 -0
- package/dist/esm/chat/message/types.js.map +1 -0
- package/package.json +2 -2
|
@@ -16150,9 +16150,9 @@
|
|
|
16150
16150
|
return `${prefix}${uniqueIdCounter++}`;
|
|
16151
16151
|
}
|
|
16152
16152
|
|
|
16153
|
-
const template$
|
|
16153
|
+
const template$R = html `<slot></slot>`;
|
|
16154
16154
|
|
|
16155
|
-
const styles$
|
|
16155
|
+
const styles$14 = css `
|
|
16156
16156
|
${display$1('contents')}
|
|
16157
16157
|
`;
|
|
16158
16158
|
|
|
@@ -16267,8 +16267,8 @@
|
|
|
16267
16267
|
], ThemeProvider.prototype, "theme", void 0);
|
|
16268
16268
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
16269
16269
|
baseName: 'theme-provider',
|
|
16270
|
-
styles: styles$
|
|
16271
|
-
template: template$
|
|
16270
|
+
styles: styles$14,
|
|
16271
|
+
template: template$R
|
|
16272
16272
|
});
|
|
16273
16273
|
DesignSystem.getOrCreate()
|
|
16274
16274
|
.withPrefix('nimble')
|
|
@@ -16492,7 +16492,7 @@
|
|
|
16492
16492
|
}
|
|
16493
16493
|
}
|
|
16494
16494
|
|
|
16495
|
-
const styles$
|
|
16495
|
+
const styles$13 = css `
|
|
16496
16496
|
@layer base, hover, focusVisible, active, disabled;
|
|
16497
16497
|
|
|
16498
16498
|
@layer base {
|
|
@@ -16571,7 +16571,7 @@
|
|
|
16571
16571
|
`;
|
|
16572
16572
|
|
|
16573
16573
|
// prettier-ignore
|
|
16574
|
-
const template$
|
|
16574
|
+
const template$Q = (_context, definition) => html `${
|
|
16575
16575
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16576
16576
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
16577
16577
|
*/ ''}<div
|
|
@@ -16674,8 +16674,8 @@
|
|
|
16674
16674
|
const nimbleAnchor = Anchor.compose({
|
|
16675
16675
|
baseName: 'anchor',
|
|
16676
16676
|
baseClass: Anchor$1,
|
|
16677
|
-
template: template$
|
|
16678
|
-
styles: styles$
|
|
16677
|
+
template: template$Q,
|
|
16678
|
+
styles: styles$13,
|
|
16679
16679
|
shadowOptions: {
|
|
16680
16680
|
delegatesFocus: true
|
|
16681
16681
|
}
|
|
@@ -16784,7 +16784,7 @@
|
|
|
16784
16784
|
padding: 0;
|
|
16785
16785
|
`;
|
|
16786
16786
|
|
|
16787
|
-
const styles$
|
|
16787
|
+
const styles$12 = css `
|
|
16788
16788
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
16789
16789
|
|
|
16790
16790
|
@layer base {
|
|
@@ -17068,8 +17068,8 @@
|
|
|
17068
17068
|
}
|
|
17069
17069
|
`));
|
|
17070
17070
|
|
|
17071
|
-
const styles
|
|
17072
|
-
${styles$
|
|
17071
|
+
const styles$11 = css `
|
|
17072
|
+
${styles$12}
|
|
17073
17073
|
${buttonAppearanceVariantStyles}
|
|
17074
17074
|
|
|
17075
17075
|
.control {
|
|
@@ -17089,7 +17089,7 @@
|
|
|
17089
17089
|
}
|
|
17090
17090
|
`;
|
|
17091
17091
|
|
|
17092
|
-
const template$
|
|
17092
|
+
const template$P = (context, definition) => html `
|
|
17093
17093
|
<a
|
|
17094
17094
|
class="control"
|
|
17095
17095
|
part="control"
|
|
@@ -17171,8 +17171,8 @@
|
|
|
17171
17171
|
], AnchorButton.prototype, "disabled", void 0);
|
|
17172
17172
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17173
17173
|
baseName: 'anchor-button',
|
|
17174
|
-
template: template$
|
|
17175
|
-
styles: styles
|
|
17174
|
+
template: template$P,
|
|
17175
|
+
styles: styles$11,
|
|
17176
17176
|
shadowOptions: {
|
|
17177
17177
|
delegatesFocus: true
|
|
17178
17178
|
}
|
|
@@ -17180,7 +17180,7 @@
|
|
|
17180
17180
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17181
17181
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17182
17182
|
|
|
17183
|
-
const styles$
|
|
17183
|
+
const styles$10 = css `
|
|
17184
17184
|
${display$1('grid')}
|
|
17185
17185
|
|
|
17186
17186
|
:host {
|
|
@@ -17263,7 +17263,7 @@
|
|
|
17263
17263
|
}
|
|
17264
17264
|
`;
|
|
17265
17265
|
|
|
17266
|
-
const template$
|
|
17266
|
+
const template$O = (context, definition) => html `
|
|
17267
17267
|
<template
|
|
17268
17268
|
role="menuitem"
|
|
17269
17269
|
class="${x => (typeof x.startColumnCount === 'number'
|
|
@@ -17364,8 +17364,8 @@
|
|
|
17364
17364
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17365
17365
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17366
17366
|
baseName: 'anchor-menu-item',
|
|
17367
|
-
template: template$
|
|
17368
|
-
styles: styles$
|
|
17367
|
+
template: template$O,
|
|
17368
|
+
styles: styles$10,
|
|
17369
17369
|
shadowOptions: {
|
|
17370
17370
|
delegatesFocus: true
|
|
17371
17371
|
}
|
|
@@ -17375,7 +17375,7 @@
|
|
|
17375
17375
|
.register(nimbleAnchorMenuItem());
|
|
17376
17376
|
const anchorMenuItemTag = 'nimble-anchor-menu-item';
|
|
17377
17377
|
|
|
17378
|
-
const styles
|
|
17378
|
+
const styles$$ = css `
|
|
17379
17379
|
${display$1('inline-flex')}
|
|
17380
17380
|
|
|
17381
17381
|
:host {
|
|
@@ -17492,7 +17492,7 @@
|
|
|
17492
17492
|
}
|
|
17493
17493
|
`;
|
|
17494
17494
|
|
|
17495
|
-
const template$
|
|
17495
|
+
const template$N = (context, definition) => html `
|
|
17496
17496
|
<template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
|
|
17497
17497
|
<a
|
|
17498
17498
|
download="${x => x.download}"
|
|
@@ -17544,15 +17544,15 @@
|
|
|
17544
17544
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17545
17545
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
17546
17546
|
baseName: 'anchor-tab',
|
|
17547
|
-
template: template$
|
|
17548
|
-
styles: styles
|
|
17547
|
+
template: template$N,
|
|
17548
|
+
styles: styles$$,
|
|
17549
17549
|
shadowOptions: {
|
|
17550
17550
|
delegatesFocus: true
|
|
17551
17551
|
}
|
|
17552
17552
|
});
|
|
17553
17553
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
17554
17554
|
|
|
17555
|
-
const styles$
|
|
17555
|
+
const styles$_ = css `
|
|
17556
17556
|
${display$1('flex')}
|
|
17557
17557
|
|
|
17558
17558
|
:host {
|
|
@@ -17592,12 +17592,12 @@
|
|
|
17592
17592
|
}
|
|
17593
17593
|
`;
|
|
17594
17594
|
|
|
17595
|
-
const styles$
|
|
17596
|
-
${styles$
|
|
17595
|
+
const styles$Z = css `
|
|
17596
|
+
${styles$12}
|
|
17597
17597
|
${buttonAppearanceVariantStyles}
|
|
17598
17598
|
`;
|
|
17599
17599
|
|
|
17600
|
-
const template$
|
|
17600
|
+
const template$M = (context, definition) => html `
|
|
17601
17601
|
<button
|
|
17602
17602
|
class="control"
|
|
17603
17603
|
part="control"
|
|
@@ -17688,8 +17688,8 @@
|
|
|
17688
17688
|
const nimbleButton = Button.compose({
|
|
17689
17689
|
baseName: 'button',
|
|
17690
17690
|
baseClass: Button$1,
|
|
17691
|
-
template: template$
|
|
17692
|
-
styles: styles$
|
|
17691
|
+
template: template$M,
|
|
17692
|
+
styles: styles$Z,
|
|
17693
17693
|
shadowOptions: {
|
|
17694
17694
|
delegatesFocus: true
|
|
17695
17695
|
}
|
|
@@ -18548,7 +18548,7 @@
|
|
|
18548
18548
|
};
|
|
18549
18549
|
|
|
18550
18550
|
// Avoiding any whitespace in the template because this is an inline element
|
|
18551
|
-
const template$
|
|
18551
|
+
const template$L = html `<div
|
|
18552
18552
|
class="icon"
|
|
18553
18553
|
aria-hidden="true"
|
|
18554
18554
|
:innerHTML=${x => x.icon.data}
|
|
@@ -18563,7 +18563,7 @@
|
|
|
18563
18563
|
-webkit-user-select: none;
|
|
18564
18564
|
`;
|
|
18565
18565
|
|
|
18566
|
-
const styles$
|
|
18566
|
+
const styles$Y = css `
|
|
18567
18567
|
${display$1('inline-flex')}
|
|
18568
18568
|
|
|
18569
18569
|
:host {
|
|
@@ -18616,8 +18616,8 @@
|
|
|
18616
18616
|
const registerIcon = (baseName, iconClass) => {
|
|
18617
18617
|
const composedIcon = iconClass.compose({
|
|
18618
18618
|
baseName,
|
|
18619
|
-
template: template$
|
|
18620
|
-
styles: styles$
|
|
18619
|
+
template: template$L,
|
|
18620
|
+
styles: styles$Y
|
|
18621
18621
|
});
|
|
18622
18622
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
18623
18623
|
};
|
|
@@ -18708,7 +18708,7 @@
|
|
|
18708
18708
|
}).withDefault(coreLabelDefaults.scrollForwardLabel);
|
|
18709
18709
|
|
|
18710
18710
|
// prettier-ignore
|
|
18711
|
-
const template$
|
|
18711
|
+
const template$K = (context, definition) => html `
|
|
18712
18712
|
<div
|
|
18713
18713
|
class="tab-bar"
|
|
18714
18714
|
>
|
|
@@ -19007,15 +19007,15 @@
|
|
|
19007
19007
|
applyMixins(AnchorTabs, StartEnd);
|
|
19008
19008
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
19009
19009
|
baseName: 'anchor-tabs',
|
|
19010
|
-
template: template$
|
|
19011
|
-
styles: styles$
|
|
19010
|
+
template: template$K,
|
|
19011
|
+
styles: styles$_,
|
|
19012
19012
|
shadowOptions: {
|
|
19013
19013
|
delegatesFocus: false
|
|
19014
19014
|
}
|
|
19015
19015
|
});
|
|
19016
19016
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
|
|
19017
19017
|
|
|
19018
|
-
const styles$
|
|
19018
|
+
const styles$X = css `
|
|
19019
19019
|
${display$1('block')}
|
|
19020
19020
|
|
|
19021
19021
|
:host {
|
|
@@ -19120,7 +19120,7 @@
|
|
|
19120
19120
|
}
|
|
19121
19121
|
`;
|
|
19122
19122
|
|
|
19123
|
-
const template$
|
|
19123
|
+
const template$J = (context, definition) => html `
|
|
19124
19124
|
<template
|
|
19125
19125
|
role="treeitem"
|
|
19126
19126
|
slot="${x => (x.isNestedItem() ? 'item' : null)}"
|
|
@@ -19257,8 +19257,8 @@
|
|
|
19257
19257
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
19258
19258
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
19259
19259
|
baseName: 'anchor-tree-item',
|
|
19260
|
-
template: template$
|
|
19261
|
-
styles: styles$
|
|
19260
|
+
template: template$J,
|
|
19261
|
+
styles: styles$X,
|
|
19262
19262
|
shadowOptions: {
|
|
19263
19263
|
delegatesFocus: true
|
|
19264
19264
|
}
|
|
@@ -19274,7 +19274,7 @@
|
|
|
19274
19274
|
zIndex1000: '1000'
|
|
19275
19275
|
};
|
|
19276
19276
|
|
|
19277
|
-
const styles$
|
|
19277
|
+
const styles$W = css `
|
|
19278
19278
|
${display$1('block')}
|
|
19279
19279
|
|
|
19280
19280
|
:host {
|
|
@@ -19305,7 +19305,7 @@
|
|
|
19305
19305
|
baseName: 'anchored-region',
|
|
19306
19306
|
baseClass: AnchoredRegion$1,
|
|
19307
19307
|
template: anchoredRegionTemplate,
|
|
19308
|
-
styles: styles$
|
|
19308
|
+
styles: styles$W
|
|
19309
19309
|
});
|
|
19310
19310
|
DesignSystem.getOrCreate()
|
|
19311
19311
|
.withPrefix('nimble')
|
|
@@ -19386,7 +19386,7 @@
|
|
|
19386
19386
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
19387
19387
|
/* eslint-enable max-classes-per-file */
|
|
19388
19388
|
|
|
19389
|
-
const styles$
|
|
19389
|
+
const styles$V = css `
|
|
19390
19390
|
${display$1('flex')}
|
|
19391
19391
|
|
|
19392
19392
|
:host {
|
|
@@ -19565,7 +19565,7 @@
|
|
|
19565
19565
|
};
|
|
19566
19566
|
|
|
19567
19567
|
// prettier-ignore
|
|
19568
|
-
const template$
|
|
19568
|
+
const template$I = html `
|
|
19569
19569
|
<${themeProviderTag} theme="${Theme.color}">
|
|
19570
19570
|
<div class="container"
|
|
19571
19571
|
role="status"
|
|
@@ -19683,12 +19683,12 @@
|
|
|
19683
19683
|
applyMixins(Banner, ARIAGlobalStatesAndProperties);
|
|
19684
19684
|
const nimbleBanner = Banner.compose({
|
|
19685
19685
|
baseName: 'banner',
|
|
19686
|
-
template: template$
|
|
19687
|
-
styles: styles$
|
|
19686
|
+
template: template$I,
|
|
19687
|
+
styles: styles$V
|
|
19688
19688
|
});
|
|
19689
19689
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
19690
19690
|
|
|
19691
|
-
const styles$
|
|
19691
|
+
const styles$U = css `
|
|
19692
19692
|
${display$1('inline-block')}
|
|
19693
19693
|
|
|
19694
19694
|
.list {
|
|
@@ -19718,11 +19718,11 @@
|
|
|
19718
19718
|
baseName: 'breadcrumb',
|
|
19719
19719
|
baseClass: Breadcrumb$1,
|
|
19720
19720
|
template: breadcrumbTemplate,
|
|
19721
|
-
styles: styles$
|
|
19721
|
+
styles: styles$U
|
|
19722
19722
|
});
|
|
19723
19723
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
19724
19724
|
|
|
19725
|
-
const styles$
|
|
19725
|
+
const styles$T = css `
|
|
19726
19726
|
@layer base, hover, focusVisible, active, disabled;
|
|
19727
19727
|
|
|
19728
19728
|
@layer base {
|
|
@@ -19819,14 +19819,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
19819
19819
|
baseName: 'breadcrumb-item',
|
|
19820
19820
|
baseClass: BreadcrumbItem$1,
|
|
19821
19821
|
template: breadcrumbItemTemplate,
|
|
19822
|
-
styles: styles$
|
|
19822
|
+
styles: styles$T,
|
|
19823
19823
|
separator: forwardSlash16X16.data
|
|
19824
19824
|
});
|
|
19825
19825
|
DesignSystem.getOrCreate()
|
|
19826
19826
|
.withPrefix('nimble')
|
|
19827
19827
|
.register(nimbleBreadcrumbItem());
|
|
19828
19828
|
|
|
19829
|
-
const styles$
|
|
19829
|
+
const styles$S = css `
|
|
19830
19830
|
${display$1('flex')}
|
|
19831
19831
|
|
|
19832
19832
|
:host {
|
|
@@ -19850,7 +19850,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
19850
19850
|
}
|
|
19851
19851
|
`;
|
|
19852
19852
|
|
|
19853
|
-
const template$
|
|
19853
|
+
const template$H = html `
|
|
19854
19854
|
<section aria-labelledby="title-slot">
|
|
19855
19855
|
<span id="title-slot"><slot name="title"></slot></span>
|
|
19856
19856
|
<slot></slot>
|
|
@@ -19865,12 +19865,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
19865
19865
|
const nimbleCard = Card.compose({
|
|
19866
19866
|
baseName: 'card',
|
|
19867
19867
|
baseClass: Card$1,
|
|
19868
|
-
template: template$
|
|
19869
|
-
styles: styles$
|
|
19868
|
+
template: template$H,
|
|
19869
|
+
styles: styles$S
|
|
19870
19870
|
});
|
|
19871
19871
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
19872
19872
|
|
|
19873
|
-
const styles$
|
|
19873
|
+
const styles$R = css `
|
|
19874
19874
|
${display$1('inline-flex')}
|
|
19875
19875
|
|
|
19876
19876
|
:host {
|
|
@@ -20028,14 +20028,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20028
20028
|
const nimbleCardButton = CardButton.compose({
|
|
20029
20029
|
baseName: 'card-button',
|
|
20030
20030
|
template: buttonTemplate,
|
|
20031
|
-
styles: styles$
|
|
20031
|
+
styles: styles$R,
|
|
20032
20032
|
shadowOptions: {
|
|
20033
20033
|
delegatesFocus: true
|
|
20034
20034
|
}
|
|
20035
20035
|
});
|
|
20036
20036
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
20037
20037
|
|
|
20038
|
-
const styles$
|
|
20038
|
+
const styles$Q = css `
|
|
20039
20039
|
.error-icon {
|
|
20040
20040
|
display: none;
|
|
20041
20041
|
}
|
|
@@ -20069,9 +20069,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20069
20069
|
}
|
|
20070
20070
|
`;
|
|
20071
20071
|
|
|
20072
|
-
const styles$
|
|
20072
|
+
const styles$P = css `
|
|
20073
20073
|
${display$1('inline-grid')}
|
|
20074
|
-
${styles$
|
|
20074
|
+
${styles$Q}
|
|
20075
20075
|
|
|
20076
20076
|
:host {
|
|
20077
20077
|
font: ${bodyFont};
|
|
@@ -20265,7 +20265,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20265
20265
|
</div>
|
|
20266
20266
|
`;
|
|
20267
20267
|
|
|
20268
|
-
const template$
|
|
20268
|
+
const template$G = (_context, definition) => html `
|
|
20269
20269
|
<template
|
|
20270
20270
|
role="checkbox"
|
|
20271
20271
|
aria-checked="${x => x.checked}"
|
|
@@ -20350,16 +20350,16 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20350
20350
|
const nimbleCheckbox = Checkbox.compose({
|
|
20351
20351
|
baseName: 'checkbox',
|
|
20352
20352
|
baseClass: Checkbox$1,
|
|
20353
|
-
template: template$
|
|
20354
|
-
styles: styles$
|
|
20353
|
+
template: template$G,
|
|
20354
|
+
styles: styles$P,
|
|
20355
20355
|
checkedIndicator: check16X16.data,
|
|
20356
20356
|
indeterminateIndicator: minus16X16.data
|
|
20357
20357
|
});
|
|
20358
20358
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCheckbox());
|
|
20359
20359
|
const checkboxTag = 'nimble-checkbox';
|
|
20360
20360
|
|
|
20361
|
-
const styles$
|
|
20362
|
-
${styles$
|
|
20361
|
+
const styles$O = css `
|
|
20362
|
+
${styles$12}
|
|
20363
20363
|
${buttonAppearanceVariantStyles}
|
|
20364
20364
|
|
|
20365
20365
|
@layer checked {
|
|
@@ -20408,7 +20408,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20408
20408
|
|
|
20409
20409
|
/* eslint-disable @typescript-eslint/indent */
|
|
20410
20410
|
// prettier-ignore
|
|
20411
|
-
const template$
|
|
20411
|
+
const template$F = (context, definition) => html `
|
|
20412
20412
|
<div
|
|
20413
20413
|
role="button"
|
|
20414
20414
|
part="control"
|
|
@@ -20504,8 +20504,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20504
20504
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
20505
20505
|
const nimbleToggleButton = ToggleButton.compose({
|
|
20506
20506
|
baseName: 'toggle-button',
|
|
20507
|
-
template: template$
|
|
20508
|
-
styles: styles$
|
|
20507
|
+
template: template$F,
|
|
20508
|
+
styles: styles$O,
|
|
20509
20509
|
shadowOptions: {
|
|
20510
20510
|
delegatesFocus: true
|
|
20511
20511
|
}
|
|
@@ -20535,7 +20535,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20535
20535
|
};
|
|
20536
20536
|
|
|
20537
20537
|
// prettier-ignore
|
|
20538
|
-
const styles$
|
|
20538
|
+
const styles$N = css `
|
|
20539
20539
|
${display$1('inline-flex')}
|
|
20540
20540
|
|
|
20541
20541
|
:host {
|
|
@@ -20804,7 +20804,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20804
20804
|
}
|
|
20805
20805
|
`));
|
|
20806
20806
|
|
|
20807
|
-
const styles$
|
|
20807
|
+
const styles$M = css `
|
|
20808
20808
|
.annotated-label {
|
|
20809
20809
|
display: flex;
|
|
20810
20810
|
flex-direction: row;
|
|
@@ -20831,10 +20831,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20831
20831
|
none: undefined,
|
|
20832
20832
|
standard: 'standard'};
|
|
20833
20833
|
|
|
20834
|
-
const styles$
|
|
20835
|
-
${styles$
|
|
20836
|
-
${styles$
|
|
20837
|
-
${styles$
|
|
20834
|
+
const styles$L = css `
|
|
20835
|
+
${styles$N}
|
|
20836
|
+
${styles$Q}
|
|
20837
|
+
${styles$M}
|
|
20838
20838
|
|
|
20839
20839
|
:host {
|
|
20840
20840
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -20948,7 +20948,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20948
20948
|
`);
|
|
20949
20949
|
/* eslint-disable @typescript-eslint/indent */
|
|
20950
20950
|
// prettier-ignore
|
|
20951
|
-
const template$
|
|
20951
|
+
const template$E = (context, definition) => html `
|
|
20952
20952
|
<template
|
|
20953
20953
|
aria-disabled="${x => x.ariaDisabled}"
|
|
20954
20954
|
autocomplete="${x => x.autocomplete}"
|
|
@@ -21715,8 +21715,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21715
21715
|
const nimbleCombobox = Combobox.compose({
|
|
21716
21716
|
baseName: 'combobox',
|
|
21717
21717
|
baseClass: FormAssociatedCombobox,
|
|
21718
|
-
template: template$
|
|
21719
|
-
styles: styles$
|
|
21718
|
+
template: template$E,
|
|
21719
|
+
styles: styles$L,
|
|
21720
21720
|
shadowOptions: {
|
|
21721
21721
|
delegatesFocus: true
|
|
21722
21722
|
},
|
|
@@ -21760,7 +21760,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21760
21760
|
*/
|
|
21761
21761
|
const UserDismissed = Symbol('user dismissed');
|
|
21762
21762
|
|
|
21763
|
-
const styles$
|
|
21763
|
+
const styles$K = css `
|
|
21764
21764
|
${display$1('grid')}
|
|
21765
21765
|
|
|
21766
21766
|
dialog {
|
|
@@ -21853,7 +21853,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21853
21853
|
}
|
|
21854
21854
|
`;
|
|
21855
21855
|
|
|
21856
|
-
const template$
|
|
21856
|
+
const template$D = html `
|
|
21857
21857
|
<template>
|
|
21858
21858
|
<dialog
|
|
21859
21859
|
${ref('dialogElement')}
|
|
@@ -22001,13 +22001,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22001
22001
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
22002
22002
|
const nimbleDialog = Dialog.compose({
|
|
22003
22003
|
baseName: 'dialog',
|
|
22004
|
-
template: template$
|
|
22005
|
-
styles: styles$
|
|
22004
|
+
template: template$D,
|
|
22005
|
+
styles: styles$K,
|
|
22006
22006
|
baseClass: Dialog
|
|
22007
22007
|
});
|
|
22008
22008
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
22009
22009
|
|
|
22010
|
-
const styles$
|
|
22010
|
+
const styles$J = css `
|
|
22011
22011
|
${display$1('block')}
|
|
22012
22012
|
|
|
22013
22013
|
:host {
|
|
@@ -22150,7 +22150,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22150
22150
|
}
|
|
22151
22151
|
`;
|
|
22152
22152
|
|
|
22153
|
-
const template$
|
|
22153
|
+
const template$C = html `
|
|
22154
22154
|
<dialog
|
|
22155
22155
|
${ref('dialog')}
|
|
22156
22156
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -22292,8 +22292,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22292
22292
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
22293
22293
|
const nimbleDrawer = Drawer.compose({
|
|
22294
22294
|
baseName: 'drawer',
|
|
22295
|
-
template: template$
|
|
22296
|
-
styles: styles$
|
|
22295
|
+
template: template$C,
|
|
22296
|
+
styles: styles$J
|
|
22297
22297
|
});
|
|
22298
22298
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
22299
22299
|
|
|
@@ -24810,7 +24810,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
24810
24810
|
}
|
|
24811
24811
|
}
|
|
24812
24812
|
|
|
24813
|
-
const styles$
|
|
24813
|
+
const styles$I = css `
|
|
24814
24814
|
${display$1('none')}
|
|
24815
24815
|
`;
|
|
24816
24816
|
|
|
@@ -24871,7 +24871,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
24871
24871
|
], LabelProviderCore.prototype, "scrollForward", void 0);
|
|
24872
24872
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
24873
24873
|
baseName: 'label-provider-core',
|
|
24874
|
-
styles: styles$
|
|
24874
|
+
styles: styles$I
|
|
24875
24875
|
});
|
|
24876
24876
|
DesignSystem.getOrCreate()
|
|
24877
24877
|
.withPrefix('nimble')
|
|
@@ -25038,13 +25038,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25038
25038
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
25039
25039
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
25040
25040
|
baseName: 'label-provider-table',
|
|
25041
|
-
styles: styles$
|
|
25041
|
+
styles: styles$I
|
|
25042
25042
|
});
|
|
25043
25043
|
DesignSystem.getOrCreate()
|
|
25044
25044
|
.withPrefix('nimble')
|
|
25045
25045
|
.register(nimbleLabelProviderTable());
|
|
25046
25046
|
|
|
25047
|
-
const styles$
|
|
25047
|
+
const styles$H = css `
|
|
25048
25048
|
${display$1('flex')}
|
|
25049
25049
|
|
|
25050
25050
|
:host {
|
|
@@ -25121,7 +25121,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25121
25121
|
* @public
|
|
25122
25122
|
*/
|
|
25123
25123
|
// prettier-ignore
|
|
25124
|
-
const template$
|
|
25124
|
+
const template$B = (context, definition) => html `
|
|
25125
25125
|
<template
|
|
25126
25126
|
aria-checked="${x => x.ariaChecked}"
|
|
25127
25127
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -25234,13 +25234,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25234
25234
|
const nimbleListOption = ListOption.compose({
|
|
25235
25235
|
baseName: 'list-option',
|
|
25236
25236
|
baseClass: ListboxOption,
|
|
25237
|
-
template: template$
|
|
25238
|
-
styles: styles$
|
|
25237
|
+
template: template$B,
|
|
25238
|
+
styles: styles$H
|
|
25239
25239
|
});
|
|
25240
25240
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
25241
25241
|
const listOptionTag = 'nimble-list-option';
|
|
25242
25242
|
|
|
25243
|
-
const styles$
|
|
25243
|
+
const styles$G = css `
|
|
25244
25244
|
${display$1('flex')}
|
|
25245
25245
|
|
|
25246
25246
|
:host {
|
|
@@ -25303,7 +25303,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25303
25303
|
return n instanceof ListOption;
|
|
25304
25304
|
};
|
|
25305
25305
|
// prettier-ignore
|
|
25306
|
-
const template$
|
|
25306
|
+
const template$A = html `
|
|
25307
25307
|
<template
|
|
25308
25308
|
role="group"
|
|
25309
25309
|
aria-label="${x => x.labelContent}"
|
|
@@ -25445,8 +25445,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25445
25445
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
25446
25446
|
baseName: 'list-option-group',
|
|
25447
25447
|
baseClass: FoundationElement,
|
|
25448
|
-
template: template$
|
|
25449
|
-
styles: styles$
|
|
25448
|
+
template: template$A,
|
|
25449
|
+
styles: styles$G
|
|
25450
25450
|
});
|
|
25451
25451
|
DesignSystem.getOrCreate()
|
|
25452
25452
|
.withPrefix('nimble')
|
|
@@ -25461,9 +25461,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25461
25461
|
attr()
|
|
25462
25462
|
], Mapping$1.prototype, "key", void 0);
|
|
25463
25463
|
|
|
25464
|
-
const template$
|
|
25464
|
+
const template$z = html `<template slot="mapping"></template>`;
|
|
25465
25465
|
|
|
25466
|
-
const styles$
|
|
25466
|
+
const styles$F = css `
|
|
25467
25467
|
${display$1('none')}
|
|
25468
25468
|
`;
|
|
25469
25469
|
|
|
@@ -25479,8 +25479,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25479
25479
|
], MappingEmpty.prototype, "text", void 0);
|
|
25480
25480
|
const emptyMapping = MappingEmpty.compose({
|
|
25481
25481
|
baseName: 'mapping-empty',
|
|
25482
|
-
template: template$
|
|
25483
|
-
styles: styles$
|
|
25482
|
+
template: template$z,
|
|
25483
|
+
styles: styles$F
|
|
25484
25484
|
});
|
|
25485
25485
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
25486
25486
|
|
|
@@ -25550,8 +25550,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25550
25550
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
25551
25551
|
const iconMapping = MappingIcon.compose({
|
|
25552
25552
|
baseName: 'mapping-icon',
|
|
25553
|
-
template: template$
|
|
25554
|
-
styles: styles$
|
|
25553
|
+
template: template$z,
|
|
25554
|
+
styles: styles$F
|
|
25555
25555
|
});
|
|
25556
25556
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
25557
25557
|
|
|
@@ -25574,8 +25574,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25574
25574
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
25575
25575
|
const spinnerMapping = MappingSpinner.compose({
|
|
25576
25576
|
baseName: 'mapping-spinner',
|
|
25577
|
-
template: template$
|
|
25578
|
-
styles: styles$
|
|
25577
|
+
template: template$z,
|
|
25578
|
+
styles: styles$F
|
|
25579
25579
|
});
|
|
25580
25580
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
25581
25581
|
|
|
@@ -25591,8 +25591,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25591
25591
|
], MappingText.prototype, "text", void 0);
|
|
25592
25592
|
const textMapping = MappingText.compose({
|
|
25593
25593
|
baseName: 'mapping-text',
|
|
25594
|
-
template: template$
|
|
25595
|
-
styles: styles$
|
|
25594
|
+
template: template$z,
|
|
25595
|
+
styles: styles$F
|
|
25596
25596
|
});
|
|
25597
25597
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
25598
25598
|
|
|
@@ -25896,7 +25896,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25896
25896
|
|
|
25897
25897
|
/* eslint-disable @typescript-eslint/indent */
|
|
25898
25898
|
// prettier-ignore
|
|
25899
|
-
const template$
|
|
25899
|
+
const template$y = () => html `
|
|
25900
25900
|
<template
|
|
25901
25901
|
slot="${x => {
|
|
25902
25902
|
if (x.slot) {
|
|
@@ -25914,7 +25914,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25914
25914
|
`;
|
|
25915
25915
|
/* eslint-enable @typescript-eslint/indent */
|
|
25916
25916
|
|
|
25917
|
-
const styles$
|
|
25917
|
+
const styles$E = css `
|
|
25918
25918
|
${display$1('grid')}
|
|
25919
25919
|
|
|
25920
25920
|
:host {
|
|
@@ -25985,8 +25985,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25985
25985
|
const nimbleMenu = Menu.compose({
|
|
25986
25986
|
baseName: 'menu',
|
|
25987
25987
|
baseClass: Menu$1,
|
|
25988
|
-
template: template$
|
|
25989
|
-
styles: styles$
|
|
25988
|
+
template: template$y,
|
|
25989
|
+
styles: styles$E
|
|
25990
25990
|
});
|
|
25991
25991
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
25992
25992
|
|
|
@@ -26001,7 +26001,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26001
26001
|
auto: 'auto'
|
|
26002
26002
|
};
|
|
26003
26003
|
|
|
26004
|
-
const styles$
|
|
26004
|
+
const styles$D = css `
|
|
26005
26005
|
${display$1('inline-block')}
|
|
26006
26006
|
|
|
26007
26007
|
:host {
|
|
@@ -26020,7 +26020,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26020
26020
|
`;
|
|
26021
26021
|
|
|
26022
26022
|
// prettier-ignore
|
|
26023
|
-
const template$
|
|
26023
|
+
const template$x = html `
|
|
26024
26024
|
<template
|
|
26025
26025
|
?open="${x => x.open}"
|
|
26026
26026
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -26270,8 +26270,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26270
26270
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
26271
26271
|
const nimbleMenuButton = MenuButton.compose({
|
|
26272
26272
|
baseName: 'menu-button',
|
|
26273
|
-
template: template$
|
|
26274
|
-
styles: styles$
|
|
26273
|
+
template: template$x,
|
|
26274
|
+
styles: styles$D,
|
|
26275
26275
|
shadowOptions: {
|
|
26276
26276
|
delegatesFocus: true
|
|
26277
26277
|
}
|
|
@@ -26279,7 +26279,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26279
26279
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
26280
26280
|
const menuButtonTag = 'nimble-menu-button';
|
|
26281
26281
|
|
|
26282
|
-
const styles$
|
|
26282
|
+
const styles$C = css `
|
|
26283
26283
|
${display$1('grid')}
|
|
26284
26284
|
|
|
26285
26285
|
:host {
|
|
@@ -26376,7 +26376,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26376
26376
|
baseName: 'menu-item',
|
|
26377
26377
|
baseClass: MenuItem$1,
|
|
26378
26378
|
template: menuItemTemplate,
|
|
26379
|
-
styles: styles$
|
|
26379
|
+
styles: styles$C,
|
|
26380
26380
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
26381
26381
|
});
|
|
26382
26382
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -26390,10 +26390,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26390
26390
|
block: 'block'
|
|
26391
26391
|
};
|
|
26392
26392
|
|
|
26393
|
-
const styles$
|
|
26393
|
+
const styles$B = css `
|
|
26394
26394
|
${display$1('inline-block')}
|
|
26395
|
-
${styles$
|
|
26396
|
-
${styles$
|
|
26395
|
+
${styles$Q}
|
|
26396
|
+
${styles$M}
|
|
26397
26397
|
|
|
26398
26398
|
:host {
|
|
26399
26399
|
font: ${bodyFont};
|
|
@@ -26592,7 +26592,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26592
26592
|
* The template for the {@link @microsoft/fast-foundation#(NumberField:class)} component.
|
|
26593
26593
|
* @public
|
|
26594
26594
|
*/
|
|
26595
|
-
const template$
|
|
26595
|
+
const template$w = (context, definition) => html `
|
|
26596
26596
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
26597
26597
|
${labelTemplate$4}
|
|
26598
26598
|
<div class="root" part="root">
|
|
@@ -26696,8 +26696,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26696
26696
|
const nimbleNumberField = NumberField.compose({
|
|
26697
26697
|
baseName: 'number-field',
|
|
26698
26698
|
baseClass: NumberField$1,
|
|
26699
|
-
template: template$
|
|
26700
|
-
styles: styles$
|
|
26699
|
+
template: template$w,
|
|
26700
|
+
styles: styles$B,
|
|
26701
26701
|
shadowOptions: {
|
|
26702
26702
|
delegatesFocus: true
|
|
26703
26703
|
},
|
|
@@ -26740,7 +26740,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26740
26740
|
});
|
|
26741
26741
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
26742
26742
|
|
|
26743
|
-
const styles$
|
|
26743
|
+
const styles$A = css `
|
|
26744
26744
|
${display$1('inline-flex')}
|
|
26745
26745
|
|
|
26746
26746
|
:host {
|
|
@@ -26840,15 +26840,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26840
26840
|
baseName: 'radio',
|
|
26841
26841
|
baseClass: Radio$1,
|
|
26842
26842
|
template: radioTemplate,
|
|
26843
|
-
styles: styles$
|
|
26843
|
+
styles: styles$A,
|
|
26844
26844
|
checkedIndicator: circleFilled16X16.data
|
|
26845
26845
|
});
|
|
26846
26846
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
26847
26847
|
|
|
26848
|
-
const styles$
|
|
26848
|
+
const styles$z = css `
|
|
26849
26849
|
${display$1('inline-block')}
|
|
26850
|
-
${styles$
|
|
26851
|
-
${styles$
|
|
26850
|
+
${styles$Q}
|
|
26851
|
+
${styles$M}
|
|
26852
26852
|
|
|
26853
26853
|
.positioning-region {
|
|
26854
26854
|
display: flex;
|
|
@@ -26888,7 +26888,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26888
26888
|
|
|
26889
26889
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
26890
26890
|
/* eslint-disable @typescript-eslint/indent */
|
|
26891
|
-
const template$
|
|
26891
|
+
const template$v = html `
|
|
26892
26892
|
<template
|
|
26893
26893
|
role="radiogroup"
|
|
26894
26894
|
aria-disabled="${x => x.disabled}"
|
|
@@ -26928,8 +26928,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26928
26928
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
26929
26929
|
baseName: 'radio-group',
|
|
26930
26930
|
baseClass: RadioGroup$1,
|
|
26931
|
-
template: template$
|
|
26932
|
-
styles: styles$
|
|
26931
|
+
template: template$v,
|
|
26932
|
+
styles: styles$z,
|
|
26933
26933
|
shadowOptions: {
|
|
26934
26934
|
delegatesFocus: true
|
|
26935
26935
|
}
|
|
@@ -45313,7 +45313,7 @@ img.ProseMirror-separator {
|
|
|
45313
45313
|
},
|
|
45314
45314
|
});
|
|
45315
45315
|
|
|
45316
|
-
const styles$
|
|
45316
|
+
const styles$y = css `
|
|
45317
45317
|
${display$1('inline')}
|
|
45318
45318
|
|
|
45319
45319
|
.positioning-region {
|
|
@@ -45350,7 +45350,7 @@ img.ProseMirror-separator {
|
|
|
45350
45350
|
baseName: 'toolbar',
|
|
45351
45351
|
baseClass: Toolbar$1,
|
|
45352
45352
|
template: toolbarTemplate,
|
|
45353
|
-
styles: styles$
|
|
45353
|
+
styles: styles$y
|
|
45354
45354
|
});
|
|
45355
45355
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
45356
45356
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -45379,8 +45379,8 @@ img.ProseMirror-separator {
|
|
|
45379
45379
|
cssCustomPropertyName: null
|
|
45380
45380
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
45381
45381
|
|
|
45382
|
-
const styles$
|
|
45383
|
-
${styles$
|
|
45382
|
+
const styles$x = css `
|
|
45383
|
+
${styles$N}
|
|
45384
45384
|
|
|
45385
45385
|
:host {
|
|
45386
45386
|
height: auto;
|
|
@@ -45400,7 +45400,7 @@ img.ProseMirror-separator {
|
|
|
45400
45400
|
|
|
45401
45401
|
/* eslint-disable @typescript-eslint/indent */
|
|
45402
45402
|
// prettier-ignore
|
|
45403
|
-
const template$
|
|
45403
|
+
const template$u = html `
|
|
45404
45404
|
<template>
|
|
45405
45405
|
<${anchoredRegionTag}
|
|
45406
45406
|
${ref('region')}
|
|
@@ -45688,8 +45688,8 @@ img.ProseMirror-separator {
|
|
|
45688
45688
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
45689
45689
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
45690
45690
|
baseName: 'rich-text-mention-listbox',
|
|
45691
|
-
template: template$
|
|
45692
|
-
styles: styles$
|
|
45691
|
+
template: template$u,
|
|
45692
|
+
styles: styles$x
|
|
45693
45693
|
});
|
|
45694
45694
|
DesignSystem.getOrCreate()
|
|
45695
45695
|
.withPrefix('nimble')
|
|
@@ -45697,7 +45697,7 @@ img.ProseMirror-separator {
|
|
|
45697
45697
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
45698
45698
|
|
|
45699
45699
|
// prettier-ignore
|
|
45700
|
-
const template$
|
|
45700
|
+
const template$t = html `
|
|
45701
45701
|
<template
|
|
45702
45702
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
45703
45703
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -45799,9 +45799,9 @@ img.ProseMirror-separator {
|
|
|
45799
45799
|
</template>
|
|
45800
45800
|
`;
|
|
45801
45801
|
|
|
45802
|
-
const styles$
|
|
45802
|
+
const styles$w = css `
|
|
45803
45803
|
${display$1('inline-flex')}
|
|
45804
|
-
${styles$
|
|
45804
|
+
${styles$Q}
|
|
45805
45805
|
|
|
45806
45806
|
:host {
|
|
45807
45807
|
font: ${bodyFont};
|
|
@@ -60463,8 +60463,8 @@ img.ProseMirror-separator {
|
|
|
60463
60463
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
60464
60464
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
60465
60465
|
baseName: 'rich-text-editor',
|
|
60466
|
-
template: template$
|
|
60467
|
-
styles: styles$
|
|
60466
|
+
template: template$t,
|
|
60467
|
+
styles: styles$w,
|
|
60468
60468
|
shadowOptions: {
|
|
60469
60469
|
delegatesFocus: true
|
|
60470
60470
|
}
|
|
@@ -60473,13 +60473,13 @@ img.ProseMirror-separator {
|
|
|
60473
60473
|
.withPrefix('nimble')
|
|
60474
60474
|
.register(nimbleRichTextEditor());
|
|
60475
60475
|
|
|
60476
|
-
const template$
|
|
60476
|
+
const template$s = html `
|
|
60477
60477
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
60478
60478
|
<div ${ref('viewer')} class="viewer"></div>
|
|
60479
60479
|
</template>
|
|
60480
60480
|
`;
|
|
60481
60481
|
|
|
60482
|
-
const styles$
|
|
60482
|
+
const styles$v = css `
|
|
60483
60483
|
${display$1('flex')}
|
|
60484
60484
|
|
|
60485
60485
|
:host {
|
|
@@ -60544,6 +60544,8 @@ img.ProseMirror-separator {
|
|
|
60544
60544
|
*
|
|
60545
60545
|
* @public
|
|
60546
60546
|
* Markdown string to render its corresponding rich text content in the component.
|
|
60547
|
+
* @remarks
|
|
60548
|
+
* HTML Attribute: markdown
|
|
60547
60549
|
*/
|
|
60548
60550
|
this.markdown = '';
|
|
60549
60551
|
this.mentionedHrefs = [];
|
|
@@ -60586,21 +60588,21 @@ img.ProseMirror-separator {
|
|
|
60586
60588
|
}
|
|
60587
60589
|
}
|
|
60588
60590
|
__decorate$1([
|
|
60589
|
-
|
|
60591
|
+
attr({ mode: 'fromView' })
|
|
60590
60592
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
60591
60593
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
60592
60594
|
baseName: 'rich-text-viewer',
|
|
60593
|
-
template: template$
|
|
60594
|
-
styles: styles$
|
|
60595
|
+
template: template$s,
|
|
60596
|
+
styles: styles$v
|
|
60595
60597
|
});
|
|
60596
60598
|
DesignSystem.getOrCreate()
|
|
60597
60599
|
.withPrefix('nimble')
|
|
60598
60600
|
.register(nimbleRichTextViewer());
|
|
60599
60601
|
|
|
60600
|
-
const styles$
|
|
60601
|
-
${styles$
|
|
60602
|
-
${styles$
|
|
60603
|
-
${styles$
|
|
60602
|
+
const styles$u = css `
|
|
60603
|
+
${styles$N}
|
|
60604
|
+
${styles$Q}
|
|
60605
|
+
${styles$M}
|
|
60604
60606
|
|
|
60605
60607
|
${
|
|
60606
60608
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -60755,7 +60757,7 @@ img.ProseMirror-separator {
|
|
|
60755
60757
|
}
|
|
60756
60758
|
`));
|
|
60757
60759
|
|
|
60758
|
-
const styles$
|
|
60760
|
+
const styles$t = css `
|
|
60759
60761
|
${display$1('inline-grid')}
|
|
60760
60762
|
|
|
60761
60763
|
:host {
|
|
@@ -60927,7 +60929,7 @@ img.ProseMirror-separator {
|
|
|
60927
60929
|
|
|
60928
60930
|
/* eslint-disable @typescript-eslint/indent */
|
|
60929
60931
|
// prettier-ignore
|
|
60930
|
-
const template$
|
|
60932
|
+
const template$r = html `
|
|
60931
60933
|
<template role="progressbar">
|
|
60932
60934
|
${''
|
|
60933
60935
|
/**
|
|
@@ -60975,8 +60977,8 @@ img.ProseMirror-separator {
|
|
|
60975
60977
|
], Spinner.prototype, "appearance", void 0);
|
|
60976
60978
|
const nimbleSpinner = Spinner.compose({
|
|
60977
60979
|
baseName: 'spinner',
|
|
60978
|
-
template: template$
|
|
60979
|
-
styles: styles$
|
|
60980
|
+
template: template$r,
|
|
60981
|
+
styles: styles$t
|
|
60980
60982
|
});
|
|
60981
60983
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
60982
60984
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -60994,7 +60996,7 @@ img.ProseMirror-separator {
|
|
|
60994
60996
|
`);
|
|
60995
60997
|
/* eslint-disable @typescript-eslint/indent */
|
|
60996
60998
|
// prettier-ignore
|
|
60997
|
-
const template$
|
|
60999
|
+
const template$q = (context, definition) => html `
|
|
60998
61000
|
<template
|
|
60999
61001
|
class="${x => [
|
|
61000
61002
|
x.collapsible && 'collapsible',
|
|
@@ -62203,8 +62205,8 @@ img.ProseMirror-separator {
|
|
|
62203
62205
|
const nimbleSelect = Select.compose({
|
|
62204
62206
|
baseName: 'select',
|
|
62205
62207
|
baseClass: Select$2,
|
|
62206
|
-
template: template$
|
|
62207
|
-
styles: styles$
|
|
62208
|
+
template: template$q,
|
|
62209
|
+
styles: styles$u,
|
|
62208
62210
|
indicator: arrowExpanderDown16X16.data,
|
|
62209
62211
|
end: html `
|
|
62210
62212
|
<${iconExclamationMarkTag}
|
|
@@ -62217,7 +62219,7 @@ img.ProseMirror-separator {
|
|
|
62217
62219
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
62218
62220
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
62219
62221
|
|
|
62220
|
-
const styles$
|
|
62222
|
+
const styles$s = css `
|
|
62221
62223
|
${display$1('inline-flex')}
|
|
62222
62224
|
|
|
62223
62225
|
:host {
|
|
@@ -62380,7 +62382,7 @@ img.ProseMirror-separator {
|
|
|
62380
62382
|
`));
|
|
62381
62383
|
|
|
62382
62384
|
// prettier-ignore
|
|
62383
|
-
const template$
|
|
62385
|
+
const template$p = html `
|
|
62384
62386
|
<template
|
|
62385
62387
|
role="switch"
|
|
62386
62388
|
aria-checked="${x => x.checked}"
|
|
@@ -62424,12 +62426,12 @@ img.ProseMirror-separator {
|
|
|
62424
62426
|
const nimbleSwitch = Switch.compose({
|
|
62425
62427
|
baseClass: Switch$1,
|
|
62426
62428
|
baseName: 'switch',
|
|
62427
|
-
template: template$
|
|
62428
|
-
styles: styles$
|
|
62429
|
+
template: template$p,
|
|
62430
|
+
styles: styles$s
|
|
62429
62431
|
});
|
|
62430
62432
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
62431
62433
|
|
|
62432
|
-
const styles$
|
|
62434
|
+
const styles$r = css `
|
|
62433
62435
|
${display$1('inline-flex')}
|
|
62434
62436
|
|
|
62435
62437
|
:host {
|
|
@@ -62540,11 +62542,11 @@ img.ProseMirror-separator {
|
|
|
62540
62542
|
baseName: 'tab',
|
|
62541
62543
|
baseClass: Tab$1,
|
|
62542
62544
|
template: tabTemplate,
|
|
62543
|
-
styles: styles$
|
|
62545
|
+
styles: styles$r
|
|
62544
62546
|
});
|
|
62545
62547
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
62546
62548
|
|
|
62547
|
-
const styles$
|
|
62549
|
+
const styles$q = css `
|
|
62548
62550
|
${display$1('block')}
|
|
62549
62551
|
|
|
62550
62552
|
:host {
|
|
@@ -62563,7 +62565,7 @@ img.ProseMirror-separator {
|
|
|
62563
62565
|
baseName: 'tab-panel',
|
|
62564
62566
|
baseClass: TabPanel$1,
|
|
62565
62567
|
template: tabPanelTemplate,
|
|
62566
|
-
styles: styles$
|
|
62568
|
+
styles: styles$q
|
|
62567
62569
|
});
|
|
62568
62570
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
62569
62571
|
|
|
@@ -66286,7 +66288,7 @@ img.ProseMirror-separator {
|
|
|
66286
66288
|
}
|
|
66287
66289
|
}
|
|
66288
66290
|
|
|
66289
|
-
const styles$
|
|
66291
|
+
const styles$p = css `
|
|
66290
66292
|
${display$1('flex')}
|
|
66291
66293
|
|
|
66292
66294
|
:host {
|
|
@@ -66506,7 +66508,7 @@ focus outline in that case.
|
|
|
66506
66508
|
}
|
|
66507
66509
|
`));
|
|
66508
66510
|
|
|
66509
|
-
const styles$
|
|
66511
|
+
const styles$o = css `
|
|
66510
66512
|
${display$1('flex')}
|
|
66511
66513
|
|
|
66512
66514
|
:host {
|
|
@@ -66540,7 +66542,7 @@ focus outline in that case.
|
|
|
66540
66542
|
`;
|
|
66541
66543
|
|
|
66542
66544
|
// prettier-ignore
|
|
66543
|
-
const template$
|
|
66545
|
+
const template$o = html `
|
|
66544
66546
|
<template role="columnheader"
|
|
66545
66547
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
66546
66548
|
aria-sort="${x => x.ariaSort}"
|
|
@@ -66626,13 +66628,13 @@ focus outline in that case.
|
|
|
66626
66628
|
], TableHeader.prototype, "isGrouped", void 0);
|
|
66627
66629
|
const nimbleTableHeader = TableHeader.compose({
|
|
66628
66630
|
baseName: 'table-header',
|
|
66629
|
-
template: template$
|
|
66630
|
-
styles: styles$
|
|
66631
|
+
template: template$o,
|
|
66632
|
+
styles: styles$o
|
|
66631
66633
|
});
|
|
66632
66634
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
66633
66635
|
const tableHeaderTag = 'nimble-table-header';
|
|
66634
66636
|
|
|
66635
|
-
const styles$
|
|
66637
|
+
const styles$n = css `
|
|
66636
66638
|
:host .animating {
|
|
66637
66639
|
transition: ${mediumDelay} ease-in;
|
|
66638
66640
|
}
|
|
@@ -66657,9 +66659,9 @@ focus outline in that case.
|
|
|
66657
66659
|
}
|
|
66658
66660
|
`;
|
|
66659
66661
|
|
|
66660
|
-
const styles$
|
|
66662
|
+
const styles$m = css `
|
|
66661
66663
|
${display$1('flex')}
|
|
66662
|
-
${styles$
|
|
66664
|
+
${styles$n}
|
|
66663
66665
|
|
|
66664
66666
|
:host {
|
|
66665
66667
|
width: fit-content;
|
|
@@ -66829,7 +66831,7 @@ focus outline in that case.
|
|
|
66829
66831
|
}
|
|
66830
66832
|
`));
|
|
66831
66833
|
|
|
66832
|
-
const styles$
|
|
66834
|
+
const styles$l = css `
|
|
66833
66835
|
${display$1('flex')}
|
|
66834
66836
|
|
|
66835
66837
|
:host {
|
|
@@ -66875,7 +66877,7 @@ focus outline in that case.
|
|
|
66875
66877
|
`;
|
|
66876
66878
|
|
|
66877
66879
|
// prettier-ignore
|
|
66878
|
-
const template$
|
|
66880
|
+
const template$n = html `
|
|
66879
66881
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
66880
66882
|
@focusin="${x => x.onCellFocusIn()}"
|
|
66881
66883
|
@blur="${x => x.onCellBlur()}"
|
|
@@ -66972,14 +66974,14 @@ focus outline in that case.
|
|
|
66972
66974
|
], TableCell.prototype, "nestingLevel", void 0);
|
|
66973
66975
|
const nimbleTableCell = TableCell.compose({
|
|
66974
66976
|
baseName: 'table-cell',
|
|
66975
|
-
template: template$
|
|
66976
|
-
styles: styles$
|
|
66977
|
+
template: template$n,
|
|
66978
|
+
styles: styles$l
|
|
66977
66979
|
});
|
|
66978
66980
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
66979
66981
|
const tableCellTag = 'nimble-table-cell';
|
|
66980
66982
|
|
|
66981
66983
|
// prettier-ignore
|
|
66982
|
-
const template$
|
|
66984
|
+
const template$m = html `
|
|
66983
66985
|
<template
|
|
66984
66986
|
role="row"
|
|
66985
66987
|
aria-selected=${x => x.ariaSelected}
|
|
@@ -67373,15 +67375,15 @@ focus outline in that case.
|
|
|
67373
67375
|
], TableRow.prototype, "ariaSelected", null);
|
|
67374
67376
|
const nimbleTableRow = TableRow.compose({
|
|
67375
67377
|
baseName: 'table-row',
|
|
67376
|
-
template: template$
|
|
67377
|
-
styles: styles$
|
|
67378
|
+
template: template$m,
|
|
67379
|
+
styles: styles$m
|
|
67378
67380
|
});
|
|
67379
67381
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
67380
67382
|
const tableRowTag = 'nimble-table-row';
|
|
67381
67383
|
|
|
67382
|
-
const styles$
|
|
67384
|
+
const styles$k = css `
|
|
67383
67385
|
${display$1('grid')}
|
|
67384
|
-
${styles$
|
|
67386
|
+
${styles$n}
|
|
67385
67387
|
|
|
67386
67388
|
:host {
|
|
67387
67389
|
align-items: center;
|
|
@@ -67471,7 +67473,7 @@ focus outline in that case.
|
|
|
67471
67473
|
|
|
67472
67474
|
/* eslint-disable @typescript-eslint/indent */
|
|
67473
67475
|
// prettier-ignore
|
|
67474
|
-
const template$
|
|
67476
|
+
const template$l = html `
|
|
67475
67477
|
<template
|
|
67476
67478
|
role="row"
|
|
67477
67479
|
@click=${x => x.onGroupExpandToggle()}
|
|
@@ -67629,14 +67631,14 @@ focus outline in that case.
|
|
|
67629
67631
|
], TableGroupRow.prototype, "allowHover", void 0);
|
|
67630
67632
|
const nimbleTableGroupRow = TableGroupRow.compose({
|
|
67631
67633
|
baseName: 'table-group-row',
|
|
67632
|
-
template: template$
|
|
67633
|
-
styles: styles$
|
|
67634
|
+
template: template$l,
|
|
67635
|
+
styles: styles$k
|
|
67634
67636
|
});
|
|
67635
67637
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
67636
67638
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
67637
67639
|
|
|
67638
67640
|
// prettier-ignore
|
|
67639
|
-
const template$
|
|
67641
|
+
const template$k = html `
|
|
67640
67642
|
<template
|
|
67641
67643
|
role="treegrid"
|
|
67642
67644
|
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
@@ -71724,12 +71726,12 @@ focus outline in that case.
|
|
|
71724
71726
|
], Table$1.prototype, "windowShiftKeyDown", void 0);
|
|
71725
71727
|
const nimbleTable = Table$1.compose({
|
|
71726
71728
|
baseName: 'table',
|
|
71727
|
-
template: template$
|
|
71728
|
-
styles: styles$
|
|
71729
|
+
template: template$k,
|
|
71730
|
+
styles: styles$p
|
|
71729
71731
|
});
|
|
71730
71732
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
71731
71733
|
|
|
71732
|
-
const styles$
|
|
71734
|
+
const styles$j = css `
|
|
71733
71735
|
${display$1('contents')}
|
|
71734
71736
|
|
|
71735
71737
|
.header-content {
|
|
@@ -71742,7 +71744,7 @@ focus outline in that case.
|
|
|
71742
71744
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
71743
71745
|
// so the template can be composed into other column header templates
|
|
71744
71746
|
// prettier-ignore
|
|
71745
|
-
const template$
|
|
71747
|
+
const template$j = html `<span
|
|
71746
71748
|
${overflow('hasOverflow')}
|
|
71747
71749
|
class="header-content"
|
|
71748
71750
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -71817,7 +71819,7 @@ focus outline in that case.
|
|
|
71817
71819
|
return ColumnWithPlaceholder;
|
|
71818
71820
|
}
|
|
71819
71821
|
|
|
71820
|
-
const styles$
|
|
71822
|
+
const styles$i = css `
|
|
71821
71823
|
${display$1('flex')}
|
|
71822
71824
|
|
|
71823
71825
|
:host {
|
|
@@ -71850,7 +71852,7 @@ focus outline in that case.
|
|
|
71850
71852
|
|
|
71851
71853
|
/* eslint-disable @typescript-eslint/indent */
|
|
71852
71854
|
// prettier-ignore
|
|
71853
|
-
const template$
|
|
71855
|
+
const template$i = html `
|
|
71854
71856
|
<template
|
|
71855
71857
|
@click="${(x, c) => {
|
|
71856
71858
|
if (typeof x.cellRecord?.href === 'string') {
|
|
@@ -71943,8 +71945,8 @@ focus outline in that case.
|
|
|
71943
71945
|
], TableColumnAnchorCellView.prototype, "showAnchor", null);
|
|
71944
71946
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
71945
71947
|
baseName: 'table-column-anchor-cell-view',
|
|
71946
|
-
template: template$
|
|
71947
|
-
styles: styles$
|
|
71948
|
+
template: template$i,
|
|
71949
|
+
styles: styles$i
|
|
71948
71950
|
});
|
|
71949
71951
|
DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
|
|
71950
71952
|
const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
|
|
@@ -72021,7 +72023,7 @@ focus outline in that case.
|
|
|
72021
72023
|
observable
|
|
72022
72024
|
], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
|
|
72023
72025
|
|
|
72024
|
-
const template$
|
|
72026
|
+
const template$h = html `
|
|
72025
72027
|
<span
|
|
72026
72028
|
${overflow('hasOverflow')}
|
|
72027
72029
|
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
@@ -72030,7 +72032,7 @@ focus outline in that case.
|
|
|
72030
72032
|
</span>
|
|
72031
72033
|
`;
|
|
72032
72034
|
|
|
72033
|
-
const styles$
|
|
72035
|
+
const styles$h = css `
|
|
72034
72036
|
${display$1('flex')}
|
|
72035
72037
|
|
|
72036
72038
|
span {
|
|
@@ -72054,8 +72056,8 @@ focus outline in that case.
|
|
|
72054
72056
|
}
|
|
72055
72057
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
72056
72058
|
baseName: 'table-column-text-group-header-view',
|
|
72057
|
-
template: template$
|
|
72058
|
-
styles: styles$
|
|
72059
|
+
template: template$h,
|
|
72060
|
+
styles: styles$h
|
|
72059
72061
|
});
|
|
72060
72062
|
DesignSystem.getOrCreate()
|
|
72061
72063
|
.withPrefix('nimble')
|
|
@@ -72307,8 +72309,8 @@ focus outline in that case.
|
|
|
72307
72309
|
], TableColumnAnchor.prototype, "download", void 0);
|
|
72308
72310
|
const nimbleTableColumnAnchor = TableColumnAnchor.compose({
|
|
72309
72311
|
baseName: 'table-column-anchor',
|
|
72310
|
-
template: template$
|
|
72311
|
-
styles: styles$
|
|
72312
|
+
template: template$j,
|
|
72313
|
+
styles: styles$j
|
|
72312
72314
|
});
|
|
72313
72315
|
DesignSystem.getOrCreate()
|
|
72314
72316
|
.withPrefix('nimble')
|
|
@@ -72360,8 +72362,8 @@ focus outline in that case.
|
|
|
72360
72362
|
}
|
|
72361
72363
|
const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
|
|
72362
72364
|
baseName: 'table-column-date-text-group-header-view',
|
|
72363
|
-
template: template$
|
|
72364
|
-
styles: styles$
|
|
72365
|
+
template: template$h,
|
|
72366
|
+
styles: styles$h
|
|
72365
72367
|
});
|
|
72366
72368
|
DesignSystem.getOrCreate()
|
|
72367
72369
|
.withPrefix('nimble')
|
|
@@ -72369,7 +72371,7 @@ focus outline in that case.
|
|
|
72369
72371
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
72370
72372
|
|
|
72371
72373
|
// prettier-ignore
|
|
72372
|
-
const template$
|
|
72374
|
+
const template$g = html `
|
|
72373
72375
|
<template
|
|
72374
72376
|
class="
|
|
72375
72377
|
${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
|
|
@@ -72385,7 +72387,7 @@ focus outline in that case.
|
|
|
72385
72387
|
</template>
|
|
72386
72388
|
`;
|
|
72387
72389
|
|
|
72388
|
-
const styles$
|
|
72390
|
+
const styles$g = css `
|
|
72389
72391
|
${display$1('flex')}
|
|
72390
72392
|
|
|
72391
72393
|
:host {
|
|
@@ -72487,8 +72489,8 @@ focus outline in that case.
|
|
|
72487
72489
|
}
|
|
72488
72490
|
const dateTextCellView = TableColumnDateTextCellView.compose({
|
|
72489
72491
|
baseName: 'table-column-date-text-cell-view',
|
|
72490
|
-
template: template$
|
|
72491
|
-
styles: styles$
|
|
72492
|
+
template: template$g,
|
|
72493
|
+
styles: styles$g
|
|
72492
72494
|
});
|
|
72493
72495
|
DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
|
|
72494
72496
|
const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
|
|
@@ -72746,8 +72748,8 @@ focus outline in that case.
|
|
|
72746
72748
|
], TableColumnDateText.prototype, "customHourCycle", void 0);
|
|
72747
72749
|
const nimbleTableColumnDateText = TableColumnDateText.compose({
|
|
72748
72750
|
baseName: 'table-column-date-text',
|
|
72749
|
-
template: template$
|
|
72750
|
-
styles: styles$
|
|
72751
|
+
template: template$j,
|
|
72752
|
+
styles: styles$j
|
|
72751
72753
|
});
|
|
72752
72754
|
DesignSystem.getOrCreate()
|
|
72753
72755
|
.withPrefix('nimble')
|
|
@@ -72763,8 +72765,8 @@ focus outline in that case.
|
|
|
72763
72765
|
}
|
|
72764
72766
|
const durationTextCellView = TableColumnDurationTextCellView.compose({
|
|
72765
72767
|
baseName: 'table-column-duration-text-cell-view',
|
|
72766
|
-
template: template$
|
|
72767
|
-
styles: styles$
|
|
72768
|
+
template: template$g,
|
|
72769
|
+
styles: styles$g
|
|
72768
72770
|
});
|
|
72769
72771
|
DesignSystem.getOrCreate()
|
|
72770
72772
|
.withPrefix('nimble')
|
|
@@ -72865,8 +72867,8 @@ focus outline in that case.
|
|
|
72865
72867
|
}
|
|
72866
72868
|
const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
|
|
72867
72869
|
baseName: 'table-column-duration-text-group-header-view',
|
|
72868
|
-
template: template$
|
|
72869
|
-
styles: styles$
|
|
72870
|
+
template: template$h,
|
|
72871
|
+
styles: styles$h
|
|
72870
72872
|
});
|
|
72871
72873
|
DesignSystem.getOrCreate()
|
|
72872
72874
|
.withPrefix('nimble')
|
|
@@ -72918,8 +72920,8 @@ focus outline in that case.
|
|
|
72918
72920
|
}
|
|
72919
72921
|
const nimbleTableColumnDurationText = TableColumnDurationText.compose({
|
|
72920
72922
|
baseName: 'table-column-duration-text',
|
|
72921
|
-
template: template$
|
|
72922
|
-
styles: styles$
|
|
72923
|
+
template: template$j,
|
|
72924
|
+
styles: styles$j
|
|
72923
72925
|
});
|
|
72924
72926
|
DesignSystem.getOrCreate()
|
|
72925
72927
|
.withPrefix('nimble')
|
|
@@ -73027,15 +73029,15 @@ focus outline in that case.
|
|
|
73027
73029
|
attr({ attribute: 'key-type' })
|
|
73028
73030
|
], TableColumnEnumBase.prototype, "keyType", void 0);
|
|
73029
73031
|
|
|
73030
|
-
const styles$
|
|
73031
|
-
${styles$
|
|
73032
|
+
const styles$f = css `
|
|
73033
|
+
${styles$j}
|
|
73032
73034
|
|
|
73033
73035
|
slot[name='mapping'] {
|
|
73034
73036
|
display: none;
|
|
73035
73037
|
}
|
|
73036
73038
|
`;
|
|
73037
73039
|
|
|
73038
|
-
const template$
|
|
73040
|
+
const template$f = html `${template$j}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
73039
73041
|
|
|
73040
73042
|
const enumBaseValidityFlagNames = [
|
|
73041
73043
|
'invalidMappingKeyValueForType',
|
|
@@ -73121,7 +73123,7 @@ focus outline in that case.
|
|
|
73121
73123
|
}
|
|
73122
73124
|
}
|
|
73123
73125
|
|
|
73124
|
-
const styles$
|
|
73126
|
+
const styles$e = css `
|
|
73125
73127
|
${display$1('inline-flex')}
|
|
73126
73128
|
|
|
73127
73129
|
:host {
|
|
@@ -73146,7 +73148,7 @@ focus outline in that case.
|
|
|
73146
73148
|
`;
|
|
73147
73149
|
|
|
73148
73150
|
// prettier-ignore
|
|
73149
|
-
const template$
|
|
73151
|
+
const template$e = html `
|
|
73150
73152
|
${when(x => x.visualizationTemplate, html `
|
|
73151
73153
|
<span class="reserve-icon-size">
|
|
73152
73154
|
${x => x.visualizationTemplate}
|
|
@@ -73290,15 +73292,15 @@ focus outline in that case.
|
|
|
73290
73292
|
], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
|
|
73291
73293
|
const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
|
|
73292
73294
|
baseName: 'table-column-mapping-group-header-view',
|
|
73293
|
-
template: template$
|
|
73294
|
-
styles: styles$
|
|
73295
|
+
template: template$e,
|
|
73296
|
+
styles: styles$e
|
|
73295
73297
|
});
|
|
73296
73298
|
DesignSystem.getOrCreate()
|
|
73297
73299
|
.withPrefix('nimble')
|
|
73298
73300
|
.register(mappingGroupHeaderView());
|
|
73299
73301
|
const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
|
|
73300
73302
|
|
|
73301
|
-
const styles$
|
|
73303
|
+
const styles$d = css `
|
|
73302
73304
|
${display$1('inline-flex')}
|
|
73303
73305
|
|
|
73304
73306
|
:host {
|
|
@@ -73323,7 +73325,7 @@ focus outline in that case.
|
|
|
73323
73325
|
`;
|
|
73324
73326
|
|
|
73325
73327
|
// prettier-ignore
|
|
73326
|
-
const template$
|
|
73328
|
+
const template$d = html `
|
|
73327
73329
|
${when(x => x.visualizationTemplate, html `
|
|
73328
73330
|
<span class="reserve-icon-size">
|
|
73329
73331
|
${x => x.visualizationTemplate}
|
|
@@ -73410,8 +73412,8 @@ focus outline in that case.
|
|
|
73410
73412
|
], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
|
|
73411
73413
|
const mappingCellView = TableColumnMappingCellView.compose({
|
|
73412
73414
|
baseName: 'table-column-mapping-cell-view',
|
|
73413
|
-
template: template$
|
|
73414
|
-
styles: styles$
|
|
73415
|
+
template: template$d,
|
|
73416
|
+
styles: styles$d
|
|
73415
73417
|
});
|
|
73416
73418
|
DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
|
|
73417
73419
|
const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
|
|
@@ -73494,16 +73496,16 @@ focus outline in that case.
|
|
|
73494
73496
|
], TableColumnMapping.prototype, "widthMode", void 0);
|
|
73495
73497
|
const nimbleTableColumnMapping = TableColumnMapping.compose({
|
|
73496
73498
|
baseName: 'table-column-mapping',
|
|
73497
|
-
template: template$
|
|
73498
|
-
styles: styles$
|
|
73499
|
+
template: template$f,
|
|
73500
|
+
styles: styles$f
|
|
73499
73501
|
});
|
|
73500
73502
|
DesignSystem.getOrCreate()
|
|
73501
73503
|
.withPrefix('nimble')
|
|
73502
73504
|
.register(nimbleTableColumnMapping());
|
|
73503
73505
|
|
|
73504
|
-
const template$
|
|
73506
|
+
const template$c = html `
|
|
73505
73507
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
73506
|
-
>${template$
|
|
73508
|
+
>${template$j}</template
|
|
73507
73509
|
>
|
|
73508
73510
|
`;
|
|
73509
73511
|
|
|
@@ -73511,7 +73513,7 @@ focus outline in that case.
|
|
|
73511
73513
|
const cellViewMenuSlotName = 'menu-button-menu';
|
|
73512
73514
|
|
|
73513
73515
|
// prettier-ignore
|
|
73514
|
-
const template$
|
|
73516
|
+
const template$b = html `
|
|
73515
73517
|
${when(x => x.showMenuButton, html `
|
|
73516
73518
|
<${menuButtonTag}
|
|
73517
73519
|
${ref('menuButton')}
|
|
@@ -73530,7 +73532,7 @@ focus outline in that case.
|
|
|
73530
73532
|
`)}
|
|
73531
73533
|
`;
|
|
73532
73534
|
|
|
73533
|
-
const styles$
|
|
73535
|
+
const styles$c = css `
|
|
73534
73536
|
:host {
|
|
73535
73537
|
align-self: center;
|
|
73536
73538
|
width: 100%;
|
|
@@ -73605,8 +73607,8 @@ focus outline in that case.
|
|
|
73605
73607
|
], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
|
|
73606
73608
|
const menuButtonCellView = TableColumnMenuButtonCellView.compose({
|
|
73607
73609
|
baseName: 'table-column-menu-button-cell-view',
|
|
73608
|
-
template: template$
|
|
73609
|
-
styles: styles$
|
|
73610
|
+
template: template$b,
|
|
73611
|
+
styles: styles$c
|
|
73610
73612
|
});
|
|
73611
73613
|
DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
|
|
73612
73614
|
const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
|
|
@@ -73661,8 +73663,8 @@ focus outline in that case.
|
|
|
73661
73663
|
], TableColumnMenuButton.prototype, "menuSlot", void 0);
|
|
73662
73664
|
const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
|
|
73663
73665
|
baseName: 'table-column-menu-button',
|
|
73664
|
-
template: template$
|
|
73665
|
-
styles: styles$
|
|
73666
|
+
template: template$c,
|
|
73667
|
+
styles: styles$j
|
|
73666
73668
|
});
|
|
73667
73669
|
DesignSystem.getOrCreate()
|
|
73668
73670
|
.withPrefix('nimble')
|
|
@@ -73671,7 +73673,7 @@ focus outline in that case.
|
|
|
73671
73673
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
73672
73674
|
// so the template can be composed into other column header templates
|
|
73673
73675
|
// prettier-ignore
|
|
73674
|
-
const template$
|
|
73676
|
+
const template$a = html `<span
|
|
73675
73677
|
${overflow('hasOverflow')}
|
|
73676
73678
|
class="header-content"
|
|
73677
73679
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -73690,8 +73692,8 @@ focus outline in that case.
|
|
|
73690
73692
|
}
|
|
73691
73693
|
const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
|
|
73692
73694
|
baseName: 'table-column-number-text-group-header-view',
|
|
73693
|
-
template: template$
|
|
73694
|
-
styles: styles$
|
|
73695
|
+
template: template$h,
|
|
73696
|
+
styles: styles$h
|
|
73695
73697
|
});
|
|
73696
73698
|
DesignSystem.getOrCreate()
|
|
73697
73699
|
.withPrefix('nimble')
|
|
@@ -73712,8 +73714,8 @@ focus outline in that case.
|
|
|
73712
73714
|
}
|
|
73713
73715
|
const numberTextCellView = TableColumnNumberTextCellView.compose({
|
|
73714
73716
|
baseName: 'table-column-number-text-cell-view',
|
|
73715
|
-
template: template$
|
|
73716
|
-
styles: styles$
|
|
73717
|
+
template: template$g,
|
|
73718
|
+
styles: styles$g
|
|
73717
73719
|
});
|
|
73718
73720
|
DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
|
|
73719
73721
|
const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
|
|
@@ -74253,8 +74255,8 @@ focus outline in that case.
|
|
|
74253
74255
|
], TableColumnNumberText.prototype, "unit", void 0);
|
|
74254
74256
|
const nimbleTableColumnNumberText = TableColumnNumberText.compose({
|
|
74255
74257
|
baseName: 'table-column-number-text',
|
|
74256
|
-
template: template$
|
|
74257
|
-
styles: styles$
|
|
74258
|
+
template: template$a,
|
|
74259
|
+
styles: styles$j
|
|
74258
74260
|
});
|
|
74259
74261
|
DesignSystem.getOrCreate()
|
|
74260
74262
|
.withPrefix('nimble')
|
|
@@ -74272,8 +74274,8 @@ focus outline in that case.
|
|
|
74272
74274
|
}
|
|
74273
74275
|
const textCellView = TableColumnTextCellView.compose({
|
|
74274
74276
|
baseName: 'table-column-text-cell-view',
|
|
74275
|
-
template: template$
|
|
74276
|
-
styles: styles$
|
|
74277
|
+
template: template$g,
|
|
74278
|
+
styles: styles$g
|
|
74277
74279
|
});
|
|
74278
74280
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
|
|
74279
74281
|
const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
|
|
@@ -74327,15 +74329,15 @@ focus outline in that case.
|
|
|
74327
74329
|
}
|
|
74328
74330
|
const nimbleTableColumnText = TableColumnText.compose({
|
|
74329
74331
|
baseName: 'table-column-text',
|
|
74330
|
-
template: template$
|
|
74331
|
-
styles: styles$
|
|
74332
|
+
template: template$j,
|
|
74333
|
+
styles: styles$j
|
|
74332
74334
|
});
|
|
74333
74335
|
DesignSystem.getOrCreate()
|
|
74334
74336
|
.withPrefix('nimble')
|
|
74335
74337
|
.register(nimbleTableColumnText());
|
|
74336
74338
|
|
|
74337
|
-
const styles$
|
|
74338
|
-
${styles$
|
|
74339
|
+
const styles$b = css `
|
|
74340
|
+
${styles$_}
|
|
74339
74341
|
|
|
74340
74342
|
.tabpanel {
|
|
74341
74343
|
overflow: auto;
|
|
@@ -74416,12 +74418,12 @@ focus outline in that case.
|
|
|
74416
74418
|
const nimbleTabs = Tabs.compose({
|
|
74417
74419
|
baseName: 'tabs',
|
|
74418
74420
|
baseClass: Tabs$1,
|
|
74419
|
-
template: template$
|
|
74420
|
-
styles: styles$
|
|
74421
|
+
template: template$K,
|
|
74422
|
+
styles: styles$b
|
|
74421
74423
|
});
|
|
74422
74424
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
74423
74425
|
|
|
74424
|
-
const styles$
|
|
74426
|
+
const styles$a = css `
|
|
74425
74427
|
${display$1('flex')}
|
|
74426
74428
|
|
|
74427
74429
|
:host {
|
|
@@ -74440,7 +74442,7 @@ focus outline in that case.
|
|
|
74440
74442
|
}
|
|
74441
74443
|
`;
|
|
74442
74444
|
|
|
74443
|
-
const template$
|
|
74445
|
+
const template$9 = html `
|
|
74444
74446
|
<template slot="end">
|
|
74445
74447
|
<div class="separator"></div>
|
|
74446
74448
|
<slot></slot>
|
|
@@ -74454,8 +74456,8 @@ focus outline in that case.
|
|
|
74454
74456
|
}
|
|
74455
74457
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
74456
74458
|
baseName: 'tabs-toolbar',
|
|
74457
|
-
template: template$
|
|
74458
|
-
styles: styles$
|
|
74459
|
+
template: template$9,
|
|
74460
|
+
styles: styles$a
|
|
74459
74461
|
});
|
|
74460
74462
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
74461
74463
|
|
|
@@ -74464,10 +74466,10 @@ focus outline in that case.
|
|
|
74464
74466
|
block: 'block'
|
|
74465
74467
|
};
|
|
74466
74468
|
|
|
74467
|
-
const styles$
|
|
74469
|
+
const styles$9 = css `
|
|
74468
74470
|
${display$1('inline-flex')}
|
|
74469
|
-
${styles$
|
|
74470
|
-
${styles$
|
|
74471
|
+
${styles$Q}
|
|
74472
|
+
${styles$M}
|
|
74471
74473
|
|
|
74472
74474
|
:host {
|
|
74473
74475
|
font: ${bodyFont};
|
|
@@ -74638,7 +74640,7 @@ focus outline in that case.
|
|
|
74638
74640
|
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
74639
74641
|
</label>
|
|
74640
74642
|
`);
|
|
74641
|
-
const template$
|
|
74643
|
+
const template$8 = () => html `
|
|
74642
74644
|
${labelTemplate$1}
|
|
74643
74645
|
<div class="container">
|
|
74644
74646
|
<textarea
|
|
@@ -74782,8 +74784,8 @@ focus outline in that case.
|
|
|
74782
74784
|
const nimbleTextArea = TextArea.compose({
|
|
74783
74785
|
baseName: 'text-area',
|
|
74784
74786
|
baseClass: TextArea$1,
|
|
74785
|
-
template: template$
|
|
74786
|
-
styles: styles$
|
|
74787
|
+
template: template$8,
|
|
74788
|
+
styles: styles$9,
|
|
74787
74789
|
shadowOptions: {
|
|
74788
74790
|
delegatesFocus: true
|
|
74789
74791
|
}
|
|
@@ -74800,10 +74802,10 @@ focus outline in that case.
|
|
|
74800
74802
|
frameless: 'frameless'
|
|
74801
74803
|
};
|
|
74802
74804
|
|
|
74803
|
-
const styles$
|
|
74805
|
+
const styles$8 = css `
|
|
74804
74806
|
${display$1('inline-block')}
|
|
74805
|
-
${styles$
|
|
74806
|
-
${styles$
|
|
74807
|
+
${styles$Q}
|
|
74808
|
+
${styles$M}
|
|
74807
74809
|
|
|
74808
74810
|
:host {
|
|
74809
74811
|
font: ${bodyFont};
|
|
@@ -75056,7 +75058,7 @@ focus outline in that case.
|
|
|
75056
75058
|
* The template for the {@link @microsoft/fast-foundation#(TextField:class)} component.
|
|
75057
75059
|
* @public
|
|
75058
75060
|
*/
|
|
75059
|
-
const template$
|
|
75061
|
+
const template$7 = (context, definition) => html `
|
|
75060
75062
|
<template
|
|
75061
75063
|
class="
|
|
75062
75064
|
${x => (x.readOnly ? 'readonly' : '')}
|
|
@@ -75137,8 +75139,8 @@ focus outline in that case.
|
|
|
75137
75139
|
const nimbleTextField = TextField.compose({
|
|
75138
75140
|
baseName: 'text-field',
|
|
75139
75141
|
baseClass: TextField$1,
|
|
75140
|
-
template: template$
|
|
75141
|
-
styles: styles$
|
|
75142
|
+
template: template$7,
|
|
75143
|
+
styles: styles$8,
|
|
75142
75144
|
shadowOptions: {
|
|
75143
75145
|
delegatesFocus: true
|
|
75144
75146
|
},
|
|
@@ -75155,7 +75157,7 @@ focus outline in that case.
|
|
|
75155
75157
|
});
|
|
75156
75158
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
75157
75159
|
|
|
75158
|
-
const styles$
|
|
75160
|
+
const styles$7 = css `
|
|
75159
75161
|
${display$1('inline-flex')}
|
|
75160
75162
|
|
|
75161
75163
|
:host {
|
|
@@ -75242,7 +75244,7 @@ focus outline in that case.
|
|
|
75242
75244
|
`));
|
|
75243
75245
|
|
|
75244
75246
|
// prettier-ignore
|
|
75245
|
-
const template$
|
|
75247
|
+
const template$6 = html `
|
|
75246
75248
|
${when(x => x.tooltipVisible, html `
|
|
75247
75249
|
<${anchoredRegionTag}
|
|
75248
75250
|
class="anchored-region"
|
|
@@ -75294,8 +75296,8 @@ focus outline in that case.
|
|
|
75294
75296
|
const nimbleTooltip = Tooltip.compose({
|
|
75295
75297
|
baseName: 'tooltip',
|
|
75296
75298
|
baseClass: Tooltip$1,
|
|
75297
|
-
template: template$
|
|
75298
|
-
styles: styles$
|
|
75299
|
+
template: template$6,
|
|
75300
|
+
styles: styles$7
|
|
75299
75301
|
});
|
|
75300
75302
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
75301
75303
|
|
|
@@ -75383,7 +75385,7 @@ focus outline in that case.
|
|
|
75383
75385
|
}
|
|
75384
75386
|
}
|
|
75385
75387
|
|
|
75386
|
-
const styles$
|
|
75388
|
+
const styles$6 = css `
|
|
75387
75389
|
${display$1('block')}
|
|
75388
75390
|
|
|
75389
75391
|
:host {
|
|
@@ -75600,12 +75602,12 @@ focus outline in that case.
|
|
|
75600
75602
|
baseName: 'tree-item',
|
|
75601
75603
|
baseClass: TreeItem$1,
|
|
75602
75604
|
template: treeItemTemplate,
|
|
75603
|
-
styles: styles$
|
|
75605
|
+
styles: styles$6,
|
|
75604
75606
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
75605
75607
|
});
|
|
75606
75608
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
75607
75609
|
|
|
75608
|
-
const styles$
|
|
75610
|
+
const styles$5 = css `
|
|
75609
75611
|
${display$1('flex')}
|
|
75610
75612
|
|
|
75611
75613
|
:host {
|
|
@@ -75620,7 +75622,7 @@ focus outline in that case.
|
|
|
75620
75622
|
`;
|
|
75621
75623
|
|
|
75622
75624
|
// prettier-ignore
|
|
75623
|
-
const template$
|
|
75625
|
+
const template$5 = html `
|
|
75624
75626
|
<template
|
|
75625
75627
|
role="tree"
|
|
75626
75628
|
${ref('treeView')}
|
|
@@ -75716,12 +75718,12 @@ focus outline in that case.
|
|
|
75716
75718
|
const nimbleTreeView = TreeView.compose({
|
|
75717
75719
|
baseName: 'tree-view',
|
|
75718
75720
|
baseClass: TreeView$1,
|
|
75719
|
-
template: template$
|
|
75720
|
-
styles: styles$
|
|
75721
|
+
template: template$5,
|
|
75722
|
+
styles: styles$5
|
|
75721
75723
|
});
|
|
75722
75724
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
75723
75725
|
|
|
75724
|
-
const template$
|
|
75726
|
+
const template$4 = html `<template slot="unit"></template>`;
|
|
75725
75727
|
|
|
75726
75728
|
/**
|
|
75727
75729
|
* Representations of a unit in a particular language
|
|
@@ -75835,7 +75837,7 @@ focus outline in that case.
|
|
|
75835
75837
|
}
|
|
75836
75838
|
const byteUnitScale = new ByteUnitScale();
|
|
75837
75839
|
|
|
75838
|
-
const styles$
|
|
75840
|
+
const styles$4 = css `
|
|
75839
75841
|
${display$1('none')}
|
|
75840
75842
|
`;
|
|
75841
75843
|
|
|
@@ -75863,8 +75865,8 @@ focus outline in that case.
|
|
|
75863
75865
|
], UnitByte.prototype, "binary", void 0);
|
|
75864
75866
|
const nimbleUnitByte = UnitByte.compose({
|
|
75865
75867
|
baseName: 'unit-byte',
|
|
75866
|
-
template: template$
|
|
75867
|
-
styles: styles$
|
|
75868
|
+
template: template$4,
|
|
75869
|
+
styles: styles$4
|
|
75868
75870
|
});
|
|
75869
75871
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
|
|
75870
75872
|
|
|
@@ -75916,8 +75918,8 @@ focus outline in that case.
|
|
|
75916
75918
|
}
|
|
75917
75919
|
const nimbleUnitVolt = UnitVolt.compose({
|
|
75918
75920
|
baseName: 'unit-volt',
|
|
75919
|
-
template: template$
|
|
75920
|
-
styles: styles$
|
|
75921
|
+
template: template$4,
|
|
75922
|
+
styles: styles$4
|
|
75921
75923
|
});
|
|
75922
75924
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
|
|
75923
75925
|
|
|
@@ -89919,7 +89921,7 @@ focus outline in that case.
|
|
|
89919
89921
|
return new Table(reader.readAll());
|
|
89920
89922
|
}
|
|
89921
89923
|
|
|
89922
|
-
const template$
|
|
89924
|
+
const template$3 = html `
|
|
89923
89925
|
<div class="wafer-map-container">
|
|
89924
89926
|
<svg class="svg-root">
|
|
89925
89927
|
<g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
|
|
@@ -89952,7 +89954,7 @@ focus outline in that case.
|
|
|
89952
89954
|
</div>
|
|
89953
89955
|
`;
|
|
89954
89956
|
|
|
89955
|
-
const styles$
|
|
89957
|
+
const styles$3 = css `
|
|
89956
89958
|
${display$1('inline-block')}
|
|
89957
89959
|
|
|
89958
89960
|
:host {
|
|
@@ -92979,8 +92981,8 @@ focus outline in that case.
|
|
|
92979
92981
|
], WaferMap.prototype, "colorScale", void 0);
|
|
92980
92982
|
const nimbleWaferMap = WaferMap.compose({
|
|
92981
92983
|
baseName: 'wafer-map',
|
|
92982
|
-
template: template$
|
|
92983
|
-
styles: styles$
|
|
92984
|
+
template: template$3,
|
|
92985
|
+
styles: styles$3
|
|
92984
92986
|
});
|
|
92985
92987
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
92986
92988
|
|
|
@@ -92992,6 +92994,116 @@ focus outline in that case.
|
|
|
92992
92994
|
*/
|
|
92993
92995
|
const display = (displayValue) => `${display$2(displayValue)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host::before,:host::after,::before,::after{box-sizing:border-box;}`;
|
|
92994
92996
|
|
|
92997
|
+
const styles$2 = css `
|
|
92998
|
+
${display('flex')}
|
|
92999
|
+
|
|
93000
|
+
:host {
|
|
93001
|
+
flex-direction: column;
|
|
93002
|
+
justify-content: flex-start;
|
|
93003
|
+
row-gap: ${standardPadding};
|
|
93004
|
+
padding: ${mediumPadding};
|
|
93005
|
+
background: ${applicationBackgroundColor};
|
|
93006
|
+
overflow-y: auto;
|
|
93007
|
+
}
|
|
93008
|
+
`;
|
|
93009
|
+
|
|
93010
|
+
/* eslint-disable @typescript-eslint/indent */
|
|
93011
|
+
// prettier-ignore
|
|
93012
|
+
const template$2 = html `<slot></slot>`;
|
|
93013
|
+
/* eslint-enable @typescript-eslint/indent */
|
|
93014
|
+
|
|
93015
|
+
/**
|
|
93016
|
+
* A Spright component for displaying a series of chat messages
|
|
93017
|
+
*/
|
|
93018
|
+
class ChatConversation extends FoundationElement {
|
|
93019
|
+
}
|
|
93020
|
+
const sprightChatConversation = ChatConversation.compose({
|
|
93021
|
+
baseName: 'chat-conversation',
|
|
93022
|
+
template: template$2,
|
|
93023
|
+
styles: styles$2
|
|
93024
|
+
});
|
|
93025
|
+
DesignSystem.getOrCreate()
|
|
93026
|
+
.withPrefix('spright')
|
|
93027
|
+
.register(sprightChatConversation());
|
|
93028
|
+
|
|
93029
|
+
const styles$1 = css `
|
|
93030
|
+
${display('flex')}
|
|
93031
|
+
|
|
93032
|
+
:host {
|
|
93033
|
+
min-width: 16px;
|
|
93034
|
+
min-height: 16px;
|
|
93035
|
+
|
|
93036
|
+
flex-direction: row;
|
|
93037
|
+
justify-content: center;
|
|
93038
|
+
flex-shrink: 0;
|
|
93039
|
+
font: ${bodyFont};
|
|
93040
|
+
color: ${bodyFontColor};
|
|
93041
|
+
}
|
|
93042
|
+
|
|
93043
|
+
:host([message-type='outbound']) {
|
|
93044
|
+
justify-content: flex-end;
|
|
93045
|
+
}
|
|
93046
|
+
|
|
93047
|
+
:host([message-type='inbound']) {
|
|
93048
|
+
justify-content: flex-start;
|
|
93049
|
+
}
|
|
93050
|
+
|
|
93051
|
+
div {
|
|
93052
|
+
max-width: calc(100% - 200px);
|
|
93053
|
+
width: fit-content;
|
|
93054
|
+
height: fit-content;
|
|
93055
|
+
padding: ${mediumPadding};
|
|
93056
|
+
overflow-x: auto;
|
|
93057
|
+
}
|
|
93058
|
+
|
|
93059
|
+
:host([message-type='outbound']) div {
|
|
93060
|
+
background: ${fillSelectedColor};
|
|
93061
|
+
border: ${borderWidth} solid ${borderHoverColor};
|
|
93062
|
+
border-radius: 8px 8px 0px 8px;
|
|
93063
|
+
}
|
|
93064
|
+
|
|
93065
|
+
:host([message-type='inbound']) div {
|
|
93066
|
+
border-radius: 8px 8px 8px 0px;
|
|
93067
|
+
}
|
|
93068
|
+
`;
|
|
93069
|
+
|
|
93070
|
+
/* eslint-disable @typescript-eslint/indent */
|
|
93071
|
+
// prettier-ignore
|
|
93072
|
+
const template$1 = html `<div><slot></slot></div>`;
|
|
93073
|
+
/* eslint-enable @typescript-eslint/indent */
|
|
93074
|
+
|
|
93075
|
+
/**
|
|
93076
|
+
* A message type in a chat conversation.
|
|
93077
|
+
* @public
|
|
93078
|
+
*/
|
|
93079
|
+
const ChatMessageType = {
|
|
93080
|
+
system: undefined};
|
|
93081
|
+
|
|
93082
|
+
/**
|
|
93083
|
+
* A Spright component for displaying a chat message
|
|
93084
|
+
*/
|
|
93085
|
+
class ChatMessage extends FoundationElement {
|
|
93086
|
+
constructor() {
|
|
93087
|
+
super(...arguments);
|
|
93088
|
+
/**
|
|
93089
|
+
* @public
|
|
93090
|
+
* The message type of this message in the chat conversation
|
|
93091
|
+
* @remarks
|
|
93092
|
+
* HTML Attribute: message-type
|
|
93093
|
+
*/
|
|
93094
|
+
this.messageType = ChatMessageType.system;
|
|
93095
|
+
}
|
|
93096
|
+
}
|
|
93097
|
+
__decorate$1([
|
|
93098
|
+
attr({ attribute: 'message-type' })
|
|
93099
|
+
], ChatMessage.prototype, "messageType", void 0);
|
|
93100
|
+
const sprightChatMessage = ChatMessage.compose({
|
|
93101
|
+
baseName: 'chat-message',
|
|
93102
|
+
template: template$1,
|
|
93103
|
+
styles: styles$1
|
|
93104
|
+
});
|
|
93105
|
+
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
|
|
93106
|
+
|
|
92995
93107
|
const styles = css `
|
|
92996
93108
|
${display('inline-block')}
|
|
92997
93109
|
|