@ni/ok-components 1.3.6 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-components-bundle.js +962 -433
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +5218 -5078
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +569 -33
- package/dist/custom-elements.md +85 -12
- 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')
|
|
@@ -16565,7 +16565,7 @@
|
|
|
16565
16565
|
createThemeColorToken(tokenNames.calendarEventBackgroundTransportOrderColor, tokenValues.calendarEventBackgroundTransportOrderColor);
|
|
16566
16566
|
createThemeColorToken(tokenNames.calendarEventBackgroundHoverTransportOrderColor, tokenValues.calendarEventBackgroundHoverTransportOrderColor);
|
|
16567
16567
|
const calendarEventBorderTransportOrderColor = createThemeColorToken(tokenNames.calendarEventBorderTransportOrderColor, tokenValues.calendarEventBorderTransportOrderColor);
|
|
16568
|
-
createThemeColorToken(tokenNames.calendarEventBorderWorkOrderColor, tokenValues.calendarEventBorderWorkOrderColor);
|
|
16568
|
+
const calendarEventBorderWorkOrderColor = createThemeColorToken(tokenNames.calendarEventBorderWorkOrderColor, tokenValues.calendarEventBorderWorkOrderColor);
|
|
16569
16569
|
createThemeColorToken(tokenNames.calendarEventBackgroundAggregateAvailabilityColor, tokenValues.calendarEventBackgroundAggregateAvailabilityColor);
|
|
16570
16570
|
createThemeColorToken(tokenNames.calendarEventBorderAggregateAvailabilityColor, tokenValues.calendarEventBorderAggregateAvailabilityColor);
|
|
16571
16571
|
// #endregion
|
|
@@ -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$
|
|
22240
|
-
${styles$
|
|
22241
|
-
${styles$
|
|
22242
|
-
${styles$
|
|
22239
|
+
const styles$1a = css `
|
|
22240
|
+
${styles$1c}
|
|
22241
|
+
${styles$1g}
|
|
22242
|
+
${styles$1b}
|
|
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
|
-
${styles$
|
|
65556
|
-
${styles$
|
|
65557
|
-
${styles$
|
|
65555
|
+
const styles$V = css `
|
|
65556
|
+
${styles$1c}
|
|
65557
|
+
${styles$1g}
|
|
65558
|
+
${styles$1b}
|
|
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%;
|
|
@@ -99600,7 +99601,7 @@ focus outline in that case.
|
|
|
99600
99601
|
}
|
|
99601
99602
|
`;
|
|
99602
99603
|
|
|
99603
|
-
const template$
|
|
99604
|
+
const template$r = html `
|
|
99604
99605
|
<div class="container">
|
|
99605
99606
|
<section class="attachments ${x => (x.attachmentsIsEmpty ? '' : 'has-content')}">
|
|
99606
99607
|
<slot
|
|
@@ -99852,8 +99853,8 @@ focus outline in that case.
|
|
|
99852
99853
|
], ChatInput.prototype, "slottedAttachmentsElements", void 0);
|
|
99853
99854
|
const sprightChatInput = ChatInput.compose({
|
|
99854
99855
|
baseName: 'chat-input',
|
|
99855
|
-
template: template$
|
|
99856
|
-
styles: styles$
|
|
99856
|
+
template: template$r,
|
|
99857
|
+
styles: styles$q,
|
|
99857
99858
|
shadowOptions: {
|
|
99858
99859
|
delegatesFocus: true
|
|
99859
99860
|
}
|
|
@@ -99871,7 +99872,7 @@ focus outline in that case.
|
|
|
99871
99872
|
inbound: 'inbound'
|
|
99872
99873
|
};
|
|
99873
99874
|
|
|
99874
|
-
const styles$
|
|
99875
|
+
const styles$p = css `
|
|
99875
99876
|
${display$1('flex')}
|
|
99876
99877
|
|
|
99877
99878
|
:host {
|
|
@@ -99945,7 +99946,7 @@ focus outline in that case.
|
|
|
99945
99946
|
}
|
|
99946
99947
|
`;
|
|
99947
99948
|
|
|
99948
|
-
const template$
|
|
99949
|
+
const template$q = (context, definition) => html `
|
|
99949
99950
|
<div class="container">
|
|
99950
99951
|
${startSlotTemplate(context, definition)}
|
|
99951
99952
|
<section class="message-content">
|
|
@@ -99994,12 +99995,12 @@ focus outline in that case.
|
|
|
99994
99995
|
applyMixins(ChatMessage, StartEnd);
|
|
99995
99996
|
const sprightChatMessage = ChatMessage.compose({
|
|
99996
99997
|
baseName: 'chat-message',
|
|
99997
|
-
template: template$
|
|
99998
|
-
styles: styles$
|
|
99998
|
+
template: template$q,
|
|
99999
|
+
styles: styles$p
|
|
99999
100000
|
});
|
|
100000
100001
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
|
|
100001
100002
|
|
|
100002
|
-
const styles$
|
|
100003
|
+
const styles$o = css `
|
|
100003
100004
|
${display$1('flex')}
|
|
100004
100005
|
|
|
100005
100006
|
:host {
|
|
@@ -100057,7 +100058,7 @@ focus outline in that case.
|
|
|
100057
100058
|
}
|
|
100058
100059
|
`;
|
|
100059
100060
|
|
|
100060
|
-
const template$
|
|
100061
|
+
const template$p = (context, definition) => html `
|
|
100061
100062
|
<div class="container">
|
|
100062
100063
|
${startSlotTemplate(context, definition)}
|
|
100063
100064
|
<section class="message-content">
|
|
@@ -100095,12 +100096,12 @@ focus outline in that case.
|
|
|
100095
100096
|
applyMixins(ChatMessageInbound, StartEnd);
|
|
100096
100097
|
const sprightChatMessageInbound = ChatMessageInbound.compose({
|
|
100097
100098
|
baseName: 'chat-message-inbound',
|
|
100098
|
-
template: template$
|
|
100099
|
-
styles: styles$
|
|
100099
|
+
template: template$p,
|
|
100100
|
+
styles: styles$o
|
|
100100
100101
|
});
|
|
100101
100102
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageInbound());
|
|
100102
100103
|
|
|
100103
|
-
const styles$
|
|
100104
|
+
const styles$n = css `
|
|
100104
100105
|
${display$1('flex')}
|
|
100105
100106
|
|
|
100106
100107
|
:host {
|
|
@@ -100134,7 +100135,7 @@ focus outline in that case.
|
|
|
100134
100135
|
}
|
|
100135
100136
|
`;
|
|
100136
100137
|
|
|
100137
|
-
const template$
|
|
100138
|
+
const template$o = () => html `
|
|
100138
100139
|
<div class="container">
|
|
100139
100140
|
<section class="message-content">
|
|
100140
100141
|
<slot></slot>
|
|
@@ -100149,12 +100150,12 @@ focus outline in that case.
|
|
|
100149
100150
|
}
|
|
100150
100151
|
const sprightChatMessageOutbound = ChatMessageOutbound.compose({
|
|
100151
100152
|
baseName: 'chat-message-outbound',
|
|
100152
|
-
template: template$
|
|
100153
|
-
styles: styles$
|
|
100153
|
+
template: template$o,
|
|
100154
|
+
styles: styles$n
|
|
100154
100155
|
});
|
|
100155
100156
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageOutbound());
|
|
100156
100157
|
|
|
100157
|
-
const styles$
|
|
100158
|
+
const styles$m = css `
|
|
100158
100159
|
${display$1('flex')}
|
|
100159
100160
|
|
|
100160
100161
|
:host {
|
|
@@ -100181,7 +100182,7 @@ focus outline in that case.
|
|
|
100181
100182
|
}
|
|
100182
100183
|
`;
|
|
100183
100184
|
|
|
100184
|
-
const template$
|
|
100185
|
+
const template$n = () => html `
|
|
100185
100186
|
<div class="container">
|
|
100186
100187
|
<section class="message-content">
|
|
100187
100188
|
<slot></slot>
|
|
@@ -100196,12 +100197,12 @@ focus outline in that case.
|
|
|
100196
100197
|
}
|
|
100197
100198
|
const sprightChatMessageSystem = ChatMessageSystem.compose({
|
|
100198
100199
|
baseName: 'chat-message-system',
|
|
100199
|
-
template: template$
|
|
100200
|
-
styles: styles$
|
|
100200
|
+
template: template$n,
|
|
100201
|
+
styles: styles$m
|
|
100201
100202
|
});
|
|
100202
100203
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageSystem());
|
|
100203
100204
|
|
|
100204
|
-
const styles$
|
|
100205
|
+
const styles$l = css `
|
|
100205
100206
|
${display$1('flex')}
|
|
100206
100207
|
|
|
100207
100208
|
:host {
|
|
@@ -100304,13 +100305,13 @@ focus outline in that case.
|
|
|
100304
100305
|
<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
100306
|
</svg>`;
|
|
100306
100307
|
|
|
100307
|
-
const template$
|
|
100308
|
+
const template$m = html `
|
|
100308
100309
|
<div class="icon light-icon" aria-hidden="true" :innerHTML="${() => nigelChatLightData}"></div>
|
|
100309
100310
|
<div class="icon dark-icon" aria-hidden="true" :innerHTML="${() => nigelChatDarkData}"></div>
|
|
100310
100311
|
`;
|
|
100311
100312
|
|
|
100312
|
-
const styles$
|
|
100313
|
-
${styles$
|
|
100313
|
+
const styles$k = css `
|
|
100314
|
+
${styles$1r}
|
|
100314
100315
|
|
|
100315
100316
|
.dark-icon {
|
|
100316
100317
|
display: none;
|
|
@@ -100333,15 +100334,15 @@ focus outline in that case.
|
|
|
100333
100334
|
}
|
|
100334
100335
|
const sprightIconNigelChat = IconNigelChat.compose({
|
|
100335
100336
|
baseName: 'icon-nigel-chat',
|
|
100336
|
-
template: template$
|
|
100337
|
-
styles: styles$
|
|
100337
|
+
template: template$m,
|
|
100338
|
+
styles: styles$k
|
|
100338
100339
|
});
|
|
100339
100340
|
DesignSystem.getOrCreate()
|
|
100340
100341
|
.withPrefix('spright')
|
|
100341
100342
|
.register(sprightIconNigelChat());
|
|
100342
100343
|
const iconNigelChatTag = 'spright-icon-nigel-chat';
|
|
100343
100344
|
|
|
100344
|
-
const template$
|
|
100345
|
+
const template$l = () => html `
|
|
100345
100346
|
<div class="container">
|
|
100346
100347
|
<div class="brand-icon">
|
|
100347
100348
|
<slot name="brand-icon">
|
|
@@ -100373,8 +100374,8 @@ focus outline in that case.
|
|
|
100373
100374
|
], ChatMessageWelcome.prototype, "subtitle", void 0);
|
|
100374
100375
|
const sprightChatMessageWelcome = ChatMessageWelcome.compose({
|
|
100375
100376
|
baseName: 'chat-message-welcome',
|
|
100376
|
-
template: template$
|
|
100377
|
-
styles: styles$
|
|
100377
|
+
template: template$l,
|
|
100378
|
+
styles: styles$l
|
|
100378
100379
|
});
|
|
100379
100380
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageWelcome());
|
|
100380
100381
|
|
|
@@ -100395,17 +100396,18 @@ focus outline in that case.
|
|
|
100395
100396
|
*/
|
|
100396
100397
|
class IconBreakpointConditional extends Icon {
|
|
100397
100398
|
}
|
|
100398
|
-
const template$
|
|
100399
|
+
const template$k = html `
|
|
100399
100400
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$6}"></div>
|
|
100400
100401
|
`;
|
|
100401
100402
|
const sprightIconBreakpointConditional = IconBreakpointConditional.compose({
|
|
100402
100403
|
baseName: 'icon-breakpoint-conditional',
|
|
100403
|
-
template: template$
|
|
100404
|
-
styles: styles$
|
|
100404
|
+
template: template$k,
|
|
100405
|
+
styles: styles$1r
|
|
100405
100406
|
});
|
|
100406
100407
|
DesignSystem.getOrCreate()
|
|
100407
100408
|
.withPrefix('spright')
|
|
100408
100409
|
.register(sprightIconBreakpointConditional());
|
|
100410
|
+
const iconBreakpointConditionalTag = 'spright-icon-breakpoint-conditional';
|
|
100409
100411
|
|
|
100410
100412
|
const iconData$5 = `<?xml version="1.0" encoding="UTF-8"?>
|
|
100411
100413
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
@@ -100425,17 +100427,18 @@ focus outline in that case.
|
|
|
100425
100427
|
*/
|
|
100426
100428
|
class IconBreakpointDisabled extends Icon {
|
|
100427
100429
|
}
|
|
100428
|
-
const template$
|
|
100430
|
+
const template$j = html `
|
|
100429
100431
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$5}"></div>
|
|
100430
100432
|
`;
|
|
100431
100433
|
const sprightIconBreakpointDisabled = IconBreakpointDisabled.compose({
|
|
100432
100434
|
baseName: 'icon-breakpoint-disabled',
|
|
100433
|
-
template: template$
|
|
100434
|
-
styles: styles$
|
|
100435
|
+
template: template$j,
|
|
100436
|
+
styles: styles$1r
|
|
100435
100437
|
});
|
|
100436
100438
|
DesignSystem.getOrCreate()
|
|
100437
100439
|
.withPrefix('spright')
|
|
100438
100440
|
.register(sprightIconBreakpointDisabled());
|
|
100441
|
+
const iconBreakpointDisabledTag = 'spright-icon-breakpoint-disabled';
|
|
100439
100442
|
|
|
100440
100443
|
const iconData$4 = `<?xml version="1.0" encoding="UTF-8"?>
|
|
100441
100444
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
@@ -100454,17 +100457,18 @@ focus outline in that case.
|
|
|
100454
100457
|
*/
|
|
100455
100458
|
class IconBreakpointEnabled extends Icon {
|
|
100456
100459
|
}
|
|
100457
|
-
const template$
|
|
100460
|
+
const template$i = html `
|
|
100458
100461
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$4}"></div>
|
|
100459
100462
|
`;
|
|
100460
100463
|
const sprightIconBreakpointEnabled = IconBreakpointEnabled.compose({
|
|
100461
100464
|
baseName: 'icon-breakpoint-enabled',
|
|
100462
|
-
template: template$
|
|
100463
|
-
styles: styles$
|
|
100465
|
+
template: template$i,
|
|
100466
|
+
styles: styles$1r
|
|
100464
100467
|
});
|
|
100465
100468
|
DesignSystem.getOrCreate()
|
|
100466
100469
|
.withPrefix('spright')
|
|
100467
100470
|
.register(sprightIconBreakpointEnabled());
|
|
100471
|
+
const iconBreakpointEnabledTag = 'spright-icon-breakpoint-enabled';
|
|
100468
100472
|
|
|
100469
100473
|
const iconData$3 = `<?xml version="1.0" encoding="UTF-8"?>
|
|
100470
100474
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
@@ -100483,13 +100487,13 @@ focus outline in that case.
|
|
|
100483
100487
|
*/
|
|
100484
100488
|
class IconBreakpointExecutionPointer extends Icon {
|
|
100485
100489
|
}
|
|
100486
|
-
const template$
|
|
100490
|
+
const template$h = html `
|
|
100487
100491
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$3}"></div>
|
|
100488
100492
|
`;
|
|
100489
100493
|
const sprightIconBreakpointExecutionPointer = IconBreakpointExecutionPointer.compose({
|
|
100490
100494
|
baseName: 'icon-breakpoint-execution-pointer',
|
|
100491
|
-
template: template$
|
|
100492
|
-
styles: styles$
|
|
100495
|
+
template: template$h,
|
|
100496
|
+
styles: styles$1r
|
|
100493
100497
|
});
|
|
100494
100498
|
DesignSystem.getOrCreate()
|
|
100495
100499
|
.withPrefix('spright')
|
|
@@ -100517,17 +100521,18 @@ focus outline in that case.
|
|
|
100517
100521
|
*/
|
|
100518
100522
|
class IconBreakpointHitDisabled extends Icon {
|
|
100519
100523
|
}
|
|
100520
|
-
const template$
|
|
100524
|
+
const template$g = html `
|
|
100521
100525
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$2}"></div>
|
|
100522
100526
|
`;
|
|
100523
100527
|
const sprightIconBreakpointHitDisabled = IconBreakpointHitDisabled.compose({
|
|
100524
100528
|
baseName: 'icon-breakpoint-hit-disabled',
|
|
100525
|
-
template: template$
|
|
100526
|
-
styles: styles$
|
|
100529
|
+
template: template$g,
|
|
100530
|
+
styles: styles$1r
|
|
100527
100531
|
});
|
|
100528
100532
|
DesignSystem.getOrCreate()
|
|
100529
100533
|
.withPrefix('spright')
|
|
100530
100534
|
.register(sprightIconBreakpointHitDisabled());
|
|
100535
|
+
const iconBreakpointHitDisabledTag = 'spright-icon-breakpoint-hit-disabled';
|
|
100531
100536
|
|
|
100532
100537
|
const iconData$1 = `<?xml version="1.0" encoding="UTF-8"?>
|
|
100533
100538
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
@@ -100551,17 +100556,18 @@ focus outline in that case.
|
|
|
100551
100556
|
*/
|
|
100552
100557
|
class IconBreakpointHit extends Icon {
|
|
100553
100558
|
}
|
|
100554
|
-
const template$
|
|
100559
|
+
const template$f = html `
|
|
100555
100560
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData$1}"></div>
|
|
100556
100561
|
`;
|
|
100557
100562
|
const sprightIconBreakpointHit = IconBreakpointHit.compose({
|
|
100558
100563
|
baseName: 'icon-breakpoint-hit',
|
|
100559
|
-
template: template$
|
|
100560
|
-
styles: styles$
|
|
100564
|
+
template: template$f,
|
|
100565
|
+
styles: styles$1r
|
|
100561
100566
|
});
|
|
100562
100567
|
DesignSystem.getOrCreate()
|
|
100563
100568
|
.withPrefix('spright')
|
|
100564
100569
|
.register(sprightIconBreakpointHit());
|
|
100570
|
+
const iconBreakpointHitTag = 'spright-icon-breakpoint-hit';
|
|
100565
100571
|
|
|
100566
100572
|
const iconData = `<?xml version="1.0" encoding="UTF-8"?>
|
|
100567
100573
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
@@ -100581,20 +100587,21 @@ focus outline in that case.
|
|
|
100581
100587
|
*/
|
|
100582
100588
|
class IconBreakpointHover extends Icon {
|
|
100583
100589
|
}
|
|
100584
|
-
const template$
|
|
100590
|
+
const template$e = html `
|
|
100585
100591
|
<div class="icon" aria-hidden="true" :innerHTML="${() => iconData}"></div>
|
|
100586
100592
|
`;
|
|
100587
100593
|
const sprightIconBreakpointHover = IconBreakpointHover.compose({
|
|
100588
100594
|
baseName: 'icon-breakpoint-hover',
|
|
100589
|
-
template: template$
|
|
100590
|
-
styles: styles$
|
|
100595
|
+
template: template$e,
|
|
100596
|
+
styles: styles$1r
|
|
100591
100597
|
});
|
|
100592
100598
|
DesignSystem.getOrCreate()
|
|
100593
100599
|
.withPrefix('spright')
|
|
100594
100600
|
.register(sprightIconBreakpointHover());
|
|
100601
|
+
const iconBreakpointHoverTag = 'spright-icon-breakpoint-hover';
|
|
100595
100602
|
|
|
100596
|
-
const styles$
|
|
100597
|
-
${styles$
|
|
100603
|
+
const styles$j = css `
|
|
100604
|
+
${styles$1r}
|
|
100598
100605
|
|
|
100599
100606
|
.icon svg {
|
|
100600
100607
|
fill: ${calendarEventBorderReservationColor};
|
|
@@ -100611,15 +100618,15 @@ focus outline in that case.
|
|
|
100611
100618
|
}
|
|
100612
100619
|
const sprightIconWorkItemCalendarWeek = IconWorkItemCalendarWeek.compose({
|
|
100613
100620
|
baseName: 'icon-work-item-calendar-week',
|
|
100614
|
-
template: template$
|
|
100615
|
-
styles: styles$
|
|
100621
|
+
template: template$1f,
|
|
100622
|
+
styles: styles$j
|
|
100616
100623
|
});
|
|
100617
100624
|
DesignSystem.getOrCreate()
|
|
100618
100625
|
.withPrefix('spright')
|
|
100619
100626
|
.register(sprightIconWorkItemCalendarWeek());
|
|
100620
100627
|
|
|
100621
|
-
const styles$
|
|
100622
|
-
${styles$
|
|
100628
|
+
const styles$i = css `
|
|
100629
|
+
${styles$1r}
|
|
100623
100630
|
|
|
100624
100631
|
.icon svg {
|
|
100625
100632
|
fill: ${calendarEventBorderCalibrationColor};
|
|
@@ -100636,15 +100643,15 @@ focus outline in that case.
|
|
|
100636
100643
|
}
|
|
100637
100644
|
const sprightIconWorkItemCalipers = IconWorkItemCalipers.compose({
|
|
100638
100645
|
baseName: 'icon-work-item-calipers',
|
|
100639
|
-
template: template$
|
|
100640
|
-
styles: styles$
|
|
100646
|
+
template: template$1f,
|
|
100647
|
+
styles: styles$i
|
|
100641
100648
|
});
|
|
100642
100649
|
DesignSystem.getOrCreate()
|
|
100643
100650
|
.withPrefix('spright')
|
|
100644
100651
|
.register(sprightIconWorkItemCalipers());
|
|
100645
100652
|
|
|
100646
|
-
const styles$
|
|
100647
|
-
${styles$
|
|
100653
|
+
const styles$h = css `
|
|
100654
|
+
${styles$1r}
|
|
100648
100655
|
|
|
100649
100656
|
.icon svg {
|
|
100650
100657
|
fill: ${calendarEventBorderTransportOrderColor};
|
|
@@ -100661,15 +100668,15 @@ focus outline in that case.
|
|
|
100661
100668
|
}
|
|
100662
100669
|
const sprightIconWorkItemForklift = IconWorkItemForklift.compose({
|
|
100663
100670
|
baseName: 'icon-work-item-forklift',
|
|
100664
|
-
template: template$
|
|
100665
|
-
styles: styles$
|
|
100671
|
+
template: template$1f,
|
|
100672
|
+
styles: styles$h
|
|
100666
100673
|
});
|
|
100667
100674
|
DesignSystem.getOrCreate()
|
|
100668
100675
|
.withPrefix('spright')
|
|
100669
100676
|
.register(sprightIconWorkItemForklift());
|
|
100670
100677
|
|
|
100671
|
-
const styles$
|
|
100672
|
-
${styles$
|
|
100678
|
+
const styles$g = css `
|
|
100679
|
+
${styles$1r}
|
|
100673
100680
|
|
|
100674
100681
|
.icon svg {
|
|
100675
100682
|
fill: ${calendarEventBorderStaticColor};
|
|
@@ -100686,15 +100693,40 @@ focus outline in that case.
|
|
|
100686
100693
|
}
|
|
100687
100694
|
const sprightIconWorkItemRectangleCheckLines = IconWorkItemRectangleCheckLines.compose({
|
|
100688
100695
|
baseName: 'icon-work-item-rectangle-check-lines',
|
|
100689
|
-
template: template$
|
|
100690
|
-
styles: styles$
|
|
100696
|
+
template: template$1f,
|
|
100697
|
+
styles: styles$g
|
|
100691
100698
|
});
|
|
100692
100699
|
DesignSystem.getOrCreate()
|
|
100693
100700
|
.withPrefix('spright')
|
|
100694
100701
|
.register(sprightIconWorkItemRectangleCheckLines());
|
|
100695
100702
|
|
|
100696
|
-
const styles$
|
|
100697
|
-
${styles$
|
|
100703
|
+
const styles$f = css `
|
|
100704
|
+
${styles$1r}
|
|
100705
|
+
|
|
100706
|
+
.icon svg {
|
|
100707
|
+
fill: ${calendarEventBorderWorkOrderColor};
|
|
100708
|
+
}
|
|
100709
|
+
`;
|
|
100710
|
+
|
|
100711
|
+
/**
|
|
100712
|
+
* Spright square list cog icon for work order items
|
|
100713
|
+
*/
|
|
100714
|
+
class IconWorkItemSquareListCog extends IconSvg {
|
|
100715
|
+
constructor() {
|
|
100716
|
+
super(squareListCog16X16);
|
|
100717
|
+
}
|
|
100718
|
+
}
|
|
100719
|
+
const sprightIconWorkItemSquareListCog = IconWorkItemSquareListCog.compose({
|
|
100720
|
+
baseName: 'icon-work-item-square-list-cog',
|
|
100721
|
+
template: template$1f,
|
|
100722
|
+
styles: styles$f
|
|
100723
|
+
});
|
|
100724
|
+
DesignSystem.getOrCreate()
|
|
100725
|
+
.withPrefix('spright')
|
|
100726
|
+
.register(sprightIconWorkItemSquareListCog());
|
|
100727
|
+
|
|
100728
|
+
const styles$e = css `
|
|
100729
|
+
${styles$1r}
|
|
100698
100730
|
|
|
100699
100731
|
.icon svg {
|
|
100700
100732
|
fill: ${calendarEventBorderJobColor};
|
|
@@ -100711,15 +100743,15 @@ focus outline in that case.
|
|
|
100711
100743
|
}
|
|
100712
100744
|
const sprightIconWorkItemUserHelmetSafety = IconWorkItemUserHelmetSafety.compose({
|
|
100713
100745
|
baseName: 'icon-work-item-user-helmet-safety',
|
|
100714
|
-
template: template$
|
|
100715
|
-
styles: styles$
|
|
100746
|
+
template: template$1f,
|
|
100747
|
+
styles: styles$e
|
|
100716
100748
|
});
|
|
100717
100749
|
DesignSystem.getOrCreate()
|
|
100718
100750
|
.withPrefix('spright')
|
|
100719
100751
|
.register(sprightIconWorkItemUserHelmetSafety());
|
|
100720
100752
|
|
|
100721
|
-
const styles$
|
|
100722
|
-
${styles$
|
|
100753
|
+
const styles$d = css `
|
|
100754
|
+
${styles$1r}
|
|
100723
100755
|
|
|
100724
100756
|
.icon svg {
|
|
100725
100757
|
fill: ${calendarEventBorderMaintenanceColor};
|
|
@@ -100736,14 +100768,14 @@ focus outline in that case.
|
|
|
100736
100768
|
}
|
|
100737
100769
|
const sprightIconWorkItemWrenchHammer = IconWorkItemWrenchHammer.compose({
|
|
100738
100770
|
baseName: 'icon-work-item-wrench-hammer',
|
|
100739
|
-
template: template$
|
|
100740
|
-
styles: styles$
|
|
100771
|
+
template: template$1f,
|
|
100772
|
+
styles: styles$d
|
|
100741
100773
|
});
|
|
100742
100774
|
DesignSystem.getOrCreate()
|
|
100743
100775
|
.withPrefix('spright')
|
|
100744
100776
|
.register(sprightIconWorkItemWrenchHammer());
|
|
100745
100777
|
|
|
100746
|
-
const styles$
|
|
100778
|
+
const styles$c = css `
|
|
100747
100779
|
${display$1('inline-block')}
|
|
100748
100780
|
|
|
100749
100781
|
:host {
|
|
@@ -100768,7 +100800,7 @@ focus outline in that case.
|
|
|
100768
100800
|
}
|
|
100769
100801
|
`;
|
|
100770
100802
|
|
|
100771
|
-
const template$
|
|
100803
|
+
const template$d = html `<slot></slot>`;
|
|
100772
100804
|
|
|
100773
100805
|
/**
|
|
100774
100806
|
* A Spright demo component (not for production use)
|
|
@@ -100777,8 +100809,8 @@ focus outline in that case.
|
|
|
100777
100809
|
}
|
|
100778
100810
|
const sprightRectangle = Rectangle.compose({
|
|
100779
100811
|
baseName: 'rectangle',
|
|
100780
|
-
template: template$
|
|
100781
|
-
styles: styles$
|
|
100812
|
+
template: template$d,
|
|
100813
|
+
styles: styles$c
|
|
100782
100814
|
});
|
|
100783
100815
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightRectangle());
|
|
100784
100816
|
|
|
@@ -100805,7 +100837,7 @@ focus outline in that case.
|
|
|
100805
100837
|
block: 'block'
|
|
100806
100838
|
};
|
|
100807
100839
|
|
|
100808
|
-
const styles$
|
|
100840
|
+
const styles$b = css `
|
|
100809
100841
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
100810
100842
|
|
|
100811
100843
|
@layer base {
|
|
@@ -100911,7 +100943,7 @@ focus outline in that case.
|
|
|
100911
100943
|
}
|
|
100912
100944
|
`));
|
|
100913
100945
|
|
|
100914
|
-
const template$
|
|
100946
|
+
const template$c = html `
|
|
100915
100947
|
<details
|
|
100916
100948
|
class="accordion-item-details"
|
|
100917
100949
|
?open="${x => x.expanded}"
|
|
@@ -100962,8 +100994,8 @@ focus outline in that case.
|
|
|
100962
100994
|
], FvAccordionItem.prototype, "appearance", void 0);
|
|
100963
100995
|
const okFvAccordionItem = FvAccordionItem.compose({
|
|
100964
100996
|
baseName: 'fv-accordion-item',
|
|
100965
|
-
template: template$
|
|
100966
|
-
styles: styles$
|
|
100997
|
+
template: template$c,
|
|
100998
|
+
styles: styles$b
|
|
100967
100999
|
});
|
|
100968
101000
|
DesignSystem.getOrCreate()
|
|
100969
101001
|
.withPrefix('ok')
|
|
@@ -100978,7 +101010,7 @@ focus outline in that case.
|
|
|
100978
101010
|
card: 'card'
|
|
100979
101011
|
};
|
|
100980
101012
|
|
|
100981
|
-
const styles$
|
|
101013
|
+
const styles$a = css `
|
|
100982
101014
|
${display('block')}
|
|
100983
101015
|
|
|
100984
101016
|
:host {
|
|
@@ -101329,7 +101361,7 @@ focus outline in that case.
|
|
|
101329
101361
|
</div>
|
|
101330
101362
|
</div>
|
|
101331
101363
|
`;
|
|
101332
|
-
const template$
|
|
101364
|
+
const template$b = html `
|
|
101333
101365
|
${when(x => x.interactionMode === FvCardInteractionMode.card, html `
|
|
101334
101366
|
<${cardButtonTag}
|
|
101335
101367
|
class="card-shell card-button-shell"
|
|
@@ -101477,14 +101509,14 @@ focus outline in that case.
|
|
|
101477
101509
|
], FvCard.prototype, "hasFooterEndContent", void 0);
|
|
101478
101510
|
const okFvCard = FvCard.compose({
|
|
101479
101511
|
baseName: 'fv-card',
|
|
101480
|
-
template: template$
|
|
101481
|
-
styles: styles$
|
|
101512
|
+
template: template$b,
|
|
101513
|
+
styles: styles$a
|
|
101482
101514
|
});
|
|
101483
101515
|
DesignSystem.getOrCreate()
|
|
101484
101516
|
.withPrefix('ok')
|
|
101485
101517
|
.register(okFvCard());
|
|
101486
101518
|
|
|
101487
|
-
const styles$
|
|
101519
|
+
const styles$9 = css `
|
|
101488
101520
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
101489
101521
|
|
|
101490
101522
|
@layer base {
|
|
@@ -101732,7 +101764,7 @@ focus outline in that case.
|
|
|
101732
101764
|
@layer top {}
|
|
101733
101765
|
`;
|
|
101734
101766
|
|
|
101735
|
-
const template$
|
|
101767
|
+
const template$a = html `
|
|
101736
101768
|
<div class="chip-selector">
|
|
101737
101769
|
${when(x => x.label.length > 0, html `
|
|
101738
101770
|
<label id="${x => x.labelId}" class="label" for="${x => x.inputId}">
|
|
@@ -102224,12 +102256,12 @@ focus outline in that case.
|
|
|
102224
102256
|
], FvChipSelector.prototype, "field", void 0);
|
|
102225
102257
|
const okFvChipSelector = FvChipSelector.compose({
|
|
102226
102258
|
baseName: 'fv-chip-selector',
|
|
102227
|
-
template: template$
|
|
102228
|
-
styles: styles$
|
|
102259
|
+
template: template$a,
|
|
102260
|
+
styles: styles$9
|
|
102229
102261
|
});
|
|
102230
102262
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvChipSelector());
|
|
102231
102263
|
|
|
102232
|
-
const styles$
|
|
102264
|
+
const styles$8 = css `
|
|
102233
102265
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
102234
102266
|
|
|
102235
102267
|
@layer base {
|
|
@@ -102281,7 +102313,7 @@ focus outline in that case.
|
|
|
102281
102313
|
@layer top {}
|
|
102282
102314
|
`;
|
|
102283
102315
|
|
|
102284
|
-
const template$
|
|
102316
|
+
const template$9 = html `
|
|
102285
102317
|
<button
|
|
102286
102318
|
id="${x => x.tooltipAnchorId}"
|
|
102287
102319
|
class="context-help-trigger"
|
|
@@ -102329,12 +102361,12 @@ focus outline in that case.
|
|
|
102329
102361
|
], FvContextHelp.prototype, "iconVisible", void 0);
|
|
102330
102362
|
const okFvContextHelp = FvContextHelp.compose({
|
|
102331
102363
|
baseName: 'fv-context-help',
|
|
102332
|
-
template: template$
|
|
102333
|
-
styles: styles$
|
|
102364
|
+
template: template$9,
|
|
102365
|
+
styles: styles$8
|
|
102334
102366
|
});
|
|
102335
102367
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvContextHelp());
|
|
102336
102368
|
|
|
102337
|
-
const styles$
|
|
102369
|
+
const styles$7 = css `
|
|
102338
102370
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
102339
102371
|
|
|
102340
102372
|
@layer base {
|
|
@@ -102551,7 +102583,7 @@ focus outline in that case.
|
|
|
102551
102583
|
@layer top {}
|
|
102552
102584
|
`;
|
|
102553
102585
|
|
|
102554
|
-
const template$
|
|
102586
|
+
const template$8 = html `
|
|
102555
102587
|
<div
|
|
102556
102588
|
class="split-button-container"
|
|
102557
102589
|
${ref('splitButtonContainer')}
|
|
@@ -102723,12 +102755,12 @@ focus outline in that case.
|
|
|
102723
102755
|
], FvSplitButton.prototype, "region", void 0);
|
|
102724
102756
|
const okFvSplitButton = FvSplitButton.compose({
|
|
102725
102757
|
baseName: 'fv-split-button',
|
|
102726
|
-
template: template$
|
|
102727
|
-
styles: styles$
|
|
102758
|
+
template: template$8,
|
|
102759
|
+
styles: styles$7
|
|
102728
102760
|
});
|
|
102729
102761
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSplitButton());
|
|
102730
102762
|
|
|
102731
|
-
const styles$
|
|
102763
|
+
const styles$6 = css `
|
|
102732
102764
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
102733
102765
|
|
|
102734
102766
|
@layer base {
|
|
@@ -102953,7 +102985,7 @@ focus outline in that case.
|
|
|
102953
102985
|
@layer top {}
|
|
102954
102986
|
`;
|
|
102955
102987
|
|
|
102956
|
-
const template$
|
|
102988
|
+
const template$7 = html `
|
|
102957
102989
|
<div
|
|
102958
102990
|
class="split-button-container"
|
|
102959
102991
|
${ref('splitButtonContainer')}
|
|
@@ -103153,12 +103185,12 @@ focus outline in that case.
|
|
|
103153
103185
|
], FvSplitButtonAnchor.prototype, "region", void 0);
|
|
103154
103186
|
const okFvSplitButtonAnchor = FvSplitButtonAnchor.compose({
|
|
103155
103187
|
baseName: 'fv-split-button-anchor',
|
|
103156
|
-
template: template$
|
|
103157
|
-
styles: styles$
|
|
103188
|
+
template: template$7,
|
|
103189
|
+
styles: styles$6
|
|
103158
103190
|
});
|
|
103159
103191
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSplitButtonAnchor());
|
|
103160
103192
|
|
|
103161
|
-
const styles$
|
|
103193
|
+
const styles$5 = css `
|
|
103162
103194
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
103163
103195
|
|
|
103164
103196
|
@layer base {
|
|
@@ -103204,7 +103236,7 @@ focus outline in that case.
|
|
|
103204
103236
|
@layer top {}
|
|
103205
103237
|
`;
|
|
103206
103238
|
|
|
103207
|
-
const template$
|
|
103239
|
+
const template$6 = html `
|
|
103208
103240
|
<section class="summary-panel" part="panel">
|
|
103209
103241
|
<div class="summary-item-container" part="items">
|
|
103210
103242
|
<slot @slotchange="${x => x.handleItemsSlotChange()}"></slot>
|
|
@@ -103286,12 +103318,12 @@ focus outline in that case.
|
|
|
103286
103318
|
], FvSummaryPanel.prototype, "editItemsButtonLabel", void 0);
|
|
103287
103319
|
const okFvSummaryPanel = FvSummaryPanel.compose({
|
|
103288
103320
|
baseName: 'fv-summary-panel',
|
|
103289
|
-
template: template$
|
|
103290
|
-
styles: styles$
|
|
103321
|
+
template: template$6,
|
|
103322
|
+
styles: styles$5
|
|
103291
103323
|
});
|
|
103292
103324
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSummaryPanel());
|
|
103293
103325
|
|
|
103294
|
-
const styles$
|
|
103326
|
+
const styles$4 = css `
|
|
103295
103327
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
103296
103328
|
|
|
103297
103329
|
@layer base {
|
|
@@ -103426,7 +103458,7 @@ focus outline in that case.
|
|
|
103426
103458
|
@layer top {}
|
|
103427
103459
|
`;
|
|
103428
103460
|
|
|
103429
|
-
const template$
|
|
103461
|
+
const template$5 = html `
|
|
103430
103462
|
<${cardButtonTag}
|
|
103431
103463
|
class="summary-panel-tile"
|
|
103432
103464
|
?selected="${x => x.selected}"
|
|
@@ -103488,12 +103520,12 @@ focus outline in that case.
|
|
|
103488
103520
|
], FvSummaryPanelTile.prototype, "textPosition", void 0);
|
|
103489
103521
|
const okFvSummaryPanelTile = FvSummaryPanelTile.compose({
|
|
103490
103522
|
baseName: 'fv-summary-panel-tile',
|
|
103491
|
-
template: template$
|
|
103492
|
-
styles: styles$
|
|
103523
|
+
template: template$5,
|
|
103524
|
+
styles: styles$4
|
|
103493
103525
|
});
|
|
103494
103526
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSummaryPanelTile());
|
|
103495
103527
|
|
|
103496
|
-
const styles$
|
|
103528
|
+
const styles$3 = css `
|
|
103497
103529
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
103498
103530
|
|
|
103499
103531
|
@layer base {
|
|
@@ -103668,7 +103700,7 @@ focus outline in that case.
|
|
|
103668
103700
|
}
|
|
103669
103701
|
`;
|
|
103670
103702
|
|
|
103671
|
-
const template$
|
|
103703
|
+
const template$4 = html `
|
|
103672
103704
|
<div class="search-input-container">
|
|
103673
103705
|
<span class="search-input-icon" aria-hidden="true">
|
|
103674
103706
|
<${iconMagnifyingGlassTag}></${iconMagnifyingGlassTag}>
|
|
@@ -103739,15 +103771,15 @@ focus outline in that case.
|
|
|
103739
103771
|
const okFvSearchInput = FvSearchInput.compose({
|
|
103740
103772
|
baseName: 'fv-search-input',
|
|
103741
103773
|
baseClass: TextField$1,
|
|
103742
|
-
template: template$
|
|
103743
|
-
styles: styles$
|
|
103774
|
+
template: template$4,
|
|
103775
|
+
styles: styles$3,
|
|
103744
103776
|
shadowOptions: {
|
|
103745
103777
|
delegatesFocus: true
|
|
103746
103778
|
}
|
|
103747
103779
|
});
|
|
103748
103780
|
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSearchInput());
|
|
103749
103781
|
|
|
103750
|
-
const styles$
|
|
103782
|
+
const styles$2 = css `
|
|
103751
103783
|
${display('inline-block')}
|
|
103752
103784
|
|
|
103753
103785
|
:host {
|
|
@@ -103772,7 +103804,7 @@ focus outline in that case.
|
|
|
103772
103804
|
}
|
|
103773
103805
|
`;
|
|
103774
103806
|
|
|
103775
|
-
const template$
|
|
103807
|
+
const template$3 = html `<slot></slot>`;
|
|
103776
103808
|
|
|
103777
103809
|
/**
|
|
103778
103810
|
* A Ok demo component (not for production use)
|
|
@@ -103781,12 +103813,12 @@ focus outline in that case.
|
|
|
103781
103813
|
}
|
|
103782
103814
|
const okExButton = ExButton.compose({
|
|
103783
103815
|
baseName: 'ex-button',
|
|
103784
|
-
template: template$
|
|
103785
|
-
styles: styles$
|
|
103816
|
+
template: template$3,
|
|
103817
|
+
styles: styles$2
|
|
103786
103818
|
});
|
|
103787
103819
|
DesignSystem.getOrCreate().withPrefix('ok').register(okExButton());
|
|
103788
103820
|
|
|
103789
|
-
const styles = css `
|
|
103821
|
+
const styles$1 = css `
|
|
103790
103822
|
${display('inline-flex')}
|
|
103791
103823
|
|
|
103792
103824
|
:host {
|
|
@@ -103802,7 +103834,7 @@ focus outline in that case.
|
|
|
103802
103834
|
}
|
|
103803
103835
|
`;
|
|
103804
103836
|
|
|
103805
|
-
const template = html `<img aria-hidden="true" src=${x => x.url}>`;
|
|
103837
|
+
const template$2 = html `<img aria-hidden="true" src=${x => x.url}>`;
|
|
103806
103838
|
|
|
103807
103839
|
/* eslint-disable max-classes-per-file */
|
|
103808
103840
|
/**
|
|
@@ -103843,8 +103875,8 @@ focus outline in that case.
|
|
|
103843
103875
|
const baseName = `ts-icon-dynamic-${name}`;
|
|
103844
103876
|
const composedIcon = iconClass.compose({
|
|
103845
103877
|
baseName,
|
|
103846
|
-
template,
|
|
103847
|
-
styles
|
|
103878
|
+
template: template$2,
|
|
103879
|
+
styles: styles$1
|
|
103848
103880
|
});
|
|
103849
103881
|
DesignSystem.getOrCreate().withPrefix('ok').register(composedIcon());
|
|
103850
103882
|
}
|
|
@@ -103856,5 +103888,502 @@ focus outline in that case.
|
|
|
103856
103888
|
});
|
|
103857
103889
|
DesignSystem.getOrCreate().withPrefix('ok').register(okTsIconDynamic());
|
|
103858
103890
|
|
|
103891
|
+
/**
|
|
103892
|
+
* The possible states of a breakpoint indicator.
|
|
103893
|
+
*/
|
|
103894
|
+
const BreakpointState = {
|
|
103895
|
+
off: 'off',
|
|
103896
|
+
enabled: 'enabled',
|
|
103897
|
+
disabled: 'disabled',
|
|
103898
|
+
hit: 'hit',
|
|
103899
|
+
conditional: 'conditional',
|
|
103900
|
+
hitDisabled: 'hit-disabled'
|
|
103901
|
+
};
|
|
103902
|
+
/** @internal */
|
|
103903
|
+
const breakpointMenuItemStateAttributeName = 'data-breakpoint-state';
|
|
103904
|
+
/** @internal */
|
|
103905
|
+
const breakpointCellViewMenuSlotName = 'menu';
|
|
103906
|
+
|
|
103907
|
+
const template$1 = html `
|
|
103908
|
+
<template
|
|
103909
|
+
?open="${x => x.open}"
|
|
103910
|
+
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
103911
|
+
>
|
|
103912
|
+
<button
|
|
103913
|
+
${ref('button')}
|
|
103914
|
+
part="button"
|
|
103915
|
+
class="breakpoint-button state-${x => x.currentState}"
|
|
103916
|
+
@click="${(x, c) => x.onButtonClick(c.event)}"
|
|
103917
|
+
@contextmenu="${(x, c) => x.onContextMenu(c.event)}"
|
|
103918
|
+
@keydown="${(x, c) => x.onKeyDown(c.event)}"
|
|
103919
|
+
aria-label="${x => x.ariaLabelText}"
|
|
103920
|
+
title="${x => x.tooltipText}"
|
|
103921
|
+
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
103922
|
+
tabindex="-1"
|
|
103923
|
+
>
|
|
103924
|
+
${when(x => x.currentState === BreakpointState.off, html `<${iconBreakpointHoverTag} />`)}
|
|
103925
|
+
${when(x => x.currentState === BreakpointState.enabled, html `<${iconBreakpointEnabledTag} />`)}
|
|
103926
|
+
${when(x => x.currentState === BreakpointState.disabled, html `<${iconBreakpointDisabledTag} />`)}
|
|
103927
|
+
${when(x => x.currentState === BreakpointState.hit, html `<${iconBreakpointHitTag} />`)}
|
|
103928
|
+
${when(x => x.currentState === BreakpointState.conditional, html `<${iconBreakpointConditionalTag} />`)}
|
|
103929
|
+
${when(x => x.currentState === BreakpointState.hitDisabled, html `<${iconBreakpointHitDisabledTag} />`)}
|
|
103930
|
+
</button>
|
|
103931
|
+
${when(x => x.open, html `
|
|
103932
|
+
<${anchoredRegionTag}
|
|
103933
|
+
fixed-placement="true"
|
|
103934
|
+
auto-update-mode="auto"
|
|
103935
|
+
horizontal-inset="true"
|
|
103936
|
+
horizontal-positioning-mode="dynamic"
|
|
103937
|
+
vertical-positioning-mode="${x => (x.menuPosition === MenuButtonPosition.auto ? 'dynamic' : 'locktodefault')}"
|
|
103938
|
+
vertical-default-position="${x => (x.menuPosition === MenuButtonPosition.above ? 'top' : 'bottom')}"
|
|
103939
|
+
@loaded="${x => x.regionLoadedHandler()}"
|
|
103940
|
+
@change="${(x, c) => x.onContextMenuChange(c.event)}"
|
|
103941
|
+
@keydown="${(x, c) => x.contextMenuKeyDownHandler(c.event)}"
|
|
103942
|
+
${ref('region')}
|
|
103943
|
+
>
|
|
103944
|
+
<span part="menu">
|
|
103945
|
+
<slot name="${breakpointCellViewMenuSlotName}" ${slotted({ property: 'slottedMenus' })}></slot>
|
|
103946
|
+
</span>
|
|
103947
|
+
</${anchoredRegionTag}>
|
|
103948
|
+
`)}
|
|
103949
|
+
</template>
|
|
103950
|
+
`;
|
|
103951
|
+
|
|
103952
|
+
const styles = css `
|
|
103953
|
+
${display$2('inline-flex')}
|
|
103954
|
+
|
|
103955
|
+
:host {
|
|
103956
|
+
align-items: center;
|
|
103957
|
+
justify-content: center;
|
|
103958
|
+
flex-shrink: 0;
|
|
103959
|
+
}
|
|
103960
|
+
|
|
103961
|
+
.breakpoint-button {
|
|
103962
|
+
display: flex;
|
|
103963
|
+
align-items: center;
|
|
103964
|
+
justify-content: center;
|
|
103965
|
+
flex-shrink: 0;
|
|
103966
|
+
padding: 0;
|
|
103967
|
+
margin: 0;
|
|
103968
|
+
border: none;
|
|
103969
|
+
background: transparent;
|
|
103970
|
+
cursor: pointer;
|
|
103971
|
+
outline-offset: -1px;
|
|
103972
|
+
width: ${iconSize};
|
|
103973
|
+
height: ${iconSize};
|
|
103974
|
+
}
|
|
103975
|
+
|
|
103976
|
+
.breakpoint-button:focus-visible {
|
|
103977
|
+
outline: calc(2 * ${borderWidth}) solid ${borderHoverColor};
|
|
103978
|
+
outline-offset: -2px;
|
|
103979
|
+
}
|
|
103980
|
+
|
|
103981
|
+
.breakpoint-button svg {
|
|
103982
|
+
width: ${iconSize};
|
|
103983
|
+
height: ${iconSize};
|
|
103984
|
+
}
|
|
103985
|
+
|
|
103986
|
+
.breakpoint-button.state-off > * {
|
|
103987
|
+
opacity: 0;
|
|
103988
|
+
}
|
|
103989
|
+
|
|
103990
|
+
.breakpoint-button.state-off:hover > *,
|
|
103991
|
+
.breakpoint-button.state-off:focus-visible > * {
|
|
103992
|
+
opacity: 1;
|
|
103993
|
+
}
|
|
103994
|
+
|
|
103995
|
+
`;
|
|
103996
|
+
|
|
103997
|
+
/**
|
|
103998
|
+
* Cell view for the breakpoint column that renders a clickable breakpoint indicator.
|
|
103999
|
+
*/
|
|
104000
|
+
class TsTableColumnBreakpointCellView extends TableCellView {
|
|
104001
|
+
constructor() {
|
|
104002
|
+
super(...arguments);
|
|
104003
|
+
/**
|
|
104004
|
+
* Specifies whether or not the menu is open.
|
|
104005
|
+
*/
|
|
104006
|
+
this.open = false;
|
|
104007
|
+
this.focusLastItemWhenOpened = false;
|
|
104008
|
+
/** @internal */
|
|
104009
|
+
this.breakpointEnabledString = 'Breakpoint enabled';
|
|
104010
|
+
/** @internal */
|
|
104011
|
+
this.breakpointDisabledString = 'Breakpoint disabled';
|
|
104012
|
+
/** @internal */
|
|
104013
|
+
this.breakpointHitString = 'Breakpoint hit';
|
|
104014
|
+
/** @internal */
|
|
104015
|
+
this.breakpointConditionalString = 'Conditional breakpoint';
|
|
104016
|
+
/** @internal */
|
|
104017
|
+
this.breakpointHitDisabledString = 'Breakpoint hit (disabled)';
|
|
104018
|
+
/** @internal */
|
|
104019
|
+
this.breakpointAddString = 'Add breakpoint';
|
|
104020
|
+
/** @internal */
|
|
104021
|
+
this.breakpointRemoveString = 'Remove breakpoint';
|
|
104022
|
+
this.menuChangeHandler = () => {
|
|
104023
|
+
this.open = false;
|
|
104024
|
+
this.button?.focus();
|
|
104025
|
+
};
|
|
104026
|
+
}
|
|
104027
|
+
/** @internal */
|
|
104028
|
+
get currentState() {
|
|
104029
|
+
const value = this.cellRecord?.value;
|
|
104030
|
+
if (value && Object.values(BreakpointState).includes(value)) {
|
|
104031
|
+
return value;
|
|
104032
|
+
}
|
|
104033
|
+
return BreakpointState.off;
|
|
104034
|
+
}
|
|
104035
|
+
/** @internal */
|
|
104036
|
+
get tooltipText() {
|
|
104037
|
+
if (this.currentState === BreakpointState.off) {
|
|
104038
|
+
return this.breakpointAddString;
|
|
104039
|
+
}
|
|
104040
|
+
return this.breakpointRemoveString;
|
|
104041
|
+
}
|
|
104042
|
+
/** @internal */
|
|
104043
|
+
get ariaLabelText() {
|
|
104044
|
+
switch (this.currentState) {
|
|
104045
|
+
case BreakpointState.enabled:
|
|
104046
|
+
return this.breakpointEnabledString;
|
|
104047
|
+
case BreakpointState.disabled:
|
|
104048
|
+
return this.breakpointDisabledString;
|
|
104049
|
+
case BreakpointState.hit:
|
|
104050
|
+
return this.breakpointHitString;
|
|
104051
|
+
case BreakpointState.conditional:
|
|
104052
|
+
return this.breakpointConditionalString;
|
|
104053
|
+
case BreakpointState.hitDisabled:
|
|
104054
|
+
return this.breakpointHitDisabledString;
|
|
104055
|
+
default:
|
|
104056
|
+
return this.breakpointAddString;
|
|
104057
|
+
}
|
|
104058
|
+
}
|
|
104059
|
+
/** @internal */
|
|
104060
|
+
get menuPosition() {
|
|
104061
|
+
return this.columnConfig?.position ?? MenuButtonPosition.auto;
|
|
104062
|
+
}
|
|
104063
|
+
get tabbableChildren() {
|
|
104064
|
+
if (this.button) {
|
|
104065
|
+
return [this.button];
|
|
104066
|
+
}
|
|
104067
|
+
return [];
|
|
104068
|
+
}
|
|
104069
|
+
/** @internal */
|
|
104070
|
+
onButtonClick(event) {
|
|
104071
|
+
event.stopPropagation();
|
|
104072
|
+
const oldState = this.currentState;
|
|
104073
|
+
const newState = oldState === BreakpointState.off
|
|
104074
|
+
? BreakpointState.enabled
|
|
104075
|
+
: BreakpointState.off;
|
|
104076
|
+
this.emitToggle(oldState, newState);
|
|
104077
|
+
}
|
|
104078
|
+
/** @internal */
|
|
104079
|
+
onContextMenu(event) {
|
|
104080
|
+
event.preventDefault();
|
|
104081
|
+
event.stopPropagation();
|
|
104082
|
+
this.requestContextMenu();
|
|
104083
|
+
}
|
|
104084
|
+
/** @internal */
|
|
104085
|
+
onKeyDown(event) {
|
|
104086
|
+
if ((event.key === 'F10' && event.shiftKey)
|
|
104087
|
+
|| event.key === TsTableColumnBreakpointCellView.menuKeyAlias
|
|
104088
|
+
|| (event.key === TsTableColumnBreakpointCellView.contextMenuKeyAlias)) {
|
|
104089
|
+
event.preventDefault();
|
|
104090
|
+
event.stopPropagation();
|
|
104091
|
+
this.requestContextMenu();
|
|
104092
|
+
return false;
|
|
104093
|
+
}
|
|
104094
|
+
if (event.key === 'F9' || ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'b')) {
|
|
104095
|
+
event.preventDefault();
|
|
104096
|
+
event.stopPropagation();
|
|
104097
|
+
this.onButtonClick(event);
|
|
104098
|
+
return false;
|
|
104099
|
+
}
|
|
104100
|
+
if (event.key === 'ArrowDown') {
|
|
104101
|
+
event.preventDefault();
|
|
104102
|
+
event.stopPropagation();
|
|
104103
|
+
this.focusLastItemWhenOpened = false;
|
|
104104
|
+
this.requestContextMenu();
|
|
104105
|
+
return false;
|
|
104106
|
+
}
|
|
104107
|
+
if (event.key === 'ArrowUp') {
|
|
104108
|
+
event.preventDefault();
|
|
104109
|
+
event.stopPropagation();
|
|
104110
|
+
this.focusLastItemWhenOpened = true;
|
|
104111
|
+
this.requestContextMenu();
|
|
104112
|
+
return false;
|
|
104113
|
+
}
|
|
104114
|
+
return true;
|
|
104115
|
+
}
|
|
104116
|
+
regionLoadedHandler() {
|
|
104117
|
+
if (this.focusLastItemWhenOpened) {
|
|
104118
|
+
this.focusLastItemWhenOpened = false;
|
|
104119
|
+
this.focusLastMenuItem();
|
|
104120
|
+
}
|
|
104121
|
+
else {
|
|
104122
|
+
this.focusMenu();
|
|
104123
|
+
}
|
|
104124
|
+
}
|
|
104125
|
+
regionChanged(prev, _next) {
|
|
104126
|
+
if (prev) {
|
|
104127
|
+
prev.removeEventListener('change', this.menuChangeHandler, { capture: true });
|
|
104128
|
+
}
|
|
104129
|
+
if (this.region) {
|
|
104130
|
+
this.region.anchorElement = this.button ?? this;
|
|
104131
|
+
this.region.addEventListener('change', this.menuChangeHandler, { capture: true });
|
|
104132
|
+
}
|
|
104133
|
+
}
|
|
104134
|
+
buttonChanged() {
|
|
104135
|
+
if (this.region) {
|
|
104136
|
+
this.region.anchorElement = this.button ?? this;
|
|
104137
|
+
}
|
|
104138
|
+
}
|
|
104139
|
+
focusoutHandler(e) {
|
|
104140
|
+
if (!this.open) {
|
|
104141
|
+
return true;
|
|
104142
|
+
}
|
|
104143
|
+
const focusTarget = e.relatedTarget;
|
|
104144
|
+
if (!this.contains(focusTarget)
|
|
104145
|
+
&& !this.region?.contains(focusTarget)
|
|
104146
|
+
&& !this.getMenu()?.contains(focusTarget)) {
|
|
104147
|
+
this.open = false;
|
|
104148
|
+
return false;
|
|
104149
|
+
}
|
|
104150
|
+
return true;
|
|
104151
|
+
}
|
|
104152
|
+
contextMenuKeyDownHandler(e) {
|
|
104153
|
+
switch (e.key) {
|
|
104154
|
+
case 'Escape':
|
|
104155
|
+
this.open = false;
|
|
104156
|
+
this.button?.focus();
|
|
104157
|
+
return false;
|
|
104158
|
+
default:
|
|
104159
|
+
return true;
|
|
104160
|
+
}
|
|
104161
|
+
}
|
|
104162
|
+
onContextMenuChange(event) {
|
|
104163
|
+
const requestedState = this.getRequestedStateFromEvent(event);
|
|
104164
|
+
if (!requestedState) {
|
|
104165
|
+
return;
|
|
104166
|
+
}
|
|
104167
|
+
const detail = {
|
|
104168
|
+
recordId: this.recordId,
|
|
104169
|
+
requestedState,
|
|
104170
|
+
currentState: this.currentState
|
|
104171
|
+
};
|
|
104172
|
+
this.$emit('breakpoint-column-state-change-requested', detail);
|
|
104173
|
+
}
|
|
104174
|
+
getMenu() {
|
|
104175
|
+
if (!this.slottedMenus || this.slottedMenus.length === 0) {
|
|
104176
|
+
return undefined;
|
|
104177
|
+
}
|
|
104178
|
+
let currentItem = this.slottedMenus[0];
|
|
104179
|
+
while (currentItem) {
|
|
104180
|
+
if (currentItem.getAttribute('role') === 'menu') {
|
|
104181
|
+
return currentItem;
|
|
104182
|
+
}
|
|
104183
|
+
if (this.isSlotElement(currentItem)) {
|
|
104184
|
+
const firstNode = currentItem.assignedNodes()[0];
|
|
104185
|
+
if (firstNode instanceof HTMLElement) {
|
|
104186
|
+
currentItem = firstNode;
|
|
104187
|
+
}
|
|
104188
|
+
else {
|
|
104189
|
+
currentItem = undefined;
|
|
104190
|
+
}
|
|
104191
|
+
}
|
|
104192
|
+
else {
|
|
104193
|
+
return undefined;
|
|
104194
|
+
}
|
|
104195
|
+
}
|
|
104196
|
+
return undefined;
|
|
104197
|
+
}
|
|
104198
|
+
isSlotElement(element) {
|
|
104199
|
+
return element?.nodeName === 'SLOT';
|
|
104200
|
+
}
|
|
104201
|
+
focusMenu() {
|
|
104202
|
+
this.getMenu()?.focus();
|
|
104203
|
+
}
|
|
104204
|
+
focusLastMenuItem() {
|
|
104205
|
+
const menuItems = this.getMenu()?.querySelectorAll('[role=menuitem]');
|
|
104206
|
+
if (menuItems && menuItems.length > 0) {
|
|
104207
|
+
const lastMenuItem = menuItems[menuItems.length - 1];
|
|
104208
|
+
lastMenuItem.focus();
|
|
104209
|
+
}
|
|
104210
|
+
}
|
|
104211
|
+
emitToggle(oldState, newState) {
|
|
104212
|
+
const detail = {
|
|
104213
|
+
recordId: this.recordId,
|
|
104214
|
+
newState,
|
|
104215
|
+
oldState
|
|
104216
|
+
};
|
|
104217
|
+
this.$emit('breakpoint-column-toggle', detail);
|
|
104218
|
+
}
|
|
104219
|
+
requestContextMenu() {
|
|
104220
|
+
this.openMenuFromColumnSlot();
|
|
104221
|
+
}
|
|
104222
|
+
openMenuFromColumnSlot() {
|
|
104223
|
+
const configuredSlotName = this.columnConfig?.menuSlot;
|
|
104224
|
+
if (!configuredSlotName) {
|
|
104225
|
+
return;
|
|
104226
|
+
}
|
|
104227
|
+
const eventDetail = {
|
|
104228
|
+
slots: [
|
|
104229
|
+
{
|
|
104230
|
+
name: configuredSlotName,
|
|
104231
|
+
slot: breakpointCellViewMenuSlotName
|
|
104232
|
+
}
|
|
104233
|
+
]
|
|
104234
|
+
};
|
|
104235
|
+
this.$emit('cell-view-slots-request', eventDetail);
|
|
104236
|
+
this.open = true;
|
|
104237
|
+
}
|
|
104238
|
+
getRequestedStateFromEvent(event) {
|
|
104239
|
+
const target = event.target;
|
|
104240
|
+
if (!(target instanceof HTMLElement)) {
|
|
104241
|
+
return undefined;
|
|
104242
|
+
}
|
|
104243
|
+
const stateElement = target.closest(`[${breakpointMenuItemStateAttributeName}]`);
|
|
104244
|
+
if (!stateElement) {
|
|
104245
|
+
return undefined;
|
|
104246
|
+
}
|
|
104247
|
+
const requestedState = stateElement.getAttribute(breakpointMenuItemStateAttributeName);
|
|
104248
|
+
if (requestedState && Object.values(BreakpointState).includes(requestedState)) {
|
|
104249
|
+
return requestedState;
|
|
104250
|
+
}
|
|
104251
|
+
return undefined;
|
|
104252
|
+
}
|
|
104253
|
+
}
|
|
104254
|
+
TsTableColumnBreakpointCellView.menuKeyAlias = 'Menu';
|
|
104255
|
+
TsTableColumnBreakpointCellView.contextMenuKeyAlias = 'ContextMenu';
|
|
104256
|
+
__decorate([
|
|
104257
|
+
attr({ mode: 'boolean' })
|
|
104258
|
+
], TsTableColumnBreakpointCellView.prototype, "open", void 0);
|
|
104259
|
+
__decorate([
|
|
104260
|
+
observable
|
|
104261
|
+
], TsTableColumnBreakpointCellView.prototype, "region", void 0);
|
|
104262
|
+
__decorate([
|
|
104263
|
+
observable
|
|
104264
|
+
], TsTableColumnBreakpointCellView.prototype, "slottedMenus", void 0);
|
|
104265
|
+
__decorate([
|
|
104266
|
+
observable
|
|
104267
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointEnabledString", void 0);
|
|
104268
|
+
__decorate([
|
|
104269
|
+
observable
|
|
104270
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointDisabledString", void 0);
|
|
104271
|
+
__decorate([
|
|
104272
|
+
observable
|
|
104273
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointHitString", void 0);
|
|
104274
|
+
__decorate([
|
|
104275
|
+
observable
|
|
104276
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointConditionalString", void 0);
|
|
104277
|
+
__decorate([
|
|
104278
|
+
observable
|
|
104279
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointHitDisabledString", void 0);
|
|
104280
|
+
__decorate([
|
|
104281
|
+
observable
|
|
104282
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointAddString", void 0);
|
|
104283
|
+
__decorate([
|
|
104284
|
+
observable
|
|
104285
|
+
], TsTableColumnBreakpointCellView.prototype, "breakpointRemoveString", void 0);
|
|
104286
|
+
const tsTableColumnBreakpointCellView = TsTableColumnBreakpointCellView.compose({
|
|
104287
|
+
baseName: 'ts-table-column-breakpoint-cell-view',
|
|
104288
|
+
template: template$1,
|
|
104289
|
+
styles
|
|
104290
|
+
});
|
|
104291
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(tsTableColumnBreakpointCellView());
|
|
104292
|
+
const tsTableColumnBreakpointCellViewTag = 'ok-ts-table-column-breakpoint-cell-view';
|
|
104293
|
+
|
|
104294
|
+
const template = html `
|
|
104295
|
+
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
104296
|
+
>${template$J}</template
|
|
104297
|
+
>
|
|
104298
|
+
`;
|
|
104299
|
+
|
|
104300
|
+
/**
|
|
104301
|
+
* A table column that displays a breakpoint indicator with toggle functionality.
|
|
104302
|
+
*/
|
|
104303
|
+
class TsTableColumnBreakpoint extends TableColumn {
|
|
104304
|
+
constructor() {
|
|
104305
|
+
super();
|
|
104306
|
+
this.position = MenuButtonPosition.auto;
|
|
104307
|
+
// Breakpoint columns are icon-only and should remain fixed-size and non-resizable.
|
|
104308
|
+
this.columnInternals.resizingDisabled = true;
|
|
104309
|
+
this.columnInternals.pixelWidth = singleIconColumnWidth;
|
|
104310
|
+
this.columnInternals.minPixelWidth = singleIconColumnWidth;
|
|
104311
|
+
}
|
|
104312
|
+
/** @internal */
|
|
104313
|
+
onDelegatedEvent(e) {
|
|
104314
|
+
e.stopImmediatePropagation();
|
|
104315
|
+
const event = e;
|
|
104316
|
+
if (event.detail.originalEvent.type === 'breakpoint-column-toggle') {
|
|
104317
|
+
const originalEvent = event.detail.originalEvent;
|
|
104318
|
+
const detail = {
|
|
104319
|
+
...originalEvent.detail,
|
|
104320
|
+
recordId: event.detail.recordId
|
|
104321
|
+
};
|
|
104322
|
+
this.$emit('breakpoint-column-toggle', detail);
|
|
104323
|
+
}
|
|
104324
|
+
else if (event.detail.originalEvent.type === 'breakpoint-column-state-change-requested') {
|
|
104325
|
+
const originalEvent = event.detail.originalEvent;
|
|
104326
|
+
const detail = {
|
|
104327
|
+
...originalEvent.detail,
|
|
104328
|
+
recordId: event.detail.recordId
|
|
104329
|
+
};
|
|
104330
|
+
this.$emit('breakpoint-column-state-change-requested', detail);
|
|
104331
|
+
}
|
|
104332
|
+
}
|
|
104333
|
+
/**
|
|
104334
|
+
* Programmatically requests a breakpoint state change for a record.
|
|
104335
|
+
*/
|
|
104336
|
+
requestBreakpointStateChange(recordId, currentState, requestedState) {
|
|
104337
|
+
const detail = {
|
|
104338
|
+
recordId,
|
|
104339
|
+
currentState,
|
|
104340
|
+
requestedState
|
|
104341
|
+
};
|
|
104342
|
+
this.$emit('breakpoint-column-state-change-requested', detail);
|
|
104343
|
+
}
|
|
104344
|
+
getColumnInternalsOptions() {
|
|
104345
|
+
return {
|
|
104346
|
+
cellRecordFieldNames: ['value'],
|
|
104347
|
+
cellViewTag: tsTableColumnBreakpointCellViewTag,
|
|
104348
|
+
delegatedEvents: ['breakpoint-column-toggle', 'breakpoint-column-state-change-requested'],
|
|
104349
|
+
slotNames: [breakpointCellViewMenuSlotName],
|
|
104350
|
+
validator: new ColumnValidator([])
|
|
104351
|
+
};
|
|
104352
|
+
}
|
|
104353
|
+
fieldNameChanged() {
|
|
104354
|
+
this.columnInternals.dataRecordFieldNames = [this.fieldName];
|
|
104355
|
+
this.columnInternals.operandDataRecordFieldName = this.fieldName;
|
|
104356
|
+
}
|
|
104357
|
+
menuSlotChanged() {
|
|
104358
|
+
this.updateColumnConfig();
|
|
104359
|
+
}
|
|
104360
|
+
positionChanged() {
|
|
104361
|
+
this.updateColumnConfig();
|
|
104362
|
+
}
|
|
104363
|
+
updateColumnConfig() {
|
|
104364
|
+
this.columnInternals.columnConfig = {
|
|
104365
|
+
menuSlot: this.menuSlot,
|
|
104366
|
+
position: this.position
|
|
104367
|
+
};
|
|
104368
|
+
}
|
|
104369
|
+
}
|
|
104370
|
+
__decorate([
|
|
104371
|
+
attr({ attribute: 'field-name' })
|
|
104372
|
+
], TsTableColumnBreakpoint.prototype, "fieldName", void 0);
|
|
104373
|
+
__decorate([
|
|
104374
|
+
attr({ attribute: 'menu-slot' })
|
|
104375
|
+
], TsTableColumnBreakpoint.prototype, "menuSlot", void 0);
|
|
104376
|
+
__decorate([
|
|
104377
|
+
attr
|
|
104378
|
+
], TsTableColumnBreakpoint.prototype, "position", void 0);
|
|
104379
|
+
const tsTableColumnBreakpoint = TsTableColumnBreakpoint.compose({
|
|
104380
|
+
baseName: 'ts-table-column-breakpoint',
|
|
104381
|
+
template,
|
|
104382
|
+
styles: styles$I
|
|
104383
|
+
});
|
|
104384
|
+
DesignSystem.getOrCreate()
|
|
104385
|
+
.withPrefix('ok')
|
|
104386
|
+
.register(tsTableColumnBreakpoint());
|
|
104387
|
+
|
|
103859
104388
|
})();
|
|
103860
104389
|
//# sourceMappingURL=all-components-bundle.js.map
|