@ni/ok-components 1.10.2 → 1.11.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 +1127 -447
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +6560 -6261
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +1154 -145
- package/dist/custom-elements.md +164 -24
- package/dist/esm/fv/all-fv.d.ts +3 -0
- package/dist/esm/fv/all-fv.js +3 -0
- package/dist/esm/fv/all-fv.js.map +1 -1
- package/dist/esm/fv/bulk-edit-field/index.d.ts +40 -0
- package/dist/esm/fv/bulk-edit-field/index.js +120 -0
- package/dist/esm/fv/bulk-edit-field/index.js.map +1 -0
- package/dist/esm/fv/bulk-edit-field/styles.d.ts +1 -0
- package/dist/esm/fv/bulk-edit-field/styles.js +83 -0
- package/dist/esm/fv/bulk-edit-field/styles.js.map +1 -0
- package/dist/esm/fv/bulk-edit-field/template.d.ts +2 -0
- package/dist/esm/fv/bulk-edit-field/template.js +36 -0
- package/dist/esm/fv/bulk-edit-field/template.js.map +1 -0
- package/dist/esm/fv/bulk-edit-field/types.d.ts +7 -0
- package/dist/esm/fv/bulk-edit-field/types.js +7 -0
- package/dist/esm/fv/bulk-edit-field/types.js.map +1 -0
- package/dist/esm/fv/bulk-edit-state/index.d.ts +47 -0
- package/dist/esm/fv/bulk-edit-state/index.js +114 -0
- package/dist/esm/fv/bulk-edit-state/index.js.map +1 -0
- package/dist/esm/fv/edit-commit-bar/index.d.ts +32 -0
- package/dist/esm/fv/edit-commit-bar/index.js +92 -0
- package/dist/esm/fv/edit-commit-bar/index.js.map +1 -0
- package/dist/esm/fv/edit-commit-bar/styles.d.ts +1 -0
- package/dist/esm/fv/edit-commit-bar/styles.js +65 -0
- package/dist/esm/fv/edit-commit-bar/styles.js.map +1 -0
- package/dist/esm/fv/edit-commit-bar/template.d.ts +2 -0
- package/dist/esm/fv/edit-commit-bar/template.js +45 -0
- package/dist/esm/fv/edit-commit-bar/template.js.map +1 -0
- package/dist/esm/fv/edit-commit-bar/types.d.ts +4 -0
- package/dist/esm/fv/edit-commit-bar/types.js +2 -0
- package/dist/esm/fv/edit-commit-bar/types.js.map +1 -0
- package/dist/esm/fv/split-layout/index.d.ts +48 -0
- package/dist/esm/fv/split-layout/index.js +195 -0
- package/dist/esm/fv/split-layout/index.js.map +1 -0
- package/dist/esm/fv/split-layout/styles.d.ts +1 -0
- package/dist/esm/fv/split-layout/styles.js +42 -0
- package/dist/esm/fv/split-layout/styles.js.map +1 -0
- package/dist/esm/fv/split-layout/template.d.ts +2 -0
- package/dist/esm/fv/split-layout/template.js +24 -0
- package/dist/esm/fv/split-layout/template.js.map +1 -0
- package/package.json +3 -3
|
@@ -14916,6 +14916,7 @@
|
|
|
14916
14916
|
linkActiveProminentFont: 'link-active-prominent-font',
|
|
14917
14917
|
placeholderFont: 'placeholder-font',
|
|
14918
14918
|
bodyFont: 'body-font',
|
|
14919
|
+
codeFont: 'code-font',
|
|
14919
14920
|
bodyEmphasizedFont: 'body-emphasized-font',
|
|
14920
14921
|
bodyPlus1Font: 'body-plus-1-font',
|
|
14921
14922
|
bodyPlus1EmphasizedFont: 'body-plus-1-emphasized-font',
|
|
@@ -14980,9 +14981,9 @@
|
|
|
14980
14981
|
const prefix = 'ni-nimble';
|
|
14981
14982
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
14982
14983
|
|
|
14983
|
-
const template$
|
|
14984
|
+
const template$1q = html `<slot></slot>`;
|
|
14984
14985
|
|
|
14985
|
-
const styles$
|
|
14986
|
+
const styles$1G = css `
|
|
14986
14987
|
${display$2('contents')}
|
|
14987
14988
|
|
|
14988
14989
|
:host {
|
|
@@ -15109,8 +15110,8 @@
|
|
|
15109
15110
|
], ThemeProvider.prototype, "theme", void 0);
|
|
15110
15111
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
15111
15112
|
baseName: 'theme-provider',
|
|
15112
|
-
styles: styles$
|
|
15113
|
-
template: template$
|
|
15113
|
+
styles: styles$1G,
|
|
15114
|
+
template: template$1q
|
|
15114
15115
|
});
|
|
15115
15116
|
DesignSystem.getOrCreate()
|
|
15116
15117
|
.withPrefix('nimble')
|
|
@@ -16324,6 +16325,8 @@
|
|
|
16324
16325
|
const ControlLabel1Weight = "600";
|
|
16325
16326
|
const BodyFamily = "Source Sans Pro";
|
|
16326
16327
|
const BodyWeight = "400";
|
|
16328
|
+
const CodeFamily = "Noto Sans Mono";
|
|
16329
|
+
const CodeWeight = "400";
|
|
16327
16330
|
const Body2Family = "Source Sans Pro";
|
|
16328
16331
|
const Body2Weight = "400";
|
|
16329
16332
|
const GroupLabel1Family = "Source Sans Pro";
|
|
@@ -16359,6 +16362,7 @@
|
|
|
16359
16362
|
const Title2Size = "22px";
|
|
16360
16363
|
const ControlLabel1Size = "11px";
|
|
16361
16364
|
const BodySize = "14px";
|
|
16365
|
+
const CodeSize = "13px";
|
|
16362
16366
|
const Body2Size = "16px";
|
|
16363
16367
|
const GroupLabel1Size = "11px";
|
|
16364
16368
|
const ButtonLabel1Size = "14px";
|
|
@@ -16537,6 +16541,7 @@
|
|
|
16537
16541
|
...createFont('linkActiveProminent', createThemeColor(DigitalGreenLight, DigitalGreenLight, hexToRgbaCssColor(White, 0.75)), hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight),
|
|
16538
16542
|
...createFont('placeholder', hexToRgbaCssThemeColor(alias.defaultFontColor, 0.6, 0.6, 0.6), hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), PlaceholderFamily, PlaceholderWeight, PlaceholderSize, PlaceholderLineHeight),
|
|
16539
16543
|
...createFont('body', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), BodyFamily, BodyWeight, BodySize, BodyLineHeight),
|
|
16544
|
+
...createFont('code', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), CodeFamily, CodeWeight, CodeSize, BodyLineHeight),
|
|
16540
16545
|
...createFont('bodyEmphasized', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), BodyEmphasizedFamily, BodyEmphasizedWeight, BodyEmphasizedSize, BodyEmphasizedLineHeight),
|
|
16541
16546
|
...createFont('bodyPlus1', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), Body2Family, Body2Weight, Body2Size, Body2LineHeight),
|
|
16542
16547
|
...createFont('bodyPlus1Emphasized', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), BodyEmphasized2Family, BodyEmphasized2Weight, BodyEmphasized2Size, BodyEmphasized2LineHeight),
|
|
@@ -16683,7 +16688,7 @@
|
|
|
16683
16688
|
const mediumPadding = createStringToken(tokenNames.mediumPadding, tokenValues.mediumPadding);
|
|
16684
16689
|
const standardPadding = createStringToken(tokenNames.standardPadding, tokenValues.standardPadding);
|
|
16685
16690
|
const largePadding = createStringToken(tokenNames.largePadding, tokenValues.largePadding);
|
|
16686
|
-
createStringToken(tokenNames.labelHeight, tokenValues.labelHeight);
|
|
16691
|
+
const labelHeight = createStringToken(tokenNames.labelHeight, tokenValues.labelHeight);
|
|
16687
16692
|
const borderWidth = createStringToken(tokenNames.borderWidth, tokenValues.borderWidth);
|
|
16688
16693
|
const dividerWidth = createStringToken(tokenNames.dividerWidth, tokenValues.dividerWidth);
|
|
16689
16694
|
const iconSize = createStringToken(tokenNames.iconSize, tokenValues.iconSize);
|
|
@@ -16720,6 +16725,7 @@
|
|
|
16720
16725
|
const [linkActiveProminentFont, linkActiveProminentFontColor] = createFontTokens(tokenNames.linkActiveProminentFont, tokenValues.linkActiveProminentFont, tokenValues.linkActiveProminentFontColor, tokenValues.linkActiveProminentDisabledFontColor, tokenValues.linkActiveProminentFontFamily, tokenValues.linkActiveProminentFontWeight, tokenValues.linkActiveProminentFontSize, tokenValues.linkActiveProminentFontLineHeight);
|
|
16721
16726
|
const [placeholderFont, placeholderFontColor] = createFontTokens(tokenNames.placeholderFont, tokenValues.placeholderFont, tokenValues.placeholderFontColor, tokenValues.placeholderDisabledFontColor, tokenValues.placeholderFontFamily, tokenValues.placeholderFontWeight, tokenValues.placeholderFontSize, tokenValues.placeholderFontLineHeight);
|
|
16722
16727
|
const [bodyFont, bodyFontColor, bodyDisabledFontColor, bodyFontFamily, bodyFontWeight, bodyFontSize, bodyFontLineHeight] = createFontTokens(tokenNames.bodyFont, tokenValues.bodyFont, tokenValues.bodyFontColor, tokenValues.bodyDisabledFontColor, tokenValues.bodyFontFamily, tokenValues.bodyFontWeight, tokenValues.bodyFontSize, tokenValues.bodyFontLineHeight);
|
|
16728
|
+
createFontTokens(tokenNames.codeFont, tokenValues.codeFont, tokenValues.codeFontColor, tokenValues.codeDisabledFontColor, tokenValues.codeFontFamily, tokenValues.codeFontWeight, tokenValues.codeFontSize, tokenValues.codeFontLineHeight);
|
|
16723
16729
|
const [bodyEmphasizedFont, bodyEmphasizedFontColor, bodyEmphasizedDisabledFontColor, bodyEmphasizedFontFamily, bodyEmphasizedFontWeight] = createFontTokens(tokenNames.bodyEmphasizedFont, tokenValues.bodyEmphasizedFont, tokenValues.bodyEmphasizedFontColor, tokenValues.bodyEmphasizedDisabledFontColor, tokenValues.bodyEmphasizedFontFamily, tokenValues.bodyEmphasizedFontWeight, tokenValues.bodyEmphasizedFontSize, tokenValues.bodyEmphasizedFontLineHeight);
|
|
16724
16730
|
createFontTokens(tokenNames.bodyPlus1Font, tokenValues.bodyPlus1Font, tokenValues.bodyPlus1FontColor, tokenValues.bodyPlus1DisabledFontColor, tokenValues.bodyPlus1FontFamily, tokenValues.bodyPlus1FontWeight, tokenValues.bodyPlus1FontSize, tokenValues.bodyPlus1FontLineHeight);
|
|
16725
16731
|
const [bodyPlus1EmphasizedFont, bodyPlus1EmphasizedFontColor] = createFontTokens(tokenNames.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFontColor, tokenValues.bodyPlus1EmphasizedDisabledFontColor, tokenValues.bodyPlus1EmphasizedFontFamily, tokenValues.bodyPlus1EmphasizedFontWeight, tokenValues.bodyPlus1EmphasizedFontSize, tokenValues.bodyPlus1EmphasizedFontLineHeight);
|
|
@@ -16780,7 +16786,7 @@
|
|
|
16780
16786
|
}
|
|
16781
16787
|
// #endregion
|
|
16782
16788
|
|
|
16783
|
-
const styles$
|
|
16789
|
+
const styles$1F = css `
|
|
16784
16790
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
16785
16791
|
|
|
16786
16792
|
@layer base {
|
|
@@ -16858,7 +16864,7 @@
|
|
|
16858
16864
|
}
|
|
16859
16865
|
`;
|
|
16860
16866
|
|
|
16861
|
-
const template$
|
|
16867
|
+
const template$1p = (_context, definition) => html `${
|
|
16862
16868
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16863
16869
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
16864
16870
|
*/ ''}<div
|
|
@@ -16961,8 +16967,8 @@
|
|
|
16961
16967
|
const nimbleAnchor = Anchor.compose({
|
|
16962
16968
|
baseName: 'anchor',
|
|
16963
16969
|
baseClass: Anchor$1,
|
|
16964
|
-
template: template$
|
|
16965
|
-
styles: styles$
|
|
16970
|
+
template: template$1p,
|
|
16971
|
+
styles: styles$1F,
|
|
16966
16972
|
shadowOptions: {
|
|
16967
16973
|
delegatesFocus: true
|
|
16968
16974
|
}
|
|
@@ -17071,7 +17077,7 @@
|
|
|
17071
17077
|
padding: 0;
|
|
17072
17078
|
`;
|
|
17073
17079
|
|
|
17074
|
-
const styles$
|
|
17080
|
+
const styles$1E = css `
|
|
17075
17081
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
17076
17082
|
|
|
17077
17083
|
@layer base {
|
|
@@ -17355,8 +17361,8 @@
|
|
|
17355
17361
|
}
|
|
17356
17362
|
`));
|
|
17357
17363
|
|
|
17358
|
-
const styles$
|
|
17359
|
-
${styles$
|
|
17364
|
+
const styles$1D = css `
|
|
17365
|
+
${styles$1E}
|
|
17360
17366
|
${buttonAppearanceVariantStyles}
|
|
17361
17367
|
|
|
17362
17368
|
.control {
|
|
@@ -17376,7 +17382,7 @@
|
|
|
17376
17382
|
}
|
|
17377
17383
|
`;
|
|
17378
17384
|
|
|
17379
|
-
const template$
|
|
17385
|
+
const template$1o = (context, definition) => html `
|
|
17380
17386
|
<a
|
|
17381
17387
|
class="control"
|
|
17382
17388
|
part="control"
|
|
@@ -17458,8 +17464,8 @@
|
|
|
17458
17464
|
], AnchorButton.prototype, "disabled", void 0);
|
|
17459
17465
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17460
17466
|
baseName: 'anchor-button',
|
|
17461
|
-
template: template$
|
|
17462
|
-
styles: styles$
|
|
17467
|
+
template: template$1o,
|
|
17468
|
+
styles: styles$1D,
|
|
17463
17469
|
shadowOptions: {
|
|
17464
17470
|
delegatesFocus: true
|
|
17465
17471
|
}
|
|
@@ -17467,7 +17473,7 @@
|
|
|
17467
17473
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17468
17474
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17469
17475
|
|
|
17470
|
-
const styles$
|
|
17476
|
+
const styles$1C = css `
|
|
17471
17477
|
${display$2('grid')}
|
|
17472
17478
|
|
|
17473
17479
|
:host {
|
|
@@ -17550,7 +17556,7 @@
|
|
|
17550
17556
|
}
|
|
17551
17557
|
`;
|
|
17552
17558
|
|
|
17553
|
-
const template$
|
|
17559
|
+
const template$1n = (context, definition) => html `
|
|
17554
17560
|
<template
|
|
17555
17561
|
role="menuitem"
|
|
17556
17562
|
class="${x => (typeof x.startColumnCount === 'number'
|
|
@@ -17651,8 +17657,8 @@
|
|
|
17651
17657
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17652
17658
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17653
17659
|
baseName: 'anchor-menu-item',
|
|
17654
|
-
template: template$
|
|
17655
|
-
styles: styles$
|
|
17660
|
+
template: template$1n,
|
|
17661
|
+
styles: styles$1C,
|
|
17656
17662
|
shadowOptions: {
|
|
17657
17663
|
delegatesFocus: true
|
|
17658
17664
|
}
|
|
@@ -17664,7 +17670,7 @@
|
|
|
17664
17670
|
|
|
17665
17671
|
// These styles end up inside a @layer block so must use the
|
|
17666
17672
|
// cssPartial tag instead of the css tag
|
|
17667
|
-
const styles$
|
|
17673
|
+
const styles$1B = cssPartial `
|
|
17668
17674
|
.severity-text {
|
|
17669
17675
|
display: none;
|
|
17670
17676
|
font: ${errorTextFont};
|
|
@@ -17774,12 +17780,12 @@
|
|
|
17774
17780
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
17775
17781
|
/* eslint-enable max-classes-per-file */
|
|
17776
17782
|
|
|
17777
|
-
const styles$
|
|
17783
|
+
const styles$1A = css `
|
|
17778
17784
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
17779
17785
|
|
|
17780
17786
|
@layer base {
|
|
17781
17787
|
${display$2('inline-flex')}
|
|
17782
|
-
${styles$
|
|
17788
|
+
${styles$1B}
|
|
17783
17789
|
:host {
|
|
17784
17790
|
color: ${buttonLabelFontColor};
|
|
17785
17791
|
font: ${buttonLabelFont};
|
|
@@ -18459,8 +18465,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
18459
18465
|
}
|
|
18460
18466
|
`));
|
|
18461
18467
|
|
|
18462
|
-
const styles$
|
|
18463
|
-
${styles$
|
|
18468
|
+
const styles$1z = css `
|
|
18469
|
+
${styles$1A}
|
|
18464
18470
|
${'' /* Anchor specific styles */}
|
|
18465
18471
|
@layer base {
|
|
18466
18472
|
.control {
|
|
@@ -19547,13 +19553,13 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19547
19553
|
};
|
|
19548
19554
|
|
|
19549
19555
|
// Avoiding any whitespace in the template because this is an inline element
|
|
19550
|
-
const template$
|
|
19556
|
+
const template$1m = html `<div
|
|
19551
19557
|
class="icon"
|
|
19552
19558
|
aria-hidden="true"
|
|
19553
19559
|
:innerHTML=${x => x.icon.data}
|
|
19554
19560
|
></div>`;
|
|
19555
19561
|
|
|
19556
|
-
const styles$
|
|
19562
|
+
const styles$1y = css `
|
|
19557
19563
|
${display$2('inline-flex')}
|
|
19558
19564
|
|
|
19559
19565
|
:host {
|
|
@@ -19616,8 +19622,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19616
19622
|
const registerIconSvg = (baseName, iconClass) => {
|
|
19617
19623
|
const composedIcon = iconClass.compose({
|
|
19618
19624
|
baseName,
|
|
19619
|
-
template: template$
|
|
19620
|
-
styles: styles$
|
|
19625
|
+
template: template$1m,
|
|
19626
|
+
styles: styles$1y
|
|
19621
19627
|
});
|
|
19622
19628
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
19623
19629
|
};
|
|
@@ -19741,7 +19747,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19741
19747
|
*/
|
|
19742
19748
|
const StepperOrientation = Orientation;
|
|
19743
19749
|
|
|
19744
|
-
const template$
|
|
19750
|
+
const template$1l = (context, definition) => html `
|
|
19745
19751
|
<template slot="step">
|
|
19746
19752
|
<li class="
|
|
19747
19753
|
container
|
|
@@ -19888,15 +19894,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19888
19894
|
], AnchorStep.prototype, "tabIndex", void 0);
|
|
19889
19895
|
const nimbleAnchorStep = AnchorStep.compose({
|
|
19890
19896
|
baseName: 'anchor-step',
|
|
19891
|
-
template: template$
|
|
19892
|
-
styles: styles$
|
|
19897
|
+
template: template$1l,
|
|
19898
|
+
styles: styles$1z,
|
|
19893
19899
|
shadowOptions: {
|
|
19894
19900
|
delegatesFocus: true
|
|
19895
19901
|
}
|
|
19896
19902
|
});
|
|
19897
19903
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
|
|
19898
19904
|
|
|
19899
|
-
const styles$
|
|
19905
|
+
const styles$1x = css `
|
|
19900
19906
|
${display$2('inline-flex')}
|
|
19901
19907
|
|
|
19902
19908
|
:host {
|
|
@@ -20013,7 +20019,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20013
20019
|
}
|
|
20014
20020
|
`;
|
|
20015
20021
|
|
|
20016
|
-
const template$
|
|
20022
|
+
const template$1k = (context, definition) => html `
|
|
20017
20023
|
<template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
|
|
20018
20024
|
<a
|
|
20019
20025
|
download="${x => x.download}"
|
|
@@ -20065,15 +20071,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20065
20071
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
20066
20072
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
20067
20073
|
baseName: 'anchor-tab',
|
|
20068
|
-
template: template$
|
|
20069
|
-
styles: styles$
|
|
20074
|
+
template: template$1k,
|
|
20075
|
+
styles: styles$1x,
|
|
20070
20076
|
shadowOptions: {
|
|
20071
20077
|
delegatesFocus: true
|
|
20072
20078
|
}
|
|
20073
20079
|
});
|
|
20074
20080
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
20075
20081
|
|
|
20076
|
-
const styles$
|
|
20082
|
+
const styles$1w = css `
|
|
20077
20083
|
${display$2('flex')}
|
|
20078
20084
|
|
|
20079
20085
|
:host {
|
|
@@ -20113,12 +20119,12 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20113
20119
|
}
|
|
20114
20120
|
`;
|
|
20115
20121
|
|
|
20116
|
-
const styles$
|
|
20117
|
-
${styles$
|
|
20122
|
+
const styles$1v = css `
|
|
20123
|
+
${styles$1E}
|
|
20118
20124
|
${buttonAppearanceVariantStyles}
|
|
20119
20125
|
`;
|
|
20120
20126
|
|
|
20121
|
-
const template$
|
|
20127
|
+
const template$1j = (context, definition) => html `
|
|
20122
20128
|
<button
|
|
20123
20129
|
class="control"
|
|
20124
20130
|
part="control"
|
|
@@ -20209,8 +20215,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20209
20215
|
const nimbleButton = Button.compose({
|
|
20210
20216
|
baseName: 'button',
|
|
20211
20217
|
baseClass: Button$1,
|
|
20212
|
-
template: template$
|
|
20213
|
-
styles: styles$
|
|
20218
|
+
template: template$1j,
|
|
20219
|
+
styles: styles$1v,
|
|
20214
20220
|
shadowOptions: {
|
|
20215
20221
|
delegatesFocus: true
|
|
20216
20222
|
}
|
|
@@ -20244,7 +20250,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20244
20250
|
registerIconSvg('icon-arrow-expander-right', IconArrowExpanderRight);
|
|
20245
20251
|
const iconArrowExpanderRightTag = 'nimble-icon-arrow-expander-right';
|
|
20246
20252
|
|
|
20247
|
-
const template$
|
|
20253
|
+
const template$1i = (context, definition) => html `
|
|
20248
20254
|
<div
|
|
20249
20255
|
class="tab-bar"
|
|
20250
20256
|
>
|
|
@@ -20545,15 +20551,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20545
20551
|
applyMixins(AnchorTabs, StartEnd);
|
|
20546
20552
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
20547
20553
|
baseName: 'anchor-tabs',
|
|
20548
|
-
template: template$
|
|
20549
|
-
styles: styles$
|
|
20554
|
+
template: template$1i,
|
|
20555
|
+
styles: styles$1w,
|
|
20550
20556
|
shadowOptions: {
|
|
20551
20557
|
delegatesFocus: false
|
|
20552
20558
|
}
|
|
20553
20559
|
});
|
|
20554
20560
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
|
|
20555
20561
|
|
|
20556
|
-
const styles$
|
|
20562
|
+
const styles$1u = css `
|
|
20557
20563
|
${display$2('block')}
|
|
20558
20564
|
|
|
20559
20565
|
:host {
|
|
@@ -20658,7 +20664,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20658
20664
|
}
|
|
20659
20665
|
`;
|
|
20660
20666
|
|
|
20661
|
-
const template$
|
|
20667
|
+
const template$1h = (context, definition) => html `
|
|
20662
20668
|
<template
|
|
20663
20669
|
role="treeitem"
|
|
20664
20670
|
slot="${x => (x.isNestedItem() ? 'item' : null)}"
|
|
@@ -20795,8 +20801,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20795
20801
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
20796
20802
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
20797
20803
|
baseName: 'anchor-tree-item',
|
|
20798
|
-
template: template$
|
|
20799
|
-
styles: styles$
|
|
20804
|
+
template: template$1h,
|
|
20805
|
+
styles: styles$1u,
|
|
20800
20806
|
shadowOptions: {
|
|
20801
20807
|
delegatesFocus: true
|
|
20802
20808
|
}
|
|
@@ -20812,7 +20818,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20812
20818
|
zIndex1000: '1000'
|
|
20813
20819
|
};
|
|
20814
20820
|
|
|
20815
|
-
const styles$
|
|
20821
|
+
const styles$1t = css `
|
|
20816
20822
|
${display$2('block')}
|
|
20817
20823
|
|
|
20818
20824
|
:host {
|
|
@@ -20843,14 +20849,14 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20843
20849
|
baseName: 'anchored-region',
|
|
20844
20850
|
baseClass: AnchoredRegion$1,
|
|
20845
20851
|
template: anchoredRegionTemplate,
|
|
20846
|
-
styles: styles$
|
|
20852
|
+
styles: styles$1t
|
|
20847
20853
|
});
|
|
20848
20854
|
DesignSystem.getOrCreate()
|
|
20849
20855
|
.withPrefix('nimble')
|
|
20850
20856
|
.register(nimbleAnchoredRegion());
|
|
20851
20857
|
const anchoredRegionTag = 'nimble-anchored-region';
|
|
20852
20858
|
|
|
20853
|
-
const styles$
|
|
20859
|
+
const styles$1s = css `
|
|
20854
20860
|
${display$2('flex')}
|
|
20855
20861
|
|
|
20856
20862
|
:host {
|
|
@@ -21017,7 +21023,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
21017
21023
|
information: 'information'
|
|
21018
21024
|
};
|
|
21019
21025
|
|
|
21020
|
-
const template$
|
|
21026
|
+
const template$1g = html `
|
|
21021
21027
|
<${themeProviderTag} theme="${Theme.color}">
|
|
21022
21028
|
<div class="container"
|
|
21023
21029
|
role="status"
|
|
@@ -21135,10 +21141,11 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
21135
21141
|
applyMixins(Banner, ARIAGlobalStatesAndProperties);
|
|
21136
21142
|
const nimbleBanner = Banner.compose({
|
|
21137
21143
|
baseName: 'banner',
|
|
21138
|
-
template: template$
|
|
21139
|
-
styles: styles$
|
|
21144
|
+
template: template$1g,
|
|
21145
|
+
styles: styles$1s
|
|
21140
21146
|
});
|
|
21141
21147
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
21148
|
+
const bannerTag = 'nimble-banner';
|
|
21142
21149
|
|
|
21143
21150
|
/**
|
|
21144
21151
|
* The template for the {@link @ni/fast-foundation#Breadcrumb} component.
|
|
@@ -21177,7 +21184,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
21177
21184
|
</template>
|
|
21178
21185
|
`;
|
|
21179
21186
|
|
|
21180
|
-
const styles$
|
|
21187
|
+
const styles$1r = css `
|
|
21181
21188
|
${display$2('inline-flex')}
|
|
21182
21189
|
|
|
21183
21190
|
:host {
|
|
@@ -21281,11 +21288,11 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
21281
21288
|
baseName: 'breadcrumb',
|
|
21282
21289
|
baseClass: Breadcrumb$1,
|
|
21283
21290
|
template: breadcrumbTemplate,
|
|
21284
|
-
styles: styles$
|
|
21291
|
+
styles: styles$1r
|
|
21285
21292
|
});
|
|
21286
21293
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
21287
21294
|
|
|
21288
|
-
const styles$
|
|
21295
|
+
const styles$1q = css `
|
|
21289
21296
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
21290
21297
|
|
|
21291
21298
|
@layer base {
|
|
@@ -21382,14 +21389,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21382
21389
|
baseName: 'breadcrumb-item',
|
|
21383
21390
|
baseClass: BreadcrumbItem$1,
|
|
21384
21391
|
template: breadcrumbItemTemplate,
|
|
21385
|
-
styles: styles$
|
|
21392
|
+
styles: styles$1q,
|
|
21386
21393
|
separator: forwardSlash16X16.data
|
|
21387
21394
|
});
|
|
21388
21395
|
DesignSystem.getOrCreate()
|
|
21389
21396
|
.withPrefix('nimble')
|
|
21390
21397
|
.register(nimbleBreadcrumbItem());
|
|
21391
21398
|
|
|
21392
|
-
const styles$
|
|
21399
|
+
const styles$1p = css `
|
|
21393
21400
|
${display$2('flex')}
|
|
21394
21401
|
|
|
21395
21402
|
:host {
|
|
@@ -21413,7 +21420,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21413
21420
|
}
|
|
21414
21421
|
`;
|
|
21415
21422
|
|
|
21416
|
-
const template$
|
|
21423
|
+
const template$1f = html `
|
|
21417
21424
|
<section aria-labelledby="title-slot">
|
|
21418
21425
|
<span id="title-slot"><slot name="title"></slot></span>
|
|
21419
21426
|
<slot></slot>
|
|
@@ -21428,12 +21435,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21428
21435
|
const nimbleCard = Card.compose({
|
|
21429
21436
|
baseName: 'card',
|
|
21430
21437
|
baseClass: Card$1,
|
|
21431
|
-
template: template$
|
|
21432
|
-
styles: styles$
|
|
21438
|
+
template: template$1f,
|
|
21439
|
+
styles: styles$1p
|
|
21433
21440
|
});
|
|
21434
21441
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
21435
21442
|
|
|
21436
|
-
const styles$
|
|
21443
|
+
const styles$1o = css `
|
|
21437
21444
|
${display$2('inline-flex')}
|
|
21438
21445
|
|
|
21439
21446
|
:host {
|
|
@@ -21591,7 +21598,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21591
21598
|
const nimbleCardButton = CardButton.compose({
|
|
21592
21599
|
baseName: 'card-button',
|
|
21593
21600
|
template: buttonTemplate,
|
|
21594
|
-
styles: styles$
|
|
21601
|
+
styles: styles$1o,
|
|
21595
21602
|
shadowOptions: {
|
|
21596
21603
|
delegatesFocus: true
|
|
21597
21604
|
}
|
|
@@ -21599,7 +21606,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21599
21606
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
21600
21607
|
const cardButtonTag = 'nimble-card-button';
|
|
21601
21608
|
|
|
21602
|
-
const styles$
|
|
21609
|
+
const styles$1n = css `
|
|
21603
21610
|
.error-icon {
|
|
21604
21611
|
display: none;
|
|
21605
21612
|
}
|
|
@@ -21633,9 +21640,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21633
21640
|
}
|
|
21634
21641
|
`;
|
|
21635
21642
|
|
|
21636
|
-
const styles$
|
|
21643
|
+
const styles$1m = css `
|
|
21637
21644
|
${display$2('inline-grid')}
|
|
21638
|
-
${styles$
|
|
21645
|
+
${styles$1n}
|
|
21639
21646
|
|
|
21640
21647
|
:host {
|
|
21641
21648
|
font: ${bodyFont};
|
|
@@ -21775,7 +21782,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21775
21782
|
</div>
|
|
21776
21783
|
`;
|
|
21777
21784
|
|
|
21778
|
-
const template$
|
|
21785
|
+
const template$1e = (_context, definition) => html `
|
|
21779
21786
|
<template
|
|
21780
21787
|
role="checkbox"
|
|
21781
21788
|
aria-checked="${x => x.checked}"
|
|
@@ -21872,8 +21879,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21872
21879
|
const nimbleCheckbox = Checkbox.compose({
|
|
21873
21880
|
baseName: 'checkbox',
|
|
21874
21881
|
baseClass: Checkbox$1,
|
|
21875
|
-
template: template$
|
|
21876
|
-
styles: styles$
|
|
21882
|
+
template: template$1e,
|
|
21883
|
+
styles: styles$1m,
|
|
21877
21884
|
checkedIndicator: check16X16.data,
|
|
21878
21885
|
indeterminateIndicator: minus16X16.data
|
|
21879
21886
|
});
|
|
@@ -21885,7 +21892,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21885
21892
|
block: 'block'
|
|
21886
21893
|
};
|
|
21887
21894
|
|
|
21888
|
-
const styles$
|
|
21895
|
+
const styles$1l = css `
|
|
21889
21896
|
${display$2('inline-flex')}
|
|
21890
21897
|
|
|
21891
21898
|
:host {
|
|
@@ -21946,7 +21953,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21946
21953
|
}
|
|
21947
21954
|
`));
|
|
21948
21955
|
|
|
21949
|
-
const template$
|
|
21956
|
+
const template$1d = (context, definition) => html `
|
|
21950
21957
|
${startSlotTemplate(context, definition)}
|
|
21951
21958
|
<span
|
|
21952
21959
|
class="content"
|
|
@@ -22032,8 +22039,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22032
22039
|
applyMixins(Chip, StartEnd);
|
|
22033
22040
|
const nimbleChip = Chip.compose({
|
|
22034
22041
|
baseName: 'chip',
|
|
22035
|
-
template: template$
|
|
22036
|
-
styles: styles$
|
|
22042
|
+
template: template$1d,
|
|
22043
|
+
styles: styles$1l,
|
|
22037
22044
|
shadowOptions: {
|
|
22038
22045
|
delegatesFocus: true
|
|
22039
22046
|
}
|
|
@@ -22041,8 +22048,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22041
22048
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleChip());
|
|
22042
22049
|
const chipTag = 'nimble-chip';
|
|
22043
22050
|
|
|
22044
|
-
const styles$
|
|
22045
|
-
${styles$
|
|
22051
|
+
const styles$1k = css `
|
|
22052
|
+
${styles$1E}
|
|
22046
22053
|
${buttonAppearanceVariantStyles}
|
|
22047
22054
|
|
|
22048
22055
|
@layer checked {
|
|
@@ -22089,7 +22096,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22089
22096
|
}
|
|
22090
22097
|
`));
|
|
22091
22098
|
|
|
22092
|
-
const template$
|
|
22099
|
+
const template$1c = (context, definition) => html `
|
|
22093
22100
|
<div
|
|
22094
22101
|
role="button"
|
|
22095
22102
|
part="control"
|
|
@@ -22184,8 +22191,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22184
22191
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
22185
22192
|
const nimbleToggleButton = ToggleButton.compose({
|
|
22186
22193
|
baseName: 'toggle-button',
|
|
22187
|
-
template: template$
|
|
22188
|
-
styles: styles$
|
|
22194
|
+
template: template$1c,
|
|
22195
|
+
styles: styles$1k,
|
|
22189
22196
|
shadowOptions: {
|
|
22190
22197
|
delegatesFocus: true
|
|
22191
22198
|
}
|
|
@@ -22215,7 +22222,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22215
22222
|
frameless: 'frameless'
|
|
22216
22223
|
};
|
|
22217
22224
|
|
|
22218
|
-
const styles$
|
|
22225
|
+
const styles$1j = css `
|
|
22219
22226
|
${display$2('inline-flex')}
|
|
22220
22227
|
|
|
22221
22228
|
:host {
|
|
@@ -22505,7 +22512,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22505
22512
|
}
|
|
22506
22513
|
`));
|
|
22507
22514
|
|
|
22508
|
-
const styles$
|
|
22515
|
+
const styles$1i = css `
|
|
22509
22516
|
.annotated-label {
|
|
22510
22517
|
display: flex;
|
|
22511
22518
|
flex-direction: row;
|
|
@@ -22532,10 +22539,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22532
22539
|
none: undefined,
|
|
22533
22540
|
standard: 'standard'};
|
|
22534
22541
|
|
|
22535
|
-
const styles$
|
|
22536
|
-
${styles$
|
|
22537
|
-
${styles$
|
|
22538
|
-
${styles$
|
|
22542
|
+
const styles$1h = css `
|
|
22543
|
+
${styles$1j}
|
|
22544
|
+
${styles$1n}
|
|
22545
|
+
${styles$1i}
|
|
22539
22546
|
|
|
22540
22547
|
:host {
|
|
22541
22548
|
field-sizing: fixed;
|
|
@@ -22663,7 +22670,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22663
22670
|
<slot></slot>
|
|
22664
22671
|
</label>
|
|
22665
22672
|
`);
|
|
22666
|
-
const template$
|
|
22673
|
+
const template$1b = (context, definition) => html `
|
|
22667
22674
|
<template
|
|
22668
22675
|
aria-disabled="${x => x.ariaDisabled}"
|
|
22669
22676
|
autocomplete="${x => x.autocomplete}"
|
|
@@ -23438,8 +23445,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23438
23445
|
const nimbleCombobox = Combobox.compose({
|
|
23439
23446
|
baseName: 'combobox',
|
|
23440
23447
|
baseClass: FormAssociatedCombobox,
|
|
23441
|
-
template: template$
|
|
23442
|
-
styles: styles$
|
|
23448
|
+
template: template$1b,
|
|
23449
|
+
styles: styles$1h,
|
|
23443
23450
|
shadowOptions: {
|
|
23444
23451
|
delegatesFocus: true
|
|
23445
23452
|
},
|
|
@@ -23483,7 +23490,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23483
23490
|
*/
|
|
23484
23491
|
const UserDismissed = Symbol('user dismissed');
|
|
23485
23492
|
|
|
23486
|
-
const styles$
|
|
23493
|
+
const styles$1g = css `
|
|
23487
23494
|
${display$2('grid')}
|
|
23488
23495
|
|
|
23489
23496
|
dialog {
|
|
@@ -23576,7 +23583,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23576
23583
|
}
|
|
23577
23584
|
`;
|
|
23578
23585
|
|
|
23579
|
-
const template$
|
|
23586
|
+
const template$1a = html `
|
|
23580
23587
|
<template>
|
|
23581
23588
|
<dialog
|
|
23582
23589
|
${ref('dialogElement')}
|
|
@@ -23724,13 +23731,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23724
23731
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
23725
23732
|
const nimbleDialog = Dialog.compose({
|
|
23726
23733
|
baseName: 'dialog',
|
|
23727
|
-
template: template$
|
|
23728
|
-
styles: styles$
|
|
23734
|
+
template: template$1a,
|
|
23735
|
+
styles: styles$1g,
|
|
23729
23736
|
baseClass: Dialog
|
|
23730
23737
|
});
|
|
23731
23738
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
23732
23739
|
|
|
23733
|
-
const styles$
|
|
23740
|
+
const styles$1f = css `
|
|
23734
23741
|
${display$2('block')}
|
|
23735
23742
|
|
|
23736
23743
|
:host {
|
|
@@ -23873,7 +23880,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23873
23880
|
}
|
|
23874
23881
|
`;
|
|
23875
23882
|
|
|
23876
|
-
const template$
|
|
23883
|
+
const template$19 = html `
|
|
23877
23884
|
<dialog
|
|
23878
23885
|
${ref('dialog')}
|
|
23879
23886
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -24015,8 +24022,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
24015
24022
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
24016
24023
|
const nimbleDrawer = Drawer.compose({
|
|
24017
24024
|
baseName: 'drawer',
|
|
24018
|
-
template: template$
|
|
24019
|
-
styles: styles$
|
|
24025
|
+
template: template$19,
|
|
24026
|
+
styles: styles$1f
|
|
24020
24027
|
});
|
|
24021
24028
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
24022
24029
|
|
|
@@ -24166,6 +24173,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
24166
24173
|
}
|
|
24167
24174
|
}
|
|
24168
24175
|
registerIconSvg('icon-arrow-partial-rotate-left', IconArrowPartialRotateLeft);
|
|
24176
|
+
const iconArrowPartialRotateLeftTag = 'nimble-icon-arrow-partial-rotate-left';
|
|
24169
24177
|
|
|
24170
24178
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24171
24179
|
// See generation source in nimble-components/build/generate-icons
|
|
@@ -25346,6 +25354,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25346
25354
|
}
|
|
25347
25355
|
}
|
|
25348
25356
|
registerIconSvg('icon-floppy-disk', IconFloppyDisk);
|
|
25357
|
+
const iconFloppyDiskTag = 'nimble-icon-floppy-disk';
|
|
25349
25358
|
|
|
25350
25359
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
25351
25360
|
// See generation source in nimble-components/build/generate-icons
|
|
@@ -26940,7 +26949,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26940
26949
|
}
|
|
26941
26950
|
}
|
|
26942
26951
|
|
|
26943
|
-
const styles$
|
|
26952
|
+
const styles$1e = css `
|
|
26944
26953
|
${display$2('none')}
|
|
26945
26954
|
`;
|
|
26946
26955
|
|
|
@@ -27013,7 +27022,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27013
27022
|
], LabelProviderCore.prototype, "itemRemove", void 0);
|
|
27014
27023
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
27015
27024
|
baseName: 'label-provider-core',
|
|
27016
|
-
styles: styles$
|
|
27025
|
+
styles: styles$1e
|
|
27017
27026
|
});
|
|
27018
27027
|
DesignSystem.getOrCreate()
|
|
27019
27028
|
.withPrefix('nimble')
|
|
@@ -27180,13 +27189,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27180
27189
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
27181
27190
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
27182
27191
|
baseName: 'label-provider-table',
|
|
27183
|
-
styles: styles$
|
|
27192
|
+
styles: styles$1e
|
|
27184
27193
|
});
|
|
27185
27194
|
DesignSystem.getOrCreate()
|
|
27186
27195
|
.withPrefix('nimble')
|
|
27187
27196
|
.register(nimbleLabelProviderTable());
|
|
27188
27197
|
|
|
27189
|
-
const styles$
|
|
27198
|
+
const styles$1d = css `
|
|
27190
27199
|
${display$2('flex')}
|
|
27191
27200
|
|
|
27192
27201
|
:host {
|
|
@@ -27262,7 +27271,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27262
27271
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
27263
27272
|
* @public
|
|
27264
27273
|
*/
|
|
27265
|
-
const template$
|
|
27274
|
+
const template$18 = (context, definition) => html `
|
|
27266
27275
|
<template
|
|
27267
27276
|
aria-checked="${x => x.ariaChecked}"
|
|
27268
27277
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -27364,13 +27373,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27364
27373
|
const nimbleListOption = ListOption.compose({
|
|
27365
27374
|
baseName: 'list-option',
|
|
27366
27375
|
baseClass: ListboxOption,
|
|
27367
|
-
template: template$
|
|
27368
|
-
styles: styles$
|
|
27376
|
+
template: template$18,
|
|
27377
|
+
styles: styles$1d
|
|
27369
27378
|
});
|
|
27370
27379
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
27371
27380
|
const listOptionTag = 'nimble-list-option';
|
|
27372
27381
|
|
|
27373
|
-
const styles$
|
|
27382
|
+
const styles$1c = css `
|
|
27374
27383
|
${display$2('flex')}
|
|
27375
27384
|
|
|
27376
27385
|
:host {
|
|
@@ -27432,7 +27441,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27432
27441
|
const isListOption$1 = (n) => {
|
|
27433
27442
|
return n instanceof ListOption;
|
|
27434
27443
|
};
|
|
27435
|
-
const template$
|
|
27444
|
+
const template$17 = html `
|
|
27436
27445
|
<template
|
|
27437
27446
|
role="group"
|
|
27438
27447
|
aria-label="${x => x.labelContent}"
|
|
@@ -27574,8 +27583,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27574
27583
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
27575
27584
|
baseName: 'list-option-group',
|
|
27576
27585
|
baseClass: FoundationElement,
|
|
27577
|
-
template: template$
|
|
27578
|
-
styles: styles$
|
|
27586
|
+
template: template$17,
|
|
27587
|
+
styles: styles$1c
|
|
27579
27588
|
});
|
|
27580
27589
|
DesignSystem.getOrCreate()
|
|
27581
27590
|
.withPrefix('nimble')
|
|
@@ -27602,9 +27611,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27602
27611
|
attr()
|
|
27603
27612
|
], Mapping$1.prototype, "key", void 0);
|
|
27604
27613
|
|
|
27605
|
-
const template$
|
|
27614
|
+
const template$16 = html `<template slot="mapping"></template>`;
|
|
27606
27615
|
|
|
27607
|
-
const styles$
|
|
27616
|
+
const styles$1b = css `
|
|
27608
27617
|
${display$2('none')}
|
|
27609
27618
|
`;
|
|
27610
27619
|
|
|
@@ -27620,8 +27629,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27620
27629
|
], MappingEmpty.prototype, "text", void 0);
|
|
27621
27630
|
const emptyMapping = MappingEmpty.compose({
|
|
27622
27631
|
baseName: 'mapping-empty',
|
|
27623
|
-
template: template$
|
|
27624
|
-
styles: styles$
|
|
27632
|
+
template: template$16,
|
|
27633
|
+
styles: styles$1b
|
|
27625
27634
|
});
|
|
27626
27635
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
27627
27636
|
|
|
@@ -27691,8 +27700,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27691
27700
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
27692
27701
|
const iconMapping = MappingIcon.compose({
|
|
27693
27702
|
baseName: 'mapping-icon',
|
|
27694
|
-
template: template$
|
|
27695
|
-
styles: styles$
|
|
27703
|
+
template: template$16,
|
|
27704
|
+
styles: styles$1b
|
|
27696
27705
|
});
|
|
27697
27706
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
27698
27707
|
|
|
@@ -27715,8 +27724,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27715
27724
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
27716
27725
|
const spinnerMapping = MappingSpinner.compose({
|
|
27717
27726
|
baseName: 'mapping-spinner',
|
|
27718
|
-
template: template$
|
|
27719
|
-
styles: styles$
|
|
27727
|
+
template: template$16,
|
|
27728
|
+
styles: styles$1b
|
|
27720
27729
|
});
|
|
27721
27730
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
27722
27731
|
|
|
@@ -27732,8 +27741,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27732
27741
|
], MappingText.prototype, "text", void 0);
|
|
27733
27742
|
const textMapping = MappingText.compose({
|
|
27734
27743
|
baseName: 'mapping-text',
|
|
27735
|
-
template: template$
|
|
27736
|
-
styles: styles$
|
|
27744
|
+
template: template$16,
|
|
27745
|
+
styles: styles$1b
|
|
27737
27746
|
});
|
|
27738
27747
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
27739
27748
|
|
|
@@ -28035,7 +28044,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28035
28044
|
observable
|
|
28036
28045
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
28037
28046
|
|
|
28038
|
-
const template$
|
|
28047
|
+
const template$15 = () => html `
|
|
28039
28048
|
<template
|
|
28040
28049
|
slot="${x => {
|
|
28041
28050
|
if (x.slot) {
|
|
@@ -28052,7 +28061,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28052
28061
|
</template>
|
|
28053
28062
|
`;
|
|
28054
28063
|
|
|
28055
|
-
const styles$
|
|
28064
|
+
const styles$1a = css `
|
|
28056
28065
|
${display$2('grid')}
|
|
28057
28066
|
|
|
28058
28067
|
:host {
|
|
@@ -28123,8 +28132,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28123
28132
|
const nimbleMenu = Menu.compose({
|
|
28124
28133
|
baseName: 'menu',
|
|
28125
28134
|
baseClass: Menu$1,
|
|
28126
|
-
template: template$
|
|
28127
|
-
styles: styles$
|
|
28135
|
+
template: template$15,
|
|
28136
|
+
styles: styles$1a
|
|
28128
28137
|
});
|
|
28129
28138
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
28130
28139
|
const menuTag = 'nimble-menu';
|
|
@@ -28141,7 +28150,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28141
28150
|
auto: 'auto'
|
|
28142
28151
|
};
|
|
28143
28152
|
|
|
28144
|
-
const styles$
|
|
28153
|
+
const styles$19 = css `
|
|
28145
28154
|
${display$2('inline-block')}
|
|
28146
28155
|
|
|
28147
28156
|
:host {
|
|
@@ -28159,7 +28168,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28159
28168
|
}
|
|
28160
28169
|
`;
|
|
28161
28170
|
|
|
28162
|
-
const template$
|
|
28171
|
+
const template$14 = html `
|
|
28163
28172
|
<template
|
|
28164
28173
|
?open="${x => x.open}"
|
|
28165
28174
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -28409,8 +28418,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28409
28418
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
28410
28419
|
const nimbleMenuButton = MenuButton.compose({
|
|
28411
28420
|
baseName: 'menu-button',
|
|
28412
|
-
template: template$
|
|
28413
|
-
styles: styles$
|
|
28421
|
+
template: template$14,
|
|
28422
|
+
styles: styles$19,
|
|
28414
28423
|
shadowOptions: {
|
|
28415
28424
|
delegatesFocus: true
|
|
28416
28425
|
}
|
|
@@ -28418,7 +28427,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28418
28427
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
28419
28428
|
const menuButtonTag = 'nimble-menu-button';
|
|
28420
28429
|
|
|
28421
|
-
const styles$
|
|
28430
|
+
const styles$18 = css `
|
|
28422
28431
|
${display$2('grid')}
|
|
28423
28432
|
|
|
28424
28433
|
:host {
|
|
@@ -28515,7 +28524,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28515
28524
|
baseName: 'menu-item',
|
|
28516
28525
|
baseClass: MenuItem$1,
|
|
28517
28526
|
template: menuItemTemplate,
|
|
28518
|
-
styles: styles$
|
|
28527
|
+
styles: styles$18,
|
|
28519
28528
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
28520
28529
|
});
|
|
28521
28530
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -28531,10 +28540,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28531
28540
|
frameless: 'frameless'
|
|
28532
28541
|
};
|
|
28533
28542
|
|
|
28534
|
-
const styles$
|
|
28543
|
+
const styles$17 = css `
|
|
28535
28544
|
${display$2('inline-block')}
|
|
28536
|
-
${styles$
|
|
28537
|
-
${styles$
|
|
28545
|
+
${styles$1n}
|
|
28546
|
+
${styles$1i}
|
|
28538
28547
|
|
|
28539
28548
|
:host {
|
|
28540
28549
|
font: ${bodyFont};
|
|
@@ -28765,7 +28774,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28765
28774
|
* The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
|
|
28766
28775
|
* @public
|
|
28767
28776
|
*/
|
|
28768
|
-
const template$
|
|
28777
|
+
const template$13 = (context, definition) => html `
|
|
28769
28778
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
28770
28779
|
${labelTemplate$4}
|
|
28771
28780
|
<div class="root" part="root">
|
|
@@ -28919,8 +28928,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28919
28928
|
const nimbleNumberField = NumberField.compose({
|
|
28920
28929
|
baseName: 'number-field',
|
|
28921
28930
|
baseClass: NumberField$1,
|
|
28922
|
-
template: template$
|
|
28923
|
-
styles: styles$
|
|
28931
|
+
template: template$13,
|
|
28932
|
+
styles: styles$17,
|
|
28924
28933
|
shadowOptions: {
|
|
28925
28934
|
delegatesFocus: true
|
|
28926
28935
|
},
|
|
@@ -28963,7 +28972,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28963
28972
|
});
|
|
28964
28973
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
28965
28974
|
|
|
28966
|
-
const styles$
|
|
28975
|
+
const styles$16 = css `
|
|
28967
28976
|
${display$2('inline-flex')}
|
|
28968
28977
|
|
|
28969
28978
|
:host {
|
|
@@ -29063,15 +29072,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
29063
29072
|
baseName: 'radio',
|
|
29064
29073
|
baseClass: Radio$1,
|
|
29065
29074
|
template: radioTemplate,
|
|
29066
|
-
styles: styles$
|
|
29075
|
+
styles: styles$16,
|
|
29067
29076
|
checkedIndicator: circleFilled16X16.data
|
|
29068
29077
|
});
|
|
29069
29078
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
29070
29079
|
|
|
29071
|
-
const styles$
|
|
29080
|
+
const styles$15 = css `
|
|
29072
29081
|
${display$2('inline-block')}
|
|
29073
|
-
${styles$
|
|
29074
|
-
${styles$
|
|
29082
|
+
${styles$1n}
|
|
29083
|
+
${styles$1i}
|
|
29075
29084
|
|
|
29076
29085
|
.positioning-region {
|
|
29077
29086
|
display: flex;
|
|
@@ -29110,7 +29119,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
29110
29119
|
`;
|
|
29111
29120
|
|
|
29112
29121
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
29113
|
-
const template
|
|
29122
|
+
const template$12 = html `
|
|
29114
29123
|
<template
|
|
29115
29124
|
role="radiogroup"
|
|
29116
29125
|
aria-disabled="${x => x.disabled}"
|
|
@@ -29150,8 +29159,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
29150
29159
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
29151
29160
|
baseName: 'radio-group',
|
|
29152
29161
|
baseClass: RadioGroup$1,
|
|
29153
|
-
template: template
|
|
29154
|
-
styles: styles$
|
|
29162
|
+
template: template$12,
|
|
29163
|
+
styles: styles$15,
|
|
29155
29164
|
shadowOptions: {
|
|
29156
29165
|
delegatesFocus: true
|
|
29157
29166
|
}
|
|
@@ -49666,7 +49675,7 @@ img.ProseMirror-separator {
|
|
|
49666
49675
|
//#region src/index.ts
|
|
49667
49676
|
var src_default$7 = HardBreak;
|
|
49668
49677
|
|
|
49669
|
-
const styles$
|
|
49678
|
+
const styles$14 = css `
|
|
49670
49679
|
${display$2('inline')}
|
|
49671
49680
|
|
|
49672
49681
|
.positioning-region {
|
|
@@ -49703,7 +49712,7 @@ img.ProseMirror-separator {
|
|
|
49703
49712
|
baseName: 'toolbar',
|
|
49704
49713
|
baseClass: Toolbar$1,
|
|
49705
49714
|
template: toolbarTemplate,
|
|
49706
|
-
styles: styles$
|
|
49715
|
+
styles: styles$14
|
|
49707
49716
|
});
|
|
49708
49717
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
49709
49718
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -49732,8 +49741,8 @@ img.ProseMirror-separator {
|
|
|
49732
49741
|
cssCustomPropertyName: null
|
|
49733
49742
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
49734
49743
|
|
|
49735
|
-
const styles$
|
|
49736
|
-
${styles$
|
|
49744
|
+
const styles$13 = css `
|
|
49745
|
+
${styles$1j}
|
|
49737
49746
|
|
|
49738
49747
|
:host {
|
|
49739
49748
|
height: auto;
|
|
@@ -49751,7 +49760,7 @@ img.ProseMirror-separator {
|
|
|
49751
49760
|
}
|
|
49752
49761
|
`;
|
|
49753
49762
|
|
|
49754
|
-
const template$
|
|
49763
|
+
const template$11 = html `
|
|
49755
49764
|
<template>
|
|
49756
49765
|
<${anchoredRegionTag}
|
|
49757
49766
|
${ref('region')}
|
|
@@ -50039,15 +50048,15 @@ img.ProseMirror-separator {
|
|
|
50039
50048
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
50040
50049
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
50041
50050
|
baseName: 'rich-text-mention-listbox',
|
|
50042
|
-
template: template$
|
|
50043
|
-
styles: styles$
|
|
50051
|
+
template: template$11,
|
|
50052
|
+
styles: styles$13
|
|
50044
50053
|
});
|
|
50045
50054
|
DesignSystem.getOrCreate()
|
|
50046
50055
|
.withPrefix('nimble')
|
|
50047
50056
|
.register(nimbleRichTextMentionListbox());
|
|
50048
50057
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
50049
50058
|
|
|
50050
|
-
const template$
|
|
50059
|
+
const template$10 = html `
|
|
50051
50060
|
<template
|
|
50052
50061
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
50053
50062
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -50149,9 +50158,9 @@ img.ProseMirror-separator {
|
|
|
50149
50158
|
</template>
|
|
50150
50159
|
`;
|
|
50151
50160
|
|
|
50152
|
-
const styles
|
|
50161
|
+
const styles$12 = css `
|
|
50153
50162
|
${display$2('inline-flex')}
|
|
50154
|
-
${styles$
|
|
50163
|
+
${styles$1n}
|
|
50155
50164
|
|
|
50156
50165
|
:host {
|
|
50157
50166
|
font: ${bodyFont};
|
|
@@ -68844,8 +68853,8 @@ img.ProseMirror-separator {
|
|
|
68844
68853
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
68845
68854
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
68846
68855
|
baseName: 'rich-text-editor',
|
|
68847
|
-
template: template$
|
|
68848
|
-
styles: styles
|
|
68856
|
+
template: template$10,
|
|
68857
|
+
styles: styles$12,
|
|
68849
68858
|
shadowOptions: {
|
|
68850
68859
|
delegatesFocus: true
|
|
68851
68860
|
}
|
|
@@ -68854,13 +68863,13 @@ img.ProseMirror-separator {
|
|
|
68854
68863
|
.withPrefix('nimble')
|
|
68855
68864
|
.register(nimbleRichTextEditor());
|
|
68856
68865
|
|
|
68857
|
-
const template
|
|
68866
|
+
const template$$ = html `
|
|
68858
68867
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
68859
68868
|
<div ${ref('viewer')} class="viewer"></div>
|
|
68860
68869
|
</template>
|
|
68861
68870
|
`;
|
|
68862
68871
|
|
|
68863
|
-
const styles$
|
|
68872
|
+
const styles$11 = css `
|
|
68864
68873
|
${display$2('flex')}
|
|
68865
68874
|
|
|
68866
68875
|
:host {
|
|
@@ -68973,17 +68982,17 @@ img.ProseMirror-separator {
|
|
|
68973
68982
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
68974
68983
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
68975
68984
|
baseName: 'rich-text-viewer',
|
|
68976
|
-
template: template
|
|
68977
|
-
styles: styles$
|
|
68985
|
+
template: template$$,
|
|
68986
|
+
styles: styles$11
|
|
68978
68987
|
});
|
|
68979
68988
|
DesignSystem.getOrCreate()
|
|
68980
68989
|
.withPrefix('nimble')
|
|
68981
68990
|
.register(nimbleRichTextViewer());
|
|
68982
68991
|
|
|
68983
|
-
const styles$
|
|
68984
|
-
${styles$
|
|
68985
|
-
${styles$
|
|
68986
|
-
${styles$
|
|
68992
|
+
const styles$10 = css `
|
|
68993
|
+
${styles$1j}
|
|
68994
|
+
${styles$1n}
|
|
68995
|
+
${styles$1i}
|
|
68987
68996
|
|
|
68988
68997
|
${
|
|
68989
68998
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -69146,7 +69155,7 @@ img.ProseMirror-separator {
|
|
|
69146
69155
|
}
|
|
69147
69156
|
`));
|
|
69148
69157
|
|
|
69149
|
-
const styles
|
|
69158
|
+
const styles$$ = css `
|
|
69150
69159
|
${display$2('inline-grid')}
|
|
69151
69160
|
|
|
69152
69161
|
:host {
|
|
@@ -69316,7 +69325,7 @@ img.ProseMirror-separator {
|
|
|
69316
69325
|
}
|
|
69317
69326
|
`));
|
|
69318
69327
|
|
|
69319
|
-
const template$
|
|
69328
|
+
const template$_ = html `
|
|
69320
69329
|
<template role="progressbar">
|
|
69321
69330
|
${''
|
|
69322
69331
|
/**
|
|
@@ -69363,8 +69372,8 @@ img.ProseMirror-separator {
|
|
|
69363
69372
|
], Spinner.prototype, "appearance", void 0);
|
|
69364
69373
|
const nimbleSpinner = Spinner.compose({
|
|
69365
69374
|
baseName: 'spinner',
|
|
69366
|
-
template: template$
|
|
69367
|
-
styles: styles
|
|
69375
|
+
template: template$_,
|
|
69376
|
+
styles: styles$$
|
|
69368
69377
|
});
|
|
69369
69378
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
69370
69379
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -69380,7 +69389,7 @@ img.ProseMirror-separator {
|
|
|
69380
69389
|
<slot ${ref('labelSlot')}></slot>
|
|
69381
69390
|
</label>
|
|
69382
69391
|
`);
|
|
69383
|
-
const template$
|
|
69392
|
+
const template$Z = (context, definition) => html `
|
|
69384
69393
|
<template
|
|
69385
69394
|
class="${x => [
|
|
69386
69395
|
x.collapsible && 'collapsible',
|
|
@@ -70592,8 +70601,8 @@ img.ProseMirror-separator {
|
|
|
70592
70601
|
const nimbleSelect = Select.compose({
|
|
70593
70602
|
baseName: 'select',
|
|
70594
70603
|
baseClass: Select$2,
|
|
70595
|
-
template: template$
|
|
70596
|
-
styles: styles$
|
|
70604
|
+
template: template$Z,
|
|
70605
|
+
styles: styles$10,
|
|
70597
70606
|
indicator: arrowExpanderDown16X16.data,
|
|
70598
70607
|
end: html `
|
|
70599
70608
|
<${iconExclamationMarkTag}
|
|
@@ -70606,8 +70615,8 @@ img.ProseMirror-separator {
|
|
|
70606
70615
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
70607
70616
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
70608
70617
|
|
|
70609
|
-
const styles$
|
|
70610
|
-
${styles$
|
|
70618
|
+
const styles$_ = css `
|
|
70619
|
+
${styles$1A}
|
|
70611
70620
|
${'' /* Button specific styles */}
|
|
70612
70621
|
@layer base {
|
|
70613
70622
|
.control {
|
|
@@ -70618,7 +70627,7 @@ img.ProseMirror-separator {
|
|
|
70618
70627
|
}
|
|
70619
70628
|
`;
|
|
70620
70629
|
|
|
70621
|
-
const template$
|
|
70630
|
+
const template$Y = (context, definition) => html `
|
|
70622
70631
|
<template slot="step">
|
|
70623
70632
|
<li class="
|
|
70624
70633
|
container
|
|
@@ -70740,15 +70749,15 @@ img.ProseMirror-separator {
|
|
|
70740
70749
|
], Step.prototype, "tabIndex", void 0);
|
|
70741
70750
|
const nimbleStep = Step.compose({
|
|
70742
70751
|
baseName: 'step',
|
|
70743
|
-
template: template$
|
|
70744
|
-
styles: styles$
|
|
70752
|
+
template: template$Y,
|
|
70753
|
+
styles: styles$_,
|
|
70745
70754
|
shadowOptions: {
|
|
70746
70755
|
delegatesFocus: true
|
|
70747
70756
|
}
|
|
70748
70757
|
});
|
|
70749
70758
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
|
|
70750
70759
|
|
|
70751
|
-
const styles$
|
|
70760
|
+
const styles$Z = css `
|
|
70752
70761
|
${display$2('inline-flex')}
|
|
70753
70762
|
|
|
70754
70763
|
:host {
|
|
@@ -70819,7 +70828,7 @@ img.ProseMirror-separator {
|
|
|
70819
70828
|
}
|
|
70820
70829
|
`;
|
|
70821
70830
|
|
|
70822
|
-
const template$
|
|
70831
|
+
const template$X = html `
|
|
70823
70832
|
${when(x => x.showScrollButtons, html `
|
|
70824
70833
|
<${buttonTag}
|
|
70825
70834
|
content-hidden
|
|
@@ -70964,12 +70973,12 @@ img.ProseMirror-separator {
|
|
|
70964
70973
|
], Stepper.prototype, "steps", void 0);
|
|
70965
70974
|
const nimbleStepper = Stepper.compose({
|
|
70966
70975
|
baseName: 'stepper',
|
|
70967
|
-
template: template$
|
|
70968
|
-
styles: styles$
|
|
70976
|
+
template: template$X,
|
|
70977
|
+
styles: styles$Z
|
|
70969
70978
|
});
|
|
70970
70979
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
|
|
70971
70980
|
|
|
70972
|
-
const styles$
|
|
70981
|
+
const styles$Y = css `
|
|
70973
70982
|
${display$2('inline-flex')}
|
|
70974
70983
|
|
|
70975
70984
|
:host {
|
|
@@ -71199,7 +71208,7 @@ img.ProseMirror-separator {
|
|
|
71199
71208
|
}
|
|
71200
71209
|
`));
|
|
71201
71210
|
|
|
71202
|
-
const template$
|
|
71211
|
+
const template$W = html `
|
|
71203
71212
|
<template
|
|
71204
71213
|
role="switch"
|
|
71205
71214
|
aria-checked="${x => x.checked}"
|
|
@@ -71243,12 +71252,12 @@ img.ProseMirror-separator {
|
|
|
71243
71252
|
const nimbleSwitch = Switch.compose({
|
|
71244
71253
|
baseClass: Switch$1,
|
|
71245
71254
|
baseName: 'switch',
|
|
71246
|
-
template: template$
|
|
71247
|
-
styles: styles$
|
|
71255
|
+
template: template$W,
|
|
71256
|
+
styles: styles$Y
|
|
71248
71257
|
});
|
|
71249
71258
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
71250
71259
|
|
|
71251
|
-
const styles$
|
|
71260
|
+
const styles$X = css `
|
|
71252
71261
|
${display$2('inline-flex')}
|
|
71253
71262
|
|
|
71254
71263
|
:host {
|
|
@@ -71359,11 +71368,11 @@ img.ProseMirror-separator {
|
|
|
71359
71368
|
baseName: 'tab',
|
|
71360
71369
|
baseClass: Tab$1,
|
|
71361
71370
|
template: tabTemplate,
|
|
71362
|
-
styles: styles$
|
|
71371
|
+
styles: styles$X
|
|
71363
71372
|
});
|
|
71364
71373
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
71365
71374
|
|
|
71366
|
-
const styles$
|
|
71375
|
+
const styles$W = css `
|
|
71367
71376
|
${display$2('block')}
|
|
71368
71377
|
|
|
71369
71378
|
:host {
|
|
@@ -71382,7 +71391,7 @@ img.ProseMirror-separator {
|
|
|
71382
71391
|
baseName: 'tab-panel',
|
|
71383
71392
|
baseClass: TabPanel$1,
|
|
71384
71393
|
template: tabPanelTemplate,
|
|
71385
|
-
styles: styles$
|
|
71394
|
+
styles: styles$W
|
|
71386
71395
|
});
|
|
71387
71396
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
71388
71397
|
|
|
@@ -75125,7 +75134,7 @@ img.ProseMirror-separator {
|
|
|
75125
75134
|
}
|
|
75126
75135
|
}
|
|
75127
75136
|
|
|
75128
|
-
const styles$
|
|
75137
|
+
const styles$V = css `
|
|
75129
75138
|
${display$2('flex')}
|
|
75130
75139
|
|
|
75131
75140
|
:host {
|
|
@@ -75363,7 +75372,7 @@ focus outline in that case.
|
|
|
75363
75372
|
}
|
|
75364
75373
|
`));
|
|
75365
75374
|
|
|
75366
|
-
const styles$
|
|
75375
|
+
const styles$U = css `
|
|
75367
75376
|
${display$2('flex')}
|
|
75368
75377
|
|
|
75369
75378
|
:host {
|
|
@@ -75396,7 +75405,7 @@ focus outline in that case.
|
|
|
75396
75405
|
}
|
|
75397
75406
|
`;
|
|
75398
75407
|
|
|
75399
|
-
const template$
|
|
75408
|
+
const template$V = html `
|
|
75400
75409
|
<template role="columnheader"
|
|
75401
75410
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
75402
75411
|
aria-sort="${x => x.ariaSort}"
|
|
@@ -75482,13 +75491,13 @@ focus outline in that case.
|
|
|
75482
75491
|
], TableHeader.prototype, "isGrouped", void 0);
|
|
75483
75492
|
const nimbleTableHeader = TableHeader.compose({
|
|
75484
75493
|
baseName: 'table-header',
|
|
75485
|
-
template: template$
|
|
75486
|
-
styles: styles$
|
|
75494
|
+
template: template$V,
|
|
75495
|
+
styles: styles$U
|
|
75487
75496
|
});
|
|
75488
75497
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
75489
75498
|
const tableHeaderTag = 'nimble-table-header';
|
|
75490
75499
|
|
|
75491
|
-
const styles$
|
|
75500
|
+
const styles$T = css `
|
|
75492
75501
|
:host .animating {
|
|
75493
75502
|
transition: ${mediumDelay} ease-in;
|
|
75494
75503
|
}
|
|
@@ -75513,9 +75522,9 @@ focus outline in that case.
|
|
|
75513
75522
|
}
|
|
75514
75523
|
`;
|
|
75515
75524
|
|
|
75516
|
-
const styles$
|
|
75525
|
+
const styles$S = css `
|
|
75517
75526
|
${display$2('flex')}
|
|
75518
|
-
${styles$
|
|
75527
|
+
${styles$T}
|
|
75519
75528
|
|
|
75520
75529
|
:host {
|
|
75521
75530
|
width: fit-content;
|
|
@@ -75761,7 +75770,7 @@ focus outline in that case.
|
|
|
75761
75770
|
}
|
|
75762
75771
|
`));
|
|
75763
75772
|
|
|
75764
|
-
const styles$
|
|
75773
|
+
const styles$R = css `
|
|
75765
75774
|
${display$2('flex')}
|
|
75766
75775
|
|
|
75767
75776
|
:host {
|
|
@@ -75806,7 +75815,7 @@ focus outline in that case.
|
|
|
75806
75815
|
}
|
|
75807
75816
|
`;
|
|
75808
75817
|
|
|
75809
|
-
const template$
|
|
75818
|
+
const template$U = html `
|
|
75810
75819
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
75811
75820
|
@focusin="${x => x.onCellFocusIn()}"
|
|
75812
75821
|
@blur="${x => x.onCellBlur()}"
|
|
@@ -75903,8 +75912,8 @@ focus outline in that case.
|
|
|
75903
75912
|
], TableCell.prototype, "nestingLevel", void 0);
|
|
75904
75913
|
const nimbleTableCell = TableCell.compose({
|
|
75905
75914
|
baseName: 'table-cell',
|
|
75906
|
-
template: template$
|
|
75907
|
-
styles: styles$
|
|
75915
|
+
template: template$U,
|
|
75916
|
+
styles: styles$R
|
|
75908
75917
|
});
|
|
75909
75918
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
75910
75919
|
const tableCellTag = 'nimble-table-cell';
|
|
@@ -75940,7 +75949,7 @@ focus outline in that case.
|
|
|
75940
75949
|
`)}
|
|
75941
75950
|
</${tableCellTag}>
|
|
75942
75951
|
`;
|
|
75943
|
-
const template$
|
|
75952
|
+
const template$T = html `
|
|
75944
75953
|
<template
|
|
75945
75954
|
role="row"
|
|
75946
75955
|
aria-selected=${x => x.ariaSelected}
|
|
@@ -76316,15 +76325,15 @@ focus outline in that case.
|
|
|
76316
76325
|
], TableRow.prototype, "ariaSelected", null);
|
|
76317
76326
|
const nimbleTableRow = TableRow.compose({
|
|
76318
76327
|
baseName: 'table-row',
|
|
76319
|
-
template: template$
|
|
76320
|
-
styles: styles$
|
|
76328
|
+
template: template$T,
|
|
76329
|
+
styles: styles$S
|
|
76321
76330
|
});
|
|
76322
76331
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
76323
76332
|
const tableRowTag = 'nimble-table-row';
|
|
76324
76333
|
|
|
76325
|
-
const styles$
|
|
76334
|
+
const styles$Q = css `
|
|
76326
76335
|
${display$2('grid')}
|
|
76327
|
-
${styles$
|
|
76336
|
+
${styles$T}
|
|
76328
76337
|
|
|
76329
76338
|
:host {
|
|
76330
76339
|
align-items: center;
|
|
@@ -76497,7 +76506,7 @@ focus outline in that case.
|
|
|
76497
76506
|
}
|
|
76498
76507
|
`));
|
|
76499
76508
|
|
|
76500
|
-
const template$
|
|
76509
|
+
const template$S = html `
|
|
76501
76510
|
<template
|
|
76502
76511
|
role="row"
|
|
76503
76512
|
@click=${x => x.onGroupExpandToggle()}
|
|
@@ -76673,8 +76682,8 @@ focus outline in that case.
|
|
|
76673
76682
|
], TableGroupRow.prototype, "allowHover", void 0);
|
|
76674
76683
|
const nimbleTableGroupRow = TableGroupRow.compose({
|
|
76675
76684
|
baseName: 'table-group-row',
|
|
76676
|
-
template: template$
|
|
76677
|
-
styles: styles$
|
|
76685
|
+
template: template$S,
|
|
76686
|
+
styles: styles$Q
|
|
76678
76687
|
});
|
|
76679
76688
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
76680
76689
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
@@ -76694,7 +76703,7 @@ focus outline in that case.
|
|
|
76694
76703
|
<slot name="${x => x.slot}"></slot>
|
|
76695
76704
|
</${tableHeaderTag}>
|
|
76696
76705
|
`;
|
|
76697
|
-
const template$
|
|
76706
|
+
const template$R = html `
|
|
76698
76707
|
<template
|
|
76699
76708
|
role="treegrid"
|
|
76700
76709
|
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
@@ -81566,12 +81575,12 @@ focus outline in that case.
|
|
|
81566
81575
|
], Table$1.prototype, "windowShiftKeyDown", void 0);
|
|
81567
81576
|
const nimbleTable = Table$1.compose({
|
|
81568
81577
|
baseName: 'table',
|
|
81569
|
-
template: template$
|
|
81570
|
-
styles: styles$
|
|
81578
|
+
template: template$R,
|
|
81579
|
+
styles: styles$V
|
|
81571
81580
|
});
|
|
81572
81581
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
81573
81582
|
|
|
81574
|
-
const styles$
|
|
81583
|
+
const styles$P = css `
|
|
81575
81584
|
${display$2('contents')}
|
|
81576
81585
|
|
|
81577
81586
|
.header-content {
|
|
@@ -81583,7 +81592,7 @@ focus outline in that case.
|
|
|
81583
81592
|
|
|
81584
81593
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
81585
81594
|
// so the template can be composed into other column header templates
|
|
81586
|
-
const template$
|
|
81595
|
+
const template$Q = html `<span
|
|
81587
81596
|
${overflow('hasOverflow')}
|
|
81588
81597
|
class="header-content"
|
|
81589
81598
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -81648,7 +81657,7 @@ focus outline in that case.
|
|
|
81648
81657
|
return ColumnWithPlaceholder;
|
|
81649
81658
|
}
|
|
81650
81659
|
|
|
81651
|
-
const styles$
|
|
81660
|
+
const styles$O = css `
|
|
81652
81661
|
${display$2('flex')}
|
|
81653
81662
|
|
|
81654
81663
|
:host {
|
|
@@ -81679,7 +81688,7 @@ focus outline in that case.
|
|
|
81679
81688
|
}
|
|
81680
81689
|
`;
|
|
81681
81690
|
|
|
81682
|
-
const template$
|
|
81691
|
+
const template$P = html `
|
|
81683
81692
|
<template
|
|
81684
81693
|
@click="${(x, c) => {
|
|
81685
81694
|
if (typeof x.cellRecord?.href === 'string') {
|
|
@@ -81771,8 +81780,8 @@ focus outline in that case.
|
|
|
81771
81780
|
], TableColumnAnchorCellView.prototype, "showAnchor", null);
|
|
81772
81781
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
81773
81782
|
baseName: 'table-column-anchor-cell-view',
|
|
81774
|
-
template: template$
|
|
81775
|
-
styles: styles$
|
|
81783
|
+
template: template$P,
|
|
81784
|
+
styles: styles$O
|
|
81776
81785
|
});
|
|
81777
81786
|
DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
|
|
81778
81787
|
const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
|
|
@@ -81849,7 +81858,7 @@ focus outline in that case.
|
|
|
81849
81858
|
observable
|
|
81850
81859
|
], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
|
|
81851
81860
|
|
|
81852
|
-
const template$
|
|
81861
|
+
const template$O = html `
|
|
81853
81862
|
<span
|
|
81854
81863
|
${overflow('hasOverflow')}
|
|
81855
81864
|
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
@@ -81858,7 +81867,7 @@ focus outline in that case.
|
|
|
81858
81867
|
</span>
|
|
81859
81868
|
`;
|
|
81860
81869
|
|
|
81861
|
-
const styles$
|
|
81870
|
+
const styles$N = css `
|
|
81862
81871
|
${display$2('flex')}
|
|
81863
81872
|
|
|
81864
81873
|
span {
|
|
@@ -81882,8 +81891,8 @@ focus outline in that case.
|
|
|
81882
81891
|
}
|
|
81883
81892
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
81884
81893
|
baseName: 'table-column-text-group-header-view',
|
|
81885
|
-
template: template$
|
|
81886
|
-
styles: styles$
|
|
81894
|
+
template: template$O,
|
|
81895
|
+
styles: styles$N
|
|
81887
81896
|
});
|
|
81888
81897
|
DesignSystem.getOrCreate()
|
|
81889
81898
|
.withPrefix('nimble')
|
|
@@ -82127,8 +82136,8 @@ focus outline in that case.
|
|
|
82127
82136
|
], TableColumnAnchor.prototype, "download", void 0);
|
|
82128
82137
|
const nimbleTableColumnAnchor = TableColumnAnchor.compose({
|
|
82129
82138
|
baseName: 'table-column-anchor',
|
|
82130
|
-
template: template$
|
|
82131
|
-
styles: styles$
|
|
82139
|
+
template: template$Q,
|
|
82140
|
+
styles: styles$P
|
|
82132
82141
|
});
|
|
82133
82142
|
DesignSystem.getOrCreate()
|
|
82134
82143
|
.withPrefix('nimble')
|
|
@@ -82166,15 +82175,15 @@ focus outline in that case.
|
|
|
82166
82175
|
}
|
|
82167
82176
|
const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
|
|
82168
82177
|
baseName: 'table-column-date-text-group-header-view',
|
|
82169
|
-
template: template$
|
|
82170
|
-
styles: styles$
|
|
82178
|
+
template: template$O,
|
|
82179
|
+
styles: styles$N
|
|
82171
82180
|
});
|
|
82172
82181
|
DesignSystem.getOrCreate()
|
|
82173
82182
|
.withPrefix('nimble')
|
|
82174
82183
|
.register(tableColumnDateTextGroupHeaderView());
|
|
82175
82184
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
82176
82185
|
|
|
82177
|
-
const template$
|
|
82186
|
+
const template$N = html `
|
|
82178
82187
|
<template
|
|
82179
82188
|
class="
|
|
82180
82189
|
${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
|
|
@@ -82190,7 +82199,7 @@ focus outline in that case.
|
|
|
82190
82199
|
</template>
|
|
82191
82200
|
`;
|
|
82192
82201
|
|
|
82193
|
-
const styles$
|
|
82202
|
+
const styles$M = css `
|
|
82194
82203
|
${display$2('flex')}
|
|
82195
82204
|
|
|
82196
82205
|
:host {
|
|
@@ -82292,8 +82301,8 @@ focus outline in that case.
|
|
|
82292
82301
|
}
|
|
82293
82302
|
const dateTextCellView = TableColumnDateTextCellView.compose({
|
|
82294
82303
|
baseName: 'table-column-date-text-cell-view',
|
|
82295
|
-
template: template$
|
|
82296
|
-
styles: styles$
|
|
82304
|
+
template: template$N,
|
|
82305
|
+
styles: styles$M
|
|
82297
82306
|
});
|
|
82298
82307
|
DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
|
|
82299
82308
|
const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
|
|
@@ -82627,8 +82636,8 @@ focus outline in that case.
|
|
|
82627
82636
|
], TableColumnDateText.prototype, "customHourCycle", void 0);
|
|
82628
82637
|
const nimbleTableColumnDateText = TableColumnDateText.compose({
|
|
82629
82638
|
baseName: 'table-column-date-text',
|
|
82630
|
-
template: template$
|
|
82631
|
-
styles: styles$
|
|
82639
|
+
template: template$Q,
|
|
82640
|
+
styles: styles$P
|
|
82632
82641
|
});
|
|
82633
82642
|
DesignSystem.getOrCreate()
|
|
82634
82643
|
.withPrefix('nimble')
|
|
@@ -82644,8 +82653,8 @@ focus outline in that case.
|
|
|
82644
82653
|
}
|
|
82645
82654
|
const durationTextCellView = TableColumnDurationTextCellView.compose({
|
|
82646
82655
|
baseName: 'table-column-duration-text-cell-view',
|
|
82647
|
-
template: template$
|
|
82648
|
-
styles: styles$
|
|
82656
|
+
template: template$N,
|
|
82657
|
+
styles: styles$M
|
|
82649
82658
|
});
|
|
82650
82659
|
DesignSystem.getOrCreate()
|
|
82651
82660
|
.withPrefix('nimble')
|
|
@@ -82746,8 +82755,8 @@ focus outline in that case.
|
|
|
82746
82755
|
}
|
|
82747
82756
|
const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
|
|
82748
82757
|
baseName: 'table-column-duration-text-group-header-view',
|
|
82749
|
-
template: template$
|
|
82750
|
-
styles: styles$
|
|
82758
|
+
template: template$O,
|
|
82759
|
+
styles: styles$N
|
|
82751
82760
|
});
|
|
82752
82761
|
DesignSystem.getOrCreate()
|
|
82753
82762
|
.withPrefix('nimble')
|
|
@@ -82799,8 +82808,8 @@ focus outline in that case.
|
|
|
82799
82808
|
}
|
|
82800
82809
|
const nimbleTableColumnDurationText = TableColumnDurationText.compose({
|
|
82801
82810
|
baseName: 'table-column-duration-text',
|
|
82802
|
-
template: template$
|
|
82803
|
-
styles: styles$
|
|
82811
|
+
template: template$Q,
|
|
82812
|
+
styles: styles$P
|
|
82804
82813
|
});
|
|
82805
82814
|
DesignSystem.getOrCreate()
|
|
82806
82815
|
.withPrefix('nimble')
|
|
@@ -82908,15 +82917,15 @@ focus outline in that case.
|
|
|
82908
82917
|
attr({ attribute: 'key-type' })
|
|
82909
82918
|
], TableColumnEnumBase.prototype, "keyType", void 0);
|
|
82910
82919
|
|
|
82911
|
-
const styles$
|
|
82912
|
-
${styles$
|
|
82920
|
+
const styles$L = css `
|
|
82921
|
+
${styles$P}
|
|
82913
82922
|
|
|
82914
82923
|
slot[name='mapping'] {
|
|
82915
82924
|
display: none;
|
|
82916
82925
|
}
|
|
82917
82926
|
`;
|
|
82918
82927
|
|
|
82919
|
-
const template$
|
|
82928
|
+
const template$M = html `${template$Q}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
82920
82929
|
|
|
82921
82930
|
// As the returned class is internal to the function, we can't write a signature that uses is directly, so rely on inference
|
|
82922
82931
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type
|
|
@@ -83019,7 +83028,7 @@ focus outline in that case.
|
|
|
83019
83028
|
}
|
|
83020
83029
|
}
|
|
83021
83030
|
|
|
83022
|
-
const styles$
|
|
83031
|
+
const styles$K = css `
|
|
83023
83032
|
${display$2('inline-flex')}
|
|
83024
83033
|
|
|
83025
83034
|
:host {
|
|
@@ -83043,7 +83052,7 @@ focus outline in that case.
|
|
|
83043
83052
|
}
|
|
83044
83053
|
`;
|
|
83045
83054
|
|
|
83046
|
-
const template$
|
|
83055
|
+
const template$L = html `
|
|
83047
83056
|
${when(x => x.visualizationTemplate, html `
|
|
83048
83057
|
<span class="reserve-icon-size">
|
|
83049
83058
|
${x => x.visualizationTemplate}
|
|
@@ -83187,15 +83196,15 @@ focus outline in that case.
|
|
|
83187
83196
|
], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
|
|
83188
83197
|
const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
|
|
83189
83198
|
baseName: 'table-column-mapping-group-header-view',
|
|
83190
|
-
template: template$
|
|
83191
|
-
styles: styles$
|
|
83199
|
+
template: template$L,
|
|
83200
|
+
styles: styles$K
|
|
83192
83201
|
});
|
|
83193
83202
|
DesignSystem.getOrCreate()
|
|
83194
83203
|
.withPrefix('nimble')
|
|
83195
83204
|
.register(mappingGroupHeaderView());
|
|
83196
83205
|
const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
|
|
83197
83206
|
|
|
83198
|
-
const styles$
|
|
83207
|
+
const styles$J = css `
|
|
83199
83208
|
${display$2('inline-flex')}
|
|
83200
83209
|
|
|
83201
83210
|
:host {
|
|
@@ -83219,7 +83228,7 @@ focus outline in that case.
|
|
|
83219
83228
|
}
|
|
83220
83229
|
`;
|
|
83221
83230
|
|
|
83222
|
-
const template$
|
|
83231
|
+
const template$K = html `
|
|
83223
83232
|
${when(x => x.visualizationTemplate, html `
|
|
83224
83233
|
<span class="reserve-icon-size">
|
|
83225
83234
|
${x => x.visualizationTemplate}
|
|
@@ -83306,8 +83315,8 @@ focus outline in that case.
|
|
|
83306
83315
|
], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
|
|
83307
83316
|
const mappingCellView = TableColumnMappingCellView.compose({
|
|
83308
83317
|
baseName: 'table-column-mapping-cell-view',
|
|
83309
|
-
template: template$
|
|
83310
|
-
styles: styles$
|
|
83318
|
+
template: template$K,
|
|
83319
|
+
styles: styles$J
|
|
83311
83320
|
});
|
|
83312
83321
|
DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
|
|
83313
83322
|
const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
|
|
@@ -83390,23 +83399,23 @@ focus outline in that case.
|
|
|
83390
83399
|
], TableColumnMapping.prototype, "widthMode", void 0);
|
|
83391
83400
|
const nimbleTableColumnMapping = TableColumnMapping.compose({
|
|
83392
83401
|
baseName: 'table-column-mapping',
|
|
83393
|
-
template: template$
|
|
83394
|
-
styles: styles$
|
|
83402
|
+
template: template$M,
|
|
83403
|
+
styles: styles$L
|
|
83395
83404
|
});
|
|
83396
83405
|
DesignSystem.getOrCreate()
|
|
83397
83406
|
.withPrefix('nimble')
|
|
83398
83407
|
.register(nimbleTableColumnMapping());
|
|
83399
83408
|
|
|
83400
|
-
const template$
|
|
83409
|
+
const template$J = html `
|
|
83401
83410
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
83402
|
-
>${template$
|
|
83411
|
+
>${template$Q}</template
|
|
83403
83412
|
>
|
|
83404
83413
|
`;
|
|
83405
83414
|
|
|
83406
83415
|
/** @internal */
|
|
83407
83416
|
const cellViewMenuSlotName = 'menu-button-menu';
|
|
83408
83417
|
|
|
83409
|
-
const template$
|
|
83418
|
+
const template$I = html `
|
|
83410
83419
|
${when(x => x.showMenuButton, html `
|
|
83411
83420
|
<${menuButtonTag}
|
|
83412
83421
|
${ref('menuButton')}
|
|
@@ -83425,7 +83434,7 @@ focus outline in that case.
|
|
|
83425
83434
|
`)}
|
|
83426
83435
|
`;
|
|
83427
83436
|
|
|
83428
|
-
const styles$
|
|
83437
|
+
const styles$I = css `
|
|
83429
83438
|
:host {
|
|
83430
83439
|
align-self: center;
|
|
83431
83440
|
width: 100%;
|
|
@@ -83500,8 +83509,8 @@ focus outline in that case.
|
|
|
83500
83509
|
], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
|
|
83501
83510
|
const menuButtonCellView = TableColumnMenuButtonCellView.compose({
|
|
83502
83511
|
baseName: 'table-column-menu-button-cell-view',
|
|
83503
|
-
template: template$
|
|
83504
|
-
styles: styles$
|
|
83512
|
+
template: template$I,
|
|
83513
|
+
styles: styles$I
|
|
83505
83514
|
});
|
|
83506
83515
|
DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
|
|
83507
83516
|
const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
|
|
@@ -83556,8 +83565,8 @@ focus outline in that case.
|
|
|
83556
83565
|
], TableColumnMenuButton.prototype, "menuSlot", void 0);
|
|
83557
83566
|
const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
|
|
83558
83567
|
baseName: 'table-column-menu-button',
|
|
83559
|
-
template: template$
|
|
83560
|
-
styles: styles$
|
|
83568
|
+
template: template$J,
|
|
83569
|
+
styles: styles$P
|
|
83561
83570
|
});
|
|
83562
83571
|
DesignSystem.getOrCreate()
|
|
83563
83572
|
.withPrefix('nimble')
|
|
@@ -83565,7 +83574,7 @@ focus outline in that case.
|
|
|
83565
83574
|
|
|
83566
83575
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
83567
83576
|
// so the template can be composed into other column header templates
|
|
83568
|
-
const template$
|
|
83577
|
+
const template$H = html `<span
|
|
83569
83578
|
${overflow('hasOverflow')}
|
|
83570
83579
|
class="header-content"
|
|
83571
83580
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -83584,8 +83593,8 @@ focus outline in that case.
|
|
|
83584
83593
|
}
|
|
83585
83594
|
const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
|
|
83586
83595
|
baseName: 'table-column-number-text-group-header-view',
|
|
83587
|
-
template: template$
|
|
83588
|
-
styles: styles$
|
|
83596
|
+
template: template$O,
|
|
83597
|
+
styles: styles$N
|
|
83589
83598
|
});
|
|
83590
83599
|
DesignSystem.getOrCreate()
|
|
83591
83600
|
.withPrefix('nimble')
|
|
@@ -83606,8 +83615,8 @@ focus outline in that case.
|
|
|
83606
83615
|
}
|
|
83607
83616
|
const numberTextCellView = TableColumnNumberTextCellView.compose({
|
|
83608
83617
|
baseName: 'table-column-number-text-cell-view',
|
|
83609
|
-
template: template$
|
|
83610
|
-
styles: styles$
|
|
83618
|
+
template: template$N,
|
|
83619
|
+
styles: styles$M
|
|
83611
83620
|
});
|
|
83612
83621
|
DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
|
|
83613
83622
|
const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
|
|
@@ -84147,8 +84156,8 @@ focus outline in that case.
|
|
|
84147
84156
|
], TableColumnNumberText.prototype, "unit", void 0);
|
|
84148
84157
|
const nimbleTableColumnNumberText = TableColumnNumberText.compose({
|
|
84149
84158
|
baseName: 'table-column-number-text',
|
|
84150
|
-
template: template$
|
|
84151
|
-
styles: styles$
|
|
84159
|
+
template: template$H,
|
|
84160
|
+
styles: styles$P
|
|
84152
84161
|
});
|
|
84153
84162
|
DesignSystem.getOrCreate()
|
|
84154
84163
|
.withPrefix('nimble')
|
|
@@ -84166,8 +84175,8 @@ focus outline in that case.
|
|
|
84166
84175
|
}
|
|
84167
84176
|
const textCellView = TableColumnTextCellView.compose({
|
|
84168
84177
|
baseName: 'table-column-text-cell-view',
|
|
84169
|
-
template: template$
|
|
84170
|
-
styles: styles$
|
|
84178
|
+
template: template$N,
|
|
84179
|
+
styles: styles$M
|
|
84171
84180
|
});
|
|
84172
84181
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
|
|
84173
84182
|
const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
|
|
@@ -84221,15 +84230,15 @@ focus outline in that case.
|
|
|
84221
84230
|
}
|
|
84222
84231
|
const nimbleTableColumnText = TableColumnText.compose({
|
|
84223
84232
|
baseName: 'table-column-text',
|
|
84224
|
-
template: template$
|
|
84225
|
-
styles: styles$
|
|
84233
|
+
template: template$Q,
|
|
84234
|
+
styles: styles$P
|
|
84226
84235
|
});
|
|
84227
84236
|
DesignSystem.getOrCreate()
|
|
84228
84237
|
.withPrefix('nimble')
|
|
84229
84238
|
.register(nimbleTableColumnText());
|
|
84230
84239
|
|
|
84231
|
-
const styles$
|
|
84232
|
-
${styles$
|
|
84240
|
+
const styles$H = css `
|
|
84241
|
+
${styles$1w}
|
|
84233
84242
|
|
|
84234
84243
|
.tabpanel {
|
|
84235
84244
|
overflow: auto;
|
|
@@ -84310,12 +84319,12 @@ focus outline in that case.
|
|
|
84310
84319
|
const nimbleTabs = Tabs.compose({
|
|
84311
84320
|
baseName: 'tabs',
|
|
84312
84321
|
baseClass: Tabs$1,
|
|
84313
|
-
template: template$
|
|
84314
|
-
styles: styles$
|
|
84322
|
+
template: template$1i,
|
|
84323
|
+
styles: styles$H
|
|
84315
84324
|
});
|
|
84316
84325
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
84317
84326
|
|
|
84318
|
-
const styles$
|
|
84327
|
+
const styles$G = css `
|
|
84319
84328
|
${display$2('flex')}
|
|
84320
84329
|
|
|
84321
84330
|
:host {
|
|
@@ -84347,7 +84356,7 @@ focus outline in that case.
|
|
|
84347
84356
|
}
|
|
84348
84357
|
`;
|
|
84349
84358
|
|
|
84350
|
-
const template$
|
|
84359
|
+
const template$G = (context, definition) => html `
|
|
84351
84360
|
<template slot="end">
|
|
84352
84361
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
84353
84362
|
<div class="separator"></div>
|
|
@@ -84379,8 +84388,8 @@ focus outline in that case.
|
|
|
84379
84388
|
], TabsToolbar.prototype, "defaultSlottedElements", void 0);
|
|
84380
84389
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
84381
84390
|
baseName: 'tabs-toolbar',
|
|
84382
|
-
template: template$
|
|
84383
|
-
styles: styles$
|
|
84391
|
+
template: template$G,
|
|
84392
|
+
styles: styles$G
|
|
84384
84393
|
});
|
|
84385
84394
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
84386
84395
|
applyMixins(TabsToolbar, StartEnd);
|
|
@@ -84390,10 +84399,10 @@ focus outline in that case.
|
|
|
84390
84399
|
block: 'block'
|
|
84391
84400
|
};
|
|
84392
84401
|
|
|
84393
|
-
const styles$
|
|
84402
|
+
const styles$F = css `
|
|
84394
84403
|
${display$2('inline-flex')}
|
|
84395
|
-
${styles$
|
|
84396
|
-
${styles$
|
|
84404
|
+
${styles$1n}
|
|
84405
|
+
${styles$1i}
|
|
84397
84406
|
|
|
84398
84407
|
:host {
|
|
84399
84408
|
font: ${bodyFont};
|
|
@@ -84588,7 +84597,7 @@ focus outline in that case.
|
|
|
84588
84597
|
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
84589
84598
|
</label>
|
|
84590
84599
|
`);
|
|
84591
|
-
const template$
|
|
84600
|
+
const template$F = () => html `
|
|
84592
84601
|
${labelTemplate$1}
|
|
84593
84602
|
<div class="container">
|
|
84594
84603
|
<textarea
|
|
@@ -84736,8 +84745,8 @@ focus outline in that case.
|
|
|
84736
84745
|
const nimbleTextArea = TextArea.compose({
|
|
84737
84746
|
baseName: 'text-area',
|
|
84738
84747
|
baseClass: TextArea$1,
|
|
84739
|
-
template: template$
|
|
84740
|
-
styles: styles$
|
|
84748
|
+
template: template$F,
|
|
84749
|
+
styles: styles$F,
|
|
84741
84750
|
shadowOptions: {
|
|
84742
84751
|
delegatesFocus: true
|
|
84743
84752
|
}
|
|
@@ -84754,10 +84763,10 @@ focus outline in that case.
|
|
|
84754
84763
|
frameless: 'frameless'
|
|
84755
84764
|
};
|
|
84756
84765
|
|
|
84757
|
-
const styles$
|
|
84766
|
+
const styles$E = css `
|
|
84758
84767
|
${display$2('inline-block')}
|
|
84759
|
-
${styles$
|
|
84760
|
-
${styles$
|
|
84768
|
+
${styles$1n}
|
|
84769
|
+
${styles$1i}
|
|
84761
84770
|
|
|
84762
84771
|
:host {
|
|
84763
84772
|
font: ${bodyFont};
|
|
@@ -85034,7 +85043,7 @@ focus outline in that case.
|
|
|
85034
85043
|
* The template for the {@link @ni/fast-foundation#(TextField:class)} component.
|
|
85035
85044
|
* @public
|
|
85036
85045
|
*/
|
|
85037
|
-
const template$
|
|
85046
|
+
const template$E = (context, definition) => html `
|
|
85038
85047
|
<template
|
|
85039
85048
|
class="
|
|
85040
85049
|
${x => (x.readOnly ? 'readonly' : '')}
|
|
@@ -85123,8 +85132,8 @@ focus outline in that case.
|
|
|
85123
85132
|
const nimbleTextField = TextField.compose({
|
|
85124
85133
|
baseName: 'text-field',
|
|
85125
85134
|
baseClass: TextField$1,
|
|
85126
|
-
template: template$
|
|
85127
|
-
styles: styles$
|
|
85135
|
+
template: template$E,
|
|
85136
|
+
styles: styles$E,
|
|
85128
85137
|
shadowOptions: {
|
|
85129
85138
|
delegatesFocus: true
|
|
85130
85139
|
},
|
|
@@ -85141,7 +85150,7 @@ focus outline in that case.
|
|
|
85141
85150
|
});
|
|
85142
85151
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
85143
85152
|
|
|
85144
|
-
const styles$
|
|
85153
|
+
const styles$D = css `
|
|
85145
85154
|
${display$2('inline-flex')}
|
|
85146
85155
|
|
|
85147
85156
|
:host {
|
|
@@ -85227,7 +85236,7 @@ focus outline in that case.
|
|
|
85227
85236
|
}
|
|
85228
85237
|
`));
|
|
85229
85238
|
|
|
85230
|
-
const template$
|
|
85239
|
+
const template$D = html `
|
|
85231
85240
|
${when(x => x.tooltipVisible, html `
|
|
85232
85241
|
<${anchoredRegionTag}
|
|
85233
85242
|
class="anchored-region"
|
|
@@ -85279,8 +85288,8 @@ focus outline in that case.
|
|
|
85279
85288
|
const nimbleTooltip = Tooltip.compose({
|
|
85280
85289
|
baseName: 'tooltip',
|
|
85281
85290
|
baseClass: Tooltip$1,
|
|
85282
|
-
template: template$
|
|
85283
|
-
styles: styles$
|
|
85291
|
+
template: template$D,
|
|
85292
|
+
styles: styles$D
|
|
85284
85293
|
});
|
|
85285
85294
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
85286
85295
|
const tooltipTag = 'nimble-tooltip';
|
|
@@ -85369,7 +85378,7 @@ focus outline in that case.
|
|
|
85369
85378
|
}
|
|
85370
85379
|
}
|
|
85371
85380
|
|
|
85372
|
-
const styles$
|
|
85381
|
+
const styles$C = css `
|
|
85373
85382
|
${display$2('block')}
|
|
85374
85383
|
|
|
85375
85384
|
:host {
|
|
@@ -85586,12 +85595,12 @@ focus outline in that case.
|
|
|
85586
85595
|
baseName: 'tree-item',
|
|
85587
85596
|
baseClass: TreeItem$1,
|
|
85588
85597
|
template: treeItemTemplate,
|
|
85589
|
-
styles: styles$
|
|
85598
|
+
styles: styles$C,
|
|
85590
85599
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
85591
85600
|
});
|
|
85592
85601
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
85593
85602
|
|
|
85594
|
-
const styles$
|
|
85603
|
+
const styles$B = css `
|
|
85595
85604
|
${display$2('flex')}
|
|
85596
85605
|
|
|
85597
85606
|
:host {
|
|
@@ -85605,7 +85614,7 @@ focus outline in that case.
|
|
|
85605
85614
|
}
|
|
85606
85615
|
`;
|
|
85607
85616
|
|
|
85608
|
-
const template$
|
|
85617
|
+
const template$C = html `
|
|
85609
85618
|
<template
|
|
85610
85619
|
role="tree"
|
|
85611
85620
|
${ref('treeView')}
|
|
@@ -85701,8 +85710,8 @@ focus outline in that case.
|
|
|
85701
85710
|
const nimbleTreeView = TreeView.compose({
|
|
85702
85711
|
baseName: 'tree-view',
|
|
85703
85712
|
baseClass: TreeView$1,
|
|
85704
|
-
template: template$
|
|
85705
|
-
styles: styles$
|
|
85713
|
+
template: template$C,
|
|
85714
|
+
styles: styles$B
|
|
85706
85715
|
});
|
|
85707
85716
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
85708
85717
|
|
|
@@ -85818,9 +85827,9 @@ focus outline in that case.
|
|
|
85818
85827
|
}
|
|
85819
85828
|
const unitScaleByte = new UnitScaleByte();
|
|
85820
85829
|
|
|
85821
|
-
const template$
|
|
85830
|
+
const template$B = html `<template slot="unit"></template>`;
|
|
85822
85831
|
|
|
85823
|
-
const styles$
|
|
85832
|
+
const styles$A = css `
|
|
85824
85833
|
${display$2('none')}
|
|
85825
85834
|
`;
|
|
85826
85835
|
|
|
@@ -85848,8 +85857,8 @@ focus outline in that case.
|
|
|
85848
85857
|
], UnitByte.prototype, "binary", void 0);
|
|
85849
85858
|
const nimbleUnitByte = UnitByte.compose({
|
|
85850
85859
|
baseName: 'unit-byte',
|
|
85851
|
-
template: template$
|
|
85852
|
-
styles: styles$
|
|
85860
|
+
template: template$B,
|
|
85861
|
+
styles: styles$A
|
|
85853
85862
|
});
|
|
85854
85863
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
|
|
85855
85864
|
|
|
@@ -85901,8 +85910,8 @@ focus outline in that case.
|
|
|
85901
85910
|
}
|
|
85902
85911
|
const nimbleUnitVolt = UnitVolt.compose({
|
|
85903
85912
|
baseName: 'unit-volt',
|
|
85904
|
-
template: template$
|
|
85905
|
-
styles: styles$
|
|
85913
|
+
template: template$B,
|
|
85914
|
+
styles: styles$A
|
|
85906
85915
|
});
|
|
85907
85916
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
|
|
85908
85917
|
|
|
@@ -100946,7 +100955,7 @@ focus outline in that case.
|
|
|
100946
100955
|
return new Table(reader.readAll());
|
|
100947
100956
|
}
|
|
100948
100957
|
|
|
100949
|
-
const template$
|
|
100958
|
+
const template$A = html `
|
|
100950
100959
|
<div class="wafer-map-container">
|
|
100951
100960
|
<svg class="svg-root">
|
|
100952
100961
|
<g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
|
|
@@ -100979,7 +100988,7 @@ focus outline in that case.
|
|
|
100979
100988
|
</div>
|
|
100980
100989
|
`;
|
|
100981
100990
|
|
|
100982
|
-
const styles$
|
|
100991
|
+
const styles$z = css `
|
|
100983
100992
|
${display$2('inline-block')}
|
|
100984
100993
|
|
|
100985
100994
|
:host {
|
|
@@ -104004,8 +104013,8 @@ focus outline in that case.
|
|
|
104004
104013
|
], WaferMap.prototype, "colorScale", void 0);
|
|
104005
104014
|
const nimbleWaferMap = WaferMap.compose({
|
|
104006
104015
|
baseName: 'wafer-map',
|
|
104007
|
-
template: template$
|
|
104008
|
-
styles: styles$
|
|
104016
|
+
template: template$A,
|
|
104017
|
+
styles: styles$z
|
|
104009
104018
|
});
|
|
104010
104019
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
104011
104020
|
|
|
@@ -104017,7 +104026,7 @@ focus outline in that case.
|
|
|
104017
104026
|
*/
|
|
104018
104027
|
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;}`;
|
|
104019
104028
|
|
|
104020
|
-
const styles$
|
|
104029
|
+
const styles$y = css `
|
|
104021
104030
|
${display$1('flex')}
|
|
104022
104031
|
|
|
104023
104032
|
:host {
|
|
@@ -104107,7 +104116,7 @@ focus outline in that case.
|
|
|
104107
104116
|
}
|
|
104108
104117
|
`;
|
|
104109
104118
|
|
|
104110
|
-
const template$
|
|
104119
|
+
const template$z = html `
|
|
104111
104120
|
<div class="toolbar ${x => (x.toolbarEmpty ? 'toolbar-empty' : '')}">
|
|
104112
104121
|
<slot name="toolbar" ${slotted({ property: 'slottedToolbarElements' })}></slot>
|
|
104113
104122
|
</div>
|
|
@@ -104507,16 +104516,16 @@ focus outline in that case.
|
|
|
104507
104516
|
], ChatConversation.prototype, "slottedEndElements", void 0);
|
|
104508
104517
|
const sprightChatConversation = ChatConversation.compose({
|
|
104509
104518
|
baseName: 'chat-conversation',
|
|
104510
|
-
template: template$
|
|
104511
|
-
styles: styles$
|
|
104519
|
+
template: template$z,
|
|
104520
|
+
styles: styles$y
|
|
104512
104521
|
});
|
|
104513
104522
|
DesignSystem.getOrCreate()
|
|
104514
104523
|
.withPrefix('spright')
|
|
104515
104524
|
.register(sprightChatConversation());
|
|
104516
104525
|
|
|
104517
|
-
const styles$
|
|
104526
|
+
const styles$x = css `
|
|
104518
104527
|
${display$1('flex')}
|
|
104519
|
-
${styles$
|
|
104528
|
+
${styles$1n}
|
|
104520
104529
|
|
|
104521
104530
|
:host {
|
|
104522
104531
|
width: 100%;
|
|
@@ -104660,7 +104669,7 @@ focus outline in that case.
|
|
|
104660
104669
|
}
|
|
104661
104670
|
`;
|
|
104662
104671
|
|
|
104663
|
-
const template$
|
|
104672
|
+
const template$y = html `
|
|
104664
104673
|
<div class="container">
|
|
104665
104674
|
<section class="attachments ${x => (x.attachmentsIsEmpty ? '' : 'has-content')}">
|
|
104666
104675
|
<slot
|
|
@@ -104912,8 +104921,8 @@ focus outline in that case.
|
|
|
104912
104921
|
], ChatInput.prototype, "slottedAttachmentsElements", void 0);
|
|
104913
104922
|
const sprightChatInput = ChatInput.compose({
|
|
104914
104923
|
baseName: 'chat-input',
|
|
104915
|
-
template: template$
|
|
104916
|
-
styles: styles$
|
|
104924
|
+
template: template$y,
|
|
104925
|
+
styles: styles$x,
|
|
104917
104926
|
shadowOptions: {
|
|
104918
104927
|
delegatesFocus: true
|
|
104919
104928
|
}
|
|
@@ -104931,7 +104940,7 @@ focus outline in that case.
|
|
|
104931
104940
|
inbound: 'inbound'
|
|
104932
104941
|
};
|
|
104933
104942
|
|
|
104934
|
-
const styles$
|
|
104943
|
+
const styles$w = css `
|
|
104935
104944
|
${display$1('flex')}
|
|
104936
104945
|
|
|
104937
104946
|
:host {
|
|
@@ -105005,7 +105014,7 @@ focus outline in that case.
|
|
|
105005
105014
|
}
|
|
105006
105015
|
`;
|
|
105007
105016
|
|
|
105008
|
-
const template$
|
|
105017
|
+
const template$x = (context, definition) => html `
|
|
105009
105018
|
<div class="container">
|
|
105010
105019
|
${startSlotTemplate(context, definition)}
|
|
105011
105020
|
<section class="message-content">
|
|
@@ -105054,12 +105063,12 @@ focus outline in that case.
|
|
|
105054
105063
|
applyMixins(ChatMessage, StartEnd);
|
|
105055
105064
|
const sprightChatMessage = ChatMessage.compose({
|
|
105056
105065
|
baseName: 'chat-message',
|
|
105057
|
-
template: template$
|
|
105058
|
-
styles: styles$
|
|
105066
|
+
template: template$x,
|
|
105067
|
+
styles: styles$w
|
|
105059
105068
|
});
|
|
105060
105069
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
|
|
105061
105070
|
|
|
105062
|
-
const styles$
|
|
105071
|
+
const styles$v = css `
|
|
105063
105072
|
${display$1('flex')}
|
|
105064
105073
|
|
|
105065
105074
|
:host {
|
|
@@ -105121,7 +105130,7 @@ focus outline in that case.
|
|
|
105121
105130
|
}
|
|
105122
105131
|
`;
|
|
105123
105132
|
|
|
105124
|
-
const template$
|
|
105133
|
+
const template$w = (context, definition) => html `
|
|
105125
105134
|
<div class="container">
|
|
105126
105135
|
${startSlotTemplate(context, definition)}
|
|
105127
105136
|
<section class="message-content">
|
|
@@ -105161,12 +105170,12 @@ focus outline in that case.
|
|
|
105161
105170
|
applyMixins(ChatMessageInbound, StartEnd);
|
|
105162
105171
|
const sprightChatMessageInbound = ChatMessageInbound.compose({
|
|
105163
105172
|
baseName: 'chat-message-inbound',
|
|
105164
|
-
template: template$
|
|
105165
|
-
styles: styles$
|
|
105173
|
+
template: template$w,
|
|
105174
|
+
styles: styles$v
|
|
105166
105175
|
});
|
|
105167
105176
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageInbound());
|
|
105168
105177
|
|
|
105169
|
-
const styles$
|
|
105178
|
+
const styles$u = css `
|
|
105170
105179
|
${display$1('flex')}
|
|
105171
105180
|
|
|
105172
105181
|
:host {
|
|
@@ -105201,7 +105210,7 @@ focus outline in that case.
|
|
|
105201
105210
|
}
|
|
105202
105211
|
`;
|
|
105203
105212
|
|
|
105204
|
-
const template$
|
|
105213
|
+
const template$v = () => html `
|
|
105205
105214
|
<div class="container">
|
|
105206
105215
|
<section class="message-content">
|
|
105207
105216
|
<slot></slot>
|
|
@@ -105223,12 +105232,12 @@ focus outline in that case.
|
|
|
105223
105232
|
}
|
|
105224
105233
|
const sprightChatMessageOutbound = ChatMessageOutbound.compose({
|
|
105225
105234
|
baseName: 'chat-message-outbound',
|
|
105226
|
-
template: template$
|
|
105227
|
-
styles: styles$
|
|
105235
|
+
template: template$v,
|
|
105236
|
+
styles: styles$u
|
|
105228
105237
|
});
|
|
105229
105238
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageOutbound());
|
|
105230
105239
|
|
|
105231
|
-
const styles$
|
|
105240
|
+
const styles$t = css `
|
|
105232
105241
|
${display$1('flex')}
|
|
105233
105242
|
|
|
105234
105243
|
:host {
|
|
@@ -105259,7 +105268,7 @@ focus outline in that case.
|
|
|
105259
105268
|
}
|
|
105260
105269
|
`;
|
|
105261
105270
|
|
|
105262
|
-
const template$
|
|
105271
|
+
const template$u = () => html `
|
|
105263
105272
|
<div class="container">
|
|
105264
105273
|
<section class="message-content">
|
|
105265
105274
|
<slot></slot>
|
|
@@ -105279,12 +105288,12 @@ focus outline in that case.
|
|
|
105279
105288
|
}
|
|
105280
105289
|
const sprightChatMessageSystem = ChatMessageSystem.compose({
|
|
105281
105290
|
baseName: 'chat-message-system',
|
|
105282
|
-
template: template$
|
|
105283
|
-
styles: styles$
|
|
105291
|
+
template: template$u,
|
|
105292
|
+
styles: styles$t
|
|
105284
105293
|
});
|
|
105285
105294
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageSystem());
|
|
105286
105295
|
|
|
105287
|
-
const styles$
|
|
105296
|
+
const styles$s = css `
|
|
105288
105297
|
${display$1('flex')}
|
|
105289
105298
|
|
|
105290
105299
|
:host {
|
|
@@ -105390,13 +105399,13 @@ focus outline in that case.
|
|
|
105390
105399
|
<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"/>
|
|
105391
105400
|
</svg>`;
|
|
105392
105401
|
|
|
105393
|
-
const template$
|
|
105402
|
+
const template$t = html `
|
|
105394
105403
|
<div class="icon light-icon" aria-hidden="true" :innerHTML="${() => nigelChatLightData}"></div>
|
|
105395
105404
|
<div class="icon dark-icon" aria-hidden="true" :innerHTML="${() => nigelChatDarkData}"></div>
|
|
105396
105405
|
`;
|
|
105397
105406
|
|
|
105398
|
-
const styles$
|
|
105399
|
-
${styles$
|
|
105407
|
+
const styles$r = css `
|
|
105408
|
+
${styles$1y}
|
|
105400
105409
|
|
|
105401
105410
|
.dark-icon {
|
|
105402
105411
|
display: none;
|
|
@@ -105419,15 +105428,15 @@ focus outline in that case.
|
|
|
105419
105428
|
}
|
|
105420
105429
|
const sprightIconNigelChat = IconNigelChat.compose({
|
|
105421
105430
|
baseName: 'icon-nigel-chat',
|
|
105422
|
-
template: template$
|
|
105423
|
-
styles: styles$
|
|
105431
|
+
template: template$t,
|
|
105432
|
+
styles: styles$r
|
|
105424
105433
|
});
|
|
105425
105434
|
DesignSystem.getOrCreate()
|
|
105426
105435
|
.withPrefix('spright')
|
|
105427
105436
|
.register(sprightIconNigelChat());
|
|
105428
105437
|
const iconNigelChatTag = 'spright-icon-nigel-chat';
|
|
105429
105438
|
|
|
105430
|
-
const template$
|
|
105439
|
+
const template$s = () => html `
|
|
105431
105440
|
<div class="container">
|
|
105432
105441
|
<div class="brand-icon">
|
|
105433
105442
|
<slot name="brand-icon">
|
|
@@ -105459,8 +105468,8 @@ focus outline in that case.
|
|
|
105459
105468
|
], ChatMessageWelcome.prototype, "subtitle", void 0);
|
|
105460
105469
|
const sprightChatMessageWelcome = ChatMessageWelcome.compose({
|
|
105461
105470
|
baseName: 'chat-message-welcome',
|
|
105462
|
-
template: template$
|
|
105463
|
-
styles: styles$
|
|
105471
|
+
template: template$s,
|
|
105472
|
+
styles: styles$s
|
|
105464
105473
|
});
|
|
105465
105474
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageWelcome());
|
|
105466
105475
|
|
|
@@ -105481,13 +105490,13 @@ focus outline in that case.
|
|
|
105481
105490
|
*/
|
|
105482
105491
|
class IconBreakpointConditional extends Icon {
|
|
105483
105492
|
}
|
|
105484
|
-
const template$
|
|
105493
|
+
const template$r = html `
|
|
105485
105494
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$6}"></div>
|
|
105486
105495
|
`;
|
|
105487
105496
|
const sprightIconBreakpointConditional = IconBreakpointConditional.compose({
|
|
105488
105497
|
baseName: 'icon-breakpoint-conditional',
|
|
105489
|
-
template: template$
|
|
105490
|
-
styles: styles$
|
|
105498
|
+
template: template$r,
|
|
105499
|
+
styles: styles$1y
|
|
105491
105500
|
});
|
|
105492
105501
|
DesignSystem.getOrCreate()
|
|
105493
105502
|
.withPrefix('spright')
|
|
@@ -105512,13 +105521,13 @@ focus outline in that case.
|
|
|
105512
105521
|
*/
|
|
105513
105522
|
class IconBreakpointDisabled extends Icon {
|
|
105514
105523
|
}
|
|
105515
|
-
const template$
|
|
105524
|
+
const template$q = html `
|
|
105516
105525
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$5}"></div>
|
|
105517
105526
|
`;
|
|
105518
105527
|
const sprightIconBreakpointDisabled = IconBreakpointDisabled.compose({
|
|
105519
105528
|
baseName: 'icon-breakpoint-disabled',
|
|
105520
|
-
template: template$
|
|
105521
|
-
styles: styles$
|
|
105529
|
+
template: template$q,
|
|
105530
|
+
styles: styles$1y
|
|
105522
105531
|
});
|
|
105523
105532
|
DesignSystem.getOrCreate()
|
|
105524
105533
|
.withPrefix('spright')
|
|
@@ -105542,13 +105551,13 @@ focus outline in that case.
|
|
|
105542
105551
|
*/
|
|
105543
105552
|
class IconBreakpointEnabled extends Icon {
|
|
105544
105553
|
}
|
|
105545
|
-
const template$
|
|
105554
|
+
const template$p = html `
|
|
105546
105555
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$4}"></div>
|
|
105547
105556
|
`;
|
|
105548
105557
|
const sprightIconBreakpointEnabled = IconBreakpointEnabled.compose({
|
|
105549
105558
|
baseName: 'icon-breakpoint-enabled',
|
|
105550
|
-
template: template$
|
|
105551
|
-
styles: styles$
|
|
105559
|
+
template: template$p,
|
|
105560
|
+
styles: styles$1y
|
|
105552
105561
|
});
|
|
105553
105562
|
DesignSystem.getOrCreate()
|
|
105554
105563
|
.withPrefix('spright')
|
|
@@ -105572,13 +105581,13 @@ focus outline in that case.
|
|
|
105572
105581
|
*/
|
|
105573
105582
|
class IconBreakpointExecutionPointer extends Icon {
|
|
105574
105583
|
}
|
|
105575
|
-
const template$
|
|
105584
|
+
const template$o = html `
|
|
105576
105585
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$3}"></div>
|
|
105577
105586
|
`;
|
|
105578
105587
|
const sprightIconBreakpointExecutionPointer = IconBreakpointExecutionPointer.compose({
|
|
105579
105588
|
baseName: 'icon-breakpoint-execution-pointer',
|
|
105580
|
-
template: template$
|
|
105581
|
-
styles: styles$
|
|
105589
|
+
template: template$o,
|
|
105590
|
+
styles: styles$1y
|
|
105582
105591
|
});
|
|
105583
105592
|
DesignSystem.getOrCreate()
|
|
105584
105593
|
.withPrefix('spright')
|
|
@@ -105606,13 +105615,13 @@ focus outline in that case.
|
|
|
105606
105615
|
*/
|
|
105607
105616
|
class IconBreakpointHitDisabled extends Icon {
|
|
105608
105617
|
}
|
|
105609
|
-
const template$
|
|
105618
|
+
const template$n = html `
|
|
105610
105619
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$2}"></div>
|
|
105611
105620
|
`;
|
|
105612
105621
|
const sprightIconBreakpointHitDisabled = IconBreakpointHitDisabled.compose({
|
|
105613
105622
|
baseName: 'icon-breakpoint-hit-disabled',
|
|
105614
|
-
template: template$
|
|
105615
|
-
styles: styles$
|
|
105623
|
+
template: template$n,
|
|
105624
|
+
styles: styles$1y
|
|
105616
105625
|
});
|
|
105617
105626
|
DesignSystem.getOrCreate()
|
|
105618
105627
|
.withPrefix('spright')
|
|
@@ -105641,13 +105650,13 @@ focus outline in that case.
|
|
|
105641
105650
|
*/
|
|
105642
105651
|
class IconBreakpointHit extends Icon {
|
|
105643
105652
|
}
|
|
105644
|
-
const template$
|
|
105653
|
+
const template$m = html `
|
|
105645
105654
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$1}"></div>
|
|
105646
105655
|
`;
|
|
105647
105656
|
const sprightIconBreakpointHit = IconBreakpointHit.compose({
|
|
105648
105657
|
baseName: 'icon-breakpoint-hit',
|
|
105649
|
-
template: template$
|
|
105650
|
-
styles: styles$
|
|
105658
|
+
template: template$m,
|
|
105659
|
+
styles: styles$1y
|
|
105651
105660
|
});
|
|
105652
105661
|
DesignSystem.getOrCreate()
|
|
105653
105662
|
.withPrefix('spright')
|
|
@@ -105672,21 +105681,21 @@ focus outline in that case.
|
|
|
105672
105681
|
*/
|
|
105673
105682
|
class IconBreakpointHover extends Icon {
|
|
105674
105683
|
}
|
|
105675
|
-
const template$
|
|
105684
|
+
const template$l = html `
|
|
105676
105685
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData}"></div>
|
|
105677
105686
|
`;
|
|
105678
105687
|
const sprightIconBreakpointHover = IconBreakpointHover.compose({
|
|
105679
105688
|
baseName: 'icon-breakpoint-hover',
|
|
105680
|
-
template: template$
|
|
105681
|
-
styles: styles$
|
|
105689
|
+
template: template$l,
|
|
105690
|
+
styles: styles$1y
|
|
105682
105691
|
});
|
|
105683
105692
|
DesignSystem.getOrCreate()
|
|
105684
105693
|
.withPrefix('spright')
|
|
105685
105694
|
.register(sprightIconBreakpointHover());
|
|
105686
105695
|
const iconBreakpointHoverTag = 'spright-icon-breakpoint-hover';
|
|
105687
105696
|
|
|
105688
|
-
const styles$
|
|
105689
|
-
${styles$
|
|
105697
|
+
const styles$q = css `
|
|
105698
|
+
${styles$1y}
|
|
105690
105699
|
|
|
105691
105700
|
.icon svg {
|
|
105692
105701
|
fill: ${calendarEventBorderReservationColor};
|
|
@@ -105703,15 +105712,15 @@ focus outline in that case.
|
|
|
105703
105712
|
}
|
|
105704
105713
|
const sprightIconWorkItemCalendarWeek = IconWorkItemCalendarWeek.compose({
|
|
105705
105714
|
baseName: 'icon-work-item-calendar-week',
|
|
105706
|
-
template: template$
|
|
105707
|
-
styles: styles$
|
|
105715
|
+
template: template$1m,
|
|
105716
|
+
styles: styles$q
|
|
105708
105717
|
});
|
|
105709
105718
|
DesignSystem.getOrCreate()
|
|
105710
105719
|
.withPrefix('spright')
|
|
105711
105720
|
.register(sprightIconWorkItemCalendarWeek());
|
|
105712
105721
|
|
|
105713
|
-
const styles$
|
|
105714
|
-
${styles$
|
|
105722
|
+
const styles$p = css `
|
|
105723
|
+
${styles$1y}
|
|
105715
105724
|
|
|
105716
105725
|
.icon svg {
|
|
105717
105726
|
fill: ${calendarEventBorderCalibrationColor};
|
|
@@ -105728,15 +105737,15 @@ focus outline in that case.
|
|
|
105728
105737
|
}
|
|
105729
105738
|
const sprightIconWorkItemCalipers = IconWorkItemCalipers.compose({
|
|
105730
105739
|
baseName: 'icon-work-item-calipers',
|
|
105731
|
-
template: template$
|
|
105732
|
-
styles: styles$
|
|
105740
|
+
template: template$1m,
|
|
105741
|
+
styles: styles$p
|
|
105733
105742
|
});
|
|
105734
105743
|
DesignSystem.getOrCreate()
|
|
105735
105744
|
.withPrefix('spright')
|
|
105736
105745
|
.register(sprightIconWorkItemCalipers());
|
|
105737
105746
|
|
|
105738
|
-
const styles$
|
|
105739
|
-
${styles$
|
|
105747
|
+
const styles$o = css `
|
|
105748
|
+
${styles$1y}
|
|
105740
105749
|
|
|
105741
105750
|
.icon svg {
|
|
105742
105751
|
fill: ${calendarEventBorderTransportOrderColor};
|
|
@@ -105753,15 +105762,15 @@ focus outline in that case.
|
|
|
105753
105762
|
}
|
|
105754
105763
|
const sprightIconWorkItemForklift = IconWorkItemForklift.compose({
|
|
105755
105764
|
baseName: 'icon-work-item-forklift',
|
|
105756
|
-
template: template$
|
|
105757
|
-
styles: styles$
|
|
105765
|
+
template: template$1m,
|
|
105766
|
+
styles: styles$o
|
|
105758
105767
|
});
|
|
105759
105768
|
DesignSystem.getOrCreate()
|
|
105760
105769
|
.withPrefix('spright')
|
|
105761
105770
|
.register(sprightIconWorkItemForklift());
|
|
105762
105771
|
|
|
105763
|
-
const styles$
|
|
105764
|
-
${styles$
|
|
105772
|
+
const styles$n = css `
|
|
105773
|
+
${styles$1y}
|
|
105765
105774
|
|
|
105766
105775
|
.icon svg {
|
|
105767
105776
|
fill: ${calendarEventBorderStaticColor};
|
|
@@ -105778,15 +105787,15 @@ focus outline in that case.
|
|
|
105778
105787
|
}
|
|
105779
105788
|
const sprightIconWorkItemRectangleCheckLines = IconWorkItemRectangleCheckLines.compose({
|
|
105780
105789
|
baseName: 'icon-work-item-rectangle-check-lines',
|
|
105781
|
-
template: template$
|
|
105782
|
-
styles: styles$
|
|
105790
|
+
template: template$1m,
|
|
105791
|
+
styles: styles$n
|
|
105783
105792
|
});
|
|
105784
105793
|
DesignSystem.getOrCreate()
|
|
105785
105794
|
.withPrefix('spright')
|
|
105786
105795
|
.register(sprightIconWorkItemRectangleCheckLines());
|
|
105787
105796
|
|
|
105788
|
-
const styles$
|
|
105789
|
-
${styles$
|
|
105797
|
+
const styles$m = css `
|
|
105798
|
+
${styles$1y}
|
|
105790
105799
|
|
|
105791
105800
|
.icon svg {
|
|
105792
105801
|
fill: ${calendarEventBorderWorkOrderColor};
|
|
@@ -105803,15 +105812,15 @@ focus outline in that case.
|
|
|
105803
105812
|
}
|
|
105804
105813
|
const sprightIconWorkItemSquareListCog = IconWorkItemSquareListCog.compose({
|
|
105805
105814
|
baseName: 'icon-work-item-square-list-cog',
|
|
105806
|
-
template: template$
|
|
105807
|
-
styles: styles$
|
|
105815
|
+
template: template$1m,
|
|
105816
|
+
styles: styles$m
|
|
105808
105817
|
});
|
|
105809
105818
|
DesignSystem.getOrCreate()
|
|
105810
105819
|
.withPrefix('spright')
|
|
105811
105820
|
.register(sprightIconWorkItemSquareListCog());
|
|
105812
105821
|
|
|
105813
|
-
const styles$
|
|
105814
|
-
${styles$
|
|
105822
|
+
const styles$l = css `
|
|
105823
|
+
${styles$1y}
|
|
105815
105824
|
|
|
105816
105825
|
.icon svg {
|
|
105817
105826
|
fill: ${calendarEventBorderJobColor};
|
|
@@ -105828,15 +105837,15 @@ focus outline in that case.
|
|
|
105828
105837
|
}
|
|
105829
105838
|
const sprightIconWorkItemUserHelmetSafety = IconWorkItemUserHelmetSafety.compose({
|
|
105830
105839
|
baseName: 'icon-work-item-user-helmet-safety',
|
|
105831
|
-
template: template$
|
|
105832
|
-
styles: styles$
|
|
105840
|
+
template: template$1m,
|
|
105841
|
+
styles: styles$l
|
|
105833
105842
|
});
|
|
105834
105843
|
DesignSystem.getOrCreate()
|
|
105835
105844
|
.withPrefix('spright')
|
|
105836
105845
|
.register(sprightIconWorkItemUserHelmetSafety());
|
|
105837
105846
|
|
|
105838
|
-
const styles$
|
|
105839
|
-
${styles$
|
|
105847
|
+
const styles$k = css `
|
|
105848
|
+
${styles$1y}
|
|
105840
105849
|
|
|
105841
105850
|
.icon svg {
|
|
105842
105851
|
fill: ${calendarEventBorderMaintenanceColor};
|
|
@@ -105853,14 +105862,14 @@ focus outline in that case.
|
|
|
105853
105862
|
}
|
|
105854
105863
|
const sprightIconWorkItemWrenchHammer = IconWorkItemWrenchHammer.compose({
|
|
105855
105864
|
baseName: 'icon-work-item-wrench-hammer',
|
|
105856
|
-
template: template$
|
|
105857
|
-
styles: styles$
|
|
105865
|
+
template: template$1m,
|
|
105866
|
+
styles: styles$k
|
|
105858
105867
|
});
|
|
105859
105868
|
DesignSystem.getOrCreate()
|
|
105860
105869
|
.withPrefix('spright')
|
|
105861
105870
|
.register(sprightIconWorkItemWrenchHammer());
|
|
105862
105871
|
|
|
105863
|
-
const styles$
|
|
105872
|
+
const styles$j = css `
|
|
105864
105873
|
${display$1('inline-block')}
|
|
105865
105874
|
|
|
105866
105875
|
:host {
|
|
@@ -105885,7 +105894,7 @@ focus outline in that case.
|
|
|
105885
105894
|
}
|
|
105886
105895
|
`;
|
|
105887
105896
|
|
|
105888
|
-
const template$
|
|
105897
|
+
const template$k = html `<slot></slot>`;
|
|
105889
105898
|
|
|
105890
105899
|
/**
|
|
105891
105900
|
* A Spright demo component (not for production use)
|
|
@@ -105894,8 +105903,8 @@ focus outline in that case.
|
|
|
105894
105903
|
}
|
|
105895
105904
|
const sprightRectangle = Rectangle.compose({
|
|
105896
105905
|
baseName: 'rectangle',
|
|
105897
|
-
template: template$
|
|
105898
|
-
styles: styles$
|
|
105906
|
+
template: template$k,
|
|
105907
|
+
styles: styles$j
|
|
105899
105908
|
});
|
|
105900
105909
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightRectangle());
|
|
105901
105910
|
|
|
@@ -105922,7 +105931,7 @@ focus outline in that case.
|
|
|
105922
105931
|
block: 'block'
|
|
105923
105932
|
};
|
|
105924
105933
|
|
|
105925
|
-
const styles$
|
|
105934
|
+
const styles$i = css `
|
|
105926
105935
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
105927
105936
|
|
|
105928
105937
|
@layer base {
|
|
@@ -106028,7 +106037,7 @@ focus outline in that case.
|
|
|
106028
106037
|
}
|
|
106029
106038
|
`));
|
|
106030
106039
|
|
|
106031
|
-
const template$
|
|
106040
|
+
const template$j = html `
|
|
106032
106041
|
<details
|
|
106033
106042
|
class="accordion-item-details"
|
|
106034
106043
|
?open="${x => x.expanded}"
|
|
@@ -106079,8 +106088,8 @@ focus outline in that case.
|
|
|
106079
106088
|
], FvAccordionItem.prototype, "appearance", void 0);
|
|
106080
106089
|
const okFvAccordionItem = FvAccordionItem.compose({
|
|
106081
106090
|
baseName: 'fv-accordion-item',
|
|
106082
|
-
template: template$
|
|
106083
|
-
styles: styles$
|
|
106091
|
+
template: template$j,
|
|
106092
|
+
styles: styles$i
|
|
106084
106093
|
});
|
|
106085
106094
|
DesignSystem.getOrCreate()
|
|
106086
106095
|
.withPrefix('ok')
|
|
@@ -106095,7 +106104,7 @@ focus outline in that case.
|
|
|
106095
106104
|
card: 'card'
|
|
106096
106105
|
};
|
|
106097
106106
|
|
|
106098
|
-
const styles$
|
|
106107
|
+
const styles$h = css `
|
|
106099
106108
|
${display('block')}
|
|
106100
106109
|
|
|
106101
106110
|
:host {
|
|
@@ -106446,7 +106455,7 @@ focus outline in that case.
|
|
|
106446
106455
|
</div>
|
|
106447
106456
|
</div>
|
|
106448
106457
|
`;
|
|
106449
|
-
const template$
|
|
106458
|
+
const template$i = html `
|
|
106450
106459
|
${when(x => x.interactionMode === FvCardInteractionMode.card, html `
|
|
106451
106460
|
<${cardButtonTag}
|
|
106452
106461
|
class="card-shell card-button-shell"
|
|
@@ -106594,14 +106603,245 @@ focus outline in that case.
|
|
|
106594
106603
|
], FvCard.prototype, "hasFooterEndContent", void 0);
|
|
106595
106604
|
const okFvCard = FvCard.compose({
|
|
106596
106605
|
baseName: 'fv-card',
|
|
106597
|
-
template: template$
|
|
106598
|
-
styles: styles$
|
|
106606
|
+
template: template$i,
|
|
106607
|
+
styles: styles$h
|
|
106599
106608
|
});
|
|
106600
106609
|
DesignSystem.getOrCreate()
|
|
106601
106610
|
.withPrefix('ok')
|
|
106602
106611
|
.register(okFvCard());
|
|
106603
106612
|
|
|
106604
|
-
const styles$
|
|
106613
|
+
const styles$g = css `
|
|
106614
|
+
${display('block')}
|
|
106615
|
+
|
|
106616
|
+
:host {
|
|
106617
|
+
color: ${bodyFontColor};
|
|
106618
|
+
font: ${bodyFont};
|
|
106619
|
+
}
|
|
106620
|
+
|
|
106621
|
+
.field {
|
|
106622
|
+
display: grid;
|
|
106623
|
+
grid-template-columns: 3px minmax(0, 1fr);
|
|
106624
|
+
column-gap: ${standardPadding};
|
|
106625
|
+
}
|
|
106626
|
+
|
|
106627
|
+
.marker {
|
|
106628
|
+
width: 3px;
|
|
106629
|
+
border-radius: 2px;
|
|
106630
|
+
}
|
|
106631
|
+
|
|
106632
|
+
:host([status='changed']) .marker,
|
|
106633
|
+
:host([status='will-clear']) .marker {
|
|
106634
|
+
background: ${warningColor};
|
|
106635
|
+
}
|
|
106636
|
+
|
|
106637
|
+
.content,
|
|
106638
|
+
.control {
|
|
106639
|
+
min-width: 0;
|
|
106640
|
+
}
|
|
106641
|
+
|
|
106642
|
+
.header,
|
|
106643
|
+
.actions {
|
|
106644
|
+
display: flex;
|
|
106645
|
+
align-items: center;
|
|
106646
|
+
gap: ${smallPadding};
|
|
106647
|
+
}
|
|
106648
|
+
|
|
106649
|
+
.header {
|
|
106650
|
+
flex-wrap: wrap;
|
|
106651
|
+
margin-block-end: 0;
|
|
106652
|
+
}
|
|
106653
|
+
|
|
106654
|
+
.label {
|
|
106655
|
+
font: ${controlLabelFont};
|
|
106656
|
+
color: ${controlLabelFontColor};
|
|
106657
|
+
margin-inline-end: auto;
|
|
106658
|
+
}
|
|
106659
|
+
|
|
106660
|
+
.status {
|
|
106661
|
+
font-size: 0.875em;
|
|
106662
|
+
line-height: 1;
|
|
106663
|
+
padding: 0 5px;
|
|
106664
|
+
border: 1px solid ${informationColor};
|
|
106665
|
+
border-radius: 4px;
|
|
106666
|
+
color: ${informationColor};
|
|
106667
|
+
}
|
|
106668
|
+
|
|
106669
|
+
:host([status='changed']) .status,
|
|
106670
|
+
:host([status='will-clear']) .status {
|
|
106671
|
+
border-color: ${warningColor};
|
|
106672
|
+
color: ${warningFontColor};
|
|
106673
|
+
}
|
|
106674
|
+
|
|
106675
|
+
.control {
|
|
106676
|
+
display: block;
|
|
106677
|
+
}
|
|
106678
|
+
|
|
106679
|
+
.actions {
|
|
106680
|
+
justify-content: flex-end;
|
|
106681
|
+
gap: 4px;
|
|
106682
|
+
margin-inline-end: ${mediumPadding};
|
|
106683
|
+
${controlHeight.cssCustomProperty}: ${labelHeight};
|
|
106684
|
+
}
|
|
106685
|
+
|
|
106686
|
+
::slotted(:not([slot])) {
|
|
106687
|
+
box-sizing: border-box;
|
|
106688
|
+
width: 100%;
|
|
106689
|
+
min-width: 0;
|
|
106690
|
+
}
|
|
106691
|
+
`;
|
|
106692
|
+
|
|
106693
|
+
const template$h = html `
|
|
106694
|
+
<div class="field">
|
|
106695
|
+
<span class="marker" aria-hidden="true"></span>
|
|
106696
|
+
<div class="content">
|
|
106697
|
+
<div class="header">
|
|
106698
|
+
<span class="label">${x => x.label}</span>
|
|
106699
|
+
${when(x => x.statusText.length > 0, html `<span class="status">${x => x.statusText}</span>`)}
|
|
106700
|
+
<div class="actions">
|
|
106701
|
+
<${buttonTag}
|
|
106702
|
+
appearance="ghost"
|
|
106703
|
+
content-hidden
|
|
106704
|
+
title="${x => `Reset ${x.label}`}"
|
|
106705
|
+
?disabled="${x => x.resetDisabled}"
|
|
106706
|
+
@click="${x => x.reset()}"
|
|
106707
|
+
><${iconArrowPartialRotateLeftTag} slot="start"></${iconArrowPartialRotateLeftTag}>Reset ${x => x.label}</${buttonTag}>
|
|
106708
|
+
<${buttonTag}
|
|
106709
|
+
appearance="ghost"
|
|
106710
|
+
content-hidden
|
|
106711
|
+
title="${x => `Clear ${x.label} for selected rows`}"
|
|
106712
|
+
?disabled="${x => x.clearDisabled}"
|
|
106713
|
+
@click="${x => x.clear()}"
|
|
106714
|
+
><${iconTimesTag} slot="start"></${iconTimesTag}>Clear ${x => x.label}</${buttonTag}>
|
|
106715
|
+
<slot name="actions"></slot>
|
|
106716
|
+
</div>
|
|
106717
|
+
</div>
|
|
106718
|
+
<div class="control">
|
|
106719
|
+
<slot ${slotted({ property: 'controls', filter: elements() })}></slot>
|
|
106720
|
+
</div>
|
|
106721
|
+
</div>
|
|
106722
|
+
</div>
|
|
106723
|
+
`;
|
|
106724
|
+
|
|
106725
|
+
const BulkEditFieldStatus = {
|
|
106726
|
+
unchanged: 'unchanged',
|
|
106727
|
+
mixed: 'mixed',
|
|
106728
|
+
changed: 'changed',
|
|
106729
|
+
willClear: 'will-clear'
|
|
106730
|
+
};
|
|
106731
|
+
|
|
106732
|
+
/**
|
|
106733
|
+
* A labeled field shell for single- and multi-record editing.
|
|
106734
|
+
*/
|
|
106735
|
+
class FvBulkEditField extends FoundationElement {
|
|
106736
|
+
constructor() {
|
|
106737
|
+
super(...arguments);
|
|
106738
|
+
this.label = '';
|
|
106739
|
+
this.status = BulkEditFieldStatus.unchanged;
|
|
106740
|
+
this.resetDisabled = false;
|
|
106741
|
+
this.clearDisabled = false;
|
|
106742
|
+
/** @internal */
|
|
106743
|
+
this.controls = [];
|
|
106744
|
+
// Some controls reapply their own label bindings when reconnected.
|
|
106745
|
+
this.labelObserver = new MutationObserver(() => this.updateControlLabels());
|
|
106746
|
+
}
|
|
106747
|
+
connectedCallback() {
|
|
106748
|
+
super.connectedCallback();
|
|
106749
|
+
this.observeControlLabels();
|
|
106750
|
+
this.updateControlLabels();
|
|
106751
|
+
}
|
|
106752
|
+
disconnectedCallback() {
|
|
106753
|
+
this.labelObserver.disconnect();
|
|
106754
|
+
super.disconnectedCallback();
|
|
106755
|
+
}
|
|
106756
|
+
/** Accessible name applied to directly slotted field controls. */
|
|
106757
|
+
get controlLabel() {
|
|
106758
|
+
const description = this.status === BulkEditFieldStatus.mixed
|
|
106759
|
+
? 'Mixed values. Enter a value to overwrite all selected rows.'
|
|
106760
|
+
: this.statusText;
|
|
106761
|
+
return description ? `${this.label}. ${description}` : this.label;
|
|
106762
|
+
}
|
|
106763
|
+
/** @internal */
|
|
106764
|
+
controlsChanged() {
|
|
106765
|
+
this.observeControlLabels();
|
|
106766
|
+
this.updateControlLabels();
|
|
106767
|
+
}
|
|
106768
|
+
/** @internal */
|
|
106769
|
+
labelChanged() {
|
|
106770
|
+
this.updateControlLabels();
|
|
106771
|
+
}
|
|
106772
|
+
/** @internal */
|
|
106773
|
+
statusChanged() {
|
|
106774
|
+
this.updateControlLabels();
|
|
106775
|
+
}
|
|
106776
|
+
/** @internal */
|
|
106777
|
+
get statusText() {
|
|
106778
|
+
switch (this.status) {
|
|
106779
|
+
case BulkEditFieldStatus.mixed:
|
|
106780
|
+
return 'Mixed values';
|
|
106781
|
+
case BulkEditFieldStatus.changed:
|
|
106782
|
+
return 'Changed';
|
|
106783
|
+
case BulkEditFieldStatus.willClear:
|
|
106784
|
+
return 'Will clear';
|
|
106785
|
+
default:
|
|
106786
|
+
return '';
|
|
106787
|
+
}
|
|
106788
|
+
}
|
|
106789
|
+
/** @internal */
|
|
106790
|
+
reset() {
|
|
106791
|
+
if (!this.resetDisabled) {
|
|
106792
|
+
this.$emit('reset');
|
|
106793
|
+
}
|
|
106794
|
+
return true;
|
|
106795
|
+
}
|
|
106796
|
+
/** @internal */
|
|
106797
|
+
clear() {
|
|
106798
|
+
if (!this.clearDisabled) {
|
|
106799
|
+
this.$emit('clear');
|
|
106800
|
+
}
|
|
106801
|
+
return true;
|
|
106802
|
+
}
|
|
106803
|
+
updateControlLabels() {
|
|
106804
|
+
DOM.queueUpdate(() => {
|
|
106805
|
+
this.controls?.forEach(control => {
|
|
106806
|
+
if (control.getAttribute('aria-label') !== this.controlLabel) {
|
|
106807
|
+
control.setAttribute('aria-label', this.controlLabel);
|
|
106808
|
+
}
|
|
106809
|
+
});
|
|
106810
|
+
});
|
|
106811
|
+
}
|
|
106812
|
+
observeControlLabels() {
|
|
106813
|
+
this.labelObserver?.disconnect();
|
|
106814
|
+
if (this.isConnected) {
|
|
106815
|
+
this.controls?.forEach(control => this.labelObserver.observe(control, {
|
|
106816
|
+
attributes: true,
|
|
106817
|
+
attributeFilter: ['aria-label']
|
|
106818
|
+
}));
|
|
106819
|
+
}
|
|
106820
|
+
}
|
|
106821
|
+
}
|
|
106822
|
+
__decorate([
|
|
106823
|
+
attr
|
|
106824
|
+
], FvBulkEditField.prototype, "label", void 0);
|
|
106825
|
+
__decorate([
|
|
106826
|
+
attr
|
|
106827
|
+
], FvBulkEditField.prototype, "status", void 0);
|
|
106828
|
+
__decorate([
|
|
106829
|
+
attr({ attribute: 'reset-disabled', mode: 'boolean' })
|
|
106830
|
+
], FvBulkEditField.prototype, "resetDisabled", void 0);
|
|
106831
|
+
__decorate([
|
|
106832
|
+
attr({ attribute: 'clear-disabled', mode: 'boolean' })
|
|
106833
|
+
], FvBulkEditField.prototype, "clearDisabled", void 0);
|
|
106834
|
+
__decorate([
|
|
106835
|
+
observable
|
|
106836
|
+
], FvBulkEditField.prototype, "controls", void 0);
|
|
106837
|
+
const okFvBulkEditField = FvBulkEditField.compose({
|
|
106838
|
+
baseName: 'fv-bulk-edit-field',
|
|
106839
|
+
template: template$h,
|
|
106840
|
+
styles: styles$g
|
|
106841
|
+
});
|
|
106842
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(okFvBulkEditField());
|
|
106843
|
+
|
|
106844
|
+
const styles$f = css `
|
|
106605
106845
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
106606
106846
|
|
|
106607
106847
|
@layer base {
|
|
@@ -106849,7 +107089,7 @@ focus outline in that case.
|
|
|
106849
107089
|
@layer top {}
|
|
106850
107090
|
`;
|
|
106851
107091
|
|
|
106852
|
-
const template$
|
|
107092
|
+
const template$g = html `
|
|
106853
107093
|
<div class="chip-selector">
|
|
106854
107094
|
${when(x => x.label.length > 0, html `
|
|
106855
107095
|
<label id="${x => x.labelId}" class="label" for="${x => x.inputId}">
|
|
@@ -107339,12 +107579,12 @@ focus outline in that case.
|
|
|
107339
107579
|
], FvChipSelector.prototype, "field", void 0);
|
|
107340
107580
|
const okFvChipSelector = FvChipSelector.compose({
|
|
107341
107581
|
baseName: 'fv-chip-selector',
|
|
107342
|
-
template: template$
|
|
107343
|
-
styles: styles$
|
|
107582
|
+
template: template$g,
|
|
107583
|
+
styles: styles$f
|
|
107344
107584
|
});
|
|
107345
107585
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvChipSelector());
|
|
107346
107586
|
|
|
107347
|
-
const styles$
|
|
107587
|
+
const styles$e = css `
|
|
107348
107588
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
107349
107589
|
|
|
107350
107590
|
@layer base {
|
|
@@ -107396,7 +107636,7 @@ focus outline in that case.
|
|
|
107396
107636
|
@layer top {}
|
|
107397
107637
|
`;
|
|
107398
107638
|
|
|
107399
|
-
const template$
|
|
107639
|
+
const template$f = html `
|
|
107400
107640
|
<button
|
|
107401
107641
|
id="${x => x.tooltipAnchorId}"
|
|
107402
107642
|
class="context-help-trigger"
|
|
@@ -107444,12 +107684,200 @@ focus outline in that case.
|
|
|
107444
107684
|
], FvContextHelp.prototype, "iconVisible", void 0);
|
|
107445
107685
|
const okFvContextHelp = FvContextHelp.compose({
|
|
107446
107686
|
baseName: 'fv-context-help',
|
|
107447
|
-
template: template$
|
|
107448
|
-
styles: styles$
|
|
107687
|
+
template: template$f,
|
|
107688
|
+
styles: styles$e
|
|
107449
107689
|
});
|
|
107450
107690
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvContextHelp());
|
|
107451
107691
|
|
|
107452
|
-
const styles$
|
|
107692
|
+
const styles$d = css `
|
|
107693
|
+
${display('block')}
|
|
107694
|
+
|
|
107695
|
+
:host {
|
|
107696
|
+
color: ${bodyFontColor};
|
|
107697
|
+
font: ${bodyFont};
|
|
107698
|
+
container-type: inline-size;
|
|
107699
|
+
}
|
|
107700
|
+
|
|
107701
|
+
.bar {
|
|
107702
|
+
display: flex;
|
|
107703
|
+
align-items: center;
|
|
107704
|
+
justify-content: space-between;
|
|
107705
|
+
gap: ${standardPadding};
|
|
107706
|
+
padding: ${standardPadding};
|
|
107707
|
+
border-block-end: 1px solid ${dividerBackgroundColor};
|
|
107708
|
+
}
|
|
107709
|
+
|
|
107710
|
+
.text {
|
|
107711
|
+
flex: 1 1 auto;
|
|
107712
|
+
min-width: 0;
|
|
107713
|
+
}
|
|
107714
|
+
|
|
107715
|
+
.heading {
|
|
107716
|
+
display: flex;
|
|
107717
|
+
align-items: center;
|
|
107718
|
+
gap: ${standardPadding};
|
|
107719
|
+
}
|
|
107720
|
+
|
|
107721
|
+
h2 {
|
|
107722
|
+
flex: 1 1 auto;
|
|
107723
|
+
min-width: 0;
|
|
107724
|
+
margin: 0;
|
|
107725
|
+
font: inherit;
|
|
107726
|
+
font-weight: 600;
|
|
107727
|
+
}
|
|
107728
|
+
|
|
107729
|
+
.summary {
|
|
107730
|
+
margin-block-start: 4px;
|
|
107731
|
+
}
|
|
107732
|
+
|
|
107733
|
+
.actions {
|
|
107734
|
+
display: flex;
|
|
107735
|
+
flex: 0 0 auto;
|
|
107736
|
+
gap: ${standardPadding};
|
|
107737
|
+
}
|
|
107738
|
+
|
|
107739
|
+
@container (max-width: 420px) {
|
|
107740
|
+
.bar {
|
|
107741
|
+
flex-wrap: wrap;
|
|
107742
|
+
}
|
|
107743
|
+
|
|
107744
|
+
.text {
|
|
107745
|
+
flex-basis: 100%;
|
|
107746
|
+
}
|
|
107747
|
+
|
|
107748
|
+
.actions {
|
|
107749
|
+
margin-inline-start: auto;
|
|
107750
|
+
}
|
|
107751
|
+
}
|
|
107752
|
+
`;
|
|
107753
|
+
|
|
107754
|
+
const template$e = html `
|
|
107755
|
+
${when(x => x.message !== undefined, html `
|
|
107756
|
+
<${bannerTag}
|
|
107757
|
+
:open="${x => x.message !== undefined}"
|
|
107758
|
+
title-hidden
|
|
107759
|
+
severity="${x => x.message?.severity}"
|
|
107760
|
+
aria-live="${x => (x.message?.severity === 'error' ? 'assertive' : 'polite')}"
|
|
107761
|
+
@toggle="${(x, c) => x.handleBannerToggle(c.event)}"
|
|
107762
|
+
>${x => x.message?.text}</${bannerTag}>
|
|
107763
|
+
`)}
|
|
107764
|
+
<div class="bar">
|
|
107765
|
+
<div class="text">
|
|
107766
|
+
<div class="heading">
|
|
107767
|
+
<h2>${x => x.heading}</h2>
|
|
107768
|
+
<slot name="heading-actions"></slot>
|
|
107769
|
+
</div>
|
|
107770
|
+
${when(x => !x.hideEmptySummary || x.changeCount > 0, html `
|
|
107771
|
+
<div class="summary" role="status" aria-live="polite" aria-atomic="true">
|
|
107772
|
+
${x => x.summary}
|
|
107773
|
+
</div>
|
|
107774
|
+
`)}
|
|
107775
|
+
</div>
|
|
107776
|
+
${when(x => !x.actionsHidden, html `
|
|
107777
|
+
<div class="actions">
|
|
107778
|
+
<${buttonTag}
|
|
107779
|
+
appearance="ghost"
|
|
107780
|
+
?disabled="${x => x.revertDisabled}"
|
|
107781
|
+
@click="${x => x.revert()}"
|
|
107782
|
+
><${iconArrowPartialRotateLeftTag} slot="start"></${iconArrowPartialRotateLeftTag}>Revert</${buttonTag}>
|
|
107783
|
+
<${buttonTag}
|
|
107784
|
+
appearance="block"
|
|
107785
|
+
appearance-variant="accent"
|
|
107786
|
+
?disabled="${x => x.saveDisabled}"
|
|
107787
|
+
@click="${x => x.save()}"
|
|
107788
|
+
><${iconFloppyDiskTag} slot="start"></${iconFloppyDiskTag}>Save</${buttonTag}>
|
|
107789
|
+
</div>
|
|
107790
|
+
`)}
|
|
107791
|
+
</div>
|
|
107792
|
+
`;
|
|
107793
|
+
|
|
107794
|
+
/**
|
|
107795
|
+
* Heading, pending-change summary, actions, and feedback for an edit pane.
|
|
107796
|
+
*/
|
|
107797
|
+
class FvEditCommitBar extends FoundationElement {
|
|
107798
|
+
constructor() {
|
|
107799
|
+
super(...arguments);
|
|
107800
|
+
this.heading = '';
|
|
107801
|
+
this.changeCount = 0;
|
|
107802
|
+
this.affectedRowCount = 0;
|
|
107803
|
+
this.hiddenAffectedRowCount = 0;
|
|
107804
|
+
this.saveDisabled = false;
|
|
107805
|
+
this.revertDisabled = false;
|
|
107806
|
+
this.actionsHidden = false;
|
|
107807
|
+
this.hideEmptySummary = false;
|
|
107808
|
+
}
|
|
107809
|
+
/** @internal */
|
|
107810
|
+
get summary() {
|
|
107811
|
+
if (this.changeCount === 0) {
|
|
107812
|
+
return 'No pending changes';
|
|
107813
|
+
}
|
|
107814
|
+
const changes = `${this.changeCount} unsaved ${this.changeCount === 1 ? 'change' : 'changes'}`;
|
|
107815
|
+
const rows = `${this.affectedRowCount} ${this.affectedRowCount === 1 ? 'row' : 'rows'}`;
|
|
107816
|
+
const hidden = this.hiddenAffectedRowCount > 0
|
|
107817
|
+
? ` (${this.hiddenAffectedRowCount} hidden)`
|
|
107818
|
+
: '';
|
|
107819
|
+
return `${changes} in ${rows}${hidden}`;
|
|
107820
|
+
}
|
|
107821
|
+
/** @internal */
|
|
107822
|
+
save() {
|
|
107823
|
+
if (!this.saveDisabled) {
|
|
107824
|
+
this.$emit('save');
|
|
107825
|
+
}
|
|
107826
|
+
return true;
|
|
107827
|
+
}
|
|
107828
|
+
/** @internal */
|
|
107829
|
+
revert() {
|
|
107830
|
+
if (!this.revertDisabled) {
|
|
107831
|
+
this.$emit('revert');
|
|
107832
|
+
}
|
|
107833
|
+
return true;
|
|
107834
|
+
}
|
|
107835
|
+
/** @internal */
|
|
107836
|
+
handleBannerToggle(event) {
|
|
107837
|
+
if (!event.detail.newState) {
|
|
107838
|
+
this.$emit('dismiss-message');
|
|
107839
|
+
}
|
|
107840
|
+
return true;
|
|
107841
|
+
}
|
|
107842
|
+
}
|
|
107843
|
+
__decorate([
|
|
107844
|
+
attr
|
|
107845
|
+
], FvEditCommitBar.prototype, "heading", void 0);
|
|
107846
|
+
__decorate([
|
|
107847
|
+
attr({ attribute: 'change-count', converter: nullableNumberConverter })
|
|
107848
|
+
], FvEditCommitBar.prototype, "changeCount", void 0);
|
|
107849
|
+
__decorate([
|
|
107850
|
+
attr({ attribute: 'affected-row-count', converter: nullableNumberConverter })
|
|
107851
|
+
], FvEditCommitBar.prototype, "affectedRowCount", void 0);
|
|
107852
|
+
__decorate([
|
|
107853
|
+
attr({ attribute: 'hidden-affected-row-count', converter: nullableNumberConverter })
|
|
107854
|
+
], FvEditCommitBar.prototype, "hiddenAffectedRowCount", void 0);
|
|
107855
|
+
__decorate([
|
|
107856
|
+
attr({ attribute: 'save-disabled', mode: 'boolean' })
|
|
107857
|
+
], FvEditCommitBar.prototype, "saveDisabled", void 0);
|
|
107858
|
+
__decorate([
|
|
107859
|
+
attr({ attribute: 'revert-disabled', mode: 'boolean' })
|
|
107860
|
+
], FvEditCommitBar.prototype, "revertDisabled", void 0);
|
|
107861
|
+
__decorate([
|
|
107862
|
+
attr({ attribute: 'actions-hidden', mode: 'boolean' })
|
|
107863
|
+
], FvEditCommitBar.prototype, "actionsHidden", void 0);
|
|
107864
|
+
__decorate([
|
|
107865
|
+
attr({ attribute: 'hide-empty-summary', mode: 'boolean' })
|
|
107866
|
+
], FvEditCommitBar.prototype, "hideEmptySummary", void 0);
|
|
107867
|
+
__decorate([
|
|
107868
|
+
observable
|
|
107869
|
+
], FvEditCommitBar.prototype, "message", void 0);
|
|
107870
|
+
__decorate([
|
|
107871
|
+
volatile
|
|
107872
|
+
], FvEditCommitBar.prototype, "summary", null);
|
|
107873
|
+
const okFvEditCommitBar = FvEditCommitBar.compose({
|
|
107874
|
+
baseName: 'fv-edit-commit-bar',
|
|
107875
|
+
template: template$e,
|
|
107876
|
+
styles: styles$d
|
|
107877
|
+
});
|
|
107878
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(okFvEditCommitBar());
|
|
107879
|
+
|
|
107880
|
+
const styles$c = css `
|
|
107453
107881
|
@layer base, hover, selected;
|
|
107454
107882
|
|
|
107455
107883
|
@layer base {
|
|
@@ -107546,7 +107974,7 @@ focus outline in that case.
|
|
|
107546
107974
|
}
|
|
107547
107975
|
`;
|
|
107548
107976
|
|
|
107549
|
-
const template$
|
|
107977
|
+
const template$d = html `
|
|
107550
107978
|
<div class="item" part="item">
|
|
107551
107979
|
<div class="text" part="text">
|
|
107552
107980
|
<div class="title" part="title">${x => x.titleText}</div>
|
|
@@ -107647,13 +108075,13 @@ focus outline in that case.
|
|
|
107647
108075
|
], FvMasterDetailListItem.prototype, "hasStatusSlotContent", void 0);
|
|
107648
108076
|
const okFvMasterDetailListItem = FvMasterDetailListItem.compose({
|
|
107649
108077
|
baseName: 'fv-master-detail-list-item',
|
|
107650
|
-
template: template$
|
|
107651
|
-
styles: styles$
|
|
108078
|
+
template: template$d,
|
|
108079
|
+
styles: styles$c
|
|
107652
108080
|
});
|
|
107653
108081
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvMasterDetailListItem());
|
|
107654
108082
|
const fvMasterDetailListItemTag = 'ok-fv-master-detail-list-item';
|
|
107655
108083
|
|
|
107656
|
-
const styles$
|
|
108084
|
+
const styles$b = css `
|
|
107657
108085
|
@layer base, hover, focusVisible;
|
|
107658
108086
|
|
|
107659
108087
|
@layer base {
|
|
@@ -107718,7 +108146,7 @@ focus outline in that case.
|
|
|
107718
108146
|
}
|
|
107719
108147
|
`;
|
|
107720
108148
|
|
|
107721
|
-
const template$
|
|
108149
|
+
const template$c = html `
|
|
107722
108150
|
<div class="master-detail-list">
|
|
107723
108151
|
<div class="filter-row">
|
|
107724
108152
|
<input
|
|
@@ -107912,15 +108340,15 @@ focus outline in that case.
|
|
|
107912
108340
|
], FvMasterDetailList.prototype, "items", void 0);
|
|
107913
108341
|
const okFvMasterDetailList = FvMasterDetailList.compose({
|
|
107914
108342
|
baseName: 'fv-master-detail-list',
|
|
107915
|
-
template: template$
|
|
107916
|
-
styles: styles$
|
|
108343
|
+
template: template$c,
|
|
108344
|
+
styles: styles$b,
|
|
107917
108345
|
shadowOptions: {
|
|
107918
108346
|
delegatesFocus: true
|
|
107919
108347
|
}
|
|
107920
108348
|
});
|
|
107921
108349
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvMasterDetailList());
|
|
107922
108350
|
|
|
107923
|
-
const styles$
|
|
108351
|
+
const styles$a = css `
|
|
107924
108352
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
107925
108353
|
|
|
107926
108354
|
@layer base {
|
|
@@ -108137,7 +108565,7 @@ focus outline in that case.
|
|
|
108137
108565
|
@layer top {}
|
|
108138
108566
|
`;
|
|
108139
108567
|
|
|
108140
|
-
const template$
|
|
108568
|
+
const template$b = html `
|
|
108141
108569
|
<div
|
|
108142
108570
|
class="split-button-container"
|
|
108143
108571
|
${ref('splitButtonContainer')}
|
|
@@ -108309,12 +108737,12 @@ focus outline in that case.
|
|
|
108309
108737
|
], FvSplitButton.prototype, "region", void 0);
|
|
108310
108738
|
const okFvSplitButton = FvSplitButton.compose({
|
|
108311
108739
|
baseName: 'fv-split-button',
|
|
108312
|
-
template: template$
|
|
108313
|
-
styles: styles$
|
|
108740
|
+
template: template$b,
|
|
108741
|
+
styles: styles$a
|
|
108314
108742
|
});
|
|
108315
108743
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSplitButton());
|
|
108316
108744
|
|
|
108317
|
-
const styles$
|
|
108745
|
+
const styles$9 = css `
|
|
108318
108746
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
108319
108747
|
|
|
108320
108748
|
@layer base {
|
|
@@ -108539,7 +108967,7 @@ focus outline in that case.
|
|
|
108539
108967
|
@layer top {}
|
|
108540
108968
|
`;
|
|
108541
108969
|
|
|
108542
|
-
const template$
|
|
108970
|
+
const template$a = html `
|
|
108543
108971
|
<div
|
|
108544
108972
|
class="split-button-container"
|
|
108545
108973
|
${ref('splitButtonContainer')}
|
|
@@ -108739,12 +109167,12 @@ focus outline in that case.
|
|
|
108739
109167
|
], FvSplitButtonAnchor.prototype, "region", void 0);
|
|
108740
109168
|
const okFvSplitButtonAnchor = FvSplitButtonAnchor.compose({
|
|
108741
109169
|
baseName: 'fv-split-button-anchor',
|
|
108742
|
-
template: template$
|
|
108743
|
-
styles: styles$
|
|
109170
|
+
template: template$a,
|
|
109171
|
+
styles: styles$9
|
|
108744
109172
|
});
|
|
108745
109173
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSplitButtonAnchor());
|
|
108746
109174
|
|
|
108747
|
-
const styles$
|
|
109175
|
+
const styles$8 = css `
|
|
108748
109176
|
${display('block')}
|
|
108749
109177
|
|
|
108750
109178
|
.sticky-header {
|
|
@@ -108763,7 +109191,7 @@ focus outline in that case.
|
|
|
108763
109191
|
}
|
|
108764
109192
|
`;
|
|
108765
109193
|
|
|
108766
|
-
const template$
|
|
109194
|
+
const template$9 = html `
|
|
108767
109195
|
<div class="header" part="header">
|
|
108768
109196
|
<slot
|
|
108769
109197
|
name="header"
|
|
@@ -108863,12 +109291,12 @@ focus outline in that case.
|
|
|
108863
109291
|
], FvStickyHeader.prototype, "showStickyHeader", void 0);
|
|
108864
109292
|
const okFvStickyHeader = FvStickyHeader.compose({
|
|
108865
109293
|
baseName: 'fv-sticky-header',
|
|
108866
|
-
template: template$
|
|
108867
|
-
styles: styles$
|
|
109294
|
+
template: template$9,
|
|
109295
|
+
styles: styles$8
|
|
108868
109296
|
});
|
|
108869
109297
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvStickyHeader());
|
|
108870
109298
|
|
|
108871
|
-
const styles$
|
|
109299
|
+
const styles$7 = css `
|
|
108872
109300
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
108873
109301
|
|
|
108874
109302
|
@layer base {
|
|
@@ -108936,7 +109364,7 @@ focus outline in that case.
|
|
|
108936
109364
|
@layer top {}
|
|
108937
109365
|
`;
|
|
108938
109366
|
|
|
108939
|
-
const template$
|
|
109367
|
+
const template$8 = html `
|
|
108940
109368
|
<section class="summary-panel" part="panel">
|
|
108941
109369
|
<div
|
|
108942
109370
|
${ref('summaryItems')}
|
|
@@ -109080,12 +109508,12 @@ focus outline in that case.
|
|
|
109080
109508
|
], FvSummaryPanel.prototype, "editItemsButtonLabel", void 0);
|
|
109081
109509
|
const okFvSummaryPanel = FvSummaryPanel.compose({
|
|
109082
109510
|
baseName: 'fv-summary-panel',
|
|
109083
|
-
template: template$
|
|
109084
|
-
styles: styles$
|
|
109511
|
+
template: template$8,
|
|
109512
|
+
styles: styles$7
|
|
109085
109513
|
});
|
|
109086
109514
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSummaryPanel());
|
|
109087
109515
|
|
|
109088
|
-
const styles$
|
|
109516
|
+
const styles$6 = css `
|
|
109089
109517
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
109090
109518
|
|
|
109091
109519
|
@layer base {
|
|
@@ -109243,7 +109671,7 @@ focus outline in that case.
|
|
|
109243
109671
|
@layer top {}
|
|
109244
109672
|
`;
|
|
109245
109673
|
|
|
109246
|
-
const template$
|
|
109674
|
+
const template$7 = html `
|
|
109247
109675
|
<${cardButtonTag}
|
|
109248
109676
|
class="summary-panel-tile"
|
|
109249
109677
|
?selected="${x => x.selected}"
|
|
@@ -109309,12 +109737,12 @@ focus outline in that case.
|
|
|
109309
109737
|
], FvSummaryPanelTile.prototype, "textPosition", void 0);
|
|
109310
109738
|
const okFvSummaryPanelTile = FvSummaryPanelTile.compose({
|
|
109311
109739
|
baseName: 'fv-summary-panel-tile',
|
|
109312
|
-
template: template$
|
|
109313
|
-
styles: styles$
|
|
109740
|
+
template: template$7,
|
|
109741
|
+
styles: styles$6
|
|
109314
109742
|
});
|
|
109315
109743
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSummaryPanelTile());
|
|
109316
109744
|
|
|
109317
|
-
const styles$
|
|
109745
|
+
const styles$5 = css `
|
|
109318
109746
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
109319
109747
|
|
|
109320
109748
|
@layer base {
|
|
@@ -109489,7 +109917,7 @@ focus outline in that case.
|
|
|
109489
109917
|
}
|
|
109490
109918
|
`;
|
|
109491
109919
|
|
|
109492
|
-
const template$
|
|
109920
|
+
const template$6 = html `
|
|
109493
109921
|
<div class="search-input-container">
|
|
109494
109922
|
<span class="search-input-icon" aria-hidden="true">
|
|
109495
109923
|
<${iconMagnifyingGlassTag}></${iconMagnifyingGlassTag}>
|
|
@@ -109560,15 +109988,15 @@ focus outline in that case.
|
|
|
109560
109988
|
const okFvSearchInput = FvSearchInput.compose({
|
|
109561
109989
|
baseName: 'fv-search-input',
|
|
109562
109990
|
baseClass: TextField$1,
|
|
109563
|
-
template: template$
|
|
109564
|
-
styles: styles$
|
|
109991
|
+
template: template$6,
|
|
109992
|
+
styles: styles$5,
|
|
109565
109993
|
shadowOptions: {
|
|
109566
109994
|
delegatesFocus: true
|
|
109567
109995
|
}
|
|
109568
109996
|
});
|
|
109569
109997
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSearchInput());
|
|
109570
109998
|
|
|
109571
|
-
const styles$
|
|
109999
|
+
const styles$4 = css `
|
|
109572
110000
|
@layer base, hover, focusVisible, active;
|
|
109573
110001
|
|
|
109574
110002
|
@layer base {
|
|
@@ -109627,7 +110055,7 @@ focus outline in that case.
|
|
|
109627
110055
|
}
|
|
109628
110056
|
`;
|
|
109629
110057
|
|
|
109630
|
-
const template$
|
|
110058
|
+
const template$5 = html `
|
|
109631
110059
|
<div
|
|
109632
110060
|
class="splitter"
|
|
109633
110061
|
@pointerdown="${(x, c) => x.handlePointerDown(c.event)}"
|
|
@@ -109890,13 +110318,265 @@ focus outline in that case.
|
|
|
109890
110318
|
], FvSplitter.prototype, "resizing", void 0);
|
|
109891
110319
|
const okFvSplitter = FvSplitter.compose({
|
|
109892
110320
|
baseName: 'fv-splitter',
|
|
109893
|
-
template: template$
|
|
109894
|
-
styles: styles$
|
|
110321
|
+
template: template$5,
|
|
110322
|
+
styles: styles$4,
|
|
109895
110323
|
shadowOptions: {
|
|
109896
110324
|
delegatesFocus: false
|
|
109897
110325
|
}
|
|
109898
110326
|
});
|
|
109899
110327
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSplitter());
|
|
110328
|
+
const fvSplitterTag = 'ok-fv-splitter';
|
|
110329
|
+
|
|
110330
|
+
const styles$3 = css `
|
|
110331
|
+
${display('block')}
|
|
110332
|
+
|
|
110333
|
+
:host {
|
|
110334
|
+
min-width: 0;
|
|
110335
|
+
min-height: 0;
|
|
110336
|
+
height: 100%;
|
|
110337
|
+
}
|
|
110338
|
+
|
|
110339
|
+
.layout {
|
|
110340
|
+
display: grid;
|
|
110341
|
+
width: 100%;
|
|
110342
|
+
height: 100%;
|
|
110343
|
+
min-width: 0;
|
|
110344
|
+
min-height: 0;
|
|
110345
|
+
overflow: auto;
|
|
110346
|
+
}
|
|
110347
|
+
|
|
110348
|
+
.pane {
|
|
110349
|
+
min-width: 0;
|
|
110350
|
+
min-height: 0;
|
|
110351
|
+
height: 100%;
|
|
110352
|
+
overflow: auto;
|
|
110353
|
+
}
|
|
110354
|
+
|
|
110355
|
+
slot {
|
|
110356
|
+
display: block;
|
|
110357
|
+
min-width: 0;
|
|
110358
|
+
min-height: 0;
|
|
110359
|
+
height: 100%;
|
|
110360
|
+
}
|
|
110361
|
+
|
|
110362
|
+
::slotted([slot]) {
|
|
110363
|
+
box-sizing: border-box;
|
|
110364
|
+
min-width: 0;
|
|
110365
|
+
min-height: 0;
|
|
110366
|
+
height: 100%;
|
|
110367
|
+
}
|
|
110368
|
+
`;
|
|
110369
|
+
|
|
110370
|
+
const template$4 = html `
|
|
110371
|
+
<div class="layout" style="grid-template-columns: ${x => x.gridTemplateColumns}">
|
|
110372
|
+
<div class="pane primary" id="${x => x.primaryPaneId}">
|
|
110373
|
+
<slot name="primary"></slot>
|
|
110374
|
+
</div>
|
|
110375
|
+
${when(x => !x.collapsed, html `
|
|
110376
|
+
<${fvSplitterTag}
|
|
110377
|
+
position="${x => x.position}"
|
|
110378
|
+
min="${x => x.effectiveMin}"
|
|
110379
|
+
max="${x => x.effectiveMax}"
|
|
110380
|
+
step="${x => x.step}"
|
|
110381
|
+
aria-controls="${x => `${x.primaryPaneId} ${x.secondaryPaneId}`}"
|
|
110382
|
+
@input="${(x, c) => x.handleSplitterInput(c.event)}"
|
|
110383
|
+
@change="${(x, c) => x.handleSplitterChange(c.event)}"
|
|
110384
|
+
></${fvSplitterTag}>
|
|
110385
|
+
<div class="pane secondary" id="${x => x.secondaryPaneId}">
|
|
110386
|
+
<slot name="secondary"></slot>
|
|
110387
|
+
</div>
|
|
110388
|
+
`)}
|
|
110389
|
+
</div>
|
|
110390
|
+
`;
|
|
110391
|
+
|
|
110392
|
+
let nextLayoutId = 0;
|
|
110393
|
+
function takeLayoutId() {
|
|
110394
|
+
const id = nextLayoutId;
|
|
110395
|
+
nextLayoutId += 1;
|
|
110396
|
+
return id;
|
|
110397
|
+
}
|
|
110398
|
+
/**
|
|
110399
|
+
* A full-height, resizable two-pane layout.
|
|
110400
|
+
*/
|
|
110401
|
+
class FvSplitLayout extends FoundationElement {
|
|
110402
|
+
constructor() {
|
|
110403
|
+
super();
|
|
110404
|
+
this.position = 60;
|
|
110405
|
+
this.min = 35;
|
|
110406
|
+
this.max = 75;
|
|
110407
|
+
this.minSecondaryPixels = 300;
|
|
110408
|
+
this.collapsed = false;
|
|
110409
|
+
this.step = 1;
|
|
110410
|
+
this.primaryPaneId = '';
|
|
110411
|
+
this.secondaryPaneId = '';
|
|
110412
|
+
/** @internal */
|
|
110413
|
+
this.availableWidth = 0;
|
|
110414
|
+
this.resizeObserver = new ResizeObserver(entries => {
|
|
110415
|
+
this.availableWidth = entries[0]?.contentRect.width ?? 0;
|
|
110416
|
+
this.constrainPosition();
|
|
110417
|
+
});
|
|
110418
|
+
this.requestedPosition = this.position;
|
|
110419
|
+
this.applyingConstrainedPosition = false;
|
|
110420
|
+
this.requestedPositionResetScheduled = false;
|
|
110421
|
+
this.positionChangeCallbackVersion = 0;
|
|
110422
|
+
const layoutId = takeLayoutId();
|
|
110423
|
+
this.primaryPaneId = `ok-fv-split-layout-primary-${layoutId}`;
|
|
110424
|
+
this.secondaryPaneId = `ok-fv-split-layout-secondary-${layoutId}`;
|
|
110425
|
+
const positionDescriptor = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this), 'position');
|
|
110426
|
+
if (!positionDescriptor?.get || !positionDescriptor.set) {
|
|
110427
|
+
return;
|
|
110428
|
+
}
|
|
110429
|
+
const getPosition = positionDescriptor.get.bind(this);
|
|
110430
|
+
const setPosition = positionDescriptor.set.bind(this);
|
|
110431
|
+
Object.defineProperty(this, 'position', {
|
|
110432
|
+
configurable: true,
|
|
110433
|
+
enumerable: positionDescriptor.enumerable,
|
|
110434
|
+
get: getPosition,
|
|
110435
|
+
set: (value) => {
|
|
110436
|
+
const previousPosition = getPosition();
|
|
110437
|
+
const callbackVersion = this.positionChangeCallbackVersion;
|
|
110438
|
+
setPosition(value);
|
|
110439
|
+
if (!this.applyingConstrainedPosition
|
|
110440
|
+
&& callbackVersion === this.positionChangeCallbackVersion
|
|
110441
|
+
&& previousPosition === getPosition()) {
|
|
110442
|
+
this.requestedPosition = getPosition();
|
|
110443
|
+
}
|
|
110444
|
+
}
|
|
110445
|
+
});
|
|
110446
|
+
}
|
|
110447
|
+
connectedCallback() {
|
|
110448
|
+
super.connectedCallback();
|
|
110449
|
+
this.resizeObserver.observe(this);
|
|
110450
|
+
}
|
|
110451
|
+
disconnectedCallback() {
|
|
110452
|
+
this.resizeObserver.disconnect();
|
|
110453
|
+
super.disconnectedCallback();
|
|
110454
|
+
}
|
|
110455
|
+
positionChanged() {
|
|
110456
|
+
this.positionChangeCallbackVersion += 1;
|
|
110457
|
+
if (!this.applyingConstrainedPosition) {
|
|
110458
|
+
this.requestedPosition = this.position;
|
|
110459
|
+
this.resetRequestedPositionAfterSynchronousUpdates();
|
|
110460
|
+
}
|
|
110461
|
+
this.constrainPosition();
|
|
110462
|
+
}
|
|
110463
|
+
minChanged() {
|
|
110464
|
+
this.constrainPosition();
|
|
110465
|
+
}
|
|
110466
|
+
maxChanged() {
|
|
110467
|
+
this.constrainPosition();
|
|
110468
|
+
}
|
|
110469
|
+
minSecondaryPixelsChanged() {
|
|
110470
|
+
this.constrainPosition();
|
|
110471
|
+
}
|
|
110472
|
+
collapsedChanged() {
|
|
110473
|
+
this.constrainPosition();
|
|
110474
|
+
}
|
|
110475
|
+
/** @internal */
|
|
110476
|
+
get effectiveMin() {
|
|
110477
|
+
const configured = Number.isFinite(this.min) ? Math.min(100, Math.max(0, this.min)) : 35;
|
|
110478
|
+
return Math.min(configured, this.effectiveMax);
|
|
110479
|
+
}
|
|
110480
|
+
/** @internal */
|
|
110481
|
+
get effectiveMax() {
|
|
110482
|
+
const minimum = Number.isFinite(this.min) ? Math.min(100, Math.max(0, this.min)) : 35;
|
|
110483
|
+
const configured = Number.isFinite(this.max)
|
|
110484
|
+
? Math.min(100, Math.max(minimum, this.max))
|
|
110485
|
+
: Math.max(minimum, 75);
|
|
110486
|
+
const secondaryMinimum = this.effectiveMinSecondaryPixels;
|
|
110487
|
+
if (this.availableWidth <= 2 || secondaryMinimum <= 0) {
|
|
110488
|
+
return configured;
|
|
110489
|
+
}
|
|
110490
|
+
const pixelMaximum = 100 * (1 - secondaryMinimum / (this.availableWidth - 2));
|
|
110491
|
+
return Math.max(0, Math.min(configured, pixelMaximum));
|
|
110492
|
+
}
|
|
110493
|
+
/** @internal */
|
|
110494
|
+
get gridTemplateColumns() {
|
|
110495
|
+
const secondaryMinimum = this.effectiveMinSecondaryPixels;
|
|
110496
|
+
return this.collapsed
|
|
110497
|
+
? 'minmax(0, 1fr)'
|
|
110498
|
+
: `minmax(0, ${this.position}fr) 2px minmax(${secondaryMinimum}px, ${100 - this.position}fr)`;
|
|
110499
|
+
}
|
|
110500
|
+
/** @internal */
|
|
110501
|
+
handleSplitterInput(event) {
|
|
110502
|
+
event.stopPropagation();
|
|
110503
|
+
this.position = event.currentTarget.position;
|
|
110504
|
+
this.$emit('input');
|
|
110505
|
+
return true;
|
|
110506
|
+
}
|
|
110507
|
+
/** @internal */
|
|
110508
|
+
handleSplitterChange(event) {
|
|
110509
|
+
event.stopPropagation();
|
|
110510
|
+
this.$emit('change');
|
|
110511
|
+
return true;
|
|
110512
|
+
}
|
|
110513
|
+
constrainPosition() {
|
|
110514
|
+
if (this.collapsed) {
|
|
110515
|
+
return;
|
|
110516
|
+
}
|
|
110517
|
+
const finitePosition = Number.isFinite(this.requestedPosition) ? this.requestedPosition : 60;
|
|
110518
|
+
const constrained = Math.min(this.effectiveMax, Math.max(this.effectiveMin, finitePosition));
|
|
110519
|
+
if (constrained !== this.position) {
|
|
110520
|
+
this.applyingConstrainedPosition = true;
|
|
110521
|
+
this.position = constrained;
|
|
110522
|
+
this.applyingConstrainedPosition = false;
|
|
110523
|
+
}
|
|
110524
|
+
}
|
|
110525
|
+
resetRequestedPositionAfterSynchronousUpdates() {
|
|
110526
|
+
if (this.requestedPositionResetScheduled) {
|
|
110527
|
+
return;
|
|
110528
|
+
}
|
|
110529
|
+
this.requestedPositionResetScheduled = true;
|
|
110530
|
+
queueMicrotask(() => {
|
|
110531
|
+
this.requestedPositionResetScheduled = false;
|
|
110532
|
+
this.requestedPosition = this.position;
|
|
110533
|
+
});
|
|
110534
|
+
}
|
|
110535
|
+
get effectiveMinSecondaryPixels() {
|
|
110536
|
+
return Number.isFinite(this.minSecondaryPixels)
|
|
110537
|
+
? Math.max(0, this.minSecondaryPixels)
|
|
110538
|
+
: 300;
|
|
110539
|
+
}
|
|
110540
|
+
}
|
|
110541
|
+
__decorate([
|
|
110542
|
+
attr({ converter: nullableNumberConverter })
|
|
110543
|
+
], FvSplitLayout.prototype, "position", void 0);
|
|
110544
|
+
__decorate([
|
|
110545
|
+
attr({ converter: nullableNumberConverter })
|
|
110546
|
+
], FvSplitLayout.prototype, "min", void 0);
|
|
110547
|
+
__decorate([
|
|
110548
|
+
attr({ converter: nullableNumberConverter })
|
|
110549
|
+
], FvSplitLayout.prototype, "max", void 0);
|
|
110550
|
+
__decorate([
|
|
110551
|
+
attr({ attribute: 'min-secondary-pixels', converter: nullableNumberConverter })
|
|
110552
|
+
], FvSplitLayout.prototype, "minSecondaryPixels", void 0);
|
|
110553
|
+
__decorate([
|
|
110554
|
+
attr({ mode: 'boolean' })
|
|
110555
|
+
], FvSplitLayout.prototype, "collapsed", void 0);
|
|
110556
|
+
__decorate([
|
|
110557
|
+
attr({ converter: nullableNumberConverter })
|
|
110558
|
+
], FvSplitLayout.prototype, "step", void 0);
|
|
110559
|
+
__decorate([
|
|
110560
|
+
attr({ attribute: 'primary-pane-id' })
|
|
110561
|
+
], FvSplitLayout.prototype, "primaryPaneId", void 0);
|
|
110562
|
+
__decorate([
|
|
110563
|
+
attr({ attribute: 'secondary-pane-id' })
|
|
110564
|
+
], FvSplitLayout.prototype, "secondaryPaneId", void 0);
|
|
110565
|
+
__decorate([
|
|
110566
|
+
observable
|
|
110567
|
+
], FvSplitLayout.prototype, "availableWidth", void 0);
|
|
110568
|
+
__decorate([
|
|
110569
|
+
volatile
|
|
110570
|
+
], FvSplitLayout.prototype, "effectiveMax", null);
|
|
110571
|
+
__decorate([
|
|
110572
|
+
volatile
|
|
110573
|
+
], FvSplitLayout.prototype, "gridTemplateColumns", null);
|
|
110574
|
+
const okFvSplitLayout = FvSplitLayout.compose({
|
|
110575
|
+
baseName: 'fv-split-layout',
|
|
110576
|
+
template: template$4,
|
|
110577
|
+
styles: styles$3
|
|
110578
|
+
});
|
|
110579
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSplitLayout());
|
|
109900
110580
|
|
|
109901
110581
|
const styles$2 = css `
|
|
109902
110582
|
${display('inline-block')}
|
|
@@ -110447,7 +111127,7 @@ focus outline in that case.
|
|
|
110447
111127
|
|
|
110448
111128
|
const template = html `
|
|
110449
111129
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
110450
|
-
>${template$
|
|
111130
|
+
>${template$Q}</template
|
|
110451
111131
|
>
|
|
110452
111132
|
`;
|
|
110453
111133
|
|
|
@@ -110533,7 +111213,7 @@ focus outline in that case.
|
|
|
110533
111213
|
const tsTableColumnBreakpoint = TsTableColumnBreakpoint.compose({
|
|
110534
111214
|
baseName: 'ts-table-column-breakpoint',
|
|
110535
111215
|
template,
|
|
110536
|
-
styles: styles$
|
|
111216
|
+
styles: styles$P
|
|
110537
111217
|
});
|
|
110538
111218
|
DesignSystem.getOrCreate()
|
|
110539
111219
|
.withPrefix('ok')
|