@ni/nimble-components 34.3.1 → 34.3.3
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 +665 -579
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +6368 -6371
- 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/theme-provider/design-token-values.d.ts +257 -0
- package/dist/esm/theme-provider/design-token-values.js +164 -0
- package/dist/esm/theme-provider/design-token-values.js.map +1 -0
- package/dist/esm/theme-provider/design-tokens.js +153 -201
- package/dist/esm/theme-provider/design-tokens.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) => {
|
|
@@ -14768,6 +14803,258 @@
|
|
|
14768
14803
|
*/
|
|
14769
14804
|
const focusVisible = `:${focusVisible$1}`;
|
|
14770
14805
|
|
|
14806
|
+
const Theme = {
|
|
14807
|
+
light: 'light',
|
|
14808
|
+
dark: 'dark',
|
|
14809
|
+
color: 'color'
|
|
14810
|
+
};
|
|
14811
|
+
|
|
14812
|
+
/**
|
|
14813
|
+
* Design token names should follow the token naming convention:
|
|
14814
|
+
* See: https://github.com/ni/nimble/blob/main/packages/nimble-components/CONTRIBUTING.md#token-naming
|
|
14815
|
+
*/
|
|
14816
|
+
const tokenNames = {
|
|
14817
|
+
actionRgbPartialColor: 'action-rgb-partial-color',
|
|
14818
|
+
applicationBackgroundColor: 'application-background-color',
|
|
14819
|
+
dividerBackgroundColor: 'divider-background-color',
|
|
14820
|
+
headerBackgroundColor: 'header-background-color',
|
|
14821
|
+
sectionBackgroundColor: 'section-background-color',
|
|
14822
|
+
sectionBackgroundImage: 'section-background-image',
|
|
14823
|
+
buttonFillPrimaryColor: 'button-fill-primary-color',
|
|
14824
|
+
buttonPrimaryFontColor: 'button-primary-font-color',
|
|
14825
|
+
buttonFillAccentColor: 'button-fill-accent-color',
|
|
14826
|
+
buttonAccentBlockFontColor: 'button-accent-block-font-color',
|
|
14827
|
+
buttonAccentOutlineFontColor: 'button-accent-outline-font-color',
|
|
14828
|
+
buttonBorderAccentOutlineColor: 'button-border-accent-outline-color',
|
|
14829
|
+
fillSelectedColor: 'fill-selected-color',
|
|
14830
|
+
fillSelectedRgbPartialColor: 'fill-selected-rgb-partial-color',
|
|
14831
|
+
fillHoverSelectedColor: 'fill-hover-selected-color',
|
|
14832
|
+
fillHoverColor: 'fill-hover-color',
|
|
14833
|
+
fillHoverRgbPartialColor: 'fill-hover-rgb-partial-color',
|
|
14834
|
+
fillDownColor: 'fill-down-color',
|
|
14835
|
+
borderColor: 'border-color',
|
|
14836
|
+
borderRgbPartialColor: 'border-rgb-partial-color',
|
|
14837
|
+
failColor: 'fail-color',
|
|
14838
|
+
warningColor: 'warning-color',
|
|
14839
|
+
passColor: 'pass-color',
|
|
14840
|
+
informationColor: 'information-color',
|
|
14841
|
+
borderHoverColor: 'border-hover-color',
|
|
14842
|
+
iconColor: 'icon-color',
|
|
14843
|
+
modalBackdropColor: 'modal-backdrop-color',
|
|
14844
|
+
popupBorderColor: 'popup-border-color',
|
|
14845
|
+
cardBorderColor: 'card-border-color',
|
|
14846
|
+
tagFillColor: 'tag-fill-color',
|
|
14847
|
+
controlHeight: 'control-height',
|
|
14848
|
+
controlSlimHeight: 'control-slim-height',
|
|
14849
|
+
smallPadding: 'small-padding',
|
|
14850
|
+
mediumPadding: 'medium-padding',
|
|
14851
|
+
standardPadding: 'standard-padding',
|
|
14852
|
+
largePadding: 'large-padding',
|
|
14853
|
+
labelHeight: 'label-height',
|
|
14854
|
+
borderWidth: 'border-width',
|
|
14855
|
+
dividerWidth: 'divider-width',
|
|
14856
|
+
iconSize: 'icon-size',
|
|
14857
|
+
groupHeaderTextTransform: 'group-header-text-transform',
|
|
14858
|
+
drawerWidth: 'drawer-width',
|
|
14859
|
+
dialogSmallWidth: 'dialog-small-width',
|
|
14860
|
+
dialogSmallHeight: 'dialog-small-height',
|
|
14861
|
+
dialogSmallMaxHeight: 'dialog-small-max-height',
|
|
14862
|
+
dialogLargeWidth: 'dialog-large-width',
|
|
14863
|
+
dialogLargeHeight: 'dialog-large-height',
|
|
14864
|
+
dialogLargeMaxHeight: 'dialog-large-max-height',
|
|
14865
|
+
menuMinWidth: 'menu-min-width',
|
|
14866
|
+
bannerGapSize: 'banner-gap-size',
|
|
14867
|
+
spinnerSmallHeight: 'spinner-small-height',
|
|
14868
|
+
spinnerMediumHeight: 'spinner-medium-height',
|
|
14869
|
+
spinnerLargeHeight: 'spinner-large-height',
|
|
14870
|
+
tableFitRowsHeight: 'table-fit-rows-height',
|
|
14871
|
+
smallDelay: 'small-delay',
|
|
14872
|
+
mediumDelay: 'medium-delay',
|
|
14873
|
+
largeDelay: 'large-delay',
|
|
14874
|
+
headlinePlus1Font: 'headline-plus-1-font',
|
|
14875
|
+
headlineFont: 'headline-font',
|
|
14876
|
+
tableHeaderFont: 'table-header-font',
|
|
14877
|
+
titlePlus2Font: 'title-plus-2-font',
|
|
14878
|
+
titlePlus1Font: 'title-plus-1-font',
|
|
14879
|
+
titleFont: 'title-font',
|
|
14880
|
+
subtitlePlus1Font: 'subtitle-plus-1-font',
|
|
14881
|
+
subtitleFont: 'subtitle-font',
|
|
14882
|
+
linkFont: 'link-font',
|
|
14883
|
+
linkActiveFont: 'link-active-font',
|
|
14884
|
+
linkProminentFont: 'link-prominent-font',
|
|
14885
|
+
linkActiveProminentFont: 'link-active-prominent-font',
|
|
14886
|
+
placeholderFont: 'placeholder-font',
|
|
14887
|
+
bodyFont: 'body-font',
|
|
14888
|
+
bodyEmphasizedFont: 'body-emphasized-font',
|
|
14889
|
+
bodyPlus1Font: 'body-plus-1-font',
|
|
14890
|
+
bodyPlus1EmphasizedFont: 'body-plus-1-emphasized-font',
|
|
14891
|
+
groupHeaderFont: 'group-header-font',
|
|
14892
|
+
controlLabelFont: 'control-label-font',
|
|
14893
|
+
buttonLabelFont: 'button-label-font',
|
|
14894
|
+
tooltipCaptionFont: 'tooltip-caption-font',
|
|
14895
|
+
tooltipBackgroundColor: 'tooltip-background-color',
|
|
14896
|
+
errorTextFont: 'error-text-font',
|
|
14897
|
+
tableRowBorderColor: 'table-row-border-color',
|
|
14898
|
+
elevation1BoxShadow: 'elevation-1-box-shadow',
|
|
14899
|
+
elevation2BoxShadow: 'elevation-2-box-shadow',
|
|
14900
|
+
elevation3BoxShadow: 'elevation-3-box-shadow',
|
|
14901
|
+
graphGridlineColor: 'graph-gridline-color',
|
|
14902
|
+
graphTrace1Color: 'graph-trace-1-color',
|
|
14903
|
+
graphTrace2Color: 'graph-trace-2-color',
|
|
14904
|
+
graphTrace3Color: 'graph-trace-3-color',
|
|
14905
|
+
graphTrace4Color: 'graph-trace-4-color',
|
|
14906
|
+
graphTrace5Color: 'graph-trace-5-color',
|
|
14907
|
+
graphTrace6Color: 'graph-trace-6-color',
|
|
14908
|
+
graphTrace7Color: 'graph-trace-7-color',
|
|
14909
|
+
graphTrace8Color: 'graph-trace-8-color',
|
|
14910
|
+
mentionFont: 'mention-font',
|
|
14911
|
+
calendarEventBackgroundStaticColor: 'calendar-event-background-static-color',
|
|
14912
|
+
calendarEventBackgroundDynamicColor: 'calendar-event-background-dynamic-color',
|
|
14913
|
+
calendarEventBackgroundTransientColor: 'calendar-event-background-transient-color',
|
|
14914
|
+
calendarEventBorderStaticColor: 'calendar-event-border-static-color',
|
|
14915
|
+
calendarEventBorderTransientColor: 'calendar-event-border-transient-color',
|
|
14916
|
+
calendarEventStaticFontColor: 'calendar-event-static-font-color',
|
|
14917
|
+
calendarEventDynamicFontColor: 'calendar-event-dynamic-font-color',
|
|
14918
|
+
calendarEventTransientFontColor: 'calendar-event-transient-font-color',
|
|
14919
|
+
calendarEventBackgroundHoverStaticColor: 'calendar-event-background-hover-static-color',
|
|
14920
|
+
calendarEventBackgroundHoverDynamicColor: 'calendar-event-background-hover-dynamic-color',
|
|
14921
|
+
calendarEventBackgroundHoverTransientColor: 'calendar-event-background-hover-transient-color',
|
|
14922
|
+
calendarEventOuterBorderHighlightedColor: 'calendar-event-outer-border-highlighted-color',
|
|
14923
|
+
calendarRowBackgroundSelectedColor: 'calendar-row-background-selected-color',
|
|
14924
|
+
calendarRowBackgroundConflictColor: 'calendar-row-background-conflict-color',
|
|
14925
|
+
calendarEventFillBlockedColor: 'calendar-event-fill-blocked-color',
|
|
14926
|
+
calendarGrabHandleBackgroundColor: 'calendar-grab-handle-background-color',
|
|
14927
|
+
calendarGridBorderColor: 'calendar-grid-border-color',
|
|
14928
|
+
calendarGroupHeaderBackgroundColor: 'calendar-group-header-background-color'
|
|
14929
|
+
};
|
|
14930
|
+
const prefix = 'ni-nimble';
|
|
14931
|
+
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
14932
|
+
|
|
14933
|
+
const template$O = html `<slot></slot>`;
|
|
14934
|
+
|
|
14935
|
+
const styles$11 = css `
|
|
14936
|
+
${display('contents')}
|
|
14937
|
+
`;
|
|
14938
|
+
|
|
14939
|
+
/**
|
|
14940
|
+
* Observable class to subscribe to changes in the page's lang attribute
|
|
14941
|
+
*/
|
|
14942
|
+
class DocumentElementLang {
|
|
14943
|
+
constructor() {
|
|
14944
|
+
this.lang = document.documentElement.lang;
|
|
14945
|
+
const observer = new MutationObserver(mutations => {
|
|
14946
|
+
for (const mutation of mutations) {
|
|
14947
|
+
if (mutation.type === 'attributes'
|
|
14948
|
+
&& mutation.attributeName === 'lang') {
|
|
14949
|
+
this.lang = mutation.target.lang;
|
|
14950
|
+
}
|
|
14951
|
+
}
|
|
14952
|
+
});
|
|
14953
|
+
observer.observe(document.documentElement, {
|
|
14954
|
+
attributeFilter: ['lang']
|
|
14955
|
+
});
|
|
14956
|
+
}
|
|
14957
|
+
}
|
|
14958
|
+
__decorate([
|
|
14959
|
+
observable
|
|
14960
|
+
], DocumentElementLang.prototype, "lang", void 0);
|
|
14961
|
+
const documentElementLang = new DocumentElementLang();
|
|
14962
|
+
|
|
14963
|
+
function isValidLang(value) {
|
|
14964
|
+
try {
|
|
14965
|
+
// We are relying on the Locale constructor to validate the value
|
|
14966
|
+
// eslint-disable-next-line no-new
|
|
14967
|
+
new Intl.Locale(value);
|
|
14968
|
+
return true;
|
|
14969
|
+
}
|
|
14970
|
+
catch (e) {
|
|
14971
|
+
return false;
|
|
14972
|
+
}
|
|
14973
|
+
}
|
|
14974
|
+
const lang = DesignToken.create({
|
|
14975
|
+
name: 'lang',
|
|
14976
|
+
cssCustomPropertyName: null
|
|
14977
|
+
}).withDefault(() => (isValidLang(documentElementLang.lang) ? documentElementLang.lang : 'en-US'));
|
|
14978
|
+
// Not represented as a CSS Custom Property, instead available
|
|
14979
|
+
// as an attribute of theme provider.
|
|
14980
|
+
const direction = DesignToken.create({
|
|
14981
|
+
name: 'direction',
|
|
14982
|
+
cssCustomPropertyName: null
|
|
14983
|
+
}).withDefault(Direction.ltr);
|
|
14984
|
+
const theme = DesignToken.create({
|
|
14985
|
+
name: 'theme',
|
|
14986
|
+
cssCustomPropertyName: null
|
|
14987
|
+
}).withDefault(Theme.light);
|
|
14988
|
+
/**
|
|
14989
|
+
* The ThemeProvider implementation. Add this component to the page and set its `theme` attribute to control
|
|
14990
|
+
* the values of design tokens that provide colors and fonts as CSS custom properties to any descendant components.
|
|
14991
|
+
* @internal
|
|
14992
|
+
*/
|
|
14993
|
+
class ThemeProvider extends FoundationElement {
|
|
14994
|
+
constructor() {
|
|
14995
|
+
super(...arguments);
|
|
14996
|
+
this.theme = Theme.light;
|
|
14997
|
+
this.langIsInvalid = false;
|
|
14998
|
+
}
|
|
14999
|
+
get validity() {
|
|
15000
|
+
return {
|
|
15001
|
+
invalidLang: this.langIsInvalid
|
|
15002
|
+
};
|
|
15003
|
+
}
|
|
15004
|
+
checkValidity() {
|
|
15005
|
+
return !this.langIsInvalid;
|
|
15006
|
+
}
|
|
15007
|
+
langChanged(_prev, next) {
|
|
15008
|
+
if (next === null || next === undefined) {
|
|
15009
|
+
lang.deleteValueFor(this);
|
|
15010
|
+
this.langIsInvalid = false;
|
|
15011
|
+
return;
|
|
15012
|
+
}
|
|
15013
|
+
if (isValidLang(next)) {
|
|
15014
|
+
lang.setValueFor(this, next);
|
|
15015
|
+
this.langIsInvalid = false;
|
|
15016
|
+
}
|
|
15017
|
+
else {
|
|
15018
|
+
lang.deleteValueFor(this);
|
|
15019
|
+
this.langIsInvalid = true;
|
|
15020
|
+
}
|
|
15021
|
+
}
|
|
15022
|
+
directionChanged(_prev, next) {
|
|
15023
|
+
if (next !== undefined && next !== null) {
|
|
15024
|
+
direction.setValueFor(this, next);
|
|
15025
|
+
}
|
|
15026
|
+
else {
|
|
15027
|
+
direction.deleteValueFor(this);
|
|
15028
|
+
}
|
|
15029
|
+
}
|
|
15030
|
+
themeChanged(_prev, next) {
|
|
15031
|
+
if (next !== undefined && next !== null) {
|
|
15032
|
+
theme.setValueFor(this, next);
|
|
15033
|
+
}
|
|
15034
|
+
else {
|
|
15035
|
+
theme.deleteValueFor(this);
|
|
15036
|
+
}
|
|
15037
|
+
}
|
|
15038
|
+
}
|
|
15039
|
+
__decorate([
|
|
15040
|
+
attr()
|
|
15041
|
+
], ThemeProvider.prototype, "lang", void 0);
|
|
15042
|
+
__decorate([
|
|
15043
|
+
attr()
|
|
15044
|
+
], ThemeProvider.prototype, "direction", void 0);
|
|
15045
|
+
__decorate([
|
|
15046
|
+
attr()
|
|
15047
|
+
], ThemeProvider.prototype, "theme", void 0);
|
|
15048
|
+
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
15049
|
+
baseName: 'theme-provider',
|
|
15050
|
+
styles: styles$11,
|
|
15051
|
+
template: template$O
|
|
15052
|
+
});
|
|
15053
|
+
DesignSystem.getOrCreate()
|
|
15054
|
+
.withPrefix('nimble')
|
|
15055
|
+
.register(nimbleDesignSystemProvider());
|
|
15056
|
+
const themeProviderTag = 'nimble-theme-provider';
|
|
15057
|
+
|
|
14771
15058
|
/**
|
|
14772
15059
|
* Ensures that an input number does not exceed a max value and is not less than a min value.
|
|
14773
15060
|
* @param i - the number to clamp
|
|
@@ -15994,258 +16281,6 @@
|
|
|
15994
16281
|
const MediumDelay = "0.15s"; // Medium animation delay for control state change animation
|
|
15995
16282
|
const LargeDelay = "0.25s"; // Long animation delay used for control state change animation
|
|
15996
16283
|
|
|
15997
|
-
const Theme = {
|
|
15998
|
-
light: 'light',
|
|
15999
|
-
dark: 'dark',
|
|
16000
|
-
color: 'color'
|
|
16001
|
-
};
|
|
16002
|
-
|
|
16003
|
-
/**
|
|
16004
|
-
* Design token names should follow the token naming convention:
|
|
16005
|
-
* See: https://github.com/ni/nimble/blob/main/packages/nimble-components/CONTRIBUTING.md#token-naming
|
|
16006
|
-
*/
|
|
16007
|
-
const tokenNames = {
|
|
16008
|
-
actionRgbPartialColor: 'action-rgb-partial-color',
|
|
16009
|
-
applicationBackgroundColor: 'application-background-color',
|
|
16010
|
-
dividerBackgroundColor: 'divider-background-color',
|
|
16011
|
-
headerBackgroundColor: 'header-background-color',
|
|
16012
|
-
sectionBackgroundColor: 'section-background-color',
|
|
16013
|
-
sectionBackgroundImage: 'section-background-image',
|
|
16014
|
-
buttonFillPrimaryColor: 'button-fill-primary-color',
|
|
16015
|
-
buttonPrimaryFontColor: 'button-primary-font-color',
|
|
16016
|
-
buttonFillAccentColor: 'button-fill-accent-color',
|
|
16017
|
-
buttonAccentBlockFontColor: 'button-accent-block-font-color',
|
|
16018
|
-
buttonAccentOutlineFontColor: 'button-accent-outline-font-color',
|
|
16019
|
-
buttonBorderAccentOutlineColor: 'button-border-accent-outline-color',
|
|
16020
|
-
fillSelectedColor: 'fill-selected-color',
|
|
16021
|
-
fillSelectedRgbPartialColor: 'fill-selected-rgb-partial-color',
|
|
16022
|
-
fillHoverSelectedColor: 'fill-hover-selected-color',
|
|
16023
|
-
fillHoverColor: 'fill-hover-color',
|
|
16024
|
-
fillHoverRgbPartialColor: 'fill-hover-rgb-partial-color',
|
|
16025
|
-
fillDownColor: 'fill-down-color',
|
|
16026
|
-
borderColor: 'border-color',
|
|
16027
|
-
borderRgbPartialColor: 'border-rgb-partial-color',
|
|
16028
|
-
failColor: 'fail-color',
|
|
16029
|
-
warningColor: 'warning-color',
|
|
16030
|
-
passColor: 'pass-color',
|
|
16031
|
-
informationColor: 'information-color',
|
|
16032
|
-
borderHoverColor: 'border-hover-color',
|
|
16033
|
-
iconColor: 'icon-color',
|
|
16034
|
-
modalBackdropColor: 'modal-backdrop-color',
|
|
16035
|
-
popupBorderColor: 'popup-border-color',
|
|
16036
|
-
cardBorderColor: 'card-border-color',
|
|
16037
|
-
tagFillColor: 'tag-fill-color',
|
|
16038
|
-
controlHeight: 'control-height',
|
|
16039
|
-
controlSlimHeight: 'control-slim-height',
|
|
16040
|
-
smallPadding: 'small-padding',
|
|
16041
|
-
mediumPadding: 'medium-padding',
|
|
16042
|
-
standardPadding: 'standard-padding',
|
|
16043
|
-
largePadding: 'large-padding',
|
|
16044
|
-
labelHeight: 'label-height',
|
|
16045
|
-
borderWidth: 'border-width',
|
|
16046
|
-
dividerWidth: 'divider-width',
|
|
16047
|
-
iconSize: 'icon-size',
|
|
16048
|
-
groupHeaderTextTransform: 'group-header-text-transform',
|
|
16049
|
-
drawerWidth: 'drawer-width',
|
|
16050
|
-
dialogSmallWidth: 'dialog-small-width',
|
|
16051
|
-
dialogSmallHeight: 'dialog-small-height',
|
|
16052
|
-
dialogSmallMaxHeight: 'dialog-small-max-height',
|
|
16053
|
-
dialogLargeWidth: 'dialog-large-width',
|
|
16054
|
-
dialogLargeHeight: 'dialog-large-height',
|
|
16055
|
-
dialogLargeMaxHeight: 'dialog-large-max-height',
|
|
16056
|
-
menuMinWidth: 'menu-min-width',
|
|
16057
|
-
bannerGapSize: 'banner-gap-size',
|
|
16058
|
-
spinnerSmallHeight: 'spinner-small-height',
|
|
16059
|
-
spinnerMediumHeight: 'spinner-medium-height',
|
|
16060
|
-
spinnerLargeHeight: 'spinner-large-height',
|
|
16061
|
-
tableFitRowsHeight: 'table-fit-rows-height',
|
|
16062
|
-
smallDelay: 'small-delay',
|
|
16063
|
-
mediumDelay: 'medium-delay',
|
|
16064
|
-
largeDelay: 'large-delay',
|
|
16065
|
-
headlinePlus1Font: 'headline-plus-1-font',
|
|
16066
|
-
headlineFont: 'headline-font',
|
|
16067
|
-
tableHeaderFont: 'table-header-font',
|
|
16068
|
-
titlePlus2Font: 'title-plus-2-font',
|
|
16069
|
-
titlePlus1Font: 'title-plus-1-font',
|
|
16070
|
-
titleFont: 'title-font',
|
|
16071
|
-
subtitlePlus1Font: 'subtitle-plus-1-font',
|
|
16072
|
-
subtitleFont: 'subtitle-font',
|
|
16073
|
-
linkFont: 'link-font',
|
|
16074
|
-
linkActiveFont: 'link-active-font',
|
|
16075
|
-
linkProminentFont: 'link-prominent-font',
|
|
16076
|
-
linkActiveProminentFont: 'link-active-prominent-font',
|
|
16077
|
-
placeholderFont: 'placeholder-font',
|
|
16078
|
-
bodyFont: 'body-font',
|
|
16079
|
-
bodyEmphasizedFont: 'body-emphasized-font',
|
|
16080
|
-
bodyPlus1Font: 'body-plus-1-font',
|
|
16081
|
-
bodyPlus1EmphasizedFont: 'body-plus-1-emphasized-font',
|
|
16082
|
-
groupHeaderFont: 'group-header-font',
|
|
16083
|
-
controlLabelFont: 'control-label-font',
|
|
16084
|
-
buttonLabelFont: 'button-label-font',
|
|
16085
|
-
tooltipCaptionFont: 'tooltip-caption-font',
|
|
16086
|
-
tooltipBackgroundColor: 'tooltip-background-color',
|
|
16087
|
-
errorTextFont: 'error-text-font',
|
|
16088
|
-
tableRowBorderColor: 'table-row-border-color',
|
|
16089
|
-
elevation1BoxShadow: 'elevation-1-box-shadow',
|
|
16090
|
-
elevation2BoxShadow: 'elevation-2-box-shadow',
|
|
16091
|
-
elevation3BoxShadow: 'elevation-3-box-shadow',
|
|
16092
|
-
graphGridlineColor: 'graph-gridline-color',
|
|
16093
|
-
graphTrace1Color: 'graph-trace-1-color',
|
|
16094
|
-
graphTrace2Color: 'graph-trace-2-color',
|
|
16095
|
-
graphTrace3Color: 'graph-trace-3-color',
|
|
16096
|
-
graphTrace4Color: 'graph-trace-4-color',
|
|
16097
|
-
graphTrace5Color: 'graph-trace-5-color',
|
|
16098
|
-
graphTrace6Color: 'graph-trace-6-color',
|
|
16099
|
-
graphTrace7Color: 'graph-trace-7-color',
|
|
16100
|
-
graphTrace8Color: 'graph-trace-8-color',
|
|
16101
|
-
mentionFont: 'mention-font',
|
|
16102
|
-
calendarEventBackgroundStaticColor: 'calendar-event-background-static-color',
|
|
16103
|
-
calendarEventBackgroundDynamicColor: 'calendar-event-background-dynamic-color',
|
|
16104
|
-
calendarEventBackgroundTransientColor: 'calendar-event-background-transient-color',
|
|
16105
|
-
calendarEventBorderStaticColor: 'calendar-event-border-static-color',
|
|
16106
|
-
calendarEventBorderTransientColor: 'calendar-event-border-transient-color',
|
|
16107
|
-
calendarEventStaticFontColor: 'calendar-event-static-font-color',
|
|
16108
|
-
calendarEventDynamicFontColor: 'calendar-event-dynamic-font-color',
|
|
16109
|
-
calendarEventTransientFontColor: 'calendar-event-transient-font-color',
|
|
16110
|
-
calendarEventBackgroundHoverStaticColor: 'calendar-event-background-hover-static-color',
|
|
16111
|
-
calendarEventBackgroundHoverDynamicColor: 'calendar-event-background-hover-dynamic-color',
|
|
16112
|
-
calendarEventBackgroundHoverTransientColor: 'calendar-event-background-hover-transient-color',
|
|
16113
|
-
calendarEventOuterBorderHighlightedColor: 'calendar-event-outer-border-highlighted-color',
|
|
16114
|
-
calendarRowBackgroundSelectedColor: 'calendar-row-background-selected-color',
|
|
16115
|
-
calendarRowBackgroundConflictColor: 'calendar-row-background-conflict-color',
|
|
16116
|
-
calendarEventFillBlockedColor: 'calendar-event-fill-blocked-color',
|
|
16117
|
-
calendarGrabHandleBackgroundColor: 'calendar-grab-handle-background-color',
|
|
16118
|
-
calendarGridBorderColor: 'calendar-grid-border-color',
|
|
16119
|
-
calendarGroupHeaderBackgroundColor: 'calendar-group-header-background-color'
|
|
16120
|
-
};
|
|
16121
|
-
const prefix = 'ni-nimble';
|
|
16122
|
-
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
16123
|
-
|
|
16124
|
-
const template$O = html `<slot></slot>`;
|
|
16125
|
-
|
|
16126
|
-
const styles$11 = css `
|
|
16127
|
-
${display('contents')}
|
|
16128
|
-
`;
|
|
16129
|
-
|
|
16130
|
-
/**
|
|
16131
|
-
* Observable class to subscribe to changes in the page's lang attribute
|
|
16132
|
-
*/
|
|
16133
|
-
class DocumentElementLang {
|
|
16134
|
-
constructor() {
|
|
16135
|
-
this.lang = document.documentElement.lang;
|
|
16136
|
-
const observer = new MutationObserver(mutations => {
|
|
16137
|
-
for (const mutation of mutations) {
|
|
16138
|
-
if (mutation.type === 'attributes'
|
|
16139
|
-
&& mutation.attributeName === 'lang') {
|
|
16140
|
-
this.lang = mutation.target.lang;
|
|
16141
|
-
}
|
|
16142
|
-
}
|
|
16143
|
-
});
|
|
16144
|
-
observer.observe(document.documentElement, {
|
|
16145
|
-
attributeFilter: ['lang']
|
|
16146
|
-
});
|
|
16147
|
-
}
|
|
16148
|
-
}
|
|
16149
|
-
__decorate([
|
|
16150
|
-
observable
|
|
16151
|
-
], DocumentElementLang.prototype, "lang", void 0);
|
|
16152
|
-
const documentElementLang = new DocumentElementLang();
|
|
16153
|
-
|
|
16154
|
-
function isValidLang(value) {
|
|
16155
|
-
try {
|
|
16156
|
-
// We are relying on the Locale constructor to validate the value
|
|
16157
|
-
// eslint-disable-next-line no-new
|
|
16158
|
-
new Intl.Locale(value);
|
|
16159
|
-
return true;
|
|
16160
|
-
}
|
|
16161
|
-
catch (e) {
|
|
16162
|
-
return false;
|
|
16163
|
-
}
|
|
16164
|
-
}
|
|
16165
|
-
const lang = DesignToken.create({
|
|
16166
|
-
name: 'lang',
|
|
16167
|
-
cssCustomPropertyName: null
|
|
16168
|
-
}).withDefault(() => (isValidLang(documentElementLang.lang) ? documentElementLang.lang : 'en-US'));
|
|
16169
|
-
// Not represented as a CSS Custom Property, instead available
|
|
16170
|
-
// as an attribute of theme provider.
|
|
16171
|
-
const direction = DesignToken.create({
|
|
16172
|
-
name: 'direction',
|
|
16173
|
-
cssCustomPropertyName: null
|
|
16174
|
-
}).withDefault(Direction.ltr);
|
|
16175
|
-
const theme = DesignToken.create({
|
|
16176
|
-
name: 'theme',
|
|
16177
|
-
cssCustomPropertyName: null
|
|
16178
|
-
}).withDefault(Theme.light);
|
|
16179
|
-
/**
|
|
16180
|
-
* The ThemeProvider implementation. Add this component to the page and set its `theme` attribute to control
|
|
16181
|
-
* the values of design tokens that provide colors and fonts as CSS custom properties to any descendant components.
|
|
16182
|
-
* @internal
|
|
16183
|
-
*/
|
|
16184
|
-
class ThemeProvider extends FoundationElement {
|
|
16185
|
-
constructor() {
|
|
16186
|
-
super(...arguments);
|
|
16187
|
-
this.theme = Theme.light;
|
|
16188
|
-
this.langIsInvalid = false;
|
|
16189
|
-
}
|
|
16190
|
-
get validity() {
|
|
16191
|
-
return {
|
|
16192
|
-
invalidLang: this.langIsInvalid
|
|
16193
|
-
};
|
|
16194
|
-
}
|
|
16195
|
-
checkValidity() {
|
|
16196
|
-
return !this.langIsInvalid;
|
|
16197
|
-
}
|
|
16198
|
-
langChanged(_prev, next) {
|
|
16199
|
-
if (next === null || next === undefined) {
|
|
16200
|
-
lang.deleteValueFor(this);
|
|
16201
|
-
this.langIsInvalid = false;
|
|
16202
|
-
return;
|
|
16203
|
-
}
|
|
16204
|
-
if (isValidLang(next)) {
|
|
16205
|
-
lang.setValueFor(this, next);
|
|
16206
|
-
this.langIsInvalid = false;
|
|
16207
|
-
}
|
|
16208
|
-
else {
|
|
16209
|
-
lang.deleteValueFor(this);
|
|
16210
|
-
this.langIsInvalid = true;
|
|
16211
|
-
}
|
|
16212
|
-
}
|
|
16213
|
-
directionChanged(_prev, next) {
|
|
16214
|
-
if (next !== undefined && next !== null) {
|
|
16215
|
-
direction.setValueFor(this, next);
|
|
16216
|
-
}
|
|
16217
|
-
else {
|
|
16218
|
-
direction.deleteValueFor(this);
|
|
16219
|
-
}
|
|
16220
|
-
}
|
|
16221
|
-
themeChanged(_prev, next) {
|
|
16222
|
-
if (next !== undefined && next !== null) {
|
|
16223
|
-
theme.setValueFor(this, next);
|
|
16224
|
-
}
|
|
16225
|
-
else {
|
|
16226
|
-
theme.deleteValueFor(this);
|
|
16227
|
-
}
|
|
16228
|
-
}
|
|
16229
|
-
}
|
|
16230
|
-
__decorate([
|
|
16231
|
-
attr()
|
|
16232
|
-
], ThemeProvider.prototype, "lang", void 0);
|
|
16233
|
-
__decorate([
|
|
16234
|
-
attr()
|
|
16235
|
-
], ThemeProvider.prototype, "direction", void 0);
|
|
16236
|
-
__decorate([
|
|
16237
|
-
attr()
|
|
16238
|
-
], ThemeProvider.prototype, "theme", void 0);
|
|
16239
|
-
const nimbleDesignSystemProvider = ThemeProvider.compose({
|
|
16240
|
-
baseName: 'theme-provider',
|
|
16241
|
-
styles: styles$11,
|
|
16242
|
-
template: template$O
|
|
16243
|
-
});
|
|
16244
|
-
DesignSystem.getOrCreate()
|
|
16245
|
-
.withPrefix('nimble')
|
|
16246
|
-
.register(nimbleDesignSystemProvider());
|
|
16247
|
-
const themeProviderTag = 'nimble-theme-provider';
|
|
16248
|
-
|
|
16249
16284
|
/**
|
|
16250
16285
|
* Convert a hexadecimal color string to an RGBA CSS color string
|
|
16251
16286
|
* Example: '#ff0102' to 'rgba(255, 1, 2, 1)'
|
|
@@ -16258,157 +16293,305 @@
|
|
|
16258
16293
|
return `rgba(${r * 255}, ${g * 255}, ${b * 255}, ${alpha})`;
|
|
16259
16294
|
}
|
|
16260
16295
|
|
|
16261
|
-
//
|
|
16262
|
-
const
|
|
16263
|
-
|
|
16264
|
-
|
|
16265
|
-
|
|
16266
|
-
|
|
16267
|
-
|
|
16268
|
-
|
|
16269
|
-
|
|
16270
|
-
|
|
16271
|
-
|
|
16272
|
-
|
|
16273
|
-
|
|
16274
|
-
|
|
16275
|
-
|
|
16276
|
-
|
|
16277
|
-
|
|
16278
|
-
|
|
16279
|
-
|
|
16280
|
-
|
|
16281
|
-
|
|
16282
|
-
|
|
16283
|
-
|
|
16284
|
-
|
|
16285
|
-
|
|
16286
|
-
|
|
16287
|
-
|
|
16288
|
-
|
|
16289
|
-
|
|
16290
|
-
|
|
16291
|
-
|
|
16292
|
-
|
|
16293
|
-
|
|
16294
|
-
|
|
16295
|
-
|
|
16296
|
-
|
|
16297
|
-
|
|
16298
|
-
|
|
16299
|
-
|
|
16300
|
-
|
|
16301
|
-
|
|
16302
|
-
|
|
16303
|
-
|
|
16304
|
-
|
|
16305
|
-
|
|
16306
|
-
|
|
16307
|
-
|
|
16308
|
-
|
|
16309
|
-
|
|
16310
|
-
|
|
16311
|
-
|
|
16312
|
-
|
|
16313
|
-
|
|
16314
|
-
|
|
16315
|
-
|
|
16316
|
-
|
|
16317
|
-
|
|
16318
|
-
|
|
16319
|
-
|
|
16320
|
-
|
|
16321
|
-
|
|
16322
|
-
|
|
16323
|
-
|
|
16324
|
-
|
|
16325
|
-
|
|
16326
|
-
|
|
16327
|
-
|
|
16328
|
-
|
|
16329
|
-
|
|
16330
|
-
|
|
16331
|
-
|
|
16332
|
-
|
|
16333
|
-
|
|
16334
|
-
|
|
16335
|
-
|
|
16336
|
-
|
|
16337
|
-
|
|
16338
|
-
|
|
16339
|
-
|
|
16340
|
-
|
|
16341
|
-
|
|
16342
|
-
|
|
16343
|
-
|
|
16344
|
-
|
|
16345
|
-
|
|
16346
|
-
|
|
16347
|
-
|
|
16348
|
-
|
|
16349
|
-
|
|
16350
|
-
|
|
16351
|
-
|
|
16352
|
-
|
|
16353
|
-
|
|
16354
|
-
|
|
16355
|
-
|
|
16356
|
-
|
|
16357
|
-
|
|
16358
|
-
|
|
16359
|
-
|
|
16360
|
-
|
|
16361
|
-
|
|
16362
|
-
|
|
16363
|
-
|
|
16364
|
-
|
|
16365
|
-
|
|
16366
|
-
|
|
16367
|
-
|
|
16368
|
-
|
|
16369
|
-
|
|
16370
|
-
|
|
16371
|
-
|
|
16372
|
-
|
|
16373
|
-
|
|
16374
|
-
|
|
16375
|
-
|
|
16376
|
-
|
|
16377
|
-
|
|
16378
|
-
|
|
16379
|
-
|
|
16380
|
-
|
|
16381
|
-
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16296
|
+
// #region token values
|
|
16297
|
+
const alias = {
|
|
16298
|
+
failColor: createThemeColor(Fail100LightUi, Fail100DarkUi, White),
|
|
16299
|
+
lineColor: createThemeColor(Black91, Black15, White),
|
|
16300
|
+
fillSelectedColor: createThemeColor(DigitalGreenLight, PowerGreen, White),
|
|
16301
|
+
fillHoverColor: createThemeColor(Black91, Black15, White),
|
|
16302
|
+
defaultFontColor: createThemeColor(Black91, Black15, White)
|
|
16303
|
+
};
|
|
16304
|
+
const tokenValues = {
|
|
16305
|
+
actionRgbPartialColor: hexToRgbPartialThemeColor(createThemeColor(Black91, Black15, White)),
|
|
16306
|
+
applicationBackgroundColor: createThemeColor(White, Black85, ForestGreen),
|
|
16307
|
+
headerBackgroundColor: createThemeColor(Black7, Black88, ForestGreen),
|
|
16308
|
+
sectionBackgroundColor: createThemeColor(Black15, Black80, ForestGreen),
|
|
16309
|
+
sectionBackgroundImage: createThemeColor(`linear-gradient(${Black15}, ${hexToRgbaCssColor(Black15, 0)})`, `linear-gradient(${Black82}, ${hexToRgbaCssColor(Black82, 0)})`, `linear-gradient(${ForestGreen}, ${hexToRgbaCssColor(ForestGreen, 0)})`),
|
|
16310
|
+
dividerBackgroundColor: createThemeColor(Black15, Black80, ForestGreen),
|
|
16311
|
+
fillSelectedColor: hexToRgbaCssThemeColor(alias.fillSelectedColor, 0.2, 0.2, 0.2),
|
|
16312
|
+
fillSelectedRgbPartialColor: hexToRgbPartialThemeColor(alias.fillSelectedColor),
|
|
16313
|
+
fillHoverSelectedColor: hexToRgbaCssThemeColor(alias.fillSelectedColor, 0.15, 0.15, 0.15),
|
|
16314
|
+
fillHoverColor: hexToRgbaCssThemeColor(alias.fillHoverColor, 0.1, 0.1, 0.1),
|
|
16315
|
+
fillHoverRgbPartialColor: hexToRgbPartialThemeColor(alias.fillHoverColor),
|
|
16316
|
+
fillDownColor: hexToRgbaCssThemeColor(alias.fillHoverColor, 0.15, 0.15, 0.15),
|
|
16317
|
+
borderColor: alias.lineColor,
|
|
16318
|
+
borderRgbPartialColor: hexToRgbPartialThemeColor(alias.lineColor),
|
|
16319
|
+
failColor: alias.failColor,
|
|
16320
|
+
warningColor: createThemeColor(Warning100LightUi, Warning100DarkUi, White),
|
|
16321
|
+
passColor: createThemeColor(Pass100LightUi, Pass100DarkUi, White),
|
|
16322
|
+
informationColor: createThemeColor(Information100LightUi, Information100DarkUi, White),
|
|
16323
|
+
borderHoverColor: createThemeColor(DigitalGreenLight, PowerGreen, White),
|
|
16324
|
+
iconColor: createThemeColor(Black91, Black15, White),
|
|
16325
|
+
modalBackdropColor: hexToRgbaCssThemeColor(createThemeColor(Black, Black, Black), 0.3, 0.6, 0.6),
|
|
16326
|
+
popupBorderColor: hexToRgbaCssThemeColor(alias.lineColor, 0.3, 0.3, 0.3),
|
|
16327
|
+
cardBorderColor: hexToRgbaCssThemeColor(alias.lineColor, 0.1, 0.1, 0.1),
|
|
16328
|
+
graphGridlineColor: hexToRgbaCssThemeColor(alias.lineColor, 0.2, 0.2, 0.2),
|
|
16329
|
+
graphTrace1Color: createThemeColor(NiIndigoDark2, NiSky, White),
|
|
16330
|
+
graphTrace2Color: createThemeColor(NiScarletDark1, NiScarlet, hexToRgbaCssColor(White, 0.7)),
|
|
16331
|
+
graphTrace3Color: createThemeColor(NiFernDark1, NiFern, hexToRgbaCssColor(White, 0.4)),
|
|
16332
|
+
graphTrace4Color: createThemeColor(NiPlumDark1, NiSeaLight, hexToRgbaCssColor(White, 0.25)),
|
|
16333
|
+
graphTrace5Color: createThemeColor(NiSeaDark2, NiSea, hexToRgbaCssColor(White, 0.55)),
|
|
16334
|
+
graphTrace6Color: createThemeColor(NiTulip, NiTulip, hexToRgbaCssColor(White, 0.85)),
|
|
16335
|
+
graphTrace7Color: createThemeColor(NiScarletDark3, NiHoneyLight, hexToRgbaCssColor(White, 0.325)),
|
|
16336
|
+
graphTrace8Color: createThemeColor(NiIndigo, NiIndigo, hexToRgbaCssColor(White, 0.625)),
|
|
16337
|
+
tooltipBackgroundColor: createThemeColor(Black15, Black85, ForestGreen),
|
|
16338
|
+
tableRowBorderColor: createThemeColor(Black15, Black80, ForestGreen),
|
|
16339
|
+
tagFillColor: hexToRgbaCssThemeColor(alias.lineColor, 0.1, 0.1, 0.1),
|
|
16340
|
+
buttonFillPrimaryColor: hexToRgbaCssThemeColor(createThemeColor(Black91, Black15, White), 0.75, 0.3, 0.3),
|
|
16341
|
+
buttonPrimaryFontColor: createThemeColor(Black15, Black15, White),
|
|
16342
|
+
buttonFillAccentColor: createThemeColor(DigitalGreenDark, DigitalGreenLight, hexToRgbaCssColor(White, 0.1)),
|
|
16343
|
+
buttonAccentBlockFontColor: createThemeColor(White, Black15, White),
|
|
16344
|
+
buttonAccentOutlineFontColor: createThemeColor(DigitalGreenDark105, PowerGreen, White),
|
|
16345
|
+
buttonBorderAccentOutlineColor: createThemeColor(DigitalGreenLight, PowerGreen, hexToRgbaCssColor(White, 0.3)),
|
|
16346
|
+
calendarEventBackgroundStaticColor: createThemeColor(DigitalGreenLight10, PowerGreen10, PowerGreen10),
|
|
16347
|
+
calendarEventBackgroundDynamicColor: createThemeColor(DigitalGreenDark105, DigitalGreenDark, DigitalGreenDark),
|
|
16348
|
+
calendarEventBackgroundTransientColor: createThemeColor(DigitalGreenDark105, DigitalGreenDark, DigitalGreenDark),
|
|
16349
|
+
calendarEventBorderStaticColor: createThemeColor(DigitalGreenLight, DigitalGreenLight, DigitalGreenLight),
|
|
16350
|
+
calendarEventBorderTransientColor: createThemeColor(DigitalGreenLight, hexToRgbaCssColor(PowerGreen, 0.85), hexToRgbaCssColor(PowerGreen, 0.85)),
|
|
16351
|
+
calendarEventStaticFontColor: createThemeColor(DigitalGreenDark110, PowerGreenDark50, PowerGreenDark50),
|
|
16352
|
+
calendarEventDynamicFontColor: createThemeColor(White, White, White),
|
|
16353
|
+
calendarEventTransientFontColor: createThemeColor(White, White, White),
|
|
16354
|
+
calendarEventBackgroundHoverStaticColor: createThemeColor(DigitalGreenLight30, PowerGreen30, PowerGreen30),
|
|
16355
|
+
calendarEventBackgroundHoverDynamicColor: createThemeColor(DigitalGreenDark110, DigitalGreenDark105, DigitalGreenDark105),
|
|
16356
|
+
calendarEventBackgroundHoverTransientColor: createThemeColor(DigitalGreenDark110, DigitalGreenDark105, DigitalGreenDark105),
|
|
16357
|
+
calendarEventOuterBorderHighlightedColor: createThemeColor(Black88, hexToRgbaCssColor(White, 0.85), hexToRgbaCssColor(White, 0.85)),
|
|
16358
|
+
calendarRowBackgroundSelectedColor: hexToRgbaCssThemeColor(createThemeColor(DigitalGreenLight, PowerGreen, PowerGreen), 0.2, 0.2, 0.2),
|
|
16359
|
+
calendarRowBackgroundConflictColor: hexToRgbaCssThemeColor(createThemeColor(Fail100LightUi, Fail100DarkUi, Fail100DarkUi), 0.2, 0.2, 0.2),
|
|
16360
|
+
calendarEventFillBlockedColor: createThemeColor(hexToRgbaCssColor(Black91, 0.07), Black82, Black82),
|
|
16361
|
+
calendarGrabHandleBackgroundColor: createThemeColor(DigitalGreenLight, PowerGreen, PowerGreen),
|
|
16362
|
+
calendarGridBorderColor: createThemeColor(Black22, Black80, Black80),
|
|
16363
|
+
calendarGroupHeaderBackgroundColor: createThemeColor(Black7, hexToRgbaCssColor(Black91, 0.1), hexToRgbaCssColor(Black91, 0.1)),
|
|
16364
|
+
controlHeight: '32px',
|
|
16365
|
+
controlSlimHeight: '24px',
|
|
16366
|
+
smallPadding: '4px',
|
|
16367
|
+
mediumPadding: '8px',
|
|
16368
|
+
standardPadding: '16px',
|
|
16369
|
+
largePadding: '24px',
|
|
16370
|
+
labelHeight: '16px',
|
|
16371
|
+
borderWidth: '1px',
|
|
16372
|
+
dividerWidth: '2px',
|
|
16373
|
+
iconSize: '16px',
|
|
16374
|
+
drawerWidth: '784px',
|
|
16375
|
+
dialogSmallWidth: '400px',
|
|
16376
|
+
dialogSmallHeight: 'fit-content',
|
|
16377
|
+
dialogSmallMaxHeight: '600px',
|
|
16378
|
+
dialogLargeWidth: '1024px',
|
|
16379
|
+
dialogLargeHeight: '680px',
|
|
16380
|
+
dialogLargeMaxHeight: '680px',
|
|
16381
|
+
menuMinWidth: '176px',
|
|
16382
|
+
bannerGapSize: '1px',
|
|
16383
|
+
spinnerSmallHeight: '16px',
|
|
16384
|
+
spinnerMediumHeight: '32px',
|
|
16385
|
+
spinnerLargeHeight: '64px',
|
|
16386
|
+
tableFitRowsHeight: '480px',
|
|
16387
|
+
elevation1BoxShadow: createThemeColor(`0px 1px 4px ${hexToRgbaCssColor(Black, 0.16)}`, `0px 1px 4px ${hexToRgbaCssColor(Black, 0.16)}`, `0px 1px 4px ${hexToRgbaCssColor(Black, 0.16)}`),
|
|
16388
|
+
elevation2BoxShadow: createThemeColor(`0px 2px 4px ${hexToRgbaCssColor(Black, 0.16)}`, `0px 2px 4px ${hexToRgbaCssColor(Black, 0.16)}`, `0px 2px 4px ${hexToRgbaCssColor(Black, 0.16)}`),
|
|
16389
|
+
elevation3BoxShadow: createThemeColor(`0px 4px 8px ${hexToRgbaCssColor(Black, 0.3)}`, `0px 4px 8px ${hexToRgbaCssColor(Black, 0.3)}`, `0px 4px 8px ${hexToRgbaCssColor(Black, 0.3)}`),
|
|
16390
|
+
...createFont('headline', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), Headline1Family, Headline1Weight, Headline1Size, Headline1LineHeight),
|
|
16391
|
+
...createFont('headlinePlus1', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), Headline2Family, Headline2Weight, Headline2Size, Headline2LineHeight),
|
|
16392
|
+
...createFont('titlePlus2', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), Title3Family, Title3Weight, Title3Size, Title3LineHeight),
|
|
16393
|
+
...createFont('titlePlus1', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), Title2Family, Title2Weight, Title2Size, Title2LineHeight),
|
|
16394
|
+
...createFont('title', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), Title1Family, Title1Weight, Title1Size, Title1LineHeight),
|
|
16395
|
+
...createFont('subtitlePlus1', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), Subtitle2Family, Subtitle2Weight, Subtitle2Size, Subtitle2LineHeight),
|
|
16396
|
+
...createFont('subtitle', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), Subtitle1Family, Subtitle1Weight, Subtitle1Size, Subtitle1LineHeight),
|
|
16397
|
+
...createFont('link', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight),
|
|
16398
|
+
...createFont('linkActive', createThemeColor(DigitalGreenLight, DigitalGreenLight, hexToRgbaCssColor(White, 0.75)), hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight),
|
|
16399
|
+
...createFont('linkProminent', createThemeColor(DigitalGreenDark105, PowerGreen, White), hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight),
|
|
16400
|
+
...createFont('linkActiveProminent', createThemeColor(DigitalGreenLight, DigitalGreenLight, hexToRgbaCssColor(White, 0.75)), hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight),
|
|
16401
|
+
...createFont('placeholder', hexToRgbaCssThemeColor(alias.defaultFontColor, 0.6, 0.6, 0.6), hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), PlaceholderFamily, PlaceholderWeight, PlaceholderSize, PlaceholderLineHeight),
|
|
16402
|
+
...createFont('body', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), BodyFamily, BodyWeight, BodySize, BodyLineHeight),
|
|
16403
|
+
...createFont('bodyEmphasized', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), BodyEmphasizedFamily, BodyEmphasizedWeight, BodyEmphasizedSize, BodyEmphasizedLineHeight),
|
|
16404
|
+
...createFont('bodyPlus1', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), Body2Family, Body2Weight, Body2Size, Body2LineHeight),
|
|
16405
|
+
...createFont('bodyPlus1Emphasized', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), BodyEmphasized2Family, BodyEmphasized2Weight, BodyEmphasized2Size, BodyEmphasized2LineHeight),
|
|
16406
|
+
...createFont('groupHeader', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), GroupLabel1Family, GroupLabel1Weight, GroupLabel1Size, GroupLabel1LineHeight),
|
|
16407
|
+
...createFont('controlLabel', hexToRgbaCssThemeColor(alias.defaultFontColor, 0.6, 0.6, 0.6), hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), ControlLabel1Family, ControlLabel1Weight, ControlLabel1Size, ControlLabel1LineHeight),
|
|
16408
|
+
...createFont('buttonLabel', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), ButtonLabel1Family, ButtonLabel1Weight, ButtonLabel1Size, ButtonLabel1LineHeight),
|
|
16409
|
+
...createFont('tooltipCaption', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), TooltipCaptionFamily, TooltipCaptionWeight, TooltipCaptionSize, TooltipCaptionLineHeight),
|
|
16410
|
+
...createFont('errorText', alias.failColor, hexToRgbaCssThemeColor(alias.failColor, 0.3, 0.3, 0.3), ErrorLightUiFamily, ErrorLightUiWeight, ErrorLightUiSize, TooltipCaptionLineHeight),
|
|
16411
|
+
...createFont('tableHeader', hexToRgbaCssThemeColor(alias.defaultFontColor, 0.6, 0.6, 0.6), hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), GridHeaderFamily, GridHeaderWeight, GridHeaderSize, TooltipCaptionLineHeight),
|
|
16412
|
+
...createFont('mention', createThemeColor(DigitalGreenDark, PowerGreen, PowerGreen), hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), BodyFamily, BodyEmphasizedWeight, BodySize, BodyLineHeight),
|
|
16413
|
+
groupHeaderTextTransform: 'uppercase',
|
|
16414
|
+
smallDelay: SmallDelay,
|
|
16415
|
+
mediumDelay: MediumDelay,
|
|
16416
|
+
largeDelay: LargeDelay
|
|
16417
|
+
};
|
|
16418
|
+
// #endregion
|
|
16419
|
+
function hexToRgbaCssThemeColor(themeColor, lightAlpha, darkAlpha, colorAlpha) {
|
|
16420
|
+
return {
|
|
16421
|
+
light: hexToRgbaCssColor(themeColor.light, lightAlpha),
|
|
16422
|
+
dark: hexToRgbaCssColor(themeColor.dark, darkAlpha),
|
|
16423
|
+
color: hexToRgbaCssColor(themeColor.color, colorAlpha),
|
|
16424
|
+
};
|
|
16425
|
+
}
|
|
16387
16426
|
function hexToRgbPartial(hexValue) {
|
|
16388
16427
|
const { r, g, b } = parseColorHexRGB(hexValue);
|
|
16389
16428
|
return `${r * 255}, ${g * 255}, ${b * 255}`;
|
|
16390
16429
|
}
|
|
16391
|
-
function
|
|
16392
|
-
|
|
16393
|
-
|
|
16394
|
-
|
|
16395
|
-
|
|
16396
|
-
|
|
16397
|
-
|
|
16398
|
-
|
|
16430
|
+
function hexToRgbPartialThemeColor(themeColor) {
|
|
16431
|
+
return {
|
|
16432
|
+
light: hexToRgbPartial(themeColor.light),
|
|
16433
|
+
dark: hexToRgbPartial(themeColor.dark),
|
|
16434
|
+
color: hexToRgbPartial(themeColor.color),
|
|
16435
|
+
};
|
|
16436
|
+
}
|
|
16437
|
+
function createThemeColor(light, dark, color) {
|
|
16438
|
+
return {
|
|
16439
|
+
light,
|
|
16440
|
+
dark,
|
|
16441
|
+
color
|
|
16442
|
+
};
|
|
16443
|
+
}
|
|
16444
|
+
function createFont(token, color, disabledColor, family, weight, size, lineHeight) {
|
|
16399
16445
|
const familyWithFallback = `${family}, ${family} Fallback`;
|
|
16400
|
-
|
|
16446
|
+
return {
|
|
16447
|
+
[`${token}Font`]: `${weight} ${size}/${lineHeight} ${familyWithFallback}`,
|
|
16448
|
+
[`${token}FontColor`]: color,
|
|
16449
|
+
[`${token}DisabledFontColor`]: disabledColor,
|
|
16450
|
+
[`${token}FontFamily`]: family,
|
|
16451
|
+
[`${token}FontWeight`]: weight,
|
|
16452
|
+
[`${token}FontSize`]: size,
|
|
16453
|
+
[`${token}FontLineHeight`]: lineHeight,
|
|
16454
|
+
};
|
|
16455
|
+
}
|
|
16456
|
+
|
|
16457
|
+
// #region color tokens
|
|
16458
|
+
const actionRgbPartialColor = createThemeColorToken(tokenNames.actionRgbPartialColor, tokenValues.actionRgbPartialColor);
|
|
16459
|
+
const applicationBackgroundColor = createThemeColorToken(tokenNames.applicationBackgroundColor, tokenValues.applicationBackgroundColor);
|
|
16460
|
+
createThemeColorToken(tokenNames.headerBackgroundColor, tokenValues.headerBackgroundColor);
|
|
16461
|
+
createThemeColorToken(tokenNames.sectionBackgroundColor, tokenValues.sectionBackgroundColor);
|
|
16462
|
+
createThemeColorToken(tokenNames.sectionBackgroundImage, tokenValues.sectionBackgroundImage);
|
|
16463
|
+
createThemeColorToken(tokenNames.dividerBackgroundColor, tokenValues.dividerBackgroundColor);
|
|
16464
|
+
const fillSelectedColor = createThemeColorToken(tokenNames.fillSelectedColor, tokenValues.fillSelectedColor);
|
|
16465
|
+
const fillSelectedRgbPartialColor = createThemeColorToken(tokenNames.fillSelectedRgbPartialColor, tokenValues.fillSelectedRgbPartialColor);
|
|
16466
|
+
const fillHoverSelectedColor = createThemeColorToken(tokenNames.fillHoverSelectedColor, tokenValues.fillHoverSelectedColor);
|
|
16467
|
+
const fillHoverColor = createThemeColorToken(tokenNames.fillHoverColor, tokenValues.fillHoverColor);
|
|
16468
|
+
createThemeColorToken(tokenNames.fillHoverRgbPartialColor, tokenValues.fillHoverRgbPartialColor);
|
|
16469
|
+
createThemeColorToken(tokenNames.fillDownColor, tokenValues.fillDownColor);
|
|
16470
|
+
const borderColor = createThemeColorToken(tokenNames.borderColor, tokenValues.borderColor);
|
|
16471
|
+
const borderRgbPartialColor = createThemeColorToken(tokenNames.borderRgbPartialColor, tokenValues.borderRgbPartialColor);
|
|
16472
|
+
const failColor = createThemeColorToken(tokenNames.failColor, tokenValues.failColor);
|
|
16473
|
+
const warningColor = createThemeColorToken(tokenNames.warningColor, tokenValues.warningColor);
|
|
16474
|
+
const passColor = createThemeColorToken(tokenNames.passColor, tokenValues.passColor);
|
|
16475
|
+
const informationColor = createThemeColorToken(tokenNames.informationColor, tokenValues.informationColor);
|
|
16476
|
+
const borderHoverColor = createThemeColorToken(tokenNames.borderHoverColor, tokenValues.borderHoverColor);
|
|
16477
|
+
// #endregion
|
|
16478
|
+
// #region component color tokens
|
|
16479
|
+
const iconColor = createThemeColorToken(tokenNames.iconColor, tokenValues.iconColor);
|
|
16480
|
+
const modalBackdropColor = createThemeColorToken(tokenNames.modalBackdropColor, tokenValues.modalBackdropColor);
|
|
16481
|
+
const popupBorderColor = createThemeColorToken(tokenNames.popupBorderColor, tokenValues.popupBorderColor);
|
|
16482
|
+
const cardBorderColor = createThemeColorToken(tokenNames.cardBorderColor, tokenValues.cardBorderColor);
|
|
16483
|
+
createThemeColorToken(tokenNames.graphGridlineColor, tokenValues.graphGridlineColor);
|
|
16484
|
+
createThemeColorToken(tokenNames.graphTrace1Color, tokenValues.graphTrace1Color);
|
|
16485
|
+
createThemeColorToken(tokenNames.graphTrace2Color, tokenValues.graphTrace2Color);
|
|
16486
|
+
createThemeColorToken(tokenNames.graphTrace3Color, tokenValues.graphTrace3Color);
|
|
16487
|
+
createThemeColorToken(tokenNames.graphTrace4Color, tokenValues.graphTrace4Color);
|
|
16488
|
+
createThemeColorToken(tokenNames.graphTrace5Color, tokenValues.graphTrace5Color);
|
|
16489
|
+
createThemeColorToken(tokenNames.graphTrace6Color, tokenValues.graphTrace6Color);
|
|
16490
|
+
createThemeColorToken(tokenNames.graphTrace7Color, tokenValues.graphTrace7Color);
|
|
16491
|
+
createThemeColorToken(tokenNames.graphTrace8Color, tokenValues.graphTrace8Color);
|
|
16492
|
+
createThemeColorToken(tokenNames.tooltipBackgroundColor, tokenValues.tooltipBackgroundColor);
|
|
16493
|
+
const tableRowBorderColor = createThemeColorToken(tokenNames.tableRowBorderColor, tokenValues.tableRowBorderColor);
|
|
16494
|
+
createThemeColorToken(tokenNames.tagFillColor, tokenValues.tagFillColor);
|
|
16495
|
+
const buttonFillPrimaryColor = createThemeColorToken(tokenNames.buttonFillPrimaryColor, tokenValues.buttonFillPrimaryColor);
|
|
16496
|
+
const buttonPrimaryFontColor = createThemeColorToken(tokenNames.buttonPrimaryFontColor, tokenValues.buttonPrimaryFontColor);
|
|
16497
|
+
const buttonFillAccentColor = createThemeColorToken(tokenNames.buttonFillAccentColor, tokenValues.buttonFillAccentColor);
|
|
16498
|
+
const buttonAccentBlockFontColor = createThemeColorToken(tokenNames.buttonAccentBlockFontColor, tokenValues.buttonAccentBlockFontColor);
|
|
16499
|
+
const buttonAccentOutlineFontColor = createThemeColorToken(tokenNames.buttonAccentOutlineFontColor, tokenValues.buttonAccentOutlineFontColor);
|
|
16500
|
+
const buttonBorderAccentOutlineColor = createThemeColorToken(tokenNames.buttonBorderAccentOutlineColor, tokenValues.buttonBorderAccentOutlineColor);
|
|
16501
|
+
createThemeColorToken(tokenNames.calendarEventBackgroundStaticColor, tokenValues.calendarEventBackgroundStaticColor);
|
|
16502
|
+
createThemeColorToken(tokenNames.calendarEventBackgroundDynamicColor, tokenValues.calendarEventBackgroundDynamicColor);
|
|
16503
|
+
createThemeColorToken(tokenNames.calendarEventBackgroundTransientColor, tokenValues.calendarEventBackgroundTransientColor);
|
|
16504
|
+
createThemeColorToken(tokenNames.calendarEventBorderStaticColor, tokenValues.calendarEventBorderStaticColor);
|
|
16505
|
+
createThemeColorToken(tokenNames.calendarEventBorderTransientColor, tokenValues.calendarEventBorderTransientColor);
|
|
16506
|
+
createThemeColorToken(tokenNames.calendarEventStaticFontColor, tokenValues.calendarEventStaticFontColor);
|
|
16507
|
+
createThemeColorToken(tokenNames.calendarEventDynamicFontColor, tokenValues.calendarEventDynamicFontColor);
|
|
16508
|
+
createThemeColorToken(tokenNames.calendarEventTransientFontColor, tokenValues.calendarEventTransientFontColor);
|
|
16509
|
+
createThemeColorToken(tokenNames.calendarEventBackgroundHoverStaticColor, tokenValues.calendarEventBackgroundHoverStaticColor);
|
|
16510
|
+
createThemeColorToken(tokenNames.calendarEventBackgroundHoverDynamicColor, tokenValues.calendarEventBackgroundHoverDynamicColor);
|
|
16511
|
+
createThemeColorToken(tokenNames.calendarEventBackgroundHoverTransientColor, tokenValues.calendarEventBackgroundHoverTransientColor);
|
|
16512
|
+
createThemeColorToken(tokenNames.calendarEventOuterBorderHighlightedColor, tokenValues.calendarEventOuterBorderHighlightedColor);
|
|
16513
|
+
createThemeColorToken(tokenNames.calendarRowBackgroundSelectedColor, tokenValues.calendarRowBackgroundSelectedColor);
|
|
16514
|
+
createThemeColorToken(tokenNames.calendarRowBackgroundConflictColor, tokenValues.calendarRowBackgroundConflictColor);
|
|
16515
|
+
createThemeColorToken(tokenNames.calendarEventFillBlockedColor, tokenValues.calendarEventFillBlockedColor);
|
|
16516
|
+
createThemeColorToken(tokenNames.calendarGrabHandleBackgroundColor, tokenValues.calendarGrabHandleBackgroundColor);
|
|
16517
|
+
createThemeColorToken(tokenNames.calendarGridBorderColor, tokenValues.calendarGridBorderColor);
|
|
16518
|
+
createThemeColorToken(tokenNames.calendarGroupHeaderBackgroundColor, tokenValues.calendarGroupHeaderBackgroundColor);
|
|
16519
|
+
// #endregion
|
|
16520
|
+
// #region size tokens
|
|
16521
|
+
const controlHeight = createStringToken(tokenNames.controlHeight, tokenValues.controlHeight);
|
|
16522
|
+
const controlSlimHeight = createStringToken(tokenNames.controlSlimHeight, tokenValues.controlSlimHeight);
|
|
16523
|
+
const smallPadding = createStringToken(tokenNames.smallPadding, tokenValues.smallPadding);
|
|
16524
|
+
const mediumPadding = createStringToken(tokenNames.mediumPadding, tokenValues.mediumPadding);
|
|
16525
|
+
const standardPadding = createStringToken(tokenNames.standardPadding, tokenValues.standardPadding);
|
|
16526
|
+
const largePadding = createStringToken(tokenNames.largePadding, tokenValues.largePadding);
|
|
16527
|
+
createStringToken(tokenNames.labelHeight, tokenValues.labelHeight);
|
|
16528
|
+
const borderWidth = createStringToken(tokenNames.borderWidth, tokenValues.borderWidth);
|
|
16529
|
+
createStringToken(tokenNames.dividerWidth, tokenValues.dividerWidth);
|
|
16530
|
+
const iconSize = createStringToken(tokenNames.iconSize, tokenValues.iconSize);
|
|
16531
|
+
const drawerWidth = createStringToken(tokenNames.drawerWidth, tokenValues.drawerWidth);
|
|
16532
|
+
const dialogSmallWidth = createStringToken(tokenNames.dialogSmallWidth, tokenValues.dialogSmallWidth);
|
|
16533
|
+
const dialogSmallHeight = createStringToken(tokenNames.dialogSmallHeight, tokenValues.dialogSmallHeight);
|
|
16534
|
+
const dialogSmallMaxHeight = createStringToken(tokenNames.dialogSmallMaxHeight, tokenValues.dialogSmallMaxHeight);
|
|
16535
|
+
createStringToken(tokenNames.dialogLargeWidth, tokenValues.dialogLargeWidth);
|
|
16536
|
+
createStringToken(tokenNames.dialogLargeHeight, tokenValues.dialogLargeHeight);
|
|
16537
|
+
createStringToken(tokenNames.dialogLargeMaxHeight, tokenValues.dialogLargeMaxHeight);
|
|
16538
|
+
const menuMinWidth = createStringToken(tokenNames.menuMinWidth, tokenValues.menuMinWidth);
|
|
16539
|
+
createStringToken(tokenNames.bannerGapSize, tokenValues.bannerGapSize);
|
|
16540
|
+
const spinnerSmallHeight = createStringToken(tokenNames.spinnerSmallHeight, tokenValues.spinnerSmallHeight);
|
|
16541
|
+
createStringToken(tokenNames.spinnerMediumHeight, tokenValues.spinnerMediumHeight);
|
|
16542
|
+
createStringToken(tokenNames.spinnerLargeHeight, tokenValues.spinnerLargeHeight);
|
|
16543
|
+
const tableFitRowsHeight = createStringToken(tokenNames.tableFitRowsHeight, tokenValues.tableFitRowsHeight);
|
|
16544
|
+
// #endregion
|
|
16545
|
+
// #region drop shadow tokens
|
|
16546
|
+
createThemeColorToken(tokenNames.elevation1BoxShadow, tokenValues.elevation1BoxShadow);
|
|
16547
|
+
const elevation2BoxShadow = createThemeColorToken(tokenNames.elevation2BoxShadow, tokenValues.elevation2BoxShadow);
|
|
16548
|
+
const elevation3BoxShadow = createThemeColorToken(tokenNames.elevation3BoxShadow, tokenValues.elevation3BoxShadow);
|
|
16549
|
+
// #endregion
|
|
16550
|
+
// #region font tokens
|
|
16551
|
+
createFontTokens(tokenNames.headlineFont, tokenValues.headlineFont, tokenValues.headlineFontColor, tokenValues.headlineDisabledFontColor, tokenValues.headlineFontFamily, tokenValues.headlineFontWeight, tokenValues.headlineFontSize, tokenValues.headlineFontLineHeight);
|
|
16552
|
+
createFontTokens(tokenNames.headlinePlus1Font, tokenValues.headlinePlus1Font, tokenValues.headlinePlus1FontColor, tokenValues.headlinePlus1DisabledFontColor, tokenValues.headlinePlus1FontFamily, tokenValues.headlinePlus1FontWeight, tokenValues.headlinePlus1FontSize, tokenValues.headlinePlus1FontLineHeight);
|
|
16553
|
+
createFontTokens(tokenNames.titlePlus2Font, tokenValues.titlePlus2Font, tokenValues.titlePlus2FontColor, tokenValues.titlePlus2DisabledFontColor, tokenValues.titlePlus2FontFamily, tokenValues.titlePlus2FontWeight, tokenValues.titlePlus2FontSize, tokenValues.titlePlus2FontLineHeight);
|
|
16554
|
+
const [titlePlus1Font, titlePlus1FontColor] = createFontTokens(tokenNames.titlePlus1Font, tokenValues.titlePlus1Font, tokenValues.titlePlus1FontColor, tokenValues.titlePlus1DisabledFontColor, tokenValues.titlePlus1FontFamily, tokenValues.titlePlus1FontWeight, tokenValues.titlePlus1FontSize, tokenValues.titlePlus1FontLineHeight);
|
|
16555
|
+
createFontTokens(tokenNames.titleFont, tokenValues.titleFont, tokenValues.titleFontColor, tokenValues.titleDisabledFontColor, tokenValues.titleFontFamily, tokenValues.titleFontWeight, tokenValues.titleFontSize, tokenValues.titleFontLineHeight);
|
|
16556
|
+
const [subtitlePlus1Font] = createFontTokens(tokenNames.subtitlePlus1Font, tokenValues.subtitlePlus1Font, tokenValues.subtitlePlus1FontColor, tokenValues.subtitlePlus1DisabledFontColor, tokenValues.subtitlePlus1FontFamily, tokenValues.subtitlePlus1FontWeight, tokenValues.subtitlePlus1FontSize, tokenValues.subtitlePlus1FontLineHeight);
|
|
16557
|
+
const [subtitleFont, subtitleFontColor] = createFontTokens(tokenNames.subtitleFont, tokenValues.subtitleFont, tokenValues.subtitleFontColor, tokenValues.subtitleDisabledFontColor, tokenValues.subtitleFontFamily, tokenValues.subtitleFontWeight, tokenValues.subtitleFontSize, tokenValues.subtitleFontLineHeight);
|
|
16558
|
+
const [linkFont, linkFontColor, linkDisabledFontColor] = createFontTokens(tokenNames.linkFont, tokenValues.linkFont, tokenValues.linkFontColor, tokenValues.linkDisabledFontColor, tokenValues.linkFontFamily, tokenValues.linkFontWeight, tokenValues.linkFontSize, tokenValues.linkFontLineHeight);
|
|
16559
|
+
const [linkActiveFont, linkActiveFontColor] = createFontTokens(tokenNames.linkActiveFont, tokenValues.linkActiveFont, tokenValues.linkActiveFontColor, tokenValues.linkActiveDisabledFontColor, tokenValues.linkActiveFontFamily, tokenValues.linkActiveFontWeight, tokenValues.linkActiveFontSize, tokenValues.linkActiveFontLineHeight);
|
|
16560
|
+
const [linkProminentFont, linkProminentFontColor] = createFontTokens(tokenNames.linkProminentFont, tokenValues.linkProminentFont, tokenValues.linkProminentFontColor, tokenValues.linkProminentDisabledFontColor, tokenValues.linkProminentFontFamily, tokenValues.linkProminentFontWeight, tokenValues.linkProminentFontSize, tokenValues.linkProminentFontLineHeight);
|
|
16561
|
+
const [linkActiveProminentFont, linkActiveProminentFontColor] = createFontTokens(tokenNames.linkActiveProminentFont, tokenValues.linkActiveProminentFont, tokenValues.linkActiveProminentFontColor, tokenValues.linkActiveProminentDisabledFontColor, tokenValues.linkActiveProminentFontFamily, tokenValues.linkActiveProminentFontWeight, tokenValues.linkActiveProminentFontSize, tokenValues.linkActiveProminentFontLineHeight);
|
|
16562
|
+
const [placeholderFont, placeholderFontColor] = createFontTokens(tokenNames.placeholderFont, tokenValues.placeholderFont, tokenValues.placeholderFontColor, tokenValues.placeholderDisabledFontColor, tokenValues.placeholderFontFamily, tokenValues.placeholderFontWeight, tokenValues.placeholderFontSize, tokenValues.placeholderFontLineHeight);
|
|
16563
|
+
const [bodyFont, bodyFontColor, bodyDisabledFontColor, bodyFontFamily, bodyFontWeight, bodyFontSize, bodyFontLineHeight] = createFontTokens(tokenNames.bodyFont, tokenValues.bodyFont, tokenValues.bodyFontColor, tokenValues.bodyDisabledFontColor, tokenValues.bodyFontFamily, tokenValues.bodyFontWeight, tokenValues.bodyFontSize, tokenValues.bodyFontLineHeight);
|
|
16564
|
+
const [bodyEmphasizedFont, bodyEmphasizedFontColor, bodyEmphasizedDisabledFontColor, bodyEmphasizedFontFamily, bodyEmphasizedFontWeight] = createFontTokens(tokenNames.bodyEmphasizedFont, tokenValues.bodyEmphasizedFont, tokenValues.bodyEmphasizedFontColor, tokenValues.bodyEmphasizedDisabledFontColor, tokenValues.bodyEmphasizedFontFamily, tokenValues.bodyEmphasizedFontWeight, tokenValues.bodyEmphasizedFontSize, tokenValues.bodyEmphasizedFontLineHeight);
|
|
16565
|
+
createFontTokens(tokenNames.bodyPlus1Font, tokenValues.bodyPlus1Font, tokenValues.bodyPlus1FontColor, tokenValues.bodyPlus1DisabledFontColor, tokenValues.bodyPlus1FontFamily, tokenValues.bodyPlus1FontWeight, tokenValues.bodyPlus1FontSize, tokenValues.bodyPlus1FontLineHeight);
|
|
16566
|
+
createFontTokens(tokenNames.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFontColor, tokenValues.bodyPlus1EmphasizedDisabledFontColor, tokenValues.bodyPlus1EmphasizedFontFamily, tokenValues.bodyPlus1EmphasizedFontWeight, tokenValues.bodyPlus1EmphasizedFontSize, tokenValues.bodyPlus1EmphasizedFontLineHeight);
|
|
16567
|
+
const [groupHeaderFont, groupHeaderFontColor] = createFontTokens(tokenNames.groupHeaderFont, tokenValues.groupHeaderFont, tokenValues.groupHeaderFontColor, tokenValues.groupHeaderDisabledFontColor, tokenValues.groupHeaderFontFamily, tokenValues.groupHeaderFontWeight, tokenValues.groupHeaderFontSize, tokenValues.groupHeaderFontLineHeight);
|
|
16568
|
+
const [controlLabelFont, controlLabelFontColor, controlLabelDisabledFontColor, controlLabelFontFamily, controlLabelFontWeight, controlLabelFontSize, controlLabelFontLineHeight] = createFontTokens(tokenNames.controlLabelFont, tokenValues.controlLabelFont, tokenValues.controlLabelFontColor, tokenValues.controlLabelDisabledFontColor, tokenValues.controlLabelFontFamily, tokenValues.controlLabelFontWeight, tokenValues.controlLabelFontSize, tokenValues.controlLabelFontLineHeight);
|
|
16569
|
+
const [buttonLabelFont, buttonLabelFontColor, buttonLabelDisabledFontColor] = createFontTokens(tokenNames.buttonLabelFont, tokenValues.buttonLabelFont, tokenValues.buttonLabelFontColor, tokenValues.buttonLabelDisabledFontColor, tokenValues.buttonLabelFontFamily, tokenValues.buttonLabelFontWeight, tokenValues.buttonLabelFontSize, tokenValues.buttonLabelFontLineHeight);
|
|
16570
|
+
const [tooltipCaptionFont, tooltipCaptionFontColor] = createFontTokens(tokenNames.tooltipCaptionFont, tokenValues.tooltipCaptionFont, tokenValues.tooltipCaptionFontColor, tokenValues.tooltipCaptionDisabledFontColor, tokenValues.tooltipCaptionFontFamily, tokenValues.tooltipCaptionFontWeight, tokenValues.tooltipCaptionFontSize, tokenValues.tooltipCaptionFontLineHeight);
|
|
16571
|
+
const [errorTextFont, errorTextFontColor, errorTextDisabledFontColor, errorTextFontFamily, errorTextFontWeight, errorTextFontSize, errorTextFontLineHeight] = createFontTokens(tokenNames.errorTextFont, tokenValues.errorTextFont, tokenValues.errorTextFontColor, tokenValues.errorTextDisabledFontColor, tokenValues.errorTextFontFamily, tokenValues.errorTextFontWeight, tokenValues.errorTextFontSize, tokenValues.errorTextFontLineHeight);
|
|
16572
|
+
const [tableHeaderFont, tableHeaderFontColor] = createFontTokens(tokenNames.tableHeaderFont, tokenValues.tableHeaderFont, tokenValues.tableHeaderFontColor, tokenValues.tableHeaderDisabledFontColor, tokenValues.tableHeaderFontFamily, tokenValues.tableHeaderFontWeight, tokenValues.tableHeaderFontSize, tokenValues.tableHeaderFontLineHeight);
|
|
16573
|
+
createFontTokens(tokenNames.mentionFont, tokenValues.mentionFont, tokenValues.mentionFontColor, tokenValues.mentionDisabledFontColor, tokenValues.mentionFontFamily, tokenValues.mentionFontWeight, tokenValues.mentionFontSize, tokenValues.mentionFontLineHeight);
|
|
16574
|
+
// #endregion
|
|
16575
|
+
// #region text transform tokens
|
|
16576
|
+
const groupHeaderTextTransform = createStringToken(tokenNames.groupHeaderTextTransform, tokenValues.groupHeaderTextTransform);
|
|
16577
|
+
// #endregion
|
|
16578
|
+
// #region animation tokens
|
|
16579
|
+
const smallDelay = createStringToken(tokenNames.smallDelay, tokenValues.smallDelay);
|
|
16580
|
+
const mediumDelay = createStringToken(tokenNames.mediumDelay, tokenValues.mediumDelay);
|
|
16581
|
+
const largeDelay = createStringToken(tokenNames.largeDelay, tokenValues.largeDelay);
|
|
16582
|
+
// #endregion
|
|
16583
|
+
// #region helpers
|
|
16584
|
+
function createFontTokens(fontTokenName, font, fontColor, disabledFontColor, fontFamily, fontWeight, fontSize, fontLineHeight) {
|
|
16401
16585
|
const fontNameParts = fontTokenName.split('-font');
|
|
16402
16586
|
const tokenPrefixWithoutFont = fontNameParts[0];
|
|
16403
|
-
|
|
16404
|
-
|
|
16405
|
-
}
|
|
16406
|
-
const
|
|
16407
|
-
const
|
|
16408
|
-
const
|
|
16409
|
-
const
|
|
16410
|
-
const
|
|
16411
|
-
const fontLineHeightToken = DesignToken.create(styleNameFromTokenName(`${tokenPrefixWithoutFont}-font-line-height`)).withDefault(lineHeight);
|
|
16587
|
+
const fontFamilyWithFallback = `${fontFamily}, ${fontFamily} Fallback`;
|
|
16588
|
+
const fontToken = createStringToken(fontTokenName, font);
|
|
16589
|
+
const fontColorToken = createThemeColorToken(`${tokenPrefixWithoutFont}-font-color`, fontColor);
|
|
16590
|
+
const fontDisabledColorToken = createThemeColorToken(`${tokenPrefixWithoutFont}-disabled-font-color`, disabledFontColor);
|
|
16591
|
+
const fontFamilyToken = createStringToken(`${tokenPrefixWithoutFont}-font-family`, fontFamilyWithFallback);
|
|
16592
|
+
const fontWeightToken = createStringToken(`${tokenPrefixWithoutFont}-font-weight`, fontWeight);
|
|
16593
|
+
const fontSizeToken = createStringToken(`${tokenPrefixWithoutFont}-font-size`, fontSize);
|
|
16594
|
+
const fontLineHeightToken = createStringToken(`${tokenPrefixWithoutFont}-font-line-height`, fontLineHeight);
|
|
16412
16595
|
return [
|
|
16413
16596
|
fontToken,
|
|
16414
16597
|
fontColorToken,
|
|
@@ -16419,57 +16602,24 @@
|
|
|
16419
16602
|
fontLineHeightToken
|
|
16420
16603
|
];
|
|
16421
16604
|
}
|
|
16422
|
-
function
|
|
16423
|
-
|
|
16424
|
-
|
|
16425
|
-
|
|
16426
|
-
|
|
16427
|
-
|
|
16428
|
-
|
|
16429
|
-
|
|
16430
|
-
|
|
16431
|
-
|
|
16432
|
-
|
|
16433
|
-
|
|
16434
|
-
|
|
16435
|
-
|
|
16436
|
-
|
|
16437
|
-
|
|
16438
|
-
return getColorForTheme(element, Fail100LightUi, Fail100DarkUi, White);
|
|
16439
|
-
}
|
|
16440
|
-
function getPassColorForTheme(element) {
|
|
16441
|
-
return getColorForTheme(element, Pass100LightUi, Pass100DarkUi, White);
|
|
16442
|
-
}
|
|
16443
|
-
function getInformationColorForTheme(element) {
|
|
16444
|
-
return getColorForTheme(element, Information100LightUi, Information100DarkUi, White);
|
|
16445
|
-
}
|
|
16446
|
-
function getDefaultLineColorForTheme(element) {
|
|
16447
|
-
return getColorForTheme(element, Black91, Black15, White);
|
|
16448
|
-
}
|
|
16449
|
-
function getDefaultFontColorForTheme(element) {
|
|
16450
|
-
return getColorForTheme(element, Black91, Black15, White);
|
|
16451
|
-
}
|
|
16452
|
-
function getFillSelectedColorForTheme(element) {
|
|
16453
|
-
return getColorForTheme(element, DigitalGreenLight, PowerGreen, White);
|
|
16454
|
-
}
|
|
16455
|
-
function getFillHoverColorForTheme(element) {
|
|
16456
|
-
return getColorForTheme(element, Black91, Black15, White);
|
|
16457
|
-
}
|
|
16458
|
-
function getFillDownColorForTheme(element) {
|
|
16459
|
-
return getColorForTheme(element, Black91, Black15, White);
|
|
16460
|
-
}
|
|
16461
|
-
function getModalBackdropForTheme(element) {
|
|
16462
|
-
switch (theme.getValueFor(element)) {
|
|
16463
|
-
case Theme.light:
|
|
16464
|
-
return hexToRgbaCssColor(Black, 0.3);
|
|
16465
|
-
case Theme.dark:
|
|
16466
|
-
return hexToRgbaCssColor(Black, 0.6);
|
|
16467
|
-
case Theme.color:
|
|
16468
|
-
return hexToRgbaCssColor(Black, 0.6);
|
|
16469
|
-
default:
|
|
16470
|
-
return hexToRgbaCssColor(Black, 0.3);
|
|
16471
|
-
}
|
|
16605
|
+
function createStringToken(tokenName, tokenValue) {
|
|
16606
|
+
return DesignToken.create(styleNameFromTokenName(tokenName)).withDefault(tokenValue);
|
|
16607
|
+
}
|
|
16608
|
+
function createThemeColorToken(tokenName, themeColor) {
|
|
16609
|
+
return DesignToken.create(styleNameFromTokenName(tokenName)).withDefault((element) => {
|
|
16610
|
+
switch (theme.getValueFor(element)) {
|
|
16611
|
+
case Theme.light:
|
|
16612
|
+
return themeColor.light;
|
|
16613
|
+
case Theme.dark:
|
|
16614
|
+
return themeColor.dark;
|
|
16615
|
+
case Theme.color:
|
|
16616
|
+
return themeColor.color;
|
|
16617
|
+
default:
|
|
16618
|
+
return themeColor.light;
|
|
16619
|
+
}
|
|
16620
|
+
});
|
|
16472
16621
|
}
|
|
16622
|
+
// #endregion
|
|
16473
16623
|
|
|
16474
16624
|
const styles$10 = css `
|
|
16475
16625
|
@layer base, hover, focusVisible, active, disabled;
|
|
@@ -16549,7 +16699,6 @@
|
|
|
16549
16699
|
}
|
|
16550
16700
|
`;
|
|
16551
16701
|
|
|
16552
|
-
// prettier-ignore
|
|
16553
16702
|
const template$N = (_context, definition) => html `${
|
|
16554
16703
|
/* top-container div is necessary because setting contenteditable directly on the native anchor instead
|
|
16555
16704
|
leaves it focusable, unlike the behavior you get when the anchor is _within_ a contenteditable element.
|
|
@@ -18754,7 +18903,6 @@
|
|
|
18754
18903
|
cssCustomPropertyName: null
|
|
18755
18904
|
}).withDefault(coreLabelDefaults.scrollForwardLabel);
|
|
18756
18905
|
|
|
18757
|
-
// prettier-ignore
|
|
18758
18906
|
const template$H = (context, definition) => html `
|
|
18759
18907
|
<div
|
|
18760
18908
|
class="tab-bar"
|
|
@@ -19611,7 +19759,6 @@
|
|
|
19611
19759
|
information: 'information'
|
|
19612
19760
|
};
|
|
19613
19761
|
|
|
19614
|
-
// prettier-ignore
|
|
19615
19762
|
const template$F = html `
|
|
19616
19763
|
<${themeProviderTag} theme="${Theme.color}">
|
|
19617
19764
|
<div class="container"
|
|
@@ -19739,7 +19886,6 @@
|
|
|
19739
19886
|
* The template for the {@link @ni/fast-foundation#Breadcrumb} component.
|
|
19740
19887
|
* @public
|
|
19741
19888
|
*/
|
|
19742
|
-
// prettier-ignore
|
|
19743
19889
|
const breadcrumbTemplate = (_context, _definition) => html `
|
|
19744
19890
|
<template role="navigation">
|
|
19745
19891
|
${when(x => x.showScrollButtons, html `
|
|
@@ -20565,8 +20711,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20565
20711
|
}
|
|
20566
20712
|
`));
|
|
20567
20713
|
|
|
20568
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
20569
|
-
// prettier-ignore
|
|
20570
20714
|
const template$C = (context, definition) => html `
|
|
20571
20715
|
<div
|
|
20572
20716
|
role="button"
|
|
@@ -20619,7 +20763,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20619
20763
|
${endSlotTemplate(context, definition)}
|
|
20620
20764
|
</div>
|
|
20621
20765
|
`;
|
|
20622
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
20623
20766
|
|
|
20624
20767
|
/**
|
|
20625
20768
|
* A nimble-styled toggle button control.
|
|
@@ -21120,7 +21263,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21120
21263
|
*
|
|
21121
21264
|
* This function is intended to be used with components leveraging `mixinRequiredVisiblePattern`.
|
|
21122
21265
|
*/
|
|
21123
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
21124
21266
|
function createRequiredVisibleLabelTemplate(labelTemplate) {
|
|
21125
21267
|
return html `
|
|
21126
21268
|
<div class="annotated-label">
|
|
@@ -21137,8 +21279,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21137
21279
|
<slot></slot>
|
|
21138
21280
|
</label>
|
|
21139
21281
|
`);
|
|
21140
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
21141
|
-
// prettier-ignore
|
|
21142
21282
|
const template$B = (context, definition) => html `
|
|
21143
21283
|
<template
|
|
21144
21284
|
aria-disabled="${x => x.ariaDisabled}"
|
|
@@ -25523,7 +25663,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25523
25663
|
* The template for the {@link @ni/fast-foundation#(ListboxOption:class)} component.
|
|
25524
25664
|
* @public
|
|
25525
25665
|
*/
|
|
25526
|
-
// prettier-ignore
|
|
25527
25666
|
const template$y = (context, definition) => html `
|
|
25528
25667
|
<template
|
|
25529
25668
|
aria-checked="${x => x.ariaChecked}"
|
|
@@ -25705,7 +25844,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
25705
25844
|
const isListOption$1 = (n) => {
|
|
25706
25845
|
return n instanceof ListOption;
|
|
25707
25846
|
};
|
|
25708
|
-
// prettier-ignore
|
|
25709
25847
|
const template$x = html `
|
|
25710
25848
|
<template
|
|
25711
25849
|
role="group"
|
|
@@ -26297,8 +26435,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26297
26435
|
observable
|
|
26298
26436
|
], Menu$1.prototype, "itemIcons", void 0);
|
|
26299
26437
|
|
|
26300
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
26301
|
-
// prettier-ignore
|
|
26302
26438
|
const template$v = () => html `
|
|
26303
26439
|
<template
|
|
26304
26440
|
slot="${x => {
|
|
@@ -26315,7 +26451,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26315
26451
|
<slot ${slotted('items')}></slot>
|
|
26316
26452
|
</template>
|
|
26317
26453
|
`;
|
|
26318
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
26319
26454
|
|
|
26320
26455
|
const styles$B = css `
|
|
26321
26456
|
${display('grid')}
|
|
@@ -26422,7 +26557,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
26422
26557
|
}
|
|
26423
26558
|
`;
|
|
26424
26559
|
|
|
26425
|
-
// prettier-ignore
|
|
26426
26560
|
const template$u = html `
|
|
26427
26561
|
<template
|
|
26428
26562
|
?open="${x => x.open}"
|
|
@@ -27365,7 +27499,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
27365
27499
|
`;
|
|
27366
27500
|
|
|
27367
27501
|
const labelTemplate$3 = createRequiredVisibleLabelTemplate(html `<slot name="label"></slot>`);
|
|
27368
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
27369
27502
|
const template$s = html `
|
|
27370
27503
|
<template
|
|
27371
27504
|
role="radiogroup"
|
|
@@ -34564,7 +34697,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
34564
34697
|
if (desc.dom.nodeType == 1 && (desc.node.isBlock && desc.parent || !desc.contentDOM) &&
|
|
34565
34698
|
// Ignore elements with zero-size bounding rectangles
|
|
34566
34699
|
((rect = desc.dom.getBoundingClientRect()).width || rect.height)) {
|
|
34567
|
-
if (desc.node.isBlock && desc.parent) {
|
|
34700
|
+
if (desc.node.isBlock && desc.parent && !/^T(R|BODY|HEAD|FOOT)$/.test(desc.dom.nodeName)) {
|
|
34568
34701
|
// Only apply the horizontal test to the innermost block. Vertical for any parent.
|
|
34569
34702
|
if (!sawBlock && rect.left > coords.left || rect.top > coords.top)
|
|
34570
34703
|
outsideBlock = desc.posBefore;
|
|
@@ -35222,7 +35355,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
35222
35355
|
// (one where the focus is before the anchor), but not all
|
|
35223
35356
|
// browsers support it yet.
|
|
35224
35357
|
let domSelExtended = false;
|
|
35225
|
-
if ((domSel.extend || anchor == head) && !brKludge) {
|
|
35358
|
+
if ((domSel.extend || anchor == head) && !(brKludge && gecko)) {
|
|
35226
35359
|
domSel.collapse(anchorDOM.node, anchorDOM.offset);
|
|
35227
35360
|
try {
|
|
35228
35361
|
if (anchor != head)
|
|
@@ -35634,17 +35767,18 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
35634
35767
|
}
|
|
35635
35768
|
// Mark this node as being the selected node.
|
|
35636
35769
|
selectNode() {
|
|
35637
|
-
if (this.nodeDOM.nodeType == 1)
|
|
35770
|
+
if (this.nodeDOM.nodeType == 1) {
|
|
35638
35771
|
this.nodeDOM.classList.add("ProseMirror-selectednode");
|
|
35639
|
-
|
|
35640
|
-
|
|
35772
|
+
if (this.contentDOM || !this.node.type.spec.draggable)
|
|
35773
|
+
this.nodeDOM.draggable = true;
|
|
35774
|
+
}
|
|
35641
35775
|
}
|
|
35642
35776
|
// Remove selected node marking from this node.
|
|
35643
35777
|
deselectNode() {
|
|
35644
35778
|
if (this.nodeDOM.nodeType == 1) {
|
|
35645
35779
|
this.nodeDOM.classList.remove("ProseMirror-selectednode");
|
|
35646
35780
|
if (this.contentDOM || !this.node.type.spec.draggable)
|
|
35647
|
-
this.
|
|
35781
|
+
this.nodeDOM.removeAttribute("draggable");
|
|
35648
35782
|
}
|
|
35649
35783
|
}
|
|
35650
35784
|
get domAtom() { return this.node.isAtom; }
|
|
@@ -36483,17 +36617,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
36483
36617
|
});
|
|
36484
36618
|
}
|
|
36485
36619
|
function selectCursorWrapper(view) {
|
|
36486
|
-
let domSel = view.domSelection()
|
|
36620
|
+
let domSel = view.domSelection();
|
|
36487
36621
|
if (!domSel)
|
|
36488
36622
|
return;
|
|
36489
36623
|
let node = view.cursorWrapper.dom, img = node.nodeName == "IMG";
|
|
36490
36624
|
if (img)
|
|
36491
|
-
|
|
36625
|
+
domSel.collapse(node.parentNode, domIndex(node) + 1);
|
|
36492
36626
|
else
|
|
36493
|
-
|
|
36494
|
-
range.collapse(true);
|
|
36495
|
-
domSel.removeAllRanges();
|
|
36496
|
-
domSel.addRange(range);
|
|
36627
|
+
domSel.collapse(node, 0);
|
|
36497
36628
|
// Kludge to kill 'control selection' in IE11 when selecting an
|
|
36498
36629
|
// invisible cursor wrapper, since that would result in those weird
|
|
36499
36630
|
// resize handles and a selection that considers the absolutely
|
|
@@ -36971,11 +37102,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
36971
37102
|
let dom, slice;
|
|
36972
37103
|
if (!html && !text)
|
|
36973
37104
|
return null;
|
|
36974
|
-
let asText = text && (plainText || inCode || !html);
|
|
37105
|
+
let asText = !!text && (plainText || inCode || !html);
|
|
36975
37106
|
if (asText) {
|
|
36976
37107
|
view.someProp("transformPastedText", f => { text = f(text, inCode || plainText, view); });
|
|
36977
|
-
if (inCode)
|
|
36978
|
-
|
|
37108
|
+
if (inCode) {
|
|
37109
|
+
slice = new Slice(Fragment.from(view.state.schema.text(text.replace(/\r\n?/g, "\n"))), 0, 0);
|
|
37110
|
+
view.someProp("transformPasted", f => { slice = f(slice, view, true); });
|
|
37111
|
+
return slice;
|
|
37112
|
+
}
|
|
36979
37113
|
let parsed = view.someProp("clipboardTextParser", f => f(text, $context, plainText, view));
|
|
36980
37114
|
if (parsed) {
|
|
36981
37115
|
slice = parsed;
|
|
@@ -37033,7 +37167,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
37033
37167
|
slice = closeSlice(slice, openStart, openEnd);
|
|
37034
37168
|
}
|
|
37035
37169
|
}
|
|
37036
|
-
view.someProp("transformPasted", f => { slice = f(slice, view); });
|
|
37170
|
+
view.someProp("transformPasted", f => { slice = f(slice, view, asText); });
|
|
37037
37171
|
return slice;
|
|
37038
37172
|
}
|
|
37039
37173
|
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 +37629,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
37495
37629
|
}
|
|
37496
37630
|
const target = flushed ? null : event.target;
|
|
37497
37631
|
const targetDesc = target ? view.docView.nearestDesc(target, true) : null;
|
|
37498
|
-
this.target = targetDesc && targetDesc.
|
|
37632
|
+
this.target = targetDesc && targetDesc.nodeDOM.nodeType == 1 ? targetDesc.nodeDOM : null;
|
|
37499
37633
|
let { selection } = view.state;
|
|
37500
37634
|
if (event.button == 0 &&
|
|
37501
37635
|
targetNode.type.spec.draggable && targetNode.type.spec.selectable !== false ||
|
|
@@ -37892,7 +38026,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
37892
38026
|
let $mouse = view.state.doc.resolve(eventPos.pos);
|
|
37893
38027
|
let slice = dragging && dragging.slice;
|
|
37894
38028
|
if (slice) {
|
|
37895
|
-
view.someProp("transformPasted", f => { slice = f(slice, view); });
|
|
38029
|
+
view.someProp("transformPasted", f => { slice = f(slice, view, false); });
|
|
37896
38030
|
}
|
|
37897
38031
|
else {
|
|
37898
38032
|
slice = parseFromClipboard(view, getText$1(event.dataTransfer), brokenClipboardAPI ? null : event.dataTransfer.getData("text/html"), false, $mouse);
|
|
@@ -39078,7 +39212,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
39078
39212
|
}
|
|
39079
39213
|
return null;
|
|
39080
39214
|
}
|
|
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;
|
|
39215
|
+
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
39216
|
function readDOMChange(view, from, to, typeOver, addedNodes) {
|
|
39083
39217
|
let compositionID = view.input.compositionPendingChanges || (view.composing ? view.input.compositionID : 0);
|
|
39084
39218
|
view.input.compositionPendingChanges = 0;
|
|
@@ -39177,16 +39311,13 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
39177
39311
|
let $to = parse.doc.resolveNoCache(change.endB - parse.from);
|
|
39178
39312
|
let $fromA = doc.resolve(change.start);
|
|
39179
39313
|
let inlineChange = $from.sameParent($to) && $from.parent.inlineContent && $fromA.end() >= change.endA;
|
|
39180
|
-
let nextSel;
|
|
39181
39314
|
// If this looks like the effect of pressing Enter (or was recorded
|
|
39182
39315
|
// as being an iOS enter press), just dispatch an Enter key instead.
|
|
39183
39316
|
if (((ios && view.input.lastIOSEnter > Date.now() - 225 &&
|
|
39184
39317
|
(!inlineChange || addedNodes.some(n => n.nodeName == "DIV" || n.nodeName == "P"))) ||
|
|
39185
39318
|
(!inlineChange && $from.pos < parse.doc.content.size &&
|
|
39186
39319
|
(!$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)) &&
|
|
39320
|
+
$from.pos < $to.pos && !/\S/.test(parse.doc.textBetween($from.pos, $to.pos, "", "")))) &&
|
|
39190
39321
|
view.someProp("handleKeyDown", f => f(view, keyEvent(13, "Enter")))) {
|
|
39191
39322
|
view.input.lastIOSEnter = 0;
|
|
39192
39323
|
return;
|
|
@@ -45934,8 +46065,6 @@ img.ProseMirror-separator {
|
|
|
45934
46065
|
}
|
|
45935
46066
|
`;
|
|
45936
46067
|
|
|
45937
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
45938
|
-
// prettier-ignore
|
|
45939
46068
|
const template$r = html `
|
|
45940
46069
|
<template>
|
|
45941
46070
|
<${anchoredRegionTag}
|
|
@@ -46232,7 +46361,6 @@ img.ProseMirror-separator {
|
|
|
46232
46361
|
.register(nimbleRichTextMentionListbox());
|
|
46233
46362
|
const richTextMentionListboxTag = 'nimble-rich-text-mention-listbox';
|
|
46234
46363
|
|
|
46235
|
-
// prettier-ignore
|
|
46236
46364
|
const template$q = html `
|
|
46237
46365
|
<template
|
|
46238
46366
|
${children$1({ property: 'childItems', filter: elements() })}
|
|
@@ -47722,7 +47850,7 @@ img.ProseMirror-separator {
|
|
|
47722
47850
|
|
|
47723
47851
|
// Merge objects
|
|
47724
47852
|
//
|
|
47725
|
-
function assign$
|
|
47853
|
+
function assign$1 (obj /* from1, from2, from3, ... */) {
|
|
47726
47854
|
const sources = Array.prototype.slice.call(arguments, 1);
|
|
47727
47855
|
|
|
47728
47856
|
sources.forEach(function (source) {
|
|
@@ -47992,7 +48120,7 @@ img.ProseMirror-separator {
|
|
|
47992
48120
|
var utils = /*#__PURE__*/Object.freeze({
|
|
47993
48121
|
__proto__: null,
|
|
47994
48122
|
arrayReplaceAt: arrayReplaceAt,
|
|
47995
|
-
assign: assign$
|
|
48123
|
+
assign: assign$1,
|
|
47996
48124
|
escapeHtml: escapeHtml,
|
|
47997
48125
|
escapeRE: escapeRE$1,
|
|
47998
48126
|
fromCodePoint: fromCodePoint,
|
|
@@ -48352,7 +48480,7 @@ img.ProseMirror-separator {
|
|
|
48352
48480
|
* See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)
|
|
48353
48481
|
* for more details and examples.
|
|
48354
48482
|
**/
|
|
48355
|
-
this.rules = assign$
|
|
48483
|
+
this.rules = assign$1({}, default_rules);
|
|
48356
48484
|
}
|
|
48357
48485
|
|
|
48358
48486
|
/**
|
|
@@ -53134,7 +53262,7 @@ img.ProseMirror-separator {
|
|
|
53134
53262
|
|
|
53135
53263
|
// Merge objects
|
|
53136
53264
|
//
|
|
53137
|
-
function assign
|
|
53265
|
+
function assign (obj /* from1, from2, from3, ... */) {
|
|
53138
53266
|
const sources = Array.prototype.slice.call(arguments, 1);
|
|
53139
53267
|
|
|
53140
53268
|
sources.forEach(function (source) {
|
|
@@ -53495,7 +53623,7 @@ img.ProseMirror-separator {
|
|
|
53495
53623
|
}
|
|
53496
53624
|
}
|
|
53497
53625
|
|
|
53498
|
-
this.__opts__ = assign
|
|
53626
|
+
this.__opts__ = assign({}, defaultOptions, options);
|
|
53499
53627
|
|
|
53500
53628
|
// Cache last tested result. Used to skip repeating steps on next `match` call.
|
|
53501
53629
|
this.__index__ = -1;
|
|
@@ -53503,7 +53631,7 @@ img.ProseMirror-separator {
|
|
|
53503
53631
|
this.__schema__ = '';
|
|
53504
53632
|
this.__text_cache__ = '';
|
|
53505
53633
|
|
|
53506
|
-
this.__schemas__ = assign
|
|
53634
|
+
this.__schemas__ = assign({}, defaultSchemas, schemas);
|
|
53507
53635
|
this.__compiled__ = {};
|
|
53508
53636
|
|
|
53509
53637
|
this.__tlds__ = tlds_default;
|
|
@@ -53534,7 +53662,7 @@ img.ProseMirror-separator {
|
|
|
53534
53662
|
* Set recognition options for links without schema.
|
|
53535
53663
|
**/
|
|
53536
53664
|
LinkifyIt.prototype.set = function set (options) {
|
|
53537
|
-
this.__opts__ = assign
|
|
53665
|
+
this.__opts__ = assign(this.__opts__, options);
|
|
53538
53666
|
return this
|
|
53539
53667
|
};
|
|
53540
53668
|
|
|
@@ -54737,7 +54865,7 @@ img.ProseMirror-separator {
|
|
|
54737
54865
|
* Link components parser functions, useful to write plugins. See details
|
|
54738
54866
|
* [here](https://github.com/markdown-it/markdown-it/blob/master/lib/helpers).
|
|
54739
54867
|
**/
|
|
54740
|
-
this.helpers = assign$
|
|
54868
|
+
this.helpers = assign$1({}, helpers);
|
|
54741
54869
|
|
|
54742
54870
|
this.options = {};
|
|
54743
54871
|
this.configure(presetName);
|
|
@@ -54765,7 +54893,7 @@ img.ProseMirror-separator {
|
|
|
54765
54893
|
* config.
|
|
54766
54894
|
**/
|
|
54767
54895
|
MarkdownIt.prototype.set = function (options) {
|
|
54768
|
-
assign$
|
|
54896
|
+
assign$1(this.options, options);
|
|
54769
54897
|
return this
|
|
54770
54898
|
};
|
|
54771
54899
|
|
|
@@ -57398,24 +57526,10 @@ img.ProseMirror-separator {
|
|
|
57398
57526
|
// THIS FILE IS AUTOMATICALLY GENERATED DO NOT EDIT DIRECTLY
|
|
57399
57527
|
// See update-tlds.js for encoding/decoding format
|
|
57400
57528
|
// https://data.iana.org/TLD/tlds-alpha-by-domain.txt
|
|
57401
|
-
const encodedTlds = '
|
|
57529
|
+
const encodedTlds = 'aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2';
|
|
57402
57530
|
// Internationalized domain names containing non-ASCII
|
|
57403
57531
|
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
57532
|
|
|
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
57533
|
/**
|
|
57420
57534
|
* Finite State Machine generation utilities
|
|
57421
57535
|
*/
|
|
@@ -57678,7 +57792,7 @@ img.ProseMirror-separator {
|
|
|
57678
57792
|
templateState = state.go(input);
|
|
57679
57793
|
if (templateState) {
|
|
57680
57794
|
nextState = new State();
|
|
57681
|
-
assign(nextState.j, templateState.j);
|
|
57795
|
+
Object.assign(nextState.j, templateState.j);
|
|
57682
57796
|
nextState.jr.push.apply(nextState.jr, templateState.jr);
|
|
57683
57797
|
nextState.jd = templateState.jd;
|
|
57684
57798
|
nextState.t = templateState.t;
|
|
@@ -57689,7 +57803,7 @@ img.ProseMirror-separator {
|
|
|
57689
57803
|
// Ensure newly token is in the same groups as the old token
|
|
57690
57804
|
if (groups) {
|
|
57691
57805
|
if (nextState.t && typeof nextState.t === 'string') {
|
|
57692
|
-
const allFlags = assign(flagsForToken(nextState.t, groups), flags);
|
|
57806
|
+
const allFlags = Object.assign(flagsForToken(nextState.t, groups), flags);
|
|
57693
57807
|
addToGroups(t, allFlags, groups);
|
|
57694
57808
|
} else if (flags) {
|
|
57695
57809
|
addToGroups(t, flags, groups);
|
|
@@ -58128,7 +58242,7 @@ img.ProseMirror-separator {
|
|
|
58128
58242
|
Start.jd = new State(SYM);
|
|
58129
58243
|
return {
|
|
58130
58244
|
start: Start,
|
|
58131
|
-
tokens: assign({
|
|
58245
|
+
tokens: Object.assign({
|
|
58132
58246
|
groups
|
|
58133
58247
|
}, tk)
|
|
58134
58248
|
};
|
|
@@ -58397,9 +58511,9 @@ img.ProseMirror-separator {
|
|
|
58397
58511
|
* Similar to render option
|
|
58398
58512
|
*/
|
|
58399
58513
|
function Options(opts, defaultRender = null) {
|
|
58400
|
-
let o = assign({}, defaults);
|
|
58514
|
+
let o = Object.assign({}, defaults);
|
|
58401
58515
|
if (opts) {
|
|
58402
|
-
o = assign(o, opts instanceof Options ? opts.o : opts);
|
|
58516
|
+
o = Object.assign(o, opts instanceof Options ? opts.o : opts);
|
|
58403
58517
|
}
|
|
58404
58518
|
|
|
58405
58519
|
// Ensure all ignored tags are uppercase
|
|
@@ -58644,7 +58758,7 @@ img.ProseMirror-separator {
|
|
|
58644
58758
|
attributes.rel = rel;
|
|
58645
58759
|
}
|
|
58646
58760
|
if (attrs) {
|
|
58647
|
-
assign(attributes, attrs);
|
|
58761
|
+
Object.assign(attributes, attrs);
|
|
58648
58762
|
}
|
|
58649
58763
|
return {
|
|
58650
58764
|
tagName,
|
|
@@ -61590,8 +61704,6 @@ img.ProseMirror-separator {
|
|
|
61590
61704
|
}
|
|
61591
61705
|
`));
|
|
61592
61706
|
|
|
61593
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
61594
|
-
// prettier-ignore
|
|
61595
61707
|
const template$o = html `
|
|
61596
61708
|
<template role="progressbar">
|
|
61597
61709
|
${''
|
|
@@ -61609,7 +61721,6 @@ img.ProseMirror-separator {
|
|
|
61609
61721
|
</div>
|
|
61610
61722
|
</template>
|
|
61611
61723
|
`;
|
|
61612
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
61613
61724
|
|
|
61614
61725
|
/**
|
|
61615
61726
|
* Types of spinner appearance.
|
|
@@ -61657,8 +61768,6 @@ img.ProseMirror-separator {
|
|
|
61657
61768
|
<slot ${ref('labelSlot')}></slot>
|
|
61658
61769
|
</label>
|
|
61659
61770
|
`);
|
|
61660
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
61661
|
-
// prettier-ignore
|
|
61662
61771
|
const template$n = (context, definition) => html `
|
|
61663
61772
|
<template
|
|
61664
61773
|
class="${x => [
|
|
@@ -61789,7 +61898,6 @@ img.ProseMirror-separator {
|
|
|
61789
61898
|
</${anchoredRegionTag}>
|
|
61790
61899
|
</template>
|
|
61791
61900
|
`;
|
|
61792
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
61793
61901
|
|
|
61794
61902
|
// 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
61903
|
/* eslint-disable max-classes-per-file */
|
|
@@ -63052,7 +63160,6 @@ img.ProseMirror-separator {
|
|
|
63052
63160
|
}
|
|
63053
63161
|
`));
|
|
63054
63162
|
|
|
63055
|
-
// prettier-ignore
|
|
63056
63163
|
const template$m = html `
|
|
63057
63164
|
<template
|
|
63058
63165
|
role="switch"
|
|
@@ -66631,7 +66738,6 @@ img.ProseMirror-separator {
|
|
|
66631
66738
|
throw new Error(`Cell view tag name (${cellViewTag}) must evaluate to an element extending TableCellView`);
|
|
66632
66739
|
}
|
|
66633
66740
|
};
|
|
66634
|
-
// prettier-ignore
|
|
66635
66741
|
const createCellViewTemplate = (cellViewTag) => {
|
|
66636
66742
|
validateCellViewTemplate(cellViewTag);
|
|
66637
66743
|
return html `
|
|
@@ -67216,7 +67322,6 @@ focus outline in that case.
|
|
|
67216
67322
|
}
|
|
67217
67323
|
`;
|
|
67218
67324
|
|
|
67219
|
-
// prettier-ignore
|
|
67220
67325
|
const template$l = html `
|
|
67221
67326
|
<template role="columnheader"
|
|
67222
67327
|
class="${x => (x.alignment === TableColumnAlignment.right ? 'right-align' : '')}"
|
|
@@ -67551,7 +67656,6 @@ focus outline in that case.
|
|
|
67551
67656
|
}
|
|
67552
67657
|
`;
|
|
67553
67658
|
|
|
67554
|
-
// prettier-ignore
|
|
67555
67659
|
const template$k = html `
|
|
67556
67660
|
<template role="cell" style="--ni-private-table-cell-nesting-level: ${x => x.nestingLevel}"
|
|
67557
67661
|
@focusin="${x => x.onCellFocusIn()}"
|
|
@@ -67655,7 +67759,6 @@ focus outline in that case.
|
|
|
67655
67759
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableCell());
|
|
67656
67760
|
const tableCellTag = 'nimble-table-cell';
|
|
67657
67761
|
|
|
67658
|
-
// prettier-ignore
|
|
67659
67762
|
const template$j = html `
|
|
67660
67763
|
<template
|
|
67661
67764
|
role="row"
|
|
@@ -68146,8 +68249,6 @@ focus outline in that case.
|
|
|
68146
68249
|
}
|
|
68147
68250
|
`));
|
|
68148
68251
|
|
|
68149
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
68150
|
-
// prettier-ignore
|
|
68151
68252
|
const template$i = html `
|
|
68152
68253
|
<template
|
|
68153
68254
|
role="row"
|
|
@@ -68188,7 +68289,6 @@ focus outline in that case.
|
|
|
68188
68289
|
</div>
|
|
68189
68290
|
</template>
|
|
68190
68291
|
`;
|
|
68191
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
68192
68292
|
|
|
68193
68293
|
/**
|
|
68194
68294
|
* A styled cell that is used within the nimble-table-row.
|
|
@@ -68312,7 +68412,6 @@ focus outline in that case.
|
|
|
68312
68412
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTableGroupRow());
|
|
68313
68413
|
const tableGroupRowTag = 'nimble-table-group-row';
|
|
68314
68414
|
|
|
68315
|
-
// prettier-ignore
|
|
68316
68415
|
const template$h = html `
|
|
68317
68416
|
<template
|
|
68318
68417
|
role="treegrid"
|
|
@@ -71292,8 +71391,7 @@ focus outline in that case.
|
|
|
71292
71391
|
return { headerActions, columnHeaders };
|
|
71293
71392
|
}
|
|
71294
71393
|
canFocusColumnHeaders() {
|
|
71295
|
-
return (this.table.columns.find(c => !c.columnInternals.sortingDisabled)
|
|
71296
|
-
!== undefined);
|
|
71394
|
+
return (this.table.columns.find(c => !c.columnInternals.sortingDisabled) !== undefined);
|
|
71297
71395
|
}
|
|
71298
71396
|
getCurrentRow() {
|
|
71299
71397
|
return this.table.rowElements[this.getCurrentRowVisibleIndex()];
|
|
@@ -72448,7 +72546,6 @@ focus outline in that case.
|
|
|
72448
72546
|
|
|
72449
72547
|
// Avoiding a wrapping <template> and be careful about starting and ending whitspace
|
|
72450
72548
|
// so the template can be composed into other column header templates
|
|
72451
|
-
// prettier-ignore
|
|
72452
72549
|
const template$g = html `<span
|
|
72453
72550
|
${overflow('hasOverflow')}
|
|
72454
72551
|
class="header-content"
|
|
@@ -72555,8 +72652,6 @@ focus outline in that case.
|
|
|
72555
72652
|
}
|
|
72556
72653
|
`;
|
|
72557
72654
|
|
|
72558
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
72559
|
-
// prettier-ignore
|
|
72560
72655
|
const template$f = html `
|
|
72561
72656
|
<template
|
|
72562
72657
|
@click="${(x, c) => {
|
|
@@ -72596,7 +72691,6 @@ focus outline in that case.
|
|
|
72596
72691
|
</span>`)}
|
|
72597
72692
|
</template>
|
|
72598
72693
|
`;
|
|
72599
|
-
/* eslint-enable @typescript-eslint/indent */
|
|
72600
72694
|
|
|
72601
72695
|
/**
|
|
72602
72696
|
* A cell view for displaying links
|
|
@@ -73075,7 +73169,6 @@ focus outline in that case.
|
|
|
73075
73169
|
.register(tableColumnDateTextGroupHeaderView());
|
|
73076
73170
|
const tableColumnDateTextGroupHeaderViewTag = 'nimble-table-column-date-text-group-header-view';
|
|
73077
73171
|
|
|
73078
|
-
// prettier-ignore
|
|
73079
73172
|
const template$d = html `
|
|
73080
73173
|
<template
|
|
73081
73174
|
class="
|
|
@@ -73852,7 +73945,6 @@ focus outline in that case.
|
|
|
73852
73945
|
}
|
|
73853
73946
|
`;
|
|
73854
73947
|
|
|
73855
|
-
// prettier-ignore
|
|
73856
73948
|
const template$b = html `
|
|
73857
73949
|
${when(x => x.visualizationTemplate, html `
|
|
73858
73950
|
<span class="reserve-icon-size">
|
|
@@ -74029,7 +74121,6 @@ focus outline in that case.
|
|
|
74029
74121
|
}
|
|
74030
74122
|
`;
|
|
74031
74123
|
|
|
74032
|
-
// prettier-ignore
|
|
74033
74124
|
const template$a = html `
|
|
74034
74125
|
${when(x => x.visualizationTemplate, html `
|
|
74035
74126
|
<span class="reserve-icon-size">
|
|
@@ -74377,7 +74468,6 @@ focus outline in that case.
|
|
|
74377
74468
|
|
|
74378
74469
|
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
|
|
74379
74470
|
// so the template can be composed into other column header templates
|
|
74380
|
-
// prettier-ignore
|
|
74381
74471
|
const template$7 = html `<span
|
|
74382
74472
|
${overflow('hasOverflow')}
|
|
74383
74473
|
class="header-content"
|
|
@@ -75160,8 +75250,6 @@ focus outline in that case.
|
|
|
75160
75250
|
}
|
|
75161
75251
|
`;
|
|
75162
75252
|
|
|
75163
|
-
/* eslint-disable @typescript-eslint/indent */
|
|
75164
|
-
// prettier-ignore
|
|
75165
75253
|
const template$6 = (context, definition) => html `
|
|
75166
75254
|
<template slot="end">
|
|
75167
75255
|
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
@@ -76033,7 +76121,6 @@ focus outline in that case.
|
|
|
76033
76121
|
}
|
|
76034
76122
|
`));
|
|
76035
76123
|
|
|
76036
|
-
// prettier-ignore
|
|
76037
76124
|
const template$3 = html `
|
|
76038
76125
|
${when(x => x.tooltipVisible, html `
|
|
76039
76126
|
<${anchoredRegionTag}
|
|
@@ -76411,7 +76498,6 @@ focus outline in that case.
|
|
|
76411
76498
|
}
|
|
76412
76499
|
`;
|
|
76413
76500
|
|
|
76414
|
-
// prettier-ignore
|
|
76415
76501
|
const template$2 = html `
|
|
76416
76502
|
<template
|
|
76417
76503
|
role="tree"
|