ik-next-form 0.0.11 → 0.0.13
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/designer.es.js +63 -63
- package/dist/designer.style.css +2 -2
- package/dist/designer.umd.js +69 -69
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -29,10 +29,10 @@ import { IkSvgIcon, IkRadioGroup, IkIconPicker, IkPreviewFile, IkCurrencyInput,
|
|
|
29
29
|
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
|
|
30
30
|
import { CirclePlus, Remove, Platform, Search, Edit, Minus, Plus, InfoFilled, Delete, ArrowDown, ArrowUp, Bottom, Top, Back, Right, BottomLeft, TopRight, CaretLeft, CaretRight } from "@element-plus/icons-vue";
|
|
31
31
|
import { ElMessage, ElMessageBox, ElInput } from "element-plus";
|
|
32
|
+
import Draggable from "vuedraggable";
|
|
32
33
|
import dayjs$1 from "dayjs";
|
|
33
34
|
import duration from "dayjs/plugin/duration";
|
|
34
35
|
import Sortable$1 from "sortablejs";
|
|
35
|
-
import Draggable from "vuedraggable";
|
|
36
36
|
function bind(fn, thisArg) {
|
|
37
37
|
return function wrap() {
|
|
38
38
|
return fn.apply(thisArg, arguments);
|
|
@@ -33073,7 +33073,8 @@ const _sfc_main$5n = {
|
|
|
33073
33073
|
SvgIcon,
|
|
33074
33074
|
FormSetting,
|
|
33075
33075
|
DataSourceSetting,
|
|
33076
|
-
IkSvgIcon
|
|
33076
|
+
IkSvgIcon,
|
|
33077
|
+
Draggable
|
|
33077
33078
|
},
|
|
33078
33079
|
mixins: [i18n$1],
|
|
33079
33080
|
provide() {
|
|
@@ -33719,7 +33720,7 @@ function _sfc_render$5a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33719
33720
|
})
|
|
33720
33721
|
]);
|
|
33721
33722
|
}
|
|
33722
|
-
var WidgetPanel = /* @__PURE__ */ _export_sfc(_sfc_main$5n, [["render", _sfc_render$5a], ["__scopeId", "data-v-
|
|
33723
|
+
var WidgetPanel = /* @__PURE__ */ _export_sfc(_sfc_main$5n, [["render", _sfc_render$5a], ["__scopeId", "data-v-53c86596"]]);
|
|
33723
33724
|
var emitter = {
|
|
33724
33725
|
data() {
|
|
33725
33726
|
return {
|
|
@@ -64431,7 +64432,8 @@ var optionItemsSetting_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
64431
64432
|
const _sfc_main$3S = {
|
|
64432
64433
|
name: "OptionItemsSetting",
|
|
64433
64434
|
components: {
|
|
64434
|
-
CodeEditor
|
|
64435
|
+
CodeEditor,
|
|
64436
|
+
Draggable
|
|
64435
64437
|
},
|
|
64436
64438
|
mixins: [i18n$1],
|
|
64437
64439
|
props: {
|
|
@@ -64892,7 +64894,7 @@ function _sfc_render$3H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64892
64894
|
]) : createCommentVNode("", true)
|
|
64893
64895
|
]);
|
|
64894
64896
|
}
|
|
64895
|
-
var OptionItemsSetting = /* @__PURE__ */ _export_sfc(_sfc_main$3S, [["render", _sfc_render$3H], ["__scopeId", "data-v-
|
|
64897
|
+
var OptionItemsSetting = /* @__PURE__ */ _export_sfc(_sfc_main$3S, [["render", _sfc_render$3H], ["__scopeId", "data-v-c8bf57ae"]]);
|
|
64896
64898
|
const _sfc_main$3R = {
|
|
64897
64899
|
name: "OptionItemsEditor",
|
|
64898
64900
|
components: {
|
|
@@ -65991,7 +65993,8 @@ const _sfc_main$3t = {
|
|
|
65991
65993
|
name: "ButtonGroupCustomClassEditor",
|
|
65992
65994
|
componentName: "PropertyEditor",
|
|
65993
65995
|
components: {
|
|
65994
|
-
IconPicker
|
|
65996
|
+
IconPicker,
|
|
65997
|
+
Draggable
|
|
65995
65998
|
},
|
|
65996
65999
|
mixins: [i18n$1],
|
|
65997
66000
|
props: {
|
|
@@ -66476,7 +66479,8 @@ const _sfc_main$3r = {
|
|
|
66476
66479
|
name: "DataTableCustomClassEditor",
|
|
66477
66480
|
componentName: "PropertyEditor",
|
|
66478
66481
|
components: {
|
|
66479
|
-
CodeEditor
|
|
66482
|
+
CodeEditor,
|
|
66483
|
+
Draggable
|
|
66480
66484
|
},
|
|
66481
66485
|
mixins: [i18n$1],
|
|
66482
66486
|
props: {
|
|
@@ -68186,7 +68190,7 @@ function _sfc_render$3g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
68186
68190
|
]) : createCommentVNode("", true)
|
|
68187
68191
|
]);
|
|
68188
68192
|
}
|
|
68189
|
-
var dataTableCustomClassEditor = /* @__PURE__ */ _export_sfc(_sfc_main$3r, [["render", _sfc_render$3g], ["__scopeId", "data-v-
|
|
68193
|
+
var dataTableCustomClassEditor = /* @__PURE__ */ _export_sfc(_sfc_main$3r, [["render", _sfc_render$3g], ["__scopeId", "data-v-16cc4f7a"]]);
|
|
68190
68194
|
var __glob_0_72 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
68191
68195
|
__proto__: null,
|
|
68192
68196
|
"default": dataTableCustomClassEditor
|
|
@@ -68984,7 +68988,9 @@ var tabCustomClassEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
68984
68988
|
const _sfc_main$3c = {
|
|
68985
68989
|
name: "TabCustomClassEditor",
|
|
68986
68990
|
componentName: "PropertyEditor",
|
|
68987
|
-
components: {
|
|
68991
|
+
components: {
|
|
68992
|
+
Draggable
|
|
68993
|
+
},
|
|
68988
68994
|
mixins: [i18n$1],
|
|
68989
68995
|
props: {
|
|
68990
68996
|
designer: Object,
|
|
@@ -69137,7 +69143,7 @@ function _sfc_render$31(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
69137
69143
|
})
|
|
69138
69144
|
]);
|
|
69139
69145
|
}
|
|
69140
|
-
var tabCustomClassEditor = /* @__PURE__ */ _export_sfc(_sfc_main$3c, [["render", _sfc_render$31], ["__scopeId", "data-v-
|
|
69146
|
+
var tabCustomClassEditor = /* @__PURE__ */ _export_sfc(_sfc_main$3c, [["render", _sfc_render$31], ["__scopeId", "data-v-0ee812a4"]]);
|
|
69141
69147
|
var __glob_0_87 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
69142
69148
|
__proto__: null,
|
|
69143
69149
|
"default": tabCustomClassEditor
|
|
@@ -78718,7 +78724,8 @@ const _sfc_main$Y = {
|
|
|
78718
78724
|
name: "GridColWidget",
|
|
78719
78725
|
componentName: "GridColWidget",
|
|
78720
78726
|
components: __spreadProps(__spreadValues({}, comps$1), {
|
|
78721
|
-
SvgIcon
|
|
78727
|
+
SvgIcon,
|
|
78728
|
+
Draggable
|
|
78722
78729
|
}),
|
|
78723
78730
|
mixins: [i18n$1, refMixinDesign],
|
|
78724
78731
|
inject: ["refList"],
|
|
@@ -78985,8 +78992,6 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78985
78992
|
list: $props.widget.widgetList,
|
|
78986
78993
|
"item-key": "id"
|
|
78987
78994
|
}, { group: "dragGroup", ghostClass: "ghost", animation: 200 }, {
|
|
78988
|
-
tag: "transition-group",
|
|
78989
|
-
"component-data": { name: "fade" },
|
|
78990
78995
|
handle: ".drag-handler",
|
|
78991
78996
|
move: $options.checkContainerMove,
|
|
78992
78997
|
onEnd: _cache[0] || (_cache[0] = (evt) => $options.onGridDragEnd(evt, $props.widget.widgetList)),
|
|
@@ -79058,7 +79063,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79058
79063
|
_: 1
|
|
79059
79064
|
}, 16, ["class", "style"])) : createCommentVNode("", true);
|
|
79060
79065
|
}
|
|
79061
|
-
var GridColWidget = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$N], ["__scopeId", "data-v-
|
|
79066
|
+
var GridColWidget = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$N], ["__scopeId", "data-v-64ebd2ab"]]);
|
|
79062
79067
|
var __glob_0_3$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
79063
79068
|
__proto__: null,
|
|
79064
79069
|
"default": GridColWidget
|
|
@@ -79067,9 +79072,11 @@ var gridSubFormWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
79067
79072
|
const _sfc_main$X = {
|
|
79068
79073
|
name: "GridSubFormWidget",
|
|
79069
79074
|
componentName: "ContainerWidget",
|
|
79070
|
-
components: __spreadValues({
|
|
79075
|
+
components: __spreadProps(__spreadValues({
|
|
79071
79076
|
ContainerWrapper
|
|
79072
|
-
}, comps$1),
|
|
79077
|
+
}, comps$1), {
|
|
79078
|
+
Draggable
|
|
79079
|
+
}),
|
|
79073
79080
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
79074
79081
|
inject: ["refList"],
|
|
79075
79082
|
provide() {
|
|
@@ -79133,8 +79140,6 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79133
79140
|
list: $props.widget.widgetList,
|
|
79134
79141
|
"item-key": "id"
|
|
79135
79142
|
}, { group: "dragGroup", ghostClass: "ghost", animation: 200 }, {
|
|
79136
|
-
tag: "transition-group",
|
|
79137
|
-
"component-data": { name: "fade" },
|
|
79138
79143
|
handle: ".drag-handler",
|
|
79139
79144
|
move: _ctx.checkContainerMove,
|
|
79140
79145
|
onAdd: _cache[0] || (_cache[0] = (evt) => $options.onSubFormDragAdd(evt, $props.widget.widgetList)),
|
|
@@ -79159,7 +79164,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79159
79164
|
_: 1
|
|
79160
79165
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
79161
79166
|
}
|
|
79162
|
-
var gridSubFormWidget = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$M], ["__scopeId", "data-v-
|
|
79167
|
+
var gridSubFormWidget = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$M], ["__scopeId", "data-v-3865c71d"]]);
|
|
79163
79168
|
var __glob_0_4$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
79164
79169
|
__proto__: null,
|
|
79165
79170
|
"default": gridSubFormWidget
|
|
@@ -79243,9 +79248,11 @@ var objectGroupWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
79243
79248
|
const _sfc_main$V = {
|
|
79244
79249
|
name: "ObjectGroupWidget",
|
|
79245
79250
|
componentName: "ContainerWidget",
|
|
79246
|
-
components: __spreadValues({
|
|
79251
|
+
components: __spreadProps(__spreadValues({
|
|
79247
79252
|
ContainerWrapper
|
|
79248
|
-
}, comps$1),
|
|
79253
|
+
}, comps$1), {
|
|
79254
|
+
Draggable
|
|
79255
|
+
}),
|
|
79249
79256
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
79250
79257
|
inject: ["refList"],
|
|
79251
79258
|
provide() {
|
|
@@ -79305,8 +79312,6 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79305
79312
|
list: $props.widget.widgetList,
|
|
79306
79313
|
"item-key": "id"
|
|
79307
79314
|
}, { group: "dragGroup", ghostClass: "ghost", animation: 200 }, {
|
|
79308
|
-
tag: "transition-group",
|
|
79309
|
-
"component-data": { name: "fade" },
|
|
79310
79315
|
handle: ".drag-handler",
|
|
79311
79316
|
move: $options.checkContainerMove,
|
|
79312
79317
|
onAdd: _cache[0] || (_cache[0] = (evt) => _ctx.onContainerDragAdd(evt, $props.widget.widgetList)),
|
|
@@ -79338,7 +79343,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79338
79343
|
_: 1
|
|
79339
79344
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
79340
79345
|
}
|
|
79341
|
-
var objectGroupWidget = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$K], ["__scopeId", "data-v-
|
|
79346
|
+
var objectGroupWidget = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$K], ["__scopeId", "data-v-5743526d"]]);
|
|
79342
79347
|
var __glob_0_6$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
79343
79348
|
__proto__: null,
|
|
79344
79349
|
"default": objectGroupWidget
|
|
@@ -79347,9 +79352,11 @@ var subFormWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
79347
79352
|
const _sfc_main$U = {
|
|
79348
79353
|
name: "SubFormWidget",
|
|
79349
79354
|
componentName: "ContainerWidget",
|
|
79350
|
-
components: __spreadValues({
|
|
79355
|
+
components: __spreadProps(__spreadValues({
|
|
79351
79356
|
ContainerWrapper
|
|
79352
|
-
}, comps$1),
|
|
79357
|
+
}, comps$1), {
|
|
79358
|
+
Draggable
|
|
79359
|
+
}),
|
|
79353
79360
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
79354
79361
|
inject: ["refList"],
|
|
79355
79362
|
provide() {
|
|
@@ -79424,8 +79431,6 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79424
79431
|
list: $props.widget.widgetList,
|
|
79425
79432
|
"item-key": "id"
|
|
79426
79433
|
}, { group: "dragGroup", ghostClass: "ghost", animation: 200 }, {
|
|
79427
|
-
tag: "transition-group",
|
|
79428
|
-
"component-data": { name: "fade" },
|
|
79429
79434
|
handle: ".drag-handler",
|
|
79430
79435
|
move: _ctx.checkContainerMove,
|
|
79431
79436
|
onAdd: _cache[0] || (_cache[0] = (evt) => $options.onSubFormDragAdd(evt, $props.widget.widgetList)),
|
|
@@ -79460,7 +79465,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79460
79465
|
_: 1
|
|
79461
79466
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
79462
79467
|
}
|
|
79463
|
-
var subFormWidget = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$J], ["__scopeId", "data-v-
|
|
79468
|
+
var subFormWidget = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$J], ["__scopeId", "data-v-57db5b67"]]);
|
|
79464
79469
|
var __glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
79465
79470
|
__proto__: null,
|
|
79466
79471
|
"default": subFormWidget
|
|
@@ -79469,9 +79474,11 @@ var tabWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
79469
79474
|
const _sfc_main$T = {
|
|
79470
79475
|
name: "TabWidget",
|
|
79471
79476
|
componentName: "ContainerWidget",
|
|
79472
|
-
components: __spreadValues({
|
|
79477
|
+
components: __spreadProps(__spreadValues({
|
|
79473
79478
|
ContainerWrapper
|
|
79474
|
-
}, comps$1),
|
|
79479
|
+
}, comps$1), {
|
|
79480
|
+
Draggable
|
|
79481
|
+
}),
|
|
79475
79482
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
79476
79483
|
inject: ["refList"],
|
|
79477
79484
|
props: {
|
|
@@ -79546,8 +79553,6 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79546
79553
|
"item-key": "id"
|
|
79547
79554
|
}, { ref_for: true }, { group: "dragGroup", ghostClass: "ghost", animation: 200 }, {
|
|
79548
79555
|
handle: ".drag-handler",
|
|
79549
|
-
tag: "transition-group",
|
|
79550
|
-
"component-data": { name: "fade" },
|
|
79551
79556
|
move: _ctx.checkContainerMove,
|
|
79552
79557
|
onAdd: (evt) => _ctx.onContainerDragAdd(evt, tab.widgetList),
|
|
79553
79558
|
onUpdate: _ctx.onContainerDragUpdate
|
|
@@ -79586,7 +79591,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79586
79591
|
_: 1
|
|
79587
79592
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
79588
79593
|
}
|
|
79589
|
-
var tabWidget = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$I], ["__scopeId", "data-v-
|
|
79594
|
+
var tabWidget = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$I], ["__scopeId", "data-v-cfb47ef0"]]);
|
|
79590
79595
|
var __glob_0_8$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
79591
79596
|
__proto__: null,
|
|
79592
79597
|
"default": tabWidget
|
|
@@ -79596,7 +79601,8 @@ const _sfc_main$S = {
|
|
|
79596
79601
|
name: "TableCellWidget",
|
|
79597
79602
|
componentName: "TableCellWidget",
|
|
79598
79603
|
components: __spreadProps(__spreadValues({}, comps$1), {
|
|
79599
|
-
SvgIcon
|
|
79604
|
+
SvgIcon,
|
|
79605
|
+
Draggable
|
|
79600
79606
|
}),
|
|
79601
79607
|
mixins: [i18n$1, refMixinDesign],
|
|
79602
79608
|
inject: ["refList"],
|
|
@@ -79791,8 +79797,6 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79791
79797
|
list: $props.widget.widgetList,
|
|
79792
79798
|
"item-key": "id"
|
|
79793
79799
|
}, { group: "dragGroup", ghostClass: "ghost", animation: 200 }, {
|
|
79794
|
-
tag: "transition-group",
|
|
79795
|
-
"component-data": { name: "fade" },
|
|
79796
79800
|
handle: ".drag-handler",
|
|
79797
79801
|
move: $options.checkContainerMove,
|
|
79798
79802
|
onEnd: _cache[0] || (_cache[0] = (evt) => $options.onTableDragEnd(evt, $props.widget.widgetList)),
|
|
@@ -79973,7 +79977,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79973
79977
|
])) : createCommentVNode("", true)
|
|
79974
79978
|
], 14, _hoisted_1$z);
|
|
79975
79979
|
}
|
|
79976
|
-
var TableCellWidget = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$H], ["__scopeId", "data-v-
|
|
79980
|
+
var TableCellWidget = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$H], ["__scopeId", "data-v-25637d14"]]);
|
|
79977
79981
|
var __glob_0_9$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
79978
79982
|
__proto__: null,
|
|
79979
79983
|
"default": TableCellWidget
|
|
@@ -80317,7 +80321,8 @@ const _sfc_main$P = {
|
|
|
80317
80321
|
components: __spreadProps(__spreadValues({
|
|
80318
80322
|
ContainerWrapper
|
|
80319
80323
|
}, comps$1), {
|
|
80320
|
-
SvgIcon
|
|
80324
|
+
SvgIcon,
|
|
80325
|
+
Draggable
|
|
80321
80326
|
}),
|
|
80322
80327
|
mixins: [i18n$1, refMixinDesign],
|
|
80323
80328
|
inject: ["refList"],
|
|
@@ -80607,7 +80612,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80607
80612
|
_: 1
|
|
80608
80613
|
}, 8, ["id", "designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"])) : createCommentVNode("", true);
|
|
80609
80614
|
}
|
|
80610
|
-
var vfDialogWidget = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$E], ["__scopeId", "data-v-
|
|
80615
|
+
var vfDialogWidget = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$E], ["__scopeId", "data-v-2990c580"]]);
|
|
80611
80616
|
var __glob_0_12$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
80612
80617
|
__proto__: null,
|
|
80613
80618
|
"default": vfDialogWidget
|
|
@@ -80619,7 +80624,8 @@ const _sfc_main$O = {
|
|
|
80619
80624
|
components: __spreadProps(__spreadValues({
|
|
80620
80625
|
ContainerWrapper
|
|
80621
80626
|
}, comps$1), {
|
|
80622
|
-
IkSvgIcon
|
|
80627
|
+
IkSvgIcon,
|
|
80628
|
+
Draggable
|
|
80623
80629
|
}),
|
|
80624
80630
|
mixins: [i18n$1, refMixinDesign],
|
|
80625
80631
|
inject: ["refList"],
|
|
@@ -80872,7 +80878,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80872
80878
|
_: 1
|
|
80873
80879
|
}, 8, ["id", "designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"])) : createCommentVNode("", true);
|
|
80874
80880
|
}
|
|
80875
|
-
var vfDrawerWidget = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$D], ["__scopeId", "data-v-
|
|
80881
|
+
var vfDrawerWidget = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$D], ["__scopeId", "data-v-efca8ba4"]]);
|
|
80876
80882
|
var __glob_0_13$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
80877
80883
|
__proto__: null,
|
|
80878
80884
|
"default": vfDrawerWidget
|
|
@@ -80892,7 +80898,9 @@ var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
|
80892
80898
|
const _sfc_main$N = {
|
|
80893
80899
|
name: "VFormWidget",
|
|
80894
80900
|
componentName: "VFormWidget",
|
|
80895
|
-
components: __spreadValues({}, comps$1),
|
|
80901
|
+
components: __spreadProps(__spreadValues({}, comps$1), {
|
|
80902
|
+
Draggable
|
|
80903
|
+
}),
|
|
80896
80904
|
mixins: [i18n$1],
|
|
80897
80905
|
provide() {
|
|
80898
80906
|
return {
|
|
@@ -81112,8 +81120,6 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81112
81120
|
list: $props.designer.widgetList,
|
|
81113
81121
|
"item-key": "id"
|
|
81114
81122
|
}, { group: "dragGroup", ghostClass: "ghost", animation: 300 }, {
|
|
81115
|
-
tag: "transition-group",
|
|
81116
|
-
"component-data": { name: "fade" },
|
|
81117
81123
|
handle: ".drag-handler",
|
|
81118
81124
|
move: $options.checkMove,
|
|
81119
81125
|
onEnd: $options.onDragEnd,
|
|
@@ -81151,7 +81157,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81151
81157
|
})
|
|
81152
81158
|
]);
|
|
81153
81159
|
}
|
|
81154
|
-
var VFormWidget = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$C], ["__scopeId", "data-v-
|
|
81160
|
+
var VFormWidget = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$C], ["__scopeId", "data-v-4d5ff6b8"]]);
|
|
81155
81161
|
function createDesigner(vueInstance) {
|
|
81156
81162
|
const designer2 = createDesigner$1(vueInstance);
|
|
81157
81163
|
designer2.currentOver = null;
|
|
@@ -81805,13 +81811,13 @@ var IkFormDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_r
|
|
|
81805
81811
|
if (typeof window !== "undefined") {
|
|
81806
81812
|
let loadSvg = function() {
|
|
81807
81813
|
var body = document.body;
|
|
81808
|
-
var svgDom = document.getElementById("
|
|
81814
|
+
var svgDom = document.getElementById("__svg__icons__dom__1774603068212__");
|
|
81809
81815
|
if (!svgDom) {
|
|
81810
81816
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
81811
81817
|
svgDom.style.position = "absolute";
|
|
81812
81818
|
svgDom.style.width = "0";
|
|
81813
81819
|
svgDom.style.height = "0";
|
|
81814
|
-
svgDom.id = "
|
|
81820
|
+
svgDom.id = "__svg__icons__dom__1774603068212__";
|
|
81815
81821
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
81816
81822
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
81817
81823
|
}
|
|
@@ -89352,7 +89358,8 @@ const _sfc_main$d = {
|
|
|
89352
89358
|
}, comps$1), {
|
|
89353
89359
|
ArrowDown,
|
|
89354
89360
|
ArrowUp,
|
|
89355
|
-
CustomRender
|
|
89361
|
+
CustomRender,
|
|
89362
|
+
Draggable
|
|
89356
89363
|
}),
|
|
89357
89364
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
89358
89365
|
inject: ["refList"],
|
|
@@ -89418,8 +89425,6 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
89418
89425
|
"item-key": "id"
|
|
89419
89426
|
}, { group: "dragGroup", ghostClass: "ghost", animation: 200 }, {
|
|
89420
89427
|
handle: ".drag-handler",
|
|
89421
|
-
tag: "transition-group",
|
|
89422
|
-
"component-data": { name: "fade" },
|
|
89423
89428
|
move: $options.checkContainerMove,
|
|
89424
89429
|
onAdd: _cache[0] || (_cache[0] = (evt) => _ctx.onContainerDragAdd(evt, $props.widget.widgetList)),
|
|
89425
89430
|
onUpdate: _ctx.onContainerDragUpdate
|
|
@@ -89493,7 +89498,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
89493
89498
|
_: 1
|
|
89494
89499
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
89495
89500
|
}
|
|
89496
|
-
var CardWidget = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
89501
|
+
var CardWidget = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$9], ["__scopeId", "data-v-cf2c8268"]]);
|
|
89497
89502
|
var cardItem_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89498
89503
|
const _sfc_main$c = {
|
|
89499
89504
|
name: "CardItem",
|
|
@@ -91779,7 +91784,8 @@ const _sfc_main$5 = {
|
|
|
91779
91784
|
ContainerWrapper
|
|
91780
91785
|
}, comps$1), {
|
|
91781
91786
|
ArrowDown,
|
|
91782
|
-
ArrowUp
|
|
91787
|
+
ArrowUp,
|
|
91788
|
+
Draggable
|
|
91783
91789
|
}),
|
|
91784
91790
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
91785
91791
|
inject: ["page"],
|
|
@@ -91853,8 +91859,6 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
91853
91859
|
"item-key": "id"
|
|
91854
91860
|
}, { group: "dragGroup", ghostClass: "ghost", animation: 200 }, {
|
|
91855
91861
|
handle: ".drag-handler",
|
|
91856
|
-
tag: "transition-group",
|
|
91857
|
-
"component-data": { name: "fade" },
|
|
91858
91862
|
move: $options.checkContainerMove,
|
|
91859
91863
|
onAdd: _cache[0] || (_cache[0] = (evt) => _ctx.onContainerDragAdd(evt, $props.widget.widgetList)),
|
|
91860
91864
|
onUpdate: _ctx.onContainerDragUpdate
|
|
@@ -91896,7 +91900,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
91896
91900
|
_: 1
|
|
91897
91901
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
91898
91902
|
}
|
|
91899
|
-
var widget = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
91903
|
+
var widget = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$4], ["__scopeId", "data-v-ca7c88de"]]);
|
|
91900
91904
|
var mobileFormWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
91901
91905
|
const _sfc_main$4 = {
|
|
91902
91906
|
name: "MobileFormWidget",
|
|
@@ -91905,7 +91909,8 @@ const _sfc_main$4 = {
|
|
|
91905
91909
|
ContainerWrapper
|
|
91906
91910
|
}, comps$1), {
|
|
91907
91911
|
ArrowDown,
|
|
91908
|
-
ArrowUp
|
|
91912
|
+
ArrowUp,
|
|
91913
|
+
Draggable
|
|
91909
91914
|
}),
|
|
91910
91915
|
mixins: [i18n$1, containerMixin, refMixinDesign],
|
|
91911
91916
|
inject: ["page"],
|
|
@@ -91962,8 +91967,6 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
91962
91967
|
"item-key": "id"
|
|
91963
91968
|
}, { group: "dragGroup", ghostClass: "ghost", animation: 200 }, {
|
|
91964
91969
|
handle: ".drag-handler",
|
|
91965
|
-
tag: "transition-group",
|
|
91966
|
-
"component-data": { name: "fade" },
|
|
91967
91970
|
move: $options.checkContainerMove,
|
|
91968
91971
|
onAdd: _cache[0] || (_cache[0] = (evt) => _ctx.onContainerDragAdd(evt, $props.widget.widgetList)),
|
|
91969
91972
|
onUpdate: _ctx.onContainerDragUpdate
|
|
@@ -92010,7 +92013,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
92010
92013
|
_: 1
|
|
92011
92014
|
}, 8, ["designer", "widget", "parent-widget", "parent-list", "index-of-parent-list"]);
|
|
92012
92015
|
}
|
|
92013
|
-
var mobileWidget = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
92016
|
+
var mobileWidget = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$3], ["__scopeId", "data-v-409ec98b"]]);
|
|
92014
92017
|
const _sfc_main$3 = {
|
|
92015
92018
|
name: "MobileFormItem",
|
|
92016
92019
|
componentName: "ContainerItem",
|
|
@@ -93709,7 +93712,6 @@ IkFormDesigner.install = function(app2) {
|
|
|
93709
93712
|
app2.use(ContainerItems);
|
|
93710
93713
|
app2.use(Extensions);
|
|
93711
93714
|
registerIcon(app2);
|
|
93712
|
-
app2.component("Draggable", Draggable);
|
|
93713
93715
|
app2.component(IkFormDesigner.name, IkFormDesigner);
|
|
93714
93716
|
app2.component(TableMultiLevelColumn.name, TableMultiLevelColumn);
|
|
93715
93717
|
app2.component(TableHighLevelColumn.name, TableHighLevelColumn);
|
|
@@ -93728,7 +93730,6 @@ const install = (app2) => {
|
|
|
93728
93730
|
app2.use(ContainerItems);
|
|
93729
93731
|
app2.use(Extensions);
|
|
93730
93732
|
registerIcon(app2);
|
|
93731
|
-
app2.component("Draggable", Draggable);
|
|
93732
93733
|
components.forEach((component) => {
|
|
93733
93734
|
app2.component(component.name, component);
|
|
93734
93735
|
});
|
|
@@ -93755,7 +93756,6 @@ const IkFormSDK = {
|
|
|
93755
93756
|
addENExtensionLang,
|
|
93756
93757
|
i18n: i18n$1,
|
|
93757
93758
|
containerMixin,
|
|
93758
|
-
Draggable,
|
|
93759
93759
|
ContainerWrapper,
|
|
93760
93760
|
FieldComponents: comps$1,
|
|
93761
93761
|
refMixinDesign,
|