bm-admin-ui 1.2.40-alpha → 1.2.42-alpha

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.
@@ -3990,6 +3990,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
3990
3990
  const defaultCallbackfun = {
3991
3991
  movingCallback: (config) => true,
3992
3992
  deleteCallback: (targetRule, parentRule) => true,
3993
+ copyingCallback: (rule, parentRule) => true,
3993
3994
  afterAdded: (targetRule, parentRule) => null,
3994
3995
  rearrangeCallback: (config) => true
3995
3996
  };
@@ -4136,6 +4137,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
4136
4137
  return newRule;
4137
4138
  }
4138
4139
  function handleFormItemCopy(rule, parentRule) {
4140
+ if (!executeCallback("copyingCallback")(rule, parentRule)) {
4141
+ return;
4142
+ }
4139
4143
  if (!executeCallback("movingCallback")(rule.config.config)) {
4140
4144
  return;
4141
4145
  }
package/package.json CHANGED
@@ -1,34 +1,34 @@
1
- {
2
- "name": "bm-admin-ui",
3
- "version": "1.2.40-alpha",
4
- "private": false,
5
- "description": "An Admin Component Library for Bm",
6
- "license": "UNLICENSED",
7
- "repository": {
8
- "type": "git",
9
- "url": "http://gitlab.admin.bluemoon.com.cn/Frontend-web/bm-admin-ui"
10
- },
11
- "main": "lib/index.js",
12
- "module": "es/index.js",
13
- "unpkg": "index.js",
14
- "peerDependencies": {
15
- "vue": "^3.2.31"
16
- },
17
- "dependencies": {
18
- "@form-create/ant-design-vue": "^3.1.12",
19
- "@logicflow/core": "^1.1.7",
20
- "@logicflow/extension": "^1.1.7",
21
- "floating-vue": "2.0.0-beta.17",
22
- "@ant-design/icons-vue": "^6.1.0",
23
- "ant-design-vue": "^3.2.10",
24
- "bm-admin-icons": "^0.2.7",
25
- "vuedraggable": "^4.1.0",
26
- "lodash-es": "^4.17.21",
27
- "dayjs": "^1.11.4",
28
- "vxe-table": "4.2.3",
29
- "xe-utils": "3.5.4"
30
- },
31
- "sideEffects": [
32
- "theme-chalk/*.css"
33
- ]
34
- }
1
+ {
2
+ "name": "bm-admin-ui",
3
+ "version": "1.2.42-alpha",
4
+ "private": false,
5
+ "description": "An Admin Component Library for Bm",
6
+ "license": "UNLICENSED",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "http://gitlab.admin.bluemoon.com.cn/Frontend-web/bm-admin-ui"
10
+ },
11
+ "main": "lib/index.js",
12
+ "module": "es/index.js",
13
+ "unpkg": "index.js",
14
+ "peerDependencies": {
15
+ "vue": "^3.2.31"
16
+ },
17
+ "dependencies": {
18
+ "@form-create/ant-design-vue": "^3.1.12",
19
+ "@logicflow/core": "^1.1.7",
20
+ "@logicflow/extension": "^1.1.7",
21
+ "floating-vue": "2.0.0-beta.17",
22
+ "@ant-design/icons-vue": "^6.1.0",
23
+ "ant-design-vue": "^3.2.10",
24
+ "bm-admin-icons": "^0.2.7",
25
+ "vuedraggable": "^4.1.0",
26
+ "lodash-es": "^4.17.21",
27
+ "dayjs": "^1.11.4",
28
+ "vxe-table": "4.2.3",
29
+ "xe-utils": "3.5.4"
30
+ },
31
+ "sideEffects": [
32
+ "theme-chalk/*.css"
33
+ ]
34
+ }