@tmagic/table 1.8.0-beta.2 → 1.8.0-beta.20

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.
@@ -0,0 +1,5 @@
1
+ import ActionButton_vue_vue_type_script_lang_default from "./ActionButton.vue_vue_type_script_lang.js";
2
+ //#region packages/table/src/ActionButton.vue
3
+ var ActionButton_default = ActionButton_vue_vue_type_script_lang_default;
4
+ //#endregion
5
+ export { ActionButton_default as default };
@@ -0,0 +1,51 @@
1
+ import { disabled, formatActionText } from "./actionHelpers.js";
2
+ import { defineComponent, h, vShow, withDirectives } from "vue";
3
+ import { TMagicButton, TMagicTooltip } from "@tmagic/design";
4
+ //#region packages/table/src/ActionButton.vue?vue&type=script&lang.ts
5
+ var ActionButton_vue_vue_type_script_lang_default = defineComponent({
6
+ name: "MTableActionButton",
7
+ props: {
8
+ action: {
9
+ type: Object,
10
+ required: true
11
+ },
12
+ row: {
13
+ type: null,
14
+ required: true
15
+ },
16
+ index: {
17
+ type: Number,
18
+ required: true
19
+ },
20
+ btnClass: {
21
+ type: String,
22
+ default: "action-btn"
23
+ },
24
+ visible: {
25
+ type: Boolean,
26
+ default: true
27
+ }
28
+ },
29
+ emits: ["click"],
30
+ setup(props, { emit }) {
31
+ const onClick = () => emit("click", props.action, props.row, props.index);
32
+ return () => {
33
+ const button = withDirectives(h(TMagicButton, {
34
+ class: props.btnClass,
35
+ link: true,
36
+ size: "small",
37
+ type: props.action.buttonType || "primary",
38
+ icon: props.action.icon,
39
+ disabled: disabled(props.action.disabled, props.row),
40
+ onClick
41
+ }, () => h("span", { innerHTML: formatActionText(props.action.text, props.row) })), [[vShow, props.visible]]);
42
+ if (!props.action.tooltip) return button;
43
+ return h(TMagicTooltip, {
44
+ placement: props.action.tooltipPlacement || "top",
45
+ content: props.action.tooltip
46
+ }, () => button);
47
+ };
48
+ }
49
+ });
50
+ //#endregion
51
+ export { ActionButton_vue_vue_type_script_lang_default as default };
@@ -0,0 +1,5 @@
1
+ import ActionPopconfirm_vue_vue_type_script_setup_true_lang_default from "./ActionPopconfirm.vue_vue_type_script_setup_true_lang.js";
2
+ //#region packages/table/src/ActionPopconfirm.vue
3
+ var ActionPopconfirm_default = ActionPopconfirm_vue_vue_type_script_setup_true_lang_default;
4
+ //#endregion
5
+ export { ActionPopconfirm_default as default };
@@ -0,0 +1,50 @@
1
+ import { formatActionText } from "./actionHelpers.js";
2
+ import ActionButton_default from "./ActionButton.js";
3
+ import { createBlock, createVNode, defineComponent, openBlock, unref, withCtx } from "vue";
4
+ import { TMagicPopconfirm } from "@tmagic/design";
5
+ //#region packages/table/src/ActionPopconfirm.vue?vue&type=script&setup=true&lang.ts
6
+ var ActionPopconfirm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
7
+ name: "MTableActionPopconfirm",
8
+ __name: "ActionPopconfirm",
9
+ props: {
10
+ action: {},
11
+ row: {},
12
+ index: {},
13
+ btnClass: { default: "action-btn" },
14
+ visible: {
15
+ type: Boolean,
16
+ default: true
17
+ }
18
+ },
19
+ emits: ["confirm"],
20
+ setup(__props, { emit: __emit }) {
21
+ const props = __props;
22
+ const emit = __emit;
23
+ const onConfirm = () => emit("confirm", props.action, props.row, props.index);
24
+ return (_ctx, _cache) => {
25
+ return openBlock(), createBlock(unref(TMagicPopconfirm), {
26
+ placement: "top",
27
+ width: __props.action.popconfirmWidth,
28
+ title: unref(formatActionText)(__props.action.confirmText, __props.row) || "确定执行此操作?",
29
+ onConfirm
30
+ }, {
31
+ reference: withCtx(() => [createVNode(ActionButton_default, {
32
+ action: __props.action,
33
+ row: __props.row,
34
+ index: __props.index,
35
+ "btn-class": __props.btnClass,
36
+ visible: __props.visible
37
+ }, null, 8, [
38
+ "action",
39
+ "row",
40
+ "index",
41
+ "btn-class",
42
+ "visible"
43
+ ])]),
44
+ _: 1
45
+ }, 8, ["width", "title"]);
46
+ };
47
+ }
48
+ });
49
+ //#endregion
50
+ export { ActionPopconfirm_vue_vue_type_script_setup_true_lang_default as default };
@@ -1,9 +1,14 @@
1
- import { Fragment, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, renderList, unref, vShow, withCtx, withDirectives } from "vue";
1
+ import { display } from "./actionHelpers.js";
2
+ import ActionButton_default from "./ActionButton.js";
3
+ import ActionPopconfirm_default from "./ActionPopconfirm.js";
4
+ import { Fragment, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, renderList, unref, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
2
5
  import { cloneDeep } from "lodash-es";
3
- import { TMagicButton, TMagicTooltip, tMagicMessage } from "@tmagic/design";
6
+ import { TMagicButton, TMagicPopover, tMagicMessage } from "@tmagic/design";
7
+ import { ArrowDown, ArrowRight } from "@element-plus/icons-vue";
4
8
  //#region packages/table/src/ActionsColumn.vue?vue&type=script&setup=true&lang.ts
5
- var _hoisted_1 = ["innerHTML"];
6
- var ActionsColumn_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
9
+ var _hoisted_1 = { class: "tmagic-table-sub-actions" };
10
+ var activePopoverId = ref(null);
11
+ var ActionsColumn_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
7
12
  name: "MTableActionsColumn",
8
13
  __name: "ActionsColumn",
9
14
  props: {
@@ -15,28 +20,27 @@ var ActionsColumn_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
15
20
  index: {}
16
21
  },
17
22
  emits: ["after-action", "after-action-cancel"],
18
- setup(__props, { emit: __emit }) {
23
+ setup(__props, { expose: __expose, emit: __emit }) {
19
24
  const props = __props;
20
- const emit = __emit;
21
- const display = (fuc, row) => {
22
- if (typeof fuc === "function") return fuc(row);
23
- if (typeof fuc === "boolean") return fuc;
24
- return true;
25
- };
26
- const disabled = (fuc, row) => {
27
- if (typeof fuc === "function") return fuc(row);
28
- if (typeof fuc === "boolean") return fuc;
29
- return false;
30
- };
31
- const formatter = (fuc, row) => {
32
- if (typeof fuc === "function") return fuc(row);
33
- return fuc;
25
+ const popoverId = Symbol("sub-actions-popover");
26
+ const popoverVisible = ref(false);
27
+ watch(popoverVisible, (visible) => {
28
+ if (visible) activePopoverId.value = popoverId;
29
+ else if (activePopoverId.value === popoverId) activePopoverId.value = null;
30
+ });
31
+ watch(activePopoverId, (id) => {
32
+ if (id !== popoverId && popoverVisible.value) popoverVisible.value = false;
33
+ });
34
+ const togglePopover = () => {
35
+ popoverVisible.value = !popoverVisible.value;
34
36
  };
37
+ const emit = __emit;
35
38
  const actionHandler = async (action, row, index) => {
36
39
  await action.before?.(row, index);
37
40
  if (action.type === "edit") props.editState[index] = cloneDeep(row);
38
41
  else await action.handler?.(row, index);
39
- action.after?.(row, index);
42
+ await action.after?.(row, index);
43
+ popoverVisible.value = false;
40
44
  };
41
45
  const save = async (index, config) => {
42
46
  const action = config.actions?.find((item) => item.type === "edit")?.action;
@@ -61,47 +65,103 @@ var ActionsColumn_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
61
65
  if (cancel) await cancel({ index });
62
66
  emit("after-action-cancel", { index });
63
67
  };
68
+ __expose({
69
+ actionHandler,
70
+ save,
71
+ cancel
72
+ });
64
73
  return (_ctx, _cache) => {
65
74
  return openBlock(), createElementBlock(Fragment, null, [
66
75
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.config.actions, (action, actionIndex) => {
67
- return openBlock(), createBlock(unref(TMagicTooltip), {
68
- placement: action.tooltipPlacement || "top",
69
- key: actionIndex,
70
- disabled: !Boolean(action.tooltip),
71
- content: action.tooltip
76
+ return openBlock(), createElementBlock(Fragment, { key: actionIndex }, [action.popconfirm ? (openBlock(), createBlock(ActionPopconfirm_default, {
77
+ key: 0,
78
+ action,
79
+ row: __props.row,
80
+ index: __props.index,
81
+ visible: unref(display)(action.display, __props.row) && !__props.editState[__props.index],
82
+ onConfirm: actionHandler
83
+ }, null, 8, [
84
+ "action",
85
+ "row",
86
+ "index",
87
+ "visible"
88
+ ])) : action.type === "sub-actions" ? (openBlock(), createBlock(unref(TMagicPopover), {
89
+ key: 1,
90
+ visible: popoverVisible.value,
91
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => popoverVisible.value = $event),
92
+ trigger: "click",
93
+ placement: action.subActionConfig?.placement || "bottom",
94
+ width: action.subActionConfig?.popoverWidth,
95
+ "popper-class": action.subActionConfig?.popoverClass,
96
+ "destroy-on-close": action.subActionConfig?.popoverDestroyOnClose ?? true,
97
+ onClickoutside: _cache[1] || (_cache[1] = ($event) => popoverVisible.value = false)
72
98
  }, {
73
- default: withCtx(() => [withDirectives(createVNode(unref(TMagicButton), {
99
+ reference: withCtx(() => [withDirectives(createVNode(unref(TMagicButton), {
74
100
  class: "action-btn",
75
101
  link: "",
76
102
  size: "small",
77
103
  type: action.buttonType || "primary",
78
- icon: action.icon,
79
- disabled: disabled(action.disabled, __props.row),
80
- onClick: ($event) => actionHandler(action, __props.row, __props.index)
81
- }, {
82
- default: withCtx(() => [createElementVNode("span", { innerHTML: formatter(action.text, __props.row) }, null, 8, _hoisted_1)]),
83
- _: 2
84
- }, 1032, [
85
- "type",
86
- "icon",
87
- "disabled",
88
- "onClick"
89
- ]), [[vShow, display(action.display, __props.row) && !__props.editState[__props.index]]])]),
104
+ icon: popoverVisible.value ? unref(ArrowDown) : unref(ArrowRight),
105
+ onClick: withModifiers(togglePopover, ["stop"])
106
+ }, null, 8, ["type", "icon"]), [[vShow, action.subActionConfig?.items?.length && unref(display)(action.display, __props.row) && !__props.editState[__props.index]]])]),
107
+ default: withCtx(() => [createElementVNode("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(action.subActionConfig?.items, (subAction, subIndex) => {
108
+ return openBlock(), createElementBlock(Fragment, { key: subIndex }, [subAction.popconfirm ? (openBlock(), createBlock(ActionPopconfirm_default, {
109
+ key: 0,
110
+ action: subAction,
111
+ row: __props.row,
112
+ index: __props.index,
113
+ "btn-class": "sub-action-btn",
114
+ visible: unref(display)(subAction.display, __props.row),
115
+ onConfirm: actionHandler
116
+ }, null, 8, [
117
+ "action",
118
+ "row",
119
+ "index",
120
+ "visible"
121
+ ])) : (openBlock(), createBlock(ActionButton_default, {
122
+ key: 1,
123
+ action: subAction,
124
+ row: __props.row,
125
+ index: __props.index,
126
+ "btn-class": "sub-action-btn",
127
+ visible: unref(display)(subAction.display, __props.row),
128
+ onClick: actionHandler
129
+ }, null, 8, [
130
+ "action",
131
+ "row",
132
+ "index",
133
+ "visible"
134
+ ]))], 64);
135
+ }), 128))])]),
90
136
  _: 2
91
137
  }, 1032, [
138
+ "visible",
92
139
  "placement",
93
- "disabled",
94
- "content"
95
- ]);
140
+ "width",
141
+ "popper-class",
142
+ "destroy-on-close"
143
+ ])) : (openBlock(), createBlock(ActionButton_default, {
144
+ key: 2,
145
+ action,
146
+ row: __props.row,
147
+ index: __props.index,
148
+ visible: unref(display)(action.display, __props.row) && !__props.editState[__props.index],
149
+ onClick: actionHandler
150
+ }, null, 8, [
151
+ "action",
152
+ "row",
153
+ "index",
154
+ "visible"
155
+ ]))], 64);
96
156
  }), 128)),
97
157
  withDirectives(createVNode(unref(TMagicButton), {
98
158
  class: "action-btn",
99
159
  link: "",
100
160
  type: "primary",
101
161
  size: "small",
102
- onClick: _cache[0] || (_cache[0] = ($event) => save(__props.index, __props.config))
162
+ onClick: _cache[2] || (_cache[2] = ($event) => save(__props.index, __props.config))
103
163
  }, {
104
- default: withCtx(() => [..._cache[2] || (_cache[2] = [createTextVNode("保存", -1)])]),
164
+ default: withCtx(() => [..._cache[4] || (_cache[4] = [createTextVNode("保存", -1)])]),
105
165
  _: 1
106
166
  }, 512), [[vShow, __props.editState[__props.index]]]),
107
167
  withDirectives(createVNode(unref(TMagicButton), {
@@ -109,9 +169,9 @@ var ActionsColumn_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
109
169
  link: "",
110
170
  type: "danger",
111
171
  size: "small",
112
- onClick: _cache[1] || (_cache[1] = ($event) => cancel(__props.index, __props.config))
172
+ onClick: _cache[3] || (_cache[3] = ($event) => cancel(__props.index, __props.config))
113
173
  }, {
114
- default: withCtx(() => [..._cache[3] || (_cache[3] = [createTextVNode("取消", -1)])]),
174
+ default: withCtx(() => [..._cache[5] || (_cache[5] = [createTextVNode("取消", -1)])]),
115
175
  _: 1
116
176
  }, 512), [[vShow, __props.editState[__props.index]]])
117
177
  ], 64);
@@ -1,6 +1,7 @@
1
- import { createBlock, defineComponent, mergeProps, openBlock, resolveDynamicComponent, toHandlers } from "vue";
1
+ import { resolveComponentListeners, resolveComponentProps } from "./componentHelpers.js";
2
+ import { createBlock, defineComponent, mergeProps, openBlock, resolveDynamicComponent, toHandlers, unref } from "vue";
2
3
  //#region packages/table/src/ComponentColumn.vue?vue&type=script&setup=true&lang.ts
3
- var ComponentColumn_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
4
+ var ComponentColumn_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
4
5
  name: "MTableColumn",
5
6
  __name: "ComponentColumn",
6
7
  props: {
@@ -9,17 +10,8 @@ var ComponentColumn_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
9
10
  index: {}
10
11
  },
11
12
  setup(__props) {
12
- const props = __props;
13
- const componentProps = (row, index) => {
14
- if (typeof props.config.props === "function") return props.config.props(row, index) || {};
15
- return props.config.props || {};
16
- };
17
- const componentListeners = (row, index) => {
18
- if (typeof props.config.listeners === "function") return props.config.listeners(row, index) || {};
19
- return props.config.listeners || {};
20
- };
21
13
  return (_ctx, _cache) => {
22
- return openBlock(), createBlock(resolveDynamicComponent(__props.config.component), mergeProps(componentProps(__props.row, __props.index), toHandlers(componentListeners(__props.row, __props.index))), null, 16);
14
+ return openBlock(), createBlock(resolveDynamicComponent(__props.config.component), mergeProps(unref(resolveComponentProps)(__props.config, __props.row, __props.index), toHandlers(unref(resolveComponentListeners)(__props.config, __props.row, __props.index))), null, 16);
23
15
  };
24
16
  }
25
17
  });
@@ -3,7 +3,7 @@ import { Fragment, createBlock, createCommentVNode, createElementBlock, defineCo
3
3
  import { MForm } from "@tmagic/form";
4
4
  //#region packages/table/src/ExpandColumn.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = ["innerHTML"];
6
- var ExpandColumn_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
6
+ var ExpandColumn_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
7
7
  name: "MTableExpandColumn",
8
8
  __name: "ExpandColumn",
9
9
  props: {
@@ -3,7 +3,7 @@ import Table_default from "./Table.js";
3
3
  import { createBlock, createCommentVNode, createTextVNode, createVNode, defineComponent, openBlock, toDisplayString, unref, withCtx } from "vue";
4
4
  import { TMagicButton, TMagicPopover } from "@tmagic/design";
5
5
  //#region packages/table/src/PopoverColumn.vue?vue&type=script&setup=true&lang.ts
6
- var PopoverColumn_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
6
+ var PopoverColumn_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
7
7
  name: "MTablePopoverColumn",
8
8
  __name: "PopoverColumn",
9
9
  props: {
@@ -7,7 +7,7 @@ import { computed, createBlock, defineComponent, h, openBlock, ref, resolveDirec
7
7
  import { cloneDeep } from "lodash-es";
8
8
  import { TMagicTable } from "@tmagic/design";
9
9
  //#region packages/table/src/Table.vue?vue&type=script&setup=true&lang.ts
10
- var Table_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
10
+ var Table_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
11
11
  name: "MTable",
12
12
  __name: "Table",
13
13
  props: {
@@ -1,8 +1,8 @@
1
1
  import { formatter } from "./utils.js";
2
+ import { applyInlineEditChange } from "./formHelpers.js";
2
3
  import { createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, toDisplayString, unref, withCtx } from "vue";
3
4
  import { TMagicButton, TMagicTag, TMagicTooltip } from "@tmagic/design";
4
5
  import { MForm } from "@tmagic/form";
5
- import { setValueByKeyPath } from "@tmagic/utils";
6
6
  //#region packages/table/src/TextColumn.vue?vue&type=script&setup=true&lang.ts
7
7
  var _hoisted_1 = { key: 0 };
8
8
  var _hoisted_2 = ["innerHTML"];
@@ -10,7 +10,7 @@ var _hoisted_3 = ["href"];
10
10
  var _hoisted_4 = ["src"];
11
11
  var _hoisted_5 = ["href"];
12
12
  var _hoisted_6 = ["innerHTML"];
13
- var TextColumn_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
13
+ var TextColumn_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
14
14
  name: "MTableColumn",
15
15
  __name: "TextColumn",
16
16
  props: {
@@ -22,9 +22,7 @@ var TextColumn_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ def
22
22
  setup(__props) {
23
23
  const props = __props;
24
24
  const formChangeHandler = (v, eventData) => {
25
- if (eventData.changeRecords?.length) {
26
- for (const record of eventData.changeRecords) if (record.propPath) setValueByKeyPath(record.propPath, record.value, props.editState[props.index]);
27
- }
25
+ applyInlineEditChange(props.editState[props.index], eventData);
28
26
  };
29
27
  return (_ctx, _cache) => {
30
28
  return __props.config.type === "index" ? (openBlock(), createElementBlock("div", _hoisted_1, toDisplayString(__props.config.pageIndex && __props.config.pageSize ? __props.config.pageIndex * __props.config.pageSize + __props.index + 1 : __props.index + 1), 1)) : (__props.config.type || __props.config.editInlineFormConfig) && __props.editState[__props.index] ? (openBlock(), createBlock(unref(MForm), {
@@ -0,0 +1,17 @@
1
+ //#region packages/table/src/actionHelpers.ts
2
+ var display = (fuc, row) => {
3
+ if (typeof fuc === "function") return fuc(row);
4
+ if (typeof fuc === "boolean") return fuc;
5
+ return true;
6
+ };
7
+ var disabled = (fuc, row) => {
8
+ if (typeof fuc === "function") return fuc(row);
9
+ if (typeof fuc === "boolean") return fuc;
10
+ return false;
11
+ };
12
+ var formatActionText = (fuc, row) => {
13
+ if (typeof fuc === "function") return fuc(row);
14
+ return fuc;
15
+ };
16
+ //#endregion
17
+ export { disabled, display, formatActionText };
@@ -0,0 +1,11 @@
1
+ //#region packages/table/src/componentHelpers.ts
2
+ var resolveComponentProps = (config, row, index) => {
3
+ if (typeof config.props === "function") return config.props(row, index) || {};
4
+ return config.props || {};
5
+ };
6
+ var resolveComponentListeners = (config, row, index) => {
7
+ if (typeof config.listeners === "function") return config.listeners(row, index) || {};
8
+ return config.listeners || {};
9
+ };
10
+ //#endregion
11
+ export { resolveComponentListeners, resolveComponentProps };
@@ -0,0 +1,9 @@
1
+ import { setValueByKeyPath } from "@tmagic/utils";
2
+ //#region packages/table/src/formHelpers.ts
3
+ var applyInlineEditChange = (target, eventData) => {
4
+ if (eventData.changeRecords?.length) {
5
+ for (const record of eventData.changeRecords) if (record.propPath) setValueByKeyPath(record.propPath, record.value, target);
6
+ }
7
+ };
8
+ //#endregion
9
+ export { applyInlineEditChange };
package/dist/es/style.css CHANGED
@@ -10,4 +10,20 @@
10
10
  }
11
11
  .m-table .el-table__row.el-table__row--level-1 {
12
12
  color: #999;
13
+ }
14
+
15
+ .tmagic-table-sub-actions {
16
+ display: flex;
17
+ flex-direction: column;
18
+ gap: 4px;
19
+ align-items: flex-start;
20
+ }
21
+ .tmagic-table-sub-actions .sub-action-btn {
22
+ width: 100%;
23
+ }
24
+ .tmagic-table-sub-actions .tmagic-design-button + .tmagic-design-button {
25
+ margin-left: 0;
26
+ }
27
+ .tmagic-table-sub-actions .tmagic-design-button {
28
+ justify-content: flex-start;
13
29
  }/*$vite$:1*/
package/dist/style.css CHANGED
@@ -10,4 +10,20 @@
10
10
  }
11
11
  .m-table .el-table__row.el-table__row--level-1 {
12
12
  color: #999;
13
+ }
14
+
15
+ .tmagic-table-sub-actions {
16
+ display: flex;
17
+ flex-direction: column;
18
+ gap: 4px;
19
+ align-items: flex-start;
20
+ }
21
+ .tmagic-table-sub-actions .sub-action-btn {
22
+ width: 100%;
23
+ }
24
+ .tmagic-table-sub-actions .tmagic-design-button + .tmagic-design-button {
25
+ margin-left: 0;
26
+ }
27
+ .tmagic-table-sub-actions .tmagic-design-button {
28
+ justify-content: flex-start;
13
29
  }/*$vite$:1*/