@ni/ok-components 1.0.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-components-bundle.js +624 -369
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +5396 -5190
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +144 -31
- package/dist/custom-elements.md +43 -8
- package/dist/esm/fv/all-fv.d.ts +1 -0
- package/dist/esm/fv/all-fv.js +1 -0
- package/dist/esm/fv/all-fv.js.map +1 -1
- package/dist/esm/fv/search-input/index.d.ts +23 -0
- package/dist/esm/fv/search-input/index.js +50 -0
- package/dist/esm/fv/search-input/index.js.map +1 -0
- package/dist/esm/fv/search-input/styles.d.ts +1 -0
- package/dist/esm/fv/search-input/styles.js +178 -0
- package/dist/esm/fv/search-input/styles.js.map +1 -0
- package/dist/esm/fv/search-input/template.d.ts +2 -0
- package/dist/esm/fv/search-input/template.js +34 -0
- package/dist/esm/fv/search-input/template.js.map +1 -0
- package/dist/esm/fv/search-input/testing/fv-search-input.pageobject.d.ts +22 -0
- package/dist/esm/fv/search-input/testing/fv-search-input.pageobject.js +65 -0
- package/dist/esm/fv/search-input/testing/fv-search-input.pageobject.js.map +1 -0
- package/dist/esm/fv/search-input/types.d.ts +7 -0
- package/dist/esm/fv/search-input/types.js +7 -0
- package/dist/esm/fv/search-input/types.js.map +1 -0
- package/package.json +3 -3
|
@@ -14764,6 +14764,7 @@
|
|
|
14764
14764
|
const tokenNames = {
|
|
14765
14765
|
actionRgbPartialColor: 'action-rgb-partial-color',
|
|
14766
14766
|
applicationBackgroundColor: 'application-background-color',
|
|
14767
|
+
containerBackgroundColor: 'container-background-color',
|
|
14767
14768
|
dividerBackgroundColor: 'divider-background-color',
|
|
14768
14769
|
dividerBackgroundDynamicColor: 'divider-background-dynamic-color',
|
|
14769
14770
|
headerBackgroundColor: 'header-background-color',
|
|
@@ -14898,9 +14899,9 @@
|
|
|
14898
14899
|
const prefix = 'ni-nimble';
|
|
14899
14900
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
14900
14901
|
|
|
14901
|
-
const template$
|
|
14902
|
+
const template$13 = html `<slot></slot>`;
|
|
14902
14903
|
|
|
14903
|
-
const styles$
|
|
14904
|
+
const styles$1q = css `
|
|
14904
14905
|
${display$2('contents')}
|
|
14905
14906
|
`;
|
|
14906
14907
|
|
|
@@ -15015,8 +15016,8 @@
|
|
|
15015
15016
|
], ThemeProvider.prototype, "theme", void 0);
|
|
15016
15017
|
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
15017
15018
|
baseName: 'theme-provider',
|
|
15018
|
-
styles: styles$
|
|
15019
|
-
template: template$
|
|
15019
|
+
styles: styles$1q,
|
|
15020
|
+
template: template$13
|
|
15020
15021
|
});
|
|
15021
15022
|
DesignSystem.getOrCreate()
|
|
15022
15023
|
.withPrefix('nimble')
|
|
@@ -16301,6 +16302,7 @@
|
|
|
16301
16302
|
const tokenValues = {
|
|
16302
16303
|
actionRgbPartialColor: hexToRgbPartialThemeColor(createThemeColor(Black91, Black15, White)),
|
|
16303
16304
|
applicationBackgroundColor: createThemeColor(White, Black85, ForestGreen),
|
|
16305
|
+
containerBackgroundColor: hexToRgbaCssThemeColor(createThemeColor(Black91, Black15, White), 0.07, 0.1, 0.1),
|
|
16304
16306
|
headerBackgroundColor: createThemeColor(Black7, Black88, ForestGreen),
|
|
16305
16307
|
sectionBackgroundColor: createThemeColor(Black15, Black80, ForestGreen),
|
|
16306
16308
|
sectionBackgroundImage: createThemeColor(`linear-gradient(${Black15}, ${hexToRgbaCssColor(Black15, 0)})`, `linear-gradient(${Black82}, ${hexToRgbaCssColor(Black82, 0)})`, `linear-gradient(${ForestGreen}, ${hexToRgbaCssColor(ForestGreen, 0)})`),
|
|
@@ -16474,6 +16476,7 @@
|
|
|
16474
16476
|
// #region color tokens
|
|
16475
16477
|
const actionRgbPartialColor = createThemeColorToken(tokenNames.actionRgbPartialColor, tokenValues.actionRgbPartialColor);
|
|
16476
16478
|
const applicationBackgroundColor = createThemeColorToken(tokenNames.applicationBackgroundColor, tokenValues.applicationBackgroundColor);
|
|
16479
|
+
createThemeColorToken(tokenNames.containerBackgroundColor, tokenValues.containerBackgroundColor);
|
|
16477
16480
|
createThemeColorToken(tokenNames.headerBackgroundColor, tokenValues.headerBackgroundColor);
|
|
16478
16481
|
createThemeColorToken(tokenNames.sectionBackgroundColor, tokenValues.sectionBackgroundColor);
|
|
16479
16482
|
const sectionBackgroundImage = createThemeColorToken(tokenNames.sectionBackgroundImage, tokenValues.sectionBackgroundImage);
|
|
@@ -16658,7 +16661,7 @@
|
|
|
16658
16661
|
}
|
|
16659
16662
|
// #endregion
|
|
16660
16663
|
|
|
16661
|
-
const styles$
|
|
16664
|
+
const styles$1p = css `
|
|
16662
16665
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
16663
16666
|
|
|
16664
16667
|
@layer base {
|
|
@@ -16736,7 +16739,7 @@
|
|
|
16736
16739
|
}
|
|
16737
16740
|
`;
|
|
16738
16741
|
|
|
16739
|
-
const template$
|
|
16742
|
+
const template$12 = (_context, definition) => html `${
|
|
16740
16743
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16741
16744
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
16742
16745
|
*/ ''}<div
|
|
@@ -16839,8 +16842,8 @@
|
|
|
16839
16842
|
const nimbleAnchor = Anchor.compose({
|
|
16840
16843
|
baseName: 'anchor',
|
|
16841
16844
|
baseClass: Anchor$1,
|
|
16842
|
-
template: template$
|
|
16843
|
-
styles: styles$
|
|
16845
|
+
template: template$12,
|
|
16846
|
+
styles: styles$1p,
|
|
16844
16847
|
shadowOptions: {
|
|
16845
16848
|
delegatesFocus: true
|
|
16846
16849
|
}
|
|
@@ -16949,7 +16952,7 @@
|
|
|
16949
16952
|
padding: 0;
|
|
16950
16953
|
`;
|
|
16951
16954
|
|
|
16952
|
-
const styles$
|
|
16955
|
+
const styles$1o = css `
|
|
16953
16956
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
16954
16957
|
|
|
16955
16958
|
@layer base {
|
|
@@ -17233,8 +17236,8 @@
|
|
|
17233
17236
|
}
|
|
17234
17237
|
`));
|
|
17235
17238
|
|
|
17236
|
-
const styles$
|
|
17237
|
-
${styles$
|
|
17239
|
+
const styles$1n = css `
|
|
17240
|
+
${styles$1o}
|
|
17238
17241
|
${buttonAppearanceVariantStyles}
|
|
17239
17242
|
|
|
17240
17243
|
.control {
|
|
@@ -17254,7 +17257,7 @@
|
|
|
17254
17257
|
}
|
|
17255
17258
|
`;
|
|
17256
17259
|
|
|
17257
|
-
const template$
|
|
17260
|
+
const template$11 = (context, definition) => html `
|
|
17258
17261
|
<a
|
|
17259
17262
|
class="control"
|
|
17260
17263
|
part="control"
|
|
@@ -17336,8 +17339,8 @@
|
|
|
17336
17339
|
], AnchorButton.prototype, "disabled", void 0);
|
|
17337
17340
|
const nimbleAnchorButton = AnchorButton.compose({
|
|
17338
17341
|
baseName: 'anchor-button',
|
|
17339
|
-
template: template$
|
|
17340
|
-
styles: styles$
|
|
17342
|
+
template: template$11,
|
|
17343
|
+
styles: styles$1n,
|
|
17341
17344
|
shadowOptions: {
|
|
17342
17345
|
delegatesFocus: true
|
|
17343
17346
|
}
|
|
@@ -17345,7 +17348,7 @@
|
|
|
17345
17348
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
|
|
17346
17349
|
const anchorButtonTag = 'nimble-anchor-button';
|
|
17347
17350
|
|
|
17348
|
-
const styles$
|
|
17351
|
+
const styles$1m = css `
|
|
17349
17352
|
${display$2('grid')}
|
|
17350
17353
|
|
|
17351
17354
|
:host {
|
|
@@ -17428,7 +17431,7 @@
|
|
|
17428
17431
|
}
|
|
17429
17432
|
`;
|
|
17430
17433
|
|
|
17431
|
-
const template
|
|
17434
|
+
const template$10 = (context, definition) => html `
|
|
17432
17435
|
<template
|
|
17433
17436
|
role="menuitem"
|
|
17434
17437
|
class="${x => (typeof x.startColumnCount === 'number'
|
|
@@ -17529,8 +17532,8 @@
|
|
|
17529
17532
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
17530
17533
|
const nimbleAnchorMenuItem = AnchorMenuItem.compose({
|
|
17531
17534
|
baseName: 'anchor-menu-item',
|
|
17532
|
-
template: template
|
|
17533
|
-
styles: styles$
|
|
17535
|
+
template: template$10,
|
|
17536
|
+
styles: styles$1m,
|
|
17534
17537
|
shadowOptions: {
|
|
17535
17538
|
delegatesFocus: true
|
|
17536
17539
|
}
|
|
@@ -17542,7 +17545,7 @@
|
|
|
17542
17545
|
|
|
17543
17546
|
// These styles end up inside a @layer block so must use the
|
|
17544
17547
|
// cssPartial tag instead of the css tag
|
|
17545
|
-
const styles$
|
|
17548
|
+
const styles$1l = cssPartial `
|
|
17546
17549
|
.severity-text {
|
|
17547
17550
|
display: none;
|
|
17548
17551
|
font: ${errorTextFont};
|
|
@@ -17652,12 +17655,12 @@
|
|
|
17652
17655
|
const themeBehavior = (theme, styles) => new ThemeStyleSheetBehavior(theme, styles);
|
|
17653
17656
|
/* eslint-enable max-classes-per-file */
|
|
17654
17657
|
|
|
17655
|
-
const styles$
|
|
17658
|
+
const styles$1k = css `
|
|
17656
17659
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
17657
17660
|
|
|
17658
17661
|
@layer base {
|
|
17659
17662
|
${display$2('inline-flex')}
|
|
17660
|
-
${styles$
|
|
17663
|
+
${styles$1l}
|
|
17661
17664
|
:host {
|
|
17662
17665
|
color: ${buttonLabelFontColor};
|
|
17663
17666
|
font: ${buttonLabelFont};
|
|
@@ -18203,8 +18206,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
18203
18206
|
}
|
|
18204
18207
|
`));
|
|
18205
18208
|
|
|
18206
|
-
const styles$
|
|
18207
|
-
${styles$
|
|
18209
|
+
const styles$1j = css `
|
|
18210
|
+
${styles$1k}
|
|
18208
18211
|
${'' /* Anchor specific styles */}
|
|
18209
18212
|
@layer base {
|
|
18210
18213
|
.control {
|
|
@@ -19247,13 +19250,13 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19247
19250
|
};
|
|
19248
19251
|
|
|
19249
19252
|
// Avoiding any whitespace in the template because this is an inline element
|
|
19250
|
-
const template
|
|
19253
|
+
const template$$ = html `<div
|
|
19251
19254
|
class="icon"
|
|
19252
19255
|
aria-hidden="true"
|
|
19253
19256
|
:innerHTML=${x => x.icon.data}
|
|
19254
19257
|
></div>`;
|
|
19255
19258
|
|
|
19256
|
-
const styles$
|
|
19259
|
+
const styles$1i = css `
|
|
19257
19260
|
${display$2('inline-flex')}
|
|
19258
19261
|
|
|
19259
19262
|
:host {
|
|
@@ -19316,8 +19319,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19316
19319
|
const registerIconSvg = (baseName, iconClass) => {
|
|
19317
19320
|
const composedIcon = iconClass.compose({
|
|
19318
19321
|
baseName,
|
|
19319
|
-
template: template
|
|
19320
|
-
styles: styles$
|
|
19322
|
+
template: template$$,
|
|
19323
|
+
styles: styles$1i
|
|
19321
19324
|
});
|
|
19322
19325
|
DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
|
|
19323
19326
|
};
|
|
@@ -19441,7 +19444,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19441
19444
|
*/
|
|
19442
19445
|
const StepperOrientation = Orientation;
|
|
19443
19446
|
|
|
19444
|
-
const template$
|
|
19447
|
+
const template$_ = (context, definition) => html `
|
|
19445
19448
|
<template slot="step">
|
|
19446
19449
|
<li class="
|
|
19447
19450
|
container
|
|
@@ -19588,15 +19591,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19588
19591
|
], AnchorStep.prototype, "tabIndex", void 0);
|
|
19589
19592
|
const nimbleAnchorStep = AnchorStep.compose({
|
|
19590
19593
|
baseName: 'anchor-step',
|
|
19591
|
-
template: template$
|
|
19592
|
-
styles: styles$
|
|
19594
|
+
template: template$_,
|
|
19595
|
+
styles: styles$1j,
|
|
19593
19596
|
shadowOptions: {
|
|
19594
19597
|
delegatesFocus: true
|
|
19595
19598
|
}
|
|
19596
19599
|
});
|
|
19597
19600
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorStep());
|
|
19598
19601
|
|
|
19599
|
-
const styles$
|
|
19602
|
+
const styles$1h = css `
|
|
19600
19603
|
${display$2('inline-flex')}
|
|
19601
19604
|
|
|
19602
19605
|
:host {
|
|
@@ -19713,7 +19716,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19713
19716
|
}
|
|
19714
19717
|
`;
|
|
19715
19718
|
|
|
19716
|
-
const template$
|
|
19719
|
+
const template$Z = (context, definition) => html `
|
|
19717
19720
|
<template slot="anchortab" role="tab" aria-disabled="${x => x.disabled}">
|
|
19718
19721
|
<a
|
|
19719
19722
|
download="${x => x.download}"
|
|
@@ -19765,15 +19768,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19765
19768
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
19766
19769
|
const nimbleAnchorTab = AnchorTab.compose({
|
|
19767
19770
|
baseName: 'anchor-tab',
|
|
19768
|
-
template: template$
|
|
19769
|
-
styles: styles$
|
|
19771
|
+
template: template$Z,
|
|
19772
|
+
styles: styles$1h,
|
|
19770
19773
|
shadowOptions: {
|
|
19771
19774
|
delegatesFocus: true
|
|
19772
19775
|
}
|
|
19773
19776
|
});
|
|
19774
19777
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTab());
|
|
19775
19778
|
|
|
19776
|
-
const styles$
|
|
19779
|
+
const styles$1g = css `
|
|
19777
19780
|
${display$2('flex')}
|
|
19778
19781
|
|
|
19779
19782
|
:host {
|
|
@@ -19813,12 +19816,12 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19813
19816
|
}
|
|
19814
19817
|
`;
|
|
19815
19818
|
|
|
19816
|
-
const styles$
|
|
19817
|
-
${styles$
|
|
19819
|
+
const styles$1f = css `
|
|
19820
|
+
${styles$1o}
|
|
19818
19821
|
${buttonAppearanceVariantStyles}
|
|
19819
19822
|
`;
|
|
19820
19823
|
|
|
19821
|
-
const template$
|
|
19824
|
+
const template$Y = (context, definition) => html `
|
|
19822
19825
|
<button
|
|
19823
19826
|
class="control"
|
|
19824
19827
|
part="control"
|
|
@@ -19909,8 +19912,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19909
19912
|
const nimbleButton = Button.compose({
|
|
19910
19913
|
baseName: 'button',
|
|
19911
19914
|
baseClass: Button$1,
|
|
19912
|
-
template: template$
|
|
19913
|
-
styles: styles$
|
|
19915
|
+
template: template$Y,
|
|
19916
|
+
styles: styles$1f,
|
|
19914
19917
|
shadowOptions: {
|
|
19915
19918
|
delegatesFocus: true
|
|
19916
19919
|
}
|
|
@@ -19944,7 +19947,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19944
19947
|
registerIconSvg('icon-arrow-expander-right', IconArrowExpanderRight);
|
|
19945
19948
|
const iconArrowExpanderRightTag = 'nimble-icon-arrow-expander-right';
|
|
19946
19949
|
|
|
19947
|
-
const template$
|
|
19950
|
+
const template$X = (context, definition) => html `
|
|
19948
19951
|
<div
|
|
19949
19952
|
class="tab-bar"
|
|
19950
19953
|
>
|
|
@@ -20245,15 +20248,15 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20245
20248
|
applyMixins(AnchorTabs, StartEnd);
|
|
20246
20249
|
const nimbleAnchorTabs = AnchorTabs.compose({
|
|
20247
20250
|
baseName: 'anchor-tabs',
|
|
20248
|
-
template: template$
|
|
20249
|
-
styles: styles$
|
|
20251
|
+
template: template$X,
|
|
20252
|
+
styles: styles$1g,
|
|
20250
20253
|
shadowOptions: {
|
|
20251
20254
|
delegatesFocus: false
|
|
20252
20255
|
}
|
|
20253
20256
|
});
|
|
20254
20257
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorTabs());
|
|
20255
20258
|
|
|
20256
|
-
const styles$
|
|
20259
|
+
const styles$1e = css `
|
|
20257
20260
|
${display$2('block')}
|
|
20258
20261
|
|
|
20259
20262
|
:host {
|
|
@@ -20358,7 +20361,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20358
20361
|
}
|
|
20359
20362
|
`;
|
|
20360
20363
|
|
|
20361
|
-
const template$
|
|
20364
|
+
const template$W = (context, definition) => html `
|
|
20362
20365
|
<template
|
|
20363
20366
|
role="treeitem"
|
|
20364
20367
|
slot="${x => (x.isNestedItem() ? 'item' : null)}"
|
|
@@ -20495,8 +20498,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20495
20498
|
// FoundationAnchor already applies the StartEnd mixin, so we don't need to do it here.
|
|
20496
20499
|
const nimbleAnchorTreeItem = AnchorTreeItem.compose({
|
|
20497
20500
|
baseName: 'anchor-tree-item',
|
|
20498
|
-
template: template$
|
|
20499
|
-
styles: styles$
|
|
20501
|
+
template: template$W,
|
|
20502
|
+
styles: styles$1e,
|
|
20500
20503
|
shadowOptions: {
|
|
20501
20504
|
delegatesFocus: true
|
|
20502
20505
|
}
|
|
@@ -20512,7 +20515,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20512
20515
|
zIndex1000: '1000'
|
|
20513
20516
|
};
|
|
20514
20517
|
|
|
20515
|
-
const styles$
|
|
20518
|
+
const styles$1d = css `
|
|
20516
20519
|
${display$2('block')}
|
|
20517
20520
|
|
|
20518
20521
|
:host {
|
|
@@ -20543,14 +20546,14 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20543
20546
|
baseName: 'anchored-region',
|
|
20544
20547
|
baseClass: AnchoredRegion$1,
|
|
20545
20548
|
template: anchoredRegionTemplate,
|
|
20546
|
-
styles: styles$
|
|
20549
|
+
styles: styles$1d
|
|
20547
20550
|
});
|
|
20548
20551
|
DesignSystem.getOrCreate()
|
|
20549
20552
|
.withPrefix('nimble')
|
|
20550
20553
|
.register(nimbleAnchoredRegion());
|
|
20551
20554
|
const anchoredRegionTag = 'nimble-anchored-region';
|
|
20552
20555
|
|
|
20553
|
-
const styles$
|
|
20556
|
+
const styles$1c = css `
|
|
20554
20557
|
${display$2('flex')}
|
|
20555
20558
|
|
|
20556
20559
|
:host {
|
|
@@ -20702,7 +20705,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20702
20705
|
information: 'information'
|
|
20703
20706
|
};
|
|
20704
20707
|
|
|
20705
|
-
const template$
|
|
20708
|
+
const template$V = html `
|
|
20706
20709
|
<${themeProviderTag} theme="${Theme.color}">
|
|
20707
20710
|
<div class="container"
|
|
20708
20711
|
role="status"
|
|
@@ -20820,8 +20823,8 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20820
20823
|
applyMixins(Banner, ARIAGlobalStatesAndProperties);
|
|
20821
20824
|
const nimbleBanner = Banner.compose({
|
|
20822
20825
|
baseName: 'banner',
|
|
20823
|
-
template: template$
|
|
20824
|
-
styles: styles$
|
|
20826
|
+
template: template$V,
|
|
20827
|
+
styles: styles$1c
|
|
20825
20828
|
});
|
|
20826
20829
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
20827
20830
|
|
|
@@ -20862,7 +20865,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20862
20865
|
</template>
|
|
20863
20866
|
`;
|
|
20864
20867
|
|
|
20865
|
-
const styles$
|
|
20868
|
+
const styles$1b = css `
|
|
20866
20869
|
${display$2('inline-flex')}
|
|
20867
20870
|
|
|
20868
20871
|
:host {
|
|
@@ -20966,11 +20969,11 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
20966
20969
|
baseName: 'breadcrumb',
|
|
20967
20970
|
baseClass: Breadcrumb$1,
|
|
20968
20971
|
template: breadcrumbTemplate,
|
|
20969
|
-
styles: styles$
|
|
20972
|
+
styles: styles$1b
|
|
20970
20973
|
});
|
|
20971
20974
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
|
|
20972
20975
|
|
|
20973
|
-
const styles$
|
|
20976
|
+
const styles$1a = css `
|
|
20974
20977
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
20975
20978
|
|
|
20976
20979
|
@layer base {
|
|
@@ -21067,14 +21070,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21067
21070
|
baseName: 'breadcrumb-item',
|
|
21068
21071
|
baseClass: BreadcrumbItem$1,
|
|
21069
21072
|
template: breadcrumbItemTemplate,
|
|
21070
|
-
styles: styles$
|
|
21073
|
+
styles: styles$1a,
|
|
21071
21074
|
separator: forwardSlash16X16.data
|
|
21072
21075
|
});
|
|
21073
21076
|
DesignSystem.getOrCreate()
|
|
21074
21077
|
.withPrefix('nimble')
|
|
21075
21078
|
.register(nimbleBreadcrumbItem());
|
|
21076
21079
|
|
|
21077
|
-
const styles$
|
|
21080
|
+
const styles$19 = css `
|
|
21078
21081
|
${display$2('flex')}
|
|
21079
21082
|
|
|
21080
21083
|
:host {
|
|
@@ -21098,7 +21101,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21098
21101
|
}
|
|
21099
21102
|
`;
|
|
21100
21103
|
|
|
21101
|
-
const template$
|
|
21104
|
+
const template$U = html `
|
|
21102
21105
|
<section aria-labelledby="title-slot">
|
|
21103
21106
|
<span id="title-slot"><slot name="title"></slot></span>
|
|
21104
21107
|
<slot></slot>
|
|
@@ -21113,12 +21116,12 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21113
21116
|
const nimbleCard = Card.compose({
|
|
21114
21117
|
baseName: 'card',
|
|
21115
21118
|
baseClass: Card$1,
|
|
21116
|
-
template: template$
|
|
21117
|
-
styles: styles$
|
|
21119
|
+
template: template$U,
|
|
21120
|
+
styles: styles$19
|
|
21118
21121
|
});
|
|
21119
21122
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
21120
21123
|
|
|
21121
|
-
const styles$
|
|
21124
|
+
const styles$18 = css `
|
|
21122
21125
|
${display$2('inline-flex')}
|
|
21123
21126
|
|
|
21124
21127
|
:host {
|
|
@@ -21276,14 +21279,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21276
21279
|
const nimbleCardButton = CardButton.compose({
|
|
21277
21280
|
baseName: 'card-button',
|
|
21278
21281
|
template: buttonTemplate,
|
|
21279
|
-
styles: styles$
|
|
21282
|
+
styles: styles$18,
|
|
21280
21283
|
shadowOptions: {
|
|
21281
21284
|
delegatesFocus: true
|
|
21282
21285
|
}
|
|
21283
21286
|
});
|
|
21284
21287
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCardButton());
|
|
21285
21288
|
|
|
21286
|
-
const styles$
|
|
21289
|
+
const styles$17 = css `
|
|
21287
21290
|
.error-icon {
|
|
21288
21291
|
display: none;
|
|
21289
21292
|
}
|
|
@@ -21317,9 +21320,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21317
21320
|
}
|
|
21318
21321
|
`;
|
|
21319
21322
|
|
|
21320
|
-
const styles$
|
|
21323
|
+
const styles$16 = css `
|
|
21321
21324
|
${display$2('inline-grid')}
|
|
21322
|
-
${styles$
|
|
21325
|
+
${styles$17}
|
|
21323
21326
|
|
|
21324
21327
|
:host {
|
|
21325
21328
|
font: ${bodyFont};
|
|
@@ -21458,7 +21461,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21458
21461
|
</div>
|
|
21459
21462
|
`;
|
|
21460
21463
|
|
|
21461
|
-
const template$
|
|
21464
|
+
const template$T = (_context, definition) => html `
|
|
21462
21465
|
<template
|
|
21463
21466
|
role="checkbox"
|
|
21464
21467
|
aria-checked="${x => x.checked}"
|
|
@@ -21543,8 +21546,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21543
21546
|
const nimbleCheckbox = Checkbox.compose({
|
|
21544
21547
|
baseName: 'checkbox',
|
|
21545
21548
|
baseClass: Checkbox$1,
|
|
21546
|
-
template: template$
|
|
21547
|
-
styles: styles$
|
|
21549
|
+
template: template$T,
|
|
21550
|
+
styles: styles$16,
|
|
21548
21551
|
checkedIndicator: check16X16.data,
|
|
21549
21552
|
indeterminateIndicator: minus16X16.data
|
|
21550
21553
|
});
|
|
@@ -21556,7 +21559,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21556
21559
|
block: 'block'
|
|
21557
21560
|
};
|
|
21558
21561
|
|
|
21559
|
-
const styles$
|
|
21562
|
+
const styles$15 = css `
|
|
21560
21563
|
${display$2('inline-flex')}
|
|
21561
21564
|
|
|
21562
21565
|
:host {
|
|
@@ -21617,7 +21620,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21617
21620
|
}
|
|
21618
21621
|
`));
|
|
21619
21622
|
|
|
21620
|
-
const template$
|
|
21623
|
+
const template$S = (context, definition) => html `
|
|
21621
21624
|
${startSlotTemplate(context, definition)}
|
|
21622
21625
|
<span
|
|
21623
21626
|
class="content"
|
|
@@ -21703,16 +21706,16 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21703
21706
|
applyMixins(Chip, StartEnd);
|
|
21704
21707
|
const nimbleChip = Chip.compose({
|
|
21705
21708
|
baseName: 'chip',
|
|
21706
|
-
template: template$
|
|
21707
|
-
styles: styles$
|
|
21709
|
+
template: template$S,
|
|
21710
|
+
styles: styles$15,
|
|
21708
21711
|
shadowOptions: {
|
|
21709
21712
|
delegatesFocus: true
|
|
21710
21713
|
}
|
|
21711
21714
|
});
|
|
21712
21715
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleChip());
|
|
21713
21716
|
|
|
21714
|
-
const styles$
|
|
21715
|
-
${styles$
|
|
21717
|
+
const styles$14 = css `
|
|
21718
|
+
${styles$1o}
|
|
21716
21719
|
${buttonAppearanceVariantStyles}
|
|
21717
21720
|
|
|
21718
21721
|
@layer checked {
|
|
@@ -21759,7 +21762,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21759
21762
|
}
|
|
21760
21763
|
`));
|
|
21761
21764
|
|
|
21762
|
-
const template$
|
|
21765
|
+
const template$R = (context, definition) => html `
|
|
21763
21766
|
<div
|
|
21764
21767
|
role="button"
|
|
21765
21768
|
part="control"
|
|
@@ -21854,8 +21857,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21854
21857
|
applyMixins(ToggleButton, StartEnd, DelegatesARIAButton);
|
|
21855
21858
|
const nimbleToggleButton = ToggleButton.compose({
|
|
21856
21859
|
baseName: 'toggle-button',
|
|
21857
|
-
template: template$
|
|
21858
|
-
styles: styles$
|
|
21860
|
+
template: template$R,
|
|
21861
|
+
styles: styles$14,
|
|
21859
21862
|
shadowOptions: {
|
|
21860
21863
|
delegatesFocus: true
|
|
21861
21864
|
}
|
|
@@ -21885,7 +21888,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21885
21888
|
frameless: 'frameless'
|
|
21886
21889
|
};
|
|
21887
21890
|
|
|
21888
|
-
const styles$
|
|
21891
|
+
const styles$13 = css `
|
|
21889
21892
|
${display$2('inline-flex')}
|
|
21890
21893
|
|
|
21891
21894
|
:host {
|
|
@@ -22175,7 +22178,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22175
22178
|
}
|
|
22176
22179
|
`));
|
|
22177
22180
|
|
|
22178
|
-
const styles$
|
|
22181
|
+
const styles$12 = css `
|
|
22179
22182
|
.annotated-label {
|
|
22180
22183
|
display: flex;
|
|
22181
22184
|
flex-direction: row;
|
|
@@ -22202,10 +22205,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22202
22205
|
none: undefined,
|
|
22203
22206
|
standard: 'standard'};
|
|
22204
22207
|
|
|
22205
|
-
const styles$
|
|
22208
|
+
const styles$11 = css `
|
|
22209
|
+
${styles$13}
|
|
22210
|
+
${styles$17}
|
|
22206
22211
|
${styles$12}
|
|
22207
|
-
${styles$16}
|
|
22208
|
-
${styles$11}
|
|
22209
22212
|
|
|
22210
22213
|
:host {
|
|
22211
22214
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -22326,7 +22329,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22326
22329
|
<slot></slot>
|
|
22327
22330
|
</label>
|
|
22328
22331
|
`);
|
|
22329
|
-
const template$
|
|
22332
|
+
const template$Q = (context, definition) => html `
|
|
22330
22333
|
<template
|
|
22331
22334
|
aria-disabled="${x => x.ariaDisabled}"
|
|
22332
22335
|
autocomplete="${x => x.autocomplete}"
|
|
@@ -23101,8 +23104,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23101
23104
|
const nimbleCombobox = Combobox.compose({
|
|
23102
23105
|
baseName: 'combobox',
|
|
23103
23106
|
baseClass: FormAssociatedCombobox,
|
|
23104
|
-
template: template$
|
|
23105
|
-
styles: styles$
|
|
23107
|
+
template: template$Q,
|
|
23108
|
+
styles: styles$11,
|
|
23106
23109
|
shadowOptions: {
|
|
23107
23110
|
delegatesFocus: true
|
|
23108
23111
|
},
|
|
@@ -23146,7 +23149,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23146
23149
|
*/
|
|
23147
23150
|
const UserDismissed = Symbol('user dismissed');
|
|
23148
23151
|
|
|
23149
|
-
const styles
|
|
23152
|
+
const styles$10 = css `
|
|
23150
23153
|
${display$2('grid')}
|
|
23151
23154
|
|
|
23152
23155
|
dialog {
|
|
@@ -23239,7 +23242,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23239
23242
|
}
|
|
23240
23243
|
`;
|
|
23241
23244
|
|
|
23242
|
-
const template$
|
|
23245
|
+
const template$P = html `
|
|
23243
23246
|
<template>
|
|
23244
23247
|
<dialog
|
|
23245
23248
|
${ref('dialogElement')}
|
|
@@ -23387,13 +23390,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23387
23390
|
applyMixins(Dialog, ARIAGlobalStatesAndProperties);
|
|
23388
23391
|
const nimbleDialog = Dialog.compose({
|
|
23389
23392
|
baseName: 'dialog',
|
|
23390
|
-
template: template$
|
|
23391
|
-
styles: styles
|
|
23393
|
+
template: template$P,
|
|
23394
|
+
styles: styles$10,
|
|
23392
23395
|
baseClass: Dialog
|
|
23393
23396
|
});
|
|
23394
23397
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDialog());
|
|
23395
23398
|
|
|
23396
|
-
const styles
|
|
23399
|
+
const styles$$ = css `
|
|
23397
23400
|
${display$2('block')}
|
|
23398
23401
|
|
|
23399
23402
|
:host {
|
|
@@ -23536,7 +23539,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23536
23539
|
}
|
|
23537
23540
|
`;
|
|
23538
23541
|
|
|
23539
|
-
const template$
|
|
23542
|
+
const template$O = html `
|
|
23540
23543
|
<dialog
|
|
23541
23544
|
${ref('dialog')}
|
|
23542
23545
|
aria-label="${x => x.ariaLabel}"
|
|
@@ -23678,8 +23681,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
23678
23681
|
applyMixins(Drawer, ARIAGlobalStatesAndProperties);
|
|
23679
23682
|
const nimbleDrawer = Drawer.compose({
|
|
23680
23683
|
baseName: 'drawer',
|
|
23681
|
-
template: template$
|
|
23682
|
-
styles: styles
|
|
23684
|
+
template: template$O,
|
|
23685
|
+
styles: styles$$
|
|
23683
23686
|
});
|
|
23684
23687
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleDrawer());
|
|
23685
23688
|
|
|
@@ -26463,7 +26466,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26463
26466
|
}
|
|
26464
26467
|
}
|
|
26465
26468
|
|
|
26466
|
-
const styles$
|
|
26469
|
+
const styles$_ = css `
|
|
26467
26470
|
${display$2('none')}
|
|
26468
26471
|
`;
|
|
26469
26472
|
|
|
@@ -26536,7 +26539,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26536
26539
|
], LabelProviderCore.prototype, "itemRemove", void 0);
|
|
26537
26540
|
const nimbleLabelProviderCore = LabelProviderCore.compose({
|
|
26538
26541
|
baseName: 'label-provider-core',
|
|
26539
|
-
styles: styles$
|
|
26542
|
+
styles: styles$_
|
|
26540
26543
|
});
|
|
26541
26544
|
DesignSystem.getOrCreate()
|
|
26542
26545
|
.withPrefix('nimble')
|
|
@@ -26703,13 +26706,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26703
26706
|
], LabelProviderTable.prototype, "groupRowPlaceholderEmpty", void 0);
|
|
26704
26707
|
const nimbleLabelProviderTable = LabelProviderTable.compose({
|
|
26705
26708
|
baseName: 'label-provider-table',
|
|
26706
|
-
styles: styles$
|
|
26709
|
+
styles: styles$_
|
|
26707
26710
|
});
|
|
26708
26711
|
DesignSystem.getOrCreate()
|
|
26709
26712
|
.withPrefix('nimble')
|
|
26710
26713
|
.register(nimbleLabelProviderTable());
|
|
26711
26714
|
|
|
26712
|
-
const styles$
|
|
26715
|
+
const styles$Z = css `
|
|
26713
26716
|
${display$2('flex')}
|
|
26714
26717
|
|
|
26715
26718
|
:host {
|
|
@@ -26785,7 +26788,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26785
26788
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
26786
26789
|
* @public
|
|
26787
26790
|
*/
|
|
26788
|
-
const template$
|
|
26791
|
+
const template$N = (context, definition) => html `
|
|
26789
26792
|
<template
|
|
26790
26793
|
aria-checked="${x => x.ariaChecked}"
|
|
26791
26794
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -26887,13 +26890,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26887
26890
|
const nimbleListOption = ListOption.compose({
|
|
26888
26891
|
baseName: 'list-option',
|
|
26889
26892
|
baseClass: ListboxOption,
|
|
26890
|
-
template: template$
|
|
26891
|
-
styles: styles$
|
|
26893
|
+
template: template$N,
|
|
26894
|
+
styles: styles$Z
|
|
26892
26895
|
});
|
|
26893
26896
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleListOption());
|
|
26894
26897
|
const listOptionTag = 'nimble-list-option';
|
|
26895
26898
|
|
|
26896
|
-
const styles$
|
|
26899
|
+
const styles$Y = css `
|
|
26897
26900
|
${display$2('flex')}
|
|
26898
26901
|
|
|
26899
26902
|
:host {
|
|
@@ -26955,7 +26958,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26955
26958
|
const isListOption$1 = (n) => {
|
|
26956
26959
|
return n instanceof ListOption;
|
|
26957
26960
|
};
|
|
26958
|
-
const template$
|
|
26961
|
+
const template$M = html `
|
|
26959
26962
|
<template
|
|
26960
26963
|
role="group"
|
|
26961
26964
|
aria-label="${x => x.labelContent}"
|
|
@@ -27097,8 +27100,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27097
27100
|
const nimbleListOptionGroup = ListOptionGroup.compose({
|
|
27098
27101
|
baseName: 'list-option-group',
|
|
27099
27102
|
baseClass: FoundationElement,
|
|
27100
|
-
template: template$
|
|
27101
|
-
styles: styles$
|
|
27103
|
+
template: template$M,
|
|
27104
|
+
styles: styles$Y
|
|
27102
27105
|
});
|
|
27103
27106
|
DesignSystem.getOrCreate()
|
|
27104
27107
|
.withPrefix('nimble')
|
|
@@ -27125,9 +27128,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27125
27128
|
attr()
|
|
27126
27129
|
], Mapping$1.prototype, "key", void 0);
|
|
27127
27130
|
|
|
27128
|
-
const template$
|
|
27131
|
+
const template$L = html `<template slot="mapping"></template>`;
|
|
27129
27132
|
|
|
27130
|
-
const styles$
|
|
27133
|
+
const styles$X = css `
|
|
27131
27134
|
${display$2('none')}
|
|
27132
27135
|
`;
|
|
27133
27136
|
|
|
@@ -27143,8 +27146,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27143
27146
|
], MappingEmpty.prototype, "text", void 0);
|
|
27144
27147
|
const emptyMapping = MappingEmpty.compose({
|
|
27145
27148
|
baseName: 'mapping-empty',
|
|
27146
|
-
template: template$
|
|
27147
|
-
styles: styles$
|
|
27149
|
+
template: template$L,
|
|
27150
|
+
styles: styles$X
|
|
27148
27151
|
});
|
|
27149
27152
|
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
27150
27153
|
|
|
@@ -27214,8 +27217,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27214
27217
|
], MappingIcon.prototype, "resolvedIcon", void 0);
|
|
27215
27218
|
const iconMapping = MappingIcon.compose({
|
|
27216
27219
|
baseName: 'mapping-icon',
|
|
27217
|
-
template: template$
|
|
27218
|
-
styles: styles$
|
|
27220
|
+
template: template$L,
|
|
27221
|
+
styles: styles$X
|
|
27219
27222
|
});
|
|
27220
27223
|
DesignSystem.getOrCreate().withPrefix('nimble').register(iconMapping());
|
|
27221
27224
|
|
|
@@ -27238,8 +27241,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27238
27241
|
], MappingSpinner.prototype, "textHidden", void 0);
|
|
27239
27242
|
const spinnerMapping = MappingSpinner.compose({
|
|
27240
27243
|
baseName: 'mapping-spinner',
|
|
27241
|
-
template: template$
|
|
27242
|
-
styles: styles$
|
|
27244
|
+
template: template$L,
|
|
27245
|
+
styles: styles$X
|
|
27243
27246
|
});
|
|
27244
27247
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
27245
27248
|
|
|
@@ -27255,8 +27258,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27255
27258
|
], MappingText.prototype, "text", void 0);
|
|
27256
27259
|
const textMapping = MappingText.compose({
|
|
27257
27260
|
baseName: 'mapping-text',
|
|
27258
|
-
template: template$
|
|
27259
|
-
styles: styles$
|
|
27261
|
+
template: template$L,
|
|
27262
|
+
styles: styles$X
|
|
27260
27263
|
});
|
|
27261
27264
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
27262
27265
|
|
|
@@ -27558,7 +27561,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27558
27561
|
observable
|
|
27559
27562
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
27560
27563
|
|
|
27561
|
-
const template$
|
|
27564
|
+
const template$K = () => html `
|
|
27562
27565
|
<template
|
|
27563
27566
|
slot="${x => {
|
|
27564
27567
|
if (x.slot) {
|
|
@@ -27575,7 +27578,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27575
27578
|
</template>
|
|
27576
27579
|
`;
|
|
27577
27580
|
|
|
27578
|
-
const styles$
|
|
27581
|
+
const styles$W = css `
|
|
27579
27582
|
${display$2('grid')}
|
|
27580
27583
|
|
|
27581
27584
|
:host {
|
|
@@ -27646,8 +27649,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27646
27649
|
const nimbleMenu = Menu.compose({
|
|
27647
27650
|
baseName: 'menu',
|
|
27648
27651
|
baseClass: Menu$1,
|
|
27649
|
-
template: template$
|
|
27650
|
-
styles: styles$
|
|
27652
|
+
template: template$K,
|
|
27653
|
+
styles: styles$W
|
|
27651
27654
|
});
|
|
27652
27655
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenu());
|
|
27653
27656
|
|
|
@@ -27662,7 +27665,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27662
27665
|
auto: 'auto'
|
|
27663
27666
|
};
|
|
27664
27667
|
|
|
27665
|
-
const styles$
|
|
27668
|
+
const styles$V = css `
|
|
27666
27669
|
${display$2('inline-block')}
|
|
27667
27670
|
|
|
27668
27671
|
:host {
|
|
@@ -27680,7 +27683,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27680
27683
|
}
|
|
27681
27684
|
`;
|
|
27682
27685
|
|
|
27683
|
-
const template$
|
|
27686
|
+
const template$J = html `
|
|
27684
27687
|
<template
|
|
27685
27688
|
?open="${x => x.open}"
|
|
27686
27689
|
@focusout="${(x, c) => x.focusoutHandler(c.event)}"
|
|
@@ -27930,8 +27933,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27930
27933
|
], MenuButton.prototype, "slottedMenus", void 0);
|
|
27931
27934
|
const nimbleMenuButton = MenuButton.compose({
|
|
27932
27935
|
baseName: 'menu-button',
|
|
27933
|
-
template: template$
|
|
27934
|
-
styles: styles$
|
|
27936
|
+
template: template$J,
|
|
27937
|
+
styles: styles$V,
|
|
27935
27938
|
shadowOptions: {
|
|
27936
27939
|
delegatesFocus: true
|
|
27937
27940
|
}
|
|
@@ -27939,7 +27942,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27939
27942
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuButton());
|
|
27940
27943
|
const menuButtonTag = 'nimble-menu-button';
|
|
27941
27944
|
|
|
27942
|
-
const styles$
|
|
27945
|
+
const styles$U = css `
|
|
27943
27946
|
${display$2('grid')}
|
|
27944
27947
|
|
|
27945
27948
|
:host {
|
|
@@ -28036,7 +28039,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28036
28039
|
baseName: 'menu-item',
|
|
28037
28040
|
baseClass: MenuItem$1,
|
|
28038
28041
|
template: menuItemTemplate,
|
|
28039
|
-
styles: styles$
|
|
28042
|
+
styles: styles$U,
|
|
28040
28043
|
expandCollapseGlyph: arrowExpanderRight16X16.data
|
|
28041
28044
|
});
|
|
28042
28045
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleMenuItem());
|
|
@@ -28051,10 +28054,10 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28051
28054
|
frameless: 'frameless'
|
|
28052
28055
|
};
|
|
28053
28056
|
|
|
28054
|
-
const styles$
|
|
28057
|
+
const styles$T = css `
|
|
28055
28058
|
${display$2('inline-block')}
|
|
28056
|
-
${styles$
|
|
28057
|
-
${styles$
|
|
28059
|
+
${styles$17}
|
|
28060
|
+
${styles$12}
|
|
28058
28061
|
|
|
28059
28062
|
:host {
|
|
28060
28063
|
font: ${bodyFont};
|
|
@@ -28277,7 +28280,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28277
28280
|
* The template for the {@link @ni/fast-foundation#(NumberField:class)} component.
|
|
28278
28281
|
* @public
|
|
28279
28282
|
*/
|
|
28280
|
-
const template$
|
|
28283
|
+
const template$I = (context, definition) => html `
|
|
28281
28284
|
<template class="${x => (x.readOnly ? 'readonly' : '')}">
|
|
28282
28285
|
${labelTemplate$4}
|
|
28283
28286
|
<div class="root" part="root">
|
|
@@ -28431,8 +28434,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28431
28434
|
const nimbleNumberField = NumberField.compose({
|
|
28432
28435
|
baseName: 'number-field',
|
|
28433
28436
|
baseClass: NumberField$1,
|
|
28434
|
-
template: template$
|
|
28435
|
-
styles: styles$
|
|
28437
|
+
template: template$I,
|
|
28438
|
+
styles: styles$T,
|
|
28436
28439
|
shadowOptions: {
|
|
28437
28440
|
delegatesFocus: true
|
|
28438
28441
|
},
|
|
@@ -28475,7 +28478,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28475
28478
|
});
|
|
28476
28479
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleNumberField());
|
|
28477
28480
|
|
|
28478
|
-
const styles$
|
|
28481
|
+
const styles$S = css `
|
|
28479
28482
|
${display$2('inline-flex')}
|
|
28480
28483
|
|
|
28481
28484
|
:host {
|
|
@@ -28575,15 +28578,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28575
28578
|
baseName: 'radio',
|
|
28576
28579
|
baseClass: Radio$1,
|
|
28577
28580
|
template: radioTemplate,
|
|
28578
|
-
styles: styles$
|
|
28581
|
+
styles: styles$S,
|
|
28579
28582
|
checkedIndicator: circleFilled16X16.data
|
|
28580
28583
|
});
|
|
28581
28584
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleRadio());
|
|
28582
28585
|
|
|
28583
|
-
const styles$
|
|
28586
|
+
const styles$R = css `
|
|
28584
28587
|
${display$2('inline-block')}
|
|
28585
|
-
${styles$
|
|
28586
|
-
${styles$
|
|
28588
|
+
${styles$17}
|
|
28589
|
+
${styles$12}
|
|
28587
28590
|
|
|
28588
28591
|
.positioning-region {
|
|
28589
28592
|
display: flex;
|
|
@@ -28622,7 +28625,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28622
28625
|
`;
|
|
28623
28626
|
|
|
28624
28627
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
28625
|
-
const template$
|
|
28628
|
+
const template$H = html `
|
|
28626
28629
|
<template
|
|
28627
28630
|
role="radiogroup"
|
|
28628
28631
|
aria-disabled="${x => x.disabled}"
|
|
@@ -28662,8 +28665,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
28662
28665
|
const nimbleRadioGroup = RadioGroup.compose({
|
|
28663
28666
|
baseName: 'radio-group',
|
|
28664
28667
|
baseClass: RadioGroup$1,
|
|
28665
|
-
template: template$
|
|
28666
|
-
styles: styles$
|
|
28668
|
+
template: template$H,
|
|
28669
|
+
styles: styles$R,
|
|
28667
28670
|
shadowOptions: {
|
|
28668
28671
|
delegatesFocus: true
|
|
28669
28672
|
}
|
|
@@ -47954,7 +47957,7 @@ ${indentedChild}`;
|
|
|
47954
47957
|
// src/index.ts
|
|
47955
47958
|
var index_default$7 = HardBreak;
|
|
47956
47959
|
|
|
47957
|
-
const styles$
|
|
47960
|
+
const styles$Q = css `
|
|
47958
47961
|
${display$2('inline')}
|
|
47959
47962
|
|
|
47960
47963
|
.positioning-region {
|
|
@@ -47991,7 +47994,7 @@ ${indentedChild}`;
|
|
|
47991
47994
|
baseName: 'toolbar',
|
|
47992
47995
|
baseClass: Toolbar$1,
|
|
47993
47996
|
template: toolbarTemplate,
|
|
47994
|
-
styles: styles$
|
|
47997
|
+
styles: styles$Q
|
|
47995
47998
|
});
|
|
47996
47999
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleToolbar());
|
|
47997
48000
|
const toolbarTag = 'nimble-toolbar';
|
|
@@ -48020,8 +48023,8 @@ ${indentedChild}`;
|
|
|
48020
48023
|
cssCustomPropertyName: null
|
|
48021
48024
|
}).withDefault(richTextLabelDefaults.richTextToggleNumberedListLabel);
|
|
48022
48025
|
|
|
48023
|
-
const styles$
|
|
48024
|
-
${styles$
|
|
48026
|
+
const styles$P = css `
|
|
48027
|
+
${styles$13}
|
|
48025
48028
|
|
|
48026
48029
|
:host {
|
|
48027
48030
|
height: auto;
|
|
@@ -48039,7 +48042,7 @@ ${indentedChild}`;
|
|
|
48039
48042
|
}
|
|
48040
48043
|
`;
|
|
48041
48044
|
|
|
48042
|
-
const template$
|
|
48045
|
+
const template$G = html `
|
|
48043
48046
|
<template>
|
|
48044
48047
|
<${anchoredRegionTag}
|
|
48045
48048
|
${ref('region')}
|
|
@@ -48327,15 +48330,15 @@ ${indentedChild}`;
|
|
|
48327
48330
|
], RichTextMentionListbox.prototype, "anchorElement", void 0);
|
|
48328
48331
|
const nimbleRichTextMentionListbox = RichTextMentionListbox.compose({
|
|
48329
48332
|
baseName: 'rich-text-mention-listbox',
|
|
48330
|
-
template: template$
|
|
48331
|
-
styles: styles$
|
|
48333
|
+
template: template$G,
|
|
48334
|
+
styles: styles$P
|
|
48332
48335
|
});
|
|
48333
48336
|
DesignSystem.getOrCreate()
|
|
48334
48337
|
.withPrefix('nimble')
|
|
48335
48338
|
.register(nimbleRichTextMentionListbox());
|
|
48336
48339
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
48337
48340
|
|
|
48338
|
-
const template$
|
|
48341
|
+
const template$F = html `
|
|
48339
48342
|
<template
|
|
48340
48343
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
48341
48344
|
@focusout="${x => x.focusoutHandler()}"
|
|
@@ -48437,9 +48440,9 @@ ${indentedChild}`;
|
|
|
48437
48440
|
</template>
|
|
48438
48441
|
`;
|
|
48439
48442
|
|
|
48440
|
-
const styles$
|
|
48443
|
+
const styles$O = css `
|
|
48441
48444
|
${display$2('inline-flex')}
|
|
48442
|
-
${styles$
|
|
48445
|
+
${styles$17}
|
|
48443
48446
|
|
|
48444
48447
|
:host {
|
|
48445
48448
|
font: ${bodyFont};
|
|
@@ -64885,8 +64888,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64885
64888
|
applyMixins(RichTextEditor, ARIAGlobalStatesAndProperties);
|
|
64886
64889
|
const nimbleRichTextEditor = RichTextEditor.compose({
|
|
64887
64890
|
baseName: 'rich-text-editor',
|
|
64888
|
-
template: template$
|
|
64889
|
-
styles: styles$
|
|
64891
|
+
template: template$F,
|
|
64892
|
+
styles: styles$O,
|
|
64890
64893
|
shadowOptions: {
|
|
64891
64894
|
delegatesFocus: true
|
|
64892
64895
|
}
|
|
@@ -64895,13 +64898,13 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
64895
64898
|
.withPrefix('nimble')
|
|
64896
64899
|
.register(nimbleRichTextEditor());
|
|
64897
64900
|
|
|
64898
|
-
const template$
|
|
64901
|
+
const template$E = html `
|
|
64899
64902
|
<template ${children$1({ property: 'childItems', filter: elements() })}>
|
|
64900
64903
|
<div ${ref('viewer')} class="viewer"></div>
|
|
64901
64904
|
</template>
|
|
64902
64905
|
`;
|
|
64903
64906
|
|
|
64904
|
-
const styles$
|
|
64907
|
+
const styles$N = css `
|
|
64905
64908
|
${display$2('flex')}
|
|
64906
64909
|
|
|
64907
64910
|
:host {
|
|
@@ -65014,17 +65017,17 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65014
65017
|
], RichTextViewer.prototype, "markdown", void 0);
|
|
65015
65018
|
const nimbleRichTextViewer = RichTextViewer.compose({
|
|
65016
65019
|
baseName: 'rich-text-viewer',
|
|
65017
|
-
template: template$
|
|
65018
|
-
styles: styles$
|
|
65020
|
+
template: template$E,
|
|
65021
|
+
styles: styles$N
|
|
65019
65022
|
});
|
|
65020
65023
|
DesignSystem.getOrCreate()
|
|
65021
65024
|
.withPrefix('nimble')
|
|
65022
65025
|
.register(nimbleRichTextViewer());
|
|
65023
65026
|
|
|
65024
|
-
const styles$
|
|
65027
|
+
const styles$M = css `
|
|
65028
|
+
${styles$13}
|
|
65029
|
+
${styles$17}
|
|
65025
65030
|
${styles$12}
|
|
65026
|
-
${styles$16}
|
|
65027
|
-
${styles$11}
|
|
65028
65031
|
|
|
65029
65032
|
${
|
|
65030
65033
|
/* We are using flex `order` to define the visual ordering of the selected value,
|
|
@@ -65187,7 +65190,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65187
65190
|
}
|
|
65188
65191
|
`));
|
|
65189
65192
|
|
|
65190
|
-
const styles$
|
|
65193
|
+
const styles$L = css `
|
|
65191
65194
|
${display$2('inline-grid')}
|
|
65192
65195
|
|
|
65193
65196
|
:host {
|
|
@@ -65357,7 +65360,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65357
65360
|
}
|
|
65358
65361
|
`));
|
|
65359
65362
|
|
|
65360
|
-
const template$
|
|
65363
|
+
const template$D = html `
|
|
65361
65364
|
<template role="progressbar">
|
|
65362
65365
|
${''
|
|
65363
65366
|
/**
|
|
@@ -65404,8 +65407,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65404
65407
|
], Spinner.prototype, "appearance", void 0);
|
|
65405
65408
|
const nimbleSpinner = Spinner.compose({
|
|
65406
65409
|
baseName: 'spinner',
|
|
65407
|
-
template: template$
|
|
65408
|
-
styles: styles$
|
|
65410
|
+
template: template$D,
|
|
65411
|
+
styles: styles$L
|
|
65409
65412
|
});
|
|
65410
65413
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSpinner());
|
|
65411
65414
|
const spinnerTag = 'nimble-spinner';
|
|
@@ -65421,7 +65424,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
65421
65424
|
<slot ${ref('labelSlot')}></slot>
|
|
65422
65425
|
</label>
|
|
65423
65426
|
`);
|
|
65424
|
-
const template$
|
|
65427
|
+
const template$C = (context, definition) => html `
|
|
65425
65428
|
<template
|
|
65426
65429
|
class="${x => [
|
|
65427
65430
|
x.collapsible && 'collapsible',
|
|
@@ -66633,8 +66636,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66633
66636
|
const nimbleSelect = Select.compose({
|
|
66634
66637
|
baseName: 'select',
|
|
66635
66638
|
baseClass: Select$2,
|
|
66636
|
-
template: template$
|
|
66637
|
-
styles: styles$
|
|
66639
|
+
template: template$C,
|
|
66640
|
+
styles: styles$M,
|
|
66638
66641
|
indicator: arrowExpanderDown16X16.data,
|
|
66639
66642
|
end: html `
|
|
66640
66643
|
<${iconExclamationMarkTag}
|
|
@@ -66647,8 +66650,8 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66647
66650
|
applyMixins(Select, StartEnd, DelegatesARIASelect);
|
|
66648
66651
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSelect());
|
|
66649
66652
|
|
|
66650
|
-
const styles$
|
|
66651
|
-
${styles$
|
|
66653
|
+
const styles$K = css `
|
|
66654
|
+
${styles$1k}
|
|
66652
66655
|
${'' /* Button specific styles */}
|
|
66653
66656
|
@layer base {
|
|
66654
66657
|
.control {
|
|
@@ -66659,7 +66662,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66659
66662
|
}
|
|
66660
66663
|
`;
|
|
66661
66664
|
|
|
66662
|
-
const template$
|
|
66665
|
+
const template$B = (context, definition) => html `
|
|
66663
66666
|
<template slot="step">
|
|
66664
66667
|
<li class="
|
|
66665
66668
|
container
|
|
@@ -66781,15 +66784,15 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66781
66784
|
], Step.prototype, "tabIndex", void 0);
|
|
66782
66785
|
const nimbleStep = Step.compose({
|
|
66783
66786
|
baseName: 'step',
|
|
66784
|
-
template: template$
|
|
66785
|
-
styles: styles$
|
|
66787
|
+
template: template$B,
|
|
66788
|
+
styles: styles$K,
|
|
66786
66789
|
shadowOptions: {
|
|
66787
66790
|
delegatesFocus: true
|
|
66788
66791
|
}
|
|
66789
66792
|
});
|
|
66790
66793
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStep());
|
|
66791
66794
|
|
|
66792
|
-
const styles$
|
|
66795
|
+
const styles$J = css `
|
|
66793
66796
|
${display$2('inline-flex')}
|
|
66794
66797
|
|
|
66795
66798
|
:host {
|
|
@@ -66860,7 +66863,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66860
66863
|
}
|
|
66861
66864
|
`;
|
|
66862
66865
|
|
|
66863
|
-
const template$
|
|
66866
|
+
const template$A = html `
|
|
66864
66867
|
${when(x => x.showScrollButtons, html `
|
|
66865
66868
|
<${buttonTag}
|
|
66866
66869
|
content-hidden
|
|
@@ -67005,12 +67008,12 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67005
67008
|
], Stepper.prototype, "steps", void 0);
|
|
67006
67009
|
const nimbleStepper = Stepper.compose({
|
|
67007
67010
|
baseName: 'stepper',
|
|
67008
|
-
template: template$
|
|
67009
|
-
styles: styles$
|
|
67011
|
+
template: template$A,
|
|
67012
|
+
styles: styles$J
|
|
67010
67013
|
});
|
|
67011
67014
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleStepper());
|
|
67012
67015
|
|
|
67013
|
-
const styles$
|
|
67016
|
+
const styles$I = css `
|
|
67014
67017
|
${display$2('inline-flex')}
|
|
67015
67018
|
|
|
67016
67019
|
:host {
|
|
@@ -67237,7 +67240,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67237
67240
|
}
|
|
67238
67241
|
`));
|
|
67239
67242
|
|
|
67240
|
-
const template$
|
|
67243
|
+
const template$z = html `
|
|
67241
67244
|
<template
|
|
67242
67245
|
role="switch"
|
|
67243
67246
|
aria-checked="${x => x.checked}"
|
|
@@ -67281,12 +67284,12 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67281
67284
|
const nimbleSwitch = Switch.compose({
|
|
67282
67285
|
baseClass: Switch$1,
|
|
67283
67286
|
baseName: 'switch',
|
|
67284
|
-
template: template$
|
|
67285
|
-
styles: styles$
|
|
67287
|
+
template: template$z,
|
|
67288
|
+
styles: styles$I
|
|
67286
67289
|
});
|
|
67287
67290
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
|
|
67288
67291
|
|
|
67289
|
-
const styles$
|
|
67292
|
+
const styles$H = css `
|
|
67290
67293
|
${display$2('inline-flex')}
|
|
67291
67294
|
|
|
67292
67295
|
:host {
|
|
@@ -67397,11 +67400,11 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67397
67400
|
baseName: 'tab',
|
|
67398
67401
|
baseClass: Tab$1,
|
|
67399
67402
|
template: tabTemplate,
|
|
67400
|
-
styles: styles$
|
|
67403
|
+
styles: styles$H
|
|
67401
67404
|
});
|
|
67402
67405
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
|
|
67403
67406
|
|
|
67404
|
-
const styles$
|
|
67407
|
+
const styles$G = css `
|
|
67405
67408
|
${display$2('block')}
|
|
67406
67409
|
|
|
67407
67410
|
:host {
|
|
@@ -67420,7 +67423,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
67420
67423
|
baseName: 'tab-panel',
|
|
67421
67424
|
baseClass: TabPanel$1,
|
|
67422
67425
|
template: tabPanelTemplate,
|
|
67423
|
-
styles: styles$
|
|
67426
|
+
styles: styles$G
|
|
67424
67427
|
});
|
|
67425
67428
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
|
|
67426
67429
|
|
|
@@ -71146,7 +71149,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
71146
71149
|
}
|
|
71147
71150
|
}
|
|
71148
71151
|
|
|
71149
|
-
const styles$
|
|
71152
|
+
const styles$F = css `
|
|
71150
71153
|
${display$2('flex')}
|
|
71151
71154
|
|
|
71152
71155
|
:host {
|
|
@@ -71366,7 +71369,7 @@ focus outline in that case.
|
|
|
71366
71369
|
}
|
|
71367
71370
|
`));
|
|
71368
71371
|
|
|
71369
|
-
const styles$
|
|
71372
|
+
const styles$E = css `
|
|
71370
71373
|
${display$2('flex')}
|
|
71371
71374
|
|
|
71372
71375
|
:host {
|
|
@@ -71399,7 +71402,7 @@ focus outline in that case.
|
|
|
71399
71402
|
}
|
|
71400
71403
|
`;
|
|
71401
71404
|
|
|
71402
|
-
const template$
|
|
71405
|
+
const template$y = html `
|
|
71403
71406
|
<template role="columnheader"
|
|
71404
71407
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
71405
71408
|
aria-sort="${x => x.ariaSort}"
|
|
@@ -71485,13 +71488,13 @@ focus outline in that case.
|
|
|
71485
71488
|
], TableHeader.prototype, "isGrouped", void 0);
|
|
71486
71489
|
const nimbleTableHeader = TableHeader.compose({
|
|
71487
71490
|
baseName: 'table-header',
|
|
71488
|
-
template: template$
|
|
71489
|
-
styles: styles$
|
|
71491
|
+
template: template$y,
|
|
71492
|
+
styles: styles$E
|
|
71490
71493
|
});
|
|
71491
71494
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableHeader());
|
|
71492
71495
|
const tableHeaderTag = 'nimble-table-header';
|
|
71493
71496
|
|
|
71494
|
-
const styles$
|
|
71497
|
+
const styles$D = css `
|
|
71495
71498
|
:host .animating {
|
|
71496
71499
|
transition: ${mediumDelay} ease-in;
|
|
71497
71500
|
}
|
|
@@ -71516,9 +71519,9 @@ focus outline in that case.
|
|
|
71516
71519
|
}
|
|
71517
71520
|
`;
|
|
71518
71521
|
|
|
71519
|
-
const styles$
|
|
71522
|
+
const styles$C = css `
|
|
71520
71523
|
${display$2('flex')}
|
|
71521
|
-
${styles$
|
|
71524
|
+
${styles$D}
|
|
71522
71525
|
|
|
71523
71526
|
:host {
|
|
71524
71527
|
width: fit-content;
|
|
@@ -71688,7 +71691,7 @@ focus outline in that case.
|
|
|
71688
71691
|
}
|
|
71689
71692
|
`));
|
|
71690
71693
|
|
|
71691
|
-
const styles$
|
|
71694
|
+
const styles$B = css `
|
|
71692
71695
|
${display$2('flex')}
|
|
71693
71696
|
|
|
71694
71697
|
:host {
|
|
@@ -71733,7 +71736,7 @@ focus outline in that case.
|
|
|
71733
71736
|
}
|
|
71734
71737
|
`;
|
|
71735
71738
|
|
|
71736
|
-
const template$
|
|
71739
|
+
const template$x = html `
|
|
71737
71740
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
71738
71741
|
@focusin="${x => x.onCellFocusIn()}"
|
|
71739
71742
|
@blur="${x => x.onCellBlur()}"
|
|
@@ -71830,13 +71833,13 @@ focus outline in that case.
|
|
|
71830
71833
|
], TableCell.prototype, "nestingLevel", void 0);
|
|
71831
71834
|
const nimbleTableCell = TableCell.compose({
|
|
71832
71835
|
baseName: 'table-cell',
|
|
71833
|
-
template: template$
|
|
71834
|
-
styles: styles$
|
|
71836
|
+
template: template$x,
|
|
71837
|
+
styles: styles$B
|
|
71835
71838
|
});
|
|
71836
71839
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
71837
71840
|
const tableCellTag = 'nimble-table-cell';
|
|
71838
71841
|
|
|
71839
|
-
const template$
|
|
71842
|
+
const template$w = html `
|
|
71840
71843
|
<template
|
|
71841
71844
|
role="row"
|
|
71842
71845
|
aria-selected=${x => x.ariaSelected}
|
|
@@ -72231,15 +72234,15 @@ focus outline in that case.
|
|
|
72231
72234
|
], TableRow.prototype, "ariaSelected", null);
|
|
72232
72235
|
const nimbleTableRow = TableRow.compose({
|
|
72233
72236
|
baseName: 'table-row',
|
|
72234
|
-
template: template$
|
|
72235
|
-
styles: styles$
|
|
72237
|
+
template: template$w,
|
|
72238
|
+
styles: styles$C
|
|
72236
72239
|
});
|
|
72237
72240
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableRow());
|
|
72238
72241
|
const tableRowTag = 'nimble-table-row';
|
|
72239
72242
|
|
|
72240
|
-
const styles$
|
|
72243
|
+
const styles$A = css `
|
|
72241
72244
|
${display$2('grid')}
|
|
72242
|
-
${styles$
|
|
72245
|
+
${styles$D}
|
|
72243
72246
|
|
|
72244
72247
|
:host {
|
|
72245
72248
|
align-items: center;
|
|
@@ -72327,7 +72330,7 @@ focus outline in that case.
|
|
|
72327
72330
|
}
|
|
72328
72331
|
`));
|
|
72329
72332
|
|
|
72330
|
-
const template$
|
|
72333
|
+
const template$v = html `
|
|
72331
72334
|
<template
|
|
72332
72335
|
role="row"
|
|
72333
72336
|
@click=${x => x.onGroupExpandToggle()}
|
|
@@ -72484,13 +72487,13 @@ focus outline in that case.
|
|
|
72484
72487
|
], TableGroupRow.prototype, "allowHover", void 0);
|
|
72485
72488
|
const nimbleTableGroupRow = TableGroupRow.compose({
|
|
72486
72489
|
baseName: 'table-group-row',
|
|
72487
|
-
template: template$
|
|
72488
|
-
styles: styles$
|
|
72490
|
+
template: template$v,
|
|
72491
|
+
styles: styles$A
|
|
72489
72492
|
});
|
|
72490
72493
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
72491
72494
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
72492
72495
|
|
|
72493
|
-
const template$
|
|
72496
|
+
const template$u = html `
|
|
72494
72497
|
<template
|
|
72495
72498
|
role="treegrid"
|
|
72496
72499
|
${'' /* tabindex managed dynamically by KeyboardNavigationManager */}
|
|
@@ -76801,12 +76804,12 @@ focus outline in that case.
|
|
|
76801
76804
|
], Table$1.prototype, "windowShiftKeyDown", void 0);
|
|
76802
76805
|
const nimbleTable = Table$1.compose({
|
|
76803
76806
|
baseName: 'table',
|
|
76804
|
-
template: template$
|
|
76805
|
-
styles: styles$
|
|
76807
|
+
template: template$u,
|
|
76808
|
+
styles: styles$F
|
|
76806
76809
|
});
|
|
76807
76810
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTable());
|
|
76808
76811
|
|
|
76809
|
-
const styles$
|
|
76812
|
+
const styles$z = css `
|
|
76810
76813
|
${display$2('contents')}
|
|
76811
76814
|
|
|
76812
76815
|
.header-content {
|
|
@@ -76818,7 +76821,7 @@ focus outline in that case.
|
|
|
76818
76821
|
|
|
76819
76822
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
76820
76823
|
// so the template can be composed into other column header templates
|
|
76821
|
-
const template$
|
|
76824
|
+
const template$t = html `<span
|
|
76822
76825
|
${overflow('hasOverflow')}
|
|
76823
76826
|
class="header-content"
|
|
76824
76827
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -76883,7 +76886,7 @@ focus outline in that case.
|
|
|
76883
76886
|
return ColumnWithPlaceholder;
|
|
76884
76887
|
}
|
|
76885
76888
|
|
|
76886
|
-
const styles$
|
|
76889
|
+
const styles$y = css `
|
|
76887
76890
|
${display$2('flex')}
|
|
76888
76891
|
|
|
76889
76892
|
:host {
|
|
@@ -76914,7 +76917,7 @@ focus outline in that case.
|
|
|
76914
76917
|
}
|
|
76915
76918
|
`;
|
|
76916
76919
|
|
|
76917
|
-
const template$
|
|
76920
|
+
const template$s = html `
|
|
76918
76921
|
<template
|
|
76919
76922
|
@click="${(x, c) => {
|
|
76920
76923
|
if (typeof x.cellRecord?.href === 'string') {
|
|
@@ -77006,8 +77009,8 @@ focus outline in that case.
|
|
|
77006
77009
|
], TableColumnAnchorCellView.prototype, "showAnchor", null);
|
|
77007
77010
|
const anchorCellView = TableColumnAnchorCellView.compose({
|
|
77008
77011
|
baseName: 'table-column-anchor-cell-view',
|
|
77009
|
-
template: template$
|
|
77010
|
-
styles: styles$
|
|
77012
|
+
template: template$s,
|
|
77013
|
+
styles: styles$y
|
|
77011
77014
|
});
|
|
77012
77015
|
DesignSystem.getOrCreate().withPrefix('nimble').register(anchorCellView());
|
|
77013
77016
|
const tableColumnAnchorCellViewTag = 'nimble-table-column-anchor-cell-view';
|
|
@@ -77084,7 +77087,7 @@ focus outline in that case.
|
|
|
77084
77087
|
observable
|
|
77085
77088
|
], TableColumnTextGroupHeaderViewBase.prototype, "text", void 0);
|
|
77086
77089
|
|
|
77087
|
-
const template$
|
|
77090
|
+
const template$r = html `
|
|
77088
77091
|
<span
|
|
77089
77092
|
${overflow('hasOverflow')}
|
|
77090
77093
|
title="${x => (x.hasOverflow && x.text ? x.text : null)}"
|
|
@@ -77093,7 +77096,7 @@ focus outline in that case.
|
|
|
77093
77096
|
</span>
|
|
77094
77097
|
`;
|
|
77095
77098
|
|
|
77096
|
-
const styles$
|
|
77099
|
+
const styles$x = css `
|
|
77097
77100
|
${display$2('flex')}
|
|
77098
77101
|
|
|
77099
77102
|
span {
|
|
@@ -77117,8 +77120,8 @@ focus outline in that case.
|
|
|
77117
77120
|
}
|
|
77118
77121
|
const tableColumnTextGroupHeaderView = TableColumnTextGroupHeaderView.compose({
|
|
77119
77122
|
baseName: 'table-column-text-group-header-view',
|
|
77120
|
-
template: template$
|
|
77121
|
-
styles: styles$
|
|
77123
|
+
template: template$r,
|
|
77124
|
+
styles: styles$x
|
|
77122
77125
|
});
|
|
77123
77126
|
DesignSystem.getOrCreate()
|
|
77124
77127
|
.withPrefix('nimble')
|
|
@@ -77362,8 +77365,8 @@ focus outline in that case.
|
|
|
77362
77365
|
], TableColumnAnchor.prototype, "download", void 0);
|
|
77363
77366
|
const nimbleTableColumnAnchor = TableColumnAnchor.compose({
|
|
77364
77367
|
baseName: 'table-column-anchor',
|
|
77365
|
-
template: template$
|
|
77366
|
-
styles: styles$
|
|
77368
|
+
template: template$t,
|
|
77369
|
+
styles: styles$z
|
|
77367
77370
|
});
|
|
77368
77371
|
DesignSystem.getOrCreate()
|
|
77369
77372
|
.withPrefix('nimble')
|
|
@@ -77415,15 +77418,15 @@ focus outline in that case.
|
|
|
77415
77418
|
}
|
|
77416
77419
|
const tableColumnDateTextGroupHeaderView = TableColumnDateTextGroupHeaderView.compose({
|
|
77417
77420
|
baseName: 'table-column-date-text-group-header-view',
|
|
77418
|
-
template: template$
|
|
77419
|
-
styles: styles$
|
|
77421
|
+
template: template$r,
|
|
77422
|
+
styles: styles$x
|
|
77420
77423
|
});
|
|
77421
77424
|
DesignSystem.getOrCreate()
|
|
77422
77425
|
.withPrefix('nimble')
|
|
77423
77426
|
.register(tableColumnDateTextGroupHeaderView());
|
|
77424
77427
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
77425
77428
|
|
|
77426
|
-
const template$
|
|
77429
|
+
const template$q = html `
|
|
77427
77430
|
<template
|
|
77428
77431
|
class="
|
|
77429
77432
|
${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}
|
|
@@ -77439,7 +77442,7 @@ focus outline in that case.
|
|
|
77439
77442
|
</template>
|
|
77440
77443
|
`;
|
|
77441
77444
|
|
|
77442
|
-
const styles$
|
|
77445
|
+
const styles$w = css `
|
|
77443
77446
|
${display$2('flex')}
|
|
77444
77447
|
|
|
77445
77448
|
:host {
|
|
@@ -77541,8 +77544,8 @@ focus outline in that case.
|
|
|
77541
77544
|
}
|
|
77542
77545
|
const dateTextCellView = TableColumnDateTextCellView.compose({
|
|
77543
77546
|
baseName: 'table-column-date-text-cell-view',
|
|
77544
|
-
template: template$
|
|
77545
|
-
styles: styles$
|
|
77547
|
+
template: template$q,
|
|
77548
|
+
styles: styles$w
|
|
77546
77549
|
});
|
|
77547
77550
|
DesignSystem.getOrCreate().withPrefix('nimble').register(dateTextCellView());
|
|
77548
77551
|
const tableColumnDateTextCellViewTag = 'nimble-table-column-date-text-cell-view';
|
|
@@ -77800,8 +77803,8 @@ focus outline in that case.
|
|
|
77800
77803
|
], TableColumnDateText.prototype, "customHourCycle", void 0);
|
|
77801
77804
|
const nimbleTableColumnDateText = TableColumnDateText.compose({
|
|
77802
77805
|
baseName: 'table-column-date-text',
|
|
77803
|
-
template: template$
|
|
77804
|
-
styles: styles$
|
|
77806
|
+
template: template$t,
|
|
77807
|
+
styles: styles$z
|
|
77805
77808
|
});
|
|
77806
77809
|
DesignSystem.getOrCreate()
|
|
77807
77810
|
.withPrefix('nimble')
|
|
@@ -77817,8 +77820,8 @@ focus outline in that case.
|
|
|
77817
77820
|
}
|
|
77818
77821
|
const durationTextCellView = TableColumnDurationTextCellView.compose({
|
|
77819
77822
|
baseName: 'table-column-duration-text-cell-view',
|
|
77820
|
-
template: template$
|
|
77821
|
-
styles: styles$
|
|
77823
|
+
template: template$q,
|
|
77824
|
+
styles: styles$w
|
|
77822
77825
|
});
|
|
77823
77826
|
DesignSystem.getOrCreate()
|
|
77824
77827
|
.withPrefix('nimble')
|
|
@@ -77919,8 +77922,8 @@ focus outline in that case.
|
|
|
77919
77922
|
}
|
|
77920
77923
|
const tableColumnDurationTextGroupHeaderView = TableColumnDurationTextGroupHeaderView.compose({
|
|
77921
77924
|
baseName: 'table-column-duration-text-group-header-view',
|
|
77922
|
-
template: template$
|
|
77923
|
-
styles: styles$
|
|
77925
|
+
template: template$r,
|
|
77926
|
+
styles: styles$x
|
|
77924
77927
|
});
|
|
77925
77928
|
DesignSystem.getOrCreate()
|
|
77926
77929
|
.withPrefix('nimble')
|
|
@@ -77972,8 +77975,8 @@ focus outline in that case.
|
|
|
77972
77975
|
}
|
|
77973
77976
|
const nimbleTableColumnDurationText = TableColumnDurationText.compose({
|
|
77974
77977
|
baseName: 'table-column-duration-text',
|
|
77975
|
-
template: template$
|
|
77976
|
-
styles: styles$
|
|
77978
|
+
template: template$t,
|
|
77979
|
+
styles: styles$z
|
|
77977
77980
|
});
|
|
77978
77981
|
DesignSystem.getOrCreate()
|
|
77979
77982
|
.withPrefix('nimble')
|
|
@@ -78081,15 +78084,15 @@ focus outline in that case.
|
|
|
78081
78084
|
attr({ attribute: 'key-type' })
|
|
78082
78085
|
], TableColumnEnumBase.prototype, "keyType", void 0);
|
|
78083
78086
|
|
|
78084
|
-
const styles$
|
|
78085
|
-
${styles$
|
|
78087
|
+
const styles$v = css `
|
|
78088
|
+
${styles$z}
|
|
78086
78089
|
|
|
78087
78090
|
slot[name='mapping'] {
|
|
78088
78091
|
display: none;
|
|
78089
78092
|
}
|
|
78090
78093
|
`;
|
|
78091
78094
|
|
|
78092
|
-
const template$
|
|
78095
|
+
const template$p = html `${template$t}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
78093
78096
|
|
|
78094
78097
|
const enumBaseValidityFlagNames = [
|
|
78095
78098
|
'invalidMappingKeyValueForType',
|
|
@@ -78175,7 +78178,7 @@ focus outline in that case.
|
|
|
78175
78178
|
}
|
|
78176
78179
|
}
|
|
78177
78180
|
|
|
78178
|
-
const styles$
|
|
78181
|
+
const styles$u = css `
|
|
78179
78182
|
${display$2('inline-flex')}
|
|
78180
78183
|
|
|
78181
78184
|
:host {
|
|
@@ -78199,7 +78202,7 @@ focus outline in that case.
|
|
|
78199
78202
|
}
|
|
78200
78203
|
`;
|
|
78201
78204
|
|
|
78202
|
-
const template$
|
|
78205
|
+
const template$o = html `
|
|
78203
78206
|
${when(x => x.visualizationTemplate, html `
|
|
78204
78207
|
<span class="reserve-icon-size">
|
|
78205
78208
|
${x => x.visualizationTemplate}
|
|
@@ -78343,15 +78346,15 @@ focus outline in that case.
|
|
|
78343
78346
|
], TableColumnMappingGroupHeaderView.prototype, "visualizationTemplate", void 0);
|
|
78344
78347
|
const mappingGroupHeaderView = TableColumnMappingGroupHeaderView.compose({
|
|
78345
78348
|
baseName: 'table-column-mapping-group-header-view',
|
|
78346
|
-
template: template$
|
|
78347
|
-
styles: styles$
|
|
78349
|
+
template: template$o,
|
|
78350
|
+
styles: styles$u
|
|
78348
78351
|
});
|
|
78349
78352
|
DesignSystem.getOrCreate()
|
|
78350
78353
|
.withPrefix('nimble')
|
|
78351
78354
|
.register(mappingGroupHeaderView());
|
|
78352
78355
|
const tableColumnMappingGroupHeaderViewTag = 'nimble-table-column-mapping-group-header-view';
|
|
78353
78356
|
|
|
78354
|
-
const styles$
|
|
78357
|
+
const styles$t = css `
|
|
78355
78358
|
${display$2('inline-flex')}
|
|
78356
78359
|
|
|
78357
78360
|
:host {
|
|
@@ -78375,7 +78378,7 @@ focus outline in that case.
|
|
|
78375
78378
|
}
|
|
78376
78379
|
`;
|
|
78377
78380
|
|
|
78378
|
-
const template$
|
|
78381
|
+
const template$n = html `
|
|
78379
78382
|
${when(x => x.visualizationTemplate, html `
|
|
78380
78383
|
<span class="reserve-icon-size">
|
|
78381
78384
|
${x => x.visualizationTemplate}
|
|
@@ -78462,8 +78465,8 @@ focus outline in that case.
|
|
|
78462
78465
|
], TableColumnMappingCellView.prototype, "hasOverflow", void 0);
|
|
78463
78466
|
const mappingCellView = TableColumnMappingCellView.compose({
|
|
78464
78467
|
baseName: 'table-column-mapping-cell-view',
|
|
78465
|
-
template: template$
|
|
78466
|
-
styles: styles$
|
|
78468
|
+
template: template$n,
|
|
78469
|
+
styles: styles$t
|
|
78467
78470
|
});
|
|
78468
78471
|
DesignSystem.getOrCreate().withPrefix('nimble').register(mappingCellView());
|
|
78469
78472
|
const tableColumnMappingCellViewTag = 'nimble-table-column-mapping-cell-view';
|
|
@@ -78546,23 +78549,23 @@ focus outline in that case.
|
|
|
78546
78549
|
], TableColumnMapping.prototype, "widthMode", void 0);
|
|
78547
78550
|
const nimbleTableColumnMapping = TableColumnMapping.compose({
|
|
78548
78551
|
baseName: 'table-column-mapping',
|
|
78549
|
-
template: template$
|
|
78550
|
-
styles: styles$
|
|
78552
|
+
template: template$p,
|
|
78553
|
+
styles: styles$v
|
|
78551
78554
|
});
|
|
78552
78555
|
DesignSystem.getOrCreate()
|
|
78553
78556
|
.withPrefix('nimble')
|
|
78554
78557
|
.register(nimbleTableColumnMapping());
|
|
78555
78558
|
|
|
78556
|
-
const template$
|
|
78559
|
+
const template$m = html `
|
|
78557
78560
|
<template @delegated-event="${(x, c) => x.onDelegatedEvent(c.event)}"
|
|
78558
|
-
>${template$
|
|
78561
|
+
>${template$t}</template
|
|
78559
78562
|
>
|
|
78560
78563
|
`;
|
|
78561
78564
|
|
|
78562
78565
|
/** @internal */
|
|
78563
78566
|
const cellViewMenuSlotName = 'menu-button-menu';
|
|
78564
78567
|
|
|
78565
|
-
const template$
|
|
78568
|
+
const template$l = html `
|
|
78566
78569
|
${when(x => x.showMenuButton, html `
|
|
78567
78570
|
<${menuButtonTag}
|
|
78568
78571
|
${ref('menuButton')}
|
|
@@ -78581,7 +78584,7 @@ focus outline in that case.
|
|
|
78581
78584
|
`)}
|
|
78582
78585
|
`;
|
|
78583
78586
|
|
|
78584
|
-
const styles$
|
|
78587
|
+
const styles$s = css `
|
|
78585
78588
|
:host {
|
|
78586
78589
|
align-self: center;
|
|
78587
78590
|
width: 100%;
|
|
@@ -78656,8 +78659,8 @@ focus outline in that case.
|
|
|
78656
78659
|
], TableColumnMenuButtonCellView.prototype, "showMenuButton", null);
|
|
78657
78660
|
const menuButtonCellView = TableColumnMenuButtonCellView.compose({
|
|
78658
78661
|
baseName: 'table-column-menu-button-cell-view',
|
|
78659
|
-
template: template$
|
|
78660
|
-
styles: styles$
|
|
78662
|
+
template: template$l,
|
|
78663
|
+
styles: styles$s
|
|
78661
78664
|
});
|
|
78662
78665
|
DesignSystem.getOrCreate().withPrefix('nimble').register(menuButtonCellView());
|
|
78663
78666
|
const tableColumnMenuButtonCellViewTag = 'nimble-table-column-menu-button-cell-view';
|
|
@@ -78712,8 +78715,8 @@ focus outline in that case.
|
|
|
78712
78715
|
], TableColumnMenuButton.prototype, "menuSlot", void 0);
|
|
78713
78716
|
const nimbleTableColumnMenuButton = TableColumnMenuButton.compose({
|
|
78714
78717
|
baseName: 'table-column-menu-button',
|
|
78715
|
-
template: template$
|
|
78716
|
-
styles: styles$
|
|
78718
|
+
template: template$m,
|
|
78719
|
+
styles: styles$z
|
|
78717
78720
|
});
|
|
78718
78721
|
DesignSystem.getOrCreate()
|
|
78719
78722
|
.withPrefix('nimble')
|
|
@@ -78721,7 +78724,7 @@ focus outline in that case.
|
|
|
78721
78724
|
|
|
78722
78725
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
78723
78726
|
// so the template can be composed into other column header templates
|
|
78724
|
-
const template$
|
|
78727
|
+
const template$k = html `<span
|
|
78725
78728
|
${overflow('hasOverflow')}
|
|
78726
78729
|
class="header-content"
|
|
78727
78730
|
title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
|
|
@@ -78740,8 +78743,8 @@ focus outline in that case.
|
|
|
78740
78743
|
}
|
|
78741
78744
|
const tableColumnNumberTextGroupHeaderView = TableColumnNumberTextGroupHeaderView.compose({
|
|
78742
78745
|
baseName: 'table-column-number-text-group-header-view',
|
|
78743
|
-
template: template$
|
|
78744
|
-
styles: styles$
|
|
78746
|
+
template: template$r,
|
|
78747
|
+
styles: styles$x
|
|
78745
78748
|
});
|
|
78746
78749
|
DesignSystem.getOrCreate()
|
|
78747
78750
|
.withPrefix('nimble')
|
|
@@ -78762,8 +78765,8 @@ focus outline in that case.
|
|
|
78762
78765
|
}
|
|
78763
78766
|
const numberTextCellView = TableColumnNumberTextCellView.compose({
|
|
78764
78767
|
baseName: 'table-column-number-text-cell-view',
|
|
78765
|
-
template: template$
|
|
78766
|
-
styles: styles$
|
|
78768
|
+
template: template$q,
|
|
78769
|
+
styles: styles$w
|
|
78767
78770
|
});
|
|
78768
78771
|
DesignSystem.getOrCreate().withPrefix('nimble').register(numberTextCellView());
|
|
78769
78772
|
const tableColumnNumberTextCellViewTag = 'nimble-table-column-number-text-cell-view';
|
|
@@ -79303,8 +79306,8 @@ focus outline in that case.
|
|
|
79303
79306
|
], TableColumnNumberText.prototype, "unit", void 0);
|
|
79304
79307
|
const nimbleTableColumnNumberText = TableColumnNumberText.compose({
|
|
79305
79308
|
baseName: 'table-column-number-text',
|
|
79306
|
-
template: template$
|
|
79307
|
-
styles: styles$
|
|
79309
|
+
template: template$k,
|
|
79310
|
+
styles: styles$z
|
|
79308
79311
|
});
|
|
79309
79312
|
DesignSystem.getOrCreate()
|
|
79310
79313
|
.withPrefix('nimble')
|
|
@@ -79322,8 +79325,8 @@ focus outline in that case.
|
|
|
79322
79325
|
}
|
|
79323
79326
|
const textCellView = TableColumnTextCellView.compose({
|
|
79324
79327
|
baseName: 'table-column-text-cell-view',
|
|
79325
|
-
template: template$
|
|
79326
|
-
styles: styles$
|
|
79328
|
+
template: template$q,
|
|
79329
|
+
styles: styles$w
|
|
79327
79330
|
});
|
|
79328
79331
|
DesignSystem.getOrCreate().withPrefix('nimble').register(textCellView());
|
|
79329
79332
|
const tableColumnTextCellViewTag = 'nimble-table-column-text-cell-view';
|
|
@@ -79377,15 +79380,15 @@ focus outline in that case.
|
|
|
79377
79380
|
}
|
|
79378
79381
|
const nimbleTableColumnText = TableColumnText.compose({
|
|
79379
79382
|
baseName: 'table-column-text',
|
|
79380
|
-
template: template$
|
|
79381
|
-
styles: styles$
|
|
79383
|
+
template: template$t,
|
|
79384
|
+
styles: styles$z
|
|
79382
79385
|
});
|
|
79383
79386
|
DesignSystem.getOrCreate()
|
|
79384
79387
|
.withPrefix('nimble')
|
|
79385
79388
|
.register(nimbleTableColumnText());
|
|
79386
79389
|
|
|
79387
|
-
const styles$
|
|
79388
|
-
${styles$
|
|
79390
|
+
const styles$r = css `
|
|
79391
|
+
${styles$1g}
|
|
79389
79392
|
|
|
79390
79393
|
.tabpanel {
|
|
79391
79394
|
overflow: auto;
|
|
@@ -79466,12 +79469,12 @@ focus outline in that case.
|
|
|
79466
79469
|
const nimbleTabs = Tabs.compose({
|
|
79467
79470
|
baseName: 'tabs',
|
|
79468
79471
|
baseClass: Tabs$1,
|
|
79469
|
-
template: template$
|
|
79470
|
-
styles: styles$
|
|
79472
|
+
template: template$X,
|
|
79473
|
+
styles: styles$r
|
|
79471
79474
|
});
|
|
79472
79475
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
|
|
79473
79476
|
|
|
79474
|
-
const styles$
|
|
79477
|
+
const styles$q = css `
|
|
79475
79478
|
${display$2('flex')}
|
|
79476
79479
|
|
|
79477
79480
|
:host {
|
|
@@ -79503,7 +79506,7 @@ focus outline in that case.
|
|
|
79503
79506
|
}
|
|
79504
79507
|
`;
|
|
79505
79508
|
|
|
79506
|
-
const template$
|
|
79509
|
+
const template$j = (context, definition) => html `
|
|
79507
79510
|
<template slot="end">
|
|
79508
79511
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
79509
79512
|
<div class="separator"></div>
|
|
@@ -79535,8 +79538,8 @@ focus outline in that case.
|
|
|
79535
79538
|
], TabsToolbar.prototype, "defaultSlottedElements", void 0);
|
|
79536
79539
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
79537
79540
|
baseName: 'tabs-toolbar',
|
|
79538
|
-
template: template$
|
|
79539
|
-
styles: styles$
|
|
79541
|
+
template: template$j,
|
|
79542
|
+
styles: styles$q
|
|
79540
79543
|
});
|
|
79541
79544
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
79542
79545
|
applyMixins(TabsToolbar, StartEnd);
|
|
@@ -79546,10 +79549,10 @@ focus outline in that case.
|
|
|
79546
79549
|
block: 'block'
|
|
79547
79550
|
};
|
|
79548
79551
|
|
|
79549
|
-
const styles$
|
|
79552
|
+
const styles$p = css `
|
|
79550
79553
|
${display$2('inline-flex')}
|
|
79551
|
-
${styles$
|
|
79552
|
-
${styles$
|
|
79554
|
+
${styles$17}
|
|
79555
|
+
${styles$12}
|
|
79553
79556
|
|
|
79554
79557
|
:host {
|
|
79555
79558
|
font: ${bodyFont};
|
|
@@ -79741,7 +79744,7 @@ focus outline in that case.
|
|
|
79741
79744
|
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
79742
79745
|
</label>
|
|
79743
79746
|
`);
|
|
79744
|
-
const template$
|
|
79747
|
+
const template$i = () => html `
|
|
79745
79748
|
${labelTemplate$1}
|
|
79746
79749
|
<div class="container">
|
|
79747
79750
|
<textarea
|
|
@@ -79889,8 +79892,8 @@ focus outline in that case.
|
|
|
79889
79892
|
const nimbleTextArea = TextArea.compose({
|
|
79890
79893
|
baseName: 'text-area',
|
|
79891
79894
|
baseClass: TextArea$1,
|
|
79892
|
-
template: template$
|
|
79893
|
-
styles: styles$
|
|
79895
|
+
template: template$i,
|
|
79896
|
+
styles: styles$p,
|
|
79894
79897
|
shadowOptions: {
|
|
79895
79898
|
delegatesFocus: true
|
|
79896
79899
|
}
|
|
@@ -79907,10 +79910,10 @@ focus outline in that case.
|
|
|
79907
79910
|
frameless: 'frameless'
|
|
79908
79911
|
};
|
|
79909
79912
|
|
|
79910
|
-
const styles$
|
|
79913
|
+
const styles$o = css `
|
|
79911
79914
|
${display$2('inline-block')}
|
|
79912
|
-
${styles$
|
|
79913
|
-
${styles$
|
|
79915
|
+
${styles$17}
|
|
79916
|
+
${styles$12}
|
|
79914
79917
|
|
|
79915
79918
|
:host {
|
|
79916
79919
|
font: ${bodyFont};
|
|
@@ -80184,7 +80187,7 @@ focus outline in that case.
|
|
|
80184
80187
|
* The template for the {@link @ni/fast-foundation#(TextField:class)} component.
|
|
80185
80188
|
* @public
|
|
80186
80189
|
*/
|
|
80187
|
-
const template$
|
|
80190
|
+
const template$h = (context, definition) => html `
|
|
80188
80191
|
<template
|
|
80189
80192
|
class="
|
|
80190
80193
|
${x => (x.readOnly ? 'readonly' : '')}
|
|
@@ -80269,8 +80272,8 @@ focus outline in that case.
|
|
|
80269
80272
|
const nimbleTextField = TextField.compose({
|
|
80270
80273
|
baseName: 'text-field',
|
|
80271
80274
|
baseClass: TextField$1,
|
|
80272
|
-
template: template$
|
|
80273
|
-
styles: styles$
|
|
80275
|
+
template: template$h,
|
|
80276
|
+
styles: styles$o,
|
|
80274
80277
|
shadowOptions: {
|
|
80275
80278
|
delegatesFocus: true
|
|
80276
80279
|
},
|
|
@@ -80287,7 +80290,7 @@ focus outline in that case.
|
|
|
80287
80290
|
});
|
|
80288
80291
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTextField());
|
|
80289
80292
|
|
|
80290
|
-
const styles$
|
|
80293
|
+
const styles$n = css `
|
|
80291
80294
|
${display$2('inline-flex')}
|
|
80292
80295
|
|
|
80293
80296
|
:host {
|
|
@@ -80373,7 +80376,7 @@ focus outline in that case.
|
|
|
80373
80376
|
}
|
|
80374
80377
|
`));
|
|
80375
80378
|
|
|
80376
|
-
const template$
|
|
80379
|
+
const template$g = html `
|
|
80377
80380
|
${when(x => x.tooltipVisible, html `
|
|
80378
80381
|
<${anchoredRegionTag}
|
|
80379
80382
|
class="anchored-region"
|
|
@@ -80425,8 +80428,8 @@ focus outline in that case.
|
|
|
80425
80428
|
const nimbleTooltip = Tooltip.compose({
|
|
80426
80429
|
baseName: 'tooltip',
|
|
80427
80430
|
baseClass: Tooltip$1,
|
|
80428
|
-
template: template$
|
|
80429
|
-
styles: styles$
|
|
80431
|
+
template: template$g,
|
|
80432
|
+
styles: styles$n
|
|
80430
80433
|
});
|
|
80431
80434
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
|
|
80432
80435
|
|
|
@@ -80514,7 +80517,7 @@ focus outline in that case.
|
|
|
80514
80517
|
}
|
|
80515
80518
|
}
|
|
80516
80519
|
|
|
80517
|
-
const styles$
|
|
80520
|
+
const styles$m = css `
|
|
80518
80521
|
${display$2('block')}
|
|
80519
80522
|
|
|
80520
80523
|
:host {
|
|
@@ -80731,12 +80734,12 @@ focus outline in that case.
|
|
|
80731
80734
|
baseName: 'tree-item',
|
|
80732
80735
|
baseClass: TreeItem$1,
|
|
80733
80736
|
template: treeItemTemplate,
|
|
80734
|
-
styles: styles$
|
|
80737
|
+
styles: styles$m,
|
|
80735
80738
|
expandCollapseGlyph: arrowExpanderUp16X16.data
|
|
80736
80739
|
});
|
|
80737
80740
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeItem());
|
|
80738
80741
|
|
|
80739
|
-
const styles$
|
|
80742
|
+
const styles$l = css `
|
|
80740
80743
|
${display$2('flex')}
|
|
80741
80744
|
|
|
80742
80745
|
:host {
|
|
@@ -80750,7 +80753,7 @@ focus outline in that case.
|
|
|
80750
80753
|
}
|
|
80751
80754
|
`;
|
|
80752
80755
|
|
|
80753
|
-
const template$
|
|
80756
|
+
const template$f = html `
|
|
80754
80757
|
<template
|
|
80755
80758
|
role="tree"
|
|
80756
80759
|
${ref('treeView')}
|
|
@@ -80846,8 +80849,8 @@ focus outline in that case.
|
|
|
80846
80849
|
const nimbleTreeView = TreeView.compose({
|
|
80847
80850
|
baseName: 'tree-view',
|
|
80848
80851
|
baseClass: TreeView$1,
|
|
80849
|
-
template: template$
|
|
80850
|
-
styles: styles$
|
|
80852
|
+
template: template$f,
|
|
80853
|
+
styles: styles$l
|
|
80851
80854
|
});
|
|
80852
80855
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTreeView());
|
|
80853
80856
|
|
|
@@ -80963,9 +80966,9 @@ focus outline in that case.
|
|
|
80963
80966
|
}
|
|
80964
80967
|
const unitScaleByte = new UnitScaleByte();
|
|
80965
80968
|
|
|
80966
|
-
const template$
|
|
80969
|
+
const template$e = html `<template slot="unit"></template>`;
|
|
80967
80970
|
|
|
80968
|
-
const styles$
|
|
80971
|
+
const styles$k = css `
|
|
80969
80972
|
${display$2('none')}
|
|
80970
80973
|
`;
|
|
80971
80974
|
|
|
@@ -80993,8 +80996,8 @@ focus outline in that case.
|
|
|
80993
80996
|
], UnitByte.prototype, "binary", void 0);
|
|
80994
80997
|
const nimbleUnitByte = UnitByte.compose({
|
|
80995
80998
|
baseName: 'unit-byte',
|
|
80996
|
-
template: template$
|
|
80997
|
-
styles: styles$
|
|
80999
|
+
template: template$e,
|
|
81000
|
+
styles: styles$k
|
|
80998
81001
|
});
|
|
80999
81002
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitByte());
|
|
81000
81003
|
|
|
@@ -81046,8 +81049,8 @@ focus outline in that case.
|
|
|
81046
81049
|
}
|
|
81047
81050
|
const nimbleUnitVolt = UnitVolt.compose({
|
|
81048
81051
|
baseName: 'unit-volt',
|
|
81049
|
-
template: template$
|
|
81050
|
-
styles: styles$
|
|
81052
|
+
template: template$e,
|
|
81053
|
+
styles: styles$k
|
|
81051
81054
|
});
|
|
81052
81055
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
|
|
81053
81056
|
|
|
@@ -95361,7 +95364,7 @@ focus outline in that case.
|
|
|
95361
95364
|
return new Table(reader.readAll());
|
|
95362
95365
|
}
|
|
95363
95366
|
|
|
95364
|
-
const template$
|
|
95367
|
+
const template$d = html `
|
|
95365
95368
|
<div class="wafer-map-container">
|
|
95366
95369
|
<svg class="svg-root">
|
|
95367
95370
|
<g ${ref('zoomContainer')} transform=${x => x.transform.toString()}>
|
|
@@ -95394,7 +95397,7 @@ focus outline in that case.
|
|
|
95394
95397
|
</div>
|
|
95395
95398
|
`;
|
|
95396
95399
|
|
|
95397
|
-
const styles$
|
|
95400
|
+
const styles$j = css `
|
|
95398
95401
|
${display$2('inline-block')}
|
|
95399
95402
|
|
|
95400
95403
|
:host {
|
|
@@ -98419,8 +98422,8 @@ focus outline in that case.
|
|
|
98419
98422
|
], WaferMap.prototype, "colorScale", void 0);
|
|
98420
98423
|
const nimbleWaferMap = WaferMap.compose({
|
|
98421
98424
|
baseName: 'wafer-map',
|
|
98422
|
-
template: template$
|
|
98423
|
-
styles: styles$
|
|
98425
|
+
template: template$d,
|
|
98426
|
+
styles: styles$j
|
|
98424
98427
|
});
|
|
98425
98428
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleWaferMap());
|
|
98426
98429
|
|
|
@@ -98432,7 +98435,7 @@ focus outline in that case.
|
|
|
98432
98435
|
*/
|
|
98433
98436
|
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;}`;
|
|
98434
98437
|
|
|
98435
|
-
const styles$
|
|
98438
|
+
const styles$i = css `
|
|
98436
98439
|
${display$1('flex')}
|
|
98437
98440
|
|
|
98438
98441
|
:host {
|
|
@@ -98505,7 +98508,7 @@ focus outline in that case.
|
|
|
98505
98508
|
}
|
|
98506
98509
|
`;
|
|
98507
98510
|
|
|
98508
|
-
const template$
|
|
98511
|
+
const template$c = html `
|
|
98509
98512
|
<div class="toolbar ${x => (x.toolbarEmpty ? 'toolbar-empty' : '')}">
|
|
98510
98513
|
<slot name="toolbar" ${slotted({ property: 'slottedToolbarElements' })}></slot>
|
|
98511
98514
|
</div>
|
|
@@ -98587,16 +98590,16 @@ focus outline in that case.
|
|
|
98587
98590
|
], ChatConversation.prototype, "slottedEndElements", void 0);
|
|
98588
98591
|
const sprightChatConversation = ChatConversation.compose({
|
|
98589
98592
|
baseName: 'chat-conversation',
|
|
98590
|
-
template: template$
|
|
98591
|
-
styles: styles$
|
|
98593
|
+
template: template$c,
|
|
98594
|
+
styles: styles$i
|
|
98592
98595
|
});
|
|
98593
98596
|
DesignSystem.getOrCreate()
|
|
98594
98597
|
.withPrefix('spright')
|
|
98595
98598
|
.register(sprightChatConversation());
|
|
98596
98599
|
|
|
98597
|
-
const styles$
|
|
98600
|
+
const styles$h = css `
|
|
98598
98601
|
${display$1('flex')}
|
|
98599
|
-
${styles$
|
|
98602
|
+
${styles$17}
|
|
98600
98603
|
|
|
98601
98604
|
:host {
|
|
98602
98605
|
width: 100%;
|
|
@@ -98739,7 +98742,7 @@ focus outline in that case.
|
|
|
98739
98742
|
}
|
|
98740
98743
|
`;
|
|
98741
98744
|
|
|
98742
|
-
const template$
|
|
98745
|
+
const template$b = html `
|
|
98743
98746
|
<div class="container">
|
|
98744
98747
|
<section class="attachments ${x => (x.attachmentsIsEmpty ? '' : 'has-content')}">
|
|
98745
98748
|
<slot
|
|
@@ -98991,8 +98994,8 @@ focus outline in that case.
|
|
|
98991
98994
|
], ChatInput.prototype, "slottedAttachmentsElements", void 0);
|
|
98992
98995
|
const sprightChatInput = ChatInput.compose({
|
|
98993
98996
|
baseName: 'chat-input',
|
|
98994
|
-
template: template$
|
|
98995
|
-
styles: styles$
|
|
98997
|
+
template: template$b,
|
|
98998
|
+
styles: styles$h,
|
|
98996
98999
|
shadowOptions: {
|
|
98997
99000
|
delegatesFocus: true
|
|
98998
99001
|
}
|
|
@@ -99010,7 +99013,7 @@ focus outline in that case.
|
|
|
99010
99013
|
inbound: 'inbound'
|
|
99011
99014
|
};
|
|
99012
99015
|
|
|
99013
|
-
const styles$
|
|
99016
|
+
const styles$g = css `
|
|
99014
99017
|
${display$1('flex')}
|
|
99015
99018
|
|
|
99016
99019
|
:host {
|
|
@@ -99084,7 +99087,7 @@ focus outline in that case.
|
|
|
99084
99087
|
}
|
|
99085
99088
|
`;
|
|
99086
99089
|
|
|
99087
|
-
const template$
|
|
99090
|
+
const template$a = (context, definition) => html `
|
|
99088
99091
|
<div class="container">
|
|
99089
99092
|
${startSlotTemplate(context, definition)}
|
|
99090
99093
|
<section class="message-content">
|
|
@@ -99133,12 +99136,12 @@ focus outline in that case.
|
|
|
99133
99136
|
applyMixins(ChatMessage, StartEnd);
|
|
99134
99137
|
const sprightChatMessage = ChatMessage.compose({
|
|
99135
99138
|
baseName: 'chat-message',
|
|
99136
|
-
template: template$
|
|
99137
|
-
styles: styles$
|
|
99139
|
+
template: template$a,
|
|
99140
|
+
styles: styles$g
|
|
99138
99141
|
});
|
|
99139
99142
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessage());
|
|
99140
99143
|
|
|
99141
|
-
const styles$
|
|
99144
|
+
const styles$f = css `
|
|
99142
99145
|
${display$1('flex')}
|
|
99143
99146
|
|
|
99144
99147
|
:host {
|
|
@@ -99196,7 +99199,7 @@ focus outline in that case.
|
|
|
99196
99199
|
}
|
|
99197
99200
|
`;
|
|
99198
99201
|
|
|
99199
|
-
const template$
|
|
99202
|
+
const template$9 = (context, definition) => html `
|
|
99200
99203
|
<div class="container">
|
|
99201
99204
|
${startSlotTemplate(context, definition)}
|
|
99202
99205
|
<section class="message-content">
|
|
@@ -99234,12 +99237,12 @@ focus outline in that case.
|
|
|
99234
99237
|
applyMixins(ChatMessageInbound, StartEnd);
|
|
99235
99238
|
const sprightChatMessageInbound = ChatMessageInbound.compose({
|
|
99236
99239
|
baseName: 'chat-message-inbound',
|
|
99237
|
-
template: template$
|
|
99238
|
-
styles: styles$
|
|
99240
|
+
template: template$9,
|
|
99241
|
+
styles: styles$f
|
|
99239
99242
|
});
|
|
99240
99243
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageInbound());
|
|
99241
99244
|
|
|
99242
|
-
const styles$
|
|
99245
|
+
const styles$e = css `
|
|
99243
99246
|
${display$1('flex')}
|
|
99244
99247
|
|
|
99245
99248
|
:host {
|
|
@@ -99273,7 +99276,7 @@ focus outline in that case.
|
|
|
99273
99276
|
}
|
|
99274
99277
|
`;
|
|
99275
99278
|
|
|
99276
|
-
const template$
|
|
99279
|
+
const template$8 = () => html `
|
|
99277
99280
|
<div class="container">
|
|
99278
99281
|
<section class="message-content">
|
|
99279
99282
|
<slot></slot>
|
|
@@ -99288,12 +99291,12 @@ focus outline in that case.
|
|
|
99288
99291
|
}
|
|
99289
99292
|
const sprightChatMessageOutbound = ChatMessageOutbound.compose({
|
|
99290
99293
|
baseName: 'chat-message-outbound',
|
|
99291
|
-
template: template$
|
|
99292
|
-
styles: styles$
|
|
99294
|
+
template: template$8,
|
|
99295
|
+
styles: styles$e
|
|
99293
99296
|
});
|
|
99294
99297
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageOutbound());
|
|
99295
99298
|
|
|
99296
|
-
const styles$
|
|
99299
|
+
const styles$d = css `
|
|
99297
99300
|
${display$1('flex')}
|
|
99298
99301
|
|
|
99299
99302
|
:host {
|
|
@@ -99320,7 +99323,7 @@ focus outline in that case.
|
|
|
99320
99323
|
}
|
|
99321
99324
|
`;
|
|
99322
99325
|
|
|
99323
|
-
const template$
|
|
99326
|
+
const template$7 = () => html `
|
|
99324
99327
|
<div class="container">
|
|
99325
99328
|
<section class="message-content">
|
|
99326
99329
|
<slot></slot>
|
|
@@ -99335,12 +99338,12 @@ focus outline in that case.
|
|
|
99335
99338
|
}
|
|
99336
99339
|
const sprightChatMessageSystem = ChatMessageSystem.compose({
|
|
99337
99340
|
baseName: 'chat-message-system',
|
|
99338
|
-
template: template$
|
|
99339
|
-
styles: styles$
|
|
99341
|
+
template: template$7,
|
|
99342
|
+
styles: styles$d
|
|
99340
99343
|
});
|
|
99341
99344
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageSystem());
|
|
99342
99345
|
|
|
99343
|
-
const styles$
|
|
99346
|
+
const styles$c = css `
|
|
99344
99347
|
${display$1('flex')}
|
|
99345
99348
|
|
|
99346
99349
|
:host {
|
|
@@ -99400,13 +99403,13 @@ focus outline in that case.
|
|
|
99400
99403
|
const nigelChatLightData = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 48 48"><defs><linearGradient id="nigelChatGradient" gradientUnits="userSpaceOnUse" x1="24" y1="0.1611" x2="24" y2="48.1611"><stop offset="0" stop-color="#008557"/><stop offset="1" stop-color="#00C07E"/></linearGradient></defs><path fill="url(#nigelChatGradient)" d="M36.654,11.338c-1.63-1.626-3.685-2.512-5.797-2.766c2.107-0.256,4.157-1.153,5.783-2.776C38.273,4.167,39.175,2.112,39.429,0c0.251,2.115,1.139,4.174,2.774,5.805c1.63,1.626,3.685,2.512,5.797,2.766c-2.108,0.256-4.158,1.153-5.784,2.776c-1.632,1.629-2.534,3.684-2.787,5.796C39.177,15.027,38.289,12.969,36.654,11.338z M18,24v-0.5c0-1.003,0.274-1.941,0.746-2.752c0.473-0.901,1.172-1.589,2.081-2.05c0.198-0.111,0.404-0.208,0.616-0.294c0.005-0.002,0.011-0.004,0.016-0.006C22.09,18.144,22.778,18,23.5,18H28V6.5C28,4.575,26.425,3,24.5,3h-21C1.575,3,0,4.575,0,6.5v14C0,22.425,1.575,24,3.5,24h1.75L3.5,31L18,24z M20,23.5v14c0,1.925,1.575,3.5,3.5,3.5h7l14,7l-1.75-7h1.75c1.925,0,3.5-1.575,3.5-3.5V23c0-1.925-1.575-3-3.5-3h-21C21.575,20,20,21.575,20,23.5z"/></svg>';
|
|
99401
99404
|
const nigelChatDarkData = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 48 48"><defs><linearGradient id="nigelChatGradientDark" gradientUnits="userSpaceOnUse" x1="24" y1="47.8389" x2="24" y2="-0.1611"><stop offset="0" stop-color="#008557"/><stop offset="1" stop-color="#00C07E"/></linearGradient></defs><path fill="url(#nigelChatGradientDark)" d="M36.654,11.338c-1.63-1.626-3.685-2.512-5.797-2.766c2.107-0.256,4.157-1.153,5.783-2.776C38.273,4.167,39.175,2.112,39.429,0c0.251,2.115,1.139,4.174,2.774,5.805c1.63,1.626,3.685,2.512,5.797,2.766c-2.108,0.256-4.158,1.153-5.784,2.776c-1.632,1.629-2.534,3.684-2.787,5.796C39.177,15.027,38.289,12.969,36.654,11.338z M18,24v-0.5c0-1.003,0.274-1.941,0.746-2.752c0.473-0.901,1.172-1.589,2.081-2.05c0.198-0.111,0.404-0.208,0.616-0.294c0.005-0.002,0.011-0.004,0.016-0.006C22.09,18.144,22.778,18,23.5,18H28V6.5C28,4.575,26.425,3,24.5,3h-21C1.575,3,0,4.575,0,6.5v14C0,22.425,1.575,24,3.5,24h1.75L3.5,31L18,24z M20,23.5v14c0,1.925,1.575,3.5,3.5,3.5h7l14,7l-1.75-7h1.75c1.925,0,3.5-1.575,3.5-3.5V23c0-1.925-1.575-3-3.5-3h-21C21.575,20,20,21.575,20,23.5z"/></svg>';
|
|
99402
99405
|
|
|
99403
|
-
const template$
|
|
99406
|
+
const template$6 = html `
|
|
99404
99407
|
<div class="icon light-icon" aria-hidden="true" :innerHTML="${() => nigelChatLightData}"></div>
|
|
99405
99408
|
<div class="icon dark-icon" aria-hidden="true" :innerHTML="${() => nigelChatDarkData}"></div>
|
|
99406
99409
|
`;
|
|
99407
99410
|
|
|
99408
|
-
const styles$
|
|
99409
|
-
${styles$
|
|
99411
|
+
const styles$b = css `
|
|
99412
|
+
${styles$1i}
|
|
99410
99413
|
|
|
99411
99414
|
.dark-icon {
|
|
99412
99415
|
display: none;
|
|
@@ -99429,15 +99432,15 @@ focus outline in that case.
|
|
|
99429
99432
|
}
|
|
99430
99433
|
const sprightIconNigelChat = IconNigelChat.compose({
|
|
99431
99434
|
baseName: 'icon-nigel-chat',
|
|
99432
|
-
template: template$
|
|
99433
|
-
styles: styles$
|
|
99435
|
+
template: template$6,
|
|
99436
|
+
styles: styles$b
|
|
99434
99437
|
});
|
|
99435
99438
|
DesignSystem.getOrCreate()
|
|
99436
99439
|
.withPrefix('spright')
|
|
99437
99440
|
.register(sprightIconNigelChat());
|
|
99438
99441
|
const iconNigelChatTag = 'spright-icon-nigel-chat';
|
|
99439
99442
|
|
|
99440
|
-
const template$
|
|
99443
|
+
const template$5 = () => html `
|
|
99441
99444
|
<div class="container">
|
|
99442
99445
|
<div class="brand-icon">
|
|
99443
99446
|
<slot name="brand-icon">
|
|
@@ -99469,13 +99472,13 @@ focus outline in that case.
|
|
|
99469
99472
|
], ChatMessageWelcome.prototype, "subtitle", void 0);
|
|
99470
99473
|
const sprightChatMessageWelcome = ChatMessageWelcome.compose({
|
|
99471
99474
|
baseName: 'chat-message-welcome',
|
|
99472
|
-
template: template$
|
|
99473
|
-
styles: styles$
|
|
99475
|
+
template: template$5,
|
|
99476
|
+
styles: styles$c
|
|
99474
99477
|
});
|
|
99475
99478
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightChatMessageWelcome());
|
|
99476
99479
|
|
|
99477
|
-
const styles$
|
|
99478
|
-
${styles$
|
|
99480
|
+
const styles$a = css `
|
|
99481
|
+
${styles$1i}
|
|
99479
99482
|
|
|
99480
99483
|
.icon svg {
|
|
99481
99484
|
fill: ${calendarEventBorderReservationColor};
|
|
@@ -99492,15 +99495,15 @@ focus outline in that case.
|
|
|
99492
99495
|
}
|
|
99493
99496
|
const sprightIconWorkItemCalendarWeek = IconWorkItemCalendarWeek.compose({
|
|
99494
99497
|
baseName: 'icon-work-item-calendar-week',
|
|
99495
|
-
template: template
|
|
99496
|
-
styles: styles$
|
|
99498
|
+
template: template$$,
|
|
99499
|
+
styles: styles$a
|
|
99497
99500
|
});
|
|
99498
99501
|
DesignSystem.getOrCreate()
|
|
99499
99502
|
.withPrefix('spright')
|
|
99500
99503
|
.register(sprightIconWorkItemCalendarWeek());
|
|
99501
99504
|
|
|
99502
|
-
const styles$
|
|
99503
|
-
${styles$
|
|
99505
|
+
const styles$9 = css `
|
|
99506
|
+
${styles$1i}
|
|
99504
99507
|
|
|
99505
99508
|
.icon svg {
|
|
99506
99509
|
fill: ${calendarEventBorderCalibrationColor};
|
|
@@ -99517,15 +99520,15 @@ focus outline in that case.
|
|
|
99517
99520
|
}
|
|
99518
99521
|
const sprightIconWorkItemCalipers = IconWorkItemCalipers.compose({
|
|
99519
99522
|
baseName: 'icon-work-item-calipers',
|
|
99520
|
-
template: template
|
|
99521
|
-
styles: styles$
|
|
99523
|
+
template: template$$,
|
|
99524
|
+
styles: styles$9
|
|
99522
99525
|
});
|
|
99523
99526
|
DesignSystem.getOrCreate()
|
|
99524
99527
|
.withPrefix('spright')
|
|
99525
99528
|
.register(sprightIconWorkItemCalipers());
|
|
99526
99529
|
|
|
99527
|
-
const styles$
|
|
99528
|
-
${styles$
|
|
99530
|
+
const styles$8 = css `
|
|
99531
|
+
${styles$1i}
|
|
99529
99532
|
|
|
99530
99533
|
.icon svg {
|
|
99531
99534
|
fill: ${calendarEventBorderTransportOrderColor};
|
|
@@ -99542,15 +99545,15 @@ focus outline in that case.
|
|
|
99542
99545
|
}
|
|
99543
99546
|
const sprightIconWorkItemForklift = IconWorkItemForklift.compose({
|
|
99544
99547
|
baseName: 'icon-work-item-forklift',
|
|
99545
|
-
template: template
|
|
99546
|
-
styles: styles$
|
|
99548
|
+
template: template$$,
|
|
99549
|
+
styles: styles$8
|
|
99547
99550
|
});
|
|
99548
99551
|
DesignSystem.getOrCreate()
|
|
99549
99552
|
.withPrefix('spright')
|
|
99550
99553
|
.register(sprightIconWorkItemForklift());
|
|
99551
99554
|
|
|
99552
|
-
const styles$
|
|
99553
|
-
${styles$
|
|
99555
|
+
const styles$7 = css `
|
|
99556
|
+
${styles$1i}
|
|
99554
99557
|
|
|
99555
99558
|
.icon svg {
|
|
99556
99559
|
fill: ${calendarEventBorderStaticColor};
|
|
@@ -99567,15 +99570,15 @@ focus outline in that case.
|
|
|
99567
99570
|
}
|
|
99568
99571
|
const sprightIconWorkItemRectangleCheckLines = IconWorkItemRectangleCheckLines.compose({
|
|
99569
99572
|
baseName: 'icon-work-item-rectangle-check-lines',
|
|
99570
|
-
template: template
|
|
99571
|
-
styles: styles$
|
|
99573
|
+
template: template$$,
|
|
99574
|
+
styles: styles$7
|
|
99572
99575
|
});
|
|
99573
99576
|
DesignSystem.getOrCreate()
|
|
99574
99577
|
.withPrefix('spright')
|
|
99575
99578
|
.register(sprightIconWorkItemRectangleCheckLines());
|
|
99576
99579
|
|
|
99577
|
-
const styles$
|
|
99578
|
-
${styles$
|
|
99580
|
+
const styles$6 = css `
|
|
99581
|
+
${styles$1i}
|
|
99579
99582
|
|
|
99580
99583
|
.icon svg {
|
|
99581
99584
|
fill: ${calendarEventBorderJobColor};
|
|
@@ -99592,15 +99595,15 @@ focus outline in that case.
|
|
|
99592
99595
|
}
|
|
99593
99596
|
const sprightIconWorkItemUserHelmetSafety = IconWorkItemUserHelmetSafety.compose({
|
|
99594
99597
|
baseName: 'icon-work-item-user-helmet-safety',
|
|
99595
|
-
template: template
|
|
99596
|
-
styles: styles$
|
|
99598
|
+
template: template$$,
|
|
99599
|
+
styles: styles$6
|
|
99597
99600
|
});
|
|
99598
99601
|
DesignSystem.getOrCreate()
|
|
99599
99602
|
.withPrefix('spright')
|
|
99600
99603
|
.register(sprightIconWorkItemUserHelmetSafety());
|
|
99601
99604
|
|
|
99602
|
-
const styles$
|
|
99603
|
-
${styles$
|
|
99605
|
+
const styles$5 = css `
|
|
99606
|
+
${styles$1i}
|
|
99604
99607
|
|
|
99605
99608
|
.icon svg {
|
|
99606
99609
|
fill: ${calendarEventBorderMaintenanceColor};
|
|
@@ -99617,14 +99620,14 @@ focus outline in that case.
|
|
|
99617
99620
|
}
|
|
99618
99621
|
const sprightIconWorkItemWrenchHammer = IconWorkItemWrenchHammer.compose({
|
|
99619
99622
|
baseName: 'icon-work-item-wrench-hammer',
|
|
99620
|
-
template: template
|
|
99621
|
-
styles: styles$
|
|
99623
|
+
template: template$$,
|
|
99624
|
+
styles: styles$5
|
|
99622
99625
|
});
|
|
99623
99626
|
DesignSystem.getOrCreate()
|
|
99624
99627
|
.withPrefix('spright')
|
|
99625
99628
|
.register(sprightIconWorkItemWrenchHammer());
|
|
99626
99629
|
|
|
99627
|
-
const styles$
|
|
99630
|
+
const styles$4 = css `
|
|
99628
99631
|
${display$1('inline-block')}
|
|
99629
99632
|
|
|
99630
99633
|
:host {
|
|
@@ -99649,7 +99652,7 @@ focus outline in that case.
|
|
|
99649
99652
|
}
|
|
99650
99653
|
`;
|
|
99651
99654
|
|
|
99652
|
-
const template$
|
|
99655
|
+
const template$4 = html `<slot></slot>`;
|
|
99653
99656
|
|
|
99654
99657
|
/**
|
|
99655
99658
|
* A Spright demo component (not for production use)
|
|
@@ -99658,8 +99661,8 @@ focus outline in that case.
|
|
|
99658
99661
|
}
|
|
99659
99662
|
const sprightRectangle = Rectangle.compose({
|
|
99660
99663
|
baseName: 'rectangle',
|
|
99661
|
-
template: template$
|
|
99662
|
-
styles: styles$
|
|
99664
|
+
template: template$4,
|
|
99665
|
+
styles: styles$4
|
|
99663
99666
|
});
|
|
99664
99667
|
DesignSystem.getOrCreate().withPrefix('spright').register(sprightRectangle());
|
|
99665
99668
|
|
|
@@ -99686,7 +99689,7 @@ focus outline in that case.
|
|
|
99686
99689
|
block: 'block'
|
|
99687
99690
|
};
|
|
99688
99691
|
|
|
99689
|
-
const styles$
|
|
99692
|
+
const styles$3 = css `
|
|
99690
99693
|
@layer base, hover, focusVisible, active, disabled, top;
|
|
99691
99694
|
|
|
99692
99695
|
@layer base {
|
|
@@ -99792,7 +99795,7 @@ focus outline in that case.
|
|
|
99792
99795
|
}
|
|
99793
99796
|
`));
|
|
99794
99797
|
|
|
99795
|
-
const template$
|
|
99798
|
+
const template$3 = html `
|
|
99796
99799
|
<details
|
|
99797
99800
|
class="accordion-item-details"
|
|
99798
99801
|
?open="${x => x.expanded}"
|
|
@@ -99842,13 +99845,265 @@ focus outline in that case.
|
|
|
99842
99845
|
], FvAccordionItem.prototype, "appearance", void 0);
|
|
99843
99846
|
const okFvAccordionItem = FvAccordionItem.compose({
|
|
99844
99847
|
baseName: 'fv-accordion-item',
|
|
99845
|
-
template: template$
|
|
99846
|
-
styles: styles$
|
|
99848
|
+
template: template$3,
|
|
99849
|
+
styles: styles$3
|
|
99847
99850
|
});
|
|
99848
99851
|
DesignSystem.getOrCreate()
|
|
99849
99852
|
.withPrefix('ok')
|
|
99850
99853
|
.register(okFvAccordionItem());
|
|
99851
99854
|
|
|
99855
|
+
const styles$2 = css `
|
|
99856
|
+
@layer base, hover, focusVisible, active, disabled, top;
|
|
99857
|
+
|
|
99858
|
+
@layer base {
|
|
99859
|
+
${display('inline-block')}
|
|
99860
|
+
|
|
99861
|
+
:host {
|
|
99862
|
+
--ni-private-fv-search-input-inline-padding: ${standardPadding};
|
|
99863
|
+
--ni-private-fv-search-input-leading-inset: ${mediumPadding};
|
|
99864
|
+
--ni-private-fv-search-input-leading-space: calc(var(--ni-private-fv-search-input-leading-inset) + ${iconSize} + ${smallPadding});
|
|
99865
|
+
--ni-private-fv-search-input-trailing-space: calc(var(--ni-private-fv-search-input-inline-padding) + ${iconSize});
|
|
99866
|
+
--ni-private-fv-search-input-border-color: rgba(${borderRgbPartialColor}, 0.3);
|
|
99867
|
+
--ni-private-fv-search-input-border-radius: 0px;
|
|
99868
|
+
min-width: 120px;
|
|
99869
|
+
height: ${controlHeight};
|
|
99870
|
+
font: ${bodyFont};
|
|
99871
|
+
color: ${bodyFontColor};
|
|
99872
|
+
}
|
|
99873
|
+
|
|
99874
|
+
.search-input-container {
|
|
99875
|
+
position: relative;
|
|
99876
|
+
display: flex;
|
|
99877
|
+
align-items: center;
|
|
99878
|
+
width: 100%;
|
|
99879
|
+
height: 100%;
|
|
99880
|
+
border: ${borderWidth} solid transparent;
|
|
99881
|
+
border-radius: var(--ni-private-fv-search-input-border-radius);
|
|
99882
|
+
color: inherit;
|
|
99883
|
+
background-color: transparent;
|
|
99884
|
+
transition:
|
|
99885
|
+
border-color ${smallDelay} ease-in-out,
|
|
99886
|
+
box-shadow ${smallDelay} ease-in-out,
|
|
99887
|
+
background-color ${smallDelay} ease-in-out;
|
|
99888
|
+
}
|
|
99889
|
+
|
|
99890
|
+
.search-input-container::after {
|
|
99891
|
+
content: '';
|
|
99892
|
+
position: absolute;
|
|
99893
|
+
inset-inline: 0;
|
|
99894
|
+
inset-block-end: calc(-1 * ${borderWidth});
|
|
99895
|
+
border-bottom: calc(${borderWidth} + 1px) solid ${borderHoverColor};
|
|
99896
|
+
transform: scaleX(0);
|
|
99897
|
+
transform-origin: center;
|
|
99898
|
+
transition:
|
|
99899
|
+
transform ${smallDelay} ease-in-out,
|
|
99900
|
+
border-bottom-color ${smallDelay} ease-in-out;
|
|
99901
|
+
pointer-events: none;
|
|
99902
|
+
}
|
|
99903
|
+
|
|
99904
|
+
.search-input-icon {
|
|
99905
|
+
position: absolute;
|
|
99906
|
+
display: inline-flex;
|
|
99907
|
+
align-items: center;
|
|
99908
|
+
justify-content: center;
|
|
99909
|
+
top: 50%;
|
|
99910
|
+
inset-inline-start: var(--ni-private-fv-search-input-leading-inset);
|
|
99911
|
+
transform: translateY(-50%);
|
|
99912
|
+
color: ${placeholderFontColor};
|
|
99913
|
+
pointer-events: none;
|
|
99914
|
+
${iconColor.cssCustomProperty}: ${placeholderFontColor};
|
|
99915
|
+
}
|
|
99916
|
+
|
|
99917
|
+
.search-input {
|
|
99918
|
+
-webkit-appearance: none;
|
|
99919
|
+
appearance: none;
|
|
99920
|
+
display: block;
|
|
99921
|
+
flex: 1 1 auto;
|
|
99922
|
+
min-width: 0;
|
|
99923
|
+
width: 100%;
|
|
99924
|
+
height: 100%;
|
|
99925
|
+
padding: 0 var(--ni-private-fv-search-input-trailing-space) 0 var(--ni-private-fv-search-input-leading-space);
|
|
99926
|
+
font: inherit;
|
|
99927
|
+
line-height: normal;
|
|
99928
|
+
color: inherit;
|
|
99929
|
+
border: none;
|
|
99930
|
+
outline: none;
|
|
99931
|
+
border-radius: 0;
|
|
99932
|
+
background: transparent;
|
|
99933
|
+
}
|
|
99934
|
+
|
|
99935
|
+
.search-input::placeholder {
|
|
99936
|
+
color: ${placeholderFontColor};
|
|
99937
|
+
}
|
|
99938
|
+
|
|
99939
|
+
.search-input-clear {
|
|
99940
|
+
-webkit-appearance: none;
|
|
99941
|
+
appearance: none;
|
|
99942
|
+
position: absolute;
|
|
99943
|
+
display: inline-flex;
|
|
99944
|
+
align-items: center;
|
|
99945
|
+
justify-content: center;
|
|
99946
|
+
top: 50%;
|
|
99947
|
+
inset-inline-end: 2px;
|
|
99948
|
+
height: calc(100% - 6px);
|
|
99949
|
+
aspect-ratio: 1;
|
|
99950
|
+
padding: 0;
|
|
99951
|
+
transform: translateY(-50%);
|
|
99952
|
+
color: ${placeholderFontColor};
|
|
99953
|
+
border: none;
|
|
99954
|
+
border-radius: 2px;
|
|
99955
|
+
background: transparent;
|
|
99956
|
+
cursor: pointer;
|
|
99957
|
+
${iconColor.cssCustomProperty}: ${placeholderFontColor};
|
|
99958
|
+
}
|
|
99959
|
+
|
|
99960
|
+
:host([appearance='outline']) .search-input-container {
|
|
99961
|
+
border-color: var(--ni-private-fv-search-input-border-color);
|
|
99962
|
+
}
|
|
99963
|
+
|
|
99964
|
+
:host([appearance='block']) .search-input-container {
|
|
99965
|
+
background-color: rgba(${borderRgbPartialColor}, 0.1);
|
|
99966
|
+
}
|
|
99967
|
+
|
|
99968
|
+
:host([appearance='underline']) .search-input-container::after {
|
|
99969
|
+
transform: scaleX(1);
|
|
99970
|
+
border-bottom-color: var(--ni-private-fv-search-input-border-color);
|
|
99971
|
+
}
|
|
99972
|
+
}
|
|
99973
|
+
|
|
99974
|
+
@layer hover {
|
|
99975
|
+
.search-input-clear:hover {
|
|
99976
|
+
background: ${fillHoverColor};
|
|
99977
|
+
}
|
|
99978
|
+
|
|
99979
|
+
:host([appearance='outline']) .search-input-container:hover {
|
|
99980
|
+
border-color: ${borderHoverColor};
|
|
99981
|
+
box-shadow: 0 0 0 ${borderWidth} ${borderHoverColor} inset;
|
|
99982
|
+
}
|
|
99983
|
+
|
|
99984
|
+
:host([appearance='block']) .search-input-container:hover::after {
|
|
99985
|
+
transform: scaleX(1);
|
|
99986
|
+
border-bottom-color: ${borderHoverColor};
|
|
99987
|
+
}
|
|
99988
|
+
|
|
99989
|
+
:host([appearance='underline']) .search-input-container:hover::after {
|
|
99990
|
+
border-bottom-color: ${borderHoverColor};
|
|
99991
|
+
}
|
|
99992
|
+
|
|
99993
|
+
:host([appearance='frameless']) .search-input-container:hover::after {
|
|
99994
|
+
transform: scaleX(1);
|
|
99995
|
+
border-bottom-color: ${borderHoverColor};
|
|
99996
|
+
}
|
|
99997
|
+
}
|
|
99998
|
+
|
|
99999
|
+
@layer focusVisible {
|
|
100000
|
+
.search-input:focus-visible {
|
|
100001
|
+
outline: none;
|
|
100002
|
+
}
|
|
100003
|
+
|
|
100004
|
+
.search-input-clear:focus-visible {
|
|
100005
|
+
outline: ${borderWidth} solid ${borderHoverColor};
|
|
100006
|
+
outline-offset: -1px;
|
|
100007
|
+
}
|
|
100008
|
+
|
|
100009
|
+
:host([appearance='outline']) .search-input-container:focus-within {
|
|
100010
|
+
border-color: ${borderHoverColor};
|
|
100011
|
+
box-shadow: 0 0 0 ${borderWidth} ${borderHoverColor} inset;
|
|
100012
|
+
}
|
|
100013
|
+
|
|
100014
|
+
:host([appearance='block']) .search-input-container:focus-within::after {
|
|
100015
|
+
transform: scaleX(1);
|
|
100016
|
+
border-bottom-color: ${borderHoverColor};
|
|
100017
|
+
}
|
|
100018
|
+
|
|
100019
|
+
:host([appearance='underline']) .search-input-container:focus-within::after {
|
|
100020
|
+
border-bottom-color: ${borderHoverColor};
|
|
100021
|
+
}
|
|
100022
|
+
|
|
100023
|
+
:host([appearance='frameless']) .search-input-container:focus-within::after {
|
|
100024
|
+
transform: scaleX(1);
|
|
100025
|
+
border-bottom-color: ${borderHoverColor};
|
|
100026
|
+
}
|
|
100027
|
+
}
|
|
100028
|
+
`;
|
|
100029
|
+
|
|
100030
|
+
const template$2 = html `
|
|
100031
|
+
<div class="search-input-container">
|
|
100032
|
+
<span class="search-input-icon" aria-hidden="true">
|
|
100033
|
+
<${iconMagnifyingGlassTag}></${iconMagnifyingGlassTag}>
|
|
100034
|
+
</span>
|
|
100035
|
+
<input
|
|
100036
|
+
class="search-input"
|
|
100037
|
+
part="control"
|
|
100038
|
+
id="control"
|
|
100039
|
+
type="text"
|
|
100040
|
+
aria-label="${x => x.ariaLabel}"
|
|
100041
|
+
aria-labelledby="${x => x.ariaLabelledby}"
|
|
100042
|
+
placeholder="${x => x.placeholder}"
|
|
100043
|
+
:value="${x => x.value}"
|
|
100044
|
+
@input="${x => x.handleTextInput()}"
|
|
100045
|
+
@change="${x => x.handleChange()}"
|
|
100046
|
+
${ref('control')}
|
|
100047
|
+
/>
|
|
100048
|
+
${when(x => x.value.length > 0, html `
|
|
100049
|
+
<button
|
|
100050
|
+
class="search-input-clear"
|
|
100051
|
+
type="button"
|
|
100052
|
+
aria-label="Clear search"
|
|
100053
|
+
@click="${x => x.clear()}"
|
|
100054
|
+
>
|
|
100055
|
+
<${iconTimesTag}></${iconTimesTag}>
|
|
100056
|
+
</button>
|
|
100057
|
+
`)}
|
|
100058
|
+
</div>
|
|
100059
|
+
`;
|
|
100060
|
+
|
|
100061
|
+
const FvSearchInputAppearance = {
|
|
100062
|
+
outline: 'outline'};
|
|
100063
|
+
|
|
100064
|
+
/**
|
|
100065
|
+
* A compact search input with a built-in clear affordance.
|
|
100066
|
+
*/
|
|
100067
|
+
class FvSearchInput extends TextField$1 {
|
|
100068
|
+
constructor() {
|
|
100069
|
+
super(...arguments);
|
|
100070
|
+
this.appearance = FvSearchInputAppearance.outline;
|
|
100071
|
+
}
|
|
100072
|
+
handleChange() {
|
|
100073
|
+
this.value = this.control.value;
|
|
100074
|
+
super.handleChange();
|
|
100075
|
+
}
|
|
100076
|
+
/**
|
|
100077
|
+
* Clears the current value, restores focus to the text input, and
|
|
100078
|
+
* dispatches a synthetic `input` event on the host so consumers
|
|
100079
|
+
* observe the same immediate value-update contract as typing.
|
|
100080
|
+
* The inner <input> value is updated on the next FAST render cycle
|
|
100081
|
+
* via the `:value` template binding.
|
|
100082
|
+
*/
|
|
100083
|
+
clear() {
|
|
100084
|
+
if (this.value === '') {
|
|
100085
|
+
return true;
|
|
100086
|
+
}
|
|
100087
|
+
this.value = '';
|
|
100088
|
+
this.control.focus();
|
|
100089
|
+
this.dispatchEvent(new Event('input', { bubbles: true, composed: true }));
|
|
100090
|
+
return true;
|
|
100091
|
+
}
|
|
100092
|
+
}
|
|
100093
|
+
__decorate([
|
|
100094
|
+
attr
|
|
100095
|
+
], FvSearchInput.prototype, "appearance", void 0);
|
|
100096
|
+
const okFvSearchInput = FvSearchInput.compose({
|
|
100097
|
+
baseName: 'fv-search-input',
|
|
100098
|
+
baseClass: TextField$1,
|
|
100099
|
+
template: template$2,
|
|
100100
|
+
styles: styles$2,
|
|
100101
|
+
shadowOptions: {
|
|
100102
|
+
delegatesFocus: true
|
|
100103
|
+
}
|
|
100104
|
+
});
|
|
100105
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(okFvSearchInput());
|
|
100106
|
+
|
|
99852
100107
|
const styles$1 = css `
|
|
99853
100108
|
${display('inline-block')}
|
|
99854
100109
|
|