@ni/spright-components 5.4.3 → 5.5.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/dist/all-components-bundle.js +467 -286
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3389 -3304
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/all-components.d.ts +1 -0
- package/dist/esm/all-components.js +1 -0
- package/dist/esm/all-components.js.map +1 -1
- package/dist/esm/chat/conversation/styles.js +6 -0
- package/dist/esm/chat/conversation/styles.js.map +1 -1
- package/dist/esm/chat/conversation/template.js +3 -1
- package/dist/esm/chat/conversation/template.js.map +1 -1
- package/dist/esm/chat/input/index.d.ts +48 -0
- package/dist/esm/chat/input/index.js +102 -0
- package/dist/esm/chat/input/index.js.map +1 -0
- package/dist/esm/chat/input/styles.d.ts +1 -0
- package/dist/esm/chat/input/styles.js +54 -0
- package/dist/esm/chat/input/styles.js.map +1 -0
- package/dist/esm/chat/input/template.d.ts +2 -0
- package/dist/esm/chat/input/template.js +29 -0
- package/dist/esm/chat/input/template.js.map +1 -0
- package/dist/esm/chat/input/testing/chat-input.pageobject.d.ts +21 -0
- package/dist/esm/chat/input/testing/chat-input.pageobject.js +65 -0
- package/dist/esm/chat/input/testing/chat-input.pageobject.js.map +1 -0
- package/dist/esm/chat/input/types.d.ts +7 -0
- package/dist/esm/chat/input/types.js +2 -0
- package/dist/esm/chat/input/types.js.map +1 -0
- package/dist/esm/chat/message/index.d.ts +1 -1
- package/dist/esm/chat/message/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -16108,9 +16108,9 @@
|
|
|
16108
16108
|
const prefix = 'ni-nimble';
|
|
16109
16109
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
16110
16110
|
|
|
16111
|
-
const template$
|
|
16111
|
+
const template$S = html `<slot></slot>`;
|
|
16112
16112
|
|
|
16113
|
-
const styles$
|
|
16113
|
+
const styles$15 = css `
|
|
16114
16114
|
${display$1('contents')}
|
|
16115
16115
|
`;
|
|
16116
16116
|
|
|
@@ -16225,8 +16225,8 @@
|
|
|
16225
16225
|
], ThemeProvider.prototype, "theme", void 0);
|
|
16226
16226
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
16227
16227
|
baseName: 'theme-provider',
|
|
16228
|
-
styles: styles$
|
|
16229
|
-
template: template$
|
|
16228
|
+
styles: styles$15,
|
|
16229
|
+
template: template$S
|
|
16230
16230
|
});
|
|
16231
16231
|
DesignSystem.getOrCreate()
|
|
16232
16232
|
.withPrefix('nimble')
|
|
@@ -16451,7 +16451,7 @@
|
|
|
16451
16451
|
}
|
|
16452
16452
|
}
|
|
16453
16453
|
|
|
16454
|
-
const styles$
|
|
16454
|
+
const styles$14 = css `
|
|
16455
16455
|
@layer base, hover, focusVisible, active, disabled;
|
|
16456
16456
|
|
|
16457
16457
|
@layer base {
|
|
@@ -16530,7 +16530,7 @@
|
|
|
16530
16530
|
`;
|
|
16531
16531
|
|
|
16532
16532
|
// prettier-ignore
|
|
16533
|
-
const template$
|
|
16533
|
+
const template$R = (_context, definition) => html `${
|
|
16534
16534
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16535
16535
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
16536
16536
|
*/ ''}<div
|
|
@@ -16633,8 +16633,8 @@
|
|
|
16633
16633
|
const nimbleAnchor = Anchor.compose({
|
|
16634
16634
|
baseName: 'anchor',
|
|
16635
16635
|
baseClass: Anchor$1,
|
|
16636
|
-
template: template$
|
|
16637
|
-
styles: styles$
|
|
16636
|
+
template: template$R,
|
|
16637
|
+
styles: styles$14,
|
|
16638
16638
|
shadowOptions: {
|
|
16639
16639
|
delegatesFocus: true
|
|
16640
16640
|
}
|
|
@@ -16743,7 +16743,7 @@
|
|
|
16743
16743
|
padding: 0;
|
|
16744
16744
|
`;
|
|
16745
16745
|
|
|
16746
|
-
const styles$
|
|
16746
|
+
const styles$13 = css `
|
|
16747
16747
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
16748
16748
|
|
|
16749
16749
|
@layer base {
|
|
@@ -17027,8 +17027,8 @@
|
|
|
17027
17027
|
}
|
|
17028
17028
|
`));
|
|
17029
17029
|
|
|
17030
|
-
const styles$
|
|
17031
|
-
${styles$
|
|
17030
|
+
const styles$12 = css `
|
|
17031
|
+
${styles$13}
|
|
17032
17032
|
${buttonAppearanceVariantStyles}
|
|
17033
17033
|
|
|
17034
17034
|
.control {
|
|
@@ -17048,7 +17048,7 @@
|
|
|
17048
17048
|
}
|
|
17049
17049
|
`;
|
|
17050
17050
|
|
|
17051
|
-
const template$
|
|
17051
|
+
const template$Q = (context, definition) => html `
|
|
17052
17052
|
<a
|
|
17053
17053
|
class="control"
|
|
17054
17054
|
part="control"
|
|
@@ -17130,8 +17130,8 @@
|
|
|
17130
17130
|
], AnchorButton.prototype, "disabled", void 0);
|
|
17131
17131
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17132
17132
|
baseName: 'anchor-button',
|
|
17133
|
-
template: template$
|
|
17134
|
-
styles: styles$
|
|
17133
|
+
template: template$Q,
|
|
17134
|
+
styles: styles$12,
|
|
17135
17135
|
shadowOptions: {
|
|
17136
17136
|
delegatesFocus: true
|
|
17137
17137
|
}
|
|
@@ -17139,7 +17139,7 @@
|
|
|
17139
17139
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17140
17140
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17141
17141
|
|
|
17142
|
-
const styles$
|
|
17142
|
+
const styles$11 = css `
|
|
17143
17143
|
${display$1('grid')}
|
|
17144
17144
|
|
|
17145
17145
|
:host {
|
|
@@ -17222,7 +17222,7 @@
|
|
|
17222
17222
|
}
|
|
17223
17223
|
`;
|
|
17224
17224
|
|
|
17225
|
-
const template$
|
|
17225
|
+
const template$P = (context, definition) => html `
|
|
17226
17226
|
<template
|
|
17227
17227
|
role="menuitem"
|
|
17228
17228
|
class="${x => (typeof x.startColumnCount === 'number'
|
|
@@ -17323,8 +17323,8 @@
|
|
|
17323
17323
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17324
17324
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17325
17325
|
baseName: 'anchor-menu-item',
|
|
17326
|
-
template: template$
|
|
17327
|
-
styles: styles$
|
|
17326
|
+
template: template$P,
|
|
17327
|
+
styles: styles$11,
|
|
17328
17328
|
shadowOptions: {
|
|
17329
17329
|
delegatesFocus: true
|
|
17330
17330
|
}
|
|
@@ -17334,7 +17334,7 @@
|
|
|
17334
17334
|
.register(nimbleAnchorMenuItem());
|
|
17335
17335
|
const anchorMenuItemTag = 'nimble-anchor-menu-item';
|
|
17336
17336
|
|
|
17337
|
-
const styles
|
|
17337
|
+
const styles$10 = css `
|
|
17338
17338
|
${display$1('inline-flex')}
|
|
17339
17339
|
|
|
17340
17340
|
:host {
|
|
@@ -17451,7 +17451,7 @@
|
|
|
17451
17451
|
}
|
|
17452
17452
|
`;
|
|
17453
17453
|
|
|
17454
|
-
const template$
|
|
17454
|
+
const template$O = (context, definition) => html `
|
|
17455
17455
|
<template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
|
|
17456
17456
|
<a
|
|
17457
17457
|
download="${x => x.download}"
|
|
@@ -17503,15 +17503,15 @@
|
|
|
17503
17503
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17504
17504
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
17505
17505
|
baseName: 'anchor-tab',
|
|
17506
|
-
template: template$
|
|
17507
|
-
styles: styles
|
|
17506
|
+
template: template$O,
|
|
17507
|
+
styles: styles$10,
|
|
17508
17508
|
shadowOptions: {
|
|
17509
17509
|
delegatesFocus: true
|
|
17510
17510
|
}
|
|
17511
17511
|
});
|
|
17512
17512
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
17513
17513
|
|
|
17514
|
-
const styles
|
|
17514
|
+
const styles$$ = css `
|
|
17515
17515
|
${display$1('flex')}
|
|
17516
17516
|
|
|
17517
17517
|
:host {
|
|
@@ -17551,12 +17551,12 @@
|
|
|
17551
17551
|
}
|
|
17552
17552
|
`;
|
|
17553
17553
|
|
|
17554
|
-
const styles$
|
|
17555
|
-
${styles$
|
|
17554
|
+
const styles$_ = css `
|
|
17555
|
+
${styles$13}
|
|
17556
17556
|
${buttonAppearanceVariantStyles}
|
|
17557
17557
|
`;
|
|
17558
17558
|
|
|
17559
|
-
const template$
|
|
17559
|
+
const template$N = (context, definition) => html `
|
|
17560
17560
|
<button
|
|
17561
17561
|
class="control"
|
|
17562
17562
|
part="control"
|
|
@@ -17647,8 +17647,8 @@
|
|
|
17647
17647
|
const nimbleButton = Button.compose({
|
|
17648
17648
|
baseName: 'button',
|
|
17649
17649
|
baseClass: Button$1,
|
|
17650
|
-
template: template$
|
|
17651
|
-
styles: styles$
|
|
17650
|
+
template: template$N,
|
|
17651
|
+
styles: styles$_,
|
|
17652
17652
|
shadowOptions: {
|
|
17653
17653
|
delegatesFocus: true
|
|
17654
17654
|
}
|
|
@@ -18547,7 +18547,7 @@
|
|
|
18547
18547
|
};
|
|
18548
18548
|
|
|
18549
18549
|
// Avoiding any whitespace in the template because this is an inline element
|
|
18550
|
-
const template$
|
|
18550
|
+
const template$M = html `<div
|
|
18551
18551
|
class="icon"
|
|
18552
18552
|
aria-hidden="true"
|
|
18553
18553
|
:innerHTML=${x => x.icon.data}
|
|
@@ -18562,7 +18562,7 @@
|
|
|
18562
18562
|
-webkit-user-select: none;
|
|
18563
18563
|
`;
|
|
18564
18564
|
|
|
18565
|
-
const styles$
|
|
18565
|
+
const styles$Z = css `
|
|
18566
18566
|
${display$1('inline-flex')}
|
|
18567
18567
|
|
|
18568
18568
|
:host {
|
|
@@ -18615,8 +18615,8 @@
|
|
|
18615
18615
|
const registerIcon = (baseName, iconClass) => {
|
|
18616
18616
|
const composedIcon = iconClass.compose({
|
|
18617
18617
|
baseName,
|
|
18618
|
-
template: template$
|
|
18619
|
-
styles: styles$
|
|
18618
|
+
template: template$M,
|
|
18619
|
+
styles: styles$Z
|
|
18620
18620
|
});
|
|
18621
18621
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
18622
18622
|
};
|
|
@@ -18707,7 +18707,7 @@
|
|
|
18707
18707
|
}).withDefault(coreLabelDefaults.scrollForwardLabel);
|
|
18708
18708
|
|
|
18709
18709
|
// prettier-ignore
|
|
18710
|
-
const template$
|
|
18710
|
+
const template$L = (context, definition) => html `
|
|
18711
18711
|
<div
|
|
18712
18712
|
class="tab-bar"
|
|
18713
18713
|
>
|
|
@@ -19006,15 +19006,15 @@
|
|
|
19006
19006
|
applyMixins(AnchorTabs, StartEnd);
|
|
19007
19007
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
19008
19008
|
baseName: 'anchor-tabs',
|
|
19009
|
-
template: template$
|
|
19010
|
-
styles: styles
|
|
19009
|
+
template: template$L,
|
|
19010
|
+
styles: styles$$,
|
|
19011
19011
|
shadowOptions: {
|
|
19012
19012
|
delegatesFocus: false
|
|
19013
19013
|
}
|
|
19014
19014
|
});
|
|
19015
19015
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
|
|
19016
19016
|
|
|
19017
|
-
const styles$
|
|
19017
|
+
const styles$Y = css `
|
|
19018
19018
|
${display$1('block')}
|
|
19019
19019
|
|
|
19020
19020
|
:host {
|
|
@@ -19119,7 +19119,7 @@
|
|
|
19119
19119
|
}
|
|
19120
19120
|
`;
|
|
19121
19121
|
|
|
19122
|
-
const template$
|
|
19122
|
+
const template$K = (context, definition) => html `
|
|
19123
19123
|
<template
|
|
19124
19124
|
role="treeitem"
|
|
19125
19125
|
slot="${x => (x.isNestedItem() ? 'item' : null)}"
|
|
@@ -19256,8 +19256,8 @@
|
|
|
19256
19256
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
19257
19257
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
19258
19258
|
baseName: 'anchor-tree-item',
|
|
19259
|
-
template: template$
|
|
19260
|
-
styles: styles$
|
|
19259
|
+
template: template$K,
|
|
19260
|
+
styles: styles$Y,
|
|
19261
19261
|
shadowOptions: {
|
|
19262
19262
|
delegatesFocus: true
|
|
19263
19263
|
}
|
|
@@ -19273,7 +19273,7 @@
|
|
|
19273
19273
|
zIndex1000: '1000'
|
|
19274
19274
|
};
|
|
19275
19275
|
|
|
19276
|
-
const styles$
|
|
19276
|
+
const styles$X = css `
|
|
19277
19277
|
${display$1('block')}
|
|
19278
19278
|
|
|
19279
19279
|
:host {
|
|
@@ -19304,7 +19304,7 @@
|
|
|
19304
19304
|
baseName: 'anchored-region',
|
|
19305
19305
|
baseClass: AnchoredRegion$1,
|
|
19306
19306
|
template: anchoredRegionTemplate,
|
|
19307
|
-
styles: styles$
|
|
19307
|
+
styles: styles$X
|
|
19308
19308
|
});
|
|
19309
19309
|
DesignSystem.getOrCreate()
|
|
19310
19310
|
.withPrefix('nimble')
|
|
@@ -19385,7 +19385,7 @@
|
|
|
19385
19385
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
19386
19386
|
/* eslint-enable max-classes-per-file */
|
|
19387
19387
|
|
|
19388
|
-
const styles$
|
|
19388
|
+
const styles$W = css `
|
|
19389
19389
|
${display$1('flex')}
|
|
19390
19390
|
|
|
19391
19391
|
:host {
|
|
@@ -19564,7 +19564,7 @@
|
|
|
19564
19564
|
};
|
|
19565
19565
|
|
|
19566
19566
|
// prettier-ignore
|
|
19567
|
-
const template$
|
|
19567
|
+
const template$J = html `
|
|
19568
19568
|
<${themeProviderTag} theme="${Theme.color}">
|
|
19569
19569
|
<div class="container"
|
|
19570
19570
|
role="status"
|
|
@@ -19682,12 +19682,12 @@
|
|
|
19682
19682
|
applyMixins(Banner, ARIAGlobalStatesAndProperties);
|
|
19683
19683
|
const nimbleBanner = Banner.compose({
|
|
19684
19684
|
baseName: 'banner',
|
|
19685
|
-
template: template$
|
|
19686
|
-
styles: styles$
|
|
19685
|
+
template: template$J,
|
|
19686
|
+
styles: styles$W
|
|
19687
19687
|
});
|
|
19688
19688
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
19689
19689
|
|
|
19690
|
-
const styles$
|
|
19690
|
+
const styles$V = css `
|
|
19691
19691
|
${display$1('inline-block')}
|
|
19692
19692
|
|
|
19693
19693
|
.list {
|
|
@@ -19717,11 +19717,11 @@
|
|
|
19717
19717
|
baseName: 'breadcrumb',
|
|
19718
19718
|
baseClass: Breadcrumb$1,
|
|
19719
19719
|
template: breadcrumbTemplate,
|
|
19720
|
-
styles: styles$
|
|
19720
|
+
styles: styles$V
|
|
19721
19721
|
});
|
|
19722
19722
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
19723
19723
|
|
|
19724
|
-
const styles$
|
|
19724
|
+
const styles$U = css `
|
|
19725
19725
|
@layer base, hover, focusVisible, active, disabled;
|
|
19726
19726
|
|
|
19727
19727
|
@layer base {
|
|
@@ -19818,14 +19818,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
19818
19818
|
baseName: 'breadcrumb-item',
|
|
19819
19819
|
baseClass: BreadcrumbItem$1,
|
|
19820
19820
|
template: breadcrumbItemTemplate,
|
|
19821
|
-
styles: styles$
|
|
19821
|
+
styles: styles$U,
|
|
19822
19822
|
separator: forwardSlash16X16.data
|
|
19823
19823
|
});
|
|
19824
19824
|
DesignSystem.getOrCreate()
|
|
19825
19825
|
.withPrefix('nimble')
|
|
19826
19826
|
.register(nimbleBreadcrumbItem());
|
|
19827
19827
|
|
|
19828
|
-
const styles$
|
|
19828
|
+
const styles$T = css `
|
|
19829
19829
|
${display$1('flex')}
|
|
19830
19830
|
|
|
19831
19831
|
:host {
|
|
@@ -19849,7 +19849,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
19849
19849
|
}
|
|
19850
19850
|
`;
|
|
19851
19851
|
|
|
19852
|
-
const template$
|
|
19852
|
+
const template$I = html `
|
|
19853
19853
|
<section aria-labelledby="title-slot">
|
|
19854
19854
|
<span id="title-slot"><slot name="title"></slot></span>
|
|
19855
19855
|
<slot></slot>
|
|
@@ -19864,12 +19864,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
19864
19864
|
const nimbleCard = Card.compose({
|
|
19865
19865
|
baseName: 'card',
|
|
19866
19866
|
baseClass: Card$1,
|
|
19867
|
-
template: template$
|
|
19868
|
-
styles: styles$
|
|
19867
|
+
template: template$I,
|
|
19868
|
+
styles: styles$T
|
|
19869
19869
|
});
|
|
19870
19870
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
19871
19871
|
|
|
19872
|
-
const styles$
|
|
19872
|
+
const styles$S = css `
|
|
19873
19873
|
${display$1('inline-flex')}
|
|
19874
19874
|
|
|
19875
19875
|
:host {
|
|
@@ -20027,14 +20027,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20027
20027
|
const nimbleCardButton = CardButton.compose({
|
|
20028
20028
|
baseName: 'card-button',
|
|
20029
20029
|
template: buttonTemplate,
|
|
20030
|
-
styles: styles$
|
|
20030
|
+
styles: styles$S,
|
|
20031
20031
|
shadowOptions: {
|
|
20032
20032
|
delegatesFocus: true
|
|
20033
20033
|
}
|
|
20034
20034
|
});
|
|
20035
20035
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
20036
20036
|
|
|
20037
|
-
const styles$
|
|
20037
|
+
const styles$R = css `
|
|
20038
20038
|
.error-icon {
|
|
20039
20039
|
display: none;
|
|
20040
20040
|
}
|
|
@@ -20068,9 +20068,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20068
20068
|
}
|
|
20069
20069
|
`;
|
|
20070
20070
|
|
|
20071
|
-
const styles$
|
|
20071
|
+
const styles$Q = css `
|
|
20072
20072
|
${display$1('inline-grid')}
|
|
20073
|
-
${styles$
|
|
20073
|
+
${styles$R}
|
|
20074
20074
|
|
|
20075
20075
|
:host {
|
|
20076
20076
|
font: ${bodyFont};
|
|
@@ -20264,7 +20264,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20264
20264
|
</div>
|
|
20265
20265
|
`;
|
|
20266
20266
|
|
|
20267
|
-
const template$
|
|
20267
|
+
const template$H = (_context, definition) => html `
|
|
20268
20268
|
<template
|
|
20269
20269
|
role="checkbox"
|
|
20270
20270
|
aria-checked="${x => x.checked}"
|
|
@@ -20349,16 +20349,16 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20349
20349
|
const nimbleCheckbox = Checkbox.compose({
|
|
20350
20350
|
baseName: 'checkbox',
|
|
20351
20351
|
baseClass: Checkbox$1,
|
|
20352
|
-
template: template$
|
|
20353
|
-
styles: styles$
|
|
20352
|
+
template: template$H,
|
|
20353
|
+
styles: styles$Q,
|
|
20354
20354
|
checkedIndicator: check16X16.data,
|
|
20355
20355
|
indeterminateIndicator: minus16X16.data
|
|
20356
20356
|
});
|
|
20357
20357
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCheckbox());
|
|
20358
20358
|
const checkboxTag = 'nimble-checkbox';
|
|
20359
20359
|
|
|
20360
|
-
const styles$
|
|
20361
|
-
${styles$
|
|
20360
|
+
const styles$P = css `
|
|
20361
|
+
${styles$13}
|
|
20362
20362
|
${buttonAppearanceVariantStyles}
|
|
20363
20363
|
|
|
20364
20364
|
@layer checked {
|
|
@@ -20407,7 +20407,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20407
20407
|
|
|
20408
20408
|
/* eslint-disable @typescript-eslint/indent */
|
|
20409
20409
|
// prettier-ignore
|
|
20410
|
-
const template$
|
|
20410
|
+
const template$G = (context, definition) => html `
|
|
20411
20411
|
<div
|
|
20412
20412
|
role="button"
|
|
20413
20413
|
part="control"
|
|
@@ -20503,8 +20503,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20503
20503
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
20504
20504
|
const nimbleToggleButton = ToggleButton.compose({
|
|
20505
20505
|
baseName: 'toggle-button',
|
|
20506
|
-
template: template$
|
|
20507
|
-
styles: styles$
|
|
20506
|
+
template: template$G,
|
|
20507
|
+
styles: styles$P,
|
|
20508
20508
|
shadowOptions: {
|
|
20509
20509
|
delegatesFocus: true
|
|
20510
20510
|
}
|
|
@@ -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$O = css `
|
|
20539
20539
|
${display$1('inline-flex')}
|
|
20540
20540
|
|
|
20541
20541
|
:host {
|
|
@@ -20825,7 +20825,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20825
20825
|
}
|
|
20826
20826
|
`));
|
|
20827
20827
|
|
|
20828
|
-
const styles$
|
|
20828
|
+
const styles$N = css `
|
|
20829
20829
|
.annotated-label {
|
|
20830
20830
|
display: flex;
|
|
20831
20831
|
flex-direction: row;
|
|
@@ -20852,10 +20852,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20852
20852
|
none: undefined,
|
|
20853
20853
|
standard: 'standard'};
|
|
20854
20854
|
|
|
20855
|
-
const styles$
|
|
20855
|
+
const styles$M = css `
|
|
20856
|
+
${styles$O}
|
|
20857
|
+
${styles$R}
|
|
20856
20858
|
${styles$N}
|
|
20857
|
-
${styles$Q}
|
|
20858
|
-
${styles$M}
|
|
20859
20859
|
|
|
20860
20860
|
:host {
|
|
20861
20861
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -20979,7 +20979,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20979
20979
|
`);
|
|
20980
20980
|
/* eslint-disable @typescript-eslint/indent */
|
|
20981
20981
|
// prettier-ignore
|
|
20982
|
-
const template$
|
|
20982
|
+
const template$F = (context, definition) => html `
|
|
20983
20983
|
<template
|
|
20984
20984
|
aria-disabled="${x => x.ariaDisabled}"
|
|
20985
20985
|
autocomplete="${x => x.autocomplete}"
|
|
@@ -21754,8 +21754,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21754
21754
|
const nimbleCombobox = Combobox.compose({
|
|
21755
21755
|
baseName: 'combobox',
|
|
21756
21756
|
baseClass: FormAssociatedCombobox,
|
|
21757
|
-
template: template$
|
|
21758
|
-
styles: styles$
|
|
21757
|
+
template: template$F,
|
|
21758
|
+
styles: styles$M,
|
|
21759
21759
|
shadowOptions: {
|
|
21760
21760
|
delegatesFocus: true
|
|
21761
21761
|
},
|
|
@@ -21799,7 +21799,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21799
21799
|
*/
|
|
21800
21800
|
const UserDismissed = Symbol('user dismissed');
|
|
21801
21801
|
|
|
21802
|
-
const styles$
|
|
21802
|
+
const styles$L = css `
|
|
21803
21803
|
${display$1('grid')}
|
|
21804
21804
|
|
|
21805
21805
|
dialog {
|
|
@@ -21892,7 +21892,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21892
21892
|
}
|
|
21893
21893
|
`;
|
|
21894
21894
|
|
|
21895
|
-
const template$
|
|
21895
|
+
const template$E = html `
|
|
21896
21896
|
<template>
|
|
21897
21897
|
<dialog
|
|
21898
21898
|
${ref('dialogElement')}
|
|
@@ -22040,13 +22040,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22040
22040
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
22041
22041
|
const nimbleDialog = Dialog.compose({
|
|
22042
22042
|
baseName: 'dialog',
|
|
22043
|
-
template: template$
|
|
22044
|
-
styles: styles$
|
|
22043
|
+
template: template$E,
|
|
22044
|
+
styles: styles$L,
|
|
22045
22045
|
baseClass: Dialog
|
|
22046
22046
|
});
|
|
22047
22047
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
22048
22048
|
|
|
22049
|
-
const styles$
|
|
22049
|
+
const styles$K = css `
|
|
22050
22050
|
${display$1('block')}
|
|
22051
22051
|
|
|
22052
22052
|
:host {
|
|
@@ -22189,7 +22189,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22189
22189
|
}
|
|
22190
22190
|
`;
|
|
22191
22191
|
|
|
22192
|
-
const template$
|
|
22192
|
+
const template$D = html `
|
|
22193
22193
|
<dialog
|
|
22194
22194
|
${ref('dialog')}
|
|
22195
22195
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -22331,8 +22331,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22331
22331
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
22332
22332
|
const nimbleDrawer = Drawer.compose({
|
|
22333
22333
|
baseName: 'drawer',
|
|
22334
|
-
template: template$
|
|
22335
|
-
styles: styles$
|
|
22334
|
+
template: template$D,
|
|
22335
|
+
styles: styles$K
|
|
22336
22336
|
});
|
|
22337
22337
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
22338
22338
|
|
|
@@ -24144,6 +24144,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
24144
24144
|
}
|
|
24145
24145
|
}
|
|
24146
24146
|
registerIcon('icon-paper-plane', IconPaperPlane);
|
|
24147
|
+
const iconPaperPlaneTag = 'nimble-icon-paper-plane';
|
|
24147
24148
|
|
|
24148
24149
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24149
24150
|
// See generation source in nimble-components/build/generate-icons
|
|
@@ -24969,7 +24970,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
24969
24970
|
}
|
|
24970
24971
|
}
|
|
24971
24972
|
|
|
24972
|
-
const styles$
|
|
24973
|
+
const styles$J = css `
|
|
24973
24974
|
${display$1('none')}
|
|
24974
24975
|
`;
|
|
24975
24976
|
|
|
@@ -25030,7 +25031,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25030
25031
|
], LabelProviderCore.prototype, "scrollForward", void 0);
|
|
25031
25032
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
25032
25033
|
baseName: 'label-provider-core',
|
|
25033
|
-
styles: styles$
|
|
25034
|
+
styles: styles$J
|
|
25034
25035
|
});
|
|
25035
25036
|
DesignSystem.getOrCreate()
|
|
25036
25037
|
.withPrefix('nimble')
|
|
@@ -25197,13 +25198,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25197
25198
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
25198
25199
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
25199
25200
|
baseName: 'label-provider-table',
|
|
25200
|
-
styles: styles$
|
|
25201
|
+
styles: styles$J
|
|
25201
25202
|
});
|
|
25202
25203
|
DesignSystem.getOrCreate()
|
|
25203
25204
|
.withPrefix('nimble')
|
|
25204
25205
|
.register(nimbleLabelProviderTable());
|
|
25205
25206
|
|
|
25206
|
-
const styles$
|
|
25207
|
+
const styles$I = css `
|
|
25207
25208
|
${display$1('flex')}
|
|
25208
25209
|
|
|
25209
25210
|
:host {
|
|
@@ -25280,7 +25281,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25280
25281
|
* @public
|
|
25281
25282
|
*/
|
|
25282
25283
|
// prettier-ignore
|
|
25283
|
-
const template$
|
|
25284
|
+
const template$C = (context, definition) => html `
|
|
25284
25285
|
<template
|
|
25285
25286
|
aria-checked="${x => x.ariaChecked}"
|
|
25286
25287
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -25393,13 +25394,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25393
25394
|
const nimbleListOption = ListOption.compose({
|
|
25394
25395
|
baseName: 'list-option',
|
|
25395
25396
|
baseClass: ListboxOption,
|
|
25396
|
-
template: template$
|
|
25397
|
-
styles: styles$
|
|
25397
|
+
template: template$C,
|
|
25398
|
+
styles: styles$I
|
|
25398
25399
|
});
|
|
25399
25400
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
25400
25401
|
const listOptionTag = 'nimble-list-option';
|
|
25401
25402
|
|
|
25402
|
-
const styles$
|
|
25403
|
+
const styles$H = css `
|
|
25403
25404
|
${display$1('flex')}
|
|
25404
25405
|
|
|
25405
25406
|
:host {
|
|
@@ -25462,7 +25463,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25462
25463
|
return n instanceof ListOption;
|
|
25463
25464
|
};
|
|
25464
25465
|
// prettier-ignore
|
|
25465
|
-
const template$
|
|
25466
|
+
const template$B = html `
|
|
25466
25467
|
<template
|
|
25467
25468
|
role="group"
|
|
25468
25469
|
aria-label="${x => x.labelContent}"
|
|
@@ -25604,8 +25605,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25604
25605
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
25605
25606
|
baseName: 'list-option-group',
|
|
25606
25607
|
baseClass: FoundationElement,
|
|
25607
|
-
template: template$
|
|
25608
|
-
styles: styles$
|
|
25608
|
+
template: template$B,
|
|
25609
|
+
styles: styles$H
|
|
25609
25610
|
});
|
|
25610
25611
|
DesignSystem.getOrCreate()
|
|
25611
25612
|
.withPrefix('nimble')
|
|
@@ -25620,9 +25621,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25620
25621
|
attr()
|
|
25621
25622
|
], Mapping$1.prototype, "key", void 0);
|
|
25622
25623
|
|
|
25623
|
-
const template$
|
|
25624
|
+
const template$A = html `<template slot="mapping"></template>`;
|
|
25624
25625
|
|
|
25625
|
-
const styles$
|
|
25626
|
+
const styles$G = css `
|
|
25626
25627
|
${display$1('none')}
|
|
25627
25628
|
`;
|
|
25628
25629
|
|
|
@@ -25638,8 +25639,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25638
25639
|
], MappingEmpty.prototype, "text", void 0);
|
|
25639
25640
|
const emptyMapping = MappingEmpty.compose({
|
|
25640
25641
|
baseName: 'mapping-empty',
|
|
25641
|
-
template: template$
|
|
25642
|
-
styles: styles$
|
|
25642
|
+
template: template$A,
|
|
25643
|
+
styles: styles$G
|
|
25643
25644
|
});
|
|
25644
25645
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
25645
25646
|
|
|
@@ -25709,8 +25710,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25709
25710
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
25710
25711
|
const iconMapping = MappingIcon.compose({
|
|
25711
25712
|
baseName: 'mapping-icon',
|
|
25712
|
-
template: template$
|
|
25713
|
-
styles: styles$
|
|
25713
|
+
template: template$A,
|
|
25714
|
+
styles: styles$G
|
|
25714
25715
|
});
|
|
25715
25716
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
25716
25717
|
|
|
@@ -25733,8 +25734,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25733
25734
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
25734
25735
|
const spinnerMapping = MappingSpinner.compose({
|
|
25735
25736
|
baseName: 'mapping-spinner',
|
|
25736
|
-
template: template$
|
|
25737
|
-
styles: styles$
|
|
25737
|
+
template: template$A,
|
|
25738
|
+
styles: styles$G
|
|
25738
25739
|
});
|
|
25739
25740
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
25740
25741
|
|
|
@@ -25750,8 +25751,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25750
25751
|
], MappingText.prototype, "text", void 0);
|
|
25751
25752
|
const textMapping = MappingText.compose({
|
|
25752
25753
|
baseName: 'mapping-text',
|
|
25753
|
-
template: template$
|
|
25754
|
-
styles: styles$
|
|
25754
|
+
template: template$A,
|
|
25755
|
+
styles: styles$G
|
|
25755
25756
|
});
|
|
25756
25757
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
25757
25758
|
|
|
@@ -26055,7 +26056,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26055
26056
|
|
|
26056
26057
|
/* eslint-disable @typescript-eslint/indent */
|
|
26057
26058
|
// prettier-ignore
|
|
26058
|
-
const template$
|
|
26059
|
+
const template$z = () => html `
|
|
26059
26060
|
<template
|
|
26060
26061
|
slot="${x => {
|
|
26061
26062
|
if (x.slot) {
|
|
@@ -26073,7 +26074,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26073
26074
|
`;
|
|
26074
26075
|
/* eslint-enable @typescript-eslint/indent */
|
|
26075
26076
|
|
|
26076
|
-
const styles$
|
|
26077
|
+
const styles$F = css `
|
|
26077
26078
|
${display$1('grid')}
|
|
26078
26079
|
|
|
26079
26080
|
:host {
|
|
@@ -26144,8 +26145,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26144
26145
|
const nimbleMenu = Menu.compose({
|
|
26145
26146
|
baseName: 'menu',
|
|
26146
26147
|
baseClass: Menu$1,
|
|
26147
|
-
template: template$
|
|
26148
|
-
styles: styles$
|
|
26148
|
+
template: template$z,
|
|
26149
|
+
styles: styles$F
|
|
26149
26150
|
});
|
|
26150
26151
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
26151
26152
|
|
|
@@ -26160,7 +26161,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26160
26161
|
auto: 'auto'
|
|
26161
26162
|
};
|
|
26162
26163
|
|
|
26163
|
-
const styles$
|
|
26164
|
+
const styles$E = css `
|
|
26164
26165
|
${display$1('inline-block')}
|
|
26165
26166
|
|
|
26166
26167
|
:host {
|
|
@@ -26179,7 +26180,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26179
26180
|
`;
|
|
26180
26181
|
|
|
26181
26182
|
// prettier-ignore
|
|
26182
|
-
const template$
|
|
26183
|
+
const template$y = html `
|
|
26183
26184
|
<template
|
|
26184
26185
|
?open="${x => x.open}"
|
|
26185
26186
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -26429,8 +26430,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26429
26430
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
26430
26431
|
const nimbleMenuButton = MenuButton.compose({
|
|
26431
26432
|
baseName: 'menu-button',
|
|
26432
|
-
template: template$
|
|
26433
|
-
styles: styles$
|
|
26433
|
+
template: template$y,
|
|
26434
|
+
styles: styles$E,
|
|
26434
26435
|
shadowOptions: {
|
|
26435
26436
|
delegatesFocus: true
|
|
26436
26437
|
}
|
|
@@ -26438,7 +26439,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26438
26439
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
26439
26440
|
const menuButtonTag = 'nimble-menu-button';
|
|
26440
26441
|
|
|
26441
|
-
const styles$
|
|
26442
|
+
const styles$D = css `
|
|
26442
26443
|
${display$1('grid')}
|
|
26443
26444
|
|
|
26444
26445
|
:host {
|
|
@@ -26535,7 +26536,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26535
26536
|
baseName: 'menu-item',
|
|
26536
26537
|
baseClass: MenuItem$1,
|
|
26537
26538
|
template: menuItemTemplate,
|
|
26538
|
-
styles: styles$
|
|
26539
|
+
styles: styles$D,
|
|
26539
26540
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
26540
26541
|
});
|
|
26541
26542
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -26550,10 +26551,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26550
26551
|
frameless: 'frameless'
|
|
26551
26552
|
};
|
|
26552
26553
|
|
|
26553
|
-
const styles$
|
|
26554
|
+
const styles$C = css `
|
|
26554
26555
|
${display$1('inline-block')}
|
|
26555
|
-
${styles$
|
|
26556
|
-
${styles$
|
|
26556
|
+
${styles$R}
|
|
26557
|
+
${styles$N}
|
|
26557
26558
|
|
|
26558
26559
|
:host {
|
|
26559
26560
|
font: ${bodyFont};
|
|
@@ -26776,7 +26777,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26776
26777
|
* The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
|
|
26777
26778
|
* @public
|
|
26778
26779
|
*/
|
|
26779
|
-
const template$
|
|
26780
|
+
const template$x = (context, definition) => html `
|
|
26780
26781
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
26781
26782
|
${labelTemplate$4}
|
|
26782
26783
|
<div class="root" part="root">
|
|
@@ -26888,8 +26889,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26888
26889
|
const nimbleNumberField = NumberField.compose({
|
|
26889
26890
|
baseName: 'number-field',
|
|
26890
26891
|
baseClass: NumberField$1,
|
|
26891
|
-
template: template$
|
|
26892
|
-
styles: styles$
|
|
26892
|
+
template: template$x,
|
|
26893
|
+
styles: styles$C,
|
|
26893
26894
|
shadowOptions: {
|
|
26894
26895
|
delegatesFocus: true
|
|
26895
26896
|
},
|
|
@@ -26932,7 +26933,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26932
26933
|
});
|
|
26933
26934
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
26934
26935
|
|
|
26935
|
-
const styles$
|
|
26936
|
+
const styles$B = css `
|
|
26936
26937
|
${display$1('inline-flex')}
|
|
26937
26938
|
|
|
26938
26939
|
:host {
|
|
@@ -27032,15 +27033,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27032
27033
|
baseName: 'radio',
|
|
27033
27034
|
baseClass: Radio$1,
|
|
27034
27035
|
template: radioTemplate,
|
|
27035
|
-
styles: styles$
|
|
27036
|
+
styles: styles$B,
|
|
27036
27037
|
checkedIndicator: circleFilled16X16.data
|
|
27037
27038
|
});
|
|
27038
27039
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
27039
27040
|
|
|
27040
|
-
const styles$
|
|
27041
|
+
const styles$A = css `
|
|
27041
27042
|
${display$1('inline-block')}
|
|
27042
|
-
${styles$
|
|
27043
|
-
${styles$
|
|
27043
|
+
${styles$R}
|
|
27044
|
+
${styles$N}
|
|
27044
27045
|
|
|
27045
27046
|
.positioning-region {
|
|
27046
27047
|
display: flex;
|
|
@@ -27080,7 +27081,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27080
27081
|
|
|
27081
27082
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
27082
27083
|
/* eslint-disable @typescript-eslint/indent */
|
|
27083
|
-
const template$
|
|
27084
|
+
const template$w = html `
|
|
27084
27085
|
<template
|
|
27085
27086
|
role="radiogroup"
|
|
27086
27087
|
aria-disabled="${x => x.disabled}"
|
|
@@ -27120,8 +27121,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27120
27121
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
27121
27122
|
baseName: 'radio-group',
|
|
27122
27123
|
baseClass: RadioGroup$1,
|
|
27123
|
-
template: template$
|
|
27124
|
-
styles: styles$
|
|
27124
|
+
template: template$w,
|
|
27125
|
+
styles: styles$A,
|
|
27125
27126
|
shadowOptions: {
|
|
27126
27127
|
delegatesFocus: true
|
|
27127
27128
|
}
|
|
@@ -45551,7 +45552,7 @@ img.ProseMirror-separator {
|
|
|
45551
45552
|
},
|
|
45552
45553
|
});
|
|
45553
45554
|
|
|
45554
|
-
const styles$
|
|
45555
|
+
const styles$z = css `
|
|
45555
45556
|
${display$1('inline')}
|
|
45556
45557
|
|
|
45557
45558
|
.positioning-region {
|
|
@@ -45588,7 +45589,7 @@ img.ProseMirror-separator {
|
|
|
45588
45589
|
baseName: 'toolbar',
|
|
45589
45590
|
baseClass: Toolbar$1,
|
|
45590
45591
|
template: toolbarTemplate,
|
|
45591
|
-
styles: styles$
|
|
45592
|
+
styles: styles$z
|
|
45592
45593
|
});
|
|
45593
45594
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
45594
45595
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -45617,8 +45618,8 @@ img.ProseMirror-separator {
|
|
|
45617
45618
|
cssCustomPropertyName: null
|
|
45618
45619
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
45619
45620
|
|
|
45620
|
-
const styles$
|
|
45621
|
-
${styles$
|
|
45621
|
+
const styles$y = css `
|
|
45622
|
+
${styles$O}
|
|
45622
45623
|
|
|
45623
45624
|
:host {
|
|
45624
45625
|
height: auto;
|
|
@@ -45638,7 +45639,7 @@ img.ProseMirror-separator {
|
|
|
45638
45639
|
|
|
45639
45640
|
/* eslint-disable @typescript-eslint/indent */
|
|
45640
45641
|
// prettier-ignore
|
|
45641
|
-
const template$
|
|
45642
|
+
const template$v = html `
|
|
45642
45643
|
<template>
|
|
45643
45644
|
<${anchoredRegionTag}
|
|
45644
45645
|
${ref('region')}
|
|
@@ -45926,8 +45927,8 @@ img.ProseMirror-separator {
|
|
|
45926
45927
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
45927
45928
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
45928
45929
|
baseName: 'rich-text-mention-listbox',
|
|
45929
|
-
template: template$
|
|
45930
|
-
styles: styles$
|
|
45930
|
+
template: template$v,
|
|
45931
|
+
styles: styles$y
|
|
45931
45932
|
});
|
|
45932
45933
|
DesignSystem.getOrCreate()
|
|
45933
45934
|
.withPrefix('nimble')
|
|
@@ -45935,7 +45936,7 @@ img.ProseMirror-separator {
|
|
|
45935
45936
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
45936
45937
|
|
|
45937
45938
|
// prettier-ignore
|
|
45938
|
-
const template$
|
|
45939
|
+
const template$u = html `
|
|
45939
45940
|
<template
|
|
45940
45941
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
45941
45942
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -46037,9 +46038,9 @@ img.ProseMirror-separator {
|
|
|
46037
46038
|
</template>
|
|
46038
46039
|
`;
|
|
46039
46040
|
|
|
46040
|
-
const styles$
|
|
46041
|
+
const styles$x = css `
|
|
46041
46042
|
${display$1('inline-flex')}
|
|
46042
|
-
${styles$
|
|
46043
|
+
${styles$R}
|
|
46043
46044
|
|
|
46044
46045
|
:host {
|
|
46045
46046
|
font: ${bodyFont};
|
|
@@ -60733,8 +60734,8 @@ img.ProseMirror-separator {
|
|
|
60733
60734
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
60734
60735
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
60735
60736
|
baseName: 'rich-text-editor',
|
|
60736
|
-
template: template$
|
|
60737
|
-
styles: styles$
|
|
60737
|
+
template: template$u,
|
|
60738
|
+
styles: styles$x,
|
|
60738
60739
|
shadowOptions: {
|
|
60739
60740
|
delegatesFocus: true
|
|
60740
60741
|
}
|
|
@@ -60743,13 +60744,13 @@ img.ProseMirror-separator {
|
|
|
60743
60744
|
.withPrefix('nimble')
|
|
60744
60745
|
.register(nimbleRichTextEditor());
|
|
60745
60746
|
|
|
60746
|
-
const template$
|
|
60747
|
+
const template$t = html `
|
|
60747
60748
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
60748
60749
|
<div ${ref('viewer')} class="viewer"></div>
|
|
60749
60750
|
</template>
|
|
60750
60751
|
`;
|
|
60751
60752
|
|
|
60752
|
-
const styles$
|
|
60753
|
+
const styles$w = css `
|
|
60753
60754
|
${display$1('flex')}
|
|
60754
60755
|
|
|
60755
60756
|
:host {
|
|
@@ -60862,17 +60863,17 @@ img.ProseMirror-separator {
|
|
|
60862
60863
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
60863
60864
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
60864
60865
|
baseName: 'rich-text-viewer',
|
|
60865
|
-
template: template$
|
|
60866
|
-
styles: styles$
|
|
60866
|
+
template: template$t,
|
|
60867
|
+
styles: styles$w
|
|
60867
60868
|
});
|
|
60868
60869
|
DesignSystem.getOrCreate()
|
|
60869
60870
|
.withPrefix('nimble')
|
|
60870
60871
|
.register(nimbleRichTextViewer());
|
|
60871
60872
|
|
|
60872
|
-
const styles$
|
|
60873
|
+
const styles$v = css `
|
|
60874
|
+
${styles$O}
|
|
60875
|
+
${styles$R}
|
|
60873
60876
|
${styles$N}
|
|
60874
|
-
${styles$Q}
|
|
60875
|
-
${styles$M}
|
|
60876
60877
|
|
|
60877
60878
|
${
|
|
60878
60879
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -61035,7 +61036,7 @@ img.ProseMirror-separator {
|
|
|
61035
61036
|
}
|
|
61036
61037
|
`));
|
|
61037
61038
|
|
|
61038
|
-
const styles$
|
|
61039
|
+
const styles$u = css `
|
|
61039
61040
|
${display$1('inline-grid')}
|
|
61040
61041
|
|
|
61041
61042
|
:host {
|
|
@@ -61207,7 +61208,7 @@ img.ProseMirror-separator {
|
|
|
61207
61208
|
|
|
61208
61209
|
/* eslint-disable @typescript-eslint/indent */
|
|
61209
61210
|
// prettier-ignore
|
|
61210
|
-
const template$
|
|
61211
|
+
const template$s = html `
|
|
61211
61212
|
<template role="progressbar">
|
|
61212
61213
|
${''
|
|
61213
61214
|
/**
|
|
@@ -61255,8 +61256,8 @@ img.ProseMirror-separator {
|
|
|
61255
61256
|
], Spinner.prototype, "appearance", void 0);
|
|
61256
61257
|
const nimbleSpinner = Spinner.compose({
|
|
61257
61258
|
baseName: 'spinner',
|
|
61258
|
-
template: template$
|
|
61259
|
-
styles: styles$
|
|
61259
|
+
template: template$s,
|
|
61260
|
+
styles: styles$u
|
|
61260
61261
|
});
|
|
61261
61262
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
61262
61263
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -61274,7 +61275,7 @@ img.ProseMirror-separator {
|
|
|
61274
61275
|
`);
|
|
61275
61276
|
/* eslint-disable @typescript-eslint/indent */
|
|
61276
61277
|
// prettier-ignore
|
|
61277
|
-
const template$
|
|
61278
|
+
const template$r = (context, definition) => html `
|
|
61278
61279
|
<template
|
|
61279
61280
|
class="${x => [
|
|
61280
61281
|
x.collapsible && 'collapsible',
|
|
@@ -62491,8 +62492,8 @@ img.ProseMirror-separator {
|
|
|
62491
62492
|
const nimbleSelect = Select.compose({
|
|
62492
62493
|
baseName: 'select',
|
|
62493
62494
|
baseClass: Select$2,
|
|
62494
|
-
template: template$
|
|
62495
|
-
styles: styles$
|
|
62495
|
+
template: template$r,
|
|
62496
|
+
styles: styles$v,
|
|
62496
62497
|
indicator: arrowExpanderDown16X16.data,
|
|
62497
62498
|
end: html `
|
|
62498
62499
|
<${iconExclamationMarkTag}
|
|
@@ -62505,7 +62506,7 @@ img.ProseMirror-separator {
|
|
|
62505
62506
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
62506
62507
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
62507
62508
|
|
|
62508
|
-
const styles$
|
|
62509
|
+
const styles$t = css `
|
|
62509
62510
|
${display$1('inline-flex')}
|
|
62510
62511
|
|
|
62511
62512
|
:host {
|
|
@@ -62668,7 +62669,7 @@ img.ProseMirror-separator {
|
|
|
62668
62669
|
`));
|
|
62669
62670
|
|
|
62670
62671
|
// prettier-ignore
|
|
62671
|
-
const template$
|
|
62672
|
+
const template$q = html `
|
|
62672
62673
|
<template
|
|
62673
62674
|
role="switch"
|
|
62674
62675
|
aria-checked="${x => x.checked}"
|
|
@@ -62712,12 +62713,12 @@ img.ProseMirror-separator {
|
|
|
62712
62713
|
const nimbleSwitch = Switch.compose({
|
|
62713
62714
|
baseClass: Switch$1,
|
|
62714
62715
|
baseName: 'switch',
|
|
62715
|
-
template: template$
|
|
62716
|
-
styles: styles$
|
|
62716
|
+
template: template$q,
|
|
62717
|
+
styles: styles$t
|
|
62717
62718
|
});
|
|
62718
62719
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
62719
62720
|
|
|
62720
|
-
const styles$
|
|
62721
|
+
const styles$s = css `
|
|
62721
62722
|
${display$1('inline-flex')}
|
|
62722
62723
|
|
|
62723
62724
|
:host {
|
|
@@ -62828,11 +62829,11 @@ img.ProseMirror-separator {
|
|
|
62828
62829
|
baseName: 'tab',
|
|
62829
62830
|
baseClass: Tab$1,
|
|
62830
62831
|
template: tabTemplate,
|
|
62831
|
-
styles: styles$
|
|
62832
|
+
styles: styles$s
|
|
62832
62833
|
});
|
|
62833
62834
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
62834
62835
|
|
|
62835
|
-
const styles$
|
|
62836
|
+
const styles$r = css `
|
|
62836
62837
|
${display$1('block')}
|
|
62837
62838
|
|
|
62838
62839
|
:host {
|
|
@@ -62851,7 +62852,7 @@ img.ProseMirror-separator {
|
|
|
62851
62852
|
baseName: 'tab-panel',
|
|
62852
62853
|
baseClass: TabPanel$1,
|
|
62853
62854
|
template: tabPanelTemplate,
|
|
62854
|
-
styles: styles$
|
|
62855
|
+
styles: styles$r
|
|
62855
62856
|
});
|
|
62856
62857
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
62857
62858
|
|
|
@@ -66578,7 +66579,7 @@ img.ProseMirror-separator {
|
|
|
66578
66579
|
}
|
|
66579
66580
|
}
|
|
66580
66581
|
|
|
66581
|
-
const styles$
|
|
66582
|
+
const styles$q = css `
|
|
66582
66583
|
${display$1('flex')}
|
|
66583
66584
|
|
|
66584
66585
|
:host {
|
|
@@ -66798,7 +66799,7 @@ focus outline in that case.
|
|
|
66798
66799
|
}
|
|
66799
66800
|
`));
|
|
66800
66801
|
|
|
66801
|
-
const styles$
|
|
66802
|
+
const styles$p = css `
|
|
66802
66803
|
${display$1('flex')}
|
|
66803
66804
|
|
|
66804
66805
|
:host {
|
|
@@ -66832,7 +66833,7 @@ focus outline in that case.
|
|
|
66832
66833
|
`;
|
|
66833
66834
|
|
|
66834
66835
|
// prettier-ignore
|
|
66835
|
-
const template$
|
|
66836
|
+
const template$p = html `
|
|
66836
66837
|
<template role="columnheader"
|
|
66837
66838
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
66838
66839
|
aria-sort="${x => x.ariaSort}"
|
|
@@ -66918,13 +66919,13 @@ focus outline in that case.
|
|
|
66918
66919
|
], TableHeader.prototype, "isGrouped", void 0);
|
|
66919
66920
|
const nimbleTableHeader = TableHeader.compose({
|
|
66920
66921
|
baseName: 'table-header',
|
|
66921
|
-
template: template$
|
|
66922
|
-
styles: styles$
|
|
66922
|
+
template: template$p,
|
|
66923
|
+
styles: styles$p
|
|
66923
66924
|
});
|
|
66924
66925
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
66925
66926
|
const tableHeaderTag = 'nimble-table-header';
|
|
66926
66927
|
|
|
66927
|
-
const styles$
|
|
66928
|
+
const styles$o = css `
|
|
66928
66929
|
:host .animating {
|
|
66929
66930
|
transition: ${mediumDelay} ease-in;
|
|
66930
66931
|
}
|
|
@@ -66949,9 +66950,9 @@ focus outline in that case.
|
|
|
66949
66950
|
}
|
|
66950
66951
|
`;
|
|
66951
66952
|
|
|
66952
|
-
const styles$
|
|
66953
|
+
const styles$n = css `
|
|
66953
66954
|
${display$1('flex')}
|
|
66954
|
-
${styles$
|
|
66955
|
+
${styles$o}
|
|
66955
66956
|
|
|
66956
66957
|
:host {
|
|
66957
66958
|
width: fit-content;
|
|
@@ -67121,7 +67122,7 @@ focus outline in that case.
|
|
|
67121
67122
|
}
|
|
67122
67123
|
`));
|
|
67123
67124
|
|
|
67124
|
-
const styles$
|
|
67125
|
+
const styles$m = css `
|
|
67125
67126
|
${display$1('flex')}
|
|
67126
67127
|
|
|
67127
67128
|
:host {
|
|
@@ -67167,7 +67168,7 @@ focus outline in that case.
|
|
|
67167
67168
|
`;
|
|
67168
67169
|
|
|
67169
67170
|
// prettier-ignore
|
|
67170
|
-
const template$
|
|
67171
|
+
const template$o = html `
|
|
67171
67172
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
67172
67173
|
@focusin="${x => x.onCellFocusIn()}"
|
|
67173
67174
|
@blur="${x => x.onCellBlur()}"
|
|
@@ -67264,14 +67265,14 @@ focus outline in that case.
|
|
|
67264
67265
|
], TableCell.prototype, "nestingLevel", void 0);
|
|
67265
67266
|
const nimbleTableCell = TableCell.compose({
|
|
67266
67267
|
baseName: 'table-cell',
|
|
67267
|
-
template: template$
|
|
67268
|
-
styles: styles$
|
|
67268
|
+
template: template$o,
|
|
67269
|
+
styles: styles$m
|
|
67269
67270
|
});
|
|
67270
67271
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
67271
67272
|
const tableCellTag = 'nimble-table-cell';
|
|
67272
67273
|
|
|
67273
67274
|
// prettier-ignore
|
|
67274
|
-
const template$
|
|
67275
|
+
const template$n = html `
|
|
67275
67276
|
<template
|
|
67276
67277
|
role="row"
|
|
67277
67278
|
aria-selected=${x => x.ariaSelected}
|
|
@@ -67665,15 +67666,15 @@ focus outline in that case.
|
|
|
67665
67666
|
], TableRow.prototype, "ariaSelected", null);
|
|
67666
67667
|
const nimbleTableRow = TableRow.compose({
|
|
67667
67668
|
baseName: 'table-row',
|
|
67668
|
-
template: template$
|
|
67669
|
-
styles: styles$
|
|
67669
|
+
template: template$n,
|
|
67670
|
+
styles: styles$n
|
|
67670
67671
|
});
|
|
67671
67672
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
67672
67673
|
const tableRowTag = 'nimble-table-row';
|
|
67673
67674
|
|
|
67674
|
-
const styles$
|
|
67675
|
+
const styles$l = css `
|
|
67675
67676
|
${display$1('grid')}
|
|
67676
|
-
${styles$
|
|
67677
|
+
${styles$o}
|
|
67677
67678
|
|
|
67678
67679
|
:host {
|
|
67679
67680
|
align-items: center;
|
|
@@ -67763,7 +67764,7 @@ focus outline in that case.
|
|
|
67763
67764
|
|
|
67764
67765
|
/* eslint-disable @typescript-eslint/indent */
|
|
67765
67766
|
// prettier-ignore
|
|
67766
|
-
const template$
|
|
67767
|
+
const template$m = html `
|
|
67767
67768
|
<template
|
|
67768
67769
|
role="row"
|
|
67769
67770
|
@click=${x => x.onGroupExpandToggle()}
|
|
@@ -67921,14 +67922,14 @@ focus outline in that case.
|
|
|
67921
67922
|
], TableGroupRow.prototype, "allowHover", void 0);
|
|
67922
67923
|
const nimbleTableGroupRow = TableGroupRow.compose({
|
|
67923
67924
|
baseName: 'table-group-row',
|
|
67924
|
-
template: template$
|
|
67925
|
-
styles: styles$
|
|
67925
|
+
template: template$m,
|
|
67926
|
+
styles: styles$l
|
|
67926
67927
|
});
|
|
67927
67928
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
67928
67929
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
67929
67930
|
|
|
67930
67931
|
// prettier-ignore
|
|
67931
|
-
const template$
|
|
67932
|
+
const template$l = html `
|
|
67932
67933
|
<template
|
|
67933
67934
|
role="treegrid"
|
|
67934
67935
|
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
@@ -72041,12 +72042,12 @@ focus outline in that case.
|
|
|
72041
72042
|
], Table$1.prototype, "windowShiftKeyDown", void 0);
|
|
72042
72043
|
const nimbleTable = Table$1.compose({
|
|
72043
72044
|
baseName: 'table',
|
|
72044
|
-
template: template$
|
|
72045
|
-
styles: styles$
|
|
72045
|
+
template: template$l,
|
|
72046
|
+
styles: styles$q
|
|
72046
72047
|
});
|
|
72047
72048
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
72048
72049
|
|
|
72049
|
-
const styles$
|
|
72050
|
+
const styles$k = css `
|
|
72050
72051
|
${display$1('contents')}
|
|
72051
72052
|
|
|
72052
72053
|
.header-content {
|
|
@@ -72059,7 +72060,7 @@ focus outline in that case.
|
|
|
72059
72060
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
72060
72061
|
// so the template can be composed into other column header templates
|
|
72061
72062
|
// prettier-ignore
|
|
72062
|
-
const template$
|
|
72063
|
+
const template$k = html `<span
|
|
72063
72064
|
${overflow('hasOverflow')}
|
|
72064
72065
|
class="header-content"
|
|
72065
72066
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -72134,7 +72135,7 @@ focus outline in that case.
|
|
|
72134
72135
|
return ColumnWithPlaceholder;
|
|
72135
72136
|
}
|
|
72136
72137
|
|
|
72137
|
-
const styles$
|
|
72138
|
+
const styles$j = css `
|
|
72138
72139
|
${display$1('flex')}
|
|
72139
72140
|
|
|
72140
72141
|
:host {
|
|
@@ -72167,7 +72168,7 @@ focus outline in that case.
|
|
|
72167
72168
|
|
|
72168
72169
|
/* eslint-disable @typescript-eslint/indent */
|
|
72169
72170
|
// prettier-ignore
|
|
72170
|
-
const template$
|
|
72171
|
+
const template$j = html `
|
|
72171
72172
|
<template
|
|
72172
72173
|
@click="${(x, c) => {
|
|
72173
72174
|
if (typeof x.cellRecord?.href === 'string') {
|
|
@@ -72260,8 +72261,8 @@ focus outline in that case.
|
|
|
72260
72261
|
], TableColumnAnchorCellView.prototype, "showAnchor", null);
|
|
72261
72262
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
72262
72263
|
baseName: 'table-column-anchor-cell-view',
|
|
72263
|
-
template: template$
|
|
72264
|
-
styles: styles$
|
|
72264
|
+
template: template$j,
|
|
72265
|
+
styles: styles$j
|
|
72265
72266
|
});
|
|
72266
72267
|
DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
|
|
72267
72268
|
const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
|
|
@@ -72338,7 +72339,7 @@ focus outline in that case.
|
|
|
72338
72339
|
observable
|
|
72339
72340
|
], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
|
|
72340
72341
|
|
|
72341
|
-
const template$
|
|
72342
|
+
const template$i = html `
|
|
72342
72343
|
<span
|
|
72343
72344
|
${overflow('hasOverflow')}
|
|
72344
72345
|
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
@@ -72347,7 +72348,7 @@ focus outline in that case.
|
|
|
72347
72348
|
</span>
|
|
72348
72349
|
`;
|
|
72349
72350
|
|
|
72350
|
-
const styles$
|
|
72351
|
+
const styles$i = css `
|
|
72351
72352
|
${display$1('flex')}
|
|
72352
72353
|
|
|
72353
72354
|
span {
|
|
@@ -72371,8 +72372,8 @@ focus outline in that case.
|
|
|
72371
72372
|
}
|
|
72372
72373
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
72373
72374
|
baseName: 'table-column-text-group-header-view',
|
|
72374
|
-
template: template$
|
|
72375
|
-
styles: styles$
|
|
72375
|
+
template: template$i,
|
|
72376
|
+
styles: styles$i
|
|
72376
72377
|
});
|
|
72377
72378
|
DesignSystem.getOrCreate()
|
|
72378
72379
|
.withPrefix('nimble')
|
|
@@ -72624,8 +72625,8 @@ focus outline in that case.
|
|
|
72624
72625
|
], TableColumnAnchor.prototype, "download", void 0);
|
|
72625
72626
|
const nimbleTableColumnAnchor = TableColumnAnchor.compose({
|
|
72626
72627
|
baseName: 'table-column-anchor',
|
|
72627
|
-
template: template$
|
|
72628
|
-
styles: styles$
|
|
72628
|
+
template: template$k,
|
|
72629
|
+
styles: styles$k
|
|
72629
72630
|
});
|
|
72630
72631
|
DesignSystem.getOrCreate()
|
|
72631
72632
|
.withPrefix('nimble')
|
|
@@ -72677,8 +72678,8 @@ focus outline in that case.
|
|
|
72677
72678
|
}
|
|
72678
72679
|
const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
|
|
72679
72680
|
baseName: 'table-column-date-text-group-header-view',
|
|
72680
|
-
template: template$
|
|
72681
|
-
styles: styles$
|
|
72681
|
+
template: template$i,
|
|
72682
|
+
styles: styles$i
|
|
72682
72683
|
});
|
|
72683
72684
|
DesignSystem.getOrCreate()
|
|
72684
72685
|
.withPrefix('nimble')
|
|
@@ -72686,7 +72687,7 @@ focus outline in that case.
|
|
|
72686
72687
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
72687
72688
|
|
|
72688
72689
|
// prettier-ignore
|
|
72689
|
-
const template$
|
|
72690
|
+
const template$h = html `
|
|
72690
72691
|
<template
|
|
72691
72692
|
class="
|
|
72692
72693
|
${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
|
|
@@ -72702,7 +72703,7 @@ focus outline in that case.
|
|
|
72702
72703
|
</template>
|
|
72703
72704
|
`;
|
|
72704
72705
|
|
|
72705
|
-
const styles$
|
|
72706
|
+
const styles$h = css `
|
|
72706
72707
|
${display$1('flex')}
|
|
72707
72708
|
|
|
72708
72709
|
:host {
|
|
@@ -72804,8 +72805,8 @@ focus outline in that case.
|
|
|
72804
72805
|
}
|
|
72805
72806
|
const dateTextCellView = TableColumnDateTextCellView.compose({
|
|
72806
72807
|
baseName: 'table-column-date-text-cell-view',
|
|
72807
|
-
template: template$
|
|
72808
|
-
styles: styles$
|
|
72808
|
+
template: template$h,
|
|
72809
|
+
styles: styles$h
|
|
72809
72810
|
});
|
|
72810
72811
|
DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
|
|
72811
72812
|
const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
|
|
@@ -73063,8 +73064,8 @@ focus outline in that case.
|
|
|
73063
73064
|
], TableColumnDateText.prototype, "customHourCycle", void 0);
|
|
73064
73065
|
const nimbleTableColumnDateText = TableColumnDateText.compose({
|
|
73065
73066
|
baseName: 'table-column-date-text',
|
|
73066
|
-
template: template$
|
|
73067
|
-
styles: styles$
|
|
73067
|
+
template: template$k,
|
|
73068
|
+
styles: styles$k
|
|
73068
73069
|
});
|
|
73069
73070
|
DesignSystem.getOrCreate()
|
|
73070
73071
|
.withPrefix('nimble')
|
|
@@ -73080,8 +73081,8 @@ focus outline in that case.
|
|
|
73080
73081
|
}
|
|
73081
73082
|
const durationTextCellView = TableColumnDurationTextCellView.compose({
|
|
73082
73083
|
baseName: 'table-column-duration-text-cell-view',
|
|
73083
|
-
template: template$
|
|
73084
|
-
styles: styles$
|
|
73084
|
+
template: template$h,
|
|
73085
|
+
styles: styles$h
|
|
73085
73086
|
});
|
|
73086
73087
|
DesignSystem.getOrCreate()
|
|
73087
73088
|
.withPrefix('nimble')
|
|
@@ -73182,8 +73183,8 @@ focus outline in that case.
|
|
|
73182
73183
|
}
|
|
73183
73184
|
const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
|
|
73184
73185
|
baseName: 'table-column-duration-text-group-header-view',
|
|
73185
|
-
template: template$
|
|
73186
|
-
styles: styles$
|
|
73186
|
+
template: template$i,
|
|
73187
|
+
styles: styles$i
|
|
73187
73188
|
});
|
|
73188
73189
|
DesignSystem.getOrCreate()
|
|
73189
73190
|
.withPrefix('nimble')
|
|
@@ -73235,8 +73236,8 @@ focus outline in that case.
|
|
|
73235
73236
|
}
|
|
73236
73237
|
const nimbleTableColumnDurationText = TableColumnDurationText.compose({
|
|
73237
73238
|
baseName: 'table-column-duration-text',
|
|
73238
|
-
template: template$
|
|
73239
|
-
styles: styles$
|
|
73239
|
+
template: template$k,
|
|
73240
|
+
styles: styles$k
|
|
73240
73241
|
});
|
|
73241
73242
|
DesignSystem.getOrCreate()
|
|
73242
73243
|
.withPrefix('nimble')
|
|
@@ -73344,15 +73345,15 @@ focus outline in that case.
|
|
|
73344
73345
|
attr({ attribute: 'key-type' })
|
|
73345
73346
|
], TableColumnEnumBase.prototype, "keyType", void 0);
|
|
73346
73347
|
|
|
73347
|
-
const styles$
|
|
73348
|
-
${styles$
|
|
73348
|
+
const styles$g = css `
|
|
73349
|
+
${styles$k}
|
|
73349
73350
|
|
|
73350
73351
|
slot[name='mapping'] {
|
|
73351
73352
|
display: none;
|
|
73352
73353
|
}
|
|
73353
73354
|
`;
|
|
73354
73355
|
|
|
73355
|
-
const template$
|
|
73356
|
+
const template$g = html `${template$k}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
73356
73357
|
|
|
73357
73358
|
const enumBaseValidityFlagNames = [
|
|
73358
73359
|
'invalidMappingKeyValueForType',
|
|
@@ -73438,7 +73439,7 @@ focus outline in that case.
|
|
|
73438
73439
|
}
|
|
73439
73440
|
}
|
|
73440
73441
|
|
|
73441
|
-
const styles$
|
|
73442
|
+
const styles$f = css `
|
|
73442
73443
|
${display$1('inline-flex')}
|
|
73443
73444
|
|
|
73444
73445
|
:host {
|
|
@@ -73463,7 +73464,7 @@ focus outline in that case.
|
|
|
73463
73464
|
`;
|
|
73464
73465
|
|
|
73465
73466
|
// prettier-ignore
|
|
73466
|
-
const template$
|
|
73467
|
+
const template$f = html `
|
|
73467
73468
|
${when(x => x.visualizationTemplate, html `
|
|
73468
73469
|
<span class="reserve-icon-size">
|
|
73469
73470
|
${x => x.visualizationTemplate}
|
|
@@ -73607,15 +73608,15 @@ focus outline in that case.
|
|
|
73607
73608
|
], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
|
|
73608
73609
|
const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
|
|
73609
73610
|
baseName: 'table-column-mapping-group-header-view',
|
|
73610
|
-
template: template$
|
|
73611
|
-
styles: styles$
|
|
73611
|
+
template: template$f,
|
|
73612
|
+
styles: styles$f
|
|
73612
73613
|
});
|
|
73613
73614
|
DesignSystem.getOrCreate()
|
|
73614
73615
|
.withPrefix('nimble')
|
|
73615
73616
|
.register(mappingGroupHeaderView());
|
|
73616
73617
|
const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
|
|
73617
73618
|
|
|
73618
|
-
const styles$
|
|
73619
|
+
const styles$e = css `
|
|
73619
73620
|
${display$1('inline-flex')}
|
|
73620
73621
|
|
|
73621
73622
|
:host {
|
|
@@ -73640,7 +73641,7 @@ focus outline in that case.
|
|
|
73640
73641
|
`;
|
|
73641
73642
|
|
|
73642
73643
|
// prettier-ignore
|
|
73643
|
-
const template$
|
|
73644
|
+
const template$e = html `
|
|
73644
73645
|
${when(x => x.visualizationTemplate, html `
|
|
73645
73646
|
<span class="reserve-icon-size">
|
|
73646
73647
|
${x => x.visualizationTemplate}
|
|
@@ -73727,8 +73728,8 @@ focus outline in that case.
|
|
|
73727
73728
|
], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
|
|
73728
73729
|
const mappingCellView = TableColumnMappingCellView.compose({
|
|
73729
73730
|
baseName: 'table-column-mapping-cell-view',
|
|
73730
|
-
template: template$
|
|
73731
|
-
styles: styles$
|
|
73731
|
+
template: template$e,
|
|
73732
|
+
styles: styles$e
|
|
73732
73733
|
});
|
|
73733
73734
|
DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
|
|
73734
73735
|
const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
|
|
@@ -73811,16 +73812,16 @@ focus outline in that case.
|
|
|
73811
73812
|
], TableColumnMapping.prototype, "widthMode", void 0);
|
|
73812
73813
|
const nimbleTableColumnMapping = TableColumnMapping.compose({
|
|
73813
73814
|
baseName: 'table-column-mapping',
|
|
73814
|
-
template: template$
|
|
73815
|
-
styles: styles$
|
|
73815
|
+
template: template$g,
|
|
73816
|
+
styles: styles$g
|
|
73816
73817
|
});
|
|
73817
73818
|
DesignSystem.getOrCreate()
|
|
73818
73819
|
.withPrefix('nimble')
|
|
73819
73820
|
.register(nimbleTableColumnMapping());
|
|
73820
73821
|
|
|
73821
|
-
const template$
|
|
73822
|
+
const template$d = html `
|
|
73822
73823
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
73823
|
-
>${template$
|
|
73824
|
+
>${template$k}</template
|
|
73824
73825
|
>
|
|
73825
73826
|
`;
|
|
73826
73827
|
|
|
@@ -73828,7 +73829,7 @@ focus outline in that case.
|
|
|
73828
73829
|
const cellViewMenuSlotName = 'menu-button-menu';
|
|
73829
73830
|
|
|
73830
73831
|
// prettier-ignore
|
|
73831
|
-
const template$
|
|
73832
|
+
const template$c = html `
|
|
73832
73833
|
${when(x => x.showMenuButton, html `
|
|
73833
73834
|
<${menuButtonTag}
|
|
73834
73835
|
${ref('menuButton')}
|
|
@@ -73847,7 +73848,7 @@ focus outline in that case.
|
|
|
73847
73848
|
`)}
|
|
73848
73849
|
`;
|
|
73849
73850
|
|
|
73850
|
-
const styles$
|
|
73851
|
+
const styles$d = css `
|
|
73851
73852
|
:host {
|
|
73852
73853
|
align-self: center;
|
|
73853
73854
|
width: 100%;
|
|
@@ -73922,8 +73923,8 @@ focus outline in that case.
|
|
|
73922
73923
|
], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
|
|
73923
73924
|
const menuButtonCellView = TableColumnMenuButtonCellView.compose({
|
|
73924
73925
|
baseName: 'table-column-menu-button-cell-view',
|
|
73925
|
-
template: template$
|
|
73926
|
-
styles: styles$
|
|
73926
|
+
template: template$c,
|
|
73927
|
+
styles: styles$d
|
|
73927
73928
|
});
|
|
73928
73929
|
DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
|
|
73929
73930
|
const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
|
|
@@ -73978,8 +73979,8 @@ focus outline in that case.
|
|
|
73978
73979
|
], TableColumnMenuButton.prototype, "menuSlot", void 0);
|
|
73979
73980
|
const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
|
|
73980
73981
|
baseName: 'table-column-menu-button',
|
|
73981
|
-
template: template$
|
|
73982
|
-
styles: styles$
|
|
73982
|
+
template: template$d,
|
|
73983
|
+
styles: styles$k
|
|
73983
73984
|
});
|
|
73984
73985
|
DesignSystem.getOrCreate()
|
|
73985
73986
|
.withPrefix('nimble')
|
|
@@ -73988,7 +73989,7 @@ focus outline in that case.
|
|
|
73988
73989
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
73989
73990
|
// so the template can be composed into other column header templates
|
|
73990
73991
|
// prettier-ignore
|
|
73991
|
-
const template$
|
|
73992
|
+
const template$b = html `<span
|
|
73992
73993
|
${overflow('hasOverflow')}
|
|
73993
73994
|
class="header-content"
|
|
73994
73995
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -74007,8 +74008,8 @@ focus outline in that case.
|
|
|
74007
74008
|
}
|
|
74008
74009
|
const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
|
|
74009
74010
|
baseName: 'table-column-number-text-group-header-view',
|
|
74010
|
-
template: template$
|
|
74011
|
-
styles: styles$
|
|
74011
|
+
template: template$i,
|
|
74012
|
+
styles: styles$i
|
|
74012
74013
|
});
|
|
74013
74014
|
DesignSystem.getOrCreate()
|
|
74014
74015
|
.withPrefix('nimble')
|
|
@@ -74029,8 +74030,8 @@ focus outline in that case.
|
|
|
74029
74030
|
}
|
|
74030
74031
|
const numberTextCellView = TableColumnNumberTextCellView.compose({
|
|
74031
74032
|
baseName: 'table-column-number-text-cell-view',
|
|
74032
|
-
template: template$
|
|
74033
|
-
styles: styles$
|
|
74033
|
+
template: template$h,
|
|
74034
|
+
styles: styles$h
|
|
74034
74035
|
});
|
|
74035
74036
|
DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
|
|
74036
74037
|
const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
|
|
@@ -74570,8 +74571,8 @@ focus outline in that case.
|
|
|
74570
74571
|
], TableColumnNumberText.prototype, "unit", void 0);
|
|
74571
74572
|
const nimbleTableColumnNumberText = TableColumnNumberText.compose({
|
|
74572
74573
|
baseName: 'table-column-number-text',
|
|
74573
|
-
template: template$
|
|
74574
|
-
styles: styles$
|
|
74574
|
+
template: template$b,
|
|
74575
|
+
styles: styles$k
|
|
74575
74576
|
});
|
|
74576
74577
|
DesignSystem.getOrCreate()
|
|
74577
74578
|
.withPrefix('nimble')
|
|
@@ -74589,8 +74590,8 @@ focus outline in that case.
|
|
|
74589
74590
|
}
|
|
74590
74591
|
const textCellView = TableColumnTextCellView.compose({
|
|
74591
74592
|
baseName: 'table-column-text-cell-view',
|
|
74592
|
-
template: template$
|
|
74593
|
-
styles: styles$
|
|
74593
|
+
template: template$h,
|
|
74594
|
+
styles: styles$h
|
|
74594
74595
|
});
|
|
74595
74596
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
|
|
74596
74597
|
const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
|
|
@@ -74644,15 +74645,15 @@ focus outline in that case.
|
|
|
74644
74645
|
}
|
|
74645
74646
|
const nimbleTableColumnText = TableColumnText.compose({
|
|
74646
74647
|
baseName: 'table-column-text',
|
|
74647
|
-
template: template$
|
|
74648
|
-
styles: styles$
|
|
74648
|
+
template: template$k,
|
|
74649
|
+
styles: styles$k
|
|
74649
74650
|
});
|
|
74650
74651
|
DesignSystem.getOrCreate()
|
|
74651
74652
|
.withPrefix('nimble')
|
|
74652
74653
|
.register(nimbleTableColumnText());
|
|
74653
74654
|
|
|
74654
|
-
const styles$
|
|
74655
|
-
${styles
|
|
74655
|
+
const styles$c = css `
|
|
74656
|
+
${styles$$}
|
|
74656
74657
|
|
|
74657
74658
|
.tabpanel {
|
|
74658
74659
|
overflow: auto;
|
|
@@ -74733,12 +74734,12 @@ focus outline in that case.
|
|
|
74733
74734
|
const nimbleTabs = Tabs.compose({
|
|
74734
74735
|
baseName: 'tabs',
|
|
74735
74736
|
baseClass: Tabs$1,
|
|
74736
|
-
template: template$
|
|
74737
|
-
styles: styles$
|
|
74737
|
+
template: template$L,
|
|
74738
|
+
styles: styles$c
|
|
74738
74739
|
});
|
|
74739
74740
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
74740
74741
|
|
|
74741
|
-
const styles$
|
|
74742
|
+
const styles$b = css `
|
|
74742
74743
|
${display$1('flex')}
|
|
74743
74744
|
|
|
74744
74745
|
:host {
|
|
@@ -74772,7 +74773,7 @@ focus outline in that case.
|
|
|
74772
74773
|
|
|
74773
74774
|
/* eslint-disable @typescript-eslint/indent */
|
|
74774
74775
|
// prettier-ignore
|
|
74775
|
-
const template$
|
|
74776
|
+
const template$a = (context, definition) => html `
|
|
74776
74777
|
<template slot="end">
|
|
74777
74778
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
74778
74779
|
<div class="separator"></div>
|
|
@@ -74804,8 +74805,8 @@ focus outline in that case.
|
|
|
74804
74805
|
], TabsToolbar.prototype, "defaultSlottedElements", void 0);
|
|
74805
74806
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
74806
74807
|
baseName: 'tabs-toolbar',
|
|
74807
|
-
template: template$
|
|
74808
|
-
styles: styles$
|
|
74808
|
+
template: template$a,
|
|
74809
|
+
styles: styles$b
|
|
74809
74810
|
});
|
|
74810
74811
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
74811
74812
|
applyMixins(TabsToolbar, StartEnd);
|
|
@@ -74815,10 +74816,10 @@ focus outline in that case.
|
|
|
74815
74816
|
block: 'block'
|
|
74816
74817
|
};
|
|
74817
74818
|
|
|
74818
|
-
const styles$
|
|
74819
|
+
const styles$a = css `
|
|
74819
74820
|
${display$1('inline-flex')}
|
|
74820
|
-
${styles$
|
|
74821
|
-
${styles$
|
|
74821
|
+
${styles$R}
|
|
74822
|
+
${styles$N}
|
|
74822
74823
|
|
|
74823
74824
|
:host {
|
|
74824
74825
|
font: ${bodyFont};
|
|
@@ -75010,7 +75011,7 @@ focus outline in that case.
|
|
|
75010
75011
|
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
75011
75012
|
</label>
|
|
75012
75013
|
`);
|
|
75013
|
-
const template$
|
|
75014
|
+
const template$9 = () => html `
|
|
75014
75015
|
${labelTemplate$1}
|
|
75015
75016
|
<div class="container">
|
|
75016
75017
|
<textarea
|
|
@@ -75158,8 +75159,8 @@ focus outline in that case.
|
|
|
75158
75159
|
const nimbleTextArea = TextArea.compose({
|
|
75159
75160
|
baseName: 'text-area',
|
|
75160
75161
|
baseClass: TextArea$1,
|
|
75161
|
-
template: template$
|
|
75162
|
-
styles: styles$
|
|
75162
|
+
template: template$9,
|
|
75163
|
+
styles: styles$a,
|
|
75163
75164
|
shadowOptions: {
|
|
75164
75165
|
delegatesFocus: true
|
|
75165
75166
|
}
|
|
@@ -75177,10 +75178,10 @@ focus outline in that case.
|
|
|
75177
75178
|
};
|
|
75178
75179
|
|
|
75179
75180
|
// prettier-ignore
|
|
75180
|
-
const styles$
|
|
75181
|
+
const styles$9 = css `
|
|
75181
75182
|
${display$1('inline-block')}
|
|
75182
|
-
${styles$
|
|
75183
|
-
${styles$
|
|
75183
|
+
${styles$R}
|
|
75184
|
+
${styles$N}
|
|
75184
75185
|
|
|
75185
75186
|
:host {
|
|
75186
75187
|
font: ${bodyFont};
|
|
@@ -75454,7 +75455,7 @@ focus outline in that case.
|
|
|
75454
75455
|
* The template for the {@link @ni/fast-foundation#(TextField:class)} component.
|
|
75455
75456
|
* @public
|
|
75456
75457
|
*/
|
|
75457
|
-
const template$
|
|
75458
|
+
const template$8 = (context, definition) => html `
|
|
75458
75459
|
<template
|
|
75459
75460
|
class="
|
|
75460
75461
|
${x => (x.readOnly ? 'readonly' : '')}
|
|
@@ -75539,8 +75540,8 @@ focus outline in that case.
|
|
|
75539
75540
|
const nimbleTextField = TextField.compose({
|
|
75540
75541
|
baseName: 'text-field',
|
|
75541
75542
|
baseClass: TextField$1,
|
|
75542
|
-
template: template$
|
|
75543
|
-
styles: styles$
|
|
75543
|
+
template: template$8,
|
|
75544
|
+
styles: styles$9,
|
|
75544
75545
|
shadowOptions: {
|
|
75545
75546
|
delegatesFocus: true
|
|
75546
75547
|
},
|
|
@@ -75557,7 +75558,7 @@ focus outline in that case.
|
|
|
75557
75558
|
});
|
|
75558
75559
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
75559
75560
|
|
|
75560
|
-
const styles$
|
|
75561
|
+
const styles$8 = css `
|
|
75561
75562
|
${display$1('inline-flex')}
|
|
75562
75563
|
|
|
75563
75564
|
:host {
|
|
@@ -75644,7 +75645,7 @@ focus outline in that case.
|
|
|
75644
75645
|
`));
|
|
75645
75646
|
|
|
75646
75647
|
// prettier-ignore
|
|
75647
|
-
const template$
|
|
75648
|
+
const template$7 = html `
|
|
75648
75649
|
${when(x => x.tooltipVisible, html `
|
|
75649
75650
|
<${anchoredRegionTag}
|
|
75650
75651
|
class="anchored-region"
|
|
@@ -75696,8 +75697,8 @@ focus outline in that case.
|
|
|
75696
75697
|
const nimbleTooltip = Tooltip.compose({
|
|
75697
75698
|
baseName: 'tooltip',
|
|
75698
75699
|
baseClass: Tooltip$1,
|
|
75699
|
-
template: template$
|
|
75700
|
-
styles: styles$
|
|
75700
|
+
template: template$7,
|
|
75701
|
+
styles: styles$8
|
|
75701
75702
|
});
|
|
75702
75703
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
75703
75704
|
|
|
@@ -75785,7 +75786,7 @@ focus outline in that case.
|
|
|
75785
75786
|
}
|
|
75786
75787
|
}
|
|
75787
75788
|
|
|
75788
|
-
const styles$
|
|
75789
|
+
const styles$7 = css `
|
|
75789
75790
|
${display$1('block')}
|
|
75790
75791
|
|
|
75791
75792
|
:host {
|
|
@@ -76002,12 +76003,12 @@ focus outline in that case.
|
|
|
76002
76003
|
baseName: 'tree-item',
|
|
76003
76004
|
baseClass: TreeItem$1,
|
|
76004
76005
|
template: treeItemTemplate,
|
|
76005
|
-
styles: styles$
|
|
76006
|
+
styles: styles$7,
|
|
76006
76007
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
76007
76008
|
});
|
|
76008
76009
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
76009
76010
|
|
|
76010
|
-
const styles$
|
|
76011
|
+
const styles$6 = css `
|
|
76011
76012
|
${display$1('flex')}
|
|
76012
76013
|
|
|
76013
76014
|
:host {
|
|
@@ -76022,7 +76023,7 @@ focus outline in that case.
|
|
|
76022
76023
|
`;
|
|
76023
76024
|
|
|
76024
76025
|
// prettier-ignore
|
|
76025
|
-
const template$
|
|
76026
|
+
const template$6 = html `
|
|
76026
76027
|
<template
|
|
76027
76028
|
role="tree"
|
|
76028
76029
|
${ref('treeView')}
|
|
@@ -76118,12 +76119,12 @@ focus outline in that case.
|
|
|
76118
76119
|
const nimbleTreeView = TreeView.compose({
|
|
76119
76120
|
baseName: 'tree-view',
|
|
76120
76121
|
baseClass: TreeView$1,
|
|
76121
|
-
template: template$
|
|
76122
|
-
styles: styles$
|
|
76122
|
+
template: template$6,
|
|
76123
|
+
styles: styles$6
|
|
76123
76124
|
});
|
|
76124
76125
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
76125
76126
|
|
|
76126
|
-
const template$
|
|
76127
|
+
const template$5 = html `<template slot="unit"></template>`;
|
|
76127
76128
|
|
|
76128
76129
|
/**
|
|
76129
76130
|
* Representations of a unit in a particular language
|
|
@@ -76237,7 +76238,7 @@ focus outline in that case.
|
|
|
76237
76238
|
}
|
|
76238
76239
|
const byteUnitScale = new ByteUnitScale();
|
|
76239
76240
|
|
|
76240
|
-
const styles$
|
|
76241
|
+
const styles$5 = css `
|
|
76241
76242
|
${display$1('none')}
|
|
76242
76243
|
`;
|
|
76243
76244
|
|
|
@@ -76265,8 +76266,8 @@ focus outline in that case.
|
|
|
76265
76266
|
], UnitByte.prototype, "binary", void 0);
|
|
76266
76267
|
const nimbleUnitByte = UnitByte.compose({
|
|
76267
76268
|
baseName: 'unit-byte',
|
|
76268
|
-
template: template$
|
|
76269
|
-
styles: styles$
|
|
76269
|
+
template: template$5,
|
|
76270
|
+
styles: styles$5
|
|
76270
76271
|
});
|
|
76271
76272
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
|
|
76272
76273
|
|
|
@@ -76318,8 +76319,8 @@ focus outline in that case.
|
|
|
76318
76319
|
}
|
|
76319
76320
|
const nimbleUnitVolt = UnitVolt.compose({
|
|
76320
76321
|
baseName: 'unit-volt',
|
|
76321
|
-
template: template$
|
|
76322
|
-
styles: styles$
|
|
76322
|
+
template: template$5,
|
|
76323
|
+
styles: styles$5
|
|
76323
76324
|
});
|
|
76324
76325
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
|
|
76325
76326
|
|
|
@@ -90403,7 +90404,7 @@ focus outline in that case.
|
|
|
90403
90404
|
return new Table(reader.readAll());
|
|
90404
90405
|
}
|
|
90405
90406
|
|
|
90406
|
-
const template$
|
|
90407
|
+
const template$4 = html `
|
|
90407
90408
|
<div class="wafer-map-container">
|
|
90408
90409
|
<svg class="svg-root">
|
|
90409
90410
|
<g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
|
|
@@ -90436,7 +90437,7 @@ focus outline in that case.
|
|
|
90436
90437
|
</div>
|
|
90437
90438
|
`;
|
|
90438
90439
|
|
|
90439
|
-
const styles$
|
|
90440
|
+
const styles$4 = css `
|
|
90440
90441
|
${display$1('inline-block')}
|
|
90441
90442
|
|
|
90442
90443
|
:host {
|
|
@@ -93463,8 +93464,8 @@ focus outline in that case.
|
|
|
93463
93464
|
], WaferMap.prototype, "colorScale", void 0);
|
|
93464
93465
|
const nimbleWaferMap = WaferMap.compose({
|
|
93465
93466
|
baseName: 'wafer-map',
|
|
93466
|
-
template: template$
|
|
93467
|
-
styles: styles$
|
|
93467
|
+
template: template$4,
|
|
93468
|
+
styles: styles$4
|
|
93468
93469
|
});
|
|
93469
93470
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
93470
93471
|
|
|
@@ -93476,11 +93477,17 @@ focus outline in that case.
|
|
|
93476
93477
|
*/
|
|
93477
93478
|
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;}`;
|
|
93478
93479
|
|
|
93479
|
-
const styles$
|
|
93480
|
+
const styles$3 = css `
|
|
93480
93481
|
${display('flex')}
|
|
93481
93482
|
|
|
93482
93483
|
:host {
|
|
93483
93484
|
flex-direction: column;
|
|
93485
|
+
}
|
|
93486
|
+
|
|
93487
|
+
.messages {
|
|
93488
|
+
flex: 1;
|
|
93489
|
+
display: flex;
|
|
93490
|
+
flex-direction: column;
|
|
93484
93491
|
justify-content: flex-start;
|
|
93485
93492
|
row-gap: 32px;
|
|
93486
93493
|
padding: ${mediumPadding};
|
|
@@ -93491,7 +93498,9 @@ focus outline in that case.
|
|
|
93491
93498
|
|
|
93492
93499
|
/* eslint-disable @typescript-eslint/indent */
|
|
93493
93500
|
// prettier-ignore
|
|
93494
|
-
const template$
|
|
93501
|
+
const template$3 = html `
|
|
93502
|
+
<div class="messages"><slot></slot></div>
|
|
93503
|
+
<div class="input"><slot name="input"></slot></div>`;
|
|
93495
93504
|
/* eslint-enable @typescript-eslint/indent */
|
|
93496
93505
|
|
|
93497
93506
|
/**
|
|
@@ -93501,13 +93510,185 @@ focus outline in that case.
|
|
|
93501
93510
|
}
|
|
93502
93511
|
const sprightChatConversation = ChatConversation.compose({
|
|
93503
93512
|
baseName: 'chat-conversation',
|
|
93504
|
-
template: template$
|
|
93505
|
-
styles: styles$
|
|
93513
|
+
template: template$3,
|
|
93514
|
+
styles: styles$3
|
|
93506
93515
|
});
|
|
93507
93516
|
DesignSystem.getOrCreate()
|
|
93508
93517
|
.withPrefix('spright')
|
|
93509
93518
|
.register(sprightChatConversation());
|
|
93510
93519
|
|
|
93520
|
+
const styles$2 = css `
|
|
93521
|
+
${display('flex')}
|
|
93522
|
+
|
|
93523
|
+
:host {
|
|
93524
|
+
width: 100%;
|
|
93525
|
+
height: auto;
|
|
93526
|
+
}
|
|
93527
|
+
|
|
93528
|
+
.container {
|
|
93529
|
+
display: grid;
|
|
93530
|
+
grid-template-rows: auto 1fr;
|
|
93531
|
+
grid-template-columns: 1fr auto;
|
|
93532
|
+
width: 100%;
|
|
93533
|
+
height: 100%;
|
|
93534
|
+
|
|
93535
|
+
background-color: ${applicationBackgroundColor};
|
|
93536
|
+
border: ${borderWidth} solid ${popupBorderColor};
|
|
93537
|
+
box-shadow: ${elevation2BoxShadow};
|
|
93538
|
+
}
|
|
93539
|
+
|
|
93540
|
+
textarea {
|
|
93541
|
+
grid-row: 1;
|
|
93542
|
+
grid-column: 1 / 3;
|
|
93543
|
+
|
|
93544
|
+
font: ${bodyFont};
|
|
93545
|
+
color: ${bodyFontColor};
|
|
93546
|
+
background-color: transparent;
|
|
93547
|
+
|
|
93548
|
+
width: 100%;
|
|
93549
|
+
resize: none;
|
|
93550
|
+
height: auto;
|
|
93551
|
+
max-height: calc(6lh + 2 * ${mediumPadding});
|
|
93552
|
+
field-sizing: content;
|
|
93553
|
+
|
|
93554
|
+
border-width: 0px;
|
|
93555
|
+
outline: none;
|
|
93556
|
+
padding: ${mediumPadding};
|
|
93557
|
+
}
|
|
93558
|
+
|
|
93559
|
+
textarea::placeholder {
|
|
93560
|
+
color: ${controlLabelFontColor};
|
|
93561
|
+
}
|
|
93562
|
+
|
|
93563
|
+
.send-button {
|
|
93564
|
+
grid-row: 2;
|
|
93565
|
+
grid-column: 2;
|
|
93566
|
+
width: 80px;
|
|
93567
|
+
margin: ${mediumPadding};
|
|
93568
|
+
}
|
|
93569
|
+
`;
|
|
93570
|
+
|
|
93571
|
+
/* eslint-disable @typescript-eslint/indent */
|
|
93572
|
+
// prettier-ignore
|
|
93573
|
+
const template$2 = html `
|
|
93574
|
+
<div class="container">
|
|
93575
|
+
<textarea
|
|
93576
|
+
${ref('textArea')}
|
|
93577
|
+
placeholder="${x => x.placeholder}"
|
|
93578
|
+
rows="1"
|
|
93579
|
+
@keydown="${(x, c) => x.textAreaKeydownHandler(c.event)}"
|
|
93580
|
+
@input="${x => x.textAreaInputHandler()}"
|
|
93581
|
+
></textarea>
|
|
93582
|
+
<${buttonTag}
|
|
93583
|
+
class="send-button"
|
|
93584
|
+
appearance="block"
|
|
93585
|
+
appearance-variant="accent"
|
|
93586
|
+
?disabled=${x => x.disableSendButton}
|
|
93587
|
+
@click=${x => x.sendButtonClickHandler()}
|
|
93588
|
+
title=${x => x.sendButtonLabel}
|
|
93589
|
+
content-hidden
|
|
93590
|
+
>
|
|
93591
|
+
${x => x.sendButtonLabel}
|
|
93592
|
+
<${iconPaperPlaneTag} slot="start"><${iconPaperPlaneTag}/>
|
|
93593
|
+
</${buttonTag}>
|
|
93594
|
+
</div>`;
|
|
93595
|
+
/* eslint-enable @typescript-eslint/indent */
|
|
93596
|
+
|
|
93597
|
+
/**
|
|
93598
|
+
* A Spright component for composing and sending a chat message
|
|
93599
|
+
*/
|
|
93600
|
+
class ChatInput extends FoundationElement {
|
|
93601
|
+
constructor() {
|
|
93602
|
+
super(...arguments);
|
|
93603
|
+
this.value = '';
|
|
93604
|
+
/**
|
|
93605
|
+
* @internal
|
|
93606
|
+
*/
|
|
93607
|
+
this.disableSendButton = true;
|
|
93608
|
+
}
|
|
93609
|
+
/**
|
|
93610
|
+
* Clears the text input and gives it focus.
|
|
93611
|
+
*/
|
|
93612
|
+
resetInput() {
|
|
93613
|
+
this.value = '';
|
|
93614
|
+
this.disableSendButton = true;
|
|
93615
|
+
if (this.textArea) {
|
|
93616
|
+
this.textArea.value = '';
|
|
93617
|
+
this.textArea.focus();
|
|
93618
|
+
}
|
|
93619
|
+
}
|
|
93620
|
+
/**
|
|
93621
|
+
* @internal
|
|
93622
|
+
*/
|
|
93623
|
+
textAreaKeydownHandler(e) {
|
|
93624
|
+
if (e.key === keyEnter && !e.shiftKey) {
|
|
93625
|
+
this.sendButtonClickHandler();
|
|
93626
|
+
return false;
|
|
93627
|
+
}
|
|
93628
|
+
return true;
|
|
93629
|
+
}
|
|
93630
|
+
/**
|
|
93631
|
+
* @internal
|
|
93632
|
+
*/
|
|
93633
|
+
textAreaInputHandler() {
|
|
93634
|
+
this.value = this.textArea.value;
|
|
93635
|
+
this.disableSendButton = this.shouldDisableSendButton();
|
|
93636
|
+
}
|
|
93637
|
+
/**
|
|
93638
|
+
* @internal
|
|
93639
|
+
*/
|
|
93640
|
+
valueChanged() {
|
|
93641
|
+
if (this.textArea) {
|
|
93642
|
+
this.textArea.value = this.value;
|
|
93643
|
+
this.disableSendButton = this.shouldDisableSendButton();
|
|
93644
|
+
}
|
|
93645
|
+
}
|
|
93646
|
+
/**
|
|
93647
|
+
* @internal
|
|
93648
|
+
*/
|
|
93649
|
+
connectedCallback() {
|
|
93650
|
+
super.connectedCallback();
|
|
93651
|
+
this.textArea.value = this.value;
|
|
93652
|
+
this.disableSendButton = this.shouldDisableSendButton();
|
|
93653
|
+
}
|
|
93654
|
+
/**
|
|
93655
|
+
* @internal
|
|
93656
|
+
*/
|
|
93657
|
+
sendButtonClickHandler() {
|
|
93658
|
+
if (this.shouldDisableSendButton()) {
|
|
93659
|
+
return;
|
|
93660
|
+
}
|
|
93661
|
+
const eventDetail = {
|
|
93662
|
+
text: this.textArea.value
|
|
93663
|
+
};
|
|
93664
|
+
this.$emit('send', eventDetail);
|
|
93665
|
+
}
|
|
93666
|
+
shouldDisableSendButton() {
|
|
93667
|
+
return this.textArea.value.length === 0;
|
|
93668
|
+
}
|
|
93669
|
+
}
|
|
93670
|
+
__decorate([
|
|
93671
|
+
attr
|
|
93672
|
+
], ChatInput.prototype, "placeholder", void 0);
|
|
93673
|
+
__decorate([
|
|
93674
|
+
attr({ attribute: 'send-button-label' })
|
|
93675
|
+
], ChatInput.prototype, "sendButtonLabel", void 0);
|
|
93676
|
+
__decorate([
|
|
93677
|
+
attr
|
|
93678
|
+
], ChatInput.prototype, "value", void 0);
|
|
93679
|
+
__decorate([
|
|
93680
|
+
observable
|
|
93681
|
+
], ChatInput.prototype, "textArea", void 0);
|
|
93682
|
+
__decorate([
|
|
93683
|
+
observable
|
|
93684
|
+
], ChatInput.prototype, "disableSendButton", void 0);
|
|
93685
|
+
const sprightChatInput = ChatInput.compose({
|
|
93686
|
+
baseName: 'chat-input',
|
|
93687
|
+
template: template$2,
|
|
93688
|
+
styles: styles$2
|
|
93689
|
+
});
|
|
93690
|
+
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatInput());
|
|
93691
|
+
|
|
93511
93692
|
/**
|
|
93512
93693
|
* A message type in a chat conversation.
|
|
93513
93694
|
* @public
|