@ni/ok-components 1.3.7 → 1.4.1
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 +940 -435
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3576 -3444
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +775 -239
- package/dist/custom-elements.md +129 -56
- package/dist/esm/ts/all-ts.d.ts +1 -0
- package/dist/esm/ts/all-ts.js +1 -0
- package/dist/esm/ts/all-ts.js.map +1 -1
- package/dist/esm/ts/table-column/breakpoint/cell-view/index.d.ts +73 -0
- package/dist/esm/ts/table-column/breakpoint/cell-view/index.js +305 -0
- package/dist/esm/ts/table-column/breakpoint/cell-view/index.js.map +1 -0
- package/dist/esm/ts/table-column/breakpoint/cell-view/styles.d.ts +1 -0
- package/dist/esm/ts/table-column/breakpoint/cell-view/styles.js +48 -0
- package/dist/esm/ts/table-column/breakpoint/cell-view/styles.js.map +1 -0
- package/dist/esm/ts/table-column/breakpoint/cell-view/template.d.ts +2 -0
- package/dist/esm/ts/table-column/breakpoint/cell-view/template.js +55 -0
- package/dist/esm/ts/table-column/breakpoint/cell-view/template.js.map +1 -0
- package/dist/esm/ts/table-column/breakpoint/index.d.ts +36 -0
- package/dist/esm/ts/table-column/breakpoint/index.js +101 -0
- package/dist/esm/ts/table-column/breakpoint/index.js.map +1 -0
- package/dist/esm/ts/table-column/breakpoint/template.d.ts +2 -0
- package/dist/esm/ts/table-column/breakpoint/template.js +8 -0
- package/dist/esm/ts/table-column/breakpoint/template.js.map +1 -0
- package/dist/esm/ts/table-column/breakpoint/testing/ts-table-column-breakpoint.pageobject.d.ts +23 -0
- package/dist/esm/ts/table-column/breakpoint/testing/ts-table-column-breakpoint.pageobject.js +69 -0
- package/dist/esm/ts/table-column/breakpoint/testing/ts-table-column-breakpoint.pageobject.js.map +1 -0
- package/dist/esm/ts/table-column/breakpoint/types.d.ts +32 -0
- package/dist/esm/ts/table-column/breakpoint/types.js +16 -0
- package/dist/esm/ts/table-column/breakpoint/types.js.map +1 -0
- package/package.json +2 -2
|
@@ -14900,9 +14900,9 @@
|
|
|
14900
14900
|
const prefix = 'ni-nimble';
|
|
14901
14901
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
14902
14902
|
|
|
14903
|
-
const template$
|
|
14903
|
+
const template$1j = html `<slot></slot>`;
|
|
14904
14904
|
|
|
14905
|
-
const styles$
|
|
14905
|
+
const styles$1z = css `
|
|
14906
14906
|
${display$2('contents')}
|
|
14907
14907
|
|
|
14908
14908
|
:host {
|
|
@@ -15026,8 +15026,8 @@
|
|
|
15026
15026
|
], ThemeProvider.prototype, "theme", void 0);
|
|
15027
15027
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
15028
15028
|
baseName: 'theme-provider',
|
|
15029
|
-
styles: styles$
|
|
15030
|
-
template: template$
|
|
15029
|
+
styles: styles$1z,
|
|
15030
|
+
template: template$1j
|
|
15031
15031
|
});
|
|
15032
15032
|
DesignSystem.getOrCreate()
|
|
15033
15033
|
.withPrefix('nimble')
|
|
@@ -16673,7 +16673,7 @@
|
|
|
16673
16673
|
}
|
|
16674
16674
|
// #endregion
|
|
16675
16675
|
|
|
16676
|
-
const styles$
|
|
16676
|
+
const styles$1y = css `
|
|
16677
16677
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
16678
16678
|
|
|
16679
16679
|
@layer base {
|
|
@@ -16751,7 +16751,7 @@
|
|
|
16751
16751
|
}
|
|
16752
16752
|
`;
|
|
16753
16753
|
|
|
16754
|
-
const template$
|
|
16754
|
+
const template$1i = (_context, definition) => html `${
|
|
16755
16755
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16756
16756
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
16757
16757
|
*/ ''}<div
|
|
@@ -16854,8 +16854,8 @@
|
|
|
16854
16854
|
const nimbleAnchor = Anchor.compose({
|
|
16855
16855
|
baseName: 'anchor',
|
|
16856
16856
|
baseClass: Anchor$1,
|
|
16857
|
-
template: template$
|
|
16858
|
-
styles: styles$
|
|
16857
|
+
template: template$1i,
|
|
16858
|
+
styles: styles$1y,
|
|
16859
16859
|
shadowOptions: {
|
|
16860
16860
|
delegatesFocus: true
|
|
16861
16861
|
}
|
|
@@ -16964,7 +16964,7 @@
|
|
|
16964
16964
|
padding: 0;
|
|
16965
16965
|
`;
|
|
16966
16966
|
|
|
16967
|
-
const styles$
|
|
16967
|
+
const styles$1x = css `
|
|
16968
16968
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
16969
16969
|
|
|
16970
16970
|
@layer base {
|
|
@@ -17248,8 +17248,8 @@
|
|
|
17248
17248
|
}
|
|
17249
17249
|
`));
|
|
17250
17250
|
|
|
17251
|
-
const styles$
|
|
17252
|
-
${styles$
|
|
17251
|
+
const styles$1w = css `
|
|
17252
|
+
${styles$1x}
|
|
17253
17253
|
${buttonAppearanceVariantStyles}
|
|
17254
17254
|
|
|
17255
17255
|
.control {
|
|
@@ -17269,7 +17269,7 @@
|
|
|
17269
17269
|
}
|
|
17270
17270
|
`;
|
|
17271
17271
|
|
|
17272
|
-
const template$
|
|
17272
|
+
const template$1h = (context, definition) => html `
|
|
17273
17273
|
<a
|
|
17274
17274
|
class="control"
|
|
17275
17275
|
part="control"
|
|
@@ -17351,8 +17351,8 @@
|
|
|
17351
17351
|
], AnchorButton.prototype, "disabled", void 0);
|
|
17352
17352
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17353
17353
|
baseName: 'anchor-button',
|
|
17354
|
-
template: template$
|
|
17355
|
-
styles: styles$
|
|
17354
|
+
template: template$1h,
|
|
17355
|
+
styles: styles$1w,
|
|
17356
17356
|
shadowOptions: {
|
|
17357
17357
|
delegatesFocus: true
|
|
17358
17358
|
}
|
|
@@ -17360,7 +17360,7 @@
|
|
|
17360
17360
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17361
17361
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17362
17362
|
|
|
17363
|
-
const styles$
|
|
17363
|
+
const styles$1v = css `
|
|
17364
17364
|
${display$2('grid')}
|
|
17365
17365
|
|
|
17366
17366
|
:host {
|
|
@@ -17443,7 +17443,7 @@
|
|
|
17443
17443
|
}
|
|
17444
17444
|
`;
|
|
17445
17445
|
|
|
17446
|
-
const template$
|
|
17446
|
+
const template$1g = (context, definition) => html `
|
|
17447
17447
|
<template
|
|
17448
17448
|
role="menuitem"
|
|
17449
17449
|
class="${x => (typeof x.startColumnCount === 'number'
|
|
@@ -17544,8 +17544,8 @@
|
|
|
17544
17544
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17545
17545
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17546
17546
|
baseName: 'anchor-menu-item',
|
|
17547
|
-
template: template$
|
|
17548
|
-
styles: styles$
|
|
17547
|
+
template: template$1g,
|
|
17548
|
+
styles: styles$1v,
|
|
17549
17549
|
shadowOptions: {
|
|
17550
17550
|
delegatesFocus: true
|
|
17551
17551
|
}
|
|
@@ -17557,7 +17557,7 @@
|
|
|
17557
17557
|
|
|
17558
17558
|
// These styles end up inside a @layer block so must use the
|
|
17559
17559
|
// cssPartial tag instead of the css tag
|
|
17560
|
-
const styles$
|
|
17560
|
+
const styles$1u = cssPartial `
|
|
17561
17561
|
.severity-text {
|
|
17562
17562
|
display: none;
|
|
17563
17563
|
font: ${errorTextFont};
|
|
@@ -17667,12 +17667,12 @@
|
|
|
17667
17667
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
17668
17668
|
/* eslint-enable max-classes-per-file */
|
|
17669
17669
|
|
|
17670
|
-
const styles$
|
|
17670
|
+
const styles$1t = css `
|
|
17671
17671
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
17672
17672
|
|
|
17673
17673
|
@layer base {
|
|
17674
17674
|
${display$2('inline-flex')}
|
|
17675
|
-
${styles$
|
|
17675
|
+
${styles$1u}
|
|
17676
17676
|
:host {
|
|
17677
17677
|
color: ${buttonLabelFontColor};
|
|
17678
17678
|
font: ${buttonLabelFont};
|
|
@@ -18218,8 +18218,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
18218
18218
|
}
|
|
18219
18219
|
`));
|
|
18220
18220
|
|
|
18221
|
-
const styles$
|
|
18222
|
-
${styles$
|
|
18221
|
+
const styles$1s = css `
|
|
18222
|
+
${styles$1t}
|
|
18223
18223
|
${'' /* Anchor specific styles */}
|
|
18224
18224
|
@layer base {
|
|
18225
18225
|
.control {
|
|
@@ -19266,13 +19266,13 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19266
19266
|
};
|
|
19267
19267
|
|
|
19268
19268
|
// Avoiding any whitespace in the template because this is an inline element
|
|
19269
|
-
const template$
|
|
19269
|
+
const template$1f = html `<div
|
|
19270
19270
|
class="icon"
|
|
19271
19271
|
aria-hidden="true"
|
|
19272
19272
|
:innerHTML=${x => x.icon.data}
|
|
19273
19273
|
></div>`;
|
|
19274
19274
|
|
|
19275
|
-
const styles$
|
|
19275
|
+
const styles$1r = css `
|
|
19276
19276
|
${display$2('inline-flex')}
|
|
19277
19277
|
|
|
19278
19278
|
:host {
|
|
@@ -19335,8 +19335,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19335
19335
|
const registerIconSvg = (baseName, iconClass) => {
|
|
19336
19336
|
const composedIcon = iconClass.compose({
|
|
19337
19337
|
baseName,
|
|
19338
|
-
template: template$
|
|
19339
|
-
styles: styles$
|
|
19338
|
+
template: template$1f,
|
|
19339
|
+
styles: styles$1r
|
|
19340
19340
|
});
|
|
19341
19341
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
19342
19342
|
};
|
|
@@ -19460,7 +19460,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19460
19460
|
*/
|
|
19461
19461
|
const StepperOrientation = Orientation;
|
|
19462
19462
|
|
|
19463
|
-
const template$
|
|
19463
|
+
const template$1e = (context, definition) => html `
|
|
19464
19464
|
<template slot="step">
|
|
19465
19465
|
<li class="
|
|
19466
19466
|
container
|
|
@@ -19607,15 +19607,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19607
19607
|
], AnchorStep.prototype, "tabIndex", void 0);
|
|
19608
19608
|
const nimbleAnchorStep = AnchorStep.compose({
|
|
19609
19609
|
baseName: 'anchor-step',
|
|
19610
|
-
template: template$
|
|
19611
|
-
styles: styles$
|
|
19610
|
+
template: template$1e,
|
|
19611
|
+
styles: styles$1s,
|
|
19612
19612
|
shadowOptions: {
|
|
19613
19613
|
delegatesFocus: true
|
|
19614
19614
|
}
|
|
19615
19615
|
});
|
|
19616
19616
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
|
|
19617
19617
|
|
|
19618
|
-
const styles$
|
|
19618
|
+
const styles$1q = css `
|
|
19619
19619
|
${display$2('inline-flex')}
|
|
19620
19620
|
|
|
19621
19621
|
:host {
|
|
@@ -19732,7 +19732,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19732
19732
|
}
|
|
19733
19733
|
`;
|
|
19734
19734
|
|
|
19735
|
-
const template$
|
|
19735
|
+
const template$1d = (context, definition) => html `
|
|
19736
19736
|
<template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
|
|
19737
19737
|
<a
|
|
19738
19738
|
download="${x => x.download}"
|
|
@@ -19784,15 +19784,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19784
19784
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
19785
19785
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
19786
19786
|
baseName: 'anchor-tab',
|
|
19787
|
-
template: template$
|
|
19788
|
-
styles: styles$
|
|
19787
|
+
template: template$1d,
|
|
19788
|
+
styles: styles$1q,
|
|
19789
19789
|
shadowOptions: {
|
|
19790
19790
|
delegatesFocus: true
|
|
19791
19791
|
}
|
|
19792
19792
|
});
|
|
19793
19793
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
19794
19794
|
|
|
19795
|
-
const styles$
|
|
19795
|
+
const styles$1p = css `
|
|
19796
19796
|
${display$2('flex')}
|
|
19797
19797
|
|
|
19798
19798
|
:host {
|
|
@@ -19832,12 +19832,12 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19832
19832
|
}
|
|
19833
19833
|
`;
|
|
19834
19834
|
|
|
19835
|
-
const styles$
|
|
19836
|
-
${styles$
|
|
19835
|
+
const styles$1o = css `
|
|
19836
|
+
${styles$1x}
|
|
19837
19837
|
${buttonAppearanceVariantStyles}
|
|
19838
19838
|
`;
|
|
19839
19839
|
|
|
19840
|
-
const template$
|
|
19840
|
+
const template$1c = (context, definition) => html `
|
|
19841
19841
|
<button
|
|
19842
19842
|
class="control"
|
|
19843
19843
|
part="control"
|
|
@@ -19928,8 +19928,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19928
19928
|
const nimbleButton = Button.compose({
|
|
19929
19929
|
baseName: 'button',
|
|
19930
19930
|
baseClass: Button$1,
|
|
19931
|
-
template: template$
|
|
19932
|
-
styles: styles$
|
|
19931
|
+
template: template$1c,
|
|
19932
|
+
styles: styles$1o,
|
|
19933
19933
|
shadowOptions: {
|
|
19934
19934
|
delegatesFocus: true
|
|
19935
19935
|
}
|
|
@@ -19963,7 +19963,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19963
19963
|
registerIconSvg('icon-arrow-expander-right', IconArrowExpanderRight);
|
|
19964
19964
|
const iconArrowExpanderRightTag = 'nimble-icon-arrow-expander-right';
|
|
19965
19965
|
|
|
19966
|
-
const template$
|
|
19966
|
+
const template$1b = (context, definition) => html `
|
|
19967
19967
|
<div
|
|
19968
19968
|
class="tab-bar"
|
|
19969
19969
|
>
|
|
@@ -20264,15 +20264,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20264
20264
|
applyMixins(AnchorTabs, StartEnd);
|
|
20265
20265
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
20266
20266
|
baseName: 'anchor-tabs',
|
|
20267
|
-
template: template$
|
|
20268
|
-
styles: styles$
|
|
20267
|
+
template: template$1b,
|
|
20268
|
+
styles: styles$1p,
|
|
20269
20269
|
shadowOptions: {
|
|
20270
20270
|
delegatesFocus: false
|
|
20271
20271
|
}
|
|
20272
20272
|
});
|
|
20273
20273
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
|
|
20274
20274
|
|
|
20275
|
-
const styles$
|
|
20275
|
+
const styles$1n = css `
|
|
20276
20276
|
${display$2('block')}
|
|
20277
20277
|
|
|
20278
20278
|
:host {
|
|
@@ -20377,7 +20377,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20377
20377
|
}
|
|
20378
20378
|
`;
|
|
20379
20379
|
|
|
20380
|
-
const template$
|
|
20380
|
+
const template$1a = (context, definition) => html `
|
|
20381
20381
|
<template
|
|
20382
20382
|
role="treeitem"
|
|
20383
20383
|
slot="${x => (x.isNestedItem() ? 'item' : null)}"
|
|
@@ -20514,8 +20514,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20514
20514
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
20515
20515
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
20516
20516
|
baseName: 'anchor-tree-item',
|
|
20517
|
-
template: template$
|
|
20518
|
-
styles: styles$
|
|
20517
|
+
template: template$1a,
|
|
20518
|
+
styles: styles$1n,
|
|
20519
20519
|
shadowOptions: {
|
|
20520
20520
|
delegatesFocus: true
|
|
20521
20521
|
}
|
|
@@ -20531,7 +20531,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20531
20531
|
zIndex1000: '1000'
|
|
20532
20532
|
};
|
|
20533
20533
|
|
|
20534
|
-
const styles$
|
|
20534
|
+
const styles$1m = css `
|
|
20535
20535
|
${display$2('block')}
|
|
20536
20536
|
|
|
20537
20537
|
:host {
|
|
@@ -20562,14 +20562,14 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20562
20562
|
baseName: 'anchored-region',
|
|
20563
20563
|
baseClass: AnchoredRegion$1,
|
|
20564
20564
|
template: anchoredRegionTemplate,
|
|
20565
|
-
styles: styles$
|
|
20565
|
+
styles: styles$1m
|
|
20566
20566
|
});
|
|
20567
20567
|
DesignSystem.getOrCreate()
|
|
20568
20568
|
.withPrefix('nimble')
|
|
20569
20569
|
.register(nimbleAnchoredRegion());
|
|
20570
20570
|
const anchoredRegionTag = 'nimble-anchored-region';
|
|
20571
20571
|
|
|
20572
|
-
const styles$
|
|
20572
|
+
const styles$1l = css `
|
|
20573
20573
|
${display$2('flex')}
|
|
20574
20574
|
|
|
20575
20575
|
:host {
|
|
@@ -20721,7 +20721,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20721
20721
|
information: 'information'
|
|
20722
20722
|
};
|
|
20723
20723
|
|
|
20724
|
-
const template$
|
|
20724
|
+
const template$19 = html `
|
|
20725
20725
|
<${themeProviderTag} theme="${Theme.color}">
|
|
20726
20726
|
<div class="container"
|
|
20727
20727
|
role="status"
|
|
@@ -20839,8 +20839,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20839
20839
|
applyMixins(Banner, ARIAGlobalStatesAndProperties);
|
|
20840
20840
|
const nimbleBanner = Banner.compose({
|
|
20841
20841
|
baseName: 'banner',
|
|
20842
|
-
template: template$
|
|
20843
|
-
styles: styles$
|
|
20842
|
+
template: template$19,
|
|
20843
|
+
styles: styles$1l
|
|
20844
20844
|
});
|
|
20845
20845
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
20846
20846
|
|
|
@@ -20881,7 +20881,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20881
20881
|
</template>
|
|
20882
20882
|
`;
|
|
20883
20883
|
|
|
20884
|
-
const styles$
|
|
20884
|
+
const styles$1k = css `
|
|
20885
20885
|
${display$2('inline-flex')}
|
|
20886
20886
|
|
|
20887
20887
|
:host {
|
|
@@ -20985,11 +20985,11 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20985
20985
|
baseName: 'breadcrumb',
|
|
20986
20986
|
baseClass: Breadcrumb$1,
|
|
20987
20987
|
template: breadcrumbTemplate,
|
|
20988
|
-
styles: styles$
|
|
20988
|
+
styles: styles$1k
|
|
20989
20989
|
});
|
|
20990
20990
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
20991
20991
|
|
|
20992
|
-
const styles$
|
|
20992
|
+
const styles$1j = css `
|
|
20993
20993
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
20994
20994
|
|
|
20995
20995
|
@layer base {
|
|
@@ -21086,14 +21086,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21086
21086
|
baseName: 'breadcrumb-item',
|
|
21087
21087
|
baseClass: BreadcrumbItem$1,
|
|
21088
21088
|
template: breadcrumbItemTemplate,
|
|
21089
|
-
styles: styles$
|
|
21089
|
+
styles: styles$1j,
|
|
21090
21090
|
separator: forwardSlash16X16.data
|
|
21091
21091
|
});
|
|
21092
21092
|
DesignSystem.getOrCreate()
|
|
21093
21093
|
.withPrefix('nimble')
|
|
21094
21094
|
.register(nimbleBreadcrumbItem());
|
|
21095
21095
|
|
|
21096
|
-
const styles$
|
|
21096
|
+
const styles$1i = css `
|
|
21097
21097
|
${display$2('flex')}
|
|
21098
21098
|
|
|
21099
21099
|
:host {
|
|
@@ -21117,7 +21117,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21117
21117
|
}
|
|
21118
21118
|
`;
|
|
21119
21119
|
|
|
21120
|
-
const template$
|
|
21120
|
+
const template$18 = html `
|
|
21121
21121
|
<section aria-labelledby="title-slot">
|
|
21122
21122
|
<span id="title-slot"><slot name="title"></slot></span>
|
|
21123
21123
|
<slot></slot>
|
|
@@ -21132,12 +21132,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21132
21132
|
const nimbleCard = Card.compose({
|
|
21133
21133
|
baseName: 'card',
|
|
21134
21134
|
baseClass: Card$1,
|
|
21135
|
-
template: template$
|
|
21136
|
-
styles: styles$
|
|
21135
|
+
template: template$18,
|
|
21136
|
+
styles: styles$1i
|
|
21137
21137
|
});
|
|
21138
21138
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
21139
21139
|
|
|
21140
|
-
const styles$
|
|
21140
|
+
const styles$1h = css `
|
|
21141
21141
|
${display$2('inline-flex')}
|
|
21142
21142
|
|
|
21143
21143
|
:host {
|
|
@@ -21295,7 +21295,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21295
21295
|
const nimbleCardButton = CardButton.compose({
|
|
21296
21296
|
baseName: 'card-button',
|
|
21297
21297
|
template: buttonTemplate,
|
|
21298
|
-
styles: styles$
|
|
21298
|
+
styles: styles$1h,
|
|
21299
21299
|
shadowOptions: {
|
|
21300
21300
|
delegatesFocus: true
|
|
21301
21301
|
}
|
|
@@ -21303,7 +21303,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21303
21303
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
21304
21304
|
const cardButtonTag = 'nimble-card-button';
|
|
21305
21305
|
|
|
21306
|
-
const styles$
|
|
21306
|
+
const styles$1g = css `
|
|
21307
21307
|
.error-icon {
|
|
21308
21308
|
display: none;
|
|
21309
21309
|
}
|
|
@@ -21337,9 +21337,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21337
21337
|
}
|
|
21338
21338
|
`;
|
|
21339
21339
|
|
|
21340
|
-
const styles$
|
|
21340
|
+
const styles$1f = css `
|
|
21341
21341
|
${display$2('inline-grid')}
|
|
21342
|
-
${styles$
|
|
21342
|
+
${styles$1g}
|
|
21343
21343
|
|
|
21344
21344
|
:host {
|
|
21345
21345
|
font: ${bodyFont};
|
|
@@ -21479,7 +21479,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21479
21479
|
</div>
|
|
21480
21480
|
`;
|
|
21481
21481
|
|
|
21482
|
-
const template$
|
|
21482
|
+
const template$17 = (_context, definition) => html `
|
|
21483
21483
|
<template
|
|
21484
21484
|
role="checkbox"
|
|
21485
21485
|
aria-checked="${x => x.checked}"
|
|
@@ -21576,8 +21576,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21576
21576
|
const nimbleCheckbox = Checkbox.compose({
|
|
21577
21577
|
baseName: 'checkbox',
|
|
21578
21578
|
baseClass: Checkbox$1,
|
|
21579
|
-
template: template$
|
|
21580
|
-
styles: styles$
|
|
21579
|
+
template: template$17,
|
|
21580
|
+
styles: styles$1f,
|
|
21581
21581
|
checkedIndicator: check16X16.data,
|
|
21582
21582
|
indeterminateIndicator: minus16X16.data
|
|
21583
21583
|
});
|
|
@@ -21589,7 +21589,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21589
21589
|
block: 'block'
|
|
21590
21590
|
};
|
|
21591
21591
|
|
|
21592
|
-
const styles$
|
|
21592
|
+
const styles$1e = css `
|
|
21593
21593
|
${display$2('inline-flex')}
|
|
21594
21594
|
|
|
21595
21595
|
:host {
|
|
@@ -21650,7 +21650,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21650
21650
|
}
|
|
21651
21651
|
`));
|
|
21652
21652
|
|
|
21653
|
-
const template$
|
|
21653
|
+
const template$16 = (context, definition) => html `
|
|
21654
21654
|
${startSlotTemplate(context, definition)}
|
|
21655
21655
|
<span
|
|
21656
21656
|
class="content"
|
|
@@ -21736,8 +21736,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21736
21736
|
applyMixins(Chip, StartEnd);
|
|
21737
21737
|
const nimbleChip = Chip.compose({
|
|
21738
21738
|
baseName: 'chip',
|
|
21739
|
-
template: template$
|
|
21740
|
-
styles: styles$
|
|
21739
|
+
template: template$16,
|
|
21740
|
+
styles: styles$1e,
|
|
21741
21741
|
shadowOptions: {
|
|
21742
21742
|
delegatesFocus: true
|
|
21743
21743
|
}
|
|
@@ -21745,8 +21745,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21745
21745
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleChip());
|
|
21746
21746
|
const chipTag = 'nimble-chip';
|
|
21747
21747
|
|
|
21748
|
-
const styles$
|
|
21749
|
-
${styles$
|
|
21748
|
+
const styles$1d = css `
|
|
21749
|
+
${styles$1x}
|
|
21750
21750
|
${buttonAppearanceVariantStyles}
|
|
21751
21751
|
|
|
21752
21752
|
@layer checked {
|
|
@@ -21793,7 +21793,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21793
21793
|
}
|
|
21794
21794
|
`));
|
|
21795
21795
|
|
|
21796
|
-
const template$
|
|
21796
|
+
const template$15 = (context, definition) => html `
|
|
21797
21797
|
<div
|
|
21798
21798
|
role="button"
|
|
21799
21799
|
part="control"
|
|
@@ -21888,8 +21888,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21888
21888
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
21889
21889
|
const nimbleToggleButton = ToggleButton.compose({
|
|
21890
21890
|
baseName: 'toggle-button',
|
|
21891
|
-
template: template$
|
|
21892
|
-
styles: styles$
|
|
21891
|
+
template: template$15,
|
|
21892
|
+
styles: styles$1d,
|
|
21893
21893
|
shadowOptions: {
|
|
21894
21894
|
delegatesFocus: true
|
|
21895
21895
|
}
|
|
@@ -21919,7 +21919,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21919
21919
|
frameless: 'frameless'
|
|
21920
21920
|
};
|
|
21921
21921
|
|
|
21922
|
-
const styles$
|
|
21922
|
+
const styles$1c = css `
|
|
21923
21923
|
${display$2('inline-flex')}
|
|
21924
21924
|
|
|
21925
21925
|
:host {
|
|
@@ -22209,7 +22209,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22209
22209
|
}
|
|
22210
22210
|
`));
|
|
22211
22211
|
|
|
22212
|
-
const styles$
|
|
22212
|
+
const styles$1b = css `
|
|
22213
22213
|
.annotated-label {
|
|
22214
22214
|
display: flex;
|
|
22215
22215
|
flex-direction: row;
|
|
@@ -22236,10 +22236,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22236
22236
|
none: undefined,
|
|
22237
22237
|
standard: 'standard'};
|
|
22238
22238
|
|
|
22239
|
-
const styles$
|
|
22239
|
+
const styles$1a = css `
|
|
22240
|
+
${styles$1c}
|
|
22241
|
+
${styles$1g}
|
|
22240
22242
|
${styles$1b}
|
|
22241
|
-
${styles$1f}
|
|
22242
|
-
${styles$1a}
|
|
22243
22243
|
|
|
22244
22244
|
:host {
|
|
22245
22245
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -22360,7 +22360,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22360
22360
|
<slot></slot>
|
|
22361
22361
|
</label>
|
|
22362
22362
|
`);
|
|
22363
|
-
const template$
|
|
22363
|
+
const template$14 = (context, definition) => html `
|
|
22364
22364
|
<template
|
|
22365
22365
|
aria-disabled="${x => x.ariaDisabled}"
|
|
22366
22366
|
autocomplete="${x => x.autocomplete}"
|
|
@@ -23135,8 +23135,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23135
23135
|
const nimbleCombobox = Combobox.compose({
|
|
23136
23136
|
baseName: 'combobox',
|
|
23137
23137
|
baseClass: FormAssociatedCombobox,
|
|
23138
|
-
template: template$
|
|
23139
|
-
styles: styles$
|
|
23138
|
+
template: template$14,
|
|
23139
|
+
styles: styles$1a,
|
|
23140
23140
|
shadowOptions: {
|
|
23141
23141
|
delegatesFocus: true
|
|
23142
23142
|
},
|
|
@@ -23180,7 +23180,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23180
23180
|
*/
|
|
23181
23181
|
const UserDismissed = Symbol('user dismissed');
|
|
23182
23182
|
|
|
23183
|
-
const styles$
|
|
23183
|
+
const styles$19 = css `
|
|
23184
23184
|
${display$2('grid')}
|
|
23185
23185
|
|
|
23186
23186
|
dialog {
|
|
@@ -23273,7 +23273,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23273
23273
|
}
|
|
23274
23274
|
`;
|
|
23275
23275
|
|
|
23276
|
-
const template$
|
|
23276
|
+
const template$13 = html `
|
|
23277
23277
|
<template>
|
|
23278
23278
|
<dialog
|
|
23279
23279
|
${ref('dialogElement')}
|
|
@@ -23421,13 +23421,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23421
23421
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
23422
23422
|
const nimbleDialog = Dialog.compose({
|
|
23423
23423
|
baseName: 'dialog',
|
|
23424
|
-
template: template$
|
|
23425
|
-
styles: styles$
|
|
23424
|
+
template: template$13,
|
|
23425
|
+
styles: styles$19,
|
|
23426
23426
|
baseClass: Dialog
|
|
23427
23427
|
});
|
|
23428
23428
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
23429
23429
|
|
|
23430
|
-
const styles$
|
|
23430
|
+
const styles$18 = css `
|
|
23431
23431
|
${display$2('block')}
|
|
23432
23432
|
|
|
23433
23433
|
:host {
|
|
@@ -23570,7 +23570,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23570
23570
|
}
|
|
23571
23571
|
`;
|
|
23572
23572
|
|
|
23573
|
-
const template$
|
|
23573
|
+
const template$12 = html `
|
|
23574
23574
|
<dialog
|
|
23575
23575
|
${ref('dialog')}
|
|
23576
23576
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -23712,8 +23712,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23712
23712
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
23713
23713
|
const nimbleDrawer = Drawer.compose({
|
|
23714
23714
|
baseName: 'drawer',
|
|
23715
|
-
template: template$
|
|
23716
|
-
styles: styles$
|
|
23715
|
+
template: template$12,
|
|
23716
|
+
styles: styles$18
|
|
23717
23717
|
});
|
|
23718
23718
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
23719
23719
|
|
|
@@ -26511,7 +26511,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26511
26511
|
}
|
|
26512
26512
|
}
|
|
26513
26513
|
|
|
26514
|
-
const styles$
|
|
26514
|
+
const styles$17 = css `
|
|
26515
26515
|
${display$2('none')}
|
|
26516
26516
|
`;
|
|
26517
26517
|
|
|
@@ -26584,7 +26584,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26584
26584
|
], LabelProviderCore.prototype, "itemRemove", void 0);
|
|
26585
26585
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
26586
26586
|
baseName: 'label-provider-core',
|
|
26587
|
-
styles: styles$
|
|
26587
|
+
styles: styles$17
|
|
26588
26588
|
});
|
|
26589
26589
|
DesignSystem.getOrCreate()
|
|
26590
26590
|
.withPrefix('nimble')
|
|
@@ -26751,13 +26751,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26751
26751
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
26752
26752
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
26753
26753
|
baseName: 'label-provider-table',
|
|
26754
|
-
styles: styles$
|
|
26754
|
+
styles: styles$17
|
|
26755
26755
|
});
|
|
26756
26756
|
DesignSystem.getOrCreate()
|
|
26757
26757
|
.withPrefix('nimble')
|
|
26758
26758
|
.register(nimbleLabelProviderTable());
|
|
26759
26759
|
|
|
26760
|
-
const styles$
|
|
26760
|
+
const styles$16 = css `
|
|
26761
26761
|
${display$2('flex')}
|
|
26762
26762
|
|
|
26763
26763
|
:host {
|
|
@@ -26833,7 +26833,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26833
26833
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
26834
26834
|
* @public
|
|
26835
26835
|
*/
|
|
26836
|
-
const template
|
|
26836
|
+
const template$11 = (context, definition) => html `
|
|
26837
26837
|
<template
|
|
26838
26838
|
aria-checked="${x => x.ariaChecked}"
|
|
26839
26839
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -26935,13 +26935,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26935
26935
|
const nimbleListOption = ListOption.compose({
|
|
26936
26936
|
baseName: 'list-option',
|
|
26937
26937
|
baseClass: ListboxOption,
|
|
26938
|
-
template: template
|
|
26939
|
-
styles: styles$
|
|
26938
|
+
template: template$11,
|
|
26939
|
+
styles: styles$16
|
|
26940
26940
|
});
|
|
26941
26941
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
26942
26942
|
const listOptionTag = 'nimble-list-option';
|
|
26943
26943
|
|
|
26944
|
-
const styles$
|
|
26944
|
+
const styles$15 = css `
|
|
26945
26945
|
${display$2('flex')}
|
|
26946
26946
|
|
|
26947
26947
|
:host {
|
|
@@ -27003,7 +27003,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27003
27003
|
const isListOption$1 = (n) => {
|
|
27004
27004
|
return n instanceof ListOption;
|
|
27005
27005
|
};
|
|
27006
|
-
const template$
|
|
27006
|
+
const template$10 = html `
|
|
27007
27007
|
<template
|
|
27008
27008
|
role="group"
|
|
27009
27009
|
aria-label="${x => x.labelContent}"
|
|
@@ -27145,8 +27145,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27145
27145
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
27146
27146
|
baseName: 'list-option-group',
|
|
27147
27147
|
baseClass: FoundationElement,
|
|
27148
|
-
template: template$
|
|
27149
|
-
styles: styles$
|
|
27148
|
+
template: template$10,
|
|
27149
|
+
styles: styles$15
|
|
27150
27150
|
});
|
|
27151
27151
|
DesignSystem.getOrCreate()
|
|
27152
27152
|
.withPrefix('nimble')
|
|
@@ -27173,9 +27173,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27173
27173
|
attr()
|
|
27174
27174
|
], Mapping$1.prototype, "key", void 0);
|
|
27175
27175
|
|
|
27176
|
-
const template
|
|
27176
|
+
const template$$ = html `<template slot="mapping"></template>`;
|
|
27177
27177
|
|
|
27178
|
-
const styles$
|
|
27178
|
+
const styles$14 = css `
|
|
27179
27179
|
${display$2('none')}
|
|
27180
27180
|
`;
|
|
27181
27181
|
|
|
@@ -27191,8 +27191,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27191
27191
|
], MappingEmpty.prototype, "text", void 0);
|
|
27192
27192
|
const emptyMapping = MappingEmpty.compose({
|
|
27193
27193
|
baseName: 'mapping-empty',
|
|
27194
|
-
template: template
|
|
27195
|
-
styles: styles$
|
|
27194
|
+
template: template$$,
|
|
27195
|
+
styles: styles$14
|
|
27196
27196
|
});
|
|
27197
27197
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
27198
27198
|
|
|
@@ -27262,8 +27262,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27262
27262
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
27263
27263
|
const iconMapping = MappingIcon.compose({
|
|
27264
27264
|
baseName: 'mapping-icon',
|
|
27265
|
-
template: template
|
|
27266
|
-
styles: styles$
|
|
27265
|
+
template: template$$,
|
|
27266
|
+
styles: styles$14
|
|
27267
27267
|
});
|
|
27268
27268
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
27269
27269
|
|
|
@@ -27286,8 +27286,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27286
27286
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
27287
27287
|
const spinnerMapping = MappingSpinner.compose({
|
|
27288
27288
|
baseName: 'mapping-spinner',
|
|
27289
|
-
template: template
|
|
27290
|
-
styles: styles$
|
|
27289
|
+
template: template$$,
|
|
27290
|
+
styles: styles$14
|
|
27291
27291
|
});
|
|
27292
27292
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
27293
27293
|
|
|
@@ -27303,8 +27303,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27303
27303
|
], MappingText.prototype, "text", void 0);
|
|
27304
27304
|
const textMapping = MappingText.compose({
|
|
27305
27305
|
baseName: 'mapping-text',
|
|
27306
|
-
template: template
|
|
27307
|
-
styles: styles$
|
|
27306
|
+
template: template$$,
|
|
27307
|
+
styles: styles$14
|
|
27308
27308
|
});
|
|
27309
27309
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
27310
27310
|
|
|
@@ -27606,7 +27606,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27606
27606
|
observable
|
|
27607
27607
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
27608
27608
|
|
|
27609
|
-
const template$
|
|
27609
|
+
const template$_ = () => html `
|
|
27610
27610
|
<template
|
|
27611
27611
|
slot="${x => {
|
|
27612
27612
|
if (x.slot) {
|
|
@@ -27623,7 +27623,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27623
27623
|
</template>
|
|
27624
27624
|
`;
|
|
27625
27625
|
|
|
27626
|
-
const styles$
|
|
27626
|
+
const styles$13 = css `
|
|
27627
27627
|
${display$2('grid')}
|
|
27628
27628
|
|
|
27629
27629
|
:host {
|
|
@@ -27694,8 +27694,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27694
27694
|
const nimbleMenu = Menu.compose({
|
|
27695
27695
|
baseName: 'menu',
|
|
27696
27696
|
baseClass: Menu$1,
|
|
27697
|
-
template: template$
|
|
27698
|
-
styles: styles$
|
|
27697
|
+
template: template$_,
|
|
27698
|
+
styles: styles$13
|
|
27699
27699
|
});
|
|
27700
27700
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
27701
27701
|
const menuTag = 'nimble-menu';
|
|
@@ -27708,10 +27708,11 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27708
27708
|
* The options of where to position the menu relative to the menu button.
|
|
27709
27709
|
*/
|
|
27710
27710
|
const MenuButtonPosition = {
|
|
27711
|
+
above: 'above',
|
|
27711
27712
|
auto: 'auto'
|
|
27712
27713
|
};
|
|
27713
27714
|
|
|
27714
|
-
const styles$
|
|
27715
|
+
const styles$12 = css `
|
|
27715
27716
|
${display$2('inline-block')}
|
|
27716
27717
|
|
|
27717
27718
|
:host {
|
|
@@ -27729,7 +27730,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27729
27730
|
}
|
|
27730
27731
|
`;
|
|
27731
27732
|
|
|
27732
|
-
const template$
|
|
27733
|
+
const template$Z = html `
|
|
27733
27734
|
<template
|
|
27734
27735
|
?open="${x => x.open}"
|
|
27735
27736
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -27979,8 +27980,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27979
27980
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
27980
27981
|
const nimbleMenuButton = MenuButton.compose({
|
|
27981
27982
|
baseName: 'menu-button',
|
|
27982
|
-
template: template$
|
|
27983
|
-
styles: styles$
|
|
27983
|
+
template: template$Z,
|
|
27984
|
+
styles: styles$12,
|
|
27984
27985
|
shadowOptions: {
|
|
27985
27986
|
delegatesFocus: true
|
|
27986
27987
|
}
|
|
@@ -27988,7 +27989,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27988
27989
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
27989
27990
|
const menuButtonTag = 'nimble-menu-button';
|
|
27990
27991
|
|
|
27991
|
-
const styles$
|
|
27992
|
+
const styles$11 = css `
|
|
27992
27993
|
${display$2('grid')}
|
|
27993
27994
|
|
|
27994
27995
|
:host {
|
|
@@ -28085,7 +28086,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28085
28086
|
baseName: 'menu-item',
|
|
28086
28087
|
baseClass: MenuItem$1,
|
|
28087
28088
|
template: menuItemTemplate,
|
|
28088
|
-
styles: styles$
|
|
28089
|
+
styles: styles$11,
|
|
28089
28090
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
28090
28091
|
});
|
|
28091
28092
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -28101,10 +28102,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28101
28102
|
frameless: 'frameless'
|
|
28102
28103
|
};
|
|
28103
28104
|
|
|
28104
|
-
const styles
|
|
28105
|
+
const styles$10 = css `
|
|
28105
28106
|
${display$2('inline-block')}
|
|
28106
|
-
${styles$
|
|
28107
|
-
${styles$
|
|
28107
|
+
${styles$1g}
|
|
28108
|
+
${styles$1b}
|
|
28108
28109
|
|
|
28109
28110
|
:host {
|
|
28110
28111
|
font: ${bodyFont};
|
|
@@ -28327,7 +28328,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28327
28328
|
* The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
|
|
28328
28329
|
* @public
|
|
28329
28330
|
*/
|
|
28330
|
-
const template$
|
|
28331
|
+
const template$Y = (context, definition) => html `
|
|
28331
28332
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
28332
28333
|
${labelTemplate$4}
|
|
28333
28334
|
<div class="root" part="root">
|
|
@@ -28481,8 +28482,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28481
28482
|
const nimbleNumberField = NumberField.compose({
|
|
28482
28483
|
baseName: 'number-field',
|
|
28483
28484
|
baseClass: NumberField$1,
|
|
28484
|
-
template: template$
|
|
28485
|
-
styles: styles
|
|
28485
|
+
template: template$Y,
|
|
28486
|
+
styles: styles$10,
|
|
28486
28487
|
shadowOptions: {
|
|
28487
28488
|
delegatesFocus: true
|
|
28488
28489
|
},
|
|
@@ -28525,7 +28526,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28525
28526
|
});
|
|
28526
28527
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
28527
28528
|
|
|
28528
|
-
const styles
|
|
28529
|
+
const styles$$ = css `
|
|
28529
28530
|
${display$2('inline-flex')}
|
|
28530
28531
|
|
|
28531
28532
|
:host {
|
|
@@ -28625,15 +28626,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28625
28626
|
baseName: 'radio',
|
|
28626
28627
|
baseClass: Radio$1,
|
|
28627
28628
|
template: radioTemplate,
|
|
28628
|
-
styles: styles
|
|
28629
|
+
styles: styles$$,
|
|
28629
28630
|
checkedIndicator: circleFilled16X16.data
|
|
28630
28631
|
});
|
|
28631
28632
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
28632
28633
|
|
|
28633
|
-
const styles$
|
|
28634
|
+
const styles$_ = css `
|
|
28634
28635
|
${display$2('inline-block')}
|
|
28635
|
-
${styles$
|
|
28636
|
-
${styles$
|
|
28636
|
+
${styles$1g}
|
|
28637
|
+
${styles$1b}
|
|
28637
28638
|
|
|
28638
28639
|
.positioning-region {
|
|
28639
28640
|
display: flex;
|
|
@@ -28672,7 +28673,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28672
28673
|
`;
|
|
28673
28674
|
|
|
28674
28675
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
28675
|
-
const template$
|
|
28676
|
+
const template$X = html `
|
|
28676
28677
|
<template
|
|
28677
28678
|
role="radiogroup"
|
|
28678
28679
|
aria-disabled="${x => x.disabled}"
|
|
@@ -28712,8 +28713,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28712
28713
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
28713
28714
|
baseName: 'radio-group',
|
|
28714
28715
|
baseClass: RadioGroup$1,
|
|
28715
|
-
template: template$
|
|
28716
|
-
styles: styles$
|
|
28716
|
+
template: template$X,
|
|
28717
|
+
styles: styles$_,
|
|
28717
28718
|
shadowOptions: {
|
|
28718
28719
|
delegatesFocus: true
|
|
28719
28720
|
}
|
|
@@ -48127,7 +48128,7 @@ ${indentedChild}`;
|
|
|
48127
48128
|
// src/index.ts
|
|
48128
48129
|
var index_default$7 = HardBreak;
|
|
48129
48130
|
|
|
48130
|
-
const styles$
|
|
48131
|
+
const styles$Z = css `
|
|
48131
48132
|
${display$2('inline')}
|
|
48132
48133
|
|
|
48133
48134
|
.positioning-region {
|
|
@@ -48164,7 +48165,7 @@ ${indentedChild}`;
|
|
|
48164
48165
|
baseName: 'toolbar',
|
|
48165
48166
|
baseClass: Toolbar$1,
|
|
48166
48167
|
template: toolbarTemplate,
|
|
48167
|
-
styles: styles$
|
|
48168
|
+
styles: styles$Z
|
|
48168
48169
|
});
|
|
48169
48170
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
48170
48171
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -48193,8 +48194,8 @@ ${indentedChild}`;
|
|
|
48193
48194
|
cssCustomPropertyName: null
|
|
48194
48195
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
48195
48196
|
|
|
48196
|
-
const styles$
|
|
48197
|
-
${styles$
|
|
48197
|
+
const styles$Y = css `
|
|
48198
|
+
${styles$1c}
|
|
48198
48199
|
|
|
48199
48200
|
:host {
|
|
48200
48201
|
height: auto;
|
|
@@ -48212,7 +48213,7 @@ ${indentedChild}`;
|
|
|
48212
48213
|
}
|
|
48213
48214
|
`;
|
|
48214
48215
|
|
|
48215
|
-
const template$
|
|
48216
|
+
const template$W = html `
|
|
48216
48217
|
<template>
|
|
48217
48218
|
<${anchoredRegionTag}
|
|
48218
48219
|
${ref('region')}
|
|
@@ -48500,15 +48501,15 @@ ${indentedChild}`;
|
|
|
48500
48501
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
48501
48502
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
48502
48503
|
baseName: 'rich-text-mention-listbox',
|
|
48503
|
-
template: template$
|
|
48504
|
-
styles: styles$
|
|
48504
|
+
template: template$W,
|
|
48505
|
+
styles: styles$Y
|
|
48505
48506
|
});
|
|
48506
48507
|
DesignSystem.getOrCreate()
|
|
48507
48508
|
.withPrefix('nimble')
|
|
48508
48509
|
.register(nimbleRichTextMentionListbox());
|
|
48509
48510
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
48510
48511
|
|
|
48511
|
-
const template$
|
|
48512
|
+
const template$V = html `
|
|
48512
48513
|
<template
|
|
48513
48514
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
48514
48515
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -48610,9 +48611,9 @@ ${indentedChild}`;
|
|
|
48610
48611
|
</template>
|
|
48611
48612
|
`;
|
|
48612
48613
|
|
|
48613
|
-
const styles$
|
|
48614
|
+
const styles$X = css `
|
|
48614
48615
|
${display$2('inline-flex')}
|
|
48615
|
-
${styles$
|
|
48616
|
+
${styles$1g}
|
|
48616
48617
|
|
|
48617
48618
|
:host {
|
|
48618
48619
|
font: ${bodyFont};
|
|
@@ -65415,8 +65416,8 @@ ${indentedChild}`;
|
|
|
65415
65416
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
65416
65417
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
65417
65418
|
baseName: 'rich-text-editor',
|
|
65418
|
-
template: template$
|
|
65419
|
-
styles: styles$
|
|
65419
|
+
template: template$V,
|
|
65420
|
+
styles: styles$X,
|
|
65420
65421
|
shadowOptions: {
|
|
65421
65422
|
delegatesFocus: true
|
|
65422
65423
|
}
|
|
@@ -65425,13 +65426,13 @@ ${indentedChild}`;
|
|
|
65425
65426
|
.withPrefix('nimble')
|
|
65426
65427
|
.register(nimbleRichTextEditor());
|
|
65427
65428
|
|
|
65428
|
-
const template$
|
|
65429
|
+
const template$U = html `
|
|
65429
65430
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
65430
65431
|
<div ${ref('viewer')} class="viewer"></div>
|
|
65431
65432
|
</template>
|
|
65432
65433
|
`;
|
|
65433
65434
|
|
|
65434
|
-
const styles$
|
|
65435
|
+
const styles$W = css `
|
|
65435
65436
|
${display$2('flex')}
|
|
65436
65437
|
|
|
65437
65438
|
:host {
|
|
@@ -65544,17 +65545,17 @@ ${indentedChild}`;
|
|
|
65544
65545
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
65545
65546
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
65546
65547
|
baseName: 'rich-text-viewer',
|
|
65547
|
-
template: template$
|
|
65548
|
-
styles: styles$
|
|
65548
|
+
template: template$U,
|
|
65549
|
+
styles: styles$W
|
|
65549
65550
|
});
|
|
65550
65551
|
DesignSystem.getOrCreate()
|
|
65551
65552
|
.withPrefix('nimble')
|
|
65552
65553
|
.register(nimbleRichTextViewer());
|
|
65553
65554
|
|
|
65554
|
-
const styles$
|
|
65555
|
+
const styles$V = css `
|
|
65556
|
+
${styles$1c}
|
|
65557
|
+
${styles$1g}
|
|
65555
65558
|
${styles$1b}
|
|
65556
|
-
${styles$1f}
|
|
65557
|
-
${styles$1a}
|
|
65558
65559
|
|
|
65559
65560
|
${
|
|
65560
65561
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -65717,7 +65718,7 @@ ${indentedChild}`;
|
|
|
65717
65718
|
}
|
|
65718
65719
|
`));
|
|
65719
65720
|
|
|
65720
|
-
const styles$
|
|
65721
|
+
const styles$U = css `
|
|
65721
65722
|
${display$2('inline-grid')}
|
|
65722
65723
|
|
|
65723
65724
|
:host {
|
|
@@ -65887,7 +65888,7 @@ ${indentedChild}`;
|
|
|
65887
65888
|
}
|
|
65888
65889
|
`));
|
|
65889
65890
|
|
|
65890
|
-
const template$
|
|
65891
|
+
const template$T = html `
|
|
65891
65892
|
<template role="progressbar">
|
|
65892
65893
|
${''
|
|
65893
65894
|
/**
|
|
@@ -65934,8 +65935,8 @@ ${indentedChild}`;
|
|
|
65934
65935
|
], Spinner.prototype, "appearance", void 0);
|
|
65935
65936
|
const nimbleSpinner = Spinner.compose({
|
|
65936
65937
|
baseName: 'spinner',
|
|
65937
|
-
template: template$
|
|
65938
|
-
styles: styles$
|
|
65938
|
+
template: template$T,
|
|
65939
|
+
styles: styles$U
|
|
65939
65940
|
});
|
|
65940
65941
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
65941
65942
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -65951,7 +65952,7 @@ ${indentedChild}`;
|
|
|
65951
65952
|
<slot ${ref('labelSlot')}></slot>
|
|
65952
65953
|
</label>
|
|
65953
65954
|
`);
|
|
65954
|
-
const template$
|
|
65955
|
+
const template$S = (context, definition) => html `
|
|
65955
65956
|
<template
|
|
65956
65957
|
class="${x => [
|
|
65957
65958
|
x.collapsible && 'collapsible',
|
|
@@ -67163,8 +67164,8 @@ ${indentedChild}`;
|
|
|
67163
67164
|
const nimbleSelect = Select.compose({
|
|
67164
67165
|
baseName: 'select',
|
|
67165
67166
|
baseClass: Select$2,
|
|
67166
|
-
template: template$
|
|
67167
|
-
styles: styles$
|
|
67167
|
+
template: template$S,
|
|
67168
|
+
styles: styles$V,
|
|
67168
67169
|
indicator: arrowExpanderDown16X16.data,
|
|
67169
67170
|
end: html `
|
|
67170
67171
|
<${iconExclamationMarkTag}
|
|
@@ -67177,8 +67178,8 @@ ${indentedChild}`;
|
|
|
67177
67178
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
67178
67179
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
67179
67180
|
|
|
67180
|
-
const styles$
|
|
67181
|
-
${styles$
|
|
67181
|
+
const styles$T = css `
|
|
67182
|
+
${styles$1t}
|
|
67182
67183
|
${'' /* Button specific styles */}
|
|
67183
67184
|
@layer base {
|
|
67184
67185
|
.control {
|
|
@@ -67189,7 +67190,7 @@ ${indentedChild}`;
|
|
|
67189
67190
|
}
|
|
67190
67191
|
`;
|
|
67191
67192
|
|
|
67192
|
-
const template$
|
|
67193
|
+
const template$R = (context, definition) => html `
|
|
67193
67194
|
<template slot="step">
|
|
67194
67195
|
<li class="
|
|
67195
67196
|
container
|
|
@@ -67311,15 +67312,15 @@ ${indentedChild}`;
|
|
|
67311
67312
|
], Step.prototype, "tabIndex", void 0);
|
|
67312
67313
|
const nimbleStep = Step.compose({
|
|
67313
67314
|
baseName: 'step',
|
|
67314
|
-
template: template$
|
|
67315
|
-
styles: styles$
|
|
67315
|
+
template: template$R,
|
|
67316
|
+
styles: styles$T,
|
|
67316
67317
|
shadowOptions: {
|
|
67317
67318
|
delegatesFocus: true
|
|
67318
67319
|
}
|
|
67319
67320
|
});
|
|
67320
67321
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
|
|
67321
67322
|
|
|
67322
|
-
const styles$
|
|
67323
|
+
const styles$S = css `
|
|
67323
67324
|
${display$2('inline-flex')}
|
|
67324
67325
|
|
|
67325
67326
|
:host {
|
|
@@ -67390,7 +67391,7 @@ ${indentedChild}`;
|
|
|
67390
67391
|
}
|
|
67391
67392
|
`;
|
|
67392
67393
|
|
|
67393
|
-
const template$
|
|
67394
|
+
const template$Q = html `
|
|
67394
67395
|
${when(x => x.showScrollButtons, html `
|
|
67395
67396
|
<${buttonTag}
|
|
67396
67397
|
content-hidden
|
|
@@ -67535,12 +67536,12 @@ ${indentedChild}`;
|
|
|
67535
67536
|
], Stepper.prototype, "steps", void 0);
|
|
67536
67537
|
const nimbleStepper = Stepper.compose({
|
|
67537
67538
|
baseName: 'stepper',
|
|
67538
|
-
template: template$
|
|
67539
|
-
styles: styles$
|
|
67539
|
+
template: template$Q,
|
|
67540
|
+
styles: styles$S
|
|
67540
67541
|
});
|
|
67541
67542
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
|
|
67542
67543
|
|
|
67543
|
-
const styles$
|
|
67544
|
+
const styles$R = css `
|
|
67544
67545
|
${display$2('inline-flex')}
|
|
67545
67546
|
|
|
67546
67547
|
:host {
|
|
@@ -67767,7 +67768,7 @@ ${indentedChild}`;
|
|
|
67767
67768
|
}
|
|
67768
67769
|
`));
|
|
67769
67770
|
|
|
67770
|
-
const template$
|
|
67771
|
+
const template$P = html `
|
|
67771
67772
|
<template
|
|
67772
67773
|
role="switch"
|
|
67773
67774
|
aria-checked="${x => x.checked}"
|
|
@@ -67811,12 +67812,12 @@ ${indentedChild}`;
|
|
|
67811
67812
|
const nimbleSwitch = Switch.compose({
|
|
67812
67813
|
baseClass: Switch$1,
|
|
67813
67814
|
baseName: 'switch',
|
|
67814
|
-
template: template$
|
|
67815
|
-
styles: styles$
|
|
67815
|
+
template: template$P,
|
|
67816
|
+
styles: styles$R
|
|
67816
67817
|
});
|
|
67817
67818
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
67818
67819
|
|
|
67819
|
-
const styles$
|
|
67820
|
+
const styles$Q = css `
|
|
67820
67821
|
${display$2('inline-flex')}
|
|
67821
67822
|
|
|
67822
67823
|
:host {
|
|
@@ -67927,11 +67928,11 @@ ${indentedChild}`;
|
|
|
67927
67928
|
baseName: 'tab',
|
|
67928
67929
|
baseClass: Tab$1,
|
|
67929
67930
|
template: tabTemplate,
|
|
67930
|
-
styles: styles$
|
|
67931
|
+
styles: styles$Q
|
|
67931
67932
|
});
|
|
67932
67933
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
67933
67934
|
|
|
67934
|
-
const styles$
|
|
67935
|
+
const styles$P = css `
|
|
67935
67936
|
${display$2('block')}
|
|
67936
67937
|
|
|
67937
67938
|
:host {
|
|
@@ -67950,7 +67951,7 @@ ${indentedChild}`;
|
|
|
67950
67951
|
baseName: 'tab-panel',
|
|
67951
67952
|
baseClass: TabPanel$1,
|
|
67952
67953
|
template: tabPanelTemplate,
|
|
67953
|
-
styles: styles$
|
|
67954
|
+
styles: styles$P
|
|
67954
67955
|
});
|
|
67955
67956
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
67956
67957
|
|
|
@@ -71676,7 +71677,7 @@ ${indentedChild}`;
|
|
|
71676
71677
|
}
|
|
71677
71678
|
}
|
|
71678
71679
|
|
|
71679
|
-
const styles$
|
|
71680
|
+
const styles$O = css `
|
|
71680
71681
|
${display$2('flex')}
|
|
71681
71682
|
|
|
71682
71683
|
:host {
|
|
@@ -71896,7 +71897,7 @@ focus outline in that case.
|
|
|
71896
71897
|
}
|
|
71897
71898
|
`));
|
|
71898
71899
|
|
|
71899
|
-
const styles$
|
|
71900
|
+
const styles$N = css `
|
|
71900
71901
|
${display$2('flex')}
|
|
71901
71902
|
|
|
71902
71903
|
:host {
|
|
@@ -71929,7 +71930,7 @@ focus outline in that case.
|
|
|
71929
71930
|
}
|
|
71930
71931
|
`;
|
|
71931
71932
|
|
|
71932
|
-
const template$
|
|
71933
|
+
const template$O = html `
|
|
71933
71934
|
<template role="columnheader"
|
|
71934
71935
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
71935
71936
|
aria-sort="${x => x.ariaSort}"
|
|
@@ -72015,13 +72016,13 @@ focus outline in that case.
|
|
|
72015
72016
|
], TableHeader.prototype, "isGrouped", void 0);
|
|
72016
72017
|
const nimbleTableHeader = TableHeader.compose({
|
|
72017
72018
|
baseName: 'table-header',
|
|
72018
|
-
template: template$
|
|
72019
|
-
styles: styles$
|
|
72019
|
+
template: template$O,
|
|
72020
|
+
styles: styles$N
|
|
72020
72021
|
});
|
|
72021
72022
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
72022
72023
|
const tableHeaderTag = 'nimble-table-header';
|
|
72023
72024
|
|
|
72024
|
-
const styles$
|
|
72025
|
+
const styles$M = css `
|
|
72025
72026
|
:host .animating {
|
|
72026
72027
|
transition: ${mediumDelay} ease-in;
|
|
72027
72028
|
}
|
|
@@ -72046,9 +72047,9 @@ focus outline in that case.
|
|
|
72046
72047
|
}
|
|
72047
72048
|
`;
|
|
72048
72049
|
|
|
72049
|
-
const styles$
|
|
72050
|
+
const styles$L = css `
|
|
72050
72051
|
${display$2('flex')}
|
|
72051
|
-
${styles$
|
|
72052
|
+
${styles$M}
|
|
72052
72053
|
|
|
72053
72054
|
:host {
|
|
72054
72055
|
width: fit-content;
|
|
@@ -72218,7 +72219,7 @@ focus outline in that case.
|
|
|
72218
72219
|
}
|
|
72219
72220
|
`));
|
|
72220
72221
|
|
|
72221
|
-
const styles$
|
|
72222
|
+
const styles$K = css `
|
|
72222
72223
|
${display$2('flex')}
|
|
72223
72224
|
|
|
72224
72225
|
:host {
|
|
@@ -72263,7 +72264,7 @@ focus outline in that case.
|
|
|
72263
72264
|
}
|
|
72264
72265
|
`;
|
|
72265
72266
|
|
|
72266
|
-
const template$
|
|
72267
|
+
const template$N = html `
|
|
72267
72268
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
72268
72269
|
@focusin="${x => x.onCellFocusIn()}"
|
|
72269
72270
|
@blur="${x => x.onCellBlur()}"
|
|
@@ -72360,13 +72361,13 @@ focus outline in that case.
|
|
|
72360
72361
|
], TableCell.prototype, "nestingLevel", void 0);
|
|
72361
72362
|
const nimbleTableCell = TableCell.compose({
|
|
72362
72363
|
baseName: 'table-cell',
|
|
72363
|
-
template: template$
|
|
72364
|
-
styles: styles$
|
|
72364
|
+
template: template$N,
|
|
72365
|
+
styles: styles$K
|
|
72365
72366
|
});
|
|
72366
72367
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
72367
72368
|
const tableCellTag = 'nimble-table-cell';
|
|
72368
72369
|
|
|
72369
|
-
const template$
|
|
72370
|
+
const template$M = html `
|
|
72370
72371
|
<template
|
|
72371
72372
|
role="row"
|
|
72372
72373
|
aria-selected=${x => x.ariaSelected}
|
|
@@ -72761,15 +72762,15 @@ focus outline in that case.
|
|
|
72761
72762
|
], TableRow.prototype, "ariaSelected", null);
|
|
72762
72763
|
const nimbleTableRow = TableRow.compose({
|
|
72763
72764
|
baseName: 'table-row',
|
|
72764
|
-
template: template$
|
|
72765
|
-
styles: styles$
|
|
72765
|
+
template: template$M,
|
|
72766
|
+
styles: styles$L
|
|
72766
72767
|
});
|
|
72767
72768
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
72768
72769
|
const tableRowTag = 'nimble-table-row';
|
|
72769
72770
|
|
|
72770
|
-
const styles$
|
|
72771
|
+
const styles$J = css `
|
|
72771
72772
|
${display$2('grid')}
|
|
72772
|
-
${styles$
|
|
72773
|
+
${styles$M}
|
|
72773
72774
|
|
|
72774
72775
|
:host {
|
|
72775
72776
|
align-items: center;
|
|
@@ -72857,7 +72858,7 @@ focus outline in that case.
|
|
|
72857
72858
|
}
|
|
72858
72859
|
`));
|
|
72859
72860
|
|
|
72860
|
-
const template$
|
|
72861
|
+
const template$L = html `
|
|
72861
72862
|
<template
|
|
72862
72863
|
role="row"
|
|
72863
72864
|
@click=${x => x.onGroupExpandToggle()}
|
|
@@ -73014,13 +73015,13 @@ focus outline in that case.
|
|
|
73014
73015
|
], TableGroupRow.prototype, "allowHover", void 0);
|
|
73015
73016
|
const nimbleTableGroupRow = TableGroupRow.compose({
|
|
73016
73017
|
baseName: 'table-group-row',
|
|
73017
|
-
template: template$
|
|
73018
|
-
styles: styles$
|
|
73018
|
+
template: template$L,
|
|
73019
|
+
styles: styles$J
|
|
73019
73020
|
});
|
|
73020
73021
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
73021
73022
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
73022
73023
|
|
|
73023
|
-
const template$
|
|
73024
|
+
const template$K = html `
|
|
73024
73025
|
<template
|
|
73025
73026
|
role="treegrid"
|
|
73026
73027
|
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
@@ -77661,12 +77662,12 @@ focus outline in that case.
|
|
|
77661
77662
|
], Table$1.prototype, "windowShiftKeyDown", void 0);
|
|
77662
77663
|
const nimbleTable = Table$1.compose({
|
|
77663
77664
|
baseName: 'table',
|
|
77664
|
-
template: template$
|
|
77665
|
-
styles: styles$
|
|
77665
|
+
template: template$K,
|
|
77666
|
+
styles: styles$O
|
|
77666
77667
|
});
|
|
77667
77668
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
77668
77669
|
|
|
77669
|
-
const styles$
|
|
77670
|
+
const styles$I = css `
|
|
77670
77671
|
${display$2('contents')}
|
|
77671
77672
|
|
|
77672
77673
|
.header-content {
|
|
@@ -77678,7 +77679,7 @@ focus outline in that case.
|
|
|
77678
77679
|
|
|
77679
77680
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
77680
77681
|
// so the template can be composed into other column header templates
|
|
77681
|
-
const template$
|
|
77682
|
+
const template$J = html `<span
|
|
77682
77683
|
${overflow('hasOverflow')}
|
|
77683
77684
|
class="header-content"
|
|
77684
77685
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -77743,7 +77744,7 @@ focus outline in that case.
|
|
|
77743
77744
|
return ColumnWithPlaceholder;
|
|
77744
77745
|
}
|
|
77745
77746
|
|
|
77746
|
-
const styles$
|
|
77747
|
+
const styles$H = css `
|
|
77747
77748
|
${display$2('flex')}
|
|
77748
77749
|
|
|
77749
77750
|
:host {
|
|
@@ -77774,7 +77775,7 @@ focus outline in that case.
|
|
|
77774
77775
|
}
|
|
77775
77776
|
`;
|
|
77776
77777
|
|
|
77777
|
-
const template$
|
|
77778
|
+
const template$I = html `
|
|
77778
77779
|
<template
|
|
77779
77780
|
@click="${(x, c) => {
|
|
77780
77781
|
if (typeof x.cellRecord?.href === 'string') {
|
|
@@ -77866,8 +77867,8 @@ focus outline in that case.
|
|
|
77866
77867
|
], TableColumnAnchorCellView.prototype, "showAnchor", null);
|
|
77867
77868
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
77868
77869
|
baseName: 'table-column-anchor-cell-view',
|
|
77869
|
-
template: template$
|
|
77870
|
-
styles: styles$
|
|
77870
|
+
template: template$I,
|
|
77871
|
+
styles: styles$H
|
|
77871
77872
|
});
|
|
77872
77873
|
DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
|
|
77873
77874
|
const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
|
|
@@ -77944,7 +77945,7 @@ focus outline in that case.
|
|
|
77944
77945
|
observable
|
|
77945
77946
|
], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
|
|
77946
77947
|
|
|
77947
|
-
const template$
|
|
77948
|
+
const template$H = html `
|
|
77948
77949
|
<span
|
|
77949
77950
|
${overflow('hasOverflow')}
|
|
77950
77951
|
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
@@ -77953,7 +77954,7 @@ focus outline in that case.
|
|
|
77953
77954
|
</span>
|
|
77954
77955
|
`;
|
|
77955
77956
|
|
|
77956
|
-
const styles$
|
|
77957
|
+
const styles$G = css `
|
|
77957
77958
|
${display$2('flex')}
|
|
77958
77959
|
|
|
77959
77960
|
span {
|
|
@@ -77977,8 +77978,8 @@ focus outline in that case.
|
|
|
77977
77978
|
}
|
|
77978
77979
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
77979
77980
|
baseName: 'table-column-text-group-header-view',
|
|
77980
|
-
template: template$
|
|
77981
|
-
styles: styles$
|
|
77981
|
+
template: template$H,
|
|
77982
|
+
styles: styles$G
|
|
77982
77983
|
});
|
|
77983
77984
|
DesignSystem.getOrCreate()
|
|
77984
77985
|
.withPrefix('nimble')
|
|
@@ -78222,8 +78223,8 @@ focus outline in that case.
|
|
|
78222
78223
|
], TableColumnAnchor.prototype, "download", void 0);
|
|
78223
78224
|
const nimbleTableColumnAnchor = TableColumnAnchor.compose({
|
|
78224
78225
|
baseName: 'table-column-anchor',
|
|
78225
|
-
template: template$
|
|
78226
|
-
styles: styles$
|
|
78226
|
+
template: template$J,
|
|
78227
|
+
styles: styles$I
|
|
78227
78228
|
});
|
|
78228
78229
|
DesignSystem.getOrCreate()
|
|
78229
78230
|
.withPrefix('nimble')
|
|
@@ -78275,15 +78276,15 @@ focus outline in that case.
|
|
|
78275
78276
|
}
|
|
78276
78277
|
const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
|
|
78277
78278
|
baseName: 'table-column-date-text-group-header-view',
|
|
78278
|
-
template: template$
|
|
78279
|
-
styles: styles$
|
|
78279
|
+
template: template$H,
|
|
78280
|
+
styles: styles$G
|
|
78280
78281
|
});
|
|
78281
78282
|
DesignSystem.getOrCreate()
|
|
78282
78283
|
.withPrefix('nimble')
|
|
78283
78284
|
.register(tableColumnDateTextGroupHeaderView());
|
|
78284
78285
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
78285
78286
|
|
|
78286
|
-
const template$
|
|
78287
|
+
const template$G = html `
|
|
78287
78288
|
<template
|
|
78288
78289
|
class="
|
|
78289
78290
|
${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
|
|
@@ -78299,7 +78300,7 @@ focus outline in that case.
|
|
|
78299
78300
|
</template>
|
|
78300
78301
|
`;
|
|
78301
78302
|
|
|
78302
|
-
const styles$
|
|
78303
|
+
const styles$F = css `
|
|
78303
78304
|
${display$2('flex')}
|
|
78304
78305
|
|
|
78305
78306
|
:host {
|
|
@@ -78401,8 +78402,8 @@ focus outline in that case.
|
|
|
78401
78402
|
}
|
|
78402
78403
|
const dateTextCellView = TableColumnDateTextCellView.compose({
|
|
78403
78404
|
baseName: 'table-column-date-text-cell-view',
|
|
78404
|
-
template: template$
|
|
78405
|
-
styles: styles$
|
|
78405
|
+
template: template$G,
|
|
78406
|
+
styles: styles$F
|
|
78406
78407
|
});
|
|
78407
78408
|
DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
|
|
78408
78409
|
const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
|
|
@@ -78660,8 +78661,8 @@ focus outline in that case.
|
|
|
78660
78661
|
], TableColumnDateText.prototype, "customHourCycle", void 0);
|
|
78661
78662
|
const nimbleTableColumnDateText = TableColumnDateText.compose({
|
|
78662
78663
|
baseName: 'table-column-date-text',
|
|
78663
|
-
template: template$
|
|
78664
|
-
styles: styles$
|
|
78664
|
+
template: template$J,
|
|
78665
|
+
styles: styles$I
|
|
78665
78666
|
});
|
|
78666
78667
|
DesignSystem.getOrCreate()
|
|
78667
78668
|
.withPrefix('nimble')
|
|
@@ -78677,8 +78678,8 @@ focus outline in that case.
|
|
|
78677
78678
|
}
|
|
78678
78679
|
const durationTextCellView = TableColumnDurationTextCellView.compose({
|
|
78679
78680
|
baseName: 'table-column-duration-text-cell-view',
|
|
78680
|
-
template: template$
|
|
78681
|
-
styles: styles$
|
|
78681
|
+
template: template$G,
|
|
78682
|
+
styles: styles$F
|
|
78682
78683
|
});
|
|
78683
78684
|
DesignSystem.getOrCreate()
|
|
78684
78685
|
.withPrefix('nimble')
|
|
@@ -78779,8 +78780,8 @@ focus outline in that case.
|
|
|
78779
78780
|
}
|
|
78780
78781
|
const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
|
|
78781
78782
|
baseName: 'table-column-duration-text-group-header-view',
|
|
78782
|
-
template: template$
|
|
78783
|
-
styles: styles$
|
|
78783
|
+
template: template$H,
|
|
78784
|
+
styles: styles$G
|
|
78784
78785
|
});
|
|
78785
78786
|
DesignSystem.getOrCreate()
|
|
78786
78787
|
.withPrefix('nimble')
|
|
@@ -78832,8 +78833,8 @@ focus outline in that case.
|
|
|
78832
78833
|
}
|
|
78833
78834
|
const nimbleTableColumnDurationText = TableColumnDurationText.compose({
|
|
78834
78835
|
baseName: 'table-column-duration-text',
|
|
78835
|
-
template: template$
|
|
78836
|
-
styles: styles$
|
|
78836
|
+
template: template$J,
|
|
78837
|
+
styles: styles$I
|
|
78837
78838
|
});
|
|
78838
78839
|
DesignSystem.getOrCreate()
|
|
78839
78840
|
.withPrefix('nimble')
|
|
@@ -78941,15 +78942,15 @@ focus outline in that case.
|
|
|
78941
78942
|
attr({ attribute: 'key-type' })
|
|
78942
78943
|
], TableColumnEnumBase.prototype, "keyType", void 0);
|
|
78943
78944
|
|
|
78944
|
-
const styles$
|
|
78945
|
-
${styles$
|
|
78945
|
+
const styles$E = css `
|
|
78946
|
+
${styles$I}
|
|
78946
78947
|
|
|
78947
78948
|
slot[name='mapping'] {
|
|
78948
78949
|
display: none;
|
|
78949
78950
|
}
|
|
78950
78951
|
`;
|
|
78951
78952
|
|
|
78952
|
-
const template$
|
|
78953
|
+
const template$F = html `${template$J}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
78953
78954
|
|
|
78954
78955
|
const enumBaseValidityFlagNames = [
|
|
78955
78956
|
'invalidMappingKeyValueForType',
|
|
@@ -79035,7 +79036,7 @@ focus outline in that case.
|
|
|
79035
79036
|
}
|
|
79036
79037
|
}
|
|
79037
79038
|
|
|
79038
|
-
const styles$
|
|
79039
|
+
const styles$D = css `
|
|
79039
79040
|
${display$2('inline-flex')}
|
|
79040
79041
|
|
|
79041
79042
|
:host {
|
|
@@ -79059,7 +79060,7 @@ focus outline in that case.
|
|
|
79059
79060
|
}
|
|
79060
79061
|
`;
|
|
79061
79062
|
|
|
79062
|
-
const template$
|
|
79063
|
+
const template$E = html `
|
|
79063
79064
|
${when(x => x.visualizationTemplate, html `
|
|
79064
79065
|
<span class="reserve-icon-size">
|
|
79065
79066
|
${x => x.visualizationTemplate}
|
|
@@ -79203,15 +79204,15 @@ focus outline in that case.
|
|
|
79203
79204
|
], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
|
|
79204
79205
|
const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
|
|
79205
79206
|
baseName: 'table-column-mapping-group-header-view',
|
|
79206
|
-
template: template$
|
|
79207
|
-
styles: styles$
|
|
79207
|
+
template: template$E,
|
|
79208
|
+
styles: styles$D
|
|
79208
79209
|
});
|
|
79209
79210
|
DesignSystem.getOrCreate()
|
|
79210
79211
|
.withPrefix('nimble')
|
|
79211
79212
|
.register(mappingGroupHeaderView());
|
|
79212
79213
|
const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
|
|
79213
79214
|
|
|
79214
|
-
const styles$
|
|
79215
|
+
const styles$C = css `
|
|
79215
79216
|
${display$2('inline-flex')}
|
|
79216
79217
|
|
|
79217
79218
|
:host {
|
|
@@ -79235,7 +79236,7 @@ focus outline in that case.
|
|
|
79235
79236
|
}
|
|
79236
79237
|
`;
|
|
79237
79238
|
|
|
79238
|
-
const template$
|
|
79239
|
+
const template$D = html `
|
|
79239
79240
|
${when(x => x.visualizationTemplate, html `
|
|
79240
79241
|
<span class="reserve-icon-size">
|
|
79241
79242
|
${x => x.visualizationTemplate}
|
|
@@ -79322,8 +79323,8 @@ focus outline in that case.
|
|
|
79322
79323
|
], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
|
|
79323
79324
|
const mappingCellView = TableColumnMappingCellView.compose({
|
|
79324
79325
|
baseName: 'table-column-mapping-cell-view',
|
|
79325
|
-
template: template$
|
|
79326
|
-
styles: styles$
|
|
79326
|
+
template: template$D,
|
|
79327
|
+
styles: styles$C
|
|
79327
79328
|
});
|
|
79328
79329
|
DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
|
|
79329
79330
|
const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
|
|
@@ -79406,23 +79407,23 @@ focus outline in that case.
|
|
|
79406
79407
|
], TableColumnMapping.prototype, "widthMode", void 0);
|
|
79407
79408
|
const nimbleTableColumnMapping = TableColumnMapping.compose({
|
|
79408
79409
|
baseName: 'table-column-mapping',
|
|
79409
|
-
template: template$
|
|
79410
|
-
styles: styles$
|
|
79410
|
+
template: template$F,
|
|
79411
|
+
styles: styles$E
|
|
79411
79412
|
});
|
|
79412
79413
|
DesignSystem.getOrCreate()
|
|
79413
79414
|
.withPrefix('nimble')
|
|
79414
79415
|
.register(nimbleTableColumnMapping());
|
|
79415
79416
|
|
|
79416
|
-
const template$
|
|
79417
|
+
const template$C = html `
|
|
79417
79418
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
79418
|
-
>${template$
|
|
79419
|
+
>${template$J}</template
|
|
79419
79420
|
>
|
|
79420
79421
|
`;
|
|
79421
79422
|
|
|
79422
79423
|
/** @internal */
|
|
79423
79424
|
const cellViewMenuSlotName = 'menu-button-menu';
|
|
79424
79425
|
|
|
79425
|
-
const template$
|
|
79426
|
+
const template$B = html `
|
|
79426
79427
|
${when(x => x.showMenuButton, html `
|
|
79427
79428
|
<${menuButtonTag}
|
|
79428
79429
|
${ref('menuButton')}
|
|
@@ -79441,7 +79442,7 @@ focus outline in that case.
|
|
|
79441
79442
|
`)}
|
|
79442
79443
|
`;
|
|
79443
79444
|
|
|
79444
|
-
const styles$
|
|
79445
|
+
const styles$B = css `
|
|
79445
79446
|
:host {
|
|
79446
79447
|
align-self: center;
|
|
79447
79448
|
width: 100%;
|
|
@@ -79516,8 +79517,8 @@ focus outline in that case.
|
|
|
79516
79517
|
], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
|
|
79517
79518
|
const menuButtonCellView = TableColumnMenuButtonCellView.compose({
|
|
79518
79519
|
baseName: 'table-column-menu-button-cell-view',
|
|
79519
|
-
template: template$
|
|
79520
|
-
styles: styles$
|
|
79520
|
+
template: template$B,
|
|
79521
|
+
styles: styles$B
|
|
79521
79522
|
});
|
|
79522
79523
|
DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
|
|
79523
79524
|
const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
|
|
@@ -79572,8 +79573,8 @@ focus outline in that case.
|
|
|
79572
79573
|
], TableColumnMenuButton.prototype, "menuSlot", void 0);
|
|
79573
79574
|
const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
|
|
79574
79575
|
baseName: 'table-column-menu-button',
|
|
79575
|
-
template: template$
|
|
79576
|
-
styles: styles$
|
|
79576
|
+
template: template$C,
|
|
79577
|
+
styles: styles$I
|
|
79577
79578
|
});
|
|
79578
79579
|
DesignSystem.getOrCreate()
|
|
79579
79580
|
.withPrefix('nimble')
|
|
@@ -79581,7 +79582,7 @@ focus outline in that case.
|
|
|
79581
79582
|
|
|
79582
79583
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
79583
79584
|
// so the template can be composed into other column header templates
|
|
79584
|
-
const template$
|
|
79585
|
+
const template$A = html `<span
|
|
79585
79586
|
${overflow('hasOverflow')}
|
|
79586
79587
|
class="header-content"
|
|
79587
79588
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -79600,8 +79601,8 @@ focus outline in that case.
|
|
|
79600
79601
|
}
|
|
79601
79602
|
const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
|
|
79602
79603
|
baseName: 'table-column-number-text-group-header-view',
|
|
79603
|
-
template: template$
|
|
79604
|
-
styles: styles$
|
|
79604
|
+
template: template$H,
|
|
79605
|
+
styles: styles$G
|
|
79605
79606
|
});
|
|
79606
79607
|
DesignSystem.getOrCreate()
|
|
79607
79608
|
.withPrefix('nimble')
|
|
@@ -79622,8 +79623,8 @@ focus outline in that case.
|
|
|
79622
79623
|
}
|
|
79623
79624
|
const numberTextCellView = TableColumnNumberTextCellView.compose({
|
|
79624
79625
|
baseName: 'table-column-number-text-cell-view',
|
|
79625
|
-
template: template$
|
|
79626
|
-
styles: styles$
|
|
79626
|
+
template: template$G,
|
|
79627
|
+
styles: styles$F
|
|
79627
79628
|
});
|
|
79628
79629
|
DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
|
|
79629
79630
|
const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
|
|
@@ -80163,8 +80164,8 @@ focus outline in that case.
|
|
|
80163
80164
|
], TableColumnNumberText.prototype, "unit", void 0);
|
|
80164
80165
|
const nimbleTableColumnNumberText = TableColumnNumberText.compose({
|
|
80165
80166
|
baseName: 'table-column-number-text',
|
|
80166
|
-
template: template$
|
|
80167
|
-
styles: styles$
|
|
80167
|
+
template: template$A,
|
|
80168
|
+
styles: styles$I
|
|
80168
80169
|
});
|
|
80169
80170
|
DesignSystem.getOrCreate()
|
|
80170
80171
|
.withPrefix('nimble')
|
|
@@ -80182,8 +80183,8 @@ focus outline in that case.
|
|
|
80182
80183
|
}
|
|
80183
80184
|
const textCellView = TableColumnTextCellView.compose({
|
|
80184
80185
|
baseName: 'table-column-text-cell-view',
|
|
80185
|
-
template: template$
|
|
80186
|
-
styles: styles$
|
|
80186
|
+
template: template$G,
|
|
80187
|
+
styles: styles$F
|
|
80187
80188
|
});
|
|
80188
80189
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
|
|
80189
80190
|
const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
|
|
@@ -80237,15 +80238,15 @@ focus outline in that case.
|
|
|
80237
80238
|
}
|
|
80238
80239
|
const nimbleTableColumnText = TableColumnText.compose({
|
|
80239
80240
|
baseName: 'table-column-text',
|
|
80240
|
-
template: template$
|
|
80241
|
-
styles: styles$
|
|
80241
|
+
template: template$J,
|
|
80242
|
+
styles: styles$I
|
|
80242
80243
|
});
|
|
80243
80244
|
DesignSystem.getOrCreate()
|
|
80244
80245
|
.withPrefix('nimble')
|
|
80245
80246
|
.register(nimbleTableColumnText());
|
|
80246
80247
|
|
|
80247
|
-
const styles$
|
|
80248
|
-
${styles$
|
|
80248
|
+
const styles$A = css `
|
|
80249
|
+
${styles$1p}
|
|
80249
80250
|
|
|
80250
80251
|
.tabpanel {
|
|
80251
80252
|
overflow: auto;
|
|
@@ -80326,12 +80327,12 @@ focus outline in that case.
|
|
|
80326
80327
|
const nimbleTabs = Tabs.compose({
|
|
80327
80328
|
baseName: 'tabs',
|
|
80328
80329
|
baseClass: Tabs$1,
|
|
80329
|
-
template: template$
|
|
80330
|
-
styles: styles$
|
|
80330
|
+
template: template$1b,
|
|
80331
|
+
styles: styles$A
|
|
80331
80332
|
});
|
|
80332
80333
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
80333
80334
|
|
|
80334
|
-
const styles$
|
|
80335
|
+
const styles$z = css `
|
|
80335
80336
|
${display$2('flex')}
|
|
80336
80337
|
|
|
80337
80338
|
:host {
|
|
@@ -80363,7 +80364,7 @@ focus outline in that case.
|
|
|
80363
80364
|
}
|
|
80364
80365
|
`;
|
|
80365
80366
|
|
|
80366
|
-
const template$
|
|
80367
|
+
const template$z = (context, definition) => html `
|
|
80367
80368
|
<template slot="end">
|
|
80368
80369
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
80369
80370
|
<div class="separator"></div>
|
|
@@ -80395,8 +80396,8 @@ focus outline in that case.
|
|
|
80395
80396
|
], TabsToolbar.prototype, "defaultSlottedElements", void 0);
|
|
80396
80397
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
80397
80398
|
baseName: 'tabs-toolbar',
|
|
80398
|
-
template: template$
|
|
80399
|
-
styles: styles$
|
|
80399
|
+
template: template$z,
|
|
80400
|
+
styles: styles$z
|
|
80400
80401
|
});
|
|
80401
80402
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
80402
80403
|
applyMixins(TabsToolbar, StartEnd);
|
|
@@ -80406,10 +80407,10 @@ focus outline in that case.
|
|
|
80406
80407
|
block: 'block'
|
|
80407
80408
|
};
|
|
80408
80409
|
|
|
80409
|
-
const styles$
|
|
80410
|
+
const styles$y = css `
|
|
80410
80411
|
${display$2('inline-flex')}
|
|
80411
|
-
${styles$
|
|
80412
|
-
${styles$
|
|
80412
|
+
${styles$1g}
|
|
80413
|
+
${styles$1b}
|
|
80413
80414
|
|
|
80414
80415
|
:host {
|
|
80415
80416
|
font: ${bodyFont};
|
|
@@ -80601,7 +80602,7 @@ focus outline in that case.
|
|
|
80601
80602
|
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
80602
80603
|
</label>
|
|
80603
80604
|
`);
|
|
80604
|
-
const template$
|
|
80605
|
+
const template$y = () => html `
|
|
80605
80606
|
${labelTemplate$1}
|
|
80606
80607
|
<div class="container">
|
|
80607
80608
|
<textarea
|
|
@@ -80749,8 +80750,8 @@ focus outline in that case.
|
|
|
80749
80750
|
const nimbleTextArea = TextArea.compose({
|
|
80750
80751
|
baseName: 'text-area',
|
|
80751
80752
|
baseClass: TextArea$1,
|
|
80752
|
-
template: template$
|
|
80753
|
-
styles: styles$
|
|
80753
|
+
template: template$y,
|
|
80754
|
+
styles: styles$y,
|
|
80754
80755
|
shadowOptions: {
|
|
80755
80756
|
delegatesFocus: true
|
|
80756
80757
|
}
|
|
@@ -80767,10 +80768,10 @@ focus outline in that case.
|
|
|
80767
80768
|
frameless: 'frameless'
|
|
80768
80769
|
};
|
|
80769
80770
|
|
|
80770
|
-
const styles$
|
|
80771
|
+
const styles$x = css `
|
|
80771
80772
|
${display$2('inline-block')}
|
|
80772
|
-
${styles$
|
|
80773
|
-
${styles$
|
|
80773
|
+
${styles$1g}
|
|
80774
|
+
${styles$1b}
|
|
80774
80775
|
|
|
80775
80776
|
:host {
|
|
80776
80777
|
font: ${bodyFont};
|
|
@@ -81044,7 +81045,7 @@ focus outline in that case.
|
|
|
81044
81045
|
* The template for the {@link @ni/fast-foundation#(TextField:class)} component.
|
|
81045
81046
|
* @public
|
|
81046
81047
|
*/
|
|
81047
|
-
const template$
|
|
81048
|
+
const template$x = (context, definition) => html `
|
|
81048
81049
|
<template
|
|
81049
81050
|
class="
|
|
81050
81051
|
${x => (x.readOnly ? 'readonly' : '')}
|
|
@@ -81129,8 +81130,8 @@ focus outline in that case.
|
|
|
81129
81130
|
const nimbleTextField = TextField.compose({
|
|
81130
81131
|
baseName: 'text-field',
|
|
81131
81132
|
baseClass: TextField$1,
|
|
81132
|
-
template: template$
|
|
81133
|
-
styles: styles$
|
|
81133
|
+
template: template$x,
|
|
81134
|
+
styles: styles$x,
|
|
81134
81135
|
shadowOptions: {
|
|
81135
81136
|
delegatesFocus: true
|
|
81136
81137
|
},
|
|
@@ -81147,7 +81148,7 @@ focus outline in that case.
|
|
|
81147
81148
|
});
|
|
81148
81149
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
81149
81150
|
|
|
81150
|
-
const styles$
|
|
81151
|
+
const styles$w = css `
|
|
81151
81152
|
${display$2('inline-flex')}
|
|
81152
81153
|
|
|
81153
81154
|
:host {
|
|
@@ -81233,7 +81234,7 @@ focus outline in that case.
|
|
|
81233
81234
|
}
|
|
81234
81235
|
`));
|
|
81235
81236
|
|
|
81236
|
-
const template$
|
|
81237
|
+
const template$w = html `
|
|
81237
81238
|
${when(x => x.tooltipVisible, html `
|
|
81238
81239
|
<${anchoredRegionTag}
|
|
81239
81240
|
class="anchored-region"
|
|
@@ -81285,8 +81286,8 @@ focus outline in that case.
|
|
|
81285
81286
|
const nimbleTooltip = Tooltip.compose({
|
|
81286
81287
|
baseName: 'tooltip',
|
|
81287
81288
|
baseClass: Tooltip$1,
|
|
81288
|
-
template: template$
|
|
81289
|
-
styles: styles$
|
|
81289
|
+
template: template$w,
|
|
81290
|
+
styles: styles$w
|
|
81290
81291
|
});
|
|
81291
81292
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
81292
81293
|
const tooltipTag = 'nimble-tooltip';
|
|
@@ -81375,7 +81376,7 @@ focus outline in that case.
|
|
|
81375
81376
|
}
|
|
81376
81377
|
}
|
|
81377
81378
|
|
|
81378
|
-
const styles$
|
|
81379
|
+
const styles$v = css `
|
|
81379
81380
|
${display$2('block')}
|
|
81380
81381
|
|
|
81381
81382
|
:host {
|
|
@@ -81592,12 +81593,12 @@ focus outline in that case.
|
|
|
81592
81593
|
baseName: 'tree-item',
|
|
81593
81594
|
baseClass: TreeItem$1,
|
|
81594
81595
|
template: treeItemTemplate,
|
|
81595
|
-
styles: styles$
|
|
81596
|
+
styles: styles$v,
|
|
81596
81597
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
81597
81598
|
});
|
|
81598
81599
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
81599
81600
|
|
|
81600
|
-
const styles$
|
|
81601
|
+
const styles$u = css `
|
|
81601
81602
|
${display$2('flex')}
|
|
81602
81603
|
|
|
81603
81604
|
:host {
|
|
@@ -81611,7 +81612,7 @@ focus outline in that case.
|
|
|
81611
81612
|
}
|
|
81612
81613
|
`;
|
|
81613
81614
|
|
|
81614
|
-
const template$
|
|
81615
|
+
const template$v = html `
|
|
81615
81616
|
<template
|
|
81616
81617
|
role="tree"
|
|
81617
81618
|
${ref('treeView')}
|
|
@@ -81707,8 +81708,8 @@ focus outline in that case.
|
|
|
81707
81708
|
const nimbleTreeView = TreeView.compose({
|
|
81708
81709
|
baseName: 'tree-view',
|
|
81709
81710
|
baseClass: TreeView$1,
|
|
81710
|
-
template: template$
|
|
81711
|
-
styles: styles$
|
|
81711
|
+
template: template$v,
|
|
81712
|
+
styles: styles$u
|
|
81712
81713
|
});
|
|
81713
81714
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
81714
81715
|
|
|
@@ -81824,9 +81825,9 @@ focus outline in that case.
|
|
|
81824
81825
|
}
|
|
81825
81826
|
const unitScaleByte = new UnitScaleByte();
|
|
81826
81827
|
|
|
81827
|
-
const template$
|
|
81828
|
+
const template$u = html `<template slot="unit"></template>`;
|
|
81828
81829
|
|
|
81829
|
-
const styles$
|
|
81830
|
+
const styles$t = css `
|
|
81830
81831
|
${display$2('none')}
|
|
81831
81832
|
`;
|
|
81832
81833
|
|
|
@@ -81854,8 +81855,8 @@ focus outline in that case.
|
|
|
81854
81855
|
], UnitByte.prototype, "binary", void 0);
|
|
81855
81856
|
const nimbleUnitByte = UnitByte.compose({
|
|
81856
81857
|
baseName: 'unit-byte',
|
|
81857
|
-
template: template$
|
|
81858
|
-
styles: styles$
|
|
81858
|
+
template: template$u,
|
|
81859
|
+
styles: styles$t
|
|
81859
81860
|
});
|
|
81860
81861
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
|
|
81861
81862
|
|
|
@@ -81907,8 +81908,8 @@ focus outline in that case.
|
|
|
81907
81908
|
}
|
|
81908
81909
|
const nimbleUnitVolt = UnitVolt.compose({
|
|
81909
81910
|
baseName: 'unit-volt',
|
|
81910
|
-
template: template$
|
|
81911
|
-
styles: styles$
|
|
81911
|
+
template: template$u,
|
|
81912
|
+
styles: styles$t
|
|
81912
81913
|
});
|
|
81913
81914
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
|
|
81914
81915
|
|
|
@@ -96222,7 +96223,7 @@ focus outline in that case.
|
|
|
96222
96223
|
return new Table(reader.readAll());
|
|
96223
96224
|
}
|
|
96224
96225
|
|
|
96225
|
-
const template$
|
|
96226
|
+
const template$t = html `
|
|
96226
96227
|
<div class="wafer-map-container">
|
|
96227
96228
|
<svg class="svg-root">
|
|
96228
96229
|
<g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
|
|
@@ -96255,7 +96256,7 @@ focus outline in that case.
|
|
|
96255
96256
|
</div>
|
|
96256
96257
|
`;
|
|
96257
96258
|
|
|
96258
|
-
const styles$
|
|
96259
|
+
const styles$s = css `
|
|
96259
96260
|
${display$2('inline-block')}
|
|
96260
96261
|
|
|
96261
96262
|
:host {
|
|
@@ -99280,8 +99281,8 @@ focus outline in that case.
|
|
|
99280
99281
|
], WaferMap.prototype, "colorScale", void 0);
|
|
99281
99282
|
const nimbleWaferMap = WaferMap.compose({
|
|
99282
99283
|
baseName: 'wafer-map',
|
|
99283
|
-
template: template$
|
|
99284
|
-
styles: styles$
|
|
99284
|
+
template: template$t,
|
|
99285
|
+
styles: styles$s
|
|
99285
99286
|
});
|
|
99286
99287
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
99287
99288
|
|
|
@@ -99293,7 +99294,7 @@ focus outline in that case.
|
|
|
99293
99294
|
*/
|
|
99294
99295
|
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;}`;
|
|
99295
99296
|
|
|
99296
|
-
const styles$
|
|
99297
|
+
const styles$r = css `
|
|
99297
99298
|
${display$1('flex')}
|
|
99298
99299
|
|
|
99299
99300
|
:host {
|
|
@@ -99366,7 +99367,7 @@ focus outline in that case.
|
|
|
99366
99367
|
}
|
|
99367
99368
|
`;
|
|
99368
99369
|
|
|
99369
|
-
const template$
|
|
99370
|
+
const template$s = html `
|
|
99370
99371
|
<div class="toolbar ${x => (x.toolbarEmpty ? 'toolbar-empty' : '')}">
|
|
99371
99372
|
<slot name="toolbar" ${slotted({ property: 'slottedToolbarElements' })}></slot>
|
|
99372
99373
|
</div>
|
|
@@ -99448,16 +99449,16 @@ focus outline in that case.
|
|
|
99448
99449
|
], ChatConversation.prototype, "slottedEndElements", void 0);
|
|
99449
99450
|
const sprightChatConversation = ChatConversation.compose({
|
|
99450
99451
|
baseName: 'chat-conversation',
|
|
99451
|
-
template: template$
|
|
99452
|
-
styles: styles$
|
|
99452
|
+
template: template$s,
|
|
99453
|
+
styles: styles$r
|
|
99453
99454
|
});
|
|
99454
99455
|
DesignSystem.getOrCreate()
|
|
99455
99456
|
.withPrefix('spright')
|
|
99456
99457
|
.register(sprightChatConversation());
|
|
99457
99458
|
|
|
99458
|
-
const styles$
|
|
99459
|
+
const styles$q = css `
|
|
99459
99460
|
${display$1('flex')}
|
|
99460
|
-
${styles$
|
|
99461
|
+
${styles$1g}
|
|
99461
99462
|
|
|
99462
99463
|
:host {
|
|
99463
99464
|
width: 100%;
|
|
@@ -99554,8 +99555,9 @@ focus outline in that case.
|
|
|
99554
99555
|
|
|
99555
99556
|
.action-button {
|
|
99556
99557
|
align-self: flex-end;
|
|
99557
|
-
width:
|
|
99558
|
+
width: 48px;
|
|
99558
99559
|
margin: ${mediumPadding};
|
|
99560
|
+
height: ${controlSlimHeight};
|
|
99559
99561
|
}
|
|
99560
99562
|
|
|
99561
99563
|
.attachments {
|
|
@@ -99600,7 +99602,7 @@ focus outline in that case.
|
|
|
99600
99602
|
}
|
|
99601
99603
|
`;
|
|
99602
99604
|
|
|
99603
|
-
const template$
|
|
99605
|
+
const template$r = html `
|
|
99604
99606
|
<div class="container">
|
|
99605
99607
|
<section class="attachments ${x => (x.attachmentsIsEmpty ? '' : 'has-content')}">
|
|
99606
99608
|
<slot
|
|
@@ -99852,8 +99854,8 @@ focus outline in that case.
|
|
|
99852
99854
|
], ChatInput.prototype, "slottedAttachmentsElements", void 0);
|
|
99853
99855
|
const sprightChatInput = ChatInput.compose({
|
|
99854
99856
|
baseName: 'chat-input',
|
|
99855
|
-
template: template$
|
|
99856
|
-
styles: styles$
|
|
99857
|
+
template: template$r,
|
|
99858
|
+
styles: styles$q,
|
|
99857
99859
|
shadowOptions: {
|
|
99858
99860
|
delegatesFocus: true
|
|
99859
99861
|
}
|
|
@@ -99871,7 +99873,7 @@ focus outline in that case.
|
|
|
99871
99873
|
inbound: 'inbound'
|
|
99872
99874
|
};
|
|
99873
99875
|
|
|
99874
|
-
const styles$
|
|
99876
|
+
const styles$p = css `
|
|
99875
99877
|
${display$1('flex')}
|
|
99876
99878
|
|
|
99877
99879
|
:host {
|
|
@@ -99945,7 +99947,7 @@ focus outline in that case.
|
|
|
99945
99947
|
}
|
|
99946
99948
|
`;
|
|
99947
99949
|
|
|
99948
|
-
const template$
|
|
99950
|
+
const template$q = (context, definition) => html `
|
|
99949
99951
|
<div class="container">
|
|
99950
99952
|
${startSlotTemplate(context, definition)}
|
|
99951
99953
|
<section class="message-content">
|
|
@@ -99994,12 +99996,12 @@ focus outline in that case.
|
|
|
99994
99996
|
applyMixins(ChatMessage, StartEnd);
|
|
99995
99997
|
const sprightChatMessage = ChatMessage.compose({
|
|
99996
99998
|
baseName: 'chat-message',
|
|
99997
|
-
template: template$
|
|
99998
|
-
styles: styles$
|
|
99999
|
+
template: template$q,
|
|
100000
|
+
styles: styles$p
|
|
99999
100001
|
});
|
|
100000
100002
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
|
|
100001
100003
|
|
|
100002
|
-
const styles$
|
|
100004
|
+
const styles$o = css `
|
|
100003
100005
|
${display$1('flex')}
|
|
100004
100006
|
|
|
100005
100007
|
:host {
|
|
@@ -100057,7 +100059,7 @@ focus outline in that case.
|
|
|
100057
100059
|
}
|
|
100058
100060
|
`;
|
|
100059
100061
|
|
|
100060
|
-
const template$
|
|
100062
|
+
const template$p = (context, definition) => html `
|
|
100061
100063
|
<div class="container">
|
|
100062
100064
|
${startSlotTemplate(context, definition)}
|
|
100063
100065
|
<section class="message-content">
|
|
@@ -100095,12 +100097,12 @@ focus outline in that case.
|
|
|
100095
100097
|
applyMixins(ChatMessageInbound, StartEnd);
|
|
100096
100098
|
const sprightChatMessageInbound = ChatMessageInbound.compose({
|
|
100097
100099
|
baseName: 'chat-message-inbound',
|
|
100098
|
-
template: template$
|
|
100099
|
-
styles: styles$
|
|
100100
|
+
template: template$p,
|
|
100101
|
+
styles: styles$o
|
|
100100
100102
|
});
|
|
100101
100103
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageInbound());
|
|
100102
100104
|
|
|
100103
|
-
const styles$
|
|
100105
|
+
const styles$n = css `
|
|
100104
100106
|
${display$1('flex')}
|
|
100105
100107
|
|
|
100106
100108
|
:host {
|
|
@@ -100134,7 +100136,7 @@ focus outline in that case.
|
|
|
100134
100136
|
}
|
|
100135
100137
|
`;
|
|
100136
100138
|
|
|
100137
|
-
const template$
|
|
100139
|
+
const template$o = () => html `
|
|
100138
100140
|
<div class="container">
|
|
100139
100141
|
<section class="message-content">
|
|
100140
100142
|
<slot></slot>
|
|
@@ -100149,12 +100151,12 @@ focus outline in that case.
|
|
|
100149
100151
|
}
|
|
100150
100152
|
const sprightChatMessageOutbound = ChatMessageOutbound.compose({
|
|
100151
100153
|
baseName: 'chat-message-outbound',
|
|
100152
|
-
template: template$
|
|
100153
|
-
styles: styles$
|
|
100154
|
+
template: template$o,
|
|
100155
|
+
styles: styles$n
|
|
100154
100156
|
});
|
|
100155
100157
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageOutbound());
|
|
100156
100158
|
|
|
100157
|
-
const styles$
|
|
100159
|
+
const styles$m = css `
|
|
100158
100160
|
${display$1('flex')}
|
|
100159
100161
|
|
|
100160
100162
|
:host {
|
|
@@ -100181,7 +100183,7 @@ focus outline in that case.
|
|
|
100181
100183
|
}
|
|
100182
100184
|
`;
|
|
100183
100185
|
|
|
100184
|
-
const template$
|
|
100186
|
+
const template$n = () => html `
|
|
100185
100187
|
<div class="container">
|
|
100186
100188
|
<section class="message-content">
|
|
100187
100189
|
<slot></slot>
|
|
@@ -100196,12 +100198,12 @@ focus outline in that case.
|
|
|
100196
100198
|
}
|
|
100197
100199
|
const sprightChatMessageSystem = ChatMessageSystem.compose({
|
|
100198
100200
|
baseName: 'chat-message-system',
|
|
100199
|
-
template: template$
|
|
100200
|
-
styles: styles$
|
|
100201
|
+
template: template$n,
|
|
100202
|
+
styles: styles$m
|
|
100201
100203
|
});
|
|
100202
100204
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageSystem());
|
|
100203
100205
|
|
|
100204
|
-
const styles$
|
|
100206
|
+
const styles$l = css `
|
|
100205
100207
|
${display$1('flex')}
|
|
100206
100208
|
|
|
100207
100209
|
:host {
|
|
@@ -100304,13 +100306,13 @@ focus outline in that case.
|
|
|
100304
100306
|
<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"/>
|
|
100305
100307
|
</svg>`;
|
|
100306
100308
|
|
|
100307
|
-
const template$
|
|
100309
|
+
const template$m = html `
|
|
100308
100310
|
<div class="icon light-icon" aria-hidden="true" :innerHTML="${() => nigelChatLightData}"></div>
|
|
100309
100311
|
<div class="icon dark-icon" aria-hidden="true" :innerHTML="${() => nigelChatDarkData}"></div>
|
|
100310
100312
|
`;
|
|
100311
100313
|
|
|
100312
|
-
const styles$
|
|
100313
|
-
${styles$
|
|
100314
|
+
const styles$k = css `
|
|
100315
|
+
${styles$1r}
|
|
100314
100316
|
|
|
100315
100317
|
.dark-icon {
|
|
100316
100318
|
display: none;
|
|
@@ -100333,15 +100335,15 @@ focus outline in that case.
|
|
|
100333
100335
|
}
|
|
100334
100336
|
const sprightIconNigelChat = IconNigelChat.compose({
|
|
100335
100337
|
baseName: 'icon-nigel-chat',
|
|
100336
|
-
template: template$
|
|
100337
|
-
styles: styles$
|
|
100338
|
+
template: template$m,
|
|
100339
|
+
styles: styles$k
|
|
100338
100340
|
});
|
|
100339
100341
|
DesignSystem.getOrCreate()
|
|
100340
100342
|
.withPrefix('spright')
|
|
100341
100343
|
.register(sprightIconNigelChat());
|
|
100342
100344
|
const iconNigelChatTag = 'spright-icon-nigel-chat';
|
|
100343
100345
|
|
|
100344
|
-
const template$
|
|
100346
|
+
const template$l = () => html `
|
|
100345
100347
|
<div class="container">
|
|
100346
100348
|
<div class="brand-icon">
|
|
100347
100349
|
<slot name="brand-icon">
|
|
@@ -100373,8 +100375,8 @@ focus outline in that case.
|
|
|
100373
100375
|
], ChatMessageWelcome.prototype, "subtitle", void 0);
|
|
100374
100376
|
const sprightChatMessageWelcome = ChatMessageWelcome.compose({
|
|
100375
100377
|
baseName: 'chat-message-welcome',
|
|
100376
|
-
template: template$
|
|
100377
|
-
styles: styles$
|
|
100378
|
+
template: template$l,
|
|
100379
|
+
styles: styles$l
|
|
100378
100380
|
});
|
|
100379
100381
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageWelcome());
|
|
100380
100382
|
|
|
@@ -100395,17 +100397,18 @@ focus outline in that case.
|
|
|
100395
100397
|
*/
|
|
100396
100398
|
class IconBreakpointConditional extends Icon {
|
|
100397
100399
|
}
|
|
100398
|
-
const template$
|
|
100400
|
+
const template$k = html `
|
|
100399
100401
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$6}"></div>
|
|
100400
100402
|
`;
|
|
100401
100403
|
const sprightIconBreakpointConditional = IconBreakpointConditional.compose({
|
|
100402
100404
|
baseName: 'icon-breakpoint-conditional',
|
|
100403
|
-
template: template$
|
|
100404
|
-
styles: styles$
|
|
100405
|
+
template: template$k,
|
|
100406
|
+
styles: styles$1r
|
|
100405
100407
|
});
|
|
100406
100408
|
DesignSystem.getOrCreate()
|
|
100407
100409
|
.withPrefix('spright')
|
|
100408
100410
|
.register(sprightIconBreakpointConditional());
|
|
100411
|
+
const iconBreakpointConditionalTag = 'spright-icon-breakpoint-conditional';
|
|
100409
100412
|
|
|
100410
100413
|
const iconData$5 = `<?xml version="1.0" encoding="UTF-8"?>
|
|
100411
100414
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
@@ -100425,17 +100428,18 @@ focus outline in that case.
|
|
|
100425
100428
|
*/
|
|
100426
100429
|
class IconBreakpointDisabled extends Icon {
|
|
100427
100430
|
}
|
|
100428
|
-
const template$
|
|
100431
|
+
const template$j = html `
|
|
100429
100432
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$5}"></div>
|
|
100430
100433
|
`;
|
|
100431
100434
|
const sprightIconBreakpointDisabled = IconBreakpointDisabled.compose({
|
|
100432
100435
|
baseName: 'icon-breakpoint-disabled',
|
|
100433
|
-
template: template$
|
|
100434
|
-
styles: styles$
|
|
100436
|
+
template: template$j,
|
|
100437
|
+
styles: styles$1r
|
|
100435
100438
|
});
|
|
100436
100439
|
DesignSystem.getOrCreate()
|
|
100437
100440
|
.withPrefix('spright')
|
|
100438
100441
|
.register(sprightIconBreakpointDisabled());
|
|
100442
|
+
const iconBreakpointDisabledTag = 'spright-icon-breakpoint-disabled';
|
|
100439
100443
|
|
|
100440
100444
|
const iconData$4 = `<?xml version="1.0" encoding="UTF-8"?>
|
|
100441
100445
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
@@ -100454,17 +100458,18 @@ focus outline in that case.
|
|
|
100454
100458
|
*/
|
|
100455
100459
|
class IconBreakpointEnabled extends Icon {
|
|
100456
100460
|
}
|
|
100457
|
-
const template$
|
|
100461
|
+
const template$i = html `
|
|
100458
100462
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$4}"></div>
|
|
100459
100463
|
`;
|
|
100460
100464
|
const sprightIconBreakpointEnabled = IconBreakpointEnabled.compose({
|
|
100461
100465
|
baseName: 'icon-breakpoint-enabled',
|
|
100462
|
-
template: template$
|
|
100463
|
-
styles: styles$
|
|
100466
|
+
template: template$i,
|
|
100467
|
+
styles: styles$1r
|
|
100464
100468
|
});
|
|
100465
100469
|
DesignSystem.getOrCreate()
|
|
100466
100470
|
.withPrefix('spright')
|
|
100467
100471
|
.register(sprightIconBreakpointEnabled());
|
|
100472
|
+
const iconBreakpointEnabledTag = 'spright-icon-breakpoint-enabled';
|
|
100468
100473
|
|
|
100469
100474
|
const iconData$3 = `<?xml version="1.0" encoding="UTF-8"?>
|
|
100470
100475
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
@@ -100483,13 +100488,13 @@ focus outline in that case.
|
|
|
100483
100488
|
*/
|
|
100484
100489
|
class IconBreakpointExecutionPointer extends Icon {
|
|
100485
100490
|
}
|
|
100486
|
-
const template$
|
|
100491
|
+
const template$h = html `
|
|
100487
100492
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$3}"></div>
|
|
100488
100493
|
`;
|
|
100489
100494
|
const sprightIconBreakpointExecutionPointer = IconBreakpointExecutionPointer.compose({
|
|
100490
100495
|
baseName: 'icon-breakpoint-execution-pointer',
|
|
100491
|
-
template: template$
|
|
100492
|
-
styles: styles$
|
|
100496
|
+
template: template$h,
|
|
100497
|
+
styles: styles$1r
|
|
100493
100498
|
});
|
|
100494
100499
|
DesignSystem.getOrCreate()
|
|
100495
100500
|
.withPrefix('spright')
|
|
@@ -100517,17 +100522,18 @@ focus outline in that case.
|
|
|
100517
100522
|
*/
|
|
100518
100523
|
class IconBreakpointHitDisabled extends Icon {
|
|
100519
100524
|
}
|
|
100520
|
-
const template$
|
|
100525
|
+
const template$g = html `
|
|
100521
100526
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$2}"></div>
|
|
100522
100527
|
`;
|
|
100523
100528
|
const sprightIconBreakpointHitDisabled = IconBreakpointHitDisabled.compose({
|
|
100524
100529
|
baseName: 'icon-breakpoint-hit-disabled',
|
|
100525
|
-
template: template$
|
|
100526
|
-
styles: styles$
|
|
100530
|
+
template: template$g,
|
|
100531
|
+
styles: styles$1r
|
|
100527
100532
|
});
|
|
100528
100533
|
DesignSystem.getOrCreate()
|
|
100529
100534
|
.withPrefix('spright')
|
|
100530
100535
|
.register(sprightIconBreakpointHitDisabled());
|
|
100536
|
+
const iconBreakpointHitDisabledTag = 'spright-icon-breakpoint-hit-disabled';
|
|
100531
100537
|
|
|
100532
100538
|
const iconData$1 = `<?xml version="1.0" encoding="UTF-8"?>
|
|
100533
100539
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
@@ -100551,17 +100557,18 @@ focus outline in that case.
|
|
|
100551
100557
|
*/
|
|
100552
100558
|
class IconBreakpointHit extends Icon {
|
|
100553
100559
|
}
|
|
100554
|
-
const template$
|
|
100560
|
+
const template$f = html `
|
|
100555
100561
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$1}"></div>
|
|
100556
100562
|
`;
|
|
100557
100563
|
const sprightIconBreakpointHit = IconBreakpointHit.compose({
|
|
100558
100564
|
baseName: 'icon-breakpoint-hit',
|
|
100559
|
-
template: template$
|
|
100560
|
-
styles: styles$
|
|
100565
|
+
template: template$f,
|
|
100566
|
+
styles: styles$1r
|
|
100561
100567
|
});
|
|
100562
100568
|
DesignSystem.getOrCreate()
|
|
100563
100569
|
.withPrefix('spright')
|
|
100564
100570
|
.register(sprightIconBreakpointHit());
|
|
100571
|
+
const iconBreakpointHitTag = 'spright-icon-breakpoint-hit';
|
|
100565
100572
|
|
|
100566
100573
|
const iconData = `<?xml version="1.0" encoding="UTF-8"?>
|
|
100567
100574
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
@@ -100581,20 +100588,21 @@ focus outline in that case.
|
|
|
100581
100588
|
*/
|
|
100582
100589
|
class IconBreakpointHover extends Icon {
|
|
100583
100590
|
}
|
|
100584
|
-
const template$
|
|
100591
|
+
const template$e = html `
|
|
100585
100592
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData}"></div>
|
|
100586
100593
|
`;
|
|
100587
100594
|
const sprightIconBreakpointHover = IconBreakpointHover.compose({
|
|
100588
100595
|
baseName: 'icon-breakpoint-hover',
|
|
100589
|
-
template: template$
|
|
100590
|
-
styles: styles$
|
|
100596
|
+
template: template$e,
|
|
100597
|
+
styles: styles$1r
|
|
100591
100598
|
});
|
|
100592
100599
|
DesignSystem.getOrCreate()
|
|
100593
100600
|
.withPrefix('spright')
|
|
100594
100601
|
.register(sprightIconBreakpointHover());
|
|
100602
|
+
const iconBreakpointHoverTag = 'spright-icon-breakpoint-hover';
|
|
100595
100603
|
|
|
100596
|
-
const styles$
|
|
100597
|
-
${styles$
|
|
100604
|
+
const styles$j = css `
|
|
100605
|
+
${styles$1r}
|
|
100598
100606
|
|
|
100599
100607
|
.icon svg {
|
|
100600
100608
|
fill: ${calendarEventBorderReservationColor};
|
|
@@ -100611,15 +100619,15 @@ focus outline in that case.
|
|
|
100611
100619
|
}
|
|
100612
100620
|
const sprightIconWorkItemCalendarWeek = IconWorkItemCalendarWeek.compose({
|
|
100613
100621
|
baseName: 'icon-work-item-calendar-week',
|
|
100614
|
-
template: template$
|
|
100615
|
-
styles: styles$
|
|
100622
|
+
template: template$1f,
|
|
100623
|
+
styles: styles$j
|
|
100616
100624
|
});
|
|
100617
100625
|
DesignSystem.getOrCreate()
|
|
100618
100626
|
.withPrefix('spright')
|
|
100619
100627
|
.register(sprightIconWorkItemCalendarWeek());
|
|
100620
100628
|
|
|
100621
|
-
const styles$
|
|
100622
|
-
${styles$
|
|
100629
|
+
const styles$i = css `
|
|
100630
|
+
${styles$1r}
|
|
100623
100631
|
|
|
100624
100632
|
.icon svg {
|
|
100625
100633
|
fill: ${calendarEventBorderCalibrationColor};
|
|
@@ -100636,15 +100644,15 @@ focus outline in that case.
|
|
|
100636
100644
|
}
|
|
100637
100645
|
const sprightIconWorkItemCalipers = IconWorkItemCalipers.compose({
|
|
100638
100646
|
baseName: 'icon-work-item-calipers',
|
|
100639
|
-
template: template$
|
|
100640
|
-
styles: styles$
|
|
100647
|
+
template: template$1f,
|
|
100648
|
+
styles: styles$i
|
|
100641
100649
|
});
|
|
100642
100650
|
DesignSystem.getOrCreate()
|
|
100643
100651
|
.withPrefix('spright')
|
|
100644
100652
|
.register(sprightIconWorkItemCalipers());
|
|
100645
100653
|
|
|
100646
|
-
const styles$
|
|
100647
|
-
${styles$
|
|
100654
|
+
const styles$h = css `
|
|
100655
|
+
${styles$1r}
|
|
100648
100656
|
|
|
100649
100657
|
.icon svg {
|
|
100650
100658
|
fill: ${calendarEventBorderTransportOrderColor};
|
|
@@ -100661,15 +100669,15 @@ focus outline in that case.
|
|
|
100661
100669
|
}
|
|
100662
100670
|
const sprightIconWorkItemForklift = IconWorkItemForklift.compose({
|
|
100663
100671
|
baseName: 'icon-work-item-forklift',
|
|
100664
|
-
template: template$
|
|
100665
|
-
styles: styles$
|
|
100672
|
+
template: template$1f,
|
|
100673
|
+
styles: styles$h
|
|
100666
100674
|
});
|
|
100667
100675
|
DesignSystem.getOrCreate()
|
|
100668
100676
|
.withPrefix('spright')
|
|
100669
100677
|
.register(sprightIconWorkItemForklift());
|
|
100670
100678
|
|
|
100671
|
-
const styles$
|
|
100672
|
-
${styles$
|
|
100679
|
+
const styles$g = css `
|
|
100680
|
+
${styles$1r}
|
|
100673
100681
|
|
|
100674
100682
|
.icon svg {
|
|
100675
100683
|
fill: ${calendarEventBorderStaticColor};
|
|
@@ -100686,15 +100694,15 @@ focus outline in that case.
|
|
|
100686
100694
|
}
|
|
100687
100695
|
const sprightIconWorkItemRectangleCheckLines = IconWorkItemRectangleCheckLines.compose({
|
|
100688
100696
|
baseName: 'icon-work-item-rectangle-check-lines',
|
|
100689
|
-
template: template$
|
|
100690
|
-
styles: styles$
|
|
100697
|
+
template: template$1f,
|
|
100698
|
+
styles: styles$g
|
|
100691
100699
|
});
|
|
100692
100700
|
DesignSystem.getOrCreate()
|
|
100693
100701
|
.withPrefix('spright')
|
|
100694
100702
|
.register(sprightIconWorkItemRectangleCheckLines());
|
|
100695
100703
|
|
|
100696
|
-
const styles$
|
|
100697
|
-
${styles$
|
|
100704
|
+
const styles$f = css `
|
|
100705
|
+
${styles$1r}
|
|
100698
100706
|
|
|
100699
100707
|
.icon svg {
|
|
100700
100708
|
fill: ${calendarEventBorderWorkOrderColor};
|
|
@@ -100711,15 +100719,15 @@ focus outline in that case.
|
|
|
100711
100719
|
}
|
|
100712
100720
|
const sprightIconWorkItemSquareListCog = IconWorkItemSquareListCog.compose({
|
|
100713
100721
|
baseName: 'icon-work-item-square-list-cog',
|
|
100714
|
-
template: template$
|
|
100715
|
-
styles: styles$
|
|
100722
|
+
template: template$1f,
|
|
100723
|
+
styles: styles$f
|
|
100716
100724
|
});
|
|
100717
100725
|
DesignSystem.getOrCreate()
|
|
100718
100726
|
.withPrefix('spright')
|
|
100719
100727
|
.register(sprightIconWorkItemSquareListCog());
|
|
100720
100728
|
|
|
100721
|
-
const styles$
|
|
100722
|
-
${styles$
|
|
100729
|
+
const styles$e = css `
|
|
100730
|
+
${styles$1r}
|
|
100723
100731
|
|
|
100724
100732
|
.icon svg {
|
|
100725
100733
|
fill: ${calendarEventBorderJobColor};
|
|
@@ -100736,15 +100744,15 @@ focus outline in that case.
|
|
|
100736
100744
|
}
|
|
100737
100745
|
const sprightIconWorkItemUserHelmetSafety = IconWorkItemUserHelmetSafety.compose({
|
|
100738
100746
|
baseName: 'icon-work-item-user-helmet-safety',
|
|
100739
|
-
template: template$
|
|
100740
|
-
styles: styles$
|
|
100747
|
+
template: template$1f,
|
|
100748
|
+
styles: styles$e
|
|
100741
100749
|
});
|
|
100742
100750
|
DesignSystem.getOrCreate()
|
|
100743
100751
|
.withPrefix('spright')
|
|
100744
100752
|
.register(sprightIconWorkItemUserHelmetSafety());
|
|
100745
100753
|
|
|
100746
|
-
const styles$
|
|
100747
|
-
${styles$
|
|
100754
|
+
const styles$d = css `
|
|
100755
|
+
${styles$1r}
|
|
100748
100756
|
|
|
100749
100757
|
.icon svg {
|
|
100750
100758
|
fill: ${calendarEventBorderMaintenanceColor};
|
|
@@ -100761,14 +100769,14 @@ focus outline in that case.
|
|
|
100761
100769
|
}
|
|
100762
100770
|
const sprightIconWorkItemWrenchHammer = IconWorkItemWrenchHammer.compose({
|
|
100763
100771
|
baseName: 'icon-work-item-wrench-hammer',
|
|
100764
|
-
template: template$
|
|
100765
|
-
styles: styles$
|
|
100772
|
+
template: template$1f,
|
|
100773
|
+
styles: styles$d
|
|
100766
100774
|
});
|
|
100767
100775
|
DesignSystem.getOrCreate()
|
|
100768
100776
|
.withPrefix('spright')
|
|
100769
100777
|
.register(sprightIconWorkItemWrenchHammer());
|
|
100770
100778
|
|
|
100771
|
-
const styles$
|
|
100779
|
+
const styles$c = css `
|
|
100772
100780
|
${display$1('inline-block')}
|
|
100773
100781
|
|
|
100774
100782
|
:host {
|
|
@@ -100793,7 +100801,7 @@ focus outline in that case.
|
|
|
100793
100801
|
}
|
|
100794
100802
|
`;
|
|
100795
100803
|
|
|
100796
|
-
const template$
|
|
100804
|
+
const template$d = html `<slot></slot>`;
|
|
100797
100805
|
|
|
100798
100806
|
/**
|
|
100799
100807
|
* A Spright demo component (not for production use)
|
|
@@ -100802,8 +100810,8 @@ focus outline in that case.
|
|
|
100802
100810
|
}
|
|
100803
100811
|
const sprightRectangle = Rectangle.compose({
|
|
100804
100812
|
baseName: 'rectangle',
|
|
100805
|
-
template: template$
|
|
100806
|
-
styles: styles$
|
|
100813
|
+
template: template$d,
|
|
100814
|
+
styles: styles$c
|
|
100807
100815
|
});
|
|
100808
100816
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightRectangle());
|
|
100809
100817
|
|
|
@@ -100830,7 +100838,7 @@ focus outline in that case.
|
|
|
100830
100838
|
block: 'block'
|
|
100831
100839
|
};
|
|
100832
100840
|
|
|
100833
|
-
const styles$
|
|
100841
|
+
const styles$b = css `
|
|
100834
100842
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
100835
100843
|
|
|
100836
100844
|
@layer base {
|
|
@@ -100936,7 +100944,7 @@ focus outline in that case.
|
|
|
100936
100944
|
}
|
|
100937
100945
|
`));
|
|
100938
100946
|
|
|
100939
|
-
const template$
|
|
100947
|
+
const template$c = html `
|
|
100940
100948
|
<details
|
|
100941
100949
|
class="accordion-item-details"
|
|
100942
100950
|
?open="${x => x.expanded}"
|
|
@@ -100987,8 +100995,8 @@ focus outline in that case.
|
|
|
100987
100995
|
], FvAccordionItem.prototype, "appearance", void 0);
|
|
100988
100996
|
const okFvAccordionItem = FvAccordionItem.compose({
|
|
100989
100997
|
baseName: 'fv-accordion-item',
|
|
100990
|
-
template: template$
|
|
100991
|
-
styles: styles$
|
|
100998
|
+
template: template$c,
|
|
100999
|
+
styles: styles$b
|
|
100992
101000
|
});
|
|
100993
101001
|
DesignSystem.getOrCreate()
|
|
100994
101002
|
.withPrefix('ok')
|
|
@@ -101003,7 +101011,7 @@ focus outline in that case.
|
|
|
101003
101011
|
card: 'card'
|
|
101004
101012
|
};
|
|
101005
101013
|
|
|
101006
|
-
const styles$
|
|
101014
|
+
const styles$a = css `
|
|
101007
101015
|
${display('block')}
|
|
101008
101016
|
|
|
101009
101017
|
:host {
|
|
@@ -101354,7 +101362,7 @@ focus outline in that case.
|
|
|
101354
101362
|
</div>
|
|
101355
101363
|
</div>
|
|
101356
101364
|
`;
|
|
101357
|
-
const template$
|
|
101365
|
+
const template$b = html `
|
|
101358
101366
|
${when(x => x.interactionMode === FvCardInteractionMode.card, html `
|
|
101359
101367
|
<${cardButtonTag}
|
|
101360
101368
|
class="card-shell card-button-shell"
|
|
@@ -101502,14 +101510,14 @@ focus outline in that case.
|
|
|
101502
101510
|
], FvCard.prototype, "hasFooterEndContent", void 0);
|
|
101503
101511
|
const okFvCard = FvCard.compose({
|
|
101504
101512
|
baseName: 'fv-card',
|
|
101505
|
-
template: template$
|
|
101506
|
-
styles: styles$
|
|
101513
|
+
template: template$b,
|
|
101514
|
+
styles: styles$a
|
|
101507
101515
|
});
|
|
101508
101516
|
DesignSystem.getOrCreate()
|
|
101509
101517
|
.withPrefix('ok')
|
|
101510
101518
|
.register(okFvCard());
|
|
101511
101519
|
|
|
101512
|
-
const styles$
|
|
101520
|
+
const styles$9 = css `
|
|
101513
101521
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
101514
101522
|
|
|
101515
101523
|
@layer base {
|
|
@@ -101757,7 +101765,7 @@ focus outline in that case.
|
|
|
101757
101765
|
@layer top {}
|
|
101758
101766
|
`;
|
|
101759
101767
|
|
|
101760
|
-
const template$
|
|
101768
|
+
const template$a = html `
|
|
101761
101769
|
<div class="chip-selector">
|
|
101762
101770
|
${when(x => x.label.length > 0, html `
|
|
101763
101771
|
<label id="${x => x.labelId}" class="label" for="${x => x.inputId}">
|
|
@@ -102249,12 +102257,12 @@ focus outline in that case.
|
|
|
102249
102257
|
], FvChipSelector.prototype, "field", void 0);
|
|
102250
102258
|
const okFvChipSelector = FvChipSelector.compose({
|
|
102251
102259
|
baseName: 'fv-chip-selector',
|
|
102252
|
-
template: template$
|
|
102253
|
-
styles: styles$
|
|
102260
|
+
template: template$a,
|
|
102261
|
+
styles: styles$9
|
|
102254
102262
|
});
|
|
102255
102263
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvChipSelector());
|
|
102256
102264
|
|
|
102257
|
-
const styles$
|
|
102265
|
+
const styles$8 = css `
|
|
102258
102266
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
102259
102267
|
|
|
102260
102268
|
@layer base {
|
|
@@ -102306,7 +102314,7 @@ focus outline in that case.
|
|
|
102306
102314
|
@layer top {}
|
|
102307
102315
|
`;
|
|
102308
102316
|
|
|
102309
|
-
const template$
|
|
102317
|
+
const template$9 = html `
|
|
102310
102318
|
<button
|
|
102311
102319
|
id="${x => x.tooltipAnchorId}"
|
|
102312
102320
|
class="context-help-trigger"
|
|
@@ -102354,12 +102362,12 @@ focus outline in that case.
|
|
|
102354
102362
|
], FvContextHelp.prototype, "iconVisible", void 0);
|
|
102355
102363
|
const okFvContextHelp = FvContextHelp.compose({
|
|
102356
102364
|
baseName: 'fv-context-help',
|
|
102357
|
-
template: template$
|
|
102358
|
-
styles: styles$
|
|
102365
|
+
template: template$9,
|
|
102366
|
+
styles: styles$8
|
|
102359
102367
|
});
|
|
102360
102368
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvContextHelp());
|
|
102361
102369
|
|
|
102362
|
-
const styles$
|
|
102370
|
+
const styles$7 = css `
|
|
102363
102371
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
102364
102372
|
|
|
102365
102373
|
@layer base {
|
|
@@ -102576,7 +102584,7 @@ focus outline in that case.
|
|
|
102576
102584
|
@layer top {}
|
|
102577
102585
|
`;
|
|
102578
102586
|
|
|
102579
|
-
const template$
|
|
102587
|
+
const template$8 = html `
|
|
102580
102588
|
<div
|
|
102581
102589
|
class="split-button-container"
|
|
102582
102590
|
${ref('splitButtonContainer')}
|
|
@@ -102748,12 +102756,12 @@ focus outline in that case.
|
|
|
102748
102756
|
], FvSplitButton.prototype, "region", void 0);
|
|
102749
102757
|
const okFvSplitButton = FvSplitButton.compose({
|
|
102750
102758
|
baseName: 'fv-split-button',
|
|
102751
|
-
template: template$
|
|
102752
|
-
styles: styles$
|
|
102759
|
+
template: template$8,
|
|
102760
|
+
styles: styles$7
|
|
102753
102761
|
});
|
|
102754
102762
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSplitButton());
|
|
102755
102763
|
|
|
102756
|
-
const styles$
|
|
102764
|
+
const styles$6 = css `
|
|
102757
102765
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
102758
102766
|
|
|
102759
102767
|
@layer base {
|
|
@@ -102978,7 +102986,7 @@ focus outline in that case.
|
|
|
102978
102986
|
@layer top {}
|
|
102979
102987
|
`;
|
|
102980
102988
|
|
|
102981
|
-
const template$
|
|
102989
|
+
const template$7 = html `
|
|
102982
102990
|
<div
|
|
102983
102991
|
class="split-button-container"
|
|
102984
102992
|
${ref('splitButtonContainer')}
|
|
@@ -103178,12 +103186,12 @@ focus outline in that case.
|
|
|
103178
103186
|
], FvSplitButtonAnchor.prototype, "region", void 0);
|
|
103179
103187
|
const okFvSplitButtonAnchor = FvSplitButtonAnchor.compose({
|
|
103180
103188
|
baseName: 'fv-split-button-anchor',
|
|
103181
|
-
template: template$
|
|
103182
|
-
styles: styles$
|
|
103189
|
+
template: template$7,
|
|
103190
|
+
styles: styles$6
|
|
103183
103191
|
});
|
|
103184
103192
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSplitButtonAnchor());
|
|
103185
103193
|
|
|
103186
|
-
const styles$
|
|
103194
|
+
const styles$5 = css `
|
|
103187
103195
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
103188
103196
|
|
|
103189
103197
|
@layer base {
|
|
@@ -103229,7 +103237,7 @@ focus outline in that case.
|
|
|
103229
103237
|
@layer top {}
|
|
103230
103238
|
`;
|
|
103231
103239
|
|
|
103232
|
-
const template$
|
|
103240
|
+
const template$6 = html `
|
|
103233
103241
|
<section class="summary-panel" part="panel">
|
|
103234
103242
|
<div class="summary-item-container" part="items">
|
|
103235
103243
|
<slot @slotchange="${x => x.handleItemsSlotChange()}"></slot>
|
|
@@ -103311,12 +103319,12 @@ focus outline in that case.
|
|
|
103311
103319
|
], FvSummaryPanel.prototype, "editItemsButtonLabel", void 0);
|
|
103312
103320
|
const okFvSummaryPanel = FvSummaryPanel.compose({
|
|
103313
103321
|
baseName: 'fv-summary-panel',
|
|
103314
|
-
template: template$
|
|
103315
|
-
styles: styles$
|
|
103322
|
+
template: template$6,
|
|
103323
|
+
styles: styles$5
|
|
103316
103324
|
});
|
|
103317
103325
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSummaryPanel());
|
|
103318
103326
|
|
|
103319
|
-
const styles$
|
|
103327
|
+
const styles$4 = css `
|
|
103320
103328
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
103321
103329
|
|
|
103322
103330
|
@layer base {
|
|
@@ -103451,7 +103459,7 @@ focus outline in that case.
|
|
|
103451
103459
|
@layer top {}
|
|
103452
103460
|
`;
|
|
103453
103461
|
|
|
103454
|
-
const template$
|
|
103462
|
+
const template$5 = html `
|
|
103455
103463
|
<${cardButtonTag}
|
|
103456
103464
|
class="summary-panel-tile"
|
|
103457
103465
|
?selected="${x => x.selected}"
|
|
@@ -103513,12 +103521,12 @@ focus outline in that case.
|
|
|
103513
103521
|
], FvSummaryPanelTile.prototype, "textPosition", void 0);
|
|
103514
103522
|
const okFvSummaryPanelTile = FvSummaryPanelTile.compose({
|
|
103515
103523
|
baseName: 'fv-summary-panel-tile',
|
|
103516
|
-
template: template$
|
|
103517
|
-
styles: styles$
|
|
103524
|
+
template: template$5,
|
|
103525
|
+
styles: styles$4
|
|
103518
103526
|
});
|
|
103519
103527
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSummaryPanelTile());
|
|
103520
103528
|
|
|
103521
|
-
const styles$
|
|
103529
|
+
const styles$3 = css `
|
|
103522
103530
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
103523
103531
|
|
|
103524
103532
|
@layer base {
|
|
@@ -103693,7 +103701,7 @@ focus outline in that case.
|
|
|
103693
103701
|
}
|
|
103694
103702
|
`;
|
|
103695
103703
|
|
|
103696
|
-
const template$
|
|
103704
|
+
const template$4 = html `
|
|
103697
103705
|
<div class="search-input-container">
|
|
103698
103706
|
<span class="search-input-icon" aria-hidden="true">
|
|
103699
103707
|
<${iconMagnifyingGlassTag}></${iconMagnifyingGlassTag}>
|
|
@@ -103764,15 +103772,15 @@ focus outline in that case.
|
|
|
103764
103772
|
const okFvSearchInput = FvSearchInput.compose({
|
|
103765
103773
|
baseName: 'fv-search-input',
|
|
103766
103774
|
baseClass: TextField$1,
|
|
103767
|
-
template: template$
|
|
103768
|
-
styles: styles$
|
|
103775
|
+
template: template$4,
|
|
103776
|
+
styles: styles$3,
|
|
103769
103777
|
shadowOptions: {
|
|
103770
103778
|
delegatesFocus: true
|
|
103771
103779
|
}
|
|
103772
103780
|
});
|
|
103773
103781
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSearchInput());
|
|
103774
103782
|
|
|
103775
|
-
const styles$
|
|
103783
|
+
const styles$2 = css `
|
|
103776
103784
|
${display('inline-block')}
|
|
103777
103785
|
|
|
103778
103786
|
:host {
|
|
@@ -103797,7 +103805,7 @@ focus outline in that case.
|
|
|
103797
103805
|
}
|
|
103798
103806
|
`;
|
|
103799
103807
|
|
|
103800
|
-
const template$
|
|
103808
|
+
const template$3 = html `<slot></slot>`;
|
|
103801
103809
|
|
|
103802
103810
|
/**
|
|
103803
103811
|
* A Ok demo component (not for production use)
|
|
@@ -103806,12 +103814,12 @@ focus outline in that case.
|
|
|
103806
103814
|
}
|
|
103807
103815
|
const okExButton = ExButton.compose({
|
|
103808
103816
|
baseName: 'ex-button',
|
|
103809
|
-
template: template$
|
|
103810
|
-
styles: styles$
|
|
103817
|
+
template: template$3,
|
|
103818
|
+
styles: styles$2
|
|
103811
103819
|
});
|
|
103812
103820
|
DesignSystem.getOrCreate().withPrefix('ok').register(okExButton());
|
|
103813
103821
|
|
|
103814
|
-
const styles = css `
|
|
103822
|
+
const styles$1 = css `
|
|
103815
103823
|
${display('inline-flex')}
|
|
103816
103824
|
|
|
103817
103825
|
:host {
|
|
@@ -103827,7 +103835,7 @@ focus outline in that case.
|
|
|
103827
103835
|
}
|
|
103828
103836
|
`;
|
|
103829
103837
|
|
|
103830
|
-
const template = html `<img aria-hidden="true" src=${x => x.url}>`;
|
|
103838
|
+
const template$2 = html `<img aria-hidden="true" src=${x => x.url}>`;
|
|
103831
103839
|
|
|
103832
103840
|
/* eslint-disable max-classes-per-file */
|
|
103833
103841
|
/**
|
|
@@ -103868,8 +103876,8 @@ focus outline in that case.
|
|
|
103868
103876
|
const baseName = `ts-icon-dynamic-${name}`;
|
|
103869
103877
|
const composedIcon = iconClass.compose({
|
|
103870
103878
|
baseName,
|
|
103871
|
-
template,
|
|
103872
|
-
styles
|
|
103879
|
+
template: template$2,
|
|
103880
|
+
styles: styles$1
|
|
103873
103881
|
});
|
|
103874
103882
|
DesignSystem.getOrCreate().withPrefix('ok').register(composedIcon());
|
|
103875
103883
|
}
|
|
@@ -103881,5 +103889,502 @@ focus outline in that case.
|
|
|
103881
103889
|
});
|
|
103882
103890
|
DesignSystem.getOrCreate().withPrefix('ok').register(okTsIconDynamic());
|
|
103883
103891
|
|
|
103892
|
+
/**
|
|
103893
|
+
* The possible states of a breakpoint indicator.
|
|
103894
|
+
*/
|
|
103895
|
+
const BreakpointState = {
|
|
103896
|
+
off: 'off',
|
|
103897
|
+
enabled: 'enabled',
|
|
103898
|
+
disabled: 'disabled',
|
|
103899
|
+
hit: 'hit',
|
|
103900
|
+
conditional: 'conditional',
|
|
103901
|
+
hitDisabled: 'hit-disabled'
|
|
103902
|
+
};
|
|
103903
|
+
/** @internal */
|
|
103904
|
+
const breakpointMenuItemStateAttributeName = 'data-breakpoint-state';
|
|
103905
|
+
/** @internal */
|
|
103906
|
+
const breakpointCellViewMenuSlotName = 'menu';
|
|
103907
|
+
|
|
103908
|
+
const template$1 = html `
|
|
103909
|
+
<template
|
|
103910
|
+
?open="${x => x.open}"
|
|
103911
|
+
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
103912
|
+
>
|
|
103913
|
+
<button
|
|
103914
|
+
${ref('button')}
|
|
103915
|
+
part="button"
|
|
103916
|
+
class="breakpoint-button state-${x => x.currentState}"
|
|
103917
|
+
@click="${(x, c) => x.onButtonClick(c.event)}"
|
|
103918
|
+
@contextmenu="${(x, c) => x.onContextMenu(c.event)}"
|
|
103919
|
+
@keydown="${(x, c) => x.onKeyDown(c.event)}"
|
|
103920
|
+
aria-label="${x => x.ariaLabelText}"
|
|
103921
|
+
title="${x => x.tooltipText}"
|
|
103922
|
+
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
103923
|
+
tabindex="-1"
|
|
103924
|
+
>
|
|
103925
|
+
${when(x => x.currentState === BreakpointState.off, html `<${iconBreakpointHoverTag} />`)}
|
|
103926
|
+
${when(x => x.currentState === BreakpointState.enabled, html `<${iconBreakpointEnabledTag} />`)}
|
|
103927
|
+
${when(x => x.currentState === BreakpointState.disabled, html `<${iconBreakpointDisabledTag} />`)}
|
|
103928
|
+
${when(x => x.currentState === BreakpointState.hit, html `<${iconBreakpointHitTag} />`)}
|
|
103929
|
+
${when(x => x.currentState === BreakpointState.conditional, html `<${iconBreakpointConditionalTag} />`)}
|
|
103930
|
+
${when(x => x.currentState === BreakpointState.hitDisabled, html `<${iconBreakpointHitDisabledTag} />`)}
|
|
103931
|
+
</button>
|
|
103932
|
+
${when(x => x.open, html `
|
|
103933
|
+
<${anchoredRegionTag}
|
|
103934
|
+
fixed-placement="true"
|
|
103935
|
+
auto-update-mode="auto"
|
|
103936
|
+
horizontal-inset="true"
|
|
103937
|
+
horizontal-positioning-mode="dynamic"
|
|
103938
|
+
vertical-positioning-mode="${x => (x.menuPosition === MenuButtonPosition.auto ? 'dynamic' : 'locktodefault')}"
|
|
103939
|
+
vertical-default-position="${x => (x.menuPosition === MenuButtonPosition.above ? 'top' : 'bottom')}"
|
|
103940
|
+
@loaded="${x => x.regionLoadedHandler()}"
|
|
103941
|
+
@change="${(x, c) => x.onContextMenuChange(c.event)}"
|
|
103942
|
+
@keydown="${(x, c) => x.contextMenuKeyDownHandler(c.event)}"
|
|
103943
|
+
${ref('region')}
|
|
103944
|
+
>
|
|
103945
|
+
<span part="menu">
|
|
103946
|
+
<slot name="${breakpointCellViewMenuSlotName}" ${slotted({ property: 'slottedMenus' })}></slot>
|
|
103947
|
+
</span>
|
|
103948
|
+
</${anchoredRegionTag}>
|
|
103949
|
+
`)}
|
|
103950
|
+
</template>
|
|
103951
|
+
`;
|
|
103952
|
+
|
|
103953
|
+
const styles = css `
|
|
103954
|
+
${display$2('inline-flex')}
|
|
103955
|
+
|
|
103956
|
+
:host {
|
|
103957
|
+
align-items: center;
|
|
103958
|
+
justify-content: center;
|
|
103959
|
+
flex-shrink: 0;
|
|
103960
|
+
}
|
|
103961
|
+
|
|
103962
|
+
.breakpoint-button {
|
|
103963
|
+
display: flex;
|
|
103964
|
+
align-items: center;
|
|
103965
|
+
justify-content: center;
|
|
103966
|
+
flex-shrink: 0;
|
|
103967
|
+
padding: 0;
|
|
103968
|
+
margin: 0;
|
|
103969
|
+
border: none;
|
|
103970
|
+
background: transparent;
|
|
103971
|
+
cursor: pointer;
|
|
103972
|
+
outline-offset: -1px;
|
|
103973
|
+
width: ${iconSize};
|
|
103974
|
+
height: ${iconSize};
|
|
103975
|
+
}
|
|
103976
|
+
|
|
103977
|
+
.breakpoint-button:focus-visible {
|
|
103978
|
+
outline: calc(2 * ${borderWidth}) solid ${borderHoverColor};
|
|
103979
|
+
outline-offset: -2px;
|
|
103980
|
+
}
|
|
103981
|
+
|
|
103982
|
+
.breakpoint-button svg {
|
|
103983
|
+
width: ${iconSize};
|
|
103984
|
+
height: ${iconSize};
|
|
103985
|
+
}
|
|
103986
|
+
|
|
103987
|
+
.breakpoint-button.state-off > * {
|
|
103988
|
+
opacity: 0;
|
|
103989
|
+
}
|
|
103990
|
+
|
|
103991
|
+
.breakpoint-button.state-off:hover > *,
|
|
103992
|
+
.breakpoint-button.state-off:focus-visible > * {
|
|
103993
|
+
opacity: 1;
|
|
103994
|
+
}
|
|
103995
|
+
|
|
103996
|
+
`;
|
|
103997
|
+
|
|
103998
|
+
/**
|
|
103999
|
+
* Cell view for the breakpoint column that renders a clickable breakpoint indicator.
|
|
104000
|
+
*/
|
|
104001
|
+
class TsTableColumnBreakpointCellView extends TableCellView {
|
|
104002
|
+
constructor() {
|
|
104003
|
+
super(...arguments);
|
|
104004
|
+
/**
|
|
104005
|
+
* Specifies whether or not the menu is open.
|
|
104006
|
+
*/
|
|
104007
|
+
this.open = false;
|
|
104008
|
+
this.focusLastItemWhenOpened = false;
|
|
104009
|
+
/** @internal */
|
|
104010
|
+
this.breakpointEnabledString = 'Breakpoint enabled';
|
|
104011
|
+
/** @internal */
|
|
104012
|
+
this.breakpointDisabledString = 'Breakpoint disabled';
|
|
104013
|
+
/** @internal */
|
|
104014
|
+
this.breakpointHitString = 'Breakpoint hit';
|
|
104015
|
+
/** @internal */
|
|
104016
|
+
this.breakpointConditionalString = 'Conditional breakpoint';
|
|
104017
|
+
/** @internal */
|
|
104018
|
+
this.breakpointHitDisabledString = 'Breakpoint hit (disabled)';
|
|
104019
|
+
/** @internal */
|
|
104020
|
+
this.breakpointAddString = 'Add breakpoint';
|
|
104021
|
+
/** @internal */
|
|
104022
|
+
this.breakpointRemoveString = 'Remove breakpoint';
|
|
104023
|
+
this.menuChangeHandler = () => {
|
|
104024
|
+
this.open = false;
|
|
104025
|
+
this.button?.focus();
|
|
104026
|
+
};
|
|
104027
|
+
}
|
|
104028
|
+
/** @internal */
|
|
104029
|
+
get currentState() {
|
|
104030
|
+
const value = this.cellRecord?.value;
|
|
104031
|
+
if (value && Object.values(BreakpointState).includes(value)) {
|
|
104032
|
+
return value;
|
|
104033
|
+
}
|
|
104034
|
+
return BreakpointState.off;
|
|
104035
|
+
}
|
|
104036
|
+
/** @internal */
|
|
104037
|
+
get tooltipText() {
|
|
104038
|
+
if (this.currentState === BreakpointState.off) {
|
|
104039
|
+
return this.breakpointAddString;
|
|
104040
|
+
}
|
|
104041
|
+
return this.breakpointRemoveString;
|
|
104042
|
+
}
|
|
104043
|
+
/** @internal */
|
|
104044
|
+
get ariaLabelText() {
|
|
104045
|
+
switch (this.currentState) {
|
|
104046
|
+
case BreakpointState.enabled:
|
|
104047
|
+
return this.breakpointEnabledString;
|
|
104048
|
+
case BreakpointState.disabled:
|
|
104049
|
+
return this.breakpointDisabledString;
|
|
104050
|
+
case BreakpointState.hit:
|
|
104051
|
+
return this.breakpointHitString;
|
|
104052
|
+
case BreakpointState.conditional:
|
|
104053
|
+
return this.breakpointConditionalString;
|
|
104054
|
+
case BreakpointState.hitDisabled:
|
|
104055
|
+
return this.breakpointHitDisabledString;
|
|
104056
|
+
default:
|
|
104057
|
+
return this.breakpointAddString;
|
|
104058
|
+
}
|
|
104059
|
+
}
|
|
104060
|
+
/** @internal */
|
|
104061
|
+
get menuPosition() {
|
|
104062
|
+
return this.columnConfig?.position ?? MenuButtonPosition.auto;
|
|
104063
|
+
}
|
|
104064
|
+
get tabbableChildren() {
|
|
104065
|
+
if (this.button) {
|
|
104066
|
+
return [this.button];
|
|
104067
|
+
}
|
|
104068
|
+
return [];
|
|
104069
|
+
}
|
|
104070
|
+
/** @internal */
|
|
104071
|
+
onButtonClick(event) {
|
|
104072
|
+
event.stopPropagation();
|
|
104073
|
+
const oldState = this.currentState;
|
|
104074
|
+
const newState = oldState === BreakpointState.off
|
|
104075
|
+
? BreakpointState.enabled
|
|
104076
|
+
: BreakpointState.off;
|
|
104077
|
+
this.emitToggle(oldState, newState);
|
|
104078
|
+
}
|
|
104079
|
+
/** @internal */
|
|
104080
|
+
onContextMenu(event) {
|
|
104081
|
+
event.preventDefault();
|
|
104082
|
+
event.stopPropagation();
|
|
104083
|
+
this.requestContextMenu();
|
|
104084
|
+
}
|
|
104085
|
+
/** @internal */
|
|
104086
|
+
onKeyDown(event) {
|
|
104087
|
+
if ((event.key === 'F10' && event.shiftKey)
|
|
104088
|
+
|| event.key === TsTableColumnBreakpointCellView.menuKeyAlias
|
|
104089
|
+
|| (event.key === TsTableColumnBreakpointCellView.contextMenuKeyAlias)) {
|
|
104090
|
+
event.preventDefault();
|
|
104091
|
+
event.stopPropagation();
|
|
104092
|
+
this.requestContextMenu();
|
|
104093
|
+
return false;
|
|
104094
|
+
}
|
|
104095
|
+
if (event.key === 'F9' || ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'b')) {
|
|
104096
|
+
event.preventDefault();
|
|
104097
|
+
event.stopPropagation();
|
|
104098
|
+
this.onButtonClick(event);
|
|
104099
|
+
return false;
|
|
104100
|
+
}
|
|
104101
|
+
if (event.key === 'ArrowDown') {
|
|
104102
|
+
event.preventDefault();
|
|
104103
|
+
event.stopPropagation();
|
|
104104
|
+
this.focusLastItemWhenOpened = false;
|
|
104105
|
+
this.requestContextMenu();
|
|
104106
|
+
return false;
|
|
104107
|
+
}
|
|
104108
|
+
if (event.key === 'ArrowUp') {
|
|
104109
|
+
event.preventDefault();
|
|
104110
|
+
event.stopPropagation();
|
|
104111
|
+
this.focusLastItemWhenOpened = true;
|
|
104112
|
+
this.requestContextMenu();
|
|
104113
|
+
return false;
|
|
104114
|
+
}
|
|
104115
|
+
return true;
|
|
104116
|
+
}
|
|
104117
|
+
regionLoadedHandler() {
|
|
104118
|
+
if (this.focusLastItemWhenOpened) {
|
|
104119
|
+
this.focusLastItemWhenOpened = false;
|
|
104120
|
+
this.focusLastMenuItem();
|
|
104121
|
+
}
|
|
104122
|
+
else {
|
|
104123
|
+
this.focusMenu();
|
|
104124
|
+
}
|
|
104125
|
+
}
|
|
104126
|
+
regionChanged(prev, _next) {
|
|
104127
|
+
if (prev) {
|
|
104128
|
+
prev.removeEventListener('change', this.menuChangeHandler, { capture: true });
|
|
104129
|
+
}
|
|
104130
|
+
if (this.region) {
|
|
104131
|
+
this.region.anchorElement = this.button ?? this;
|
|
104132
|
+
this.region.addEventListener('change', this.menuChangeHandler, { capture: true });
|
|
104133
|
+
}
|
|
104134
|
+
}
|
|
104135
|
+
buttonChanged() {
|
|
104136
|
+
if (this.region) {
|
|
104137
|
+
this.region.anchorElement = this.button ?? this;
|
|
104138
|
+
}
|
|
104139
|
+
}
|
|
104140
|
+
focusoutHandler(e) {
|
|
104141
|
+
if (!this.open) {
|
|
104142
|
+
return true;
|
|
104143
|
+
}
|
|
104144
|
+
const focusTarget = e.relatedTarget;
|
|
104145
|
+
if (!this.contains(focusTarget)
|
|
104146
|
+
&& !this.region?.contains(focusTarget)
|
|
104147
|
+
&& !this.getMenu()?.contains(focusTarget)) {
|
|
104148
|
+
this.open = false;
|
|
104149
|
+
return false;
|
|
104150
|
+
}
|
|
104151
|
+
return true;
|
|
104152
|
+
}
|
|
104153
|
+
contextMenuKeyDownHandler(e) {
|
|
104154
|
+
switch (e.key) {
|
|
104155
|
+
case 'Escape':
|
|
104156
|
+
this.open = false;
|
|
104157
|
+
this.button?.focus();
|
|
104158
|
+
return false;
|
|
104159
|
+
default:
|
|
104160
|
+
return true;
|
|
104161
|
+
}
|
|
104162
|
+
}
|
|
104163
|
+
onContextMenuChange(event) {
|
|
104164
|
+
const requestedState = this.getRequestedStateFromEvent(event);
|
|
104165
|
+
if (!requestedState) {
|
|
104166
|
+
return;
|
|
104167
|
+
}
|
|
104168
|
+
const detail = {
|
|
104169
|
+
recordId: this.recordId,
|
|
104170
|
+
requestedState,
|
|
104171
|
+
currentState: this.currentState
|
|
104172
|
+
};
|
|
104173
|
+
this.$emit('breakpoint-column-state-change-requested', detail);
|
|
104174
|
+
}
|
|
104175
|
+
getMenu() {
|
|
104176
|
+
if (!this.slottedMenus || this.slottedMenus.length === 0) {
|
|
104177
|
+
return undefined;
|
|
104178
|
+
}
|
|
104179
|
+
let currentItem = this.slottedMenus[0];
|
|
104180
|
+
while (currentItem) {
|
|
104181
|
+
if (currentItem.getAttribute('role') === 'menu') {
|
|
104182
|
+
return currentItem;
|
|
104183
|
+
}
|
|
104184
|
+
if (this.isSlotElement(currentItem)) {
|
|
104185
|
+
const firstNode = currentItem.assignedNodes()[0];
|
|
104186
|
+
if (firstNode instanceof HTMLElement) {
|
|
104187
|
+
currentItem = firstNode;
|
|
104188
|
+
}
|
|
104189
|
+
else {
|
|
104190
|
+
currentItem = undefined;
|
|
104191
|
+
}
|
|
104192
|
+
}
|
|
104193
|
+
else {
|
|
104194
|
+
return undefined;
|
|
104195
|
+
}
|
|
104196
|
+
}
|
|
104197
|
+
return undefined;
|
|
104198
|
+
}
|
|
104199
|
+
isSlotElement(element) {
|
|
104200
|
+
return element?.nodeName === 'SLOT';
|
|
104201
|
+
}
|
|
104202
|
+
focusMenu() {
|
|
104203
|
+
this.getMenu()?.focus();
|
|
104204
|
+
}
|
|
104205
|
+
focusLastMenuItem() {
|
|
104206
|
+
const menuItems = this.getMenu()?.querySelectorAll('[role=menuitem]');
|
|
104207
|
+
if (menuItems && menuItems.length > 0) {
|
|
104208
|
+
const lastMenuItem = menuItems[menuItems.length - 1];
|
|
104209
|
+
lastMenuItem.focus();
|
|
104210
|
+
}
|
|
104211
|
+
}
|
|
104212
|
+
emitToggle(oldState, newState) {
|
|
104213
|
+
const detail = {
|
|
104214
|
+
recordId: this.recordId,
|
|
104215
|
+
newState,
|
|
104216
|
+
oldState
|
|
104217
|
+
};
|
|
104218
|
+
this.$emit('breakpoint-column-toggle', detail);
|
|
104219
|
+
}
|
|
104220
|
+
requestContextMenu() {
|
|
104221
|
+
this.openMenuFromColumnSlot();
|
|
104222
|
+
}
|
|
104223
|
+
openMenuFromColumnSlot() {
|
|
104224
|
+
const configuredSlotName = this.columnConfig?.menuSlot;
|
|
104225
|
+
if (!configuredSlotName) {
|
|
104226
|
+
return;
|
|
104227
|
+
}
|
|
104228
|
+
const eventDetail = {
|
|
104229
|
+
slots: [
|
|
104230
|
+
{
|
|
104231
|
+
name: configuredSlotName,
|
|
104232
|
+
slot: breakpointCellViewMenuSlotName
|
|
104233
|
+
}
|
|
104234
|
+
]
|
|
104235
|
+
};
|
|
104236
|
+
this.$emit('cell-view-slots-request', eventDetail);
|
|
104237
|
+
this.open = true;
|
|
104238
|
+
}
|
|
104239
|
+
getRequestedStateFromEvent(event) {
|
|
104240
|
+
const target = event.target;
|
|
104241
|
+
if (!(target instanceof HTMLElement)) {
|
|
104242
|
+
return undefined;
|
|
104243
|
+
}
|
|
104244
|
+
const stateElement = target.closest(`[${breakpointMenuItemStateAttributeName}]`);
|
|
104245
|
+
if (!stateElement) {
|
|
104246
|
+
return undefined;
|
|
104247
|
+
}
|
|
104248
|
+
const requestedState = stateElement.getAttribute(breakpointMenuItemStateAttributeName);
|
|
104249
|
+
if (requestedState && Object.values(BreakpointState).includes(requestedState)) {
|
|
104250
|
+
return requestedState;
|
|
104251
|
+
}
|
|
104252
|
+
return undefined;
|
|
104253
|
+
}
|
|
104254
|
+
}
|
|
104255
|
+
TsTableColumnBreakpointCellView.menuKeyAlias = 'Menu';
|
|
104256
|
+
TsTableColumnBreakpointCellView.contextMenuKeyAlias = 'ContextMenu';
|
|
104257
|
+
__decorate([
|
|
104258
|
+
attr({ mode: 'boolean' })
|
|
104259
|
+
], TsTableColumnBreakpointCellView.prototype, "open", void 0);
|
|
104260
|
+
__decorate([
|
|
104261
|
+
observable
|
|
104262
|
+
], TsTableColumnBreakpointCellView.prototype, "region", void 0);
|
|
104263
|
+
__decorate([
|
|
104264
|
+
observable
|
|
104265
|
+
], TsTableColumnBreakpointCellView.prototype, "slottedMenus", void 0);
|
|
104266
|
+
__decorate([
|
|
104267
|
+
observable
|
|
104268
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointEnabledString", void 0);
|
|
104269
|
+
__decorate([
|
|
104270
|
+
observable
|
|
104271
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointDisabledString", void 0);
|
|
104272
|
+
__decorate([
|
|
104273
|
+
observable
|
|
104274
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointHitString", void 0);
|
|
104275
|
+
__decorate([
|
|
104276
|
+
observable
|
|
104277
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointConditionalString", void 0);
|
|
104278
|
+
__decorate([
|
|
104279
|
+
observable
|
|
104280
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointHitDisabledString", void 0);
|
|
104281
|
+
__decorate([
|
|
104282
|
+
observable
|
|
104283
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointAddString", void 0);
|
|
104284
|
+
__decorate([
|
|
104285
|
+
observable
|
|
104286
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointRemoveString", void 0);
|
|
104287
|
+
const tsTableColumnBreakpointCellView = TsTableColumnBreakpointCellView.compose({
|
|
104288
|
+
baseName: 'ts-table-column-breakpoint-cell-view',
|
|
104289
|
+
template: template$1,
|
|
104290
|
+
styles
|
|
104291
|
+
});
|
|
104292
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(tsTableColumnBreakpointCellView());
|
|
104293
|
+
const tsTableColumnBreakpointCellViewTag = 'ok-ts-table-column-breakpoint-cell-view';
|
|
104294
|
+
|
|
104295
|
+
const template = html `
|
|
104296
|
+
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
104297
|
+
>${template$J}</template
|
|
104298
|
+
>
|
|
104299
|
+
`;
|
|
104300
|
+
|
|
104301
|
+
/**
|
|
104302
|
+
* A table column that displays a breakpoint indicator with toggle functionality.
|
|
104303
|
+
*/
|
|
104304
|
+
class TsTableColumnBreakpoint extends TableColumn {
|
|
104305
|
+
constructor() {
|
|
104306
|
+
super();
|
|
104307
|
+
this.position = MenuButtonPosition.auto;
|
|
104308
|
+
// Breakpoint columns are icon-only and should remain fixed-size and non-resizable.
|
|
104309
|
+
this.columnInternals.resizingDisabled = true;
|
|
104310
|
+
this.columnInternals.pixelWidth = singleIconColumnWidth;
|
|
104311
|
+
this.columnInternals.minPixelWidth = singleIconColumnWidth;
|
|
104312
|
+
}
|
|
104313
|
+
/** @internal */
|
|
104314
|
+
onDelegatedEvent(e) {
|
|
104315
|
+
e.stopImmediatePropagation();
|
|
104316
|
+
const event = e;
|
|
104317
|
+
if (event.detail.originalEvent.type === 'breakpoint-column-toggle') {
|
|
104318
|
+
const originalEvent = event.detail.originalEvent;
|
|
104319
|
+
const detail = {
|
|
104320
|
+
...originalEvent.detail,
|
|
104321
|
+
recordId: event.detail.recordId
|
|
104322
|
+
};
|
|
104323
|
+
this.$emit('breakpoint-column-toggle', detail);
|
|
104324
|
+
}
|
|
104325
|
+
else if (event.detail.originalEvent.type === 'breakpoint-column-state-change-requested') {
|
|
104326
|
+
const originalEvent = event.detail.originalEvent;
|
|
104327
|
+
const detail = {
|
|
104328
|
+
...originalEvent.detail,
|
|
104329
|
+
recordId: event.detail.recordId
|
|
104330
|
+
};
|
|
104331
|
+
this.$emit('breakpoint-column-state-change-requested', detail);
|
|
104332
|
+
}
|
|
104333
|
+
}
|
|
104334
|
+
/**
|
|
104335
|
+
* Programmatically requests a breakpoint state change for a record.
|
|
104336
|
+
*/
|
|
104337
|
+
requestBreakpointStateChange(recordId, currentState, requestedState) {
|
|
104338
|
+
const detail = {
|
|
104339
|
+
recordId,
|
|
104340
|
+
currentState,
|
|
104341
|
+
requestedState
|
|
104342
|
+
};
|
|
104343
|
+
this.$emit('breakpoint-column-state-change-requested', detail);
|
|
104344
|
+
}
|
|
104345
|
+
getColumnInternalsOptions() {
|
|
104346
|
+
return {
|
|
104347
|
+
cellRecordFieldNames: ['value'],
|
|
104348
|
+
cellViewTag: tsTableColumnBreakpointCellViewTag,
|
|
104349
|
+
delegatedEvents: ['breakpoint-column-toggle', 'breakpoint-column-state-change-requested'],
|
|
104350
|
+
slotNames: [breakpointCellViewMenuSlotName],
|
|
104351
|
+
validator: new ColumnValidator([])
|
|
104352
|
+
};
|
|
104353
|
+
}
|
|
104354
|
+
fieldNameChanged() {
|
|
104355
|
+
this.columnInternals.dataRecordFieldNames = [this.fieldName];
|
|
104356
|
+
this.columnInternals.operandDataRecordFieldName = this.fieldName;
|
|
104357
|
+
}
|
|
104358
|
+
menuSlotChanged() {
|
|
104359
|
+
this.updateColumnConfig();
|
|
104360
|
+
}
|
|
104361
|
+
positionChanged() {
|
|
104362
|
+
this.updateColumnConfig();
|
|
104363
|
+
}
|
|
104364
|
+
updateColumnConfig() {
|
|
104365
|
+
this.columnInternals.columnConfig = {
|
|
104366
|
+
menuSlot: this.menuSlot,
|
|
104367
|
+
position: this.position
|
|
104368
|
+
};
|
|
104369
|
+
}
|
|
104370
|
+
}
|
|
104371
|
+
__decorate([
|
|
104372
|
+
attr({ attribute: 'field-name' })
|
|
104373
|
+
], TsTableColumnBreakpoint.prototype, "fieldName", void 0);
|
|
104374
|
+
__decorate([
|
|
104375
|
+
attr({ attribute: 'menu-slot' })
|
|
104376
|
+
], TsTableColumnBreakpoint.prototype, "menuSlot", void 0);
|
|
104377
|
+
__decorate([
|
|
104378
|
+
attr
|
|
104379
|
+
], TsTableColumnBreakpoint.prototype, "position", void 0);
|
|
104380
|
+
const tsTableColumnBreakpoint = TsTableColumnBreakpoint.compose({
|
|
104381
|
+
baseName: 'ts-table-column-breakpoint',
|
|
104382
|
+
template,
|
|
104383
|
+
styles: styles$I
|
|
104384
|
+
});
|
|
104385
|
+
DesignSystem.getOrCreate()
|
|
104386
|
+
.withPrefix('ok')
|
|
104387
|
+
.register(tsTableColumnBreakpoint());
|
|
104388
|
+
|
|
103884
104389
|
})();
|
|
103885
104390
|
//# sourceMappingURL=all-components-bundle.js.map
|