starfish-form-custom 1.0.43 → 1.0.45
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/.pnpm-debug.log +828 -828
- package/components.d.ts +0 -2
- package/dist/{formAction-5fa977d1.mjs → formAction-47da9ade.mjs} +44 -52
- package/dist/{index-9d339476.mjs → index-2d78c11c.mjs} +55 -81
- package/dist/index-b3b75fee.mjs +133 -0
- package/dist/{index-133a88e8.mjs → index-d029d3de.mjs} +17 -22
- package/dist/{main-08a90f8a.mjs → main-c9f94a75.mjs} +255 -504
- package/dist/{starfish-form-8c225a3b.mjs → starfish-form-ff99f526.mjs} +3 -5
- package/dist/starfish-form.mjs +1 -1
- package/dist/style.css +24 -133
- package/dist/types/form/src/common/Loading.vue.d.ts +2 -2
- package/dist/types/form/src/main.d.ts +8 -10
- package/dist/types/form/src/starfish-form.vue.d.ts +8 -10
- package/package.json +43 -52
- package/src/components/RichText/index.vue +62 -209
- package/src/components/Rule/index.vue +2 -2
- package/src/components/Rule/rules.js +3 -3
- package/src/starfish-form.vue +0 -1
- package/src/styles/formedit.scss +115 -115
- package/src/styles/keyvalueConfig.scss +56 -56
- package/src/utils/customHooks.ts +0 -1
- package/stats.html +2230 -2123
- package/dist/index-54d339ab.mjs +0 -214
- package/dist/types/form/src/common/formAction.vue.d.ts +0 -85
- package/dist/types/form/src/components/RichText/MenuBar.vue.d.ts +0 -34
- package/dist/types/form/src/components/RichText/MenuItem.vue.d.ts +0 -42
- package/src/components/RichText/MenuBar.vue +0 -144
- package/src/components/RichText/MenuItem.vue +0 -98
|
@@ -6,7 +6,7 @@ import 'element-plus/es/components/button/style/css';
|
|
|
6
6
|
import 'element-plus/es/components/main/style/css';
|
|
7
7
|
import 'element-plus/es/components/tooltip/style/css';
|
|
8
8
|
import { defineComponent, ref, onMounted, watch, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode, createBlock, withCtx, createVNode, createTextVNode } from 'vue';
|
|
9
|
-
import { _ as _export_sfc,
|
|
9
|
+
import { _ as _export_sfc, a as _, g as getFormConfig, f as fieldProps, u as useWatch } from './main-c9f94a75.mjs';
|
|
10
10
|
import JSONEditor from 'jsoneditor';
|
|
11
11
|
import 'element-plus/es/components/icon/style/css';
|
|
12
12
|
import 'element-plus/es/components/input/style/css';
|
|
@@ -130,21 +130,14 @@ const _hoisted_1 = {
|
|
|
130
130
|
key: 0,
|
|
131
131
|
class: "item_require"
|
|
132
132
|
};
|
|
133
|
-
const _hoisted_2 =
|
|
134
|
-
const _hoisted_3 = {
|
|
133
|
+
const _hoisted_2 = {
|
|
135
134
|
id: "jsoneditor",
|
|
136
135
|
ref: "jsoneditor"
|
|
137
136
|
};
|
|
138
|
-
const
|
|
139
|
-
const _hoisted_5 = [
|
|
140
|
-
_hoisted_4
|
|
141
|
-
];
|
|
142
|
-
const _hoisted_6 = {
|
|
137
|
+
const _hoisted_3 = {
|
|
143
138
|
ref: "JsonViewerDialogDom",
|
|
144
139
|
style: { "height": "calc(100% - 24px)" }
|
|
145
140
|
};
|
|
146
|
-
const _hoisted_7 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
|
|
147
|
-
const _hoisted_8 = /* @__PURE__ */ createTextVNode("\u5173\u95ED");
|
|
148
141
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
149
142
|
const _component_el_tooltip = ElTooltip;
|
|
150
143
|
const _component_el_main = ElMain;
|
|
@@ -172,9 +165,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
172
165
|
content: _ctx.item.data.tip,
|
|
173
166
|
placement: "top"
|
|
174
167
|
}, {
|
|
175
|
-
default: withCtx(() => [
|
|
176
|
-
|
|
177
|
-
]),
|
|
168
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
169
|
+
createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
|
|
170
|
+
])]),
|
|
178
171
|
_: 1
|
|
179
172
|
}, 8, ["content"])) : createCommentVNode("", true)
|
|
180
173
|
], 6),
|
|
@@ -182,11 +175,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
182
175
|
class: "control",
|
|
183
176
|
style: normalizeStyle({ marginLeft: _ctx.labelalign != "top" ? _ctx.labelWidth + "px" : "" })
|
|
184
177
|
}, [
|
|
185
|
-
createElementVNode("div",
|
|
178
|
+
createElementVNode("div", _hoisted_2, [
|
|
186
179
|
createElementVNode("div", {
|
|
187
180
|
class: "fullScreen",
|
|
188
181
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.showCustomDialog && _ctx.showCustomDialog(...args))
|
|
189
|
-
},
|
|
182
|
+
}, [..._cache[2] || (_cache[2] = [
|
|
183
|
+
createElementVNode("i", { class: "iconfontui icon-quanping" }, null, -1)
|
|
184
|
+
])])
|
|
190
185
|
], 512)
|
|
191
186
|
], 4),
|
|
192
187
|
createVNode(_component_CustomDialog, {
|
|
@@ -200,7 +195,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
200
195
|
default: withCtx(() => [
|
|
201
196
|
createVNode(_component_el_main, { class: "my-pageMain" }, {
|
|
202
197
|
default: withCtx(() => [
|
|
203
|
-
createElementVNode("div",
|
|
198
|
+
createElementVNode("div", _hoisted_3, null, 512)
|
|
204
199
|
]),
|
|
205
200
|
_: 1
|
|
206
201
|
}),
|
|
@@ -213,15 +208,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
213
208
|
type: "primary",
|
|
214
209
|
onClick: _ctx.saveJson
|
|
215
210
|
}, {
|
|
216
|
-
default: withCtx(() => [
|
|
217
|
-
|
|
218
|
-
]),
|
|
211
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
212
|
+
createTextVNode("\u4FDD\u5B58", -1)
|
|
213
|
+
])]),
|
|
219
214
|
_: 1
|
|
220
215
|
}, 8, ["onClick"]),
|
|
221
216
|
createVNode(_component_el_button, { onClick: _ctx.closeDialog }, {
|
|
222
|
-
default: withCtx(() => [
|
|
223
|
-
|
|
224
|
-
]),
|
|
217
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
218
|
+
createTextVNode("\u5173\u95ED", -1)
|
|
219
|
+
])]),
|
|
225
220
|
_: 1
|
|
226
221
|
}, 8, ["onClick"])
|
|
227
222
|
]),
|