@cniot/mdd-editor 0.2.0-beta.37 → 0.2.0-beta.39

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/build/index.es.js CHANGED
@@ -17188,6 +17188,11 @@ const formilySchema = ({ moduleDataSource = {} }) => {
17188
17188
  label: "\u6253\u5F00\u62BD\u5C49",
17189
17189
  value: "drawer"
17190
17190
  },
17191
+ {
17192
+ children: [],
17193
+ label: "onePage \u6253\u5F00\u5206\u680F",
17194
+ value: "onePage"
17195
+ },
17191
17196
  {
17192
17197
  children: [],
17193
17198
  label: "\u81EA\u5B9A\u4E49",
@@ -17290,6 +17295,37 @@ const formilySchema = ({ moduleDataSource = {} }) => {
17290
17295
  },
17291
17296
  "x-designable-id": "9ifgulzttsh"
17292
17297
  },
17298
+ cols: {
17299
+ title: "\u5360\u5217\u5BBD",
17300
+ "x-decorator": "CnFormItem",
17301
+ "x-component": "NumberPicker",
17302
+ "x-component-props": {
17303
+ step: 1,
17304
+ min: 1,
17305
+ max: 23
17306
+ },
17307
+ "x-decorator-props": {
17308
+ tip: "\u6700\u5C0F\u4E3A 1\uFF0C\u6700\u5927\u4E3A 23\uFF0C\u9ED8\u8BA4 \u4E3A6\uFF0C\u4E3B\u9875\u9762\u5360\u5217\u5BBD \u4F1A\u81EA\u52A8\u51CF\u53BB\u5F53\u524D cols"
17309
+ },
17310
+ name: "cols",
17311
+ default: "",
17312
+ "x-reactions": {
17313
+ dependencies: [
17314
+ {
17315
+ property: "value",
17316
+ type: "any",
17317
+ source: "action.type",
17318
+ name: "type"
17319
+ }
17320
+ ],
17321
+ fulfill: {
17322
+ state: {
17323
+ visible: "{{$deps.type === 'onePage'}}"
17324
+ }
17325
+ }
17326
+ },
17327
+ "x-designable-id": "9efgulzttsh"
17328
+ },
17293
17329
  selectValue: {
17294
17330
  title: "\u6A21\u5757\u5730\u5740",
17295
17331
  "x-decorator": "CnFormItem",
@@ -17318,7 +17354,7 @@ const formilySchema = ({ moduleDataSource = {} }) => {
17318
17354
  ],
17319
17355
  fulfill: {
17320
17356
  state: {
17321
- visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer' || $deps.type === 'custom'}}"
17357
+ visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer' || $deps.type === 'onePage' || $deps.type === 'custom'}}"
17322
17358
  }
17323
17359
  }
17324
17360
  },
@@ -17612,7 +17648,7 @@ const formilySchema = ({ moduleDataSource = {} }) => {
17612
17648
  ],
17613
17649
  fulfill: {
17614
17650
  state: {
17615
- visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer' || $deps.type === 'url' || $deps.type === 'custom' || $deps.type === 'updateOtherColumns' }}"
17651
+ visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer' || $deps.type === 'onePage' || $deps.type === 'url' || $deps.type === 'custom' || $deps.type === 'updateOtherColumns' }}"
17616
17652
  }
17617
17653
  }
17618
17654
  }
@@ -17638,7 +17674,7 @@ const formilySchema = ({ moduleDataSource = {} }) => {
17638
17674
  ],
17639
17675
  fulfill: {
17640
17676
  state: {
17641
- visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer'}}"
17677
+ visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer' || $deps.type === 'onePage'}}"
17642
17678
  }
17643
17679
  }
17644
17680
  },
@@ -17718,13 +17754,13 @@ const formilySchema = ({ moduleDataSource = {} }) => {
17718
17754
  },
17719
17755
  parentRefreshWhenClose: {
17720
17756
  type: "boolean",
17721
- title: "\u5173\u95ED\u5F39\u7A97\u65F6\u5237\u65B0\u7236\u7EA7\u5217\u8868",
17757
+ title: "\u5173\u95ED\u65F6\u5237\u65B0\u7236\u7EA7\u5217\u8868",
17722
17758
  "x-decorator": "CnFormItem",
17723
17759
  "x-component": "Switch",
17724
17760
  "x-validator": [],
17725
17761
  "x-component-props": {},
17726
17762
  "x-decorator-props": {
17727
- tip: "\u4EC5\u5728 \u901A\u8FC7\u3010\u5173\u95ED\u6309\u94AE X\u3011\u3010\u70B9\u51FBmask\u533A\u57DF\u3011\u3010\u952E\u76D8esc\u6309\u952E\u3011\u5173\u95ED\u5F39\u7A97\u65F6\u5237\u65B0\u7236\u7EA7\u5217\u8868"
17763
+ tip: "\u4EC5\u5728 \u5173\u95ED onePage \u5206\u680F\u65F6\u3001\u6216 \u901A\u8FC7\u3010\u5173\u95ED\u6309\u94AE X\u3011\u3010\u70B9\u51FBmask\u533A\u57DF\u3011\u3010\u952E\u76D8esc\u6309\u952E\u3011\u5173\u95ED\u5F39\u7A97\u65F6 \u5237\u65B0\u7236\u7EA7\u5217\u8868"
17728
17764
  },
17729
17765
  name: "parentRefreshWhenClose",
17730
17766
  "x-reactions": {
@@ -17738,7 +17774,7 @@ const formilySchema = ({ moduleDataSource = {} }) => {
17738
17774
  ],
17739
17775
  fulfill: {
17740
17776
  state: {
17741
- visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer'}}"
17777
+ visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer' || $deps.type === 'onePage'}}"
17742
17778
  }
17743
17779
  }
17744
17780
  }
@@ -23987,6 +24023,16 @@ var BlocksTable = (params) => {
23987
24023
  name: "parentDataIndex",
23988
24024
  "x-designable-id": "sxbti2p222233122mzk"
23989
24025
  },
24026
+ shouldRender: {
24027
+ title: "\u6761\u4EF6\u6E32\u67D3",
24028
+ "x-decorator": "CnFormItem",
24029
+ "x-component": "Input",
24030
+ "x-validator": [],
24031
+ "x-component-props": {
24032
+ placeholder: "\u6839\u636E\u6761\u4EF6\u5224\u65AD \u6574\u4E2A\u533A\u5757 \u662F\u5426\u6E32\u67D3"
24033
+ },
24034
+ name: "shouldRender"
24035
+ },
23990
24036
  "x-designable-id": "loa5555d8t3"
23991
24037
  }
23992
24038
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cniot/mdd-editor",
3
- "version": "0.2.0-beta.37",
3
+ "version": "0.2.0-beta.39",
4
4
  "description": "模型驱动编辑器",
5
5
  "scripts": {
6
6
  "build": "vite build"