@mulmoclaude/mulmoscript-plugin 1.1.3 → 2.0.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/dist/vue.js CHANGED
@@ -1425,7 +1425,7 @@ var View_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
1425
1425
  function openLightbox(index) {
1426
1426
  stopPlayingAudio();
1427
1427
  lightbox.value = {
1428
- src: renderedImages[index],
1428
+ src: renderedImages[index] ?? "",
1429
1429
  text: effectiveBeat$1(index).text,
1430
1430
  index
1431
1431
  };
@@ -1609,7 +1609,7 @@ var View_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
1609
1609
  async function updateBeat(index) {
1610
1610
  let beat;
1611
1611
  try {
1612
- beat = JSON.parse(sourceText[index]);
1612
+ beat = JSON.parse(sourceText[index] ?? "");
1613
1613
  } catch (err) {
1614
1614
  beatSaveErrors[index] = {
1615
1615
  kind: "invalidJson",
@@ -1803,7 +1803,7 @@ var View_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
1803
1803
  function openCharacterLightbox(key) {
1804
1804
  stopAllPlayback();
1805
1805
  lightbox.value = {
1806
- src: charImages[key],
1806
+ src: charImages[key] ?? "",
1807
1807
  text: key,
1808
1808
  index: -1,
1809
1809
  isCharacter: true
@@ -2221,7 +2221,7 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
2221
2221
  };
2222
2222
  //#endregion
2223
2223
  //#region src/vue/View.vue
2224
- var View_default = /*#__PURE__*/ _plugin_vue_export_helper_default(View_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-3776a73b"]]);
2224
+ var View_default = /*#__PURE__*/ _plugin_vue_export_helper_default(View_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-f8c0d52b"]]);
2225
2225
  //#endregion
2226
2226
  //#region src/vue/Preview.vue?vue&type=script&setup=true&lang.ts
2227
2227
  var _hoisted_1 = {