@ni/ok-components 1.12.4 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-components-bundle.js +679 -416
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +4234 -4081
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +216 -0
- package/dist/custom-elements.md +43 -0
- package/dist/esm/fv/all-fv.d.ts +1 -0
- package/dist/esm/fv/all-fv.js +1 -0
- package/dist/esm/fv/all-fv.js.map +1 -1
- package/dist/esm/fv/filter-bar/index.d.ts +30 -0
- package/dist/esm/fv/filter-bar/index.js +120 -0
- package/dist/esm/fv/filter-bar/index.js.map +1 -0
- package/dist/esm/fv/filter-bar/styles.d.ts +1 -0
- package/dist/esm/fv/filter-bar/styles.js +119 -0
- package/dist/esm/fv/filter-bar/styles.js.map +1 -0
- package/dist/esm/fv/filter-bar/template.d.ts +2 -0
- package/dist/esm/fv/filter-bar/template.js +34 -0
- package/dist/esm/fv/filter-bar/template.js.map +1 -0
- package/dist/esm/fv/filter-bar/types.d.ts +53 -0
- package/dist/esm/fv/filter-bar/types.js +2 -0
- package/dist/esm/fv/filter-bar/types.js.map +1 -0
- package/package.json +3 -3
|
@@ -14980,9 +14980,9 @@
|
|
|
14980
14980
|
const prefix = 'ni-nimble';
|
|
14981
14981
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
14982
14982
|
|
|
14983
|
-
const template$
|
|
14983
|
+
const template$1r = html `<slot></slot>`;
|
|
14984
14984
|
|
|
14985
|
-
const styles$
|
|
14985
|
+
const styles$1H = css `
|
|
14986
14986
|
${display$2('contents')}
|
|
14987
14987
|
|
|
14988
14988
|
:host {
|
|
@@ -15109,8 +15109,8 @@
|
|
|
15109
15109
|
], ThemeProvider.prototype, "theme", void 0);
|
|
15110
15110
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
15111
15111
|
baseName: 'theme-provider',
|
|
15112
|
-
styles: styles$
|
|
15113
|
-
template: template$
|
|
15112
|
+
styles: styles$1H,
|
|
15113
|
+
template: template$1r
|
|
15114
15114
|
});
|
|
15115
15115
|
DesignSystem.getOrCreate()
|
|
15116
15116
|
.withPrefix('nimble')
|
|
@@ -16785,7 +16785,7 @@
|
|
|
16785
16785
|
}
|
|
16786
16786
|
// #endregion
|
|
16787
16787
|
|
|
16788
|
-
const styles$
|
|
16788
|
+
const styles$1G = css `
|
|
16789
16789
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
16790
16790
|
|
|
16791
16791
|
@layer base {
|
|
@@ -16863,7 +16863,7 @@
|
|
|
16863
16863
|
}
|
|
16864
16864
|
`;
|
|
16865
16865
|
|
|
16866
|
-
const template$
|
|
16866
|
+
const template$1q = (_context, definition) => html `${
|
|
16867
16867
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16868
16868
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
16869
16869
|
*/ ''}<div
|
|
@@ -16966,8 +16966,8 @@
|
|
|
16966
16966
|
const nimbleAnchor = Anchor.compose({
|
|
16967
16967
|
baseName: 'anchor',
|
|
16968
16968
|
baseClass: Anchor$1,
|
|
16969
|
-
template: template$
|
|
16970
|
-
styles: styles$
|
|
16969
|
+
template: template$1q,
|
|
16970
|
+
styles: styles$1G,
|
|
16971
16971
|
shadowOptions: {
|
|
16972
16972
|
delegatesFocus: true
|
|
16973
16973
|
}
|
|
@@ -17076,7 +17076,7 @@
|
|
|
17076
17076
|
padding: 0;
|
|
17077
17077
|
`;
|
|
17078
17078
|
|
|
17079
|
-
const styles$
|
|
17079
|
+
const styles$1F = css `
|
|
17080
17080
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
17081
17081
|
|
|
17082
17082
|
@layer base {
|
|
@@ -17360,8 +17360,8 @@
|
|
|
17360
17360
|
}
|
|
17361
17361
|
`));
|
|
17362
17362
|
|
|
17363
|
-
const styles$
|
|
17364
|
-
${styles$
|
|
17363
|
+
const styles$1E = css `
|
|
17364
|
+
${styles$1F}
|
|
17365
17365
|
${buttonAppearanceVariantStyles}
|
|
17366
17366
|
|
|
17367
17367
|
.control {
|
|
@@ -17381,7 +17381,7 @@
|
|
|
17381
17381
|
}
|
|
17382
17382
|
`;
|
|
17383
17383
|
|
|
17384
|
-
const template$
|
|
17384
|
+
const template$1p = (context, definition) => html `
|
|
17385
17385
|
<a
|
|
17386
17386
|
class="control"
|
|
17387
17387
|
part="control"
|
|
@@ -17463,8 +17463,8 @@
|
|
|
17463
17463
|
], AnchorButton.prototype, "disabled", void 0);
|
|
17464
17464
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17465
17465
|
baseName: 'anchor-button',
|
|
17466
|
-
template: template$
|
|
17467
|
-
styles: styles$
|
|
17466
|
+
template: template$1p,
|
|
17467
|
+
styles: styles$1E,
|
|
17468
17468
|
shadowOptions: {
|
|
17469
17469
|
delegatesFocus: true
|
|
17470
17470
|
}
|
|
@@ -17472,7 +17472,7 @@
|
|
|
17472
17472
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17473
17473
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17474
17474
|
|
|
17475
|
-
const styles$
|
|
17475
|
+
const styles$1D = css `
|
|
17476
17476
|
${display$2('grid')}
|
|
17477
17477
|
|
|
17478
17478
|
:host {
|
|
@@ -17555,7 +17555,7 @@
|
|
|
17555
17555
|
}
|
|
17556
17556
|
`;
|
|
17557
17557
|
|
|
17558
|
-
const template$
|
|
17558
|
+
const template$1o = (context, definition) => html `
|
|
17559
17559
|
<template
|
|
17560
17560
|
role="menuitem"
|
|
17561
17561
|
class="${x => (typeof x.startColumnCount === 'number'
|
|
@@ -17656,8 +17656,8 @@
|
|
|
17656
17656
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17657
17657
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17658
17658
|
baseName: 'anchor-menu-item',
|
|
17659
|
-
template: template$
|
|
17660
|
-
styles: styles$
|
|
17659
|
+
template: template$1o,
|
|
17660
|
+
styles: styles$1D,
|
|
17661
17661
|
shadowOptions: {
|
|
17662
17662
|
delegatesFocus: true
|
|
17663
17663
|
}
|
|
@@ -17669,7 +17669,7 @@
|
|
|
17669
17669
|
|
|
17670
17670
|
// These styles end up inside a @layer block so must use the
|
|
17671
17671
|
// cssPartial tag instead of the css tag
|
|
17672
|
-
const styles$
|
|
17672
|
+
const styles$1C = cssPartial `
|
|
17673
17673
|
.severity-text {
|
|
17674
17674
|
display: none;
|
|
17675
17675
|
font: ${errorTextFont};
|
|
@@ -17779,12 +17779,12 @@
|
|
|
17779
17779
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
17780
17780
|
/* eslint-enable max-classes-per-file */
|
|
17781
17781
|
|
|
17782
|
-
const styles$
|
|
17782
|
+
const styles$1B = css `
|
|
17783
17783
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
17784
17784
|
|
|
17785
17785
|
@layer base {
|
|
17786
17786
|
${display$2('inline-flex')}
|
|
17787
|
-
${styles$
|
|
17787
|
+
${styles$1C}
|
|
17788
17788
|
:host {
|
|
17789
17789
|
color: ${buttonLabelFontColor};
|
|
17790
17790
|
font: ${buttonLabelFont};
|
|
@@ -18464,8 +18464,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
18464
18464
|
}
|
|
18465
18465
|
`));
|
|
18466
18466
|
|
|
18467
|
-
const styles$
|
|
18468
|
-
${styles$
|
|
18467
|
+
const styles$1A = css `
|
|
18468
|
+
${styles$1B}
|
|
18469
18469
|
${'' /* Anchor specific styles */}
|
|
18470
18470
|
@layer base {
|
|
18471
18471
|
.control {
|
|
@@ -19568,13 +19568,13 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19568
19568
|
};
|
|
19569
19569
|
|
|
19570
19570
|
// Avoiding any whitespace in the template because this is an inline element
|
|
19571
|
-
const template$
|
|
19571
|
+
const template$1n = html `<div
|
|
19572
19572
|
class="icon"
|
|
19573
19573
|
aria-hidden="true"
|
|
19574
19574
|
:innerHTML=${x => x.icon.data}
|
|
19575
19575
|
></div>`;
|
|
19576
19576
|
|
|
19577
|
-
const styles$
|
|
19577
|
+
const styles$1z = css `
|
|
19578
19578
|
${display$2('inline-flex')}
|
|
19579
19579
|
|
|
19580
19580
|
:host {
|
|
@@ -19637,8 +19637,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19637
19637
|
const registerIconSvg = (baseName, iconClass) => {
|
|
19638
19638
|
const composedIcon = iconClass.compose({
|
|
19639
19639
|
baseName,
|
|
19640
|
-
template: template$
|
|
19641
|
-
styles: styles$
|
|
19640
|
+
template: template$1n,
|
|
19641
|
+
styles: styles$1z
|
|
19642
19642
|
});
|
|
19643
19643
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
19644
19644
|
};
|
|
@@ -19762,7 +19762,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19762
19762
|
*/
|
|
19763
19763
|
const StepperOrientation = Orientation;
|
|
19764
19764
|
|
|
19765
|
-
const template$
|
|
19765
|
+
const template$1m = (context, definition) => html `
|
|
19766
19766
|
<template slot="step">
|
|
19767
19767
|
<li class="
|
|
19768
19768
|
container
|
|
@@ -19909,15 +19909,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19909
19909
|
], AnchorStep.prototype, "tabIndex", void 0);
|
|
19910
19910
|
const nimbleAnchorStep = AnchorStep.compose({
|
|
19911
19911
|
baseName: 'anchor-step',
|
|
19912
|
-
template: template$
|
|
19913
|
-
styles: styles$
|
|
19912
|
+
template: template$1m,
|
|
19913
|
+
styles: styles$1A,
|
|
19914
19914
|
shadowOptions: {
|
|
19915
19915
|
delegatesFocus: true
|
|
19916
19916
|
}
|
|
19917
19917
|
});
|
|
19918
19918
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
|
|
19919
19919
|
|
|
19920
|
-
const styles$
|
|
19920
|
+
const styles$1y = css `
|
|
19921
19921
|
${display$2('inline-flex')}
|
|
19922
19922
|
|
|
19923
19923
|
:host {
|
|
@@ -20034,7 +20034,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20034
20034
|
}
|
|
20035
20035
|
`;
|
|
20036
20036
|
|
|
20037
|
-
const template$
|
|
20037
|
+
const template$1l = (context, definition) => html `
|
|
20038
20038
|
<template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
|
|
20039
20039
|
<a
|
|
20040
20040
|
download="${x => x.download}"
|
|
@@ -20086,15 +20086,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20086
20086
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
20087
20087
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
20088
20088
|
baseName: 'anchor-tab',
|
|
20089
|
-
template: template$
|
|
20090
|
-
styles: styles$
|
|
20089
|
+
template: template$1l,
|
|
20090
|
+
styles: styles$1y,
|
|
20091
20091
|
shadowOptions: {
|
|
20092
20092
|
delegatesFocus: true
|
|
20093
20093
|
}
|
|
20094
20094
|
});
|
|
20095
20095
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
20096
20096
|
|
|
20097
|
-
const styles$
|
|
20097
|
+
const styles$1x = css `
|
|
20098
20098
|
${display$2('flex')}
|
|
20099
20099
|
|
|
20100
20100
|
:host {
|
|
@@ -20134,12 +20134,12 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20134
20134
|
}
|
|
20135
20135
|
`;
|
|
20136
20136
|
|
|
20137
|
-
const styles$
|
|
20138
|
-
${styles$
|
|
20137
|
+
const styles$1w = css `
|
|
20138
|
+
${styles$1F}
|
|
20139
20139
|
${buttonAppearanceVariantStyles}
|
|
20140
20140
|
`;
|
|
20141
20141
|
|
|
20142
|
-
const template$
|
|
20142
|
+
const template$1k = (context, definition) => html `
|
|
20143
20143
|
<button
|
|
20144
20144
|
class="control"
|
|
20145
20145
|
part="control"
|
|
@@ -20230,8 +20230,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20230
20230
|
const nimbleButton = Button.compose({
|
|
20231
20231
|
baseName: 'button',
|
|
20232
20232
|
baseClass: Button$1,
|
|
20233
|
-
template: template$
|
|
20234
|
-
styles: styles$
|
|
20233
|
+
template: template$1k,
|
|
20234
|
+
styles: styles$1w,
|
|
20235
20235
|
shadowOptions: {
|
|
20236
20236
|
delegatesFocus: true
|
|
20237
20237
|
}
|
|
@@ -20265,7 +20265,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20265
20265
|
registerIconSvg('icon-arrow-expander-right', IconArrowExpanderRight);
|
|
20266
20266
|
const iconArrowExpanderRightTag = 'nimble-icon-arrow-expander-right';
|
|
20267
20267
|
|
|
20268
|
-
const template$
|
|
20268
|
+
const template$1j = (context, definition) => html `
|
|
20269
20269
|
<div
|
|
20270
20270
|
class="tab-bar"
|
|
20271
20271
|
>
|
|
@@ -20566,15 +20566,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20566
20566
|
applyMixins(AnchorTabs, StartEnd);
|
|
20567
20567
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
20568
20568
|
baseName: 'anchor-tabs',
|
|
20569
|
-
template: template$
|
|
20570
|
-
styles: styles$
|
|
20569
|
+
template: template$1j,
|
|
20570
|
+
styles: styles$1x,
|
|
20571
20571
|
shadowOptions: {
|
|
20572
20572
|
delegatesFocus: false
|
|
20573
20573
|
}
|
|
20574
20574
|
});
|
|
20575
20575
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
|
|
20576
20576
|
|
|
20577
|
-
const styles$
|
|
20577
|
+
const styles$1v = css `
|
|
20578
20578
|
${display$2('block')}
|
|
20579
20579
|
|
|
20580
20580
|
:host {
|
|
@@ -20679,7 +20679,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20679
20679
|
}
|
|
20680
20680
|
`;
|
|
20681
20681
|
|
|
20682
|
-
const template$
|
|
20682
|
+
const template$1i = (context, definition) => html `
|
|
20683
20683
|
<template
|
|
20684
20684
|
role="treeitem"
|
|
20685
20685
|
slot="${x => (x.isNestedItem() ? 'item' : null)}"
|
|
@@ -20816,8 +20816,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20816
20816
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
20817
20817
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
20818
20818
|
baseName: 'anchor-tree-item',
|
|
20819
|
-
template: template$
|
|
20820
|
-
styles: styles$
|
|
20819
|
+
template: template$1i,
|
|
20820
|
+
styles: styles$1v,
|
|
20821
20821
|
shadowOptions: {
|
|
20822
20822
|
delegatesFocus: true
|
|
20823
20823
|
}
|
|
@@ -20833,7 +20833,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20833
20833
|
zIndex1000: '1000'
|
|
20834
20834
|
};
|
|
20835
20835
|
|
|
20836
|
-
const styles$
|
|
20836
|
+
const styles$1u = css `
|
|
20837
20837
|
${display$2('block')}
|
|
20838
20838
|
|
|
20839
20839
|
:host {
|
|
@@ -20864,14 +20864,14 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20864
20864
|
baseName: 'anchored-region',
|
|
20865
20865
|
baseClass: AnchoredRegion$1,
|
|
20866
20866
|
template: anchoredRegionTemplate,
|
|
20867
|
-
styles: styles$
|
|
20867
|
+
styles: styles$1u
|
|
20868
20868
|
});
|
|
20869
20869
|
DesignSystem.getOrCreate()
|
|
20870
20870
|
.withPrefix('nimble')
|
|
20871
20871
|
.register(nimbleAnchoredRegion());
|
|
20872
20872
|
const anchoredRegionTag = 'nimble-anchored-region';
|
|
20873
20873
|
|
|
20874
|
-
const styles$
|
|
20874
|
+
const styles$1t = css `
|
|
20875
20875
|
${display$2('flex')}
|
|
20876
20876
|
|
|
20877
20877
|
:host {
|
|
@@ -21038,7 +21038,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
21038
21038
|
information: 'information'
|
|
21039
21039
|
};
|
|
21040
21040
|
|
|
21041
|
-
const template$
|
|
21041
|
+
const template$1h = html `
|
|
21042
21042
|
<${themeProviderTag} theme="${Theme.color}">
|
|
21043
21043
|
<div class="container"
|
|
21044
21044
|
role="status"
|
|
@@ -21156,8 +21156,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
21156
21156
|
applyMixins(Banner, ARIAGlobalStatesAndProperties);
|
|
21157
21157
|
const nimbleBanner = Banner.compose({
|
|
21158
21158
|
baseName: 'banner',
|
|
21159
|
-
template: template$
|
|
21160
|
-
styles: styles$
|
|
21159
|
+
template: template$1h,
|
|
21160
|
+
styles: styles$1t
|
|
21161
21161
|
});
|
|
21162
21162
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
21163
21163
|
const bannerTag = 'nimble-banner';
|
|
@@ -21199,7 +21199,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
21199
21199
|
</template>
|
|
21200
21200
|
`;
|
|
21201
21201
|
|
|
21202
|
-
const styles$
|
|
21202
|
+
const styles$1s = css `
|
|
21203
21203
|
${display$2('inline-flex')}
|
|
21204
21204
|
|
|
21205
21205
|
:host {
|
|
@@ -21303,11 +21303,11 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
21303
21303
|
baseName: 'breadcrumb',
|
|
21304
21304
|
baseClass: Breadcrumb$1,
|
|
21305
21305
|
template: breadcrumbTemplate,
|
|
21306
|
-
styles: styles$
|
|
21306
|
+
styles: styles$1s
|
|
21307
21307
|
});
|
|
21308
21308
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
21309
21309
|
|
|
21310
|
-
const styles$
|
|
21310
|
+
const styles$1r = css `
|
|
21311
21311
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
21312
21312
|
|
|
21313
21313
|
@layer base {
|
|
@@ -21404,14 +21404,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21404
21404
|
baseName: 'breadcrumb-item',
|
|
21405
21405
|
baseClass: BreadcrumbItem$1,
|
|
21406
21406
|
template: breadcrumbItemTemplate,
|
|
21407
|
-
styles: styles$
|
|
21407
|
+
styles: styles$1r,
|
|
21408
21408
|
separator: forwardSlash16X16.data
|
|
21409
21409
|
});
|
|
21410
21410
|
DesignSystem.getOrCreate()
|
|
21411
21411
|
.withPrefix('nimble')
|
|
21412
21412
|
.register(nimbleBreadcrumbItem());
|
|
21413
21413
|
|
|
21414
|
-
const styles$
|
|
21414
|
+
const styles$1q = css `
|
|
21415
21415
|
${display$2('flex')}
|
|
21416
21416
|
|
|
21417
21417
|
:host {
|
|
@@ -21435,7 +21435,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21435
21435
|
}
|
|
21436
21436
|
`;
|
|
21437
21437
|
|
|
21438
|
-
const template$
|
|
21438
|
+
const template$1g = html `
|
|
21439
21439
|
<section aria-labelledby="title-slot">
|
|
21440
21440
|
<span id="title-slot"><slot name="title"></slot></span>
|
|
21441
21441
|
<slot></slot>
|
|
@@ -21450,12 +21450,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21450
21450
|
const nimbleCard = Card.compose({
|
|
21451
21451
|
baseName: 'card',
|
|
21452
21452
|
baseClass: Card$1,
|
|
21453
|
-
template: template$
|
|
21454
|
-
styles: styles$
|
|
21453
|
+
template: template$1g,
|
|
21454
|
+
styles: styles$1q
|
|
21455
21455
|
});
|
|
21456
21456
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
21457
21457
|
|
|
21458
|
-
const styles$
|
|
21458
|
+
const styles$1p = css `
|
|
21459
21459
|
${display$2('inline-flex')}
|
|
21460
21460
|
|
|
21461
21461
|
:host {
|
|
@@ -21613,7 +21613,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21613
21613
|
const nimbleCardButton = CardButton.compose({
|
|
21614
21614
|
baseName: 'card-button',
|
|
21615
21615
|
template: buttonTemplate,
|
|
21616
|
-
styles: styles$
|
|
21616
|
+
styles: styles$1p,
|
|
21617
21617
|
shadowOptions: {
|
|
21618
21618
|
delegatesFocus: true
|
|
21619
21619
|
}
|
|
@@ -21621,7 +21621,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21621
21621
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
21622
21622
|
const cardButtonTag = 'nimble-card-button';
|
|
21623
21623
|
|
|
21624
|
-
const styles$
|
|
21624
|
+
const styles$1o = css `
|
|
21625
21625
|
.error-icon {
|
|
21626
21626
|
display: none;
|
|
21627
21627
|
}
|
|
@@ -21655,9 +21655,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21655
21655
|
}
|
|
21656
21656
|
`;
|
|
21657
21657
|
|
|
21658
|
-
const styles$
|
|
21658
|
+
const styles$1n = css `
|
|
21659
21659
|
${display$2('inline-grid')}
|
|
21660
|
-
${styles$
|
|
21660
|
+
${styles$1o}
|
|
21661
21661
|
|
|
21662
21662
|
:host {
|
|
21663
21663
|
font: ${bodyFont};
|
|
@@ -21797,7 +21797,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21797
21797
|
</div>
|
|
21798
21798
|
`;
|
|
21799
21799
|
|
|
21800
|
-
const template$
|
|
21800
|
+
const template$1f = (_context, definition) => html `
|
|
21801
21801
|
<template
|
|
21802
21802
|
role="checkbox"
|
|
21803
21803
|
aria-checked="${x => x.checked}"
|
|
@@ -21894,8 +21894,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21894
21894
|
const nimbleCheckbox = Checkbox.compose({
|
|
21895
21895
|
baseName: 'checkbox',
|
|
21896
21896
|
baseClass: Checkbox$1,
|
|
21897
|
-
template: template$
|
|
21898
|
-
styles: styles$
|
|
21897
|
+
template: template$1f,
|
|
21898
|
+
styles: styles$1n,
|
|
21899
21899
|
checkedIndicator: check16X16.data,
|
|
21900
21900
|
indeterminateIndicator: minus16X16.data
|
|
21901
21901
|
});
|
|
@@ -21907,7 +21907,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21907
21907
|
block: 'block'
|
|
21908
21908
|
};
|
|
21909
21909
|
|
|
21910
|
-
const styles$
|
|
21910
|
+
const styles$1m = css `
|
|
21911
21911
|
${display$2('inline-flex')}
|
|
21912
21912
|
|
|
21913
21913
|
:host {
|
|
@@ -21968,7 +21968,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21968
21968
|
}
|
|
21969
21969
|
`));
|
|
21970
21970
|
|
|
21971
|
-
const template$
|
|
21971
|
+
const template$1e = (context, definition) => html `
|
|
21972
21972
|
${startSlotTemplate(context, definition)}
|
|
21973
21973
|
<span
|
|
21974
21974
|
class="content"
|
|
@@ -22054,8 +22054,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22054
22054
|
applyMixins(Chip, StartEnd);
|
|
22055
22055
|
const nimbleChip = Chip.compose({
|
|
22056
22056
|
baseName: 'chip',
|
|
22057
|
-
template: template$
|
|
22058
|
-
styles: styles$
|
|
22057
|
+
template: template$1e,
|
|
22058
|
+
styles: styles$1m,
|
|
22059
22059
|
shadowOptions: {
|
|
22060
22060
|
delegatesFocus: true
|
|
22061
22061
|
}
|
|
@@ -22063,8 +22063,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22063
22063
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleChip());
|
|
22064
22064
|
const chipTag = 'nimble-chip';
|
|
22065
22065
|
|
|
22066
|
-
const styles$
|
|
22067
|
-
${styles$
|
|
22066
|
+
const styles$1l = css `
|
|
22067
|
+
${styles$1F}
|
|
22068
22068
|
${buttonAppearanceVariantStyles}
|
|
22069
22069
|
|
|
22070
22070
|
@layer checked {
|
|
@@ -22111,7 +22111,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22111
22111
|
}
|
|
22112
22112
|
`));
|
|
22113
22113
|
|
|
22114
|
-
const template$
|
|
22114
|
+
const template$1d = (context, definition) => html `
|
|
22115
22115
|
<div
|
|
22116
22116
|
role="button"
|
|
22117
22117
|
part="control"
|
|
@@ -22206,8 +22206,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22206
22206
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
22207
22207
|
const nimbleToggleButton = ToggleButton.compose({
|
|
22208
22208
|
baseName: 'toggle-button',
|
|
22209
|
-
template: template$
|
|
22210
|
-
styles: styles$
|
|
22209
|
+
template: template$1d,
|
|
22210
|
+
styles: styles$1l,
|
|
22211
22211
|
shadowOptions: {
|
|
22212
22212
|
delegatesFocus: true
|
|
22213
22213
|
}
|
|
@@ -22237,7 +22237,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22237
22237
|
frameless: 'frameless'
|
|
22238
22238
|
};
|
|
22239
22239
|
|
|
22240
|
-
const styles$
|
|
22240
|
+
const styles$1k = css `
|
|
22241
22241
|
${display$2('inline-flex')}
|
|
22242
22242
|
|
|
22243
22243
|
:host {
|
|
@@ -22527,7 +22527,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22527
22527
|
}
|
|
22528
22528
|
`));
|
|
22529
22529
|
|
|
22530
|
-
const styles$
|
|
22530
|
+
const styles$1j = css `
|
|
22531
22531
|
.annotated-label {
|
|
22532
22532
|
display: flex;
|
|
22533
22533
|
flex-direction: row;
|
|
@@ -22554,10 +22554,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22554
22554
|
none: undefined,
|
|
22555
22555
|
standard: 'standard'};
|
|
22556
22556
|
|
|
22557
|
-
const styles$
|
|
22557
|
+
const styles$1i = css `
|
|
22558
|
+
${styles$1k}
|
|
22559
|
+
${styles$1o}
|
|
22558
22560
|
${styles$1j}
|
|
22559
|
-
${styles$1n}
|
|
22560
|
-
${styles$1i}
|
|
22561
22561
|
|
|
22562
22562
|
:host {
|
|
22563
22563
|
field-sizing: fixed;
|
|
@@ -22685,7 +22685,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22685
22685
|
<slot></slot>
|
|
22686
22686
|
</label>
|
|
22687
22687
|
`);
|
|
22688
|
-
const template$
|
|
22688
|
+
const template$1c = (context, definition) => html `
|
|
22689
22689
|
<template
|
|
22690
22690
|
aria-disabled="${x => x.ariaDisabled}"
|
|
22691
22691
|
autocomplete="${x => x.autocomplete}"
|
|
@@ -23460,8 +23460,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23460
23460
|
const nimbleCombobox = Combobox.compose({
|
|
23461
23461
|
baseName: 'combobox',
|
|
23462
23462
|
baseClass: FormAssociatedCombobox,
|
|
23463
|
-
template: template$
|
|
23464
|
-
styles: styles$
|
|
23463
|
+
template: template$1c,
|
|
23464
|
+
styles: styles$1i,
|
|
23465
23465
|
shadowOptions: {
|
|
23466
23466
|
delegatesFocus: true
|
|
23467
23467
|
},
|
|
@@ -23505,7 +23505,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23505
23505
|
*/
|
|
23506
23506
|
const UserDismissed = Symbol('user dismissed');
|
|
23507
23507
|
|
|
23508
|
-
const styles$
|
|
23508
|
+
const styles$1h = css `
|
|
23509
23509
|
${display$2('grid')}
|
|
23510
23510
|
|
|
23511
23511
|
dialog {
|
|
@@ -23598,7 +23598,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23598
23598
|
}
|
|
23599
23599
|
`;
|
|
23600
23600
|
|
|
23601
|
-
const template$
|
|
23601
|
+
const template$1b = html `
|
|
23602
23602
|
<template>
|
|
23603
23603
|
<dialog
|
|
23604
23604
|
${ref('dialogElement')}
|
|
@@ -23746,13 +23746,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23746
23746
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
23747
23747
|
const nimbleDialog = Dialog.compose({
|
|
23748
23748
|
baseName: 'dialog',
|
|
23749
|
-
template: template$
|
|
23750
|
-
styles: styles$
|
|
23749
|
+
template: template$1b,
|
|
23750
|
+
styles: styles$1h,
|
|
23751
23751
|
baseClass: Dialog
|
|
23752
23752
|
});
|
|
23753
23753
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
23754
23754
|
|
|
23755
|
-
const styles$
|
|
23755
|
+
const styles$1g = css `
|
|
23756
23756
|
${display$2('block')}
|
|
23757
23757
|
|
|
23758
23758
|
:host {
|
|
@@ -23895,7 +23895,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23895
23895
|
}
|
|
23896
23896
|
`;
|
|
23897
23897
|
|
|
23898
|
-
const template$
|
|
23898
|
+
const template$1a = html `
|
|
23899
23899
|
<dialog
|
|
23900
23900
|
${ref('dialog')}
|
|
23901
23901
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -24037,8 +24037,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
24037
24037
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
24038
24038
|
const nimbleDrawer = Drawer.compose({
|
|
24039
24039
|
baseName: 'drawer',
|
|
24040
|
-
template: template$
|
|
24041
|
-
styles: styles$
|
|
24040
|
+
template: template$1a,
|
|
24041
|
+
styles: styles$1g
|
|
24042
24042
|
});
|
|
24043
24043
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
24044
24044
|
|
|
@@ -25405,6 +25405,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25405
25405
|
}
|
|
25406
25406
|
}
|
|
25407
25407
|
registerIconSvg('icon-filter', IconFilter);
|
|
25408
|
+
const iconFilterTag = 'nimble-icon-filter';
|
|
25408
25409
|
|
|
25409
25410
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
25410
25411
|
// See generation source in nimble-components/build/generate-icons
|
|
@@ -26941,6 +26942,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26941
26942
|
}
|
|
26942
26943
|
}
|
|
26943
26944
|
registerIconSvg('icon-xmark', IconXmark);
|
|
26945
|
+
const iconXmarkTag = 'nimble-icon-xmark';
|
|
26944
26946
|
|
|
26945
26947
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
26946
26948
|
// See generation source in nimble-components/build/generate-icons
|
|
@@ -27012,7 +27014,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27012
27014
|
}
|
|
27013
27015
|
}
|
|
27014
27016
|
|
|
27015
|
-
const styles$
|
|
27017
|
+
const styles$1f = css `
|
|
27016
27018
|
${display$2('none')}
|
|
27017
27019
|
`;
|
|
27018
27020
|
|
|
@@ -27085,7 +27087,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27085
27087
|
], LabelProviderCore.prototype, "itemRemove", void 0);
|
|
27086
27088
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
27087
27089
|
baseName: 'label-provider-core',
|
|
27088
|
-
styles: styles$
|
|
27090
|
+
styles: styles$1f
|
|
27089
27091
|
});
|
|
27090
27092
|
DesignSystem.getOrCreate()
|
|
27091
27093
|
.withPrefix('nimble')
|
|
@@ -27252,13 +27254,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27252
27254
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
27253
27255
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
27254
27256
|
baseName: 'label-provider-table',
|
|
27255
|
-
styles: styles$
|
|
27257
|
+
styles: styles$1f
|
|
27256
27258
|
});
|
|
27257
27259
|
DesignSystem.getOrCreate()
|
|
27258
27260
|
.withPrefix('nimble')
|
|
27259
27261
|
.register(nimbleLabelProviderTable());
|
|
27260
27262
|
|
|
27261
|
-
const styles$
|
|
27263
|
+
const styles$1e = css `
|
|
27262
27264
|
${display$2('flex')}
|
|
27263
27265
|
|
|
27264
27266
|
:host {
|
|
@@ -27334,7 +27336,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27334
27336
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
27335
27337
|
* @public
|
|
27336
27338
|
*/
|
|
27337
|
-
const template$
|
|
27339
|
+
const template$19 = (context, definition) => html `
|
|
27338
27340
|
<template
|
|
27339
27341
|
aria-checked="${x => x.ariaChecked}"
|
|
27340
27342
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -27436,13 +27438,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27436
27438
|
const nimbleListOption = ListOption.compose({
|
|
27437
27439
|
baseName: 'list-option',
|
|
27438
27440
|
baseClass: ListboxOption,
|
|
27439
|
-
template: template$
|
|
27440
|
-
styles: styles$
|
|
27441
|
+
template: template$19,
|
|
27442
|
+
styles: styles$1e
|
|
27441
27443
|
});
|
|
27442
27444
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
27443
27445
|
const listOptionTag = 'nimble-list-option';
|
|
27444
27446
|
|
|
27445
|
-
const styles$
|
|
27447
|
+
const styles$1d = css `
|
|
27446
27448
|
${display$2('flex')}
|
|
27447
27449
|
|
|
27448
27450
|
:host {
|
|
@@ -27504,7 +27506,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27504
27506
|
const isListOption$1 = (n) => {
|
|
27505
27507
|
return n instanceof ListOption;
|
|
27506
27508
|
};
|
|
27507
|
-
const template$
|
|
27509
|
+
const template$18 = html `
|
|
27508
27510
|
<template
|
|
27509
27511
|
role="group"
|
|
27510
27512
|
aria-label="${x => x.labelContent}"
|
|
@@ -27646,8 +27648,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27646
27648
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
27647
27649
|
baseName: 'list-option-group',
|
|
27648
27650
|
baseClass: FoundationElement,
|
|
27649
|
-
template: template$
|
|
27650
|
-
styles: styles$
|
|
27651
|
+
template: template$18,
|
|
27652
|
+
styles: styles$1d
|
|
27651
27653
|
});
|
|
27652
27654
|
DesignSystem.getOrCreate()
|
|
27653
27655
|
.withPrefix('nimble')
|
|
@@ -27674,9 +27676,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27674
27676
|
attr()
|
|
27675
27677
|
], Mapping$1.prototype, "key", void 0);
|
|
27676
27678
|
|
|
27677
|
-
const template$
|
|
27679
|
+
const template$17 = html `<template slot="mapping"></template>`;
|
|
27678
27680
|
|
|
27679
|
-
const styles$
|
|
27681
|
+
const styles$1c = css `
|
|
27680
27682
|
${display$2('none')}
|
|
27681
27683
|
`;
|
|
27682
27684
|
|
|
@@ -27692,8 +27694,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27692
27694
|
], MappingEmpty.prototype, "text", void 0);
|
|
27693
27695
|
const emptyMapping = MappingEmpty.compose({
|
|
27694
27696
|
baseName: 'mapping-empty',
|
|
27695
|
-
template: template$
|
|
27696
|
-
styles: styles$
|
|
27697
|
+
template: template$17,
|
|
27698
|
+
styles: styles$1c
|
|
27697
27699
|
});
|
|
27698
27700
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
27699
27701
|
|
|
@@ -27763,8 +27765,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27763
27765
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
27764
27766
|
const iconMapping = MappingIcon.compose({
|
|
27765
27767
|
baseName: 'mapping-icon',
|
|
27766
|
-
template: template$
|
|
27767
|
-
styles: styles$
|
|
27768
|
+
template: template$17,
|
|
27769
|
+
styles: styles$1c
|
|
27768
27770
|
});
|
|
27769
27771
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
27770
27772
|
|
|
@@ -27787,8 +27789,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27787
27789
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
27788
27790
|
const spinnerMapping = MappingSpinner.compose({
|
|
27789
27791
|
baseName: 'mapping-spinner',
|
|
27790
|
-
template: template$
|
|
27791
|
-
styles: styles$
|
|
27792
|
+
template: template$17,
|
|
27793
|
+
styles: styles$1c
|
|
27792
27794
|
});
|
|
27793
27795
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
27794
27796
|
|
|
@@ -27804,8 +27806,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27804
27806
|
], MappingText.prototype, "text", void 0);
|
|
27805
27807
|
const textMapping = MappingText.compose({
|
|
27806
27808
|
baseName: 'mapping-text',
|
|
27807
|
-
template: template$
|
|
27808
|
-
styles: styles$
|
|
27809
|
+
template: template$17,
|
|
27810
|
+
styles: styles$1c
|
|
27809
27811
|
});
|
|
27810
27812
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
27811
27813
|
|
|
@@ -28107,7 +28109,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28107
28109
|
observable
|
|
28108
28110
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
28109
28111
|
|
|
28110
|
-
const template$
|
|
28112
|
+
const template$16 = () => html `
|
|
28111
28113
|
<template
|
|
28112
28114
|
slot="${x => {
|
|
28113
28115
|
if (x.slot) {
|
|
@@ -28124,7 +28126,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28124
28126
|
</template>
|
|
28125
28127
|
`;
|
|
28126
28128
|
|
|
28127
|
-
const styles$
|
|
28129
|
+
const styles$1b = css `
|
|
28128
28130
|
${display$2('grid')}
|
|
28129
28131
|
|
|
28130
28132
|
:host {
|
|
@@ -28195,8 +28197,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28195
28197
|
const nimbleMenu = Menu.compose({
|
|
28196
28198
|
baseName: 'menu',
|
|
28197
28199
|
baseClass: Menu$1,
|
|
28198
|
-
template: template$
|
|
28199
|
-
styles: styles$
|
|
28200
|
+
template: template$16,
|
|
28201
|
+
styles: styles$1b
|
|
28200
28202
|
});
|
|
28201
28203
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
28202
28204
|
const menuTag = 'nimble-menu';
|
|
@@ -28213,7 +28215,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28213
28215
|
auto: 'auto'
|
|
28214
28216
|
};
|
|
28215
28217
|
|
|
28216
|
-
const styles$
|
|
28218
|
+
const styles$1a = css `
|
|
28217
28219
|
${display$2('inline-block')}
|
|
28218
28220
|
|
|
28219
28221
|
:host {
|
|
@@ -28231,7 +28233,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28231
28233
|
}
|
|
28232
28234
|
`;
|
|
28233
28235
|
|
|
28234
|
-
const template$
|
|
28236
|
+
const template$15 = html `
|
|
28235
28237
|
<template
|
|
28236
28238
|
?open="${x => x.open}"
|
|
28237
28239
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -28481,8 +28483,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28481
28483
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
28482
28484
|
const nimbleMenuButton = MenuButton.compose({
|
|
28483
28485
|
baseName: 'menu-button',
|
|
28484
|
-
template: template$
|
|
28485
|
-
styles: styles$
|
|
28486
|
+
template: template$15,
|
|
28487
|
+
styles: styles$1a,
|
|
28486
28488
|
shadowOptions: {
|
|
28487
28489
|
delegatesFocus: true
|
|
28488
28490
|
}
|
|
@@ -28490,7 +28492,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28490
28492
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
28491
28493
|
const menuButtonTag = 'nimble-menu-button';
|
|
28492
28494
|
|
|
28493
|
-
const styles$
|
|
28495
|
+
const styles$19 = css `
|
|
28494
28496
|
${display$2('grid')}
|
|
28495
28497
|
|
|
28496
28498
|
:host {
|
|
@@ -28587,7 +28589,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28587
28589
|
baseName: 'menu-item',
|
|
28588
28590
|
baseClass: MenuItem$1,
|
|
28589
28591
|
template: menuItemTemplate,
|
|
28590
|
-
styles: styles$
|
|
28592
|
+
styles: styles$19,
|
|
28591
28593
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
28592
28594
|
});
|
|
28593
28595
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -28603,10 +28605,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28603
28605
|
frameless: 'frameless'
|
|
28604
28606
|
};
|
|
28605
28607
|
|
|
28606
|
-
const styles$
|
|
28608
|
+
const styles$18 = css `
|
|
28607
28609
|
${display$2('inline-block')}
|
|
28608
|
-
${styles$
|
|
28609
|
-
${styles$
|
|
28610
|
+
${styles$1o}
|
|
28611
|
+
${styles$1j}
|
|
28610
28612
|
|
|
28611
28613
|
:host {
|
|
28612
28614
|
font: ${bodyFont};
|
|
@@ -28837,7 +28839,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28837
28839
|
* The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
|
|
28838
28840
|
* @public
|
|
28839
28841
|
*/
|
|
28840
|
-
const template$
|
|
28842
|
+
const template$14 = (context, definition) => html `
|
|
28841
28843
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
28842
28844
|
${labelTemplate$4}
|
|
28843
28845
|
<div class="root" part="root">
|
|
@@ -28991,8 +28993,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28991
28993
|
const nimbleNumberField = NumberField.compose({
|
|
28992
28994
|
baseName: 'number-field',
|
|
28993
28995
|
baseClass: NumberField$1,
|
|
28994
|
-
template: template$
|
|
28995
|
-
styles: styles$
|
|
28996
|
+
template: template$14,
|
|
28997
|
+
styles: styles$18,
|
|
28996
28998
|
shadowOptions: {
|
|
28997
28999
|
delegatesFocus: true
|
|
28998
29000
|
},
|
|
@@ -29035,7 +29037,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
29035
29037
|
});
|
|
29036
29038
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
29037
29039
|
|
|
29038
|
-
const styles$
|
|
29040
|
+
const styles$17 = css `
|
|
29039
29041
|
${display$2('inline-flex')}
|
|
29040
29042
|
|
|
29041
29043
|
:host {
|
|
@@ -29135,15 +29137,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
29135
29137
|
baseName: 'radio',
|
|
29136
29138
|
baseClass: Radio$1,
|
|
29137
29139
|
template: radioTemplate,
|
|
29138
|
-
styles: styles$
|
|
29140
|
+
styles: styles$17,
|
|
29139
29141
|
checkedIndicator: circleFilled16X16.data
|
|
29140
29142
|
});
|
|
29141
29143
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
29142
29144
|
|
|
29143
|
-
const styles$
|
|
29145
|
+
const styles$16 = css `
|
|
29144
29146
|
${display$2('inline-block')}
|
|
29145
|
-
${styles$
|
|
29146
|
-
${styles$
|
|
29147
|
+
${styles$1o}
|
|
29148
|
+
${styles$1j}
|
|
29147
29149
|
|
|
29148
29150
|
.positioning-region {
|
|
29149
29151
|
display: flex;
|
|
@@ -29182,7 +29184,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
29182
29184
|
`;
|
|
29183
29185
|
|
|
29184
29186
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
29185
|
-
const template$
|
|
29187
|
+
const template$13 = html `
|
|
29186
29188
|
<template
|
|
29187
29189
|
role="radiogroup"
|
|
29188
29190
|
aria-disabled="${x => x.disabled}"
|
|
@@ -29222,8 +29224,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
29222
29224
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
29223
29225
|
baseName: 'radio-group',
|
|
29224
29226
|
baseClass: RadioGroup$1,
|
|
29225
|
-
template: template$
|
|
29226
|
-
styles: styles$
|
|
29227
|
+
template: template$13,
|
|
29228
|
+
styles: styles$16,
|
|
29227
29229
|
shadowOptions: {
|
|
29228
29230
|
delegatesFocus: true
|
|
29229
29231
|
}
|
|
@@ -50154,7 +50156,7 @@ img.ProseMirror-separator {
|
|
|
50154
50156
|
//#region src/index.ts
|
|
50155
50157
|
var src_default$7 = HardBreak;
|
|
50156
50158
|
|
|
50157
|
-
const styles$
|
|
50159
|
+
const styles$15 = css `
|
|
50158
50160
|
${display$2('inline')}
|
|
50159
50161
|
|
|
50160
50162
|
.positioning-region {
|
|
@@ -50191,7 +50193,7 @@ img.ProseMirror-separator {
|
|
|
50191
50193
|
baseName: 'toolbar',
|
|
50192
50194
|
baseClass: Toolbar$1,
|
|
50193
50195
|
template: toolbarTemplate,
|
|
50194
|
-
styles: styles$
|
|
50196
|
+
styles: styles$15
|
|
50195
50197
|
});
|
|
50196
50198
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
50197
50199
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -50220,8 +50222,8 @@ img.ProseMirror-separator {
|
|
|
50220
50222
|
cssCustomPropertyName: null
|
|
50221
50223
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
50222
50224
|
|
|
50223
|
-
const styles$
|
|
50224
|
-
${styles$
|
|
50225
|
+
const styles$14 = css `
|
|
50226
|
+
${styles$1k}
|
|
50225
50227
|
|
|
50226
50228
|
:host {
|
|
50227
50229
|
height: auto;
|
|
@@ -50239,7 +50241,7 @@ img.ProseMirror-separator {
|
|
|
50239
50241
|
}
|
|
50240
50242
|
`;
|
|
50241
50243
|
|
|
50242
|
-
const template$
|
|
50244
|
+
const template$12 = html `
|
|
50243
50245
|
<template>
|
|
50244
50246
|
<${anchoredRegionTag}
|
|
50245
50247
|
${ref('region')}
|
|
@@ -50527,15 +50529,15 @@ img.ProseMirror-separator {
|
|
|
50527
50529
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
50528
50530
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
50529
50531
|
baseName: 'rich-text-mention-listbox',
|
|
50530
|
-
template: template$
|
|
50531
|
-
styles: styles$
|
|
50532
|
+
template: template$12,
|
|
50533
|
+
styles: styles$14
|
|
50532
50534
|
});
|
|
50533
50535
|
DesignSystem.getOrCreate()
|
|
50534
50536
|
.withPrefix('nimble')
|
|
50535
50537
|
.register(nimbleRichTextMentionListbox());
|
|
50536
50538
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
50537
50539
|
|
|
50538
|
-
const template$
|
|
50540
|
+
const template$11 = html `
|
|
50539
50541
|
<template
|
|
50540
50542
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
50541
50543
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -50637,9 +50639,9 @@ img.ProseMirror-separator {
|
|
|
50637
50639
|
</template>
|
|
50638
50640
|
`;
|
|
50639
50641
|
|
|
50640
|
-
const styles$
|
|
50642
|
+
const styles$13 = css `
|
|
50641
50643
|
${display$2('inline-flex')}
|
|
50642
|
-
${styles$
|
|
50644
|
+
${styles$1o}
|
|
50643
50645
|
|
|
50644
50646
|
:host {
|
|
50645
50647
|
font: ${bodyFont};
|
|
@@ -69510,8 +69512,8 @@ img.ProseMirror-separator {
|
|
|
69510
69512
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
69511
69513
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
69512
69514
|
baseName: 'rich-text-editor',
|
|
69513
|
-
template: template$
|
|
69514
|
-
styles: styles$
|
|
69515
|
+
template: template$11,
|
|
69516
|
+
styles: styles$13,
|
|
69515
69517
|
shadowOptions: {
|
|
69516
69518
|
delegatesFocus: true
|
|
69517
69519
|
}
|
|
@@ -69520,13 +69522,13 @@ img.ProseMirror-separator {
|
|
|
69520
69522
|
.withPrefix('nimble')
|
|
69521
69523
|
.register(nimbleRichTextEditor());
|
|
69522
69524
|
|
|
69523
|
-
const template
|
|
69525
|
+
const template$10 = html `
|
|
69524
69526
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
69525
69527
|
<div ${ref('viewer')} class="viewer"></div>
|
|
69526
69528
|
</template>
|
|
69527
69529
|
`;
|
|
69528
69530
|
|
|
69529
|
-
const styles$
|
|
69531
|
+
const styles$12 = css `
|
|
69530
69532
|
${display$2('flex')}
|
|
69531
69533
|
|
|
69532
69534
|
:host {
|
|
@@ -69639,17 +69641,17 @@ img.ProseMirror-separator {
|
|
|
69639
69641
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
69640
69642
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
69641
69643
|
baseName: 'rich-text-viewer',
|
|
69642
|
-
template: template
|
|
69643
|
-
styles: styles$
|
|
69644
|
+
template: template$10,
|
|
69645
|
+
styles: styles$12
|
|
69644
69646
|
});
|
|
69645
69647
|
DesignSystem.getOrCreate()
|
|
69646
69648
|
.withPrefix('nimble')
|
|
69647
69649
|
.register(nimbleRichTextViewer());
|
|
69648
69650
|
|
|
69649
|
-
const styles$
|
|
69651
|
+
const styles$11 = css `
|
|
69652
|
+
${styles$1k}
|
|
69653
|
+
${styles$1o}
|
|
69650
69654
|
${styles$1j}
|
|
69651
|
-
${styles$1n}
|
|
69652
|
-
${styles$1i}
|
|
69653
69655
|
|
|
69654
69656
|
${
|
|
69655
69657
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -69812,7 +69814,7 @@ img.ProseMirror-separator {
|
|
|
69812
69814
|
}
|
|
69813
69815
|
`));
|
|
69814
69816
|
|
|
69815
|
-
const styles
|
|
69817
|
+
const styles$10 = css `
|
|
69816
69818
|
${display$2('inline-grid')}
|
|
69817
69819
|
|
|
69818
69820
|
:host {
|
|
@@ -69982,7 +69984,7 @@ img.ProseMirror-separator {
|
|
|
69982
69984
|
}
|
|
69983
69985
|
`));
|
|
69984
69986
|
|
|
69985
|
-
const template
|
|
69987
|
+
const template$$ = html `
|
|
69986
69988
|
<template role="progressbar">
|
|
69987
69989
|
${''
|
|
69988
69990
|
/**
|
|
@@ -70029,8 +70031,8 @@ img.ProseMirror-separator {
|
|
|
70029
70031
|
], Spinner.prototype, "appearance", void 0);
|
|
70030
70032
|
const nimbleSpinner = Spinner.compose({
|
|
70031
70033
|
baseName: 'spinner',
|
|
70032
|
-
template: template
|
|
70033
|
-
styles: styles
|
|
70034
|
+
template: template$$,
|
|
70035
|
+
styles: styles$10
|
|
70034
70036
|
});
|
|
70035
70037
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
70036
70038
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -70046,7 +70048,7 @@ img.ProseMirror-separator {
|
|
|
70046
70048
|
<slot ${ref('labelSlot')}></slot>
|
|
70047
70049
|
</label>
|
|
70048
70050
|
`);
|
|
70049
|
-
const template$
|
|
70051
|
+
const template$_ = (context, definition) => html `
|
|
70050
70052
|
<template
|
|
70051
70053
|
class="${x => [
|
|
70052
70054
|
x.collapsible && 'collapsible',
|
|
@@ -71258,8 +71260,8 @@ img.ProseMirror-separator {
|
|
|
71258
71260
|
const nimbleSelect = Select.compose({
|
|
71259
71261
|
baseName: 'select',
|
|
71260
71262
|
baseClass: Select$2,
|
|
71261
|
-
template: template$
|
|
71262
|
-
styles: styles$
|
|
71263
|
+
template: template$_,
|
|
71264
|
+
styles: styles$11,
|
|
71263
71265
|
indicator: arrowExpanderDown16X16.data,
|
|
71264
71266
|
end: html `
|
|
71265
71267
|
<${iconExclamationMarkTag}
|
|
@@ -71272,8 +71274,8 @@ img.ProseMirror-separator {
|
|
|
71272
71274
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
71273
71275
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
71274
71276
|
|
|
71275
|
-
const styles
|
|
71276
|
-
${styles$
|
|
71277
|
+
const styles$$ = css `
|
|
71278
|
+
${styles$1B}
|
|
71277
71279
|
${'' /* Button specific styles */}
|
|
71278
71280
|
@layer base {
|
|
71279
71281
|
.control {
|
|
@@ -71284,7 +71286,7 @@ img.ProseMirror-separator {
|
|
|
71284
71286
|
}
|
|
71285
71287
|
`;
|
|
71286
71288
|
|
|
71287
|
-
const template$
|
|
71289
|
+
const template$Z = (context, definition) => html `
|
|
71288
71290
|
<template slot="step">
|
|
71289
71291
|
<li class="
|
|
71290
71292
|
container
|
|
@@ -71406,15 +71408,15 @@ img.ProseMirror-separator {
|
|
|
71406
71408
|
], Step.prototype, "tabIndex", void 0);
|
|
71407
71409
|
const nimbleStep = Step.compose({
|
|
71408
71410
|
baseName: 'step',
|
|
71409
|
-
template: template$
|
|
71410
|
-
styles: styles
|
|
71411
|
+
template: template$Z,
|
|
71412
|
+
styles: styles$$,
|
|
71411
71413
|
shadowOptions: {
|
|
71412
71414
|
delegatesFocus: true
|
|
71413
71415
|
}
|
|
71414
71416
|
});
|
|
71415
71417
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
|
|
71416
71418
|
|
|
71417
|
-
const styles$
|
|
71419
|
+
const styles$_ = css `
|
|
71418
71420
|
${display$2('inline-flex')}
|
|
71419
71421
|
|
|
71420
71422
|
:host {
|
|
@@ -71485,7 +71487,7 @@ img.ProseMirror-separator {
|
|
|
71485
71487
|
}
|
|
71486
71488
|
`;
|
|
71487
71489
|
|
|
71488
|
-
const template$
|
|
71490
|
+
const template$Y = html `
|
|
71489
71491
|
${when(x => x.showScrollButtons, html `
|
|
71490
71492
|
<${buttonTag}
|
|
71491
71493
|
content-hidden
|
|
@@ -71630,12 +71632,12 @@ img.ProseMirror-separator {
|
|
|
71630
71632
|
], Stepper.prototype, "steps", void 0);
|
|
71631
71633
|
const nimbleStepper = Stepper.compose({
|
|
71632
71634
|
baseName: 'stepper',
|
|
71633
|
-
template: template$
|
|
71634
|
-
styles: styles$
|
|
71635
|
+
template: template$Y,
|
|
71636
|
+
styles: styles$_
|
|
71635
71637
|
});
|
|
71636
71638
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
|
|
71637
71639
|
|
|
71638
|
-
const styles$
|
|
71640
|
+
const styles$Z = css `
|
|
71639
71641
|
${display$2('inline-flex')}
|
|
71640
71642
|
|
|
71641
71643
|
:host {
|
|
@@ -71865,7 +71867,7 @@ img.ProseMirror-separator {
|
|
|
71865
71867
|
}
|
|
71866
71868
|
`));
|
|
71867
71869
|
|
|
71868
|
-
const template$
|
|
71870
|
+
const template$X = html `
|
|
71869
71871
|
<template
|
|
71870
71872
|
role="switch"
|
|
71871
71873
|
aria-checked="${x => x.checked}"
|
|
@@ -71909,12 +71911,12 @@ img.ProseMirror-separator {
|
|
|
71909
71911
|
const nimbleSwitch = Switch.compose({
|
|
71910
71912
|
baseClass: Switch$1,
|
|
71911
71913
|
baseName: 'switch',
|
|
71912
|
-
template: template$
|
|
71913
|
-
styles: styles$
|
|
71914
|
+
template: template$X,
|
|
71915
|
+
styles: styles$Z
|
|
71914
71916
|
});
|
|
71915
71917
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
71916
71918
|
|
|
71917
|
-
const styles$
|
|
71919
|
+
const styles$Y = css `
|
|
71918
71920
|
${display$2('inline-flex')}
|
|
71919
71921
|
|
|
71920
71922
|
:host {
|
|
@@ -72025,11 +72027,11 @@ img.ProseMirror-separator {
|
|
|
72025
72027
|
baseName: 'tab',
|
|
72026
72028
|
baseClass: Tab$1,
|
|
72027
72029
|
template: tabTemplate,
|
|
72028
|
-
styles: styles$
|
|
72030
|
+
styles: styles$Y
|
|
72029
72031
|
});
|
|
72030
72032
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
72031
72033
|
|
|
72032
|
-
const styles$
|
|
72034
|
+
const styles$X = css `
|
|
72033
72035
|
${display$2('block')}
|
|
72034
72036
|
|
|
72035
72037
|
:host {
|
|
@@ -72048,7 +72050,7 @@ img.ProseMirror-separator {
|
|
|
72048
72050
|
baseName: 'tab-panel',
|
|
72049
72051
|
baseClass: TabPanel$1,
|
|
72050
72052
|
template: tabPanelTemplate,
|
|
72051
|
-
styles: styles$
|
|
72053
|
+
styles: styles$X
|
|
72052
72054
|
});
|
|
72053
72055
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
72054
72056
|
|
|
@@ -75791,7 +75793,7 @@ img.ProseMirror-separator {
|
|
|
75791
75793
|
}
|
|
75792
75794
|
}
|
|
75793
75795
|
|
|
75794
|
-
const styles$
|
|
75796
|
+
const styles$W = css `
|
|
75795
75797
|
${display$2('flex')}
|
|
75796
75798
|
|
|
75797
75799
|
:host {
|
|
@@ -76029,7 +76031,7 @@ focus outline in that case.
|
|
|
76029
76031
|
}
|
|
76030
76032
|
`));
|
|
76031
76033
|
|
|
76032
|
-
const styles$
|
|
76034
|
+
const styles$V = css `
|
|
76033
76035
|
${display$2('flex')}
|
|
76034
76036
|
|
|
76035
76037
|
:host {
|
|
@@ -76062,7 +76064,7 @@ focus outline in that case.
|
|
|
76062
76064
|
}
|
|
76063
76065
|
`;
|
|
76064
76066
|
|
|
76065
|
-
const template$
|
|
76067
|
+
const template$W = html `
|
|
76066
76068
|
<template role="columnheader"
|
|
76067
76069
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
76068
76070
|
aria-sort="${x => x.ariaSort}"
|
|
@@ -76148,13 +76150,13 @@ focus outline in that case.
|
|
|
76148
76150
|
], TableHeader.prototype, "isGrouped", void 0);
|
|
76149
76151
|
const nimbleTableHeader = TableHeader.compose({
|
|
76150
76152
|
baseName: 'table-header',
|
|
76151
|
-
template: template$
|
|
76152
|
-
styles: styles$
|
|
76153
|
+
template: template$W,
|
|
76154
|
+
styles: styles$V
|
|
76153
76155
|
});
|
|
76154
76156
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
76155
76157
|
const tableHeaderTag = 'nimble-table-header';
|
|
76156
76158
|
|
|
76157
|
-
const styles$
|
|
76159
|
+
const styles$U = css `
|
|
76158
76160
|
:host .animating {
|
|
76159
76161
|
transition: ${mediumDelay} ease-in;
|
|
76160
76162
|
}
|
|
@@ -76179,9 +76181,9 @@ focus outline in that case.
|
|
|
76179
76181
|
}
|
|
76180
76182
|
`;
|
|
76181
76183
|
|
|
76182
|
-
const styles$
|
|
76184
|
+
const styles$T = css `
|
|
76183
76185
|
${display$2('flex')}
|
|
76184
|
-
${styles$
|
|
76186
|
+
${styles$U}
|
|
76185
76187
|
|
|
76186
76188
|
:host {
|
|
76187
76189
|
width: fit-content;
|
|
@@ -76427,7 +76429,7 @@ focus outline in that case.
|
|
|
76427
76429
|
}
|
|
76428
76430
|
`));
|
|
76429
76431
|
|
|
76430
|
-
const styles$
|
|
76432
|
+
const styles$S = css `
|
|
76431
76433
|
${display$2('flex')}
|
|
76432
76434
|
|
|
76433
76435
|
:host {
|
|
@@ -76472,7 +76474,7 @@ focus outline in that case.
|
|
|
76472
76474
|
}
|
|
76473
76475
|
`;
|
|
76474
76476
|
|
|
76475
|
-
const template$
|
|
76477
|
+
const template$V = html `
|
|
76476
76478
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
76477
76479
|
@focusin="${x => x.onCellFocusIn()}"
|
|
76478
76480
|
@blur="${x => x.onCellBlur()}"
|
|
@@ -76569,8 +76571,8 @@ focus outline in that case.
|
|
|
76569
76571
|
], TableCell.prototype, "nestingLevel", void 0);
|
|
76570
76572
|
const nimbleTableCell = TableCell.compose({
|
|
76571
76573
|
baseName: 'table-cell',
|
|
76572
|
-
template: template$
|
|
76573
|
-
styles: styles$
|
|
76574
|
+
template: template$V,
|
|
76575
|
+
styles: styles$S
|
|
76574
76576
|
});
|
|
76575
76577
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
76576
76578
|
const tableCellTag = 'nimble-table-cell';
|
|
@@ -76606,7 +76608,7 @@ focus outline in that case.
|
|
|
76606
76608
|
`)}
|
|
76607
76609
|
</${tableCellTag}>
|
|
76608
76610
|
`;
|
|
76609
|
-
const template$
|
|
76611
|
+
const template$U = html `
|
|
76610
76612
|
<template
|
|
76611
76613
|
role="row"
|
|
76612
76614
|
aria-selected=${x => x.ariaSelected}
|
|
@@ -76982,15 +76984,15 @@ focus outline in that case.
|
|
|
76982
76984
|
], TableRow.prototype, "ariaSelected", null);
|
|
76983
76985
|
const nimbleTableRow = TableRow.compose({
|
|
76984
76986
|
baseName: 'table-row',
|
|
76985
|
-
template: template$
|
|
76986
|
-
styles: styles$
|
|
76987
|
+
template: template$U,
|
|
76988
|
+
styles: styles$T
|
|
76987
76989
|
});
|
|
76988
76990
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
76989
76991
|
const tableRowTag = 'nimble-table-row';
|
|
76990
76992
|
|
|
76991
|
-
const styles$
|
|
76993
|
+
const styles$R = css `
|
|
76992
76994
|
${display$2('grid')}
|
|
76993
|
-
${styles$
|
|
76995
|
+
${styles$U}
|
|
76994
76996
|
|
|
76995
76997
|
:host {
|
|
76996
76998
|
align-items: center;
|
|
@@ -77163,7 +77165,7 @@ focus outline in that case.
|
|
|
77163
77165
|
}
|
|
77164
77166
|
`));
|
|
77165
77167
|
|
|
77166
|
-
const template$
|
|
77168
|
+
const template$T = html `
|
|
77167
77169
|
<template
|
|
77168
77170
|
role="row"
|
|
77169
77171
|
@click=${x => x.onGroupExpandToggle()}
|
|
@@ -77339,8 +77341,8 @@ focus outline in that case.
|
|
|
77339
77341
|
], TableGroupRow.prototype, "allowHover", void 0);
|
|
77340
77342
|
const nimbleTableGroupRow = TableGroupRow.compose({
|
|
77341
77343
|
baseName: 'table-group-row',
|
|
77342
|
-
template: template$
|
|
77343
|
-
styles: styles$
|
|
77344
|
+
template: template$T,
|
|
77345
|
+
styles: styles$R
|
|
77344
77346
|
});
|
|
77345
77347
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
77346
77348
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
@@ -77360,7 +77362,7 @@ focus outline in that case.
|
|
|
77360
77362
|
<slot name="${x => x.slot}"></slot>
|
|
77361
77363
|
</${tableHeaderTag}>
|
|
77362
77364
|
`;
|
|
77363
|
-
const template$
|
|
77365
|
+
const template$S = html `
|
|
77364
77366
|
<template
|
|
77365
77367
|
role="treegrid"
|
|
77366
77368
|
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
@@ -82733,12 +82735,12 @@ focus outline in that case.
|
|
|
82733
82735
|
], Table$1.prototype, "windowShiftKeyDown", void 0);
|
|
82734
82736
|
const nimbleTable = Table$1.compose({
|
|
82735
82737
|
baseName: 'table',
|
|
82736
|
-
template: template$
|
|
82737
|
-
styles: styles$
|
|
82738
|
+
template: template$S,
|
|
82739
|
+
styles: styles$W
|
|
82738
82740
|
});
|
|
82739
82741
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
82740
82742
|
|
|
82741
|
-
const styles$
|
|
82743
|
+
const styles$Q = css `
|
|
82742
82744
|
${display$2('contents')}
|
|
82743
82745
|
|
|
82744
82746
|
.header-content {
|
|
@@ -82750,7 +82752,7 @@ focus outline in that case.
|
|
|
82750
82752
|
|
|
82751
82753
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
82752
82754
|
// so the template can be composed into other column header templates
|
|
82753
|
-
const template$
|
|
82755
|
+
const template$R = html `<span
|
|
82754
82756
|
${overflow('hasOverflow')}
|
|
82755
82757
|
class="header-content"
|
|
82756
82758
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -82815,7 +82817,7 @@ focus outline in that case.
|
|
|
82815
82817
|
return ColumnWithPlaceholder;
|
|
82816
82818
|
}
|
|
82817
82819
|
|
|
82818
|
-
const styles$
|
|
82820
|
+
const styles$P = css `
|
|
82819
82821
|
${display$2('flex')}
|
|
82820
82822
|
|
|
82821
82823
|
:host {
|
|
@@ -82846,7 +82848,7 @@ focus outline in that case.
|
|
|
82846
82848
|
}
|
|
82847
82849
|
`;
|
|
82848
82850
|
|
|
82849
|
-
const template$
|
|
82851
|
+
const template$Q = html `
|
|
82850
82852
|
<template
|
|
82851
82853
|
@click="${(x, c) => {
|
|
82852
82854
|
if (typeof x.cellRecord?.href === 'string') {
|
|
@@ -82938,8 +82940,8 @@ focus outline in that case.
|
|
|
82938
82940
|
], TableColumnAnchorCellView.prototype, "showAnchor", null);
|
|
82939
82941
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
82940
82942
|
baseName: 'table-column-anchor-cell-view',
|
|
82941
|
-
template: template$
|
|
82942
|
-
styles: styles$
|
|
82943
|
+
template: template$Q,
|
|
82944
|
+
styles: styles$P
|
|
82943
82945
|
});
|
|
82944
82946
|
DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
|
|
82945
82947
|
const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
|
|
@@ -83016,7 +83018,7 @@ focus outline in that case.
|
|
|
83016
83018
|
observable
|
|
83017
83019
|
], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
|
|
83018
83020
|
|
|
83019
|
-
const template$
|
|
83021
|
+
const template$P = html `
|
|
83020
83022
|
<span
|
|
83021
83023
|
${overflow('hasOverflow')}
|
|
83022
83024
|
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
@@ -83025,7 +83027,7 @@ focus outline in that case.
|
|
|
83025
83027
|
</span>
|
|
83026
83028
|
`;
|
|
83027
83029
|
|
|
83028
|
-
const styles$
|
|
83030
|
+
const styles$O = css `
|
|
83029
83031
|
${display$2('flex')}
|
|
83030
83032
|
|
|
83031
83033
|
span {
|
|
@@ -83049,8 +83051,8 @@ focus outline in that case.
|
|
|
83049
83051
|
}
|
|
83050
83052
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
83051
83053
|
baseName: 'table-column-text-group-header-view',
|
|
83052
|
-
template: template$
|
|
83053
|
-
styles: styles$
|
|
83054
|
+
template: template$P,
|
|
83055
|
+
styles: styles$O
|
|
83054
83056
|
});
|
|
83055
83057
|
DesignSystem.getOrCreate()
|
|
83056
83058
|
.withPrefix('nimble')
|
|
@@ -83294,8 +83296,8 @@ focus outline in that case.
|
|
|
83294
83296
|
], TableColumnAnchor.prototype, "download", void 0);
|
|
83295
83297
|
const nimbleTableColumnAnchor = TableColumnAnchor.compose({
|
|
83296
83298
|
baseName: 'table-column-anchor',
|
|
83297
|
-
template: template$
|
|
83298
|
-
styles: styles$
|
|
83299
|
+
template: template$R,
|
|
83300
|
+
styles: styles$Q
|
|
83299
83301
|
});
|
|
83300
83302
|
DesignSystem.getOrCreate()
|
|
83301
83303
|
.withPrefix('nimble')
|
|
@@ -83333,15 +83335,15 @@ focus outline in that case.
|
|
|
83333
83335
|
}
|
|
83334
83336
|
const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
|
|
83335
83337
|
baseName: 'table-column-date-text-group-header-view',
|
|
83336
|
-
template: template$
|
|
83337
|
-
styles: styles$
|
|
83338
|
+
template: template$P,
|
|
83339
|
+
styles: styles$O
|
|
83338
83340
|
});
|
|
83339
83341
|
DesignSystem.getOrCreate()
|
|
83340
83342
|
.withPrefix('nimble')
|
|
83341
83343
|
.register(tableColumnDateTextGroupHeaderView());
|
|
83342
83344
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
83343
83345
|
|
|
83344
|
-
const template$
|
|
83346
|
+
const template$O = html `
|
|
83345
83347
|
<template
|
|
83346
83348
|
class="
|
|
83347
83349
|
${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
|
|
@@ -83357,7 +83359,7 @@ focus outline in that case.
|
|
|
83357
83359
|
</template>
|
|
83358
83360
|
`;
|
|
83359
83361
|
|
|
83360
|
-
const styles$
|
|
83362
|
+
const styles$N = css `
|
|
83361
83363
|
${display$2('flex')}
|
|
83362
83364
|
|
|
83363
83365
|
:host {
|
|
@@ -83459,8 +83461,8 @@ focus outline in that case.
|
|
|
83459
83461
|
}
|
|
83460
83462
|
const dateTextCellView = TableColumnDateTextCellView.compose({
|
|
83461
83463
|
baseName: 'table-column-date-text-cell-view',
|
|
83462
|
-
template: template$
|
|
83463
|
-
styles: styles$
|
|
83464
|
+
template: template$O,
|
|
83465
|
+
styles: styles$N
|
|
83464
83466
|
});
|
|
83465
83467
|
DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
|
|
83466
83468
|
const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
|
|
@@ -83794,8 +83796,8 @@ focus outline in that case.
|
|
|
83794
83796
|
], TableColumnDateText.prototype, "customHourCycle", void 0);
|
|
83795
83797
|
const nimbleTableColumnDateText = TableColumnDateText.compose({
|
|
83796
83798
|
baseName: 'table-column-date-text',
|
|
83797
|
-
template: template$
|
|
83798
|
-
styles: styles$
|
|
83799
|
+
template: template$R,
|
|
83800
|
+
styles: styles$Q
|
|
83799
83801
|
});
|
|
83800
83802
|
DesignSystem.getOrCreate()
|
|
83801
83803
|
.withPrefix('nimble')
|
|
@@ -83811,8 +83813,8 @@ focus outline in that case.
|
|
|
83811
83813
|
}
|
|
83812
83814
|
const durationTextCellView = TableColumnDurationTextCellView.compose({
|
|
83813
83815
|
baseName: 'table-column-duration-text-cell-view',
|
|
83814
|
-
template: template$
|
|
83815
|
-
styles: styles$
|
|
83816
|
+
template: template$O,
|
|
83817
|
+
styles: styles$N
|
|
83816
83818
|
});
|
|
83817
83819
|
DesignSystem.getOrCreate()
|
|
83818
83820
|
.withPrefix('nimble')
|
|
@@ -83913,8 +83915,8 @@ focus outline in that case.
|
|
|
83913
83915
|
}
|
|
83914
83916
|
const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
|
|
83915
83917
|
baseName: 'table-column-duration-text-group-header-view',
|
|
83916
|
-
template: template$
|
|
83917
|
-
styles: styles$
|
|
83918
|
+
template: template$P,
|
|
83919
|
+
styles: styles$O
|
|
83918
83920
|
});
|
|
83919
83921
|
DesignSystem.getOrCreate()
|
|
83920
83922
|
.withPrefix('nimble')
|
|
@@ -83966,8 +83968,8 @@ focus outline in that case.
|
|
|
83966
83968
|
}
|
|
83967
83969
|
const nimbleTableColumnDurationText = TableColumnDurationText.compose({
|
|
83968
83970
|
baseName: 'table-column-duration-text',
|
|
83969
|
-
template: template$
|
|
83970
|
-
styles: styles$
|
|
83971
|
+
template: template$R,
|
|
83972
|
+
styles: styles$Q
|
|
83971
83973
|
});
|
|
83972
83974
|
DesignSystem.getOrCreate()
|
|
83973
83975
|
.withPrefix('nimble')
|
|
@@ -84075,15 +84077,15 @@ focus outline in that case.
|
|
|
84075
84077
|
attr({ attribute: 'key-type' })
|
|
84076
84078
|
], TableColumnEnumBase.prototype, "keyType", void 0);
|
|
84077
84079
|
|
|
84078
|
-
const styles$
|
|
84079
|
-
${styles$
|
|
84080
|
+
const styles$M = css `
|
|
84081
|
+
${styles$Q}
|
|
84080
84082
|
|
|
84081
84083
|
slot[name='mapping'] {
|
|
84082
84084
|
display: none;
|
|
84083
84085
|
}
|
|
84084
84086
|
`;
|
|
84085
84087
|
|
|
84086
|
-
const template$
|
|
84088
|
+
const template$N = html `${template$R}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
84087
84089
|
|
|
84088
84090
|
// As the returned class is internal to the function, we can't write a signature that uses is directly, so rely on inference
|
|
84089
84091
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type
|
|
@@ -84186,7 +84188,7 @@ focus outline in that case.
|
|
|
84186
84188
|
}
|
|
84187
84189
|
}
|
|
84188
84190
|
|
|
84189
|
-
const styles$
|
|
84191
|
+
const styles$L = css `
|
|
84190
84192
|
${display$2('inline-flex')}
|
|
84191
84193
|
|
|
84192
84194
|
:host {
|
|
@@ -84210,7 +84212,7 @@ focus outline in that case.
|
|
|
84210
84212
|
}
|
|
84211
84213
|
`;
|
|
84212
84214
|
|
|
84213
|
-
const template$
|
|
84215
|
+
const template$M = html `
|
|
84214
84216
|
${when(x => x.visualizationTemplate, html `
|
|
84215
84217
|
<span class="reserve-icon-size">
|
|
84216
84218
|
${x => x.visualizationTemplate}
|
|
@@ -84354,15 +84356,15 @@ focus outline in that case.
|
|
|
84354
84356
|
], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
|
|
84355
84357
|
const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
|
|
84356
84358
|
baseName: 'table-column-mapping-group-header-view',
|
|
84357
|
-
template: template$
|
|
84358
|
-
styles: styles$
|
|
84359
|
+
template: template$M,
|
|
84360
|
+
styles: styles$L
|
|
84359
84361
|
});
|
|
84360
84362
|
DesignSystem.getOrCreate()
|
|
84361
84363
|
.withPrefix('nimble')
|
|
84362
84364
|
.register(mappingGroupHeaderView());
|
|
84363
84365
|
const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
|
|
84364
84366
|
|
|
84365
|
-
const styles$
|
|
84367
|
+
const styles$K = css `
|
|
84366
84368
|
${display$2('inline-flex')}
|
|
84367
84369
|
|
|
84368
84370
|
:host {
|
|
@@ -84386,7 +84388,7 @@ focus outline in that case.
|
|
|
84386
84388
|
}
|
|
84387
84389
|
`;
|
|
84388
84390
|
|
|
84389
|
-
const template$
|
|
84391
|
+
const template$L = html `
|
|
84390
84392
|
${when(x => x.visualizationTemplate, html `
|
|
84391
84393
|
<span class="reserve-icon-size">
|
|
84392
84394
|
${x => x.visualizationTemplate}
|
|
@@ -84473,8 +84475,8 @@ focus outline in that case.
|
|
|
84473
84475
|
], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
|
|
84474
84476
|
const mappingCellView = TableColumnMappingCellView.compose({
|
|
84475
84477
|
baseName: 'table-column-mapping-cell-view',
|
|
84476
|
-
template: template$
|
|
84477
|
-
styles: styles$
|
|
84478
|
+
template: template$L,
|
|
84479
|
+
styles: styles$K
|
|
84478
84480
|
});
|
|
84479
84481
|
DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
|
|
84480
84482
|
const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
|
|
@@ -84557,23 +84559,23 @@ focus outline in that case.
|
|
|
84557
84559
|
], TableColumnMapping.prototype, "widthMode", void 0);
|
|
84558
84560
|
const nimbleTableColumnMapping = TableColumnMapping.compose({
|
|
84559
84561
|
baseName: 'table-column-mapping',
|
|
84560
|
-
template: template$
|
|
84561
|
-
styles: styles$
|
|
84562
|
+
template: template$N,
|
|
84563
|
+
styles: styles$M
|
|
84562
84564
|
});
|
|
84563
84565
|
DesignSystem.getOrCreate()
|
|
84564
84566
|
.withPrefix('nimble')
|
|
84565
84567
|
.register(nimbleTableColumnMapping());
|
|
84566
84568
|
|
|
84567
|
-
const template$
|
|
84569
|
+
const template$K = html `
|
|
84568
84570
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
84569
|
-
>${template$
|
|
84571
|
+
>${template$R}</template
|
|
84570
84572
|
>
|
|
84571
84573
|
`;
|
|
84572
84574
|
|
|
84573
84575
|
/** @internal */
|
|
84574
84576
|
const cellViewMenuSlotName = 'menu-button-menu';
|
|
84575
84577
|
|
|
84576
|
-
const template$
|
|
84578
|
+
const template$J = html `
|
|
84577
84579
|
${when(x => x.showMenuButton, html `
|
|
84578
84580
|
<${menuButtonTag}
|
|
84579
84581
|
${ref('menuButton')}
|
|
@@ -84592,7 +84594,7 @@ focus outline in that case.
|
|
|
84592
84594
|
`)}
|
|
84593
84595
|
`;
|
|
84594
84596
|
|
|
84595
|
-
const styles$
|
|
84597
|
+
const styles$J = css `
|
|
84596
84598
|
:host {
|
|
84597
84599
|
align-self: center;
|
|
84598
84600
|
width: 100%;
|
|
@@ -84667,8 +84669,8 @@ focus outline in that case.
|
|
|
84667
84669
|
], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
|
|
84668
84670
|
const menuButtonCellView = TableColumnMenuButtonCellView.compose({
|
|
84669
84671
|
baseName: 'table-column-menu-button-cell-view',
|
|
84670
|
-
template: template$
|
|
84671
|
-
styles: styles$
|
|
84672
|
+
template: template$J,
|
|
84673
|
+
styles: styles$J
|
|
84672
84674
|
});
|
|
84673
84675
|
DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
|
|
84674
84676
|
const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
|
|
@@ -84723,8 +84725,8 @@ focus outline in that case.
|
|
|
84723
84725
|
], TableColumnMenuButton.prototype, "menuSlot", void 0);
|
|
84724
84726
|
const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
|
|
84725
84727
|
baseName: 'table-column-menu-button',
|
|
84726
|
-
template: template$
|
|
84727
|
-
styles: styles$
|
|
84728
|
+
template: template$K,
|
|
84729
|
+
styles: styles$Q
|
|
84728
84730
|
});
|
|
84729
84731
|
DesignSystem.getOrCreate()
|
|
84730
84732
|
.withPrefix('nimble')
|
|
@@ -84732,7 +84734,7 @@ focus outline in that case.
|
|
|
84732
84734
|
|
|
84733
84735
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
84734
84736
|
// so the template can be composed into other column header templates
|
|
84735
|
-
const template$
|
|
84737
|
+
const template$I = html `<span
|
|
84736
84738
|
${overflow('hasOverflow')}
|
|
84737
84739
|
class="header-content"
|
|
84738
84740
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -84751,8 +84753,8 @@ focus outline in that case.
|
|
|
84751
84753
|
}
|
|
84752
84754
|
const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
|
|
84753
84755
|
baseName: 'table-column-number-text-group-header-view',
|
|
84754
|
-
template: template$
|
|
84755
|
-
styles: styles$
|
|
84756
|
+
template: template$P,
|
|
84757
|
+
styles: styles$O
|
|
84756
84758
|
});
|
|
84757
84759
|
DesignSystem.getOrCreate()
|
|
84758
84760
|
.withPrefix('nimble')
|
|
@@ -84773,8 +84775,8 @@ focus outline in that case.
|
|
|
84773
84775
|
}
|
|
84774
84776
|
const numberTextCellView = TableColumnNumberTextCellView.compose({
|
|
84775
84777
|
baseName: 'table-column-number-text-cell-view',
|
|
84776
|
-
template: template$
|
|
84777
|
-
styles: styles$
|
|
84778
|
+
template: template$O,
|
|
84779
|
+
styles: styles$N
|
|
84778
84780
|
});
|
|
84779
84781
|
DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
|
|
84780
84782
|
const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
|
|
@@ -85314,8 +85316,8 @@ focus outline in that case.
|
|
|
85314
85316
|
], TableColumnNumberText.prototype, "unit", void 0);
|
|
85315
85317
|
const nimbleTableColumnNumberText = TableColumnNumberText.compose({
|
|
85316
85318
|
baseName: 'table-column-number-text',
|
|
85317
|
-
template: template$
|
|
85318
|
-
styles: styles$
|
|
85319
|
+
template: template$I,
|
|
85320
|
+
styles: styles$Q
|
|
85319
85321
|
});
|
|
85320
85322
|
DesignSystem.getOrCreate()
|
|
85321
85323
|
.withPrefix('nimble')
|
|
@@ -85333,8 +85335,8 @@ focus outline in that case.
|
|
|
85333
85335
|
}
|
|
85334
85336
|
const textCellView = TableColumnTextCellView.compose({
|
|
85335
85337
|
baseName: 'table-column-text-cell-view',
|
|
85336
|
-
template: template$
|
|
85337
|
-
styles: styles$
|
|
85338
|
+
template: template$O,
|
|
85339
|
+
styles: styles$N
|
|
85338
85340
|
});
|
|
85339
85341
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
|
|
85340
85342
|
const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
|
|
@@ -85388,15 +85390,15 @@ focus outline in that case.
|
|
|
85388
85390
|
}
|
|
85389
85391
|
const nimbleTableColumnText = TableColumnText.compose({
|
|
85390
85392
|
baseName: 'table-column-text',
|
|
85391
|
-
template: template$
|
|
85392
|
-
styles: styles$
|
|
85393
|
+
template: template$R,
|
|
85394
|
+
styles: styles$Q
|
|
85393
85395
|
});
|
|
85394
85396
|
DesignSystem.getOrCreate()
|
|
85395
85397
|
.withPrefix('nimble')
|
|
85396
85398
|
.register(nimbleTableColumnText());
|
|
85397
85399
|
|
|
85398
|
-
const styles$
|
|
85399
|
-
${styles$
|
|
85400
|
+
const styles$I = css `
|
|
85401
|
+
${styles$1x}
|
|
85400
85402
|
|
|
85401
85403
|
.tabpanel {
|
|
85402
85404
|
overflow: auto;
|
|
@@ -85477,12 +85479,12 @@ focus outline in that case.
|
|
|
85477
85479
|
const nimbleTabs = Tabs.compose({
|
|
85478
85480
|
baseName: 'tabs',
|
|
85479
85481
|
baseClass: Tabs$1,
|
|
85480
|
-
template: template$
|
|
85481
|
-
styles: styles$
|
|
85482
|
+
template: template$1j,
|
|
85483
|
+
styles: styles$I
|
|
85482
85484
|
});
|
|
85483
85485
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
85484
85486
|
|
|
85485
|
-
const styles$
|
|
85487
|
+
const styles$H = css `
|
|
85486
85488
|
${display$2('flex')}
|
|
85487
85489
|
|
|
85488
85490
|
:host {
|
|
@@ -85514,7 +85516,7 @@ focus outline in that case.
|
|
|
85514
85516
|
}
|
|
85515
85517
|
`;
|
|
85516
85518
|
|
|
85517
|
-
const template$
|
|
85519
|
+
const template$H = (context, definition) => html `
|
|
85518
85520
|
<template slot="end">
|
|
85519
85521
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
85520
85522
|
<div class="separator"></div>
|
|
@@ -85546,8 +85548,8 @@ focus outline in that case.
|
|
|
85546
85548
|
], TabsToolbar.prototype, "defaultSlottedElements", void 0);
|
|
85547
85549
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
85548
85550
|
baseName: 'tabs-toolbar',
|
|
85549
|
-
template: template$
|
|
85550
|
-
styles: styles$
|
|
85551
|
+
template: template$H,
|
|
85552
|
+
styles: styles$H
|
|
85551
85553
|
});
|
|
85552
85554
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
85553
85555
|
applyMixins(TabsToolbar, StartEnd);
|
|
@@ -85557,10 +85559,10 @@ focus outline in that case.
|
|
|
85557
85559
|
block: 'block'
|
|
85558
85560
|
};
|
|
85559
85561
|
|
|
85560
|
-
const styles$
|
|
85562
|
+
const styles$G = css `
|
|
85561
85563
|
${display$2('inline-flex')}
|
|
85562
|
-
${styles$
|
|
85563
|
-
${styles$
|
|
85564
|
+
${styles$1o}
|
|
85565
|
+
${styles$1j}
|
|
85564
85566
|
|
|
85565
85567
|
:host {
|
|
85566
85568
|
font: ${bodyFont};
|
|
@@ -85755,7 +85757,7 @@ focus outline in that case.
|
|
|
85755
85757
|
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
85756
85758
|
</label>
|
|
85757
85759
|
`);
|
|
85758
|
-
const template$
|
|
85760
|
+
const template$G = () => html `
|
|
85759
85761
|
${labelTemplate$1}
|
|
85760
85762
|
<div class="container">
|
|
85761
85763
|
<textarea
|
|
@@ -85903,8 +85905,8 @@ focus outline in that case.
|
|
|
85903
85905
|
const nimbleTextArea = TextArea.compose({
|
|
85904
85906
|
baseName: 'text-area',
|
|
85905
85907
|
baseClass: TextArea$1,
|
|
85906
|
-
template: template$
|
|
85907
|
-
styles: styles$
|
|
85908
|
+
template: template$G,
|
|
85909
|
+
styles: styles$G,
|
|
85908
85910
|
shadowOptions: {
|
|
85909
85911
|
delegatesFocus: true
|
|
85910
85912
|
}
|
|
@@ -85921,10 +85923,10 @@ focus outline in that case.
|
|
|
85921
85923
|
frameless: 'frameless'
|
|
85922
85924
|
};
|
|
85923
85925
|
|
|
85924
|
-
const styles$
|
|
85926
|
+
const styles$F = css `
|
|
85925
85927
|
${display$2('inline-block')}
|
|
85926
|
-
${styles$
|
|
85927
|
-
${styles$
|
|
85928
|
+
${styles$1o}
|
|
85929
|
+
${styles$1j}
|
|
85928
85930
|
|
|
85929
85931
|
:host {
|
|
85930
85932
|
font: ${bodyFont};
|
|
@@ -86201,7 +86203,7 @@ focus outline in that case.
|
|
|
86201
86203
|
* The template for the {@link @ni/fast-foundation#(TextField:class)} component.
|
|
86202
86204
|
* @public
|
|
86203
86205
|
*/
|
|
86204
|
-
const template$
|
|
86206
|
+
const template$F = (context, definition) => html `
|
|
86205
86207
|
<template
|
|
86206
86208
|
class="
|
|
86207
86209
|
${x => (x.readOnly ? 'readonly' : '')}
|
|
@@ -86290,8 +86292,8 @@ focus outline in that case.
|
|
|
86290
86292
|
const nimbleTextField = TextField.compose({
|
|
86291
86293
|
baseName: 'text-field',
|
|
86292
86294
|
baseClass: TextField$1,
|
|
86293
|
-
template: template$
|
|
86294
|
-
styles: styles$
|
|
86295
|
+
template: template$F,
|
|
86296
|
+
styles: styles$F,
|
|
86295
86297
|
shadowOptions: {
|
|
86296
86298
|
delegatesFocus: true
|
|
86297
86299
|
},
|
|
@@ -86308,7 +86310,7 @@ focus outline in that case.
|
|
|
86308
86310
|
});
|
|
86309
86311
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
86310
86312
|
|
|
86311
|
-
const styles$
|
|
86313
|
+
const styles$E = css `
|
|
86312
86314
|
${display$2('inline-flex')}
|
|
86313
86315
|
|
|
86314
86316
|
:host {
|
|
@@ -86394,7 +86396,7 @@ focus outline in that case.
|
|
|
86394
86396
|
}
|
|
86395
86397
|
`));
|
|
86396
86398
|
|
|
86397
|
-
const template$
|
|
86399
|
+
const template$E = html `
|
|
86398
86400
|
${when(x => x.tooltipVisible, html `
|
|
86399
86401
|
<${anchoredRegionTag}
|
|
86400
86402
|
class="anchored-region"
|
|
@@ -86446,8 +86448,8 @@ focus outline in that case.
|
|
|
86446
86448
|
const nimbleTooltip = Tooltip.compose({
|
|
86447
86449
|
baseName: 'tooltip',
|
|
86448
86450
|
baseClass: Tooltip$1,
|
|
86449
|
-
template: template$
|
|
86450
|
-
styles: styles$
|
|
86451
|
+
template: template$E,
|
|
86452
|
+
styles: styles$E
|
|
86451
86453
|
});
|
|
86452
86454
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
86453
86455
|
const tooltipTag = 'nimble-tooltip';
|
|
@@ -86536,7 +86538,7 @@ focus outline in that case.
|
|
|
86536
86538
|
}
|
|
86537
86539
|
}
|
|
86538
86540
|
|
|
86539
|
-
const styles$
|
|
86541
|
+
const styles$D = css `
|
|
86540
86542
|
${display$2('block')}
|
|
86541
86543
|
|
|
86542
86544
|
:host {
|
|
@@ -86753,12 +86755,12 @@ focus outline in that case.
|
|
|
86753
86755
|
baseName: 'tree-item',
|
|
86754
86756
|
baseClass: TreeItem$1,
|
|
86755
86757
|
template: treeItemTemplate,
|
|
86756
|
-
styles: styles$
|
|
86758
|
+
styles: styles$D,
|
|
86757
86759
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
86758
86760
|
});
|
|
86759
86761
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
86760
86762
|
|
|
86761
|
-
const styles$
|
|
86763
|
+
const styles$C = css `
|
|
86762
86764
|
${display$2('flex')}
|
|
86763
86765
|
|
|
86764
86766
|
:host {
|
|
@@ -86772,7 +86774,7 @@ focus outline in that case.
|
|
|
86772
86774
|
}
|
|
86773
86775
|
`;
|
|
86774
86776
|
|
|
86775
|
-
const template$
|
|
86777
|
+
const template$D = html `
|
|
86776
86778
|
<template
|
|
86777
86779
|
role="tree"
|
|
86778
86780
|
${ref('treeView')}
|
|
@@ -86868,8 +86870,8 @@ focus outline in that case.
|
|
|
86868
86870
|
const nimbleTreeView = TreeView.compose({
|
|
86869
86871
|
baseName: 'tree-view',
|
|
86870
86872
|
baseClass: TreeView$1,
|
|
86871
|
-
template: template$
|
|
86872
|
-
styles: styles$
|
|
86873
|
+
template: template$D,
|
|
86874
|
+
styles: styles$C
|
|
86873
86875
|
});
|
|
86874
86876
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
86875
86877
|
|
|
@@ -86985,9 +86987,9 @@ focus outline in that case.
|
|
|
86985
86987
|
}
|
|
86986
86988
|
const unitScaleByte = new UnitScaleByte();
|
|
86987
86989
|
|
|
86988
|
-
const template$
|
|
86990
|
+
const template$C = html `<template slot="unit"></template>`;
|
|
86989
86991
|
|
|
86990
|
-
const styles$
|
|
86992
|
+
const styles$B = css `
|
|
86991
86993
|
${display$2('none')}
|
|
86992
86994
|
`;
|
|
86993
86995
|
|
|
@@ -87015,8 +87017,8 @@ focus outline in that case.
|
|
|
87015
87017
|
], UnitByte.prototype, "binary", void 0);
|
|
87016
87018
|
const nimbleUnitByte = UnitByte.compose({
|
|
87017
87019
|
baseName: 'unit-byte',
|
|
87018
|
-
template: template$
|
|
87019
|
-
styles: styles$
|
|
87020
|
+
template: template$C,
|
|
87021
|
+
styles: styles$B
|
|
87020
87022
|
});
|
|
87021
87023
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
|
|
87022
87024
|
|
|
@@ -87068,8 +87070,8 @@ focus outline in that case.
|
|
|
87068
87070
|
}
|
|
87069
87071
|
const nimbleUnitVolt = UnitVolt.compose({
|
|
87070
87072
|
baseName: 'unit-volt',
|
|
87071
|
-
template: template$
|
|
87072
|
-
styles: styles$
|
|
87073
|
+
template: template$C,
|
|
87074
|
+
styles: styles$B
|
|
87073
87075
|
});
|
|
87074
87076
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
|
|
87075
87077
|
|
|
@@ -102113,7 +102115,7 @@ focus outline in that case.
|
|
|
102113
102115
|
return new Table(reader.readAll());
|
|
102114
102116
|
}
|
|
102115
102117
|
|
|
102116
|
-
const template$
|
|
102118
|
+
const template$B = html `
|
|
102117
102119
|
<div class="wafer-map-container">
|
|
102118
102120
|
<svg class="svg-root">
|
|
102119
102121
|
<g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
|
|
@@ -102146,7 +102148,7 @@ focus outline in that case.
|
|
|
102146
102148
|
</div>
|
|
102147
102149
|
`;
|
|
102148
102150
|
|
|
102149
|
-
const styles$
|
|
102151
|
+
const styles$A = css `
|
|
102150
102152
|
${display$2('inline-block')}
|
|
102151
102153
|
|
|
102152
102154
|
:host {
|
|
@@ -105171,8 +105173,8 @@ focus outline in that case.
|
|
|
105171
105173
|
], WaferMap.prototype, "colorScale", void 0);
|
|
105172
105174
|
const nimbleWaferMap = WaferMap.compose({
|
|
105173
105175
|
baseName: 'wafer-map',
|
|
105174
|
-
template: template$
|
|
105175
|
-
styles: styles$
|
|
105176
|
+
template: template$B,
|
|
105177
|
+
styles: styles$A
|
|
105176
105178
|
});
|
|
105177
105179
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
105178
105180
|
|
|
@@ -105184,7 +105186,7 @@ focus outline in that case.
|
|
|
105184
105186
|
*/
|
|
105185
105187
|
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;}`;
|
|
105186
105188
|
|
|
105187
|
-
const styles$
|
|
105189
|
+
const styles$z = css `
|
|
105188
105190
|
${display$1('flex')}
|
|
105189
105191
|
|
|
105190
105192
|
:host {
|
|
@@ -105274,7 +105276,7 @@ focus outline in that case.
|
|
|
105274
105276
|
}
|
|
105275
105277
|
`;
|
|
105276
105278
|
|
|
105277
|
-
const template$
|
|
105279
|
+
const template$A = html `
|
|
105278
105280
|
<div class="toolbar ${x => (x.toolbarEmpty ? 'toolbar-empty' : '')}">
|
|
105279
105281
|
<slot name="toolbar" ${slotted({ property: 'slottedToolbarElements' })}></slot>
|
|
105280
105282
|
</div>
|
|
@@ -105674,16 +105676,16 @@ focus outline in that case.
|
|
|
105674
105676
|
], ChatConversation.prototype, "slottedEndElements", void 0);
|
|
105675
105677
|
const sprightChatConversation = ChatConversation.compose({
|
|
105676
105678
|
baseName: 'chat-conversation',
|
|
105677
|
-
template: template$
|
|
105678
|
-
styles: styles$
|
|
105679
|
+
template: template$A,
|
|
105680
|
+
styles: styles$z
|
|
105679
105681
|
});
|
|
105680
105682
|
DesignSystem.getOrCreate()
|
|
105681
105683
|
.withPrefix('spright')
|
|
105682
105684
|
.register(sprightChatConversation());
|
|
105683
105685
|
|
|
105684
|
-
const styles$
|
|
105686
|
+
const styles$y = css `
|
|
105685
105687
|
${display$1('flex')}
|
|
105686
|
-
${styles$
|
|
105688
|
+
${styles$1o}
|
|
105687
105689
|
|
|
105688
105690
|
:host {
|
|
105689
105691
|
width: 100%;
|
|
@@ -105841,7 +105843,7 @@ focus outline in that case.
|
|
|
105841
105843
|
cssCustomPropertyName: null
|
|
105842
105844
|
}).withDefault(chatLabelDefaults.chatStopLabel);
|
|
105843
105845
|
|
|
105844
|
-
const template$
|
|
105846
|
+
const template$z = html `
|
|
105845
105847
|
<div class="container">
|
|
105846
105848
|
<section class="attachments ${x => (x.attachmentsIsEmpty ? '' : 'has-content')}">
|
|
105847
105849
|
<slot
|
|
@@ -106087,8 +106089,8 @@ focus outline in that case.
|
|
|
106087
106089
|
], ChatInput.prototype, "slottedAttachmentsElements", void 0);
|
|
106088
106090
|
const sprightChatInput = ChatInput.compose({
|
|
106089
106091
|
baseName: 'chat-input',
|
|
106090
|
-
template: template$
|
|
106091
|
-
styles: styles$
|
|
106092
|
+
template: template$z,
|
|
106093
|
+
styles: styles$y,
|
|
106092
106094
|
shadowOptions: {
|
|
106093
106095
|
delegatesFocus: true
|
|
106094
106096
|
}
|
|
@@ -106106,7 +106108,7 @@ focus outline in that case.
|
|
|
106106
106108
|
inbound: 'inbound'
|
|
106107
106109
|
};
|
|
106108
106110
|
|
|
106109
|
-
const styles$
|
|
106111
|
+
const styles$x = css `
|
|
106110
106112
|
${display$1('flex')}
|
|
106111
106113
|
|
|
106112
106114
|
:host {
|
|
@@ -106180,7 +106182,7 @@ focus outline in that case.
|
|
|
106180
106182
|
}
|
|
106181
106183
|
`;
|
|
106182
106184
|
|
|
106183
|
-
const template$
|
|
106185
|
+
const template$y = (context, definition) => html `
|
|
106184
106186
|
<div class="container">
|
|
106185
106187
|
${startSlotTemplate(context, definition)}
|
|
106186
106188
|
<section class="message-content">
|
|
@@ -106229,12 +106231,12 @@ focus outline in that case.
|
|
|
106229
106231
|
applyMixins(ChatMessage, StartEnd);
|
|
106230
106232
|
const sprightChatMessage = ChatMessage.compose({
|
|
106231
106233
|
baseName: 'chat-message',
|
|
106232
|
-
template: template$
|
|
106233
|
-
styles: styles$
|
|
106234
|
+
template: template$y,
|
|
106235
|
+
styles: styles$x
|
|
106234
106236
|
});
|
|
106235
106237
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
|
|
106236
106238
|
|
|
106237
|
-
const styles$
|
|
106239
|
+
const styles$w = css `
|
|
106238
106240
|
${display$1('flex')}
|
|
106239
106241
|
|
|
106240
106242
|
:host {
|
|
@@ -106296,7 +106298,7 @@ focus outline in that case.
|
|
|
106296
106298
|
}
|
|
106297
106299
|
`;
|
|
106298
106300
|
|
|
106299
|
-
const template$
|
|
106301
|
+
const template$x = (context, definition) => html `
|
|
106300
106302
|
<div class="container">
|
|
106301
106303
|
${startSlotTemplate(context, definition)}
|
|
106302
106304
|
<section class="message-content">
|
|
@@ -106336,12 +106338,12 @@ focus outline in that case.
|
|
|
106336
106338
|
applyMixins(ChatMessageInbound, StartEnd);
|
|
106337
106339
|
const sprightChatMessageInbound = ChatMessageInbound.compose({
|
|
106338
106340
|
baseName: 'chat-message-inbound',
|
|
106339
|
-
template: template$
|
|
106340
|
-
styles: styles$
|
|
106341
|
+
template: template$x,
|
|
106342
|
+
styles: styles$w
|
|
106341
106343
|
});
|
|
106342
106344
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageInbound());
|
|
106343
106345
|
|
|
106344
|
-
const styles$
|
|
106346
|
+
const styles$v = css `
|
|
106345
106347
|
${display$1('flex')}
|
|
106346
106348
|
|
|
106347
106349
|
:host {
|
|
@@ -106376,7 +106378,7 @@ focus outline in that case.
|
|
|
106376
106378
|
}
|
|
106377
106379
|
`;
|
|
106378
106380
|
|
|
106379
|
-
const template$
|
|
106381
|
+
const template$w = () => html `
|
|
106380
106382
|
<div class="container">
|
|
106381
106383
|
<section class="message-content">
|
|
106382
106384
|
<slot></slot>
|
|
@@ -106398,12 +106400,12 @@ focus outline in that case.
|
|
|
106398
106400
|
}
|
|
106399
106401
|
const sprightChatMessageOutbound = ChatMessageOutbound.compose({
|
|
106400
106402
|
baseName: 'chat-message-outbound',
|
|
106401
|
-
template: template$
|
|
106402
|
-
styles: styles$
|
|
106403
|
+
template: template$w,
|
|
106404
|
+
styles: styles$v
|
|
106403
106405
|
});
|
|
106404
106406
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageOutbound());
|
|
106405
106407
|
|
|
106406
|
-
const styles$
|
|
106408
|
+
const styles$u = css `
|
|
106407
106409
|
${display$1('flex')}
|
|
106408
106410
|
|
|
106409
106411
|
:host {
|
|
@@ -106434,7 +106436,7 @@ focus outline in that case.
|
|
|
106434
106436
|
}
|
|
106435
106437
|
`;
|
|
106436
106438
|
|
|
106437
|
-
const template$
|
|
106439
|
+
const template$v = () => html `
|
|
106438
106440
|
<div class="container">
|
|
106439
106441
|
<section class="message-content">
|
|
106440
106442
|
<slot></slot>
|
|
@@ -106454,12 +106456,12 @@ focus outline in that case.
|
|
|
106454
106456
|
}
|
|
106455
106457
|
const sprightChatMessageSystem = ChatMessageSystem.compose({
|
|
106456
106458
|
baseName: 'chat-message-system',
|
|
106457
|
-
template: template$
|
|
106458
|
-
styles: styles$
|
|
106459
|
+
template: template$v,
|
|
106460
|
+
styles: styles$u
|
|
106459
106461
|
});
|
|
106460
106462
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageSystem());
|
|
106461
106463
|
|
|
106462
|
-
const styles$
|
|
106464
|
+
const styles$t = css `
|
|
106463
106465
|
${display$1('flex')}
|
|
106464
106466
|
|
|
106465
106467
|
:host {
|
|
@@ -106570,13 +106572,13 @@ focus outline in that case.
|
|
|
106570
106572
|
<path class="nigel-chat-dark-0" d="M11.36,7.6l-.03.02c-1.12.61-2.04,1.53-2.65,2.65l-.02.03c-.1.18-.35.18-.45,0l-.02-.03c-.61-1.12-1.53-2.04-2.65-2.65l-.03-.02c-.18-.1-.18-.35,0-.45l.03-.02c1.12-.61,2.04-1.53,2.65-2.65l.02-.03c.1-.18.35-.18.45,0l.02.03c.61,1.12,1.53,2.04,2.65,2.65l.03.02c.18.1.18.35,0,.45Z"/>
|
|
106571
106573
|
</svg>`;
|
|
106572
106574
|
|
|
106573
|
-
const template$
|
|
106575
|
+
const template$u = html `
|
|
106574
106576
|
<div class="icon light-icon" aria-hidden="true" :innerHTML="${() => nigelChatLightData}"></div>
|
|
106575
106577
|
<div class="icon dark-icon" aria-hidden="true" :innerHTML="${() => nigelChatDarkData}"></div>
|
|
106576
106578
|
`;
|
|
106577
106579
|
|
|
106578
|
-
const styles$
|
|
106579
|
-
${styles$
|
|
106580
|
+
const styles$s = css `
|
|
106581
|
+
${styles$1z}
|
|
106580
106582
|
|
|
106581
106583
|
.dark-icon {
|
|
106582
106584
|
display: none;
|
|
@@ -106599,15 +106601,15 @@ focus outline in that case.
|
|
|
106599
106601
|
}
|
|
106600
106602
|
const sprightIconNigelChat = IconNigelChat.compose({
|
|
106601
106603
|
baseName: 'icon-nigel-chat',
|
|
106602
|
-
template: template$
|
|
106603
|
-
styles: styles$
|
|
106604
|
+
template: template$u,
|
|
106605
|
+
styles: styles$s
|
|
106604
106606
|
});
|
|
106605
106607
|
DesignSystem.getOrCreate()
|
|
106606
106608
|
.withPrefix('spright')
|
|
106607
106609
|
.register(sprightIconNigelChat());
|
|
106608
106610
|
const iconNigelChatTag = 'spright-icon-nigel-chat';
|
|
106609
106611
|
|
|
106610
|
-
const template$
|
|
106612
|
+
const template$t = () => html `
|
|
106611
106613
|
<div class="container">
|
|
106612
106614
|
<div class="brand-icon">
|
|
106613
106615
|
<slot name="brand-icon">
|
|
@@ -106653,8 +106655,8 @@ focus outline in that case.
|
|
|
106653
106655
|
], ChatMessageWelcome.prototype, "subtitleIsEmpty", void 0);
|
|
106654
106656
|
const sprightChatMessageWelcome = ChatMessageWelcome.compose({
|
|
106655
106657
|
baseName: 'chat-message-welcome',
|
|
106656
|
-
template: template$
|
|
106657
|
-
styles: styles$
|
|
106658
|
+
template: template$t,
|
|
106659
|
+
styles: styles$t
|
|
106658
106660
|
});
|
|
106659
106661
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageWelcome());
|
|
106660
106662
|
|
|
@@ -106675,13 +106677,13 @@ focus outline in that case.
|
|
|
106675
106677
|
*/
|
|
106676
106678
|
class IconBreakpointConditional extends Icon {
|
|
106677
106679
|
}
|
|
106678
|
-
const template$
|
|
106680
|
+
const template$s = html `
|
|
106679
106681
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$6}"></div>
|
|
106680
106682
|
`;
|
|
106681
106683
|
const sprightIconBreakpointConditional = IconBreakpointConditional.compose({
|
|
106682
106684
|
baseName: 'icon-breakpoint-conditional',
|
|
106683
|
-
template: template$
|
|
106684
|
-
styles: styles$
|
|
106685
|
+
template: template$s,
|
|
106686
|
+
styles: styles$1z
|
|
106685
106687
|
});
|
|
106686
106688
|
DesignSystem.getOrCreate()
|
|
106687
106689
|
.withPrefix('spright')
|
|
@@ -106706,13 +106708,13 @@ focus outline in that case.
|
|
|
106706
106708
|
*/
|
|
106707
106709
|
class IconBreakpointDisabled extends Icon {
|
|
106708
106710
|
}
|
|
106709
|
-
const template$
|
|
106711
|
+
const template$r = html `
|
|
106710
106712
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$5}"></div>
|
|
106711
106713
|
`;
|
|
106712
106714
|
const sprightIconBreakpointDisabled = IconBreakpointDisabled.compose({
|
|
106713
106715
|
baseName: 'icon-breakpoint-disabled',
|
|
106714
|
-
template: template$
|
|
106715
|
-
styles: styles$
|
|
106716
|
+
template: template$r,
|
|
106717
|
+
styles: styles$1z
|
|
106716
106718
|
});
|
|
106717
106719
|
DesignSystem.getOrCreate()
|
|
106718
106720
|
.withPrefix('spright')
|
|
@@ -106736,13 +106738,13 @@ focus outline in that case.
|
|
|
106736
106738
|
*/
|
|
106737
106739
|
class IconBreakpointEnabled extends Icon {
|
|
106738
106740
|
}
|
|
106739
|
-
const template$
|
|
106741
|
+
const template$q = html `
|
|
106740
106742
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$4}"></div>
|
|
106741
106743
|
`;
|
|
106742
106744
|
const sprightIconBreakpointEnabled = IconBreakpointEnabled.compose({
|
|
106743
106745
|
baseName: 'icon-breakpoint-enabled',
|
|
106744
|
-
template: template$
|
|
106745
|
-
styles: styles$
|
|
106746
|
+
template: template$q,
|
|
106747
|
+
styles: styles$1z
|
|
106746
106748
|
});
|
|
106747
106749
|
DesignSystem.getOrCreate()
|
|
106748
106750
|
.withPrefix('spright')
|
|
@@ -106766,13 +106768,13 @@ focus outline in that case.
|
|
|
106766
106768
|
*/
|
|
106767
106769
|
class IconBreakpointExecutionPointer extends Icon {
|
|
106768
106770
|
}
|
|
106769
|
-
const template$
|
|
106771
|
+
const template$p = html `
|
|
106770
106772
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$3}"></div>
|
|
106771
106773
|
`;
|
|
106772
106774
|
const sprightIconBreakpointExecutionPointer = IconBreakpointExecutionPointer.compose({
|
|
106773
106775
|
baseName: 'icon-breakpoint-execution-pointer',
|
|
106774
|
-
template: template$
|
|
106775
|
-
styles: styles$
|
|
106776
|
+
template: template$p,
|
|
106777
|
+
styles: styles$1z
|
|
106776
106778
|
});
|
|
106777
106779
|
DesignSystem.getOrCreate()
|
|
106778
106780
|
.withPrefix('spright')
|
|
@@ -106800,13 +106802,13 @@ focus outline in that case.
|
|
|
106800
106802
|
*/
|
|
106801
106803
|
class IconBreakpointHitDisabled extends Icon {
|
|
106802
106804
|
}
|
|
106803
|
-
const template$
|
|
106805
|
+
const template$o = html `
|
|
106804
106806
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$2}"></div>
|
|
106805
106807
|
`;
|
|
106806
106808
|
const sprightIconBreakpointHitDisabled = IconBreakpointHitDisabled.compose({
|
|
106807
106809
|
baseName: 'icon-breakpoint-hit-disabled',
|
|
106808
|
-
template: template$
|
|
106809
|
-
styles: styles$
|
|
106810
|
+
template: template$o,
|
|
106811
|
+
styles: styles$1z
|
|
106810
106812
|
});
|
|
106811
106813
|
DesignSystem.getOrCreate()
|
|
106812
106814
|
.withPrefix('spright')
|
|
@@ -106835,13 +106837,13 @@ focus outline in that case.
|
|
|
106835
106837
|
*/
|
|
106836
106838
|
class IconBreakpointHit extends Icon {
|
|
106837
106839
|
}
|
|
106838
|
-
const template$
|
|
106840
|
+
const template$n = html `
|
|
106839
106841
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$1}"></div>
|
|
106840
106842
|
`;
|
|
106841
106843
|
const sprightIconBreakpointHit = IconBreakpointHit.compose({
|
|
106842
106844
|
baseName: 'icon-breakpoint-hit',
|
|
106843
|
-
template: template$
|
|
106844
|
-
styles: styles$
|
|
106845
|
+
template: template$n,
|
|
106846
|
+
styles: styles$1z
|
|
106845
106847
|
});
|
|
106846
106848
|
DesignSystem.getOrCreate()
|
|
106847
106849
|
.withPrefix('spright')
|
|
@@ -106866,21 +106868,21 @@ focus outline in that case.
|
|
|
106866
106868
|
*/
|
|
106867
106869
|
class IconBreakpointHover extends Icon {
|
|
106868
106870
|
}
|
|
106869
|
-
const template$
|
|
106871
|
+
const template$m = html `
|
|
106870
106872
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData}"></div>
|
|
106871
106873
|
`;
|
|
106872
106874
|
const sprightIconBreakpointHover = IconBreakpointHover.compose({
|
|
106873
106875
|
baseName: 'icon-breakpoint-hover',
|
|
106874
|
-
template: template$
|
|
106875
|
-
styles: styles$
|
|
106876
|
+
template: template$m,
|
|
106877
|
+
styles: styles$1z
|
|
106876
106878
|
});
|
|
106877
106879
|
DesignSystem.getOrCreate()
|
|
106878
106880
|
.withPrefix('spright')
|
|
106879
106881
|
.register(sprightIconBreakpointHover());
|
|
106880
106882
|
const iconBreakpointHoverTag = 'spright-icon-breakpoint-hover';
|
|
106881
106883
|
|
|
106882
|
-
const styles$
|
|
106883
|
-
${styles$
|
|
106884
|
+
const styles$r = css `
|
|
106885
|
+
${styles$1z}
|
|
106884
106886
|
|
|
106885
106887
|
.icon svg {
|
|
106886
106888
|
fill: ${calendarEventBorderReservationColor};
|
|
@@ -106897,15 +106899,15 @@ focus outline in that case.
|
|
|
106897
106899
|
}
|
|
106898
106900
|
const sprightIconWorkItemCalendarWeek = IconWorkItemCalendarWeek.compose({
|
|
106899
106901
|
baseName: 'icon-work-item-calendar-week',
|
|
106900
|
-
template: template$
|
|
106901
|
-
styles: styles$
|
|
106902
|
+
template: template$1n,
|
|
106903
|
+
styles: styles$r
|
|
106902
106904
|
});
|
|
106903
106905
|
DesignSystem.getOrCreate()
|
|
106904
106906
|
.withPrefix('spright')
|
|
106905
106907
|
.register(sprightIconWorkItemCalendarWeek());
|
|
106906
106908
|
|
|
106907
|
-
const styles$
|
|
106908
|
-
${styles$
|
|
106909
|
+
const styles$q = css `
|
|
106910
|
+
${styles$1z}
|
|
106909
106911
|
|
|
106910
106912
|
.icon svg {
|
|
106911
106913
|
fill: ${calendarEventBorderCalibrationColor};
|
|
@@ -106922,15 +106924,15 @@ focus outline in that case.
|
|
|
106922
106924
|
}
|
|
106923
106925
|
const sprightIconWorkItemCalipers = IconWorkItemCalipers.compose({
|
|
106924
106926
|
baseName: 'icon-work-item-calipers',
|
|
106925
|
-
template: template$
|
|
106926
|
-
styles: styles$
|
|
106927
|
+
template: template$1n,
|
|
106928
|
+
styles: styles$q
|
|
106927
106929
|
});
|
|
106928
106930
|
DesignSystem.getOrCreate()
|
|
106929
106931
|
.withPrefix('spright')
|
|
106930
106932
|
.register(sprightIconWorkItemCalipers());
|
|
106931
106933
|
|
|
106932
|
-
const styles$
|
|
106933
|
-
${styles$
|
|
106934
|
+
const styles$p = css `
|
|
106935
|
+
${styles$1z}
|
|
106934
106936
|
|
|
106935
106937
|
.icon svg {
|
|
106936
106938
|
fill: ${calendarEventBorderTransportOrderColor};
|
|
@@ -106947,15 +106949,15 @@ focus outline in that case.
|
|
|
106947
106949
|
}
|
|
106948
106950
|
const sprightIconWorkItemForklift = IconWorkItemForklift.compose({
|
|
106949
106951
|
baseName: 'icon-work-item-forklift',
|
|
106950
|
-
template: template$
|
|
106951
|
-
styles: styles$
|
|
106952
|
+
template: template$1n,
|
|
106953
|
+
styles: styles$p
|
|
106952
106954
|
});
|
|
106953
106955
|
DesignSystem.getOrCreate()
|
|
106954
106956
|
.withPrefix('spright')
|
|
106955
106957
|
.register(sprightIconWorkItemForklift());
|
|
106956
106958
|
|
|
106957
|
-
const styles$
|
|
106958
|
-
${styles$
|
|
106959
|
+
const styles$o = css `
|
|
106960
|
+
${styles$1z}
|
|
106959
106961
|
|
|
106960
106962
|
.icon svg {
|
|
106961
106963
|
fill: ${calendarEventBorderStaticColor};
|
|
@@ -106972,15 +106974,15 @@ focus outline in that case.
|
|
|
106972
106974
|
}
|
|
106973
106975
|
const sprightIconWorkItemRectangleCheckLines = IconWorkItemRectangleCheckLines.compose({
|
|
106974
106976
|
baseName: 'icon-work-item-rectangle-check-lines',
|
|
106975
|
-
template: template$
|
|
106976
|
-
styles: styles$
|
|
106977
|
+
template: template$1n,
|
|
106978
|
+
styles: styles$o
|
|
106977
106979
|
});
|
|
106978
106980
|
DesignSystem.getOrCreate()
|
|
106979
106981
|
.withPrefix('spright')
|
|
106980
106982
|
.register(sprightIconWorkItemRectangleCheckLines());
|
|
106981
106983
|
|
|
106982
|
-
const styles$
|
|
106983
|
-
${styles$
|
|
106984
|
+
const styles$n = css `
|
|
106985
|
+
${styles$1z}
|
|
106984
106986
|
|
|
106985
106987
|
.icon svg {
|
|
106986
106988
|
fill: ${calendarEventBorderWorkOrderColor};
|
|
@@ -106997,15 +106999,15 @@ focus outline in that case.
|
|
|
106997
106999
|
}
|
|
106998
107000
|
const sprightIconWorkItemSquareListCog = IconWorkItemSquareListCog.compose({
|
|
106999
107001
|
baseName: 'icon-work-item-square-list-cog',
|
|
107000
|
-
template: template$
|
|
107001
|
-
styles: styles$
|
|
107002
|
+
template: template$1n,
|
|
107003
|
+
styles: styles$n
|
|
107002
107004
|
});
|
|
107003
107005
|
DesignSystem.getOrCreate()
|
|
107004
107006
|
.withPrefix('spright')
|
|
107005
107007
|
.register(sprightIconWorkItemSquareListCog());
|
|
107006
107008
|
|
|
107007
|
-
const styles$
|
|
107008
|
-
${styles$
|
|
107009
|
+
const styles$m = css `
|
|
107010
|
+
${styles$1z}
|
|
107009
107011
|
|
|
107010
107012
|
.icon svg {
|
|
107011
107013
|
fill: ${calendarEventBorderJobColor};
|
|
@@ -107022,15 +107024,15 @@ focus outline in that case.
|
|
|
107022
107024
|
}
|
|
107023
107025
|
const sprightIconWorkItemUserHelmetSafety = IconWorkItemUserHelmetSafety.compose({
|
|
107024
107026
|
baseName: 'icon-work-item-user-helmet-safety',
|
|
107025
|
-
template: template$
|
|
107026
|
-
styles: styles$
|
|
107027
|
+
template: template$1n,
|
|
107028
|
+
styles: styles$m
|
|
107027
107029
|
});
|
|
107028
107030
|
DesignSystem.getOrCreate()
|
|
107029
107031
|
.withPrefix('spright')
|
|
107030
107032
|
.register(sprightIconWorkItemUserHelmetSafety());
|
|
107031
107033
|
|
|
107032
|
-
const styles$
|
|
107033
|
-
${styles$
|
|
107034
|
+
const styles$l = css `
|
|
107035
|
+
${styles$1z}
|
|
107034
107036
|
|
|
107035
107037
|
.icon svg {
|
|
107036
107038
|
fill: ${calendarEventBorderMaintenanceColor};
|
|
@@ -107047,8 +107049,8 @@ focus outline in that case.
|
|
|
107047
107049
|
}
|
|
107048
107050
|
const sprightIconWorkItemWrenchHammer = IconWorkItemWrenchHammer.compose({
|
|
107049
107051
|
baseName: 'icon-work-item-wrench-hammer',
|
|
107050
|
-
template: template$
|
|
107051
|
-
styles: styles$
|
|
107052
|
+
template: template$1n,
|
|
107053
|
+
styles: styles$l
|
|
107052
107054
|
});
|
|
107053
107055
|
DesignSystem.getOrCreate()
|
|
107054
107056
|
.withPrefix('spright')
|
|
@@ -107075,13 +107077,13 @@ focus outline in that case.
|
|
|
107075
107077
|
], LabelProviderChat.prototype, "stop", void 0);
|
|
107076
107078
|
const sprightLabelProviderChat = LabelProviderChat.compose({
|
|
107077
107079
|
baseName: 'label-provider-chat',
|
|
107078
|
-
styles: styles$
|
|
107080
|
+
styles: styles$1f
|
|
107079
107081
|
});
|
|
107080
107082
|
DesignSystem.getOrCreate()
|
|
107081
107083
|
.withPrefix('spright')
|
|
107082
107084
|
.register(sprightLabelProviderChat());
|
|
107083
107085
|
|
|
107084
|
-
const styles$
|
|
107086
|
+
const styles$k = css `
|
|
107085
107087
|
${display$1('inline-block')}
|
|
107086
107088
|
|
|
107087
107089
|
:host {
|
|
@@ -107106,7 +107108,7 @@ focus outline in that case.
|
|
|
107106
107108
|
}
|
|
107107
107109
|
`;
|
|
107108
107110
|
|
|
107109
|
-
const template$
|
|
107111
|
+
const template$l = html `<slot></slot>`;
|
|
107110
107112
|
|
|
107111
107113
|
/**
|
|
107112
107114
|
* A Spright demo component (not for production use)
|
|
@@ -107115,8 +107117,8 @@ focus outline in that case.
|
|
|
107115
107117
|
}
|
|
107116
107118
|
const sprightRectangle = Rectangle.compose({
|
|
107117
107119
|
baseName: 'rectangle',
|
|
107118
|
-
template: template$
|
|
107119
|
-
styles: styles$
|
|
107120
|
+
template: template$l,
|
|
107121
|
+
styles: styles$k
|
|
107120
107122
|
});
|
|
107121
107123
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightRectangle());
|
|
107122
107124
|
|
|
@@ -107143,7 +107145,7 @@ focus outline in that case.
|
|
|
107143
107145
|
block: 'block'
|
|
107144
107146
|
};
|
|
107145
107147
|
|
|
107146
|
-
const styles$
|
|
107148
|
+
const styles$j = css `
|
|
107147
107149
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
107148
107150
|
|
|
107149
107151
|
@layer base {
|
|
@@ -107249,7 +107251,7 @@ focus outline in that case.
|
|
|
107249
107251
|
}
|
|
107250
107252
|
`));
|
|
107251
107253
|
|
|
107252
|
-
const template$
|
|
107254
|
+
const template$k = html `
|
|
107253
107255
|
<details
|
|
107254
107256
|
class="accordion-item-details"
|
|
107255
107257
|
?open="${x => x.expanded}"
|
|
@@ -107300,8 +107302,8 @@ focus outline in that case.
|
|
|
107300
107302
|
], FvAccordionItem.prototype, "appearance", void 0);
|
|
107301
107303
|
const okFvAccordionItem = FvAccordionItem.compose({
|
|
107302
107304
|
baseName: 'fv-accordion-item',
|
|
107303
|
-
template: template$
|
|
107304
|
-
styles: styles$
|
|
107305
|
+
template: template$k,
|
|
107306
|
+
styles: styles$j
|
|
107305
107307
|
});
|
|
107306
107308
|
DesignSystem.getOrCreate()
|
|
107307
107309
|
.withPrefix('ok')
|
|
@@ -107316,7 +107318,7 @@ focus outline in that case.
|
|
|
107316
107318
|
card: 'card'
|
|
107317
107319
|
};
|
|
107318
107320
|
|
|
107319
|
-
const styles$
|
|
107321
|
+
const styles$i = css `
|
|
107320
107322
|
${display('block')}
|
|
107321
107323
|
|
|
107322
107324
|
:host {
|
|
@@ -107667,7 +107669,7 @@ focus outline in that case.
|
|
|
107667
107669
|
</div>
|
|
107668
107670
|
</div>
|
|
107669
107671
|
`;
|
|
107670
|
-
const template$
|
|
107672
|
+
const template$j = html `
|
|
107671
107673
|
${when(x => x.interactionMode === FvCardInteractionMode.card, html `
|
|
107672
107674
|
<${cardButtonTag}
|
|
107673
107675
|
class="card-shell card-button-shell"
|
|
@@ -107815,14 +107817,14 @@ focus outline in that case.
|
|
|
107815
107817
|
], FvCard.prototype, "hasFooterEndContent", void 0);
|
|
107816
107818
|
const okFvCard = FvCard.compose({
|
|
107817
107819
|
baseName: 'fv-card',
|
|
107818
|
-
template: template$
|
|
107819
|
-
styles: styles$
|
|
107820
|
+
template: template$j,
|
|
107821
|
+
styles: styles$i
|
|
107820
107822
|
});
|
|
107821
107823
|
DesignSystem.getOrCreate()
|
|
107822
107824
|
.withPrefix('ok')
|
|
107823
107825
|
.register(okFvCard());
|
|
107824
107826
|
|
|
107825
|
-
const styles$
|
|
107827
|
+
const styles$h = css `
|
|
107826
107828
|
${display('block')}
|
|
107827
107829
|
|
|
107828
107830
|
:host {
|
|
@@ -107902,7 +107904,7 @@ focus outline in that case.
|
|
|
107902
107904
|
}
|
|
107903
107905
|
`;
|
|
107904
107906
|
|
|
107905
|
-
const template$
|
|
107907
|
+
const template$i = html `
|
|
107906
107908
|
<div class="field">
|
|
107907
107909
|
<span class="marker" aria-hidden="true"></span>
|
|
107908
107910
|
<div class="content">
|
|
@@ -108048,12 +108050,12 @@ focus outline in that case.
|
|
|
108048
108050
|
], FvBulkEditField.prototype, "controls", void 0);
|
|
108049
108051
|
const okFvBulkEditField = FvBulkEditField.compose({
|
|
108050
108052
|
baseName: 'fv-bulk-edit-field',
|
|
108051
|
-
template: template$
|
|
108052
|
-
styles: styles$
|
|
108053
|
+
template: template$i,
|
|
108054
|
+
styles: styles$h
|
|
108053
108055
|
});
|
|
108054
108056
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvBulkEditField());
|
|
108055
108057
|
|
|
108056
|
-
const styles$
|
|
108058
|
+
const styles$g = css `
|
|
108057
108059
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
108058
108060
|
|
|
108059
108061
|
@layer base {
|
|
@@ -108301,7 +108303,7 @@ focus outline in that case.
|
|
|
108301
108303
|
@layer top {}
|
|
108302
108304
|
`;
|
|
108303
108305
|
|
|
108304
|
-
const template$
|
|
108306
|
+
const template$h = html `
|
|
108305
108307
|
<div class="chip-selector">
|
|
108306
108308
|
${when(x => x.label.length > 0, html `
|
|
108307
108309
|
<label id="${x => x.labelId}" class="label" for="${x => x.inputId}">
|
|
@@ -108791,12 +108793,12 @@ focus outline in that case.
|
|
|
108791
108793
|
], FvChipSelector.prototype, "field", void 0);
|
|
108792
108794
|
const okFvChipSelector = FvChipSelector.compose({
|
|
108793
108795
|
baseName: 'fv-chip-selector',
|
|
108794
|
-
template: template$
|
|
108795
|
-
styles: styles$
|
|
108796
|
+
template: template$h,
|
|
108797
|
+
styles: styles$g
|
|
108796
108798
|
});
|
|
108797
108799
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvChipSelector());
|
|
108798
108800
|
|
|
108799
|
-
const styles$
|
|
108801
|
+
const styles$f = css `
|
|
108800
108802
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
108801
108803
|
|
|
108802
108804
|
@layer base {
|
|
@@ -108848,7 +108850,7 @@ focus outline in that case.
|
|
|
108848
108850
|
@layer top {}
|
|
108849
108851
|
`;
|
|
108850
108852
|
|
|
108851
|
-
const template$
|
|
108853
|
+
const template$g = html `
|
|
108852
108854
|
<button
|
|
108853
108855
|
id="${x => x.tooltipAnchorId}"
|
|
108854
108856
|
class="context-help-trigger"
|
|
@@ -108896,12 +108898,12 @@ focus outline in that case.
|
|
|
108896
108898
|
], FvContextHelp.prototype, "iconVisible", void 0);
|
|
108897
108899
|
const okFvContextHelp = FvContextHelp.compose({
|
|
108898
108900
|
baseName: 'fv-context-help',
|
|
108899
|
-
template: template$
|
|
108900
|
-
styles: styles$
|
|
108901
|
+
template: template$g,
|
|
108902
|
+
styles: styles$f
|
|
108901
108903
|
});
|
|
108902
108904
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvContextHelp());
|
|
108903
108905
|
|
|
108904
|
-
const styles$
|
|
108906
|
+
const styles$e = css `
|
|
108905
108907
|
${display('block')}
|
|
108906
108908
|
|
|
108907
108909
|
:host {
|
|
@@ -108963,7 +108965,7 @@ focus outline in that case.
|
|
|
108963
108965
|
}
|
|
108964
108966
|
`;
|
|
108965
108967
|
|
|
108966
|
-
const template$
|
|
108968
|
+
const template$f = html `
|
|
108967
108969
|
${when(x => x.message !== undefined, html `
|
|
108968
108970
|
<${bannerTag}
|
|
108969
108971
|
:open="${x => x.message !== undefined}"
|
|
@@ -109084,10 +109086,271 @@ focus outline in that case.
|
|
|
109084
109086
|
], FvEditCommitBar.prototype, "summary", null);
|
|
109085
109087
|
const okFvEditCommitBar = FvEditCommitBar.compose({
|
|
109086
109088
|
baseName: 'fv-edit-commit-bar',
|
|
109089
|
+
template: template$f,
|
|
109090
|
+
styles: styles$e
|
|
109091
|
+
});
|
|
109092
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(okFvEditCommitBar());
|
|
109093
|
+
|
|
109094
|
+
const styles$d = css `
|
|
109095
|
+
@layer base, hover, focusVisible, disabled, top;
|
|
109096
|
+
|
|
109097
|
+
@layer base {
|
|
109098
|
+
${display('flex')}
|
|
109099
|
+
|
|
109100
|
+
:host {
|
|
109101
|
+
min-width: 0;
|
|
109102
|
+
font: ${bodyFont};
|
|
109103
|
+
color: ${bodyFontColor};
|
|
109104
|
+
}
|
|
109105
|
+
|
|
109106
|
+
.filter-bar {
|
|
109107
|
+
display: flex;
|
|
109108
|
+
align-items: center;
|
|
109109
|
+
min-width: 0;
|
|
109110
|
+
max-width: 100%;
|
|
109111
|
+
height: 30px;
|
|
109112
|
+
padding: 0 ${standardPadding};
|
|
109113
|
+
}
|
|
109114
|
+
|
|
109115
|
+
.filter-bar-edit,
|
|
109116
|
+
.filter-bar-clear {
|
|
109117
|
+
-webkit-appearance: none;
|
|
109118
|
+
appearance: none;
|
|
109119
|
+
display: inline-flex;
|
|
109120
|
+
align-items: center;
|
|
109121
|
+
min-width: 0;
|
|
109122
|
+
padding: 0;
|
|
109123
|
+
border: none;
|
|
109124
|
+
border-radius: 2px;
|
|
109125
|
+
background: transparent;
|
|
109126
|
+
color: inherit;
|
|
109127
|
+
font: inherit;
|
|
109128
|
+
cursor: pointer;
|
|
109129
|
+
}
|
|
109130
|
+
|
|
109131
|
+
.filter-bar-edit {
|
|
109132
|
+
flex: 0 1 auto;
|
|
109133
|
+
height: 30px;
|
|
109134
|
+
gap: calc(2 * ${smallPadding});
|
|
109135
|
+
text-align: start;
|
|
109136
|
+
}
|
|
109137
|
+
|
|
109138
|
+
.filter-bar-content {
|
|
109139
|
+
min-width: 0;
|
|
109140
|
+
overflow: hidden;
|
|
109141
|
+
text-overflow: ellipsis;
|
|
109142
|
+
white-space: nowrap;
|
|
109143
|
+
}
|
|
109144
|
+
|
|
109145
|
+
.filter-bar-label {
|
|
109146
|
+
margin-inline-end: 10px;
|
|
109147
|
+
}
|
|
109148
|
+
|
|
109149
|
+
.query-expression {
|
|
109150
|
+
padding: 0 ${smallPadding};
|
|
109151
|
+
background-color: ${sectionBackgroundColor};
|
|
109152
|
+
border-radius: 50px;
|
|
109153
|
+
}
|
|
109154
|
+
|
|
109155
|
+
.logical-operator {
|
|
109156
|
+
font-weight: 600;
|
|
109157
|
+
color: ${linkProminentFontColor};
|
|
109158
|
+
}
|
|
109159
|
+
|
|
109160
|
+
.compound-expression-container {
|
|
109161
|
+
font-size: medium;
|
|
109162
|
+
}
|
|
109163
|
+
|
|
109164
|
+
.filter-bar-icon {
|
|
109165
|
+
flex: 0 0 auto;
|
|
109166
|
+
width: ${iconSize};
|
|
109167
|
+
height: ${iconSize};
|
|
109168
|
+
${iconColor.cssCustomProperty}: currentColor;
|
|
109169
|
+
}
|
|
109170
|
+
|
|
109171
|
+
.filter-bar-clear {
|
|
109172
|
+
${controlHeight.cssCustomProperty}: 24px;
|
|
109173
|
+
flex: 0 0 auto;
|
|
109174
|
+
justify-content: center;
|
|
109175
|
+
width: ${controlHeight};
|
|
109176
|
+
height: ${controlHeight};
|
|
109177
|
+
margin-inline-start: calc(2 * ${smallPadding});
|
|
109178
|
+
}
|
|
109179
|
+
}
|
|
109180
|
+
|
|
109181
|
+
@layer hover {
|
|
109182
|
+
.filter-bar-clear:hover {
|
|
109183
|
+
background: ${fillHoverColor};
|
|
109184
|
+
}
|
|
109185
|
+
}
|
|
109186
|
+
|
|
109187
|
+
@layer focusVisible {
|
|
109188
|
+
.filter-bar-edit:focus-visible,
|
|
109189
|
+
.filter-bar-clear:focus-visible {
|
|
109190
|
+
outline: ${borderWidth} solid ${borderHoverColor};
|
|
109191
|
+
outline-offset: -1px;
|
|
109192
|
+
}
|
|
109193
|
+
}
|
|
109194
|
+
|
|
109195
|
+
@layer disabled {
|
|
109196
|
+
.filter-bar-edit:disabled,
|
|
109197
|
+
.filter-bar-clear:disabled {
|
|
109198
|
+
color: ${bodyDisabledFontColor};
|
|
109199
|
+
cursor: not-allowed;
|
|
109200
|
+
}
|
|
109201
|
+
|
|
109202
|
+
:host([disabled]) .logical-operator {
|
|
109203
|
+
color: inherit;
|
|
109204
|
+
}
|
|
109205
|
+
}
|
|
109206
|
+
|
|
109207
|
+
@layer top {}
|
|
109208
|
+
`;
|
|
109209
|
+
|
|
109210
|
+
const queryTokenTemplate = html `${when(x => x.kind === 'predicate', html `<span class="query-expression"><b>${x => (x.kind === 'predicate' ? x.field : '')}</b> ${x => (x.kind === 'predicate' ? x.operator : '')}<b>${x => (x.kind === 'predicate' ? x.value : '')}</b></span>`)}${when(x => x.kind === 'logic', html `<span class="logical-operator">${x => (x.kind === 'logic' ? x.text : '')}</span>`)}${when(x => x.kind === 'group', html `<span class="compound-expression-container">${x => (x.kind === 'group' ? x.text : '')}</span>`)}`;
|
|
109211
|
+
const template$e = html `
|
|
109212
|
+
<div class="filter-bar" role="group" aria-label="${x => x.label}">
|
|
109213
|
+
<button
|
|
109214
|
+
${ref('editButton')}
|
|
109215
|
+
class="filter-bar-edit"
|
|
109216
|
+
type="button"
|
|
109217
|
+
aria-label="${x => `Edit filters: ${x.label}`}"
|
|
109218
|
+
title="${x => x.expression}"
|
|
109219
|
+
?disabled="${x => x.disabled}"
|
|
109220
|
+
@click="${x => x.handleEditClick()}"
|
|
109221
|
+
>
|
|
109222
|
+
<${iconFilterTag} class="filter-bar-icon" aria-hidden="true"></${iconFilterTag}>
|
|
109223
|
+
<span class="filter-bar-content">
|
|
109224
|
+
<span class="filter-bar-label">${x => x.label}</span>${when(x => x.expression.length > 0, html `<span class="filter-bar-expression">${repeat(x => x.queryTokens, queryTokenTemplate)}</span>`)}
|
|
109225
|
+
</span>
|
|
109226
|
+
</button>
|
|
109227
|
+
${when(x => x.showClearButton && x.expression.length > 0, html `
|
|
109228
|
+
<button
|
|
109229
|
+
class="filter-bar-clear"
|
|
109230
|
+
type="button"
|
|
109231
|
+
aria-label="Clear filters"
|
|
109232
|
+
?disabled="${x => x.disabled}"
|
|
109233
|
+
@click="${x => x.handleClearClick()}"
|
|
109234
|
+
>
|
|
109235
|
+
<${iconXmarkTag} class="filter-bar-icon" aria-hidden="true"></${iconXmarkTag}>
|
|
109236
|
+
</button>
|
|
109237
|
+
`)}
|
|
109238
|
+
</div>
|
|
109239
|
+
`;
|
|
109240
|
+
|
|
109241
|
+
function isRecord(value) {
|
|
109242
|
+
return typeof value === 'object' && value !== null;
|
|
109243
|
+
}
|
|
109244
|
+
/** Displays an active query and dispatches edit and clear actions. */
|
|
109245
|
+
class FvFilterBar extends FoundationElement {
|
|
109246
|
+
constructor() {
|
|
109247
|
+
super(...arguments);
|
|
109248
|
+
/** Text shown before the active query expression. */
|
|
109249
|
+
this.label = 'Filters';
|
|
109250
|
+
/** Prevents editing and clearing the displayed query. */
|
|
109251
|
+
this.disabled = false;
|
|
109252
|
+
/** Controls visibility of the clear button when a query is active. */
|
|
109253
|
+
this.showClearButton = true;
|
|
109254
|
+
/** Query document shared with FvQueryBuilder. */
|
|
109255
|
+
this.query = { version: 1, root: null };
|
|
109256
|
+
}
|
|
109257
|
+
get expression() {
|
|
109258
|
+
return this.queryTokens.map(token => (token.kind === 'predicate'
|
|
109259
|
+
? `${token.field} ${token.operator}${token.value}`
|
|
109260
|
+
: token.text)).join('');
|
|
109261
|
+
}
|
|
109262
|
+
/** @internal */
|
|
109263
|
+
get queryTokens() {
|
|
109264
|
+
return this.query.root ? this.formatNode(this.query.root, true) : [];
|
|
109265
|
+
}
|
|
109266
|
+
handleEditClick() {
|
|
109267
|
+
this.dispatchEvent(new CustomEvent('edit-filter', {
|
|
109268
|
+
bubbles: true,
|
|
109269
|
+
composed: true,
|
|
109270
|
+
detail: { query: this.query }
|
|
109271
|
+
}));
|
|
109272
|
+
}
|
|
109273
|
+
handleClearClick() {
|
|
109274
|
+
this.editButton.focus();
|
|
109275
|
+
this.dispatchEvent(new CustomEvent('clear-filter', {
|
|
109276
|
+
bubbles: true,
|
|
109277
|
+
composed: true,
|
|
109278
|
+
detail: { query: this.query }
|
|
109279
|
+
}));
|
|
109280
|
+
}
|
|
109281
|
+
formatNode(node, isRoot = false) {
|
|
109282
|
+
if (node.kind === 'predicate') {
|
|
109283
|
+
const field = this.definition?.fields.find(candidate => candidate.id === node.fieldId);
|
|
109284
|
+
const operator = this.definition?.operators.find(candidate => candidate.id === node.operatorId);
|
|
109285
|
+
const valueSchema = operator?.operand?.kind === 'schema' ? operator.operand.schema : field?.valueSchema;
|
|
109286
|
+
return [{
|
|
109287
|
+
kind: 'predicate',
|
|
109288
|
+
field: field?.label ?? node.fieldId,
|
|
109289
|
+
operator: operator?.label ?? node.operatorId,
|
|
109290
|
+
value: node.value === undefined ? '' : ` ${this.formatValue(node.value, valueSchema)}`
|
|
109291
|
+
}];
|
|
109292
|
+
}
|
|
109293
|
+
const tokens = [];
|
|
109294
|
+
for (const child of node.children) {
|
|
109295
|
+
const childTokens = this.formatNode(child);
|
|
109296
|
+
if (childTokens.length > 0) {
|
|
109297
|
+
if (tokens.length > 0) {
|
|
109298
|
+
tokens.push({ kind: 'logic', text: ` ${node.combinator.toUpperCase()} ` });
|
|
109299
|
+
}
|
|
109300
|
+
tokens.push(...childTokens);
|
|
109301
|
+
}
|
|
109302
|
+
}
|
|
109303
|
+
return tokens.length > 0 && !isRoot
|
|
109304
|
+
? [{ kind: 'group', text: '(' }, ...tokens, { kind: 'group', text: ')' }]
|
|
109305
|
+
: tokens;
|
|
109306
|
+
}
|
|
109307
|
+
formatValue(value, schema) {
|
|
109308
|
+
if (Array.isArray(value)) {
|
|
109309
|
+
return value.map(item => this.formatValue(item, schema)).join(', ');
|
|
109310
|
+
}
|
|
109311
|
+
if (isRecord(schema) && Array.isArray(schema.oneOf)) {
|
|
109312
|
+
for (const option of schema.oneOf) {
|
|
109313
|
+
if (isRecord(option) && option.const === value && typeof option.title === 'string') {
|
|
109314
|
+
return option.title;
|
|
109315
|
+
}
|
|
109316
|
+
}
|
|
109317
|
+
}
|
|
109318
|
+
if (value !== null && typeof value === 'object') {
|
|
109319
|
+
return JSON.stringify(value) ?? '';
|
|
109320
|
+
}
|
|
109321
|
+
if (typeof value === 'string') {
|
|
109322
|
+
return value;
|
|
109323
|
+
}
|
|
109324
|
+
if (typeof value === 'number' || typeof value === 'boolean') {
|
|
109325
|
+
return value.toString();
|
|
109326
|
+
}
|
|
109327
|
+
return 'null';
|
|
109328
|
+
}
|
|
109329
|
+
}
|
|
109330
|
+
__decorate([
|
|
109331
|
+
attr
|
|
109332
|
+
], FvFilterBar.prototype, "label", void 0);
|
|
109333
|
+
__decorate([
|
|
109334
|
+
attr({ mode: 'boolean' })
|
|
109335
|
+
], FvFilterBar.prototype, "disabled", void 0);
|
|
109336
|
+
__decorate([
|
|
109337
|
+
attr({ attribute: 'show-clear-button', mode: 'boolean' })
|
|
109338
|
+
], FvFilterBar.prototype, "showClearButton", void 0);
|
|
109339
|
+
__decorate([
|
|
109340
|
+
observable
|
|
109341
|
+
], FvFilterBar.prototype, "query", void 0);
|
|
109342
|
+
__decorate([
|
|
109343
|
+
observable
|
|
109344
|
+
], FvFilterBar.prototype, "definition", void 0);
|
|
109345
|
+
__decorate([
|
|
109346
|
+
volatile
|
|
109347
|
+
], FvFilterBar.prototype, "queryTokens", null);
|
|
109348
|
+
const okFvFilterBar = FvFilterBar.compose({
|
|
109349
|
+
baseName: 'fv-filter-bar',
|
|
109087
109350
|
template: template$e,
|
|
109088
109351
|
styles: styles$d
|
|
109089
109352
|
});
|
|
109090
|
-
DesignSystem.getOrCreate().withPrefix('ok').register(
|
|
109353
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(okFvFilterBar());
|
|
109091
109354
|
|
|
109092
109355
|
const styles$c = css `
|
|
109093
109356
|
@layer base, hover, selected;
|
|
@@ -112357,7 +112620,7 @@ focus outline in that case.
|
|
|
112357
112620
|
|
|
112358
112621
|
const template = html `
|
|
112359
112622
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
112360
|
-
>${template$
|
|
112623
|
+
>${template$R}</template
|
|
112361
112624
|
>
|
|
112362
112625
|
`;
|
|
112363
112626
|
|
|
@@ -112443,7 +112706,7 @@ focus outline in that case.
|
|
|
112443
112706
|
const tsTableColumnBreakpoint = TsTableColumnBreakpoint.compose({
|
|
112444
112707
|
baseName: 'ts-table-column-breakpoint',
|
|
112445
112708
|
template,
|
|
112446
|
-
styles: styles$
|
|
112709
|
+
styles: styles$Q
|
|
112447
112710
|
});
|
|
112448
112711
|
DesignSystem.getOrCreate()
|
|
112449
112712
|
.withPrefix('ok')
|