@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/index.js
CHANGED
|
@@ -2473,6 +2473,21 @@ var Trash = function Trash(props) {
|
|
|
2473
2473
|
});
|
|
2474
2474
|
};
|
|
2475
2475
|
|
|
2476
|
+
var SearchIcon = function SearchIcon(_ref) {
|
|
2477
|
+
var className = _ref.className;
|
|
2478
|
+
return /*#__PURE__*/jsx("svg", {
|
|
2479
|
+
className: className,
|
|
2480
|
+
width: "1.5rem",
|
|
2481
|
+
height: "1.5rem",
|
|
2482
|
+
viewBox: "0 0 17 16",
|
|
2483
|
+
fill: "#9B9BA3",
|
|
2484
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2485
|
+
children: /*#__PURE__*/jsx("path", {
|
|
2486
|
+
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"
|
|
2487
|
+
})
|
|
2488
|
+
});
|
|
2489
|
+
};
|
|
2490
|
+
|
|
2476
2491
|
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}";
|
|
2477
2492
|
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"};
|
|
2478
2493
|
n(css$Q,{});
|
|
@@ -6656,8 +6671,8 @@ Alert.defaultProps = {
|
|
|
6656
6671
|
position: 'bottom-center'
|
|
6657
6672
|
};
|
|
6658
6673
|
|
|
6659
|
-
var css$N = ".
|
|
6660
|
-
var modules_651f50a9 = {"root":"
|
|
6674
|
+
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}";
|
|
6675
|
+
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"};
|
|
6661
6676
|
n(css$N,{});
|
|
6662
6677
|
|
|
6663
6678
|
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}";
|
|
@@ -6766,7 +6781,8 @@ var BreadCrumbs = function BreadCrumbs(props) {
|
|
|
6766
6781
|
maxItems = props.maxItems,
|
|
6767
6782
|
itemsBeforeCollapse = props.itemsBeforeCollapse,
|
|
6768
6783
|
itemsAfterCollapse = props.itemsAfterCollapse,
|
|
6769
|
-
linkComponent = props.linkComponent
|
|
6784
|
+
linkComponent = props.linkComponent,
|
|
6785
|
+
theme = props.theme;
|
|
6770
6786
|
var _useState = useState(false),
|
|
6771
6787
|
_useState2 = _slicedToArray(_useState, 2),
|
|
6772
6788
|
expand = _useState2[0],
|
|
@@ -6788,6 +6804,7 @@ var BreadCrumbs = function BreadCrumbs(props) {
|
|
|
6788
6804
|
'data-state': active
|
|
6789
6805
|
},
|
|
6790
6806
|
component: !active ? linkComponent : 'span',
|
|
6807
|
+
stroke: !active ? 'regular' : 'medium',
|
|
6791
6808
|
children: [icon && icon, title && /*#__PURE__*/jsx("span", {
|
|
6792
6809
|
children: getSpacedDisplayName(title).replace(/-/g, ' ')
|
|
6793
6810
|
})]
|
|
@@ -6812,11 +6829,12 @@ var BreadCrumbs = function BreadCrumbs(props) {
|
|
|
6812
6829
|
}, 'expand'));
|
|
6813
6830
|
}
|
|
6814
6831
|
return /*#__PURE__*/jsx("div", {
|
|
6815
|
-
className: classes(modules_651f50a9.root),
|
|
6832
|
+
className: classes(modules_651f50a9.root, modules_651f50a9["theme-".concat(theme)]),
|
|
6816
6833
|
children: CrumbsDOM
|
|
6817
6834
|
});
|
|
6818
6835
|
};
|
|
6819
6836
|
BreadCrumbs.propTypes = {
|
|
6837
|
+
theme: propTypes$1.exports.oneOf(['light', 'dark']),
|
|
6820
6838
|
crumbs: propTypes$1.exports.arrayOf(propTypes$1.exports.shape({
|
|
6821
6839
|
title: propTypes$1.exports.string,
|
|
6822
6840
|
path: propTypes$1.exports.string,
|
|
@@ -6828,6 +6846,7 @@ BreadCrumbs.propTypes = {
|
|
|
6828
6846
|
linkComponent: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.element])
|
|
6829
6847
|
};
|
|
6830
6848
|
BreadCrumbs.defaultProps = {
|
|
6849
|
+
theme: 'dark',
|
|
6831
6850
|
crumbs: [],
|
|
6832
6851
|
maxItems: 4,
|
|
6833
6852
|
itemsBeforeCollapse: 2,
|
|
@@ -16566,126 +16585,134 @@ function c(Prism) {
|
|
|
16566
16585
|
delete Prism.languages.c['boolean'];
|
|
16567
16586
|
}
|
|
16568
16587
|
|
|
16569
|
-
var
|
|
16570
|
-
var
|
|
16571
|
-
|
|
16572
|
-
|
|
16573
|
-
|
|
16574
|
-
|
|
16575
|
-
|
|
16576
|
-
|
|
16577
|
-
|
|
16578
|
-
|
|
16579
|
-
|
|
16580
|
-
|
|
16581
|
-
|
|
16582
|
-
|
|
16583
|
-
|
|
16584
|
-
|
|
16585
|
-
|
|
16586
|
-
|
|
16587
|
-
|
|
16588
|
-
|
|
16589
|
-
|
|
16590
|
-
|
|
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
|
-
|
|
16588
|
+
var cpp_1;
|
|
16589
|
+
var hasRequiredCpp;
|
|
16590
|
+
|
|
16591
|
+
function requireCpp () {
|
|
16592
|
+
if (hasRequiredCpp) return cpp_1;
|
|
16593
|
+
hasRequiredCpp = 1;
|
|
16594
|
+
var refractorC = c_1;
|
|
16595
|
+
cpp_1 = cpp;
|
|
16596
|
+
cpp.displayName = 'cpp';
|
|
16597
|
+
cpp.aliases = [];
|
|
16598
|
+
function cpp(Prism) {
|
|
16599
|
+
Prism.register(refractorC)
|
|
16600
|
+
;(function (Prism) {
|
|
16601
|
+
var keyword =
|
|
16602
|
+
/\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/;
|
|
16603
|
+
var modName = /\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(
|
|
16604
|
+
/<keyword>/g,
|
|
16605
|
+
function () {
|
|
16606
|
+
return keyword.source
|
|
16607
|
+
}
|
|
16608
|
+
);
|
|
16609
|
+
Prism.languages.cpp = Prism.languages.extend('c', {
|
|
16610
|
+
'class-name': [
|
|
16611
|
+
{
|
|
16612
|
+
pattern: RegExp(
|
|
16613
|
+
/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(
|
|
16614
|
+
/<keyword>/g,
|
|
16615
|
+
function () {
|
|
16616
|
+
return keyword.source
|
|
16617
|
+
}
|
|
16618
|
+
)
|
|
16619
|
+
),
|
|
16620
|
+
lookbehind: true
|
|
16621
|
+
}, // This is intended to capture the class name of method implementations like:
|
|
16622
|
+
// void foo::bar() const {}
|
|
16623
|
+
// However! The `foo` in the above example could also be a namespace, so we only capture the class name if
|
|
16624
|
+
// it starts with an uppercase letter. This approximation should give decent results.
|
|
16625
|
+
/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/, // This will capture the class name before destructors like:
|
|
16626
|
+
// Foo::~Foo() {}
|
|
16627
|
+
/\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
|
|
16628
|
+
// parameters, so it can't be a namespace (until C++ adds generic namespaces).
|
|
16629
|
+
/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/
|
|
16630
|
+
],
|
|
16631
|
+
keyword: keyword,
|
|
16632
|
+
number: {
|
|
16633
|
+
pattern:
|
|
16634
|
+
/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,
|
|
16635
|
+
greedy: true
|
|
16636
|
+
},
|
|
16637
|
+
operator:
|
|
16638
|
+
/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,
|
|
16639
|
+
boolean: /\b(?:false|true)\b/
|
|
16640
|
+
});
|
|
16641
|
+
Prism.languages.insertBefore('cpp', 'string', {
|
|
16642
|
+
module: {
|
|
16643
|
+
// https://en.cppreference.com/w/cpp/language/modules
|
|
16644
|
+
pattern: RegExp(
|
|
16645
|
+
/(\b(?:import|module)\s+)/.source +
|
|
16646
|
+
'(?:' + // header-name
|
|
16647
|
+
/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source +
|
|
16648
|
+
'|' + // module name or partition or both
|
|
16649
|
+
/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(
|
|
16650
|
+
/<mod-name>/g,
|
|
16651
|
+
function () {
|
|
16652
|
+
return modName
|
|
16653
|
+
}
|
|
16654
|
+
) +
|
|
16655
|
+
')'
|
|
16656
|
+
),
|
|
16657
|
+
lookbehind: true,
|
|
16658
|
+
greedy: true,
|
|
16659
|
+
inside: {
|
|
16660
|
+
string: /^[<"][\s\S]+/,
|
|
16661
|
+
operator: /:/,
|
|
16662
|
+
punctuation: /\./
|
|
16663
|
+
}
|
|
16664
|
+
},
|
|
16665
|
+
'raw-string': {
|
|
16666
|
+
pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,
|
|
16667
|
+
alias: 'string',
|
|
16668
|
+
greedy: true
|
|
16669
|
+
}
|
|
16670
|
+
});
|
|
16671
|
+
Prism.languages.insertBefore('cpp', 'keyword', {
|
|
16672
|
+
'generic-function': {
|
|
16673
|
+
pattern: /\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,
|
|
16674
|
+
inside: {
|
|
16675
|
+
function: /^\w+/,
|
|
16676
|
+
generic: {
|
|
16677
|
+
pattern: /<[\s\S]+/,
|
|
16678
|
+
alias: 'class-name',
|
|
16679
|
+
inside: Prism.languages.cpp
|
|
16680
|
+
}
|
|
16681
|
+
}
|
|
16682
|
+
}
|
|
16683
|
+
});
|
|
16684
|
+
Prism.languages.insertBefore('cpp', 'operator', {
|
|
16685
|
+
'double-colon': {
|
|
16686
|
+
pattern: /::/,
|
|
16687
|
+
alias: 'punctuation'
|
|
16688
|
+
}
|
|
16689
|
+
});
|
|
16690
|
+
Prism.languages.insertBefore('cpp', 'class-name', {
|
|
16691
|
+
// the base clause is an optional list of parent classes
|
|
16692
|
+
// https://en.cppreference.com/w/cpp/language/class
|
|
16693
|
+
'base-clause': {
|
|
16694
|
+
pattern:
|
|
16695
|
+
/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,
|
|
16696
|
+
lookbehind: true,
|
|
16697
|
+
greedy: true,
|
|
16698
|
+
inside: Prism.languages.extend('cpp', {})
|
|
16699
|
+
}
|
|
16700
|
+
});
|
|
16701
|
+
Prism.languages.insertBefore(
|
|
16702
|
+
'inside',
|
|
16703
|
+
'double-colon',
|
|
16704
|
+
{
|
|
16705
|
+
// All untokenized words that are not namespaces should be class names
|
|
16706
|
+
'class-name': /\b[a-z_]\w*\b(?!\s*::)/i
|
|
16707
|
+
},
|
|
16708
|
+
Prism.languages.cpp['base-clause']
|
|
16709
|
+
);
|
|
16710
|
+
})(Prism);
|
|
16711
|
+
}
|
|
16712
|
+
return cpp_1;
|
|
16686
16713
|
}
|
|
16687
16714
|
|
|
16688
|
-
var refractorCpp$1 =
|
|
16715
|
+
var refractorCpp$1 = requireCpp();
|
|
16689
16716
|
var arduino_1 = arduino;
|
|
16690
16717
|
arduino.displayName = 'arduino';
|
|
16691
16718
|
arduino.aliases = ['ino'];
|
|
@@ -18695,7 +18722,7 @@ function cfscript(Prism) {
|
|
|
18695
18722
|
Prism.languages.cfc = Prism.languages['cfscript'];
|
|
18696
18723
|
}
|
|
18697
18724
|
|
|
18698
|
-
var refractorCpp =
|
|
18725
|
+
var refractorCpp = requireCpp();
|
|
18699
18726
|
var chaiscript_1 = chaiscript;
|
|
18700
18727
|
chaiscript.displayName = 'chaiscript';
|
|
18701
18728
|
chaiscript.aliases = [];
|
|
@@ -38927,7 +38954,7 @@ refractor.register(requireCobol());
|
|
|
38927
38954
|
refractor.register(requireCoffeescript());
|
|
38928
38955
|
refractor.register(requireConcurnas());
|
|
38929
38956
|
refractor.register(requireCoq());
|
|
38930
|
-
refractor.register(
|
|
38957
|
+
refractor.register(requireCpp());
|
|
38931
38958
|
refractor.register(requireCrystal());
|
|
38932
38959
|
refractor.register(requireCsharp());
|
|
38933
38960
|
refractor.register(requireCshtml());
|
|
@@ -43341,8 +43368,8 @@ function getPagination(curr, total, limit) {
|
|
|
43341
43368
|
return pages;
|
|
43342
43369
|
}
|
|
43343
43370
|
|
|
43344
|
-
var css$p = ".
|
|
43345
|
-
var modules_a3d40e77 = {"root":"
|
|
43371
|
+
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}";
|
|
43372
|
+
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"};
|
|
43346
43373
|
n(css$p,{});
|
|
43347
43374
|
|
|
43348
43375
|
var dropdownOptions = ['10', '25', '50', '100', '200', '250'];
|
|
@@ -43463,7 +43490,6 @@ var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
43463
43490
|
className: modules_a3d40e77['page-numbers'],
|
|
43464
43491
|
children: [/*#__PURE__*/jsx(Button, {
|
|
43465
43492
|
size: "auto",
|
|
43466
|
-
flexible: true,
|
|
43467
43493
|
disabled: currentPage === 1,
|
|
43468
43494
|
title: "Prev",
|
|
43469
43495
|
onClick: function onClick() {
|
|
@@ -43498,7 +43524,6 @@ var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
43498
43524
|
})
|
|
43499
43525
|
}), /*#__PURE__*/jsx(Button, {
|
|
43500
43526
|
size: "auto",
|
|
43501
|
-
flexible: true,
|
|
43502
43527
|
disabled: currentPage === totalPages,
|
|
43503
43528
|
title: "Next",
|
|
43504
43529
|
onClick: function onClick() {
|
|
@@ -43534,15 +43559,20 @@ var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
43534
43559
|
inputProps: {
|
|
43535
43560
|
min: 1,
|
|
43536
43561
|
max: totalPages,
|
|
43537
|
-
required: true
|
|
43562
|
+
required: true,
|
|
43563
|
+
placeholder: 'Jump to Page'
|
|
43538
43564
|
},
|
|
43539
43565
|
ref: jumpPageRef,
|
|
43540
43566
|
type: "number",
|
|
43541
|
-
className: modules_a3d40e77.inputbox
|
|
43567
|
+
className: modules_a3d40e77.inputbox,
|
|
43568
|
+
LeftComponent: function LeftComponent() {
|
|
43569
|
+
return /*#__PURE__*/jsx(SearchIcon, {
|
|
43570
|
+
className: modules_a3d40e77.icon
|
|
43571
|
+
});
|
|
43572
|
+
}
|
|
43542
43573
|
}),
|
|
43543
43574
|
component2: /*#__PURE__*/jsx(Button, {
|
|
43544
|
-
|
|
43545
|
-
size: "medium",
|
|
43575
|
+
size: "auto",
|
|
43546
43576
|
variant: "contained",
|
|
43547
43577
|
className: modules_a3d40e77.button,
|
|
43548
43578
|
rightComponent: function rightComponent() {
|
|
@@ -44636,7 +44666,7 @@ var modules_2e8406c7 = {"root":"Table_module_root__d17cb64f","table":"Table_modu
|
|
|
44636
44666
|
n(css$9,{});
|
|
44637
44667
|
|
|
44638
44668
|
var INTERSECTION = 1;
|
|
44639
|
-
var STEP = 0.
|
|
44669
|
+
var STEP = 0.05;
|
|
44640
44670
|
var THRESHOLD = [];
|
|
44641
44671
|
for (var i = 0; i < INTERSECTION; i += STEP) {
|
|
44642
44672
|
THRESHOLD.push(i);
|
|
@@ -44680,7 +44710,7 @@ var Table = function Table(props) {
|
|
|
44680
44710
|
entries.forEach(function (entry) {
|
|
44681
44711
|
var _entry$intersectionRe;
|
|
44682
44712
|
// if the target is visibile
|
|
44683
|
-
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)
|
|
44713
|
+
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) {
|
|
44684
44714
|
setFloating(false);
|
|
44685
44715
|
} else {
|
|
44686
44716
|
setFloating(true);
|
|
@@ -95189,4 +95219,4 @@ DisplayPicture.defaultProps = {
|
|
|
95189
95219
|
size: 'sm'
|
|
95190
95220
|
};
|
|
95191
95221
|
|
|
95192
|
-
export { Accordion, Alert, AlertIcon, AngleDouble as AngleDoubleIcon, Arrow$1 as ArrowIcon, BASE_URLS, BaseButton, BaseCell, BaseHorizontalBarChart, BaseModal, BasePieChart, BaseSidePanel, BaseTable, BaseVerticalBarChart, BaseWidget, BreadCrumbs, BreadcrumbSeperator as BreadcrumbSeperatorIcon, Button, COLORS, Calender$1 as CalenderIcon, Caret as CaretIcon, Checkbox, CheckboxIcon, Chevron as ChevronIcon, Chip, CodeSnippet, Columns$1 as ColumnsIcon, Copy as CopyIcon, Cross$1 as CrossIcon, DAYS, DatePicker, Delete as DeleteIcon, DialogBox, DisplayPicture, Download as DownloadIcon, Dropdown, DropdownItem, Edit as EditIcon, ExpandArrowAlt as ExpandArrowAltIcon, FULL_MONTHS, Filter as FilterIcon, HalfShade as HalfShadeIcon, HierarchyBrowser, HierarchyItem, Link, MONTHS, MagnifyingGlass as MagnifyingGlassIcon, Nut as NutIcon, PageHeader, Pagination, PaginationList, Plus as PlusIcon, Popover, Popper, Radio, RadioIcon, Refresh as RefreshIcon, Reset as ResetIcon, Server as ServerIcon, Settings as SettingsIcon, Stepper, Table, TableCell, TableChip, TableChips, TableColumn, TableFilters, Tabs, Text, TextField, Tick as TickIcon, TimePicker, Toggle, Tooltip, Trash as TrashIcon, View as ViewIcon, classes, cloneDeep, defaultProps, doubleDigitted, get$1 as get, getCSSVariableValue, getCurrentSearchParams, getDateFromEpoch, getDatesInAMonth, getDayInfo, getInitialsOfName, getJSDateFromEpoch, getPagination, getSpacedDisplayName, getTimeFromEpoch, inputHelper, propTypes, stringToPath, sumArrayOfObjects, uniqueArray, uniqueArrayOfObjects, useOutsideClickListener, usePagination, useResize, useRowFilter };
|
|
95222
|
+
export { Accordion, Alert, AlertIcon, AngleDouble as AngleDoubleIcon, Arrow$1 as ArrowIcon, BASE_URLS, BaseButton, BaseCell, BaseHorizontalBarChart, BaseModal, BasePieChart, BaseSidePanel, BaseTable, BaseVerticalBarChart, BaseWidget, BreadCrumbs, BreadcrumbSeperator as BreadcrumbSeperatorIcon, Button, COLORS, Calender$1 as CalenderIcon, Caret as CaretIcon, Checkbox, CheckboxIcon, Chevron as ChevronIcon, Chip, CodeSnippet, Columns$1 as ColumnsIcon, Copy as CopyIcon, Cross$1 as CrossIcon, DAYS, DatePicker, Delete as DeleteIcon, DialogBox, DisplayPicture, Download as DownloadIcon, Dropdown, DropdownItem, Edit as EditIcon, ExpandArrowAlt as ExpandArrowAltIcon, FULL_MONTHS, Filter as FilterIcon, HalfShade as HalfShadeIcon, HierarchyBrowser, HierarchyItem, Link, MONTHS, MagnifyingGlass as MagnifyingGlassIcon, Nut as NutIcon, PageHeader, Pagination, PaginationList, Plus as PlusIcon, Popover, Popper, Radio, RadioIcon, Refresh as RefreshIcon, Reset as ResetIcon, SearchIcon, Server as ServerIcon, Settings as SettingsIcon, Stepper, Table, TableCell, TableChip, TableChips, TableColumn, TableFilters, Tabs, Text, TextField, Tick as TickIcon, TimePicker, Toggle, Tooltip, Trash as TrashIcon, View as ViewIcon, classes, cloneDeep, defaultProps, doubleDigitted, get$1 as get, getCSSVariableValue, getCurrentSearchParams, getDateFromEpoch, getDatesInAMonth, getDayInfo, getInitialsOfName, getJSDateFromEpoch, getPagination, getSpacedDisplayName, getTimeFromEpoch, inputHelper, propTypes, stringToPath, sumArrayOfObjects, uniqueArray, uniqueArrayOfObjects, useOutsideClickListener, usePagination, useResize, useRowFilter };
|
package/package.json
CHANGED
package/styles/main.css
CHANGED