@ni/ok-components 1.5.2 → 1.6.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 +882 -410
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +5587 -5344
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +611 -288
- package/dist/custom-elements.md +97 -35
- package/dist/esm/fv/all-fv.d.ts +2 -0
- package/dist/esm/fv/all-fv.js +2 -0
- package/dist/esm/fv/all-fv.js.map +1 -1
- package/dist/esm/fv/master-detail-list/index.d.ts +50 -0
- package/dist/esm/fv/master-detail-list/index.js +176 -0
- package/dist/esm/fv/master-detail-list/index.js.map +1 -0
- package/dist/esm/fv/master-detail-list/styles.d.ts +1 -0
- package/dist/esm/fv/master-detail-list/styles.js +68 -0
- package/dist/esm/fv/master-detail-list/styles.js.map +1 -0
- package/dist/esm/fv/master-detail-list/template.d.ts +2 -0
- package/dist/esm/fv/master-detail-list/template.js +36 -0
- package/dist/esm/fv/master-detail-list/template.js.map +1 -0
- package/dist/esm/fv/master-detail-list-item/index.d.ts +32 -0
- package/dist/esm/fv/master-detail-list-item/index.js +86 -0
- package/dist/esm/fv/master-detail-list-item/index.js.map +1 -0
- package/dist/esm/fv/master-detail-list-item/styles.d.ts +1 -0
- package/dist/esm/fv/master-detail-list-item/styles.js +100 -0
- package/dist/esm/fv/master-detail-list-item/styles.js.map +1 -0
- package/dist/esm/fv/master-detail-list-item/template.d.ts +2 -0
- package/dist/esm/fv/master-detail-list-item/template.js +28 -0
- package/dist/esm/fv/master-detail-list-item/template.js.map +1 -0
- package/package.json +1 -1
|
@@ -14902,9 +14902,9 @@
|
|
|
14902
14902
|
const prefix = 'ni-nimble';
|
|
14903
14903
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
14904
14904
|
|
|
14905
|
-
const template$
|
|
14905
|
+
const template$1l = html `<slot></slot>`;
|
|
14906
14906
|
|
|
14907
|
-
const styles$
|
|
14907
|
+
const styles$1B = css `
|
|
14908
14908
|
${display$2('contents')}
|
|
14909
14909
|
|
|
14910
14910
|
:host {
|
|
@@ -15028,8 +15028,8 @@
|
|
|
15028
15028
|
], ThemeProvider.prototype, "theme", void 0);
|
|
15029
15029
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
15030
15030
|
baseName: 'theme-provider',
|
|
15031
|
-
styles: styles$
|
|
15032
|
-
template: template$
|
|
15031
|
+
styles: styles$1B,
|
|
15032
|
+
template: template$1l
|
|
15033
15033
|
});
|
|
15034
15034
|
DesignSystem.getOrCreate()
|
|
15035
15035
|
.withPrefix('nimble')
|
|
@@ -16675,7 +16675,7 @@
|
|
|
16675
16675
|
}
|
|
16676
16676
|
// #endregion
|
|
16677
16677
|
|
|
16678
|
-
const styles$
|
|
16678
|
+
const styles$1A = css `
|
|
16679
16679
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
16680
16680
|
|
|
16681
16681
|
@layer base {
|
|
@@ -16753,7 +16753,7 @@
|
|
|
16753
16753
|
}
|
|
16754
16754
|
`;
|
|
16755
16755
|
|
|
16756
|
-
const template$
|
|
16756
|
+
const template$1k = (_context, definition) => html `${
|
|
16757
16757
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16758
16758
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
16759
16759
|
*/ ''}<div
|
|
@@ -16856,8 +16856,8 @@
|
|
|
16856
16856
|
const nimbleAnchor = Anchor.compose({
|
|
16857
16857
|
baseName: 'anchor',
|
|
16858
16858
|
baseClass: Anchor$1,
|
|
16859
|
-
template: template$
|
|
16860
|
-
styles: styles$
|
|
16859
|
+
template: template$1k,
|
|
16860
|
+
styles: styles$1A,
|
|
16861
16861
|
shadowOptions: {
|
|
16862
16862
|
delegatesFocus: true
|
|
16863
16863
|
}
|
|
@@ -16966,7 +16966,7 @@
|
|
|
16966
16966
|
padding: 0;
|
|
16967
16967
|
`;
|
|
16968
16968
|
|
|
16969
|
-
const styles$
|
|
16969
|
+
const styles$1z = css `
|
|
16970
16970
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
16971
16971
|
|
|
16972
16972
|
@layer base {
|
|
@@ -17250,8 +17250,8 @@
|
|
|
17250
17250
|
}
|
|
17251
17251
|
`));
|
|
17252
17252
|
|
|
17253
|
-
const styles$
|
|
17254
|
-
${styles$
|
|
17253
|
+
const styles$1y = css `
|
|
17254
|
+
${styles$1z}
|
|
17255
17255
|
${buttonAppearanceVariantStyles}
|
|
17256
17256
|
|
|
17257
17257
|
.control {
|
|
@@ -17271,7 +17271,7 @@
|
|
|
17271
17271
|
}
|
|
17272
17272
|
`;
|
|
17273
17273
|
|
|
17274
|
-
const template$
|
|
17274
|
+
const template$1j = (context, definition) => html `
|
|
17275
17275
|
<a
|
|
17276
17276
|
class="control"
|
|
17277
17277
|
part="control"
|
|
@@ -17353,8 +17353,8 @@
|
|
|
17353
17353
|
], AnchorButton.prototype, "disabled", void 0);
|
|
17354
17354
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17355
17355
|
baseName: 'anchor-button',
|
|
17356
|
-
template: template$
|
|
17357
|
-
styles: styles$
|
|
17356
|
+
template: template$1j,
|
|
17357
|
+
styles: styles$1y,
|
|
17358
17358
|
shadowOptions: {
|
|
17359
17359
|
delegatesFocus: true
|
|
17360
17360
|
}
|
|
@@ -17362,7 +17362,7 @@
|
|
|
17362
17362
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17363
17363
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17364
17364
|
|
|
17365
|
-
const styles$
|
|
17365
|
+
const styles$1x = css `
|
|
17366
17366
|
${display$2('grid')}
|
|
17367
17367
|
|
|
17368
17368
|
:host {
|
|
@@ -17445,7 +17445,7 @@
|
|
|
17445
17445
|
}
|
|
17446
17446
|
`;
|
|
17447
17447
|
|
|
17448
|
-
const template$
|
|
17448
|
+
const template$1i = (context, definition) => html `
|
|
17449
17449
|
<template
|
|
17450
17450
|
role="menuitem"
|
|
17451
17451
|
class="${x => (typeof x.startColumnCount === 'number'
|
|
@@ -17546,8 +17546,8 @@
|
|
|
17546
17546
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17547
17547
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17548
17548
|
baseName: 'anchor-menu-item',
|
|
17549
|
-
template: template$
|
|
17550
|
-
styles: styles$
|
|
17549
|
+
template: template$1i,
|
|
17550
|
+
styles: styles$1x,
|
|
17551
17551
|
shadowOptions: {
|
|
17552
17552
|
delegatesFocus: true
|
|
17553
17553
|
}
|
|
@@ -17559,7 +17559,7 @@
|
|
|
17559
17559
|
|
|
17560
17560
|
// These styles end up inside a @layer block so must use the
|
|
17561
17561
|
// cssPartial tag instead of the css tag
|
|
17562
|
-
const styles$
|
|
17562
|
+
const styles$1w = cssPartial `
|
|
17563
17563
|
.severity-text {
|
|
17564
17564
|
display: none;
|
|
17565
17565
|
font: ${errorTextFont};
|
|
@@ -17669,12 +17669,12 @@
|
|
|
17669
17669
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
17670
17670
|
/* eslint-enable max-classes-per-file */
|
|
17671
17671
|
|
|
17672
|
-
const styles$
|
|
17672
|
+
const styles$1v = css `
|
|
17673
17673
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
17674
17674
|
|
|
17675
17675
|
@layer base {
|
|
17676
17676
|
${display$2('inline-flex')}
|
|
17677
|
-
${styles$
|
|
17677
|
+
${styles$1w}
|
|
17678
17678
|
:host {
|
|
17679
17679
|
color: ${buttonLabelFontColor};
|
|
17680
17680
|
font: ${buttonLabelFont};
|
|
@@ -18220,8 +18220,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
18220
18220
|
}
|
|
18221
18221
|
`));
|
|
18222
18222
|
|
|
18223
|
-
const styles$
|
|
18224
|
-
${styles$
|
|
18223
|
+
const styles$1u = css `
|
|
18224
|
+
${styles$1v}
|
|
18225
18225
|
${'' /* Anchor specific styles */}
|
|
18226
18226
|
@layer base {
|
|
18227
18227
|
.control {
|
|
@@ -19268,13 +19268,13 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19268
19268
|
};
|
|
19269
19269
|
|
|
19270
19270
|
// Avoiding any whitespace in the template because this is an inline element
|
|
19271
|
-
const template$
|
|
19271
|
+
const template$1h = html `<div
|
|
19272
19272
|
class="icon"
|
|
19273
19273
|
aria-hidden="true"
|
|
19274
19274
|
:innerHTML=${x => x.icon.data}
|
|
19275
19275
|
></div>`;
|
|
19276
19276
|
|
|
19277
|
-
const styles$
|
|
19277
|
+
const styles$1t = css `
|
|
19278
19278
|
${display$2('inline-flex')}
|
|
19279
19279
|
|
|
19280
19280
|
:host {
|
|
@@ -19337,8 +19337,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19337
19337
|
const registerIconSvg = (baseName, iconClass) => {
|
|
19338
19338
|
const composedIcon = iconClass.compose({
|
|
19339
19339
|
baseName,
|
|
19340
|
-
template: template$
|
|
19341
|
-
styles: styles$
|
|
19340
|
+
template: template$1h,
|
|
19341
|
+
styles: styles$1t
|
|
19342
19342
|
});
|
|
19343
19343
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
19344
19344
|
};
|
|
@@ -19462,7 +19462,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19462
19462
|
*/
|
|
19463
19463
|
const StepperOrientation = Orientation;
|
|
19464
19464
|
|
|
19465
|
-
const template$
|
|
19465
|
+
const template$1g = (context, definition) => html `
|
|
19466
19466
|
<template slot="step">
|
|
19467
19467
|
<li class="
|
|
19468
19468
|
container
|
|
@@ -19609,15 +19609,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19609
19609
|
], AnchorStep.prototype, "tabIndex", void 0);
|
|
19610
19610
|
const nimbleAnchorStep = AnchorStep.compose({
|
|
19611
19611
|
baseName: 'anchor-step',
|
|
19612
|
-
template: template$
|
|
19613
|
-
styles: styles$
|
|
19612
|
+
template: template$1g,
|
|
19613
|
+
styles: styles$1u,
|
|
19614
19614
|
shadowOptions: {
|
|
19615
19615
|
delegatesFocus: true
|
|
19616
19616
|
}
|
|
19617
19617
|
});
|
|
19618
19618
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
|
|
19619
19619
|
|
|
19620
|
-
const styles$
|
|
19620
|
+
const styles$1s = css `
|
|
19621
19621
|
${display$2('inline-flex')}
|
|
19622
19622
|
|
|
19623
19623
|
:host {
|
|
@@ -19734,7 +19734,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19734
19734
|
}
|
|
19735
19735
|
`;
|
|
19736
19736
|
|
|
19737
|
-
const template$
|
|
19737
|
+
const template$1f = (context, definition) => html `
|
|
19738
19738
|
<template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
|
|
19739
19739
|
<a
|
|
19740
19740
|
download="${x => x.download}"
|
|
@@ -19786,15 +19786,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19786
19786
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
19787
19787
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
19788
19788
|
baseName: 'anchor-tab',
|
|
19789
|
-
template: template$
|
|
19790
|
-
styles: styles$
|
|
19789
|
+
template: template$1f,
|
|
19790
|
+
styles: styles$1s,
|
|
19791
19791
|
shadowOptions: {
|
|
19792
19792
|
delegatesFocus: true
|
|
19793
19793
|
}
|
|
19794
19794
|
});
|
|
19795
19795
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
19796
19796
|
|
|
19797
|
-
const styles$
|
|
19797
|
+
const styles$1r = css `
|
|
19798
19798
|
${display$2('flex')}
|
|
19799
19799
|
|
|
19800
19800
|
:host {
|
|
@@ -19834,12 +19834,12 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19834
19834
|
}
|
|
19835
19835
|
`;
|
|
19836
19836
|
|
|
19837
|
-
const styles$
|
|
19838
|
-
${styles$
|
|
19837
|
+
const styles$1q = css `
|
|
19838
|
+
${styles$1z}
|
|
19839
19839
|
${buttonAppearanceVariantStyles}
|
|
19840
19840
|
`;
|
|
19841
19841
|
|
|
19842
|
-
const template$
|
|
19842
|
+
const template$1e = (context, definition) => html `
|
|
19843
19843
|
<button
|
|
19844
19844
|
class="control"
|
|
19845
19845
|
part="control"
|
|
@@ -19930,8 +19930,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19930
19930
|
const nimbleButton = Button.compose({
|
|
19931
19931
|
baseName: 'button',
|
|
19932
19932
|
baseClass: Button$1,
|
|
19933
|
-
template: template$
|
|
19934
|
-
styles: styles$
|
|
19933
|
+
template: template$1e,
|
|
19934
|
+
styles: styles$1q,
|
|
19935
19935
|
shadowOptions: {
|
|
19936
19936
|
delegatesFocus: true
|
|
19937
19937
|
}
|
|
@@ -19965,7 +19965,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19965
19965
|
registerIconSvg('icon-arrow-expander-right', IconArrowExpanderRight);
|
|
19966
19966
|
const iconArrowExpanderRightTag = 'nimble-icon-arrow-expander-right';
|
|
19967
19967
|
|
|
19968
|
-
const template$
|
|
19968
|
+
const template$1d = (context, definition) => html `
|
|
19969
19969
|
<div
|
|
19970
19970
|
class="tab-bar"
|
|
19971
19971
|
>
|
|
@@ -20266,15 +20266,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20266
20266
|
applyMixins(AnchorTabs, StartEnd);
|
|
20267
20267
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
20268
20268
|
baseName: 'anchor-tabs',
|
|
20269
|
-
template: template$
|
|
20270
|
-
styles: styles$
|
|
20269
|
+
template: template$1d,
|
|
20270
|
+
styles: styles$1r,
|
|
20271
20271
|
shadowOptions: {
|
|
20272
20272
|
delegatesFocus: false
|
|
20273
20273
|
}
|
|
20274
20274
|
});
|
|
20275
20275
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
|
|
20276
20276
|
|
|
20277
|
-
const styles$
|
|
20277
|
+
const styles$1p = css `
|
|
20278
20278
|
${display$2('block')}
|
|
20279
20279
|
|
|
20280
20280
|
:host {
|
|
@@ -20379,7 +20379,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20379
20379
|
}
|
|
20380
20380
|
`;
|
|
20381
20381
|
|
|
20382
|
-
const template$
|
|
20382
|
+
const template$1c = (context, definition) => html `
|
|
20383
20383
|
<template
|
|
20384
20384
|
role="treeitem"
|
|
20385
20385
|
slot="${x => (x.isNestedItem() ? 'item' : null)}"
|
|
@@ -20516,8 +20516,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20516
20516
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
20517
20517
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
20518
20518
|
baseName: 'anchor-tree-item',
|
|
20519
|
-
template: template$
|
|
20520
|
-
styles: styles$
|
|
20519
|
+
template: template$1c,
|
|
20520
|
+
styles: styles$1p,
|
|
20521
20521
|
shadowOptions: {
|
|
20522
20522
|
delegatesFocus: true
|
|
20523
20523
|
}
|
|
@@ -20533,7 +20533,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20533
20533
|
zIndex1000: '1000'
|
|
20534
20534
|
};
|
|
20535
20535
|
|
|
20536
|
-
const styles$
|
|
20536
|
+
const styles$1o = css `
|
|
20537
20537
|
${display$2('block')}
|
|
20538
20538
|
|
|
20539
20539
|
:host {
|
|
@@ -20564,14 +20564,14 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20564
20564
|
baseName: 'anchored-region',
|
|
20565
20565
|
baseClass: AnchoredRegion$1,
|
|
20566
20566
|
template: anchoredRegionTemplate,
|
|
20567
|
-
styles: styles$
|
|
20567
|
+
styles: styles$1o
|
|
20568
20568
|
});
|
|
20569
20569
|
DesignSystem.getOrCreate()
|
|
20570
20570
|
.withPrefix('nimble')
|
|
20571
20571
|
.register(nimbleAnchoredRegion());
|
|
20572
20572
|
const anchoredRegionTag = 'nimble-anchored-region';
|
|
20573
20573
|
|
|
20574
|
-
const styles$
|
|
20574
|
+
const styles$1n = css `
|
|
20575
20575
|
${display$2('flex')}
|
|
20576
20576
|
|
|
20577
20577
|
:host {
|
|
@@ -20723,7 +20723,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20723
20723
|
information: 'information'
|
|
20724
20724
|
};
|
|
20725
20725
|
|
|
20726
|
-
const template$
|
|
20726
|
+
const template$1b = html `
|
|
20727
20727
|
<${themeProviderTag} theme="${Theme.color}">
|
|
20728
20728
|
<div class="container"
|
|
20729
20729
|
role="status"
|
|
@@ -20841,8 +20841,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20841
20841
|
applyMixins(Banner, ARIAGlobalStatesAndProperties);
|
|
20842
20842
|
const nimbleBanner = Banner.compose({
|
|
20843
20843
|
baseName: 'banner',
|
|
20844
|
-
template: template$
|
|
20845
|
-
styles: styles$
|
|
20844
|
+
template: template$1b,
|
|
20845
|
+
styles: styles$1n
|
|
20846
20846
|
});
|
|
20847
20847
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
20848
20848
|
|
|
@@ -20883,7 +20883,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20883
20883
|
</template>
|
|
20884
20884
|
`;
|
|
20885
20885
|
|
|
20886
|
-
const styles$
|
|
20886
|
+
const styles$1m = css `
|
|
20887
20887
|
${display$2('inline-flex')}
|
|
20888
20888
|
|
|
20889
20889
|
:host {
|
|
@@ -20987,11 +20987,11 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20987
20987
|
baseName: 'breadcrumb',
|
|
20988
20988
|
baseClass: Breadcrumb$1,
|
|
20989
20989
|
template: breadcrumbTemplate,
|
|
20990
|
-
styles: styles$
|
|
20990
|
+
styles: styles$1m
|
|
20991
20991
|
});
|
|
20992
20992
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
20993
20993
|
|
|
20994
|
-
const styles$
|
|
20994
|
+
const styles$1l = css `
|
|
20995
20995
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
20996
20996
|
|
|
20997
20997
|
@layer base {
|
|
@@ -21088,14 +21088,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21088
21088
|
baseName: 'breadcrumb-item',
|
|
21089
21089
|
baseClass: BreadcrumbItem$1,
|
|
21090
21090
|
template: breadcrumbItemTemplate,
|
|
21091
|
-
styles: styles$
|
|
21091
|
+
styles: styles$1l,
|
|
21092
21092
|
separator: forwardSlash16X16.data
|
|
21093
21093
|
});
|
|
21094
21094
|
DesignSystem.getOrCreate()
|
|
21095
21095
|
.withPrefix('nimble')
|
|
21096
21096
|
.register(nimbleBreadcrumbItem());
|
|
21097
21097
|
|
|
21098
|
-
const styles$
|
|
21098
|
+
const styles$1k = css `
|
|
21099
21099
|
${display$2('flex')}
|
|
21100
21100
|
|
|
21101
21101
|
:host {
|
|
@@ -21119,7 +21119,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21119
21119
|
}
|
|
21120
21120
|
`;
|
|
21121
21121
|
|
|
21122
|
-
const template$
|
|
21122
|
+
const template$1a = html `
|
|
21123
21123
|
<section aria-labelledby="title-slot">
|
|
21124
21124
|
<span id="title-slot"><slot name="title"></slot></span>
|
|
21125
21125
|
<slot></slot>
|
|
@@ -21134,12 +21134,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21134
21134
|
const nimbleCard = Card.compose({
|
|
21135
21135
|
baseName: 'card',
|
|
21136
21136
|
baseClass: Card$1,
|
|
21137
|
-
template: template$
|
|
21138
|
-
styles: styles$
|
|
21137
|
+
template: template$1a,
|
|
21138
|
+
styles: styles$1k
|
|
21139
21139
|
});
|
|
21140
21140
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
21141
21141
|
|
|
21142
|
-
const styles$
|
|
21142
|
+
const styles$1j = css `
|
|
21143
21143
|
${display$2('inline-flex')}
|
|
21144
21144
|
|
|
21145
21145
|
:host {
|
|
@@ -21297,7 +21297,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21297
21297
|
const nimbleCardButton = CardButton.compose({
|
|
21298
21298
|
baseName: 'card-button',
|
|
21299
21299
|
template: buttonTemplate,
|
|
21300
|
-
styles: styles$
|
|
21300
|
+
styles: styles$1j,
|
|
21301
21301
|
shadowOptions: {
|
|
21302
21302
|
delegatesFocus: true
|
|
21303
21303
|
}
|
|
@@ -21305,7 +21305,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21305
21305
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
21306
21306
|
const cardButtonTag = 'nimble-card-button';
|
|
21307
21307
|
|
|
21308
|
-
const styles$
|
|
21308
|
+
const styles$1i = css `
|
|
21309
21309
|
.error-icon {
|
|
21310
21310
|
display: none;
|
|
21311
21311
|
}
|
|
@@ -21339,9 +21339,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21339
21339
|
}
|
|
21340
21340
|
`;
|
|
21341
21341
|
|
|
21342
|
-
const styles$
|
|
21342
|
+
const styles$1h = css `
|
|
21343
21343
|
${display$2('inline-grid')}
|
|
21344
|
-
${styles$
|
|
21344
|
+
${styles$1i}
|
|
21345
21345
|
|
|
21346
21346
|
:host {
|
|
21347
21347
|
font: ${bodyFont};
|
|
@@ -21481,7 +21481,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21481
21481
|
</div>
|
|
21482
21482
|
`;
|
|
21483
21483
|
|
|
21484
|
-
const template$
|
|
21484
|
+
const template$19 = (_context, definition) => html `
|
|
21485
21485
|
<template
|
|
21486
21486
|
role="checkbox"
|
|
21487
21487
|
aria-checked="${x => x.checked}"
|
|
@@ -21578,8 +21578,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21578
21578
|
const nimbleCheckbox = Checkbox.compose({
|
|
21579
21579
|
baseName: 'checkbox',
|
|
21580
21580
|
baseClass: Checkbox$1,
|
|
21581
|
-
template: template$
|
|
21582
|
-
styles: styles$
|
|
21581
|
+
template: template$19,
|
|
21582
|
+
styles: styles$1h,
|
|
21583
21583
|
checkedIndicator: check16X16.data,
|
|
21584
21584
|
indeterminateIndicator: minus16X16.data
|
|
21585
21585
|
});
|
|
@@ -21591,7 +21591,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21591
21591
|
block: 'block'
|
|
21592
21592
|
};
|
|
21593
21593
|
|
|
21594
|
-
const styles$
|
|
21594
|
+
const styles$1g = css `
|
|
21595
21595
|
${display$2('inline-flex')}
|
|
21596
21596
|
|
|
21597
21597
|
:host {
|
|
@@ -21652,7 +21652,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21652
21652
|
}
|
|
21653
21653
|
`));
|
|
21654
21654
|
|
|
21655
|
-
const template$
|
|
21655
|
+
const template$18 = (context, definition) => html `
|
|
21656
21656
|
${startSlotTemplate(context, definition)}
|
|
21657
21657
|
<span
|
|
21658
21658
|
class="content"
|
|
@@ -21738,8 +21738,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21738
21738
|
applyMixins(Chip, StartEnd);
|
|
21739
21739
|
const nimbleChip = Chip.compose({
|
|
21740
21740
|
baseName: 'chip',
|
|
21741
|
-
template: template$
|
|
21742
|
-
styles: styles$
|
|
21741
|
+
template: template$18,
|
|
21742
|
+
styles: styles$1g,
|
|
21743
21743
|
shadowOptions: {
|
|
21744
21744
|
delegatesFocus: true
|
|
21745
21745
|
}
|
|
@@ -21747,8 +21747,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21747
21747
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleChip());
|
|
21748
21748
|
const chipTag = 'nimble-chip';
|
|
21749
21749
|
|
|
21750
|
-
const styles$
|
|
21751
|
-
${styles$
|
|
21750
|
+
const styles$1f = css `
|
|
21751
|
+
${styles$1z}
|
|
21752
21752
|
${buttonAppearanceVariantStyles}
|
|
21753
21753
|
|
|
21754
21754
|
@layer checked {
|
|
@@ -21795,7 +21795,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21795
21795
|
}
|
|
21796
21796
|
`));
|
|
21797
21797
|
|
|
21798
|
-
const template$
|
|
21798
|
+
const template$17 = (context, definition) => html `
|
|
21799
21799
|
<div
|
|
21800
21800
|
role="button"
|
|
21801
21801
|
part="control"
|
|
@@ -21890,8 +21890,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21890
21890
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
21891
21891
|
const nimbleToggleButton = ToggleButton.compose({
|
|
21892
21892
|
baseName: 'toggle-button',
|
|
21893
|
-
template: template$
|
|
21894
|
-
styles: styles$
|
|
21893
|
+
template: template$17,
|
|
21894
|
+
styles: styles$1f,
|
|
21895
21895
|
shadowOptions: {
|
|
21896
21896
|
delegatesFocus: true
|
|
21897
21897
|
}
|
|
@@ -21921,7 +21921,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21921
21921
|
frameless: 'frameless'
|
|
21922
21922
|
};
|
|
21923
21923
|
|
|
21924
|
-
const styles$
|
|
21924
|
+
const styles$1e = css `
|
|
21925
21925
|
${display$2('inline-flex')}
|
|
21926
21926
|
|
|
21927
21927
|
:host {
|
|
@@ -22211,7 +22211,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22211
22211
|
}
|
|
22212
22212
|
`));
|
|
22213
22213
|
|
|
22214
|
-
const styles$
|
|
22214
|
+
const styles$1d = css `
|
|
22215
22215
|
.annotated-label {
|
|
22216
22216
|
display: flex;
|
|
22217
22217
|
flex-direction: row;
|
|
@@ -22238,10 +22238,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22238
22238
|
none: undefined,
|
|
22239
22239
|
standard: 'standard'};
|
|
22240
22240
|
|
|
22241
|
-
const styles$
|
|
22242
|
-
${styles$
|
|
22243
|
-
${styles$
|
|
22244
|
-
${styles$
|
|
22241
|
+
const styles$1c = css `
|
|
22242
|
+
${styles$1e}
|
|
22243
|
+
${styles$1i}
|
|
22244
|
+
${styles$1d}
|
|
22245
22245
|
|
|
22246
22246
|
:host {
|
|
22247
22247
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -22362,7 +22362,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22362
22362
|
<slot></slot>
|
|
22363
22363
|
</label>
|
|
22364
22364
|
`);
|
|
22365
|
-
const template$
|
|
22365
|
+
const template$16 = (context, definition) => html `
|
|
22366
22366
|
<template
|
|
22367
22367
|
aria-disabled="${x => x.ariaDisabled}"
|
|
22368
22368
|
autocomplete="${x => x.autocomplete}"
|
|
@@ -23137,8 +23137,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23137
23137
|
const nimbleCombobox = Combobox.compose({
|
|
23138
23138
|
baseName: 'combobox',
|
|
23139
23139
|
baseClass: FormAssociatedCombobox,
|
|
23140
|
-
template: template$
|
|
23141
|
-
styles: styles$
|
|
23140
|
+
template: template$16,
|
|
23141
|
+
styles: styles$1c,
|
|
23142
23142
|
shadowOptions: {
|
|
23143
23143
|
delegatesFocus: true
|
|
23144
23144
|
},
|
|
@@ -23182,7 +23182,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23182
23182
|
*/
|
|
23183
23183
|
const UserDismissed = Symbol('user dismissed');
|
|
23184
23184
|
|
|
23185
|
-
const styles$
|
|
23185
|
+
const styles$1b = css `
|
|
23186
23186
|
${display$2('grid')}
|
|
23187
23187
|
|
|
23188
23188
|
dialog {
|
|
@@ -23275,7 +23275,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23275
23275
|
}
|
|
23276
23276
|
`;
|
|
23277
23277
|
|
|
23278
|
-
const template$
|
|
23278
|
+
const template$15 = html `
|
|
23279
23279
|
<template>
|
|
23280
23280
|
<dialog
|
|
23281
23281
|
${ref('dialogElement')}
|
|
@@ -23423,13 +23423,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23423
23423
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
23424
23424
|
const nimbleDialog = Dialog.compose({
|
|
23425
23425
|
baseName: 'dialog',
|
|
23426
|
-
template: template$
|
|
23427
|
-
styles: styles$
|
|
23426
|
+
template: template$15,
|
|
23427
|
+
styles: styles$1b,
|
|
23428
23428
|
baseClass: Dialog
|
|
23429
23429
|
});
|
|
23430
23430
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
23431
23431
|
|
|
23432
|
-
const styles$
|
|
23432
|
+
const styles$1a = css `
|
|
23433
23433
|
${display$2('block')}
|
|
23434
23434
|
|
|
23435
23435
|
:host {
|
|
@@ -23572,7 +23572,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23572
23572
|
}
|
|
23573
23573
|
`;
|
|
23574
23574
|
|
|
23575
|
-
const template$
|
|
23575
|
+
const template$14 = html `
|
|
23576
23576
|
<dialog
|
|
23577
23577
|
${ref('dialog')}
|
|
23578
23578
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -23714,8 +23714,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23714
23714
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
23715
23715
|
const nimbleDrawer = Drawer.compose({
|
|
23716
23716
|
baseName: 'drawer',
|
|
23717
|
-
template: template$
|
|
23718
|
-
styles: styles$
|
|
23717
|
+
template: template$14,
|
|
23718
|
+
styles: styles$1a
|
|
23719
23719
|
});
|
|
23720
23720
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
23721
23721
|
|
|
@@ -24455,6 +24455,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
24455
24455
|
}
|
|
24456
24456
|
}
|
|
24457
24457
|
registerIconSvg('icon-circle-filled', IconCircleFilled);
|
|
24458
|
+
const iconCircleFilledTag = 'nimble-icon-circle-filled';
|
|
24458
24459
|
|
|
24459
24460
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24460
24461
|
// See generation source in nimble-components/build/generate-icons
|
|
@@ -26513,7 +26514,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26513
26514
|
}
|
|
26514
26515
|
}
|
|
26515
26516
|
|
|
26516
|
-
const styles$
|
|
26517
|
+
const styles$19 = css `
|
|
26517
26518
|
${display$2('none')}
|
|
26518
26519
|
`;
|
|
26519
26520
|
|
|
@@ -26586,7 +26587,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26586
26587
|
], LabelProviderCore.prototype, "itemRemove", void 0);
|
|
26587
26588
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
26588
26589
|
baseName: 'label-provider-core',
|
|
26589
|
-
styles: styles$
|
|
26590
|
+
styles: styles$19
|
|
26590
26591
|
});
|
|
26591
26592
|
DesignSystem.getOrCreate()
|
|
26592
26593
|
.withPrefix('nimble')
|
|
@@ -26753,13 +26754,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26753
26754
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
26754
26755
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
26755
26756
|
baseName: 'label-provider-table',
|
|
26756
|
-
styles: styles$
|
|
26757
|
+
styles: styles$19
|
|
26757
26758
|
});
|
|
26758
26759
|
DesignSystem.getOrCreate()
|
|
26759
26760
|
.withPrefix('nimble')
|
|
26760
26761
|
.register(nimbleLabelProviderTable());
|
|
26761
26762
|
|
|
26762
|
-
const styles$
|
|
26763
|
+
const styles$18 = css `
|
|
26763
26764
|
${display$2('flex')}
|
|
26764
26765
|
|
|
26765
26766
|
:host {
|
|
@@ -26835,7 +26836,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26835
26836
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
26836
26837
|
* @public
|
|
26837
26838
|
*/
|
|
26838
|
-
const template$
|
|
26839
|
+
const template$13 = (context, definition) => html `
|
|
26839
26840
|
<template
|
|
26840
26841
|
aria-checked="${x => x.ariaChecked}"
|
|
26841
26842
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -26937,13 +26938,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26937
26938
|
const nimbleListOption = ListOption.compose({
|
|
26938
26939
|
baseName: 'list-option',
|
|
26939
26940
|
baseClass: ListboxOption,
|
|
26940
|
-
template: template$
|
|
26941
|
-
styles: styles$
|
|
26941
|
+
template: template$13,
|
|
26942
|
+
styles: styles$18
|
|
26942
26943
|
});
|
|
26943
26944
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
26944
26945
|
const listOptionTag = 'nimble-list-option';
|
|
26945
26946
|
|
|
26946
|
-
const styles$
|
|
26947
|
+
const styles$17 = css `
|
|
26947
26948
|
${display$2('flex')}
|
|
26948
26949
|
|
|
26949
26950
|
:host {
|
|
@@ -27005,7 +27006,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27005
27006
|
const isListOption$1 = (n) => {
|
|
27006
27007
|
return n instanceof ListOption;
|
|
27007
27008
|
};
|
|
27008
|
-
const template$
|
|
27009
|
+
const template$12 = html `
|
|
27009
27010
|
<template
|
|
27010
27011
|
role="group"
|
|
27011
27012
|
aria-label="${x => x.labelContent}"
|
|
@@ -27147,8 +27148,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27147
27148
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
27148
27149
|
baseName: 'list-option-group',
|
|
27149
27150
|
baseClass: FoundationElement,
|
|
27150
|
-
template: template$
|
|
27151
|
-
styles: styles$
|
|
27151
|
+
template: template$12,
|
|
27152
|
+
styles: styles$17
|
|
27152
27153
|
});
|
|
27153
27154
|
DesignSystem.getOrCreate()
|
|
27154
27155
|
.withPrefix('nimble')
|
|
@@ -27175,9 +27176,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27175
27176
|
attr()
|
|
27176
27177
|
], Mapping$1.prototype, "key", void 0);
|
|
27177
27178
|
|
|
27178
|
-
const template
|
|
27179
|
+
const template$11 = html `<template slot="mapping"></template>`;
|
|
27179
27180
|
|
|
27180
|
-
const styles$
|
|
27181
|
+
const styles$16 = css `
|
|
27181
27182
|
${display$2('none')}
|
|
27182
27183
|
`;
|
|
27183
27184
|
|
|
@@ -27193,8 +27194,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27193
27194
|
], MappingEmpty.prototype, "text", void 0);
|
|
27194
27195
|
const emptyMapping = MappingEmpty.compose({
|
|
27195
27196
|
baseName: 'mapping-empty',
|
|
27196
|
-
template: template
|
|
27197
|
-
styles: styles$
|
|
27197
|
+
template: template$11,
|
|
27198
|
+
styles: styles$16
|
|
27198
27199
|
});
|
|
27199
27200
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
27200
27201
|
|
|
@@ -27264,8 +27265,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27264
27265
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
27265
27266
|
const iconMapping = MappingIcon.compose({
|
|
27266
27267
|
baseName: 'mapping-icon',
|
|
27267
|
-
template: template
|
|
27268
|
-
styles: styles$
|
|
27268
|
+
template: template$11,
|
|
27269
|
+
styles: styles$16
|
|
27269
27270
|
});
|
|
27270
27271
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
27271
27272
|
|
|
@@ -27288,8 +27289,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27288
27289
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
27289
27290
|
const spinnerMapping = MappingSpinner.compose({
|
|
27290
27291
|
baseName: 'mapping-spinner',
|
|
27291
|
-
template: template
|
|
27292
|
-
styles: styles$
|
|
27292
|
+
template: template$11,
|
|
27293
|
+
styles: styles$16
|
|
27293
27294
|
});
|
|
27294
27295
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
27295
27296
|
|
|
@@ -27305,8 +27306,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27305
27306
|
], MappingText.prototype, "text", void 0);
|
|
27306
27307
|
const textMapping = MappingText.compose({
|
|
27307
27308
|
baseName: 'mapping-text',
|
|
27308
|
-
template: template
|
|
27309
|
-
styles: styles$
|
|
27309
|
+
template: template$11,
|
|
27310
|
+
styles: styles$16
|
|
27310
27311
|
});
|
|
27311
27312
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
27312
27313
|
|
|
@@ -27608,7 +27609,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27608
27609
|
observable
|
|
27609
27610
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
27610
27611
|
|
|
27611
|
-
const template$
|
|
27612
|
+
const template$10 = () => html `
|
|
27612
27613
|
<template
|
|
27613
27614
|
slot="${x => {
|
|
27614
27615
|
if (x.slot) {
|
|
@@ -27625,7 +27626,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27625
27626
|
</template>
|
|
27626
27627
|
`;
|
|
27627
27628
|
|
|
27628
|
-
const styles$
|
|
27629
|
+
const styles$15 = css `
|
|
27629
27630
|
${display$2('grid')}
|
|
27630
27631
|
|
|
27631
27632
|
:host {
|
|
@@ -27696,8 +27697,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27696
27697
|
const nimbleMenu = Menu.compose({
|
|
27697
27698
|
baseName: 'menu',
|
|
27698
27699
|
baseClass: Menu$1,
|
|
27699
|
-
template: template$
|
|
27700
|
-
styles: styles$
|
|
27700
|
+
template: template$10,
|
|
27701
|
+
styles: styles$15
|
|
27701
27702
|
});
|
|
27702
27703
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
27703
27704
|
const menuTag = 'nimble-menu';
|
|
@@ -27714,7 +27715,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27714
27715
|
auto: 'auto'
|
|
27715
27716
|
};
|
|
27716
27717
|
|
|
27717
|
-
const styles$
|
|
27718
|
+
const styles$14 = css `
|
|
27718
27719
|
${display$2('inline-block')}
|
|
27719
27720
|
|
|
27720
27721
|
:host {
|
|
@@ -27732,7 +27733,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27732
27733
|
}
|
|
27733
27734
|
`;
|
|
27734
27735
|
|
|
27735
|
-
const template
|
|
27736
|
+
const template$$ = html `
|
|
27736
27737
|
<template
|
|
27737
27738
|
?open="${x => x.open}"
|
|
27738
27739
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -27982,8 +27983,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27982
27983
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
27983
27984
|
const nimbleMenuButton = MenuButton.compose({
|
|
27984
27985
|
baseName: 'menu-button',
|
|
27985
|
-
template: template
|
|
27986
|
-
styles: styles$
|
|
27986
|
+
template: template$$,
|
|
27987
|
+
styles: styles$14,
|
|
27987
27988
|
shadowOptions: {
|
|
27988
27989
|
delegatesFocus: true
|
|
27989
27990
|
}
|
|
@@ -27991,7 +27992,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27991
27992
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
27992
27993
|
const menuButtonTag = 'nimble-menu-button';
|
|
27993
27994
|
|
|
27994
|
-
const styles$
|
|
27995
|
+
const styles$13 = css `
|
|
27995
27996
|
${display$2('grid')}
|
|
27996
27997
|
|
|
27997
27998
|
:host {
|
|
@@ -28088,7 +28089,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28088
28089
|
baseName: 'menu-item',
|
|
28089
28090
|
baseClass: MenuItem$1,
|
|
28090
28091
|
template: menuItemTemplate,
|
|
28091
|
-
styles: styles$
|
|
28092
|
+
styles: styles$13,
|
|
28092
28093
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
28093
28094
|
});
|
|
28094
28095
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -28104,10 +28105,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28104
28105
|
frameless: 'frameless'
|
|
28105
28106
|
};
|
|
28106
28107
|
|
|
28107
|
-
const styles$
|
|
28108
|
+
const styles$12 = css `
|
|
28108
28109
|
${display$2('inline-block')}
|
|
28109
|
-
${styles$
|
|
28110
|
-
${styles$
|
|
28110
|
+
${styles$1i}
|
|
28111
|
+
${styles$1d}
|
|
28111
28112
|
|
|
28112
28113
|
:host {
|
|
28113
28114
|
font: ${bodyFont};
|
|
@@ -28330,7 +28331,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28330
28331
|
* The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
|
|
28331
28332
|
* @public
|
|
28332
28333
|
*/
|
|
28333
|
-
const template$
|
|
28334
|
+
const template$_ = (context, definition) => html `
|
|
28334
28335
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
28335
28336
|
${labelTemplate$4}
|
|
28336
28337
|
<div class="root" part="root">
|
|
@@ -28484,8 +28485,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28484
28485
|
const nimbleNumberField = NumberField.compose({
|
|
28485
28486
|
baseName: 'number-field',
|
|
28486
28487
|
baseClass: NumberField$1,
|
|
28487
|
-
template: template$
|
|
28488
|
-
styles: styles$
|
|
28488
|
+
template: template$_,
|
|
28489
|
+
styles: styles$12,
|
|
28489
28490
|
shadowOptions: {
|
|
28490
28491
|
delegatesFocus: true
|
|
28491
28492
|
},
|
|
@@ -28528,7 +28529,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28528
28529
|
});
|
|
28529
28530
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
28530
28531
|
|
|
28531
|
-
const styles
|
|
28532
|
+
const styles$11 = css `
|
|
28532
28533
|
${display$2('inline-flex')}
|
|
28533
28534
|
|
|
28534
28535
|
:host {
|
|
@@ -28628,15 +28629,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28628
28629
|
baseName: 'radio',
|
|
28629
28630
|
baseClass: Radio$1,
|
|
28630
28631
|
template: radioTemplate,
|
|
28631
|
-
styles: styles
|
|
28632
|
+
styles: styles$11,
|
|
28632
28633
|
checkedIndicator: circleFilled16X16.data
|
|
28633
28634
|
});
|
|
28634
28635
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
28635
28636
|
|
|
28636
|
-
const styles$
|
|
28637
|
+
const styles$10 = css `
|
|
28637
28638
|
${display$2('inline-block')}
|
|
28638
|
-
${styles$
|
|
28639
|
-
${styles$
|
|
28639
|
+
${styles$1i}
|
|
28640
|
+
${styles$1d}
|
|
28640
28641
|
|
|
28641
28642
|
.positioning-region {
|
|
28642
28643
|
display: flex;
|
|
@@ -28675,7 +28676,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28675
28676
|
`;
|
|
28676
28677
|
|
|
28677
28678
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
28678
|
-
const template$
|
|
28679
|
+
const template$Z = html `
|
|
28679
28680
|
<template
|
|
28680
28681
|
role="radiogroup"
|
|
28681
28682
|
aria-disabled="${x => x.disabled}"
|
|
@@ -28715,8 +28716,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28715
28716
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
28716
28717
|
baseName: 'radio-group',
|
|
28717
28718
|
baseClass: RadioGroup$1,
|
|
28718
|
-
template: template$
|
|
28719
|
-
styles: styles$
|
|
28719
|
+
template: template$Z,
|
|
28720
|
+
styles: styles$10,
|
|
28720
28721
|
shadowOptions: {
|
|
28721
28722
|
delegatesFocus: true
|
|
28722
28723
|
}
|
|
@@ -48355,7 +48356,7 @@ ${indentedChild}`;
|
|
|
48355
48356
|
// src/index.ts
|
|
48356
48357
|
var index_default$7 = HardBreak;
|
|
48357
48358
|
|
|
48358
|
-
const styles
|
|
48359
|
+
const styles$$ = css `
|
|
48359
48360
|
${display$2('inline')}
|
|
48360
48361
|
|
|
48361
48362
|
.positioning-region {
|
|
@@ -48392,7 +48393,7 @@ ${indentedChild}`;
|
|
|
48392
48393
|
baseName: 'toolbar',
|
|
48393
48394
|
baseClass: Toolbar$1,
|
|
48394
48395
|
template: toolbarTemplate,
|
|
48395
|
-
styles: styles
|
|
48396
|
+
styles: styles$$
|
|
48396
48397
|
});
|
|
48397
48398
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
48398
48399
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -48421,8 +48422,8 @@ ${indentedChild}`;
|
|
|
48421
48422
|
cssCustomPropertyName: null
|
|
48422
48423
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
48423
48424
|
|
|
48424
|
-
const styles$
|
|
48425
|
-
${styles$
|
|
48425
|
+
const styles$_ = css `
|
|
48426
|
+
${styles$1e}
|
|
48426
48427
|
|
|
48427
48428
|
:host {
|
|
48428
48429
|
height: auto;
|
|
@@ -48440,7 +48441,7 @@ ${indentedChild}`;
|
|
|
48440
48441
|
}
|
|
48441
48442
|
`;
|
|
48442
48443
|
|
|
48443
|
-
const template$
|
|
48444
|
+
const template$Y = html `
|
|
48444
48445
|
<template>
|
|
48445
48446
|
<${anchoredRegionTag}
|
|
48446
48447
|
${ref('region')}
|
|
@@ -48728,15 +48729,15 @@ ${indentedChild}`;
|
|
|
48728
48729
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
48729
48730
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
48730
48731
|
baseName: 'rich-text-mention-listbox',
|
|
48731
|
-
template: template$
|
|
48732
|
-
styles: styles$
|
|
48732
|
+
template: template$Y,
|
|
48733
|
+
styles: styles$_
|
|
48733
48734
|
});
|
|
48734
48735
|
DesignSystem.getOrCreate()
|
|
48735
48736
|
.withPrefix('nimble')
|
|
48736
48737
|
.register(nimbleRichTextMentionListbox());
|
|
48737
48738
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
48738
48739
|
|
|
48739
|
-
const template$
|
|
48740
|
+
const template$X = html `
|
|
48740
48741
|
<template
|
|
48741
48742
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
48742
48743
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -48838,9 +48839,9 @@ ${indentedChild}`;
|
|
|
48838
48839
|
</template>
|
|
48839
48840
|
`;
|
|
48840
48841
|
|
|
48841
|
-
const styles$
|
|
48842
|
+
const styles$Z = css `
|
|
48842
48843
|
${display$2('inline-flex')}
|
|
48843
|
-
${styles$
|
|
48844
|
+
${styles$1i}
|
|
48844
48845
|
|
|
48845
48846
|
:host {
|
|
48846
48847
|
font: ${bodyFont};
|
|
@@ -65853,8 +65854,8 @@ ${indentedChild}`;
|
|
|
65853
65854
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
65854
65855
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
65855
65856
|
baseName: 'rich-text-editor',
|
|
65856
|
-
template: template$
|
|
65857
|
-
styles: styles$
|
|
65857
|
+
template: template$X,
|
|
65858
|
+
styles: styles$Z,
|
|
65858
65859
|
shadowOptions: {
|
|
65859
65860
|
delegatesFocus: true
|
|
65860
65861
|
}
|
|
@@ -65863,13 +65864,13 @@ ${indentedChild}`;
|
|
|
65863
65864
|
.withPrefix('nimble')
|
|
65864
65865
|
.register(nimbleRichTextEditor());
|
|
65865
65866
|
|
|
65866
|
-
const template$
|
|
65867
|
+
const template$W = html `
|
|
65867
65868
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
65868
65869
|
<div ${ref('viewer')} class="viewer"></div>
|
|
65869
65870
|
</template>
|
|
65870
65871
|
`;
|
|
65871
65872
|
|
|
65872
|
-
const styles$
|
|
65873
|
+
const styles$Y = css `
|
|
65873
65874
|
${display$2('flex')}
|
|
65874
65875
|
|
|
65875
65876
|
:host {
|
|
@@ -65982,17 +65983,17 @@ ${indentedChild}`;
|
|
|
65982
65983
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
65983
65984
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
65984
65985
|
baseName: 'rich-text-viewer',
|
|
65985
|
-
template: template$
|
|
65986
|
-
styles: styles$
|
|
65986
|
+
template: template$W,
|
|
65987
|
+
styles: styles$Y
|
|
65987
65988
|
});
|
|
65988
65989
|
DesignSystem.getOrCreate()
|
|
65989
65990
|
.withPrefix('nimble')
|
|
65990
65991
|
.register(nimbleRichTextViewer());
|
|
65991
65992
|
|
|
65992
|
-
const styles$
|
|
65993
|
-
${styles$
|
|
65994
|
-
${styles$
|
|
65995
|
-
${styles$
|
|
65993
|
+
const styles$X = css `
|
|
65994
|
+
${styles$1e}
|
|
65995
|
+
${styles$1i}
|
|
65996
|
+
${styles$1d}
|
|
65996
65997
|
|
|
65997
65998
|
${
|
|
65998
65999
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -66155,7 +66156,7 @@ ${indentedChild}`;
|
|
|
66155
66156
|
}
|
|
66156
66157
|
`));
|
|
66157
66158
|
|
|
66158
|
-
const styles$
|
|
66159
|
+
const styles$W = css `
|
|
66159
66160
|
${display$2('inline-grid')}
|
|
66160
66161
|
|
|
66161
66162
|
:host {
|
|
@@ -66325,7 +66326,7 @@ ${indentedChild}`;
|
|
|
66325
66326
|
}
|
|
66326
66327
|
`));
|
|
66327
66328
|
|
|
66328
|
-
const template$
|
|
66329
|
+
const template$V = html `
|
|
66329
66330
|
<template role="progressbar">
|
|
66330
66331
|
${''
|
|
66331
66332
|
/**
|
|
@@ -66372,8 +66373,8 @@ ${indentedChild}`;
|
|
|
66372
66373
|
], Spinner.prototype, "appearance", void 0);
|
|
66373
66374
|
const nimbleSpinner = Spinner.compose({
|
|
66374
66375
|
baseName: 'spinner',
|
|
66375
|
-
template: template$
|
|
66376
|
-
styles: styles$
|
|
66376
|
+
template: template$V,
|
|
66377
|
+
styles: styles$W
|
|
66377
66378
|
});
|
|
66378
66379
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
66379
66380
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -66389,7 +66390,7 @@ ${indentedChild}`;
|
|
|
66389
66390
|
<slot ${ref('labelSlot')}></slot>
|
|
66390
66391
|
</label>
|
|
66391
66392
|
`);
|
|
66392
|
-
const template$
|
|
66393
|
+
const template$U = (context, definition) => html `
|
|
66393
66394
|
<template
|
|
66394
66395
|
class="${x => [
|
|
66395
66396
|
x.collapsible && 'collapsible',
|
|
@@ -67601,8 +67602,8 @@ ${indentedChild}`;
|
|
|
67601
67602
|
const nimbleSelect = Select.compose({
|
|
67602
67603
|
baseName: 'select',
|
|
67603
67604
|
baseClass: Select$2,
|
|
67604
|
-
template: template$
|
|
67605
|
-
styles: styles$
|
|
67605
|
+
template: template$U,
|
|
67606
|
+
styles: styles$X,
|
|
67606
67607
|
indicator: arrowExpanderDown16X16.data,
|
|
67607
67608
|
end: html `
|
|
67608
67609
|
<${iconExclamationMarkTag}
|
|
@@ -67615,8 +67616,8 @@ ${indentedChild}`;
|
|
|
67615
67616
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
67616
67617
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
67617
67618
|
|
|
67618
|
-
const styles$
|
|
67619
|
-
${styles$
|
|
67619
|
+
const styles$V = css `
|
|
67620
|
+
${styles$1v}
|
|
67620
67621
|
${'' /* Button specific styles */}
|
|
67621
67622
|
@layer base {
|
|
67622
67623
|
.control {
|
|
@@ -67627,7 +67628,7 @@ ${indentedChild}`;
|
|
|
67627
67628
|
}
|
|
67628
67629
|
`;
|
|
67629
67630
|
|
|
67630
|
-
const template$
|
|
67631
|
+
const template$T = (context, definition) => html `
|
|
67631
67632
|
<template slot="step">
|
|
67632
67633
|
<li class="
|
|
67633
67634
|
container
|
|
@@ -67749,15 +67750,15 @@ ${indentedChild}`;
|
|
|
67749
67750
|
], Step.prototype, "tabIndex", void 0);
|
|
67750
67751
|
const nimbleStep = Step.compose({
|
|
67751
67752
|
baseName: 'step',
|
|
67752
|
-
template: template$
|
|
67753
|
-
styles: styles$
|
|
67753
|
+
template: template$T,
|
|
67754
|
+
styles: styles$V,
|
|
67754
67755
|
shadowOptions: {
|
|
67755
67756
|
delegatesFocus: true
|
|
67756
67757
|
}
|
|
67757
67758
|
});
|
|
67758
67759
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
|
|
67759
67760
|
|
|
67760
|
-
const styles$
|
|
67761
|
+
const styles$U = css `
|
|
67761
67762
|
${display$2('inline-flex')}
|
|
67762
67763
|
|
|
67763
67764
|
:host {
|
|
@@ -67828,7 +67829,7 @@ ${indentedChild}`;
|
|
|
67828
67829
|
}
|
|
67829
67830
|
`;
|
|
67830
67831
|
|
|
67831
|
-
const template$
|
|
67832
|
+
const template$S = html `
|
|
67832
67833
|
${when(x => x.showScrollButtons, html `
|
|
67833
67834
|
<${buttonTag}
|
|
67834
67835
|
content-hidden
|
|
@@ -67973,12 +67974,12 @@ ${indentedChild}`;
|
|
|
67973
67974
|
], Stepper.prototype, "steps", void 0);
|
|
67974
67975
|
const nimbleStepper = Stepper.compose({
|
|
67975
67976
|
baseName: 'stepper',
|
|
67976
|
-
template: template$
|
|
67977
|
-
styles: styles$
|
|
67977
|
+
template: template$S,
|
|
67978
|
+
styles: styles$U
|
|
67978
67979
|
});
|
|
67979
67980
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
|
|
67980
67981
|
|
|
67981
|
-
const styles$
|
|
67982
|
+
const styles$T = css `
|
|
67982
67983
|
${display$2('inline-flex')}
|
|
67983
67984
|
|
|
67984
67985
|
:host {
|
|
@@ -68205,7 +68206,7 @@ ${indentedChild}`;
|
|
|
68205
68206
|
}
|
|
68206
68207
|
`));
|
|
68207
68208
|
|
|
68208
|
-
const template$
|
|
68209
|
+
const template$R = html `
|
|
68209
68210
|
<template
|
|
68210
68211
|
role="switch"
|
|
68211
68212
|
aria-checked="${x => x.checked}"
|
|
@@ -68249,12 +68250,12 @@ ${indentedChild}`;
|
|
|
68249
68250
|
const nimbleSwitch = Switch.compose({
|
|
68250
68251
|
baseClass: Switch$1,
|
|
68251
68252
|
baseName: 'switch',
|
|
68252
|
-
template: template$
|
|
68253
|
-
styles: styles$
|
|
68253
|
+
template: template$R,
|
|
68254
|
+
styles: styles$T
|
|
68254
68255
|
});
|
|
68255
68256
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
68256
68257
|
|
|
68257
|
-
const styles$
|
|
68258
|
+
const styles$S = css `
|
|
68258
68259
|
${display$2('inline-flex')}
|
|
68259
68260
|
|
|
68260
68261
|
:host {
|
|
@@ -68365,11 +68366,11 @@ ${indentedChild}`;
|
|
|
68365
68366
|
baseName: 'tab',
|
|
68366
68367
|
baseClass: Tab$1,
|
|
68367
68368
|
template: tabTemplate,
|
|
68368
|
-
styles: styles$
|
|
68369
|
+
styles: styles$S
|
|
68369
68370
|
});
|
|
68370
68371
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
68371
68372
|
|
|
68372
|
-
const styles$
|
|
68373
|
+
const styles$R = css `
|
|
68373
68374
|
${display$2('block')}
|
|
68374
68375
|
|
|
68375
68376
|
:host {
|
|
@@ -68388,7 +68389,7 @@ ${indentedChild}`;
|
|
|
68388
68389
|
baseName: 'tab-panel',
|
|
68389
68390
|
baseClass: TabPanel$1,
|
|
68390
68391
|
template: tabPanelTemplate,
|
|
68391
|
-
styles: styles$
|
|
68392
|
+
styles: styles$R
|
|
68392
68393
|
});
|
|
68393
68394
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
68394
68395
|
|
|
@@ -72131,7 +72132,7 @@ ${indentedChild}`;
|
|
|
72131
72132
|
}
|
|
72132
72133
|
}
|
|
72133
72134
|
|
|
72134
|
-
const styles$
|
|
72135
|
+
const styles$Q = css `
|
|
72135
72136
|
${display$2('flex')}
|
|
72136
72137
|
|
|
72137
72138
|
:host {
|
|
@@ -72369,7 +72370,7 @@ focus outline in that case.
|
|
|
72369
72370
|
}
|
|
72370
72371
|
`));
|
|
72371
72372
|
|
|
72372
|
-
const styles$
|
|
72373
|
+
const styles$P = css `
|
|
72373
72374
|
${display$2('flex')}
|
|
72374
72375
|
|
|
72375
72376
|
:host {
|
|
@@ -72402,7 +72403,7 @@ focus outline in that case.
|
|
|
72402
72403
|
}
|
|
72403
72404
|
`;
|
|
72404
72405
|
|
|
72405
|
-
const template$
|
|
72406
|
+
const template$Q = html `
|
|
72406
72407
|
<template role="columnheader"
|
|
72407
72408
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
72408
72409
|
aria-sort="${x => x.ariaSort}"
|
|
@@ -72488,13 +72489,13 @@ focus outline in that case.
|
|
|
72488
72489
|
], TableHeader.prototype, "isGrouped", void 0);
|
|
72489
72490
|
const nimbleTableHeader = TableHeader.compose({
|
|
72490
72491
|
baseName: 'table-header',
|
|
72491
|
-
template: template$
|
|
72492
|
-
styles: styles$
|
|
72492
|
+
template: template$Q,
|
|
72493
|
+
styles: styles$P
|
|
72493
72494
|
});
|
|
72494
72495
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
72495
72496
|
const tableHeaderTag = 'nimble-table-header';
|
|
72496
72497
|
|
|
72497
|
-
const styles$
|
|
72498
|
+
const styles$O = css `
|
|
72498
72499
|
:host .animating {
|
|
72499
72500
|
transition: ${mediumDelay} ease-in;
|
|
72500
72501
|
}
|
|
@@ -72519,9 +72520,9 @@ focus outline in that case.
|
|
|
72519
72520
|
}
|
|
72520
72521
|
`;
|
|
72521
72522
|
|
|
72522
|
-
const styles$
|
|
72523
|
+
const styles$N = css `
|
|
72523
72524
|
${display$2('flex')}
|
|
72524
|
-
${styles$
|
|
72525
|
+
${styles$O}
|
|
72525
72526
|
|
|
72526
72527
|
:host {
|
|
72527
72528
|
width: fit-content;
|
|
@@ -72767,7 +72768,7 @@ focus outline in that case.
|
|
|
72767
72768
|
}
|
|
72768
72769
|
`));
|
|
72769
72770
|
|
|
72770
|
-
const styles$
|
|
72771
|
+
const styles$M = css `
|
|
72771
72772
|
${display$2('flex')}
|
|
72772
72773
|
|
|
72773
72774
|
:host {
|
|
@@ -72812,7 +72813,7 @@ focus outline in that case.
|
|
|
72812
72813
|
}
|
|
72813
72814
|
`;
|
|
72814
72815
|
|
|
72815
|
-
const template$
|
|
72816
|
+
const template$P = html `
|
|
72816
72817
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
72817
72818
|
@focusin="${x => x.onCellFocusIn()}"
|
|
72818
72819
|
@blur="${x => x.onCellBlur()}"
|
|
@@ -72909,8 +72910,8 @@ focus outline in that case.
|
|
|
72909
72910
|
], TableCell.prototype, "nestingLevel", void 0);
|
|
72910
72911
|
const nimbleTableCell = TableCell.compose({
|
|
72911
72912
|
baseName: 'table-cell',
|
|
72912
|
-
template: template$
|
|
72913
|
-
styles: styles$
|
|
72913
|
+
template: template$P,
|
|
72914
|
+
styles: styles$M
|
|
72914
72915
|
});
|
|
72915
72916
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
72916
72917
|
const tableCellTag = 'nimble-table-cell';
|
|
@@ -72946,7 +72947,7 @@ focus outline in that case.
|
|
|
72946
72947
|
`)}
|
|
72947
72948
|
</${tableCellTag}>
|
|
72948
72949
|
`;
|
|
72949
|
-
const template$
|
|
72950
|
+
const template$O = html `
|
|
72950
72951
|
<template
|
|
72951
72952
|
role="row"
|
|
72952
72953
|
aria-selected=${x => x.ariaSelected}
|
|
@@ -73322,15 +73323,15 @@ focus outline in that case.
|
|
|
73322
73323
|
], TableRow.prototype, "ariaSelected", null);
|
|
73323
73324
|
const nimbleTableRow = TableRow.compose({
|
|
73324
73325
|
baseName: 'table-row',
|
|
73325
|
-
template: template$
|
|
73326
|
-
styles: styles$
|
|
73326
|
+
template: template$O,
|
|
73327
|
+
styles: styles$N
|
|
73327
73328
|
});
|
|
73328
73329
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
73329
73330
|
const tableRowTag = 'nimble-table-row';
|
|
73330
73331
|
|
|
73331
|
-
const styles$
|
|
73332
|
+
const styles$L = css `
|
|
73332
73333
|
${display$2('grid')}
|
|
73333
|
-
${styles$
|
|
73334
|
+
${styles$O}
|
|
73334
73335
|
|
|
73335
73336
|
:host {
|
|
73336
73337
|
align-items: center;
|
|
@@ -73503,7 +73504,7 @@ focus outline in that case.
|
|
|
73503
73504
|
}
|
|
73504
73505
|
`));
|
|
73505
73506
|
|
|
73506
|
-
const template$
|
|
73507
|
+
const template$N = html `
|
|
73507
73508
|
<template
|
|
73508
73509
|
role="row"
|
|
73509
73510
|
@click=${x => x.onGroupExpandToggle()}
|
|
@@ -73679,8 +73680,8 @@ focus outline in that case.
|
|
|
73679
73680
|
], TableGroupRow.prototype, "allowHover", void 0);
|
|
73680
73681
|
const nimbleTableGroupRow = TableGroupRow.compose({
|
|
73681
73682
|
baseName: 'table-group-row',
|
|
73682
|
-
template: template$
|
|
73683
|
-
styles: styles$
|
|
73683
|
+
template: template$N,
|
|
73684
|
+
styles: styles$L
|
|
73684
73685
|
});
|
|
73685
73686
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
73686
73687
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
@@ -73700,7 +73701,7 @@ focus outline in that case.
|
|
|
73700
73701
|
<slot name="${x => x.slot}"></slot>
|
|
73701
73702
|
</${tableHeaderTag}>
|
|
73702
73703
|
`;
|
|
73703
|
-
const template$
|
|
73704
|
+
const template$M = html `
|
|
73704
73705
|
<template
|
|
73705
73706
|
role="treegrid"
|
|
73706
73707
|
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
@@ -78433,12 +78434,12 @@ focus outline in that case.
|
|
|
78433
78434
|
], Table$1.prototype, "windowShiftKeyDown", void 0);
|
|
78434
78435
|
const nimbleTable = Table$1.compose({
|
|
78435
78436
|
baseName: 'table',
|
|
78436
|
-
template: template$
|
|
78437
|
-
styles: styles$
|
|
78437
|
+
template: template$M,
|
|
78438
|
+
styles: styles$Q
|
|
78438
78439
|
});
|
|
78439
78440
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
78440
78441
|
|
|
78441
|
-
const styles$
|
|
78442
|
+
const styles$K = css `
|
|
78442
78443
|
${display$2('contents')}
|
|
78443
78444
|
|
|
78444
78445
|
.header-content {
|
|
@@ -78450,7 +78451,7 @@ focus outline in that case.
|
|
|
78450
78451
|
|
|
78451
78452
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
78452
78453
|
// so the template can be composed into other column header templates
|
|
78453
|
-
const template$
|
|
78454
|
+
const template$L = html `<span
|
|
78454
78455
|
${overflow('hasOverflow')}
|
|
78455
78456
|
class="header-content"
|
|
78456
78457
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -78515,7 +78516,7 @@ focus outline in that case.
|
|
|
78515
78516
|
return ColumnWithPlaceholder;
|
|
78516
78517
|
}
|
|
78517
78518
|
|
|
78518
|
-
const styles$
|
|
78519
|
+
const styles$J = css `
|
|
78519
78520
|
${display$2('flex')}
|
|
78520
78521
|
|
|
78521
78522
|
:host {
|
|
@@ -78546,7 +78547,7 @@ focus outline in that case.
|
|
|
78546
78547
|
}
|
|
78547
78548
|
`;
|
|
78548
78549
|
|
|
78549
|
-
const template$
|
|
78550
|
+
const template$K = html `
|
|
78550
78551
|
<template
|
|
78551
78552
|
@click="${(x, c) => {
|
|
78552
78553
|
if (typeof x.cellRecord?.href === 'string') {
|
|
@@ -78638,8 +78639,8 @@ focus outline in that case.
|
|
|
78638
78639
|
], TableColumnAnchorCellView.prototype, "showAnchor", null);
|
|
78639
78640
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
78640
78641
|
baseName: 'table-column-anchor-cell-view',
|
|
78641
|
-
template: template$
|
|
78642
|
-
styles: styles$
|
|
78642
|
+
template: template$K,
|
|
78643
|
+
styles: styles$J
|
|
78643
78644
|
});
|
|
78644
78645
|
DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
|
|
78645
78646
|
const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
|
|
@@ -78716,7 +78717,7 @@ focus outline in that case.
|
|
|
78716
78717
|
observable
|
|
78717
78718
|
], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
|
|
78718
78719
|
|
|
78719
|
-
const template$
|
|
78720
|
+
const template$J = html `
|
|
78720
78721
|
<span
|
|
78721
78722
|
${overflow('hasOverflow')}
|
|
78722
78723
|
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
@@ -78725,7 +78726,7 @@ focus outline in that case.
|
|
|
78725
78726
|
</span>
|
|
78726
78727
|
`;
|
|
78727
78728
|
|
|
78728
|
-
const styles$
|
|
78729
|
+
const styles$I = css `
|
|
78729
78730
|
${display$2('flex')}
|
|
78730
78731
|
|
|
78731
78732
|
span {
|
|
@@ -78749,8 +78750,8 @@ focus outline in that case.
|
|
|
78749
78750
|
}
|
|
78750
78751
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
78751
78752
|
baseName: 'table-column-text-group-header-view',
|
|
78752
|
-
template: template$
|
|
78753
|
-
styles: styles$
|
|
78753
|
+
template: template$J,
|
|
78754
|
+
styles: styles$I
|
|
78754
78755
|
});
|
|
78755
78756
|
DesignSystem.getOrCreate()
|
|
78756
78757
|
.withPrefix('nimble')
|
|
@@ -78994,8 +78995,8 @@ focus outline in that case.
|
|
|
78994
78995
|
], TableColumnAnchor.prototype, "download", void 0);
|
|
78995
78996
|
const nimbleTableColumnAnchor = TableColumnAnchor.compose({
|
|
78996
78997
|
baseName: 'table-column-anchor',
|
|
78997
|
-
template: template$
|
|
78998
|
-
styles: styles$
|
|
78998
|
+
template: template$L,
|
|
78999
|
+
styles: styles$K
|
|
78999
79000
|
});
|
|
79000
79001
|
DesignSystem.getOrCreate()
|
|
79001
79002
|
.withPrefix('nimble')
|
|
@@ -79047,15 +79048,15 @@ focus outline in that case.
|
|
|
79047
79048
|
}
|
|
79048
79049
|
const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
|
|
79049
79050
|
baseName: 'table-column-date-text-group-header-view',
|
|
79050
|
-
template: template$
|
|
79051
|
-
styles: styles$
|
|
79051
|
+
template: template$J,
|
|
79052
|
+
styles: styles$I
|
|
79052
79053
|
});
|
|
79053
79054
|
DesignSystem.getOrCreate()
|
|
79054
79055
|
.withPrefix('nimble')
|
|
79055
79056
|
.register(tableColumnDateTextGroupHeaderView());
|
|
79056
79057
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
79057
79058
|
|
|
79058
|
-
const template$
|
|
79059
|
+
const template$I = html `
|
|
79059
79060
|
<template
|
|
79060
79061
|
class="
|
|
79061
79062
|
${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
|
|
@@ -79071,7 +79072,7 @@ focus outline in that case.
|
|
|
79071
79072
|
</template>
|
|
79072
79073
|
`;
|
|
79073
79074
|
|
|
79074
|
-
const styles$
|
|
79075
|
+
const styles$H = css `
|
|
79075
79076
|
${display$2('flex')}
|
|
79076
79077
|
|
|
79077
79078
|
:host {
|
|
@@ -79173,8 +79174,8 @@ focus outline in that case.
|
|
|
79173
79174
|
}
|
|
79174
79175
|
const dateTextCellView = TableColumnDateTextCellView.compose({
|
|
79175
79176
|
baseName: 'table-column-date-text-cell-view',
|
|
79176
|
-
template: template$
|
|
79177
|
-
styles: styles$
|
|
79177
|
+
template: template$I,
|
|
79178
|
+
styles: styles$H
|
|
79178
79179
|
});
|
|
79179
79180
|
DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
|
|
79180
79181
|
const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
|
|
@@ -79432,8 +79433,8 @@ focus outline in that case.
|
|
|
79432
79433
|
], TableColumnDateText.prototype, "customHourCycle", void 0);
|
|
79433
79434
|
const nimbleTableColumnDateText = TableColumnDateText.compose({
|
|
79434
79435
|
baseName: 'table-column-date-text',
|
|
79435
|
-
template: template$
|
|
79436
|
-
styles: styles$
|
|
79436
|
+
template: template$L,
|
|
79437
|
+
styles: styles$K
|
|
79437
79438
|
});
|
|
79438
79439
|
DesignSystem.getOrCreate()
|
|
79439
79440
|
.withPrefix('nimble')
|
|
@@ -79449,8 +79450,8 @@ focus outline in that case.
|
|
|
79449
79450
|
}
|
|
79450
79451
|
const durationTextCellView = TableColumnDurationTextCellView.compose({
|
|
79451
79452
|
baseName: 'table-column-duration-text-cell-view',
|
|
79452
|
-
template: template$
|
|
79453
|
-
styles: styles$
|
|
79453
|
+
template: template$I,
|
|
79454
|
+
styles: styles$H
|
|
79454
79455
|
});
|
|
79455
79456
|
DesignSystem.getOrCreate()
|
|
79456
79457
|
.withPrefix('nimble')
|
|
@@ -79551,8 +79552,8 @@ focus outline in that case.
|
|
|
79551
79552
|
}
|
|
79552
79553
|
const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
|
|
79553
79554
|
baseName: 'table-column-duration-text-group-header-view',
|
|
79554
|
-
template: template$
|
|
79555
|
-
styles: styles$
|
|
79555
|
+
template: template$J,
|
|
79556
|
+
styles: styles$I
|
|
79556
79557
|
});
|
|
79557
79558
|
DesignSystem.getOrCreate()
|
|
79558
79559
|
.withPrefix('nimble')
|
|
@@ -79604,8 +79605,8 @@ focus outline in that case.
|
|
|
79604
79605
|
}
|
|
79605
79606
|
const nimbleTableColumnDurationText = TableColumnDurationText.compose({
|
|
79606
79607
|
baseName: 'table-column-duration-text',
|
|
79607
|
-
template: template$
|
|
79608
|
-
styles: styles$
|
|
79608
|
+
template: template$L,
|
|
79609
|
+
styles: styles$K
|
|
79609
79610
|
});
|
|
79610
79611
|
DesignSystem.getOrCreate()
|
|
79611
79612
|
.withPrefix('nimble')
|
|
@@ -79713,15 +79714,15 @@ focus outline in that case.
|
|
|
79713
79714
|
attr({ attribute: 'key-type' })
|
|
79714
79715
|
], TableColumnEnumBase.prototype, "keyType", void 0);
|
|
79715
79716
|
|
|
79716
|
-
const styles$
|
|
79717
|
-
${styles$
|
|
79717
|
+
const styles$G = css `
|
|
79718
|
+
${styles$K}
|
|
79718
79719
|
|
|
79719
79720
|
slot[name='mapping'] {
|
|
79720
79721
|
display: none;
|
|
79721
79722
|
}
|
|
79722
79723
|
`;
|
|
79723
79724
|
|
|
79724
|
-
const template$
|
|
79725
|
+
const template$H = html `${template$L}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
79725
79726
|
|
|
79726
79727
|
// As the returned class is internal to the function, we can't write a signature that uses is directly, so rely on inference
|
|
79727
79728
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type
|
|
@@ -79824,7 +79825,7 @@ focus outline in that case.
|
|
|
79824
79825
|
}
|
|
79825
79826
|
}
|
|
79826
79827
|
|
|
79827
|
-
const styles$
|
|
79828
|
+
const styles$F = css `
|
|
79828
79829
|
${display$2('inline-flex')}
|
|
79829
79830
|
|
|
79830
79831
|
:host {
|
|
@@ -79848,7 +79849,7 @@ focus outline in that case.
|
|
|
79848
79849
|
}
|
|
79849
79850
|
`;
|
|
79850
79851
|
|
|
79851
|
-
const template$
|
|
79852
|
+
const template$G = html `
|
|
79852
79853
|
${when(x => x.visualizationTemplate, html `
|
|
79853
79854
|
<span class="reserve-icon-size">
|
|
79854
79855
|
${x => x.visualizationTemplate}
|
|
@@ -79992,15 +79993,15 @@ focus outline in that case.
|
|
|
79992
79993
|
], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
|
|
79993
79994
|
const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
|
|
79994
79995
|
baseName: 'table-column-mapping-group-header-view',
|
|
79995
|
-
template: template$
|
|
79996
|
-
styles: styles$
|
|
79996
|
+
template: template$G,
|
|
79997
|
+
styles: styles$F
|
|
79997
79998
|
});
|
|
79998
79999
|
DesignSystem.getOrCreate()
|
|
79999
80000
|
.withPrefix('nimble')
|
|
80000
80001
|
.register(mappingGroupHeaderView());
|
|
80001
80002
|
const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
|
|
80002
80003
|
|
|
80003
|
-
const styles$
|
|
80004
|
+
const styles$E = css `
|
|
80004
80005
|
${display$2('inline-flex')}
|
|
80005
80006
|
|
|
80006
80007
|
:host {
|
|
@@ -80024,7 +80025,7 @@ focus outline in that case.
|
|
|
80024
80025
|
}
|
|
80025
80026
|
`;
|
|
80026
80027
|
|
|
80027
|
-
const template$
|
|
80028
|
+
const template$F = html `
|
|
80028
80029
|
${when(x => x.visualizationTemplate, html `
|
|
80029
80030
|
<span class="reserve-icon-size">
|
|
80030
80031
|
${x => x.visualizationTemplate}
|
|
@@ -80111,8 +80112,8 @@ focus outline in that case.
|
|
|
80111
80112
|
], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
|
|
80112
80113
|
const mappingCellView = TableColumnMappingCellView.compose({
|
|
80113
80114
|
baseName: 'table-column-mapping-cell-view',
|
|
80114
|
-
template: template$
|
|
80115
|
-
styles: styles$
|
|
80115
|
+
template: template$F,
|
|
80116
|
+
styles: styles$E
|
|
80116
80117
|
});
|
|
80117
80118
|
DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
|
|
80118
80119
|
const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
|
|
@@ -80195,23 +80196,23 @@ focus outline in that case.
|
|
|
80195
80196
|
], TableColumnMapping.prototype, "widthMode", void 0);
|
|
80196
80197
|
const nimbleTableColumnMapping = TableColumnMapping.compose({
|
|
80197
80198
|
baseName: 'table-column-mapping',
|
|
80198
|
-
template: template$
|
|
80199
|
-
styles: styles$
|
|
80199
|
+
template: template$H,
|
|
80200
|
+
styles: styles$G
|
|
80200
80201
|
});
|
|
80201
80202
|
DesignSystem.getOrCreate()
|
|
80202
80203
|
.withPrefix('nimble')
|
|
80203
80204
|
.register(nimbleTableColumnMapping());
|
|
80204
80205
|
|
|
80205
|
-
const template$
|
|
80206
|
+
const template$E = html `
|
|
80206
80207
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
80207
|
-
>${template$
|
|
80208
|
+
>${template$L}</template
|
|
80208
80209
|
>
|
|
80209
80210
|
`;
|
|
80210
80211
|
|
|
80211
80212
|
/** @internal */
|
|
80212
80213
|
const cellViewMenuSlotName = 'menu-button-menu';
|
|
80213
80214
|
|
|
80214
|
-
const template$
|
|
80215
|
+
const template$D = html `
|
|
80215
80216
|
${when(x => x.showMenuButton, html `
|
|
80216
80217
|
<${menuButtonTag}
|
|
80217
80218
|
${ref('menuButton')}
|
|
@@ -80230,7 +80231,7 @@ focus outline in that case.
|
|
|
80230
80231
|
`)}
|
|
80231
80232
|
`;
|
|
80232
80233
|
|
|
80233
|
-
const styles$
|
|
80234
|
+
const styles$D = css `
|
|
80234
80235
|
:host {
|
|
80235
80236
|
align-self: center;
|
|
80236
80237
|
width: 100%;
|
|
@@ -80305,8 +80306,8 @@ focus outline in that case.
|
|
|
80305
80306
|
], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
|
|
80306
80307
|
const menuButtonCellView = TableColumnMenuButtonCellView.compose({
|
|
80307
80308
|
baseName: 'table-column-menu-button-cell-view',
|
|
80308
|
-
template: template$
|
|
80309
|
-
styles: styles$
|
|
80309
|
+
template: template$D,
|
|
80310
|
+
styles: styles$D
|
|
80310
80311
|
});
|
|
80311
80312
|
DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
|
|
80312
80313
|
const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
|
|
@@ -80361,8 +80362,8 @@ focus outline in that case.
|
|
|
80361
80362
|
], TableColumnMenuButton.prototype, "menuSlot", void 0);
|
|
80362
80363
|
const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
|
|
80363
80364
|
baseName: 'table-column-menu-button',
|
|
80364
|
-
template: template$
|
|
80365
|
-
styles: styles$
|
|
80365
|
+
template: template$E,
|
|
80366
|
+
styles: styles$K
|
|
80366
80367
|
});
|
|
80367
80368
|
DesignSystem.getOrCreate()
|
|
80368
80369
|
.withPrefix('nimble')
|
|
@@ -80370,7 +80371,7 @@ focus outline in that case.
|
|
|
80370
80371
|
|
|
80371
80372
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
80372
80373
|
// so the template can be composed into other column header templates
|
|
80373
|
-
const template$
|
|
80374
|
+
const template$C = html `<span
|
|
80374
80375
|
${overflow('hasOverflow')}
|
|
80375
80376
|
class="header-content"
|
|
80376
80377
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -80389,8 +80390,8 @@ focus outline in that case.
|
|
|
80389
80390
|
}
|
|
80390
80391
|
const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
|
|
80391
80392
|
baseName: 'table-column-number-text-group-header-view',
|
|
80392
|
-
template: template$
|
|
80393
|
-
styles: styles$
|
|
80393
|
+
template: template$J,
|
|
80394
|
+
styles: styles$I
|
|
80394
80395
|
});
|
|
80395
80396
|
DesignSystem.getOrCreate()
|
|
80396
80397
|
.withPrefix('nimble')
|
|
@@ -80411,8 +80412,8 @@ focus outline in that case.
|
|
|
80411
80412
|
}
|
|
80412
80413
|
const numberTextCellView = TableColumnNumberTextCellView.compose({
|
|
80413
80414
|
baseName: 'table-column-number-text-cell-view',
|
|
80414
|
-
template: template$
|
|
80415
|
-
styles: styles$
|
|
80415
|
+
template: template$I,
|
|
80416
|
+
styles: styles$H
|
|
80416
80417
|
});
|
|
80417
80418
|
DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
|
|
80418
80419
|
const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
|
|
@@ -80952,8 +80953,8 @@ focus outline in that case.
|
|
|
80952
80953
|
], TableColumnNumberText.prototype, "unit", void 0);
|
|
80953
80954
|
const nimbleTableColumnNumberText = TableColumnNumberText.compose({
|
|
80954
80955
|
baseName: 'table-column-number-text',
|
|
80955
|
-
template: template$
|
|
80956
|
-
styles: styles$
|
|
80956
|
+
template: template$C,
|
|
80957
|
+
styles: styles$K
|
|
80957
80958
|
});
|
|
80958
80959
|
DesignSystem.getOrCreate()
|
|
80959
80960
|
.withPrefix('nimble')
|
|
@@ -80971,8 +80972,8 @@ focus outline in that case.
|
|
|
80971
80972
|
}
|
|
80972
80973
|
const textCellView = TableColumnTextCellView.compose({
|
|
80973
80974
|
baseName: 'table-column-text-cell-view',
|
|
80974
|
-
template: template$
|
|
80975
|
-
styles: styles$
|
|
80975
|
+
template: template$I,
|
|
80976
|
+
styles: styles$H
|
|
80976
80977
|
});
|
|
80977
80978
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
|
|
80978
80979
|
const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
|
|
@@ -81026,15 +81027,15 @@ focus outline in that case.
|
|
|
81026
81027
|
}
|
|
81027
81028
|
const nimbleTableColumnText = TableColumnText.compose({
|
|
81028
81029
|
baseName: 'table-column-text',
|
|
81029
|
-
template: template$
|
|
81030
|
-
styles: styles$
|
|
81030
|
+
template: template$L,
|
|
81031
|
+
styles: styles$K
|
|
81031
81032
|
});
|
|
81032
81033
|
DesignSystem.getOrCreate()
|
|
81033
81034
|
.withPrefix('nimble')
|
|
81034
81035
|
.register(nimbleTableColumnText());
|
|
81035
81036
|
|
|
81036
|
-
const styles$
|
|
81037
|
-
${styles$
|
|
81037
|
+
const styles$C = css `
|
|
81038
|
+
${styles$1r}
|
|
81038
81039
|
|
|
81039
81040
|
.tabpanel {
|
|
81040
81041
|
overflow: auto;
|
|
@@ -81115,12 +81116,12 @@ focus outline in that case.
|
|
|
81115
81116
|
const nimbleTabs = Tabs.compose({
|
|
81116
81117
|
baseName: 'tabs',
|
|
81117
81118
|
baseClass: Tabs$1,
|
|
81118
|
-
template: template$
|
|
81119
|
-
styles: styles$
|
|
81119
|
+
template: template$1d,
|
|
81120
|
+
styles: styles$C
|
|
81120
81121
|
});
|
|
81121
81122
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
81122
81123
|
|
|
81123
|
-
const styles$
|
|
81124
|
+
const styles$B = css `
|
|
81124
81125
|
${display$2('flex')}
|
|
81125
81126
|
|
|
81126
81127
|
:host {
|
|
@@ -81152,7 +81153,7 @@ focus outline in that case.
|
|
|
81152
81153
|
}
|
|
81153
81154
|
`;
|
|
81154
81155
|
|
|
81155
|
-
const template$
|
|
81156
|
+
const template$B = (context, definition) => html `
|
|
81156
81157
|
<template slot="end">
|
|
81157
81158
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
81158
81159
|
<div class="separator"></div>
|
|
@@ -81184,8 +81185,8 @@ focus outline in that case.
|
|
|
81184
81185
|
], TabsToolbar.prototype, "defaultSlottedElements", void 0);
|
|
81185
81186
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
81186
81187
|
baseName: 'tabs-toolbar',
|
|
81187
|
-
template: template$
|
|
81188
|
-
styles: styles$
|
|
81188
|
+
template: template$B,
|
|
81189
|
+
styles: styles$B
|
|
81189
81190
|
});
|
|
81190
81191
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
81191
81192
|
applyMixins(TabsToolbar, StartEnd);
|
|
@@ -81195,10 +81196,10 @@ focus outline in that case.
|
|
|
81195
81196
|
block: 'block'
|
|
81196
81197
|
};
|
|
81197
81198
|
|
|
81198
|
-
const styles$
|
|
81199
|
+
const styles$A = css `
|
|
81199
81200
|
${display$2('inline-flex')}
|
|
81200
|
-
${styles$
|
|
81201
|
-
${styles$
|
|
81201
|
+
${styles$1i}
|
|
81202
|
+
${styles$1d}
|
|
81202
81203
|
|
|
81203
81204
|
:host {
|
|
81204
81205
|
font: ${bodyFont};
|
|
@@ -81390,7 +81391,7 @@ focus outline in that case.
|
|
|
81390
81391
|
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
81391
81392
|
</label>
|
|
81392
81393
|
`);
|
|
81393
|
-
const template$
|
|
81394
|
+
const template$A = () => html `
|
|
81394
81395
|
${labelTemplate$1}
|
|
81395
81396
|
<div class="container">
|
|
81396
81397
|
<textarea
|
|
@@ -81538,8 +81539,8 @@ focus outline in that case.
|
|
|
81538
81539
|
const nimbleTextArea = TextArea.compose({
|
|
81539
81540
|
baseName: 'text-area',
|
|
81540
81541
|
baseClass: TextArea$1,
|
|
81541
|
-
template: template$
|
|
81542
|
-
styles: styles$
|
|
81542
|
+
template: template$A,
|
|
81543
|
+
styles: styles$A,
|
|
81543
81544
|
shadowOptions: {
|
|
81544
81545
|
delegatesFocus: true
|
|
81545
81546
|
}
|
|
@@ -81556,10 +81557,10 @@ focus outline in that case.
|
|
|
81556
81557
|
frameless: 'frameless'
|
|
81557
81558
|
};
|
|
81558
81559
|
|
|
81559
|
-
const styles$
|
|
81560
|
+
const styles$z = css `
|
|
81560
81561
|
${display$2('inline-block')}
|
|
81561
|
-
${styles$
|
|
81562
|
-
${styles$
|
|
81562
|
+
${styles$1i}
|
|
81563
|
+
${styles$1d}
|
|
81563
81564
|
|
|
81564
81565
|
:host {
|
|
81565
81566
|
font: ${bodyFont};
|
|
@@ -81833,7 +81834,7 @@ focus outline in that case.
|
|
|
81833
81834
|
* The template for the {@link @ni/fast-foundation#(TextField:class)} component.
|
|
81834
81835
|
* @public
|
|
81835
81836
|
*/
|
|
81836
|
-
const template$
|
|
81837
|
+
const template$z = (context, definition) => html `
|
|
81837
81838
|
<template
|
|
81838
81839
|
class="
|
|
81839
81840
|
${x => (x.readOnly ? 'readonly' : '')}
|
|
@@ -81918,8 +81919,8 @@ focus outline in that case.
|
|
|
81918
81919
|
const nimbleTextField = TextField.compose({
|
|
81919
81920
|
baseName: 'text-field',
|
|
81920
81921
|
baseClass: TextField$1,
|
|
81921
|
-
template: template$
|
|
81922
|
-
styles: styles$
|
|
81922
|
+
template: template$z,
|
|
81923
|
+
styles: styles$z,
|
|
81923
81924
|
shadowOptions: {
|
|
81924
81925
|
delegatesFocus: true
|
|
81925
81926
|
},
|
|
@@ -81936,7 +81937,7 @@ focus outline in that case.
|
|
|
81936
81937
|
});
|
|
81937
81938
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
81938
81939
|
|
|
81939
|
-
const styles$
|
|
81940
|
+
const styles$y = css `
|
|
81940
81941
|
${display$2('inline-flex')}
|
|
81941
81942
|
|
|
81942
81943
|
:host {
|
|
@@ -82022,7 +82023,7 @@ focus outline in that case.
|
|
|
82022
82023
|
}
|
|
82023
82024
|
`));
|
|
82024
82025
|
|
|
82025
|
-
const template$
|
|
82026
|
+
const template$y = html `
|
|
82026
82027
|
${when(x => x.tooltipVisible, html `
|
|
82027
82028
|
<${anchoredRegionTag}
|
|
82028
82029
|
class="anchored-region"
|
|
@@ -82074,8 +82075,8 @@ focus outline in that case.
|
|
|
82074
82075
|
const nimbleTooltip = Tooltip.compose({
|
|
82075
82076
|
baseName: 'tooltip',
|
|
82076
82077
|
baseClass: Tooltip$1,
|
|
82077
|
-
template: template$
|
|
82078
|
-
styles: styles$
|
|
82078
|
+
template: template$y,
|
|
82079
|
+
styles: styles$y
|
|
82079
82080
|
});
|
|
82080
82081
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
82081
82082
|
const tooltipTag = 'nimble-tooltip';
|
|
@@ -82164,7 +82165,7 @@ focus outline in that case.
|
|
|
82164
82165
|
}
|
|
82165
82166
|
}
|
|
82166
82167
|
|
|
82167
|
-
const styles$
|
|
82168
|
+
const styles$x = css `
|
|
82168
82169
|
${display$2('block')}
|
|
82169
82170
|
|
|
82170
82171
|
:host {
|
|
@@ -82381,12 +82382,12 @@ focus outline in that case.
|
|
|
82381
82382
|
baseName: 'tree-item',
|
|
82382
82383
|
baseClass: TreeItem$1,
|
|
82383
82384
|
template: treeItemTemplate,
|
|
82384
|
-
styles: styles$
|
|
82385
|
+
styles: styles$x,
|
|
82385
82386
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
82386
82387
|
});
|
|
82387
82388
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
82388
82389
|
|
|
82389
|
-
const styles$
|
|
82390
|
+
const styles$w = css `
|
|
82390
82391
|
${display$2('flex')}
|
|
82391
82392
|
|
|
82392
82393
|
:host {
|
|
@@ -82400,7 +82401,7 @@ focus outline in that case.
|
|
|
82400
82401
|
}
|
|
82401
82402
|
`;
|
|
82402
82403
|
|
|
82403
|
-
const template$
|
|
82404
|
+
const template$x = html `
|
|
82404
82405
|
<template
|
|
82405
82406
|
role="tree"
|
|
82406
82407
|
${ref('treeView')}
|
|
@@ -82496,8 +82497,8 @@ focus outline in that case.
|
|
|
82496
82497
|
const nimbleTreeView = TreeView.compose({
|
|
82497
82498
|
baseName: 'tree-view',
|
|
82498
82499
|
baseClass: TreeView$1,
|
|
82499
|
-
template: template$
|
|
82500
|
-
styles: styles$
|
|
82500
|
+
template: template$x,
|
|
82501
|
+
styles: styles$w
|
|
82501
82502
|
});
|
|
82502
82503
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
82503
82504
|
|
|
@@ -82613,9 +82614,9 @@ focus outline in that case.
|
|
|
82613
82614
|
}
|
|
82614
82615
|
const unitScaleByte = new UnitScaleByte();
|
|
82615
82616
|
|
|
82616
|
-
const template$
|
|
82617
|
+
const template$w = html `<template slot="unit"></template>`;
|
|
82617
82618
|
|
|
82618
|
-
const styles$
|
|
82619
|
+
const styles$v = css `
|
|
82619
82620
|
${display$2('none')}
|
|
82620
82621
|
`;
|
|
82621
82622
|
|
|
@@ -82643,8 +82644,8 @@ focus outline in that case.
|
|
|
82643
82644
|
], UnitByte.prototype, "binary", void 0);
|
|
82644
82645
|
const nimbleUnitByte = UnitByte.compose({
|
|
82645
82646
|
baseName: 'unit-byte',
|
|
82646
|
-
template: template$
|
|
82647
|
-
styles: styles$
|
|
82647
|
+
template: template$w,
|
|
82648
|
+
styles: styles$v
|
|
82648
82649
|
});
|
|
82649
82650
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
|
|
82650
82651
|
|
|
@@ -82696,8 +82697,8 @@ focus outline in that case.
|
|
|
82696
82697
|
}
|
|
82697
82698
|
const nimbleUnitVolt = UnitVolt.compose({
|
|
82698
82699
|
baseName: 'unit-volt',
|
|
82699
|
-
template: template$
|
|
82700
|
-
styles: styles$
|
|
82700
|
+
template: template$w,
|
|
82701
|
+
styles: styles$v
|
|
82701
82702
|
});
|
|
82702
82703
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
|
|
82703
82704
|
|
|
@@ -97011,7 +97012,7 @@ focus outline in that case.
|
|
|
97011
97012
|
return new Table(reader.readAll());
|
|
97012
97013
|
}
|
|
97013
97014
|
|
|
97014
|
-
const template$
|
|
97015
|
+
const template$v = html `
|
|
97015
97016
|
<div class="wafer-map-container">
|
|
97016
97017
|
<svg class="svg-root">
|
|
97017
97018
|
<g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
|
|
@@ -97044,7 +97045,7 @@ focus outline in that case.
|
|
|
97044
97045
|
</div>
|
|
97045
97046
|
`;
|
|
97046
97047
|
|
|
97047
|
-
const styles$
|
|
97048
|
+
const styles$u = css `
|
|
97048
97049
|
${display$2('inline-block')}
|
|
97049
97050
|
|
|
97050
97051
|
:host {
|
|
@@ -100069,8 +100070,8 @@ focus outline in that case.
|
|
|
100069
100070
|
], WaferMap.prototype, "colorScale", void 0);
|
|
100070
100071
|
const nimbleWaferMap = WaferMap.compose({
|
|
100071
100072
|
baseName: 'wafer-map',
|
|
100072
|
-
template: template$
|
|
100073
|
-
styles: styles$
|
|
100073
|
+
template: template$v,
|
|
100074
|
+
styles: styles$u
|
|
100074
100075
|
});
|
|
100075
100076
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
100076
100077
|
|
|
@@ -100082,7 +100083,7 @@ focus outline in that case.
|
|
|
100082
100083
|
*/
|
|
100083
100084
|
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;}`;
|
|
100084
100085
|
|
|
100085
|
-
const styles$
|
|
100086
|
+
const styles$t = css `
|
|
100086
100087
|
${display$1('flex')}
|
|
100087
100088
|
|
|
100088
100089
|
:host {
|
|
@@ -100172,7 +100173,7 @@ focus outline in that case.
|
|
|
100172
100173
|
}
|
|
100173
100174
|
`;
|
|
100174
100175
|
|
|
100175
|
-
const template$
|
|
100176
|
+
const template$u = html `
|
|
100176
100177
|
<div class="toolbar ${x => (x.toolbarEmpty ? 'toolbar-empty' : '')}">
|
|
100177
100178
|
<slot name="toolbar" ${slotted({ property: 'slottedToolbarElements' })}></slot>
|
|
100178
100179
|
</div>
|
|
@@ -100563,16 +100564,16 @@ focus outline in that case.
|
|
|
100563
100564
|
], ChatConversation.prototype, "slottedEndElements", void 0);
|
|
100564
100565
|
const sprightChatConversation = ChatConversation.compose({
|
|
100565
100566
|
baseName: 'chat-conversation',
|
|
100566
|
-
template: template$
|
|
100567
|
-
styles: styles$
|
|
100567
|
+
template: template$u,
|
|
100568
|
+
styles: styles$t
|
|
100568
100569
|
});
|
|
100569
100570
|
DesignSystem.getOrCreate()
|
|
100570
100571
|
.withPrefix('spright')
|
|
100571
100572
|
.register(sprightChatConversation());
|
|
100572
100573
|
|
|
100573
|
-
const styles$
|
|
100574
|
+
const styles$s = css `
|
|
100574
100575
|
${display$1('flex')}
|
|
100575
|
-
${styles$
|
|
100576
|
+
${styles$1i}
|
|
100576
100577
|
|
|
100577
100578
|
:host {
|
|
100578
100579
|
width: 100%;
|
|
@@ -100716,7 +100717,7 @@ focus outline in that case.
|
|
|
100716
100717
|
}
|
|
100717
100718
|
`;
|
|
100718
100719
|
|
|
100719
|
-
const template$
|
|
100720
|
+
const template$t = html `
|
|
100720
100721
|
<div class="container">
|
|
100721
100722
|
<section class="attachments ${x => (x.attachmentsIsEmpty ? '' : 'has-content')}">
|
|
100722
100723
|
<slot
|
|
@@ -100968,8 +100969,8 @@ focus outline in that case.
|
|
|
100968
100969
|
], ChatInput.prototype, "slottedAttachmentsElements", void 0);
|
|
100969
100970
|
const sprightChatInput = ChatInput.compose({
|
|
100970
100971
|
baseName: 'chat-input',
|
|
100971
|
-
template: template$
|
|
100972
|
-
styles: styles$
|
|
100972
|
+
template: template$t,
|
|
100973
|
+
styles: styles$s,
|
|
100973
100974
|
shadowOptions: {
|
|
100974
100975
|
delegatesFocus: true
|
|
100975
100976
|
}
|
|
@@ -100987,7 +100988,7 @@ focus outline in that case.
|
|
|
100987
100988
|
inbound: 'inbound'
|
|
100988
100989
|
};
|
|
100989
100990
|
|
|
100990
|
-
const styles$
|
|
100991
|
+
const styles$r = css `
|
|
100991
100992
|
${display$1('flex')}
|
|
100992
100993
|
|
|
100993
100994
|
:host {
|
|
@@ -101061,7 +101062,7 @@ focus outline in that case.
|
|
|
101061
101062
|
}
|
|
101062
101063
|
`;
|
|
101063
101064
|
|
|
101064
|
-
const template$
|
|
101065
|
+
const template$s = (context, definition) => html `
|
|
101065
101066
|
<div class="container">
|
|
101066
101067
|
${startSlotTemplate(context, definition)}
|
|
101067
101068
|
<section class="message-content">
|
|
@@ -101110,12 +101111,12 @@ focus outline in that case.
|
|
|
101110
101111
|
applyMixins(ChatMessage, StartEnd);
|
|
101111
101112
|
const sprightChatMessage = ChatMessage.compose({
|
|
101112
101113
|
baseName: 'chat-message',
|
|
101113
|
-
template: template$
|
|
101114
|
-
styles: styles$
|
|
101114
|
+
template: template$s,
|
|
101115
|
+
styles: styles$r
|
|
101115
101116
|
});
|
|
101116
101117
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
|
|
101117
101118
|
|
|
101118
|
-
const styles$
|
|
101119
|
+
const styles$q = css `
|
|
101119
101120
|
${display$1('flex')}
|
|
101120
101121
|
|
|
101121
101122
|
:host {
|
|
@@ -101173,7 +101174,7 @@ focus outline in that case.
|
|
|
101173
101174
|
}
|
|
101174
101175
|
`;
|
|
101175
101176
|
|
|
101176
|
-
const template$
|
|
101177
|
+
const template$r = (context, definition) => html `
|
|
101177
101178
|
<div class="container">
|
|
101178
101179
|
${startSlotTemplate(context, definition)}
|
|
101179
101180
|
<section class="message-content">
|
|
@@ -101213,12 +101214,12 @@ focus outline in that case.
|
|
|
101213
101214
|
applyMixins(ChatMessageInbound, StartEnd);
|
|
101214
101215
|
const sprightChatMessageInbound = ChatMessageInbound.compose({
|
|
101215
101216
|
baseName: 'chat-message-inbound',
|
|
101216
|
-
template: template$
|
|
101217
|
-
styles: styles$
|
|
101217
|
+
template: template$r,
|
|
101218
|
+
styles: styles$q
|
|
101218
101219
|
});
|
|
101219
101220
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageInbound());
|
|
101220
101221
|
|
|
101221
|
-
const styles$
|
|
101222
|
+
const styles$p = css `
|
|
101222
101223
|
${display$1('flex')}
|
|
101223
101224
|
|
|
101224
101225
|
:host {
|
|
@@ -101252,7 +101253,7 @@ focus outline in that case.
|
|
|
101252
101253
|
}
|
|
101253
101254
|
`;
|
|
101254
101255
|
|
|
101255
|
-
const template$
|
|
101256
|
+
const template$q = () => html `
|
|
101256
101257
|
<div class="container">
|
|
101257
101258
|
<section class="message-content">
|
|
101258
101259
|
<slot></slot>
|
|
@@ -101274,12 +101275,12 @@ focus outline in that case.
|
|
|
101274
101275
|
}
|
|
101275
101276
|
const sprightChatMessageOutbound = ChatMessageOutbound.compose({
|
|
101276
101277
|
baseName: 'chat-message-outbound',
|
|
101277
|
-
template: template$
|
|
101278
|
-
styles: styles$
|
|
101278
|
+
template: template$q,
|
|
101279
|
+
styles: styles$p
|
|
101279
101280
|
});
|
|
101280
101281
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageOutbound());
|
|
101281
101282
|
|
|
101282
|
-
const styles$
|
|
101283
|
+
const styles$o = css `
|
|
101283
101284
|
${display$1('flex')}
|
|
101284
101285
|
|
|
101285
101286
|
:host {
|
|
@@ -101306,7 +101307,7 @@ focus outline in that case.
|
|
|
101306
101307
|
}
|
|
101307
101308
|
`;
|
|
101308
101309
|
|
|
101309
|
-
const template$
|
|
101310
|
+
const template$p = () => html `
|
|
101310
101311
|
<div class="container">
|
|
101311
101312
|
<section class="message-content">
|
|
101312
101313
|
<slot></slot>
|
|
@@ -101326,12 +101327,12 @@ focus outline in that case.
|
|
|
101326
101327
|
}
|
|
101327
101328
|
const sprightChatMessageSystem = ChatMessageSystem.compose({
|
|
101328
101329
|
baseName: 'chat-message-system',
|
|
101329
|
-
template: template$
|
|
101330
|
-
styles: styles$
|
|
101330
|
+
template: template$p,
|
|
101331
|
+
styles: styles$o
|
|
101331
101332
|
});
|
|
101332
101333
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageSystem());
|
|
101333
101334
|
|
|
101334
|
-
const styles$
|
|
101335
|
+
const styles$n = css `
|
|
101335
101336
|
${display$1('flex')}
|
|
101336
101337
|
|
|
101337
101338
|
:host {
|
|
@@ -101434,13 +101435,13 @@ focus outline in that case.
|
|
|
101434
101435
|
<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"/>
|
|
101435
101436
|
</svg>`;
|
|
101436
101437
|
|
|
101437
|
-
const template$
|
|
101438
|
+
const template$o = html `
|
|
101438
101439
|
<div class="icon light-icon" aria-hidden="true" :innerHTML="${() => nigelChatLightData}"></div>
|
|
101439
101440
|
<div class="icon dark-icon" aria-hidden="true" :innerHTML="${() => nigelChatDarkData}"></div>
|
|
101440
101441
|
`;
|
|
101441
101442
|
|
|
101442
|
-
const styles$
|
|
101443
|
-
${styles$
|
|
101443
|
+
const styles$m = css `
|
|
101444
|
+
${styles$1t}
|
|
101444
101445
|
|
|
101445
101446
|
.dark-icon {
|
|
101446
101447
|
display: none;
|
|
@@ -101463,15 +101464,15 @@ focus outline in that case.
|
|
|
101463
101464
|
}
|
|
101464
101465
|
const sprightIconNigelChat = IconNigelChat.compose({
|
|
101465
101466
|
baseName: 'icon-nigel-chat',
|
|
101466
|
-
template: template$
|
|
101467
|
-
styles: styles$
|
|
101467
|
+
template: template$o,
|
|
101468
|
+
styles: styles$m
|
|
101468
101469
|
});
|
|
101469
101470
|
DesignSystem.getOrCreate()
|
|
101470
101471
|
.withPrefix('spright')
|
|
101471
101472
|
.register(sprightIconNigelChat());
|
|
101472
101473
|
const iconNigelChatTag = 'spright-icon-nigel-chat';
|
|
101473
101474
|
|
|
101474
|
-
const template$
|
|
101475
|
+
const template$n = () => html `
|
|
101475
101476
|
<div class="container">
|
|
101476
101477
|
<div class="brand-icon">
|
|
101477
101478
|
<slot name="brand-icon">
|
|
@@ -101503,8 +101504,8 @@ focus outline in that case.
|
|
|
101503
101504
|
], ChatMessageWelcome.prototype, "subtitle", void 0);
|
|
101504
101505
|
const sprightChatMessageWelcome = ChatMessageWelcome.compose({
|
|
101505
101506
|
baseName: 'chat-message-welcome',
|
|
101506
|
-
template: template$
|
|
101507
|
-
styles: styles$
|
|
101507
|
+
template: template$n,
|
|
101508
|
+
styles: styles$n
|
|
101508
101509
|
});
|
|
101509
101510
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageWelcome());
|
|
101510
101511
|
|
|
@@ -101525,13 +101526,13 @@ focus outline in that case.
|
|
|
101525
101526
|
*/
|
|
101526
101527
|
class IconBreakpointConditional extends Icon {
|
|
101527
101528
|
}
|
|
101528
|
-
const template$
|
|
101529
|
+
const template$m = html `
|
|
101529
101530
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$6}"></div>
|
|
101530
101531
|
`;
|
|
101531
101532
|
const sprightIconBreakpointConditional = IconBreakpointConditional.compose({
|
|
101532
101533
|
baseName: 'icon-breakpoint-conditional',
|
|
101533
|
-
template: template$
|
|
101534
|
-
styles: styles$
|
|
101534
|
+
template: template$m,
|
|
101535
|
+
styles: styles$1t
|
|
101535
101536
|
});
|
|
101536
101537
|
DesignSystem.getOrCreate()
|
|
101537
101538
|
.withPrefix('spright')
|
|
@@ -101556,13 +101557,13 @@ focus outline in that case.
|
|
|
101556
101557
|
*/
|
|
101557
101558
|
class IconBreakpointDisabled extends Icon {
|
|
101558
101559
|
}
|
|
101559
|
-
const template$
|
|
101560
|
+
const template$l = html `
|
|
101560
101561
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$5}"></div>
|
|
101561
101562
|
`;
|
|
101562
101563
|
const sprightIconBreakpointDisabled = IconBreakpointDisabled.compose({
|
|
101563
101564
|
baseName: 'icon-breakpoint-disabled',
|
|
101564
|
-
template: template$
|
|
101565
|
-
styles: styles$
|
|
101565
|
+
template: template$l,
|
|
101566
|
+
styles: styles$1t
|
|
101566
101567
|
});
|
|
101567
101568
|
DesignSystem.getOrCreate()
|
|
101568
101569
|
.withPrefix('spright')
|
|
@@ -101586,13 +101587,13 @@ focus outline in that case.
|
|
|
101586
101587
|
*/
|
|
101587
101588
|
class IconBreakpointEnabled extends Icon {
|
|
101588
101589
|
}
|
|
101589
|
-
const template$
|
|
101590
|
+
const template$k = html `
|
|
101590
101591
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$4}"></div>
|
|
101591
101592
|
`;
|
|
101592
101593
|
const sprightIconBreakpointEnabled = IconBreakpointEnabled.compose({
|
|
101593
101594
|
baseName: 'icon-breakpoint-enabled',
|
|
101594
|
-
template: template$
|
|
101595
|
-
styles: styles$
|
|
101595
|
+
template: template$k,
|
|
101596
|
+
styles: styles$1t
|
|
101596
101597
|
});
|
|
101597
101598
|
DesignSystem.getOrCreate()
|
|
101598
101599
|
.withPrefix('spright')
|
|
@@ -101616,13 +101617,13 @@ focus outline in that case.
|
|
|
101616
101617
|
*/
|
|
101617
101618
|
class IconBreakpointExecutionPointer extends Icon {
|
|
101618
101619
|
}
|
|
101619
|
-
const template$
|
|
101620
|
+
const template$j = html `
|
|
101620
101621
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$3}"></div>
|
|
101621
101622
|
`;
|
|
101622
101623
|
const sprightIconBreakpointExecutionPointer = IconBreakpointExecutionPointer.compose({
|
|
101623
101624
|
baseName: 'icon-breakpoint-execution-pointer',
|
|
101624
|
-
template: template$
|
|
101625
|
-
styles: styles$
|
|
101625
|
+
template: template$j,
|
|
101626
|
+
styles: styles$1t
|
|
101626
101627
|
});
|
|
101627
101628
|
DesignSystem.getOrCreate()
|
|
101628
101629
|
.withPrefix('spright')
|
|
@@ -101650,13 +101651,13 @@ focus outline in that case.
|
|
|
101650
101651
|
*/
|
|
101651
101652
|
class IconBreakpointHitDisabled extends Icon {
|
|
101652
101653
|
}
|
|
101653
|
-
const template$
|
|
101654
|
+
const template$i = html `
|
|
101654
101655
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$2}"></div>
|
|
101655
101656
|
`;
|
|
101656
101657
|
const sprightIconBreakpointHitDisabled = IconBreakpointHitDisabled.compose({
|
|
101657
101658
|
baseName: 'icon-breakpoint-hit-disabled',
|
|
101658
|
-
template: template$
|
|
101659
|
-
styles: styles$
|
|
101659
|
+
template: template$i,
|
|
101660
|
+
styles: styles$1t
|
|
101660
101661
|
});
|
|
101661
101662
|
DesignSystem.getOrCreate()
|
|
101662
101663
|
.withPrefix('spright')
|
|
@@ -101685,13 +101686,13 @@ focus outline in that case.
|
|
|
101685
101686
|
*/
|
|
101686
101687
|
class IconBreakpointHit extends Icon {
|
|
101687
101688
|
}
|
|
101688
|
-
const template$
|
|
101689
|
+
const template$h = html `
|
|
101689
101690
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$1}"></div>
|
|
101690
101691
|
`;
|
|
101691
101692
|
const sprightIconBreakpointHit = IconBreakpointHit.compose({
|
|
101692
101693
|
baseName: 'icon-breakpoint-hit',
|
|
101693
|
-
template: template$
|
|
101694
|
-
styles: styles$
|
|
101694
|
+
template: template$h,
|
|
101695
|
+
styles: styles$1t
|
|
101695
101696
|
});
|
|
101696
101697
|
DesignSystem.getOrCreate()
|
|
101697
101698
|
.withPrefix('spright')
|
|
@@ -101716,21 +101717,21 @@ focus outline in that case.
|
|
|
101716
101717
|
*/
|
|
101717
101718
|
class IconBreakpointHover extends Icon {
|
|
101718
101719
|
}
|
|
101719
|
-
const template$
|
|
101720
|
+
const template$g = html `
|
|
101720
101721
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData}"></div>
|
|
101721
101722
|
`;
|
|
101722
101723
|
const sprightIconBreakpointHover = IconBreakpointHover.compose({
|
|
101723
101724
|
baseName: 'icon-breakpoint-hover',
|
|
101724
|
-
template: template$
|
|
101725
|
-
styles: styles$
|
|
101725
|
+
template: template$g,
|
|
101726
|
+
styles: styles$1t
|
|
101726
101727
|
});
|
|
101727
101728
|
DesignSystem.getOrCreate()
|
|
101728
101729
|
.withPrefix('spright')
|
|
101729
101730
|
.register(sprightIconBreakpointHover());
|
|
101730
101731
|
const iconBreakpointHoverTag = 'spright-icon-breakpoint-hover';
|
|
101731
101732
|
|
|
101732
|
-
const styles$
|
|
101733
|
-
${styles$
|
|
101733
|
+
const styles$l = css `
|
|
101734
|
+
${styles$1t}
|
|
101734
101735
|
|
|
101735
101736
|
.icon svg {
|
|
101736
101737
|
fill: ${calendarEventBorderReservationColor};
|
|
@@ -101747,15 +101748,15 @@ focus outline in that case.
|
|
|
101747
101748
|
}
|
|
101748
101749
|
const sprightIconWorkItemCalendarWeek = IconWorkItemCalendarWeek.compose({
|
|
101749
101750
|
baseName: 'icon-work-item-calendar-week',
|
|
101750
|
-
template: template$
|
|
101751
|
-
styles: styles$
|
|
101751
|
+
template: template$1h,
|
|
101752
|
+
styles: styles$l
|
|
101752
101753
|
});
|
|
101753
101754
|
DesignSystem.getOrCreate()
|
|
101754
101755
|
.withPrefix('spright')
|
|
101755
101756
|
.register(sprightIconWorkItemCalendarWeek());
|
|
101756
101757
|
|
|
101757
|
-
const styles$
|
|
101758
|
-
${styles$
|
|
101758
|
+
const styles$k = css `
|
|
101759
|
+
${styles$1t}
|
|
101759
101760
|
|
|
101760
101761
|
.icon svg {
|
|
101761
101762
|
fill: ${calendarEventBorderCalibrationColor};
|
|
@@ -101772,15 +101773,15 @@ focus outline in that case.
|
|
|
101772
101773
|
}
|
|
101773
101774
|
const sprightIconWorkItemCalipers = IconWorkItemCalipers.compose({
|
|
101774
101775
|
baseName: 'icon-work-item-calipers',
|
|
101775
|
-
template: template$
|
|
101776
|
-
styles: styles$
|
|
101776
|
+
template: template$1h,
|
|
101777
|
+
styles: styles$k
|
|
101777
101778
|
});
|
|
101778
101779
|
DesignSystem.getOrCreate()
|
|
101779
101780
|
.withPrefix('spright')
|
|
101780
101781
|
.register(sprightIconWorkItemCalipers());
|
|
101781
101782
|
|
|
101782
|
-
const styles$
|
|
101783
|
-
${styles$
|
|
101783
|
+
const styles$j = css `
|
|
101784
|
+
${styles$1t}
|
|
101784
101785
|
|
|
101785
101786
|
.icon svg {
|
|
101786
101787
|
fill: ${calendarEventBorderTransportOrderColor};
|
|
@@ -101797,15 +101798,15 @@ focus outline in that case.
|
|
|
101797
101798
|
}
|
|
101798
101799
|
const sprightIconWorkItemForklift = IconWorkItemForklift.compose({
|
|
101799
101800
|
baseName: 'icon-work-item-forklift',
|
|
101800
|
-
template: template$
|
|
101801
|
-
styles: styles$
|
|
101801
|
+
template: template$1h,
|
|
101802
|
+
styles: styles$j
|
|
101802
101803
|
});
|
|
101803
101804
|
DesignSystem.getOrCreate()
|
|
101804
101805
|
.withPrefix('spright')
|
|
101805
101806
|
.register(sprightIconWorkItemForklift());
|
|
101806
101807
|
|
|
101807
|
-
const styles$
|
|
101808
|
-
${styles$
|
|
101808
|
+
const styles$i = css `
|
|
101809
|
+
${styles$1t}
|
|
101809
101810
|
|
|
101810
101811
|
.icon svg {
|
|
101811
101812
|
fill: ${calendarEventBorderStaticColor};
|
|
@@ -101822,15 +101823,15 @@ focus outline in that case.
|
|
|
101822
101823
|
}
|
|
101823
101824
|
const sprightIconWorkItemRectangleCheckLines = IconWorkItemRectangleCheckLines.compose({
|
|
101824
101825
|
baseName: 'icon-work-item-rectangle-check-lines',
|
|
101825
|
-
template: template$
|
|
101826
|
-
styles: styles$
|
|
101826
|
+
template: template$1h,
|
|
101827
|
+
styles: styles$i
|
|
101827
101828
|
});
|
|
101828
101829
|
DesignSystem.getOrCreate()
|
|
101829
101830
|
.withPrefix('spright')
|
|
101830
101831
|
.register(sprightIconWorkItemRectangleCheckLines());
|
|
101831
101832
|
|
|
101832
|
-
const styles$
|
|
101833
|
-
${styles$
|
|
101833
|
+
const styles$h = css `
|
|
101834
|
+
${styles$1t}
|
|
101834
101835
|
|
|
101835
101836
|
.icon svg {
|
|
101836
101837
|
fill: ${calendarEventBorderWorkOrderColor};
|
|
@@ -101847,15 +101848,15 @@ focus outline in that case.
|
|
|
101847
101848
|
}
|
|
101848
101849
|
const sprightIconWorkItemSquareListCog = IconWorkItemSquareListCog.compose({
|
|
101849
101850
|
baseName: 'icon-work-item-square-list-cog',
|
|
101850
|
-
template: template$
|
|
101851
|
-
styles: styles$
|
|
101851
|
+
template: template$1h,
|
|
101852
|
+
styles: styles$h
|
|
101852
101853
|
});
|
|
101853
101854
|
DesignSystem.getOrCreate()
|
|
101854
101855
|
.withPrefix('spright')
|
|
101855
101856
|
.register(sprightIconWorkItemSquareListCog());
|
|
101856
101857
|
|
|
101857
|
-
const styles$
|
|
101858
|
-
${styles$
|
|
101858
|
+
const styles$g = css `
|
|
101859
|
+
${styles$1t}
|
|
101859
101860
|
|
|
101860
101861
|
.icon svg {
|
|
101861
101862
|
fill: ${calendarEventBorderJobColor};
|
|
@@ -101872,15 +101873,15 @@ focus outline in that case.
|
|
|
101872
101873
|
}
|
|
101873
101874
|
const sprightIconWorkItemUserHelmetSafety = IconWorkItemUserHelmetSafety.compose({
|
|
101874
101875
|
baseName: 'icon-work-item-user-helmet-safety',
|
|
101875
|
-
template: template$
|
|
101876
|
-
styles: styles$
|
|
101876
|
+
template: template$1h,
|
|
101877
|
+
styles: styles$g
|
|
101877
101878
|
});
|
|
101878
101879
|
DesignSystem.getOrCreate()
|
|
101879
101880
|
.withPrefix('spright')
|
|
101880
101881
|
.register(sprightIconWorkItemUserHelmetSafety());
|
|
101881
101882
|
|
|
101882
|
-
const styles$
|
|
101883
|
-
${styles$
|
|
101883
|
+
const styles$f = css `
|
|
101884
|
+
${styles$1t}
|
|
101884
101885
|
|
|
101885
101886
|
.icon svg {
|
|
101886
101887
|
fill: ${calendarEventBorderMaintenanceColor};
|
|
@@ -101897,14 +101898,14 @@ focus outline in that case.
|
|
|
101897
101898
|
}
|
|
101898
101899
|
const sprightIconWorkItemWrenchHammer = IconWorkItemWrenchHammer.compose({
|
|
101899
101900
|
baseName: 'icon-work-item-wrench-hammer',
|
|
101900
|
-
template: template$
|
|
101901
|
-
styles: styles$
|
|
101901
|
+
template: template$1h,
|
|
101902
|
+
styles: styles$f
|
|
101902
101903
|
});
|
|
101903
101904
|
DesignSystem.getOrCreate()
|
|
101904
101905
|
.withPrefix('spright')
|
|
101905
101906
|
.register(sprightIconWorkItemWrenchHammer());
|
|
101906
101907
|
|
|
101907
|
-
const styles$
|
|
101908
|
+
const styles$e = css `
|
|
101908
101909
|
${display$1('inline-block')}
|
|
101909
101910
|
|
|
101910
101911
|
:host {
|
|
@@ -101929,7 +101930,7 @@ focus outline in that case.
|
|
|
101929
101930
|
}
|
|
101930
101931
|
`;
|
|
101931
101932
|
|
|
101932
|
-
const template$
|
|
101933
|
+
const template$f = html `<slot></slot>`;
|
|
101933
101934
|
|
|
101934
101935
|
/**
|
|
101935
101936
|
* A Spright demo component (not for production use)
|
|
@@ -101938,8 +101939,8 @@ focus outline in that case.
|
|
|
101938
101939
|
}
|
|
101939
101940
|
const sprightRectangle = Rectangle.compose({
|
|
101940
101941
|
baseName: 'rectangle',
|
|
101941
|
-
template: template$
|
|
101942
|
-
styles: styles$
|
|
101942
|
+
template: template$f,
|
|
101943
|
+
styles: styles$e
|
|
101943
101944
|
});
|
|
101944
101945
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightRectangle());
|
|
101945
101946
|
|
|
@@ -101966,7 +101967,7 @@ focus outline in that case.
|
|
|
101966
101967
|
block: 'block'
|
|
101967
101968
|
};
|
|
101968
101969
|
|
|
101969
|
-
const styles$
|
|
101970
|
+
const styles$d = css `
|
|
101970
101971
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
101971
101972
|
|
|
101972
101973
|
@layer base {
|
|
@@ -102072,7 +102073,7 @@ focus outline in that case.
|
|
|
102072
102073
|
}
|
|
102073
102074
|
`));
|
|
102074
102075
|
|
|
102075
|
-
const template$
|
|
102076
|
+
const template$e = html `
|
|
102076
102077
|
<details
|
|
102077
102078
|
class="accordion-item-details"
|
|
102078
102079
|
?open="${x => x.expanded}"
|
|
@@ -102123,8 +102124,8 @@ focus outline in that case.
|
|
|
102123
102124
|
], FvAccordionItem.prototype, "appearance", void 0);
|
|
102124
102125
|
const okFvAccordionItem = FvAccordionItem.compose({
|
|
102125
102126
|
baseName: 'fv-accordion-item',
|
|
102126
|
-
template: template$
|
|
102127
|
-
styles: styles$
|
|
102127
|
+
template: template$e,
|
|
102128
|
+
styles: styles$d
|
|
102128
102129
|
});
|
|
102129
102130
|
DesignSystem.getOrCreate()
|
|
102130
102131
|
.withPrefix('ok')
|
|
@@ -102139,7 +102140,7 @@ focus outline in that case.
|
|
|
102139
102140
|
card: 'card'
|
|
102140
102141
|
};
|
|
102141
102142
|
|
|
102142
|
-
const styles$
|
|
102143
|
+
const styles$c = css `
|
|
102143
102144
|
${display('block')}
|
|
102144
102145
|
|
|
102145
102146
|
:host {
|
|
@@ -102490,7 +102491,7 @@ focus outline in that case.
|
|
|
102490
102491
|
</div>
|
|
102491
102492
|
</div>
|
|
102492
102493
|
`;
|
|
102493
|
-
const template$
|
|
102494
|
+
const template$d = html `
|
|
102494
102495
|
${when(x => x.interactionMode === FvCardInteractionMode.card, html `
|
|
102495
102496
|
<${cardButtonTag}
|
|
102496
102497
|
class="card-shell card-button-shell"
|
|
@@ -102638,14 +102639,14 @@ focus outline in that case.
|
|
|
102638
102639
|
], FvCard.prototype, "hasFooterEndContent", void 0);
|
|
102639
102640
|
const okFvCard = FvCard.compose({
|
|
102640
102641
|
baseName: 'fv-card',
|
|
102641
|
-
template: template$
|
|
102642
|
-
styles: styles$
|
|
102642
|
+
template: template$d,
|
|
102643
|
+
styles: styles$c
|
|
102643
102644
|
});
|
|
102644
102645
|
DesignSystem.getOrCreate()
|
|
102645
102646
|
.withPrefix('ok')
|
|
102646
102647
|
.register(okFvCard());
|
|
102647
102648
|
|
|
102648
|
-
const styles$
|
|
102649
|
+
const styles$b = css `
|
|
102649
102650
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
102650
102651
|
|
|
102651
102652
|
@layer base {
|
|
@@ -102893,7 +102894,7 @@ focus outline in that case.
|
|
|
102893
102894
|
@layer top {}
|
|
102894
102895
|
`;
|
|
102895
102896
|
|
|
102896
|
-
const template$
|
|
102897
|
+
const template$c = html `
|
|
102897
102898
|
<div class="chip-selector">
|
|
102898
102899
|
${when(x => x.label.length > 0, html `
|
|
102899
102900
|
<label id="${x => x.labelId}" class="label" for="${x => x.inputId}">
|
|
@@ -103385,12 +103386,12 @@ focus outline in that case.
|
|
|
103385
103386
|
], FvChipSelector.prototype, "field", void 0);
|
|
103386
103387
|
const okFvChipSelector = FvChipSelector.compose({
|
|
103387
103388
|
baseName: 'fv-chip-selector',
|
|
103388
|
-
template: template$
|
|
103389
|
-
styles: styles$
|
|
103389
|
+
template: template$c,
|
|
103390
|
+
styles: styles$b
|
|
103390
103391
|
});
|
|
103391
103392
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvChipSelector());
|
|
103392
103393
|
|
|
103393
|
-
const styles$
|
|
103394
|
+
const styles$a = css `
|
|
103394
103395
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
103395
103396
|
|
|
103396
103397
|
@layer base {
|
|
@@ -103442,7 +103443,7 @@ focus outline in that case.
|
|
|
103442
103443
|
@layer top {}
|
|
103443
103444
|
`;
|
|
103444
103445
|
|
|
103445
|
-
const template$
|
|
103446
|
+
const template$b = html `
|
|
103446
103447
|
<button
|
|
103447
103448
|
id="${x => x.tooltipAnchorId}"
|
|
103448
103449
|
class="context-help-trigger"
|
|
@@ -103490,11 +103491,482 @@ focus outline in that case.
|
|
|
103490
103491
|
], FvContextHelp.prototype, "iconVisible", void 0);
|
|
103491
103492
|
const okFvContextHelp = FvContextHelp.compose({
|
|
103492
103493
|
baseName: 'fv-context-help',
|
|
103493
|
-
template: template$
|
|
103494
|
-
styles: styles$
|
|
103494
|
+
template: template$b,
|
|
103495
|
+
styles: styles$a
|
|
103495
103496
|
});
|
|
103496
103497
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvContextHelp());
|
|
103497
103498
|
|
|
103499
|
+
const styles$9 = css `
|
|
103500
|
+
@layer base, hover, selected;
|
|
103501
|
+
|
|
103502
|
+
@layer base {
|
|
103503
|
+
${display('block')}
|
|
103504
|
+
|
|
103505
|
+
:host {
|
|
103506
|
+
position: relative;
|
|
103507
|
+
color: ${bodyFontColor};
|
|
103508
|
+
cursor: pointer;
|
|
103509
|
+
user-select: none;
|
|
103510
|
+
}
|
|
103511
|
+
|
|
103512
|
+
:host([hidden]) {
|
|
103513
|
+
display: none;
|
|
103514
|
+
}
|
|
103515
|
+
|
|
103516
|
+
.item {
|
|
103517
|
+
display: grid;
|
|
103518
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
103519
|
+
align-items: center;
|
|
103520
|
+
gap: ${standardPadding};
|
|
103521
|
+
min-block-size: 76px;
|
|
103522
|
+
padding: 14px 18px 14px 22px;
|
|
103523
|
+
background: transparent;
|
|
103524
|
+
}
|
|
103525
|
+
|
|
103526
|
+
:host([compact]) .item {
|
|
103527
|
+
min-block-size: 56px;
|
|
103528
|
+
padding: 10px 18px 10px 22px;
|
|
103529
|
+
}
|
|
103530
|
+
|
|
103531
|
+
.text {
|
|
103532
|
+
min-inline-size: 0;
|
|
103533
|
+
}
|
|
103534
|
+
|
|
103535
|
+
.title {
|
|
103536
|
+
overflow: hidden;
|
|
103537
|
+
text-overflow: ellipsis;
|
|
103538
|
+
white-space: nowrap;
|
|
103539
|
+
font: ${bodyFont};
|
|
103540
|
+
font-weight: 600;
|
|
103541
|
+
color: ${bodyFontColor};
|
|
103542
|
+
}
|
|
103543
|
+
|
|
103544
|
+
.subtitle {
|
|
103545
|
+
overflow: hidden;
|
|
103546
|
+
text-overflow: ellipsis;
|
|
103547
|
+
white-space: nowrap;
|
|
103548
|
+
margin-block-start: 4px;
|
|
103549
|
+
font: ${bodyFont};
|
|
103550
|
+
color: ${placeholderFontColor};
|
|
103551
|
+
}
|
|
103552
|
+
|
|
103553
|
+
:host([compact]) .subtitle {
|
|
103554
|
+
margin-block-start: 2px;
|
|
103555
|
+
}
|
|
103556
|
+
|
|
103557
|
+
.status {
|
|
103558
|
+
display: inline-flex;
|
|
103559
|
+
align-items: center;
|
|
103560
|
+
justify-content: center;
|
|
103561
|
+
inline-size: 16px;
|
|
103562
|
+
block-size: 16px;
|
|
103563
|
+
flex: 0 0 auto;
|
|
103564
|
+
}
|
|
103565
|
+
|
|
103566
|
+
.status-icon {
|
|
103567
|
+
inline-size: 10px;
|
|
103568
|
+
block-size: 10px;
|
|
103569
|
+
color: currentColor;
|
|
103570
|
+
${iconColor.cssCustomProperty}: currentColor;
|
|
103571
|
+
}
|
|
103572
|
+
}
|
|
103573
|
+
|
|
103574
|
+
@layer hover {
|
|
103575
|
+
:host(:hover) .item {
|
|
103576
|
+
background: ${fillHoverColor};
|
|
103577
|
+
}
|
|
103578
|
+
}
|
|
103579
|
+
|
|
103580
|
+
@layer selected {
|
|
103581
|
+
:host([selected]) .item {
|
|
103582
|
+
background: ${fillSelectedColor};
|
|
103583
|
+
}
|
|
103584
|
+
|
|
103585
|
+
:host([selected])::before {
|
|
103586
|
+
content: '';
|
|
103587
|
+
position: absolute;
|
|
103588
|
+
inset-block: 0;
|
|
103589
|
+
inset-inline-start: 0;
|
|
103590
|
+
inline-size: calc(${borderWidth} * 4);
|
|
103591
|
+
background: ${borderHoverColor};
|
|
103592
|
+
}
|
|
103593
|
+
}
|
|
103594
|
+
`;
|
|
103595
|
+
|
|
103596
|
+
const template$a = html `
|
|
103597
|
+
<div class="item" part="item">
|
|
103598
|
+
<div class="text" part="text">
|
|
103599
|
+
<div class="title" part="title">${x => x.titleText}</div>
|
|
103600
|
+
<div class="subtitle" part="subtitle">${x => x.subtitle}</div>
|
|
103601
|
+
</div>
|
|
103602
|
+
<div class="status" part="status" ?hidden="${x => !x.hasStatus}">
|
|
103603
|
+
<slot
|
|
103604
|
+
name="status"
|
|
103605
|
+
@slotchange="${(x, c) => x.handleStatusSlotChange(c.event)}"
|
|
103606
|
+
>
|
|
103607
|
+
${when(x => x.statusColor.trim().length > 0, html `
|
|
103608
|
+
<${iconCircleFilledTag}
|
|
103609
|
+
class="status-icon"
|
|
103610
|
+
part="status-icon"
|
|
103611
|
+
role="${x => (x.fallbackStatusLabel ? 'img' : null)}"
|
|
103612
|
+
aria-label="${x => x.fallbackStatusLabel}"
|
|
103613
|
+
aria-hidden="${x => (x.fallbackStatusLabel === null ? 'true' : null)}"
|
|
103614
|
+
style="${x => `color: ${x.statusColor};`}"
|
|
103615
|
+
></${iconCircleFilledTag}>
|
|
103616
|
+
`)}
|
|
103617
|
+
</slot>
|
|
103618
|
+
</div>
|
|
103619
|
+
</div>
|
|
103620
|
+
`;
|
|
103621
|
+
|
|
103622
|
+
/**
|
|
103623
|
+
* A selectable master-detail list item with title, subtitle, and optional status content.
|
|
103624
|
+
*/
|
|
103625
|
+
class FvMasterDetailListItem extends FoundationElement {
|
|
103626
|
+
constructor() {
|
|
103627
|
+
super(...arguments);
|
|
103628
|
+
this.titleText = '';
|
|
103629
|
+
this.subtitle = '';
|
|
103630
|
+
this.value = '';
|
|
103631
|
+
this.compact = false;
|
|
103632
|
+
this.selected = false;
|
|
103633
|
+
this.statusColor = '';
|
|
103634
|
+
this.statusLabel = '';
|
|
103635
|
+
/** @internal */
|
|
103636
|
+
this.hasStatusSlotContent = false;
|
|
103637
|
+
}
|
|
103638
|
+
/** @internal */
|
|
103639
|
+
connectedCallback() {
|
|
103640
|
+
super.connectedCallback();
|
|
103641
|
+
this.setAttribute('role', 'option');
|
|
103642
|
+
this.syncSelectionAria();
|
|
103643
|
+
}
|
|
103644
|
+
/** @internal */
|
|
103645
|
+
selectedChanged() {
|
|
103646
|
+
if (this.$fastController.isConnected) {
|
|
103647
|
+
this.syncSelectionAria();
|
|
103648
|
+
}
|
|
103649
|
+
}
|
|
103650
|
+
/** @internal */
|
|
103651
|
+
handleStatusSlotChange(event) {
|
|
103652
|
+
const slot = event.target;
|
|
103653
|
+
this.hasStatusSlotContent = slot.assignedNodes({ flatten: true }).length > 0;
|
|
103654
|
+
}
|
|
103655
|
+
/** @internal */
|
|
103656
|
+
get hasStatus() {
|
|
103657
|
+
return this.hasStatusSlotContent || this.statusColor.trim().length > 0;
|
|
103658
|
+
}
|
|
103659
|
+
/** @internal */
|
|
103660
|
+
get fallbackStatusLabel() {
|
|
103661
|
+
if (this.hasStatusSlotContent || this.statusColor.trim().length === 0) {
|
|
103662
|
+
return null;
|
|
103663
|
+
}
|
|
103664
|
+
const normalizedStatusLabel = this.statusLabel.trim();
|
|
103665
|
+
return normalizedStatusLabel.length > 0 ? normalizedStatusLabel : null;
|
|
103666
|
+
}
|
|
103667
|
+
syncSelectionAria() {
|
|
103668
|
+
this.setAttribute('aria-selected', String(this.selected));
|
|
103669
|
+
}
|
|
103670
|
+
}
|
|
103671
|
+
__decorate([
|
|
103672
|
+
attr({ attribute: 'title-text' })
|
|
103673
|
+
], FvMasterDetailListItem.prototype, "titleText", void 0);
|
|
103674
|
+
__decorate([
|
|
103675
|
+
attr
|
|
103676
|
+
], FvMasterDetailListItem.prototype, "subtitle", void 0);
|
|
103677
|
+
__decorate([
|
|
103678
|
+
attr
|
|
103679
|
+
], FvMasterDetailListItem.prototype, "value", void 0);
|
|
103680
|
+
__decorate([
|
|
103681
|
+
attr({ mode: 'boolean' })
|
|
103682
|
+
], FvMasterDetailListItem.prototype, "compact", void 0);
|
|
103683
|
+
__decorate([
|
|
103684
|
+
attr({ mode: 'boolean' })
|
|
103685
|
+
], FvMasterDetailListItem.prototype, "selected", void 0);
|
|
103686
|
+
__decorate([
|
|
103687
|
+
attr({ attribute: 'status-color' })
|
|
103688
|
+
], FvMasterDetailListItem.prototype, "statusColor", void 0);
|
|
103689
|
+
__decorate([
|
|
103690
|
+
attr({ attribute: 'status-label' })
|
|
103691
|
+
], FvMasterDetailListItem.prototype, "statusLabel", void 0);
|
|
103692
|
+
__decorate([
|
|
103693
|
+
observable
|
|
103694
|
+
], FvMasterDetailListItem.prototype, "hasStatusSlotContent", void 0);
|
|
103695
|
+
const okFvMasterDetailListItem = FvMasterDetailListItem.compose({
|
|
103696
|
+
baseName: 'fv-master-detail-list-item',
|
|
103697
|
+
template: template$a,
|
|
103698
|
+
styles: styles$9
|
|
103699
|
+
});
|
|
103700
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(okFvMasterDetailListItem());
|
|
103701
|
+
const fvMasterDetailListItemTag = 'ok-fv-master-detail-list-item';
|
|
103702
|
+
|
|
103703
|
+
const styles$8 = css `
|
|
103704
|
+
@layer base, hover, focusVisible;
|
|
103705
|
+
|
|
103706
|
+
@layer base {
|
|
103707
|
+
${display('block')}
|
|
103708
|
+
|
|
103709
|
+
:host {
|
|
103710
|
+
color: ${bodyFontColor};
|
|
103711
|
+
font: ${bodyFont};
|
|
103712
|
+
}
|
|
103713
|
+
|
|
103714
|
+
.master-detail-list {
|
|
103715
|
+
display: flex;
|
|
103716
|
+
flex-direction: column;
|
|
103717
|
+
min-block-size: 0;
|
|
103718
|
+
}
|
|
103719
|
+
|
|
103720
|
+
.filter-row {
|
|
103721
|
+
padding: ${standardPadding};
|
|
103722
|
+
padding-block-end: 10px;
|
|
103723
|
+
}
|
|
103724
|
+
|
|
103725
|
+
.filter-input {
|
|
103726
|
+
-webkit-appearance: none;
|
|
103727
|
+
appearance: none;
|
|
103728
|
+
inline-size: 100%;
|
|
103729
|
+
padding: 10px 2px 12px;
|
|
103730
|
+
font: inherit;
|
|
103731
|
+
color: inherit;
|
|
103732
|
+
border: none;
|
|
103733
|
+
border-bottom: ${borderWidth} solid rgba(${borderRgbPartialColor}, 0.35);
|
|
103734
|
+
background: transparent;
|
|
103735
|
+
outline: none;
|
|
103736
|
+
transition: border-color ${smallDelay} ease-in-out;
|
|
103737
|
+
}
|
|
103738
|
+
|
|
103739
|
+
.filter-input::placeholder {
|
|
103740
|
+
color: ${placeholderFontColor};
|
|
103741
|
+
}
|
|
103742
|
+
|
|
103743
|
+
.items {
|
|
103744
|
+
display: block;
|
|
103745
|
+
min-block-size: 0;
|
|
103746
|
+
overflow: auto;
|
|
103747
|
+
}
|
|
103748
|
+
|
|
103749
|
+
.empty-state {
|
|
103750
|
+
padding: 18px;
|
|
103751
|
+
color: ${placeholderFontColor};
|
|
103752
|
+
}
|
|
103753
|
+
}
|
|
103754
|
+
|
|
103755
|
+
@layer hover {
|
|
103756
|
+
.filter-input:hover {
|
|
103757
|
+
border-bottom-color: ${borderHoverColor};
|
|
103758
|
+
}
|
|
103759
|
+
}
|
|
103760
|
+
|
|
103761
|
+
@layer focusVisible {
|
|
103762
|
+
.filter-input:focus-visible {
|
|
103763
|
+
border-bottom-color: ${borderHoverColor};
|
|
103764
|
+
}
|
|
103765
|
+
}
|
|
103766
|
+
`;
|
|
103767
|
+
|
|
103768
|
+
const template$9 = html `
|
|
103769
|
+
<div class="master-detail-list">
|
|
103770
|
+
<div class="filter-row">
|
|
103771
|
+
<input
|
|
103772
|
+
id="${x => x.inputId}"
|
|
103773
|
+
class="filter-input"
|
|
103774
|
+
type="text"
|
|
103775
|
+
placeholder="${x => x.placeholder}"
|
|
103776
|
+
:value="${x => x.filterText}"
|
|
103777
|
+
aria-controls="${x => x.listboxId}"
|
|
103778
|
+
aria-activedescendant="${x => x.activeItemId}"
|
|
103779
|
+
aria-label="${x => x.placeholder}"
|
|
103780
|
+
role="combobox"
|
|
103781
|
+
aria-haspopup="listbox"
|
|
103782
|
+
aria-autocomplete="list"
|
|
103783
|
+
aria-expanded="true"
|
|
103784
|
+
${ref('captureFilterInput')}
|
|
103785
|
+
@input="${(x, c) => x.handleFilterInput(c.event)}"
|
|
103786
|
+
@keydown="${(x, c) => x.handleFilterKeydown(c.event)}"
|
|
103787
|
+
/>
|
|
103788
|
+
</div>
|
|
103789
|
+
<div
|
|
103790
|
+
id="${x => x.listboxId}"
|
|
103791
|
+
class="items"
|
|
103792
|
+
role="listbox"
|
|
103793
|
+
@click="${(x, c) => x.handleItemsClick(c.event)}"
|
|
103794
|
+
>
|
|
103795
|
+
<slot @slotchange="${x => x.handleItemsSlotChange()}"></slot>
|
|
103796
|
+
${when(x => !x.hasVisibleItems, html `
|
|
103797
|
+
<div class="empty-state">No matches</div>
|
|
103798
|
+
`)}
|
|
103799
|
+
</div>
|
|
103800
|
+
</div>
|
|
103801
|
+
`;
|
|
103802
|
+
|
|
103803
|
+
/**
|
|
103804
|
+
* A filterable master-detail list with keyboard selection.
|
|
103805
|
+
*/
|
|
103806
|
+
class FvMasterDetailList extends FoundationElement {
|
|
103807
|
+
constructor() {
|
|
103808
|
+
super(...arguments);
|
|
103809
|
+
this.placeholder = 'Filter items...';
|
|
103810
|
+
/** @internal */
|
|
103811
|
+
this.filterText = '';
|
|
103812
|
+
/** @internal */
|
|
103813
|
+
this.activeItemId = null;
|
|
103814
|
+
/** @internal */
|
|
103815
|
+
this.items = [];
|
|
103816
|
+
/** @internal */
|
|
103817
|
+
this.inputId = uniqueId('ok-fv-master-detail-list-input');
|
|
103818
|
+
/** @internal */
|
|
103819
|
+
this.listboxId = uniqueId('ok-fv-master-detail-list-listbox');
|
|
103820
|
+
this.filterInput = null;
|
|
103821
|
+
this.selectedItem = null;
|
|
103822
|
+
}
|
|
103823
|
+
/** @internal */
|
|
103824
|
+
connectedCallback() {
|
|
103825
|
+
super.connectedCallback();
|
|
103826
|
+
queueMicrotask(() => {
|
|
103827
|
+
this.refreshItems();
|
|
103828
|
+
});
|
|
103829
|
+
}
|
|
103830
|
+
/** @internal */
|
|
103831
|
+
filterTextChanged() {
|
|
103832
|
+
if (this.$fastController.isConnected) {
|
|
103833
|
+
this.applyFilter(true);
|
|
103834
|
+
}
|
|
103835
|
+
}
|
|
103836
|
+
/** @internal */
|
|
103837
|
+
captureFilterInput(input) {
|
|
103838
|
+
this.filterInput = input;
|
|
103839
|
+
}
|
|
103840
|
+
/** @internal */
|
|
103841
|
+
get hasVisibleItems() {
|
|
103842
|
+
return this.visibleItems.length > 0;
|
|
103843
|
+
}
|
|
103844
|
+
/** @internal */
|
|
103845
|
+
handleFilterInput(event) {
|
|
103846
|
+
const input = event.target;
|
|
103847
|
+
this.filterText = input.value;
|
|
103848
|
+
}
|
|
103849
|
+
/** @internal */
|
|
103850
|
+
handleFilterKeydown(event) {
|
|
103851
|
+
if (event.key !== 'ArrowDown' && event.key !== 'ArrowUp') {
|
|
103852
|
+
return true;
|
|
103853
|
+
}
|
|
103854
|
+
const visibleItems = this.visibleItems;
|
|
103855
|
+
if (visibleItems.length === 0) {
|
|
103856
|
+
event.preventDefault();
|
|
103857
|
+
return false;
|
|
103858
|
+
}
|
|
103859
|
+
const currentIndex = visibleItems.findIndex(item => item.selected);
|
|
103860
|
+
let startingIndex = currentIndex;
|
|
103861
|
+
if (startingIndex < 0) {
|
|
103862
|
+
startingIndex = event.key === 'ArrowDown' ? -1 : visibleItems.length;
|
|
103863
|
+
}
|
|
103864
|
+
const nextIndex = event.key === 'ArrowDown'
|
|
103865
|
+
? Math.min(startingIndex + 1, visibleItems.length - 1)
|
|
103866
|
+
: Math.max(startingIndex - 1, 0);
|
|
103867
|
+
this.setSelectedItem(visibleItems[nextIndex] ?? null, true);
|
|
103868
|
+
visibleItems[nextIndex]?.scrollIntoView({ block: 'nearest' });
|
|
103869
|
+
event.preventDefault();
|
|
103870
|
+
return false;
|
|
103871
|
+
}
|
|
103872
|
+
/** @internal */
|
|
103873
|
+
handleItemsSlotChange() {
|
|
103874
|
+
this.refreshItems();
|
|
103875
|
+
}
|
|
103876
|
+
/** @internal */
|
|
103877
|
+
handleItemsClick(event) {
|
|
103878
|
+
const item = event.composedPath().find(pathItem => pathItem instanceof HTMLElement && pathItem.localName === fvMasterDetailListItemTag);
|
|
103879
|
+
if (!item || item.hidden) {
|
|
103880
|
+
return;
|
|
103881
|
+
}
|
|
103882
|
+
this.setSelectedItem(item, true);
|
|
103883
|
+
this.filterInput?.focus();
|
|
103884
|
+
}
|
|
103885
|
+
get visibleItems() {
|
|
103886
|
+
return this.items.filter(item => !item.hidden);
|
|
103887
|
+
}
|
|
103888
|
+
refreshItems() {
|
|
103889
|
+
const slot = this.shadowRoot?.querySelector('slot');
|
|
103890
|
+
const assignedItems = slot?.assignedElements({ flatten: true }).filter(element => element instanceof HTMLElement && element.localName === fvMasterDetailListItemTag);
|
|
103891
|
+
this.items = assignedItems ?? [];
|
|
103892
|
+
for (const item of this.items) {
|
|
103893
|
+
if (item.id.length === 0) {
|
|
103894
|
+
item.id = uniqueId('ok-fv-master-detail-list-item');
|
|
103895
|
+
}
|
|
103896
|
+
}
|
|
103897
|
+
this.applyFilter(false);
|
|
103898
|
+
}
|
|
103899
|
+
applyFilter(emitSelectionChange) {
|
|
103900
|
+
const normalizedFilter = diacriticInsensitiveStringNormalizer(this.filterText.trim());
|
|
103901
|
+
let firstVisibleItem = null;
|
|
103902
|
+
for (const item of this.items) {
|
|
103903
|
+
const searchableText = diacriticInsensitiveStringNormalizer(`${item.titleText} ${item.subtitle} ${item.value}`.trim());
|
|
103904
|
+
const matches = normalizedFilter.length === 0 || searchableText.includes(normalizedFilter);
|
|
103905
|
+
item.hidden = !matches;
|
|
103906
|
+
if (matches && firstVisibleItem === null) {
|
|
103907
|
+
firstVisibleItem = item;
|
|
103908
|
+
}
|
|
103909
|
+
}
|
|
103910
|
+
const visibleSelectedItems = this.visibleItems.filter(item => item.selected);
|
|
103911
|
+
const preferredSelectedItem = visibleSelectedItems[0] ?? null;
|
|
103912
|
+
for (const extraSelectedItem of visibleSelectedItems.slice(1)) {
|
|
103913
|
+
extraSelectedItem.selected = false;
|
|
103914
|
+
}
|
|
103915
|
+
if (preferredSelectedItem) {
|
|
103916
|
+
this.setSelectedItem(preferredSelectedItem, emitSelectionChange && preferredSelectedItem !== this.selectedItem);
|
|
103917
|
+
return;
|
|
103918
|
+
}
|
|
103919
|
+
this.setSelectedItem(firstVisibleItem, emitSelectionChange && firstVisibleItem !== this.selectedItem);
|
|
103920
|
+
}
|
|
103921
|
+
setSelectedItem(nextItem, emitChange) {
|
|
103922
|
+
if (this.selectedItem === nextItem) {
|
|
103923
|
+
return;
|
|
103924
|
+
}
|
|
103925
|
+
if (this.selectedItem) {
|
|
103926
|
+
this.selectedItem.selected = false;
|
|
103927
|
+
}
|
|
103928
|
+
this.selectedItem = nextItem;
|
|
103929
|
+
if (this.selectedItem) {
|
|
103930
|
+
this.selectedItem.selected = true;
|
|
103931
|
+
this.activeItemId = this.selectedItem.id;
|
|
103932
|
+
}
|
|
103933
|
+
else {
|
|
103934
|
+
this.activeItemId = null;
|
|
103935
|
+
}
|
|
103936
|
+
if (emitChange) {
|
|
103937
|
+
this.dispatchEvent(new CustomEvent('change', {
|
|
103938
|
+
bubbles: true,
|
|
103939
|
+
composed: true,
|
|
103940
|
+
detail: {
|
|
103941
|
+
item: this.selectedItem,
|
|
103942
|
+
value: this.selectedItem?.value || this.selectedItem?.titleText || null
|
|
103943
|
+
}
|
|
103944
|
+
}));
|
|
103945
|
+
}
|
|
103946
|
+
}
|
|
103947
|
+
}
|
|
103948
|
+
__decorate([
|
|
103949
|
+
attr
|
|
103950
|
+
], FvMasterDetailList.prototype, "placeholder", void 0);
|
|
103951
|
+
__decorate([
|
|
103952
|
+
observable
|
|
103953
|
+
], FvMasterDetailList.prototype, "filterText", void 0);
|
|
103954
|
+
__decorate([
|
|
103955
|
+
observable
|
|
103956
|
+
], FvMasterDetailList.prototype, "activeItemId", void 0);
|
|
103957
|
+
__decorate([
|
|
103958
|
+
observable
|
|
103959
|
+
], FvMasterDetailList.prototype, "items", void 0);
|
|
103960
|
+
const okFvMasterDetailList = FvMasterDetailList.compose({
|
|
103961
|
+
baseName: 'fv-master-detail-list',
|
|
103962
|
+
template: template$9,
|
|
103963
|
+
styles: styles$8,
|
|
103964
|
+
shadowOptions: {
|
|
103965
|
+
delegatesFocus: true
|
|
103966
|
+
}
|
|
103967
|
+
});
|
|
103968
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(okFvMasterDetailList());
|
|
103969
|
+
|
|
103498
103970
|
const styles$7 = css `
|
|
103499
103971
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
103500
103972
|
|
|
@@ -105457,7 +105929,7 @@ focus outline in that case.
|
|
|
105457
105929
|
|
|
105458
105930
|
const template = html `
|
|
105459
105931
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
105460
|
-
>${template$
|
|
105932
|
+
>${template$L}</template
|
|
105461
105933
|
>
|
|
105462
105934
|
`;
|
|
105463
105935
|
|
|
@@ -105543,7 +106015,7 @@ focus outline in that case.
|
|
|
105543
106015
|
const tsTableColumnBreakpoint = TsTableColumnBreakpoint.compose({
|
|
105544
106016
|
baseName: 'ts-table-column-breakpoint',
|
|
105545
106017
|
template,
|
|
105546
|
-
styles: styles$
|
|
106018
|
+
styles: styles$K
|
|
105547
106019
|
});
|
|
105548
106020
|
DesignSystem.getOrCreate()
|
|
105549
106021
|
.withPrefix('ok')
|