notebook 7.3.0rc0__py3-none-any.whl → 7.3.1__py3-none-any.whl
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.
Potentially problematic release.
This version of notebook might be problematic. Click here for more details.
- notebook/_version.py +1 -1
- notebook/static/{1650.87effa8120f5c75793d2.js → 1650.f2b92d4d553bfe8a53c0.js} +4 -4
- notebook/static/{1650.87effa8120f5c75793d2.js.map → 1650.f2b92d4d553bfe8a53c0.js.map} +1 -1
- notebook/static/{1684.fa69e1c4e38197db875c.js → 1684.3af5b8529a15848c1264.js} +5 -5
- notebook/static/{1684.fa69e1c4e38197db875c.js.map → 1684.3af5b8529a15848c1264.js.map} +1 -1
- notebook/static/{4864.c22882a8feba283c53ca.js → 1871.29951b77779d94d726d1.js} +2 -1227
- notebook/static/1871.29951b77779d94d726d1.js.map +1 -0
- notebook/static/{2065.4b2bfec98774b3165d4a.js → 2065.e9b5d8d0a8bec3304454.js} +3 -3
- notebook/static/{2065.4b2bfec98774b3165d4a.js.map → 2065.e9b5d8d0a8bec3304454.js.map} +1 -1
- notebook/static/2816.03541f3103bf4c09e591.js +2454 -0
- notebook/static/2816.03541f3103bf4c09e591.js.map +1 -0
- notebook/static/{2913.40af140ee433938c1393.js → 2913.274b19d8f201991f4a69.js} +3 -3
- notebook/static/{2913.40af140ee433938c1393.js.map → 2913.274b19d8f201991f4a69.js.map} +1 -1
- notebook/static/{3146.d9be433c38447539b2ae.js → 3146.97ceb65ac870fdcdfbe8.js} +3 -3
- notebook/static/{3146.d9be433c38447539b2ae.js.map → 3146.97ceb65ac870fdcdfbe8.js.map} +1 -1
- notebook/static/{3768.5acd3111e6f1975cfe03.js → 3768.6343619807e7c2a9d714.js} +19 -19
- notebook/static/{7302.7dea224d66b845d1aba3.js.map → 3768.6343619807e7c2a9d714.js.map} +1 -1
- notebook/static/417.29f636ec8be265b7e480.js +35732 -0
- notebook/static/417.29f636ec8be265b7e480.js.map +1 -0
- notebook/static/{1960.7d12087e25eb6449e7ce.js → 4201.20132290f384a6b6393d.js} +2 -2
- notebook/static/{1960.7d12087e25eb6449e7ce.js.map → 4201.20132290f384a6b6393d.js.map} +1 -1
- notebook/static/{4382.4fc6da1dc03e651b486a.js → 4382.6fab9cdf40a3339ed3d4.js} +3 -3
- notebook/static/{4382.4fc6da1dc03e651b486a.js.map → 4382.6fab9cdf40a3339ed3d4.js.map} +1 -1
- notebook/static/{4630.64ab2753f3286b5a778b.js → 4630.3883ae147294cfade724.js} +2 -2
- notebook/static/{4630.64ab2753f3286b5a778b.js.map → 4630.3883ae147294cfade724.js.map} +1 -1
- notebook/static/{4645.0e67c6d0dceea70ea632.js → 4645.859c9a8078e07bd9720f.js} +5 -5
- notebook/static/{4645.0e67c6d0dceea70ea632.js.map → 4645.859c9a8078e07bd9720f.js.map} +1 -1
- notebook/static/{4837.83ca0f4b34bedf9ca04b.js → 4837.36bee8533ee93068ee88.js} +3 -3
- notebook/static/{4837.83ca0f4b34bedf9ca04b.js.map → 4837.36bee8533ee93068ee88.js.map} +1 -1
- notebook/static/{5135.fec9e8f8d4a46cb05da6.js → 5135.ec51053c912f00c60e74.js} +11 -11
- notebook/static/{5135.fec9e8f8d4a46cb05da6.js.map → 5135.ec51053c912f00c60e74.js.map} +1 -1
- notebook/static/{5573.6ac07c855f945dc1f930.js → 5573.a4598929db84c5f78ee2.js} +17 -17
- notebook/static/{5573.6ac07c855f945dc1f930.js.map → 5573.a4598929db84c5f78ee2.js.map} +1 -1
- notebook/static/{5601.4c763101de025f83f28e.js → 5601.ee83a00a07b41941d934.js} +5 -5
- notebook/static/{5601.4c763101de025f83f28e.js.map → 5601.ee83a00a07b41941d934.js.map} +1 -1
- notebook/static/{6345.06c2149842cd8d1881c9.js → 6345.c4a72953c198541b9a7f.js} +5 -5
- notebook/static/{6345.06c2149842cd8d1881c9.js.map → 6345.c4a72953c198541b9a7f.js.map} +1 -1
- notebook/static/{7302.7dea224d66b845d1aba3.js → 7302.a2513413e33b84efedea.js} +19 -19
- notebook/static/{3768.5acd3111e6f1975cfe03.js.map → 7302.a2513413e33b84efedea.js.map} +1 -1
- notebook/static/{7906.386fb917c7a78bd6575a.js → 7906.a9556ca8e2504977987c.js} +3 -3
- notebook/static/{7906.386fb917c7a78bd6575a.js.map → 7906.a9556ca8e2504977987c.js.map} +1 -1
- notebook/static/{8579.672ef05f50ec1a639499.js → 8579.3dec3a2251606938dba4.js} +13 -13
- notebook/static/{8579.672ef05f50ec1a639499.js.map → 8579.3dec3a2251606938dba4.js.map} +1 -1
- notebook/static/{3488.405b2a619b7b87fc6f6b.js → 8608.2c46e2e83b7543bfc32e.js} +2 -2
- notebook/static/{3488.405b2a619b7b87fc6f6b.js.map → 8608.2c46e2e83b7543bfc32e.js.map} +1 -1
- notebook/static/{8781.559293b7acc5c9a6c85c.js → 8781.adc12eca88ec3b76d38b.js} +57 -57
- notebook/static/{8781.559293b7acc5c9a6c85c.js.map → 8781.adc12eca88ec3b76d38b.js.map} +1 -1
- notebook/static/{8875.3576877a040347035e62.js → 8875.117e3e9f3836340e549b.js} +4 -4
- notebook/static/{8875.3576877a040347035e62.js.map → 8875.117e3e9f3836340e549b.js.map} +1 -1
- notebook/static/{9068.97733adfadd485aa7cd7.js → 9068.f5036cc4dc9f0a25d015.js} +3 -3
- notebook/static/{9068.97733adfadd485aa7cd7.js.map → 9068.f5036cc4dc9f0a25d015.js.map} +1 -1
- notebook/static/{9380.dbb97caa9c457da5267e.js → 9380.297bbac8b3a9ab278381.js} +5 -5
- notebook/static/{9380.dbb97caa9c457da5267e.js.map → 9380.297bbac8b3a9ab278381.js.map} +1 -1
- notebook/static/main.2d9be431d24701c6dc8c.js +1174 -0
- notebook/static/main.2d9be431d24701c6dc8c.js.map +1 -0
- notebook/static/{notebook_core.8f3a44cab16bab9bd8f4.js → notebook_core.11ed4ec3cbd911d6d615.js} +1093 -992
- notebook/static/{notebook_core.8f3a44cab16bab9bd8f4.js.map → notebook_core.11ed4ec3cbd911d6d615.js.map} +1 -1
- notebook/static/third-party-licenses.json +101 -101
- notebook/templates/consoles.html +1 -1
- notebook/templates/edit.html +1 -1
- notebook/templates/error.html +1 -1
- notebook/templates/notebooks.html +1 -1
- notebook/templates/terminals.html +1 -1
- notebook/templates/tree.html +1 -1
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +14 -14
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +4 -4
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +9 -9
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +15 -15
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +11 -11
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +10 -10
- notebook-7.3.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.6540c9fb9260de5622ef.js → notebook-7.3.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.7f0a96c20070714b04c8.js +1 -1
- notebook-7.3.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.accb8657e1346f0444ce.js +1 -0
- notebook-7.3.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/983.1840301bae62c7e769b5.js +1 -0
- notebook-7.3.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.3922a57136e4fe7d7670.js +1 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
- {notebook-7.3.0rc0.dist-info → notebook-7.3.1.dist-info}/METADATA +3 -3
- {notebook-7.3.0rc0.dist-info → notebook-7.3.1.dist-info}/RECORD +102 -106
- notebook/static/2424.6f13f59f4bc472c3d07d.js +0 -1278
- notebook/static/2424.6f13f59f4bc472c3d07d.js.map +0 -1
- notebook/static/4864.c22882a8feba283c53ca.js.map +0 -1
- notebook/static/5430.98e90178da18bdd99116.js +0 -2145
- notebook/static/5430.98e90178da18bdd99116.js.map +0 -1
- notebook/static/8635.4c8189485e3c65e7ecc0.js +0 -11476
- notebook/static/8635.4c8189485e3c65e7ecc0.js.map +0 -1
- notebook/static/9672.b55f9504fd5af290b047.js +0 -774
- notebook/static/9672.b55f9504fd5af290b047.js.map +0 -1
- notebook/static/main.ffe733f3a4b0a84e244f.js +0 -1164
- notebook/static/main.ffe733f3a4b0a84e244f.js.map +0 -1
- notebook-7.3.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/454.a8fd180a103fb540edd4.js +0 -1
- notebook-7.3.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.e5e6d72d43bb1376115c.js +0 -1
- notebook-7.3.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.a440964232a20ad16779.js +0 -1
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/applications/jupyter-notebook.desktop +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/full-width-notebook.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js +0 -0
- {notebook-7.3.0rc0.data → notebook-7.3.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
- {notebook-7.3.0rc0.dist-info → notebook-7.3.1.dist-info}/WHEEL +0 -0
- {notebook-7.3.0rc0.dist-info → notebook-7.3.1.dist-info}/entry_points.txt +0 -0
- {notebook-7.3.0rc0.dist-info → notebook-7.3.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,2454 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
(self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] = self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] || []).push([[2816],{
|
|
3
|
+
|
|
4
|
+
/***/ 92816:
|
|
5
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
|
+
|
|
7
|
+
// ESM COMPAT FLAG
|
|
8
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9
|
+
|
|
10
|
+
// EXPORTS
|
|
11
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
12
|
+
Accordion: () => (/* reexport */ Accordion),
|
|
13
|
+
AccordionItem: () => (/* reexport */ AccordionItem),
|
|
14
|
+
Anchor: () => (/* reexport */ Anchor),
|
|
15
|
+
AnchoredRegion: () => (/* reexport */ AnchoredRegion),
|
|
16
|
+
Avatar: () => (/* reexport */ Avatar),
|
|
17
|
+
Badge: () => (/* reexport */ Badge),
|
|
18
|
+
Breadcrumb: () => (/* reexport */ Breadcrumb),
|
|
19
|
+
BreadcrumbItem: () => (/* reexport */ BreadcrumbItem),
|
|
20
|
+
Button: () => (/* reexport */ Button),
|
|
21
|
+
Card: () => (/* reexport */ Card),
|
|
22
|
+
Checkbox: () => (/* reexport */ Checkbox),
|
|
23
|
+
Combobox: () => (/* reexport */ Combobox),
|
|
24
|
+
DataGrid: () => (/* reexport */ DataGrid),
|
|
25
|
+
DataGridCell: () => (/* reexport */ DataGridCell),
|
|
26
|
+
DataGridRow: () => (/* reexport */ DataGridRow),
|
|
27
|
+
DateField: () => (/* reexport */ DateField),
|
|
28
|
+
Dialog: () => (/* reexport */ Dialog),
|
|
29
|
+
Disclosure: () => (/* reexport */ Disclosure),
|
|
30
|
+
Divider: () => (/* reexport */ Divider),
|
|
31
|
+
Listbox: () => (/* reexport */ Listbox),
|
|
32
|
+
Menu: () => (/* reexport */ Menu),
|
|
33
|
+
MenuItem: () => (/* reexport */ MenuItem),
|
|
34
|
+
NumberField: () => (/* reexport */ NumberField),
|
|
35
|
+
Option: () => (/* reexport */ Option),
|
|
36
|
+
Picker: () => (/* reexport */ Picker),
|
|
37
|
+
PickerList: () => (/* reexport */ PickerList),
|
|
38
|
+
PickerListItem: () => (/* reexport */ PickerListItem),
|
|
39
|
+
PickerMenu: () => (/* reexport */ PickerMenu),
|
|
40
|
+
PickerMenuOption: () => (/* reexport */ PickerMenuOption),
|
|
41
|
+
Progress: () => (/* reexport */ Progress),
|
|
42
|
+
ProgressRing: () => (/* reexport */ ProgressRing),
|
|
43
|
+
Radio: () => (/* reexport */ Radio),
|
|
44
|
+
RadioGroup: () => (/* reexport */ RadioGroup),
|
|
45
|
+
Search: () => (/* reexport */ Search),
|
|
46
|
+
Select: () => (/* reexport */ Select),
|
|
47
|
+
Skeleton: () => (/* reexport */ Skeleton),
|
|
48
|
+
Slider: () => (/* reexport */ Slider),
|
|
49
|
+
SliderLabel: () => (/* reexport */ SliderLabel),
|
|
50
|
+
Switch: () => (/* reexport */ Switch),
|
|
51
|
+
Tab: () => (/* reexport */ Tab),
|
|
52
|
+
TabPanel: () => (/* reexport */ TabPanel),
|
|
53
|
+
Tabs: () => (/* reexport */ Tabs),
|
|
54
|
+
TextArea: () => (/* reexport */ TextArea),
|
|
55
|
+
TextField: () => (/* reexport */ TextField),
|
|
56
|
+
Toolbar: () => (/* reexport */ Toolbar),
|
|
57
|
+
Tooltip: () => (/* reexport */ Tooltip),
|
|
58
|
+
TreeItem: () => (/* reexport */ TreeItem),
|
|
59
|
+
TreeView: () => (/* reexport */ TreeView)
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
// EXTERNAL MODULE: consume shared module (default) @jupyter/web-components@~0.16.7 (singleton) (fallback: ../node_modules/@jupyter/web-components/dist/esm/index.js)
|
|
63
|
+
var index_js_ = __webpack_require__(83074);
|
|
64
|
+
// EXTERNAL MODULE: consume shared module (default) react@~18.2.0 (singleton) (fallback: ../node_modules/react/index.js)
|
|
65
|
+
var react_index_js_ = __webpack_require__(78156);
|
|
66
|
+
var react_index_js_default = /*#__PURE__*/__webpack_require__.n(react_index_js_);
|
|
67
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/react-utils.js
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
function useProperties(targetElement, propName, value) {
|
|
71
|
+
(0,react_index_js_.useEffect)(() => {
|
|
72
|
+
if (
|
|
73
|
+
value !== undefined &&
|
|
74
|
+
targetElement.current &&
|
|
75
|
+
targetElement.current[propName] !== value
|
|
76
|
+
) {
|
|
77
|
+
// add try catch to avoid errors when setting read-only properties
|
|
78
|
+
try {
|
|
79
|
+
targetElement.current[propName] = value;
|
|
80
|
+
} catch (e) {
|
|
81
|
+
console.warn(e);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}, [value, targetElement.current]);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function useEventListener(targetElement, eventName, eventHandler) {
|
|
88
|
+
(0,react_index_js_.useLayoutEffect)(() => {
|
|
89
|
+
if (eventHandler !== undefined) {
|
|
90
|
+
targetElement?.current?.addEventListener(eventName, eventHandler);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return () => {
|
|
94
|
+
if (eventHandler?.cancel) {
|
|
95
|
+
eventHandler.cancel();
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
targetElement?.current?.removeEventListener(eventName, eventHandler);
|
|
99
|
+
};
|
|
100
|
+
}, [eventName, eventHandler, targetElement.current]);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Accordion.js
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpAccordion)());
|
|
108
|
+
|
|
109
|
+
const Accordion = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
110
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
111
|
+
const { className, expandMode, ...filteredProps } = props;
|
|
112
|
+
|
|
113
|
+
/** Event listeners - run once */
|
|
114
|
+
useEventListener(ref, 'change', props.onChange);
|
|
115
|
+
|
|
116
|
+
/** Properties - run whenever a property has changed */
|
|
117
|
+
|
|
118
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
119
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
120
|
+
|
|
121
|
+
return react_index_js_default().createElement(
|
|
122
|
+
'jp-accordion',
|
|
123
|
+
{
|
|
124
|
+
ref,
|
|
125
|
+
...filteredProps,
|
|
126
|
+
'expand-mode': props.expandMode || props['expand-mode'],
|
|
127
|
+
class: props.className,
|
|
128
|
+
exportparts: props.exportparts,
|
|
129
|
+
for: props.htmlFor,
|
|
130
|
+
part: props.part,
|
|
131
|
+
tabindex: props.tabIndex,
|
|
132
|
+
style: { ...props.style }
|
|
133
|
+
},
|
|
134
|
+
props.children
|
|
135
|
+
);
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/AccordionItem.js
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpAccordionItem)());
|
|
143
|
+
|
|
144
|
+
const AccordionItem = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
145
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
146
|
+
const { className, headingLevel, id, expanded, ...filteredProps } = props;
|
|
147
|
+
|
|
148
|
+
/** Event listeners - run once */
|
|
149
|
+
useEventListener(ref, 'change', props.onChange);
|
|
150
|
+
|
|
151
|
+
/** Properties - run whenever a property has changed */
|
|
152
|
+
useProperties(ref, 'expanded', props.expanded);
|
|
153
|
+
|
|
154
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
155
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
156
|
+
|
|
157
|
+
return react_index_js_default().createElement(
|
|
158
|
+
'jp-accordion-item',
|
|
159
|
+
{
|
|
160
|
+
ref,
|
|
161
|
+
...filteredProps,
|
|
162
|
+
'heading-level': props.headingLevel || props['heading-level'],
|
|
163
|
+
id: props.id,
|
|
164
|
+
class: props.className,
|
|
165
|
+
exportparts: props.exportparts,
|
|
166
|
+
for: props.htmlFor,
|
|
167
|
+
part: props.part,
|
|
168
|
+
tabindex: props.tabIndex,
|
|
169
|
+
style: { ...props.style }
|
|
170
|
+
},
|
|
171
|
+
props.children
|
|
172
|
+
);
|
|
173
|
+
});
|
|
174
|
+
|
|
175
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/AnchoredRegion.js
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpAnchoredRegion)());
|
|
180
|
+
|
|
181
|
+
const AnchoredRegion = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
182
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
183
|
+
const {
|
|
184
|
+
className,
|
|
185
|
+
horizontalViewportLock,
|
|
186
|
+
horizontalInset,
|
|
187
|
+
verticalViewportLock,
|
|
188
|
+
verticalInset,
|
|
189
|
+
fixedPlacement,
|
|
190
|
+
anchor,
|
|
191
|
+
viewport,
|
|
192
|
+
horizontalPositioningMode,
|
|
193
|
+
horizontalDefaultPosition,
|
|
194
|
+
horizontalThreshold,
|
|
195
|
+
horizontalScaling,
|
|
196
|
+
verticalPositioningMode,
|
|
197
|
+
verticalDefaultPosition,
|
|
198
|
+
verticalThreshold,
|
|
199
|
+
verticalScaling,
|
|
200
|
+
autoUpdateMode,
|
|
201
|
+
anchorElement,
|
|
202
|
+
viewportElement,
|
|
203
|
+
verticalPosition,
|
|
204
|
+
horizontalPosition,
|
|
205
|
+
update,
|
|
206
|
+
...filteredProps
|
|
207
|
+
} = props;
|
|
208
|
+
|
|
209
|
+
/** Event listeners - run once */
|
|
210
|
+
useEventListener(ref, 'loaded', props.onLoaded);
|
|
211
|
+
useEventListener(ref, 'positionchange', props.onPositionchange);
|
|
212
|
+
|
|
213
|
+
/** Properties - run whenever a property has changed */
|
|
214
|
+
useProperties(ref, 'anchorElement', props.anchorElement);
|
|
215
|
+
useProperties(ref, 'viewportElement', props.viewportElement);
|
|
216
|
+
useProperties(ref, 'verticalPosition', props.verticalPosition);
|
|
217
|
+
useProperties(ref, 'horizontalPosition', props.horizontalPosition);
|
|
218
|
+
useProperties(ref, 'update', props.update);
|
|
219
|
+
|
|
220
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
221
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
222
|
+
|
|
223
|
+
return react_index_js_default().createElement(
|
|
224
|
+
'jp-anchored-region',
|
|
225
|
+
{
|
|
226
|
+
ref,
|
|
227
|
+
...filteredProps,
|
|
228
|
+
anchor: props.anchor,
|
|
229
|
+
viewport: props.viewport,
|
|
230
|
+
'horizontal-positioning-mode':
|
|
231
|
+
props.horizontalPositioningMode || props['horizontal-positioning-mode'],
|
|
232
|
+
'horizontal-default-position':
|
|
233
|
+
props.horizontalDefaultPosition || props['horizontal-default-position'],
|
|
234
|
+
'horizontal-threshold':
|
|
235
|
+
props.horizontalThreshold || props['horizontal-threshold'],
|
|
236
|
+
'horizontal-scaling':
|
|
237
|
+
props.horizontalScaling || props['horizontal-scaling'],
|
|
238
|
+
'vertical-positioning-mode':
|
|
239
|
+
props.verticalPositioningMode || props['vertical-positioning-mode'],
|
|
240
|
+
'vertical-default-position':
|
|
241
|
+
props.verticalDefaultPosition || props['vertical-default-position'],
|
|
242
|
+
'vertical-threshold':
|
|
243
|
+
props.verticalThreshold || props['vertical-threshold'],
|
|
244
|
+
'vertical-scaling': props.verticalScaling || props['vertical-scaling'],
|
|
245
|
+
'auto-update-mode': props.autoUpdateMode || props['auto-update-mode'],
|
|
246
|
+
class: props.className,
|
|
247
|
+
exportparts: props.exportparts,
|
|
248
|
+
for: props.htmlFor,
|
|
249
|
+
part: props.part,
|
|
250
|
+
tabindex: props.tabIndex,
|
|
251
|
+
'horizontal-viewport-lock': props.horizontalViewportLock ? '' : undefined,
|
|
252
|
+
'horizontal-inset': props.horizontalInset ? '' : undefined,
|
|
253
|
+
'vertical-viewport-lock': props.verticalViewportLock ? '' : undefined,
|
|
254
|
+
'vertical-inset': props.verticalInset ? '' : undefined,
|
|
255
|
+
'fixed-placement': props.fixedPlacement ? '' : undefined,
|
|
256
|
+
style: { ...props.style }
|
|
257
|
+
},
|
|
258
|
+
props.children
|
|
259
|
+
);
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Anchor.js
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpAnchor)());
|
|
267
|
+
|
|
268
|
+
const Anchor = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
269
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
270
|
+
const {
|
|
271
|
+
className,
|
|
272
|
+
appearance,
|
|
273
|
+
download,
|
|
274
|
+
href,
|
|
275
|
+
hreflang,
|
|
276
|
+
ping,
|
|
277
|
+
referrerpolicy,
|
|
278
|
+
rel,
|
|
279
|
+
target,
|
|
280
|
+
type,
|
|
281
|
+
control,
|
|
282
|
+
...filteredProps
|
|
283
|
+
} = props;
|
|
284
|
+
|
|
285
|
+
/** Properties - run whenever a property has changed */
|
|
286
|
+
useProperties(ref, 'control', props.control);
|
|
287
|
+
|
|
288
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
289
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
290
|
+
|
|
291
|
+
return react_index_js_default().createElement(
|
|
292
|
+
'jp-anchor',
|
|
293
|
+
{
|
|
294
|
+
ref,
|
|
295
|
+
...filteredProps,
|
|
296
|
+
appearance: props.appearance,
|
|
297
|
+
download: props.download,
|
|
298
|
+
href: props.href,
|
|
299
|
+
hreflang: props.hreflang,
|
|
300
|
+
ping: props.ping,
|
|
301
|
+
referrerpolicy: props.referrerpolicy,
|
|
302
|
+
rel: props.rel,
|
|
303
|
+
target: props.target,
|
|
304
|
+
type: props.type,
|
|
305
|
+
class: props.className,
|
|
306
|
+
exportparts: props.exportparts,
|
|
307
|
+
for: props.htmlFor,
|
|
308
|
+
part: props.part,
|
|
309
|
+
tabindex: props.tabIndex,
|
|
310
|
+
style: { ...props.style }
|
|
311
|
+
},
|
|
312
|
+
props.children
|
|
313
|
+
);
|
|
314
|
+
});
|
|
315
|
+
|
|
316
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Avatar.js
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpAvatar)());
|
|
321
|
+
|
|
322
|
+
const Avatar = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
323
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
324
|
+
const { className, src, alt, fill, color, link, shape, ...filteredProps } =
|
|
325
|
+
props;
|
|
326
|
+
|
|
327
|
+
/** Properties - run whenever a property has changed */
|
|
328
|
+
|
|
329
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
330
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
331
|
+
|
|
332
|
+
return react_index_js_default().createElement(
|
|
333
|
+
'jp-avatar',
|
|
334
|
+
{
|
|
335
|
+
ref,
|
|
336
|
+
...filteredProps,
|
|
337
|
+
src: props.src,
|
|
338
|
+
alt: props.alt,
|
|
339
|
+
fill: props.fill,
|
|
340
|
+
color: props.color,
|
|
341
|
+
link: props.link,
|
|
342
|
+
shape: props.shape,
|
|
343
|
+
class: props.className,
|
|
344
|
+
exportparts: props.exportparts,
|
|
345
|
+
for: props.htmlFor,
|
|
346
|
+
part: props.part,
|
|
347
|
+
tabindex: props.tabIndex,
|
|
348
|
+
style: { ...props.style }
|
|
349
|
+
},
|
|
350
|
+
props.children
|
|
351
|
+
);
|
|
352
|
+
});
|
|
353
|
+
|
|
354
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Badge.js
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpBadge)());
|
|
359
|
+
|
|
360
|
+
const Badge = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
361
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
362
|
+
const { className, fill, color, circular, ...filteredProps } = props;
|
|
363
|
+
|
|
364
|
+
/** Properties - run whenever a property has changed */
|
|
365
|
+
useProperties(ref, 'circular', props.circular);
|
|
366
|
+
|
|
367
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
368
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
369
|
+
|
|
370
|
+
return react_index_js_default().createElement(
|
|
371
|
+
'jp-badge',
|
|
372
|
+
{
|
|
373
|
+
ref,
|
|
374
|
+
...filteredProps,
|
|
375
|
+
fill: props.fill,
|
|
376
|
+
color: props.color,
|
|
377
|
+
class: props.className,
|
|
378
|
+
exportparts: props.exportparts,
|
|
379
|
+
for: props.htmlFor,
|
|
380
|
+
part: props.part,
|
|
381
|
+
tabindex: props.tabIndex,
|
|
382
|
+
style: { ...props.style }
|
|
383
|
+
},
|
|
384
|
+
props.children
|
|
385
|
+
);
|
|
386
|
+
});
|
|
387
|
+
|
|
388
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Breadcrumb.js
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpBreadcrumb)());
|
|
393
|
+
|
|
394
|
+
const Breadcrumb = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
395
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
396
|
+
const { className, ...filteredProps } = props;
|
|
397
|
+
|
|
398
|
+
/** Properties - run whenever a property has changed */
|
|
399
|
+
|
|
400
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
401
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
402
|
+
|
|
403
|
+
return react_index_js_default().createElement(
|
|
404
|
+
'jp-breadcrumb',
|
|
405
|
+
{
|
|
406
|
+
ref,
|
|
407
|
+
...filteredProps,
|
|
408
|
+
class: props.className,
|
|
409
|
+
exportparts: props.exportparts,
|
|
410
|
+
for: props.htmlFor,
|
|
411
|
+
part: props.part,
|
|
412
|
+
tabindex: props.tabIndex,
|
|
413
|
+
style: { ...props.style }
|
|
414
|
+
},
|
|
415
|
+
props.children
|
|
416
|
+
);
|
|
417
|
+
});
|
|
418
|
+
|
|
419
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/BreadcrumbItem.js
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpBreadcrumbItem)());
|
|
424
|
+
|
|
425
|
+
const BreadcrumbItem = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
426
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
427
|
+
const {
|
|
428
|
+
className,
|
|
429
|
+
download,
|
|
430
|
+
href,
|
|
431
|
+
hreflang,
|
|
432
|
+
ping,
|
|
433
|
+
referrerpolicy,
|
|
434
|
+
rel,
|
|
435
|
+
target,
|
|
436
|
+
type,
|
|
437
|
+
control,
|
|
438
|
+
...filteredProps
|
|
439
|
+
} = props;
|
|
440
|
+
|
|
441
|
+
/** Properties - run whenever a property has changed */
|
|
442
|
+
useProperties(ref, 'control', props.control);
|
|
443
|
+
|
|
444
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
445
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
446
|
+
|
|
447
|
+
return react_index_js_default().createElement(
|
|
448
|
+
'jp-breadcrumb-item',
|
|
449
|
+
{
|
|
450
|
+
ref,
|
|
451
|
+
...filteredProps,
|
|
452
|
+
download: props.download,
|
|
453
|
+
href: props.href,
|
|
454
|
+
hreflang: props.hreflang,
|
|
455
|
+
ping: props.ping,
|
|
456
|
+
referrerpolicy: props.referrerpolicy,
|
|
457
|
+
rel: props.rel,
|
|
458
|
+
target: props.target,
|
|
459
|
+
type: props.type,
|
|
460
|
+
class: props.className,
|
|
461
|
+
exportparts: props.exportparts,
|
|
462
|
+
for: props.htmlFor,
|
|
463
|
+
part: props.part,
|
|
464
|
+
tabindex: props.tabIndex,
|
|
465
|
+
style: { ...props.style }
|
|
466
|
+
},
|
|
467
|
+
props.children
|
|
468
|
+
);
|
|
469
|
+
});
|
|
470
|
+
|
|
471
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Button.js
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpButton)());
|
|
476
|
+
|
|
477
|
+
const Button = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
478
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
479
|
+
const {
|
|
480
|
+
className,
|
|
481
|
+
minimal,
|
|
482
|
+
appearance,
|
|
483
|
+
form,
|
|
484
|
+
formaction,
|
|
485
|
+
formenctype,
|
|
486
|
+
formmethod,
|
|
487
|
+
formtarget,
|
|
488
|
+
type,
|
|
489
|
+
autofocus,
|
|
490
|
+
formnovalidate,
|
|
491
|
+
defaultSlottedContent,
|
|
492
|
+
disabled,
|
|
493
|
+
required,
|
|
494
|
+
...filteredProps
|
|
495
|
+
} = props;
|
|
496
|
+
|
|
497
|
+
/** Properties - run whenever a property has changed */
|
|
498
|
+
useProperties(ref, 'autofocus', props.autofocus);
|
|
499
|
+
useProperties(ref, 'formnovalidate', props.formnovalidate);
|
|
500
|
+
useProperties(ref, 'defaultSlottedContent', props.defaultSlottedContent);
|
|
501
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
502
|
+
useProperties(ref, 'required', props.required);
|
|
503
|
+
|
|
504
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
505
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
506
|
+
|
|
507
|
+
return react_index_js_default().createElement(
|
|
508
|
+
'jp-button',
|
|
509
|
+
{
|
|
510
|
+
ref,
|
|
511
|
+
...filteredProps,
|
|
512
|
+
appearance: props.appearance,
|
|
513
|
+
form: props.form,
|
|
514
|
+
formaction: props.formaction,
|
|
515
|
+
formenctype: props.formenctype,
|
|
516
|
+
formmethod: props.formmethod,
|
|
517
|
+
formtarget: props.formtarget,
|
|
518
|
+
type: props.type,
|
|
519
|
+
class: props.className,
|
|
520
|
+
exportparts: props.exportparts,
|
|
521
|
+
for: props.htmlFor,
|
|
522
|
+
part: props.part,
|
|
523
|
+
tabindex: props.tabIndex,
|
|
524
|
+
minimal: props.minimal ? '' : undefined,
|
|
525
|
+
style: { ...props.style }
|
|
526
|
+
},
|
|
527
|
+
props.children
|
|
528
|
+
);
|
|
529
|
+
});
|
|
530
|
+
|
|
531
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Card.js
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpCard)());
|
|
536
|
+
|
|
537
|
+
const Card = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
538
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
539
|
+
const { className, ...filteredProps } = props;
|
|
540
|
+
|
|
541
|
+
/** Properties - run whenever a property has changed */
|
|
542
|
+
|
|
543
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
544
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
545
|
+
|
|
546
|
+
return react_index_js_default().createElement(
|
|
547
|
+
'jp-card',
|
|
548
|
+
{
|
|
549
|
+
ref,
|
|
550
|
+
...filteredProps,
|
|
551
|
+
class: props.className,
|
|
552
|
+
exportparts: props.exportparts,
|
|
553
|
+
for: props.htmlFor,
|
|
554
|
+
part: props.part,
|
|
555
|
+
tabindex: props.tabIndex,
|
|
556
|
+
style: { ...props.style }
|
|
557
|
+
},
|
|
558
|
+
props.children
|
|
559
|
+
);
|
|
560
|
+
});
|
|
561
|
+
|
|
562
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Checkbox.js
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpCheckbox)());
|
|
567
|
+
|
|
568
|
+
const Checkbox = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
569
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
570
|
+
const {
|
|
571
|
+
className,
|
|
572
|
+
readonly,
|
|
573
|
+
readOnly,
|
|
574
|
+
indeterminate,
|
|
575
|
+
checked,
|
|
576
|
+
disabled,
|
|
577
|
+
required,
|
|
578
|
+
...filteredProps
|
|
579
|
+
} = props;
|
|
580
|
+
|
|
581
|
+
/** Event listeners - run once */
|
|
582
|
+
useEventListener(ref, 'change', props.onChange);
|
|
583
|
+
|
|
584
|
+
/** Properties - run whenever a property has changed */
|
|
585
|
+
useProperties(ref, 'readOnly', props.readOnly);
|
|
586
|
+
useProperties(ref, 'indeterminate', props.indeterminate);
|
|
587
|
+
useProperties(ref, 'checked', props.checked);
|
|
588
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
589
|
+
useProperties(ref, 'required', props.required);
|
|
590
|
+
|
|
591
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
592
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
593
|
+
|
|
594
|
+
// Add web component internal classes on top of `className`
|
|
595
|
+
let allClasses = className ?? '';
|
|
596
|
+
if (ref.current?.indeterminate) {
|
|
597
|
+
allClasses += ' indeterminate';
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
return react_index_js_default().createElement(
|
|
601
|
+
'jp-checkbox',
|
|
602
|
+
{
|
|
603
|
+
ref,
|
|
604
|
+
...filteredProps,
|
|
605
|
+
class: allClasses.trim(),
|
|
606
|
+
exportparts: props.exportparts,
|
|
607
|
+
for: props.htmlFor,
|
|
608
|
+
part: props.part,
|
|
609
|
+
tabindex: props.tabIndex,
|
|
610
|
+
readonly: props.readonly ? '' : undefined,
|
|
611
|
+
style: { ...props.style }
|
|
612
|
+
},
|
|
613
|
+
props.children
|
|
614
|
+
);
|
|
615
|
+
});
|
|
616
|
+
|
|
617
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Combobox.js
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpCombobox)());
|
|
622
|
+
|
|
623
|
+
const Combobox = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
624
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
625
|
+
const {
|
|
626
|
+
className,
|
|
627
|
+
autowidth,
|
|
628
|
+
minimal,
|
|
629
|
+
open,
|
|
630
|
+
autocomplete,
|
|
631
|
+
placeholder,
|
|
632
|
+
position,
|
|
633
|
+
autoWidth,
|
|
634
|
+
filteredOptions,
|
|
635
|
+
options,
|
|
636
|
+
value,
|
|
637
|
+
length,
|
|
638
|
+
disabled,
|
|
639
|
+
selectedIndex,
|
|
640
|
+
selectedOptions,
|
|
641
|
+
required,
|
|
642
|
+
...filteredProps
|
|
643
|
+
} = props;
|
|
644
|
+
|
|
645
|
+
/** Event listeners - run once */
|
|
646
|
+
useEventListener(ref, 'input', props.onInput);
|
|
647
|
+
useEventListener(ref, 'change', props.onChange);
|
|
648
|
+
|
|
649
|
+
/** Properties - run whenever a property has changed */
|
|
650
|
+
useProperties(ref, 'autoWidth', props.autoWidth);
|
|
651
|
+
useProperties(ref, 'filteredOptions', props.filteredOptions);
|
|
652
|
+
useProperties(ref, 'options', props.options);
|
|
653
|
+
useProperties(ref, 'value', props.value);
|
|
654
|
+
useProperties(ref, 'length', props.length);
|
|
655
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
656
|
+
useProperties(ref, 'selectedIndex', props.selectedIndex);
|
|
657
|
+
useProperties(ref, 'selectedOptions', props.selectedOptions);
|
|
658
|
+
useProperties(ref, 'required', props.required);
|
|
659
|
+
|
|
660
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
661
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
662
|
+
|
|
663
|
+
return react_index_js_default().createElement(
|
|
664
|
+
'jp-combobox',
|
|
665
|
+
{
|
|
666
|
+
ref,
|
|
667
|
+
...filteredProps,
|
|
668
|
+
autocomplete: props.autocomplete,
|
|
669
|
+
placeholder: props.placeholder,
|
|
670
|
+
position: props.position,
|
|
671
|
+
class: props.className,
|
|
672
|
+
exportparts: props.exportparts,
|
|
673
|
+
for: props.htmlFor,
|
|
674
|
+
part: props.part,
|
|
675
|
+
tabindex: props.tabIndex,
|
|
676
|
+
autowidth: props.autowidth ? '' : undefined,
|
|
677
|
+
minimal: props.minimal ? '' : undefined,
|
|
678
|
+
open: props.open ? '' : undefined,
|
|
679
|
+
style: { ...props.style }
|
|
680
|
+
},
|
|
681
|
+
props.children
|
|
682
|
+
);
|
|
683
|
+
});
|
|
684
|
+
|
|
685
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/DateField.js
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpDateField)());
|
|
690
|
+
|
|
691
|
+
const DateField = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
692
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
693
|
+
const {
|
|
694
|
+
className,
|
|
695
|
+
autofocus,
|
|
696
|
+
step,
|
|
697
|
+
max,
|
|
698
|
+
min,
|
|
699
|
+
disabled,
|
|
700
|
+
required,
|
|
701
|
+
...filteredProps
|
|
702
|
+
} = props;
|
|
703
|
+
|
|
704
|
+
/** Event listeners - run once */
|
|
705
|
+
useEventListener(ref, 'input', props.onInput);
|
|
706
|
+
useEventListener(ref, 'change', props.onChange);
|
|
707
|
+
|
|
708
|
+
/** Properties - run whenever a property has changed */
|
|
709
|
+
useProperties(ref, 'autofocus', props.autofocus);
|
|
710
|
+
useProperties(ref, 'step', props.step);
|
|
711
|
+
useProperties(ref, 'max', props.max);
|
|
712
|
+
useProperties(ref, 'min', props.min);
|
|
713
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
714
|
+
useProperties(ref, 'required', props.required);
|
|
715
|
+
|
|
716
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
717
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
718
|
+
|
|
719
|
+
return react_index_js_default().createElement(
|
|
720
|
+
'jp-date-field',
|
|
721
|
+
{
|
|
722
|
+
ref,
|
|
723
|
+
...filteredProps,
|
|
724
|
+
class: props.className,
|
|
725
|
+
exportparts: props.exportparts,
|
|
726
|
+
for: props.htmlFor,
|
|
727
|
+
part: props.part,
|
|
728
|
+
tabindex: props.tabIndex,
|
|
729
|
+
style: { ...props.style }
|
|
730
|
+
},
|
|
731
|
+
props.children
|
|
732
|
+
);
|
|
733
|
+
});
|
|
734
|
+
|
|
735
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/DataGridCell.js
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpDataGridCell)());
|
|
740
|
+
|
|
741
|
+
const DataGridCell = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
742
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
743
|
+
const {
|
|
744
|
+
className,
|
|
745
|
+
cellType,
|
|
746
|
+
gridColumn,
|
|
747
|
+
rowData,
|
|
748
|
+
columnDefinition,
|
|
749
|
+
...filteredProps
|
|
750
|
+
} = props;
|
|
751
|
+
|
|
752
|
+
/** Event listeners - run once */
|
|
753
|
+
useEventListener(ref, 'cell-focused', props.onCellFocused);
|
|
754
|
+
|
|
755
|
+
/** Properties - run whenever a property has changed */
|
|
756
|
+
useProperties(ref, 'rowData', props.rowData);
|
|
757
|
+
useProperties(ref, 'columnDefinition', props.columnDefinition);
|
|
758
|
+
|
|
759
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
760
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
761
|
+
|
|
762
|
+
// Add web component internal classes on top of `className`
|
|
763
|
+
let allClasses = className ?? '';
|
|
764
|
+
if (ref.current?.cellType === 'columnheader') {
|
|
765
|
+
allClasses += ' column-header';
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
return react_index_js_default().createElement(
|
|
769
|
+
'jp-data-grid-cell',
|
|
770
|
+
{
|
|
771
|
+
ref,
|
|
772
|
+
...filteredProps,
|
|
773
|
+
'cell-type': props.cellType || props['cell-type'],
|
|
774
|
+
'grid-column': props.gridColumn || props['grid-column'],
|
|
775
|
+
class: allClasses.trim(),
|
|
776
|
+
exportparts: props.exportparts,
|
|
777
|
+
for: props.htmlFor,
|
|
778
|
+
part: props.part,
|
|
779
|
+
tabindex: props.tabIndex,
|
|
780
|
+
style: { ...props.style }
|
|
781
|
+
},
|
|
782
|
+
props.children
|
|
783
|
+
);
|
|
784
|
+
});
|
|
785
|
+
|
|
786
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/DataGridRow.js
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpDataGridRow)());
|
|
791
|
+
|
|
792
|
+
const DataGridRow = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
793
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
794
|
+
const {
|
|
795
|
+
className,
|
|
796
|
+
gridTemplateColumns,
|
|
797
|
+
rowType,
|
|
798
|
+
rowData,
|
|
799
|
+
columnDefinitions,
|
|
800
|
+
cellItemTemplate,
|
|
801
|
+
headerCellItemTemplate,
|
|
802
|
+
rowIndex,
|
|
803
|
+
...filteredProps
|
|
804
|
+
} = props;
|
|
805
|
+
|
|
806
|
+
/** Event listeners - run once */
|
|
807
|
+
useEventListener(ref, 'row-focused', props.onRowFocused);
|
|
808
|
+
|
|
809
|
+
/** Properties - run whenever a property has changed */
|
|
810
|
+
useProperties(ref, 'rowData', props.rowData);
|
|
811
|
+
useProperties(ref, 'columnDefinitions', props.columnDefinitions);
|
|
812
|
+
useProperties(ref, 'cellItemTemplate', props.cellItemTemplate);
|
|
813
|
+
useProperties(ref, 'headerCellItemTemplate', props.headerCellItemTemplate);
|
|
814
|
+
useProperties(ref, 'rowIndex', props.rowIndex);
|
|
815
|
+
|
|
816
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
817
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
818
|
+
|
|
819
|
+
// Add web component internal classes on top of `className`
|
|
820
|
+
let allClasses = className ?? '';
|
|
821
|
+
if (ref.current) {
|
|
822
|
+
if (ref.current.rowType !== 'default') {
|
|
823
|
+
allClasses += ` ${ref.current.rowType}`;
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
return react_index_js_default().createElement(
|
|
828
|
+
'jp-data-grid-row',
|
|
829
|
+
{
|
|
830
|
+
ref,
|
|
831
|
+
...filteredProps,
|
|
832
|
+
'grid-template-columns':
|
|
833
|
+
props.gridTemplateColumns || props['grid-template-columns'],
|
|
834
|
+
'row-type': props.rowType || props['row-type'],
|
|
835
|
+
class: allClasses.trim(),
|
|
836
|
+
exportparts: props.exportparts,
|
|
837
|
+
for: props.htmlFor,
|
|
838
|
+
part: props.part,
|
|
839
|
+
tabindex: props.tabIndex,
|
|
840
|
+
style: { ...props.style }
|
|
841
|
+
},
|
|
842
|
+
props.children
|
|
843
|
+
);
|
|
844
|
+
});
|
|
845
|
+
|
|
846
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/DataGrid.js
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpDataGrid)());
|
|
851
|
+
|
|
852
|
+
const DataGrid = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
853
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
854
|
+
const {
|
|
855
|
+
className,
|
|
856
|
+
noTabbing,
|
|
857
|
+
generateHeader,
|
|
858
|
+
gridTemplateColumns,
|
|
859
|
+
rowsData,
|
|
860
|
+
columnDefinitions,
|
|
861
|
+
rowItemTemplate,
|
|
862
|
+
cellItemTemplate,
|
|
863
|
+
headerCellItemTemplate,
|
|
864
|
+
focusRowIndex,
|
|
865
|
+
focusColumnIndex,
|
|
866
|
+
rowElementTag,
|
|
867
|
+
...filteredProps
|
|
868
|
+
} = props;
|
|
869
|
+
|
|
870
|
+
/** Properties - run whenever a property has changed */
|
|
871
|
+
useProperties(ref, 'rowsData', props.rowsData);
|
|
872
|
+
useProperties(ref, 'columnDefinitions', props.columnDefinitions);
|
|
873
|
+
useProperties(ref, 'rowItemTemplate', props.rowItemTemplate);
|
|
874
|
+
useProperties(ref, 'cellItemTemplate', props.cellItemTemplate);
|
|
875
|
+
useProperties(ref, 'headerCellItemTemplate', props.headerCellItemTemplate);
|
|
876
|
+
useProperties(ref, 'focusRowIndex', props.focusRowIndex);
|
|
877
|
+
useProperties(ref, 'focusColumnIndex', props.focusColumnIndex);
|
|
878
|
+
useProperties(ref, 'rowElementTag', props.rowElementTag);
|
|
879
|
+
|
|
880
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
881
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
882
|
+
|
|
883
|
+
return react_index_js_default().createElement(
|
|
884
|
+
'jp-data-grid',
|
|
885
|
+
{
|
|
886
|
+
ref,
|
|
887
|
+
...filteredProps,
|
|
888
|
+
'generate-header': props.generateHeader || props['generate-header'],
|
|
889
|
+
'grid-template-columns':
|
|
890
|
+
props.gridTemplateColumns || props['grid-template-columns'],
|
|
891
|
+
class: props.className,
|
|
892
|
+
exportparts: props.exportparts,
|
|
893
|
+
for: props.htmlFor,
|
|
894
|
+
part: props.part,
|
|
895
|
+
tabindex: props.tabIndex,
|
|
896
|
+
'no-tabbing': props.noTabbing ? '' : undefined,
|
|
897
|
+
style: { ...props.style }
|
|
898
|
+
},
|
|
899
|
+
props.children
|
|
900
|
+
);
|
|
901
|
+
});
|
|
902
|
+
|
|
903
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Dialog.js
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpDialog)());
|
|
908
|
+
|
|
909
|
+
const Dialog = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
910
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
911
|
+
const {
|
|
912
|
+
className,
|
|
913
|
+
trapFocus,
|
|
914
|
+
ariaDescribedby,
|
|
915
|
+
ariaLabelledby,
|
|
916
|
+
ariaLabel,
|
|
917
|
+
modal,
|
|
918
|
+
hidden,
|
|
919
|
+
...filteredProps
|
|
920
|
+
} = props;
|
|
921
|
+
|
|
922
|
+
/** Event listeners - run once */
|
|
923
|
+
useEventListener(ref, 'cancel', props.onCancel);
|
|
924
|
+
useEventListener(ref, 'close', props.onClose);
|
|
925
|
+
|
|
926
|
+
/** Properties - run whenever a property has changed */
|
|
927
|
+
useProperties(ref, 'modal', props.modal);
|
|
928
|
+
useProperties(ref, 'hidden', props.hidden);
|
|
929
|
+
|
|
930
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
931
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ({
|
|
932
|
+
show: () => ref.current.show(),
|
|
933
|
+
hide: () => ref.current.hide(),
|
|
934
|
+
compose: (this_, elementDefinition) =>
|
|
935
|
+
ref.current.compose(this_, elementDefinition)
|
|
936
|
+
}));
|
|
937
|
+
|
|
938
|
+
return react_index_js_default().createElement(
|
|
939
|
+
'jp-dialog',
|
|
940
|
+
{
|
|
941
|
+
ref,
|
|
942
|
+
...filteredProps,
|
|
943
|
+
'aria-describedby': props.ariaDescribedby || props['aria-describedby'],
|
|
944
|
+
'aria-labelledby': props.ariaLabelledby || props['aria-labelledby'],
|
|
945
|
+
'aria-label': props.ariaLabel || props['aria-label'],
|
|
946
|
+
class: props.className,
|
|
947
|
+
exportparts: props.exportparts,
|
|
948
|
+
for: props.htmlFor,
|
|
949
|
+
part: props.part,
|
|
950
|
+
tabindex: props.tabIndex,
|
|
951
|
+
'trap-focus': props.trapFocus ? '' : undefined,
|
|
952
|
+
style: { ...props.style }
|
|
953
|
+
},
|
|
954
|
+
props.children
|
|
955
|
+
);
|
|
956
|
+
});
|
|
957
|
+
|
|
958
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Disclosure.js
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpDisclosure)());
|
|
963
|
+
|
|
964
|
+
const Disclosure = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
965
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
966
|
+
const { className, appearance, title, expanded, ...filteredProps } = props;
|
|
967
|
+
|
|
968
|
+
/** Event listeners - run once */
|
|
969
|
+
useEventListener(ref, 'toggle', props.onToggle);
|
|
970
|
+
|
|
971
|
+
/** Properties - run whenever a property has changed */
|
|
972
|
+
useProperties(ref, 'expanded', props.expanded);
|
|
973
|
+
|
|
974
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
975
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
976
|
+
|
|
977
|
+
return react_index_js_default().createElement(
|
|
978
|
+
'jp-disclosure',
|
|
979
|
+
{
|
|
980
|
+
ref,
|
|
981
|
+
...filteredProps,
|
|
982
|
+
appearance: props.appearance,
|
|
983
|
+
title: props.title,
|
|
984
|
+
class: props.className,
|
|
985
|
+
exportparts: props.exportparts,
|
|
986
|
+
for: props.htmlFor,
|
|
987
|
+
part: props.part,
|
|
988
|
+
tabindex: props.tabIndex,
|
|
989
|
+
style: { ...props.style }
|
|
990
|
+
},
|
|
991
|
+
props.children
|
|
992
|
+
);
|
|
993
|
+
});
|
|
994
|
+
|
|
995
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Divider.js
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpDivider)());
|
|
1000
|
+
|
|
1001
|
+
const Divider = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1002
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1003
|
+
const { className, role, orientation, ...filteredProps } = props;
|
|
1004
|
+
|
|
1005
|
+
/** Properties - run whenever a property has changed */
|
|
1006
|
+
|
|
1007
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1008
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1009
|
+
|
|
1010
|
+
return react_index_js_default().createElement(
|
|
1011
|
+
'jp-divider',
|
|
1012
|
+
{
|
|
1013
|
+
ref,
|
|
1014
|
+
...filteredProps,
|
|
1015
|
+
role: props.role,
|
|
1016
|
+
orientation: props.orientation,
|
|
1017
|
+
class: props.className,
|
|
1018
|
+
exportparts: props.exportparts,
|
|
1019
|
+
for: props.htmlFor,
|
|
1020
|
+
part: props.part,
|
|
1021
|
+
tabindex: props.tabIndex,
|
|
1022
|
+
style: { ...props.style }
|
|
1023
|
+
},
|
|
1024
|
+
props.children
|
|
1025
|
+
);
|
|
1026
|
+
});
|
|
1027
|
+
|
|
1028
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Listbox.js
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpListbox)());
|
|
1033
|
+
|
|
1034
|
+
const Listbox = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1035
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1036
|
+
const {
|
|
1037
|
+
className,
|
|
1038
|
+
multiple,
|
|
1039
|
+
size,
|
|
1040
|
+
length,
|
|
1041
|
+
options,
|
|
1042
|
+
disabled,
|
|
1043
|
+
selectedIndex,
|
|
1044
|
+
selectedOptions,
|
|
1045
|
+
...filteredProps
|
|
1046
|
+
} = props;
|
|
1047
|
+
|
|
1048
|
+
/** Event listeners - run once */
|
|
1049
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1050
|
+
|
|
1051
|
+
/** Properties - run whenever a property has changed */
|
|
1052
|
+
useProperties(ref, 'multiple', props.multiple);
|
|
1053
|
+
useProperties(ref, 'size', props.size);
|
|
1054
|
+
useProperties(ref, 'length', props.length);
|
|
1055
|
+
useProperties(ref, 'options', props.options);
|
|
1056
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1057
|
+
useProperties(ref, 'selectedIndex', props.selectedIndex);
|
|
1058
|
+
useProperties(ref, 'selectedOptions', props.selectedOptions);
|
|
1059
|
+
|
|
1060
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1061
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1062
|
+
|
|
1063
|
+
return react_index_js_default().createElement(
|
|
1064
|
+
'jp-listbox',
|
|
1065
|
+
{
|
|
1066
|
+
ref,
|
|
1067
|
+
...filteredProps,
|
|
1068
|
+
class: props.className,
|
|
1069
|
+
exportparts: props.exportparts,
|
|
1070
|
+
for: props.htmlFor,
|
|
1071
|
+
part: props.part,
|
|
1072
|
+
tabindex: props.tabIndex,
|
|
1073
|
+
style: { ...props.style }
|
|
1074
|
+
},
|
|
1075
|
+
props.children
|
|
1076
|
+
);
|
|
1077
|
+
});
|
|
1078
|
+
|
|
1079
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/MenuItem.js
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpMenuItem)());
|
|
1084
|
+
|
|
1085
|
+
const MenuItem = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1086
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1087
|
+
const { className, role, disabled, expanded, checked, ...filteredProps } =
|
|
1088
|
+
props;
|
|
1089
|
+
|
|
1090
|
+
/** Event listeners - run once */
|
|
1091
|
+
useEventListener(ref, 'expanded-change', props.onExpand);
|
|
1092
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1093
|
+
|
|
1094
|
+
/** Properties - run whenever a property has changed */
|
|
1095
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1096
|
+
useProperties(ref, 'expanded', props.expanded);
|
|
1097
|
+
useProperties(ref, 'checked', props.checked);
|
|
1098
|
+
|
|
1099
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1100
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1101
|
+
|
|
1102
|
+
// Add web component internal classes on top of `className`
|
|
1103
|
+
let allClasses = className ?? '';
|
|
1104
|
+
if (ref.current) {
|
|
1105
|
+
allClasses += ` indent-${ref.current.startColumnCount}`;
|
|
1106
|
+
if (ref.current.expanded) {
|
|
1107
|
+
allClasses += ' expanded';
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
return react_index_js_default().createElement(
|
|
1112
|
+
'jp-menu-item',
|
|
1113
|
+
{
|
|
1114
|
+
ref,
|
|
1115
|
+
...filteredProps,
|
|
1116
|
+
role: props.role,
|
|
1117
|
+
class: allClasses.trim(),
|
|
1118
|
+
exportparts: props.exportparts,
|
|
1119
|
+
for: props.htmlFor,
|
|
1120
|
+
part: props.part,
|
|
1121
|
+
tabindex: props.tabIndex,
|
|
1122
|
+
style: { ...props.style }
|
|
1123
|
+
},
|
|
1124
|
+
props.children
|
|
1125
|
+
);
|
|
1126
|
+
});
|
|
1127
|
+
|
|
1128
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Menu.js
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpMenu)());
|
|
1133
|
+
|
|
1134
|
+
const Menu = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1135
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1136
|
+
const { className, ...filteredProps } = props;
|
|
1137
|
+
|
|
1138
|
+
/** Properties - run whenever a property has changed */
|
|
1139
|
+
|
|
1140
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1141
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1142
|
+
|
|
1143
|
+
return react_index_js_default().createElement(
|
|
1144
|
+
'jp-menu',
|
|
1145
|
+
{
|
|
1146
|
+
ref,
|
|
1147
|
+
...filteredProps,
|
|
1148
|
+
class: props.className,
|
|
1149
|
+
exportparts: props.exportparts,
|
|
1150
|
+
for: props.htmlFor,
|
|
1151
|
+
part: props.part,
|
|
1152
|
+
tabindex: props.tabIndex,
|
|
1153
|
+
style: { ...props.style }
|
|
1154
|
+
},
|
|
1155
|
+
props.children
|
|
1156
|
+
);
|
|
1157
|
+
});
|
|
1158
|
+
|
|
1159
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/NumberField.js
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpNumberField)());
|
|
1164
|
+
|
|
1165
|
+
const NumberField = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1166
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1167
|
+
const {
|
|
1168
|
+
className,
|
|
1169
|
+
readonly,
|
|
1170
|
+
hideStep,
|
|
1171
|
+
appearance,
|
|
1172
|
+
placeholder,
|
|
1173
|
+
list,
|
|
1174
|
+
readOnly,
|
|
1175
|
+
autofocus,
|
|
1176
|
+
maxlength,
|
|
1177
|
+
minlength,
|
|
1178
|
+
size,
|
|
1179
|
+
step,
|
|
1180
|
+
max,
|
|
1181
|
+
min,
|
|
1182
|
+
disabled,
|
|
1183
|
+
required,
|
|
1184
|
+
...filteredProps
|
|
1185
|
+
} = props;
|
|
1186
|
+
|
|
1187
|
+
/** Event listeners - run once */
|
|
1188
|
+
useEventListener(ref, 'input', props.onInput);
|
|
1189
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1190
|
+
|
|
1191
|
+
/** Properties - run whenever a property has changed */
|
|
1192
|
+
useProperties(ref, 'readOnly', props.readOnly);
|
|
1193
|
+
useProperties(ref, 'autofocus', props.autofocus);
|
|
1194
|
+
useProperties(ref, 'maxlength', props.maxlength);
|
|
1195
|
+
useProperties(ref, 'minlength', props.minlength);
|
|
1196
|
+
useProperties(ref, 'size', props.size);
|
|
1197
|
+
useProperties(ref, 'step', props.step);
|
|
1198
|
+
useProperties(ref, 'max', props.max);
|
|
1199
|
+
useProperties(ref, 'min', props.min);
|
|
1200
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1201
|
+
useProperties(ref, 'required', props.required);
|
|
1202
|
+
|
|
1203
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1204
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1205
|
+
|
|
1206
|
+
return react_index_js_default().createElement(
|
|
1207
|
+
'jp-number-field',
|
|
1208
|
+
{
|
|
1209
|
+
ref,
|
|
1210
|
+
...filteredProps,
|
|
1211
|
+
appearance: props.appearance,
|
|
1212
|
+
placeholder: props.placeholder,
|
|
1213
|
+
list: props.list,
|
|
1214
|
+
class: props.className,
|
|
1215
|
+
exportparts: props.exportparts,
|
|
1216
|
+
for: props.htmlFor,
|
|
1217
|
+
part: props.part,
|
|
1218
|
+
tabindex: props.tabIndex,
|
|
1219
|
+
readonly: props.readonly ? '' : undefined,
|
|
1220
|
+
'hide-step': props.hideStep ? '' : undefined,
|
|
1221
|
+
style: { ...props.style }
|
|
1222
|
+
},
|
|
1223
|
+
props.children
|
|
1224
|
+
);
|
|
1225
|
+
});
|
|
1226
|
+
|
|
1227
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Option.js
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpOption)());
|
|
1232
|
+
|
|
1233
|
+
const Option = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1234
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1235
|
+
const {
|
|
1236
|
+
className,
|
|
1237
|
+
selected,
|
|
1238
|
+
value,
|
|
1239
|
+
checked,
|
|
1240
|
+
content,
|
|
1241
|
+
defaultSelected,
|
|
1242
|
+
disabled,
|
|
1243
|
+
selectedAttribute,
|
|
1244
|
+
dirtyValue,
|
|
1245
|
+
...filteredProps
|
|
1246
|
+
} = props;
|
|
1247
|
+
|
|
1248
|
+
/** Properties - run whenever a property has changed */
|
|
1249
|
+
useProperties(ref, 'checked', props.checked);
|
|
1250
|
+
useProperties(ref, 'content', props.content);
|
|
1251
|
+
useProperties(ref, 'defaultSelected', props.defaultSelected);
|
|
1252
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1253
|
+
useProperties(ref, 'selectedAttribute', props.selectedAttribute);
|
|
1254
|
+
useProperties(ref, 'dirtyValue', props.dirtyValue);
|
|
1255
|
+
|
|
1256
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1257
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1258
|
+
|
|
1259
|
+
return react_index_js_default().createElement(
|
|
1260
|
+
'jp-option',
|
|
1261
|
+
{
|
|
1262
|
+
ref,
|
|
1263
|
+
...filteredProps,
|
|
1264
|
+
value: props.value,
|
|
1265
|
+
class: props.className,
|
|
1266
|
+
exportparts: props.exportparts,
|
|
1267
|
+
for: props.htmlFor,
|
|
1268
|
+
part: props.part,
|
|
1269
|
+
tabindex: props.tabIndex,
|
|
1270
|
+
selected: props.selected ? '' : undefined,
|
|
1271
|
+
style: { ...props.style }
|
|
1272
|
+
},
|
|
1273
|
+
props.children
|
|
1274
|
+
);
|
|
1275
|
+
});
|
|
1276
|
+
|
|
1277
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/ProgressRing.js
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpProgressRing)());
|
|
1282
|
+
|
|
1283
|
+
const ProgressRing = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1284
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1285
|
+
const { className, value, min, max, paused, ...filteredProps } = props;
|
|
1286
|
+
|
|
1287
|
+
/** Properties - run whenever a property has changed */
|
|
1288
|
+
useProperties(ref, 'value', props.value);
|
|
1289
|
+
useProperties(ref, 'min', props.min);
|
|
1290
|
+
useProperties(ref, 'max', props.max);
|
|
1291
|
+
useProperties(ref, 'paused', props.paused);
|
|
1292
|
+
|
|
1293
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1294
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1295
|
+
|
|
1296
|
+
return react_index_js_default().createElement(
|
|
1297
|
+
'jp-progress-ring',
|
|
1298
|
+
{
|
|
1299
|
+
ref,
|
|
1300
|
+
...filteredProps,
|
|
1301
|
+
class: props.className,
|
|
1302
|
+
exportparts: props.exportparts,
|
|
1303
|
+
for: props.htmlFor,
|
|
1304
|
+
part: props.part,
|
|
1305
|
+
tabindex: props.tabIndex,
|
|
1306
|
+
style: { ...props.style }
|
|
1307
|
+
},
|
|
1308
|
+
props.children
|
|
1309
|
+
);
|
|
1310
|
+
});
|
|
1311
|
+
|
|
1312
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Progress.js
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpProgress)());
|
|
1317
|
+
|
|
1318
|
+
const Progress = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1319
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1320
|
+
const { className, value, min, max, paused, ...filteredProps } = props;
|
|
1321
|
+
|
|
1322
|
+
/** Properties - run whenever a property has changed */
|
|
1323
|
+
useProperties(ref, 'value', props.value);
|
|
1324
|
+
useProperties(ref, 'min', props.min);
|
|
1325
|
+
useProperties(ref, 'max', props.max);
|
|
1326
|
+
useProperties(ref, 'paused', props.paused);
|
|
1327
|
+
|
|
1328
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1329
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1330
|
+
|
|
1331
|
+
return react_index_js_default().createElement(
|
|
1332
|
+
'jp-progress',
|
|
1333
|
+
{
|
|
1334
|
+
ref,
|
|
1335
|
+
...filteredProps,
|
|
1336
|
+
class: props.className,
|
|
1337
|
+
exportparts: props.exportparts,
|
|
1338
|
+
for: props.htmlFor,
|
|
1339
|
+
part: props.part,
|
|
1340
|
+
tabindex: props.tabIndex,
|
|
1341
|
+
style: { ...props.style }
|
|
1342
|
+
},
|
|
1343
|
+
props.children
|
|
1344
|
+
);
|
|
1345
|
+
});
|
|
1346
|
+
|
|
1347
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Radio.js
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpRadio)());
|
|
1352
|
+
|
|
1353
|
+
const Radio = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1354
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1355
|
+
const {
|
|
1356
|
+
className,
|
|
1357
|
+
readonly,
|
|
1358
|
+
readOnly,
|
|
1359
|
+
name,
|
|
1360
|
+
checked,
|
|
1361
|
+
disabled,
|
|
1362
|
+
required,
|
|
1363
|
+
...filteredProps
|
|
1364
|
+
} = props;
|
|
1365
|
+
|
|
1366
|
+
/** Event listeners - run once */
|
|
1367
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1368
|
+
|
|
1369
|
+
/** Properties - run whenever a property has changed */
|
|
1370
|
+
useProperties(ref, 'readOnly', props.readOnly);
|
|
1371
|
+
useProperties(ref, 'name', props.name);
|
|
1372
|
+
useProperties(ref, 'checked', props.checked);
|
|
1373
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1374
|
+
useProperties(ref, 'required', props.required);
|
|
1375
|
+
|
|
1376
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1377
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1378
|
+
|
|
1379
|
+
return react_index_js_default().createElement(
|
|
1380
|
+
'jp-radio',
|
|
1381
|
+
{
|
|
1382
|
+
ref,
|
|
1383
|
+
...filteredProps,
|
|
1384
|
+
class: props.className,
|
|
1385
|
+
exportparts: props.exportparts,
|
|
1386
|
+
for: props.htmlFor,
|
|
1387
|
+
part: props.part,
|
|
1388
|
+
tabindex: props.tabIndex,
|
|
1389
|
+
readonly: props.readonly ? '' : undefined,
|
|
1390
|
+
style: { ...props.style }
|
|
1391
|
+
},
|
|
1392
|
+
props.children
|
|
1393
|
+
);
|
|
1394
|
+
});
|
|
1395
|
+
|
|
1396
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/RadioGroup.js
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpRadioGroup)());
|
|
1401
|
+
|
|
1402
|
+
const RadioGroup = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1403
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1404
|
+
const {
|
|
1405
|
+
className,
|
|
1406
|
+
readonly,
|
|
1407
|
+
disabled,
|
|
1408
|
+
name,
|
|
1409
|
+
value,
|
|
1410
|
+
orientation,
|
|
1411
|
+
readOnly,
|
|
1412
|
+
...filteredProps
|
|
1413
|
+
} = props;
|
|
1414
|
+
|
|
1415
|
+
/** Event listeners - run once */
|
|
1416
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1417
|
+
|
|
1418
|
+
/** Properties - run whenever a property has changed */
|
|
1419
|
+
useProperties(ref, 'readOnly', props.readOnly);
|
|
1420
|
+
|
|
1421
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1422
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1423
|
+
|
|
1424
|
+
return react_index_js_default().createElement(
|
|
1425
|
+
'jp-radio-group',
|
|
1426
|
+
{
|
|
1427
|
+
ref,
|
|
1428
|
+
...filteredProps,
|
|
1429
|
+
name: props.name,
|
|
1430
|
+
value: props.value,
|
|
1431
|
+
orientation: props.orientation,
|
|
1432
|
+
class: props.className,
|
|
1433
|
+
exportparts: props.exportparts,
|
|
1434
|
+
for: props.htmlFor,
|
|
1435
|
+
part: props.part,
|
|
1436
|
+
tabindex: props.tabIndex,
|
|
1437
|
+
readonly: props.readonly ? '' : undefined,
|
|
1438
|
+
disabled: props.disabled ? '' : undefined,
|
|
1439
|
+
style: { ...props.style }
|
|
1440
|
+
},
|
|
1441
|
+
props.children
|
|
1442
|
+
);
|
|
1443
|
+
});
|
|
1444
|
+
|
|
1445
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Search.js
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpSearch)());
|
|
1450
|
+
|
|
1451
|
+
const Search = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1452
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1453
|
+
const {
|
|
1454
|
+
className,
|
|
1455
|
+
readonly,
|
|
1456
|
+
appearance,
|
|
1457
|
+
placeholder,
|
|
1458
|
+
list,
|
|
1459
|
+
pattern,
|
|
1460
|
+
readOnly,
|
|
1461
|
+
autofocus,
|
|
1462
|
+
maxlength,
|
|
1463
|
+
minlength,
|
|
1464
|
+
size,
|
|
1465
|
+
spellcheck,
|
|
1466
|
+
disabled,
|
|
1467
|
+
required,
|
|
1468
|
+
...filteredProps
|
|
1469
|
+
} = props;
|
|
1470
|
+
|
|
1471
|
+
/** Event listeners - run once */
|
|
1472
|
+
useEventListener(ref, 'input', props.onInput);
|
|
1473
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1474
|
+
|
|
1475
|
+
/** Properties - run whenever a property has changed */
|
|
1476
|
+
useProperties(ref, 'readOnly', props.readOnly);
|
|
1477
|
+
useProperties(ref, 'autofocus', props.autofocus);
|
|
1478
|
+
useProperties(ref, 'maxlength', props.maxlength);
|
|
1479
|
+
useProperties(ref, 'minlength', props.minlength);
|
|
1480
|
+
useProperties(ref, 'size', props.size);
|
|
1481
|
+
useProperties(ref, 'spellcheck', props.spellcheck);
|
|
1482
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1483
|
+
useProperties(ref, 'required', props.required);
|
|
1484
|
+
|
|
1485
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1486
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1487
|
+
|
|
1488
|
+
return react_index_js_default().createElement(
|
|
1489
|
+
'jp-search',
|
|
1490
|
+
{
|
|
1491
|
+
ref,
|
|
1492
|
+
...filteredProps,
|
|
1493
|
+
appearance: props.appearance,
|
|
1494
|
+
placeholder: props.placeholder,
|
|
1495
|
+
list: props.list,
|
|
1496
|
+
pattern: props.pattern,
|
|
1497
|
+
class: props.className,
|
|
1498
|
+
exportparts: props.exportparts,
|
|
1499
|
+
for: props.htmlFor,
|
|
1500
|
+
part: props.part,
|
|
1501
|
+
tabindex: props.tabIndex,
|
|
1502
|
+
readonly: props.readonly ? '' : undefined,
|
|
1503
|
+
style: { ...props.style }
|
|
1504
|
+
},
|
|
1505
|
+
props.children
|
|
1506
|
+
);
|
|
1507
|
+
});
|
|
1508
|
+
|
|
1509
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Select.js
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpSelect)());
|
|
1514
|
+
|
|
1515
|
+
const Select = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1516
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1517
|
+
const {
|
|
1518
|
+
className,
|
|
1519
|
+
autowidth,
|
|
1520
|
+
minimal,
|
|
1521
|
+
open,
|
|
1522
|
+
position,
|
|
1523
|
+
autoWidth,
|
|
1524
|
+
value,
|
|
1525
|
+
displayValue,
|
|
1526
|
+
multiple,
|
|
1527
|
+
size,
|
|
1528
|
+
length,
|
|
1529
|
+
options,
|
|
1530
|
+
disabled,
|
|
1531
|
+
selectedIndex,
|
|
1532
|
+
selectedOptions,
|
|
1533
|
+
required,
|
|
1534
|
+
...filteredProps
|
|
1535
|
+
} = props;
|
|
1536
|
+
|
|
1537
|
+
/** Event listeners - run once */
|
|
1538
|
+
useEventListener(ref, 'input', props.onInput);
|
|
1539
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1540
|
+
|
|
1541
|
+
/** Properties - run whenever a property has changed */
|
|
1542
|
+
useProperties(ref, 'autoWidth', props.autoWidth);
|
|
1543
|
+
useProperties(ref, 'value', props.value);
|
|
1544
|
+
useProperties(ref, 'displayValue', props.displayValue);
|
|
1545
|
+
useProperties(ref, 'multiple', props.multiple);
|
|
1546
|
+
useProperties(ref, 'size', props.size);
|
|
1547
|
+
useProperties(ref, 'length', props.length);
|
|
1548
|
+
useProperties(ref, 'options', props.options);
|
|
1549
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1550
|
+
useProperties(ref, 'selectedIndex', props.selectedIndex);
|
|
1551
|
+
useProperties(ref, 'selectedOptions', props.selectedOptions);
|
|
1552
|
+
useProperties(ref, 'required', props.required);
|
|
1553
|
+
|
|
1554
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1555
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1556
|
+
|
|
1557
|
+
return react_index_js_default().createElement(
|
|
1558
|
+
'jp-select',
|
|
1559
|
+
{
|
|
1560
|
+
ref,
|
|
1561
|
+
...filteredProps,
|
|
1562
|
+
position: props.position,
|
|
1563
|
+
class: props.className,
|
|
1564
|
+
exportparts: props.exportparts,
|
|
1565
|
+
for: props.htmlFor,
|
|
1566
|
+
part: props.part,
|
|
1567
|
+
tabindex: props.tabIndex,
|
|
1568
|
+
autowidth: props.autowidth ? '' : undefined,
|
|
1569
|
+
minimal: props.minimal ? '' : undefined,
|
|
1570
|
+
open: props.open ? '' : undefined,
|
|
1571
|
+
style: { ...props.style }
|
|
1572
|
+
},
|
|
1573
|
+
props.children
|
|
1574
|
+
);
|
|
1575
|
+
});
|
|
1576
|
+
|
|
1577
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Skeleton.js
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpSkeleton)());
|
|
1582
|
+
|
|
1583
|
+
const Skeleton = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1584
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1585
|
+
const { className, fill, shape, pattern, shimmer, ...filteredProps } = props;
|
|
1586
|
+
|
|
1587
|
+
/** Properties - run whenever a property has changed */
|
|
1588
|
+
useProperties(ref, 'shimmer', props.shimmer);
|
|
1589
|
+
|
|
1590
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1591
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1592
|
+
|
|
1593
|
+
return react_index_js_default().createElement(
|
|
1594
|
+
'jp-skeleton',
|
|
1595
|
+
{
|
|
1596
|
+
ref,
|
|
1597
|
+
...filteredProps,
|
|
1598
|
+
fill: props.fill,
|
|
1599
|
+
shape: props.shape,
|
|
1600
|
+
pattern: props.pattern,
|
|
1601
|
+
class: props.className,
|
|
1602
|
+
exportparts: props.exportparts,
|
|
1603
|
+
for: props.htmlFor,
|
|
1604
|
+
part: props.part,
|
|
1605
|
+
tabindex: props.tabIndex,
|
|
1606
|
+
style: { ...props.style }
|
|
1607
|
+
},
|
|
1608
|
+
props.children
|
|
1609
|
+
);
|
|
1610
|
+
});
|
|
1611
|
+
|
|
1612
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Slider.js
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpSlider)());
|
|
1617
|
+
|
|
1618
|
+
const Slider = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1619
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1620
|
+
const {
|
|
1621
|
+
className,
|
|
1622
|
+
readonly,
|
|
1623
|
+
orientation,
|
|
1624
|
+
mode,
|
|
1625
|
+
readOnly,
|
|
1626
|
+
valueAsNumber,
|
|
1627
|
+
valueTextFormatter,
|
|
1628
|
+
min,
|
|
1629
|
+
max,
|
|
1630
|
+
step,
|
|
1631
|
+
disabled,
|
|
1632
|
+
required,
|
|
1633
|
+
...filteredProps
|
|
1634
|
+
} = props;
|
|
1635
|
+
|
|
1636
|
+
/** Event listeners - run once */
|
|
1637
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1638
|
+
|
|
1639
|
+
/** Properties - run whenever a property has changed */
|
|
1640
|
+
useProperties(ref, 'readOnly', props.readOnly);
|
|
1641
|
+
useProperties(ref, 'valueAsNumber', props.valueAsNumber);
|
|
1642
|
+
useProperties(ref, 'valueTextFormatter', props.valueTextFormatter);
|
|
1643
|
+
useProperties(ref, 'min', props.min);
|
|
1644
|
+
useProperties(ref, 'max', props.max);
|
|
1645
|
+
useProperties(ref, 'step', props.step);
|
|
1646
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1647
|
+
useProperties(ref, 'required', props.required);
|
|
1648
|
+
|
|
1649
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1650
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1651
|
+
|
|
1652
|
+
return react_index_js_default().createElement(
|
|
1653
|
+
'jp-slider',
|
|
1654
|
+
{
|
|
1655
|
+
ref,
|
|
1656
|
+
...filteredProps,
|
|
1657
|
+
orientation: props.orientation,
|
|
1658
|
+
mode: props.mode,
|
|
1659
|
+
class: props.className,
|
|
1660
|
+
exportparts: props.exportparts,
|
|
1661
|
+
for: props.htmlFor,
|
|
1662
|
+
part: props.part,
|
|
1663
|
+
tabindex: props.tabIndex,
|
|
1664
|
+
readonly: props.readonly ? '' : undefined,
|
|
1665
|
+
style: { ...props.style }
|
|
1666
|
+
},
|
|
1667
|
+
props.children
|
|
1668
|
+
);
|
|
1669
|
+
});
|
|
1670
|
+
|
|
1671
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/SliderLabel.js
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpSliderLabel)());
|
|
1676
|
+
|
|
1677
|
+
const SliderLabel = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1678
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1679
|
+
const { className, hideMark, disabled, position, ...filteredProps } = props;
|
|
1680
|
+
|
|
1681
|
+
/** Properties - run whenever a property has changed */
|
|
1682
|
+
|
|
1683
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1684
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1685
|
+
|
|
1686
|
+
// Add web component internal classes on top of `className`
|
|
1687
|
+
let allClasses = className ?? '';
|
|
1688
|
+
if (ref.current?.disabled) {
|
|
1689
|
+
allClasses += ' disabled';
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
return react_index_js_default().createElement(
|
|
1693
|
+
'jp-slider-label',
|
|
1694
|
+
{
|
|
1695
|
+
ref,
|
|
1696
|
+
...filteredProps,
|
|
1697
|
+
position: props.position,
|
|
1698
|
+
class: allClasses.trim(),
|
|
1699
|
+
exportparts: props.exportparts,
|
|
1700
|
+
for: props.htmlFor,
|
|
1701
|
+
part: props.part,
|
|
1702
|
+
tabindex: props.tabIndex,
|
|
1703
|
+
'hide-mark': props.hideMark ? '' : undefined,
|
|
1704
|
+
disabled: props.disabled ? '' : undefined,
|
|
1705
|
+
style: { ...props.style }
|
|
1706
|
+
},
|
|
1707
|
+
props.children
|
|
1708
|
+
);
|
|
1709
|
+
});
|
|
1710
|
+
|
|
1711
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Switch.js
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
|
|
1715
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpSwitch)());
|
|
1716
|
+
|
|
1717
|
+
const Switch = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1718
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1719
|
+
const {
|
|
1720
|
+
className,
|
|
1721
|
+
readonly,
|
|
1722
|
+
readOnly,
|
|
1723
|
+
checked,
|
|
1724
|
+
disabled,
|
|
1725
|
+
required,
|
|
1726
|
+
...filteredProps
|
|
1727
|
+
} = props;
|
|
1728
|
+
|
|
1729
|
+
/** Event listeners - run once */
|
|
1730
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1731
|
+
|
|
1732
|
+
/** Properties - run whenever a property has changed */
|
|
1733
|
+
useProperties(ref, 'readOnly', props.readOnly);
|
|
1734
|
+
useProperties(ref, 'checked', props.checked);
|
|
1735
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1736
|
+
useProperties(ref, 'required', props.required);
|
|
1737
|
+
|
|
1738
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1739
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1740
|
+
|
|
1741
|
+
return react_index_js_default().createElement(
|
|
1742
|
+
'jp-switch',
|
|
1743
|
+
{
|
|
1744
|
+
ref,
|
|
1745
|
+
...filteredProps,
|
|
1746
|
+
class: props.className,
|
|
1747
|
+
exportparts: props.exportparts,
|
|
1748
|
+
for: props.htmlFor,
|
|
1749
|
+
part: props.part,
|
|
1750
|
+
tabindex: props.tabIndex,
|
|
1751
|
+
readonly: props.readonly ? '' : undefined,
|
|
1752
|
+
style: { ...props.style }
|
|
1753
|
+
},
|
|
1754
|
+
props.children
|
|
1755
|
+
);
|
|
1756
|
+
});
|
|
1757
|
+
|
|
1758
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Tab.js
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
|
|
1762
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpTab)());
|
|
1763
|
+
|
|
1764
|
+
const Tab = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1765
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1766
|
+
const { className, disabled, ...filteredProps } = props;
|
|
1767
|
+
|
|
1768
|
+
/** Properties - run whenever a property has changed */
|
|
1769
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1770
|
+
|
|
1771
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1772
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1773
|
+
|
|
1774
|
+
// Add web component internal classes on top of `className`
|
|
1775
|
+
let allClasses = className ?? '';
|
|
1776
|
+
if (ref.current?.classList.contains('vertical')) {
|
|
1777
|
+
allClasses += ' vertical';
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
return react_index_js_default().createElement(
|
|
1781
|
+
'jp-tab',
|
|
1782
|
+
{
|
|
1783
|
+
ref,
|
|
1784
|
+
...filteredProps,
|
|
1785
|
+
class: allClasses.trim(),
|
|
1786
|
+
exportparts: props.exportparts,
|
|
1787
|
+
for: props.htmlFor,
|
|
1788
|
+
part: props.part,
|
|
1789
|
+
tabindex: props.tabIndex,
|
|
1790
|
+
style: { ...props.style }
|
|
1791
|
+
},
|
|
1792
|
+
props.children
|
|
1793
|
+
);
|
|
1794
|
+
});
|
|
1795
|
+
|
|
1796
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/TabPanel.js
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpTabPanel)());
|
|
1801
|
+
|
|
1802
|
+
const TabPanel = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1803
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1804
|
+
const { className, ...filteredProps } = props;
|
|
1805
|
+
|
|
1806
|
+
/** Properties - run whenever a property has changed */
|
|
1807
|
+
|
|
1808
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1809
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1810
|
+
|
|
1811
|
+
return react_index_js_default().createElement(
|
|
1812
|
+
'jp-tab-panel',
|
|
1813
|
+
{
|
|
1814
|
+
ref,
|
|
1815
|
+
...filteredProps,
|
|
1816
|
+
class: props.className,
|
|
1817
|
+
exportparts: props.exportparts,
|
|
1818
|
+
for: props.htmlFor,
|
|
1819
|
+
part: props.part,
|
|
1820
|
+
tabindex: props.tabIndex,
|
|
1821
|
+
style: { ...props.style }
|
|
1822
|
+
},
|
|
1823
|
+
props.children
|
|
1824
|
+
);
|
|
1825
|
+
});
|
|
1826
|
+
|
|
1827
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Tabs.js
|
|
1828
|
+
|
|
1829
|
+
|
|
1830
|
+
|
|
1831
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpTabs)());
|
|
1832
|
+
|
|
1833
|
+
const Tabs = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1834
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1835
|
+
const {
|
|
1836
|
+
className,
|
|
1837
|
+
orientation,
|
|
1838
|
+
activeid,
|
|
1839
|
+
activeindicator,
|
|
1840
|
+
activetab,
|
|
1841
|
+
...filteredProps
|
|
1842
|
+
} = props;
|
|
1843
|
+
|
|
1844
|
+
/** Event listeners - run once */
|
|
1845
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1846
|
+
|
|
1847
|
+
/** Properties - run whenever a property has changed */
|
|
1848
|
+
useProperties(ref, 'activeindicator', props.activeindicator);
|
|
1849
|
+
useProperties(ref, 'activetab', props.activetab);
|
|
1850
|
+
|
|
1851
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1852
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1853
|
+
|
|
1854
|
+
return react_index_js_default().createElement(
|
|
1855
|
+
'jp-tabs',
|
|
1856
|
+
{
|
|
1857
|
+
ref,
|
|
1858
|
+
...filteredProps,
|
|
1859
|
+
orientation: props.orientation,
|
|
1860
|
+
activeid: props.activeid,
|
|
1861
|
+
class: props.className,
|
|
1862
|
+
exportparts: props.exportparts,
|
|
1863
|
+
for: props.htmlFor,
|
|
1864
|
+
part: props.part,
|
|
1865
|
+
tabindex: props.tabIndex,
|
|
1866
|
+
style: { ...props.style }
|
|
1867
|
+
},
|
|
1868
|
+
props.children
|
|
1869
|
+
);
|
|
1870
|
+
});
|
|
1871
|
+
|
|
1872
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/TextArea.js
|
|
1873
|
+
|
|
1874
|
+
|
|
1875
|
+
|
|
1876
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpTextArea)());
|
|
1877
|
+
|
|
1878
|
+
const TextArea = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1879
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1880
|
+
const {
|
|
1881
|
+
className,
|
|
1882
|
+
appearance,
|
|
1883
|
+
resize,
|
|
1884
|
+
form,
|
|
1885
|
+
list,
|
|
1886
|
+
name,
|
|
1887
|
+
placeholder,
|
|
1888
|
+
readOnly,
|
|
1889
|
+
autofocus,
|
|
1890
|
+
maxlength,
|
|
1891
|
+
minlength,
|
|
1892
|
+
cols,
|
|
1893
|
+
rows,
|
|
1894
|
+
spellcheck,
|
|
1895
|
+
disabled,
|
|
1896
|
+
required,
|
|
1897
|
+
...filteredProps
|
|
1898
|
+
} = props;
|
|
1899
|
+
|
|
1900
|
+
/** Event listeners - run once */
|
|
1901
|
+
useEventListener(ref, 'select', props.onSelect);
|
|
1902
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1903
|
+
|
|
1904
|
+
/** Properties - run whenever a property has changed */
|
|
1905
|
+
useProperties(ref, 'readOnly', props.readOnly);
|
|
1906
|
+
useProperties(ref, 'autofocus', props.autofocus);
|
|
1907
|
+
useProperties(ref, 'maxlength', props.maxlength);
|
|
1908
|
+
useProperties(ref, 'minlength', props.minlength);
|
|
1909
|
+
useProperties(ref, 'cols', props.cols);
|
|
1910
|
+
useProperties(ref, 'rows', props.rows);
|
|
1911
|
+
useProperties(ref, 'spellcheck', props.spellcheck);
|
|
1912
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1913
|
+
useProperties(ref, 'required', props.required);
|
|
1914
|
+
|
|
1915
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1916
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1917
|
+
|
|
1918
|
+
return react_index_js_default().createElement(
|
|
1919
|
+
'jp-text-area',
|
|
1920
|
+
{
|
|
1921
|
+
ref,
|
|
1922
|
+
...filteredProps,
|
|
1923
|
+
appearance: props.appearance,
|
|
1924
|
+
resize: props.resize,
|
|
1925
|
+
form: props.form,
|
|
1926
|
+
list: props.list,
|
|
1927
|
+
name: props.name,
|
|
1928
|
+
placeholder: props.placeholder,
|
|
1929
|
+
class: props.className,
|
|
1930
|
+
exportparts: props.exportparts,
|
|
1931
|
+
for: props.htmlFor,
|
|
1932
|
+
part: props.part,
|
|
1933
|
+
tabindex: props.tabIndex,
|
|
1934
|
+
style: { ...props.style }
|
|
1935
|
+
},
|
|
1936
|
+
props.children
|
|
1937
|
+
);
|
|
1938
|
+
});
|
|
1939
|
+
|
|
1940
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/TextField.js
|
|
1941
|
+
|
|
1942
|
+
|
|
1943
|
+
|
|
1944
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpTextField)());
|
|
1945
|
+
|
|
1946
|
+
const TextField = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
1947
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
1948
|
+
const {
|
|
1949
|
+
className,
|
|
1950
|
+
readonly,
|
|
1951
|
+
appearance,
|
|
1952
|
+
placeholder,
|
|
1953
|
+
type,
|
|
1954
|
+
list,
|
|
1955
|
+
pattern,
|
|
1956
|
+
readOnly,
|
|
1957
|
+
autofocus,
|
|
1958
|
+
maxlength,
|
|
1959
|
+
minlength,
|
|
1960
|
+
size,
|
|
1961
|
+
spellcheck,
|
|
1962
|
+
disabled,
|
|
1963
|
+
required,
|
|
1964
|
+
...filteredProps
|
|
1965
|
+
} = props;
|
|
1966
|
+
|
|
1967
|
+
/** Event listeners - run once */
|
|
1968
|
+
useEventListener(ref, 'change', props.onChange);
|
|
1969
|
+
useEventListener(ref, 'input', props.onInput);
|
|
1970
|
+
|
|
1971
|
+
/** Properties - run whenever a property has changed */
|
|
1972
|
+
useProperties(ref, 'readOnly', props.readOnly);
|
|
1973
|
+
useProperties(ref, 'autofocus', props.autofocus);
|
|
1974
|
+
useProperties(ref, 'maxlength', props.maxlength);
|
|
1975
|
+
useProperties(ref, 'minlength', props.minlength);
|
|
1976
|
+
useProperties(ref, 'size', props.size);
|
|
1977
|
+
useProperties(ref, 'spellcheck', props.spellcheck);
|
|
1978
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
1979
|
+
useProperties(ref, 'required', props.required);
|
|
1980
|
+
|
|
1981
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
1982
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
1983
|
+
|
|
1984
|
+
return react_index_js_default().createElement(
|
|
1985
|
+
'jp-text-field',
|
|
1986
|
+
{
|
|
1987
|
+
ref,
|
|
1988
|
+
...filteredProps,
|
|
1989
|
+
appearance: props.appearance,
|
|
1990
|
+
placeholder: props.placeholder,
|
|
1991
|
+
type: props.type,
|
|
1992
|
+
list: props.list,
|
|
1993
|
+
pattern: props.pattern,
|
|
1994
|
+
class: props.className,
|
|
1995
|
+
exportparts: props.exportparts,
|
|
1996
|
+
for: props.htmlFor,
|
|
1997
|
+
part: props.part,
|
|
1998
|
+
tabindex: props.tabIndex,
|
|
1999
|
+
readonly: props.readonly ? '' : undefined,
|
|
2000
|
+
style: { ...props.style }
|
|
2001
|
+
},
|
|
2002
|
+
props.children
|
|
2003
|
+
);
|
|
2004
|
+
});
|
|
2005
|
+
|
|
2006
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Toolbar.js
|
|
2007
|
+
|
|
2008
|
+
|
|
2009
|
+
|
|
2010
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpToolbar)());
|
|
2011
|
+
|
|
2012
|
+
const Toolbar = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
2013
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
2014
|
+
const { className, ...filteredProps } = props;
|
|
2015
|
+
|
|
2016
|
+
/** Properties - run whenever a property has changed */
|
|
2017
|
+
|
|
2018
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
2019
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
2020
|
+
|
|
2021
|
+
return react_index_js_default().createElement(
|
|
2022
|
+
'jp-toolbar',
|
|
2023
|
+
{
|
|
2024
|
+
ref,
|
|
2025
|
+
...filteredProps,
|
|
2026
|
+
class: props.className,
|
|
2027
|
+
exportparts: props.exportparts,
|
|
2028
|
+
for: props.htmlFor,
|
|
2029
|
+
part: props.part,
|
|
2030
|
+
tabindex: props.tabIndex,
|
|
2031
|
+
style: { ...props.style }
|
|
2032
|
+
},
|
|
2033
|
+
props.children
|
|
2034
|
+
);
|
|
2035
|
+
});
|
|
2036
|
+
|
|
2037
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Tooltip.js
|
|
2038
|
+
|
|
2039
|
+
|
|
2040
|
+
|
|
2041
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpTooltip)());
|
|
2042
|
+
|
|
2043
|
+
const Tooltip = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
2044
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
2045
|
+
const {
|
|
2046
|
+
className,
|
|
2047
|
+
horizontalViewportLock,
|
|
2048
|
+
verticalViewportLock,
|
|
2049
|
+
anchor,
|
|
2050
|
+
delay,
|
|
2051
|
+
position,
|
|
2052
|
+
autoUpdateMode,
|
|
2053
|
+
visible,
|
|
2054
|
+
anchorElement,
|
|
2055
|
+
...filteredProps
|
|
2056
|
+
} = props;
|
|
2057
|
+
|
|
2058
|
+
/** Event listeners - run once */
|
|
2059
|
+
useEventListener(ref, 'dismiss', props.onDismiss);
|
|
2060
|
+
|
|
2061
|
+
/** Properties - run whenever a property has changed */
|
|
2062
|
+
useProperties(ref, 'visible', props.visible);
|
|
2063
|
+
useProperties(ref, 'anchorElement', props.anchorElement);
|
|
2064
|
+
|
|
2065
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
2066
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
2067
|
+
|
|
2068
|
+
return react_index_js_default().createElement(
|
|
2069
|
+
'jp-tooltip',
|
|
2070
|
+
{
|
|
2071
|
+
ref,
|
|
2072
|
+
...filteredProps,
|
|
2073
|
+
anchor: props.anchor,
|
|
2074
|
+
delay: props.delay,
|
|
2075
|
+
position: props.position,
|
|
2076
|
+
'auto-update-mode': props.autoUpdateMode || props['auto-update-mode'],
|
|
2077
|
+
class: props.className,
|
|
2078
|
+
exportparts: props.exportparts,
|
|
2079
|
+
for: props.htmlFor,
|
|
2080
|
+
part: props.part,
|
|
2081
|
+
tabindex: props.tabIndex,
|
|
2082
|
+
'horizontal-viewport-lock': props.horizontalViewportLock ? '' : undefined,
|
|
2083
|
+
'vertical-viewport-lock': props.verticalViewportLock ? '' : undefined,
|
|
2084
|
+
style: { ...props.style }
|
|
2085
|
+
},
|
|
2086
|
+
props.children
|
|
2087
|
+
);
|
|
2088
|
+
});
|
|
2089
|
+
|
|
2090
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/TreeItem.js
|
|
2091
|
+
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpTreeItem)());
|
|
2095
|
+
|
|
2096
|
+
const TreeItem = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
2097
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
2098
|
+
const { className, expanded, selected, disabled, ...filteredProps } = props;
|
|
2099
|
+
|
|
2100
|
+
/** Event listeners - run once */
|
|
2101
|
+
useEventListener(ref, 'expanded-change', props.onExpand);
|
|
2102
|
+
useEventListener(ref, 'selected-change', props.onSelect);
|
|
2103
|
+
|
|
2104
|
+
/** Properties - run whenever a property has changed */
|
|
2105
|
+
useProperties(ref, 'expanded', props.expanded);
|
|
2106
|
+
useProperties(ref, 'selected', props.selected);
|
|
2107
|
+
useProperties(ref, 'disabled', props.disabled);
|
|
2108
|
+
|
|
2109
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
2110
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
2111
|
+
|
|
2112
|
+
// Add web component internal classes on top of `className`
|
|
2113
|
+
let allClasses = className ?? '';
|
|
2114
|
+
if (ref.current?.nested) {
|
|
2115
|
+
allClasses += ' nested';
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
return react_index_js_default().createElement(
|
|
2119
|
+
'jp-tree-item',
|
|
2120
|
+
{
|
|
2121
|
+
ref,
|
|
2122
|
+
...filteredProps,
|
|
2123
|
+
class: allClasses.trim(),
|
|
2124
|
+
exportparts: props.exportparts,
|
|
2125
|
+
for: props.htmlFor,
|
|
2126
|
+
part: props.part,
|
|
2127
|
+
tabindex: props.tabIndex,
|
|
2128
|
+
style: { ...props.style }
|
|
2129
|
+
},
|
|
2130
|
+
props.children
|
|
2131
|
+
);
|
|
2132
|
+
});
|
|
2133
|
+
|
|
2134
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/TreeView.js
|
|
2135
|
+
|
|
2136
|
+
|
|
2137
|
+
|
|
2138
|
+
|
|
2139
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpTreeView)());
|
|
2140
|
+
|
|
2141
|
+
const TreeView = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
2142
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
2143
|
+
const { className, renderCollapsedNodes, currentSelected, ...filteredProps } =
|
|
2144
|
+
props;
|
|
2145
|
+
|
|
2146
|
+
(0,react_index_js_.useLayoutEffect)(() => {
|
|
2147
|
+
// Fix using private API to force refresh of nested flag on
|
|
2148
|
+
// first level of tree items.
|
|
2149
|
+
ref.current?.setItems();
|
|
2150
|
+
}, [ref.current]);
|
|
2151
|
+
|
|
2152
|
+
/** Properties - run whenever a property has changed */
|
|
2153
|
+
useProperties(ref, 'currentSelected', props.currentSelected);
|
|
2154
|
+
|
|
2155
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
2156
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
2157
|
+
|
|
2158
|
+
return react_index_js_default().createElement(
|
|
2159
|
+
'jp-tree-view',
|
|
2160
|
+
{
|
|
2161
|
+
ref,
|
|
2162
|
+
...filteredProps,
|
|
2163
|
+
class: props.className,
|
|
2164
|
+
exportparts: props.exportparts,
|
|
2165
|
+
for: props.htmlFor,
|
|
2166
|
+
part: props.part,
|
|
2167
|
+
tabindex: props.tabIndex,
|
|
2168
|
+
'render-collapsed-nodes': props.renderCollapsedNodes ? '' : undefined,
|
|
2169
|
+
style: { ...props.style }
|
|
2170
|
+
},
|
|
2171
|
+
props.children
|
|
2172
|
+
);
|
|
2173
|
+
});
|
|
2174
|
+
|
|
2175
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Picker.js
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpPicker)());
|
|
2180
|
+
|
|
2181
|
+
const Picker = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
2182
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
2183
|
+
const {
|
|
2184
|
+
className,
|
|
2185
|
+
filterSelected,
|
|
2186
|
+
filterQuery,
|
|
2187
|
+
selection,
|
|
2188
|
+
options,
|
|
2189
|
+
maxSelected,
|
|
2190
|
+
noSuggestionsText,
|
|
2191
|
+
suggestionsAvailableText,
|
|
2192
|
+
loadingText,
|
|
2193
|
+
label,
|
|
2194
|
+
labelledby,
|
|
2195
|
+
placeholder,
|
|
2196
|
+
menuPlacement,
|
|
2197
|
+
showLoading,
|
|
2198
|
+
listItemTemplate,
|
|
2199
|
+
defaultListItemTemplate,
|
|
2200
|
+
menuOptionTemplate,
|
|
2201
|
+
defaultMenuOptionTemplate,
|
|
2202
|
+
listItemContentsTemplate,
|
|
2203
|
+
menuOptionContentsTemplate,
|
|
2204
|
+
optionsList,
|
|
2205
|
+
query,
|
|
2206
|
+
itemsPlaceholderElement,
|
|
2207
|
+
...filteredProps
|
|
2208
|
+
} = props;
|
|
2209
|
+
|
|
2210
|
+
/** Properties - run whenever a property has changed */
|
|
2211
|
+
useProperties(ref, 'showLoading', props.showLoading);
|
|
2212
|
+
useProperties(ref, 'listItemTemplate', props.listItemTemplate);
|
|
2213
|
+
useProperties(ref, 'defaultListItemTemplate', props.defaultListItemTemplate);
|
|
2214
|
+
useProperties(ref, 'menuOptionTemplate', props.menuOptionTemplate);
|
|
2215
|
+
useProperties(
|
|
2216
|
+
ref,
|
|
2217
|
+
'defaultMenuOptionTemplate',
|
|
2218
|
+
props.defaultMenuOptionTemplate
|
|
2219
|
+
);
|
|
2220
|
+
useProperties(
|
|
2221
|
+
ref,
|
|
2222
|
+
'listItemContentsTemplate',
|
|
2223
|
+
props.listItemContentsTemplate
|
|
2224
|
+
);
|
|
2225
|
+
useProperties(
|
|
2226
|
+
ref,
|
|
2227
|
+
'menuOptionContentsTemplate',
|
|
2228
|
+
props.menuOptionContentsTemplate
|
|
2229
|
+
);
|
|
2230
|
+
useProperties(ref, 'optionsList', props.optionsList);
|
|
2231
|
+
useProperties(ref, 'query', props.query);
|
|
2232
|
+
useProperties(ref, 'itemsPlaceholderElement', props.itemsPlaceholderElement);
|
|
2233
|
+
|
|
2234
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
2235
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
2236
|
+
|
|
2237
|
+
return react_index_js_default().createElement(
|
|
2238
|
+
'jp-draft-picker',
|
|
2239
|
+
{
|
|
2240
|
+
ref,
|
|
2241
|
+
...filteredProps,
|
|
2242
|
+
selection: props.selection,
|
|
2243
|
+
options: props.options,
|
|
2244
|
+
'max-selected': props.maxSelected || props['max-selected'],
|
|
2245
|
+
'no-suggestions-text':
|
|
2246
|
+
props.noSuggestionsText || props['no-suggestions-text'],
|
|
2247
|
+
'suggestions-available-text':
|
|
2248
|
+
props.suggestionsAvailableText || props['suggestions-available-text'],
|
|
2249
|
+
'loading-text': props.loadingText || props['loading-text'],
|
|
2250
|
+
label: props.label,
|
|
2251
|
+
labelledby: props.labelledby,
|
|
2252
|
+
placeholder: props.placeholder,
|
|
2253
|
+
'menu-placement': props.menuPlacement || props['menu-placement'],
|
|
2254
|
+
class: props.className,
|
|
2255
|
+
exportparts: props.exportparts,
|
|
2256
|
+
for: props.htmlFor,
|
|
2257
|
+
part: props.part,
|
|
2258
|
+
tabindex: props.tabIndex,
|
|
2259
|
+
'filter-selected': props.filterSelected ? '' : undefined,
|
|
2260
|
+
'filter-query': props.filterQuery ? '' : undefined,
|
|
2261
|
+
style: { ...props.style }
|
|
2262
|
+
},
|
|
2263
|
+
props.children
|
|
2264
|
+
);
|
|
2265
|
+
});
|
|
2266
|
+
|
|
2267
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/PickerMenu.js
|
|
2268
|
+
|
|
2269
|
+
|
|
2270
|
+
|
|
2271
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpPickerMenu)());
|
|
2272
|
+
|
|
2273
|
+
const PickerMenu = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
2274
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
2275
|
+
const { className, suggestionsAvailableText, ...filteredProps } = props;
|
|
2276
|
+
|
|
2277
|
+
/** Properties - run whenever a property has changed */
|
|
2278
|
+
useProperties(
|
|
2279
|
+
ref,
|
|
2280
|
+
'suggestionsAvailableText',
|
|
2281
|
+
props.suggestionsAvailableText
|
|
2282
|
+
);
|
|
2283
|
+
|
|
2284
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
2285
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
2286
|
+
|
|
2287
|
+
return react_index_js_default().createElement(
|
|
2288
|
+
'jp-draft-picker-menu',
|
|
2289
|
+
{
|
|
2290
|
+
ref,
|
|
2291
|
+
...filteredProps,
|
|
2292
|
+
class: props.className,
|
|
2293
|
+
exportparts: props.exportparts,
|
|
2294
|
+
for: props.htmlFor,
|
|
2295
|
+
part: props.part,
|
|
2296
|
+
tabindex: props.tabIndex,
|
|
2297
|
+
style: { ...props.style }
|
|
2298
|
+
},
|
|
2299
|
+
props.children
|
|
2300
|
+
);
|
|
2301
|
+
});
|
|
2302
|
+
|
|
2303
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/PickerMenuOption.js
|
|
2304
|
+
|
|
2305
|
+
|
|
2306
|
+
|
|
2307
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpPickerMenuOption)());
|
|
2308
|
+
|
|
2309
|
+
const PickerMenuOption = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
2310
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
2311
|
+
const { className, value, contentsTemplate, ...filteredProps } = props;
|
|
2312
|
+
|
|
2313
|
+
/** Properties - run whenever a property has changed */
|
|
2314
|
+
useProperties(ref, 'contentsTemplate', props.contentsTemplate);
|
|
2315
|
+
|
|
2316
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
2317
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
2318
|
+
|
|
2319
|
+
return react_index_js_default().createElement(
|
|
2320
|
+
'jp-draft-picker-menu-option',
|
|
2321
|
+
{
|
|
2322
|
+
ref,
|
|
2323
|
+
...filteredProps,
|
|
2324
|
+
value: props.value,
|
|
2325
|
+
class: props.className,
|
|
2326
|
+
exportparts: props.exportparts,
|
|
2327
|
+
for: props.htmlFor,
|
|
2328
|
+
part: props.part,
|
|
2329
|
+
tabindex: props.tabIndex,
|
|
2330
|
+
style: { ...props.style }
|
|
2331
|
+
},
|
|
2332
|
+
props.children
|
|
2333
|
+
);
|
|
2334
|
+
});
|
|
2335
|
+
|
|
2336
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/PickerList.js
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
|
|
2340
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpPickerList)());
|
|
2341
|
+
|
|
2342
|
+
const PickerList = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
2343
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
2344
|
+
const { className, ...filteredProps } = props;
|
|
2345
|
+
|
|
2346
|
+
/** Properties - run whenever a property has changed */
|
|
2347
|
+
|
|
2348
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
2349
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
2350
|
+
|
|
2351
|
+
return react_index_js_default().createElement(
|
|
2352
|
+
'jp-draft-picker-list',
|
|
2353
|
+
{
|
|
2354
|
+
ref,
|
|
2355
|
+
...filteredProps,
|
|
2356
|
+
class: props.className,
|
|
2357
|
+
exportparts: props.exportparts,
|
|
2358
|
+
for: props.htmlFor,
|
|
2359
|
+
part: props.part,
|
|
2360
|
+
tabindex: props.tabIndex,
|
|
2361
|
+
style: { ...props.style }
|
|
2362
|
+
},
|
|
2363
|
+
props.children
|
|
2364
|
+
);
|
|
2365
|
+
});
|
|
2366
|
+
|
|
2367
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/PickerListItem.js
|
|
2368
|
+
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
(0,index_js_.provideJupyterDesignSystem)().register((0,index_js_.jpPickerListItem)());
|
|
2372
|
+
|
|
2373
|
+
const PickerListItem = (0,react_index_js_.forwardRef)((props, forwardedRef) => {
|
|
2374
|
+
const ref = (0,react_index_js_.useRef)(null);
|
|
2375
|
+
const { className, value, contentsTemplate, ...filteredProps } = props;
|
|
2376
|
+
|
|
2377
|
+
/** Properties - run whenever a property has changed */
|
|
2378
|
+
useProperties(ref, 'contentsTemplate', props.contentsTemplate);
|
|
2379
|
+
|
|
2380
|
+
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
2381
|
+
(0,react_index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
2382
|
+
|
|
2383
|
+
return react_index_js_default().createElement(
|
|
2384
|
+
'jp-draft-picker-list-item',
|
|
2385
|
+
{
|
|
2386
|
+
ref,
|
|
2387
|
+
...filteredProps,
|
|
2388
|
+
value: props.value,
|
|
2389
|
+
class: props.className,
|
|
2390
|
+
exportparts: props.exportparts,
|
|
2391
|
+
for: props.htmlFor,
|
|
2392
|
+
part: props.part,
|
|
2393
|
+
tabindex: props.tabIndex,
|
|
2394
|
+
style: { ...props.style }
|
|
2395
|
+
},
|
|
2396
|
+
props.children
|
|
2397
|
+
);
|
|
2398
|
+
});
|
|
2399
|
+
|
|
2400
|
+
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/index.js
|
|
2401
|
+
|
|
2402
|
+
|
|
2403
|
+
|
|
2404
|
+
|
|
2405
|
+
|
|
2406
|
+
|
|
2407
|
+
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
|
|
2411
|
+
|
|
2412
|
+
|
|
2413
|
+
|
|
2414
|
+
|
|
2415
|
+
|
|
2416
|
+
|
|
2417
|
+
|
|
2418
|
+
|
|
2419
|
+
|
|
2420
|
+
|
|
2421
|
+
|
|
2422
|
+
|
|
2423
|
+
|
|
2424
|
+
|
|
2425
|
+
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
|
|
2429
|
+
|
|
2430
|
+
|
|
2431
|
+
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
|
|
2450
|
+
|
|
2451
|
+
/***/ })
|
|
2452
|
+
|
|
2453
|
+
}]);
|
|
2454
|
+
//# sourceMappingURL=2816.03541f3103bf4c09e591.js.map?v=03541f3103bf4c09e591
|