@ni/ok-components 0.4.0 → 0.4.2
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.
|
@@ -14898,9 +14898,9 @@
|
|
|
14898
14898
|
const prefix = 'ni-nimble';
|
|
14899
14899
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
14900
14900
|
|
|
14901
|
-
const template$
|
|
14901
|
+
const template$12 = html `<slot></slot>`;
|
|
14902
14902
|
|
|
14903
|
-
const styles$
|
|
14903
|
+
const styles$1p = css `
|
|
14904
14904
|
${display$2('contents')}
|
|
14905
14905
|
`;
|
|
14906
14906
|
|
|
@@ -15015,8 +15015,8 @@
|
|
|
15015
15015
|
], ThemeProvider.prototype, "theme", void 0);
|
|
15016
15016
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
15017
15017
|
baseName: 'theme-provider',
|
|
15018
|
-
styles: styles$
|
|
15019
|
-
template: template$
|
|
15018
|
+
styles: styles$1p,
|
|
15019
|
+
template: template$12
|
|
15020
15020
|
});
|
|
15021
15021
|
DesignSystem.getOrCreate()
|
|
15022
15022
|
.withPrefix('nimble')
|
|
@@ -16658,7 +16658,7 @@
|
|
|
16658
16658
|
}
|
|
16659
16659
|
// #endregion
|
|
16660
16660
|
|
|
16661
|
-
const styles$
|
|
16661
|
+
const styles$1o = css `
|
|
16662
16662
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
16663
16663
|
|
|
16664
16664
|
@layer base {
|
|
@@ -16736,7 +16736,7 @@
|
|
|
16736
16736
|
}
|
|
16737
16737
|
`;
|
|
16738
16738
|
|
|
16739
|
-
const template
|
|
16739
|
+
const template$11 = (_context, definition) => html `${
|
|
16740
16740
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16741
16741
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
16742
16742
|
*/ ''}<div
|
|
@@ -16839,8 +16839,8 @@
|
|
|
16839
16839
|
const nimbleAnchor = Anchor.compose({
|
|
16840
16840
|
baseName: 'anchor',
|
|
16841
16841
|
baseClass: Anchor$1,
|
|
16842
|
-
template: template
|
|
16843
|
-
styles: styles$
|
|
16842
|
+
template: template$11,
|
|
16843
|
+
styles: styles$1o,
|
|
16844
16844
|
shadowOptions: {
|
|
16845
16845
|
delegatesFocus: true
|
|
16846
16846
|
}
|
|
@@ -16949,7 +16949,7 @@
|
|
|
16949
16949
|
padding: 0;
|
|
16950
16950
|
`;
|
|
16951
16951
|
|
|
16952
|
-
const styles$
|
|
16952
|
+
const styles$1n = css `
|
|
16953
16953
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
16954
16954
|
|
|
16955
16955
|
@layer base {
|
|
@@ -17233,8 +17233,8 @@
|
|
|
17233
17233
|
}
|
|
17234
17234
|
`));
|
|
17235
17235
|
|
|
17236
|
-
const styles$
|
|
17237
|
-
${styles$
|
|
17236
|
+
const styles$1m = css `
|
|
17237
|
+
${styles$1n}
|
|
17238
17238
|
${buttonAppearanceVariantStyles}
|
|
17239
17239
|
|
|
17240
17240
|
.control {
|
|
@@ -17254,7 +17254,7 @@
|
|
|
17254
17254
|
}
|
|
17255
17255
|
`;
|
|
17256
17256
|
|
|
17257
|
-
const template$
|
|
17257
|
+
const template$10 = (context, definition) => html `
|
|
17258
17258
|
<a
|
|
17259
17259
|
class="control"
|
|
17260
17260
|
part="control"
|
|
@@ -17336,8 +17336,8 @@
|
|
|
17336
17336
|
], AnchorButton.prototype, "disabled", void 0);
|
|
17337
17337
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17338
17338
|
baseName: 'anchor-button',
|
|
17339
|
-
template: template$
|
|
17340
|
-
styles: styles$
|
|
17339
|
+
template: template$10,
|
|
17340
|
+
styles: styles$1m,
|
|
17341
17341
|
shadowOptions: {
|
|
17342
17342
|
delegatesFocus: true
|
|
17343
17343
|
}
|
|
@@ -17345,7 +17345,7 @@
|
|
|
17345
17345
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17346
17346
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17347
17347
|
|
|
17348
|
-
const styles$
|
|
17348
|
+
const styles$1l = css `
|
|
17349
17349
|
${display$2('grid')}
|
|
17350
17350
|
|
|
17351
17351
|
:host {
|
|
@@ -17428,7 +17428,7 @@
|
|
|
17428
17428
|
}
|
|
17429
17429
|
`;
|
|
17430
17430
|
|
|
17431
|
-
const template
|
|
17431
|
+
const template$$ = (context, definition) => html `
|
|
17432
17432
|
<template
|
|
17433
17433
|
role="menuitem"
|
|
17434
17434
|
class="${x => (typeof x.startColumnCount === 'number'
|
|
@@ -17529,8 +17529,8 @@
|
|
|
17529
17529
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17530
17530
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17531
17531
|
baseName: 'anchor-menu-item',
|
|
17532
|
-
template: template
|
|
17533
|
-
styles: styles$
|
|
17532
|
+
template: template$$,
|
|
17533
|
+
styles: styles$1l,
|
|
17534
17534
|
shadowOptions: {
|
|
17535
17535
|
delegatesFocus: true
|
|
17536
17536
|
}
|
|
@@ -17542,7 +17542,7 @@
|
|
|
17542
17542
|
|
|
17543
17543
|
// These styles end up inside a @layer block so must use the
|
|
17544
17544
|
// cssPartial tag instead of the css tag
|
|
17545
|
-
const styles$
|
|
17545
|
+
const styles$1k = cssPartial `
|
|
17546
17546
|
.severity-text {
|
|
17547
17547
|
display: none;
|
|
17548
17548
|
font: ${errorTextFont};
|
|
@@ -17652,12 +17652,12 @@
|
|
|
17652
17652
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
17653
17653
|
/* eslint-enable max-classes-per-file */
|
|
17654
17654
|
|
|
17655
|
-
const styles$
|
|
17655
|
+
const styles$1j = css `
|
|
17656
17656
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
17657
17657
|
|
|
17658
17658
|
@layer base {
|
|
17659
17659
|
${display$2('inline-flex')}
|
|
17660
|
-
${styles$
|
|
17660
|
+
${styles$1k}
|
|
17661
17661
|
:host {
|
|
17662
17662
|
color: ${buttonLabelFontColor};
|
|
17663
17663
|
font: ${buttonLabelFont};
|
|
@@ -18203,8 +18203,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
18203
18203
|
}
|
|
18204
18204
|
`));
|
|
18205
18205
|
|
|
18206
|
-
const styles$
|
|
18207
|
-
${styles$
|
|
18206
|
+
const styles$1i = css `
|
|
18207
|
+
${styles$1j}
|
|
18208
18208
|
${'' /* Anchor specific styles */}
|
|
18209
18209
|
@layer base {
|
|
18210
18210
|
.control {
|
|
@@ -19247,13 +19247,13 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19247
19247
|
};
|
|
19248
19248
|
|
|
19249
19249
|
// Avoiding any whitespace in the template because this is an inline element
|
|
19250
|
-
const template$
|
|
19250
|
+
const template$_ = html `<div
|
|
19251
19251
|
class="icon"
|
|
19252
19252
|
aria-hidden="true"
|
|
19253
19253
|
:innerHTML=${x => x.icon.data}
|
|
19254
19254
|
></div>`;
|
|
19255
19255
|
|
|
19256
|
-
const styles$
|
|
19256
|
+
const styles$1h = css `
|
|
19257
19257
|
${display$2('inline-flex')}
|
|
19258
19258
|
|
|
19259
19259
|
:host {
|
|
@@ -19316,8 +19316,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19316
19316
|
const registerIconSvg = (baseName, iconClass) => {
|
|
19317
19317
|
const composedIcon = iconClass.compose({
|
|
19318
19318
|
baseName,
|
|
19319
|
-
template: template$
|
|
19320
|
-
styles: styles$
|
|
19319
|
+
template: template$_,
|
|
19320
|
+
styles: styles$1h
|
|
19321
19321
|
});
|
|
19322
19322
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
19323
19323
|
};
|
|
@@ -19441,7 +19441,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19441
19441
|
*/
|
|
19442
19442
|
const StepperOrientation = Orientation;
|
|
19443
19443
|
|
|
19444
|
-
const template$
|
|
19444
|
+
const template$Z = (context, definition) => html `
|
|
19445
19445
|
<template slot="step">
|
|
19446
19446
|
<li class="
|
|
19447
19447
|
container
|
|
@@ -19565,9 +19565,10 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19565
19565
|
*/
|
|
19566
19566
|
onClick(e) {
|
|
19567
19567
|
if (this.disabled || this.readOnly) {
|
|
19568
|
-
e.preventDefault();
|
|
19569
19568
|
e.stopImmediatePropagation();
|
|
19569
|
+
return false; /* Do prevent default */
|
|
19570
19570
|
}
|
|
19571
|
+
return true; /* Do not prevent default */
|
|
19571
19572
|
}
|
|
19572
19573
|
}
|
|
19573
19574
|
__decorate([
|
|
@@ -19587,15 +19588,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19587
19588
|
], AnchorStep.prototype, "tabIndex", void 0);
|
|
19588
19589
|
const nimbleAnchorStep = AnchorStep.compose({
|
|
19589
19590
|
baseName: 'anchor-step',
|
|
19590
|
-
template: template$
|
|
19591
|
-
styles: styles$
|
|
19591
|
+
template: template$Z,
|
|
19592
|
+
styles: styles$1i,
|
|
19592
19593
|
shadowOptions: {
|
|
19593
19594
|
delegatesFocus: true
|
|
19594
19595
|
}
|
|
19595
19596
|
});
|
|
19596
19597
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
|
|
19597
19598
|
|
|
19598
|
-
const styles$
|
|
19599
|
+
const styles$1g = css `
|
|
19599
19600
|
${display$2('inline-flex')}
|
|
19600
19601
|
|
|
19601
19602
|
:host {
|
|
@@ -19712,7 +19713,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19712
19713
|
}
|
|
19713
19714
|
`;
|
|
19714
19715
|
|
|
19715
|
-
const template$
|
|
19716
|
+
const template$Y = (context, definition) => html `
|
|
19716
19717
|
<template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
|
|
19717
19718
|
<a
|
|
19718
19719
|
download="${x => x.download}"
|
|
@@ -19764,15 +19765,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19764
19765
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
19765
19766
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
19766
19767
|
baseName: 'anchor-tab',
|
|
19767
|
-
template: template$
|
|
19768
|
-
styles: styles$
|
|
19768
|
+
template: template$Y,
|
|
19769
|
+
styles: styles$1g,
|
|
19769
19770
|
shadowOptions: {
|
|
19770
19771
|
delegatesFocus: true
|
|
19771
19772
|
}
|
|
19772
19773
|
});
|
|
19773
19774
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
19774
19775
|
|
|
19775
|
-
const styles$
|
|
19776
|
+
const styles$1f = css `
|
|
19776
19777
|
${display$2('flex')}
|
|
19777
19778
|
|
|
19778
19779
|
:host {
|
|
@@ -19812,12 +19813,12 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19812
19813
|
}
|
|
19813
19814
|
`;
|
|
19814
19815
|
|
|
19815
|
-
const styles$
|
|
19816
|
-
${styles$
|
|
19816
|
+
const styles$1e = css `
|
|
19817
|
+
${styles$1n}
|
|
19817
19818
|
${buttonAppearanceVariantStyles}
|
|
19818
19819
|
`;
|
|
19819
19820
|
|
|
19820
|
-
const template$
|
|
19821
|
+
const template$X = (context, definition) => html `
|
|
19821
19822
|
<button
|
|
19822
19823
|
class="control"
|
|
19823
19824
|
part="control"
|
|
@@ -19908,8 +19909,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19908
19909
|
const nimbleButton = Button$1.compose({
|
|
19909
19910
|
baseName: 'button',
|
|
19910
19911
|
baseClass: Button$2,
|
|
19911
|
-
template: template$
|
|
19912
|
-
styles: styles$
|
|
19912
|
+
template: template$X,
|
|
19913
|
+
styles: styles$1e,
|
|
19913
19914
|
shadowOptions: {
|
|
19914
19915
|
delegatesFocus: true
|
|
19915
19916
|
}
|
|
@@ -19943,7 +19944,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19943
19944
|
registerIconSvg('icon-arrow-expander-right', IconArrowExpanderRight);
|
|
19944
19945
|
const iconArrowExpanderRightTag = 'nimble-icon-arrow-expander-right';
|
|
19945
19946
|
|
|
19946
|
-
const template$
|
|
19947
|
+
const template$W = (context, definition) => html `
|
|
19947
19948
|
<div
|
|
19948
19949
|
class="tab-bar"
|
|
19949
19950
|
>
|
|
@@ -20244,15 +20245,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20244
20245
|
applyMixins(AnchorTabs, StartEnd);
|
|
20245
20246
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
20246
20247
|
baseName: 'anchor-tabs',
|
|
20247
|
-
template: template$
|
|
20248
|
-
styles: styles$
|
|
20248
|
+
template: template$W,
|
|
20249
|
+
styles: styles$1f,
|
|
20249
20250
|
shadowOptions: {
|
|
20250
20251
|
delegatesFocus: false
|
|
20251
20252
|
}
|
|
20252
20253
|
});
|
|
20253
20254
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
|
|
20254
20255
|
|
|
20255
|
-
const styles$
|
|
20256
|
+
const styles$1d = css `
|
|
20256
20257
|
${display$2('block')}
|
|
20257
20258
|
|
|
20258
20259
|
:host {
|
|
@@ -20357,7 +20358,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20357
20358
|
}
|
|
20358
20359
|
`;
|
|
20359
20360
|
|
|
20360
|
-
const template$
|
|
20361
|
+
const template$V = (context, definition) => html `
|
|
20361
20362
|
<template
|
|
20362
20363
|
role="treeitem"
|
|
20363
20364
|
slot="${x => (x.isNestedItem() ? 'item' : null)}"
|
|
@@ -20494,8 +20495,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20494
20495
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
20495
20496
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
20496
20497
|
baseName: 'anchor-tree-item',
|
|
20497
|
-
template: template$
|
|
20498
|
-
styles: styles$
|
|
20498
|
+
template: template$V,
|
|
20499
|
+
styles: styles$1d,
|
|
20499
20500
|
shadowOptions: {
|
|
20500
20501
|
delegatesFocus: true
|
|
20501
20502
|
}
|
|
@@ -20511,7 +20512,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20511
20512
|
zIndex1000: '1000'
|
|
20512
20513
|
};
|
|
20513
20514
|
|
|
20514
|
-
const styles$
|
|
20515
|
+
const styles$1c = css `
|
|
20515
20516
|
${display$2('block')}
|
|
20516
20517
|
|
|
20517
20518
|
:host {
|
|
@@ -20542,14 +20543,14 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20542
20543
|
baseName: 'anchored-region',
|
|
20543
20544
|
baseClass: AnchoredRegion$1,
|
|
20544
20545
|
template: anchoredRegionTemplate,
|
|
20545
|
-
styles: styles$
|
|
20546
|
+
styles: styles$1c
|
|
20546
20547
|
});
|
|
20547
20548
|
DesignSystem.getOrCreate()
|
|
20548
20549
|
.withPrefix('nimble')
|
|
20549
20550
|
.register(nimbleAnchoredRegion());
|
|
20550
20551
|
const anchoredRegionTag = 'nimble-anchored-region';
|
|
20551
20552
|
|
|
20552
|
-
const styles$
|
|
20553
|
+
const styles$1b = css `
|
|
20553
20554
|
${display$2('flex')}
|
|
20554
20555
|
|
|
20555
20556
|
:host {
|
|
@@ -20701,7 +20702,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20701
20702
|
information: 'information'
|
|
20702
20703
|
};
|
|
20703
20704
|
|
|
20704
|
-
const template$
|
|
20705
|
+
const template$U = html `
|
|
20705
20706
|
<${themeProviderTag} theme="${Theme.color}">
|
|
20706
20707
|
<div class="container"
|
|
20707
20708
|
role="status"
|
|
@@ -20819,8 +20820,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20819
20820
|
applyMixins(Banner, ARIAGlobalStatesAndProperties);
|
|
20820
20821
|
const nimbleBanner = Banner.compose({
|
|
20821
20822
|
baseName: 'banner',
|
|
20822
|
-
template: template$
|
|
20823
|
-
styles: styles$
|
|
20823
|
+
template: template$U,
|
|
20824
|
+
styles: styles$1b
|
|
20824
20825
|
});
|
|
20825
20826
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
20826
20827
|
|
|
@@ -20861,7 +20862,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20861
20862
|
</template>
|
|
20862
20863
|
`;
|
|
20863
20864
|
|
|
20864
|
-
const styles$
|
|
20865
|
+
const styles$1a = css `
|
|
20865
20866
|
${display$2('inline-flex')}
|
|
20866
20867
|
|
|
20867
20868
|
:host {
|
|
@@ -20965,11 +20966,11 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20965
20966
|
baseName: 'breadcrumb',
|
|
20966
20967
|
baseClass: Breadcrumb$1,
|
|
20967
20968
|
template: breadcrumbTemplate,
|
|
20968
|
-
styles: styles$
|
|
20969
|
+
styles: styles$1a
|
|
20969
20970
|
});
|
|
20970
20971
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
20971
20972
|
|
|
20972
|
-
const styles$
|
|
20973
|
+
const styles$19 = css `
|
|
20973
20974
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
20974
20975
|
|
|
20975
20976
|
@layer base {
|
|
@@ -21066,14 +21067,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21066
21067
|
baseName: 'breadcrumb-item',
|
|
21067
21068
|
baseClass: BreadcrumbItem$1,
|
|
21068
21069
|
template: breadcrumbItemTemplate,
|
|
21069
|
-
styles: styles$
|
|
21070
|
+
styles: styles$19,
|
|
21070
21071
|
separator: forwardSlash16X16.data
|
|
21071
21072
|
});
|
|
21072
21073
|
DesignSystem.getOrCreate()
|
|
21073
21074
|
.withPrefix('nimble')
|
|
21074
21075
|
.register(nimbleBreadcrumbItem());
|
|
21075
21076
|
|
|
21076
|
-
const styles$
|
|
21077
|
+
const styles$18 = css `
|
|
21077
21078
|
${display$2('flex')}
|
|
21078
21079
|
|
|
21079
21080
|
:host {
|
|
@@ -21097,7 +21098,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21097
21098
|
}
|
|
21098
21099
|
`;
|
|
21099
21100
|
|
|
21100
|
-
const template$
|
|
21101
|
+
const template$T = html `
|
|
21101
21102
|
<section aria-labelledby="title-slot">
|
|
21102
21103
|
<span id="title-slot"><slot name="title"></slot></span>
|
|
21103
21104
|
<slot></slot>
|
|
@@ -21112,12 +21113,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21112
21113
|
const nimbleCard = Card.compose({
|
|
21113
21114
|
baseName: 'card',
|
|
21114
21115
|
baseClass: Card$1,
|
|
21115
|
-
template: template$
|
|
21116
|
-
styles: styles$
|
|
21116
|
+
template: template$T,
|
|
21117
|
+
styles: styles$18
|
|
21117
21118
|
});
|
|
21118
21119
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
21119
21120
|
|
|
21120
|
-
const styles$
|
|
21121
|
+
const styles$17 = css `
|
|
21121
21122
|
${display$2('inline-flex')}
|
|
21122
21123
|
|
|
21123
21124
|
:host {
|
|
@@ -21275,14 +21276,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21275
21276
|
const nimbleCardButton = CardButton.compose({
|
|
21276
21277
|
baseName: 'card-button',
|
|
21277
21278
|
template: buttonTemplate,
|
|
21278
|
-
styles: styles$
|
|
21279
|
+
styles: styles$17,
|
|
21279
21280
|
shadowOptions: {
|
|
21280
21281
|
delegatesFocus: true
|
|
21281
21282
|
}
|
|
21282
21283
|
});
|
|
21283
21284
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
21284
21285
|
|
|
21285
|
-
const styles$
|
|
21286
|
+
const styles$16 = css `
|
|
21286
21287
|
.error-icon {
|
|
21287
21288
|
display: none;
|
|
21288
21289
|
}
|
|
@@ -21316,9 +21317,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21316
21317
|
}
|
|
21317
21318
|
`;
|
|
21318
21319
|
|
|
21319
|
-
const styles$
|
|
21320
|
+
const styles$15 = css `
|
|
21320
21321
|
${display$2('inline-grid')}
|
|
21321
|
-
${styles$
|
|
21322
|
+
${styles$16}
|
|
21322
21323
|
|
|
21323
21324
|
:host {
|
|
21324
21325
|
font: ${bodyFont};
|
|
@@ -21457,7 +21458,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21457
21458
|
</div>
|
|
21458
21459
|
`;
|
|
21459
21460
|
|
|
21460
|
-
const template$
|
|
21461
|
+
const template$S = (_context, definition) => html `
|
|
21461
21462
|
<template
|
|
21462
21463
|
role="checkbox"
|
|
21463
21464
|
aria-checked="${x => x.checked}"
|
|
@@ -21542,8 +21543,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21542
21543
|
const nimbleCheckbox = Checkbox.compose({
|
|
21543
21544
|
baseName: 'checkbox',
|
|
21544
21545
|
baseClass: Checkbox$1,
|
|
21545
|
-
template: template$
|
|
21546
|
-
styles: styles$
|
|
21546
|
+
template: template$S,
|
|
21547
|
+
styles: styles$15,
|
|
21547
21548
|
checkedIndicator: check16X16.data,
|
|
21548
21549
|
indeterminateIndicator: minus16X16.data
|
|
21549
21550
|
});
|
|
@@ -21555,7 +21556,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21555
21556
|
block: 'block'
|
|
21556
21557
|
};
|
|
21557
21558
|
|
|
21558
|
-
const styles$
|
|
21559
|
+
const styles$14 = css `
|
|
21559
21560
|
${display$2('inline-flex')}
|
|
21560
21561
|
|
|
21561
21562
|
:host {
|
|
@@ -21616,7 +21617,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21616
21617
|
}
|
|
21617
21618
|
`));
|
|
21618
21619
|
|
|
21619
|
-
const template$
|
|
21620
|
+
const template$R = (context, definition) => html `
|
|
21620
21621
|
${startSlotTemplate(context, definition)}
|
|
21621
21622
|
<span
|
|
21622
21623
|
class="content"
|
|
@@ -21702,16 +21703,16 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21702
21703
|
applyMixins(Chip, StartEnd);
|
|
21703
21704
|
const nimbleChip = Chip.compose({
|
|
21704
21705
|
baseName: 'chip',
|
|
21705
|
-
template: template$
|
|
21706
|
-
styles: styles$
|
|
21706
|
+
template: template$R,
|
|
21707
|
+
styles: styles$14,
|
|
21707
21708
|
shadowOptions: {
|
|
21708
21709
|
delegatesFocus: true
|
|
21709
21710
|
}
|
|
21710
21711
|
});
|
|
21711
21712
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleChip());
|
|
21712
21713
|
|
|
21713
|
-
const styles$
|
|
21714
|
-
${styles$
|
|
21714
|
+
const styles$13 = css `
|
|
21715
|
+
${styles$1n}
|
|
21715
21716
|
${buttonAppearanceVariantStyles}
|
|
21716
21717
|
|
|
21717
21718
|
@layer checked {
|
|
@@ -21758,7 +21759,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21758
21759
|
}
|
|
21759
21760
|
`));
|
|
21760
21761
|
|
|
21761
|
-
const template$
|
|
21762
|
+
const template$Q = (context, definition) => html `
|
|
21762
21763
|
<div
|
|
21763
21764
|
role="button"
|
|
21764
21765
|
part="control"
|
|
@@ -21853,8 +21854,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21853
21854
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
21854
21855
|
const nimbleToggleButton = ToggleButton.compose({
|
|
21855
21856
|
baseName: 'toggle-button',
|
|
21856
|
-
template: template$
|
|
21857
|
-
styles: styles$
|
|
21857
|
+
template: template$Q,
|
|
21858
|
+
styles: styles$13,
|
|
21858
21859
|
shadowOptions: {
|
|
21859
21860
|
delegatesFocus: true
|
|
21860
21861
|
}
|
|
@@ -21884,7 +21885,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21884
21885
|
frameless: 'frameless'
|
|
21885
21886
|
};
|
|
21886
21887
|
|
|
21887
|
-
const styles$
|
|
21888
|
+
const styles$12 = css `
|
|
21888
21889
|
${display$2('inline-flex')}
|
|
21889
21890
|
|
|
21890
21891
|
:host {
|
|
@@ -22174,7 +22175,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22174
22175
|
}
|
|
22175
22176
|
`));
|
|
22176
22177
|
|
|
22177
|
-
const styles
|
|
22178
|
+
const styles$11 = css `
|
|
22178
22179
|
.annotated-label {
|
|
22179
22180
|
display: flex;
|
|
22180
22181
|
flex-direction: row;
|
|
@@ -22201,10 +22202,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22201
22202
|
none: undefined,
|
|
22202
22203
|
standard: 'standard'};
|
|
22203
22204
|
|
|
22204
|
-
const styles$
|
|
22205
|
-
${styles$
|
|
22206
|
-
${styles$
|
|
22207
|
-
${styles
|
|
22205
|
+
const styles$10 = css `
|
|
22206
|
+
${styles$12}
|
|
22207
|
+
${styles$16}
|
|
22208
|
+
${styles$11}
|
|
22208
22209
|
|
|
22209
22210
|
:host {
|
|
22210
22211
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -22325,7 +22326,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22325
22326
|
<slot></slot>
|
|
22326
22327
|
</label>
|
|
22327
22328
|
`);
|
|
22328
|
-
const template$
|
|
22329
|
+
const template$P = (context, definition) => html `
|
|
22329
22330
|
<template
|
|
22330
22331
|
aria-disabled="${x => x.ariaDisabled}"
|
|
22331
22332
|
autocomplete="${x => x.autocomplete}"
|
|
@@ -23100,8 +23101,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23100
23101
|
const nimbleCombobox = Combobox.compose({
|
|
23101
23102
|
baseName: 'combobox',
|
|
23102
23103
|
baseClass: FormAssociatedCombobox,
|
|
23103
|
-
template: template$
|
|
23104
|
-
styles: styles$
|
|
23104
|
+
template: template$P,
|
|
23105
|
+
styles: styles$10,
|
|
23105
23106
|
shadowOptions: {
|
|
23106
23107
|
delegatesFocus: true
|
|
23107
23108
|
},
|
|
@@ -23145,7 +23146,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23145
23146
|
*/
|
|
23146
23147
|
const UserDismissed = Symbol('user dismissed');
|
|
23147
23148
|
|
|
23148
|
-
const styles
|
|
23149
|
+
const styles$$ = css `
|
|
23149
23150
|
${display$2('grid')}
|
|
23150
23151
|
|
|
23151
23152
|
dialog {
|
|
@@ -23238,7 +23239,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23238
23239
|
}
|
|
23239
23240
|
`;
|
|
23240
23241
|
|
|
23241
|
-
const template$
|
|
23242
|
+
const template$O = html `
|
|
23242
23243
|
<template>
|
|
23243
23244
|
<dialog
|
|
23244
23245
|
${ref('dialogElement')}
|
|
@@ -23386,13 +23387,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23386
23387
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
23387
23388
|
const nimbleDialog = Dialog.compose({
|
|
23388
23389
|
baseName: 'dialog',
|
|
23389
|
-
template: template$
|
|
23390
|
-
styles: styles
|
|
23390
|
+
template: template$O,
|
|
23391
|
+
styles: styles$$,
|
|
23391
23392
|
baseClass: Dialog
|
|
23392
23393
|
});
|
|
23393
23394
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
23394
23395
|
|
|
23395
|
-
const styles$
|
|
23396
|
+
const styles$_ = css `
|
|
23396
23397
|
${display$2('block')}
|
|
23397
23398
|
|
|
23398
23399
|
:host {
|
|
@@ -23535,7 +23536,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23535
23536
|
}
|
|
23536
23537
|
`;
|
|
23537
23538
|
|
|
23538
|
-
const template$
|
|
23539
|
+
const template$N = html `
|
|
23539
23540
|
<dialog
|
|
23540
23541
|
${ref('dialog')}
|
|
23541
23542
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -23677,8 +23678,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23677
23678
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
23678
23679
|
const nimbleDrawer = Drawer.compose({
|
|
23679
23680
|
baseName: 'drawer',
|
|
23680
|
-
template: template$
|
|
23681
|
-
styles: styles$
|
|
23681
|
+
template: template$N,
|
|
23682
|
+
styles: styles$_
|
|
23682
23683
|
});
|
|
23683
23684
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
23684
23685
|
|
|
@@ -26462,7 +26463,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26462
26463
|
}
|
|
26463
26464
|
}
|
|
26464
26465
|
|
|
26465
|
-
const styles$
|
|
26466
|
+
const styles$Z = css `
|
|
26466
26467
|
${display$2('none')}
|
|
26467
26468
|
`;
|
|
26468
26469
|
|
|
@@ -26535,7 +26536,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26535
26536
|
], LabelProviderCore.prototype, "itemRemove", void 0);
|
|
26536
26537
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
26537
26538
|
baseName: 'label-provider-core',
|
|
26538
|
-
styles: styles$
|
|
26539
|
+
styles: styles$Z
|
|
26539
26540
|
});
|
|
26540
26541
|
DesignSystem.getOrCreate()
|
|
26541
26542
|
.withPrefix('nimble')
|
|
@@ -26702,13 +26703,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26702
26703
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
26703
26704
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
26704
26705
|
baseName: 'label-provider-table',
|
|
26705
|
-
styles: styles$
|
|
26706
|
+
styles: styles$Z
|
|
26706
26707
|
});
|
|
26707
26708
|
DesignSystem.getOrCreate()
|
|
26708
26709
|
.withPrefix('nimble')
|
|
26709
26710
|
.register(nimbleLabelProviderTable());
|
|
26710
26711
|
|
|
26711
|
-
const styles$
|
|
26712
|
+
const styles$Y = css `
|
|
26712
26713
|
${display$2('flex')}
|
|
26713
26714
|
|
|
26714
26715
|
:host {
|
|
@@ -26784,7 +26785,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26784
26785
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
26785
26786
|
* @public
|
|
26786
26787
|
*/
|
|
26787
|
-
const template$
|
|
26788
|
+
const template$M = (context, definition) => html `
|
|
26788
26789
|
<template
|
|
26789
26790
|
aria-checked="${x => x.ariaChecked}"
|
|
26790
26791
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -26886,13 +26887,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26886
26887
|
const nimbleListOption = ListOption.compose({
|
|
26887
26888
|
baseName: 'list-option',
|
|
26888
26889
|
baseClass: ListboxOption,
|
|
26889
|
-
template: template$
|
|
26890
|
-
styles: styles$
|
|
26890
|
+
template: template$M,
|
|
26891
|
+
styles: styles$Y
|
|
26891
26892
|
});
|
|
26892
26893
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
26893
26894
|
const listOptionTag = 'nimble-list-option';
|
|
26894
26895
|
|
|
26895
|
-
const styles$
|
|
26896
|
+
const styles$X = css `
|
|
26896
26897
|
${display$2('flex')}
|
|
26897
26898
|
|
|
26898
26899
|
:host {
|
|
@@ -26954,7 +26955,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26954
26955
|
const isListOption$1 = (n) => {
|
|
26955
26956
|
return n instanceof ListOption;
|
|
26956
26957
|
};
|
|
26957
|
-
const template$
|
|
26958
|
+
const template$L = html `
|
|
26958
26959
|
<template
|
|
26959
26960
|
role="group"
|
|
26960
26961
|
aria-label="${x => x.labelContent}"
|
|
@@ -27096,8 +27097,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27096
27097
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
27097
27098
|
baseName: 'list-option-group',
|
|
27098
27099
|
baseClass: FoundationElement,
|
|
27099
|
-
template: template$
|
|
27100
|
-
styles: styles$
|
|
27100
|
+
template: template$L,
|
|
27101
|
+
styles: styles$X
|
|
27101
27102
|
});
|
|
27102
27103
|
DesignSystem.getOrCreate()
|
|
27103
27104
|
.withPrefix('nimble')
|
|
@@ -27124,9 +27125,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27124
27125
|
attr()
|
|
27125
27126
|
], Mapping$1.prototype, "key", void 0);
|
|
27126
27127
|
|
|
27127
|
-
const template$
|
|
27128
|
+
const template$K = html `<template slot="mapping"></template>`;
|
|
27128
27129
|
|
|
27129
|
-
const styles$
|
|
27130
|
+
const styles$W = css `
|
|
27130
27131
|
${display$2('none')}
|
|
27131
27132
|
`;
|
|
27132
27133
|
|
|
@@ -27142,8 +27143,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27142
27143
|
], MappingEmpty.prototype, "text", void 0);
|
|
27143
27144
|
const emptyMapping = MappingEmpty.compose({
|
|
27144
27145
|
baseName: 'mapping-empty',
|
|
27145
|
-
template: template$
|
|
27146
|
-
styles: styles$
|
|
27146
|
+
template: template$K,
|
|
27147
|
+
styles: styles$W
|
|
27147
27148
|
});
|
|
27148
27149
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
27149
27150
|
|
|
@@ -27213,8 +27214,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27213
27214
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
27214
27215
|
const iconMapping = MappingIcon.compose({
|
|
27215
27216
|
baseName: 'mapping-icon',
|
|
27216
|
-
template: template$
|
|
27217
|
-
styles: styles$
|
|
27217
|
+
template: template$K,
|
|
27218
|
+
styles: styles$W
|
|
27218
27219
|
});
|
|
27219
27220
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
27220
27221
|
|
|
@@ -27237,8 +27238,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27237
27238
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
27238
27239
|
const spinnerMapping = MappingSpinner.compose({
|
|
27239
27240
|
baseName: 'mapping-spinner',
|
|
27240
|
-
template: template$
|
|
27241
|
-
styles: styles$
|
|
27241
|
+
template: template$K,
|
|
27242
|
+
styles: styles$W
|
|
27242
27243
|
});
|
|
27243
27244
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
27244
27245
|
|
|
@@ -27254,8 +27255,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27254
27255
|
], MappingText.prototype, "text", void 0);
|
|
27255
27256
|
const textMapping = MappingText.compose({
|
|
27256
27257
|
baseName: 'mapping-text',
|
|
27257
|
-
template: template$
|
|
27258
|
-
styles: styles$
|
|
27258
|
+
template: template$K,
|
|
27259
|
+
styles: styles$W
|
|
27259
27260
|
});
|
|
27260
27261
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
27261
27262
|
|
|
@@ -27557,7 +27558,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27557
27558
|
observable
|
|
27558
27559
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
27559
27560
|
|
|
27560
|
-
const template$
|
|
27561
|
+
const template$J = () => html `
|
|
27561
27562
|
<template
|
|
27562
27563
|
slot="${x => {
|
|
27563
27564
|
if (x.slot) {
|
|
@@ -27574,7 +27575,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27574
27575
|
</template>
|
|
27575
27576
|
`;
|
|
27576
27577
|
|
|
27577
|
-
const styles$
|
|
27578
|
+
const styles$V = css `
|
|
27578
27579
|
${display$2('grid')}
|
|
27579
27580
|
|
|
27580
27581
|
:host {
|
|
@@ -27645,8 +27646,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27645
27646
|
const nimbleMenu = Menu.compose({
|
|
27646
27647
|
baseName: 'menu',
|
|
27647
27648
|
baseClass: Menu$1,
|
|
27648
|
-
template: template$
|
|
27649
|
-
styles: styles$
|
|
27649
|
+
template: template$J,
|
|
27650
|
+
styles: styles$V
|
|
27650
27651
|
});
|
|
27651
27652
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
27652
27653
|
|
|
@@ -27661,7 +27662,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27661
27662
|
auto: 'auto'
|
|
27662
27663
|
};
|
|
27663
27664
|
|
|
27664
|
-
const styles$
|
|
27665
|
+
const styles$U = css `
|
|
27665
27666
|
${display$2('inline-block')}
|
|
27666
27667
|
|
|
27667
27668
|
:host {
|
|
@@ -27679,7 +27680,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27679
27680
|
}
|
|
27680
27681
|
`;
|
|
27681
27682
|
|
|
27682
|
-
const template$
|
|
27683
|
+
const template$I = html `
|
|
27683
27684
|
<template
|
|
27684
27685
|
?open="${x => x.open}"
|
|
27685
27686
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -27929,8 +27930,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27929
27930
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
27930
27931
|
const nimbleMenuButton = MenuButton.compose({
|
|
27931
27932
|
baseName: 'menu-button',
|
|
27932
|
-
template: template$
|
|
27933
|
-
styles: styles$
|
|
27933
|
+
template: template$I,
|
|
27934
|
+
styles: styles$U,
|
|
27934
27935
|
shadowOptions: {
|
|
27935
27936
|
delegatesFocus: true
|
|
27936
27937
|
}
|
|
@@ -27938,7 +27939,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27938
27939
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
27939
27940
|
const menuButtonTag = 'nimble-menu-button';
|
|
27940
27941
|
|
|
27941
|
-
const styles$
|
|
27942
|
+
const styles$T = css `
|
|
27942
27943
|
${display$2('grid')}
|
|
27943
27944
|
|
|
27944
27945
|
:host {
|
|
@@ -28035,7 +28036,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28035
28036
|
baseName: 'menu-item',
|
|
28036
28037
|
baseClass: MenuItem$1,
|
|
28037
28038
|
template: menuItemTemplate,
|
|
28038
|
-
styles: styles$
|
|
28039
|
+
styles: styles$T,
|
|
28039
28040
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
28040
28041
|
});
|
|
28041
28042
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -28050,10 +28051,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28050
28051
|
frameless: 'frameless'
|
|
28051
28052
|
};
|
|
28052
28053
|
|
|
28053
|
-
const styles$
|
|
28054
|
+
const styles$S = css `
|
|
28054
28055
|
${display$2('inline-block')}
|
|
28055
|
-
${styles$
|
|
28056
|
-
${styles
|
|
28056
|
+
${styles$16}
|
|
28057
|
+
${styles$11}
|
|
28057
28058
|
|
|
28058
28059
|
:host {
|
|
28059
28060
|
font: ${bodyFont};
|
|
@@ -28276,7 +28277,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28276
28277
|
* The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
|
|
28277
28278
|
* @public
|
|
28278
28279
|
*/
|
|
28279
|
-
const template$
|
|
28280
|
+
const template$H = (context, definition) => html `
|
|
28280
28281
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
28281
28282
|
${labelTemplate$4}
|
|
28282
28283
|
<div class="root" part="root">
|
|
@@ -28430,8 +28431,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28430
28431
|
const nimbleNumberField = NumberField.compose({
|
|
28431
28432
|
baseName: 'number-field',
|
|
28432
28433
|
baseClass: NumberField$1,
|
|
28433
|
-
template: template$
|
|
28434
|
-
styles: styles$
|
|
28434
|
+
template: template$H,
|
|
28435
|
+
styles: styles$S,
|
|
28435
28436
|
shadowOptions: {
|
|
28436
28437
|
delegatesFocus: true
|
|
28437
28438
|
},
|
|
@@ -28474,7 +28475,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28474
28475
|
});
|
|
28475
28476
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
28476
28477
|
|
|
28477
|
-
const styles$
|
|
28478
|
+
const styles$R = css `
|
|
28478
28479
|
${display$2('inline-flex')}
|
|
28479
28480
|
|
|
28480
28481
|
:host {
|
|
@@ -28574,15 +28575,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28574
28575
|
baseName: 'radio',
|
|
28575
28576
|
baseClass: Radio$1,
|
|
28576
28577
|
template: radioTemplate,
|
|
28577
|
-
styles: styles$
|
|
28578
|
+
styles: styles$R,
|
|
28578
28579
|
checkedIndicator: circleFilled16X16.data
|
|
28579
28580
|
});
|
|
28580
28581
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
28581
28582
|
|
|
28582
|
-
const styles$
|
|
28583
|
+
const styles$Q = css `
|
|
28583
28584
|
${display$2('inline-block')}
|
|
28584
|
-
${styles$
|
|
28585
|
-
${styles
|
|
28585
|
+
${styles$16}
|
|
28586
|
+
${styles$11}
|
|
28586
28587
|
|
|
28587
28588
|
.positioning-region {
|
|
28588
28589
|
display: flex;
|
|
@@ -28621,7 +28622,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28621
28622
|
`;
|
|
28622
28623
|
|
|
28623
28624
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
28624
|
-
const template$
|
|
28625
|
+
const template$G = html `
|
|
28625
28626
|
<template
|
|
28626
28627
|
role="radiogroup"
|
|
28627
28628
|
aria-disabled="${x => x.disabled}"
|
|
@@ -28661,8 +28662,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28661
28662
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
28662
28663
|
baseName: 'radio-group',
|
|
28663
28664
|
baseClass: RadioGroup$1,
|
|
28664
|
-
template: template$
|
|
28665
|
-
styles: styles$
|
|
28665
|
+
template: template$G,
|
|
28666
|
+
styles: styles$Q,
|
|
28666
28667
|
shadowOptions: {
|
|
28667
28668
|
delegatesFocus: true
|
|
28668
28669
|
}
|
|
@@ -47953,7 +47954,7 @@ ${indentedChild}`;
|
|
|
47953
47954
|
// src/index.ts
|
|
47954
47955
|
var index_default$7 = HardBreak;
|
|
47955
47956
|
|
|
47956
|
-
const styles$
|
|
47957
|
+
const styles$P = css `
|
|
47957
47958
|
${display$2('inline')}
|
|
47958
47959
|
|
|
47959
47960
|
.positioning-region {
|
|
@@ -47990,7 +47991,7 @@ ${indentedChild}`;
|
|
|
47990
47991
|
baseName: 'toolbar',
|
|
47991
47992
|
baseClass: Toolbar$1,
|
|
47992
47993
|
template: toolbarTemplate,
|
|
47993
|
-
styles: styles$
|
|
47994
|
+
styles: styles$P
|
|
47994
47995
|
});
|
|
47995
47996
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
47996
47997
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -48019,8 +48020,8 @@ ${indentedChild}`;
|
|
|
48019
48020
|
cssCustomPropertyName: null
|
|
48020
48021
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
48021
48022
|
|
|
48022
|
-
const styles$
|
|
48023
|
-
${styles$
|
|
48023
|
+
const styles$O = css `
|
|
48024
|
+
${styles$12}
|
|
48024
48025
|
|
|
48025
48026
|
:host {
|
|
48026
48027
|
height: auto;
|
|
@@ -48038,7 +48039,7 @@ ${indentedChild}`;
|
|
|
48038
48039
|
}
|
|
48039
48040
|
`;
|
|
48040
48041
|
|
|
48041
|
-
const template$
|
|
48042
|
+
const template$F = html `
|
|
48042
48043
|
<template>
|
|
48043
48044
|
<${anchoredRegionTag}
|
|
48044
48045
|
${ref('region')}
|
|
@@ -48326,15 +48327,15 @@ ${indentedChild}`;
|
|
|
48326
48327
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
48327
48328
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
48328
48329
|
baseName: 'rich-text-mention-listbox',
|
|
48329
|
-
template: template$
|
|
48330
|
-
styles: styles$
|
|
48330
|
+
template: template$F,
|
|
48331
|
+
styles: styles$O
|
|
48331
48332
|
});
|
|
48332
48333
|
DesignSystem.getOrCreate()
|
|
48333
48334
|
.withPrefix('nimble')
|
|
48334
48335
|
.register(nimbleRichTextMentionListbox());
|
|
48335
48336
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
48336
48337
|
|
|
48337
|
-
const template$
|
|
48338
|
+
const template$E = html `
|
|
48338
48339
|
<template
|
|
48339
48340
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
48340
48341
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -48436,9 +48437,9 @@ ${indentedChild}`;
|
|
|
48436
48437
|
</template>
|
|
48437
48438
|
`;
|
|
48438
48439
|
|
|
48439
|
-
const styles$
|
|
48440
|
+
const styles$N = css `
|
|
48440
48441
|
${display$2('inline-flex')}
|
|
48441
|
-
${styles$
|
|
48442
|
+
${styles$16}
|
|
48442
48443
|
|
|
48443
48444
|
:host {
|
|
48444
48445
|
font: ${bodyFont};
|
|
@@ -64884,8 +64885,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64884
64885
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
64885
64886
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
64886
64887
|
baseName: 'rich-text-editor',
|
|
64887
|
-
template: template$
|
|
64888
|
-
styles: styles$
|
|
64888
|
+
template: template$E,
|
|
64889
|
+
styles: styles$N,
|
|
64889
64890
|
shadowOptions: {
|
|
64890
64891
|
delegatesFocus: true
|
|
64891
64892
|
}
|
|
@@ -64894,13 +64895,13 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64894
64895
|
.withPrefix('nimble')
|
|
64895
64896
|
.register(nimbleRichTextEditor());
|
|
64896
64897
|
|
|
64897
|
-
const template$
|
|
64898
|
+
const template$D = html `
|
|
64898
64899
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
64899
64900
|
<div ${ref('viewer')} class="viewer"></div>
|
|
64900
64901
|
</template>
|
|
64901
64902
|
`;
|
|
64902
64903
|
|
|
64903
|
-
const styles$
|
|
64904
|
+
const styles$M = css `
|
|
64904
64905
|
${display$2('flex')}
|
|
64905
64906
|
|
|
64906
64907
|
:host {
|
|
@@ -65013,17 +65014,17 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65013
65014
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
65014
65015
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
65015
65016
|
baseName: 'rich-text-viewer',
|
|
65016
|
-
template: template$
|
|
65017
|
-
styles: styles$
|
|
65017
|
+
template: template$D,
|
|
65018
|
+
styles: styles$M
|
|
65018
65019
|
});
|
|
65019
65020
|
DesignSystem.getOrCreate()
|
|
65020
65021
|
.withPrefix('nimble')
|
|
65021
65022
|
.register(nimbleRichTextViewer());
|
|
65022
65023
|
|
|
65023
|
-
const styles$
|
|
65024
|
-
${styles$
|
|
65025
|
-
${styles$
|
|
65026
|
-
${styles
|
|
65024
|
+
const styles$L = css `
|
|
65025
|
+
${styles$12}
|
|
65026
|
+
${styles$16}
|
|
65027
|
+
${styles$11}
|
|
65027
65028
|
|
|
65028
65029
|
${
|
|
65029
65030
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -65186,7 +65187,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65186
65187
|
}
|
|
65187
65188
|
`));
|
|
65188
65189
|
|
|
65189
|
-
const styles$
|
|
65190
|
+
const styles$K = css `
|
|
65190
65191
|
${display$2('inline-grid')}
|
|
65191
65192
|
|
|
65192
65193
|
:host {
|
|
@@ -65356,7 +65357,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65356
65357
|
}
|
|
65357
65358
|
`));
|
|
65358
65359
|
|
|
65359
|
-
const template$
|
|
65360
|
+
const template$C = html `
|
|
65360
65361
|
<template role="progressbar">
|
|
65361
65362
|
${''
|
|
65362
65363
|
/**
|
|
@@ -65403,8 +65404,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65403
65404
|
], Spinner.prototype, "appearance", void 0);
|
|
65404
65405
|
const nimbleSpinner = Spinner.compose({
|
|
65405
65406
|
baseName: 'spinner',
|
|
65406
|
-
template: template$
|
|
65407
|
-
styles: styles$
|
|
65407
|
+
template: template$C,
|
|
65408
|
+
styles: styles$K
|
|
65408
65409
|
});
|
|
65409
65410
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
65410
65411
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -65420,7 +65421,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65420
65421
|
<slot ${ref('labelSlot')}></slot>
|
|
65421
65422
|
</label>
|
|
65422
65423
|
`);
|
|
65423
|
-
const template$
|
|
65424
|
+
const template$B = (context, definition) => html `
|
|
65424
65425
|
<template
|
|
65425
65426
|
class="${x => [
|
|
65426
65427
|
x.collapsible && 'collapsible',
|
|
@@ -66632,8 +66633,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66632
66633
|
const nimbleSelect = Select.compose({
|
|
66633
66634
|
baseName: 'select',
|
|
66634
66635
|
baseClass: Select$2,
|
|
66635
|
-
template: template$
|
|
66636
|
-
styles: styles$
|
|
66636
|
+
template: template$B,
|
|
66637
|
+
styles: styles$L,
|
|
66637
66638
|
indicator: arrowExpanderDown16X16.data,
|
|
66638
66639
|
end: html `
|
|
66639
66640
|
<${iconExclamationMarkTag}
|
|
@@ -66646,8 +66647,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66646
66647
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
66647
66648
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
66648
66649
|
|
|
66649
|
-
const styles$
|
|
66650
|
-
${styles$
|
|
66650
|
+
const styles$J = css `
|
|
66651
|
+
${styles$1j}
|
|
66651
66652
|
${'' /* Button specific styles */}
|
|
66652
66653
|
@layer base {
|
|
66653
66654
|
.control {
|
|
@@ -66658,7 +66659,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66658
66659
|
}
|
|
66659
66660
|
`;
|
|
66660
66661
|
|
|
66661
|
-
const template$
|
|
66662
|
+
const template$A = (context, definition) => html `
|
|
66662
66663
|
<template slot="step">
|
|
66663
66664
|
<li class="
|
|
66664
66665
|
container
|
|
@@ -66760,9 +66761,10 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66760
66761
|
*/
|
|
66761
66762
|
onClick(e) {
|
|
66762
66763
|
if (this.disabled || this.readOnly) {
|
|
66763
|
-
e.preventDefault();
|
|
66764
66764
|
e.stopImmediatePropagation();
|
|
66765
|
+
return false; /* Do prevent default */
|
|
66765
66766
|
}
|
|
66767
|
+
return true; /* Do not prevent default */
|
|
66766
66768
|
}
|
|
66767
66769
|
}
|
|
66768
66770
|
__decorate([
|
|
@@ -66779,15 +66781,15 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66779
66781
|
], Step.prototype, "tabIndex", void 0);
|
|
66780
66782
|
const nimbleStep = Step.compose({
|
|
66781
66783
|
baseName: 'step',
|
|
66782
|
-
template: template$
|
|
66783
|
-
styles: styles$
|
|
66784
|
+
template: template$A,
|
|
66785
|
+
styles: styles$J,
|
|
66784
66786
|
shadowOptions: {
|
|
66785
66787
|
delegatesFocus: true
|
|
66786
66788
|
}
|
|
66787
66789
|
});
|
|
66788
66790
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
|
|
66789
66791
|
|
|
66790
|
-
const styles$
|
|
66792
|
+
const styles$I = css `
|
|
66791
66793
|
${display$2('inline-flex')}
|
|
66792
66794
|
|
|
66793
66795
|
:host {
|
|
@@ -66858,7 +66860,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66858
66860
|
}
|
|
66859
66861
|
`;
|
|
66860
66862
|
|
|
66861
|
-
const template$
|
|
66863
|
+
const template$z = html `
|
|
66862
66864
|
${when(x => x.showScrollButtons, html `
|
|
66863
66865
|
<${buttonTag}
|
|
66864
66866
|
content-hidden
|
|
@@ -67003,12 +67005,12 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67003
67005
|
], Stepper.prototype, "steps", void 0);
|
|
67004
67006
|
const nimbleStepper = Stepper.compose({
|
|
67005
67007
|
baseName: 'stepper',
|
|
67006
|
-
template: template$
|
|
67007
|
-
styles: styles$
|
|
67008
|
+
template: template$z,
|
|
67009
|
+
styles: styles$I
|
|
67008
67010
|
});
|
|
67009
67011
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
|
|
67010
67012
|
|
|
67011
|
-
const styles$
|
|
67013
|
+
const styles$H = css `
|
|
67012
67014
|
${display$2('inline-flex')}
|
|
67013
67015
|
|
|
67014
67016
|
:host {
|
|
@@ -67235,7 +67237,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67235
67237
|
}
|
|
67236
67238
|
`));
|
|
67237
67239
|
|
|
67238
|
-
const template$
|
|
67240
|
+
const template$y = html `
|
|
67239
67241
|
<template
|
|
67240
67242
|
role="switch"
|
|
67241
67243
|
aria-checked="${x => x.checked}"
|
|
@@ -67279,12 +67281,12 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67279
67281
|
const nimbleSwitch = Switch.compose({
|
|
67280
67282
|
baseClass: Switch$1,
|
|
67281
67283
|
baseName: 'switch',
|
|
67282
|
-
template: template$
|
|
67283
|
-
styles: styles$
|
|
67284
|
+
template: template$y,
|
|
67285
|
+
styles: styles$H
|
|
67284
67286
|
});
|
|
67285
67287
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
67286
67288
|
|
|
67287
|
-
const styles$
|
|
67289
|
+
const styles$G = css `
|
|
67288
67290
|
${display$2('inline-flex')}
|
|
67289
67291
|
|
|
67290
67292
|
:host {
|
|
@@ -67395,11 +67397,11 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67395
67397
|
baseName: 'tab',
|
|
67396
67398
|
baseClass: Tab$1,
|
|
67397
67399
|
template: tabTemplate,
|
|
67398
|
-
styles: styles$
|
|
67400
|
+
styles: styles$G
|
|
67399
67401
|
});
|
|
67400
67402
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
67401
67403
|
|
|
67402
|
-
const styles$
|
|
67404
|
+
const styles$F = css `
|
|
67403
67405
|
${display$2('block')}
|
|
67404
67406
|
|
|
67405
67407
|
:host {
|
|
@@ -67418,7 +67420,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67418
67420
|
baseName: 'tab-panel',
|
|
67419
67421
|
baseClass: TabPanel$1,
|
|
67420
67422
|
template: tabPanelTemplate,
|
|
67421
|
-
styles: styles$
|
|
67423
|
+
styles: styles$F
|
|
67422
67424
|
});
|
|
67423
67425
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
67424
67426
|
|
|
@@ -71144,7 +71146,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
71144
71146
|
}
|
|
71145
71147
|
}
|
|
71146
71148
|
|
|
71147
|
-
const styles$
|
|
71149
|
+
const styles$E = css `
|
|
71148
71150
|
${display$2('flex')}
|
|
71149
71151
|
|
|
71150
71152
|
:host {
|
|
@@ -71364,7 +71366,7 @@ focus outline in that case.
|
|
|
71364
71366
|
}
|
|
71365
71367
|
`));
|
|
71366
71368
|
|
|
71367
|
-
const styles$
|
|
71369
|
+
const styles$D = css `
|
|
71368
71370
|
${display$2('flex')}
|
|
71369
71371
|
|
|
71370
71372
|
:host {
|
|
@@ -71397,7 +71399,7 @@ focus outline in that case.
|
|
|
71397
71399
|
}
|
|
71398
71400
|
`;
|
|
71399
71401
|
|
|
71400
|
-
const template$
|
|
71402
|
+
const template$x = html `
|
|
71401
71403
|
<template role="columnheader"
|
|
71402
71404
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
71403
71405
|
aria-sort="${x => x.ariaSort}"
|
|
@@ -71483,13 +71485,13 @@ focus outline in that case.
|
|
|
71483
71485
|
], TableHeader.prototype, "isGrouped", void 0);
|
|
71484
71486
|
const nimbleTableHeader = TableHeader.compose({
|
|
71485
71487
|
baseName: 'table-header',
|
|
71486
|
-
template: template$
|
|
71487
|
-
styles: styles$
|
|
71488
|
+
template: template$x,
|
|
71489
|
+
styles: styles$D
|
|
71488
71490
|
});
|
|
71489
71491
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
71490
71492
|
const tableHeaderTag = 'nimble-table-header';
|
|
71491
71493
|
|
|
71492
|
-
const styles$
|
|
71494
|
+
const styles$C = css `
|
|
71493
71495
|
:host .animating {
|
|
71494
71496
|
transition: ${mediumDelay} ease-in;
|
|
71495
71497
|
}
|
|
@@ -71514,9 +71516,9 @@ focus outline in that case.
|
|
|
71514
71516
|
}
|
|
71515
71517
|
`;
|
|
71516
71518
|
|
|
71517
|
-
const styles$
|
|
71519
|
+
const styles$B = css `
|
|
71518
71520
|
${display$2('flex')}
|
|
71519
|
-
${styles$
|
|
71521
|
+
${styles$C}
|
|
71520
71522
|
|
|
71521
71523
|
:host {
|
|
71522
71524
|
width: fit-content;
|
|
@@ -71686,7 +71688,7 @@ focus outline in that case.
|
|
|
71686
71688
|
}
|
|
71687
71689
|
`));
|
|
71688
71690
|
|
|
71689
|
-
const styles$
|
|
71691
|
+
const styles$A = css `
|
|
71690
71692
|
${display$2('flex')}
|
|
71691
71693
|
|
|
71692
71694
|
:host {
|
|
@@ -71731,7 +71733,7 @@ focus outline in that case.
|
|
|
71731
71733
|
}
|
|
71732
71734
|
`;
|
|
71733
71735
|
|
|
71734
|
-
const template$
|
|
71736
|
+
const template$w = html `
|
|
71735
71737
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
71736
71738
|
@focusin="${x => x.onCellFocusIn()}"
|
|
71737
71739
|
@blur="${x => x.onCellBlur()}"
|
|
@@ -71828,13 +71830,13 @@ focus outline in that case.
|
|
|
71828
71830
|
], TableCell.prototype, "nestingLevel", void 0);
|
|
71829
71831
|
const nimbleTableCell = TableCell.compose({
|
|
71830
71832
|
baseName: 'table-cell',
|
|
71831
|
-
template: template$
|
|
71832
|
-
styles: styles$
|
|
71833
|
+
template: template$w,
|
|
71834
|
+
styles: styles$A
|
|
71833
71835
|
});
|
|
71834
71836
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
71835
71837
|
const tableCellTag = 'nimble-table-cell';
|
|
71836
71838
|
|
|
71837
|
-
const template$
|
|
71839
|
+
const template$v = html `
|
|
71838
71840
|
<template
|
|
71839
71841
|
role="row"
|
|
71840
71842
|
aria-selected=${x => x.ariaSelected}
|
|
@@ -72229,15 +72231,15 @@ focus outline in that case.
|
|
|
72229
72231
|
], TableRow.prototype, "ariaSelected", null);
|
|
72230
72232
|
const nimbleTableRow = TableRow.compose({
|
|
72231
72233
|
baseName: 'table-row',
|
|
72232
|
-
template: template$
|
|
72233
|
-
styles: styles$
|
|
72234
|
+
template: template$v,
|
|
72235
|
+
styles: styles$B
|
|
72234
72236
|
});
|
|
72235
72237
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
72236
72238
|
const tableRowTag = 'nimble-table-row';
|
|
72237
72239
|
|
|
72238
|
-
const styles$
|
|
72240
|
+
const styles$z = css `
|
|
72239
72241
|
${display$2('grid')}
|
|
72240
|
-
${styles$
|
|
72242
|
+
${styles$C}
|
|
72241
72243
|
|
|
72242
72244
|
:host {
|
|
72243
72245
|
align-items: center;
|
|
@@ -72325,7 +72327,7 @@ focus outline in that case.
|
|
|
72325
72327
|
}
|
|
72326
72328
|
`));
|
|
72327
72329
|
|
|
72328
|
-
const template$
|
|
72330
|
+
const template$u = html `
|
|
72329
72331
|
<template
|
|
72330
72332
|
role="row"
|
|
72331
72333
|
@click=${x => x.onGroupExpandToggle()}
|
|
@@ -72482,13 +72484,13 @@ focus outline in that case.
|
|
|
72482
72484
|
], TableGroupRow.prototype, "allowHover", void 0);
|
|
72483
72485
|
const nimbleTableGroupRow = TableGroupRow.compose({
|
|
72484
72486
|
baseName: 'table-group-row',
|
|
72485
|
-
template: template$
|
|
72486
|
-
styles: styles$
|
|
72487
|
+
template: template$u,
|
|
72488
|
+
styles: styles$z
|
|
72487
72489
|
});
|
|
72488
72490
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
72489
72491
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
72490
72492
|
|
|
72491
|
-
const template$
|
|
72493
|
+
const template$t = html `
|
|
72492
72494
|
<template
|
|
72493
72495
|
role="treegrid"
|
|
72494
72496
|
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
@@ -76799,12 +76801,12 @@ focus outline in that case.
|
|
|
76799
76801
|
], Table$1.prototype, "windowShiftKeyDown", void 0);
|
|
76800
76802
|
const nimbleTable = Table$1.compose({
|
|
76801
76803
|
baseName: 'table',
|
|
76802
|
-
template: template$
|
|
76803
|
-
styles: styles$
|
|
76804
|
+
template: template$t,
|
|
76805
|
+
styles: styles$E
|
|
76804
76806
|
});
|
|
76805
76807
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
76806
76808
|
|
|
76807
|
-
const styles$
|
|
76809
|
+
const styles$y = css `
|
|
76808
76810
|
${display$2('contents')}
|
|
76809
76811
|
|
|
76810
76812
|
.header-content {
|
|
@@ -76816,7 +76818,7 @@ focus outline in that case.
|
|
|
76816
76818
|
|
|
76817
76819
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
76818
76820
|
// so the template can be composed into other column header templates
|
|
76819
|
-
const template$
|
|
76821
|
+
const template$s = html `<span
|
|
76820
76822
|
${overflow('hasOverflow')}
|
|
76821
76823
|
class="header-content"
|
|
76822
76824
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -76881,7 +76883,7 @@ focus outline in that case.
|
|
|
76881
76883
|
return ColumnWithPlaceholder;
|
|
76882
76884
|
}
|
|
76883
76885
|
|
|
76884
|
-
const styles$
|
|
76886
|
+
const styles$x = css `
|
|
76885
76887
|
${display$2('flex')}
|
|
76886
76888
|
|
|
76887
76889
|
:host {
|
|
@@ -76912,7 +76914,7 @@ focus outline in that case.
|
|
|
76912
76914
|
}
|
|
76913
76915
|
`;
|
|
76914
76916
|
|
|
76915
|
-
const template$
|
|
76917
|
+
const template$r = html `
|
|
76916
76918
|
<template
|
|
76917
76919
|
@click="${(x, c) => {
|
|
76918
76920
|
if (typeof x.cellRecord?.href === 'string') {
|
|
@@ -77004,8 +77006,8 @@ focus outline in that case.
|
|
|
77004
77006
|
], TableColumnAnchorCellView.prototype, "showAnchor", null);
|
|
77005
77007
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
77006
77008
|
baseName: 'table-column-anchor-cell-view',
|
|
77007
|
-
template: template$
|
|
77008
|
-
styles: styles$
|
|
77009
|
+
template: template$r,
|
|
77010
|
+
styles: styles$x
|
|
77009
77011
|
});
|
|
77010
77012
|
DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
|
|
77011
77013
|
const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
|
|
@@ -77082,7 +77084,7 @@ focus outline in that case.
|
|
|
77082
77084
|
observable
|
|
77083
77085
|
], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
|
|
77084
77086
|
|
|
77085
|
-
const template$
|
|
77087
|
+
const template$q = html `
|
|
77086
77088
|
<span
|
|
77087
77089
|
${overflow('hasOverflow')}
|
|
77088
77090
|
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
@@ -77091,7 +77093,7 @@ focus outline in that case.
|
|
|
77091
77093
|
</span>
|
|
77092
77094
|
`;
|
|
77093
77095
|
|
|
77094
|
-
const styles$
|
|
77096
|
+
const styles$w = css `
|
|
77095
77097
|
${display$2('flex')}
|
|
77096
77098
|
|
|
77097
77099
|
span {
|
|
@@ -77115,8 +77117,8 @@ focus outline in that case.
|
|
|
77115
77117
|
}
|
|
77116
77118
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
77117
77119
|
baseName: 'table-column-text-group-header-view',
|
|
77118
|
-
template: template$
|
|
77119
|
-
styles: styles$
|
|
77120
|
+
template: template$q,
|
|
77121
|
+
styles: styles$w
|
|
77120
77122
|
});
|
|
77121
77123
|
DesignSystem.getOrCreate()
|
|
77122
77124
|
.withPrefix('nimble')
|
|
@@ -77360,8 +77362,8 @@ focus outline in that case.
|
|
|
77360
77362
|
], TableColumnAnchor.prototype, "download", void 0);
|
|
77361
77363
|
const nimbleTableColumnAnchor = TableColumnAnchor.compose({
|
|
77362
77364
|
baseName: 'table-column-anchor',
|
|
77363
|
-
template: template$
|
|
77364
|
-
styles: styles$
|
|
77365
|
+
template: template$s,
|
|
77366
|
+
styles: styles$y
|
|
77365
77367
|
});
|
|
77366
77368
|
DesignSystem.getOrCreate()
|
|
77367
77369
|
.withPrefix('nimble')
|
|
@@ -77413,15 +77415,15 @@ focus outline in that case.
|
|
|
77413
77415
|
}
|
|
77414
77416
|
const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
|
|
77415
77417
|
baseName: 'table-column-date-text-group-header-view',
|
|
77416
|
-
template: template$
|
|
77417
|
-
styles: styles$
|
|
77418
|
+
template: template$q,
|
|
77419
|
+
styles: styles$w
|
|
77418
77420
|
});
|
|
77419
77421
|
DesignSystem.getOrCreate()
|
|
77420
77422
|
.withPrefix('nimble')
|
|
77421
77423
|
.register(tableColumnDateTextGroupHeaderView());
|
|
77422
77424
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
77423
77425
|
|
|
77424
|
-
const template$
|
|
77426
|
+
const template$p = html `
|
|
77425
77427
|
<template
|
|
77426
77428
|
class="
|
|
77427
77429
|
${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
|
|
@@ -77437,7 +77439,7 @@ focus outline in that case.
|
|
|
77437
77439
|
</template>
|
|
77438
77440
|
`;
|
|
77439
77441
|
|
|
77440
|
-
const styles$
|
|
77442
|
+
const styles$v = css `
|
|
77441
77443
|
${display$2('flex')}
|
|
77442
77444
|
|
|
77443
77445
|
:host {
|
|
@@ -77539,8 +77541,8 @@ focus outline in that case.
|
|
|
77539
77541
|
}
|
|
77540
77542
|
const dateTextCellView = TableColumnDateTextCellView.compose({
|
|
77541
77543
|
baseName: 'table-column-date-text-cell-view',
|
|
77542
|
-
template: template$
|
|
77543
|
-
styles: styles$
|
|
77544
|
+
template: template$p,
|
|
77545
|
+
styles: styles$v
|
|
77544
77546
|
});
|
|
77545
77547
|
DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
|
|
77546
77548
|
const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
|
|
@@ -77798,8 +77800,8 @@ focus outline in that case.
|
|
|
77798
77800
|
], TableColumnDateText.prototype, "customHourCycle", void 0);
|
|
77799
77801
|
const nimbleTableColumnDateText = TableColumnDateText.compose({
|
|
77800
77802
|
baseName: 'table-column-date-text',
|
|
77801
|
-
template: template$
|
|
77802
|
-
styles: styles$
|
|
77803
|
+
template: template$s,
|
|
77804
|
+
styles: styles$y
|
|
77803
77805
|
});
|
|
77804
77806
|
DesignSystem.getOrCreate()
|
|
77805
77807
|
.withPrefix('nimble')
|
|
@@ -77815,8 +77817,8 @@ focus outline in that case.
|
|
|
77815
77817
|
}
|
|
77816
77818
|
const durationTextCellView = TableColumnDurationTextCellView.compose({
|
|
77817
77819
|
baseName: 'table-column-duration-text-cell-view',
|
|
77818
|
-
template: template$
|
|
77819
|
-
styles: styles$
|
|
77820
|
+
template: template$p,
|
|
77821
|
+
styles: styles$v
|
|
77820
77822
|
});
|
|
77821
77823
|
DesignSystem.getOrCreate()
|
|
77822
77824
|
.withPrefix('nimble')
|
|
@@ -77917,8 +77919,8 @@ focus outline in that case.
|
|
|
77917
77919
|
}
|
|
77918
77920
|
const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
|
|
77919
77921
|
baseName: 'table-column-duration-text-group-header-view',
|
|
77920
|
-
template: template$
|
|
77921
|
-
styles: styles$
|
|
77922
|
+
template: template$q,
|
|
77923
|
+
styles: styles$w
|
|
77922
77924
|
});
|
|
77923
77925
|
DesignSystem.getOrCreate()
|
|
77924
77926
|
.withPrefix('nimble')
|
|
@@ -77970,8 +77972,8 @@ focus outline in that case.
|
|
|
77970
77972
|
}
|
|
77971
77973
|
const nimbleTableColumnDurationText = TableColumnDurationText.compose({
|
|
77972
77974
|
baseName: 'table-column-duration-text',
|
|
77973
|
-
template: template$
|
|
77974
|
-
styles: styles$
|
|
77975
|
+
template: template$s,
|
|
77976
|
+
styles: styles$y
|
|
77975
77977
|
});
|
|
77976
77978
|
DesignSystem.getOrCreate()
|
|
77977
77979
|
.withPrefix('nimble')
|
|
@@ -78079,15 +78081,15 @@ focus outline in that case.
|
|
|
78079
78081
|
attr({ attribute: 'key-type' })
|
|
78080
78082
|
], TableColumnEnumBase.prototype, "keyType", void 0);
|
|
78081
78083
|
|
|
78082
|
-
const styles$
|
|
78083
|
-
${styles$
|
|
78084
|
+
const styles$u = css `
|
|
78085
|
+
${styles$y}
|
|
78084
78086
|
|
|
78085
78087
|
slot[name='mapping'] {
|
|
78086
78088
|
display: none;
|
|
78087
78089
|
}
|
|
78088
78090
|
`;
|
|
78089
78091
|
|
|
78090
|
-
const template$
|
|
78092
|
+
const template$o = html `${template$s}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
78091
78093
|
|
|
78092
78094
|
const enumBaseValidityFlagNames = [
|
|
78093
78095
|
'invalidMappingKeyValueForType',
|
|
@@ -78173,7 +78175,7 @@ focus outline in that case.
|
|
|
78173
78175
|
}
|
|
78174
78176
|
}
|
|
78175
78177
|
|
|
78176
|
-
const styles$
|
|
78178
|
+
const styles$t = css `
|
|
78177
78179
|
${display$2('inline-flex')}
|
|
78178
78180
|
|
|
78179
78181
|
:host {
|
|
@@ -78197,7 +78199,7 @@ focus outline in that case.
|
|
|
78197
78199
|
}
|
|
78198
78200
|
`;
|
|
78199
78201
|
|
|
78200
|
-
const template$
|
|
78202
|
+
const template$n = html `
|
|
78201
78203
|
${when(x => x.visualizationTemplate, html `
|
|
78202
78204
|
<span class="reserve-icon-size">
|
|
78203
78205
|
${x => x.visualizationTemplate}
|
|
@@ -78341,15 +78343,15 @@ focus outline in that case.
|
|
|
78341
78343
|
], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
|
|
78342
78344
|
const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
|
|
78343
78345
|
baseName: 'table-column-mapping-group-header-view',
|
|
78344
|
-
template: template$
|
|
78345
|
-
styles: styles$
|
|
78346
|
+
template: template$n,
|
|
78347
|
+
styles: styles$t
|
|
78346
78348
|
});
|
|
78347
78349
|
DesignSystem.getOrCreate()
|
|
78348
78350
|
.withPrefix('nimble')
|
|
78349
78351
|
.register(mappingGroupHeaderView());
|
|
78350
78352
|
const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
|
|
78351
78353
|
|
|
78352
|
-
const styles$
|
|
78354
|
+
const styles$s = css `
|
|
78353
78355
|
${display$2('inline-flex')}
|
|
78354
78356
|
|
|
78355
78357
|
:host {
|
|
@@ -78373,7 +78375,7 @@ focus outline in that case.
|
|
|
78373
78375
|
}
|
|
78374
78376
|
`;
|
|
78375
78377
|
|
|
78376
|
-
const template$
|
|
78378
|
+
const template$m = html `
|
|
78377
78379
|
${when(x => x.visualizationTemplate, html `
|
|
78378
78380
|
<span class="reserve-icon-size">
|
|
78379
78381
|
${x => x.visualizationTemplate}
|
|
@@ -78460,8 +78462,8 @@ focus outline in that case.
|
|
|
78460
78462
|
], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
|
|
78461
78463
|
const mappingCellView = TableColumnMappingCellView.compose({
|
|
78462
78464
|
baseName: 'table-column-mapping-cell-view',
|
|
78463
|
-
template: template$
|
|
78464
|
-
styles: styles$
|
|
78465
|
+
template: template$m,
|
|
78466
|
+
styles: styles$s
|
|
78465
78467
|
});
|
|
78466
78468
|
DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
|
|
78467
78469
|
const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
|
|
@@ -78544,23 +78546,23 @@ focus outline in that case.
|
|
|
78544
78546
|
], TableColumnMapping.prototype, "widthMode", void 0);
|
|
78545
78547
|
const nimbleTableColumnMapping = TableColumnMapping.compose({
|
|
78546
78548
|
baseName: 'table-column-mapping',
|
|
78547
|
-
template: template$
|
|
78548
|
-
styles: styles$
|
|
78549
|
+
template: template$o,
|
|
78550
|
+
styles: styles$u
|
|
78549
78551
|
});
|
|
78550
78552
|
DesignSystem.getOrCreate()
|
|
78551
78553
|
.withPrefix('nimble')
|
|
78552
78554
|
.register(nimbleTableColumnMapping());
|
|
78553
78555
|
|
|
78554
|
-
const template$
|
|
78556
|
+
const template$l = html `
|
|
78555
78557
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
78556
|
-
>${template$
|
|
78558
|
+
>${template$s}</template
|
|
78557
78559
|
>
|
|
78558
78560
|
`;
|
|
78559
78561
|
|
|
78560
78562
|
/** @internal */
|
|
78561
78563
|
const cellViewMenuSlotName = 'menu-button-menu';
|
|
78562
78564
|
|
|
78563
|
-
const template$
|
|
78565
|
+
const template$k = html `
|
|
78564
78566
|
${when(x => x.showMenuButton, html `
|
|
78565
78567
|
<${menuButtonTag}
|
|
78566
78568
|
${ref('menuButton')}
|
|
@@ -78579,7 +78581,7 @@ focus outline in that case.
|
|
|
78579
78581
|
`)}
|
|
78580
78582
|
`;
|
|
78581
78583
|
|
|
78582
|
-
const styles$
|
|
78584
|
+
const styles$r = css `
|
|
78583
78585
|
:host {
|
|
78584
78586
|
align-self: center;
|
|
78585
78587
|
width: 100%;
|
|
@@ -78654,8 +78656,8 @@ focus outline in that case.
|
|
|
78654
78656
|
], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
|
|
78655
78657
|
const menuButtonCellView = TableColumnMenuButtonCellView.compose({
|
|
78656
78658
|
baseName: 'table-column-menu-button-cell-view',
|
|
78657
|
-
template: template$
|
|
78658
|
-
styles: styles$
|
|
78659
|
+
template: template$k,
|
|
78660
|
+
styles: styles$r
|
|
78659
78661
|
});
|
|
78660
78662
|
DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
|
|
78661
78663
|
const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
|
|
@@ -78710,8 +78712,8 @@ focus outline in that case.
|
|
|
78710
78712
|
], TableColumnMenuButton.prototype, "menuSlot", void 0);
|
|
78711
78713
|
const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
|
|
78712
78714
|
baseName: 'table-column-menu-button',
|
|
78713
|
-
template: template$
|
|
78714
|
-
styles: styles$
|
|
78715
|
+
template: template$l,
|
|
78716
|
+
styles: styles$y
|
|
78715
78717
|
});
|
|
78716
78718
|
DesignSystem.getOrCreate()
|
|
78717
78719
|
.withPrefix('nimble')
|
|
@@ -78719,7 +78721,7 @@ focus outline in that case.
|
|
|
78719
78721
|
|
|
78720
78722
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
78721
78723
|
// so the template can be composed into other column header templates
|
|
78722
|
-
const template$
|
|
78724
|
+
const template$j = html `<span
|
|
78723
78725
|
${overflow('hasOverflow')}
|
|
78724
78726
|
class="header-content"
|
|
78725
78727
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -78738,8 +78740,8 @@ focus outline in that case.
|
|
|
78738
78740
|
}
|
|
78739
78741
|
const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
|
|
78740
78742
|
baseName: 'table-column-number-text-group-header-view',
|
|
78741
|
-
template: template$
|
|
78742
|
-
styles: styles$
|
|
78743
|
+
template: template$q,
|
|
78744
|
+
styles: styles$w
|
|
78743
78745
|
});
|
|
78744
78746
|
DesignSystem.getOrCreate()
|
|
78745
78747
|
.withPrefix('nimble')
|
|
@@ -78760,8 +78762,8 @@ focus outline in that case.
|
|
|
78760
78762
|
}
|
|
78761
78763
|
const numberTextCellView = TableColumnNumberTextCellView.compose({
|
|
78762
78764
|
baseName: 'table-column-number-text-cell-view',
|
|
78763
|
-
template: template$
|
|
78764
|
-
styles: styles$
|
|
78765
|
+
template: template$p,
|
|
78766
|
+
styles: styles$v
|
|
78765
78767
|
});
|
|
78766
78768
|
DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
|
|
78767
78769
|
const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
|
|
@@ -79301,8 +79303,8 @@ focus outline in that case.
|
|
|
79301
79303
|
], TableColumnNumberText.prototype, "unit", void 0);
|
|
79302
79304
|
const nimbleTableColumnNumberText = TableColumnNumberText.compose({
|
|
79303
79305
|
baseName: 'table-column-number-text',
|
|
79304
|
-
template: template$
|
|
79305
|
-
styles: styles$
|
|
79306
|
+
template: template$j,
|
|
79307
|
+
styles: styles$y
|
|
79306
79308
|
});
|
|
79307
79309
|
DesignSystem.getOrCreate()
|
|
79308
79310
|
.withPrefix('nimble')
|
|
@@ -79320,8 +79322,8 @@ focus outline in that case.
|
|
|
79320
79322
|
}
|
|
79321
79323
|
const textCellView = TableColumnTextCellView.compose({
|
|
79322
79324
|
baseName: 'table-column-text-cell-view',
|
|
79323
|
-
template: template$
|
|
79324
|
-
styles: styles$
|
|
79325
|
+
template: template$p,
|
|
79326
|
+
styles: styles$v
|
|
79325
79327
|
});
|
|
79326
79328
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
|
|
79327
79329
|
const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
|
|
@@ -79375,15 +79377,15 @@ focus outline in that case.
|
|
|
79375
79377
|
}
|
|
79376
79378
|
const nimbleTableColumnText = TableColumnText.compose({
|
|
79377
79379
|
baseName: 'table-column-text',
|
|
79378
|
-
template: template$
|
|
79379
|
-
styles: styles$
|
|
79380
|
+
template: template$s,
|
|
79381
|
+
styles: styles$y
|
|
79380
79382
|
});
|
|
79381
79383
|
DesignSystem.getOrCreate()
|
|
79382
79384
|
.withPrefix('nimble')
|
|
79383
79385
|
.register(nimbleTableColumnText());
|
|
79384
79386
|
|
|
79385
|
-
const styles$
|
|
79386
|
-
${styles$
|
|
79387
|
+
const styles$q = css `
|
|
79388
|
+
${styles$1f}
|
|
79387
79389
|
|
|
79388
79390
|
.tabpanel {
|
|
79389
79391
|
overflow: auto;
|
|
@@ -79464,12 +79466,12 @@ focus outline in that case.
|
|
|
79464
79466
|
const nimbleTabs = Tabs.compose({
|
|
79465
79467
|
baseName: 'tabs',
|
|
79466
79468
|
baseClass: Tabs$1,
|
|
79467
|
-
template: template$
|
|
79468
|
-
styles: styles$
|
|
79469
|
+
template: template$W,
|
|
79470
|
+
styles: styles$q
|
|
79469
79471
|
});
|
|
79470
79472
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
79471
79473
|
|
|
79472
|
-
const styles$
|
|
79474
|
+
const styles$p = css `
|
|
79473
79475
|
${display$2('flex')}
|
|
79474
79476
|
|
|
79475
79477
|
:host {
|
|
@@ -79501,7 +79503,7 @@ focus outline in that case.
|
|
|
79501
79503
|
}
|
|
79502
79504
|
`;
|
|
79503
79505
|
|
|
79504
|
-
const template$
|
|
79506
|
+
const template$i = (context, definition) => html `
|
|
79505
79507
|
<template slot="end">
|
|
79506
79508
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
79507
79509
|
<div class="separator"></div>
|
|
@@ -79533,8 +79535,8 @@ focus outline in that case.
|
|
|
79533
79535
|
], TabsToolbar.prototype, "defaultSlottedElements", void 0);
|
|
79534
79536
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
79535
79537
|
baseName: 'tabs-toolbar',
|
|
79536
|
-
template: template$
|
|
79537
|
-
styles: styles$
|
|
79538
|
+
template: template$i,
|
|
79539
|
+
styles: styles$p
|
|
79538
79540
|
});
|
|
79539
79541
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
79540
79542
|
applyMixins(TabsToolbar, StartEnd);
|
|
@@ -79544,10 +79546,10 @@ focus outline in that case.
|
|
|
79544
79546
|
block: 'block'
|
|
79545
79547
|
};
|
|
79546
79548
|
|
|
79547
|
-
const styles$
|
|
79549
|
+
const styles$o = css `
|
|
79548
79550
|
${display$2('inline-flex')}
|
|
79549
|
-
${styles$
|
|
79550
|
-
${styles
|
|
79551
|
+
${styles$16}
|
|
79552
|
+
${styles$11}
|
|
79551
79553
|
|
|
79552
79554
|
:host {
|
|
79553
79555
|
font: ${bodyFont};
|
|
@@ -79739,7 +79741,7 @@ focus outline in that case.
|
|
|
79739
79741
|
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
79740
79742
|
</label>
|
|
79741
79743
|
`);
|
|
79742
|
-
const template$
|
|
79744
|
+
const template$h = () => html `
|
|
79743
79745
|
${labelTemplate$1}
|
|
79744
79746
|
<div class="container">
|
|
79745
79747
|
<textarea
|
|
@@ -79887,8 +79889,8 @@ focus outline in that case.
|
|
|
79887
79889
|
const nimbleTextArea = TextArea.compose({
|
|
79888
79890
|
baseName: 'text-area',
|
|
79889
79891
|
baseClass: TextArea$1,
|
|
79890
|
-
template: template$
|
|
79891
|
-
styles: styles$
|
|
79892
|
+
template: template$h,
|
|
79893
|
+
styles: styles$o,
|
|
79892
79894
|
shadowOptions: {
|
|
79893
79895
|
delegatesFocus: true
|
|
79894
79896
|
}
|
|
@@ -79905,10 +79907,10 @@ focus outline in that case.
|
|
|
79905
79907
|
frameless: 'frameless'
|
|
79906
79908
|
};
|
|
79907
79909
|
|
|
79908
|
-
const styles$
|
|
79910
|
+
const styles$n = css `
|
|
79909
79911
|
${display$2('inline-block')}
|
|
79910
|
-
${styles$
|
|
79911
|
-
${styles
|
|
79912
|
+
${styles$16}
|
|
79913
|
+
${styles$11}
|
|
79912
79914
|
|
|
79913
79915
|
:host {
|
|
79914
79916
|
font: ${bodyFont};
|
|
@@ -80182,7 +80184,7 @@ focus outline in that case.
|
|
|
80182
80184
|
* The template for the {@link @ni/fast-foundation#(TextField:class)} component.
|
|
80183
80185
|
* @public
|
|
80184
80186
|
*/
|
|
80185
|
-
const template$
|
|
80187
|
+
const template$g = (context, definition) => html `
|
|
80186
80188
|
<template
|
|
80187
80189
|
class="
|
|
80188
80190
|
${x => (x.readOnly ? 'readonly' : '')}
|
|
@@ -80267,8 +80269,8 @@ focus outline in that case.
|
|
|
80267
80269
|
const nimbleTextField = TextField.compose({
|
|
80268
80270
|
baseName: 'text-field',
|
|
80269
80271
|
baseClass: TextField$1,
|
|
80270
|
-
template: template$
|
|
80271
|
-
styles: styles$
|
|
80272
|
+
template: template$g,
|
|
80273
|
+
styles: styles$n,
|
|
80272
80274
|
shadowOptions: {
|
|
80273
80275
|
delegatesFocus: true
|
|
80274
80276
|
},
|
|
@@ -80285,7 +80287,7 @@ focus outline in that case.
|
|
|
80285
80287
|
});
|
|
80286
80288
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
80287
80289
|
|
|
80288
|
-
const styles$
|
|
80290
|
+
const styles$m = css `
|
|
80289
80291
|
${display$2('inline-flex')}
|
|
80290
80292
|
|
|
80291
80293
|
:host {
|
|
@@ -80371,7 +80373,7 @@ focus outline in that case.
|
|
|
80371
80373
|
}
|
|
80372
80374
|
`));
|
|
80373
80375
|
|
|
80374
|
-
const template$
|
|
80376
|
+
const template$f = html `
|
|
80375
80377
|
${when(x => x.tooltipVisible, html `
|
|
80376
80378
|
<${anchoredRegionTag}
|
|
80377
80379
|
class="anchored-region"
|
|
@@ -80423,8 +80425,8 @@ focus outline in that case.
|
|
|
80423
80425
|
const nimbleTooltip = Tooltip.compose({
|
|
80424
80426
|
baseName: 'tooltip',
|
|
80425
80427
|
baseClass: Tooltip$1,
|
|
80426
|
-
template: template$
|
|
80427
|
-
styles: styles$
|
|
80428
|
+
template: template$f,
|
|
80429
|
+
styles: styles$m
|
|
80428
80430
|
});
|
|
80429
80431
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
80430
80432
|
|
|
@@ -80512,7 +80514,7 @@ focus outline in that case.
|
|
|
80512
80514
|
}
|
|
80513
80515
|
}
|
|
80514
80516
|
|
|
80515
|
-
const styles$
|
|
80517
|
+
const styles$l = css `
|
|
80516
80518
|
${display$2('block')}
|
|
80517
80519
|
|
|
80518
80520
|
:host {
|
|
@@ -80729,12 +80731,12 @@ focus outline in that case.
|
|
|
80729
80731
|
baseName: 'tree-item',
|
|
80730
80732
|
baseClass: TreeItem$1,
|
|
80731
80733
|
template: treeItemTemplate,
|
|
80732
|
-
styles: styles$
|
|
80734
|
+
styles: styles$l,
|
|
80733
80735
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
80734
80736
|
});
|
|
80735
80737
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
80736
80738
|
|
|
80737
|
-
const styles$
|
|
80739
|
+
const styles$k = css `
|
|
80738
80740
|
${display$2('flex')}
|
|
80739
80741
|
|
|
80740
80742
|
:host {
|
|
@@ -80748,7 +80750,7 @@ focus outline in that case.
|
|
|
80748
80750
|
}
|
|
80749
80751
|
`;
|
|
80750
80752
|
|
|
80751
|
-
const template$
|
|
80753
|
+
const template$e = html `
|
|
80752
80754
|
<template
|
|
80753
80755
|
role="tree"
|
|
80754
80756
|
${ref('treeView')}
|
|
@@ -80844,8 +80846,8 @@ focus outline in that case.
|
|
|
80844
80846
|
const nimbleTreeView = TreeView.compose({
|
|
80845
80847
|
baseName: 'tree-view',
|
|
80846
80848
|
baseClass: TreeView$1,
|
|
80847
|
-
template: template$
|
|
80848
|
-
styles: styles$
|
|
80849
|
+
template: template$e,
|
|
80850
|
+
styles: styles$k
|
|
80849
80851
|
});
|
|
80850
80852
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
80851
80853
|
|
|
@@ -80961,9 +80963,9 @@ focus outline in that case.
|
|
|
80961
80963
|
}
|
|
80962
80964
|
const unitScaleByte = new UnitScaleByte();
|
|
80963
80965
|
|
|
80964
|
-
const template$
|
|
80966
|
+
const template$d = html `<template slot="unit"></template>`;
|
|
80965
80967
|
|
|
80966
|
-
const styles$
|
|
80968
|
+
const styles$j = css `
|
|
80967
80969
|
${display$2('none')}
|
|
80968
80970
|
`;
|
|
80969
80971
|
|
|
@@ -80991,8 +80993,8 @@ focus outline in that case.
|
|
|
80991
80993
|
], UnitByte.prototype, "binary", void 0);
|
|
80992
80994
|
const nimbleUnitByte = UnitByte.compose({
|
|
80993
80995
|
baseName: 'unit-byte',
|
|
80994
|
-
template: template$
|
|
80995
|
-
styles: styles$
|
|
80996
|
+
template: template$d,
|
|
80997
|
+
styles: styles$j
|
|
80996
80998
|
});
|
|
80997
80999
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
|
|
80998
81000
|
|
|
@@ -81044,8 +81046,8 @@ focus outline in that case.
|
|
|
81044
81046
|
}
|
|
81045
81047
|
const nimbleUnitVolt = UnitVolt.compose({
|
|
81046
81048
|
baseName: 'unit-volt',
|
|
81047
|
-
template: template$
|
|
81048
|
-
styles: styles$
|
|
81049
|
+
template: template$d,
|
|
81050
|
+
styles: styles$j
|
|
81049
81051
|
});
|
|
81050
81052
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
|
|
81051
81053
|
|
|
@@ -95359,7 +95361,7 @@ focus outline in that case.
|
|
|
95359
95361
|
return new Table(reader.readAll());
|
|
95360
95362
|
}
|
|
95361
95363
|
|
|
95362
|
-
const template$
|
|
95364
|
+
const template$c = html `
|
|
95363
95365
|
<div class="wafer-map-container">
|
|
95364
95366
|
<svg class="svg-root">
|
|
95365
95367
|
<g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
|
|
@@ -95392,7 +95394,7 @@ focus outline in that case.
|
|
|
95392
95394
|
</div>
|
|
95393
95395
|
`;
|
|
95394
95396
|
|
|
95395
|
-
const styles$
|
|
95397
|
+
const styles$i = css `
|
|
95396
95398
|
${display$2('inline-block')}
|
|
95397
95399
|
|
|
95398
95400
|
:host {
|
|
@@ -98417,8 +98419,8 @@ focus outline in that case.
|
|
|
98417
98419
|
], WaferMap.prototype, "colorScale", void 0);
|
|
98418
98420
|
const nimbleWaferMap = WaferMap.compose({
|
|
98419
98421
|
baseName: 'wafer-map',
|
|
98420
|
-
template: template$
|
|
98421
|
-
styles: styles$
|
|
98422
|
+
template: template$c,
|
|
98423
|
+
styles: styles$i
|
|
98422
98424
|
});
|
|
98423
98425
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
98424
98426
|
|
|
@@ -98430,7 +98432,7 @@ focus outline in that case.
|
|
|
98430
98432
|
*/
|
|
98431
98433
|
const display$1 = (displayValue) => `${display$3(displayValue)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host::before,:host::after,::before,::after{box-sizing:border-box;}`;
|
|
98432
98434
|
|
|
98433
|
-
const styles$
|
|
98435
|
+
const styles$h = css `
|
|
98434
98436
|
${display$1('flex')}
|
|
98435
98437
|
|
|
98436
98438
|
:host {
|
|
@@ -98503,7 +98505,7 @@ focus outline in that case.
|
|
|
98503
98505
|
}
|
|
98504
98506
|
`;
|
|
98505
98507
|
|
|
98506
|
-
const template$
|
|
98508
|
+
const template$b = html `
|
|
98507
98509
|
<div class="toolbar ${x => (x.toolbarEmpty ? 'toolbar-empty' : '')}">
|
|
98508
98510
|
<slot name="toolbar" ${slotted({ property: 'slottedToolbarElements' })}></slot>
|
|
98509
98511
|
</div>
|
|
@@ -98585,16 +98587,16 @@ focus outline in that case.
|
|
|
98585
98587
|
], ChatConversation.prototype, "slottedEndElements", void 0);
|
|
98586
98588
|
const sprightChatConversation = ChatConversation.compose({
|
|
98587
98589
|
baseName: 'chat-conversation',
|
|
98588
|
-
template: template$
|
|
98589
|
-
styles: styles$
|
|
98590
|
+
template: template$b,
|
|
98591
|
+
styles: styles$h
|
|
98590
98592
|
});
|
|
98591
98593
|
DesignSystem.getOrCreate()
|
|
98592
98594
|
.withPrefix('spright')
|
|
98593
98595
|
.register(sprightChatConversation());
|
|
98594
98596
|
|
|
98595
|
-
const styles$
|
|
98597
|
+
const styles$g = css `
|
|
98596
98598
|
${display$1('flex')}
|
|
98597
|
-
${styles$
|
|
98599
|
+
${styles$16}
|
|
98598
98600
|
|
|
98599
98601
|
:host {
|
|
98600
98602
|
width: 100%;
|
|
@@ -98696,7 +98698,7 @@ focus outline in that case.
|
|
|
98696
98698
|
}
|
|
98697
98699
|
`;
|
|
98698
98700
|
|
|
98699
|
-
const template$
|
|
98701
|
+
const template$a = html `
|
|
98700
98702
|
<div class="container">
|
|
98701
98703
|
<textarea
|
|
98702
98704
|
${ref('textArea')}
|
|
@@ -98912,8 +98914,8 @@ focus outline in that case.
|
|
|
98912
98914
|
], ChatInput.prototype, "scrollbarWidth", void 0);
|
|
98913
98915
|
const sprightChatInput = ChatInput.compose({
|
|
98914
98916
|
baseName: 'chat-input',
|
|
98915
|
-
template: template$
|
|
98916
|
-
styles: styles$
|
|
98917
|
+
template: template$a,
|
|
98918
|
+
styles: styles$g,
|
|
98917
98919
|
shadowOptions: {
|
|
98918
98920
|
delegatesFocus: true
|
|
98919
98921
|
}
|
|
@@ -98931,7 +98933,7 @@ focus outline in that case.
|
|
|
98931
98933
|
inbound: 'inbound'
|
|
98932
98934
|
};
|
|
98933
98935
|
|
|
98934
|
-
const styles$
|
|
98936
|
+
const styles$f = css `
|
|
98935
98937
|
${display$1('flex')}
|
|
98936
98938
|
|
|
98937
98939
|
:host {
|
|
@@ -99005,7 +99007,7 @@ focus outline in that case.
|
|
|
99005
99007
|
}
|
|
99006
99008
|
`;
|
|
99007
99009
|
|
|
99008
|
-
const template$
|
|
99010
|
+
const template$9 = (context, definition) => html `
|
|
99009
99011
|
<div class="container">
|
|
99010
99012
|
${startSlotTemplate(context, definition)}
|
|
99011
99013
|
<section class="message-content">
|
|
@@ -99054,12 +99056,12 @@ focus outline in that case.
|
|
|
99054
99056
|
applyMixins(ChatMessage, StartEnd);
|
|
99055
99057
|
const sprightChatMessage = ChatMessage.compose({
|
|
99056
99058
|
baseName: 'chat-message',
|
|
99057
|
-
template: template$
|
|
99058
|
-
styles: styles$
|
|
99059
|
+
template: template$9,
|
|
99060
|
+
styles: styles$f
|
|
99059
99061
|
});
|
|
99060
99062
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
|
|
99061
99063
|
|
|
99062
|
-
const styles$
|
|
99064
|
+
const styles$e = css `
|
|
99063
99065
|
${display$1('flex')}
|
|
99064
99066
|
|
|
99065
99067
|
:host {
|
|
@@ -99117,7 +99119,7 @@ focus outline in that case.
|
|
|
99117
99119
|
}
|
|
99118
99120
|
`;
|
|
99119
99121
|
|
|
99120
|
-
const template$
|
|
99122
|
+
const template$8 = (context, definition) => html `
|
|
99121
99123
|
<div class="container">
|
|
99122
99124
|
${startSlotTemplate(context, definition)}
|
|
99123
99125
|
<section class="message-content">
|
|
@@ -99155,12 +99157,12 @@ focus outline in that case.
|
|
|
99155
99157
|
applyMixins(ChatMessageInbound, StartEnd);
|
|
99156
99158
|
const sprightChatMessageInbound = ChatMessageInbound.compose({
|
|
99157
99159
|
baseName: 'chat-message-inbound',
|
|
99158
|
-
template: template$
|
|
99159
|
-
styles: styles$
|
|
99160
|
+
template: template$8,
|
|
99161
|
+
styles: styles$e
|
|
99160
99162
|
});
|
|
99161
99163
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageInbound());
|
|
99162
99164
|
|
|
99163
|
-
const styles$
|
|
99165
|
+
const styles$d = css `
|
|
99164
99166
|
${display$1('flex')}
|
|
99165
99167
|
|
|
99166
99168
|
:host {
|
|
@@ -99194,7 +99196,7 @@ focus outline in that case.
|
|
|
99194
99196
|
}
|
|
99195
99197
|
`;
|
|
99196
99198
|
|
|
99197
|
-
const template$
|
|
99199
|
+
const template$7 = () => html `
|
|
99198
99200
|
<div class="container">
|
|
99199
99201
|
<section class="message-content">
|
|
99200
99202
|
<slot></slot>
|
|
@@ -99209,12 +99211,12 @@ focus outline in that case.
|
|
|
99209
99211
|
}
|
|
99210
99212
|
const sprightChatMessageOutbound = ChatMessageOutbound.compose({
|
|
99211
99213
|
baseName: 'chat-message-outbound',
|
|
99212
|
-
template: template$
|
|
99213
|
-
styles: styles$
|
|
99214
|
+
template: template$7,
|
|
99215
|
+
styles: styles$d
|
|
99214
99216
|
});
|
|
99215
99217
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageOutbound());
|
|
99216
99218
|
|
|
99217
|
-
const styles$
|
|
99219
|
+
const styles$c = css `
|
|
99218
99220
|
${display$1('flex')}
|
|
99219
99221
|
|
|
99220
99222
|
:host {
|
|
@@ -99241,7 +99243,7 @@ focus outline in that case.
|
|
|
99241
99243
|
}
|
|
99242
99244
|
`;
|
|
99243
99245
|
|
|
99244
|
-
const template$
|
|
99246
|
+
const template$6 = () => html `
|
|
99245
99247
|
<div class="container">
|
|
99246
99248
|
<section class="message-content">
|
|
99247
99249
|
<slot></slot>
|
|
@@ -99256,13 +99258,147 @@ focus outline in that case.
|
|
|
99256
99258
|
}
|
|
99257
99259
|
const sprightChatMessageSystem = ChatMessageSystem.compose({
|
|
99258
99260
|
baseName: 'chat-message-system',
|
|
99259
|
-
template: template$
|
|
99260
|
-
styles: styles$
|
|
99261
|
+
template: template$6,
|
|
99262
|
+
styles: styles$c
|
|
99261
99263
|
});
|
|
99262
99264
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageSystem());
|
|
99263
99265
|
|
|
99266
|
+
const styles$b = css `
|
|
99267
|
+
${display$1('flex')}
|
|
99268
|
+
|
|
99269
|
+
:host {
|
|
99270
|
+
min-width: ${standardPadding};
|
|
99271
|
+
min-height: ${standardPadding};
|
|
99272
|
+
|
|
99273
|
+
flex-direction: row;
|
|
99274
|
+
justify-content: center;
|
|
99275
|
+
flex-shrink: 0;
|
|
99276
|
+
font: ${bodyFont};
|
|
99277
|
+
color: ${bodyFontColor};
|
|
99278
|
+
}
|
|
99279
|
+
|
|
99280
|
+
.container {
|
|
99281
|
+
display: flex;
|
|
99282
|
+
flex-direction: column;
|
|
99283
|
+
align-items: center;
|
|
99284
|
+
max-width: calc(90%);
|
|
99285
|
+
gap: ${mediumPadding};
|
|
99286
|
+
}
|
|
99287
|
+
|
|
99288
|
+
.brand-icon {
|
|
99289
|
+
display: flex;
|
|
99290
|
+
align-items: center;
|
|
99291
|
+
justify-content: center;
|
|
99292
|
+
}
|
|
99293
|
+
|
|
99294
|
+
slot[name='brand-icon']::slotted(*),
|
|
99295
|
+
slot[name='brand-icon'] > * {
|
|
99296
|
+
width: 48px;
|
|
99297
|
+
height: 48px;
|
|
99298
|
+
}
|
|
99299
|
+
|
|
99300
|
+
.title {
|
|
99301
|
+
font: ${titlePlus1Font};
|
|
99302
|
+
color: ${titlePlus1FontColor};
|
|
99303
|
+
text-align: center;
|
|
99304
|
+
}
|
|
99305
|
+
|
|
99306
|
+
.subtitle {
|
|
99307
|
+
font: ${subtitleFont};
|
|
99308
|
+
color: ${subtitleFontColor};
|
|
99309
|
+
text-align: center;
|
|
99310
|
+
}
|
|
99311
|
+
|
|
99312
|
+
.message-content {
|
|
99313
|
+
display: flex;
|
|
99314
|
+
flex-direction: column;
|
|
99315
|
+
align-items: center;
|
|
99316
|
+
width: fit-content;
|
|
99317
|
+
height: fit-content;
|
|
99318
|
+
overflow-x: auto;
|
|
99319
|
+
gap: ${mediumPadding};
|
|
99320
|
+
}
|
|
99321
|
+
`;
|
|
99322
|
+
|
|
99323
|
+
const nigelChatLightData = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 48 48"><defs><linearGradient id="nigelChatGradient" gradientUnits="userSpaceOnUse" x1="24" y1="0.1611" x2="24" y2="48.1611"><stop offset="0" stop-color="#008557"/><stop offset="1" stop-color="#00C07E"/></linearGradient></defs><path fill="url(#nigelChatGradient)" d="M36.654,11.338c-1.63-1.626-3.685-2.512-5.797-2.766c2.107-0.256,4.157-1.153,5.783-2.776C38.273,4.167,39.175,2.112,39.429,0c0.251,2.115,1.139,4.174,2.774,5.805c1.63,1.626,3.685,2.512,5.797,2.766c-2.108,0.256-4.158,1.153-5.784,2.776c-1.632,1.629-2.534,3.684-2.787,5.796C39.177,15.027,38.289,12.969,36.654,11.338z M18,24v-0.5c0-1.003,0.274-1.941,0.746-2.752c0.473-0.901,1.172-1.589,2.081-2.05c0.198-0.111,0.404-0.208,0.616-0.294c0.005-0.002,0.011-0.004,0.016-0.006C22.09,18.144,22.778,18,23.5,18H28V6.5C28,4.575,26.425,3,24.5,3h-21C1.575,3,0,4.575,0,6.5v14C0,22.425,1.575,24,3.5,24h1.75L3.5,31L18,24z M20,23.5v14c0,1.925,1.575,3.5,3.5,3.5h7l14,7l-1.75-7h1.75c1.925,0,3.5-1.575,3.5-3.5V23c0-1.925-1.575-3-3.5-3h-21C21.575,20,20,21.575,20,23.5z"/></svg>';
|
|
99324
|
+
const nigelChatDarkData = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 48 48"><defs><linearGradient id="nigelChatGradientDark" gradientUnits="userSpaceOnUse" x1="24" y1="47.8389" x2="24" y2="-0.1611"><stop offset="0" stop-color="#008557"/><stop offset="1" stop-color="#00C07E"/></linearGradient></defs><path fill="url(#nigelChatGradientDark)" d="M36.654,11.338c-1.63-1.626-3.685-2.512-5.797-2.766c2.107-0.256,4.157-1.153,5.783-2.776C38.273,4.167,39.175,2.112,39.429,0c0.251,2.115,1.139,4.174,2.774,5.805c1.63,1.626,3.685,2.512,5.797,2.766c-2.108,0.256-4.158,1.153-5.784,2.776c-1.632,1.629-2.534,3.684-2.787,5.796C39.177,15.027,38.289,12.969,36.654,11.338z M18,24v-0.5c0-1.003,0.274-1.941,0.746-2.752c0.473-0.901,1.172-1.589,2.081-2.05c0.198-0.111,0.404-0.208,0.616-0.294c0.005-0.002,0.011-0.004,0.016-0.006C22.09,18.144,22.778,18,23.5,18H28V6.5C28,4.575,26.425,3,24.5,3h-21C1.575,3,0,4.575,0,6.5v14C0,22.425,1.575,24,3.5,24h1.75L3.5,31L18,24z M20,23.5v14c0,1.925,1.575,3.5,3.5,3.5h7l14,7l-1.75-7h1.75c1.925,0,3.5-1.575,3.5-3.5V23c0-1.925-1.575-3-3.5-3h-21C21.575,20,20,21.575,20,23.5z"/></svg>';
|
|
99325
|
+
|
|
99326
|
+
const template$5 = html `
|
|
99327
|
+
<div class="icon light-icon" aria-hidden="true" :innerHTML="${() => nigelChatLightData}"></div>
|
|
99328
|
+
<div class="icon dark-icon" aria-hidden="true" :innerHTML="${() => nigelChatDarkData}"></div>
|
|
99329
|
+
`;
|
|
99330
|
+
|
|
99331
|
+
const styles$a = css `
|
|
99332
|
+
${styles$1h}
|
|
99333
|
+
|
|
99334
|
+
.dark-icon {
|
|
99335
|
+
display: none;
|
|
99336
|
+
}
|
|
99337
|
+
`.withBehaviors(themeBehavior(Theme.dark, css `
|
|
99338
|
+
.light-icon {
|
|
99339
|
+
display: none;
|
|
99340
|
+
}
|
|
99341
|
+
|
|
99342
|
+
.dark-icon {
|
|
99343
|
+
display: contents;
|
|
99344
|
+
}
|
|
99345
|
+
`));
|
|
99346
|
+
|
|
99347
|
+
/**
|
|
99348
|
+
* Spright Nigel chat brand icon.
|
|
99349
|
+
* Used as the default brand icon in the welcome message.
|
|
99350
|
+
*/
|
|
99351
|
+
class IconNigelChat extends Icon {
|
|
99352
|
+
}
|
|
99353
|
+
const sprightIconNigelChat = IconNigelChat.compose({
|
|
99354
|
+
baseName: 'icon-nigel-chat',
|
|
99355
|
+
template: template$5,
|
|
99356
|
+
styles: styles$a
|
|
99357
|
+
});
|
|
99358
|
+
DesignSystem.getOrCreate()
|
|
99359
|
+
.withPrefix('spright')
|
|
99360
|
+
.register(sprightIconNigelChat());
|
|
99361
|
+
const iconNigelChatTag = 'spright-icon-nigel-chat';
|
|
99362
|
+
|
|
99363
|
+
const template$4 = () => html `
|
|
99364
|
+
<div class="container">
|
|
99365
|
+
<div class="brand-icon">
|
|
99366
|
+
<slot name="brand-icon">
|
|
99367
|
+
<${iconNigelChatTag}></${iconNigelChatTag}>
|
|
99368
|
+
</slot>
|
|
99369
|
+
</div>
|
|
99370
|
+
${when(x => x.welcomeTitle, html `
|
|
99371
|
+
<div class="title">${x => x.welcomeTitle}</div>
|
|
99372
|
+
`)}
|
|
99373
|
+
${when(x => x.subtitle, html `
|
|
99374
|
+
<div class="subtitle">${x => x.subtitle}</div>
|
|
99375
|
+
`)}
|
|
99376
|
+
<section class="message-content">
|
|
99377
|
+
<slot></slot>
|
|
99378
|
+
</section>
|
|
99379
|
+
</div>
|
|
99380
|
+
`;
|
|
99381
|
+
|
|
99382
|
+
/**
|
|
99383
|
+
* A Spright component for displaying a welcome chat message
|
|
99384
|
+
*/
|
|
99385
|
+
class ChatMessageWelcome extends FoundationElement {
|
|
99386
|
+
}
|
|
99387
|
+
__decorate([
|
|
99388
|
+
attr({ attribute: 'welcome-title' })
|
|
99389
|
+
], ChatMessageWelcome.prototype, "welcomeTitle", void 0);
|
|
99390
|
+
__decorate([
|
|
99391
|
+
attr
|
|
99392
|
+
], ChatMessageWelcome.prototype, "subtitle", void 0);
|
|
99393
|
+
const sprightChatMessageWelcome = ChatMessageWelcome.compose({
|
|
99394
|
+
baseName: 'chat-message-welcome',
|
|
99395
|
+
template: template$4,
|
|
99396
|
+
styles: styles$b
|
|
99397
|
+
});
|
|
99398
|
+
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageWelcome());
|
|
99399
|
+
|
|
99264
99400
|
const styles$9 = css `
|
|
99265
|
-
${styles$
|
|
99401
|
+
${styles$1h}
|
|
99266
99402
|
|
|
99267
99403
|
.icon svg {
|
|
99268
99404
|
fill: ${calendarEventBorderReservationColor};
|
|
@@ -99279,7 +99415,7 @@ focus outline in that case.
|
|
|
99279
99415
|
}
|
|
99280
99416
|
const sprightIconWorkItemCalendarWeek = IconWorkItemCalendarWeek.compose({
|
|
99281
99417
|
baseName: 'icon-work-item-calendar-week',
|
|
99282
|
-
template: template$
|
|
99418
|
+
template: template$_,
|
|
99283
99419
|
styles: styles$9
|
|
99284
99420
|
});
|
|
99285
99421
|
DesignSystem.getOrCreate()
|
|
@@ -99287,7 +99423,7 @@ focus outline in that case.
|
|
|
99287
99423
|
.register(sprightIconWorkItemCalendarWeek());
|
|
99288
99424
|
|
|
99289
99425
|
const styles$8 = css `
|
|
99290
|
-
${styles$
|
|
99426
|
+
${styles$1h}
|
|
99291
99427
|
|
|
99292
99428
|
.icon svg {
|
|
99293
99429
|
fill: ${calendarEventBorderCalibrationColor};
|
|
@@ -99304,7 +99440,7 @@ focus outline in that case.
|
|
|
99304
99440
|
}
|
|
99305
99441
|
const sprightIconWorkItemCalipers = IconWorkItemCalipers.compose({
|
|
99306
99442
|
baseName: 'icon-work-item-calipers',
|
|
99307
|
-
template: template$
|
|
99443
|
+
template: template$_,
|
|
99308
99444
|
styles: styles$8
|
|
99309
99445
|
});
|
|
99310
99446
|
DesignSystem.getOrCreate()
|
|
@@ -99312,7 +99448,7 @@ focus outline in that case.
|
|
|
99312
99448
|
.register(sprightIconWorkItemCalipers());
|
|
99313
99449
|
|
|
99314
99450
|
const styles$7 = css `
|
|
99315
|
-
${styles$
|
|
99451
|
+
${styles$1h}
|
|
99316
99452
|
|
|
99317
99453
|
.icon svg {
|
|
99318
99454
|
fill: ${calendarEventBorderTransportOrderColor};
|
|
@@ -99329,7 +99465,7 @@ focus outline in that case.
|
|
|
99329
99465
|
}
|
|
99330
99466
|
const sprightIconWorkItemForklift = IconWorkItemForklift.compose({
|
|
99331
99467
|
baseName: 'icon-work-item-forklift',
|
|
99332
|
-
template: template$
|
|
99468
|
+
template: template$_,
|
|
99333
99469
|
styles: styles$7
|
|
99334
99470
|
});
|
|
99335
99471
|
DesignSystem.getOrCreate()
|
|
@@ -99337,7 +99473,7 @@ focus outline in that case.
|
|
|
99337
99473
|
.register(sprightIconWorkItemForklift());
|
|
99338
99474
|
|
|
99339
99475
|
const styles$6 = css `
|
|
99340
|
-
${styles$
|
|
99476
|
+
${styles$1h}
|
|
99341
99477
|
|
|
99342
99478
|
.icon svg {
|
|
99343
99479
|
fill: ${calendarEventBorderStaticColor};
|
|
@@ -99354,7 +99490,7 @@ focus outline in that case.
|
|
|
99354
99490
|
}
|
|
99355
99491
|
const sprightIconWorkItemRectangleCheckLines = IconWorkItemRectangleCheckLines.compose({
|
|
99356
99492
|
baseName: 'icon-work-item-rectangle-check-lines',
|
|
99357
|
-
template: template$
|
|
99493
|
+
template: template$_,
|
|
99358
99494
|
styles: styles$6
|
|
99359
99495
|
});
|
|
99360
99496
|
DesignSystem.getOrCreate()
|
|
@@ -99362,7 +99498,7 @@ focus outline in that case.
|
|
|
99362
99498
|
.register(sprightIconWorkItemRectangleCheckLines());
|
|
99363
99499
|
|
|
99364
99500
|
const styles$5 = css `
|
|
99365
|
-
${styles$
|
|
99501
|
+
${styles$1h}
|
|
99366
99502
|
|
|
99367
99503
|
.icon svg {
|
|
99368
99504
|
fill: ${calendarEventBorderJobColor};
|
|
@@ -99379,7 +99515,7 @@ focus outline in that case.
|
|
|
99379
99515
|
}
|
|
99380
99516
|
const sprightIconWorkItemUserHelmetSafety = IconWorkItemUserHelmetSafety.compose({
|
|
99381
99517
|
baseName: 'icon-work-item-user-helmet-safety',
|
|
99382
|
-
template: template$
|
|
99518
|
+
template: template$_,
|
|
99383
99519
|
styles: styles$5
|
|
99384
99520
|
});
|
|
99385
99521
|
DesignSystem.getOrCreate()
|
|
@@ -99387,7 +99523,7 @@ focus outline in that case.
|
|
|
99387
99523
|
.register(sprightIconWorkItemUserHelmetSafety());
|
|
99388
99524
|
|
|
99389
99525
|
const styles$4 = css `
|
|
99390
|
-
${styles$
|
|
99526
|
+
${styles$1h}
|
|
99391
99527
|
|
|
99392
99528
|
.icon svg {
|
|
99393
99529
|
fill: ${calendarEventBorderMaintenanceColor};
|
|
@@ -99404,7 +99540,7 @@ focus outline in that case.
|
|
|
99404
99540
|
}
|
|
99405
99541
|
const sprightIconWorkItemWrenchHammer = IconWorkItemWrenchHammer.compose({
|
|
99406
99542
|
baseName: 'icon-work-item-wrench-hammer',
|
|
99407
|
-
template: template$
|
|
99543
|
+
template: template$_,
|
|
99408
99544
|
styles: styles$4
|
|
99409
99545
|
});
|
|
99410
99546
|
DesignSystem.getOrCreate()
|