@covalent/components 8.18.0 → 8.19.0
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/action-ribbon.js +1 -1
- package/action-ribbon.mjs +4 -3
- package/alert.js +1 -1
- package/alert.mjs +4 -3
- package/app-shell.js +1 -1
- package/app-shell.mjs +8 -7
- package/async-directive-4a34f75e.js +5 -0
- package/async-directive-99a01ec7.mjs +78 -0
- package/badge.js +1 -1
- package/badge.mjs +4 -3
- package/button.js +1 -1
- package/button.mjs +10 -9
- package/card.js +1 -1
- package/card.mjs +14 -13
- package/check-list-item.js +1 -1
- package/check-list-item.mjs +8 -7
- package/checkbox.js +1 -1
- package/checkbox.mjs +16 -15
- package/{chip-ebd0a88e.js → chip-c65a4549.js} +1 -1
- package/{chip-2d0fd3f0.mjs → chip-fb0ea5c5.mjs} +1 -1
- package/chip-set.js +2 -2
- package/chip-set.mjs +46 -45
- package/chip.js +1 -1
- package/chip.mjs +5 -4
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +5 -4
- package/class-map-0a4c6ca9.js +5 -0
- package/class-map-6e504a9a.mjs +38 -0
- package/code-editor/code-editor.d.ts +58 -0
- package/code-editor/code-editor.d.ts.map +1 -0
- package/code-editor/code-editor.theme.d.ts +61 -0
- package/code-editor/code-editor.theme.d.ts.map +1 -0
- package/code-editor-8064b078.mjs +61268 -0
- package/code-editor-f85b0a6b.js +662 -0
- package/code-editor.js +1 -0
- package/code-editor.mjs +10 -0
- package/code-snippet.js +2 -2
- package/code-snippet.mjs +5 -4
- package/css-5dd354ac.mjs +186 -0
- package/css-9be95551.js +8 -0
- package/{dialog-c9dbe94d.mjs → dialog-16aad066.mjs} +1 -1
- package/{dialog-82b03745.js → dialog-86192b9a.js} +1 -1
- package/dialog.js +1 -1
- package/dialog.mjs +5 -4
- package/directive-1186bc23.js +5 -0
- package/directive-daf4e9b6.mjs +27 -0
- package/drawer.js +1 -1
- package/drawer.mjs +5 -4
- package/formfield.js +3 -3
- package/formfield.mjs +4 -3
- package/html-5fd3a841.mjs +286 -0
- package/html-73c71ff4.js +6 -0
- package/icon-button-toggle.js +1 -1
- package/icon-button-toggle.mjs +6 -5
- package/icon-button.js +1 -1
- package/icon-button.mjs +6 -5
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +7 -6
- package/icon-radio-toggle.js +3 -3
- package/icon-radio-toggle.mjs +7 -6
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +123 -117
- package/javascript-204f9122.js +6 -0
- package/javascript-85aeeec4.mjs +80 -0
- package/linear-progress.js +1 -1
- package/linear-progress.mjs +5 -4
- package/list-item.js +2 -2
- package/list-item.mjs +7 -6
- package/list.js +1 -1
- package/list.mjs +8 -7
- package/markdown-9b448c46.mjs +202 -0
- package/markdown-eae8e3ba.js +6 -0
- package/menu.js +5 -5
- package/menu.mjs +9 -8
- package/{mwc-checkbox-base-c40d16d2.mjs → mwc-checkbox-base-02b4eb91.mjs} +2 -2
- package/{mwc-checkbox-base-3d8c9549.js → mwc-checkbox-base-935d9566.js} +1 -1
- package/{mwc-drawer-base-798b11f8.js → mwc-drawer-base-bbae43c3.js} +1 -1
- package/{mwc-drawer-base-9c77129c.mjs → mwc-drawer-base-ca75f41f.mjs} +1 -1
- package/{mwc-line-ripple-directive-a6b39a3c.js → mwc-line-ripple-directive-40145003.js} +14 -14
- package/{mwc-line-ripple-directive-f9dd7fe3.mjs → mwc-line-ripple-directive-aabd8778.mjs} +6 -5
- package/{mwc-list-base-400b00e2.js → mwc-list-base-22616d0a.js} +1 -1
- package/{mwc-list-base-495cbb3b.mjs → mwc-list-base-402e1d8e.mjs} +1 -1
- package/{mwc-list-item-base-297d86b0.js → mwc-list-item-base-06d93e6e.js} +1 -1
- package/{mwc-list-item-base-6449e812.mjs → mwc-list-item-base-3c6a3bfb.mjs} +2 -2
- package/{mwc-menu-base-9704207e.mjs → mwc-menu-base-04586160.mjs} +3 -3
- package/{mwc-menu-base-c75ca473.js → mwc-menu-base-08f54c38.js} +1 -1
- package/{mwc-radio-base-913e02e2.js → mwc-radio-base-147cf999.js} +1 -1
- package/{mwc-radio-base-4dbe9e38.mjs → mwc-radio-base-768b4221.mjs} +2 -2
- package/{mwc-slider.css-c7107d94.js → mwc-slider.css-c5f99704.js} +1 -1
- package/{mwc-slider.css-30c91236.mjs → mwc-slider.css-cda43bd0.mjs} +3 -3
- package/{mwc-tab-base-effde6e4.mjs → mwc-tab-base-0814a3ef.mjs} +2 -2
- package/{mwc-tab-base-f28722aa.js → mwc-tab-base-f2269fd1.js} +1 -1
- package/{mwc-top-app-bar-base-28c4192d.mjs → mwc-top-app-bar-base-8a7f7312.mjs} +1 -1
- package/{mwc-top-app-bar-base-aec60f27.js → mwc-top-app-bar-base-8c8cde51.js} +1 -1
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +7 -6
- package/notebook-cell/notebook-cell.d.ts +94 -0
- package/notebook-cell/notebook-cell.d.ts.map +1 -0
- package/notebook-cell.js +47 -0
- package/notebook-cell.mjs +217 -0
- package/package.json +11 -1
- package/python-abc06189.mjs +264 -0
- package/python-cb76a8a4.js +6 -0
- package/r-42c6f0aa.js +6 -0
- package/r-630f5d6b.mjs +245 -0
- package/radio-list-item.js +1 -1
- package/radio-list-item.mjs +8 -7
- package/radio.js +2 -2
- package/radio.mjs +7 -6
- package/{ripple-handlers-0d9ad7c2.mjs → ripple-handlers-8883e893.mjs} +2 -2
- package/{ripple-handlers-5d5b21db.js → ripple-handlers-9fb4a31a.js} +1 -1
- package/select.js +2 -2
- package/select.mjs +11 -10
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +3 -2
- package/slider-range.js +1 -1
- package/slider-range.mjs +7 -6
- package/slider.js +1 -1
- package/slider.mjs +12 -11
- package/snackbar.js +14 -18
- package/snackbar.mjs +88 -159
- package/sql-63ec8e76.mjs +818 -0
- package/sql-faf05577.js +6 -0
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +7 -6
- package/status-header.js +1 -1
- package/status-header.mjs +4 -3
- package/{style-map-88d2563f.js → style-map-a135c6ab.js} +2 -2
- package/{style-map-bc3ed3e0.mjs → style-map-e7ec6d41.mjs} +1 -1
- package/style.css +1 -0
- package/switch.js +1 -1
- package/switch.mjs +6 -5
- package/tab-bar.js +2 -2
- package/tab-bar.mjs +7 -6
- package/tab.js +1 -1
- package/tab.mjs +9 -8
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +4 -3
- package/textarea.js +1 -1
- package/textarea.mjs +6 -5
- package/{textfield-a064a2b4.js → textfield-48207bf2.js} +16 -16
- package/{textfield-69844234.mjs → textfield-a994ca16.mjs} +5 -4
- package/textfield.js +1 -1
- package/textfield.mjs +6 -5
- package/toolbar.js +1 -1
- package/toolbar.mjs +5 -4
- package/top-app-bar-fixed.js +1 -1
- package/top-app-bar-fixed.mjs +5 -4
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +8 -7
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +4 -3
- package/typescript-5cbac06a.mjs +332 -0
- package/typescript-95376fa5.js +6 -0
- package/class-map-4b94b017.mjs +0 -62
- package/class-map-b5efe8da.js +0 -9
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const o=require("./tslib.es6-98719205.js"),c=require("./query-assigned-elements-f623705d.js"),m=require("./base-element-58a3f9ea.js"),p=require("./property-57f6f6fe.js"),h=require("./query-680f1868.js"),
|
1
|
+
"use strict";const o=require("./tslib.es6-98719205.js"),c=require("./query-assigned-elements-f623705d.js"),m=require("./base-element-58a3f9ea.js"),p=require("./property-57f6f6fe.js"),h=require("./query-680f1868.js"),b=require("./class-map-0a4c6ca9.js"),d=require("./directive-1186bc23.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
@@ -19,7 +19,7 @@
|
|
19
19
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
20
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
21
|
* THE SOFTWARE.
|
22
|
-
*/var
|
22
|
+
*/var g=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
|
23
23
|
* @license
|
24
24
|
* Copyright 2018 Google Inc.
|
25
25
|
*
|
@@ -40,7 +40,7 @@
|
|
40
40
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
41
41
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
42
42
|
* THE SOFTWARE.
|
43
|
-
*/var
|
43
|
+
*/var _={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},u={NOTCH_ELEMENT_PADDING:8},v={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"};/**
|
44
44
|
* @license
|
45
45
|
* Copyright 2017 Google Inc.
|
46
46
|
*
|
@@ -61,11 +61,11 @@
|
|
61
61
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
62
62
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
63
63
|
* THE SOFTWARE.
|
64
|
-
*/var E=function(t){o.__extends(e,t);function e(n){return t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this}return Object.defineProperty(e,"strings",{get:function(){return
|
64
|
+
*/var E=function(t){o.__extends(e,t);function e(n){return t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this}return Object.defineProperty(e,"strings",{get:function(){return _},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return v},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!1,configurable:!0}),e.prototype.notch=function(n){var r=e.cssClasses.OUTLINE_NOTCHED;n>0&&(n+=u.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(n),this.adapter.addClass(r)},e.prototype.closeNotch=function(){var n=e.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(n),this.adapter.removeNotchWidthProperty()},e}(g);/**
|
65
65
|
* @license
|
66
66
|
* Copyright 2019 Google LLC
|
67
67
|
* SPDX-License-Identifier: Apache-2.0
|
68
|
-
*/class s extends m.BaseElement{constructor(){super(...arguments),this.mdcFoundationClass=E,this.width=0,this.open=!1,this.lastOpen=this.open}createAdapter(){return{addClass:e=>this.mdcRoot.classList.add(e),removeClass:e=>this.mdcRoot.classList.remove(e),setNotchWidthProperty:e=>this.notchElement.style.setProperty("width",`${e}px`),removeNotchWidthProperty:()=>this.notchElement.style.removeProperty("width")}}openOrClose(e,n){this.mdcFoundation&&(e&&n!==void 0?this.mdcFoundation.notch(n):this.mdcFoundation.closeNotch())}render(){this.openOrClose(this.open,this.width);const e=
|
68
|
+
*/class s extends m.BaseElement{constructor(){super(...arguments),this.mdcFoundationClass=E,this.width=0,this.open=!1,this.lastOpen=this.open}createAdapter(){return{addClass:e=>this.mdcRoot.classList.add(e),removeClass:e=>this.mdcRoot.classList.remove(e),setNotchWidthProperty:e=>this.notchElement.style.setProperty("width",`${e}px`),removeNotchWidthProperty:()=>this.notchElement.style.removeProperty("width")}}openOrClose(e,n){this.mdcFoundation&&(e&&n!==void 0?this.mdcFoundation.notch(n):this.mdcFoundation.closeNotch())}render(){this.openOrClose(this.open,this.width);const e=b.o({"mdc-notched-outline--notched":this.open});return c.x`
|
69
69
|
<span class="mdc-notched-outline ${e}">
|
70
70
|
<span class="mdc-notched-outline__leading"></span>
|
71
71
|
<span class="mdc-notched-outline__notch">
|
@@ -76,11 +76,11 @@
|
|
76
76
|
* @license
|
77
77
|
* Copyright 2021 Google LLC
|
78
78
|
* SPDX-LIcense-Identifier: Apache-2.0
|
79
|
-
*/const
|
79
|
+
*/const y=c.i`.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}:host{display:block;position:absolute;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] :host,:host([dir=rtl]){text-align:right}::slotted(.mdc-floating-label){display:inline-block;position:relative;top:17px;bottom:auto;max-width:100%}::slotted(.mdc-floating-label--float-above){text-overflow:clip}.mdc-notched-outline--upgraded ::slotted(.mdc-floating-label--float-above){max-width:calc(100% / 0.75)}.mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__leading,.mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-color:var(--mdc-notched-outline-border-color, var(--mdc-theme-primary, #6200ee));border-width:1px;border-width:var(--mdc-notched-outline-stroke-width, 1px)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0;padding-top:var(--mdc-notched-outline-notch-offset, 0)}`;/**
|
80
80
|
* @license
|
81
81
|
* Copyright 2019 Google LLC
|
82
82
|
* SPDX-License-Identifier: Apache-2.0
|
83
|
-
*/let l=class extends s{};l.styles=[
|
83
|
+
*/let l=class extends s{};l.styles=[y];l=o.__decorate([c.e("mwc-notched-outline")],l);/**
|
84
84
|
* @license
|
85
85
|
* Copyright 2016 Google Inc.
|
86
86
|
*
|
@@ -101,7 +101,7 @@
|
|
101
101
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
102
102
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
103
103
|
* THE SOFTWARE.
|
104
|
-
*/var
|
104
|
+
*/var L=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
|
105
105
|
* @license
|
106
106
|
* Copyright 2016 Google Inc.
|
107
107
|
*
|
@@ -122,7 +122,7 @@
|
|
122
122
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
123
123
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
124
124
|
* THE SOFTWARE.
|
125
|
-
*/var
|
125
|
+
*/var C={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"};/**
|
126
126
|
* @license
|
127
127
|
* Copyright 2016 Google Inc.
|
128
128
|
*
|
@@ -143,11 +143,11 @@
|
|
143
143
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
144
144
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
145
145
|
* THE SOFTWARE.
|
146
|
-
*/var
|
146
|
+
*/var x=function(t){o.__extends(e,t);function e(n){var r=t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this;return r.shakeAnimationEndHandler=function(){r.handleShakeAnimationEnd()},r}return Object.defineProperty(e,"cssClasses",{get:function(){return C},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.getWidth=function(){return this.adapter.getWidth()},e.prototype.shake=function(n){var r=e.cssClasses.LABEL_SHAKE;n?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.float=function(n){var r=e.cssClasses,i=r.LABEL_FLOAT_ABOVE,f=r.LABEL_SHAKE;n?this.adapter.addClass(i):(this.adapter.removeClass(i),this.adapter.removeClass(f))},e.prototype.setRequired=function(n){var r=e.cssClasses.LABEL_REQUIRED;n?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.handleShakeAnimationEnd=function(){var n=e.cssClasses.LABEL_SHAKE;this.adapter.removeClass(n)},e}(L);/**
|
147
147
|
* @license
|
148
148
|
* Copyright 2018 Google LLC
|
149
149
|
* SPDX-License-Identifier: Apache-2.0
|
150
|
-
*/const
|
150
|
+
*/const A=t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),getWidth:()=>t.scrollWidth,registerInteractionHandler:(e,n)=>{t.addEventListener(e,n)},deregisterInteractionHandler:(e,n)=>{t.removeEventListener(e,n)}});class P extends d.i{constructor(e){switch(super(e),this.foundation=null,this.previousPart=null,e.type){case d.t.ATTRIBUTE:case d.t.PROPERTY:break;default:throw new Error("FloatingLabel directive only support attribute and property parts")}}update(e,[n]){if(e!==this.previousPart){this.foundation&&this.foundation.destroy(),this.previousPart=e;const r=e.element;r.classList.add("mdc-floating-label");const i=A(r);this.foundation=new x(i),this.foundation.init()}return this.render(n)}render(e){return this.foundation}}const O=d.e(P);/**
|
151
151
|
* @license
|
152
152
|
* Copyright 2016 Google Inc.
|
153
153
|
*
|
@@ -168,7 +168,7 @@
|
|
168
168
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
169
169
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
170
170
|
* THE SOFTWARE.
|
171
|
-
*/var
|
171
|
+
*/var N=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
|
172
172
|
* @license
|
173
173
|
* Copyright 2018 Google Inc.
|
174
174
|
*
|
@@ -210,8 +210,8 @@
|
|
210
210
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
211
211
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
212
212
|
* THE SOFTWARE.
|
213
|
-
*/var
|
213
|
+
*/var I=function(t){o.__extends(e,t);function e(n){var r=t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this;return r.transitionEndHandler=function(i){r.handleTransitionEnd(i)},r}return Object.defineProperty(e,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},e.prototype.activate=function(){this.adapter.removeClass(a.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(a.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(n){this.adapter.setStyle("transform-origin",n+"px center")},e.prototype.deactivate=function(){this.adapter.addClass(a.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(n){var r=this.adapter.hasClass(a.LINE_RIPPLE_DEACTIVATING);n.propertyName==="opacity"&&r&&(this.adapter.removeClass(a.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(a.LINE_RIPPLE_DEACTIVATING))},e}(N);/**
|
214
214
|
* @license
|
215
215
|
* Copyright 2019 Google LLC
|
216
216
|
* SPDX-License-Identifier: Apache-2.0
|
217
|
-
*/const
|
217
|
+
*/const T=t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),hasClass:e=>t.classList.contains(e),setStyle:(e,n)=>t.style.setProperty(e,n),registerEventHandler:(e,n)=>{t.addEventListener(e,n)},deregisterEventHandler:(e,n)=>{t.removeEventListener(e,n)}});class D extends d.i{constructor(e){switch(super(e),this.previousPart=null,this.foundation=null,e.type){case d.t.ATTRIBUTE:case d.t.PROPERTY:return;default:throw new Error("LineRipple only support attribute and property parts.")}}update(e,n){if(this.previousPart!==e){this.foundation&&this.foundation.destroy(),this.previousPart=e;const r=e.element;r.classList.add("mdc-line-ripple");const i=T(r);this.foundation=new I(i),this.foundation.init()}return this.render()}render(){return this.foundation}}const R=d.e(D);exports.floatingLabel=O;exports.lineRipple=R;
|
@@ -3,7 +3,8 @@ import { x as _, i as v, e as E } from "./query-assigned-elements-4a39219d.mjs";
|
|
3
3
|
import { B as y } from "./base-element-acf30176.mjs";
|
4
4
|
import { n as h } from "./property-9b6ea53b.mjs";
|
5
5
|
import { i as f } from "./query-d843aa92.mjs";
|
6
|
-
import { o as L
|
6
|
+
import { o as L } from "./class-map-6e504a9a.mjs";
|
7
|
+
import { e as m, i as b, t as l } from "./directive-daf4e9b6.mjs";
|
7
8
|
/**
|
8
9
|
* @license
|
9
10
|
* Copyright 2016 Google Inc.
|
@@ -440,7 +441,7 @@ class H extends b {
|
|
440
441
|
return this.foundation;
|
441
442
|
}
|
442
443
|
}
|
443
|
-
const
|
444
|
+
const G = m(H);
|
444
445
|
/**
|
445
446
|
* @license
|
446
447
|
* Copyright 2016 Google Inc.
|
@@ -646,8 +647,8 @@ class F extends b {
|
|
646
647
|
return this.foundation;
|
647
648
|
}
|
648
649
|
}
|
649
|
-
const
|
650
|
+
const K = m(F);
|
650
651
|
export {
|
651
|
-
|
652
|
-
|
652
|
+
G as f,
|
653
|
+
K as l
|
653
654
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const p=require("./tslib.es6-98719205.js"),O=require("./query-assigned-elements-f623705d.js"),B=require("./mwc-list-item-base-
|
1
|
+
"use strict";const p=require("./tslib.es6-98719205.js"),O=require("./query-assigned-elements-f623705d.js"),B=require("./mwc-list-item-base-06d93e6e.js"),H=require("./base-element-58a3f9ea.js"),L=require("./observer-a096ab43.js"),F=require("./utils-a8190a39.js"),I=require("./property-57f6f6fe.js"),K=require("./query-680f1868.js"),W=require("./query-assigned-nodes-99eae71d.js"),k=require("./if-defined-f1c45245.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { _ as p } from "./tslib.es6-c4b0f3b1.mjs";
|
2
2
|
import { i as z, e as B, x as P } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { L as H } from "./mwc-list-item-base-
|
3
|
+
import { L as H } from "./mwc-list-item-base-3c6a3bfb.mjs";
|
4
4
|
import { B as K } from "./base-element-acf30176.mjs";
|
5
5
|
import { o as L } from "./observer-be7b92e2.mjs";
|
6
6
|
import { i as V, b as X, d as G } from "./utils-dc65fdc9.mjs";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const s=require("./tslib.es6-98719205.js"),c=require("./ripple-handlers-
|
1
|
+
"use strict";const s=require("./tslib.es6-98719205.js"),c=require("./ripple-handlers-9fb4a31a.js"),l=require("./observer-a096ab43.js"),r=require("./query-assigned-elements-f623705d.js"),n=require("./property-57f6f6fe.js"),d=require("./state-0974a8e5.js"),p=require("./query-680f1868.js"),h=require("./class-map-0a4c6ca9.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { _ as t } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
-
import { e as c, R as d } from "./ripple-handlers-
|
2
|
+
import { e as c, R as d } from "./ripple-handlers-8883e893.mjs";
|
3
3
|
import { o as l } from "./observer-be7b92e2.mjs";
|
4
4
|
import { s as h, x as n } from "./query-assigned-elements-4a39219d.mjs";
|
5
5
|
import { n as r } from "./property-9b6ea53b.mjs";
|
6
6
|
import { t as p } from "./state-b5e865db.mjs";
|
7
7
|
import { i as u } from "./query-d843aa92.mjs";
|
8
|
-
import { o as m } from "./class-map-
|
8
|
+
import { o as m } from "./class-map-6e504a9a.mjs";
|
9
9
|
/**
|
10
10
|
* @license
|
11
11
|
* Copyright 2020 Google LLC
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { _ as o, a as U, b as B, c as q } from "./tslib.es6-c4b0f3b1.mjs";
|
2
2
|
import { i as V, e as K, x as F } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { L as Q } from "./mwc-list-base-
|
3
|
+
import { L as Q } from "./mwc-list-base-402e1d8e.mjs";
|
4
4
|
import { B as j } from "./base-element-acf30176.mjs";
|
5
5
|
import { o as g } from "./observer-be7b92e2.mjs";
|
6
6
|
import { a as Y, b as Z, d as J } from "./utils-dc65fdc9.mjs";
|
7
7
|
import { n as a } from "./property-9b6ea53b.mjs";
|
8
8
|
import { t as b } from "./state-b5e865db.mjs";
|
9
9
|
import { i as D } from "./query-d843aa92.mjs";
|
10
|
-
import { o as P } from "./class-map-
|
11
|
-
import { o as tt } from "./style-map-
|
10
|
+
import { o as P } from "./class-map-6e504a9a.mjs";
|
11
|
+
import { o as tt } from "./style-map-e7ec6d41.mjs";
|
12
12
|
/**
|
13
13
|
* @license
|
14
14
|
* Copyright 2021 Google LLC
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const s=require("./tslib.es6-98719205.js"),A=require("./query-assigned-elements-f623705d.js"),K=require("./mwc-list-base-
|
1
|
+
"use strict";const s=require("./tslib.es6-98719205.js"),A=require("./query-assigned-elements-f623705d.js"),K=require("./mwc-list-base-22616d0a.js"),U=require("./base-element-58a3f9ea.js"),E=require("./observer-a096ab43.js"),N=require("./utils-a8190a39.js"),a=require("./property-57f6f6fe.js"),v=require("./state-0974a8e5.js"),F=require("./query-680f1868.js"),P=require("./class-map-0a4c6ca9.js"),j=require("./style-map-a135c6ab.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const r=require("./tslib.es6-98719205.js"),p=require("./ripple-handlers-
|
1
|
+
"use strict";const r=require("./tslib.es6-98719205.js"),p=require("./ripple-handlers-9fb4a31a.js"),f=require("./aria-property-849c8816.js"),v=require("./form-element-c553d6f5.js"),m=require("./observer-a096ab43.js"),c=require("./query-assigned-elements-f623705d.js"),a=require("./property-57f6f6fe.js"),d=require("./state-0974a8e5.js"),g=require("./event-options-3f5eb195.js"),b=require("./query-680f1868.js"),_=require("./class-map-0a4c6ca9.js"),u=require("./if-defined-f1c45245.js"),y=require("./utils-a8190a39.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { a as v, b as c, _ as i } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
-
import { e as g, R as y } from "./ripple-handlers-
|
2
|
+
import { e as g, R as y } from "./ripple-handlers-8883e893.mjs";
|
3
3
|
import { a as f } from "./aria-property-fa2717fe.mjs";
|
4
4
|
import { F as R } from "./form-element-abadd335.mjs";
|
5
5
|
import { o as m } from "./observer-be7b92e2.mjs";
|
@@ -8,7 +8,7 @@ import { n as a } from "./property-9b6ea53b.mjs";
|
|
8
8
|
import { t as l } from "./state-b5e865db.mjs";
|
9
9
|
import { e as C } from "./event-options-78d6cf94.mjs";
|
10
10
|
import { i as b } from "./query-d843aa92.mjs";
|
11
|
-
import { o as E } from "./class-map-
|
11
|
+
import { o as E } from "./class-map-6e504a9a.mjs";
|
12
12
|
import { l as h } from "./if-defined-c367f208.mjs";
|
13
13
|
import { a as k } from "./utils-dc65fdc9.mjs";
|
14
14
|
/**
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const d=require("./tslib.es6-98719205.js"),V=require("./ripple-handlers-
|
1
|
+
"use strict";const d=require("./tslib.es6-98719205.js"),V=require("./ripple-handlers-9fb4a31a.js"),k=require("./aria-property-849c8816.js"),L=require("./form-element-c553d6f5.js"),m=require("./query-assigned-elements-f623705d.js"),b=require("./property-57f6f6fe.js"),f=require("./state-0974a8e5.js"),g=require("./query-680f1868.js"),x=require("./class-map-0a4c6ca9.js"),A=require("./if-defined-f1c45245.js"),U=require("./style-map-a135c6ab.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google Inc.
|
4
4
|
*
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { a as F, b as x, _ as o } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
-
import { e as H, R as O } from "./ripple-handlers-
|
2
|
+
import { e as H, R as O } from "./ripple-handlers-8883e893.mjs";
|
3
3
|
import { a as w } from "./aria-property-fa2717fe.mjs";
|
4
4
|
import { F as B } from "./form-element-abadd335.mjs";
|
5
5
|
import { x as _, A as g, i as $ } from "./query-assigned-elements-4a39219d.mjs";
|
6
6
|
import { n as f } from "./property-9b6ea53b.mjs";
|
7
7
|
import { t as b } from "./state-b5e865db.mjs";
|
8
8
|
import { i as y } from "./query-d843aa92.mjs";
|
9
|
-
import { o as P } from "./class-map-
|
9
|
+
import { o as P } from "./class-map-6e504a9a.mjs";
|
10
10
|
import { l as R } from "./if-defined-c367f208.mjs";
|
11
|
-
import { o as W } from "./style-map-
|
11
|
+
import { o as W } from "./style-map-e7ec6d41.mjs";
|
12
12
|
/**
|
13
13
|
* @license
|
14
14
|
* Copyright 2020 Google Inc.
|
@@ -3,9 +3,9 @@ import { x as c, i as R, e as A } from "./query-assigned-elements-4a39219d.mjs";
|
|
3
3
|
import { B as g } from "./base-element-acf30176.mjs";
|
4
4
|
import { n as r } from "./property-9b6ea53b.mjs";
|
5
5
|
import { i as l } from "./query-d843aa92.mjs";
|
6
|
-
import { o as v } from "./class-map-
|
6
|
+
import { o as v } from "./class-map-6e504a9a.mjs";
|
7
7
|
import { a as I } from "./utils-dc65fdc9.mjs";
|
8
|
-
import { e as T, R as E } from "./ripple-handlers-
|
8
|
+
import { e as T, R as E } from "./ripple-handlers-8883e893.mjs";
|
9
9
|
import { o as F } from "./observer-be7b92e2.mjs";
|
10
10
|
import { t as _ } from "./state-b5e865db.mjs";
|
11
11
|
import { e as O } from "./event-options-78d6cf94.mjs";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const n=require("./tslib.es6-98719205.js"),s=require("./query-assigned-elements-f623705d.js"),_=require("./base-element-58a3f9ea.js"),r=require("./property-57f6f6fe.js"),l=require("./query-680f1868.js"),m=require("./class-map-
|
1
|
+
"use strict";const n=require("./tslib.es6-98719205.js"),s=require("./query-assigned-elements-f623705d.js"),_=require("./base-element-58a3f9ea.js"),r=require("./property-57f6f6fe.js"),l=require("./query-680f1868.js"),m=require("./class-map-0a4c6ca9.js"),C=require("./utils-a8190a39.js"),y=require("./ripple-handlers-9fb4a31a.js"),I=require("./observer-a096ab43.js"),g=require("./state-0974a8e5.js"),R=require("./event-options-3f5eb195.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
@@ -4,7 +4,7 @@ import { x as c } from "./query-assigned-elements-4a39219d.mjs";
|
|
4
4
|
import { B as _ } from "./base-element-acf30176.mjs";
|
5
5
|
import { a as A, s as S } from "./utils-dc65fdc9.mjs";
|
6
6
|
import { i as g } from "./query-d843aa92.mjs";
|
7
|
-
import { o as h } from "./class-map-
|
7
|
+
import { o as h } from "./class-map-6e504a9a.mjs";
|
8
8
|
/**
|
9
9
|
* @license
|
10
10
|
* Copyright 2018 Google Inc.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const i=require("./tslib.es6-98719205.js"),p=require("./property-57f6f6fe.js"),l=require("./query-assigned-elements-f623705d.js"),m=require("./base-element-58a3f9ea.js"),g=require("./utils-a8190a39.js"),T=require("./query-680f1868.js"),f=require("./class-map-
|
1
|
+
"use strict";const i=require("./tslib.es6-98719205.js"),p=require("./property-57f6f6fe.js"),l=require("./query-assigned-elements-f623705d.js"),m=require("./base-element-58a3f9ea.js"),g=require("./utils-a8190a39.js"),T=require("./query-680f1868.js"),f=require("./class-map-0a4c6ca9.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2018 Google Inc.
|
4
4
|
*
|
package/nav-list-item.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-f623705d.js"),c=require("./property-57f6f6fe.js"),h=require("./list-item.js"),d=require("./list-item-8b940ec8.js");require("./mwc-list-item-base-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-f623705d.js"),c=require("./property-57f6f6fe.js"),h=require("./list-item.js"),d=require("./list-item-8b940ec8.js");require("./mwc-list-item-base-06d93e6e.js");require("./tslib.es6-98719205.js");require("./ripple-handlers-9fb4a31a.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");require("./style-map-a135c6ab.js");require("./observer-a096ab43.js");const p=`:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:600;line-height:var(--mdc-typography-body2-line-height);text-align:left;border-radius:var(--cv-list-item-border-radius, 100px);transition:border-radius .2s cubic-bezier(.4,0,.2,1),width .2s cubic-bezier(.4,0,.2,1);width:var(--cv-list-item-width, 100%);color:var(--cv-theme-on-surface-variant);--mdc-list-item-graphic-margin: 4px}:host ::slotted(cv-icon[slot=graphic]){color:var(--cv-theme-on-surface-variant)}::slotted(*){--cv-list-padding-right: 0;--cv-list-padding-left: 0;--cv-list-item-text-padding: 16px}:host([activated]){color:var(--cv-theme-on-secondary-container)}:host([activated]) ::slotted(cv-icon[slot=graphic]){color:var(--cv-theme-on-secondary-container)}:host([selected]:not([activated])) .expansion-header{transition:background-color .25s cubic-bezier(.4,0,.2,1) color .25s cubic-bezier(.4,0,.2,1);background-color:var(--cv-list-item-selected-background-color);color:var(--cv-list-item-selected-color)}:host([selected]:not([activated])) .expansion-header .mdc-deprecated-list-item__graphic{--mdc-theme-text-icon-on-background: var(--cv-list-item-selected-color)}:host([subnav]){--cv-list-item-text-padding: 16px;height:32px;font-weight:var(--mdc-typography-body2-font-weight);border-radius:var(--cv-list-item-border-radius, 100px);padding:0;padding-right:var(--cv-list-padding-right, 12px);padding-left:var(--cv-list-padding-left, 12px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{--mdc-theme-text-icon-on-background: var(--cv-theme-on-surface);margin-left:var(--cv-list-item-graphic-margin-left, 12px);padding-left:4px;background-color:transparent}:host([graphic=avatar]){padding:0;background-color:transparent}:host([graphic=avatar]:not([twoline])){height:48px}:host([selected]) .mdc-deprecated-list-item__graphic.material-icons,:host([activated]) .mdc-deprecated-list-item__graphic.material-icons,:host([hasActivatedChild]) .mdc-deprecated-list-item__graphic.material-icons{font-variation-settings:"FILL" 1}:host([hasChildren]){flex-direction:column;overflow:visible;height:var(--cv-list-item-height, inherit)!important;background:none;padding:0;--mdc-list-side-padding: 0;--cv-list-item-graphic-margin-left: 0}:host([hasChildren]) ::slotted(cv-list){padding-left:32px}:host([hasChildren][open]:hover:not([activated])) .expansion-header{--mdc-ripple-color: transparent}:host([hasChildren][open]:hover:not([activated])) .expansion-header:hover{--mdc-ripple-color: var(--mdc-theme-on-surface-variant)}.expansion-header{position:relative;height:48px;width:100%;border-radius:var(--cv-list-item-border-radius, 100px);overflow:hidden;display:flex;flex-shrink:0;align-items:center;background-color:var(--cv-list-item-background-color);color:var(--cv-list-item-text-color)}.expansion-header mwc-ripple{border-radius:var(--cv-list-item-border-radius, 100px);overflow:hidden}.expansion-header-inner{padding:0 16px}.expansion-icon{margin-right:var(--cv-list-item-expansion-icon-margin, 0);font-size:var(--cv-list-item-expansion-icon-size, --mdc-icon-size);color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}.expansion-panel{display:block;width:100%;max-height:var(--cv-list-menu-height, 0);overflow:hidden;transition:max-height .2s cubic-bezier(.4,0,1,1);--mdc-list-side-padding: 72px}:host([open][hasChildren]:not([twoline])){height:inherit;display:flex;flex-direction:column;border-radius:0}:host([open][hasChildren]:not([twoline])) .expansion-panel{transition-timing-function:cubic-bezier(0,0,.2,1);max-height:var(--cv-list-menu-height, 0)}
|
2
2
|
`;var m=Object.defineProperty,v=Object.getOwnPropertyDescriptor,s=(o,e,t,i)=>{for(var r=i>1?void 0:i?v(e,t):e,n=o.length-1,l;n>=0;n--)(l=o[n])&&(r=(i?l(e,t,r):l(r))||r);return i&&r&&m(e,t,r),r};exports.CovalentNavRailListItem=class extends h.CovalentListItem{constructor(){super(...arguments),this.open=!1,this.hasChildren=!1,this.activated=!1,this.lastKeySelected=0}_toggleOpen(){this.open=!this.open}_handleKeydown(e){const t=this.expansionPanelElements[0],i=t?t==null?void 0:t.getFocusedItemIndex():0,r=(t==null?void 0:t.items.length)??0;if(this.hasChildren){if(e.code==="Enter"){e.preventDefault(),e.stopImmediatePropagation(),e.target.hasChildren?this._toggleOpen():this._deselectHeader(e);return}if(this.open){if(e.code==="ArrowUp"&&i===0&&this.lastKeySelected===0&&!e.target.hasChildren){e.preventDefault(),e.stopImmediatePropagation(),t.items[0].blur(),this.focus();return}e.code==="ArrowDown"&&i===-1&&(e.preventDefault(),e.stopImmediatePropagation(),t.focusItemAtIndex(0),this.lastKeySelected=0),e.code==="ArrowUp"&&i!==-1&&(e.preventDefault(),e.stopImmediatePropagation(),t.focusItemAtIndex(i),this.lastKeySelected=i),(e.code==="ArrowDown"||e.code==="ArrowUp")&&i!==-1&&this.lastKeySelected<r-1&&(e.preventDefault(),e.stopImmediatePropagation(),t.focusItemAtIndex(i),this.lastKeySelected=i)}}}_handleRequestSelected(e){const t=e;this.hasChildren&&t.detail.selected===!1&&t.detail.source==="property"&&this._deselectChildren()}_deselectChildren(){this.expansionPanelElements.forEach(e=>{e.items.forEach(t=>t.selected=!1)})}_deselectHeader(e){e.preventDefault(),e.stopImmediatePropagation(),this.fireRequestSelected(!1,"interaction"),this.activated=!1}_updateMaxHeight(e=this.open){var i;const t=(i=this.shadowRoot)==null?void 0:i.querySelector(".expansion-panel");if(e){const r=t==null?void 0:t.scrollHeight;this.style.setProperty("--cv-list-menu-height",`${r}px`)}else this.style.setProperty("--cv-list-menu-height","0")}renderExpansionItem(){const e=this.renderText(),t=this.graphic?this.renderGraphic():a.A,i=this.renderMeta();return a.x`
|
3
3
|
<div
|
4
4
|
@mousedown=${this._toggleOpen}
|
package/nav-list-item.mjs
CHANGED
@@ -2,15 +2,16 @@ import { i as s, r as n, l as m, A as v, x as h, e as g } from "./query-assigned
|
|
2
2
|
import { n as p } from "./property-9b6ea53b.mjs";
|
3
3
|
import { CovalentListItem as u } from "./list-item.mjs";
|
4
4
|
import { s as f, a as x, c as b } from "./list-item-ef175b93.mjs";
|
5
|
-
import "./mwc-list-item-base-
|
5
|
+
import "./mwc-list-item-base-3c6a3bfb.mjs";
|
6
6
|
import "./tslib.es6-c4b0f3b1.mjs";
|
7
|
-
import "./ripple-handlers-
|
7
|
+
import "./ripple-handlers-8883e893.mjs";
|
8
8
|
import "./base-element-acf30176.mjs";
|
9
9
|
import "./utils-dc65fdc9.mjs";
|
10
10
|
import "./state-b5e865db.mjs";
|
11
11
|
import "./query-d843aa92.mjs";
|
12
|
-
import "./class-map-
|
13
|
-
import "./
|
12
|
+
import "./class-map-6e504a9a.mjs";
|
13
|
+
import "./directive-daf4e9b6.mjs";
|
14
|
+
import "./style-map-e7ec6d41.mjs";
|
14
15
|
import "./observer-be7b92e2.mjs";
|
15
16
|
const y = `:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:600;line-height:var(--mdc-typography-body2-line-height);text-align:left;border-radius:var(--cv-list-item-border-radius, 100px);transition:border-radius .2s cubic-bezier(.4,0,.2,1),width .2s cubic-bezier(.4,0,.2,1);width:var(--cv-list-item-width, 100%);color:var(--cv-theme-on-surface-variant);--mdc-list-item-graphic-margin: 4px}:host ::slotted(cv-icon[slot=graphic]){color:var(--cv-theme-on-surface-variant)}::slotted(*){--cv-list-padding-right: 0;--cv-list-padding-left: 0;--cv-list-item-text-padding: 16px}:host([activated]){color:var(--cv-theme-on-secondary-container)}:host([activated]) ::slotted(cv-icon[slot=graphic]){color:var(--cv-theme-on-secondary-container)}:host([selected]:not([activated])) .expansion-header{transition:background-color .25s cubic-bezier(.4,0,.2,1) color .25s cubic-bezier(.4,0,.2,1);background-color:var(--cv-list-item-selected-background-color);color:var(--cv-list-item-selected-color)}:host([selected]:not([activated])) .expansion-header .mdc-deprecated-list-item__graphic{--mdc-theme-text-icon-on-background: var(--cv-list-item-selected-color)}:host([subnav]){--cv-list-item-text-padding: 16px;height:32px;font-weight:var(--mdc-typography-body2-font-weight);border-radius:var(--cv-list-item-border-radius, 100px);padding:0;padding-right:var(--cv-list-padding-right, 12px);padding-left:var(--cv-list-padding-left, 12px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{--mdc-theme-text-icon-on-background: var(--cv-theme-on-surface);margin-left:var(--cv-list-item-graphic-margin-left, 12px);padding-left:4px;background-color:transparent}:host([graphic=avatar]){padding:0;background-color:transparent}:host([graphic=avatar]:not([twoline])){height:48px}:host([selected]) .mdc-deprecated-list-item__graphic.material-icons,:host([activated]) .mdc-deprecated-list-item__graphic.material-icons,:host([hasActivatedChild]) .mdc-deprecated-list-item__graphic.material-icons{font-variation-settings:"FILL" 1}:host([hasChildren]){flex-direction:column;overflow:visible;height:var(--cv-list-item-height, inherit)!important;background:none;padding:0;--mdc-list-side-padding: 0;--cv-list-item-graphic-margin-left: 0}:host([hasChildren]) ::slotted(cv-list){padding-left:32px}:host([hasChildren][open]:hover:not([activated])) .expansion-header{--mdc-ripple-color: transparent}:host([hasChildren][open]:hover:not([activated])) .expansion-header:hover{--mdc-ripple-color: var(--mdc-theme-on-surface-variant)}.expansion-header{position:relative;height:48px;width:100%;border-radius:var(--cv-list-item-border-radius, 100px);overflow:hidden;display:flex;flex-shrink:0;align-items:center;background-color:var(--cv-list-item-background-color);color:var(--cv-list-item-text-color)}.expansion-header mwc-ripple{border-radius:var(--cv-list-item-border-radius, 100px);overflow:hidden}.expansion-header-inner{padding:0 16px}.expansion-icon{margin-right:var(--cv-list-item-expansion-icon-margin, 0);font-size:var(--cv-list-item-expansion-icon-size, --mdc-icon-size);color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}.expansion-panel{display:block;width:100%;max-height:var(--cv-list-menu-height, 0);overflow:hidden;transition:max-height .2s cubic-bezier(.4,0,1,1);--mdc-list-side-padding: 72px}:host([open][hasChildren]:not([twoline])){height:inherit;display:flex;flex-direction:column;border-radius:0}:host([open][hasChildren]:not([twoline])) .expansion-panel{transition-timing-function:cubic-bezier(0,0,.2,1);max-height:var(--cv-list-menu-height, 0)}
|
16
17
|
`;
|
@@ -128,8 +129,8 @@ d([
|
|
128
129
|
o = d([
|
129
130
|
g("cv-nav-list-item")
|
130
131
|
], o);
|
131
|
-
const
|
132
|
+
const q = o;
|
132
133
|
export {
|
133
134
|
o as CovalentNavRailListItem,
|
134
|
-
|
135
|
+
q as default
|
135
136
|
};
|
@@ -0,0 +1,94 @@
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
2
|
+
import '../code-editor/code-editor';
|
3
|
+
import '../code-snippet/code-snippet';
|
4
|
+
import '../icon-button/icon-button';
|
5
|
+
import '../typography/typography';
|
6
|
+
declare global {
|
7
|
+
interface HTMLElementTagNameMap {
|
8
|
+
'cv-notebook-cell': CovalentNotebookCell;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
/**
|
12
|
+
* Notebook cell
|
13
|
+
*
|
14
|
+
* @slot - This element has a slot
|
15
|
+
*/
|
16
|
+
export declare class CovalentNotebookCell extends LitElement {
|
17
|
+
/**
|
18
|
+
* The index of the cell in a notebook
|
19
|
+
*/
|
20
|
+
index?: number;
|
21
|
+
/**
|
22
|
+
* Code written in the cell
|
23
|
+
*/
|
24
|
+
code: string;
|
25
|
+
/**
|
26
|
+
* Language of the code
|
27
|
+
*/
|
28
|
+
language: string;
|
29
|
+
/**
|
30
|
+
* Whether the cell is loading
|
31
|
+
*/
|
32
|
+
loading: boolean;
|
33
|
+
/**
|
34
|
+
* Whether the cell is selected
|
35
|
+
*/
|
36
|
+
selected: boolean;
|
37
|
+
/**
|
38
|
+
* Number of times the cell was exceuted
|
39
|
+
*/
|
40
|
+
timesExecuted: number;
|
41
|
+
/**
|
42
|
+
* Whether the editor is shown
|
43
|
+
*/
|
44
|
+
hideEditor: boolean;
|
45
|
+
/**
|
46
|
+
* Whether the execution count is shown
|
47
|
+
*/
|
48
|
+
hideCount: boolean;
|
49
|
+
/**
|
50
|
+
* Whether the execution count is shown
|
51
|
+
*/
|
52
|
+
editorTheme: string;
|
53
|
+
private _editorFocused;
|
54
|
+
private _isMenuOpen;
|
55
|
+
private _menuMaxHeight;
|
56
|
+
private _menuPosition;
|
57
|
+
editorOptions: {
|
58
|
+
minimap: {
|
59
|
+
enabled: boolean;
|
60
|
+
};
|
61
|
+
wordWrap: string;
|
62
|
+
fontSize: string;
|
63
|
+
glyphMargin: boolean;
|
64
|
+
folding: boolean;
|
65
|
+
lineHeight: number;
|
66
|
+
lineNumbers: string;
|
67
|
+
lineDecorationsWidth: number;
|
68
|
+
lineNumbersMinChars: number;
|
69
|
+
renderLineHighlight: string;
|
70
|
+
overviewRulerLanes: number;
|
71
|
+
hideCursorInOverviewRuler: boolean;
|
72
|
+
scrollbar: {
|
73
|
+
alwaysConsumeMouseWheel: boolean;
|
74
|
+
vertical: string;
|
75
|
+
};
|
76
|
+
};
|
77
|
+
static styles: import("lit").CSSResult[];
|
78
|
+
constructor();
|
79
|
+
closeContextMenu(): void;
|
80
|
+
connectedCallback(): void;
|
81
|
+
disconnectedCallback(): void;
|
82
|
+
handleCodeChange(e: CustomEvent): void;
|
83
|
+
handleRun(): void;
|
84
|
+
setEditorFocus(setFocus: boolean): void;
|
85
|
+
showContextMenu(e: MouseEvent): void;
|
86
|
+
protected updated(changedProperties: PropertyValues): void;
|
87
|
+
getEditorBgColor(): string;
|
88
|
+
renderEditor(): import("lit-html").TemplateResult<1>;
|
89
|
+
renderOutput(): import("lit-html").TemplateResult<1>;
|
90
|
+
renderExecutionCount(): import("lit-html").TemplateResult<1>;
|
91
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
92
|
+
}
|
93
|
+
export default CovalentNotebookCell;
|
94
|
+
//# sourceMappingURL=notebook-cell.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"notebook-cell.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/notebook-cell/notebook-cell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,cAAc,EAAa,MAAM,KAAK,CAAC;AAKvE,OAAO,4BAA4B,CAAC;AACpC,OAAO,8BAA8B,CAAC;AACtC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAElC,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,oBAAoB,CAAC;KAC1C;CACF;AAMD;;;;GAIG;AACH,qBACa,oBAAqB,SAAQ,UAAU;IAClD;;OAEG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,aAAa,SAAK;IAElB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,WAAW,SAAM;IAEjB,OAAO,CAAC,cAAc,CAAS;IAG/B,OAAO,CAAC,WAAW,CAAS;IAE5B,OAAO,CAAC,cAAc,CAAU;IAEhC,OAAO,CAAC,aAAa,CAAuB;IAE5C,aAAa;;;;;;;;;;;;;;;;;;;MAiBX;IAEF,OAAgB,MAAM,4BAIpB;;IAQF,gBAAgB,IAAI,IAAI;IAIxB,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAK5B,gBAAgB,CAAC,CAAC,EAAE,WAAW;IAI/B,SAAS;IAUT,cAAc,CAAC,QAAQ,EAAE,OAAO;IAKhC,eAAe,CAAC,CAAC,EAAE,UAAU;IAkC7B,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,cAAc;IAkBnD,gBAAgB,IAAI,MAAM;IAS1B,YAAY;IAoBZ,YAAY;IASZ,oBAAoB;IAapB,SAAS,CAAC,MAAM;CAoCjB;AAED,eAAe,oBAAoB,CAAC"}
|
package/notebook-cell.js
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-f623705d.js"),s=require("./property-57f6f6fe.js"),v=require("./state-0974a8e5.js"),h=require("./class-map-0a4c6ca9.js");require("./code-editor-f85b0a6b.js");require("./code-snippet.js");require("./icon-button.js");require("./typography.js");require("./directive-1186bc23.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./query-assigned-nodes-99eae71d.js");require("./_commonjsHelpers-2367a3a2.js");require("./tslib.es6-98719205.js");require("./ripple-handlers-9fb4a31a.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./query-680f1868.js");require("./style-map-a135c6ab.js");require("./aria-property-849c8816.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");const g=`:host{--mdc-icon-button-size: 24px;font-family:var(--mdc-typography-body1-font-family);width:100%}cv-code-snippet{background-color:var(--cv-theme-surface);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{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);height:56px;line-height:var(--cv-typography-headline6-line-height)}.timesExecuted .executionCount{padding-right:1rem;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;width:50px}.timesExecuted cv-icon{color:var(--cv-theme-on-surface-variant);padding:.5rem;visibility:hidden;transition:visibility .3s ease}.timesExecutedWrapper{cursor:grab}.timesExecutedWrapper:active{cursor:grabbing}.timesExecutedWrapper:hover cv-icon{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% - 95px);flex:1}.contextMenu{overflow:auto;position:absolute;visibility:hidden;z-index:1000}.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%}
|
2
|
+
`;var b=Object.defineProperty,x=Object.getOwnPropertyDescriptor,n=(a,e,r,o)=>{for(var t=o>1?void 0:o?x(e,r):e,l=a.length-1,c;l>=0;l--)(c=a[l])&&(t=(o?c(e,r,t):c(t))||t);return o&&t&&b(e,r,t),t};exports.CovalentNotebookCell=class extends i.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,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}handleRun(){this.dispatchEvent(new CustomEvent("cell-run-code",{detail:{index:this.index,code:this.code},bubbles:!0,composed:!0}))}setEditorFocus(e){this._editorFocused=e,this.requestUpdate()}showContextMenu(e){var u;e.preventDefault();const r=document.querySelectorAll("cv-notebook-cell");r==null||r.forEach(p=>{p.closeContextMenu()});const o=(u=this.shadowRoot)==null?void 0:u.querySelector(".contextMenu"),t=o==null?void 0:o.offsetHeight,c=window.innerHeight-e.clientY,d=e.clientY;c>=t?(this._menuPosition={top:e.clientY,left:e.clientX},this._menuMaxHeight=`${c}px`):d>=t?(this._menuPosition={top:e.clientY-t,left:e.clientX},this._menuMaxHeight=`${t}px`):(this._menuPosition={top:e.clientY-d,left:e.clientX},this._menuMaxHeight=`${d}px`),this._isMenuOpen=!0}updated(e){var o,t;const r=(o=this.shadowRoot)==null?void 0:o.querySelector("cv-code-editor");if(e.has("code")||e.has("language"))if(r)r.code=this.code,r.language=this.language;else{const l=(t=this.shadowRoot)==null?void 0:t.querySelector("cv-code-snippet");l&&!this.selected&&l.highlight()}super.updated(e)}getEditorBgColor(){var o;const e=(o=this.shadowRoot)==null?void 0:o.querySelector(".editorContainer");return e?window.getComputedStyle(e).getPropertyValue("background-color"):""}renderEditor(){const e=this.selected?i.x`<cv-code-editor
|
3
|
+
@code-change="${this.handleCodeChange}"
|
4
|
+
@editor-focus="${()=>this.setEditorFocus(!0)}"
|
5
|
+
@editor-blur="${()=>this.setEditorFocus(!1)}"
|
6
|
+
.code="${this.code}"
|
7
|
+
.language="${this.language}"
|
8
|
+
.options="${this.editorOptions}"
|
9
|
+
.theme="${this.editorTheme}"
|
10
|
+
></cv-code-editor>`:i.x`<cv-code-snippet hideHeader .language="${this.language}"
|
11
|
+
>${this.code}</cv-code-snippet
|
12
|
+
>`;return i.x`${this.hideEditor?"":i.x`<div class="editorContainer">${e}</div>`}`}renderOutput(){const e=i.x` <div class="errors"><slot name="error"></slot></div>
|
13
|
+
<div class="output">
|
14
|
+
<slot name="output"></slot>
|
15
|
+
<slot name="input"></slot>
|
16
|
+
</div>`;return i.x`${e}`}renderExecutionCount(){if(this.hideCount)return i.x` `;const e={status:!0,loading:this.loading};return i.x`[<span class="${h.o(e)}"
|
17
|
+
>${this.loading?"*":this.timesExecuted||" "}</span
|
18
|
+
>] :`}render(){const e={cell:!0,selected:this.selected,focused:this._editorFocused};return i.x`
|
19
|
+
<div
|
20
|
+
class="${h.o(e)}"
|
21
|
+
draggable="true"
|
22
|
+
@contextmenu=${this.showContextMenu}
|
23
|
+
>
|
24
|
+
<div class="selectionIndicatorWrapper" draggable="false">
|
25
|
+
<div class="selectionIndicator"></div>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<div class="timesExecutedWrapper" draggable="false">
|
29
|
+
<div class="timesExecuted">
|
30
|
+
<cv-icon>drag_indicator</cv-icon>
|
31
|
+
<div class="executionCount">${this.renderExecutionCount()}</div>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div class="cellOutputWrapper" draggable="false">
|
36
|
+
${this.renderEditor()} ${this.renderOutput()}
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
<div
|
40
|
+
class="contextMenu ${this._isMenuOpen?"open":""}"
|
41
|
+
style="left: ${this._menuPosition.left}px; top: ${this._menuPosition.top}px; max-height: ${this._menuMaxHeight}"
|
42
|
+
>
|
43
|
+
<slot name="context-menu"></slot>
|
44
|
+
</div>
|
45
|
+
`}};exports.CovalentNotebookCell.styles=[i.i`
|
46
|
+
${i.r(g)}
|
47
|
+
`];n([s.n({type:Number})],exports.CovalentNotebookCell.prototype,"index",2);n([s.n({type:String})],exports.CovalentNotebookCell.prototype,"code",2);n([s.n({type:String})],exports.CovalentNotebookCell.prototype,"language",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"loading",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"selected",2);n([s.n({type:Number})],exports.CovalentNotebookCell.prototype,"timesExecuted",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"hideEditor",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"hideCount",2);n([s.n({type:String})],exports.CovalentNotebookCell.prototype,"editorTheme",2);n([v.t()],exports.CovalentNotebookCell.prototype,"_isMenuOpen",2);exports.CovalentNotebookCell=n([i.e("cv-notebook-cell")],exports.CovalentNotebookCell);const m=exports.CovalentNotebookCell;exports.default=m;
|