@tmagic/form 1.0.0-beta.14 → 1.0.0-beta.15
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/coverage/clover.xml +40 -40
- package/coverage/coverage-final.json +37 -37
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/src/Form.vue.html +1 -1
- package/coverage/lcov-report/src/FormDialog.vue.html +1 -1
- package/coverage/lcov-report/src/containers/Col.vue.html +1 -1
- package/coverage/lcov-report/src/containers/Container.vue.html +4 -4
- package/coverage/lcov-report/src/containers/Fieldset.vue.html +1 -1
- package/coverage/lcov-report/src/containers/GroupList.vue.html +1 -1
- package/coverage/lcov-report/src/containers/GroupListItem.vue.html +5 -5
- package/coverage/lcov-report/src/containers/Panel.vue.html +1 -1
- package/coverage/lcov-report/src/containers/Row.vue.html +2 -2
- package/coverage/lcov-report/src/containers/Step.vue.html +1 -1
- package/coverage/lcov-report/src/containers/Table.vue.html +5 -5
- package/coverage/lcov-report/src/containers/Tabs.vue.html +1 -1
- package/coverage/lcov-report/src/containers/index.html +1 -1
- package/coverage/lcov-report/src/fields/Cascader.vue.html +1 -1
- package/coverage/lcov-report/src/fields/Checkbox.vue.html +1 -1
- package/coverage/lcov-report/src/fields/CheckboxGroup.vue.html +1 -1
- package/coverage/lcov-report/src/fields/ColorPicker.vue.html +1 -1
- package/coverage/lcov-report/src/fields/Date.vue.html +1 -1
- package/coverage/lcov-report/src/fields/DateTime.vue.html +1 -1
- package/coverage/lcov-report/src/fields/Daterange.vue.html +1 -1
- package/coverage/lcov-report/src/fields/Display.vue.html +1 -1
- package/coverage/lcov-report/src/fields/DynamicField.vue.html +1 -1
- package/coverage/lcov-report/src/fields/Hidden.vue.html +1 -1
- package/coverage/lcov-report/src/fields/Link.vue.html +2 -2
- package/coverage/lcov-report/src/fields/Number.vue.html +1 -1
- package/coverage/lcov-report/src/fields/RadioGroup.vue.html +1 -1
- package/coverage/lcov-report/src/fields/Select.vue.html +1 -1
- package/coverage/lcov-report/src/fields/Switch.vue.html +1 -1
- package/coverage/lcov-report/src/fields/Text.vue.html +1 -1
- package/coverage/lcov-report/src/fields/Textarea.vue.html +1 -1
- package/coverage/lcov-report/src/fields/Time.vue.html +1 -1
- package/coverage/lcov-report/src/fields/index.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/src/theme/index.html +1 -1
- package/coverage/lcov-report/src/theme/index.scss.html +1 -1
- package/coverage/lcov-report/src/utils/config.ts.html +1 -1
- package/coverage/lcov-report/src/utils/createForm.ts.html +1 -1
- package/coverage/lcov-report/src/utils/fieldProps.ts.html +1 -1
- package/coverage/lcov-report/src/utils/form.ts.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +1 -1
- package/coverage/lcov-report/src/utils/useAddField.ts.html +1 -1
- package/coverage/lcov.info +5 -5
- package/dist/tmagic-form.es.js +12 -12
- package/dist/tmagic-form.es.js.map +1 -1
- package/dist/tmagic-form.umd.js +12 -12
- package/dist/tmagic-form.umd.js.map +1 -1
- package/dist/types/src/Form.vue.d.ts +8 -0
- package/dist/types/src/FormDialog.vue.d.ts +16 -0
- package/dist/types/src/containers/Table.vue.d.ts +2601 -0
- package/dist/types/src/fields/Link.vue.d.ts +32 -0
- package/package.json +10 -6
- package/src/containers/Container.vue +2 -2
- package/src/containers/GroupListItem.vue +4 -4
- package/src/containers/Row.vue +1 -1
- package/src/containers/Table.vue +4 -4
- package/src/fields/Link.vue +1 -1
package/dist/tmagic-form.umd.js
CHANGED
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
}, 8, ["style", "prop", "label-width", "rules"]),
|
|
396
396
|
_ctx.config.tip ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
397
397
|
key: 0,
|
|
398
|
-
placement: "
|
|
398
|
+
placement: "left"
|
|
399
399
|
}, {
|
|
400
400
|
content: vue.withCtx(() => [
|
|
401
401
|
vue.createElementVNode("div", {
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
], 64)) : vue.createCommentVNode("", true),
|
|
430
430
|
_ctx.config.expand && _ctx.type !== "fieldset" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [
|
|
431
431
|
vue.createVNode(_component_el_button, {
|
|
432
|
-
|
|
432
|
+
text: "",
|
|
433
433
|
onClick: _ctx.expandHandler
|
|
434
434
|
}, {
|
|
435
435
|
default: vue.withCtx(() => [
|
|
@@ -710,7 +710,7 @@
|
|
|
710
710
|
_: 1
|
|
711
711
|
}, 8, ["onClick"]),
|
|
712
712
|
vue.createVNode(_component_el_button, {
|
|
713
|
-
|
|
713
|
+
text: "",
|
|
714
714
|
onClick: _ctx.expandHandler
|
|
715
715
|
}, {
|
|
716
716
|
default: vue.withCtx(() => [
|
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
_: 1
|
|
720
720
|
}, 8, ["onClick"]),
|
|
721
721
|
vue.withDirectives(vue.createVNode(_component_el_button, {
|
|
722
|
-
|
|
722
|
+
text: "",
|
|
723
723
|
icon: _ctx.Delete,
|
|
724
724
|
style: { "color": "#f56c6c" },
|
|
725
725
|
onClick: _ctx.removeHandler
|
|
@@ -728,7 +728,7 @@
|
|
|
728
728
|
]),
|
|
729
729
|
_ctx.movable() ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
730
730
|
vue.withDirectives(vue.createVNode(_component_el_button, {
|
|
731
|
-
|
|
731
|
+
text: "",
|
|
732
732
|
size: "small",
|
|
733
733
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.changeOrder(-1))
|
|
734
734
|
}, {
|
|
@@ -746,7 +746,7 @@
|
|
|
746
746
|
[vue.vShow, _ctx.index !== 0]
|
|
747
747
|
]),
|
|
748
748
|
vue.withDirectives(vue.createVNode(_component_el_button, {
|
|
749
|
-
|
|
749
|
+
text: "",
|
|
750
750
|
size: "small",
|
|
751
751
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.changeOrder(1))
|
|
752
752
|
}, {
|
|
@@ -1134,7 +1134,7 @@
|
|
|
1134
1134
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.items, (col, index) => {
|
|
1135
1135
|
return vue.openBlock(), vue.createBlock(_component_Col, {
|
|
1136
1136
|
key: col[_ctx.mForm?.keyProp || "__key"] ?? index,
|
|
1137
|
-
span:
|
|
1137
|
+
span: col.span || _ctx.config.span || 24 / _ctx.config.items.length,
|
|
1138
1138
|
config: col,
|
|
1139
1139
|
labelWidth: _ctx.config.labelWidth || _ctx.labelWidth,
|
|
1140
1140
|
expandMore: _ctx.expandMore,
|
|
@@ -1671,8 +1671,8 @@
|
|
|
1671
1671
|
}, {
|
|
1672
1672
|
default: vue.withCtx((scope) => [
|
|
1673
1673
|
vue.withDirectives(vue.createVNode(_component_el_button, {
|
|
1674
|
-
|
|
1675
|
-
|
|
1674
|
+
type: "danger",
|
|
1675
|
+
text: "",
|
|
1676
1676
|
icon: _ctx.Delete,
|
|
1677
1677
|
onClick: ($event) => _ctx.removeHandler(scope.$index + 1 + _ctx.pagecontext * _ctx.pagesize - 1)
|
|
1678
1678
|
}, null, 8, ["icon", "onClick"]), [
|
|
@@ -1697,7 +1697,7 @@
|
|
|
1697
1697
|
plain: "",
|
|
1698
1698
|
size: "small",
|
|
1699
1699
|
icon: _ctx.ArrowUp,
|
|
1700
|
-
|
|
1700
|
+
text: "",
|
|
1701
1701
|
onClick: ($event) => _ctx.upHandler(scope.$index + 1 + _ctx.pagecontext * _ctx.pagesize - 1),
|
|
1702
1702
|
onDblclick: ($event) => _ctx.topHandler(scope.$index + 1 + _ctx.pagecontext * _ctx.pagesize - 1)
|
|
1703
1703
|
}, null, 8, ["icon", "onClick", "onDblclick"])
|
|
@@ -1714,7 +1714,7 @@
|
|
|
1714
1714
|
plain: "",
|
|
1715
1715
|
size: "small",
|
|
1716
1716
|
icon: _ctx.ArrowDown,
|
|
1717
|
-
|
|
1717
|
+
text: "",
|
|
1718
1718
|
onClick: ($event) => _ctx.downHandler(scope.$index + 1 + _ctx.pagecontext * _ctx.pagesize - 1),
|
|
1719
1719
|
onDblclick: ($event) => _ctx.bottomHandler(scope.$index + 1 + _ctx.pagecontext * _ctx.pagesize - 1)
|
|
1720
1720
|
}, null, 8, ["icon", "onClick", "onDblclick"])
|
|
@@ -2701,7 +2701,7 @@
|
|
|
2701
2701
|
style: vue.normalizeStyle(_ctx.config.disabledCss || {})
|
|
2702
2702
|
}, vue.toDisplayString(_ctx.displayText), 5)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, [
|
|
2703
2703
|
vue.createVNode(_component_el_button, {
|
|
2704
|
-
|
|
2704
|
+
text: "",
|
|
2705
2705
|
onClick: _ctx.editHandler
|
|
2706
2706
|
}, {
|
|
2707
2707
|
default: vue.withCtx(() => [
|