@covalent/components 8.15.0-beta.1 → 8.15.0-beta.2
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 +2 -2
- package/cell.mjs +19 -14
- package/{code-editor-4cce5e5d.js → code-editor-7a36c890.js} +15 -15
- package/{code-editor-383a8fae.mjs → code-editor-b9acd487.mjs} +21 -21
- package/code-editor.js +1 -1
- package/code-editor.mjs +1 -1
- package/{cssMode-821261c4.js → cssMode-2cffe81f.js} +1 -1
- package/{cssMode-9b89f9af.mjs → cssMode-6f4ea93a.mjs} +1 -1
- package/{freemarker2-7095cbc4.js → freemarker2-89c6e6f3.js} +1 -1
- package/{freemarker2-4fc0d2e6.mjs → freemarker2-906bf3f7.mjs} +1 -1
- package/{handlebars-82c24f9d.mjs → handlebars-dbc16556.mjs} +1 -1
- package/{handlebars-6a356ce9.js → handlebars-e0f7efbe.js} +1 -1
- package/{html-d9124a1e.js → html-d8278158.js} +1 -1
- package/{html-a95df2b1.mjs → html-feca0a24.mjs} +1 -1
- package/{htmlMode-45fac07b.mjs → htmlMode-45e8cd50.mjs} +1 -1
- package/{htmlMode-3946317b.js → htmlMode-989d6a85.js} +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/{javascript-0226b3a0.mjs → javascript-3fd1e5a8.mjs} +2 -2
- package/{javascript-ec698494.js → javascript-5d8f5f2a.js} +1 -1
- package/{jsonMode-a8e45f39.js → jsonMode-33e7baa8.js} +1 -1
- package/{jsonMode-bdcd2ed9.mjs → jsonMode-b4ecafe2.mjs} +1 -1
- package/{liquid-b6e2effe.js → liquid-97280cdd.js} +1 -1
- package/{liquid-2dc745b6.mjs → liquid-9be0367d.mjs} +1 -1
- package/notebook/notebook.d.ts +1 -0
- package/notebook/notebook.d.ts.map +1 -1
- package/notebook.js +18 -9
- package/notebook.mjs +24 -5
- package/package.json +1 -1
- package/{python-7770f129.mjs → python-3deb7582.mjs} +1 -1
- package/{python-c7862f06.js → python-e4403078.js} +1 -1
- package/{razor-4a6a11b1.js → razor-9fd114ce.js} +1 -1
- package/{razor-3871ef20.mjs → razor-d49ab0c5.mjs} +1 -1
- package/{tsMode-426fdb34.mjs → tsMode-4448deef.mjs} +1 -1
- package/{tsMode-9087ec29.js → tsMode-c5cc89bc.js} +1 -1
- package/{typescript-eb2ab867.js → typescript-1b8311ff.js} +1 -1
- package/{typescript-37d9bf54.mjs → typescript-8fb83e8f.mjs} +1 -1
- package/{xml-349a9a42.js → xml-c437fe38.js} +1 -1
- package/{xml-9970ffe1.mjs → xml-eee8295b.mjs} +1 -1
- package/{yaml-167e3d82.mjs → yaml-083914d5.mjs} +1 -1
- package/{yaml-837b2090.js → yaml-8c10a8e6.js} +1 -1
package/notebook.mjs
CHANGED
@@ -6,7 +6,7 @@ import "./icon-button.mjs";
|
|
6
6
|
import "./button.mjs";
|
7
7
|
import "./class-map-6e504a9a.mjs";
|
8
8
|
import "./directive-daf4e9b6.mjs";
|
9
|
-
import "./code-editor-
|
9
|
+
import "./code-editor-b9acd487.mjs";
|
10
10
|
import "./async-directive-99a01ec7.mjs";
|
11
11
|
import "./directive-helpers-e3ea6592.mjs";
|
12
12
|
import "./typography.mjs";
|
@@ -3180,8 +3180,9 @@ let Y = class extends v0 {
|
|
3180
3180
|
runCell() {
|
3181
3181
|
if (this._selectedCellIndex !== null) {
|
3182
3182
|
const u = this.cells[this._selectedCellIndex];
|
3183
|
-
this.convertMarkdowntoHTML(u)
|
3183
|
+
u.language === "markdown" ? this.convertMarkdowntoHTML(u) : this.dispatchCustomCellEvent("run-cell", u);
|
3184
3184
|
}
|
3185
|
+
this.requestUpdate();
|
3185
3186
|
}
|
3186
3187
|
convertMarkdowntoHTML(u) {
|
3187
3188
|
if (u.language === "markdown" && u.code) {
|
@@ -3209,6 +3210,15 @@ let Y = class extends v0 {
|
|
3209
3210
|
this.cells.splice(u, 0, { ...this._clipboardCell }), this.cells = this.cells.map((e, t) => ({ ...e, index: t })), this._selectedCellIndex = u, this.requestUpdate();
|
3210
3211
|
}
|
3211
3212
|
}
|
3213
|
+
dispatchCustomCellEvent(u, e) {
|
3214
|
+
!e && this._selectedCellIndex && (e = this.cells[this._selectedCellIndex]), e && this.dispatchEvent(
|
3215
|
+
new CustomEvent(u, {
|
3216
|
+
bubbles: !0,
|
3217
|
+
cancelable: !0,
|
3218
|
+
detail: { cell: e }
|
3219
|
+
})
|
3220
|
+
);
|
3221
|
+
}
|
3212
3222
|
firstUpdated() {
|
3213
3223
|
this.cells.forEach((u) => this.convertMarkdowntoHTML(u)), this.requestUpdate();
|
3214
3224
|
}
|
@@ -3236,9 +3246,18 @@ let Y = class extends v0 {
|
|
3236
3246
|
icon="play_arrow"
|
3237
3247
|
@click="${this.runCell}"
|
3238
3248
|
></cv-icon-button>
|
3239
|
-
<cv-icon-button
|
3240
|
-
|
3241
|
-
|
3249
|
+
<cv-icon-button
|
3250
|
+
icon="stop"
|
3251
|
+
@click="${() => this.dispatchCustomCellEvent("interrupt-cell")}"
|
3252
|
+
></cv-icon-button>
|
3253
|
+
<cv-icon-button
|
3254
|
+
icon="refresh"
|
3255
|
+
@click="${() => this.dispatchCustomCellEvent("refresh-cell")}"
|
3256
|
+
></cv-icon-button>
|
3257
|
+
<cv-icon-button
|
3258
|
+
icon="fast_forward"
|
3259
|
+
@click="${() => this.dispatchCustomCellEvent("refresh-run-all-cell")}"
|
3260
|
+
></cv-icon-button>
|
3242
3261
|
</section>
|
3243
3262
|
<section class="notebookCells">
|
3244
3263
|
${this.cells.map(
|
package/package.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./code-editor-7a36c890.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
4
|
* Released under the MIT license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./code-editor-7a36c890.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
4
|
* Released under the MIT license
|
@@ -1,7 +1,7 @@
|
|
1
1
|
var M = Object.defineProperty;
|
2
2
|
var K = (e, t, r) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
3
3
|
var _ = (e, t, r) => (K(e, typeof t != "symbol" ? t + "" : t, r), r);
|
4
|
-
import { t as R, m as E } from "./code-editor-
|
4
|
+
import { t as R, m as E } from "./code-editor-b9acd487.mjs";
|
5
5
|
import "./query-assigned-elements-4a39219d.mjs";
|
6
6
|
import "./property-9b6ea53b.mjs";
|
7
7
|
import "./async-directive-99a01ec7.mjs";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";var G=Object.defineProperty;var Q=(e,t,r)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _=(e,t,r)=>(Q(e,typeof t!="symbol"?t+"":t,r),r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("./code-editor-
|
1
|
+
"use strict";var G=Object.defineProperty;var Q=(e,t,r)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _=(e,t,r)=>(Q(e,typeof t!="symbol"?t+"":t,r),r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("./code-editor-7a36c890.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
4
|
* Released under the MIT license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./code-editor-7a36c890.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
4
|
* Released under the MIT license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./code-editor-7a36c890.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
4
|
* Released under the MIT license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./code-editor-7a36c890.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
4
|
* Released under the MIT license
|