@covalent/components 8.15.0-beta.10 → 8.15.0-beta.11
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/cell/cell.d.ts +5 -0
- package/cell/cell.d.ts.map +1 -1
- package/cell.js +13 -17
- package/cell.mjs +57 -53
- package/notebook/notebook.d.ts +1 -0
- package/notebook/notebook.d.ts.map +1 -1
- package/notebook.js +1 -0
- package/notebook.mjs +1 -0
- package/package.json +1 -1
package/cell/cell.d.ts
CHANGED
@@ -21,6 +21,10 @@ export declare class CovalentCell extends LitElement {
|
|
21
21
|
* Language of the code
|
22
22
|
*/
|
23
23
|
language: string;
|
24
|
+
/**
|
25
|
+
* Whether the cell is loading
|
26
|
+
*/
|
27
|
+
loading: boolean;
|
24
28
|
/**
|
25
29
|
* Whether the cell is selected
|
26
30
|
*/
|
@@ -59,6 +63,7 @@ export declare class CovalentCell extends LitElement {
|
|
59
63
|
setEditorFocus(setFocus: boolean): void;
|
60
64
|
protected updated(changedProperties: PropertyValues): void;
|
61
65
|
renderEditor(): import("lit-html").TemplateResult<1>;
|
66
|
+
renderExecutionCount(): import("lit-html").TemplateResult<1>;
|
62
67
|
protected render(): import("lit-html").TemplateResult<1>;
|
63
68
|
}
|
64
69
|
export default CovalentCell;
|
package/cell/cell.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/cell/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,SAAS,EAAE,YAAY,CAAC;KACzB;CACF;AAMD,qBACa,YAAa,SAAQ,UAAU;IAC1C;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,EAAE,OAAO;IAKhC,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,cAAc;IAgBnD,YAAY;IA2BZ,oBAAoB;IAYpB,SAAS,CAAC,MAAM;CAgBjB;AAED,eAAe,YAAY,CAAC"}
|
package/cell.js
CHANGED
@@ -1,29 +1,25 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
2
|
-
`;var p=Object.defineProperty,h=Object.getOwnPropertyDescriptor,
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./query-assigned-elements-f623705d.js"),l=require("./property-57f6f6fe.js"),c=require("./class-map-0a4c6ca9.js");require("./code-editor-3a09cbf1.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("./state-0974a8e5.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 u=`: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-container-high);border-radius:0;box-sizing:border-box;min-height:21px;padding:0 .25rem}cv-code-snippet::part(code){font-size:var(--mdc-typography-body2-font-size);line-height:var(--mdc-typography-body2-line-height);padding:1px 0;white-space:pre-wrap}cv-code-editor{margin-top:-1px}.selectionIndicator{background-color:var(--cv-theme-primary);border-radius:2px;margin-top:2px;visibility:hidden;min-width:8px}.timesExecuted{color:var(--cv-theme-outline-variant);display:inline-flex;font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);justify-content:end;line-height:var(--mdc-typography-body2-line-height);padding:0 .75rem;min-width:8%;max-width:8%}.timesExecuted .executionCount{box-sizing:border-box;display:inline-block;max-width:70%;padding:0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timesExecuted .loading{font-size:var(--mdc-typography-headline6-font-size);position:relative;top:.275rem}.cell{box-sizing:border-box;display:flex;justify-content:space-between}.cell:hover .selectionIndicator,.cell.focused .selectionIndicator,.cell.selected .selectionIndicator{visibility:visible}.cell:hover .timesExecuted,.cell.focused .timesExecuted,.cell.selected .timesExecuted{color:var(--cv-theme-primary)}.cellWrapper{display:flex;flex-direction:column;width:100%}.cellCodeWrapper{align-items:flex-start;display:flex;justify-content:space-between;width:calc(100% - 8px)}.cellOutputWrapper{max-width:90%;min-width:90%}.output{margin:.75rem .25rem .5rem;max-width:100%}
|
2
|
+
`;var p=Object.defineProperty,h=Object.getOwnPropertyDescriptor,r=(d,e,o,s)=>{for(var i=s>1?void 0:s?h(e,o):e,n=d.length-1,a;n>=0;n--)(a=d[n])&&(i=(s?a(e,o,i):a(i))||i);return s&&i&&p(e,o,i),i};exports.CovalentCell=class extends t.s{constructor(){super(...arguments),this.code="",this.language="",this.loading=!1,this.selected=!1,this.timesExecuted=0,this.showEditor=!0,this._editorFocused=!1,this.editorOptions={minimap:{enabled:!1},wordWrap:"on",fontSize:"14px",glyphMargin:!1,folding:!1,lineNumbers:"off",lineDecorationsWidth:0,lineNumbersMinChars:0,renderLineHighlight:"none",overviewRulerLanes:0,hideCursorInOverviewRuler:!0,scrollbar:{alwaysConsumeMouseWheel:!1,vertical:"hidden"}}}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()}updated(e){var o,s;if(e.has("code")||e.has("language")){const i=(o=this.shadowRoot)==null?void 0:o.querySelector("cv-code-editor");if(i)i.code=this.code,i.language=this.language;else{const n=(s=this.shadowRoot)==null?void 0:s.querySelector("cv-code-snippet");n&&!this.selected&&n.highlight()}}super.updated(e)}renderEditor(){const e=this.selected?t.x`<cv-code-editor
|
3
3
|
@code-change="${this.handleCodeChange}"
|
4
4
|
@editor-focus="${()=>this.setEditorFocus(!0)}"
|
5
5
|
@editor-blur="${()=>this.setEditorFocus(!1)}"
|
6
6
|
.code="${this.code}"
|
7
7
|
.language="${this.language}"
|
8
8
|
.options="${this.editorOptions}"
|
9
|
-
></cv-code-editor>`:
|
9
|
+
></cv-code-editor>`:t.x`<cv-code-snippet hideHeader .language="${this.language}"
|
10
10
|
>${this.code}</cv-code-snippet
|
11
|
-
>`,
|
11
|
+
>`,o=t.x`<slot name="error"></slot>
|
12
12
|
<cv-typography class="output" scale="body1">
|
13
13
|
<slot name="output"></slot>
|
14
14
|
<slot name="input"></slot>
|
15
|
-
</cv-typography>`;return
|
16
|
-
<div class="${
|
17
|
-
<span class="
|
18
|
-
<div class="
|
19
|
-
<
|
20
|
-
|
21
|
-
${this.showEditor?i.x`[${this.timesExecuted?this.timesExecuted:" "}]:`:""}
|
22
|
-
</span>
|
23
|
-
<div class="cellOutputWrapper">${this.renderEditor()}</div>
|
24
|
-
</div>
|
15
|
+
</cv-typography>`;return t.x`${this.showEditor?e:""}${!this.showEditor&&this.language==="markdown"||this.language!=="markdown"?o:""}`}renderExecutionCount(){let e=t.x` `;return this.showEditor&&(this.loading?e=t.x`<span class="loading">*</span>`:this.timesExecuted&&(e=t.x`${this.timesExecuted}`)),t.x`[<span class="executionCount">${e}</span>] :`}render(){const e={cell:!0,selected:this.selected,focused:this._editorFocused};return t.x`
|
16
|
+
<div class="${c.o(e)}">
|
17
|
+
<span class="selectionIndicator"></span>
|
18
|
+
<div class="cellCodeWrapper">
|
19
|
+
<span class="timesExecuted">${this.renderExecutionCount()}</span>
|
20
|
+
<div class="cellOutputWrapper">${this.renderEditor()}</div>
|
25
21
|
</div>
|
26
22
|
</div>
|
27
|
-
`}};exports.CovalentCell.styles=[
|
28
|
-
${
|
29
|
-
`];
|
23
|
+
`}};exports.CovalentCell.styles=[t.i`
|
24
|
+
${t.r(u)}
|
25
|
+
`];r([l.n({type:Number})],exports.CovalentCell.prototype,"index",2);r([l.n({type:String})],exports.CovalentCell.prototype,"code",2);r([l.n({type:String})],exports.CovalentCell.prototype,"language",2);r([l.n({type:Boolean,reflect:!0})],exports.CovalentCell.prototype,"loading",2);r([l.n({type:Boolean,reflect:!0})],exports.CovalentCell.prototype,"selected",2);r([l.n({type:Number})],exports.CovalentCell.prototype,"timesExecuted",2);r([l.n({type:Boolean,reflect:!0})],exports.CovalentCell.prototype,"showEditor",2);exports.CovalentCell=r([t.e("cv-cell")],exports.CovalentCell);const v=exports.CovalentCell;exports.default=v;
|
package/cell.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { i as p, r as h, s as u, x as
|
2
|
-
import { n
|
1
|
+
import { i as p, r as h, s as u, x as r, e as m } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
+
import { n } from "./property-9b6ea53b.mjs";
|
3
3
|
import { o as g } from "./class-map-6e504a9a.mjs";
|
4
4
|
import "./code-editor-ce557bd5.mjs";
|
5
5
|
import "./code-snippet.mjs";
|
@@ -20,16 +20,16 @@ import "./style-map-e7ec6d41.mjs";
|
|
20
20
|
import "./aria-property-fa2717fe.mjs";
|
21
21
|
import "./event-options-78d6cf94.mjs";
|
22
22
|
import "./if-defined-c367f208.mjs";
|
23
|
-
const
|
23
|
+
const y = `: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-container-high);border-radius:0;box-sizing:border-box;min-height:21px;padding:0 .25rem}cv-code-snippet::part(code){font-size:var(--mdc-typography-body2-font-size);line-height:var(--mdc-typography-body2-line-height);padding:1px 0;white-space:pre-wrap}cv-code-editor{margin-top:-1px}.selectionIndicator{background-color:var(--cv-theme-primary);border-radius:2px;margin-top:2px;visibility:hidden;min-width:8px}.timesExecuted{color:var(--cv-theme-outline-variant);display:inline-flex;font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);justify-content:end;line-height:var(--mdc-typography-body2-line-height);padding:0 .75rem;min-width:8%;max-width:8%}.timesExecuted .executionCount{box-sizing:border-box;display:inline-block;max-width:70%;padding:0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timesExecuted .loading{font-size:var(--mdc-typography-headline6-font-size);position:relative;top:.275rem}.cell{box-sizing:border-box;display:flex;justify-content:space-between}.cell:hover .selectionIndicator,.cell.focused .selectionIndicator,.cell.selected .selectionIndicator{visibility:visible}.cell:hover .timesExecuted,.cell.focused .timesExecuted,.cell.selected .timesExecuted{color:var(--cv-theme-primary)}.cellWrapper{display:flex;flex-direction:column;width:100%}.cellCodeWrapper{align-items:flex-start;display:flex;justify-content:space-between;width:calc(100% - 8px)}.cellOutputWrapper{max-width:90%;min-width:90%}.output{margin:.75rem .25rem .5rem;max-width:100%}
|
24
24
|
`;
|
25
|
-
var f = Object.defineProperty,
|
26
|
-
for (var
|
27
|
-
(
|
28
|
-
return
|
25
|
+
var f = Object.defineProperty, v = Object.getOwnPropertyDescriptor, d = (e, i, l, s) => {
|
26
|
+
for (var o = s > 1 ? void 0 : s ? v(i, l) : i, a = e.length - 1, c; a >= 0; a--)
|
27
|
+
(c = e[a]) && (o = (s ? c(i, l, o) : c(o)) || o);
|
28
|
+
return s && o && f(i, l, o), o;
|
29
29
|
};
|
30
|
-
let
|
30
|
+
let t = class extends u {
|
31
31
|
constructor() {
|
32
|
-
super(...arguments), this.code = "", this.language = "", this.selected = !1, this.timesExecuted = 0, this.showEditor = !0, this._editorFocused = !1, this.editorOptions = {
|
32
|
+
super(...arguments), this.code = "", this.language = "", this.loading = !1, this.selected = !1, this.timesExecuted = 0, this.showEditor = !0, this._editorFocused = !1, this.editorOptions = {
|
33
33
|
minimap: { enabled: !1 },
|
34
34
|
// Disable minimap to save space
|
35
35
|
wordWrap: "on",
|
@@ -65,33 +65,38 @@ let i = class extends u {
|
|
65
65
|
this._editorFocused = e, this.requestUpdate();
|
66
66
|
}
|
67
67
|
updated(e) {
|
68
|
-
var
|
68
|
+
var i, l;
|
69
69
|
if (e.has("code") || e.has("language")) {
|
70
|
-
const
|
71
|
-
if (
|
72
|
-
|
70
|
+
const s = (i = this.shadowRoot) == null ? void 0 : i.querySelector("cv-code-editor");
|
71
|
+
if (s)
|
72
|
+
s.code = this.code, s.language = this.language;
|
73
73
|
else {
|
74
|
-
const
|
75
|
-
|
74
|
+
const o = (l = this.shadowRoot) == null ? void 0 : l.querySelector("cv-code-snippet");
|
75
|
+
o && !this.selected && o.highlight();
|
76
76
|
}
|
77
77
|
}
|
78
|
+
super.updated(e);
|
78
79
|
}
|
79
80
|
renderEditor() {
|
80
|
-
const e = this.selected ?
|
81
|
+
const e = this.selected ? r`<cv-code-editor
|
81
82
|
@code-change="${this.handleCodeChange}"
|
82
83
|
@editor-focus="${() => this.setEditorFocus(!0)}"
|
83
84
|
@editor-blur="${() => this.setEditorFocus(!1)}"
|
84
85
|
.code="${this.code}"
|
85
86
|
.language="${this.language}"
|
86
87
|
.options="${this.editorOptions}"
|
87
|
-
></cv-code-editor>` :
|
88
|
+
></cv-code-editor>` : r`<cv-code-snippet hideHeader .language="${this.language}"
|
88
89
|
>${this.code}</cv-code-snippet
|
89
|
-
>`,
|
90
|
+
>`, i = r`<slot name="error"></slot>
|
90
91
|
<cv-typography class="output" scale="body1">
|
91
92
|
<slot name="output"></slot>
|
92
93
|
<slot name="input"></slot>
|
93
94
|
</cv-typography>`;
|
94
|
-
return
|
95
|
+
return r`${this.showEditor ? e : ""}${!this.showEditor && this.language === "markdown" || this.language !== "markdown" ? i : ""}`;
|
96
|
+
}
|
97
|
+
renderExecutionCount() {
|
98
|
+
let e = r` `;
|
99
|
+
return this.showEditor && (this.loading ? e = r`<span class="loading">*</span>` : this.timesExecuted && (e = r`${this.timesExecuted}`)), r`[<span class="executionCount">${e}</span>] :`;
|
95
100
|
}
|
96
101
|
render() {
|
97
102
|
const e = {
|
@@ -99,49 +104,48 @@ let i = class extends u {
|
|
99
104
|
selected: this.selected,
|
100
105
|
focused: this._editorFocused
|
101
106
|
};
|
102
|
-
return
|
107
|
+
return r`
|
103
108
|
<div class="${g(e)}">
|
104
|
-
<span class="
|
105
|
-
<div class="
|
106
|
-
<
|
107
|
-
|
108
|
-
${this.showEditor ? c`[${this.timesExecuted ? this.timesExecuted : " "}]:` : ""}
|
109
|
-
</span>
|
110
|
-
<div class="cellOutputWrapper">${this.renderEditor()}</div>
|
111
|
-
</div>
|
109
|
+
<span class="selectionIndicator"></span>
|
110
|
+
<div class="cellCodeWrapper">
|
111
|
+
<span class="timesExecuted">${this.renderExecutionCount()}</span>
|
112
|
+
<div class="cellOutputWrapper">${this.renderEditor()}</div>
|
112
113
|
</div>
|
113
114
|
</div>
|
114
115
|
`;
|
115
116
|
}
|
116
117
|
};
|
117
|
-
|
118
|
+
t.styles = [
|
118
119
|
p`
|
119
|
-
${h(
|
120
|
+
${h(y)}
|
120
121
|
`
|
121
122
|
];
|
122
|
-
|
123
|
-
|
124
|
-
],
|
125
|
-
|
126
|
-
|
127
|
-
],
|
128
|
-
|
129
|
-
|
130
|
-
],
|
131
|
-
|
132
|
-
|
133
|
-
],
|
134
|
-
|
135
|
-
|
136
|
-
],
|
137
|
-
|
138
|
-
|
139
|
-
],
|
140
|
-
|
123
|
+
d([
|
124
|
+
n({ type: Number })
|
125
|
+
], t.prototype, "index", 2);
|
126
|
+
d([
|
127
|
+
n({ type: String })
|
128
|
+
], t.prototype, "code", 2);
|
129
|
+
d([
|
130
|
+
n({ type: String })
|
131
|
+
], t.prototype, "language", 2);
|
132
|
+
d([
|
133
|
+
n({ type: Boolean, reflect: !0 })
|
134
|
+
], t.prototype, "loading", 2);
|
135
|
+
d([
|
136
|
+
n({ type: Boolean, reflect: !0 })
|
137
|
+
], t.prototype, "selected", 2);
|
138
|
+
d([
|
139
|
+
n({ type: Number })
|
140
|
+
], t.prototype, "timesExecuted", 2);
|
141
|
+
d([
|
142
|
+
n({ type: Boolean, reflect: !0 })
|
143
|
+
], t.prototype, "showEditor", 2);
|
144
|
+
t = d([
|
141
145
|
m("cv-cell")
|
142
|
-
],
|
143
|
-
const
|
146
|
+
], t);
|
147
|
+
const P = t;
|
144
148
|
export {
|
145
|
-
|
146
|
-
|
149
|
+
t as CovalentCell,
|
150
|
+
P as default
|
147
151
|
};
|
package/notebook/notebook.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notebook.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/notebook/notebook.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACV,cAAc,EACd,cAAc,EAEf,MAAM,KAAK,CAAC;AAIb,OAAO,cAAc,CAAC;AACtB,OAAO,cAAc,CAAC;AACtB,OAAO,4BAA4B,CAAC;AACpC,OAAO,kBAAkB,CAAC;AAC1B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,mBAAmB,CAAC;AAE3B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,gBAAgB,CAAC;KACjC;CACF;AAED,UAAU,QAAQ;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE;QACR,IAAI,EAAE;YACJ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;SACvB,CAAC;QACF,QAAQ,CAAC,EAAE;YACT,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;SACvB,CAAC;QACF,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,E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C,IAAI,EAAE,QAAQ,GAAG,OAAO;IAO3C,SAAS,CAAC,OAAO,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;CAO5D;AAED,eAAe,gBAAgB,CAAC"}
|
package/notebook.js
CHANGED
package/notebook.mjs
CHANGED
@@ -3338,6 +3338,7 @@ let j = class extends w0 {
|
|
3338
3338
|
.language="${e.language}"
|
3339
3339
|
.showEditor="${e.showEditor !== !1}"
|
3340
3340
|
.timesExecuted="${e.timesExecuted}"
|
3341
|
+
.loading="${e.loading}"
|
3341
3342
|
id="cell-${t}"
|
3342
3343
|
draggable="true"
|
3343
3344
|
@dragstart="${(c) => this.handleDragStart(c, t)}"
|