@ni/nimble-components 34.3.1 → 34.3.2
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 +117 -146
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3990 -3991
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/anchor/template.js +0 -1
- package/dist/esm/anchor/template.js.map +1 -1
- package/dist/esm/banner/template.js +0 -1
- package/dist/esm/banner/template.js.map +1 -1
- package/dist/esm/breadcrumb/breadcrumb.foundation.spec.js +8 -1
- package/dist/esm/breadcrumb/breadcrumb.foundation.spec.js.map +1 -1
- package/dist/esm/breadcrumb/template.js +0 -1
- package/dist/esm/breadcrumb/template.js.map +1 -1
- package/dist/esm/combobox/template.js +0 -2
- package/dist/esm/combobox/template.js.map +1 -1
- package/dist/esm/list-option/template.js +0 -1
- package/dist/esm/list-option/template.js.map +1 -1
- package/dist/esm/list-option-group/template.js +0 -1
- package/dist/esm/list-option-group/template.js.map +1 -1
- package/dist/esm/menu/template.js +0 -3
- package/dist/esm/menu/template.js.map +1 -1
- package/dist/esm/menu-button/template.js +0 -1
- package/dist/esm/menu-button/template.js.map +1 -1
- package/dist/esm/patterns/required-visible/template.js +0 -1
- package/dist/esm/patterns/required-visible/template.js.map +1 -1
- package/dist/esm/patterns/tabs/template.js +0 -1
- package/dist/esm/patterns/tabs/template.js.map +1 -1
- package/dist/esm/radio-group/template.js +0 -1
- package/dist/esm/radio-group/template.js.map +1 -1
- package/dist/esm/rich-text/editor/template.js +0 -1
- package/dist/esm/rich-text/editor/template.js.map +1 -1
- package/dist/esm/rich-text/mention-listbox/template.js +0 -2
- package/dist/esm/rich-text/mention-listbox/template.js.map +1 -1
- package/dist/esm/rich-text/models/markdown-parser.js.map +1 -1
- package/dist/esm/select/index.js.map +1 -1
- package/dist/esm/select/template.js +0 -3
- package/dist/esm/select/template.js.map +1 -1
- package/dist/esm/spinner/template.js +0 -3
- package/dist/esm/spinner/template.js.map +1 -1
- package/dist/esm/switch/template.js +0 -1
- package/dist/esm/switch/template.js.map +1 -1
- package/dist/esm/table/components/cell/template.js +0 -1
- package/dist/esm/table/components/cell/template.js.map +1 -1
- package/dist/esm/table/components/group-row/template.js +0 -3
- package/dist/esm/table/components/group-row/template.js.map +1 -1
- package/dist/esm/table/components/header/template.js +0 -1
- package/dist/esm/table/components/header/template.js.map +1 -1
- package/dist/esm/table/components/row/template.js +0 -1
- package/dist/esm/table/components/row/template.js.map +1 -1
- package/dist/esm/table/index.js.map +1 -1
- package/dist/esm/table/models/expansion-manager.js.map +1 -1
- package/dist/esm/table/models/keyboard-navigation-manager.js +1 -2
- package/dist/esm/table/models/keyboard-navigation-manager.js.map +1 -1
- package/dist/esm/table/models/virtualizer.js.map +1 -1
- package/dist/esm/table/template.js +0 -1
- package/dist/esm/table/template.js.map +1 -1
- package/dist/esm/table/testing/table.pageobject.js.map +1 -1
- package/dist/esm/table-column/anchor/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/anchor/cell-view/template.js +0 -3
- package/dist/esm/table-column/anchor/cell-view/template.js.map +1 -1
- package/dist/esm/table-column/anchor/index.js.map +1 -1
- package/dist/esm/table-column/base/cell-view/template.js +0 -1
- package/dist/esm/table-column/base/cell-view/template.js.map +1 -1
- package/dist/esm/table-column/base/index.js.map +1 -1
- package/dist/esm/table-column/base/template.js +0 -1
- package/dist/esm/table-column/base/template.js.map +1 -1
- package/dist/esm/table-column/date-text/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/date-text/group-header-view/index.js.map +1 -1
- package/dist/esm/table-column/date-text/index.js.map +1 -1
- package/dist/esm/table-column/duration-text/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/duration-text/group-header-view/index.js.map +1 -1
- package/dist/esm/table-column/mapping/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/mapping/cell-view/template.js +0 -1
- package/dist/esm/table-column/mapping/cell-view/template.js.map +1 -1
- package/dist/esm/table-column/mapping/group-header-view/index.js.map +1 -1
- package/dist/esm/table-column/mapping/group-header-view/template.js +0 -1
- package/dist/esm/table-column/mapping/group-header-view/template.js.map +1 -1
- package/dist/esm/table-column/mapping/index.js.map +1 -1
- package/dist/esm/table-column/menu-button/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/number-text/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/number-text/group-header-view/index.js.map +1 -1
- package/dist/esm/table-column/number-text/index.js.map +1 -1
- package/dist/esm/table-column/number-text/models/number-text-unit-format.js.map +1 -1
- package/dist/esm/table-column/number-text/template.js +0 -1
- package/dist/esm/table-column/number-text/template.js.map +1 -1
- package/dist/esm/table-column/text/cell-view/index.js.map +1 -1
- package/dist/esm/table-column/text/group-header-view/index.js.map +1 -1
- package/dist/esm/table-column/text/index.js.map +1 -1
- package/dist/esm/table-column/text-base/cell-view/template.js +0 -1
- package/dist/esm/table-column/text-base/cell-view/template.js.map +1 -1
- package/dist/esm/tabs-toolbar/template.js +0 -2
- package/dist/esm/tabs-toolbar/template.js.map +1 -1
- package/dist/esm/toggle-button/template.js +0 -3
- package/dist/esm/toggle-button/template.js.map +1 -1
- package/dist/esm/tooltip/template.js +0 -1
- package/dist/esm/tooltip/template.js.map +1 -1
- package/dist/esm/tree-view/template.js +0 -1
- package/dist/esm/tree-view/template.js.map +1 -1
- package/dist/esm/utilities/style/theme.js.map +1 -1
- package/dist/esm/utilities/unit-format/default-unit-format.js.map +1 -1
- package/dist/esm/wafer-map/index.js.map +1 -1
- package/dist/esm/wafer-map/modules/create-matrix-renderer.js.map +1 -1
- package/dist/esm/wafer-map/modules/prerendering.js.map +1 -1
- package/package.json +5 -4
|
@@ -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 {
|
|
@@ -6833,14 +6841,20 @@
|
|
|
6833
6841
|
if (childNodeWithHref === null &&
|
|
6834
6842
|
item.hasAttribute("href") &&
|
|
6835
6843
|
item instanceof BreadcrumbItem$1) {
|
|
6836
|
-
isLastNode
|
|
6837
|
-
|
|
6838
|
-
|
|
6844
|
+
if (isLastNode) {
|
|
6845
|
+
item.setAttribute("aria-current", "page");
|
|
6846
|
+
}
|
|
6847
|
+
else {
|
|
6848
|
+
item.removeAttribute("aria-current");
|
|
6849
|
+
}
|
|
6839
6850
|
}
|
|
6840
6851
|
else if (childNodeWithHref !== null) {
|
|
6841
|
-
isLastNode
|
|
6842
|
-
|
|
6843
|
-
|
|
6852
|
+
if (isLastNode) {
|
|
6853
|
+
childNodeWithHref.setAttribute("aria-current", "page");
|
|
6854
|
+
}
|
|
6855
|
+
else {
|
|
6856
|
+
childNodeWithHref.removeAttribute("aria-current");
|
|
6857
|
+
}
|
|
6844
6858
|
}
|
|
6845
6859
|
}
|
|
6846
6860
|
};
|
|
@@ -7413,9 +7427,12 @@
|
|
|
7413
7427
|
}
|
|
7414
7428
|
// Browser support for requestSubmit is not comprehensive
|
|
7415
7429
|
// so click the proxy if it isn't supported
|
|
7416
|
-
typeof this.form.requestSubmit === "function"
|
|
7417
|
-
|
|
7418
|
-
|
|
7430
|
+
if (typeof this.form.requestSubmit === "function") {
|
|
7431
|
+
this.form.requestSubmit(this.proxy);
|
|
7432
|
+
}
|
|
7433
|
+
else {
|
|
7434
|
+
this.proxy.click();
|
|
7435
|
+
}
|
|
7419
7436
|
if (!attached) {
|
|
7420
7437
|
this.detachProxy();
|
|
7421
7438
|
}
|
|
@@ -7473,10 +7490,14 @@
|
|
|
7473
7490
|
if (this.proxy instanceof HTMLInputElement) {
|
|
7474
7491
|
this.proxy.type = this.type;
|
|
7475
7492
|
}
|
|
7476
|
-
next === "submit"
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
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);
|
|
7480
7501
|
}
|
|
7481
7502
|
/** {@inheritDoc (FormAssociated:interface).validate} */
|
|
7482
7503
|
validate() {
|
|
@@ -12749,9 +12770,12 @@
|
|
|
12749
12770
|
if (this.proxy instanceof HTMLInputElement) {
|
|
12750
12771
|
this.proxy.readOnly = this.readOnly;
|
|
12751
12772
|
}
|
|
12752
|
-
this.readOnly
|
|
12753
|
-
|
|
12754
|
-
|
|
12773
|
+
if (this.readOnly) {
|
|
12774
|
+
this.classList.add("readonly");
|
|
12775
|
+
}
|
|
12776
|
+
else {
|
|
12777
|
+
this.classList.remove("readonly");
|
|
12778
|
+
}
|
|
12755
12779
|
}
|
|
12756
12780
|
constructor() {
|
|
12757
12781
|
super();
|
|
@@ -12794,7 +12818,12 @@
|
|
|
12794
12818
|
/**
|
|
12795
12819
|
* @deprecated - this behavior already exists in the template and should not exist in the class.
|
|
12796
12820
|
*/
|
|
12797
|
-
|
|
12821
|
+
if (this.checked) {
|
|
12822
|
+
this.classList.add("checked");
|
|
12823
|
+
}
|
|
12824
|
+
else {
|
|
12825
|
+
this.classList.remove("checked");
|
|
12826
|
+
}
|
|
12798
12827
|
}
|
|
12799
12828
|
};
|
|
12800
12829
|
__decorate([
|
|
@@ -12938,9 +12967,12 @@
|
|
|
12938
12967
|
tab.style[gridHorizontalProperty] = "";
|
|
12939
12968
|
tab.style[gridVerticalProperty] = "";
|
|
12940
12969
|
tab.style[gridProperty] = `${index + 1}`;
|
|
12941
|
-
!this.isHorizontal()
|
|
12942
|
-
|
|
12943
|
-
|
|
12970
|
+
if (!this.isHorizontal()) {
|
|
12971
|
+
tab.classList.add("vertical");
|
|
12972
|
+
}
|
|
12973
|
+
else {
|
|
12974
|
+
tab.classList.remove("vertical");
|
|
12975
|
+
}
|
|
12944
12976
|
});
|
|
12945
12977
|
};
|
|
12946
12978
|
this.setTabPanels = () => {
|
|
@@ -12949,9 +12981,12 @@
|
|
|
12949
12981
|
const tabpanelId = this.tabpanelIds[index];
|
|
12950
12982
|
tabpanel.setAttribute("id", tabpanelId);
|
|
12951
12983
|
tabpanel.setAttribute("aria-labelledby", tabId);
|
|
12952
|
-
this.activeTabIndex !== index
|
|
12953
|
-
|
|
12954
|
-
|
|
12984
|
+
if (this.activeTabIndex !== index) {
|
|
12985
|
+
tabpanel.setAttribute("hidden", "");
|
|
12986
|
+
}
|
|
12987
|
+
else {
|
|
12988
|
+
tabpanel.removeAttribute("hidden");
|
|
12989
|
+
}
|
|
12955
12990
|
});
|
|
12956
12991
|
};
|
|
12957
12992
|
this.handleTabClick = (event) => {
|
|
@@ -16357,25 +16392,25 @@
|
|
|
16357
16392
|
createFontTokens(tokenNames.headlineFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Headline1Family, Headline1Weight, Headline1Size, Headline1LineHeight);
|
|
16358
16393
|
createFontTokens(tokenNames.headlinePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Headline2Family, Headline2Weight, Headline2Size, Headline2LineHeight);
|
|
16359
16394
|
createFontTokens(tokenNames.titlePlus2Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title3Family, Title3Weight, Title3Size, Title3LineHeight);
|
|
16360
|
-
const [titlePlus1Font, titlePlus1FontColor
|
|
16395
|
+
const [titlePlus1Font, titlePlus1FontColor] = createFontTokens(tokenNames.titlePlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title2Family, Title2Weight, Title2Size, Title2LineHeight);
|
|
16361
16396
|
createFontTokens(tokenNames.titleFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Title1Family, Title1Weight, Title1Size, Title1LineHeight);
|
|
16362
|
-
const [subtitlePlus1Font
|
|
16363
|
-
const [subtitleFont, subtitleFontColor
|
|
16364
|
-
const [linkFont, linkFontColor, linkDisabledFontColor
|
|
16365
|
-
const [linkActiveFont, linkActiveFontColor
|
|
16366
|
-
const [linkProminentFont, linkProminentFontColor
|
|
16367
|
-
const [linkActiveProminentFont, linkActiveProminentFontColor
|
|
16368
|
-
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);
|
|
16369
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);
|
|
16370
|
-
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);
|
|
16371
16406
|
createFontTokens(tokenNames.bodyPlus1Font, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), Body2Family, Body2Weight, Body2Size, Body2LineHeight);
|
|
16372
16407
|
createFontTokens(tokenNames.bodyPlus1EmphasizedFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyEmphasized2Family, BodyEmphasized2Weight, BodyEmphasized2Size, BodyEmphasized2LineHeight);
|
|
16373
|
-
const [groupHeaderFont, groupHeaderFontColor
|
|
16408
|
+
const [groupHeaderFont, groupHeaderFontColor] = createFontTokens(tokenNames.groupHeaderFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), GroupLabel1Family, GroupLabel1Weight, GroupLabel1Size, GroupLabel1LineHeight);
|
|
16374
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);
|
|
16375
|
-
const [buttonLabelFont, buttonLabelFontColor, buttonLabelDisabledFontColor
|
|
16376
|
-
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);
|
|
16377
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);
|
|
16378
|
-
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);
|
|
16379
16414
|
createFontTokens(tokenNames.mentionFont, (element) => getColorForTheme(element, DigitalGreenDark, PowerGreen, PowerGreen), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyFamily, BodyEmphasizedWeight, BodySize, BodyLineHeight);
|
|
16380
16415
|
// Font Transform Tokens
|
|
16381
16416
|
const groupHeaderTextTransform = DesignToken.create(styleNameFromTokenName(tokenNames.groupHeaderTextTransform)).withDefault('uppercase');
|
|
@@ -16549,7 +16584,6 @@
|
|
|
16549
16584
|
}
|
|
16550
16585
|
`;
|
|
16551
16586
|
|
|
16552
|
-
// prettier-ignore
|
|
16553
16587
|
const template$N = (_context, definition) => html `${
|
|
16554
16588
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16555
16589
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
@@ -18754,7 +18788,6 @@
|
|
|
18754
18788
|
cssCustomPropertyName: null
|
|
18755
18789
|
}).withDefault(coreLabelDefaults.scrollForwardLabel);
|
|
18756
18790
|
|
|
18757
|
-
// prettier-ignore
|
|
18758
18791
|
const template$H = (context, definition) => html `
|
|
18759
18792
|
<div
|
|
18760
18793
|
class="tab-bar"
|
|
@@ -19611,7 +19644,6 @@
|
|
|
19611
19644
|
information: 'information'
|
|
19612
19645
|
};
|
|
19613
19646
|
|
|
19614
|
-
// prettier-ignore
|
|
19615
19647
|
const template$F = html `
|
|
19616
19648
|
<${themeProviderTag} theme="${Theme.color}">
|
|
19617
19649
|
<div class="container"
|
|
@@ -19739,7 +19771,6 @@
|
|
|
19739
19771
|
* The template for the {@link @ni/fast-foundation#Breadcrumb} component.
|
|
19740
19772
|
* @public
|
|
19741
19773
|
*/
|
|
19742
|
-
// prettier-ignore
|
|
19743
19774
|
const breadcrumbTemplate = (_context, _definition) => html `
|
|
19744
19775
|
<template role="navigation">
|
|
19745
19776
|
${when(x => x.showScrollButtons, html `
|
|
@@ -20565,8 +20596,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20565
20596
|
}
|
|
20566
20597
|
`));
|
|
20567
20598
|
|
|
20568
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
20569
|
-
// prettier-ignore
|
|
20570
20599
|
const template$C = (context, definition) => html `
|
|
20571
20600
|
<div
|
|
20572
20601
|
role="button"
|
|
@@ -20619,7 +20648,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20619
20648
|
${endSlotTemplate(context, definition)}
|
|
20620
20649
|
</div>
|
|
20621
20650
|
`;
|
|
20622
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
20623
20651
|
|
|
20624
20652
|
/**
|
|
20625
20653
|
* A nimble-styled toggle button control.
|
|
@@ -21120,7 +21148,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21120
21148
|
*
|
|
21121
21149
|
* This function is intended to be used with components leveraging `mixinRequiredVisiblePattern`.
|
|
21122
21150
|
*/
|
|
21123
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
21124
21151
|
function createRequiredVisibleLabelTemplate(labelTemplate) {
|
|
21125
21152
|
return html `
|
|
21126
21153
|
<div class="annotated-label">
|
|
@@ -21137,8 +21164,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21137
21164
|
<slot></slot>
|
|
21138
21165
|
</label>
|
|
21139
21166
|
`);
|
|
21140
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
21141
|
-
// prettier-ignore
|
|
21142
21167
|
const template$B = (context, definition) => html `
|
|
21143
21168
|
<template
|
|
21144
21169
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -25523,7 +25548,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25523
25548
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
25524
25549
|
* @public
|
|
25525
25550
|
*/
|
|
25526
|
-
// prettier-ignore
|
|
25527
25551
|
const template$y = (context, definition) => html `
|
|
25528
25552
|
<template
|
|
25529
25553
|
aria-checked="${x => x.ariaChecked}"
|
|
@@ -25705,7 +25729,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25705
25729
|
const isListOption$1 = (n) => {
|
|
25706
25730
|
return n instanceof ListOption;
|
|
25707
25731
|
};
|
|
25708
|
-
// prettier-ignore
|
|
25709
25732
|
const template$x = html `
|
|
25710
25733
|
<template
|
|
25711
25734
|
role="group"
|
|
@@ -26297,8 +26320,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26297
26320
|
observable
|
|
26298
26321
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
26299
26322
|
|
|
26300
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
26301
|
-
// prettier-ignore
|
|
26302
26323
|
const template$v = () => html `
|
|
26303
26324
|
<template
|
|
26304
26325
|
slot="${x => {
|
|
@@ -26315,7 +26336,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26315
26336
|
<slot ${slotted('items')}></slot>
|
|
26316
26337
|
</template>
|
|
26317
26338
|
`;
|
|
26318
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
26319
26339
|
|
|
26320
26340
|
const styles$B = css `
|
|
26321
26341
|
${display('grid')}
|
|
@@ -26422,7 +26442,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26422
26442
|
}
|
|
26423
26443
|
`;
|
|
26424
26444
|
|
|
26425
|
-
// prettier-ignore
|
|
26426
26445
|
const template$u = html `
|
|
26427
26446
|
<template
|
|
26428
26447
|
?open="${x => x.open}"
|
|
@@ -27365,7 +27384,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27365
27384
|
`;
|
|
27366
27385
|
|
|
27367
27386
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
27368
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
27369
27387
|
const template$s = html `
|
|
27370
27388
|
<template
|
|
27371
27389
|
role="radiogroup"
|
|
@@ -34564,7 +34582,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
34564
34582
|
if (desc.dom.nodeType == 1 && (desc.node.isBlock && desc.parent || !desc.contentDOM) &&
|
|
34565
34583
|
// Ignore elements with zero-size bounding rectangles
|
|
34566
34584
|
((rect = desc.dom.getBoundingClientRect()).width || rect.height)) {
|
|
34567
|
-
if (desc.node.isBlock && desc.parent) {
|
|
34585
|
+
if (desc.node.isBlock && desc.parent && !/^T(R|BODY|HEAD|FOOT)$/.test(desc.dom.nodeName)) {
|
|
34568
34586
|
// Only apply the horizontal test to the innermost block. Vertical for any parent.
|
|
34569
34587
|
if (!sawBlock && rect.left > coords.left || rect.top > coords.top)
|
|
34570
34588
|
outsideBlock = desc.posBefore;
|
|
@@ -35222,7 +35240,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
35222
35240
|
// (one where the focus is before the anchor), but not all
|
|
35223
35241
|
// browsers support it yet.
|
|
35224
35242
|
let domSelExtended = false;
|
|
35225
|
-
if ((domSel.extend || anchor == head) && !brKludge) {
|
|
35243
|
+
if ((domSel.extend || anchor == head) && !(brKludge && gecko)) {
|
|
35226
35244
|
domSel.collapse(anchorDOM.node, anchorDOM.offset);
|
|
35227
35245
|
try {
|
|
35228
35246
|
if (anchor != head)
|
|
@@ -35634,17 +35652,18 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
35634
35652
|
}
|
|
35635
35653
|
// Mark this node as being the selected node.
|
|
35636
35654
|
selectNode() {
|
|
35637
|
-
if (this.nodeDOM.nodeType == 1)
|
|
35655
|
+
if (this.nodeDOM.nodeType == 1) {
|
|
35638
35656
|
this.nodeDOM.classList.add("ProseMirror-selectednode");
|
|
35639
|
-
|
|
35640
|
-
|
|
35657
|
+
if (this.contentDOM || !this.node.type.spec.draggable)
|
|
35658
|
+
this.nodeDOM.draggable = true;
|
|
35659
|
+
}
|
|
35641
35660
|
}
|
|
35642
35661
|
// Remove selected node marking from this node.
|
|
35643
35662
|
deselectNode() {
|
|
35644
35663
|
if (this.nodeDOM.nodeType == 1) {
|
|
35645
35664
|
this.nodeDOM.classList.remove("ProseMirror-selectednode");
|
|
35646
35665
|
if (this.contentDOM || !this.node.type.spec.draggable)
|
|
35647
|
-
this.
|
|
35666
|
+
this.nodeDOM.removeAttribute("draggable");
|
|
35648
35667
|
}
|
|
35649
35668
|
}
|
|
35650
35669
|
get domAtom() { return this.node.isAtom; }
|
|
@@ -36483,17 +36502,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
36483
36502
|
});
|
|
36484
36503
|
}
|
|
36485
36504
|
function selectCursorWrapper(view) {
|
|
36486
|
-
let domSel = view.domSelection()
|
|
36505
|
+
let domSel = view.domSelection();
|
|
36487
36506
|
if (!domSel)
|
|
36488
36507
|
return;
|
|
36489
36508
|
let node = view.cursorWrapper.dom, img = node.nodeName == "IMG";
|
|
36490
36509
|
if (img)
|
|
36491
|
-
|
|
36510
|
+
domSel.collapse(node.parentNode, domIndex(node) + 1);
|
|
36492
36511
|
else
|
|
36493
|
-
|
|
36494
|
-
range.collapse(true);
|
|
36495
|
-
domSel.removeAllRanges();
|
|
36496
|
-
domSel.addRange(range);
|
|
36512
|
+
domSel.collapse(node, 0);
|
|
36497
36513
|
// Kludge to kill 'control selection' in IE11 when selecting an
|
|
36498
36514
|
// invisible cursor wrapper, since that would result in those weird
|
|
36499
36515
|
// resize handles and a selection that considers the absolutely
|
|
@@ -36971,11 +36987,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
36971
36987
|
let dom, slice;
|
|
36972
36988
|
if (!html && !text)
|
|
36973
36989
|
return null;
|
|
36974
|
-
let asText = text && (plainText || inCode || !html);
|
|
36990
|
+
let asText = !!text && (plainText || inCode || !html);
|
|
36975
36991
|
if (asText) {
|
|
36976
36992
|
view.someProp("transformPastedText", f => { text = f(text, inCode || plainText, view); });
|
|
36977
|
-
if (inCode)
|
|
36978
|
-
|
|
36993
|
+
if (inCode) {
|
|
36994
|
+
slice = new Slice(Fragment.from(view.state.schema.text(text.replace(/\r\n?/g, "\n"))), 0, 0);
|
|
36995
|
+
view.someProp("transformPasted", f => { slice = f(slice, view, true); });
|
|
36996
|
+
return slice;
|
|
36997
|
+
}
|
|
36979
36998
|
let parsed = view.someProp("clipboardTextParser", f => f(text, $context, plainText, view));
|
|
36980
36999
|
if (parsed) {
|
|
36981
37000
|
slice = parsed;
|
|
@@ -37033,7 +37052,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
37033
37052
|
slice = closeSlice(slice, openStart, openEnd);
|
|
37034
37053
|
}
|
|
37035
37054
|
}
|
|
37036
|
-
view.someProp("transformPasted", f => { slice = f(slice, view); });
|
|
37055
|
+
view.someProp("transformPasted", f => { slice = f(slice, view, asText); });
|
|
37037
37056
|
return slice;
|
|
37038
37057
|
}
|
|
37039
37058
|
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;
|
|
@@ -37495,7 +37514,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
37495
37514
|
}
|
|
37496
37515
|
const target = flushed ? null : event.target;
|
|
37497
37516
|
const targetDesc = target ? view.docView.nearestDesc(target, true) : null;
|
|
37498
|
-
this.target = targetDesc && targetDesc.
|
|
37517
|
+
this.target = targetDesc && targetDesc.nodeDOM.nodeType == 1 ? targetDesc.nodeDOM : null;
|
|
37499
37518
|
let { selection } = view.state;
|
|
37500
37519
|
if (event.button == 0 &&
|
|
37501
37520
|
targetNode.type.spec.draggable && targetNode.type.spec.selectable !== false ||
|
|
@@ -37892,7 +37911,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
37892
37911
|
let $mouse = view.state.doc.resolve(eventPos.pos);
|
|
37893
37912
|
let slice = dragging && dragging.slice;
|
|
37894
37913
|
if (slice) {
|
|
37895
|
-
view.someProp("transformPasted", f => { slice = f(slice, view); });
|
|
37914
|
+
view.someProp("transformPasted", f => { slice = f(slice, view, false); });
|
|
37896
37915
|
}
|
|
37897
37916
|
else {
|
|
37898
37917
|
slice = parseFromClipboard(view, getText$1(event.dataTransfer), brokenClipboardAPI ? null : event.dataTransfer.getData("text/html"), false, $mouse);
|
|
@@ -39078,7 +39097,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
39078
39097
|
}
|
|
39079
39098
|
return null;
|
|
39080
39099
|
}
|
|
39081
|
-
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;
|
|
39100
|
+
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;
|
|
39082
39101
|
function readDOMChange(view, from, to, typeOver, addedNodes) {
|
|
39083
39102
|
let compositionID = view.input.compositionPendingChanges || (view.composing ? view.input.compositionID : 0);
|
|
39084
39103
|
view.input.compositionPendingChanges = 0;
|
|
@@ -39177,16 +39196,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
39177
39196
|
let $to = parse.doc.resolveNoCache(change.endB - parse.from);
|
|
39178
39197
|
let $fromA = doc.resolve(change.start);
|
|
39179
39198
|
let inlineChange = $from.sameParent($to) && $from.parent.inlineContent && $fromA.end() >= change.endA;
|
|
39180
|
-
let nextSel;
|
|
39181
39199
|
// If this looks like the effect of pressing Enter (or was recorded
|
|
39182
39200
|
// as being an iOS enter press), just dispatch an Enter key instead.
|
|
39183
39201
|
if (((ios && view.input.lastIOSEnter > Date.now() - 225 &&
|
|
39184
39202
|
(!inlineChange || addedNodes.some(n => n.nodeName == "DIV" || n.nodeName == "P"))) ||
|
|
39185
39203
|
(!inlineChange && $from.pos < parse.doc.content.size &&
|
|
39186
39204
|
(!$from.sameParent($to) || !$from.parent.inlineContent) &&
|
|
39187
|
-
!/\S/.test(parse.doc.textBetween($from.pos, $to.pos, "", "")) &&
|
|
39188
|
-
(nextSel = Selection$2.findFrom(parse.doc.resolve($from.pos + 1), 1, true)) &&
|
|
39189
|
-
nextSel.head > $from.pos)) &&
|
|
39205
|
+
$from.pos < $to.pos && !/\S/.test(parse.doc.textBetween($from.pos, $to.pos, "", "")))) &&
|
|
39190
39206
|
view.someProp("handleKeyDown", f => f(view, keyEvent(13, "Enter")))) {
|
|
39191
39207
|
view.input.lastIOSEnter = 0;
|
|
39192
39208
|
return;
|
|
@@ -45934,8 +45950,6 @@ img.ProseMirror-separator {
|
|
|
45934
45950
|
}
|
|
45935
45951
|
`;
|
|
45936
45952
|
|
|
45937
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
45938
|
-
// prettier-ignore
|
|
45939
45953
|
const template$r = html `
|
|
45940
45954
|
<template>
|
|
45941
45955
|
<${anchoredRegionTag}
|
|
@@ -46232,7 +46246,6 @@ img.ProseMirror-separator {
|
|
|
46232
46246
|
.register(nimbleRichTextMentionListbox());
|
|
46233
46247
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
46234
46248
|
|
|
46235
|
-
// prettier-ignore
|
|
46236
46249
|
const template$q = html `
|
|
46237
46250
|
<template
|
|
46238
46251
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
@@ -47722,7 +47735,7 @@ img.ProseMirror-separator {
|
|
|
47722
47735
|
|
|
47723
47736
|
// Merge objects
|
|
47724
47737
|
//
|
|
47725
|
-
function assign$
|
|
47738
|
+
function assign$1 (obj /* from1, from2, from3, ... */) {
|
|
47726
47739
|
const sources = Array.prototype.slice.call(arguments, 1);
|
|
47727
47740
|
|
|
47728
47741
|
sources.forEach(function (source) {
|
|
@@ -47992,7 +48005,7 @@ img.ProseMirror-separator {
|
|
|
47992
48005
|
var utils = /*#__PURE__*/Object.freeze({
|
|
47993
48006
|
__proto__: null,
|
|
47994
48007
|
arrayReplaceAt: arrayReplaceAt,
|
|
47995
|
-
assign: assign$
|
|
48008
|
+
assign: assign$1,
|
|
47996
48009
|
escapeHtml: escapeHtml,
|
|
47997
48010
|
escapeRE: escapeRE$1,
|
|
47998
48011
|
fromCodePoint: fromCodePoint,
|
|
@@ -48352,7 +48365,7 @@ img.ProseMirror-separator {
|
|
|
48352
48365
|
* See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)
|
|
48353
48366
|
* for more details and examples.
|
|
48354
48367
|
**/
|
|
48355
|
-
this.rules = assign$
|
|
48368
|
+
this.rules = assign$1({}, default_rules);
|
|
48356
48369
|
}
|
|
48357
48370
|
|
|
48358
48371
|
/**
|
|
@@ -53134,7 +53147,7 @@ img.ProseMirror-separator {
|
|
|
53134
53147
|
|
|
53135
53148
|
// Merge objects
|
|
53136
53149
|
//
|
|
53137
|
-
function assign
|
|
53150
|
+
function assign (obj /* from1, from2, from3, ... */) {
|
|
53138
53151
|
const sources = Array.prototype.slice.call(arguments, 1);
|
|
53139
53152
|
|
|
53140
53153
|
sources.forEach(function (source) {
|
|
@@ -53495,7 +53508,7 @@ img.ProseMirror-separator {
|
|
|
53495
53508
|
}
|
|
53496
53509
|
}
|
|
53497
53510
|
|
|
53498
|
-
this.__opts__ = assign
|
|
53511
|
+
this.__opts__ = assign({}, defaultOptions, options);
|
|
53499
53512
|
|
|
53500
53513
|
// Cache last tested result. Used to skip repeating steps on next `match` call.
|
|
53501
53514
|
this.__index__ = -1;
|
|
@@ -53503,7 +53516,7 @@ img.ProseMirror-separator {
|
|
|
53503
53516
|
this.__schema__ = '';
|
|
53504
53517
|
this.__text_cache__ = '';
|
|
53505
53518
|
|
|
53506
|
-
this.__schemas__ = assign
|
|
53519
|
+
this.__schemas__ = assign({}, defaultSchemas, schemas);
|
|
53507
53520
|
this.__compiled__ = {};
|
|
53508
53521
|
|
|
53509
53522
|
this.__tlds__ = tlds_default;
|
|
@@ -53534,7 +53547,7 @@ img.ProseMirror-separator {
|
|
|
53534
53547
|
* Set recognition options for links without schema.
|
|
53535
53548
|
**/
|
|
53536
53549
|
LinkifyIt.prototype.set = function set (options) {
|
|
53537
|
-
this.__opts__ = assign
|
|
53550
|
+
this.__opts__ = assign(this.__opts__, options);
|
|
53538
53551
|
return this
|
|
53539
53552
|
};
|
|
53540
53553
|
|
|
@@ -54737,7 +54750,7 @@ img.ProseMirror-separator {
|
|
|
54737
54750
|
* Link components parser functions, useful to write plugins. See details
|
|
54738
54751
|
* [here](https://github.com/markdown-it/markdown-it/blob/master/lib/helpers).
|
|
54739
54752
|
**/
|
|
54740
|
-
this.helpers = assign$
|
|
54753
|
+
this.helpers = assign$1({}, helpers);
|
|
54741
54754
|
|
|
54742
54755
|
this.options = {};
|
|
54743
54756
|
this.configure(presetName);
|
|
@@ -54765,7 +54778,7 @@ img.ProseMirror-separator {
|
|
|
54765
54778
|
* config.
|
|
54766
54779
|
**/
|
|
54767
54780
|
MarkdownIt.prototype.set = function (options) {
|
|
54768
|
-
assign$
|
|
54781
|
+
assign$1(this.options, options);
|
|
54769
54782
|
return this
|
|
54770
54783
|
};
|
|
54771
54784
|
|
|
@@ -57398,24 +57411,10 @@ img.ProseMirror-separator {
|
|
|
57398
57411
|
// THIS FILE IS AUTOMATICALLY GENERATED DO NOT EDIT DIRECTLY
|
|
57399
57412
|
// See update-tlds.js for encoding/decoding format
|
|
57400
57413
|
// https://data.iana.org/TLD/tlds-alpha-by-domain.txt
|
|
57401
|
-
const encodedTlds = '
|
|
57414
|
+
const encodedTlds = 'aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2';
|
|
57402
57415
|
// Internationalized domain names containing non-ASCII
|
|
57403
57416
|
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';
|
|
57404
57417
|
|
|
57405
|
-
/**
|
|
57406
|
-
* @template A
|
|
57407
|
-
* @template B
|
|
57408
|
-
* @param {A} target
|
|
57409
|
-
* @param {B} properties
|
|
57410
|
-
* @return {A & B}
|
|
57411
|
-
*/
|
|
57412
|
-
const assign = (target, properties) => {
|
|
57413
|
-
for (const key in properties) {
|
|
57414
|
-
target[key] = properties[key];
|
|
57415
|
-
}
|
|
57416
|
-
return target;
|
|
57417
|
-
};
|
|
57418
|
-
|
|
57419
57418
|
/**
|
|
57420
57419
|
* Finite State Machine generation utilities
|
|
57421
57420
|
*/
|
|
@@ -57678,7 +57677,7 @@ img.ProseMirror-separator {
|
|
|
57678
57677
|
templateState = state.go(input);
|
|
57679
57678
|
if (templateState) {
|
|
57680
57679
|
nextState = new State();
|
|
57681
|
-
assign(nextState.j, templateState.j);
|
|
57680
|
+
Object.assign(nextState.j, templateState.j);
|
|
57682
57681
|
nextState.jr.push.apply(nextState.jr, templateState.jr);
|
|
57683
57682
|
nextState.jd = templateState.jd;
|
|
57684
57683
|
nextState.t = templateState.t;
|
|
@@ -57689,7 +57688,7 @@ img.ProseMirror-separator {
|
|
|
57689
57688
|
// Ensure newly token is in the same groups as the old token
|
|
57690
57689
|
if (groups) {
|
|
57691
57690
|
if (nextState.t && typeof nextState.t === 'string') {
|
|
57692
|
-
const allFlags = assign(flagsForToken(nextState.t, groups), flags);
|
|
57691
|
+
const allFlags = Object.assign(flagsForToken(nextState.t, groups), flags);
|
|
57693
57692
|
addToGroups(t, allFlags, groups);
|
|
57694
57693
|
} else if (flags) {
|
|
57695
57694
|
addToGroups(t, flags, groups);
|
|
@@ -58128,7 +58127,7 @@ img.ProseMirror-separator {
|
|
|
58128
58127
|
Start.jd = new State(SYM);
|
|
58129
58128
|
return {
|
|
58130
58129
|
start: Start,
|
|
58131
|
-
tokens: assign({
|
|
58130
|
+
tokens: Object.assign({
|
|
58132
58131
|
groups
|
|
58133
58132
|
}, tk)
|
|
58134
58133
|
};
|
|
@@ -58397,9 +58396,9 @@ img.ProseMirror-separator {
|
|
|
58397
58396
|
* Similar to render option
|
|
58398
58397
|
*/
|
|
58399
58398
|
function Options(opts, defaultRender = null) {
|
|
58400
|
-
let o = assign({}, defaults);
|
|
58399
|
+
let o = Object.assign({}, defaults);
|
|
58401
58400
|
if (opts) {
|
|
58402
|
-
o = assign(o, opts instanceof Options ? opts.o : opts);
|
|
58401
|
+
o = Object.assign(o, opts instanceof Options ? opts.o : opts);
|
|
58403
58402
|
}
|
|
58404
58403
|
|
|
58405
58404
|
// Ensure all ignored tags are uppercase
|
|
@@ -58644,7 +58643,7 @@ img.ProseMirror-separator {
|
|
|
58644
58643
|
attributes.rel = rel;
|
|
58645
58644
|
}
|
|
58646
58645
|
if (attrs) {
|
|
58647
|
-
assign(attributes, attrs);
|
|
58646
|
+
Object.assign(attributes, attrs);
|
|
58648
58647
|
}
|
|
58649
58648
|
return {
|
|
58650
58649
|
tagName,
|
|
@@ -61590,8 +61589,6 @@ img.ProseMirror-separator {
|
|
|
61590
61589
|
}
|
|
61591
61590
|
`));
|
|
61592
61591
|
|
|
61593
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
61594
|
-
// prettier-ignore
|
|
61595
61592
|
const template$o = html `
|
|
61596
61593
|
<template role="progressbar">
|
|
61597
61594
|
${''
|
|
@@ -61609,7 +61606,6 @@ img.ProseMirror-separator {
|
|
|
61609
61606
|
</div>
|
|
61610
61607
|
</template>
|
|
61611
61608
|
`;
|
|
61612
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
61613
61609
|
|
|
61614
61610
|
/**
|
|
61615
61611
|
* Types of spinner appearance.
|
|
@@ -61657,8 +61653,6 @@ img.ProseMirror-separator {
|
|
|
61657
61653
|
<slot ${ref('labelSlot')}></slot>
|
|
61658
61654
|
</label>
|
|
61659
61655
|
`);
|
|
61660
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
61661
|
-
// prettier-ignore
|
|
61662
61656
|
const template$n = (context, definition) => html `
|
|
61663
61657
|
<template
|
|
61664
61658
|
class="${x => [
|
|
@@ -61789,7 +61783,6 @@ img.ProseMirror-separator {
|
|
|
61789
61783
|
</${anchoredRegionTag}>
|
|
61790
61784
|
</template>
|
|
61791
61785
|
`;
|
|
61792
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
61793
61786
|
|
|
61794
61787
|
// 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
|
|
61795
61788
|
/* eslint-disable max-classes-per-file */
|
|
@@ -63052,7 +63045,6 @@ img.ProseMirror-separator {
|
|
|
63052
63045
|
}
|
|
63053
63046
|
`));
|
|
63054
63047
|
|
|
63055
|
-
// prettier-ignore
|
|
63056
63048
|
const template$m = html `
|
|
63057
63049
|
<template
|
|
63058
63050
|
role="switch"
|
|
@@ -66631,7 +66623,6 @@ img.ProseMirror-separator {
|
|
|
66631
66623
|
throw new Error(`Cell view tag name (${cellViewTag}) must evaluate to an element extending TableCellView`);
|
|
66632
66624
|
}
|
|
66633
66625
|
};
|
|
66634
|
-
// prettier-ignore
|
|
66635
66626
|
const createCellViewTemplate = (cellViewTag) => {
|
|
66636
66627
|
validateCellViewTemplate(cellViewTag);
|
|
66637
66628
|
return html `
|
|
@@ -67216,7 +67207,6 @@ focus outline in that case.
|
|
|
67216
67207
|
}
|
|
67217
67208
|
`;
|
|
67218
67209
|
|
|
67219
|
-
// prettier-ignore
|
|
67220
67210
|
const template$l = html `
|
|
67221
67211
|
<template role="columnheader"
|
|
67222
67212
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
@@ -67551,7 +67541,6 @@ focus outline in that case.
|
|
|
67551
67541
|
}
|
|
67552
67542
|
`;
|
|
67553
67543
|
|
|
67554
|
-
// prettier-ignore
|
|
67555
67544
|
const template$k = html `
|
|
67556
67545
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
67557
67546
|
@focusin="${x => x.onCellFocusIn()}"
|
|
@@ -67655,7 +67644,6 @@ focus outline in that case.
|
|
|
67655
67644
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
67656
67645
|
const tableCellTag = 'nimble-table-cell';
|
|
67657
67646
|
|
|
67658
|
-
// prettier-ignore
|
|
67659
67647
|
const template$j = html `
|
|
67660
67648
|
<template
|
|
67661
67649
|
role="row"
|
|
@@ -68146,8 +68134,6 @@ focus outline in that case.
|
|
|
68146
68134
|
}
|
|
68147
68135
|
`));
|
|
68148
68136
|
|
|
68149
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
68150
|
-
// prettier-ignore
|
|
68151
68137
|
const template$i = html `
|
|
68152
68138
|
<template
|
|
68153
68139
|
role="row"
|
|
@@ -68188,7 +68174,6 @@ focus outline in that case.
|
|
|
68188
68174
|
</div>
|
|
68189
68175
|
</template>
|
|
68190
68176
|
`;
|
|
68191
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
68192
68177
|
|
|
68193
68178
|
/**
|
|
68194
68179
|
* A styled cell that is used within the nimble-table-row.
|
|
@@ -68312,7 +68297,6 @@ focus outline in that case.
|
|
|
68312
68297
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
68313
68298
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
68314
68299
|
|
|
68315
|
-
// prettier-ignore
|
|
68316
68300
|
const template$h = html `
|
|
68317
68301
|
<template
|
|
68318
68302
|
role="treegrid"
|
|
@@ -71292,8 +71276,7 @@ focus outline in that case.
|
|
|
71292
71276
|
return { headerActions, columnHeaders };
|
|
71293
71277
|
}
|
|
71294
71278
|
canFocusColumnHeaders() {
|
|
71295
|
-
return (this.table.columns.find(c => !c.columnInternals.sortingDisabled)
|
|
71296
|
-
!== undefined);
|
|
71279
|
+
return (this.table.columns.find(c => !c.columnInternals.sortingDisabled) !== undefined);
|
|
71297
71280
|
}
|
|
71298
71281
|
getCurrentRow() {
|
|
71299
71282
|
return this.table.rowElements[this.getCurrentRowVisibleIndex()];
|
|
@@ -72448,7 +72431,6 @@ focus outline in that case.
|
|
|
72448
72431
|
|
|
72449
72432
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
72450
72433
|
// so the template can be composed into other column header templates
|
|
72451
|
-
// prettier-ignore
|
|
72452
72434
|
const template$g = html `<span
|
|
72453
72435
|
${overflow('hasOverflow')}
|
|
72454
72436
|
class="header-content"
|
|
@@ -72555,8 +72537,6 @@ focus outline in that case.
|
|
|
72555
72537
|
}
|
|
72556
72538
|
`;
|
|
72557
72539
|
|
|
72558
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
72559
|
-
// prettier-ignore
|
|
72560
72540
|
const template$f = html `
|
|
72561
72541
|
<template
|
|
72562
72542
|
@click="${(x, c) => {
|
|
@@ -72596,7 +72576,6 @@ focus outline in that case.
|
|
|
72596
72576
|
</span>`)}
|
|
72597
72577
|
</template>
|
|
72598
72578
|
`;
|
|
72599
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
72600
72579
|
|
|
72601
72580
|
/**
|
|
72602
72581
|
* A cell view for displaying links
|
|
@@ -73075,7 +73054,6 @@ focus outline in that case.
|
|
|
73075
73054
|
.register(tableColumnDateTextGroupHeaderView());
|
|
73076
73055
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
73077
73056
|
|
|
73078
|
-
// prettier-ignore
|
|
73079
73057
|
const template$d = html `
|
|
73080
73058
|
<template
|
|
73081
73059
|
class="
|
|
@@ -73852,7 +73830,6 @@ focus outline in that case.
|
|
|
73852
73830
|
}
|
|
73853
73831
|
`;
|
|
73854
73832
|
|
|
73855
|
-
// prettier-ignore
|
|
73856
73833
|
const template$b = html `
|
|
73857
73834
|
${when(x => x.visualizationTemplate, html `
|
|
73858
73835
|
<span class="reserve-icon-size">
|
|
@@ -74029,7 +74006,6 @@ focus outline in that case.
|
|
|
74029
74006
|
}
|
|
74030
74007
|
`;
|
|
74031
74008
|
|
|
74032
|
-
// prettier-ignore
|
|
74033
74009
|
const template$a = html `
|
|
74034
74010
|
${when(x => x.visualizationTemplate, html `
|
|
74035
74011
|
<span class="reserve-icon-size">
|
|
@@ -74377,7 +74353,6 @@ focus outline in that case.
|
|
|
74377
74353
|
|
|
74378
74354
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
74379
74355
|
// so the template can be composed into other column header templates
|
|
74380
|
-
// prettier-ignore
|
|
74381
74356
|
const template$7 = html `<span
|
|
74382
74357
|
${overflow('hasOverflow')}
|
|
74383
74358
|
class="header-content"
|
|
@@ -75160,8 +75135,6 @@ focus outline in that case.
|
|
|
75160
75135
|
}
|
|
75161
75136
|
`;
|
|
75162
75137
|
|
|
75163
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
75164
|
-
// prettier-ignore
|
|
75165
75138
|
const template$6 = (context, definition) => html `
|
|
75166
75139
|
<template slot="end">
|
|
75167
75140
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
@@ -76033,7 +76006,6 @@ focus outline in that case.
|
|
|
76033
76006
|
}
|
|
76034
76007
|
`));
|
|
76035
76008
|
|
|
76036
|
-
// prettier-ignore
|
|
76037
76009
|
const template$3 = html `
|
|
76038
76010
|
${when(x => x.tooltipVisible, html `
|
|
76039
76011
|
<${anchoredRegionTag}
|
|
@@ -76411,7 +76383,6 @@ focus outline in that case.
|
|
|
76411
76383
|
}
|
|
76412
76384
|
`;
|
|
76413
76385
|
|
|
76414
|
-
// prettier-ignore
|
|
76415
76386
|
const template$2 = html `
|
|
76416
76387
|
<template
|
|
76417
76388
|
role="tree"
|