mechanica 1.0.22 → 1.0.23

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/bin/compile.js CHANGED
@@ -288,6 +288,7 @@ const registerAliases = (registerCallback) => {
288
288
  registerAlias$1("file", { type: "object", format: "file", properties: { src: "string" } });
289
289
  registerAlias$1("color", { type: "string", format: "color" });
290
290
  registerAlias$1("smartLink", { type: "object", format: "smartLink", properties: { url: "string", title: "string", external: "boolean" } });
291
+ registerAlias$1("multiselect", { type: "array", format: "multiselect", items: "string" });
291
292
  registerAlias$1("richText", {
292
293
  type: "array",
293
294
  format: "richText",
package/dist/editor.js CHANGED
@@ -2,8 +2,9 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  import { defineComponent, ref, watch, createElementBlock, openBlock, normalizeStyle, createElementVNode, reactive, computed, shallowRef, onMounted, onBeforeUnmount, triggerRef, inject, normalizeClass, createCommentVNode, renderSlot, createVNode, createTextVNode, toDisplayString, Transition, withCtx, getCurrentScope, onScopeDispose, toRef as toRef$1, readonly, customRef, toValue as toValue$1, getCurrentInstance, nextTick, unref, createBlock, createSlots, withDirectives, vModelText, vModelDynamic, Fragment, renderList, h, TransitionGroup, useSlots, Teleport, mergeProps, withModifiers, mergeModels, useModel, createStaticVNode, resolveDynamicComponent, resolveComponent, vShow, shallowReactive, vModelCheckbox, isProxy, toRaw, normalizeProps, guardReactiveProps, provide, createApp } from "vue";
5
- import { p as passDefaultValue, d as defaultImageSrc, g as getDefaultValue, r as registerAliases, a as registerAlias, u as unfoldSchema } from "./schemaAliases-BChQHL5h.js";
5
+ import { p as passDefaultValue, d as defaultImageSrc, g as getDefaultValue, r as registerAliases } from "./schemaAliases-t4X-kaIk.js";
6
6
  import { blocksList as blocksList$1, addUpdateListener } from "virtual:builder-blocks";
7
+ import { registerAlias, unfoldSchema } from "compact-json-schema";
7
8
  const _sfc_main$S = /* @__PURE__ */ defineComponent({
8
9
  __name: "HoverFrame",
9
10
  props: {