@ni/ok-components 0.0.2 → 0.0.4
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.
|
@@ -358,9 +358,12 @@
|
|
|
358
358
|
* If the value is true, the attribute is added; otherwise it is removed.
|
|
359
359
|
*/
|
|
360
360
|
setBooleanAttribute(element, attributeName, value) {
|
|
361
|
-
value
|
|
362
|
-
|
|
363
|
-
|
|
361
|
+
if (value) {
|
|
362
|
+
element.setAttribute(attributeName, "");
|
|
363
|
+
}
|
|
364
|
+
else {
|
|
365
|
+
element.removeAttribute(attributeName);
|
|
366
|
+
}
|
|
364
367
|
},
|
|
365
368
|
/**
|
|
366
369
|
* Removes all the child nodes of the provided parent node.
|
|
@@ -1809,7 +1812,7 @@
|
|
|
1809
1812
|
}
|
|
1810
1813
|
};
|
|
1811
1814
|
}
|
|
1812
|
-
catch (
|
|
1815
|
+
catch (_a) {
|
|
1813
1816
|
// Do nothing if an error is thrown, the default
|
|
1814
1817
|
// case handles FrozenArray.
|
|
1815
1818
|
}
|
|
@@ -2395,9 +2398,14 @@
|
|
|
2395
2398
|
const behavior = behaviors[i];
|
|
2396
2399
|
if (targetBehaviors.has(behavior)) {
|
|
2397
2400
|
const count = targetBehaviors.get(behavior) - 1;
|
|
2398
|
-
count === 0 || force
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
+
if (count === 0 || force) {
|
|
2402
|
+
if (targetBehaviors.delete(behavior)) {
|
|
2403
|
+
behaviorsToUnbind.push(behavior);
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
else {
|
|
2407
|
+
targetBehaviors.set(behavior, count);
|
|
2408
|
+
}
|
|
2401
2409
|
}
|
|
2402
2410
|
}
|
|
2403
2411
|
if (this._isConnected) {
|
|
@@ -5311,7 +5319,7 @@
|
|
|
5311
5319
|
styleElement.sheet.insertRule("foo:focus-visible {color:inherit}", 0);
|
|
5312
5320
|
_canUseFocusVisible = true;
|
|
5313
5321
|
}
|
|
5314
|
-
catch (
|
|
5322
|
+
catch (_a) {
|
|
5315
5323
|
_canUseFocusVisible = false;
|
|
5316
5324
|
}
|
|
5317
5325
|
finally {
|
|
@@ -6781,20 +6789,6 @@
|
|
|
6781
6789
|
], BreadcrumbItem$1.prototype, "separator", void 0);
|
|
6782
6790
|
applyMixins(BreadcrumbItem$1, StartEnd, DelegatesARIALink);
|
|
6783
6791
|
|
|
6784
|
-
/**
|
|
6785
|
-
* The template for the {@link @ni/fast-foundation#Breadcrumb} component.
|
|
6786
|
-
* @public
|
|
6787
|
-
*/
|
|
6788
|
-
const breadcrumbTemplate = (context, definition) => html `
|
|
6789
|
-
<template role="navigation">
|
|
6790
|
-
<div role="list" class="list" part="list">
|
|
6791
|
-
<slot
|
|
6792
|
-
${slotted({ property: "slottedBreadcrumbItems", filter: elements() })}
|
|
6793
|
-
></slot>
|
|
6794
|
-
</div>
|
|
6795
|
-
</template>
|
|
6796
|
-
`;
|
|
6797
|
-
|
|
6798
6792
|
/**
|
|
6799
6793
|
* A Breadcrumb Custom HTML Element.
|
|
6800
6794
|
* @slot - The default slot for the breadcrumb items
|
|
@@ -6847,14 +6841,20 @@
|
|
|
6847
6841
|
if (childNodeWithHref === null &&
|
|
6848
6842
|
item.hasAttribute("href") &&
|
|
6849
6843
|
item instanceof BreadcrumbItem$1) {
|
|
6850
|
-
isLastNode
|
|
6851
|
-
|
|
6852
|
-
|
|
6844
|
+
if (isLastNode) {
|
|
6845
|
+
item.setAttribute("aria-current", "page");
|
|
6846
|
+
}
|
|
6847
|
+
else {
|
|
6848
|
+
item.removeAttribute("aria-current");
|
|
6849
|
+
}
|
|
6853
6850
|
}
|
|
6854
6851
|
else if (childNodeWithHref !== null) {
|
|
6855
|
-
isLastNode
|
|
6856
|
-
|
|
6857
|
-
|
|
6852
|
+
if (isLastNode) {
|
|
6853
|
+
childNodeWithHref.setAttribute("aria-current", "page");
|
|
6854
|
+
}
|
|
6855
|
+
else {
|
|
6856
|
+
childNodeWithHref.removeAttribute("aria-current");
|
|
6857
|
+
}
|
|
6858
6858
|
}
|
|
6859
6859
|
}
|
|
6860
6860
|
};
|
|
@@ -7427,9 +7427,12 @@
|
|
|
7427
7427
|
}
|
|
7428
7428
|
// Browser support for requestSubmit is not comprehensive
|
|
7429
7429
|
// so click the proxy if it isn't supported
|
|
7430
|
-
typeof this.form.requestSubmit === "function"
|
|
7431
|
-
|
|
7432
|
-
|
|
7430
|
+
if (typeof this.form.requestSubmit === "function") {
|
|
7431
|
+
this.form.requestSubmit(this.proxy);
|
|
7432
|
+
}
|
|
7433
|
+
else {
|
|
7434
|
+
this.proxy.click();
|
|
7435
|
+
}
|
|
7433
7436
|
if (!attached) {
|
|
7434
7437
|
this.detachProxy();
|
|
7435
7438
|
}
|
|
@@ -7487,10 +7490,14 @@
|
|
|
7487
7490
|
if (this.proxy instanceof HTMLInputElement) {
|
|
7488
7491
|
this.proxy.type = this.type;
|
|
7489
7492
|
}
|
|
7490
|
-
next === "submit"
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7493
|
+
if (next === "submit")
|
|
7494
|
+
this.addEventListener("click", this.handleSubmission);
|
|
7495
|
+
if (previous === "submit")
|
|
7496
|
+
this.removeEventListener("click", this.handleSubmission);
|
|
7497
|
+
if (next === "reset")
|
|
7498
|
+
this.addEventListener("click", this.handleFormReset);
|
|
7499
|
+
if (previous === "reset")
|
|
7500
|
+
this.removeEventListener("click", this.handleFormReset);
|
|
7494
7501
|
}
|
|
7495
7502
|
/** {@inheritDoc (FormAssociated:interface).validate} */
|
|
7496
7503
|
validate() {
|
|
@@ -12763,9 +12770,12 @@
|
|
|
12763
12770
|
if (this.proxy instanceof HTMLInputElement) {
|
|
12764
12771
|
this.proxy.readOnly = this.readOnly;
|
|
12765
12772
|
}
|
|
12766
|
-
this.readOnly
|
|
12767
|
-
|
|
12768
|
-
|
|
12773
|
+
if (this.readOnly) {
|
|
12774
|
+
this.classList.add("readonly");
|
|
12775
|
+
}
|
|
12776
|
+
else {
|
|
12777
|
+
this.classList.remove("readonly");
|
|
12778
|
+
}
|
|
12769
12779
|
}
|
|
12770
12780
|
constructor() {
|
|
12771
12781
|
super();
|
|
@@ -12808,7 +12818,12 @@
|
|
|
12808
12818
|
/**
|
|
12809
12819
|
* @deprecated - this behavior already exists in the template and should not exist in the class.
|
|
12810
12820
|
*/
|
|
12811
|
-
|
|
12821
|
+
if (this.checked) {
|
|
12822
|
+
this.classList.add("checked");
|
|
12823
|
+
}
|
|
12824
|
+
else {
|
|
12825
|
+
this.classList.remove("checked");
|
|
12826
|
+
}
|
|
12812
12827
|
}
|
|
12813
12828
|
};
|
|
12814
12829
|
__decorate([
|
|
@@ -12952,9 +12967,12 @@
|
|
|
12952
12967
|
tab.style[gridHorizontalProperty] = "";
|
|
12953
12968
|
tab.style[gridVerticalProperty] = "";
|
|
12954
12969
|
tab.style[gridProperty] = `${index + 1}`;
|
|
12955
|
-
!this.isHorizontal()
|
|
12956
|
-
|
|
12957
|
-
|
|
12970
|
+
if (!this.isHorizontal()) {
|
|
12971
|
+
tab.classList.add("vertical");
|
|
12972
|
+
}
|
|
12973
|
+
else {
|
|
12974
|
+
tab.classList.remove("vertical");
|
|
12975
|
+
}
|
|
12958
12976
|
});
|
|
12959
12977
|
};
|
|
12960
12978
|
this.setTabPanels = () => {
|
|
@@ -12963,9 +12981,12 @@
|
|
|
12963
12981
|
const tabpanelId = this.tabpanelIds[index];
|
|
12964
12982
|
tabpanel.setAttribute("id", tabpanelId);
|
|
12965
12983
|
tabpanel.setAttribute("aria-labelledby", tabId);
|
|
12966
|
-
this.activeTabIndex !== index
|
|
12967
|
-
|
|
12968
|
-
|
|
12984
|
+
if (this.activeTabIndex !== index) {
|
|
12985
|
+
tabpanel.setAttribute("hidden", "");
|
|
12986
|
+
}
|
|
12987
|
+
else {
|
|
12988
|
+
tabpanel.removeAttribute("hidden");
|
|
12989
|
+
}
|
|
12969
12990
|
});
|
|
12970
12991
|
};
|
|
12971
12992
|
this.handleTabClick = (event) => {
|
|
@@ -16371,25 +16392,25 @@
|
|
|
16371
16392
|
createFontTokens(tokenNames.headlineFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Headline1Family, Headline1Weight, Headline1Size, Headline1LineHeight);
|
|
16372
16393
|
createFontTokens(tokenNames.headlinePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Headline2Family, Headline2Weight, Headline2Size, Headline2LineHeight);
|
|
16373
16394
|
createFontTokens(tokenNames.titlePlus2Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title3Family, Title3Weight, Title3Size, Title3LineHeight);
|
|
16374
|
-
const [titlePlus1Font, titlePlus1FontColor
|
|
16395
|
+
const [titlePlus1Font, titlePlus1FontColor] = createFontTokens(tokenNames.titlePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title2Family, Title2Weight, Title2Size, Title2LineHeight);
|
|
16375
16396
|
createFontTokens(tokenNames.titleFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title1Family, Title1Weight, Title1Size, Title1LineHeight);
|
|
16376
|
-
const [subtitlePlus1Font
|
|
16377
|
-
const [subtitleFont, subtitleFontColor
|
|
16378
|
-
const [linkFont, linkFontColor, linkDisabledFontColor
|
|
16379
|
-
const [linkActiveFont, linkActiveFontColor
|
|
16380
|
-
const [linkProminentFont, linkProminentFontColor
|
|
16381
|
-
const [linkActiveProminentFont, linkActiveProminentFontColor
|
|
16382
|
-
const [placeholderFont, placeholderFontColor
|
|
16397
|
+
const [subtitlePlus1Font] = createFontTokens(tokenNames.subtitlePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Subtitle2Family, Subtitle2Weight, Subtitle2Size, Subtitle2LineHeight);
|
|
16398
|
+
const [subtitleFont, subtitleFontColor] = createFontTokens(tokenNames.subtitleFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Subtitle1Family, Subtitle1Weight, Subtitle1Size, Subtitle1LineHeight);
|
|
16399
|
+
const [linkFont, linkFontColor, linkDisabledFontColor] = createFontTokens(tokenNames.linkFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
|
|
16400
|
+
const [linkActiveFont, linkActiveFontColor] = createFontTokens(tokenNames.linkActiveFont, (element) => getColorForTheme(element, DigitalGreenLight, DigitalGreenLight, hexToRgbaCssColor(White, 0.75)), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
|
|
16401
|
+
const [linkProminentFont, linkProminentFontColor] = createFontTokens(tokenNames.linkProminentFont, (element) => getColorForTheme(element, DigitalGreenDark105, PowerGreen, White), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
|
|
16402
|
+
const [linkActiveProminentFont, linkActiveProminentFontColor] = createFontTokens(tokenNames.linkActiveProminentFont, (element) => getColorForTheme(element, DigitalGreenLight, DigitalGreenLight, hexToRgbaCssColor(White, 0.75)), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight);
|
|
16403
|
+
const [placeholderFont, placeholderFontColor] = createFontTokens(tokenNames.placeholderFont, (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.6), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), PlaceholderFamily, PlaceholderWeight, PlaceholderSize, PlaceholderLineHeight);
|
|
16383
16404
|
const [bodyFont, bodyFontColor, bodyDisabledFontColor, bodyFontFamily, bodyFontWeight, bodyFontSize, bodyFontLineHeight] = createFontTokens(tokenNames.bodyFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyFamily, BodyWeight, BodySize, BodyLineHeight);
|
|
16384
|
-
const [bodyEmphasizedFont, bodyEmphasizedFontColor, bodyEmphasizedDisabledFontColor, bodyEmphasizedFontFamily, bodyEmphasizedFontWeight
|
|
16405
|
+
const [bodyEmphasizedFont, bodyEmphasizedFontColor, bodyEmphasizedDisabledFontColor, bodyEmphasizedFontFamily, bodyEmphasizedFontWeight] = createFontTokens(tokenNames.bodyEmphasizedFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyEmphasizedFamily, BodyEmphasizedWeight, BodyEmphasizedSize, BodyEmphasizedLineHeight);
|
|
16385
16406
|
createFontTokens(tokenNames.bodyPlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Body2Family, Body2Weight, Body2Size, Body2LineHeight);
|
|
16386
16407
|
createFontTokens(tokenNames.bodyPlus1EmphasizedFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyEmphasized2Family, BodyEmphasized2Weight, BodyEmphasized2Size, BodyEmphasized2LineHeight);
|
|
16387
|
-
const [groupHeaderFont, groupHeaderFontColor
|
|
16408
|
+
const [groupHeaderFont, groupHeaderFontColor] = createFontTokens(tokenNames.groupHeaderFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), GroupLabel1Family, GroupLabel1Weight, GroupLabel1Size, GroupLabel1LineHeight);
|
|
16388
16409
|
const [controlLabelFont, controlLabelFontColor, controlLabelDisabledFontColor, controlLabelFontFamily, controlLabelFontWeight, controlLabelFontSize, controlLabelFontLineHeight] = createFontTokens(tokenNames.controlLabelFont, (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.6), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), ControlLabel1Family, ControlLabel1Weight, ControlLabel1Size, ControlLabel1LineHeight);
|
|
16389
|
-
const [buttonLabelFont, buttonLabelFontColor, buttonLabelDisabledFontColor
|
|
16390
|
-
const [tooltipCaptionFont, tooltipCaptionFontColor
|
|
16410
|
+
const [buttonLabelFont, buttonLabelFontColor, buttonLabelDisabledFontColor] = createFontTokens(tokenNames.buttonLabelFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), ButtonLabel1Family, ButtonLabel1Weight, ButtonLabel1Size, ButtonLabel1LineHeight);
|
|
16411
|
+
const [tooltipCaptionFont, tooltipCaptionFontColor] = createFontTokens(tokenNames.tooltipCaptionFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), TooltipCaptionFamily, TooltipCaptionWeight, TooltipCaptionSize, TooltipCaptionLineHeight);
|
|
16391
16412
|
const [errorTextFont, errorTextFontColor, errorTextDisabledFontColor, errorTextFontFamily, errorTextFontWeight, errorTextFontSize, errorTextFontLineHeight] = createFontTokens(tokenNames.errorTextFont, (element) => getFailColorForTheme(element), (element) => hexToRgbaCssColor(getFailColorForTheme(element), 0.3), ErrorLightUiFamily, ErrorLightUiWeight, ErrorLightUiSize, TooltipCaptionLineHeight);
|
|
16392
|
-
const [tableHeaderFont, tableHeaderFontColor
|
|
16413
|
+
const [tableHeaderFont, tableHeaderFontColor] = createFontTokens(tokenNames.tableHeaderFont, (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.6), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), GridHeaderFamily, GridHeaderWeight, GridHeaderSize, TooltipCaptionLineHeight);
|
|
16393
16414
|
createFontTokens(tokenNames.mentionFont, (element) => getColorForTheme(element, DigitalGreenDark, PowerGreen, PowerGreen), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyFamily, BodyEmphasizedWeight, BodySize, BodyLineHeight);
|
|
16394
16415
|
// Font Transform Tokens
|
|
16395
16416
|
const groupHeaderTextTransform = DesignToken.create(styleNameFromTokenName(tokenNames.groupHeaderTextTransform)).withDefault('uppercase');
|
|
@@ -16563,7 +16584,6 @@
|
|
|
16563
16584
|
}
|
|
16564
16585
|
`;
|
|
16565
16586
|
|
|
16566
|
-
// prettier-ignore
|
|
16567
16587
|
const template$S = (_context, definition) => html `${
|
|
16568
16588
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16569
16589
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
@@ -18768,7 +18788,6 @@
|
|
|
18768
18788
|
cssCustomPropertyName: null
|
|
18769
18789
|
}).withDefault(coreLabelDefaults.scrollForwardLabel);
|
|
18770
18790
|
|
|
18771
|
-
// prettier-ignore
|
|
18772
18791
|
const template$M = (context, definition) => html `
|
|
18773
18792
|
<div
|
|
18774
18793
|
class="tab-bar"
|
|
@@ -19625,7 +19644,6 @@
|
|
|
19625
19644
|
information: 'information'
|
|
19626
19645
|
};
|
|
19627
19646
|
|
|
19628
|
-
// prettier-ignore
|
|
19629
19647
|
const template$K = html `
|
|
19630
19648
|
<${themeProviderTag} theme="${Theme.color}">
|
|
19631
19649
|
<div class="container"
|
|
@@ -19749,12 +19767,70 @@
|
|
|
19749
19767
|
});
|
|
19750
19768
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBanner());
|
|
19751
19769
|
|
|
19770
|
+
/**
|
|
19771
|
+
* The template for the {@link @ni/fast-foundation#Breadcrumb} component.
|
|
19772
|
+
* @public
|
|
19773
|
+
*/
|
|
19774
|
+
const breadcrumbTemplate = (_context, _definition) => html `
|
|
19775
|
+
<template role="navigation">
|
|
19776
|
+
${when(x => x.showScrollButtons, html `
|
|
19777
|
+
<${buttonTag}
|
|
19778
|
+
content-hidden
|
|
19779
|
+
class="scroll-button left"
|
|
19780
|
+
appearance="${ButtonAppearance.ghost}"
|
|
19781
|
+
@click="${x => x.onScrollLeftClick()}"
|
|
19782
|
+
${ref('leftScrollButton')}
|
|
19783
|
+
>
|
|
19784
|
+
${x => scrollForwardLabel.getValueFor(x)}
|
|
19785
|
+
<${iconArrowExpanderLeftTag} slot="start"></${iconArrowExpanderLeftTag}>
|
|
19786
|
+
</${buttonTag}>
|
|
19787
|
+
`)}
|
|
19788
|
+
<div ${ref('list')} role="list" class="list" part="list" tabindex="-1">
|
|
19789
|
+
<slot
|
|
19790
|
+
${slotted({ property: 'slottedBreadcrumbItems', filter: elements() })}
|
|
19791
|
+
></slot>
|
|
19792
|
+
</div>
|
|
19793
|
+
${when(x => x.showScrollButtons, html `
|
|
19794
|
+
<${buttonTag}
|
|
19795
|
+
content-hidden
|
|
19796
|
+
class="scroll-button right"
|
|
19797
|
+
appearance="${ButtonAppearance.ghost}"
|
|
19798
|
+
@click="${x => x.onScrollRightClick()}"
|
|
19799
|
+
>
|
|
19800
|
+
${x => scrollBackwardLabel.getValueFor(x)}
|
|
19801
|
+
<${iconArrowExpanderRightTag} slot="start"></${iconArrowExpanderRightTag}>
|
|
19802
|
+
</${buttonTag}>
|
|
19803
|
+
`)}
|
|
19804
|
+
</template>
|
|
19805
|
+
`;
|
|
19806
|
+
|
|
19752
19807
|
const styles$W = css `
|
|
19753
|
-
${display$2('inline-
|
|
19808
|
+
${display$2('inline-flex')}
|
|
19809
|
+
|
|
19810
|
+
:host {
|
|
19811
|
+
flex-direction: row;
|
|
19812
|
+
}
|
|
19813
|
+
|
|
19814
|
+
.scroll-button.left {
|
|
19815
|
+
margin-right: ${smallPadding};
|
|
19816
|
+
}
|
|
19754
19817
|
|
|
19755
19818
|
.list {
|
|
19756
|
-
display: flex;
|
|
19757
|
-
|
|
19819
|
+
display: inline-flex;
|
|
19820
|
+
max-width: 100%;
|
|
19821
|
+
width: max-content;
|
|
19822
|
+
align-self: end;
|
|
19823
|
+
overflow-x: scroll;
|
|
19824
|
+
scrollbar-width: none;
|
|
19825
|
+
}
|
|
19826
|
+
|
|
19827
|
+
.scroll-button.right {
|
|
19828
|
+
margin-left: ${smallPadding};
|
|
19829
|
+
}
|
|
19830
|
+
|
|
19831
|
+
::slotted(*) {
|
|
19832
|
+
flex-shrink: 0;
|
|
19833
|
+
white-space: nowrap;
|
|
19758
19834
|
}
|
|
19759
19835
|
|
|
19760
19836
|
::slotted(:last-child) {
|
|
@@ -19771,10 +19847,63 @@
|
|
|
19771
19847
|
* A nimble-styled breadcrumb
|
|
19772
19848
|
*/
|
|
19773
19849
|
class Breadcrumb extends Breadcrumb$1 {
|
|
19850
|
+
constructor() {
|
|
19851
|
+
super();
|
|
19852
|
+
/**
|
|
19853
|
+
* @internal
|
|
19854
|
+
*/
|
|
19855
|
+
this.showScrollButtons = false;
|
|
19856
|
+
this.listResizeObserver = new ResizeObserver(entries => {
|
|
19857
|
+
let listVisibleWidth = entries[0]?.contentRect.width;
|
|
19858
|
+
if (listVisibleWidth !== undefined) {
|
|
19859
|
+
const buttonWidth = this.leftScrollButton?.clientWidth ?? 0;
|
|
19860
|
+
listVisibleWidth = Math.ceil(listVisibleWidth);
|
|
19861
|
+
if (this.showScrollButtons) {
|
|
19862
|
+
listVisibleWidth += buttonWidth * 2;
|
|
19863
|
+
}
|
|
19864
|
+
this.showScrollButtons = listVisibleWidth < this.list.scrollWidth;
|
|
19865
|
+
}
|
|
19866
|
+
});
|
|
19867
|
+
}
|
|
19868
|
+
/**
|
|
19869
|
+
* @internal
|
|
19870
|
+
*/
|
|
19871
|
+
onScrollLeftClick() {
|
|
19872
|
+
this.list.scrollBy({
|
|
19873
|
+
left: -this.list.clientWidth,
|
|
19874
|
+
behavior: 'smooth'
|
|
19875
|
+
});
|
|
19876
|
+
}
|
|
19877
|
+
/**
|
|
19878
|
+
* @internal
|
|
19879
|
+
*/
|
|
19880
|
+
onScrollRightClick() {
|
|
19881
|
+
this.list.scrollBy({
|
|
19882
|
+
left: this.list.clientWidth,
|
|
19883
|
+
behavior: 'smooth'
|
|
19884
|
+
});
|
|
19885
|
+
}
|
|
19886
|
+
/**
|
|
19887
|
+
* @internal
|
|
19888
|
+
*/
|
|
19889
|
+
connectedCallback() {
|
|
19890
|
+
super.connectedCallback();
|
|
19891
|
+
this.listResizeObserver.observe(this.list);
|
|
19892
|
+
}
|
|
19893
|
+
/**
|
|
19894
|
+
* @internal
|
|
19895
|
+
*/
|
|
19896
|
+
disconnectedCallback() {
|
|
19897
|
+
super.disconnectedCallback();
|
|
19898
|
+
this.listResizeObserver.disconnect();
|
|
19899
|
+
}
|
|
19774
19900
|
}
|
|
19775
19901
|
__decorate([
|
|
19776
19902
|
attr
|
|
19777
19903
|
], Breadcrumb.prototype, "appearance", void 0);
|
|
19904
|
+
__decorate([
|
|
19905
|
+
observable
|
|
19906
|
+
], Breadcrumb.prototype, "showScrollButtons", void 0);
|
|
19778
19907
|
const nimbleBreadcrumb = Breadcrumb.compose({
|
|
19779
19908
|
baseName: 'breadcrumb',
|
|
19780
19909
|
baseClass: Breadcrumb$1,
|
|
@@ -20467,8 +20596,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20467
20596
|
}
|
|
20468
20597
|
`));
|
|
20469
20598
|
|
|
20470
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
20471
|
-
// prettier-ignore
|
|
20472
20599
|
const template$H = (context, definition) => html `
|
|
20473
20600
|
<div
|
|
20474
20601
|
role="button"
|
|
@@ -20521,7 +20648,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20521
20648
|
${endSlotTemplate(context, definition)}
|
|
20522
20649
|
</div>
|
|
20523
20650
|
`;
|
|
20524
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
20525
20651
|
|
|
20526
20652
|
/**
|
|
20527
20653
|
* A nimble-styled toggle button control.
|
|
@@ -21022,7 +21148,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21022
21148
|
*
|
|
21023
21149
|
* This function is intended to be used with components leveraging `mixinRequiredVisiblePattern`.
|
|
21024
21150
|
*/
|
|
21025
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
21026
21151
|
function createRequiredVisibleLabelTemplate(labelTemplate) {
|
|
21027
21152
|
return html `
|
|
21028
21153
|
<div class="annotated-label">
|
|
@@ -21039,8 +21164,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21039
21164
|
<slot></slot>
|
|
21040
21165
|
</label>
|
|
21041
21166
|
`);
|
|
21042
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
21043
|
-
// prettier-ignore
|
|
21044
21167
|
const template$G = (context, definition) => html `
|
|
21045
21168
|
<template
|
|
21046
21169
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -25426,7 +25549,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25426
25549
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
25427
25550
|
* @public
|
|
25428
25551
|
*/
|
|
25429
|
-
// prettier-ignore
|
|
25430
25552
|
const template$D = (context, definition) => html `
|
|
25431
25553
|
<template
|
|
25432
25554
|
aria-checked="${x => x.ariaChecked}"
|
|
@@ -25608,7 +25730,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25608
25730
|
const isListOption$1 = (n) => {
|
|
25609
25731
|
return n instanceof ListOption;
|
|
25610
25732
|
};
|
|
25611
|
-
// prettier-ignore
|
|
25612
25733
|
const template$C = html `
|
|
25613
25734
|
<template
|
|
25614
25735
|
role="group"
|
|
@@ -26200,8 +26321,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26200
26321
|
observable
|
|
26201
26322
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
26202
26323
|
|
|
26203
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
26204
|
-
// prettier-ignore
|
|
26205
26324
|
const template$A = () => html `
|
|
26206
26325
|
<template
|
|
26207
26326
|
slot="${x => {
|
|
@@ -26218,7 +26337,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26218
26337
|
<slot ${slotted('items')}></slot>
|
|
26219
26338
|
</template>
|
|
26220
26339
|
`;
|
|
26221
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
26222
26340
|
|
|
26223
26341
|
const styles$G = css `
|
|
26224
26342
|
${display$2('grid')}
|
|
@@ -26325,7 +26443,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26325
26443
|
}
|
|
26326
26444
|
`;
|
|
26327
26445
|
|
|
26328
|
-
// prettier-ignore
|
|
26329
26446
|
const template$z = html `
|
|
26330
26447
|
<template
|
|
26331
26448
|
?open="${x => x.open}"
|
|
@@ -27268,7 +27385,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27268
27385
|
`;
|
|
27269
27386
|
|
|
27270
27387
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
27271
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
27272
27388
|
const template$x = html `
|
|
27273
27389
|
<template
|
|
27274
27390
|
role="radiogroup"
|
|
@@ -34467,7 +34583,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
34467
34583
|
if (desc.dom.nodeType == 1 && (desc.node.isBlock && desc.parent || !desc.contentDOM) &&
|
|
34468
34584
|
// Ignore elements with zero-size bounding rectangles
|
|
34469
34585
|
((rect = desc.dom.getBoundingClientRect()).width || rect.height)) {
|
|
34470
|
-
if (desc.node.isBlock && desc.parent) {
|
|
34586
|
+
if (desc.node.isBlock && desc.parent && !/^T(R|BODY|HEAD|FOOT)$/.test(desc.dom.nodeName)) {
|
|
34471
34587
|
// Only apply the horizontal test to the innermost block. Vertical for any parent.
|
|
34472
34588
|
if (!sawBlock && rect.left > coords.left || rect.top > coords.top)
|
|
34473
34589
|
outsideBlock = desc.posBefore;
|
|
@@ -35125,7 +35241,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
35125
35241
|
// (one where the focus is before the anchor), but not all
|
|
35126
35242
|
// browsers support it yet.
|
|
35127
35243
|
let domSelExtended = false;
|
|
35128
|
-
if ((domSel.extend || anchor == head) && !brKludge) {
|
|
35244
|
+
if ((domSel.extend || anchor == head) && !(brKludge && gecko)) {
|
|
35129
35245
|
domSel.collapse(anchorDOM.node, anchorDOM.offset);
|
|
35130
35246
|
try {
|
|
35131
35247
|
if (anchor != head)
|
|
@@ -35537,17 +35653,18 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
35537
35653
|
}
|
|
35538
35654
|
// Mark this node as being the selected node.
|
|
35539
35655
|
selectNode() {
|
|
35540
|
-
if (this.nodeDOM.nodeType == 1)
|
|
35656
|
+
if (this.nodeDOM.nodeType == 1) {
|
|
35541
35657
|
this.nodeDOM.classList.add("ProseMirror-selectednode");
|
|
35542
|
-
|
|
35543
|
-
|
|
35658
|
+
if (this.contentDOM || !this.node.type.spec.draggable)
|
|
35659
|
+
this.nodeDOM.draggable = true;
|
|
35660
|
+
}
|
|
35544
35661
|
}
|
|
35545
35662
|
// Remove selected node marking from this node.
|
|
35546
35663
|
deselectNode() {
|
|
35547
35664
|
if (this.nodeDOM.nodeType == 1) {
|
|
35548
35665
|
this.nodeDOM.classList.remove("ProseMirror-selectednode");
|
|
35549
35666
|
if (this.contentDOM || !this.node.type.spec.draggable)
|
|
35550
|
-
this.
|
|
35667
|
+
this.nodeDOM.removeAttribute("draggable");
|
|
35551
35668
|
}
|
|
35552
35669
|
}
|
|
35553
35670
|
get domAtom() { return this.node.isAtom; }
|
|
@@ -36386,17 +36503,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
36386
36503
|
});
|
|
36387
36504
|
}
|
|
36388
36505
|
function selectCursorWrapper(view) {
|
|
36389
|
-
let domSel = view.domSelection()
|
|
36506
|
+
let domSel = view.domSelection();
|
|
36390
36507
|
if (!domSel)
|
|
36391
36508
|
return;
|
|
36392
36509
|
let node = view.cursorWrapper.dom, img = node.nodeName == "IMG";
|
|
36393
36510
|
if (img)
|
|
36394
|
-
|
|
36511
|
+
domSel.collapse(node.parentNode, domIndex(node) + 1);
|
|
36395
36512
|
else
|
|
36396
|
-
|
|
36397
|
-
range.collapse(true);
|
|
36398
|
-
domSel.removeAllRanges();
|
|
36399
|
-
domSel.addRange(range);
|
|
36513
|
+
domSel.collapse(node, 0);
|
|
36400
36514
|
// Kludge to kill 'control selection' in IE11 when selecting an
|
|
36401
36515
|
// invisible cursor wrapper, since that would result in those weird
|
|
36402
36516
|
// resize handles and a selection that considers the absolutely
|
|
@@ -36874,11 +36988,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
36874
36988
|
let dom, slice;
|
|
36875
36989
|
if (!html && !text)
|
|
36876
36990
|
return null;
|
|
36877
|
-
let asText = text && (plainText || inCode || !html);
|
|
36991
|
+
let asText = !!text && (plainText || inCode || !html);
|
|
36878
36992
|
if (asText) {
|
|
36879
36993
|
view.someProp("transformPastedText", f => { text = f(text, inCode || plainText, view); });
|
|
36880
|
-
if (inCode)
|
|
36881
|
-
|
|
36994
|
+
if (inCode) {
|
|
36995
|
+
slice = new Slice(Fragment.from(view.state.schema.text(text.replace(/\r\n?/g, "\n"))), 0, 0);
|
|
36996
|
+
view.someProp("transformPasted", f => { slice = f(slice, view, true); });
|
|
36997
|
+
return slice;
|
|
36998
|
+
}
|
|
36882
36999
|
let parsed = view.someProp("clipboardTextParser", f => f(text, $context, plainText, view));
|
|
36883
37000
|
if (parsed) {
|
|
36884
37001
|
slice = parsed;
|
|
@@ -36936,7 +37053,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
36936
37053
|
slice = closeSlice(slice, openStart, openEnd);
|
|
36937
37054
|
}
|
|
36938
37055
|
}
|
|
36939
|
-
view.someProp("transformPasted", f => { slice = f(slice, view); });
|
|
37056
|
+
view.someProp("transformPasted", f => { slice = f(slice, view, asText); });
|
|
36940
37057
|
return slice;
|
|
36941
37058
|
}
|
|
36942
37059
|
const inlineParents = /^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;
|
|
@@ -37398,7 +37515,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
37398
37515
|
}
|
|
37399
37516
|
const target = flushed ? null : event.target;
|
|
37400
37517
|
const targetDesc = target ? view.docView.nearestDesc(target, true) : null;
|
|
37401
|
-
this.target = targetDesc && targetDesc.
|
|
37518
|
+
this.target = targetDesc && targetDesc.nodeDOM.nodeType == 1 ? targetDesc.nodeDOM : null;
|
|
37402
37519
|
let { selection } = view.state;
|
|
37403
37520
|
if (event.button == 0 &&
|
|
37404
37521
|
targetNode.type.spec.draggable && targetNode.type.spec.selectable !== false ||
|
|
@@ -37795,7 +37912,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
37795
37912
|
let $mouse = view.state.doc.resolve(eventPos.pos);
|
|
37796
37913
|
let slice = dragging && dragging.slice;
|
|
37797
37914
|
if (slice) {
|
|
37798
|
-
view.someProp("transformPasted", f => { slice = f(slice, view); });
|
|
37915
|
+
view.someProp("transformPasted", f => { slice = f(slice, view, false); });
|
|
37799
37916
|
}
|
|
37800
37917
|
else {
|
|
37801
37918
|
slice = parseFromClipboard(view, getText$1(event.dataTransfer), brokenClipboardAPI ? null : event.dataTransfer.getData("text/html"), false, $mouse);
|
|
@@ -38981,7 +39098,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
38981
39098
|
}
|
|
38982
39099
|
return null;
|
|
38983
39100
|
}
|
|
38984
|
-
const isInline = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;
|
|
39101
|
+
const isInline = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;
|
|
38985
39102
|
function readDOMChange(view, from, to, typeOver, addedNodes) {
|
|
38986
39103
|
let compositionID = view.input.compositionPendingChanges || (view.composing ? view.input.compositionID : 0);
|
|
38987
39104
|
view.input.compositionPendingChanges = 0;
|
|
@@ -39080,16 +39197,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
39080
39197
|
let $to = parse.doc.resolveNoCache(change.endB - parse.from);
|
|
39081
39198
|
let $fromA = doc.resolve(change.start);
|
|
39082
39199
|
let inlineChange = $from.sameParent($to) && $from.parent.inlineContent && $fromA.end() >= change.endA;
|
|
39083
|
-
let nextSel;
|
|
39084
39200
|
// If this looks like the effect of pressing Enter (or was recorded
|
|
39085
39201
|
// as being an iOS enter press), just dispatch an Enter key instead.
|
|
39086
39202
|
if (((ios && view.input.lastIOSEnter > Date.now() - 225 &&
|
|
39087
39203
|
(!inlineChange || addedNodes.some(n => n.nodeName == "DIV" || n.nodeName == "P"))) ||
|
|
39088
39204
|
(!inlineChange && $from.pos < parse.doc.content.size &&
|
|
39089
39205
|
(!$from.sameParent($to) || !$from.parent.inlineContent) &&
|
|
39090
|
-
!/\S/.test(parse.doc.textBetween($from.pos, $to.pos, "", "")) &&
|
|
39091
|
-
(nextSel = Selection$2.findFrom(parse.doc.resolve($from.pos + 1), 1, true)) &&
|
|
39092
|
-
nextSel.head > $from.pos)) &&
|
|
39206
|
+
$from.pos < $to.pos && !/\S/.test(parse.doc.textBetween($from.pos, $to.pos, "", "")))) &&
|
|
39093
39207
|
view.someProp("handleKeyDown", f => f(view, keyEvent(13, "Enter")))) {
|
|
39094
39208
|
view.input.lastIOSEnter = 0;
|
|
39095
39209
|
return;
|
|
@@ -45837,8 +45951,6 @@ img.ProseMirror-separator {
|
|
|
45837
45951
|
}
|
|
45838
45952
|
`;
|
|
45839
45953
|
|
|
45840
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
45841
|
-
// prettier-ignore
|
|
45842
45954
|
const template$w = html `
|
|
45843
45955
|
<template>
|
|
45844
45956
|
<${anchoredRegionTag}
|
|
@@ -46135,7 +46247,6 @@ img.ProseMirror-separator {
|
|
|
46135
46247
|
.register(nimbleRichTextMentionListbox());
|
|
46136
46248
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
46137
46249
|
|
|
46138
|
-
// prettier-ignore
|
|
46139
46250
|
const template$v = html `
|
|
46140
46251
|
<template
|
|
46141
46252
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
@@ -47625,7 +47736,7 @@ img.ProseMirror-separator {
|
|
|
47625
47736
|
|
|
47626
47737
|
// Merge objects
|
|
47627
47738
|
//
|
|
47628
|
-
function assign$
|
|
47739
|
+
function assign$1 (obj /* from1, from2, from3, ... */) {
|
|
47629
47740
|
const sources = Array.prototype.slice.call(arguments, 1);
|
|
47630
47741
|
|
|
47631
47742
|
sources.forEach(function (source) {
|
|
@@ -47895,7 +48006,7 @@ img.ProseMirror-separator {
|
|
|
47895
48006
|
var utils = /*#__PURE__*/Object.freeze({
|
|
47896
48007
|
__proto__: null,
|
|
47897
48008
|
arrayReplaceAt: arrayReplaceAt,
|
|
47898
|
-
assign: assign$
|
|
48009
|
+
assign: assign$1,
|
|
47899
48010
|
escapeHtml: escapeHtml,
|
|
47900
48011
|
escapeRE: escapeRE$1,
|
|
47901
48012
|
fromCodePoint: fromCodePoint,
|
|
@@ -48255,7 +48366,7 @@ img.ProseMirror-separator {
|
|
|
48255
48366
|
* See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)
|
|
48256
48367
|
* for more details and examples.
|
|
48257
48368
|
**/
|
|
48258
|
-
this.rules = assign$
|
|
48369
|
+
this.rules = assign$1({}, default_rules);
|
|
48259
48370
|
}
|
|
48260
48371
|
|
|
48261
48372
|
/**
|
|
@@ -53037,7 +53148,7 @@ img.ProseMirror-separator {
|
|
|
53037
53148
|
|
|
53038
53149
|
// Merge objects
|
|
53039
53150
|
//
|
|
53040
|
-
function assign
|
|
53151
|
+
function assign (obj /* from1, from2, from3, ... */) {
|
|
53041
53152
|
const sources = Array.prototype.slice.call(arguments, 1);
|
|
53042
53153
|
|
|
53043
53154
|
sources.forEach(function (source) {
|
|
@@ -53398,7 +53509,7 @@ img.ProseMirror-separator {
|
|
|
53398
53509
|
}
|
|
53399
53510
|
}
|
|
53400
53511
|
|
|
53401
|
-
this.__opts__ = assign
|
|
53512
|
+
this.__opts__ = assign({}, defaultOptions, options);
|
|
53402
53513
|
|
|
53403
53514
|
// Cache last tested result. Used to skip repeating steps on next `match` call.
|
|
53404
53515
|
this.__index__ = -1;
|
|
@@ -53406,7 +53517,7 @@ img.ProseMirror-separator {
|
|
|
53406
53517
|
this.__schema__ = '';
|
|
53407
53518
|
this.__text_cache__ = '';
|
|
53408
53519
|
|
|
53409
|
-
this.__schemas__ = assign
|
|
53520
|
+
this.__schemas__ = assign({}, defaultSchemas, schemas);
|
|
53410
53521
|
this.__compiled__ = {};
|
|
53411
53522
|
|
|
53412
53523
|
this.__tlds__ = tlds_default;
|
|
@@ -53437,7 +53548,7 @@ img.ProseMirror-separator {
|
|
|
53437
53548
|
* Set recognition options for links without schema.
|
|
53438
53549
|
**/
|
|
53439
53550
|
LinkifyIt.prototype.set = function set (options) {
|
|
53440
|
-
this.__opts__ = assign
|
|
53551
|
+
this.__opts__ = assign(this.__opts__, options);
|
|
53441
53552
|
return this
|
|
53442
53553
|
};
|
|
53443
53554
|
|
|
@@ -54640,7 +54751,7 @@ img.ProseMirror-separator {
|
|
|
54640
54751
|
* Link components parser functions, useful to write plugins. See details
|
|
54641
54752
|
* [here](https://github.com/markdown-it/markdown-it/blob/master/lib/helpers).
|
|
54642
54753
|
**/
|
|
54643
|
-
this.helpers = assign$
|
|
54754
|
+
this.helpers = assign$1({}, helpers);
|
|
54644
54755
|
|
|
54645
54756
|
this.options = {};
|
|
54646
54757
|
this.configure(presetName);
|
|
@@ -54668,7 +54779,7 @@ img.ProseMirror-separator {
|
|
|
54668
54779
|
* config.
|
|
54669
54780
|
**/
|
|
54670
54781
|
MarkdownIt.prototype.set = function (options) {
|
|
54671
|
-
assign$
|
|
54782
|
+
assign$1(this.options, options);
|
|
54672
54783
|
return this
|
|
54673
54784
|
};
|
|
54674
54785
|
|
|
@@ -57301,24 +57412,10 @@ img.ProseMirror-separator {
|
|
|
57301
57412
|
// THIS FILE IS AUTOMATICALLY GENERATED DO NOT EDIT DIRECTLY
|
|
57302
57413
|
// See update-tlds.js for encoding/decoding format
|
|
57303
57414
|
// https://data.iana.org/TLD/tlds-alpha-by-domain.txt
|
|
57304
|
-
const encodedTlds = '
|
|
57415
|
+
const encodedTlds = 'aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2';
|
|
57305
57416
|
// Internationalized domain names containing non-ASCII
|
|
57306
57417
|
const encodedUtlds = 'ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2';
|
|
57307
57418
|
|
|
57308
|
-
/**
|
|
57309
|
-
* @template A
|
|
57310
|
-
* @template B
|
|
57311
|
-
* @param {A} target
|
|
57312
|
-
* @param {B} properties
|
|
57313
|
-
* @return {A & B}
|
|
57314
|
-
*/
|
|
57315
|
-
const assign = (target, properties) => {
|
|
57316
|
-
for (const key in properties) {
|
|
57317
|
-
target[key] = properties[key];
|
|
57318
|
-
}
|
|
57319
|
-
return target;
|
|
57320
|
-
};
|
|
57321
|
-
|
|
57322
57419
|
/**
|
|
57323
57420
|
* Finite State Machine generation utilities
|
|
57324
57421
|
*/
|
|
@@ -57581,7 +57678,7 @@ img.ProseMirror-separator {
|
|
|
57581
57678
|
templateState = state.go(input);
|
|
57582
57679
|
if (templateState) {
|
|
57583
57680
|
nextState = new State();
|
|
57584
|
-
assign(nextState.j, templateState.j);
|
|
57681
|
+
Object.assign(nextState.j, templateState.j);
|
|
57585
57682
|
nextState.jr.push.apply(nextState.jr, templateState.jr);
|
|
57586
57683
|
nextState.jd = templateState.jd;
|
|
57587
57684
|
nextState.t = templateState.t;
|
|
@@ -57592,7 +57689,7 @@ img.ProseMirror-separator {
|
|
|
57592
57689
|
// Ensure newly token is in the same groups as the old token
|
|
57593
57690
|
if (groups) {
|
|
57594
57691
|
if (nextState.t && typeof nextState.t === 'string') {
|
|
57595
|
-
const allFlags = assign(flagsForToken(nextState.t, groups), flags);
|
|
57692
|
+
const allFlags = Object.assign(flagsForToken(nextState.t, groups), flags);
|
|
57596
57693
|
addToGroups(t, allFlags, groups);
|
|
57597
57694
|
} else if (flags) {
|
|
57598
57695
|
addToGroups(t, flags, groups);
|
|
@@ -58031,7 +58128,7 @@ img.ProseMirror-separator {
|
|
|
58031
58128
|
Start.jd = new State(SYM);
|
|
58032
58129
|
return {
|
|
58033
58130
|
start: Start,
|
|
58034
|
-
tokens: assign({
|
|
58131
|
+
tokens: Object.assign({
|
|
58035
58132
|
groups
|
|
58036
58133
|
}, tk)
|
|
58037
58134
|
};
|
|
@@ -58300,9 +58397,9 @@ img.ProseMirror-separator {
|
|
|
58300
58397
|
* Similar to render option
|
|
58301
58398
|
*/
|
|
58302
58399
|
function Options(opts, defaultRender = null) {
|
|
58303
|
-
let o = assign({}, defaults);
|
|
58400
|
+
let o = Object.assign({}, defaults);
|
|
58304
58401
|
if (opts) {
|
|
58305
|
-
o = assign(o, opts instanceof Options ? opts.o : opts);
|
|
58402
|
+
o = Object.assign(o, opts instanceof Options ? opts.o : opts);
|
|
58306
58403
|
}
|
|
58307
58404
|
|
|
58308
58405
|
// Ensure all ignored tags are uppercase
|
|
@@ -58547,7 +58644,7 @@ img.ProseMirror-separator {
|
|
|
58547
58644
|
attributes.rel = rel;
|
|
58548
58645
|
}
|
|
58549
58646
|
if (attrs) {
|
|
58550
|
-
assign(attributes, attrs);
|
|
58647
|
+
Object.assign(attributes, attrs);
|
|
58551
58648
|
}
|
|
58552
58649
|
return {
|
|
58553
58650
|
tagName,
|
|
@@ -61493,8 +61590,6 @@ img.ProseMirror-separator {
|
|
|
61493
61590
|
}
|
|
61494
61591
|
`));
|
|
61495
61592
|
|
|
61496
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
61497
|
-
// prettier-ignore
|
|
61498
61593
|
const template$t = html `
|
|
61499
61594
|
<template role="progressbar">
|
|
61500
61595
|
${''
|
|
@@ -61512,7 +61607,6 @@ img.ProseMirror-separator {
|
|
|
61512
61607
|
</div>
|
|
61513
61608
|
</template>
|
|
61514
61609
|
`;
|
|
61515
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
61516
61610
|
|
|
61517
61611
|
/**
|
|
61518
61612
|
* Types of spinner appearance.
|
|
@@ -61560,8 +61654,6 @@ img.ProseMirror-separator {
|
|
|
61560
61654
|
<slot ${ref('labelSlot')}></slot>
|
|
61561
61655
|
</label>
|
|
61562
61656
|
`);
|
|
61563
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
61564
|
-
// prettier-ignore
|
|
61565
61657
|
const template$s = (context, definition) => html `
|
|
61566
61658
|
<template
|
|
61567
61659
|
class="${x => [
|
|
@@ -61692,7 +61784,6 @@ img.ProseMirror-separator {
|
|
|
61692
61784
|
</${anchoredRegionTag}>
|
|
61693
61785
|
</template>
|
|
61694
61786
|
`;
|
|
61695
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
61696
61787
|
|
|
61697
61788
|
// Based on: https://github.com/microsoft/fast/blob/%40microsoft/fast-foundation_v2.49.5/packages/web-components/fast-foundation/src/select/select.form-associated.ts
|
|
61698
61789
|
/* eslint-disable max-classes-per-file */
|
|
@@ -62955,7 +63046,6 @@ img.ProseMirror-separator {
|
|
|
62955
63046
|
}
|
|
62956
63047
|
`));
|
|
62957
63048
|
|
|
62958
|
-
// prettier-ignore
|
|
62959
63049
|
const template$r = html `
|
|
62960
63050
|
<template
|
|
62961
63051
|
role="switch"
|
|
@@ -66534,7 +66624,6 @@ img.ProseMirror-separator {
|
|
|
66534
66624
|
throw new Error(`Cell view tag name (${cellViewTag}) must evaluate to an element extending TableCellView`);
|
|
66535
66625
|
}
|
|
66536
66626
|
};
|
|
66537
|
-
// prettier-ignore
|
|
66538
66627
|
const createCellViewTemplate = (cellViewTag) => {
|
|
66539
66628
|
validateCellViewTemplate(cellViewTag);
|
|
66540
66629
|
return html `
|
|
@@ -67119,7 +67208,6 @@ focus outline in that case.
|
|
|
67119
67208
|
}
|
|
67120
67209
|
`;
|
|
67121
67210
|
|
|
67122
|
-
// prettier-ignore
|
|
67123
67211
|
const template$q = html `
|
|
67124
67212
|
<template role="columnheader"
|
|
67125
67213
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
@@ -67454,7 +67542,6 @@ focus outline in that case.
|
|
|
67454
67542
|
}
|
|
67455
67543
|
`;
|
|
67456
67544
|
|
|
67457
|
-
// prettier-ignore
|
|
67458
67545
|
const template$p = html `
|
|
67459
67546
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
67460
67547
|
@focusin="${x => x.onCellFocusIn()}"
|
|
@@ -67558,7 +67645,6 @@ focus outline in that case.
|
|
|
67558
67645
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
67559
67646
|
const tableCellTag = 'nimble-table-cell';
|
|
67560
67647
|
|
|
67561
|
-
// prettier-ignore
|
|
67562
67648
|
const template$o = html `
|
|
67563
67649
|
<template
|
|
67564
67650
|
role="row"
|
|
@@ -68049,8 +68135,6 @@ focus outline in that case.
|
|
|
68049
68135
|
}
|
|
68050
68136
|
`));
|
|
68051
68137
|
|
|
68052
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
68053
|
-
// prettier-ignore
|
|
68054
68138
|
const template$n = html `
|
|
68055
68139
|
<template
|
|
68056
68140
|
role="row"
|
|
@@ -68091,7 +68175,6 @@ focus outline in that case.
|
|
|
68091
68175
|
</div>
|
|
68092
68176
|
</template>
|
|
68093
68177
|
`;
|
|
68094
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
68095
68178
|
|
|
68096
68179
|
/**
|
|
68097
68180
|
* A styled cell that is used within the nimble-table-row.
|
|
@@ -68215,7 +68298,6 @@ focus outline in that case.
|
|
|
68215
68298
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
68216
68299
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
68217
68300
|
|
|
68218
|
-
// prettier-ignore
|
|
68219
68301
|
const template$m = html `
|
|
68220
68302
|
<template
|
|
68221
68303
|
role="treegrid"
|
|
@@ -71195,8 +71277,7 @@ focus outline in that case.
|
|
|
71195
71277
|
return { headerActions, columnHeaders };
|
|
71196
71278
|
}
|
|
71197
71279
|
canFocusColumnHeaders() {
|
|
71198
|
-
return (this.table.columns.find(c => !c.columnInternals.sortingDisabled)
|
|
71199
|
-
!== undefined);
|
|
71280
|
+
return (this.table.columns.find(c => !c.columnInternals.sortingDisabled) !== undefined);
|
|
71200
71281
|
}
|
|
71201
71282
|
getCurrentRow() {
|
|
71202
71283
|
return this.table.rowElements[this.getCurrentRowVisibleIndex()];
|
|
@@ -72351,7 +72432,6 @@ focus outline in that case.
|
|
|
72351
72432
|
|
|
72352
72433
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
72353
72434
|
// so the template can be composed into other column header templates
|
|
72354
|
-
// prettier-ignore
|
|
72355
72435
|
const template$l = html `<span
|
|
72356
72436
|
${overflow('hasOverflow')}
|
|
72357
72437
|
class="header-content"
|
|
@@ -72458,8 +72538,6 @@ focus outline in that case.
|
|
|
72458
72538
|
}
|
|
72459
72539
|
`;
|
|
72460
72540
|
|
|
72461
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
72462
|
-
// prettier-ignore
|
|
72463
72541
|
const template$k = html `
|
|
72464
72542
|
<template
|
|
72465
72543
|
@click="${(x, c) => {
|
|
@@ -72499,7 +72577,6 @@ focus outline in that case.
|
|
|
72499
72577
|
</span>`)}
|
|
72500
72578
|
</template>
|
|
72501
72579
|
`;
|
|
72502
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
72503
72580
|
|
|
72504
72581
|
/**
|
|
72505
72582
|
* A cell view for displaying links
|
|
@@ -72978,7 +73055,6 @@ focus outline in that case.
|
|
|
72978
73055
|
.register(tableColumnDateTextGroupHeaderView());
|
|
72979
73056
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
72980
73057
|
|
|
72981
|
-
// prettier-ignore
|
|
72982
73058
|
const template$i = html `
|
|
72983
73059
|
<template
|
|
72984
73060
|
class="
|
|
@@ -73755,7 +73831,6 @@ focus outline in that case.
|
|
|
73755
73831
|
}
|
|
73756
73832
|
`;
|
|
73757
73833
|
|
|
73758
|
-
// prettier-ignore
|
|
73759
73834
|
const template$g = html `
|
|
73760
73835
|
${when(x => x.visualizationTemplate, html `
|
|
73761
73836
|
<span class="reserve-icon-size">
|
|
@@ -73932,7 +74007,6 @@ focus outline in that case.
|
|
|
73932
74007
|
}
|
|
73933
74008
|
`;
|
|
73934
74009
|
|
|
73935
|
-
// prettier-ignore
|
|
73936
74010
|
const template$f = html `
|
|
73937
74011
|
${when(x => x.visualizationTemplate, html `
|
|
73938
74012
|
<span class="reserve-icon-size">
|
|
@@ -74280,7 +74354,6 @@ focus outline in that case.
|
|
|
74280
74354
|
|
|
74281
74355
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
74282
74356
|
// so the template can be composed into other column header templates
|
|
74283
|
-
// prettier-ignore
|
|
74284
74357
|
const template$c = html `<span
|
|
74285
74358
|
${overflow('hasOverflow')}
|
|
74286
74359
|
class="header-content"
|
|
@@ -75063,8 +75136,6 @@ focus outline in that case.
|
|
|
75063
75136
|
}
|
|
75064
75137
|
`;
|
|
75065
75138
|
|
|
75066
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
75067
|
-
// prettier-ignore
|
|
75068
75139
|
const template$b = (context, definition) => html `
|
|
75069
75140
|
<template slot="end">
|
|
75070
75141
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
@@ -75936,7 +76007,6 @@ focus outline in that case.
|
|
|
75936
76007
|
}
|
|
75937
76008
|
`));
|
|
75938
76009
|
|
|
75939
|
-
// prettier-ignore
|
|
75940
76010
|
const template$8 = html `
|
|
75941
76011
|
${when(x => x.tooltipVisible, html `
|
|
75942
76012
|
<${anchoredRegionTag}
|
|
@@ -76314,7 +76384,6 @@ focus outline in that case.
|
|
|
76314
76384
|
}
|
|
76315
76385
|
`;
|
|
76316
76386
|
|
|
76317
|
-
// prettier-ignore
|
|
76318
76387
|
const template$7 = html `
|
|
76319
76388
|
<template
|
|
76320
76389
|
role="tree"
|
|
@@ -93811,8 +93880,6 @@ focus outline in that case.
|
|
|
93811
93880
|
}
|
|
93812
93881
|
`;
|
|
93813
93882
|
|
|
93814
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
93815
|
-
// prettier-ignore
|
|
93816
93883
|
const template$4 = html `
|
|
93817
93884
|
<div class="messages"><slot></slot></div>
|
|
93818
93885
|
<div class="input ${x => (x.inputEmpty ? 'input-empty' : '')}">
|
|
@@ -93820,7 +93887,6 @@ focus outline in that case.
|
|
|
93820
93887
|
</slot>
|
|
93821
93888
|
</div>
|
|
93822
93889
|
`;
|
|
93823
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
93824
93890
|
|
|
93825
93891
|
/**
|
|
93826
93892
|
* Appearances of chat conversation.
|
|
@@ -93937,8 +94003,6 @@ focus outline in that case.
|
|
|
93937
94003
|
}
|
|
93938
94004
|
`;
|
|
93939
94005
|
|
|
93940
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
93941
|
-
// prettier-ignore
|
|
93942
94006
|
const template$3 = html `
|
|
93943
94007
|
<div class="container">
|
|
93944
94008
|
<textarea
|
|
@@ -93963,7 +94027,6 @@ focus outline in that case.
|
|
|
93963
94027
|
<${iconPaperPlaneTag} slot="start"><${iconPaperPlaneTag}/>
|
|
93964
94028
|
</${buttonTag}>
|
|
93965
94029
|
</div>`;
|
|
93966
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
93967
94030
|
|
|
93968
94031
|
/**
|
|
93969
94032
|
* A Spright component for composing and sending a chat message
|
|
@@ -94148,8 +94211,6 @@ focus outline in that case.
|
|
|
94148
94211
|
}
|
|
94149
94212
|
`;
|
|
94150
94213
|
|
|
94151
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
94152
|
-
// prettier-ignore
|
|
94153
94214
|
const template$2 = (context, definition) => html `
|
|
94154
94215
|
<div class="container">
|
|
94155
94216
|
${startSlotTemplate(context, definition)}
|
|
@@ -94165,7 +94226,6 @@ focus outline in that case.
|
|
|
94165
94226
|
${endSlotTemplate(context, definition)}
|
|
94166
94227
|
</div>
|
|
94167
94228
|
`;
|
|
94168
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
94169
94229
|
|
|
94170
94230
|
/**
|
|
94171
94231
|
* A Spright component for displaying a chat message
|