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

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