@cniot/mdd-editor 0.2.0-beta.46 → 0.2.0-beta.47

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
@@ -4095,7 +4095,7 @@ function shouldUseNative() {
4095
4095
  return false;
4096
4096
  }
4097
4097
  }
4098
- var _objectAssign_4_1_1_objectAssign = shouldUseNative() ? Object.assign : function(target, source) {
4098
+ var objectAssign = shouldUseNative() ? Object.assign : function(target, source) {
4099
4099
  var from;
4100
4100
  var to = toObject(target);
4101
4101
  var symbols;
@@ -5487,7 +5487,7 @@ function createSingletonDndContext(backend, context = getGlobalContext(), option
5487
5487
  function getGlobalContext() {
5488
5488
  return typeof global !== "undefined" ? global : window;
5489
5489
  }
5490
- var _fastDeepEqual_3_1_3_fastDeepEqual = function equal(a, b) {
5490
+ var fastDeepEqual = function equal(a, b) {
5491
5491
  if (a === b)
5492
5492
  return true;
5493
5493
  if (a && b && typeof a == "object" && typeof b == "object") {
@@ -5532,7 +5532,7 @@ function useCollector(monitor, collect, onUpdate) {
5532
5532
  );
5533
5533
  const updateCollected = useCallback(() => {
5534
5534
  const nextValue = collect(monitor);
5535
- if (!_fastDeepEqual_3_1_3_fastDeepEqual(collected, nextValue)) {
5535
+ if (!fastDeepEqual(collected, nextValue)) {
5536
5536
  setCollected(nextValue);
5537
5537
  if (onUpdate) {
5538
5538
  onUpdate();
@@ -7991,7 +7991,7 @@ const schemaScenarioList = async (params) => {
7991
7991
  return null;
7992
7992
  return res;
7993
7993
  };
7994
- var _hox_1_1_6_hox = {};
7994
+ var hox = {};
7995
7995
  var createModel$2 = {};
7996
7996
  var container$1 = {};
7997
7997
  var __values$1 = commonjsGlobal && commonjsGlobal.__values || function(o) {
@@ -8056,9 +8056,9 @@ function Executor(props) {
8056
8056
  }
8057
8057
  executor.Executor = Executor;
8058
8058
  var renderer = {};
8059
- var _reactReconciler_0_26_2_reactReconciler = { exports: {} };
8059
+ var reactReconciler = { exports: {} };
8060
8060
  var reactReconciler_production_min = { exports: {} };
8061
- var _scheduler_0_20_2_scheduler = { exports: {} };
8061
+ var scheduler = { exports: {} };
8062
8062
  var scheduler_production_min = {};
8063
8063
  /** @license React v0.20.2
8064
8064
  * scheduler.production.min.js
@@ -8342,7 +8342,7 @@ var scheduler_production_min = {};
8342
8342
  };
8343
8343
  })(scheduler_production_min);
8344
8344
  {
8345
- _scheduler_0_20_2_scheduler.exports = scheduler_production_min;
8345
+ scheduler.exports = scheduler_production_min;
8346
8346
  }
8347
8347
  /** @license React v0.26.2
8348
8348
  * react-reconciler.production.min.js
@@ -8355,7 +8355,7 @@ var scheduler_production_min = {};
8355
8355
  (function(module) {
8356
8356
  module.exports = function $$$reconciler($$$hostConfig) {
8357
8357
  var exports = {};
8358
- var aa = _objectAssign_4_1_1_objectAssign, ba = React$1, m2 = _scheduler_0_20_2_scheduler.exports;
8358
+ var aa = objectAssign, ba = React$1, m2 = scheduler.exports;
8359
8359
  function q2(a) {
8360
8360
  for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++)
8361
8361
  b += "&args[]=" + encodeURIComponent(arguments[c]);
@@ -12998,13 +12998,13 @@ var scheduler_production_min = {};
12998
12998
  };
12999
12999
  })(reactReconciler_production_min);
13000
13000
  {
13001
- _reactReconciler_0_26_2_reactReconciler.exports = reactReconciler_production_min.exports;
13001
+ reactReconciler.exports = reactReconciler_production_min.exports;
13002
13002
  }
13003
13003
  var __importDefault$1 = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
13004
13004
  return mod && mod.__esModule ? mod : { "default": mod };
13005
13005
  };
13006
13006
  Object.defineProperty(renderer, "__esModule", { value: true });
13007
- var react_reconciler_1 = __importDefault$1(_reactReconciler_0_26_2_reactReconciler.exports);
13007
+ var react_reconciler_1 = __importDefault$1(reactReconciler.exports);
13008
13008
  var reconciler = react_reconciler_1.default({
13009
13009
  now: Date.now,
13010
13010
  getRootHostContext: function() {
@@ -13249,12 +13249,12 @@ function withModel(useModelOrUseModels, mapModelToProps) {
13249
13249
  };
13250
13250
  }
13251
13251
  withModel$1.withModel = withModel;
13252
- Object.defineProperty(_hox_1_1_6_hox, "__esModule", { value: true });
13252
+ Object.defineProperty(hox, "__esModule", { value: true });
13253
13253
  var create_model_1 = createModel$2;
13254
- var createModel = _hox_1_1_6_hox.createModel = create_model_1.createModel;
13255
- _hox_1_1_6_hox.createLazyModel = create_model_1.createLazyModel;
13254
+ var createModel = hox.createModel = create_model_1.createModel;
13255
+ hox.createLazyModel = create_model_1.createLazyModel;
13256
13256
  var with_model_1 = withModel$1;
13257
- _hox_1_1_6_hox.withModel = with_model_1.withModel;
13257
+ hox.withModel = with_model_1.withModel;
13258
13258
  function useSwagger() {
13259
13259
  const [apiList, setApiList] = useState([]);
13260
13260
  const [swaggerInfo, setSwaggerInfo] = useState(null);
@@ -17172,7 +17172,7 @@ const FormilyDynamicValueBase = connect(
17172
17172
  ),
17173
17173
  mapReadPretty(DynamicValueBase)
17174
17174
  );
17175
- const formilySchema = ({ moduleDataSource = {} }) => {
17175
+ const formilySchema$1 = ({ moduleDataSource = {} }) => {
17176
17176
  return {
17177
17177
  form: {
17178
17178
  labelCol: 4,
@@ -18224,7 +18224,7 @@ const formilySchema = ({ moduleDataSource = {} }) => {
18224
18224
  }
18225
18225
  };
18226
18226
  };
18227
- const dataAdaptor$2 = (data, isValue) => {
18227
+ const dataAdaptor$3 = (data, isValue) => {
18228
18228
  const { action } = data || {};
18229
18229
  const {
18230
18230
  type,
@@ -18290,8 +18290,8 @@ const dataAdaptor$2 = (data, isValue) => {
18290
18290
  return { ...data };
18291
18291
  };
18292
18292
  var OperationsSchema = {
18293
- dataAdaptor: dataAdaptor$2,
18294
- formilySchema
18293
+ dataAdaptor: dataAdaptor$3,
18294
+ formilySchema: formilySchema$1
18295
18295
  };
18296
18296
  var MultiSchema = {
18297
18297
  form: {
@@ -18548,10 +18548,1230 @@ var EditTableBatchAddSchema = ({ moduleDataSource = {} }) => {
18548
18548
  }
18549
18549
  };
18550
18550
  };
18551
+ const formilySchema = ({ moduleDataSource = {} }) => {
18552
+ return {
18553
+ form: {
18554
+ labelCol: 4,
18555
+ wrapperCol: 20
18556
+ },
18557
+ schema: {
18558
+ type: "object",
18559
+ properties: {
18560
+ action: {
18561
+ type: "object",
18562
+ "x-validator": [],
18563
+ name: "action",
18564
+ "x-designable-id": "hka9f1m28r0",
18565
+ "x-index": 0,
18566
+ properties: {
18567
+ type: {
18568
+ type: "string | number",
18569
+ title: "\u64CD\u4F5C\u7C7B\u578B",
18570
+ "x-decorator": "CnFormItem",
18571
+ "x-component": "CnRadioGroup",
18572
+ enum: [
18573
+ {
18574
+ children: [],
18575
+ label: "\u6253\u5F00\u62BD\u5C49",
18576
+ value: "drawer"
18577
+ },
18578
+ {
18579
+ children: [],
18580
+ label: "\u81EA\u5B9A\u4E49",
18581
+ value: "custom"
18582
+ },
18583
+ {
18584
+ children: [],
18585
+ label: "\u5185\u7F6E\u6A21\u5757",
18586
+ value: "defaultModule"
18587
+ }
18588
+ ],
18589
+ "x-validator": [],
18590
+ "x-component-props": {
18591
+ optionType: "button",
18592
+ buttonStyle: "solid"
18593
+ },
18594
+ "x-decorator-props": {},
18595
+ name: "type",
18596
+ "x-designable-id": "t4h8awuyfv7",
18597
+ default: "ajax"
18598
+ },
18599
+ dataSource: {
18600
+ type: "string",
18601
+ title: "\u63A5\u53E3\u914D\u7F6E",
18602
+ "x-decorator": "CnFormItem",
18603
+ "x-component": "FormilyAjaxSchemaForm",
18604
+ "x-validator": [],
18605
+ "x-component-props": {
18606
+ selectTypes: ["ajax"]
18607
+ },
18608
+ "x-decorator-props": {},
18609
+ name: "dataSource",
18610
+ "x-reactions": {
18611
+ dependencies: [
18612
+ {
18613
+ property: "value",
18614
+ type: "any",
18615
+ source: "action.type",
18616
+ name: "type"
18617
+ }
18618
+ ],
18619
+ fulfill: {
18620
+ state: {
18621
+ visible: "{{$deps.type === 'ajax'}}"
18622
+ }
18623
+ }
18624
+ },
18625
+ "x-designable-id": "t0uv4o8e9ds"
18626
+ },
18627
+ blank: {
18628
+ type: "boolean",
18629
+ title: "\u662F\u5426\u65B0\u7A97\u53E3\u6253\u5F00",
18630
+ "x-decorator": "CnFormItem",
18631
+ "x-component": "Switch",
18632
+ "x-validator": [],
18633
+ "x-component-props": {
18634
+ size: ""
18635
+ },
18636
+ "x-decorator-props": {},
18637
+ name: "blank",
18638
+ "x-reactions": {
18639
+ dependencies: [
18640
+ {
18641
+ property: "value",
18642
+ type: "any",
18643
+ source: "action.type",
18644
+ name: "type"
18645
+ }
18646
+ ],
18647
+ fulfill: {
18648
+ state: {
18649
+ visible: "{{$deps.type === 'url'}}"
18650
+ }
18651
+ }
18652
+ },
18653
+ "x-designable-id": "emb21kitjil"
18654
+ },
18655
+ value: {
18656
+ title: "\u9875\u9762\u8DEF\u5F84",
18657
+ "x-decorator": "CnFormItem",
18658
+ "x-component": "Input",
18659
+ "x-validator": [],
18660
+ "x-component-props": {},
18661
+ "x-decorator-props": {},
18662
+ name: "value",
18663
+ "x-reactions": {
18664
+ dependencies: [
18665
+ {
18666
+ property: "value",
18667
+ type: "any",
18668
+ source: "action.type",
18669
+ name: "type"
18670
+ }
18671
+ ],
18672
+ fulfill: {
18673
+ state: {
18674
+ visible: "{{$deps.type === 'url'}}"
18675
+ }
18676
+ }
18677
+ },
18678
+ "x-designable-id": "9ifgulzttsh"
18679
+ },
18680
+ cols: {
18681
+ title: "\u5360\u5217\u5BBD",
18682
+ "x-decorator": "CnFormItem",
18683
+ "x-component": "NumberPicker",
18684
+ "x-component-props": {
18685
+ step: 1,
18686
+ min: 1,
18687
+ max: 23
18688
+ },
18689
+ "x-decorator-props": {
18690
+ 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"
18691
+ },
18692
+ name: "cols",
18693
+ default: "",
18694
+ "x-reactions": {
18695
+ dependencies: [
18696
+ {
18697
+ property: "value",
18698
+ type: "any",
18699
+ source: "action.type",
18700
+ name: "type"
18701
+ }
18702
+ ],
18703
+ fulfill: {
18704
+ state: {
18705
+ visible: "{{$deps.type === 'onePage'}}"
18706
+ }
18707
+ }
18708
+ },
18709
+ "x-designable-id": "9efgulzttsh"
18710
+ },
18711
+ selectValue: {
18712
+ title: "\u6A21\u5757\u5730\u5740",
18713
+ "x-decorator": "CnFormItem",
18714
+ "x-component": "FormilySelect.AutoComplete",
18715
+ "x-validator": [],
18716
+ "x-component-props": {
18717
+ placeholder: "\u8BF7\u9009\u62E9\u6216\u8005\u8F93\u5165\u6A21\u5757\u5730\u5740",
18718
+ hasClear: true,
18719
+ size: "small",
18720
+ style: {
18721
+ width: "100%"
18722
+ }
18723
+ },
18724
+ "x-decorator-props": {},
18725
+ name: "selectValue",
18726
+ enum: (moduleDataSource == null ? void 0 : moduleDataSource.l4ModuleOptions) || [],
18727
+ default: "",
18728
+ "x-reactions": {
18729
+ dependencies: [
18730
+ {
18731
+ property: "value",
18732
+ type: "any",
18733
+ source: "action.type",
18734
+ name: "type"
18735
+ }
18736
+ ],
18737
+ fulfill: {
18738
+ state: {
18739
+ visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer' || $deps.type === 'onePage' || $deps.type === 'custom'}}"
18740
+ }
18741
+ }
18742
+ },
18743
+ "x-designable-id": "9efgulzttsh"
18744
+ },
18745
+ moduleValue: {
18746
+ title: "\u6A21\u5757\u540D\u79F0",
18747
+ "x-decorator": "CnFormItem",
18748
+ "x-component": "Select",
18749
+ "x-validator": [],
18750
+ "x-component-props": {
18751
+ hasClear: true
18752
+ },
18753
+ "x-decorator-props": {},
18754
+ name: "moduleValue",
18755
+ enum: [
18756
+ {
18757
+ label: "\u5BFC\u5165",
18758
+ value: "mdd_import"
18759
+ },
18760
+ {
18761
+ label: "\u5BFC\u5165(\u5E26\u8F6E\u8BAD\u8FDB\u5EA6)",
18762
+ value: "mdd_import_plus"
18763
+ },
18764
+ {
18765
+ label: "\u5BFC\u51FA",
18766
+ value: "mdd_export"
18767
+ },
18768
+ {
18769
+ label: "\u53EF\u9009\u5217\u5BFC\u51FA",
18770
+ value: "mdd_export_plus"
18771
+ },
18772
+ {
18773
+ label: "\u590D\u5236\u8868\u683C\u6570\u636E",
18774
+ value: "mdd_copy"
18775
+ }
18776
+ ],
18777
+ default: "",
18778
+ "x-reactions": {
18779
+ dependencies: [
18780
+ {
18781
+ property: "value",
18782
+ type: "any",
18783
+ source: "action.type",
18784
+ name: "type"
18785
+ }
18786
+ ],
18787
+ fulfill: {
18788
+ state: {
18789
+ visible: "{{$deps.type === 'defaultModule'}}"
18790
+ }
18791
+ }
18792
+ },
18793
+ "x-designable-id": "9ef4545h"
18794
+ },
18795
+ templateUrl: {
18796
+ type: "string",
18797
+ title: "\u4E0B\u8F7D\u6A21\u677F\u5730\u5740",
18798
+ "x-decorator": "CnFormItem",
18799
+ "x-component": "FormilyAjaxSchemaForm",
18800
+ "x-validator": [],
18801
+ "x-component-props": {},
18802
+ "x-decorator-props": {},
18803
+ name: "templateUrl",
18804
+ default: {
18805
+ type: "ajax",
18806
+ host: "",
18807
+ method: "GET",
18808
+ url: "/eiport/api/v1/scene/query-by-code",
18809
+ watch: [],
18810
+ params: {
18811
+ sceneCode: "\u8FD9\u91CC\u9700\u8981\u6362\u6210\u81EA\u5DF1\u7684\u4E1A\u52A1code"
18812
+ },
18813
+ formatResponseData: {
18814
+ url: "$RET.data.templateFileAddress"
18815
+ }
18816
+ },
18817
+ "x-reactions": {
18818
+ dependencies: [
18819
+ {
18820
+ property: "value",
18821
+ type: "any",
18822
+ source: "action.type",
18823
+ name: "type"
18824
+ },
18825
+ {
18826
+ property: "value",
18827
+ type: "any",
18828
+ source: "action.moduleValue",
18829
+ name: "moduleValue"
18830
+ }
18831
+ ],
18832
+ fulfill: {
18833
+ state: {
18834
+ visible: "{{$deps.type === 'defaultModule' && ($deps.moduleValue === 'mdd_import' || $deps.moduleValue === 'mdd_import_plus')}}"
18835
+ }
18836
+ }
18837
+ },
18838
+ "x-designable-id": "t0u12221ds"
18839
+ },
18840
+ ossSignService: {
18841
+ type: "string",
18842
+ title: "\u83B7\u53D6\u7B7E\u540D\u63A5\u53E3",
18843
+ "x-decorator": "CnFormItem",
18844
+ "x-component": "Input",
18845
+ "x-validator": [],
18846
+ "x-component-props": {
18847
+ placeholder: "\u4F8B\u5982: /eiport/api/v1/task/sign?sceneCode=dwms-count-paper-count-result-export"
18848
+ },
18849
+ "x-decorator-props": {},
18850
+ default: "/eiport/api/v1/task/sign?sceneCode={\u8FD9\u91CC\u6362\u6210\u81EA\u5DF1\u7684\u4E1A\u52A1code}",
18851
+ name: "ossSignService",
18852
+ "x-reactions": {
18853
+ dependencies: [
18854
+ {
18855
+ property: "value",
18856
+ type: "any",
18857
+ source: "action.type",
18858
+ name: "type"
18859
+ },
18860
+ {
18861
+ property: "value",
18862
+ type: "any",
18863
+ source: "action.moduleValue",
18864
+ name: "moduleValue"
18865
+ }
18866
+ ],
18867
+ fulfill: {
18868
+ state: {
18869
+ visible: "{{$deps.type === 'defaultModule' && ($deps.moduleValue === 'mdd_import' || $deps.moduleValue === 'mdd_import_plus')}}"
18870
+ }
18871
+ }
18872
+ },
18873
+ "x-designable-id": "t0u11111ds"
18874
+ },
18875
+ importStatusService: {
18876
+ type: "string",
18877
+ title: "\u8F6E\u8BAD\u5BFC\u5165\u72B6\u6001\u63A5\u53E3",
18878
+ "x-decorator": "CnFormItem",
18879
+ "x-component": "FormilyAjaxSchemaForm",
18880
+ "x-validator": [],
18881
+ "x-component-props": {
18882
+ selectTypes: ["ajax", "flow"],
18883
+ placeholder: "\u4F8B\u5982: POST /eiport/api/v1/task/query-by-id"
18884
+ },
18885
+ "x-decorator-props": {},
18886
+ name: "importStatusService",
18887
+ default: {
18888
+ type: "ajax",
18889
+ host: "",
18890
+ method: "POST",
18891
+ url: "/eiport/api/v1/task/query-by-id",
18892
+ watch: [],
18893
+ params: {
18894
+ id: "$Import_Plus_Taks_Id.id",
18895
+ taskType: "0"
18896
+ },
18897
+ formatResponseData: {
18898
+ data: "$RET.data"
18899
+ },
18900
+ content: {},
18901
+ summary: "\u8F6E\u8BAD\u83B7\u53D6\u5BFC\u5165\u72B6\u6001",
18902
+ label: "\u8F6E\u8BAD\u83B7\u53D6\u5BFC\u5165\u72B6\u6001",
18903
+ value: "/eiport/api/v1/task/query-by-id"
18904
+ },
18905
+ "x-reactions": {
18906
+ dependencies: [
18907
+ {
18908
+ property: "value",
18909
+ type: "any",
18910
+ source: "action.type",
18911
+ name: "type"
18912
+ },
18913
+ {
18914
+ property: "value",
18915
+ type: "any",
18916
+ source: "action.moduleValue",
18917
+ name: "moduleValue"
18918
+ }
18919
+ ],
18920
+ fulfill: {
18921
+ state: {
18922
+ visible: "{{$deps.type === 'defaultModule' && $deps.moduleValue === 'mdd_import_plus'}}"
18923
+ }
18924
+ }
18925
+ },
18926
+ "x-designable-id": "t0u122221111ds"
18927
+ },
18928
+ getFieldsService: {
18929
+ type: "string",
18930
+ title: "\u83B7\u53D6\u6A21\u5757\u5B57\u6BB5\u63A5\u53E3",
18931
+ "x-decorator": "CnFormItem",
18932
+ "x-component": "FormilyAjaxSchemaForm",
18933
+ "x-validator": [],
18934
+ "x-component-props": {},
18935
+ "x-decorator-props": {
18936
+ tip: "\u83B7\u53D6\u53EF\u9009\u5B57\u6BB5\u5217\u8868\u63A5\u53E3\uFF0Ceg: /common/export/fields?modelCode=xxxxx"
18937
+ },
18938
+ name: "getFieldsService",
18939
+ "x-reactions": {
18940
+ dependencies: [
18941
+ {
18942
+ property: "value",
18943
+ type: "any",
18944
+ source: "action.type",
18945
+ name: "type"
18946
+ },
18947
+ {
18948
+ property: "value",
18949
+ type: "any",
18950
+ source: "action.moduleValue",
18951
+ name: "moduleValue"
18952
+ }
18953
+ ],
18954
+ fulfill: {
18955
+ state: {
18956
+ visible: "{{$deps.type === 'defaultModule' && ( $deps.moduleValue === 'mdd_export_plus' )}}"
18957
+ }
18958
+ }
18959
+ },
18960
+ "x-designable-id": "9ef452244245h"
18961
+ },
18962
+ service: {
18963
+ type: "string",
18964
+ title: "\u6570\u636E\u8BF7\u6C42\u63A5\u53E3",
18965
+ "x-decorator": "CnFormItem",
18966
+ "x-component": "FormilyAjaxSchemaForm",
18967
+ "x-validator": [],
18968
+ "x-component-props": {
18969
+ selectTypes: ["ajax"]
18970
+ },
18971
+ "x-decorator-props": {
18972
+ tip: "\u5BFC\u5165 \u6216\u8005 \u5BFC\u51FA\u63A5\u53E3\uFF0C\u652F\u6301\u5F02\u6B65/\u540C\u6B65, taskType: 0\u4E3A\u5BFC\u5165\uFF1B1 \u4E3A\u5BFC\u51FA"
18973
+ },
18974
+ name: "service",
18975
+ default: {
18976
+ type: "ajax",
18977
+ host: "",
18978
+ method: "POST",
18979
+ url: "/eiport/api/v1/task/create",
18980
+ watch: [],
18981
+ params: {
18982
+ sceneCode: "dwms-count-paper-count-result-export",
18983
+ taskType: "0"
18984
+ },
18985
+ formatResponseData: {}
18986
+ },
18987
+ "x-reactions": {
18988
+ dependencies: [
18989
+ {
18990
+ property: "value",
18991
+ type: "any",
18992
+ source: "action.type",
18993
+ name: "type"
18994
+ },
18995
+ {
18996
+ property: "value",
18997
+ type: "any",
18998
+ source: "action.moduleValue",
18999
+ name: "moduleValue"
19000
+ }
19001
+ ],
19002
+ fulfill: {
19003
+ state: {
19004
+ visible: "{{$deps.type === 'defaultModule' && ($deps.moduleValue === 'mdd_import' || $deps.moduleValue === 'mdd_import_plus' || $deps.moduleValue === 'mdd_export' || $deps.moduleValue === 'mdd_export_plus' )}}"
19005
+ }
19006
+ }
19007
+ },
19008
+ "x-designable-id": "9ef4545h"
19009
+ },
19010
+ params: {
19011
+ type: "string",
19012
+ title: "\u53C2\u6570",
19013
+ "x-decorator": "CnFormItem",
19014
+ "x-component": "FormilyTableFormProxy",
19015
+ "x-validator": [],
19016
+ "x-component-props": {
19017
+ showFastList: true
19018
+ },
19019
+ "x-decorator-props": {},
19020
+ name: "params",
19021
+ "x-designable-id": "t0uv4o8e9uy",
19022
+ "x-reactions": {
19023
+ dependencies: [
19024
+ {
19025
+ property: "value",
19026
+ type: "any",
19027
+ source: "action.type",
19028
+ name: "type"
19029
+ }
19030
+ ],
19031
+ fulfill: {
19032
+ state: {
19033
+ visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer' || $deps.type === 'onePage' || $deps.type === 'url' || $deps.type === 'custom' || $deps.type === 'updateOtherColumns' }}"
19034
+ }
19035
+ }
19036
+ }
19037
+ },
19038
+ isParentRefresh: {
19039
+ type: "boolean",
19040
+ title: "\u662F\u5426\u7236\u7EA7\u5217\u8868\u5237\u65B0",
19041
+ "x-decorator": "CnFormItem",
19042
+ "x-component": "Switch",
19043
+ "x-validator": [],
19044
+ "x-component-props": {},
19045
+ "x-decorator-props": {},
19046
+ name: "isParentRefresh",
19047
+ default: true,
19048
+ "x-reactions": {
19049
+ dependencies: [
19050
+ {
19051
+ property: "value",
19052
+ type: "any",
19053
+ source: "action.type",
19054
+ name: "type"
19055
+ }
19056
+ ],
19057
+ fulfill: {
19058
+ state: {
19059
+ visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer' || $deps.type === 'onePage'}}"
19060
+ }
19061
+ }
19062
+ },
19063
+ "x-designable-id": "g63q49ybbc2"
19064
+ },
19065
+ mode: {
19066
+ title: "\u6A21\u5F0F",
19067
+ "x-decorator": "CnFormItem",
19068
+ "x-component": "Select",
19069
+ "x-validator": [],
19070
+ "x-component-props": {},
19071
+ enum: [
19072
+ {
19073
+ children: [],
19074
+ label: "\u5355\u9009",
19075
+ value: "single"
19076
+ },
19077
+ {
19078
+ children: [],
19079
+ label: "\u591A\u9009",
19080
+ value: "multiple"
19081
+ }
19082
+ ],
19083
+ default: "multiple",
19084
+ "x-decorator-props": {},
19085
+ name: "mode",
19086
+ "x-designable-id": "jtk2222nqweqe2221",
19087
+ "x-reactions": {
19088
+ dependencies: [
19089
+ {
19090
+ property: "value",
19091
+ type: "any",
19092
+ source: "action.type",
19093
+ name: "type"
19094
+ }
19095
+ ],
19096
+ fulfill: {
19097
+ state: {
19098
+ visible: "{{ $deps.type === 'drawer' }}"
19099
+ }
19100
+ }
19101
+ }
19102
+ },
19103
+ allowsDuplicates: {
19104
+ title: "\u662F\u5426\u5141\u8BB8\u91CD\u590D",
19105
+ "x-decorator": "CnFormItem",
19106
+ "x-component": "Switch",
19107
+ "x-validator": [],
19108
+ "x-component-props": {},
19109
+ default: true,
19110
+ "x-decorator-props": {},
19111
+ name: "allowsDuplicates",
19112
+ "x-designable-id": "jtk1112222nqweqe2221",
19113
+ "x-reactions": {
19114
+ dependencies: [
19115
+ {
19116
+ property: "value",
19117
+ type: "any",
19118
+ source: "action.type",
19119
+ name: "type"
19120
+ }
19121
+ ],
19122
+ fulfill: {
19123
+ state: {
19124
+ visible: "{{ $deps.type === 'drawer' }}"
19125
+ }
19126
+ }
19127
+ }
19128
+ },
19129
+ unique: {
19130
+ title: "\u91CD\u590D\u503C\u5224\u65ADKEY",
19131
+ "x-decorator": "CnFormItem",
19132
+ "x-component": "Input",
19133
+ "x-validator": [],
19134
+ "x-component-props": {},
19135
+ "x-decorator-props": {
19136
+ tip: "\u652F\u6301\u591A\u5C42\u7EA7\uFF0C\u4F8B\u5982: updater.0"
19137
+ },
19138
+ name: "unique",
19139
+ default: "id",
19140
+ "x-designable-id": "jtk111555522nqweqe2221",
19141
+ "x-reactions": {
19142
+ dependencies: [
19143
+ {
19144
+ property: "value",
19145
+ type: "any",
19146
+ source: "action.type",
19147
+ name: "type"
19148
+ }
19149
+ ],
19150
+ fulfill: {
19151
+ state: {
19152
+ visible: "{{ $deps.type === 'drawer' }}"
19153
+ }
19154
+ }
19155
+ }
19156
+ },
19157
+ "btn-type": {
19158
+ title: "\u6309\u94AE\u7C7B\u578B",
19159
+ "x-decorator": "CnFormItem",
19160
+ "x-component": "Input",
19161
+ "x-validator": [],
19162
+ "x-component-props": {},
19163
+ name: "btn-type",
19164
+ default: "batch-add",
19165
+ "x-visible": false,
19166
+ "x-designable-id": "jtk111555522nqweqe2221",
19167
+ "x-reactions": {
19168
+ dependencies: [
19169
+ {
19170
+ property: "value",
19171
+ type: "any",
19172
+ source: "action.type",
19173
+ name: "type"
19174
+ }
19175
+ ],
19176
+ fulfill: {
19177
+ state: {
19178
+ value: "{{$deps.type === 'drawer' ? 'batch-add' : 'import'}}"
19179
+ }
19180
+ }
19181
+ }
19182
+ },
19183
+ title: {
19184
+ type: "string",
19185
+ title: "\u5BB9\u5668\u6807\u9898",
19186
+ "x-decorator": "CnFormItem",
19187
+ "x-component": "Input",
19188
+ "x-validator": [],
19189
+ "x-component-props": {},
19190
+ "x-decorator-props": {
19191
+ tip: '\u5BB9\u5668\u6807\u9898\uFF0C\u652F\u6301\u6A21\u677F\u8868\u8FBE\u5F0F. eg: "\u6D4B\u8BD5\u6807\u9898 - " + $TABLE.RECORD_DATA.creator'
19192
+ },
19193
+ name: "title",
19194
+ "x-reactions": {
19195
+ dependencies: [
19196
+ {
19197
+ property: "value",
19198
+ type: "string | number",
19199
+ source: "action.type",
19200
+ name: "type"
19201
+ }
19202
+ ],
19203
+ fulfill: {
19204
+ state: {
19205
+ visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer'}}"
19206
+ }
19207
+ }
19208
+ },
19209
+ "x-designable-id": "d3qx5xvfff4"
19210
+ },
19211
+ closeMode: {
19212
+ title: "\u5173\u95ED\u6A21\u5F0F",
19213
+ "x-decorator": "CnFormItem",
19214
+ "x-component": "Select",
19215
+ "x-validator": [],
19216
+ "x-component-props": {
19217
+ mode: "multiple"
19218
+ },
19219
+ "x-decorator-props": {},
19220
+ name: "closeMode",
19221
+ enum: [
19222
+ {
19223
+ children: [],
19224
+ label: "\u5173\u95ED\u6309\u94AE",
19225
+ value: "close"
19226
+ },
19227
+ {
19228
+ children: [],
19229
+ label: "\u70B9\u51FBmask\u533A\u57DF",
19230
+ value: "mask"
19231
+ },
19232
+ {
19233
+ label: "\u952E\u76D8esc\u6309\u952E",
19234
+ value: "esc"
19235
+ }
19236
+ ],
19237
+ default: "close",
19238
+ "x-reactions": {
19239
+ dependencies: [
19240
+ {
19241
+ property: "value",
19242
+ type: "string | number",
19243
+ source: "action.type",
19244
+ name: "type"
19245
+ }
19246
+ ],
19247
+ fulfill: {
19248
+ state: {
19249
+ visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer'}}"
19250
+ }
19251
+ }
19252
+ },
19253
+ "x-designable-id": "jtknf7sgpow"
19254
+ },
19255
+ parentRefreshWhenClose: {
19256
+ type: "boolean",
19257
+ title: "\u5173\u95ED\u65F6\u5237\u65B0\u7236\u7EA7\u5217\u8868",
19258
+ "x-decorator": "CnFormItem",
19259
+ "x-component": "Switch",
19260
+ "x-validator": [],
19261
+ "x-component-props": {},
19262
+ "x-decorator-props": {
19263
+ 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"
19264
+ },
19265
+ name: "parentRefreshWhenClose",
19266
+ "x-reactions": {
19267
+ dependencies: [
19268
+ {
19269
+ property: "value",
19270
+ type: "string | number",
19271
+ source: "action.type",
19272
+ name: "type"
19273
+ }
19274
+ ],
19275
+ fulfill: {
19276
+ state: {
19277
+ visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer' || $deps.type === 'onePage'}}"
19278
+ }
19279
+ }
19280
+ }
19281
+ },
19282
+ size: {
19283
+ type: "string",
19284
+ title: "\u5F39\u7A97\u5C3A\u5BF8",
19285
+ "x-decorator": "CnFormItem",
19286
+ "x-component": "CnRadioGroup",
19287
+ "x-validator": [],
19288
+ "x-component-props": {},
19289
+ "x-decorator-props": {},
19290
+ name: "size",
19291
+ default: "medium",
19292
+ enum: [
19293
+ {
19294
+ label: "\u5C0F\u53F7",
19295
+ value: "small"
19296
+ },
19297
+ {
19298
+ label: "\u4E2D\u53F7",
19299
+ value: "medium"
19300
+ },
19301
+ {
19302
+ label: "\u5927\u53F7",
19303
+ value: "large"
19304
+ },
19305
+ {
19306
+ label: "\u81EA\u52A8\u9002\u914D",
19307
+ value: "autoLarge"
19308
+ }
19309
+ ],
19310
+ "x-reactions": {
19311
+ dependencies: [
19312
+ {
19313
+ property: "value",
19314
+ type: "string | number",
19315
+ source: "action.type",
19316
+ name: "type"
19317
+ }
19318
+ ],
19319
+ fulfill: {
19320
+ state: {
19321
+ visible: "{{$deps.type === 'dialog'}}"
19322
+ }
19323
+ }
19324
+ },
19325
+ "x-designable-id": "32ou555h9f3ze7"
19326
+ },
19327
+ width: {
19328
+ type: "string",
19329
+ title: "\u5BBD\u5EA6",
19330
+ "x-decorator": "CnFormItem",
19331
+ "x-component": "Input",
19332
+ "x-validator": [],
19333
+ "x-component-props": {
19334
+ hasClear: true
19335
+ },
19336
+ "x-decorator-props": {},
19337
+ name: "width",
19338
+ default: "50%",
19339
+ "x-reactions": {
19340
+ dependencies: [
19341
+ {
19342
+ property: "value",
19343
+ type: "string | number",
19344
+ source: "action.type",
19345
+ name: "type"
19346
+ }
19347
+ ],
19348
+ fulfill: {
19349
+ state: {
19350
+ visible: "{{ $deps.type === 'drawer'}}"
19351
+ }
19352
+ }
19353
+ },
19354
+ "x-designable-id": "32ouh9f3ze7"
19355
+ },
19356
+ height: {
19357
+ type: "string",
19358
+ title: "\u9AD8\u5EA6",
19359
+ "x-decorator": "CnFormItem",
19360
+ "x-component": "Input",
19361
+ "x-validator": [],
19362
+ "x-component-props": {
19363
+ hasClear: true
19364
+ },
19365
+ "x-decorator-props": {},
19366
+ name: "height",
19367
+ "x-reactions": {
19368
+ dependencies: [
19369
+ {
19370
+ property: "value",
19371
+ type: "any",
19372
+ source: "action.type",
19373
+ name: "type"
19374
+ }
19375
+ ],
19376
+ fulfill: {
19377
+ state: {
19378
+ visible: "{{$deps.type === 'dialog' || $deps.type === 'drawer'}}"
19379
+ }
19380
+ }
19381
+ },
19382
+ "x-designable-id": "eikfmax2d13"
19383
+ },
19384
+ secondConfirm: {
19385
+ type: "boolean",
19386
+ title: "\u662F\u5426\u4E8C\u6B21\u786E\u8BA4",
19387
+ "x-decorator": "CnFormItem",
19388
+ "x-component": "Switch",
19389
+ "x-validator": [],
19390
+ "x-component-props": {},
19391
+ "x-decorator-props": {},
19392
+ name: "secondConfirm",
19393
+ "x-reactions": {
19394
+ dependencies: [
19395
+ {
19396
+ property: "value",
19397
+ type: "string | number",
19398
+ source: "action.type",
19399
+ name: "type"
19400
+ }
19401
+ ],
19402
+ fulfill: {
19403
+ state: {
19404
+ visible: "{{$deps.type === 'ajax'}}"
19405
+ }
19406
+ }
19407
+ },
19408
+ "x-designable-id": "9ifgussstsh"
19409
+ },
19410
+ secondConfirmTitle: {
19411
+ type: "boolean",
19412
+ title: "\u4E8C\u6B21\u786E\u8BA4\u6807\u9898",
19413
+ "x-decorator": "CnFormItem",
19414
+ "x-component": "Input",
19415
+ "x-validator": [],
19416
+ "x-component-props": {},
19417
+ "x-decorator-props": {
19418
+ tip: "\u652F\u6301\u6A21\u677F eg: \u63D0\u793A${$TABLE.RECORD_DATA.id} (\u5F53\u524D\u884C\u5BF9\u8C61\u7684id\u53D8\u91CF); https://yuque.antfin.com/docs/share/b0464a1d-77a3-4884-a981-7857a71174aa#H6z5E"
19419
+ },
19420
+ name: "secondConfirmTitle",
19421
+ "x-reactions": {
19422
+ dependencies: [
19423
+ {
19424
+ property: "value",
19425
+ type: "string | number",
19426
+ source: "action.type",
19427
+ name: "type"
19428
+ },
19429
+ {
19430
+ property: "value",
19431
+ type: "boolean",
19432
+ source: "action.secondConfirm",
19433
+ name: "secondConfirm"
19434
+ }
19435
+ ],
19436
+ fulfill: {
19437
+ state: {
19438
+ visible: "{{$deps.type === 'ajax' && $deps.secondConfirm === true}}"
19439
+ }
19440
+ }
19441
+ },
19442
+ "x-designable-id": "9if123estsh"
19443
+ },
19444
+ secondConfirmContent: {
19445
+ type: "boolean",
19446
+ title: "\u4E8C\u6B21\u786E\u8BA4\u63D0\u793A\u5185\u5BB9",
19447
+ "x-decorator": "CnFormItem",
19448
+ "x-component": "Input",
19449
+ "x-validator": [],
19450
+ "x-component-props": {},
19451
+ "x-decorator-props": {
19452
+ tip: "\u652F\u6301\u6A21\u677F eg: \u63D0\u793A${$TABLE.RECORD_DATA.id} (\u5F53\u524D\u884C\u5BF9\u8C61\u7684id\u53D8\u91CF)"
19453
+ },
19454
+ name: "secondConfirmContent",
19455
+ "x-reactions": {
19456
+ dependencies: [
19457
+ {
19458
+ property: "value",
19459
+ type: "string | number",
19460
+ source: "action.type",
19461
+ name: "type"
19462
+ },
19463
+ {
19464
+ property: "value",
19465
+ type: "boolean",
19466
+ source: "action.secondConfirm",
19467
+ name: "secondConfirm"
19468
+ }
19469
+ ],
19470
+ fulfill: {
19471
+ state: {
19472
+ visible: "{{$deps.type === 'ajax' && $deps.secondConfirm === true}}"
19473
+ }
19474
+ }
19475
+ },
19476
+ "x-designable-id": "9if44453estsh"
19477
+ },
19478
+ successMessage: {
19479
+ type: "string",
19480
+ title: "\u81EA\u5B9A\u4E49\u6210\u529F\u6587\u6848",
19481
+ "x-decorator": "CnFormItem",
19482
+ "x-component": "Input",
19483
+ "x-validator": [],
19484
+ "x-component-props": {},
19485
+ "x-decorator-props": {},
19486
+ name: "successMessage",
19487
+ "x-reactions": {
19488
+ dependencies: [
19489
+ {
19490
+ property: "value",
19491
+ type: "string | number",
19492
+ source: "action.type",
19493
+ name: "type"
19494
+ }
19495
+ ],
19496
+ fulfill: {
19497
+ state: {
19498
+ visible: "{{$deps.type === 'ajax'}}"
19499
+ }
19500
+ }
19501
+ },
19502
+ "x-designable-id": "9ifgjasdussstsh"
19503
+ },
19504
+ errorMessage: {
19505
+ type: "string",
19506
+ title: "\u81EA\u5B9A\u4E49\u5931\u8D25\u6587\u6848",
19507
+ "x-decorator": "CnFormItem",
19508
+ "x-component": "Input",
19509
+ "x-validator": [],
19510
+ "x-component-props": {},
19511
+ "x-decorator-props": {},
19512
+ name: "errorMessage",
19513
+ "x-reactions": {
19514
+ dependencies: [
19515
+ {
19516
+ property: "value",
19517
+ type: "string | number",
19518
+ source: "action.type",
19519
+ name: "type"
19520
+ }
19521
+ ],
19522
+ fulfill: {
19523
+ state: {
19524
+ visible: "{{$deps.type === 'ajax'}}"
19525
+ }
19526
+ }
19527
+ },
19528
+ "x-designable-id": "9ifgja09sdussstsh"
19529
+ },
19530
+ shouldRender: {
19531
+ title: "\u6761\u4EF6\u6E32\u67D3",
19532
+ "x-decorator": "CnFormItem",
19533
+ "x-component": "Input",
19534
+ "x-validator": [],
19535
+ "x-component-props": {
19536
+ placeholder: "\u6839\u636E\u6761\u4EF6\u5224\u65AD\u662F\u5426\u6E32\u67D3"
19537
+ },
19538
+ "x-decorator-props": {
19539
+ tip: 'eg: $CURRENT_DATA.status==="success", $CURRENT_DATA\u662F\u5F53\u524D\u64CD\u4F5C\u5BF9\u8C61(\u6BD4\u5982\u8868\u683C\u7684\u884C\u5BF9\u8C61), \u5176\u4ED6\u4E0A\u4E0B\u6587\u4F9D\u7136\u53EF\u4EE5\u4F7F\u7528'
19540
+ },
19541
+ name: "shouldRender",
19542
+ "x-designable-id": "9ifgulsstsh3333"
19543
+ },
19544
+ isDisabled: {
19545
+ title: "\u662F\u5426\u7981\u7528",
19546
+ "x-decorator": "CnFormItem",
19547
+ "x-component": "Input",
19548
+ "x-validator": [],
19549
+ "x-component-props": {
19550
+ placeholder: "\u6839\u636E\u6761\u4EF6\u5224\u65AD\u662F\u5426\u7981\u7528"
19551
+ },
19552
+ "x-decorator-props": {
19553
+ tip: 'eg: $CURRENT_DATA.status==="success", $CURRENT_DATA\u662F\u5F53\u524D\u64CD\u4F5C\u5BF9\u8C61(\u6BD4\u5982\u8868\u683C\u7684\u884C\u5BF9\u8C61), \u5176\u4ED6\u4E0A\u4E0B\u6587\u4F9D\u7136\u53EF\u4EE5\u4F7F\u7528'
19554
+ },
19555
+ name: "isDisabled",
19556
+ "x-designable-id": "9ifgulsstsh3335553"
19557
+ },
19558
+ customType: {
19559
+ title: "\u81EA\u5B9A\u4E49\u7C7B\u578B",
19560
+ "x-decorator": "CnFormItem",
19561
+ "x-component": "CnRadioGroup",
19562
+ "x-validator": [],
19563
+ "x-component-props": {
19564
+ mode: "single"
19565
+ },
19566
+ "x-decorator-props": {},
19567
+ name: "customType",
19568
+ enum: [
19569
+ {
19570
+ children: [],
19571
+ label: "\u81EA\u5B9A\u4E49\u6E32\u67D3",
19572
+ value: "RENDER"
19573
+ },
19574
+ {
19575
+ children: [],
19576
+ label: "\u81EA\u5B9A\u4E49\u52A8\u4F5C",
19577
+ value: "ACTION"
19578
+ }
19579
+ ],
19580
+ default: "ACTION",
19581
+ "x-reactions": {
19582
+ dependencies: [
19583
+ {
19584
+ property: "value",
19585
+ type: "string | number",
19586
+ source: "action.type",
19587
+ name: "type"
19588
+ }
19589
+ ],
19590
+ fulfill: {
19591
+ state: {
19592
+ visible: "{{$deps.type === 'custom'}}"
19593
+ }
19594
+ }
19595
+ },
19596
+ "x-designable-id": "jtknf7sgpow"
19597
+ },
19598
+ delayLoadingMessageDuration: {
19599
+ type: "string",
19600
+ title: "loading\u63D0\u793A\u6700\u957F\u65F6\u957F",
19601
+ "x-decorator": "CnFormItem",
19602
+ "x-component": "NumberPicker",
19603
+ "x-validator": [],
19604
+ "x-component-props": {
19605
+ innerAfter: "\u6BEB\u79D2",
19606
+ step: 1e3,
19607
+ min: 1e3
19608
+ },
19609
+ "x-decorator-props": {
19610
+ tip: "\u4EC5\u5F53 \u8BE5\u63A5\u53E3 \u54CD\u5E94\u65F6\u95F4 \u8FC7\u957F(\u4F8B\u5982 \u8D85\u8FC710\u79D2)\u65F6\u4F7F\u7528\uFF0C\u5176\u4ED6\u60C5\u51B5\u4E0D\u63A8\u8350\u4F7F\u7528\u3002key\uFF1AdelayLoadingMessageDuration"
19611
+ },
19612
+ name: "delayLoadingMessageDuration",
19613
+ "x-reactions": {
19614
+ dependencies: [
19615
+ {
19616
+ property: "value",
19617
+ type: "string | number",
19618
+ source: "action.type",
19619
+ name: "type"
19620
+ }
19621
+ ],
19622
+ fulfill: {
19623
+ state: {
19624
+ visible: "{{$deps.type === 'ajax'}}"
19625
+ }
19626
+ }
19627
+ },
19628
+ "x-designable-id": "9ifgussstsh"
19629
+ }
19630
+ }
19631
+ },
19632
+ btnType: {
19633
+ title: "\u6309\u94AE\u7C7B\u578B",
19634
+ "x-decorator": "CnFormItem",
19635
+ "x-component": "Select",
19636
+ "x-validator": [],
19637
+ "x-component-props": {},
19638
+ "x-decorator-props": {},
19639
+ name: "btnType",
19640
+ enum: [
19641
+ {
19642
+ label: "\u666E\u901A\u6309\u94AE",
19643
+ value: "normal"
19644
+ },
19645
+ {
19646
+ label: "\u4E3B\u6309\u94AE",
19647
+ value: "primary"
19648
+ },
19649
+ {
19650
+ label: "\u6B21\u6309\u94AE",
19651
+ value: "secondary"
19652
+ }
19653
+ ],
19654
+ default: "normal",
19655
+ "x-designable-id": "jtknf7sgpow22221"
19656
+ },
19657
+ iconClass: {
19658
+ title: "\u6309\u94AE\u56FE\u6807",
19659
+ "x-decorator": "CnFormItem",
19660
+ "x-component": "CnInput",
19661
+ "x-validator": [],
19662
+ "x-component-props": {
19663
+ placeholder: "\u8BF7\u8F93\u5165\u56FE\u6807code"
19664
+ },
19665
+ "x-decorator-props": {
19666
+ tip: "\u8BF7\u5230\u56FE\u6807\u5E93\u9009\u62E9\u56FE\u6807code (\u56FE\u6807\u5E93\u5730\u5740: https://cone.cainiao-inc.com/dsm/common/material/pc/CnIcon)"
19667
+ },
19668
+ name: "iconClass",
19669
+ "x-designable-id": "jtknf723334545sgpow22221"
19670
+ },
19671
+ powerId: {
19672
+ title: "\u6743\u9650\u7F16\u7801",
19673
+ "x-decorator": "CnFormItem",
19674
+ "x-component": "Input",
19675
+ "x-validator": [],
19676
+ "x-component-props": {
19677
+ placeholder: "\u8BF7\u8F93\u5165\u6743\u9650\u7F16\u7801\uFF0C\u4E0D\u8BBE\u7F6E\u8868\u793A\u4E00\u76F4\u663E\u793A"
19678
+ },
19679
+ "x-decorator-props": {},
19680
+ name: "powerId",
19681
+ "x-designable-id": "jtknqweqe2221"
19682
+ },
19683
+ tooltip: {
19684
+ type: "string",
19685
+ title: "\u63D0\u793A",
19686
+ "x-decorator": "CnFormItem",
19687
+ "x-component": "Input",
19688
+ "x-validator": [],
19689
+ "x-component-props": {},
19690
+ "x-decorator-props": {
19691
+ tip: "\u989D\u5916\u63D0\u793A\u4FE1\u606F\uFF0C\u76EE\u524D\u4EC5\u90E8\u5206\u6309\u94AE\u652F\u6301"
19692
+ },
19693
+ name: "tooltip",
19694
+ "x-designable-id": "sxbt443332zmzk"
19695
+ }
19696
+ },
19697
+ "x-designable-id": "6mjeu53tsgt"
19698
+ }
19699
+ };
19700
+ };
19701
+ const dataAdaptor$2 = (data, isValue) => {
19702
+ const { action } = data || {};
19703
+ const {
19704
+ type,
19705
+ dataSource,
19706
+ selectValue,
19707
+ shouldRender,
19708
+ secondConfirm: secondConfirm2,
19709
+ secondConfirmTitle,
19710
+ secondConfirmContent,
19711
+ isDisabled,
19712
+ successMessage,
19713
+ errorMessage,
19714
+ delayLoadingMessageDuration,
19715
+ ...otherAction
19716
+ } = action || {};
19717
+ if (type === "ajax") {
19718
+ if (dataSource && !isValue) {
19719
+ data.action = {
19720
+ type,
19721
+ ...otherAction,
19722
+ shouldRender,
19723
+ secondConfirm: secondConfirm2,
19724
+ secondConfirmTitle,
19725
+ secondConfirmContent,
19726
+ isDisabled,
19727
+ successMessage,
19728
+ errorMessage,
19729
+ delayLoadingMessageDuration,
19730
+ ...dataSource
19731
+ };
19732
+ } else {
19733
+ data.action = {
19734
+ type,
19735
+ dataSource: {
19736
+ type,
19737
+ ...otherAction
19738
+ },
19739
+ shouldRender,
19740
+ isDisabled,
19741
+ secondConfirm: secondConfirm2,
19742
+ secondConfirmTitle,
19743
+ secondConfirmContent,
19744
+ successMessage,
19745
+ delayLoadingMessageDuration,
19746
+ errorMessage,
19747
+ ...otherAction
19748
+ };
19749
+ }
19750
+ } else if (["dialog", "drawer", "custom"].includes(type)) {
19751
+ if (!isValue) {
19752
+ data.action = {
19753
+ ...data.action,
19754
+ value: selectValue
19755
+ };
19756
+ delete data.action.selectValue;
19757
+ } else if (isValue) {
19758
+ data.action = {
19759
+ ...data.action,
19760
+ selectValue: data.action.value
19761
+ };
19762
+ }
19763
+ }
19764
+ return { ...data };
19765
+ };
19766
+ var EditTableOperationSchema = {
19767
+ dataAdaptor: dataAdaptor$2,
19768
+ formilySchema
19769
+ };
18551
19770
  var OperationsSchemaSet = {
18552
19771
  button: OperationsSchema,
18553
19772
  multiButton: MultiSchema,
18554
- "batch-add": EditTableBatchAddSchema
19773
+ "batch-add": EditTableBatchAddSchema,
19774
+ editButton: EditTableOperationSchema
18555
19775
  };
18556
19776
  var PrimaryKey = {
18557
19777
  form: {
@@ -25937,7 +27157,7 @@ function hackRowDetail$1(schema) {
25937
27157
  schema.set("rowDetail", void 0);
25938
27158
  }
25939
27159
  }
25940
- var _immutabilityHelper_3_1_1_immutabilityHelper = { exports: {} };
27160
+ var immutabilityHelper = { exports: {} };
25941
27161
  (function(module, exports) {
25942
27162
  Object.defineProperty(exports, "__esModule", { value: true });
25943
27163
  function stringifiable(obj) {
@@ -26183,8 +27403,8 @@ var _immutabilityHelper_3_1_1_immutabilityHelper = { exports: {} };
26183
27403
  return "update(): " + stringifiable(command) + " expects a target of type Set or Map; got " + stringifiable(typeOfTarget);
26184
27404
  });
26185
27405
  }
26186
- })(_immutabilityHelper_3_1_1_immutabilityHelper, _immutabilityHelper_3_1_1_immutabilityHelper.exports);
26187
- var update = /* @__PURE__ */ getDefaultExportFromCjs(_immutabilityHelper_3_1_1_immutabilityHelper.exports);
27406
+ })(immutabilityHelper, immutabilityHelper.exports);
27407
+ var update = /* @__PURE__ */ getDefaultExportFromCjs(immutabilityHelper.exports);
26188
27408
  const mddTableArray$1 = "_mddTableArray_16ght_1";
26189
27409
  const tableArrayTitle$1 = "_tableArrayTitle_16ght_14";
26190
27410
  const tableArrayContent$1 = "_tableArrayContent_16ght_18";
@@ -28385,7 +29605,7 @@ function HeaderToolbarPanel({ schema }) {
28385
29605
  const onAddHandle = () => {
28386
29606
  schema.add(
28387
29607
  {
28388
- type: "batch-add",
29608
+ type: "editButton",
28389
29609
  label: "\u6279\u91CF\u65B0\u589E",
28390
29610
  action: {
28391
29611
  type: "drawer",
@@ -28460,7 +29680,7 @@ const CustomTabItem$1 = ({ title: title2, icon }) => {
28460
29680
  className: styles$1.tabLabel
28461
29681
  }, title2)));
28462
29682
  };
28463
- function FtpBuild({ schema }) {
29683
+ function FtpBuild({ schema, moduleMap }) {
28464
29684
  const [_2, forceUpdate] = React$1.useState({});
28465
29685
  React$1.useEffect(() => {
28466
29686
  schema.on("$updated", (changeData, ignoreUpdate) => {
@@ -29038,7 +30258,7 @@ function getDefaultIndexStyle() {
29038
30258
  `;
29039
30259
  }
29040
30260
  const name = "@cniot/mdd-editor";
29041
- const version = "0.2.0-beta.46";
30261
+ const version = "0.2.0-beta.47";
29042
30262
  const description = "\u6A21\u578B\u9A71\u52A8\u7F16\u8F91\u5668";
29043
30263
  const scripts = {
29044
30264
  build: "vite build"