@vuetify/vue-repl 1.4.1 → 1.4.3

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/dist/style.css CHANGED
@@ -94,16 +94,16 @@
94
94
  }
95
95
  }
96
96
 
97
- .file-selector[data-v-505aa4e7] {
98
- /*border-bottom: 1px solid var(--border);*/
97
+ .remove[data-v-70ecc744] {
98
+ align-self: flex-end;
99
99
  }
100
- .file.import-map[data-v-505aa4e7] {
100
+ .file.import-map[data-v-70ecc744] {
101
101
  /*position: sticky;*/
102
102
  /*right: 0;*/
103
103
  margin-left: auto;
104
104
  background: rgb(var(--v-theme-background)) !important;
105
105
  }
106
- .file.pending input[data-v-505aa4e7] {
106
+ .file.pending input[data-v-70ecc744] {
107
107
  width: 90px;
108
108
  height: 30px;
109
109
  line-height: 30px;
@@ -726,8 +726,8 @@ pre[data-v-92411507] {
726
726
  position: relative;
727
727
  }
728
728
 
729
- .iframe-container[data-v-8331ee9d],
730
- .iframe-container[data-v-8331ee9d] iframe {
729
+ .iframe-container[data-v-21e1de24],
730
+ .iframe-container[data-v-21e1de24] iframe {
731
731
  width: 100%;
732
732
  height: 100%;
733
733
  border: none;
@@ -746,7 +746,7 @@ pre[data-v-92411507] {
746
746
  text-transform: uppercase;
747
747
  }
748
748
 
749
- .vue-repl[data-v-279ea8a9] {
749
+ .vue-repl[data-v-ecf79494] {
750
750
  --bg: rgb(var(--v-theme-background));
751
751
  --bg-soft: rgb(var(--v-theme-surface));
752
752
  --border: #383838;
@@ -754,7 +754,7 @@ pre[data-v-92411507] {
754
754
  --color-branding: #42d392;
755
755
  --color-branding-dark: #89ddff;
756
756
  --font-code: Menlo, Monaco, Consolas, 'Courier New', monospace;
757
- --header-height: 38px;
757
+ --header-height: 44px;
758
758
 
759
759
  font-size: 13px;
760
760
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
package/dist/vue-repl.js CHANGED
@@ -1,5 +1,6 @@
1
- import { defineComponent, computed, ref, inject, reactive, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, renderSlot, withModifiers, toDisplayString, createBlock, isRef, withCtx, Fragment, renderList, createCommentVNode, withDirectives, withKeys, vModelText, createVNode, createTextVNode, pushScopeId, popScopeId, onMounted, watchEffect, watch, Transition, onUnmounted, vShow, version, provide, toRef } from 'vue';
1
+ import { defineComponent, computed, ref, inject, reactive, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, renderSlot, withModifiers, toDisplayString, createBlock, isRef, withCtx, Fragment, renderList, createCommentVNode, withDirectives, withKeys, vModelText, createVNode, createTextVNode, onMounted, watchEffect, watch, Transition, onUnmounted, vShow, version, provide, toRef } from 'vue';
2
2
  import { VBtn } from 'vuetify/lib/components/VBtn/index.mjs';
3
+ import { VIcon } from 'vuetify/lib/components/VIcon/index.mjs';
3
4
  import { VTabs, VTab } from 'vuetify/lib/components/VTabs/index.mjs';
4
5
  import * as defaultCompiler from 'vue/compiler-sfc';
5
6
  import { MagicString, babelParse, extractIdentifiers, walkIdentifiers, isStaticProperty, isInDestructureAssignment, walk, shouldTransformRef, transformRef } from 'vue/compiler-sfc';
@@ -93,35 +94,8 @@ const _export_sfc = (sfc, props) => {
93
94
 
94
95
  const SplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-85bdcf2d"]]);
95
96
 
96
- const _withScopeId = (n) => (pushScopeId("data-v-505aa4e7"), n = n(), popScopeId(), n);
97
- const _hoisted_1$2 = ["onClick"];
98
- const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
99
- class: "icon",
100
- width: "12",
101
- height: "12",
102
- viewBox: "0 0 24 24"
103
- }, [
104
- /* @__PURE__ */ createElementVNode("line", {
105
- stroke: "#999",
106
- x1: "18",
107
- y1: "6",
108
- x2: "6",
109
- y2: "18"
110
- }),
111
- /* @__PURE__ */ createElementVNode("line", {
112
- stroke: "#999",
113
- x1: "6",
114
- y1: "6",
115
- x2: "18",
116
- y2: "18"
117
- })
118
- ], -1));
119
- const _hoisted_3 = [
120
- _hoisted_2
121
- ];
122
- const _hoisted_4 = ["onKeyup"];
123
- const _hoisted_5 = /* @__PURE__ */ createTextVNode("+");
124
- const _hoisted_6 = /* @__PURE__ */ createTextVNode(" Import Map ");
97
+ const _hoisted_1$2 = ["onKeyup"];
98
+ const _hoisted_2 = /* @__PURE__ */ createTextVNode(" Import Map ");
125
99
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
126
100
  __name: "FileSelector",
127
101
  setup(__props) {
@@ -185,6 +159,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
185
159
  }
186
160
  });
187
161
  return (_ctx, _cache) => {
162
+
188
163
 
189
164
 
190
165
 
@@ -208,11 +183,12 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
208
183
  }, {
209
184
  default: withCtx(() => [
210
185
  createElementVNode("span", null, toDisplayString(file), 1),
211
- i > 0 ? (openBlock(), createElementBlock("span", {
186
+ i > 0 ? (openBlock(), createBlock(VIcon, {
212
187
  key: 0,
213
- class: "remove",
214
- onClick: withModifiers(($event) => unref(store).deleteFile(file), ["stop"])
215
- }, _hoisted_3, 8, _hoisted_1$2)) : createCommentVNode("", true)
188
+ onClick: withModifiers(($event) => unref(store).deleteFile(file), ["stop"]),
189
+ icon: "mdi-close",
190
+ class: "ms-2 remove"
191
+ }, null, 8, ["onClick"])) : createCommentVNode("", true)
216
192
  ]),
217
193
  _: 2
218
194
  }, 1032, ["value"]);
@@ -232,7 +208,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
232
208
  withKeys(cancelAddFile, ["esc"])
233
209
  ],
234
210
  onVnodeMounted: focus
235
- }, null, 40, _hoisted_4), [
211
+ }, null, 40, _hoisted_1$2), [
236
212
  [vModelText, pendingFilename.value]
237
213
  ])
238
214
  ]),
@@ -244,7 +220,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
244
220
  onClick: startAddFile
245
221
  }, {
246
222
  default: withCtx(() => [
247
- _hoisted_5
223
+ createVNode(VIcon, { icon: "mdi-plus" })
248
224
  ]),
249
225
  _: 1
250
226
  }),
@@ -255,7 +231,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
255
231
  value: importMapFile
256
232
  }, {
257
233
  default: withCtx(() => [
258
- _hoisted_6
234
+ _hoisted_2
259
235
  ]),
260
236
  _: 1
261
237
  })) : createCommentVNode("", true)
@@ -266,9 +242,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
266
242
  }
267
243
  });
268
244
 
269
- const FileSelector_vue_vue_type_style_index_0_scoped_505aa4e7_lang = '';
245
+ const FileSelector_vue_vue_type_style_index_0_scoped_70ecc744_lang = '';
270
246
 
271
- const FileSelector = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-505aa4e7"]]);
247
+ const FileSelector = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-70ecc744"]]);
272
248
 
273
249
  // DEFLATE is a complex format; to read this code, you should probably check the RFC first:
274
250
 
@@ -15360,7 +15336,6 @@ if (window.__app__) window.__app__.unmount()
15360
15336
  } catch (e) {
15361
15337
  runtimeError.value = e.message;
15362
15338
  }
15363
- console.log(runtimeError.value);
15364
15339
  }
15365
15340
  return (_ctx, _cache) => {
15366
15341
  return openBlock(), createElementBlock(Fragment, null, [
@@ -15381,9 +15356,9 @@ if (window.__app__) window.__app__.unmount()
15381
15356
  }
15382
15357
  });
15383
15358
 
15384
- const Preview_vue_vue_type_style_index_0_scoped_8331ee9d_lang = '';
15359
+ const Preview_vue_vue_type_style_index_0_scoped_21e1de24_lang = '';
15385
15360
 
15386
- const Preview = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-8331ee9d"]]);
15361
+ const Preview = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-21e1de24"]]);
15387
15362
 
15388
15363
  const _hoisted_1 = { class: "output-container" };
15389
15364
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
@@ -29189,8 +29164,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29189
29164
  }
29190
29165
  });
29191
29166
 
29192
- const Repl_vue_vue_type_style_index_0_scoped_279ea8a9_lang = '';
29167
+ const Repl_vue_vue_type_style_index_0_scoped_ecf79494_lang = '';
29193
29168
 
29194
- const Repl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-279ea8a9"]]);
29169
+ const Repl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ecf79494"]]);
29195
29170
 
29196
29171
  export { File, Preview, Repl, ReplStore, compileFile };
29172
+ //# sourceMappingURL=vue-repl.js.map