@covalent/components 9.1.3 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app-shell.js +1 -1
- package/app-shell.mjs +1 -1
- package/{code-editor-JaW-06cH.mjs → code-editor-BvvYXkIr.mjs} +12610 -12576
- package/{code-editor-CCUZsYkN.js → code-editor-EoSlzBb3.js} +153 -153
- package/code-editor.js +1 -1
- package/code-editor.mjs +1 -1
- package/code-snippet.js +11 -10
- package/code-snippet.mjs +2781 -1932
- package/{css-BbTDMrKE.js → css-D8IzNaWL.js} +1 -1
- package/{css-CLWUu9O1.mjs → css-DwARn2R6.mjs} +1 -1
- package/{dialog-BVmWYLqR.mjs → dialog-BjgWsFFA.mjs} +1 -1
- package/{dialog-DzaPP3Vt.js → dialog-G20J-d4R.js} +1 -1
- package/dialog.js +1 -1
- package/dialog.mjs +1 -1
- package/drawer.js +1 -1
- package/drawer.mjs +1 -1
- package/full-screen-dialog.js +1 -1
- package/full-screen-dialog.mjs +1 -1
- package/{html-DhKW0KfF.mjs → html-CA53A8Cb.mjs} +2 -2
- package/{html-S7zzCKH0.js → html-DqSSPAnI.js} +2 -2
- package/index.js +1 -1
- package/index.mjs +2 -2
- package/{inert.esm-BJ7IrRxy.mjs → inert.esm-C8R-X3j4.mjs} +29 -29
- package/inert.esm-t-228rpY.js +28 -0
- package/{javascript-fH54qAGk.js → javascript-CgCtZnaB.js} +2 -2
- package/{javascript-BtkevR81.mjs → javascript-oElQTZ_j.mjs} +2 -2
- package/{markdown-BKScSdMX.mjs → markdown-B1mf5e0R.mjs} +1 -1
- package/{markdown-DldjjLzq.js → markdown-DqkJT7wW.js} +1 -1
- package/{mwc-drawer-base-DWczEPvb.js → mwc-drawer-base-BIn51sQu.js} +1 -1
- package/{mwc-drawer-base-A-4s_ZnE.mjs → mwc-drawer-base-C96HTnbC.mjs} +1 -1
- package/notebook-cell.js +1 -1
- package/notebook-cell.mjs +1 -1
- package/package.json +1 -1
- package/{python-C2_KOh3o.js → python-B3J-bZyn.js} +2 -2
- package/{python-BkZeja0y.mjs → python-OoYZIi7A.mjs} +2 -2
- package/{r-DAAK96v0.js → r-CSIGVqGj.js} +1 -1
- package/{r-BTwZKg_d.mjs → r-cdRigKxa.mjs} +1 -1
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +1 -1
- package/{sql-BMnYdyBG.js → sql-CVdEafkq.js} +1 -1
- package/{sql-1GwNodTS.mjs → sql-WzihTkbg.mjs} +1 -1
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +1 -1
- package/theme/prebuilt/dark-theme.css.map +1 -1
- package/theme/prebuilt/light-theme.css.map +1 -1
- package/{typescript-BUN0g4m9.mjs → typescript-CWRhopRu.mjs} +2 -2
- package/{typescript-DzngJr4U.js → typescript-JCYo75i7.js} +2 -2
- package/inert.esm-CNFtJ8pb.js +0 -28
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.52.
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
6
|
*-----------------------------------------------------------------------------*/var e={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},t={defaultToken:"",tokenPostfix:".css",ws:`[
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.52.
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
6
|
*-----------------------------------------------------------------------------*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { x as _, i as S, r as D, e as O } from "./query-assigned-elements-DhyCP_2z.mjs";
|
2
2
|
import { _ as F, a as x, b as r } from "./tslib.es6-CISSdiiH.mjs";
|
3
|
-
import "./inert.esm-
|
3
|
+
import "./inert.esm-C8R-X3j4.mjs";
|
4
4
|
import { B as L } from "./base-element-CzNmpVoz.mjs";
|
5
5
|
import { o as h } from "./observer-DQ8OfVDQ.mjs";
|
6
6
|
import { n as s } from "./property-DJzm_oB9.mjs";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const l=require("./query-assigned-elements-BQszEgac.js"),d=require("./tslib.es6-CHeFCc6E.js");require("./inert.esm-
|
1
|
+
"use strict";const l=require("./query-assigned-elements-BQszEgac.js"),d=require("./tslib.es6-CHeFCc6E.js");require("./inert.esm-t-228rpY.js");const w=require("./base-element-5ZU-p99q.js"),h=require("./observer-N9cgkDqh.js"),s=require("./property-BRKnMYJe.js"),u=require("./query-BvlE-gMJ.js"),v=require("./class-map-PsUYVqvf.js"),A=require("./utils-wMBJ9n_n.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
package/dialog.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-BQszEgac.js");const e=require("./dialog-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-BQszEgac.js");const e=require("./dialog-G20J-d4R.js");Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>e.CovalentDialog});exports.default=e.CovalentDialog$1;
|
package/dialog.mjs
CHANGED
package/drawer.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-BQszEgac.js"),m=require("./mwc-drawer-base-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-BQszEgac.js"),m=require("./mwc-drawer-base-BIn51sQu.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
package/drawer.mjs
CHANGED
package/full-screen-dialog.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-BQszEgac.js"),c=require("./property-BRKnMYJe.js"),d=require("./dialog-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-BQszEgac.js"),c=require("./property-BRKnMYJe.js"),d=require("./dialog-G20J-d4R.js");require("./focused-page.js");const g=":host{--cv-dialog-border-radius: 0;--cv-dialog-horizontal-padding: 0;--cv-dialog-vertical-padding: 0;--mdc-dialog-scrim-color: transparent;--mdc-dialog-min-width: 100vw;--mdc-dialog-max-width: 100vw;--mdc-dialog-min-height: 100vh;--mdc-dialog-max-height: 100vh}.mdc-dialog .mdc-dialog__container{opacity:1;transform:translate(100%);transition:transform .3s ease}.mdc-dialog--opening .mdc-dialog__container{transform:translate(100%)}.mdc-dialog--open .mdc-dialog__container{transform:translate(0);transition:transform .3s ease}.mdc-dialog--closing .mdc-dialog__container{opacity:1;transform:translate(100%);transition:transform .3s ease}";var u=Object.defineProperty,p=Object.getOwnPropertyDescriptor,n=(i,l,o,t)=>{for(var e=t>1?void 0:t?p(l,o):l,r=i.length-1,s;r>=0;r--)(s=i[r])&&(e=(t?s(l,o,e):s(e))||e);return t&&e&&u(l,o,e),e};exports.CovalentFullscreenDialog=class extends d.CovalentDialog$1{constructor(){super(...arguments),this.helpOpen=!1,this.helpResizable=!1}getInitialFocusEl(){const l=`[${this.initialFocusAttribute}]`,o=this.querySelector(l);return o||this.renderRoot.querySelector("cv-focused-page")}render(){return a.x` <div
|
2
2
|
class="mdc-dialog"
|
3
3
|
role="alertdialog"
|
4
4
|
aria-modal="true"
|
package/full-screen-dialog.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { i as p, r as d, x as g, e as h } from "./query-assigned-elements-DhyCP_2z.mjs";
|
2
2
|
import { n as c } from "./property-DJzm_oB9.mjs";
|
3
|
-
import { a as m } from "./dialog-
|
3
|
+
import { a as m } from "./dialog-BjgWsFFA.mjs";
|
4
4
|
import "./focused-page.mjs";
|
5
5
|
const u = ":host{--cv-dialog-border-radius: 0;--cv-dialog-horizontal-padding: 0;--cv-dialog-vertical-padding: 0;--mdc-dialog-scrim-color: transparent;--mdc-dialog-min-width: 100vw;--mdc-dialog-max-width: 100vw;--mdc-dialog-min-height: 100vh;--mdc-dialog-max-height: 100vh}.mdc-dialog .mdc-dialog__container{opacity:1;transform:translate(100%);transition:transform .3s ease}.mdc-dialog--opening .mdc-dialog__container{transform:translate(100%)}.mdc-dialog--open .mdc-dialog__container{transform:translate(0);transition:transform .3s ease}.mdc-dialog--closing .mdc-dialog__container{opacity:1;transform:translate(100%);transition:transform .3s ease}";
|
6
6
|
var v = Object.defineProperty, f = Object.getOwnPropertyDescriptor, n = (a, e, i, l) => {
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { m as s } from "./code-editor-
|
1
|
+
import { m as s } from "./code-editor-BvvYXkIr.mjs";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
|
-
* Version: 0.52.
|
4
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
5
5
|
* Released under the MIT license
|
6
6
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
7
7
|
*-----------------------------------------------------------------------------*/
|
@@ -1,6 +1,6 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./code-editor-EoSlzBb3.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.52.
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
6
|
*-----------------------------------------------------------------------------*/var d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,c=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of l(e))!m.call(t,r)&&r!==n&&d(t,r,{get:()=>e[r],enumerable:!(o=p(e,r))||o.enumerable});return t},u=(t,e,n)=>(c(t,e,"default"),n),i={};u(i,s.monaco_editor_core_star);var a=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],b={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${a.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},y={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};exports.conf=b;exports.language=y;
|
package/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./action-ribbon.js"),_=require("./alert.js"),d=require("./app-shell.js"),s=require("./badge.js"),c=require("./button.js"),p=require("./card.js"),b=require("./checkbox.js"),g=require("./check-list-item.js"),v=require("./chip-CitHXhY7.js"),m=require("./chip-set.js"),f=require("./circular-progress.js"),C=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./action-ribbon.js"),_=require("./alert.js"),d=require("./app-shell.js"),s=require("./badge.js"),c=require("./button.js"),p=require("./card.js"),b=require("./checkbox.js"),g=require("./check-list-item.js"),v=require("./chip-CitHXhY7.js"),m=require("./chip-set.js"),f=require("./circular-progress.js"),C=require("./code-editor-EoSlzBb3.js"),y=require("./code-snippet.js"),h=require("./dialog-G20J-d4R.js"),P=require("./drawer.js"),q=require("./empty-state.js"),j=require("./expansion-panel.js"),O=require("./expansion-panel-item.js"),k=require("./focused-page.js"),w=require("./formfield.js"),I=require("./full-screen-dialog.js"),x=require("./icon.js"),o=require("./query-assigned-elements-BQszEgac.js"),S=require("./typography.js"),T=require("./icon-button.js"),L=require("./icon-button-toggle.js"),B=require("./icon-check-toggle.js"),D=require("./icon-lockup.js"),A=require("./icon-radio-toggle.js"),R=require("./linear-progress.js"),z=require("./list.js"),F=require("./list-item.js"),E=require("./menu.js"),H=require("./nav-list-item.js"),N=require("./notebook-cell.js"),$=require("./radio.js"),M=require("./radio-list-item.js"),V=require("./select.js"),G=require("./side-sheet.js"),J=require("./slider.js"),K=require("./slider-range.js"),Q=require("./snackbar.js"),U=require("./status-dialog.js"),W=require("./status-header.js"),X=require("./status-header-item.js"),Y=require("./switch.js"),Z=require("./tab.js"),ee=require("./tab-bar.js"),te=require("./textarea.js"),oe=require("./textfield.js"),re=require("./text-lockup.js"),ne=require("./toolbar.js"),ae=require("./tooltip.js"),ie=require("./top-app-bar.js"),le=require("./top-app-bar-fixed.js"),ue=require("./tree-list.js"),_e=require("./tree-list-item.js"),de=["advanced_sql","advanced_sql_outlined","alias_arrow","alias_arrow_outlined","api","api_outlined","api_ondark","application","application_outlined","attribution","attribution_outlined","auto_refresh_off","auto_refresh_off_outlined","auto_refresh_on","auto_refresh_on_outlined","autorefresh_pause","autorefresh_pause_outlined","autorenew_on","autorenew_on_outlined","autorenew_off","autorenew_off_outlined","branch","branch_outlined","bucket","bucket_outlined","cluster_analysis","cluster_analysis_outlined","code_deployed","code_deployed_outlined","code_deployed_retired","code_deployed_retired_outlined","code_fork","code_fork_outlined","column","column_outlined","compute_cluster","compute_cluster_outlined","compute_cluster_group","compute_cluster_group_outlined","compute_groups","compute_groups_outlined","compute_profile","compute_profile_outlined","compute_profile_dark","compute_profile_light","connected_identity","connected_identity_outlined","created_document","created_document_outlined","data_management","data_management_outlined","data_preparation","data_preparation_outlined","data_protection","data_protection_outlined","data_sharing","data_sharing_outlined","data_source","data_source_outlined","data_source_type_amazon","data_source_type_amazon_outlined","data_source_type_azure","data_source_type_azure_outlined","data_source_type_cloudera","data_source_type_cloudera_outlined","data_source_type_hdinsight","data_source_type_hdinsight_outlined","data_source_type_microsoft","data_source_type_microsoft_outlined","data_source_type_teradata","data_source_type_teradata_outlined","data_transformation_services","data_transformation_services_outlined","database","database_outlined","database_changed","database_changed_outlined","database_edit","database_edit_outlined","database_foreign","database_foreign_outlined","database_lab","database_lab_outlined","database_none","database_none_outlined","database_search","database_search_outlined","database_synced","database_synced_outlined","database_unreachable","database_unreachable_outlined","disconnect","dock_right","dock_right_outlined","engine","engine_outlined","engine_sql","engine_sql_outlined","file","file_outlined","file_changed","file_changed_outlined","file_edit","file_edit_outlined","file_foreign","file_foreign_outlined","file_lab","file_lab_outlined","file_search","file_search_outlined","file_synced","file_synced_outlined","filter_clear","filter_clear_outlined","formula","formula_outlined","lab","lab_outlined","loader_dots","machine_learning","machine_learning_outlined","machine_learning_ondark","managed_services","managed_services_outlined","merge","merge_outlined","model","model_outlined","model_ondark","model_configuration","model_configuration_outlined","model_configuration_ondark","no_results","no_results_outlined","node_branch","node_merge","node_notification","node_notification_outlined","node_notification_ondark","nos","nos_outlined","object_browser_view","object_browser_view_outlined","object_storage","object_storage_outlined","object_storage_ondark","operations","operations_outlined","operators_divide","operators_divide_outlined","operators_equals","operators_equals_outlined","operators_greater_than","operators_greater_than_outlined","operators_greater_than_or_equal","operators_greater_than_or_equal_outlined","operators_less_than","operators_less_than_outlined","operators_less_than_or_equal","operators_less_than_or_equal_outlined","operators_multiply","operators_multiply_outlined","operators_not_equal","operators_not_equal_outlined","operators_parentheses","operators_parentheses_outlined","operators_parenthesis_left","operators_parenthesis_left_outlined","operators_parenthesis_right","operators_parenthesis_right_outlined","operators_subtract","operators_subtract_outlined","pinned","pin_outlined","placeholder","placeholder_outlined","primary_cluster","primary_cluster_outlined","product_analyst","product_analyst_outlined","product_appcenter","product_appcenter_outlined","product_console","product_console_outlined","product_cx","product_cx_outlined","product_editor","product_editor_outlined","product_jupyterhub","product_jupyterhub_outlined","product_modelops","product_modelops_outlined","product_outbound_campaign_manager","product_outbound_campaign_manager_outlined","product_querygrid","product_querygrid_outlined","product_streams","product_streams_outlined","product_vantage","product_vantage_outlined","product_viewpoint","product_viewpoint_outlined","professional_services","professional_services_outlined","report","report_outlined","resize_northeast","resize_northeast_outlined","resize_northwest","resize_northwest_outlined","resize_southeast","resize_southeast_outlined","resize_southwest","resize_southwest_outlined","row","row_outlined","rules","rules_outlined","rules_ondark","rules_insert","rules_insert_outlined","rules_insert_ondark","rules_select","rules_select_outlined","rules_select_ondark","sankey","sankey_outlined","script","script_outlined","script_ondark","script_macro","script_macro_ondark","script_management","script_management_outlined","script_sql","script_sql_outlined","script_sql_ondark","script_stored_procedure","script_stored_procedure_outlined","script_stored_procedure_ondark","segmentation","segmentation_outlined","server","server_outlined","server_changed","server_changed_outlined","server_edit","server_edit_outlined","server_foreign","server_foreign_outlined","server_lab","server_lab_outlined","server_search","server_search_outlined","server_synced","server_synced_outlined","server_workspace","server_workspace_outlined","sftp","sftp_outlined","sftp_ondark","slack","state_cancelled","state_cancelled_outlined","state_caution","state_caution_outlined","state_changed","state_changed_outlined","state_negative","state_negative_outlined","state_paused","state_paused_outlined","state_positive","state_positive_outlined","table","table_outlined","table_changed","table_changed_outlined","table_edit","table_edit_outlined","table_foreign","table_foreign_outlined","table_lab","table_lab_outlined","table_search","table_search_outlined","table_synced","table_synced_outlined","teradata","teradata_outlined","teradata_nocircle","teradata_nobackground","teradata_nobackground_outlined","text_analysis","text_analysis_outlined","undock","undock_outlined","user_defined_function","user_defined_function_outlined","variable","variable_outlined","variable_ondark","view_sankey","wand","wand_outlined","workflow","workflow_outlined"],se=':host{--mdc-icon-font: "covalent-icons"}.icon-grid{display:flex;flex-wrap:wrap;gap:24px;justify-content:start}.icon-container{margin:20px 5px;text-align:center;width:200px}.icon-container cv-icon{margin-bottom:16px;font-size:24px}.wrap{word-wrap:break-word}';var ce=Object.defineProperty,pe=Object.getOwnPropertyDescriptor,be=(n,e,a,r)=>{for(var t=r>1?void 0:r?pe(e,a):e,i=n.length-1,l;i>=0;i--)(l=n[i])&&(t=(r?l(e,a,t):l(t))||t);return r&&t&&ce(e,a,t),t};exports.CovalentIconDemo=class extends o.s{render(){return o.x`<div class="icon-grid">
|
2
2
|
${de.map(e=>o.x`<div class="icon-container">
|
3
3
|
<cv-icon>${e}</cv-icon>
|
4
4
|
<cv-typography scale="caption">
|
package/index.mjs
CHANGED
@@ -9,9 +9,9 @@ import { CovalentCheckListItem as A } from "./check-list-item.mjs";
|
|
9
9
|
import { C as R } from "./chip-5QP7xPTY.mjs";
|
10
10
|
import { CovalentChipSet as E } from "./chip-set.mjs";
|
11
11
|
import { CovalentCircularProgress as N } from "./circular-progress.mjs";
|
12
|
-
import { C as M } from "./code-editor-
|
12
|
+
import { C as M } from "./code-editor-BvvYXkIr.mjs";
|
13
13
|
import { CovalentCodeSnippet as G } from "./code-snippet.mjs";
|
14
|
-
import { C as K } from "./dialog-
|
14
|
+
import { C as K } from "./dialog-BjgWsFFA.mjs";
|
15
15
|
import { CovalentDrawer as U } from "./drawer.mjs";
|
16
16
|
import { CovalentEmptyState as X } from "./empty-state.mjs";
|
17
17
|
import { CovalentExpansionPanel as Z } from "./expansion-panel.mjs";
|
@@ -16,7 +16,7 @@
|
|
16
16
|
*/
|
17
17
|
(() => {
|
18
18
|
var E, m, N;
|
19
|
-
const l = Symbol(), g = Symbol(), I = Symbol(), v = Symbol(), S = Symbol(), T = Symbol(), u = Symbol(), t = Symbol(), e = Symbol(), i = Symbol(), r = Symbol(), a = Symbol(),
|
19
|
+
const l = Symbol(), g = Symbol(), I = Symbol(), v = Symbol(), S = Symbol(), T = Symbol(), u = Symbol(), t = Symbol(), e = Symbol(), i = Symbol(), r = Symbol(), a = Symbol(), c = Symbol();
|
20
20
|
class _ {
|
21
21
|
constructor() {
|
22
22
|
this[E] = [], this[m] = [], this[N] = /* @__PURE__ */ new Set();
|
@@ -63,10 +63,10 @@
|
|
63
63
|
this[t](d, b, o);
|
64
64
|
return;
|
65
65
|
}
|
66
|
-
let
|
67
|
-
for (;
|
68
|
-
|
69
|
-
s[
|
66
|
+
let f = s.length - 1, h = d.length - 1;
|
67
|
+
for (; f > 0 && h > 0 && s[f] === d[h]; )
|
68
|
+
f--, h--;
|
69
|
+
s[f] !== d[h] && this[u](s[f], d[h]), f > 0 && this[e](s.slice(0, f)), h > 0 && this[t](d.slice(0, h), b, null);
|
70
70
|
}
|
71
71
|
/**
|
72
72
|
* Swaps inertness between two sibling elements.
|
@@ -103,13 +103,13 @@
|
|
103
103
|
*/
|
104
104
|
[t](n, o, s) {
|
105
105
|
for (const d of n) {
|
106
|
-
const b = d.parentNode,
|
107
|
-
for (let R = 0; R <
|
108
|
-
const M =
|
106
|
+
const b = d.parentNode, f = b.children, h = /* @__PURE__ */ new Set();
|
107
|
+
for (let R = 0; R < f.length; R++) {
|
108
|
+
const M = f[R];
|
109
109
|
M === d || !this[a](M) || o && o.has(M) || (s && M.inert ? s.add(M) : (M.inert = !0, h.add(M)));
|
110
110
|
}
|
111
111
|
d[v] = h;
|
112
|
-
const k = new MutationObserver(this[
|
112
|
+
const k = new MutationObserver(this[c].bind(this));
|
113
113
|
d[S] = k;
|
114
114
|
let p = b;
|
115
115
|
const y = p;
|
@@ -123,10 +123,10 @@
|
|
123
123
|
* It also checks if the current top Blocking Element has been removed,
|
124
124
|
* notifying and removing it.
|
125
125
|
*/
|
126
|
-
[
|
126
|
+
[c](n) {
|
127
127
|
const o = this[I], s = this[g];
|
128
128
|
for (const d of n) {
|
129
|
-
const b = d.target.host || d.target,
|
129
|
+
const b = d.target.host || d.target, f = b === document.body ? o.length : o.indexOf(b), h = o[f - 1], k = h[v];
|
130
130
|
for (let p = 0; p < d.removedNodes.length; p++) {
|
131
131
|
const y = d.removedNodes[p];
|
132
132
|
if (y === h) {
|
@@ -174,14 +174,14 @@
|
|
174
174
|
if (!o)
|
175
175
|
return null;
|
176
176
|
const s = /* @__PURE__ */ new Set();
|
177
|
-
let d, b,
|
177
|
+
let d, b, f;
|
178
178
|
const h = o.querySelectorAll("slot");
|
179
179
|
if (h.length && h[0].assignedNodes)
|
180
180
|
for (d = 0; d < h.length; d++)
|
181
|
-
for (
|
181
|
+
for (f = h[d].assignedNodes({
|
182
182
|
flatten: !0
|
183
|
-
}), b = 0; b <
|
184
|
-
|
183
|
+
}), b = 0; b < f.length; b++)
|
184
|
+
f[b].nodeType === Node.ELEMENT_NODE && s.add(f[b]);
|
185
185
|
return s;
|
186
186
|
}
|
187
187
|
}
|
@@ -203,9 +203,9 @@ function x(E, m) {
|
|
203
203
|
throw new TypeError("Cannot call a class as a function");
|
204
204
|
}
|
205
205
|
(function() {
|
206
|
-
if (typeof window > "u")
|
206
|
+
if (typeof window > "u" || typeof Element > "u")
|
207
207
|
return;
|
208
|
-
var E = Array.prototype.slice, m = Element.prototype.matches || Element.prototype.msMatchesSelector, N = ["a[href]", "area[href]", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])", "button:not([disabled])", "details", "summary", "iframe", "object", "embed", "[contenteditable]"].join(","), l = function() {
|
208
|
+
var E = Array.prototype.slice, m = Element.prototype.matches || Element.prototype.msMatchesSelector, N = ["a[href]", "area[href]", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])", "button:not([disabled])", "details", "summary", "iframe", "object", "embed", "video", "[contenteditable]"].join(","), l = function() {
|
209
209
|
function u(t, e) {
|
210
210
|
x(this, u), this._inertManager = e, this._rootElement = t, this._managedNodes = /* @__PURE__ */ new Set(), this._rootElement.hasAttribute("aria-hidden") ? this._savedAriaHidden = this._rootElement.getAttribute("aria-hidden") : this._savedAriaHidden = null, this._rootElement.setAttribute("aria-hidden", "true"), this._makeSubtreeUnfocusable(this._rootElement), this._observer = new MutationObserver(this._onMutation.bind(this)), this._observer.observe(this._rootElement, { attributes: !0, childList: !0, subtree: !0 });
|
211
211
|
}
|
@@ -235,15 +235,15 @@ function x(E, m) {
|
|
235
235
|
});
|
236
236
|
var r = document.activeElement;
|
237
237
|
if (!document.body.contains(e)) {
|
238
|
-
for (var a = e,
|
238
|
+
for (var a = e, c = void 0; a; ) {
|
239
239
|
if (a.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
|
240
|
-
|
240
|
+
c = /** @type {!ShadowRoot} */
|
241
241
|
a;
|
242
242
|
break;
|
243
243
|
}
|
244
244
|
a = a.parentNode;
|
245
245
|
}
|
246
|
-
|
246
|
+
c && (r = c.activeElement);
|
247
247
|
}
|
248
248
|
e.contains(r) && (r.blur(), r === document.activeElement && document.body.focus());
|
249
249
|
}
|
@@ -329,9 +329,9 @@ function x(E, m) {
|
|
329
329
|
this._manageNode(a);
|
330
330
|
else if (a !== this._rootElement && r.attributeName === "inert" && a.hasAttribute("inert")) {
|
331
331
|
this._adoptInertRoot(a);
|
332
|
-
var
|
332
|
+
var c = this._inertManager.getInertRoot(a);
|
333
333
|
this._managedNodes.forEach(function(_) {
|
334
|
-
a.contains(_.node) &&
|
334
|
+
a.contains(_.node) && c._manageNode(_.node);
|
335
335
|
});
|
336
336
|
}
|
337
337
|
}
|
@@ -480,8 +480,8 @@ function x(E, m) {
|
|
480
480
|
} else {
|
481
481
|
if (!this._inertRoots.has(e))
|
482
482
|
return;
|
483
|
-
var
|
484
|
-
|
483
|
+
var c = this._inertRoots.get(e);
|
484
|
+
c.destructor(), this._inertRoots.delete(e), e.removeAttribute("inert");
|
485
485
|
}
|
486
486
|
}
|
487
487
|
/**
|
@@ -558,11 +558,11 @@ function x(E, m) {
|
|
558
558
|
case "attributes":
|
559
559
|
if (a.attributeName !== "inert")
|
560
560
|
return;
|
561
|
-
var
|
561
|
+
var c = (
|
562
562
|
/** @type {!HTMLElement} */
|
563
563
|
a.target
|
564
|
-
), _ =
|
565
|
-
r.setInert(
|
564
|
+
), _ = c.hasAttribute("inert");
|
565
|
+
r.setInert(c, _);
|
566
566
|
break;
|
567
567
|
}
|
568
568
|
}, this);
|
@@ -588,8 +588,8 @@ function x(E, m) {
|
|
588
588
|
for (var a = (
|
589
589
|
/** @type {!HTMLContentElement} */
|
590
590
|
i
|
591
|
-
),
|
592
|
-
v(
|
591
|
+
), c = a.getDistributedNodes ? a.getDistributedNodes() : [], _ = 0; _ < c.length; _++)
|
592
|
+
v(c[_], t);
|
593
593
|
return;
|
594
594
|
}
|
595
595
|
if (i.localName == "slot") {
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";/**
|
2
|
+
* @license
|
3
|
+
* Copyright 2016 Google Inc. All rights reserved.
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/(()=>{var E,m,N;const l=Symbol(),g=Symbol(),I=Symbol(),v=Symbol(),S=Symbol(),T=Symbol(),u=Symbol(),t=Symbol(),e=Symbol(),i=Symbol(),r=Symbol(),a=Symbol(),f=Symbol();class _{constructor(){this[E]=[],this[m]=[],this[N]=new Set}destructor(){this[e](this[I]);const n=this;n[l]=null,n[I]=null,n[g]=null}get top(){const n=this[l];return n[n.length-1]||null}push(n){!n||n===this.top||(this.remove(n),this[T](n),this[l].push(n))}remove(n){const o=this[l].indexOf(n);return o===-1?!1:(this[l].splice(o,1),o===this[l].length&&this[T](this.top),!0)}pop(){const n=this.top;return n&&this.remove(n),n}has(n){return this[l].indexOf(n)!==-1}[(E=l,m=I,N=g,T)](n){const o=this[g],s=this[I];if(!n){this[e](s),o.clear(),this[I]=[];return}const d=this[i](n);if(d[d.length-1].parentNode!==document.body)throw Error("Non-connected element cannot be a blocking element");this[I]=d;const b=this[r](n);if(!s.length){this[t](d,b,o);return}let c=s.length-1,h=d.length-1;for(;c>0&&h>0&&s[c]===d[h];)c--,h--;s[c]!==d[h]&&this[u](s[c],d[h]),c>0&&this[e](s.slice(0,c)),h>0&&this[t](d.slice(0,h),b,null)}[u](n,o){const s=n[v];this[a](n)&&!n.inert&&(n.inert=!0,s.add(n)),s.has(o)&&(o.inert=!1,s.delete(o)),o[S]=n[S],o[v]=s,n[S]=void 0,n[v]=void 0}[e](n){for(const o of n){o[S].disconnect(),o[S]=void 0;const d=o[v];for(const b of d)b.inert=!1;o[v]=void 0}}[t](n,o,s){for(const d of n){const b=d.parentNode,c=b.children,h=new Set;for(let R=0;R<c.length;R++){const M=c[R];M===d||!this[a](M)||o&&o.has(M)||(s&&M.inert?s.add(M):(M.inert=!0,h.add(M)))}d[v]=h;const k=new MutationObserver(this[f].bind(this));d[S]=k;let p=b;const y=p;y.__shady&&y.host&&(p=y.host),k.observe(p,{childList:!0})}}[f](n){const o=this[I],s=this[g];for(const d of n){const b=d.target.host||d.target,c=b===document.body?o.length:o.indexOf(b),h=o[c-1],k=h[v];for(let p=0;p<d.removedNodes.length;p++){const y=d.removedNodes[p];if(y===h){console.info("Detected removal of the top Blocking Element."),this.pop();return}k.has(y)&&(y.inert=!1,k.delete(y))}for(let p=0;p<d.addedNodes.length;p++){const y=d.addedNodes[p];this[a](y)&&(s&&y.inert?s.add(y):(y.inert=!0,k.add(y)))}}}[a](n){return/^(style|template|script)$/.test(n.localName)===!1}[i](n){const o=[];let s=n;for(;s&&s!==document.body;){if(s.nodeType===Node.ELEMENT_NODE&&o.push(s),s.assignedSlot){for(;s=s.assignedSlot;)o.push(s);s=o.pop();continue}s=s.parentNode||s.host}return o}[r](n){const o=n.shadowRoot;if(!o)return null;const s=new Set;let d,b,c;const h=o.querySelectorAll("slot");if(h.length&&h[0].assignedNodes)for(d=0;d<h.length;d++)for(c=h[d].assignedNodes({flatten:!0}),b=0;b<c.length;b++)c[b].nodeType===Node.ELEMENT_NODE&&s.add(c[b]);return s}}document.$blockingElements=new _})();var A=function(){function E(m,N){for(var l=0;l<N.length;l++){var g=N[l];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(m,g.key,g)}}return function(m,N,l){return N&&E(m.prototype,N),l&&E(m,l),m}}();function x(E,m){if(!(E instanceof m))throw new TypeError("Cannot call a class as a function")}(function(){if(typeof window>"u"||typeof Element>"u")return;var E=Array.prototype.slice,m=Element.prototype.matches||Element.prototype.msMatchesSelector,N=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","details","summary","iframe","object","embed","video","[contenteditable]"].join(","),l=function(){function u(t,e){x(this,u),this._inertManager=e,this._rootElement=t,this._managedNodes=new Set,this._rootElement.hasAttribute("aria-hidden")?this._savedAriaHidden=this._rootElement.getAttribute("aria-hidden"):this._savedAriaHidden=null,this._rootElement.setAttribute("aria-hidden","true"),this._makeSubtreeUnfocusable(this._rootElement),this._observer=new MutationObserver(this._onMutation.bind(this)),this._observer.observe(this._rootElement,{attributes:!0,childList:!0,subtree:!0})}return A(u,[{key:"destructor",value:function(){this._observer.disconnect(),this._rootElement&&(this._savedAriaHidden!==null?this._rootElement.setAttribute("aria-hidden",this._savedAriaHidden):this._rootElement.removeAttribute("aria-hidden")),this._managedNodes.forEach(function(e){this._unmanageNode(e.node)},this),this._observer=null,this._rootElement=null,this._managedNodes=null,this._inertManager=null}},{key:"_makeSubtreeUnfocusable",value:function(e){var i=this;v(e,function(_){return i._visitNode(_)});var r=document.activeElement;if(!document.body.contains(e)){for(var a=e,f=void 0;a;){if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE){f=a;break}a=a.parentNode}f&&(r=f.activeElement)}e.contains(r)&&(r.blur(),r===document.activeElement&&document.body.focus())}},{key:"_visitNode",value:function(e){if(e.nodeType===Node.ELEMENT_NODE){var i=e;i!==this._rootElement&&i.hasAttribute("inert")&&this._adoptInertRoot(i),(m.call(i,N)||i.hasAttribute("tabindex"))&&this._manageNode(i)}}},{key:"_manageNode",value:function(e){var i=this._inertManager.register(e,this);this._managedNodes.add(i)}},{key:"_unmanageNode",value:function(e){var i=this._inertManager.deregister(e,this);i&&this._managedNodes.delete(i)}},{key:"_unmanageSubtree",value:function(e){var i=this;v(e,function(r){return i._unmanageNode(r)})}},{key:"_adoptInertRoot",value:function(e){var i=this._inertManager.getInertRoot(e);i||(this._inertManager.setInert(e,!0),i=this._inertManager.getInertRoot(e)),i.managedNodes.forEach(function(r){this._manageNode(r.node)},this)}},{key:"_onMutation",value:function(e,i){e.forEach(function(r){var a=r.target;if(r.type==="childList")E.call(r.addedNodes).forEach(function(_){this._makeSubtreeUnfocusable(_)},this),E.call(r.removedNodes).forEach(function(_){this._unmanageSubtree(_)},this);else if(r.type==="attributes"){if(r.attributeName==="tabindex")this._manageNode(a);else if(a!==this._rootElement&&r.attributeName==="inert"&&a.hasAttribute("inert")){this._adoptInertRoot(a);var f=this._inertManager.getInertRoot(a);this._managedNodes.forEach(function(_){a.contains(_.node)&&f._manageNode(_.node)})}}},this)}},{key:"managedNodes",get:function(){return new Set(this._managedNodes)}},{key:"hasSavedAriaHidden",get:function(){return this._savedAriaHidden!==null}},{key:"savedAriaHidden",set:function(e){this._savedAriaHidden=e},get:function(){return this._savedAriaHidden}}]),u}(),g=function(){function u(t,e){x(this,u),this._node=t,this._overrodeFocusMethod=!1,this._inertRoots=new Set([e]),this._savedTabIndex=null,this._destroyed=!1,this.ensureUntabbable()}return A(u,[{key:"destructor",value:function(){if(this._throwIfDestroyed(),this._node&&this._node.nodeType===Node.ELEMENT_NODE){var e=this._node;this._savedTabIndex!==null?e.setAttribute("tabindex",this._savedTabIndex):e.removeAttribute("tabindex"),this._overrodeFocusMethod&&delete e.focus}this._node=null,this._inertRoots=null,this._destroyed=!0}},{key:"_throwIfDestroyed",value:function(){if(this.destroyed)throw new Error("Trying to access destroyed InertNode")}},{key:"ensureUntabbable",value:function(){if(this.node.nodeType===Node.ELEMENT_NODE){var e=this.node;if(m.call(e,N)){if(e.tabIndex===-1&&this.hasSavedTabIndex)return;e.hasAttribute("tabindex")&&(this._savedTabIndex=e.tabIndex),e.setAttribute("tabindex","-1"),e.nodeType===Node.ELEMENT_NODE&&(e.focus=function(){},this._overrodeFocusMethod=!0)}else e.hasAttribute("tabindex")&&(this._savedTabIndex=e.tabIndex,e.removeAttribute("tabindex"))}}},{key:"addInertRoot",value:function(e){this._throwIfDestroyed(),this._inertRoots.add(e)}},{key:"removeInertRoot",value:function(e){this._throwIfDestroyed(),this._inertRoots.delete(e),this._inertRoots.size===0&&this.destructor()}},{key:"destroyed",get:function(){return this._destroyed}},{key:"hasSavedTabIndex",get:function(){return this._savedTabIndex!==null}},{key:"node",get:function(){return this._throwIfDestroyed(),this._node}},{key:"savedTabIndex",set:function(e){this._throwIfDestroyed(),this._savedTabIndex=e},get:function(){return this._throwIfDestroyed(),this._savedTabIndex}}]),u}(),I=function(){function u(t){if(x(this,u),!t)throw new Error("Missing required argument; InertManager needs to wrap a document.");this._document=t,this._managedNodes=new Map,this._inertRoots=new Map,this._observer=new MutationObserver(this._watchForInert.bind(this)),S(t.head||t.body||t.documentElement),t.readyState==="loading"?t.addEventListener("DOMContentLoaded",this._onDocumentLoaded.bind(this)):this._onDocumentLoaded()}return A(u,[{key:"setInert",value:function(e,i){if(i){if(this._inertRoots.has(e))return;var r=new l(e,this);if(e.setAttribute("inert",""),this._inertRoots.set(e,r),!this._document.body.contains(e))for(var a=e.parentNode;a;)a.nodeType===11&&S(a),a=a.parentNode}else{if(!this._inertRoots.has(e))return;var f=this._inertRoots.get(e);f.destructor(),this._inertRoots.delete(e),e.removeAttribute("inert")}}},{key:"getInertRoot",value:function(e){return this._inertRoots.get(e)}},{key:"register",value:function(e,i){var r=this._managedNodes.get(e);return r!==void 0?r.addInertRoot(i):r=new g(e,i),this._managedNodes.set(e,r),r}},{key:"deregister",value:function(e,i){var r=this._managedNodes.get(e);return r?(r.removeInertRoot(i),r.destroyed&&this._managedNodes.delete(e),r):null}},{key:"_onDocumentLoaded",value:function(){var e=E.call(this._document.querySelectorAll("[inert]"));e.forEach(function(i){this.setInert(i,!0)},this),this._observer.observe(this._document.body||this._document.documentElement,{attributes:!0,subtree:!0,childList:!0})}},{key:"_watchForInert",value:function(e,i){var r=this;e.forEach(function(a){switch(a.type){case"childList":E.call(a.addedNodes).forEach(function(w){if(w.nodeType===Node.ELEMENT_NODE){var n=E.call(w.querySelectorAll("[inert]"));m.call(w,"[inert]")&&n.unshift(w),n.forEach(function(o){this.setInert(o,!0)},r)}},r);break;case"attributes":if(a.attributeName!=="inert")return;var f=a.target,_=f.hasAttribute("inert");r.setInert(f,_);break}},this)}}]),u}();function v(u,t,e){if(u.nodeType==Node.ELEMENT_NODE){var i=u;t&&t(i);var r=i.shadowRoot;if(r){v(r,t);return}if(i.localName=="content"){for(var a=i,f=a.getDistributedNodes?a.getDistributedNodes():[],_=0;_<f.length;_++)v(f[_],t);return}if(i.localName=="slot"){for(var w=i,n=w.assignedNodes?w.assignedNodes({flatten:!0}):[],o=0;o<n.length;o++)v(n[o],t);return}}for(var s=u.firstChild;s!=null;)v(s,t),s=s.nextSibling}function S(u){if(!u.querySelector("style#inert-style, link#inert-style")){var t=document.createElement("style");t.setAttribute("id","inert-style"),t.textContent=`
|
17
|
+
[inert] {
|
18
|
+
pointer-events: none;
|
19
|
+
cursor: default;
|
20
|
+
}
|
21
|
+
|
22
|
+
[inert], [inert] * {
|
23
|
+
-webkit-user-select: none;
|
24
|
+
-moz-user-select: none;
|
25
|
+
-ms-user-select: none;
|
26
|
+
user-select: none;
|
27
|
+
}
|
28
|
+
`,u.appendChild(t)}}if(!HTMLElement.prototype.hasOwnProperty("inert")){var T=new I(document);Object.defineProperty(HTMLElement.prototype,"inert",{enumerable:!0,get:function(){return this.hasAttribute("inert")},set:function(t){T.setInert(this,t)}})}})();
|
@@ -1,6 +1,6 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./typescript-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./typescript-JCYo75i7.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.52.
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
6
|
*-----------------------------------------------------------------------------*/var t=e.conf,a={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.language.operators,symbols:e.language.symbols,escapes:e.language.escapes,digits:e.language.digits,octaldigits:e.language.octaldigits,binarydigits:e.language.binarydigits,hexdigits:e.language.hexdigits,regexpctl:e.language.regexpctl,regexpesc:e.language.regexpesc,tokenizer:e.language.tokenizer};exports.conf=t;exports.language=a;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
1
|
+
import { conf as t, language as e } from "./typescript-CWRhopRu.mjs";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
|
-
* Version: 0.52.
|
4
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
5
5
|
* Released under the MIT license
|
6
6
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
7
7
|
*-----------------------------------------------------------------------------*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.52.
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
6
|
*-----------------------------------------------------------------------------*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.52.
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
6
|
*-----------------------------------------------------------------------------*/var e={comments:{blockComment:["<!--","-->"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},t={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)(\-|\w)*/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)(\-|\w)*\s*>/,{token:"tag"}],[/<!--/,"comment","@comment"]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,"comment","@pop"],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],tag:[[/[ \t\r\n]+/,"white"],[/(type)(\s*=\s*)(")([^"]+)(")/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(type)(\s*=\s*)(')([^']+)(')/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name.html","delimiter.html","string.html"]],[/\w+/,"attribute.name.html"],[/\/>/,"tag","@pop"],[/>/,{cases:{"$S2==style":{token:"tag",switchTo:"embeddedStyle",nextEmbedded:"text/css"},"$S2==script":{cases:{$S3:{token:"tag",switchTo:"embeddedScript",nextEmbedded:"$S3"},"@default":{token:"tag",switchTo:"embeddedScript",nextEmbedded:"text/javascript"}}},"@default":{token:"tag",next:"@pop"}}}]],embeddedStyle:[[/[^<]+/,""],[/<\/style\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]],embeddedScript:[[/[^<]+/,""],[/<\/script\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]]}};exports.conf=e;exports.language=t;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const r=require("./tslib.es6-CHeFCc6E.js");require("./inert.esm-
|
1
|
+
"use strict";const r=require("./tslib.es6-CHeFCc6E.js");require("./inert.esm-t-228rpY.js");const v=require("./base-element-5ZU-p99q.js"),O=require("./observer-N9cgkDqh.js"),c=require("./query-assigned-elements-BQszEgac.js"),l=require("./property-BRKnMYJe.js"),f=require("./query-BvlE-gMJ.js"),b=require("./class-map-PsUYVqvf.js"),_=require("./utils-wMBJ9n_n.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { _ as h, a as p, b as r } from "./tslib.es6-CISSdiiH.mjs";
|
2
|
-
import "./inert.esm-
|
2
|
+
import "./inert.esm-C8R-X3j4.mjs";
|
3
3
|
import { B as b } from "./base-element-CzNmpVoz.mjs";
|
4
4
|
import { o as F } from "./observer-DQ8OfVDQ.mjs";
|
5
5
|
import { x as c } from "./query-assigned-elements-DhyCP_2z.mjs";
|
package/notebook-cell.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-BQszEgac.js"),r=require("./property-BRKnMYJe.js"),v=require("./state-Csv4sdJA.js"),p=require("./class-map-PsUYVqvf.js"),g=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-BQszEgac.js"),r=require("./property-BRKnMYJe.js"),v=require("./state-Csv4sdJA.js"),p=require("./class-map-PsUYVqvf.js"),g=require("./code-editor-EoSlzBb3.js");require("./code-snippet.js");require("./icon-button.js");require("./typography.js");const b=":host{--mdc-icon-button-size: 2rem;font-family:var(--mdc-typography-body1-font-family);width:100%}cv-code-snippet{background-color:var(--cv-theme-surface);border-radius:0;box-sizing:border-box}cv-code-snippet::part(code){font-size:var(--mdc-typography-body2-font-size);line-height:var(--mdc-typography-body2-line-height);padding:0;white-space:pre-wrap}cv-code-editor{margin-top:-1px}.selectionIndicator{background-color:var(--cv-theme-primary);border-radius:2px;height:100%;visibility:hidden}.selectionIndicatorWrapper{min-width:8px}.selectionIndicatorWrapper:hover .selectionIndicator{visibility:visible}.status{padding:0 1px;position:relative}.loading{top:2.5px}.timesExecuted{--cv-icon-button-cursor: grab;align-items:center;box-sizing:border-box;color:var(--cv-theme-on-surface-38);display:flex;font-family:var(--cv-typography-subtitle2-font-family);font-size:var(--cv-typography-subtitle2-font-size);gap:.5rem;height:56px;line-height:var(--cv-typography-headline6-line-height)}.timesExecuted .executionCount{padding-right:1rem;overflow:hidden;text-align:right;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;white-space:nowrap;width:52px}.timesExecuted .dragHandle{color:var(--cv-theme-on-surface-variant);cursor:grab;padding-left:.5rem;transition:visibility .3s ease;visibility:hidden}.timesExecuted .dragHandle:active{--cv-icon-button-cursor: grabbing}.timesExecutedWrapper{cursor:grab}.timesExecutedWrapper:active{cursor:grabbing}.timesExecutedWrapper:hover .dragHandle{visibility:visible}.cell{box-sizing:border-box;cursor:pointer;display:flex;justify-content:space-between;position:relative;transition:background-color .2s ease;-webkit-user-select:auto;user-select:auto}.cell.focused .selectionIndicator,.cell.selected .selectionIndicator{visibility:visible}.cell:hover{background-color:var(--cv-theme-secondary-4)}.cell:hover .selectionIndicator{visibility:visible;background-color:var(--cv-theme-on-secondary-container-38)}.cell:active{background-color:var(--cv-theme-secondary-12)}.cell:active .selectionIndicator{visibility:visible;background-color:var(--cv-theme-on-secondary-container-74)}.cellWrapper{display:flex;flex-direction:column;width:100%}.cellOutputWrapper{display:flex;flex-direction:column;max-width:calc(100% - 130px);flex:1}.contextMenu{background-color:var(--cv-theme-surface-canvas);border-radius:8px;box-shadow:0 8px 12px 6px #00000026,0 4px 4px #0000004d;display:flex;flex-direction:column;position:fixed;visibility:hidden;z-index:1000}.contextMenuContent{border-radius:4px;flex-grow:1;max-height:100%;overflow:auto}.contextMenu.open{visibility:visible}.editorContainer{box-sizing:border-box;background-color:var(--cv-theme-surface);border:1px solid var(--cv-theme-outline-variant);border-radius:var(--cv-editor-border-radius, 4px);min-height:56px;overflow:hidden;padding:1rem}.errors,.output{max-width:100%;width:100%}";var x=Object.defineProperty,m=Object.getOwnPropertyDescriptor,s=(c,e,t,i)=>{for(var o=i>1?void 0:i?m(e,t):e,l=c.length-1,a;l>=0;l--)(a=c[l])&&(o=(i?a(e,t,o):a(o))||o);return i&&o&&x(e,t,o),o};exports.CovalentNotebookCell=class extends n.s{constructor(){super(),this.code="",this.language="",this.loading=!1,this.selected=!1,this.timesExecuted=0,this.hideEditor=!1,this.hideCount=!1,this.editorTheme="",this._editorFocused=!1,this._isMenuOpen=!1,this._menuMaxHeight="auto",this._menuPosition={top:0,left:0},this.editorOptions={minimap:{enabled:!1},wordWrap:"on",fontSize:"14px",glyphMargin:!1,folding:!1,lineHeight:20,lineNumbers:"off",lineDecorationsWidth:0,lineNumbersMinChars:0,renderIndentGuides:!1,renderLineHighlight:"none",overviewRulerLanes:0,hideCursorInOverviewRuler:!0,scrollbar:{alwaysConsumeMouseWheel:!1,vertical:"hidden"}},this.closeContextMenu=this.closeContextMenu.bind(this),this.showContextMenu=this.showContextMenu.bind(this)}closeContextMenu(){this._isMenuOpen=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.closeContextMenu)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.closeContextMenu)}handleCodeChange(e){this.code=e.detail.code}setEditorFocus(e,t){e.stopImmediatePropagation(),this._editorFocused=t,this.requestUpdate()}setEditorInstance(e){e.stopImmediatePropagation(),this._editor=e.detail.editor,this._editor.onKeyDown(t=>{t.shiftKey&&t.keyCode===g.KeyCode.Enter&&t.preventDefault()})}showContextMenu(e){var u;e.preventDefault();const t=document.querySelectorAll("cv-notebook-cell");t==null||t.forEach(h=>{h.closeContextMenu()});const i=(u=this.shadowRoot)==null?void 0:u.querySelector(".contextMenu"),o=i==null?void 0:i.offsetHeight,a=window.innerHeight-e.clientY,d=e.clientY;a>=o?(this._menuPosition={top:e.clientY,left:e.clientX},this._menuMaxHeight=`${a}px`):d>=o?(this._menuPosition={top:e.clientY-o,left:e.clientX},this._menuMaxHeight=`${o}px`):(this._menuPosition={top:e.clientY-d,left:e.clientX},this._menuMaxHeight=`${d}px`),this._isMenuOpen=!0}updated(e){var i,o;const t=(i=this.shadowRoot)==null?void 0:i.querySelector("cv-code-editor");if(e.has("code")||e.has("language"))if(t)t.code=this.code,t.language=this.language;else{const l=(o=this.shadowRoot)==null?void 0:o.querySelector("cv-code-snippet");l&&!this.selected&&l.highlight()}super.updated(e)}getEditorBgColor(){var i;const e=(i=this.shadowRoot)==null?void 0:i.querySelector(".editorContainer");return e?window.getComputedStyle(e).getPropertyValue("background-color"):""}renderEditor(){const e=this.selected?n.x`<cv-code-editor
|
2
2
|
@code-change="${this.handleCodeChange}"
|
3
3
|
@editor-ready="${this.setEditorInstance}"
|
4
4
|
@editor-focus="${t=>this.setEditorFocus(t,!0)}"
|
package/notebook-cell.mjs
CHANGED
@@ -2,7 +2,7 @@ import { i as v, r as g, s as m, x as d, e as x } from "./query-assigned-element
|
|
2
2
|
import { n as c } from "./property-DJzm_oB9.mjs";
|
3
3
|
import { t as f } from "./state-B_tK3mBm.mjs";
|
4
4
|
import { o as p } from "./class-map-BHl5MHd7.mjs";
|
5
|
-
import { K as b } from "./code-editor-
|
5
|
+
import { K as b } from "./code-editor-BvvYXkIr.mjs";
|
6
6
|
import "./code-snippet.mjs";
|
7
7
|
import "./icon-button.mjs";
|
8
8
|
import "./typography.mjs";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./code-editor-EoSlzBb3.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.52.
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
6
|
*-----------------------------------------------------------------------------*/var a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,g=(t,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!p.call(t,r)&&r!==n&&a(t,r,{get:()=>e[r],enumerable:!(s=l(e,r))||s.enumerable});return t},d=(t,e,n)=>(g(t,e,"default"),n),i={};d(i,o.monaco_editor_core_star);var _={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},f={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","type","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/f'{1,3}/,"string.escape","@fStringBody"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/f"{1,3}/,"string.escape","@fDblStringBody"],[/"/,"string.escape","@dblStringBody"]],fStringBody:[[/[^\\'\{\}]+$/,"string","@popall"],[/[^\\'\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],fDblStringBody:[[/[^\\"\{\}]+$/,"string","@popall"],[/[^\\"\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],fStringDetail:[[/[:][^}]+/,"string"],[/[!][ars]/,"string"],[/=/,"string"],[/\}/,"identifier","@pop"]]}};exports.conf=_;exports.language=f;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { m as o } from "./code-editor-
|
1
|
+
import { m as o } from "./code-editor-BvvYXkIr.mjs";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
|
-
* Version: 0.52.
|
4
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
5
5
|
* Released under the MIT license
|
6
6
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
7
7
|
*-----------------------------------------------------------------------------*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.52.
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
6
|
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".r",roxygen:["@alias","@aliases","@assignee","@author","@backref","@callGraph","@callGraphDepth","@callGraphPrimitives","@concept","@describeIn","@description","@details","@docType","@encoding","@evalNamespace","@evalRd","@example","@examples","@export","@exportClass","@exportMethod","@exportPattern","@family","@field","@formals","@format","@import","@importClassesFrom","@importFrom","@importMethodsFrom","@include","@inherit","@inheritDotParams","@inheritParams","@inheritSection","@keywords","@md","@method","@name","@noMd","@noRd","@note","@param","@rawNamespace","@rawRd","@rdname","@references","@return","@S3method","@section","@seealso","@setClass","@slot","@source","@template","@templateVar","@title","@TODO","@usage","@useDynLib"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'$/,"comment.doc"],[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<</,"operator"],[/>>/,"operator"],[/[-+=&|!<>^~*/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}};exports.conf=e;exports.language=o;
|