@tmagic/form 1.0.0-beta.2 → 1.0.0-beta.5

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.
@@ -1362,6 +1362,8 @@
1362
1362
  ArrowDown: icons.ArrowDown,
1363
1363
  ArrowUp: icons.ArrowUp,
1364
1364
  Delete: icons.Delete,
1365
+ FullScreen: icons.FullScreen,
1366
+ Grid: icons.Grid,
1365
1367
  data: vue.computed(() => props.model[modelName.value].filter((item, index) => index >= pagecontext.value * pagesize.value && index + 1 <= (pagecontext.value + 1) * pagesize.value)),
1366
1368
  addable: vue.computed(() => {
1367
1369
  if (!props.model[modelName.value].length) {
@@ -1610,7 +1612,7 @@
1610
1612
  })) : vue.createCommentVNode("", true),
1611
1613
  vue.createVNode(_component_el_table_column, {
1612
1614
  label: "\u64CD\u4F5C",
1613
- width: "50",
1615
+ width: "60",
1614
1616
  fixed: _ctx.config.fixed === false ? void 0 : "left"
1615
1617
  }, {
1616
1618
  default: vue.withCtx((scope) => [
@@ -1628,7 +1630,7 @@
1628
1630
  _ctx.sort && _ctx.model[_ctx.modelName] && _ctx.model[_ctx.modelName].length > 1 ? (vue.openBlock(), vue.createBlock(_component_el_table_column, {
1629
1631
  key: 1,
1630
1632
  label: "\u6392\u5E8F",
1631
- width: "70"
1633
+ width: "60"
1632
1634
  }, {
1633
1635
  default: vue.withCtx((scope) => [
1634
1636
  scope.$index + 1 + _ctx.pagecontext * _ctx.pagesize - 1 !== 0 ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
@@ -1676,7 +1678,7 @@
1676
1678
  width: "45"
1677
1679
  })) : vue.createCommentVNode("", true),
1678
1680
  vue.createVNode(_component_el_table_column, {
1679
- width: "50",
1681
+ width: "60",
1680
1682
  label: "\u5E8F\u53F7"
1681
1683
  }, {
1682
1684
  default: vue.withCtx((scope) => [
@@ -1733,7 +1735,7 @@
1733
1735
  _hoisted_5,
1734
1736
  _ctx.enableToggleMode && !_ctx.isFullscreen ? (vue.openBlock(), vue.createBlock(_component_el_button, {
1735
1737
  key: 1,
1736
- icon: "el-icon-s-grid",
1738
+ icon: _ctx.Grid,
1737
1739
  size: "small",
1738
1740
  onClick: _ctx.toggleMode
1739
1741
  }, {
@@ -1741,10 +1743,10 @@
1741
1743
  _hoisted_6
1742
1744
  ]),
1743
1745
  _: 1
1744
- }, 8, ["onClick"])) : vue.createCommentVNode("", true),
1746
+ }, 8, ["icon", "onClick"])) : vue.createCommentVNode("", true),
1745
1747
  _ctx.config.enableFullscreen !== false ? (vue.openBlock(), vue.createBlock(_component_el_button, {
1746
1748
  key: 2,
1747
- icon: "el-icon-s-grid",
1749
+ icon: _ctx.FullScreen,
1748
1750
  size: "small",
1749
1751
  onClick: _ctx.toggleFullscreen
1750
1752
  }, {
@@ -1752,7 +1754,7 @@
1752
1754
  vue.createTextVNode(vue.toDisplayString(_ctx.isFullscreen ? "\u9000\u51FA\u5168\u5C4F" : "\u5168\u5C4F\u7F16\u8F91"), 1)
1753
1755
  ]),
1754
1756
  _: 1
1755
- }, 8, ["onClick"])) : vue.createCommentVNode("", true),
1757
+ }, 8, ["icon", "onClick"])) : vue.createCommentVNode("", true),
1756
1758
  _ctx.importable ? (vue.openBlock(), vue.createBlock(_component_el_upload, {
1757
1759
  key: 3,
1758
1760
  ref: "excelBtn",