notebook 7.3.0a0__py3-none-any.whl → 7.3.0b0__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/app.py +10 -2
- notebook/static/113.bundle.js +1 -1
- notebook/static/1198.bundle.js +1 -1
- notebook/static/131.bundle.js +1 -1
- notebook/static/134.bundle.js +1 -1
- notebook/static/1408.bundle.js +1 -1
- notebook/static/1496.bundle.js +1 -1
- notebook/static/1584.bundle.js +1 -1
- notebook/static/1647.bundle.js +1 -1
- notebook/static/1650.bundle.js +1 -1
- notebook/static/1684.bundle.js +1 -1
- notebook/static/170.bundle.js +1 -1
- notebook/static/1809.bundle.js +1 -1
- notebook/static/1827.bundle.js +1 -1
- notebook/static/1828.bundle.js +1 -1
- notebook/static/1833.bundle.js +1 -1
- notebook/static/1958.bundle.js +1 -1
- notebook/static/1962.bundle.js +1 -1
- notebook/static/2007.bundle.js +1 -1
- notebook/static/2065.bundle.js +1 -1
- notebook/static/2088.bundle.js +1 -1
- notebook/static/2089.bundle.js +1 -1
- notebook/static/2122.bundle.js +1 -1
- notebook/static/2167.bundle.js +1 -1
- notebook/static/2184.bundle.js +1 -1
- notebook/static/2311.bundle.js +1 -1
- notebook/static/2401.bundle.js +1 -1
- notebook/static/2424.bundle.js +377 -0
- notebook/static/2479.bundle.js +1 -1
- notebook/static/2489.bundle.js +1 -1
- notebook/static/2607.bundle.js +1 -1
- notebook/static/2615.bundle.js +1 -1
- notebook/static/2636.bundle.js +1 -1
- notebook/static/2756.bundle.js +1 -1
- notebook/static/2813.bundle.js +1 -1
- notebook/static/2866.bundle.js +1 -1
- notebook/static/2924.bundle.js +1 -1
- notebook/static/2944.bundle.js +1 -1
- notebook/static/2955.bundle.js +1 -0
- notebook/static/3129.bundle.js +1 -1
- notebook/static/3146.bundle.js +1 -1
- notebook/static/3187.bundle.js +1 -1
- notebook/static/3213.bundle.js +1 -1
- notebook/static/3301.bundle.js +1 -1
- notebook/static/3325.bundle.js +1 -1
- notebook/static/3340.bundle.js +1 -1
- notebook/static/3360.bundle.js +1 -1
- notebook/static/{1261.bundle.js → 3463.bundle.js} +1 -1
- notebook/static/3466.bundle.js +1 -1
- notebook/static/35.bundle.js +1 -1
- notebook/static/3512.bundle.js +1 -1
- notebook/static/3676.bundle.js +1 -1
- notebook/static/3680.bundle.js +1 -1
- notebook/static/374.bundle.js +1 -1
- notebook/static/3768.bundle.js +1 -1
- notebook/static/377.bundle.js +1 -1
- notebook/static/3863.bundle.js +1 -1
- notebook/static/3881.bundle.js +1 -1
- notebook/static/4042.bundle.js +1 -1
- notebook/static/4058.bundle.js +1 -1
- notebook/static/409.bundle.js +1 -1
- notebook/static/4212.bundle.js +1 -1
- notebook/static/4242.bundle.js +79 -0
- notebook/static/4271.bundle.js +1 -1
- notebook/static/4291.bundle.js +1 -1
- notebook/static/4382.bundle.js +1 -1
- notebook/static/4526.bundle.js +1 -1
- notebook/static/4588.bundle.js +1 -1
- notebook/static/4630.bundle.js +1 -1
- notebook/static/4645.bundle.js +1 -1
- notebook/static/4811.bundle.js +1 -1
- notebook/static/4837.bundle.js +1 -1
- notebook/static/5099.bundle.js +1 -1
- notebook/static/5135.bundle.js +1 -1
- notebook/static/5166.bundle.js +1 -1
- notebook/static/5234.bundle.js +1 -1
- notebook/static/5254.bundle.js +1 -1
- notebook/static/5261.bundle.js +1 -1
- notebook/static/5263.bundle.js +1 -0
- notebook/static/5313.bundle.js +1 -1
- notebook/static/5325.bundle.js +1 -1
- notebook/static/5346.bundle.js +1 -1
- notebook/static/5426.bundle.js +1 -1
- notebook/static/5430.bundle.js +653 -0
- notebook/static/545.bundle.js +1 -1
- notebook/static/5451.bundle.js +1 -1
- notebook/static/5573.bundle.js +1 -1
- notebook/static/5601.bundle.js +1 -1
- notebook/static/5649.bundle.js +3 -3
- notebook/static/5733.bundle.js +1 -1
- notebook/static/5828.bundle.js +1 -1
- notebook/static/5850.bundle.js +1 -1
- notebook/static/5912.bundle.js +1 -1
- notebook/static/5921.bundle.js +1 -1
- notebook/static/6017.bundle.js +1 -1
- notebook/static/6061.bundle.js +1 -1
- notebook/static/6139.bundle.js +1 -1
- notebook/static/62.bundle.js +1 -1
- notebook/static/6271.bundle.js +1 -1
- notebook/static/6345.bundle.js +1 -1
- notebook/static/6604.bundle.js +1 -1
- notebook/static/6621.bundle.js +1 -1
- notebook/static/6627.bundle.js +1 -1
- notebook/static/6648.bundle.js +1 -0
- notebook/static/6731.bundle.js +1 -1
- notebook/static/6748.bundle.js +1 -1
- notebook/static/677.bundle.js +1 -1
- notebook/static/6815.bundle.js +1 -1
- notebook/static/6853.bundle.js +1 -1
- notebook/static/6893.bundle.js +1 -1
- notebook/static/690.bundle.js +1 -1
- notebook/static/6962.bundle.js +1 -1
- notebook/static/6999.bundle.js +1 -1
- notebook/static/7226.bundle.js +1 -1
- notebook/static/7252.bundle.js +1 -1
- notebook/static/7302.bundle.js +1 -1
- notebook/static/7386.bundle.js +1 -1
- notebook/static/7391.bundle.js +1 -1
- notebook/static/7450.bundle.js +1 -1
- notebook/static/7543.bundle.js +1 -1
- notebook/static/755.bundle.js +1 -1
- notebook/static/7603.bundle.js +1 -1
- notebook/static/7639.bundle.js +1 -1
- notebook/static/7655.bundle.js +1 -1
- notebook/static/{4427.bundle.js → 7674.bundle.js} +1 -1
- notebook/static/7684.bundle.js +1 -1
- notebook/static/7812.bundle.js +1 -1
- notebook/static/7819.bundle.js +1 -1
- notebook/static/7821.bundle.js +1 -1
- notebook/static/7854.bundle.js +1 -1
- notebook/static/7866.bundle.js +1 -0
- notebook/static/7900.bundle.js +1 -1
- notebook/static/7906.bundle.js +1 -1
- notebook/static/7995.bundle.js +1 -1
- notebook/static/8010.bundle.js +1 -1
- notebook/static/8032.bundle.js +1 -1
- notebook/static/8471.bundle.js +1 -1
- notebook/static/8579.bundle.js +1 -1
- notebook/static/8633.bundle.js +1 -1
- notebook/static/8635.bundle.js +41 -0
- notebook/static/8771.bundle.js +1 -1
- notebook/static/8781.bundle.js +1 -1
- notebook/static/8875.bundle.js +1 -1
- notebook/static/8907.bundle.js +1 -1
- notebook/static/8928.bundle.js +1 -1
- notebook/static/8929.bundle.js +1 -1
- notebook/static/893.bundle.js +1 -1
- notebook/static/901.bundle.js +1 -1
- notebook/static/9068.bundle.js +1 -1
- notebook/static/911.bundle.js +1 -1
- notebook/static/9136.bundle.js +1 -1
- notebook/static/9151.bundle.js +1 -1
- notebook/static/9161.bundle.js +1 -1
- notebook/static/9268.bundle.js +1 -1
- notebook/static/9335.bundle.js +1 -1
- notebook/static/9341.bundle.js +1 -1
- notebook/static/9380.bundle.js +1 -1
- notebook/static/9605.bundle.js +1 -1
- notebook/static/9638.bundle.js +1 -1
- notebook/static/9672.bundle.js +352 -0
- notebook/static/9680.bundle.js +1 -1
- notebook/static/9685.bundle.js +1 -1
- notebook/static/9752.bundle.js +1 -1
- notebook/static/9799.bundle.js +1 -0
- notebook/static/9821.bundle.js +1 -1
- notebook/static/9852.bundle.js +1 -1
- notebook/static/bundle.js +1 -1
- notebook/static/third-party-licenses.json +127 -133
- 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.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +17 -17
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +5 -5
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +11 -11
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +18 -18
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -1
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +13 -13
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +12 -12
- notebook-7.3.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.6d49b092e49dc147dc54.js → notebook-7.3.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.67f8b11d2af855286118.js +1 -1
- notebook-7.3.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/646.57a345a80ce9f0e64830.js → notebook-7.3.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/907.767373e59d0c0e33ef12.js +1 -1
- notebook-7.3.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.7bcc163b9139ecb2b25b.js → notebook-7.3.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.50419fa0a72e54064396.js +1 -1
- notebook-7.3.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.fd0956ebf15f666a19f8.js +1 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
- {notebook-7.3.0a0.dist-info → notebook-7.3.0b0.dist-info}/METADATA +2 -2
- {notebook-7.3.0a0.dist-info → notebook-7.3.0b0.dist-info}/RECORD +213 -222
- {notebook-7.3.0a0.dist-info → notebook-7.3.0b0.dist-info}/WHEEL +1 -1
- notebook/static/1226.bundle.js +0 -1
- notebook/static/1750.bundle.js +0 -1
- notebook/static/1884.bundle.js +0 -386
- notebook/static/4045.bundle.js +0 -1
- notebook/static/4434.bundle.js +0 -1
- notebook/static/5018.bundle.js +0 -1
- notebook/static/5712.bundle.js +0 -1
- notebook/static/6164.bundle.js +0 -1
- notebook/static/6318.bundle.js +0 -1
- notebook/static/6619.bundle.js +0 -1
- notebook/static/6898.bundle.js +0 -1
- notebook/static/7506.bundle.js +0 -703
- notebook/static/7579.bundle.js +0 -1
- notebook/static/8054.bundle.js +0 -1
- notebook/static/8647.bundle.js +0 -1
- notebook/static/8723.bundle.js +0 -1
- notebook/static/9092.bundle.js +0 -1
- notebook/static/9734.bundle.js +0 -1
- notebook/static/9906.bundle.js +0 -1
- notebook-7.3.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.9381fdb35e72f41d8af1.js +0 -1
- /notebook/static/{7506.bundle.js.LICENSE.txt → 4242.bundle.js.LICENSE.txt} +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/applications/jupyter-notebook.desktop +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js +0 -0
- {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
- {notebook-7.3.0a0.dist-info → notebook-7.3.0b0.dist-info}/entry_points.txt +0 -0
- {notebook-7.3.0a0.dist-info → notebook-7.3.0b0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,653 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[5430],{85430:(e,t,o)=>{o.d(t,{z:()=>s});var r=o(68866),a=o(69765),i=o(78156),n=o.n(i),l=o(4444);(0,r.W)().register((0,a.Vd)());const s=(0,i.forwardRef)(((e,t)=>{const o=(0,i.useRef)(null),{className:r,minimal:a,appearance:s,form:c,formaction:h,formenctype:p,formmethod:d,formtarget:u,type:b,autofocus:g,formnovalidate:y,defaultSlottedContent:f,disabled:v,required:m,...$}=e;return(0,l.h)(o,"autofocus",e.autofocus),(0,l.h)(o,"formnovalidate",e.formnovalidate),(0,l.h)(o,"defaultSlottedContent",e.defaultSlottedContent),(0,l.h)(o,"disabled",e.disabled),(0,l.h)(o,"required",e.required),(0,i.useImperativeHandle)(t,(()=>o.current),[o.current]),n().createElement("jp-button",{ref:o,...$,appearance:e.appearance,form:e.form,formaction:e.formaction,formenctype:e.formenctype,formmethod:e.formmethod,formtarget:e.formtarget,type:e.type,class:e.className,exportparts:e.exportparts,for:e.htmlFor,part:e.part,tabindex:e.tabIndex,minimal:e.minimal?"":void 0,style:{...e.style}},e.children)}))},69765:(e,t,o)=>{o.d(t,{Vd:()=>O});var r=o(82616),a=o(98332),i=o(95185),n=o(92221),l=o(14869),s=o(52865),c=o(89155),h=o(940),p=o(50755);class d extends p.I{}class u extends((0,h.Um)(d)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class b extends u{constructor(){super(...arguments),this.handleClick=e=>{var t;this.disabled&&(null===(t=this.defaultSlottedContent)||void 0===t?void 0:t.length)<=1&&e.stopPropagation()},this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null===(e=this.form)||void 0===e||e.reset()},this.handleUnsupportedDelegatesFocus=()=>{var e;window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(e=this.$fastController.definition.shadowOptions)||void 0===e?void 0:e.delegatesFocus)&&(this.focus=()=>{this.control.focus()})}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),"submit"===t&&this.addEventListener("click",this.handleSubmission),"submit"===e&&this.removeEventListener("click",this.handleSubmission),"reset"===t&&this.addEventListener("click",this.handleFormReset),"reset"===e&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){var e;super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.handleUnsupportedDelegatesFocus();const t=Array.from(null===(e=this.control)||void 0===e?void 0:e.children);t&&t.forEach((e=>{e.addEventListener("click",this.handleClick)}))}disconnectedCallback(){var e;super.disconnectedCallback();const t=Array.from(null===(e=this.control)||void 0===e?void 0:e.children);t&&t.forEach((e=>{e.removeEventListener("click",this.handleClick)}))}}(0,i.gn)([(0,a.Lj)({mode:"boolean"})],b.prototype,"autofocus",void 0),(0,i.gn)([(0,a.Lj)({attribute:"form"})],b.prototype,"formId",void 0),(0,i.gn)([a.Lj],b.prototype,"formaction",void 0),(0,i.gn)([a.Lj],b.prototype,"formenctype",void 0),(0,i.gn)([a.Lj],b.prototype,"formmethod",void 0),(0,i.gn)([(0,a.Lj)({mode:"boolean"})],b.prototype,"formnovalidate",void 0),(0,i.gn)([a.Lj],b.prototype,"formtarget",void 0),(0,i.gn)([a.Lj],b.prototype,"type",void 0),(0,i.gn)([n.LO],b.prototype,"defaultSlottedContent",void 0);class g{}(0,i.gn)([(0,a.Lj)({attribute:"aria-expanded"})],g.prototype,"ariaExpanded",void 0),(0,i.gn)([(0,a.Lj)({attribute:"aria-pressed"})],g.prototype,"ariaPressed",void 0),(0,c.e)(g,l.v),(0,c.e)(b,s.hW,g);var y=o(25269),f=o(62564),v=o(17832),m=o(12634),$=o(61424),x=o(98242),H=o(30550),k=o(87206),L=o(21601),w=o(58201),T=o(13370);const C=m.i`
|
|
2
|
+
${(0,L.j)("inline-flex")} :host {
|
|
3
|
+
font-family: ${k.SV};
|
|
4
|
+
outline: none;
|
|
5
|
+
font-size: ${k.cS};
|
|
6
|
+
line-height: ${k.RU};
|
|
7
|
+
height: calc(${T.i} * 1px);
|
|
8
|
+
min-width: calc(${T.i} * 1px);
|
|
9
|
+
background-color: ${k.wF};
|
|
10
|
+
color: ${k.hY};
|
|
11
|
+
border-radius: calc(${k.UW} * 1px);
|
|
12
|
+
fill: currentcolor;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
margin: calc((${k.vx} + 2) * 1px);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.control {
|
|
18
|
+
background: transparent;
|
|
19
|
+
height: inherit;
|
|
20
|
+
flex-grow: 1;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
align-items: center;
|
|
25
|
+
padding: 0
|
|
26
|
+
max(
|
|
27
|
+
1px,
|
|
28
|
+
calc((10 + (${k._5} * 2 * (${k.hV} + ${k.pR})))) * 1px
|
|
29
|
+
);
|
|
30
|
+
white-space: nowrap;
|
|
31
|
+
outline: none;
|
|
32
|
+
text-decoration: none;
|
|
33
|
+
border: calc(${k.H} * 1px) solid transparent;
|
|
34
|
+
color: inherit;
|
|
35
|
+
border-radius: inherit;
|
|
36
|
+
fill: inherit;
|
|
37
|
+
cursor: inherit;
|
|
38
|
+
font-family: inherit;
|
|
39
|
+
font-size: inherit;
|
|
40
|
+
line-height: inherit;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:host(:hover) {
|
|
44
|
+
background-color: ${k.Xi};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:host(:active) {
|
|
48
|
+
background-color: ${k.Gy};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:host([aria-pressed='true']) {
|
|
52
|
+
box-shadow: inset 0px 0px 2px 2px ${k.hP};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:host([minimal]),
|
|
56
|
+
:host([scale='xsmall']) {
|
|
57
|
+
--element-scale: -4;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host([scale='small']) {
|
|
61
|
+
--element-scale: -2;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host([scale='medium']) {
|
|
65
|
+
--element-scale: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host([scale='large']) {
|
|
69
|
+
--element-scale: 2;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:host([scale='xlarge']) {
|
|
73
|
+
--element-scale: 4;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* prettier-ignore */
|
|
77
|
+
.control:${w.b} {
|
|
78
|
+
outline: calc(${k.vx} * 1px) solid ${k.Nz};
|
|
79
|
+
outline-offset: 2px;
|
|
80
|
+
-moz-outline-radius: 0px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.control::-moz-focus-inner {
|
|
84
|
+
border: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.start,
|
|
88
|
+
.end {
|
|
89
|
+
display: flex;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.control.icon-only {
|
|
93
|
+
padding: 0;
|
|
94
|
+
line-height: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
::slotted(svg) {
|
|
98
|
+
${""} width: 16px;
|
|
99
|
+
height: 16px;
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.start {
|
|
104
|
+
margin-inline-end: 11px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.end {
|
|
108
|
+
margin-inline-start: 11px;
|
|
109
|
+
}
|
|
110
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
111
|
+
:host .control {
|
|
112
|
+
background-color: ${H.H.ButtonFace};
|
|
113
|
+
border-color: ${H.H.ButtonText};
|
|
114
|
+
color: ${H.H.ButtonText};
|
|
115
|
+
fill: currentColor;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:host(:hover) .control {
|
|
119
|
+
forced-color-adjust: none;
|
|
120
|
+
background-color: ${H.H.Highlight};
|
|
121
|
+
color: ${H.H.HighlightText};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* prettier-ignore */
|
|
125
|
+
.control:${w.b} {
|
|
126
|
+
forced-color-adjust: none;
|
|
127
|
+
background-color: ${H.H.Highlight};
|
|
128
|
+
outline-color: ${H.H.ButtonText};
|
|
129
|
+
color: ${H.H.HighlightText};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.control:hover,
|
|
133
|
+
:host([appearance='outline']) .control:hover {
|
|
134
|
+
border-color: ${H.H.ButtonText};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
:host([href]) .control {
|
|
138
|
+
border-color: ${H.H.LinkText};
|
|
139
|
+
color: ${H.H.LinkText};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
:host([href]) .control:hover,
|
|
143
|
+
:host([href]) .control:${w.b} {
|
|
144
|
+
forced-color-adjust: none;
|
|
145
|
+
background: ${H.H.ButtonFace};
|
|
146
|
+
outline-color: ${H.H.LinkText};
|
|
147
|
+
color: ${H.H.LinkText};
|
|
148
|
+
fill: currentColor;
|
|
149
|
+
}
|
|
150
|
+
`)),j=m.i`
|
|
151
|
+
:host([appearance='accent']) {
|
|
152
|
+
background: ${k.Av};
|
|
153
|
+
color: ${k.w4};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
:host([appearance='accent']:hover) {
|
|
157
|
+
background: ${k.OC};
|
|
158
|
+
color: ${k.lJ};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
:host([appearance='accent'][aria-pressed='true']) {
|
|
162
|
+
box-shadow: inset 0px 0px 2px 2px ${k.VN};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
:host([appearance='accent']:active) .control:active {
|
|
166
|
+
background: ${k.UE};
|
|
167
|
+
color: ${k.Pp};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
:host([appearance="accent"]) .control:${w.b} {
|
|
171
|
+
outline-color: ${k.D8};
|
|
172
|
+
}
|
|
173
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
174
|
+
:host([appearance='accent']) .control {
|
|
175
|
+
forced-color-adjust: none;
|
|
176
|
+
background: ${H.H.Highlight};
|
|
177
|
+
color: ${H.H.HighlightText};
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
:host([appearance='accent']) .control:hover,
|
|
181
|
+
:host([appearance='accent']:active) .control:active {
|
|
182
|
+
background: ${H.H.HighlightText};
|
|
183
|
+
border-color: ${H.H.Highlight};
|
|
184
|
+
color: ${H.H.Highlight};
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:host([appearance="accent"]) .control:${w.b} {
|
|
188
|
+
outline-color: ${H.H.Highlight};
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
:host([appearance='accent'][href]) .control {
|
|
192
|
+
background: ${H.H.LinkText};
|
|
193
|
+
color: ${H.H.HighlightText};
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:host([appearance='accent'][href]) .control:hover {
|
|
197
|
+
background: ${H.H.ButtonFace};
|
|
198
|
+
border-color: ${H.H.LinkText};
|
|
199
|
+
box-shadow: none;
|
|
200
|
+
color: ${H.H.LinkText};
|
|
201
|
+
fill: currentColor;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
:host([appearance="accent"][href]) .control:${w.b} {
|
|
205
|
+
outline-color: ${H.H.HighlightText};
|
|
206
|
+
}
|
|
207
|
+
`)),E=m.i`
|
|
208
|
+
:host([appearance='error']) {
|
|
209
|
+
background: ${k.a6};
|
|
210
|
+
color: ${k.w4};
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
:host([appearance='error']:hover) {
|
|
214
|
+
background: ${k.ek};
|
|
215
|
+
color: ${k.lJ};
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
:host([appearance='error'][aria-pressed='true']) {
|
|
219
|
+
box-shadow: inset 0px 0px 2px 2px ${k.DV};
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
:host([appearance='error']:active) .control:active {
|
|
223
|
+
background: ${k.GB};
|
|
224
|
+
color: ${k.Pp};
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
:host([appearance="error"]) .control:${w.b} {
|
|
228
|
+
outline-color: ${k.mH};
|
|
229
|
+
}
|
|
230
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
231
|
+
:host([appearance='error']) .control {
|
|
232
|
+
forced-color-adjust: none;
|
|
233
|
+
background: ${H.H.Highlight};
|
|
234
|
+
color: ${H.H.HighlightText};
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
:host([appearance='error']) .control:hover,
|
|
238
|
+
:host([appearance='error']:active) .control:active {
|
|
239
|
+
background: ${H.H.HighlightText};
|
|
240
|
+
border-color: ${H.H.Highlight};
|
|
241
|
+
color: ${H.H.Highlight};
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
:host([appearance="error"]) .control:${w.b} {
|
|
245
|
+
outline-color: ${H.H.Highlight};
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
:host([appearance='error'][href]) .control {
|
|
249
|
+
background: ${H.H.LinkText};
|
|
250
|
+
color: ${H.H.HighlightText};
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
:host([appearance='error'][href]) .control:hover {
|
|
254
|
+
background: ${H.H.ButtonFace};
|
|
255
|
+
border-color: ${H.H.LinkText};
|
|
256
|
+
box-shadow: none;
|
|
257
|
+
color: ${H.H.LinkText};
|
|
258
|
+
fill: currentColor;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
:host([appearance="error"][href]) .control:${w.b} {
|
|
262
|
+
outline-color: ${H.H.HighlightText};
|
|
263
|
+
}
|
|
264
|
+
`)),V=(m.i`
|
|
265
|
+
:host([appearance='hypertext']) {
|
|
266
|
+
font-size: inherit;
|
|
267
|
+
line-height: inherit;
|
|
268
|
+
height: auto;
|
|
269
|
+
min-width: 0;
|
|
270
|
+
background: transparent;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
:host([appearance='hypertext']) .control {
|
|
274
|
+
display: inline;
|
|
275
|
+
padding: 0;
|
|
276
|
+
border: none;
|
|
277
|
+
box-shadow: none;
|
|
278
|
+
border-radius: 0;
|
|
279
|
+
line-height: 1;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
:host a.control:not(:link) {
|
|
283
|
+
background-color: transparent;
|
|
284
|
+
cursor: default;
|
|
285
|
+
}
|
|
286
|
+
:host([appearance='hypertext']) .control:link,
|
|
287
|
+
:host([appearance='hypertext']) .control:visited {
|
|
288
|
+
background: transparent;
|
|
289
|
+
color: ${k.go};
|
|
290
|
+
border-bottom: calc(${k.H} * 1px) solid ${k.go};
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
:host([appearance='hypertext']:hover),
|
|
294
|
+
:host([appearance='hypertext']) .control:hover {
|
|
295
|
+
background: transparent;
|
|
296
|
+
border-bottom-color: ${k.D9};
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
:host([appearance='hypertext']:active),
|
|
300
|
+
:host([appearance='hypertext']) .control:active {
|
|
301
|
+
background: transparent;
|
|
302
|
+
border-bottom-color: ${k.VN};
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
:host([appearance="hypertext"]) .control:${w.b} {
|
|
306
|
+
outline-color: transparent;
|
|
307
|
+
border-bottom: calc(${k.vx} * 1px) solid ${k.yG};
|
|
308
|
+
margin-bottom: calc(calc(${k.H} - ${k.vx}) * 1px);
|
|
309
|
+
}
|
|
310
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
311
|
+
:host([appearance='hypertext']:hover) {
|
|
312
|
+
background-color: ${H.H.ButtonFace};
|
|
313
|
+
color: ${H.H.ButtonText};
|
|
314
|
+
}
|
|
315
|
+
:host([appearance="hypertext"][href]) .control:hover,
|
|
316
|
+
:host([appearance="hypertext"][href]) .control:active,
|
|
317
|
+
:host([appearance="hypertext"][href]) .control:${w.b} {
|
|
318
|
+
color: ${H.H.LinkText};
|
|
319
|
+
border-bottom-color: ${H.H.LinkText};
|
|
320
|
+
box-shadow: none;
|
|
321
|
+
}
|
|
322
|
+
`)),m.i`
|
|
323
|
+
:host([appearance='lightweight']) {
|
|
324
|
+
background: transparent;
|
|
325
|
+
color: ${k.go};
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
:host([appearance='lightweight']) .control {
|
|
329
|
+
padding: 0;
|
|
330
|
+
height: initial;
|
|
331
|
+
border: none;
|
|
332
|
+
box-shadow: none;
|
|
333
|
+
border-radius: 0;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
:host([appearance='lightweight']:hover) {
|
|
337
|
+
background: transparent;
|
|
338
|
+
color: ${k.D9};
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
:host([appearance='lightweight']:active) {
|
|
342
|
+
background: transparent;
|
|
343
|
+
color: ${k.VN};
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
:host([appearance='lightweight']) .content {
|
|
347
|
+
position: relative;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
:host([appearance='lightweight']) .content::before {
|
|
351
|
+
content: '';
|
|
352
|
+
display: block;
|
|
353
|
+
height: calc(${k.H} * 1px);
|
|
354
|
+
position: absolute;
|
|
355
|
+
top: calc(1em + 4px);
|
|
356
|
+
width: 100%;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
:host([appearance='lightweight']:hover) .content::before {
|
|
360
|
+
background: ${k.D9};
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
:host([appearance='lightweight']:active) .content::before {
|
|
364
|
+
background: ${k.VN};
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
:host([appearance="lightweight"]) .control:${w.b} {
|
|
368
|
+
outline-color: transparent;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
:host([appearance="lightweight"]) .control:${w.b} .content::before {
|
|
372
|
+
background: ${k.hY};
|
|
373
|
+
height: calc(${k.vx} * 1px);
|
|
374
|
+
}
|
|
375
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
376
|
+
:host([appearance="lightweight"]) .control:hover,
|
|
377
|
+
:host([appearance="lightweight"]) .control:${w.b} {
|
|
378
|
+
forced-color-adjust: none;
|
|
379
|
+
background: ${H.H.ButtonFace};
|
|
380
|
+
color: ${H.H.Highlight};
|
|
381
|
+
}
|
|
382
|
+
:host([appearance="lightweight"]) .control:hover .content::before,
|
|
383
|
+
:host([appearance="lightweight"]) .control:${w.b} .content::before {
|
|
384
|
+
background: ${H.H.Highlight};
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
:host([appearance="lightweight"][href]) .control:hover,
|
|
388
|
+
:host([appearance="lightweight"][href]) .control:${w.b} {
|
|
389
|
+
background: ${H.H.ButtonFace};
|
|
390
|
+
box-shadow: none;
|
|
391
|
+
color: ${H.H.LinkText};
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
:host([appearance="lightweight"][href]) .control:hover .content::before,
|
|
395
|
+
:host([appearance="lightweight"][href]) .control:${w.b} .content::before {
|
|
396
|
+
background: ${H.H.LinkText};
|
|
397
|
+
}
|
|
398
|
+
`))),F=m.i`
|
|
399
|
+
:host([appearance='outline']) {
|
|
400
|
+
background: transparent;
|
|
401
|
+
border-color: ${k.Av};
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
:host([appearance='outline']:hover) {
|
|
405
|
+
border-color: ${k.OC};
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
:host([appearance='outline']:active) {
|
|
409
|
+
border-color: ${k.UE};
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
:host([appearance='outline']) .control {
|
|
413
|
+
border-color: inherit;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
:host([appearance="outline"]) .control:${w.b} {
|
|
417
|
+
outline-color: ${k.D8};
|
|
418
|
+
}
|
|
419
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
420
|
+
:host([appearance='outline']) .control {
|
|
421
|
+
border-color: ${H.H.ButtonText};
|
|
422
|
+
}
|
|
423
|
+
:host([appearance="outline"]) .control:${w.b} {
|
|
424
|
+
forced-color-adjust: none;
|
|
425
|
+
background-color: ${H.H.Highlight};
|
|
426
|
+
outline-color: ${H.H.ButtonText};
|
|
427
|
+
color: ${H.H.HighlightText};
|
|
428
|
+
fill: currentColor;
|
|
429
|
+
}
|
|
430
|
+
:host([appearance='outline'][href]) .control {
|
|
431
|
+
background: ${H.H.ButtonFace};
|
|
432
|
+
border-color: ${H.H.LinkText};
|
|
433
|
+
color: ${H.H.LinkText};
|
|
434
|
+
fill: currentColor;
|
|
435
|
+
}
|
|
436
|
+
:host([appearance="outline"][href]) .control:hover,
|
|
437
|
+
:host([appearance="outline"][href]) .control:${w.b} {
|
|
438
|
+
forced-color-adjust: none;
|
|
439
|
+
outline-color: ${H.H.LinkText};
|
|
440
|
+
}
|
|
441
|
+
`)),B=m.i`
|
|
442
|
+
:host([appearance='stealth']),
|
|
443
|
+
:host([appearance='stealth'][disabled]:active),
|
|
444
|
+
:host([appearance='stealth'][disabled]:hover) {
|
|
445
|
+
background: transparent;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
:host([appearance='stealth']:hover) {
|
|
449
|
+
background: ${k.Qp};
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
:host([appearance='stealth']:active) {
|
|
453
|
+
background: ${k.sG};
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
:host([appearance='stealth']) .control:${w.b} {
|
|
457
|
+
outline-color: ${k.D8};
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/* Make the focus outline displayed within the button if
|
|
461
|
+
it is in a start or end slot; e.g. in a tree item
|
|
462
|
+
This will make the focus outline bounded within the container.
|
|
463
|
+
*/
|
|
464
|
+
:host([appearance='stealth'][slot="end"]) .control:${w.b},
|
|
465
|
+
:host([appearance='stealth'][slot="start"]) .control:${w.b} {
|
|
466
|
+
outline-offset: -2px;
|
|
467
|
+
}
|
|
468
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
469
|
+
:host([appearance='stealth']),
|
|
470
|
+
:host([appearance='stealth']) .control {
|
|
471
|
+
forced-color-adjust: none;
|
|
472
|
+
background: ${H.H.ButtonFace};
|
|
473
|
+
border-color: transparent;
|
|
474
|
+
color: ${H.H.ButtonText};
|
|
475
|
+
fill: currentColor;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
:host([appearance='stealth']:hover) .control {
|
|
479
|
+
background: ${H.H.Highlight};
|
|
480
|
+
border-color: ${H.H.Highlight};
|
|
481
|
+
color: ${H.H.HighlightText};
|
|
482
|
+
fill: currentColor;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
:host([appearance="stealth"]:${w.b}) .control {
|
|
486
|
+
outline-color: ${H.H.Highlight};
|
|
487
|
+
color: ${H.H.HighlightText};
|
|
488
|
+
fill: currentColor;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
:host([appearance='stealth'][href]) .control {
|
|
492
|
+
color: ${H.H.LinkText};
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
:host([appearance="stealth"][href]:hover) .control,
|
|
496
|
+
:host([appearance="stealth"][href]:${w.b}) .control {
|
|
497
|
+
background: ${H.H.LinkText};
|
|
498
|
+
border-color: ${H.H.LinkText};
|
|
499
|
+
color: ${H.H.HighlightText};
|
|
500
|
+
fill: currentColor;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
:host([appearance="stealth"][href]:${w.b}) .control {
|
|
504
|
+
forced-color-adjust: none;
|
|
505
|
+
box-shadow: 0 0 0 1px ${H.H.LinkText};
|
|
506
|
+
}
|
|
507
|
+
`));class I{constructor(e,t,o){this.propertyName=e,this.value=t,this.styles=o}bind(e){n.y$.getNotifier(e).subscribe(this,this.propertyName),this.handleChange(e,this.propertyName)}unbind(e){n.y$.getNotifier(e).unsubscribe(this,this.propertyName),e.$fastController.removeStyles(this.styles)}handleChange(e,t){e[t]===this.value?e.$fastController.addStyles(this.styles):e.$fastController.removeStyles(this.styles)}}function S(e,t){return new I("appearance",e,t)}class R extends b{constructor(){super(...arguments),this.appearance="neutral"}defaultSlottedContentChanged(e,t){const o=this.defaultSlottedContent.filter((e=>e.nodeType===Node.ELEMENT_NODE));1===o.length&&(o[0]instanceof SVGElement||o[0].classList.contains("fa")||o[0].classList.contains("fas"))?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}}(0,r.gn)([a.Lj],R.prototype,"appearance",void 0),(0,r.gn)([(0,a.Lj)({attribute:"minimal",mode:"boolean"})],R.prototype,"minimal",void 0),(0,r.gn)([a.Lj],R.prototype,"scale",void 0);const O=R.compose({baseName:"button",baseClass:b,template:(e,t)=>y.d`
|
|
508
|
+
<button
|
|
509
|
+
class="control"
|
|
510
|
+
part="control"
|
|
511
|
+
?autofocus="${e=>e.autofocus}"
|
|
512
|
+
?disabled="${e=>e.disabled}"
|
|
513
|
+
form="${e=>e.formId}"
|
|
514
|
+
formaction="${e=>e.formaction}"
|
|
515
|
+
formenctype="${e=>e.formenctype}"
|
|
516
|
+
formmethod="${e=>e.formmethod}"
|
|
517
|
+
formnovalidate="${e=>e.formnovalidate}"
|
|
518
|
+
formtarget="${e=>e.formtarget}"
|
|
519
|
+
name="${e=>e.name}"
|
|
520
|
+
type="${e=>e.type}"
|
|
521
|
+
value="${e=>e.value}"
|
|
522
|
+
aria-atomic="${e=>e.ariaAtomic}"
|
|
523
|
+
aria-busy="${e=>e.ariaBusy}"
|
|
524
|
+
aria-controls="${e=>e.ariaControls}"
|
|
525
|
+
aria-current="${e=>e.ariaCurrent}"
|
|
526
|
+
aria-describedby="${e=>e.ariaDescribedby}"
|
|
527
|
+
aria-details="${e=>e.ariaDetails}"
|
|
528
|
+
aria-disabled="${e=>e.ariaDisabled}"
|
|
529
|
+
aria-errormessage="${e=>e.ariaErrormessage}"
|
|
530
|
+
aria-expanded="${e=>e.ariaExpanded}"
|
|
531
|
+
aria-flowto="${e=>e.ariaFlowto}"
|
|
532
|
+
aria-haspopup="${e=>e.ariaHaspopup}"
|
|
533
|
+
aria-hidden="${e=>e.ariaHidden}"
|
|
534
|
+
aria-invalid="${e=>e.ariaInvalid}"
|
|
535
|
+
aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
|
|
536
|
+
aria-label="${e=>e.ariaLabel}"
|
|
537
|
+
aria-labelledby="${e=>e.ariaLabelledby}"
|
|
538
|
+
aria-live="${e=>e.ariaLive}"
|
|
539
|
+
aria-owns="${e=>e.ariaOwns}"
|
|
540
|
+
aria-pressed="${e=>e.ariaPressed}"
|
|
541
|
+
aria-relevant="${e=>e.ariaRelevant}"
|
|
542
|
+
aria-roledescription="${e=>e.ariaRoledescription}"
|
|
543
|
+
${(0,f.i)("control")}
|
|
544
|
+
>
|
|
545
|
+
${(0,s.m9)(e,t)}
|
|
546
|
+
<span class="content" part="content">
|
|
547
|
+
<slot ${(0,v.Q)("defaultSlottedContent")}></slot>
|
|
548
|
+
</span>
|
|
549
|
+
${(0,s.LC)(e,t)}
|
|
550
|
+
</button>
|
|
551
|
+
`,styles:(e,t)=>m.i`
|
|
552
|
+
:host([disabled]),
|
|
553
|
+
:host([disabled]:hover),
|
|
554
|
+
:host([disabled]:active) {
|
|
555
|
+
opacity: ${k.VF};
|
|
556
|
+
background-color: ${k.wF};
|
|
557
|
+
cursor: ${$.H};
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
${C}
|
|
561
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
562
|
+
:host([disabled]),
|
|
563
|
+
:host([disabled]) .control,
|
|
564
|
+
:host([disabled]:hover),
|
|
565
|
+
:host([disabled]:active) {
|
|
566
|
+
forced-color-adjust: none;
|
|
567
|
+
background-color: ${H.H.ButtonFace};
|
|
568
|
+
outline-color: ${H.H.GrayText};
|
|
569
|
+
color: ${H.H.GrayText};
|
|
570
|
+
cursor: ${$.H};
|
|
571
|
+
opacity: 1;
|
|
572
|
+
}
|
|
573
|
+
`),S("accent",m.i`
|
|
574
|
+
:host([appearance='accent'][disabled]),
|
|
575
|
+
:host([appearance='accent'][disabled]:hover),
|
|
576
|
+
:host([appearance='accent'][disabled]:active) {
|
|
577
|
+
background: ${k.Av};
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
${j}
|
|
581
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
582
|
+
:host([appearance='accent'][disabled]) .control,
|
|
583
|
+
:host([appearance='accent'][disabled]) .control:hover {
|
|
584
|
+
background: ${H.H.ButtonFace};
|
|
585
|
+
border-color: ${H.H.GrayText};
|
|
586
|
+
color: ${H.H.GrayText};
|
|
587
|
+
}
|
|
588
|
+
`))),S("error",m.i`
|
|
589
|
+
:host([appearance='error'][disabled]),
|
|
590
|
+
:host([appearance='error'][disabled]:hover),
|
|
591
|
+
:host([appearance='error'][disabled]:active) {
|
|
592
|
+
background: ${k.a6};
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
${E}
|
|
596
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
597
|
+
:host([appearance='error'][disabled]) .control,
|
|
598
|
+
:host([appearance='error'][disabled]) .control:hover {
|
|
599
|
+
background: ${H.H.ButtonFace};
|
|
600
|
+
border-color: ${H.H.GrayText};
|
|
601
|
+
color: ${H.H.GrayText};
|
|
602
|
+
}
|
|
603
|
+
`))),S("lightweight",m.i`
|
|
604
|
+
:host([appearance='lightweight'][disabled]:hover),
|
|
605
|
+
:host([appearance='lightweight'][disabled]:active) {
|
|
606
|
+
background-color: transparent;
|
|
607
|
+
color: ${k.go};
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
:host([appearance='lightweight'][disabled]) .content::before,
|
|
611
|
+
:host([appearance='lightweight'][disabled]:hover) .content::before,
|
|
612
|
+
:host([appearance='lightweight'][disabled]:active) .content::before {
|
|
613
|
+
background: transparent;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
${V}
|
|
617
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
618
|
+
:host([appearance='lightweight'].disabled) .control {
|
|
619
|
+
forced-color-adjust: none;
|
|
620
|
+
color: ${H.H.GrayText};
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
:host([appearance='lightweight'].disabled)
|
|
624
|
+
.control:hover
|
|
625
|
+
.content::before {
|
|
626
|
+
background: none;
|
|
627
|
+
}
|
|
628
|
+
`))),S("outline",m.i`
|
|
629
|
+
:host([appearance='outline'][disabled]),
|
|
630
|
+
:host([appearance='outline'][disabled]:hover),
|
|
631
|
+
:host([appearance='outline'][disabled]:active) {
|
|
632
|
+
background: transparent;
|
|
633
|
+
border-color: ${k.Av};
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
${F}
|
|
637
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
638
|
+
:host([appearance='outline'][disabled]) .control {
|
|
639
|
+
border-color: ${H.H.GrayText};
|
|
640
|
+
}
|
|
641
|
+
`))),S("stealth",m.i`
|
|
642
|
+
${B}
|
|
643
|
+
`.withBehaviors((0,x.vF)(m.i`
|
|
644
|
+
:host([appearance='stealth'][disabled]) {
|
|
645
|
+
background: ${H.H.ButtonFace};
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
:host([appearance='stealth'][disabled]) .control {
|
|
649
|
+
background: ${H.H.ButtonFace};
|
|
650
|
+
border-color: transparent;
|
|
651
|
+
color: ${H.H.GrayText};
|
|
652
|
+
}
|
|
653
|
+
`)))),shadowOptions:{delegatesFocus:!0}})},940:(e,t,o)=>{o.d(t,{Um:()=>d});var r=o(40478),a=o(91211),i=o(98332),n=o(92221),l=o(27081);const s="form-associated-proxy",c="ElementInternals",h=c in window&&"setFormValue"in window[c].prototype,p=new WeakMap;function d(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return h}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return r.ow}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),a.SO.queueUpdate((()=>this.classList.toggle("disabled",this.disabled)))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),a.SO.queueUpdate((()=>this.classList.toggle("required",this.required))),this.validate()}get elementInternals(){if(!h)return null;let e=p.get(this);return e||(e=this.attachInternals(),p.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){super.disconnectedCallback(),this.proxyEventsToBlock.forEach((e=>this.proxy.removeEventListener(e,this.stopPropagation))),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach((e=>this.proxy.addEventListener(e,this.stopPropagation))),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot",s),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name",s)),null===(e=this.shadowRoot)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){if(e.key===l.kL&&this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}stopPropagation(e){e.stopPropagation()}};return(0,i.Lj)({mode:"boolean"})(t.prototype,"disabled"),(0,i.Lj)({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),(0,i.Lj)({attribute:"current-value"})(t.prototype,"currentValue"),(0,i.Lj)(t.prototype,"name"),(0,i.Lj)({mode:"boolean"})(t.prototype,"required"),(0,n.LO)(t.prototype,"value"),t}},14869:(e,t,o)=>{o.d(t,{v:()=>i});var r=o(95185),a=o(98332);class i{}(0,r.gn)([(0,a.Lj)({attribute:"aria-atomic"})],i.prototype,"ariaAtomic",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-busy"})],i.prototype,"ariaBusy",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-controls"})],i.prototype,"ariaControls",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-current"})],i.prototype,"ariaCurrent",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-describedby"})],i.prototype,"ariaDescribedby",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-details"})],i.prototype,"ariaDetails",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-disabled"})],i.prototype,"ariaDisabled",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-errormessage"})],i.prototype,"ariaErrormessage",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-flowto"})],i.prototype,"ariaFlowto",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-haspopup"})],i.prototype,"ariaHaspopup",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-hidden"})],i.prototype,"ariaHidden",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-invalid"})],i.prototype,"ariaInvalid",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-keyshortcuts"})],i.prototype,"ariaKeyshortcuts",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-label"})],i.prototype,"ariaLabel",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-labelledby"})],i.prototype,"ariaLabelledby",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-live"})],i.prototype,"ariaLive",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-owns"})],i.prototype,"ariaOwns",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-relevant"})],i.prototype,"ariaRelevant",void 0),(0,r.gn)([(0,a.Lj)({attribute:"aria-roledescription"})],i.prototype,"ariaRoledescription",void 0)},82616:(e,t,o)=>{function r(e,t,o,r){var a,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(n=(i<3?a(n):i>3?a(t,o,n):a(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n}o.d(t,{gn:()=>r}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}}]);
|