@banyan_cloud/roots 1.0.44 → 1.0.45
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/cjs/index.js +165 -134
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +165 -135
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +165 -135
- package/package.json +1 -1
- package/styles/main.css +1 -0
- package/styles/main.scss +1 -0
package/dist/cjs/index.js
CHANGED
|
@@ -2493,6 +2493,21 @@ var Trash = function Trash(props) {
|
|
|
2493
2493
|
});
|
|
2494
2494
|
};
|
|
2495
2495
|
|
|
2496
|
+
var SearchIcon = function SearchIcon(_ref) {
|
|
2497
|
+
var className = _ref.className;
|
|
2498
|
+
return /*#__PURE__*/jsxRuntime.jsx("svg", {
|
|
2499
|
+
className: className,
|
|
2500
|
+
width: "1.5rem",
|
|
2501
|
+
height: "1.5rem",
|
|
2502
|
+
viewBox: "0 0 17 16",
|
|
2503
|
+
fill: "#9B9BA3",
|
|
2504
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2505
|
+
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
2506
|
+
d: "M14.4784 13.5267L12.0051 11.0733C12.9651 9.87629 13.4301 8.35688 13.3043 6.82755C13.1785 5.29821 12.4715 3.8752 11.3287 2.85111C10.186 1.82702 8.69427 1.27969 7.16035 1.32166C5.62642 1.36363 4.16688 1.99172 3.08182 3.07677C1.99677 4.16183 1.36868 5.62137 1.32671 7.15529C1.28474 8.68922 1.83207 10.1809 2.85616 11.3237C3.88025 12.4665 5.30326 13.1734 6.8326 13.2992C8.36193 13.425 9.88134 12.9601 11.0784 12L13.5317 14.4533C13.5937 14.5158 13.6674 14.5654 13.7487 14.5993C13.8299 14.6331 13.9171 14.6505 14.0051 14.6505C14.0931 14.6505 14.1802 14.6331 14.2614 14.5993C14.3427 14.5654 14.4164 14.5158 14.4784 14.4533C14.5986 14.329 14.6657 14.1629 14.6657 13.99C14.6657 13.8171 14.5986 13.651 14.4784 13.5267ZM7.3384 12C6.41542 12 5.51316 11.7263 4.74574 11.2135C3.97831 10.7008 3.38017 9.97192 3.02696 9.1192C2.67375 8.26648 2.58133 7.32817 2.7614 6.42292C2.94146 5.51768 3.38592 4.68616 4.03857 4.03351C4.69121 3.38087 5.52273 2.93641 6.42798 2.75635C7.33322 2.57628 8.27153 2.6687 9.12425 3.02191C9.97698 3.37512 10.7058 3.97326 11.2186 4.74068C11.7314 5.50811 12.0051 6.41037 12.0051 7.33335C12.0051 8.57102 11.5134 9.75801 10.6382 10.6332C9.76306 11.5083 8.57607 12 7.3384 12Z"
|
|
2507
|
+
})
|
|
2508
|
+
});
|
|
2509
|
+
};
|
|
2510
|
+
|
|
2496
2511
|
var css$Q = ".Accordion_module_root__a63f6f55 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n width: 100%;\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell] {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: 0.5rem;\n padding: 0.5rem 1rem;\n cursor: pointer;\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell] > [data-elem=component1] {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell] > [data-elem=component1] .Accordion_module_icon__a63f6f55 {\n transform: rotate(-90deg);\n width: 1rem;\n height: 1rem;\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell] .Accordion_module_title__a63f6f55 {\n flex: 1 1 auto;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell]:hover {\n background: var(--background);\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell]:hover .Accordion_module_icon__a63f6f55,\n.Accordion_module_root__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell]:hover .Accordion_module_title__a63f6f55 {\n color: var(--highlight);\n fill: var(--highlight);\n}\n.Accordion_module_root__a63f6f55 > .Accordion_module_body__a63f6f55 {\n display: none;\n padding: 0.5rem 2.5rem;\n}\n.Accordion_module_root__a63f6f55.Accordion_module_open__a63f6f55 > .Accordion_module_header__a63f6f55[data-elem=base-cell] [data-elem=component1] .Accordion_module_icon__a63f6f55 {\n transform: none;\n}\n.Accordion_module_root__a63f6f55.Accordion_module_open__a63f6f55 > .Accordion_module_body__a63f6f55 {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n}\n.Accordion_module_root__a63f6f55.Accordion_module_open__a63f6f55 > .Accordion_module_body__a63f6f55 > button[data-elem=base-cell] {\n width: -webkit-fit-content;\n width: -moz-fit-content;\n width: fit-content;\n align-self: flex-end;\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n}\n.Accordion_module_root__a63f6f55.Accordion_module_open__a63f6f55 > .Accordion_module_body__a63f6f55 > button[data-elem=base-cell] .Accordion_module_expand__a63f6f55 {\n height: 1.5rem;\n width: 1.5rem;\n}";
|
|
2497
2512
|
var modules_8207625f = {"root":"Accordion_module_root__a63f6f55","header":"Accordion_module_header__a63f6f55","icon":"Accordion_module_icon__a63f6f55","title":"Accordion_module_title__a63f6f55","body":"Accordion_module_body__a63f6f55","open":"Accordion_module_open__a63f6f55","expand":"Accordion_module_expand__a63f6f55"};
|
|
2498
2513
|
n(css$Q,{});
|
|
@@ -6676,8 +6691,8 @@ Alert.defaultProps = {
|
|
|
6676
6691
|
position: 'bottom-center'
|
|
6677
6692
|
};
|
|
6678
6693
|
|
|
6679
|
-
var css$N = ".
|
|
6680
|
-
var modules_651f50a9 = {"root":"
|
|
6694
|
+
var css$N = ".Breadcrumbs_module_root__f527a278 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n gap: 0.5rem;\n width: auto;\n}\n.Breadcrumbs_module_root__f527a278 .Breadcrumbs_module_seperator__f527a278 {\n width: 1.5rem;\n height: 1.5rem;\n stroke: var(--grey2);\n}\n.Breadcrumbs_module_root__f527a278 button.Breadcrumbs_module_expand__f527a278[data-elem=base-cell] {\n background: var(--grey6);\n color: var(--dark-grey);\n height: 0.75rem;\n padding: 0.25rem;\n}\n.Breadcrumbs_module_root__f527a278 button.Breadcrumbs_module_expand__f527a278[data-elem=base-cell] [data-elem=title] {\n margin-bottom: 0.4rem;\n}\n.Breadcrumbs_module_root__f527a278 .Breadcrumbs_module_crumb__f527a278 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n color: var(--grey2);\n}\n.Breadcrumbs_module_root__f527a278 .Breadcrumbs_module_crumb__f527a278.Breadcrumbs_module_active__f527a278 {\n color: var(--black);\n}\n.Breadcrumbs_module_root__f527a278 .Breadcrumbs_module_crumb__f527a278:hover:not(.Breadcrumbs_module_active__f527a278) {\n color: var(--info);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeLight__f527a278 .Breadcrumbs_module_crumb__f527a278 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n color: var(--grey2);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeLight__f527a278 .Breadcrumbs_module_crumb__f527a278.Breadcrumbs_module_active__f527a278 {\n color: var(--black);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeLight__f527a278 .Breadcrumbs_module_crumb__f527a278:hover:not(.Breadcrumbs_module_active__f527a278) {\n color: var(--info);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeDark__f527a278 .Breadcrumbs_module_crumb__f527a278 {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n color: var(--grey2);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeDark__f527a278 .Breadcrumbs_module_crumb__f527a278.Breadcrumbs_module_active__f527a278 {\n color: var(--white);\n}\n.Breadcrumbs_module_root__f527a278.Breadcrumbs_module_themeDark__f527a278 .Breadcrumbs_module_crumb__f527a278:hover:not(.Breadcrumbs_module_active__f527a278) {\n color: var(--info);\n}";
|
|
6695
|
+
var modules_651f50a9 = {"root":"Breadcrumbs_module_root__f527a278","seperator":"Breadcrumbs_module_seperator__f527a278","expand":"Breadcrumbs_module_expand__f527a278","crumb":"Breadcrumbs_module_crumb__f527a278","active":"Breadcrumbs_module_active__f527a278","theme-light":"Breadcrumbs_module_themeLight__f527a278","theme-dark":"Breadcrumbs_module_themeDark__f527a278"};
|
|
6681
6696
|
n(css$N,{});
|
|
6682
6697
|
|
|
6683
6698
|
var css$M = ".Text_module_root__71f59b14 {\n color: var(--dark-grey);\n}\n.Text_module_root__71f59b14.Text_module_h1__71f59b14 {\n font-size: 2.25rem;\n line-height: 2.75rem;\n}\n.Text_module_root__71f59b14.Text_module_h2__71f59b14 {\n font-size: 1.375rem;\n line-height: 1.688rem;\n}\n.Text_module_root__71f59b14.Text_module_b1__71f59b14 {\n font-size: 1rem;\n line-height: 1.188rem;\n}\n.Text_module_root__71f59b14.Text_module_b2__71f59b14 {\n font-size: 0.875rem;\n line-height: 1.188rem;\n}\n.Text_module_root__71f59b14.Text_module_b3__71f59b14 {\n font-size: 0.75rem;\n line-height: 1.063rem;\n}\n.Text_module_root__71f59b14.Text_module_regularStroke__71f59b14 {\n font-weight: 400;\n}\n.Text_module_root__71f59b14.Text_module_mediumStroke__71f59b14 {\n font-weight: 500;\n}\n.Text_module_root__71f59b14.Text_module_semiboldStroke__71f59b14 {\n font-weight: 600;\n}\n.Text_module_root__71f59b14.Text_module_boldStroke__71f59b14 {\n font-weight: 800;\n}";
|
|
@@ -6786,7 +6801,8 @@ var BreadCrumbs = function BreadCrumbs(props) {
|
|
|
6786
6801
|
maxItems = props.maxItems,
|
|
6787
6802
|
itemsBeforeCollapse = props.itemsBeforeCollapse,
|
|
6788
6803
|
itemsAfterCollapse = props.itemsAfterCollapse,
|
|
6789
|
-
linkComponent = props.linkComponent
|
|
6804
|
+
linkComponent = props.linkComponent,
|
|
6805
|
+
theme = props.theme;
|
|
6790
6806
|
var _useState = React.useState(false),
|
|
6791
6807
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6792
6808
|
expand = _useState2[0],
|
|
@@ -6808,6 +6824,7 @@ var BreadCrumbs = function BreadCrumbs(props) {
|
|
|
6808
6824
|
'data-state': active
|
|
6809
6825
|
},
|
|
6810
6826
|
component: !active ? linkComponent : 'span',
|
|
6827
|
+
stroke: !active ? 'regular' : 'medium',
|
|
6811
6828
|
children: [icon && icon, title && /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
6812
6829
|
children: getSpacedDisplayName(title).replace(/-/g, ' ')
|
|
6813
6830
|
})]
|
|
@@ -6832,11 +6849,12 @@ var BreadCrumbs = function BreadCrumbs(props) {
|
|
|
6832
6849
|
}, 'expand'));
|
|
6833
6850
|
}
|
|
6834
6851
|
return /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
6835
|
-
className: classes(modules_651f50a9.root),
|
|
6852
|
+
className: classes(modules_651f50a9.root, modules_651f50a9["theme-".concat(theme)]),
|
|
6836
6853
|
children: CrumbsDOM
|
|
6837
6854
|
});
|
|
6838
6855
|
};
|
|
6839
6856
|
BreadCrumbs.propTypes = {
|
|
6857
|
+
theme: propTypes$1.exports.oneOf(['light', 'dark']),
|
|
6840
6858
|
crumbs: propTypes$1.exports.arrayOf(propTypes$1.exports.shape({
|
|
6841
6859
|
title: propTypes$1.exports.string,
|
|
6842
6860
|
path: propTypes$1.exports.string,
|
|
@@ -6848,6 +6866,7 @@ BreadCrumbs.propTypes = {
|
|
|
6848
6866
|
linkComponent: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.element])
|
|
6849
6867
|
};
|
|
6850
6868
|
BreadCrumbs.defaultProps = {
|
|
6869
|
+
theme: 'dark',
|
|
6851
6870
|
crumbs: [],
|
|
6852
6871
|
maxItems: 4,
|
|
6853
6872
|
itemsBeforeCollapse: 2,
|
|
@@ -16586,126 +16605,134 @@ function c(Prism) {
|
|
|
16586
16605
|
delete Prism.languages.c['boolean'];
|
|
16587
16606
|
}
|
|
16588
16607
|
|
|
16589
|
-
var
|
|
16590
|
-
var
|
|
16591
|
-
|
|
16592
|
-
|
|
16593
|
-
|
|
16594
|
-
|
|
16595
|
-
|
|
16596
|
-
|
|
16597
|
-
|
|
16598
|
-
|
|
16599
|
-
|
|
16600
|
-
|
|
16601
|
-
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
|
-
|
|
16615
|
-
|
|
16616
|
-
|
|
16617
|
-
|
|
16618
|
-
|
|
16619
|
-
|
|
16620
|
-
|
|
16621
|
-
|
|
16622
|
-
|
|
16623
|
-
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
|
|
16627
|
-
|
|
16628
|
-
|
|
16629
|
-
|
|
16630
|
-
|
|
16631
|
-
|
|
16632
|
-
|
|
16633
|
-
|
|
16634
|
-
|
|
16635
|
-
|
|
16636
|
-
|
|
16637
|
-
|
|
16638
|
-
|
|
16639
|
-
|
|
16640
|
-
|
|
16641
|
-
|
|
16642
|
-
|
|
16643
|
-
|
|
16644
|
-
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16656
|
-
|
|
16657
|
-
|
|
16658
|
-
|
|
16659
|
-
|
|
16660
|
-
|
|
16661
|
-
|
|
16662
|
-
|
|
16663
|
-
|
|
16664
|
-
|
|
16665
|
-
|
|
16666
|
-
|
|
16667
|
-
|
|
16668
|
-
|
|
16669
|
-
|
|
16670
|
-
|
|
16671
|
-
|
|
16672
|
-
|
|
16673
|
-
|
|
16674
|
-
|
|
16675
|
-
|
|
16676
|
-
|
|
16677
|
-
|
|
16678
|
-
|
|
16679
|
-
|
|
16680
|
-
|
|
16681
|
-
|
|
16682
|
-
|
|
16683
|
-
|
|
16684
|
-
|
|
16685
|
-
|
|
16686
|
-
|
|
16687
|
-
|
|
16688
|
-
|
|
16689
|
-
|
|
16690
|
-
|
|
16691
|
-
|
|
16692
|
-
|
|
16693
|
-
|
|
16694
|
-
|
|
16695
|
-
|
|
16696
|
-
|
|
16697
|
-
|
|
16698
|
-
|
|
16699
|
-
|
|
16700
|
-
|
|
16701
|
-
|
|
16702
|
-
|
|
16703
|
-
|
|
16704
|
-
|
|
16705
|
-
|
|
16608
|
+
var cpp_1;
|
|
16609
|
+
var hasRequiredCpp;
|
|
16610
|
+
|
|
16611
|
+
function requireCpp () {
|
|
16612
|
+
if (hasRequiredCpp) return cpp_1;
|
|
16613
|
+
hasRequiredCpp = 1;
|
|
16614
|
+
var refractorC = c_1;
|
|
16615
|
+
cpp_1 = cpp;
|
|
16616
|
+
cpp.displayName = 'cpp';
|
|
16617
|
+
cpp.aliases = [];
|
|
16618
|
+
function cpp(Prism) {
|
|
16619
|
+
Prism.register(refractorC)
|
|
16620
|
+
;(function (Prism) {
|
|
16621
|
+
var keyword =
|
|
16622
|
+
/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/;
|
|
16623
|
+
var modName = /\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(
|
|
16624
|
+
/<keyword>/g,
|
|
16625
|
+
function () {
|
|
16626
|
+
return keyword.source
|
|
16627
|
+
}
|
|
16628
|
+
);
|
|
16629
|
+
Prism.languages.cpp = Prism.languages.extend('c', {
|
|
16630
|
+
'class-name': [
|
|
16631
|
+
{
|
|
16632
|
+
pattern: RegExp(
|
|
16633
|
+
/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(
|
|
16634
|
+
/<keyword>/g,
|
|
16635
|
+
function () {
|
|
16636
|
+
return keyword.source
|
|
16637
|
+
}
|
|
16638
|
+
)
|
|
16639
|
+
),
|
|
16640
|
+
lookbehind: true
|
|
16641
|
+
}, // This is intended to capture the class name of method implementations like:
|
|
16642
|
+
// void foo::bar() const {}
|
|
16643
|
+
// However! The `foo` in the above example could also be a namespace, so we only capture the class name if
|
|
16644
|
+
// it starts with an uppercase letter. This approximation should give decent results.
|
|
16645
|
+
/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/, // This will capture the class name before destructors like:
|
|
16646
|
+
// Foo::~Foo() {}
|
|
16647
|
+
/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i, // This also intends to capture the class name of method implementations but here the class has template
|
|
16648
|
+
// parameters, so it can't be a namespace (until C++ adds generic namespaces).
|
|
16649
|
+
/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/
|
|
16650
|
+
],
|
|
16651
|
+
keyword: keyword,
|
|
16652
|
+
number: {
|
|
16653
|
+
pattern:
|
|
16654
|
+
/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,
|
|
16655
|
+
greedy: true
|
|
16656
|
+
},
|
|
16657
|
+
operator:
|
|
16658
|
+
/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,
|
|
16659
|
+
boolean: /\b(?:false|true)\b/
|
|
16660
|
+
});
|
|
16661
|
+
Prism.languages.insertBefore('cpp', 'string', {
|
|
16662
|
+
module: {
|
|
16663
|
+
// https://en.cppreference.com/w/cpp/language/modules
|
|
16664
|
+
pattern: RegExp(
|
|
16665
|
+
/(\b(?:import|module)\s+)/.source +
|
|
16666
|
+
'(?:' + // header-name
|
|
16667
|
+
/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source +
|
|
16668
|
+
'|' + // module name or partition or both
|
|
16669
|
+
/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(
|
|
16670
|
+
/<mod-name>/g,
|
|
16671
|
+
function () {
|
|
16672
|
+
return modName
|
|
16673
|
+
}
|
|
16674
|
+
) +
|
|
16675
|
+
')'
|
|
16676
|
+
),
|
|
16677
|
+
lookbehind: true,
|
|
16678
|
+
greedy: true,
|
|
16679
|
+
inside: {
|
|
16680
|
+
string: /^[<"][\s\S]+/,
|
|
16681
|
+
operator: /:/,
|
|
16682
|
+
punctuation: /\./
|
|
16683
|
+
}
|
|
16684
|
+
},
|
|
16685
|
+
'raw-string': {
|
|
16686
|
+
pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,
|
|
16687
|
+
alias: 'string',
|
|
16688
|
+
greedy: true
|
|
16689
|
+
}
|
|
16690
|
+
});
|
|
16691
|
+
Prism.languages.insertBefore('cpp', 'keyword', {
|
|
16692
|
+
'generic-function': {
|
|
16693
|
+
pattern: /\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,
|
|
16694
|
+
inside: {
|
|
16695
|
+
function: /^\w+/,
|
|
16696
|
+
generic: {
|
|
16697
|
+
pattern: /<[\s\S]+/,
|
|
16698
|
+
alias: 'class-name',
|
|
16699
|
+
inside: Prism.languages.cpp
|
|
16700
|
+
}
|
|
16701
|
+
}
|
|
16702
|
+
}
|
|
16703
|
+
});
|
|
16704
|
+
Prism.languages.insertBefore('cpp', 'operator', {
|
|
16705
|
+
'double-colon': {
|
|
16706
|
+
pattern: /::/,
|
|
16707
|
+
alias: 'punctuation'
|
|
16708
|
+
}
|
|
16709
|
+
});
|
|
16710
|
+
Prism.languages.insertBefore('cpp', 'class-name', {
|
|
16711
|
+
// the base clause is an optional list of parent classes
|
|
16712
|
+
// https://en.cppreference.com/w/cpp/language/class
|
|
16713
|
+
'base-clause': {
|
|
16714
|
+
pattern:
|
|
16715
|
+
/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,
|
|
16716
|
+
lookbehind: true,
|
|
16717
|
+
greedy: true,
|
|
16718
|
+
inside: Prism.languages.extend('cpp', {})
|
|
16719
|
+
}
|
|
16720
|
+
});
|
|
16721
|
+
Prism.languages.insertBefore(
|
|
16722
|
+
'inside',
|
|
16723
|
+
'double-colon',
|
|
16724
|
+
{
|
|
16725
|
+
// All untokenized words that are not namespaces should be class names
|
|
16726
|
+
'class-name': /\b[a-z_]\w*\b(?!\s*::)/i
|
|
16727
|
+
},
|
|
16728
|
+
Prism.languages.cpp['base-clause']
|
|
16729
|
+
);
|
|
16730
|
+
})(Prism);
|
|
16731
|
+
}
|
|
16732
|
+
return cpp_1;
|
|
16706
16733
|
}
|
|
16707
16734
|
|
|
16708
|
-
var refractorCpp$1 =
|
|
16735
|
+
var refractorCpp$1 = requireCpp();
|
|
16709
16736
|
var arduino_1 = arduino;
|
|
16710
16737
|
arduino.displayName = 'arduino';
|
|
16711
16738
|
arduino.aliases = ['ino'];
|
|
@@ -18715,7 +18742,7 @@ function cfscript(Prism) {
|
|
|
18715
18742
|
Prism.languages.cfc = Prism.languages['cfscript'];
|
|
18716
18743
|
}
|
|
18717
18744
|
|
|
18718
|
-
var refractorCpp =
|
|
18745
|
+
var refractorCpp = requireCpp();
|
|
18719
18746
|
var chaiscript_1 = chaiscript;
|
|
18720
18747
|
chaiscript.displayName = 'chaiscript';
|
|
18721
18748
|
chaiscript.aliases = [];
|
|
@@ -38947,7 +38974,7 @@ refractor.register(requireCobol());
|
|
|
38947
38974
|
refractor.register(requireCoffeescript());
|
|
38948
38975
|
refractor.register(requireConcurnas());
|
|
38949
38976
|
refractor.register(requireCoq());
|
|
38950
|
-
refractor.register(
|
|
38977
|
+
refractor.register(requireCpp());
|
|
38951
38978
|
refractor.register(requireCrystal());
|
|
38952
38979
|
refractor.register(requireCsharp());
|
|
38953
38980
|
refractor.register(requireCshtml());
|
|
@@ -43361,8 +43388,8 @@ function getPagination(curr, total, limit) {
|
|
|
43361
43388
|
return pages;
|
|
43362
43389
|
}
|
|
43363
43390
|
|
|
43364
|
-
var css$p = ".
|
|
43365
|
-
var modules_a3d40e77 = {"root":"
|
|
43391
|
+
var css$p = ".Pagination_module_root__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: stretch;\n -ms-overflow-style: none;\n scrollbar-width: none;\n padding: 0.625rem 2.125rem;\n background: var(--dark-grey);\n margin-top: auto;\n width: 100%;\n height: 3.5rem;\n overflow: auto;\n transition-property: background-color, color, bottom, width;\n transition-duration: 0.33s;\n transition-timing-function: ease-out;\n}\n.Pagination_module_root__6d89f0eb::-webkit-scrollbar {\n display: none;\n}\n.Pagination_module_root__6d89f0eb.Pagination_module_floating__6d89f0eb {\n background: var(--dark-grey-o-85);\n position: absolute;\n border-radius: 6.25rem;\n width: 82%;\n bottom: 3rem;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb,\n.Pagination_module_root__6d89f0eb .Pagination_module_pagination__6d89f0eb,\n.Pagination_module_root__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb,\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb {\n display: none;\n gap: 0.75rem;\n background-color: var(--grey);\n padding: 0;\n border-radius: 0.25rem;\n height: 100%;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n }\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb > [data-elem*=component] {\n overflow: hidden;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb > [data-elem=component2] {\n display: flex;\n flex: 0 1 auto;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb > [data-elem=component2]::before {\n content: \"\";\n margin: auto;\n background: var(--white);\n width: 0.5px;\n height: 50%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_text__6d89f0eb {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n height: 100%;\n display: block;\n padding: 0.5rem;\n font-size: 0.875rem;\n font-weight: 500;\n color: var(--white);\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_dropdown__6d89f0eb {\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_dropdown__6d89f0eb > [data-elem=header] {\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_dropdown__6d89f0eb > [data-elem=header] > [data-elem=select] {\n height: 2.375rem;\n max-height: 100%;\n width: auto;\n min-width: -webkit-fit-content;\n min-width: -moz-fit-content;\n min-width: fit-content;\n padding: 0.625rem;\n background-color: var(--grey);\n border: none;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_dropdown__6d89f0eb > [data-elem=header] > [data-elem=select] > [data-elem=placeholder] {\n color: var(--white);\n font-size: 0.875rem;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_rowSwitcher__6d89f0eb .Pagination_module_dropdown__6d89f0eb > [data-elem=header] > [data-elem=select] > svg {\n fill: var(--white);\n width: 0.813rem;\n height: 0.813rem;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n gap: 1.25rem;\n flex: 1 1 100%;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb {\n flex: 1 1 60%;\n }\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_button__6d89f0eb.Pagination_module_disable__6d89f0eb {\n pointer-events: none;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_button__6d89f0eb [data-elem=title] {\n color: var(--white);\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_button__6d89f0eb .Pagination_module_icon__6d89f0eb {\n width: 1.5rem;\n height: 1.5rem;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 0.625rem;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb .Pagination_module_number__6d89f0eb {\n cursor: pointer;\n border-radius: 50%;\n background-color: #e0e0e0;\n color: var(--black);\n width: 2.313rem;\n line-height: 2.313rem;\n text-align: center;\n font-size: 1rem;\n border: 1px solid transparent;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb .Pagination_module_number__6d89f0eb:not([data-active=true]) {\n display: none;\n}\n@media (min-width: 768px) {\n .Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb .Pagination_module_number__6d89f0eb:not([data-active=true]) {\n display: block;\n }\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb .Pagination_module_number__6d89f0eb:hover {\n border: 1px solid var(--highlight);\n color: var(--highlight);\n background: var(--background);\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_pageNumbers__6d89f0eb > .Pagination_module_pageSelect__6d89f0eb .Pagination_module_number__6d89f0eb.Pagination_module_active__6d89f0eb {\n background-color: var(--highlight);\n color: var(--white);\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb {\n display: none;\n padding: 0;\n flex: 0 1 20%;\n background: transparent;\n}\n@media (min-width: 992px) {\n .Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n }\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb > [data-elem*=component] {\n width: 100%;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb > [data-elem*=component] > * {\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb {\n width: 100%;\n background: transparent;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: stretch;\n gap: 0rem;\n padding: 0;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb > [data-elem*=component] {\n overflow: hidden;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb {\n max-width: 100%;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb > label {\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb > label > [data-elem=base-cell] {\n border-radius: 0.313rem;\n background-color: transparent;\n color: var(--white);\n border-color: var(--grey1);\n border-radius: 0.25rem 0 0 0.25rem;\n height: 100%;\n width: 10rem;\n flex: 1;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb > label > [data-elem=base-cell] .Pagination_module_icon__6d89f0eb {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--grey1);\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb > label > [data-elem=base-cell] > [data-elem=component2] {\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_inputbox__6d89f0eb > label > [data-elem=base-cell] [data-elem=input] {\n text-align: center;\n color: var(--white);\n background-color: transparent;\n border: none;\n height: 100%;\n width: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_button__6d89f0eb {\n border-radius: 0rem 0.25rem 0.25rem 0rem;\n background-color: var(--grey1);\n padding: 0.75rem 0.5rem;\n height: 100%;\n}\n.Pagination_module_root__6d89f0eb .Pagination_module_form__6d89f0eb .Pagination_module_jumpToPage__6d89f0eb .Pagination_module_button__6d89f0eb .Pagination_module_icon__6d89f0eb {\n width: 1.5rem;\n height: 1.5rem;\n fill: var(--white);\n flex-shrink: 0;\n}";
|
|
43392
|
+
var modules_a3d40e77 = {"root":"Pagination_module_root__6d89f0eb","floating":"Pagination_module_floating__6d89f0eb","row-switcher":"Pagination_module_rowSwitcher__6d89f0eb","pagination":"Pagination_module_pagination__6d89f0eb","jump-to-page":"Pagination_module_jumpToPage__6d89f0eb","form":"Pagination_module_form__6d89f0eb","text":"Pagination_module_text__6d89f0eb","dropdown":"Pagination_module_dropdown__6d89f0eb","page-numbers":"Pagination_module_pageNumbers__6d89f0eb","button":"Pagination_module_button__6d89f0eb","disable":"Pagination_module_disable__6d89f0eb","icon":"Pagination_module_icon__6d89f0eb","pageSelect":"Pagination_module_pageSelect__6d89f0eb","number":"Pagination_module_number__6d89f0eb","active":"Pagination_module_active__6d89f0eb","inputbox":"Pagination_module_inputbox__6d89f0eb"};
|
|
43366
43393
|
n(css$p,{});
|
|
43367
43394
|
|
|
43368
43395
|
var dropdownOptions = ['10', '25', '50', '100', '200', '250'];
|
|
@@ -43483,7 +43510,6 @@ var Pagination = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
43483
43510
|
className: modules_a3d40e77['page-numbers'],
|
|
43484
43511
|
children: [/*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
43485
43512
|
size: "auto",
|
|
43486
|
-
flexible: true,
|
|
43487
43513
|
disabled: currentPage === 1,
|
|
43488
43514
|
title: "Prev",
|
|
43489
43515
|
onClick: function onClick() {
|
|
@@ -43518,7 +43544,6 @@ var Pagination = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
43518
43544
|
})
|
|
43519
43545
|
}), /*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
43520
43546
|
size: "auto",
|
|
43521
|
-
flexible: true,
|
|
43522
43547
|
disabled: currentPage === totalPages,
|
|
43523
43548
|
title: "Next",
|
|
43524
43549
|
onClick: function onClick() {
|
|
@@ -43554,15 +43579,20 @@ var Pagination = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
43554
43579
|
inputProps: {
|
|
43555
43580
|
min: 1,
|
|
43556
43581
|
max: totalPages,
|
|
43557
|
-
required: true
|
|
43582
|
+
required: true,
|
|
43583
|
+
placeholder: 'Jump to Page'
|
|
43558
43584
|
},
|
|
43559
43585
|
ref: jumpPageRef,
|
|
43560
43586
|
type: "number",
|
|
43561
|
-
className: modules_a3d40e77.inputbox
|
|
43587
|
+
className: modules_a3d40e77.inputbox,
|
|
43588
|
+
LeftComponent: function LeftComponent() {
|
|
43589
|
+
return /*#__PURE__*/jsxRuntime.jsx(SearchIcon, {
|
|
43590
|
+
className: modules_a3d40e77.icon
|
|
43591
|
+
});
|
|
43592
|
+
}
|
|
43562
43593
|
}),
|
|
43563
43594
|
component2: /*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
43564
|
-
|
|
43565
|
-
size: "medium",
|
|
43595
|
+
size: "auto",
|
|
43566
43596
|
variant: "contained",
|
|
43567
43597
|
className: modules_a3d40e77.button,
|
|
43568
43598
|
rightComponent: function rightComponent() {
|
|
@@ -44656,7 +44686,7 @@ var modules_2e8406c7 = {"root":"Table_module_root__d17cb64f","table":"Table_modu
|
|
|
44656
44686
|
n(css$9,{});
|
|
44657
44687
|
|
|
44658
44688
|
var INTERSECTION = 1;
|
|
44659
|
-
var STEP = 0.
|
|
44689
|
+
var STEP = 0.05;
|
|
44660
44690
|
var THRESHOLD = [];
|
|
44661
44691
|
for (var i = 0; i < INTERSECTION; i += STEP) {
|
|
44662
44692
|
THRESHOLD.push(i);
|
|
@@ -44700,7 +44730,7 @@ var Table = function Table(props) {
|
|
|
44700
44730
|
entries.forEach(function (entry) {
|
|
44701
44731
|
var _entry$intersectionRe;
|
|
44702
44732
|
// if the target is visibile
|
|
44703
|
-
if (entry.isIntersecting && entry.intersectionRatio >= INTERSECTION || (entry === null || entry === void 0 ? void 0 : (_entry$intersectionRe = entry.intersectionRect) === null || _entry$intersectionRe === void 0 ? void 0 : _entry$intersectionRe.height)
|
|
44733
|
+
if (entry.isIntersecting && entry.intersectionRatio >= INTERSECTION || (entry === null || entry === void 0 ? void 0 : (_entry$intersectionRe = entry.intersectionRect) === null || _entry$intersectionRe === void 0 ? void 0 : _entry$intersectionRe.height) >= lastRowHeight) {
|
|
44704
44734
|
setFloating(false);
|
|
44705
44735
|
} else {
|
|
44706
44736
|
setFloating(true);
|
|
@@ -95269,6 +95299,7 @@ exports.Radio = Radio;
|
|
|
95269
95299
|
exports.RadioIcon = RadioIcon;
|
|
95270
95300
|
exports.RefreshIcon = Refresh;
|
|
95271
95301
|
exports.ResetIcon = Reset;
|
|
95302
|
+
exports.SearchIcon = SearchIcon;
|
|
95272
95303
|
exports.ServerIcon = Server;
|
|
95273
95304
|
exports.SettingsIcon = Settings;
|
|
95274
95305
|
exports.Stepper = Stepper;
|