notebook 7.3.0b2__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.1bd28ce67416c8f16b0a.js → 1650.f2b92d4d553bfe8a53c0.js} +4 -4
- notebook/static/{1650.1bd28ce67416c8f16b0a.js.map → 1650.f2b92d4d553bfe8a53c0.js.map} +1 -1
- notebook/static/{1684.559efe17ab89dde47ae7.js → 1684.3af5b8529a15848c1264.js} +5 -5
- notebook/static/{1684.559efe17ab89dde47ae7.js.map → 1684.3af5b8529a15848c1264.js.map} +1 -1
- notebook/static/{4864.64c377dd0f7d413c6094.js → 1871.29951b77779d94d726d1.js} +5 -1230
- notebook/static/1871.29951b77779d94d726d1.js.map +1 -0
- notebook/static/{7636.1c12a1c4f50368561c79.js → 2692.aa472750b0685d9dc0b2.js} +2 -2
- notebook/static/{7636.1c12a1c4f50368561c79.js.map → 2692.aa472750b0685d9dc0b2.js.map} +1 -1
- notebook/static/2816.03541f3103bf4c09e591.js +2454 -0
- notebook/static/2816.03541f3103bf4c09e591.js.map +1 -0
- notebook/static/{3146.6c0713ef79dfaa20bfb1.js → 3146.97ceb65ac870fdcdfbe8.js} +3 -3
- notebook/static/{3146.6c0713ef79dfaa20bfb1.js.map → 3146.97ceb65ac870fdcdfbe8.js.map} +1 -1
- notebook/static/{3768.aff185a034d18009623a.js → 3768.6343619807e7c2a9d714.js} +19 -19
- notebook/static/{7302.21256befc2511fe4d32f.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/{5018.ee5d379ed404ab1c5431.js → 4201.20132290f384a6b6393d.js} +2 -2
- notebook/static/{5018.ee5d379ed404ab1c5431.js.map → 4201.20132290f384a6b6393d.js.map} +1 -1
- notebook/static/{4382.8e6c28124e4454aef279.js → 4382.6fab9cdf40a3339ed3d4.js} +3 -3
- notebook/static/{4382.8e6c28124e4454aef279.js.map → 4382.6fab9cdf40a3339ed3d4.js.map} +1 -1
- notebook/static/{4630.7e63eb06a239c9d5284e.js → 4630.3883ae147294cfade724.js} +3 -3
- notebook/static/{4630.7e63eb06a239c9d5284e.js.map → 4630.3883ae147294cfade724.js.map} +1 -1
- notebook/static/{4645.a7f11a7ccd983d2b97d3.js → 4645.859c9a8078e07bd9720f.js} +5 -5
- notebook/static/{4645.a7f11a7ccd983d2b97d3.js.map → 4645.859c9a8078e07bd9720f.js.map} +1 -1
- notebook/static/{4837.f5f3df5f5cff466be27b.js → 4837.36bee8533ee93068ee88.js} +3 -3
- notebook/static/{4837.f5f3df5f5cff466be27b.js.map → 4837.36bee8533ee93068ee88.js.map} +1 -1
- notebook/static/{5135.5fea9ea2df659f5eb5ae.js → 5135.ec51053c912f00c60e74.js} +11 -11
- notebook/static/{5135.5fea9ea2df659f5eb5ae.js.map → 5135.ec51053c912f00c60e74.js.map} +1 -1
- notebook/static/{5573.480c617153be4745c1ce.js → 5573.a4598929db84c5f78ee2.js} +17 -17
- notebook/static/{5573.480c617153be4745c1ce.js.map → 5573.a4598929db84c5f78ee2.js.map} +1 -1
- notebook/static/{5601.718852b05fe43a575c45.js → 5601.ee83a00a07b41941d934.js} +5 -5
- notebook/static/{5601.718852b05fe43a575c45.js.map → 5601.ee83a00a07b41941d934.js.map} +1 -1
- notebook/static/{6345.007af86b68aa28034080.js → 6345.c4a72953c198541b9a7f.js} +5 -5
- notebook/static/{6345.007af86b68aa28034080.js.map → 6345.c4a72953c198541b9a7f.js.map} +1 -1
- notebook/static/{7302.21256befc2511fe4d32f.js → 7302.a2513413e33b84efedea.js} +19 -19
- notebook/static/{3768.aff185a034d18009623a.js.map → 7302.a2513413e33b84efedea.js.map} +1 -1
- notebook/static/{7906.cee077e7e80731ddf8a7.js → 7906.a9556ca8e2504977987c.js} +3 -3
- notebook/static/{7906.cee077e7e80731ddf8a7.js.map → 7906.a9556ca8e2504977987c.js.map} +1 -1
- notebook/static/{8579.64e229a3c2210a14fcf7.js → 8579.3dec3a2251606938dba4.js} +13 -13
- notebook/static/{8579.64e229a3c2210a14fcf7.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.9e8a12a243dae2c0f2d4.js → 8781.adc12eca88ec3b76d38b.js} +57 -57
- notebook/static/{8781.9e8a12a243dae2c0f2d4.js.map → 8781.adc12eca88ec3b76d38b.js.map} +1 -1
- notebook/static/{8875.648b97219ad96ef9ba4c.js → 8875.117e3e9f3836340e549b.js} +4 -4
- notebook/static/{8875.648b97219ad96ef9ba4c.js.map → 8875.117e3e9f3836340e549b.js.map} +1 -1
- notebook/static/{9068.bf907c642d9541e6894b.js → 9068.f5036cc4dc9f0a25d015.js} +3 -3
- notebook/static/{9068.bf907c642d9541e6894b.js.map → 9068.f5036cc4dc9f0a25d015.js.map} +1 -1
- notebook/static/{9380.71f02ce91dd216d66b15.js → 9380.297bbac8b3a9ab278381.js} +5 -5
- notebook/static/{9380.71f02ce91dd216d66b15.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.d9335e513324cb89fdda.js → notebook_core.11ed4ec3cbd911d6d615.js} +1353 -1087
- notebook/static/{notebook_core.d9335e513324cb89fdda.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.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +14 -14
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +4 -4
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +9 -9
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +15 -15
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +11 -11
- {notebook-7.3.0b2.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.0b2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.6775a82fd4797c8a757e.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.0b2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/29.a4a23d51c410a7dd82e6.js → notebook-7.3.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/983.1840301bae62c7e769b5.js +1 -1
- notebook-7.3.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.3922a57136e4fe7d7670.js +1 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
- {notebook-7.3.0b2.dist-info → notebook-7.3.1.dist-info}/METADATA +3 -4
- {notebook-7.3.0b2.dist-info → notebook-7.3.1.dist-info}/RECORD +100 -104
- {notebook-7.3.0b2.dist-info → notebook-7.3.1.dist-info}/WHEEL +1 -1
- notebook/static/2424.6f13f59f4bc472c3d07d.js +0 -1278
- notebook/static/2424.6f13f59f4bc472c3d07d.js.map +0 -1
- notebook/static/4864.64c377dd0f7d413c6094.js.map +0 -1
- notebook/static/5430.98e90178da18bdd99116.js +0 -2145
- notebook/static/5430.98e90178da18bdd99116.js.map +0 -1
- notebook/static/8635.76a56708236264507087.js +0 -11476
- notebook/static/8635.76a56708236264507087.js.map +0 -1
- notebook/static/9672.b55f9504fd5af290b047.js +0 -774
- notebook/static/9672.b55f9504fd5af290b047.js.map +0 -1
- notebook/static/main.dcc101ae087bd679a592.js +0 -1164
- notebook/static/main.dcc101ae087bd679a592.js.map +0 -1
- notebook-7.3.0b2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.628090148fd2c1d8e659.js +0 -1
- notebook-7.3.0b2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.d4c6147036cdc583f6e3.js +0 -1
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/applications/jupyter-notebook.desktop +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/full-width-notebook.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
- {notebook-7.3.0b2.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.0b2.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.0b2.data → notebook-7.3.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js +0 -0
- {notebook-7.3.0b2.data → notebook-7.3.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
- {notebook-7.3.0b2.dist-info → notebook-7.3.1.dist-info}/entry_points.txt +0 -0
- {notebook-7.3.0b2.dist-info → notebook-7.3.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,774 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] = self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] || []).push([[9672],{
|
|
3
|
-
|
|
4
|
-
/***/ 99672:
|
|
5
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
// EXPORTS
|
|
9
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
10
|
-
o: () => (/* binding */ Search_Search)
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
// EXTERNAL MODULE: ../node_modules/@jupyter/web-components/dist/esm/jupyter-design-system.js + 1 modules
|
|
14
|
-
var jupyter_design_system = __webpack_require__(68866);
|
|
15
|
-
// EXTERNAL MODULE: ../node_modules/tslib/tslib.es6.mjs
|
|
16
|
-
var tslib_es6 = __webpack_require__(82616);
|
|
17
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-element/dist/esm/components/attributes.js
|
|
18
|
-
var attributes = __webpack_require__(98332);
|
|
19
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-foundation/node_modules/tslib/tslib.es6.js
|
|
20
|
-
var tslib_tslib_es6 = __webpack_require__(95185);
|
|
21
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-element/dist/esm/dom.js
|
|
22
|
-
var dom = __webpack_require__(91211);
|
|
23
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-element/dist/esm/observation/observable.js
|
|
24
|
-
var observable = __webpack_require__(92221);
|
|
25
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/patterns/aria-global.js
|
|
26
|
-
var aria_global = __webpack_require__(14869);
|
|
27
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/patterns/start-end.js
|
|
28
|
-
var start_end = __webpack_require__(52865);
|
|
29
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/utilities/apply-mixins.js
|
|
30
|
-
var apply_mixins = __webpack_require__(89155);
|
|
31
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/form-associated/form-associated.js
|
|
32
|
-
var form_associated = __webpack_require__(940);
|
|
33
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/foundation-element/foundation-element.js
|
|
34
|
-
var foundation_element = __webpack_require__(50755);
|
|
35
|
-
;// CONCATENATED MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/search/search.form-associated.js
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
class _Search extends foundation_element/* FoundationElement */.I {
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* A form-associated base class for the {@link @microsoft/fast-foundation#(Search:class)} component.
|
|
42
|
-
*
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
|
-
class FormAssociatedSearch extends (0,form_associated/* FormAssociated */.Um)(_Search) {
|
|
46
|
-
constructor() {
|
|
47
|
-
super(...arguments);
|
|
48
|
-
this.proxy = document.createElement("input");
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
;// CONCATENATED MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/search/search.js
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* A Search Custom HTML Element.
|
|
60
|
-
* Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search | <input type="search" /> element }.
|
|
61
|
-
*
|
|
62
|
-
* @slot start - Content which can be provided before the search input
|
|
63
|
-
* @slot end - Content which can be provided after the search clear button
|
|
64
|
-
* @slot - The default slot for the label
|
|
65
|
-
* @slot close-button - The clear button
|
|
66
|
-
* @slot close-glyph - The clear glyph
|
|
67
|
-
* @csspart label - The label
|
|
68
|
-
* @csspart root - The element wrapping the control, including start and end slots
|
|
69
|
-
* @csspart control - The element representing the input
|
|
70
|
-
* @csspart clear-button - The button to clear the input
|
|
71
|
-
*
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
class Search extends FormAssociatedSearch {
|
|
75
|
-
readOnlyChanged() {
|
|
76
|
-
if (this.proxy instanceof HTMLInputElement) {
|
|
77
|
-
this.proxy.readOnly = this.readOnly;
|
|
78
|
-
this.validate();
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
autofocusChanged() {
|
|
82
|
-
if (this.proxy instanceof HTMLInputElement) {
|
|
83
|
-
this.proxy.autofocus = this.autofocus;
|
|
84
|
-
this.validate();
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
placeholderChanged() {
|
|
88
|
-
if (this.proxy instanceof HTMLInputElement) {
|
|
89
|
-
this.proxy.placeholder = this.placeholder;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
listChanged() {
|
|
93
|
-
if (this.proxy instanceof HTMLInputElement) {
|
|
94
|
-
this.proxy.setAttribute("list", this.list);
|
|
95
|
-
this.validate();
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
maxlengthChanged() {
|
|
99
|
-
if (this.proxy instanceof HTMLInputElement) {
|
|
100
|
-
this.proxy.maxLength = this.maxlength;
|
|
101
|
-
this.validate();
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
minlengthChanged() {
|
|
105
|
-
if (this.proxy instanceof HTMLInputElement) {
|
|
106
|
-
this.proxy.minLength = this.minlength;
|
|
107
|
-
this.validate();
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
patternChanged() {
|
|
111
|
-
if (this.proxy instanceof HTMLInputElement) {
|
|
112
|
-
this.proxy.pattern = this.pattern;
|
|
113
|
-
this.validate();
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
sizeChanged() {
|
|
117
|
-
if (this.proxy instanceof HTMLInputElement) {
|
|
118
|
-
this.proxy.size = this.size;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
spellcheckChanged() {
|
|
122
|
-
if (this.proxy instanceof HTMLInputElement) {
|
|
123
|
-
this.proxy.spellcheck = this.spellcheck;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
connectedCallback() {
|
|
130
|
-
super.connectedCallback();
|
|
131
|
-
this.validate();
|
|
132
|
-
if (this.autofocus) {
|
|
133
|
-
dom/* DOM */.SO.queueUpdate(() => {
|
|
134
|
-
this.focus();
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
/** {@inheritDoc (FormAssociated:interface).validate} */
|
|
139
|
-
validate() {
|
|
140
|
-
super.validate(this.control);
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Handles the internal control's `input` event
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
146
|
-
handleTextInput() {
|
|
147
|
-
this.value = this.control.value;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Handles the control's clear value event
|
|
151
|
-
* @public
|
|
152
|
-
*/
|
|
153
|
-
handleClearInput() {
|
|
154
|
-
this.value = "";
|
|
155
|
-
this.control.focus();
|
|
156
|
-
this.handleChange();
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Change event handler for inner control.
|
|
160
|
-
* @remarks
|
|
161
|
-
* "Change" events are not `composable` so they will not
|
|
162
|
-
* permeate the shadow DOM boundary. This fn effectively proxies
|
|
163
|
-
* the change event, emitting a `change` event whenever the internal
|
|
164
|
-
* control emits a `change` event
|
|
165
|
-
* @internal
|
|
166
|
-
*/
|
|
167
|
-
handleChange() {
|
|
168
|
-
this.$emit("change");
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
(0,tslib_tslib_es6/* __decorate */.gn)([
|
|
172
|
-
(0,attributes/* attr */.Lj)({ attribute: "readonly", mode: "boolean" })
|
|
173
|
-
], Search.prototype, "readOnly", void 0);
|
|
174
|
-
(0,tslib_tslib_es6/* __decorate */.gn)([
|
|
175
|
-
(0,attributes/* attr */.Lj)({ mode: "boolean" })
|
|
176
|
-
], Search.prototype, "autofocus", void 0);
|
|
177
|
-
(0,tslib_tslib_es6/* __decorate */.gn)([
|
|
178
|
-
attributes/* attr */.Lj
|
|
179
|
-
], Search.prototype, "placeholder", void 0);
|
|
180
|
-
(0,tslib_tslib_es6/* __decorate */.gn)([
|
|
181
|
-
attributes/* attr */.Lj
|
|
182
|
-
], Search.prototype, "list", void 0);
|
|
183
|
-
(0,tslib_tslib_es6/* __decorate */.gn)([
|
|
184
|
-
(0,attributes/* attr */.Lj)({ converter: attributes/* nullableNumberConverter */.Id })
|
|
185
|
-
], Search.prototype, "maxlength", void 0);
|
|
186
|
-
(0,tslib_tslib_es6/* __decorate */.gn)([
|
|
187
|
-
(0,attributes/* attr */.Lj)({ converter: attributes/* nullableNumberConverter */.Id })
|
|
188
|
-
], Search.prototype, "minlength", void 0);
|
|
189
|
-
(0,tslib_tslib_es6/* __decorate */.gn)([
|
|
190
|
-
attributes/* attr */.Lj
|
|
191
|
-
], Search.prototype, "pattern", void 0);
|
|
192
|
-
(0,tslib_tslib_es6/* __decorate */.gn)([
|
|
193
|
-
(0,attributes/* attr */.Lj)({ converter: attributes/* nullableNumberConverter */.Id })
|
|
194
|
-
], Search.prototype, "size", void 0);
|
|
195
|
-
(0,tslib_tslib_es6/* __decorate */.gn)([
|
|
196
|
-
(0,attributes/* attr */.Lj)({ mode: "boolean" })
|
|
197
|
-
], Search.prototype, "spellcheck", void 0);
|
|
198
|
-
(0,tslib_tslib_es6/* __decorate */.gn)([
|
|
199
|
-
observable/* observable */.LO
|
|
200
|
-
], Search.prototype, "defaultSlottedNodes", void 0);
|
|
201
|
-
/**
|
|
202
|
-
* Includes ARIA states and properties relating to the ARIA textbox role
|
|
203
|
-
*
|
|
204
|
-
* @public
|
|
205
|
-
*/
|
|
206
|
-
class DelegatesARIASearch {
|
|
207
|
-
}
|
|
208
|
-
(0,apply_mixins/* applyMixins */.e)(DelegatesARIASearch, aria_global/* ARIAGlobalStatesAndProperties */.v);
|
|
209
|
-
(0,apply_mixins/* applyMixins */.e)(Search, start_end/* StartEnd */.hW, DelegatesARIASearch);
|
|
210
|
-
|
|
211
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-element/dist/esm/templating/template.js + 3 modules
|
|
212
|
-
var template = __webpack_require__(25269);
|
|
213
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-element/dist/esm/templating/slotted.js
|
|
214
|
-
var slotted = __webpack_require__(17832);
|
|
215
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-element/dist/esm/templating/ref.js
|
|
216
|
-
var ref = __webpack_require__(62564);
|
|
217
|
-
;// CONCATENATED MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/utilities/whitespace-filter.js
|
|
218
|
-
/**
|
|
219
|
-
* a method to filter out any whitespace _only_ nodes, to be used inside a template
|
|
220
|
-
* @param value - The Node that is being inspected
|
|
221
|
-
* @param index - The index of the node within the array
|
|
222
|
-
* @param array - The Node array that is being filtered
|
|
223
|
-
*
|
|
224
|
-
* @public
|
|
225
|
-
*/
|
|
226
|
-
function whitespaceFilter(value, index, array) {
|
|
227
|
-
return value.nodeType !== Node.TEXT_NODE
|
|
228
|
-
? true
|
|
229
|
-
: typeof value.nodeValue === "string" && !!value.nodeValue.trim().length;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
;// CONCATENATED MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/search/search.template.js
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* The template for the {@link @microsoft/fast-foundation#(Search:class)} component.
|
|
238
|
-
* @public
|
|
239
|
-
*/
|
|
240
|
-
const searchTemplate = (context, definition) => (0,template/* html */.d) `
|
|
241
|
-
<template
|
|
242
|
-
class="
|
|
243
|
-
${x => (x.readOnly ? "readonly" : "")}
|
|
244
|
-
"
|
|
245
|
-
>
|
|
246
|
-
<label
|
|
247
|
-
part="label"
|
|
248
|
-
for="control"
|
|
249
|
-
class="${x => x.defaultSlottedNodes && x.defaultSlottedNodes.length
|
|
250
|
-
? "label"
|
|
251
|
-
: "label label__hidden"}"
|
|
252
|
-
>
|
|
253
|
-
<slot
|
|
254
|
-
${(0,slotted/* slotted */.Q)({ property: "defaultSlottedNodes", filter: whitespaceFilter })}
|
|
255
|
-
></slot>
|
|
256
|
-
</label>
|
|
257
|
-
<div class="root" part="root" ${(0,ref/* ref */.i)("root")}>
|
|
258
|
-
${(0,start_end/* startSlotTemplate */.m9)(context, definition)}
|
|
259
|
-
<div class="input-wrapper" part="input-wrapper">
|
|
260
|
-
<input
|
|
261
|
-
class="control"
|
|
262
|
-
part="control"
|
|
263
|
-
id="control"
|
|
264
|
-
@input="${x => x.handleTextInput()}"
|
|
265
|
-
@change="${x => x.handleChange()}"
|
|
266
|
-
?autofocus="${x => x.autofocus}"
|
|
267
|
-
?disabled="${x => x.disabled}"
|
|
268
|
-
list="${x => x.list}"
|
|
269
|
-
maxlength="${x => x.maxlength}"
|
|
270
|
-
minlength="${x => x.minlength}"
|
|
271
|
-
pattern="${x => x.pattern}"
|
|
272
|
-
placeholder="${x => x.placeholder}"
|
|
273
|
-
?readonly="${x => x.readOnly}"
|
|
274
|
-
?required="${x => x.required}"
|
|
275
|
-
size="${x => x.size}"
|
|
276
|
-
?spellcheck="${x => x.spellcheck}"
|
|
277
|
-
:value="${x => x.value}"
|
|
278
|
-
type="search"
|
|
279
|
-
aria-atomic="${x => x.ariaAtomic}"
|
|
280
|
-
aria-busy="${x => x.ariaBusy}"
|
|
281
|
-
aria-controls="${x => x.ariaControls}"
|
|
282
|
-
aria-current="${x => x.ariaCurrent}"
|
|
283
|
-
aria-describedby="${x => x.ariaDescribedby}"
|
|
284
|
-
aria-details="${x => x.ariaDetails}"
|
|
285
|
-
aria-disabled="${x => x.ariaDisabled}"
|
|
286
|
-
aria-errormessage="${x => x.ariaErrormessage}"
|
|
287
|
-
aria-flowto="${x => x.ariaFlowto}"
|
|
288
|
-
aria-haspopup="${x => x.ariaHaspopup}"
|
|
289
|
-
aria-hidden="${x => x.ariaHidden}"
|
|
290
|
-
aria-invalid="${x => x.ariaInvalid}"
|
|
291
|
-
aria-keyshortcuts="${x => x.ariaKeyshortcuts}"
|
|
292
|
-
aria-label="${x => x.ariaLabel}"
|
|
293
|
-
aria-labelledby="${x => x.ariaLabelledby}"
|
|
294
|
-
aria-live="${x => x.ariaLive}"
|
|
295
|
-
aria-owns="${x => x.ariaOwns}"
|
|
296
|
-
aria-relevant="${x => x.ariaRelevant}"
|
|
297
|
-
aria-roledescription="${x => x.ariaRoledescription}"
|
|
298
|
-
${(0,ref/* ref */.i)("control")}
|
|
299
|
-
/>
|
|
300
|
-
<slot name="close-button">
|
|
301
|
-
<button
|
|
302
|
-
class="clear-button ${x => x.value ? "" : "clear-button__hidden"}"
|
|
303
|
-
part="clear-button"
|
|
304
|
-
tabindex="-1"
|
|
305
|
-
@click=${x => x.handleClearInput()}
|
|
306
|
-
>
|
|
307
|
-
<slot name="close-glyph">
|
|
308
|
-
<svg
|
|
309
|
-
width="9"
|
|
310
|
-
height="9"
|
|
311
|
-
viewBox="0 0 9 9"
|
|
312
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
313
|
-
>
|
|
314
|
-
<path
|
|
315
|
-
d="M0.146447 0.146447C0.338683 -0.0478972 0.645911 -0.0270359 0.853553 0.146447L4.5 3.793L8.14645 0.146447C8.34171 -0.0488155 8.65829 -0.0488155 8.85355 0.146447C9.04882 0.341709 9.04882 0.658291 8.85355 0.853553L5.207 4.5L8.85355 8.14645C9.05934 8.35223 9.03129 8.67582 8.85355 8.85355C8.67582 9.03129 8.35409 9.02703 8.14645 8.85355L4.5 5.207L0.853553 8.85355C0.658291 9.04882 0.341709 9.04882 0.146447 8.85355C-0.0488155 8.65829 -0.0488155 8.34171 0.146447 8.14645L3.793 4.5L0.146447 0.853553C-0.0268697 0.680237 -0.0457894 0.34079 0.146447 0.146447Z"
|
|
316
|
-
/>
|
|
317
|
-
</svg>
|
|
318
|
-
</slot>
|
|
319
|
-
</button>
|
|
320
|
-
</slot>
|
|
321
|
-
</div>
|
|
322
|
-
${(0,start_end/* endSlotTemplate */.LC)(context, definition)}
|
|
323
|
-
</div>
|
|
324
|
-
</template>
|
|
325
|
-
`;
|
|
326
|
-
|
|
327
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-element/dist/esm/styles/css.js
|
|
328
|
-
var css = __webpack_require__(12634);
|
|
329
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/design-token/design-token.js + 2 modules
|
|
330
|
-
var design_token = __webpack_require__(27002);
|
|
331
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/utilities/style/focus.js
|
|
332
|
-
var style_focus = __webpack_require__(58201);
|
|
333
|
-
// EXTERNAL MODULE: ../node_modules/@jupyter/web-components/dist/esm/design-tokens.js + 30 modules
|
|
334
|
-
var design_tokens = __webpack_require__(87206);
|
|
335
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/utilities/style/display.js
|
|
336
|
-
var display = __webpack_require__(21601);
|
|
337
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/utilities/style/disabled.js
|
|
338
|
-
var disabled = __webpack_require__(61424);
|
|
339
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-foundation/dist/esm/utilities/match-media-stylesheet-behavior.js
|
|
340
|
-
var match_media_stylesheet_behavior = __webpack_require__(98242);
|
|
341
|
-
// EXTERNAL MODULE: ../node_modules/@microsoft/fast-web-utilities/dist/system-colors.js
|
|
342
|
-
var system_colors = __webpack_require__(30550);
|
|
343
|
-
// EXTERNAL MODULE: ../node_modules/@jupyter/web-components/dist/esm/styles/size.js
|
|
344
|
-
var size = __webpack_require__(13370);
|
|
345
|
-
;// CONCATENATED MODULE: ../node_modules/@jupyter/web-components/dist/esm/styles/patterns/field.js
|
|
346
|
-
// Copyright (c) Jupyter Development Team.
|
|
347
|
-
// Copyright (c) Microsoft Corporation.
|
|
348
|
-
// Distributed under the terms of the Modified BSD License.
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
const BaseFieldStyles = (0,css/* css */.i) `
|
|
355
|
-
${(0,display/* display */.j)('inline-block')} :host {
|
|
356
|
-
font-family: ${design_tokens/* bodyFont */.SV};
|
|
357
|
-
outline: none;
|
|
358
|
-
user-select: none;
|
|
359
|
-
/* Ensure to display focus highlight */
|
|
360
|
-
margin: calc((${design_tokens/* focusStrokeWidth */.vx} - ${design_tokens/* strokeWidth */.H}) * 1px);
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
.root {
|
|
364
|
-
box-sizing: border-box;
|
|
365
|
-
position: relative;
|
|
366
|
-
display: flex;
|
|
367
|
-
flex-direction: row;
|
|
368
|
-
color: ${design_tokens/* neutralForegroundRest */.hY};
|
|
369
|
-
background: ${design_tokens/* neutralFillInputRest */._B};
|
|
370
|
-
border-radius: calc(${design_tokens/* controlCornerRadius */.UW} * 1px);
|
|
371
|
-
border: calc(${design_tokens/* strokeWidth */.H} * 1px) solid ${design_tokens/* neutralFillStrongRest */.P0};
|
|
372
|
-
height: calc(${size/* heightNumber */.i} * 1px);
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
:host([aria-invalid='true']) .root {
|
|
376
|
-
border-color: ${design_tokens/* errorFillRest */.a6};
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
.control {
|
|
380
|
-
-webkit-appearance: none;
|
|
381
|
-
font: inherit;
|
|
382
|
-
background: transparent;
|
|
383
|
-
border: 0;
|
|
384
|
-
color: inherit;
|
|
385
|
-
height: calc(100% - 4px);
|
|
386
|
-
width: 100%;
|
|
387
|
-
margin-top: auto;
|
|
388
|
-
margin-bottom: auto;
|
|
389
|
-
border: none;
|
|
390
|
-
padding: 0 calc(${design_tokens/* designUnit */._5} * 2px + 1px);
|
|
391
|
-
font-size: ${design_tokens/* typeRampBaseFontSize */.cS};
|
|
392
|
-
line-height: ${design_tokens/* typeRampBaseLineHeight */.RU};
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.control:placeholder-shown {
|
|
396
|
-
text-overflow: ellipsis;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.control:hover,
|
|
400
|
-
.control:${style_focus/* focusVisible */.b},
|
|
401
|
-
.control:disabled,
|
|
402
|
-
.control:active {
|
|
403
|
-
outline: none;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.label {
|
|
407
|
-
display: block;
|
|
408
|
-
color: ${design_tokens/* neutralForegroundRest */.hY};
|
|
409
|
-
cursor: pointer;
|
|
410
|
-
font-size: ${design_tokens/* typeRampBaseFontSize */.cS};
|
|
411
|
-
line-height: ${design_tokens/* typeRampBaseLineHeight */.RU};
|
|
412
|
-
margin-bottom: 4px;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.label__hidden {
|
|
416
|
-
display: none;
|
|
417
|
-
visibility: hidden;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
.start,
|
|
421
|
-
.end {
|
|
422
|
-
margin: auto;
|
|
423
|
-
fill: currentcolor;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
::slotted(svg) {
|
|
427
|
-
/* TODO: adaptive typography https://github.com/microsoft/fast/issues/2432 */
|
|
428
|
-
width: 16px;
|
|
429
|
-
height: 16px;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
.start {
|
|
433
|
-
margin-inline-start: 11px;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
.end {
|
|
437
|
-
margin-inline-end: 11px;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
:host(:hover:not([disabled])) .root {
|
|
441
|
-
background: ${design_tokens/* neutralFillInputHover */.Tm};
|
|
442
|
-
border-color: ${design_tokens/* neutralFillStrongHover */.Dg};
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
:host([aria-invalid='true']:hover:not([disabled])) .root {
|
|
446
|
-
border-color: ${design_tokens/* errorFillHover */.ek};
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
:host(:active:not([disabled])) .root {
|
|
450
|
-
background: ${design_tokens/* neutralFillInputHover */.Tm};
|
|
451
|
-
border-color: ${design_tokens/* neutralFillStrongActive */.hP};
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
:host([aria-invalid='true']:active:not([disabled])) .root {
|
|
455
|
-
border-color: ${design_tokens/* errorFillActive */.GB};
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
:host(:focus-within:not([disabled])) .root {
|
|
459
|
-
border-color: ${design_tokens/* accentFillFocus */.D8};
|
|
460
|
-
box-shadow: 0 0 0 calc((${design_tokens/* focusStrokeWidth */.vx} - ${design_tokens/* strokeWidth */.H}) * 1px)
|
|
461
|
-
${design_tokens/* accentFillFocus */.D8};
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
:host([aria-invalid='true']:focus-within:not([disabled])) .root {
|
|
465
|
-
border-color: ${design_tokens/* errorFillFocus */.mH};
|
|
466
|
-
box-shadow: 0 0 0 calc((${design_tokens/* focusStrokeWidth */.vx} - ${design_tokens/* strokeWidth */.H}) * 1px)
|
|
467
|
-
${design_tokens/* errorFillFocus */.mH};
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
:host([appearance='filled']) .root {
|
|
471
|
-
background: ${design_tokens/* neutralFillRest */.wF};
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
:host([appearance='filled']:hover:not([disabled])) .root {
|
|
475
|
-
background: ${design_tokens/* neutralFillHover */.Xi};
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
:host([disabled]) .label,
|
|
479
|
-
:host([readonly]) .label,
|
|
480
|
-
:host([readonly]) .control,
|
|
481
|
-
:host([disabled]) .control {
|
|
482
|
-
cursor: ${disabled/* disabledCursor */.H};
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
:host([disabled]) {
|
|
486
|
-
opacity: ${design_tokens/* disabledOpacity */.VF};
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
:host([disabled]) .control {
|
|
490
|
-
border-color: ${design_tokens/* neutralStrokeRest */.ak};
|
|
491
|
-
}
|
|
492
|
-
`.withBehaviors((0,match_media_stylesheet_behavior/* forcedColorsStylesheetBehavior */.vF)((0,css/* css */.i) `
|
|
493
|
-
.root,
|
|
494
|
-
:host([appearance='filled']) .root {
|
|
495
|
-
forced-color-adjust: none;
|
|
496
|
-
background: ${system_colors/* SystemColors */.H.Field};
|
|
497
|
-
border-color: ${system_colors/* SystemColors */.H.FieldText};
|
|
498
|
-
}
|
|
499
|
-
:host([aria-invalid='true']) .root {
|
|
500
|
-
border-style: dashed;
|
|
501
|
-
}
|
|
502
|
-
:host(:hover:not([disabled])) .root,
|
|
503
|
-
:host([appearance='filled']:hover:not([disabled])) .root,
|
|
504
|
-
:host([appearance='filled']:hover) .root {
|
|
505
|
-
background: ${system_colors/* SystemColors */.H.Field};
|
|
506
|
-
border-color: ${system_colors/* SystemColors */.H.Highlight};
|
|
507
|
-
}
|
|
508
|
-
.start,
|
|
509
|
-
.end {
|
|
510
|
-
fill: currentcolor;
|
|
511
|
-
}
|
|
512
|
-
:host([disabled]) {
|
|
513
|
-
opacity: 1;
|
|
514
|
-
}
|
|
515
|
-
:host([disabled]) .root,
|
|
516
|
-
:host([appearance='filled']:hover[disabled]) .root {
|
|
517
|
-
border-color: ${system_colors/* SystemColors */.H.GrayText};
|
|
518
|
-
background: ${system_colors/* SystemColors */.H.Field};
|
|
519
|
-
}
|
|
520
|
-
:host(:focus-within:enabled) .root {
|
|
521
|
-
border-color: ${system_colors/* SystemColors */.H.Highlight};
|
|
522
|
-
box-shadow: 0 0 0 calc((${design_tokens/* focusStrokeWidth */.vx} - ${design_tokens/* strokeWidth */.H}) * 1px)
|
|
523
|
-
${system_colors/* SystemColors */.H.Highlight};
|
|
524
|
-
}
|
|
525
|
-
input::placeholder {
|
|
526
|
-
color: ${system_colors/* SystemColors */.H.GrayText};
|
|
527
|
-
}
|
|
528
|
-
`));
|
|
529
|
-
|
|
530
|
-
;// CONCATENATED MODULE: ../node_modules/@jupyter/web-components/dist/esm/search/search.styles.js
|
|
531
|
-
// Copyright (c) Jupyter Development Team.
|
|
532
|
-
// Copyright (c) Microsoft Corporation.
|
|
533
|
-
// Distributed under the terms of the Modified BSD License.
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
const clearButtonHover = design_token.DesignToken.create('clear-button-hover').withDefault((target) => {
|
|
539
|
-
const buttonRecipe = design_tokens/* neutralFillStealthRecipe */.DF.getValueFor(target);
|
|
540
|
-
const inputRecipe = design_tokens/* neutralFillRecipe */.At.getValueFor(target);
|
|
541
|
-
return buttonRecipe.evaluate(target, inputRecipe.evaluate(target).hover)
|
|
542
|
-
.hover;
|
|
543
|
-
});
|
|
544
|
-
const clearButtonActive = design_token.DesignToken.create('clear-button-active').withDefault((target) => {
|
|
545
|
-
const buttonRecipe = design_tokens/* neutralFillStealthRecipe */.DF.getValueFor(target);
|
|
546
|
-
const inputRecipe = design_tokens/* neutralFillRecipe */.At.getValueFor(target);
|
|
547
|
-
return buttonRecipe.evaluate(target, inputRecipe.evaluate(target).hover)
|
|
548
|
-
.active;
|
|
549
|
-
});
|
|
550
|
-
const searchStyles = (context, definition) => (0,css/* css */.i) `
|
|
551
|
-
${BaseFieldStyles}
|
|
552
|
-
|
|
553
|
-
.control::-webkit-search-cancel-button {
|
|
554
|
-
-webkit-appearance: none;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
.control:hover,
|
|
558
|
-
.control:${style_focus/* focusVisible */.b},
|
|
559
|
-
.control:disabled,
|
|
560
|
-
.control:active {
|
|
561
|
-
outline: none;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
.clear-button {
|
|
565
|
-
height: calc(100% - 2px);
|
|
566
|
-
opacity: 0;
|
|
567
|
-
margin: 1px;
|
|
568
|
-
background: transparent;
|
|
569
|
-
color: ${design_tokens/* neutralForegroundRest */.hY};
|
|
570
|
-
fill: currentcolor;
|
|
571
|
-
border: none;
|
|
572
|
-
border-radius: calc(${design_tokens/* controlCornerRadius */.UW} * 1px);
|
|
573
|
-
min-width: calc(${size/* heightNumber */.i} * 1px);
|
|
574
|
-
font-size: ${design_tokens/* typeRampBaseFontSize */.cS};
|
|
575
|
-
line-height: ${design_tokens/* typeRampBaseLineHeight */.RU};
|
|
576
|
-
outline: none;
|
|
577
|
-
font-family: ${design_tokens/* bodyFont */.SV};
|
|
578
|
-
padding: 0 calc((10 + (${design_tokens/* designUnit */._5} * 2 * ${design_tokens/* density */.hV})) * 1px);
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
.clear-button:hover {
|
|
582
|
-
background: ${design_tokens/* neutralFillStealthHover */.Qp};
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
.clear-button:active {
|
|
586
|
-
background: ${design_tokens/* neutralFillStealthActive */.sG};
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
:host([appearance='filled']) .clear-button:hover {
|
|
590
|
-
background: ${clearButtonHover};
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
:host([appearance='filled']) .clear-button:active {
|
|
594
|
-
background: ${clearButtonActive};
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
.input-wrapper {
|
|
598
|
-
display: flex;
|
|
599
|
-
position: relative;
|
|
600
|
-
width: 100%;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
.start,
|
|
604
|
-
.end {
|
|
605
|
-
display: flex;
|
|
606
|
-
margin: 1px;
|
|
607
|
-
fill: currentcolor;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
::slotted([slot='end']) {
|
|
611
|
-
height: 100%;
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
.end {
|
|
615
|
-
margin-inline-end: 1px;
|
|
616
|
-
height: calc(100% - 2px);
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
::slotted(svg) {
|
|
620
|
-
/* TODO: adaptive typography https://github.com/microsoft/fast/issues/2432 */
|
|
621
|
-
width: 16px;
|
|
622
|
-
height: 16px;
|
|
623
|
-
margin-inline-end: 11px;
|
|
624
|
-
margin-inline-start: 11px;
|
|
625
|
-
margin-top: auto;
|
|
626
|
-
margin-bottom: auto;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
.clear-button__hidden {
|
|
630
|
-
opacity: 0;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
:host(:hover:not([disabled], [readOnly])) .clear-button,
|
|
634
|
-
:host(:active:not([disabled], [readOnly])) .clear-button,
|
|
635
|
-
:host(:focus-within:not([disabled], [readOnly])) .clear-button {
|
|
636
|
-
opacity: 1;
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
:host(:hover:not([disabled], [readOnly])) .clear-button__hidden,
|
|
640
|
-
:host(:active:not([disabled], [readOnly])) .clear-button__hidden,
|
|
641
|
-
:host(:focus-within:not([disabled], [readOnly])) .clear-button__hidden {
|
|
642
|
-
opacity: 0;
|
|
643
|
-
}
|
|
644
|
-
`;
|
|
645
|
-
|
|
646
|
-
;// CONCATENATED MODULE: ../node_modules/@jupyter/web-components/dist/esm/search/index.js
|
|
647
|
-
// Copyright (c) Jupyter Development Team.
|
|
648
|
-
// Copyright (c) Microsoft Corporation.
|
|
649
|
-
// Distributed under the terms of the Modified BSD License.
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* Search field class
|
|
656
|
-
*
|
|
657
|
-
* @public
|
|
658
|
-
* @tagname jp-search
|
|
659
|
-
*
|
|
660
|
-
* @fires input - Fires a custom 'input' event when the value has changed
|
|
661
|
-
* @fires change - Fires a custom 'change' event when the value has changed
|
|
662
|
-
*/
|
|
663
|
-
class JupyterSearch extends Search {
|
|
664
|
-
constructor() {
|
|
665
|
-
super(...arguments);
|
|
666
|
-
/**
|
|
667
|
-
* The appearance of the element.
|
|
668
|
-
*
|
|
669
|
-
* @public
|
|
670
|
-
* @remarks
|
|
671
|
-
* HTML Attribute: appearance
|
|
672
|
-
*/
|
|
673
|
-
this.appearance = 'outline';
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
(0,tslib_es6/* __decorate */.gn)([
|
|
677
|
-
attributes/* attr */.Lj
|
|
678
|
-
], JupyterSearch.prototype, "appearance", void 0);
|
|
679
|
-
/**
|
|
680
|
-
* A function that returns a {@link @microsoft/fast-foundation#Search} registration for configuring the component with a DesignSystem.
|
|
681
|
-
* Implements {@link @microsoft/fast-foundation#searchTemplate}
|
|
682
|
-
*
|
|
683
|
-
*
|
|
684
|
-
* @public
|
|
685
|
-
* @remarks
|
|
686
|
-
* Generates HTML Element: `<jp-search>`
|
|
687
|
-
*
|
|
688
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus | delegatesFocus}
|
|
689
|
-
*/
|
|
690
|
-
const jpSearch = JupyterSearch.compose({
|
|
691
|
-
baseName: 'search',
|
|
692
|
-
baseClass: Search,
|
|
693
|
-
template: searchTemplate,
|
|
694
|
-
styles: searchStyles,
|
|
695
|
-
shadowOptions: {
|
|
696
|
-
delegatesFocus: true
|
|
697
|
-
}
|
|
698
|
-
});
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
// EXTERNAL MODULE: consume shared module (default) react@~18.2.0 (singleton) (fallback: ../node_modules/react/index.js)
|
|
702
|
-
var index_js_ = __webpack_require__(78156);
|
|
703
|
-
var index_js_default = /*#__PURE__*/__webpack_require__.n(index_js_);
|
|
704
|
-
// EXTERNAL MODULE: ../node_modules/@jupyter/react-components/lib/react-utils.js
|
|
705
|
-
var react_utils = __webpack_require__(4444);
|
|
706
|
-
;// CONCATENATED MODULE: ../node_modules/@jupyter/react-components/lib/Search.js
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
(0,jupyter_design_system/* provideJupyterDesignSystem */.W)().register(jpSearch());
|
|
711
|
-
|
|
712
|
-
const Search_Search = (0,index_js_.forwardRef)((props, forwardedRef) => {
|
|
713
|
-
const ref = (0,index_js_.useRef)(null);
|
|
714
|
-
const {
|
|
715
|
-
className,
|
|
716
|
-
readonly,
|
|
717
|
-
appearance,
|
|
718
|
-
placeholder,
|
|
719
|
-
list,
|
|
720
|
-
pattern,
|
|
721
|
-
readOnly,
|
|
722
|
-
autofocus,
|
|
723
|
-
maxlength,
|
|
724
|
-
minlength,
|
|
725
|
-
size,
|
|
726
|
-
spellcheck,
|
|
727
|
-
disabled,
|
|
728
|
-
required,
|
|
729
|
-
...filteredProps
|
|
730
|
-
} = props;
|
|
731
|
-
|
|
732
|
-
/** Event listeners - run once */
|
|
733
|
-
(0,react_utils/* useEventListener */.O)(ref, 'input', props.onInput);
|
|
734
|
-
(0,react_utils/* useEventListener */.O)(ref, 'change', props.onChange);
|
|
735
|
-
|
|
736
|
-
/** Properties - run whenever a property has changed */
|
|
737
|
-
(0,react_utils/* useProperties */.h)(ref, 'readOnly', props.readOnly);
|
|
738
|
-
(0,react_utils/* useProperties */.h)(ref, 'autofocus', props.autofocus);
|
|
739
|
-
(0,react_utils/* useProperties */.h)(ref, 'maxlength', props.maxlength);
|
|
740
|
-
(0,react_utils/* useProperties */.h)(ref, 'minlength', props.minlength);
|
|
741
|
-
(0,react_utils/* useProperties */.h)(ref, 'size', props.size);
|
|
742
|
-
(0,react_utils/* useProperties */.h)(ref, 'spellcheck', props.spellcheck);
|
|
743
|
-
(0,react_utils/* useProperties */.h)(ref, 'disabled', props.disabled);
|
|
744
|
-
(0,react_utils/* useProperties */.h)(ref, 'required', props.required);
|
|
745
|
-
|
|
746
|
-
/** Methods - uses `useImperativeHandle` hook to pass ref to component */
|
|
747
|
-
(0,index_js_.useImperativeHandle)(forwardedRef, () => ref.current, [ref.current]);
|
|
748
|
-
|
|
749
|
-
return index_js_default().createElement(
|
|
750
|
-
'jp-search',
|
|
751
|
-
{
|
|
752
|
-
ref,
|
|
753
|
-
...filteredProps,
|
|
754
|
-
appearance: props.appearance,
|
|
755
|
-
placeholder: props.placeholder,
|
|
756
|
-
list: props.list,
|
|
757
|
-
pattern: props.pattern,
|
|
758
|
-
class: props.className,
|
|
759
|
-
exportparts: props.exportparts,
|
|
760
|
-
for: props.htmlFor,
|
|
761
|
-
part: props.part,
|
|
762
|
-
tabindex: props.tabIndex,
|
|
763
|
-
readonly: props.readonly ? '' : undefined,
|
|
764
|
-
style: { ...props.style }
|
|
765
|
-
},
|
|
766
|
-
props.children
|
|
767
|
-
);
|
|
768
|
-
});
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
/***/ })
|
|
772
|
-
|
|
773
|
-
}]);
|
|
774
|
-
//# sourceMappingURL=9672.b55f9504fd5af290b047.js.map?v=b55f9504fd5af290b047
|