@tmagic/form 1.0.4 → 1.1.0-beta.1
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/tmagic-form.es.js +7 -8
- package/dist/tmagic-form.es.js.map +1 -1
- package/dist/tmagic-form.umd.js +18 -19
- package/dist/tmagic-form.umd.js.map +1 -1
- package/dist/types/src/containers/GroupListItem.vue.d.ts +2 -2
- package/dist/types/src/containers/Table.vue.d.ts +6 -6
- package/package.json +3 -3
- package/src/containers/Container.vue +1 -1
- package/src/containers/GroupListItem.vue +4 -4
- package/src/containers/Panel.vue +1 -1
- package/src/containers/Table.vue +1 -1
package/dist/tmagic-form.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRaw, defineComponent, inject, ref, computed, resolveComponent, watchEffect, openBlock, createElementBlock, normalizeStyle, normalizeClass, createBlock, resolveDynamicComponent, Fragment, createVNode, withCtx, createElementVNode, createCommentVNode, renderList, createTextVNode, toDisplayString, watch, unref, withDirectives, vShow, renderSlot, onMounted, toRefs, getCurrentInstance, reactive, onBeforeUnmount, vModelText, onBeforeMount, resolveDirective, createSlots, withModifiers, provide } from 'vue';
|
|
2
|
-
import { WarningFilled, CaretRight,
|
|
2
|
+
import { WarningFilled, CaretBottom, CaretRight, CaretTop, Delete, ArrowDown, ArrowUp, FullScreen, Grid } from '@element-plus/icons-vue';
|
|
3
3
|
import { cloneDeep, isEqual } from 'lodash-es';
|
|
4
4
|
import { ElMessage } from 'element-plus';
|
|
5
5
|
import Sortable from 'sortablejs';
|
|
@@ -574,7 +574,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
574
574
|
|
|
575
575
|
const _sfc_main$t = defineComponent({
|
|
576
576
|
name: "m-form-group-list-item",
|
|
577
|
-
components: { CaretRight,
|
|
577
|
+
components: { CaretBottom, CaretRight, CaretTop },
|
|
578
578
|
props: {
|
|
579
579
|
labelWidth: String,
|
|
580
580
|
model: {
|
|
@@ -661,12 +661,11 @@ const _hoisted_2$5 = /* @__PURE__ */ createTextVNode("\u4E0A\u79FB");
|
|
|
661
661
|
const _hoisted_3$5 = /* @__PURE__ */ createTextVNode("\u4E0B\u79FB");
|
|
662
662
|
const _hoisted_4$4 = ["innerHTML"];
|
|
663
663
|
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
664
|
-
const
|
|
665
|
-
const
|
|
664
|
+
const _component_CaretBottom = resolveComponent("CaretBottom");
|
|
665
|
+
const _component_CaretRight = resolveComponent("CaretRight");
|
|
666
666
|
const _component_el_icon = resolveComponent("el-icon");
|
|
667
667
|
const _component_el_button = resolveComponent("el-button");
|
|
668
|
-
const
|
|
669
|
-
const _component_CaretBottom = resolveComponent("CaretBottom");
|
|
668
|
+
const _component_CaretTop = resolveComponent("CaretTop");
|
|
670
669
|
const _component_m_form_container = resolveComponent("m-form-container");
|
|
671
670
|
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
672
671
|
createElementVNode("div", null, [
|
|
@@ -675,7 +674,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
675
674
|
onClick: _ctx.expandHandler
|
|
676
675
|
}, {
|
|
677
676
|
default: withCtx(() => [
|
|
678
|
-
_ctx.expand ? (openBlock(), createBlock(
|
|
677
|
+
_ctx.expand ? (openBlock(), createBlock(_component_CaretBottom, { key: 0 })) : (openBlock(), createBlock(_component_CaretRight, { key: 1 }))
|
|
679
678
|
]),
|
|
680
679
|
_: 1
|
|
681
680
|
}, 8, ["onClick"]),
|
|
@@ -706,7 +705,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
706
705
|
_hoisted_2$5,
|
|
707
706
|
createVNode(_component_el_icon, null, {
|
|
708
707
|
default: withCtx(() => [
|
|
709
|
-
createVNode(
|
|
708
|
+
createVNode(_component_CaretTop)
|
|
710
709
|
]),
|
|
711
710
|
_: 1
|
|
712
711
|
})
|