mechanica 1.0.21 → 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 +1 -0
- package/dist/editor.js +4 -2
- package/dist/editor.js.map +1 -1
- package/dist/main.js +2 -1
- package/dist/main.js.map +1 -1
- package/dist/{schemaAliases-BChQHL5h.js → schemaAliases-t4X-kaIk.js} +3 -104
- package/dist/schemaAliases-t4X-kaIk.js.map +1 -0
- package/dist/style.css +6 -0
- package/package.json +2 -1
- package/dist/schemaAliases-BChQHL5h.js.map +0 -1
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
|
|
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: {
|
|
@@ -1761,7 +1762,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
1761
1762
|
default: withCtx(() => [
|
|
1762
1763
|
(openBlock(), createElementBlock("div", {
|
|
1763
1764
|
key: props.page,
|
|
1764
|
-
class: normalizeClass(["v-tabs-pages__page", props["page:class"]])
|
|
1765
|
+
class: normalizeClass(["v-tabs-pages__page scroll", props["page:class"]])
|
|
1765
1766
|
}, [
|
|
1766
1767
|
renderSlot(_ctx.$slots, props.page)
|
|
1767
1768
|
], 2))
|
|
@@ -5723,6 +5724,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
5723
5724
|
renderSlot(_ctx.$slots, "default"),
|
|
5724
5725
|
_cache[3] || (_cache[3] = createElementVNode("div", { class: "title" }, "Блоки", -1)),
|
|
5725
5726
|
createVNode(_sfc_main$9, {
|
|
5727
|
+
class: "scroll",
|
|
5726
5728
|
"hover-block-id": props.control.hoverBlockId.value,
|
|
5727
5729
|
"onUpdate:hoverBlockId": _cache[0] || (_cache[0] = ($event) => props.control.hoverBlockId.value = $event),
|
|
5728
5730
|
"active-block-id": props.control.activeBlockId.value,
|