@tachybase/client 1.0.18 → 1.1.0

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.
Files changed (106) hide show
  1. package/es/application/Application.d.ts +2 -0
  2. package/es/application/Application.mjs +15 -0
  3. package/es/application/TrackingManager.d.ts +13 -0
  4. package/es/application/TrackingManager.mjs +30 -0
  5. package/es/application/components/SharePage.d.ts +4 -0
  6. package/es/application/components/SharePage.mjs +113 -0
  7. package/es/application/components/ShareSchemaComponent.d.ts +1 -0
  8. package/es/application/components/ShareSchemaComponent.mjs +10 -0
  9. package/es/application/components/index.d.ts +2 -0
  10. package/es/application/components/index.mjs +2 -0
  11. package/es/built-in/admin-layout/index.d.ts +1 -0
  12. package/es/built-in/admin-layout/index.mjs +1 -0
  13. package/es/collection-manager/interfaces/__tests__/json.mjs +2 -2
  14. package/es/collection-manager/interfaces/integer.d.ts +12 -0
  15. package/es/collection-manager/interfaces/integer.mjs +13 -1
  16. package/es/collection-manager/interfaces/number.d.ts +16 -0
  17. package/es/collection-manager/interfaces/number.mjs +22 -1
  18. package/es/collection-manager/interfaces/percent.d.ts +12 -0
  19. package/es/collection-manager/interfaces/percent.mjs +12 -0
  20. package/es/data-source/collection-fields-to-initializer-items/CollectionFieldsToFormInitializerItems.d.ts +3 -0
  21. package/es/data-source/collection-fields-to-initializer-items/CollectionFieldsToFormInitializerItems.mjs +67 -0
  22. package/es/data-source/collection-fields-to-initializer-items/CollectionFieldsToInitializerItems.d.ts +3 -0
  23. package/es/data-source/collection-fields-to-initializer-items/CollectionFieldsToInitializerItems.mjs +37 -0
  24. package/es/data-source/collection-fields-to-initializer-items/index.d.ts +1 -0
  25. package/es/data-source/collection-fields-to-initializer-items/index.mjs +1 -0
  26. package/es/data-source/collection-fields-to-initializer-items/items/AssociationCollectionFields.d.ts +3 -0
  27. package/es/data-source/collection-fields-to-initializer-items/items/AssociationCollectionFields.mjs +59 -0
  28. package/es/data-source/collection-fields-to-initializer-items/items/ParentCollectionFields.d.ts +3 -0
  29. package/es/data-source/collection-fields-to-initializer-items/items/ParentCollectionFields.mjs +34 -0
  30. package/es/data-source/collection-fields-to-initializer-items/items/SelfFields.d.ts +3 -0
  31. package/es/data-source/collection-fields-to-initializer-items/items/SelfFields.mjs +14 -0
  32. package/es/data-source/collection-fields-to-initializer-items/items/index.d.ts +3 -0
  33. package/es/data-source/collection-fields-to-initializer-items/items/index.mjs +7 -0
  34. package/es/data-source/collection-fields-to-initializer-items/utils/getInitializerItemsByFields.d.ts +5 -0
  35. package/es/data-source/collection-fields-to-initializer-items/utils/getInitializerItemsByFields.mjs +91 -0
  36. package/es/data-source/collection-fields-to-initializer-items/utils/index.d.ts +3 -0
  37. package/es/data-source/collection-fields-to-initializer-items/utils/index.mjs +3 -0
  38. package/es/data-source/collection-fields-to-initializer-items/utils/type.d.ts +108 -0
  39. package/es/data-source/collection-fields-to-initializer-items/utils/type.mjs +0 -0
  40. package/es/data-source/collection-fields-to-initializer-items/utils/useCollectionFieldContext.d.ts +21 -0
  41. package/es/data-source/collection-fields-to-initializer-items/utils/useCollectionFieldContext.mjs +31 -0
  42. package/es/data-source/index.d.ts +1 -0
  43. package/es/data-source/index.mjs +1 -0
  44. package/es/modules/blocks/data-blocks/form/fieldSettingsFormItem.mjs +0 -8
  45. package/es/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.d.ts +1 -3
  46. package/es/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.mjs +4 -1
  47. package/es/modules/fields/component/InputNumber/inputNumberComponentFieldSettings.mjs +91 -0
  48. package/es/schema-component/antd/index.d.ts +2 -0
  49. package/es/schema-component/antd/index.mjs +2 -0
  50. package/es/schema-component/antd/page/Page.Settings.mjs +33 -0
  51. package/es/schema-component/antd/page/Page.mjs +113 -18
  52. package/es/schema-component/antd/page/hooks/index.d.ts +1 -0
  53. package/es/schema-component/antd/page/hooks/index.mjs +1 -0
  54. package/es/schema-component/antd/page/hooks/useShareActions.d.ts +7 -0
  55. package/es/schema-component/antd/page/hooks/useShareActions.mjs +245 -0
  56. package/es/schema-component/antd/page/index.d.ts +1 -0
  57. package/es/schema-component/antd/page/index.mjs +1 -0
  58. package/es/schema-component/antd/page/style.d.ts +5 -0
  59. package/es/schema-component/antd/page/style.mjs +59 -2
  60. package/es/schema-component/antd/slider/index.d.ts +1 -0
  61. package/es/schema-component/antd/slider/index.mjs +1 -0
  62. package/es/schema-component/antd/slider/slider.d.ts +3 -0
  63. package/es/schema-component/antd/slider/slider.mjs +11 -0
  64. package/es/schema-component/antd/tracking-link/index.d.ts +10 -0
  65. package/es/schema-component/antd/tracking-link/index.mjs +25 -0
  66. package/es/schema-initializer/utils.d.ts +1 -0
  67. package/es/schema-initializer/utils.mjs +1 -1
  68. package/lib/application/Application.js +15 -0
  69. package/lib/application/TrackingManager.js +66 -0
  70. package/lib/application/components/SharePage.js +150 -0
  71. package/lib/application/components/ShareSchemaComponent.js +44 -0
  72. package/lib/application/components/index.js +18 -0
  73. package/lib/block-provider/hooks/index.js +2 -2
  74. package/lib/built-in/admin-layout/index.js +9 -0
  75. package/lib/collection-manager/interfaces/__tests__/json.js +4 -4
  76. package/lib/collection-manager/interfaces/integer.js +13 -1
  77. package/lib/collection-manager/interfaces/number.js +22 -1
  78. package/lib/collection-manager/interfaces/percent.js +12 -0
  79. package/lib/data-source/collection-fields-to-initializer-items/CollectionFieldsToFormInitializerItems.js +102 -0
  80. package/lib/data-source/collection-fields-to-initializer-items/CollectionFieldsToInitializerItems.js +71 -0
  81. package/lib/data-source/collection-fields-to-initializer-items/index.js +65 -0
  82. package/lib/data-source/collection-fields-to-initializer-items/items/AssociationCollectionFields.js +93 -0
  83. package/lib/data-source/collection-fields-to-initializer-items/items/ParentCollectionFields.js +68 -0
  84. package/lib/data-source/collection-fields-to-initializer-items/items/SelfFields.js +48 -0
  85. package/lib/data-source/collection-fields-to-initializer-items/items/index.js +40 -0
  86. package/lib/data-source/collection-fields-to-initializer-items/utils/getInitializerItemsByFields.js +127 -0
  87. package/lib/data-source/collection-fields-to-initializer-items/utils/index.js +83 -0
  88. package/lib/data-source/collection-fields-to-initializer-items/utils/type.js +19 -0
  89. package/lib/data-source/collection-fields-to-initializer-items/utils/useCollectionFieldContext.js +65 -0
  90. package/lib/data-source/index.js +12 -3
  91. package/lib/locale/zh-CN.js +18 -0
  92. package/lib/modules/blocks/data-blocks/form/fieldSettingsFormItem.js +0 -8
  93. package/lib/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.js +4 -1
  94. package/lib/modules/fields/component/InputNumber/inputNumberComponentFieldSettings.js +91 -0
  95. package/lib/schema-component/antd/index.js +161 -133
  96. package/lib/schema-component/antd/page/Page.Settings.js +33 -0
  97. package/lib/schema-component/antd/page/Page.js +113 -18
  98. package/lib/schema-component/antd/page/hooks/index.js +65 -0
  99. package/lib/schema-component/antd/page/hooks/useShareActions.js +293 -0
  100. package/lib/schema-component/antd/page/index.js +9 -0
  101. package/lib/schema-component/antd/page/style.js +60 -2
  102. package/lib/schema-component/antd/slider/index.js +65 -0
  103. package/lib/schema-component/antd/slider/slider.js +46 -0
  104. package/lib/schema-component/antd/tracking-link/index.js +59 -0
  105. package/lib/schema-initializer/utils.js +2 -1
  106. package/package.json +8 -7
@@ -151,6 +151,8 @@ module.exports = {
151
151
  Calendar: "\u65E5\u5386",
152
152
  "Calendar collection": "\u65E5\u5386\u6570\u636E\u8868",
153
153
  Cancel: "\u53D6\u6D88",
154
+ "Cannot be greater than or equal to the maximum value": "\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u6700\u5927\u503C",
155
+ "Cannot be less than or equal to the minimum value": "\u4E0D\u80FD\u5C0F\u4E8E\u6216\u7B49\u4E8E\u6700\u5C0F\u503C",
154
156
  "Cascade Select": "\u7EA7\u8054\u9009\u62E9",
155
157
  Cascader: "\u7EA7\u8054\u9009\u62E9",
156
158
  Categories: "\u6570\u636E\u8868\u7C7B\u522B",
@@ -216,7 +218,10 @@ module.exports = {
216
218
  "Constant value": "\u9759\u6001\u503C",
217
219
  "Convert reference to duplicate": "\u6A21\u677F\u5F15\u7528\u8F6C\u4E3A\u590D\u5236",
218
220
  "Converted to": "\u8F6C\u6362\u6210",
221
+ "Copy QR code": "\u590D\u5236\u4E8C\u7EF4\u7801",
222
+ "Copy failed, please try again": "\u590D\u5236\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",
219
223
  "Copy into the form and continue to fill in": "\u590D\u5236\u5230\u8868\u5355\u5E76\u7EE7\u7EED\u586B\u5199",
224
+ "Copy link": "\u590D\u5236\u94FE\u63A5",
220
225
  Create: "\u4EC5\u65B0\u589E",
221
226
  "Create an account": "\u6CE8\u518C\u8D26\u53F7",
222
227
  "Create calendar block": "\u521B\u5EFA\u65E5\u5386\u5361\u7247",
@@ -387,6 +392,7 @@ module.exports = {
387
392
  Enable: "\u542F\u7528",
388
393
  "Enable Header": "\u542F\u7528\u5934\u90E8\u680F",
389
394
  "Enable SMS authentication": "\u542F\u7528\u77ED\u4FE1\u767B\u5F55\u548C\u6CE8\u518C",
395
+ "Enable Share page": "\u542F\u7528\u5206\u4EAB\u529F\u80FD",
390
396
  "Enable TabBar": "\u542F\u7528\u5E95\u90E8\u6807\u7B7E\u680F",
391
397
  "Enable Tabs": "\u542F\u7528\u6807\u7B7E\u680F",
392
398
  "Enable actions": "\u542F\u7528\u64CD\u4F5C",
@@ -458,6 +464,7 @@ module.exports = {
458
464
  "General collection": "\u666E\u901A\u6570\u636E\u8868",
459
465
  "General fields": "\u666E\u901A\u5B57\u6BB5",
460
466
  "General permissions": "\u901A\u7528\u914D\u7F6E",
467
+ "Generate QR code": "\u751F\u6210\u4E8C\u7EF4\u7801",
461
468
  "Generated automatically if left blank": "\u7559\u7A7A\u65F6\uFF0C\u81EA\u52A8\u751F\u6210\u4E2D\u95F4\u8868",
462
469
  "Generic properties": "\u901A\u7528\u5C5E\u6027",
463
470
  "Global action permissions": "\u5168\u5C40\u64CD\u4F5C\u6743\u9650",
@@ -497,6 +504,7 @@ module.exports = {
497
504
  Inherits: "\u7EE7\u627F",
498
505
  Inner: "\u91CC\u9762",
499
506
  Input: "\u8F93\u5165\u6846",
507
+ InputNumber: "\u6587\u672C\u6570\u5B57",
500
508
  Insert: "\u63D2\u5165",
501
509
  "Insert above": "\u5728\u4E0A\u9762\u63D2\u5165",
502
510
  "Insert after": "\u5728\u540E\u9762\u63D2\u5165",
@@ -554,6 +562,8 @@ module.exports = {
554
562
  "Logging and monitoring": "\u65E5\u5FD7\u4E0E\u76D1\u63A7",
555
563
  Logo: "Logo",
556
564
  "Long text": "\u591A\u884C\u6587\u672C",
565
+ MAX: "\u6700\u5927\u503C",
566
+ MIN: "\u6700\u5C0F\u503C",
557
567
  Magenta: "\u6CD5\u5F0F\u6D0B\u7EA2",
558
568
  Main: "\u4E3B\u6570\u636E\u6E90",
559
569
  "Main department": "\u4E3B\u5C5E\u90E8\u95E8",
@@ -728,6 +738,7 @@ module.exports = {
728
738
  Province: "\u7701",
729
739
  "Province/city/area name": "\u7701\u5E02\u533A\u540D\u79F0",
730
740
  Purple: "\u9171\u7D2B",
741
+ "QR code": "\u4E8C\u7EF4\u7801",
731
742
  "Quarter of day": "\u56DB\u5206\u4E4B\u4E00\u5929",
732
743
  QuarterYear: "\u5B63\u5EA6",
733
744
  "Quick Update": "\u5FEB\u901F\u66F4\u65B0",
@@ -758,6 +769,7 @@ module.exports = {
758
769
  Remove: "\u79FB\u9664",
759
770
  "Render Failed": "\u6E32\u67D3\u5931\u8D25",
760
771
  Repeats: "\u91CD\u590D",
772
+ Replicated: "\u5DF2\u590D\u5236",
761
773
  "Request API": "\u8BF7\u6C42API",
762
774
  "Request URL": "\u8BF7\u6C42\u5730\u5740",
763
775
  "Request body": "\u8BF7\u6C42\u4F53(JSON\u683C\u5F0F)",
@@ -782,13 +794,16 @@ module.exports = {
782
794
  "Roles & Permissions": "\u89D2\u8272\u548C\u6743\u9650",
783
795
  "SQL collection": "SQL\u6570\u636E\u8868",
784
796
  Save: "\u4FDD\u5B58",
797
+ "Save Picture": "\u4FDD\u5B58\u56FE\u7247",
785
798
  "Save action": "\u4FDD\u5B58\u64CD\u4F5C",
786
799
  "Save as block template": "\u4FDD\u5B58\u4E3A\u5361\u7247\u6A21\u677F",
787
800
  "Save as template": "\u4FDD\u5B58\u4E3A\u6A21\u677F",
788
801
  "Save conditions": "\u4FDD\u5B58\u7B5B\u9009\u6761\u4EF6",
789
802
  "Save mode": "\u4FDD\u5B58\u65B9\u5F0F",
790
803
  "Save record": "\u4FDD\u5B58\u6570\u636E",
804
+ Saved: "\u5DF2\u4FDD\u5B58",
791
805
  "Saved successfully": "\u4FDD\u5B58\u6210\u529F",
806
+ "Scan the code to view the sharing": "\u626B\u7801\u67E5\u770B\u5206\u4EAB",
792
807
  "Scientifix notation": "\u79D1\u5B66\u8BA1\u6570\u6CD5",
793
808
  "Scope name": "\u6570\u636E\u8303\u56F4\u540D\u79F0",
794
809
  "Screen size": "\u5C4F\u5E55\u5C3A\u5BF8",
@@ -831,6 +846,7 @@ module.exports = {
831
846
  Setting: "\u8BBE\u7F6E",
832
847
  "Setting Down Title": "\u8BBE\u7F6E\u6587\u4EF6\u540D\u79F0",
833
848
  Settings: "\u8BBE\u7F6E",
849
+ Share: "\u5206\u4EAB",
834
850
  Sheet: "\u4E0A\u5F39\u6846",
835
851
  "Show Data": "\u663E\u793A\u6570\u636E",
836
852
  "Show lunar": "\u5C55\u793A\u519C\u5386",
@@ -849,6 +865,7 @@ module.exports = {
849
865
  "Single select": "\u4E0B\u62C9\u83DC\u5355\uFF08\u5355\u9009\uFF09",
850
866
  "Single select and radio fields can be used as the grouping field": "\u6570\u636E\u8868\u7684\u5355\u9009\u5B57\u6BB5\u53EF\u4EE5\u4F5C\u4E3A\u5206\u7EC4\u5B57\u6BB5",
851
867
  "Skip required validation": "\u8DF3\u8FC7\u5FC5\u586B\u6821\u9A8C",
868
+ Slider: "\u6ED1\u52A8\u6761",
852
869
  Small: "\u8F83\u7A84",
853
870
  "Sorry, the page you visited does not exist.": "\u5BF9\u4E0D\u8D77\uFF0C\u60A8\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728\u3002",
854
871
  Sort: "\u6392\u5E8F",
@@ -1034,6 +1051,7 @@ module.exports = {
1034
1051
  "not ends with": "\u7ED3\u5C3E\u4E0D\u662F",
1035
1052
  "not exists": "\u4E0D\u5B58\u5728",
1036
1053
  "not starts with": "\u5F00\u5934\u4E0D\u662F",
1054
+ "page link": "\u9875\u9762\u94FE\u63A5",
1037
1055
  pixels: "\u50CF\u7D20",
1038
1056
  "please enter the date": "\u8BF7\u8F93\u5165\u65E5\u671F",
1039
1057
  "re-download file": "\u91CD\u65B0\u4E0B\u8F7D\u6587\u4EF6",
@@ -258,10 +258,6 @@ const fieldSettingsFormItem = new SchemaSettings_js_namespaceObject.SchemaSettin
258
258
  },
259
259
  {
260
260
  name: 'setDefaultValue',
261
- useVisible () {
262
- const { isAllowToSetDefaultValue } = (0, external_schema_settings_index_js_namespaceObject.useIsAllowToSetDefaultValue)();
263
- return isAllowToSetDefaultValue();
264
- },
265
261
  Component: external_schema_settings_index_js_namespaceObject.SchemaSettingsDefaultValue
266
262
  },
267
263
  {
@@ -523,10 +519,6 @@ const fieldSettingsFormItem = new SchemaSettings_js_namespaceObject.SchemaSettin
523
519
  },
524
520
  {
525
521
  ...external_data_source_index_js_namespaceObject.fieldComponentSettingsItem
526
- },
527
- {
528
- name: 'editDefaultValue',
529
- Component: external_schema_settings_index_js_namespaceObject.SchemaSettingsDefaultValue
530
522
  }
531
523
  ];
532
524
  }
@@ -35,7 +35,10 @@ function useEditFormBlockDecoratorProps(props) {
35
35
  let parentRecord;
36
36
  if (props.association) parentRecord = (0, useDetailsDecoratorProps_js_namespaceObject.useDetailsParentRecord)(props.association);
37
37
  return {
38
- params,
38
+ params: {
39
+ ...params,
40
+ ...props.params
41
+ },
39
42
  parentRecord
40
43
  };
41
44
  }
@@ -29,13 +29,104 @@ __webpack_require__.d(__webpack_exports__, {
29
29
  inputNumberComponentFieldSettings: ()=>inputNumberComponentFieldSettings
30
30
  });
31
31
  const schema_namespaceObject = require("@tachybase/schema");
32
+ const external_antd_namespaceObject = require("antd");
33
+ const external_react_i18next_namespaceObject = require("react-i18next");
32
34
  const SchemaSettings_js_namespaceObject = require("../../../../application/schema-settings/SchemaSettings.js");
35
+ const index_js_namespaceObject = require("../../../../schema-component/index.js");
33
36
  const FormItem_Settings_js_namespaceObject = require("../../../../schema-component/antd/form-item/FormItem.Settings.js");
34
37
  const Table_Column_Decorator_js_namespaceObject = require("../../../../schema-component/antd/table-v2/Table.Column.Decorator.js");
35
38
  const SchemaSettingsNumberFormat_js_namespaceObject = require("../../../../schema-settings/SchemaSettingsNumberFormat.js");
36
39
  const inputNumberComponentFieldSettings = new SchemaSettings_js_namespaceObject.SchemaSettings({
37
40
  name: 'fieldSettings:component:InputNumber',
38
41
  items: [
42
+ {
43
+ name: 'setSliderMAXNumber',
44
+ type: 'modal',
45
+ useVisible () {
46
+ var _fieldSchema_xcomponentprops;
47
+ const fieldSchema = (0, schema_namespaceObject.useFieldSchema)();
48
+ return 'Slider' === fieldSchema['x-component'] || (null === (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) || void 0 === _fieldSchema_xcomponentprops ? void 0 : _fieldSchema_xcomponentprops.component) === 'Slider';
49
+ },
50
+ useComponentProps () {
51
+ var _fieldSchema_xcomponentprops, _fieldSchema_xcomponentprops1;
52
+ const { t } = (0, external_react_i18next_namespaceObject.useTranslation)();
53
+ const field = (0, schema_namespaceObject.useField)();
54
+ const fieldSchema = (0, schema_namespaceObject.useFieldSchema)();
55
+ const { dn } = (0, index_js_namespaceObject.useDesignable)();
56
+ return {
57
+ title: t('MAX'),
58
+ value: null === (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) || void 0 === _fieldSchema_xcomponentprops ? void 0 : _fieldSchema_xcomponentprops.max,
59
+ schema: {
60
+ type: 'object',
61
+ title: t('Edit Slider Max'),
62
+ properties: {
63
+ maxNumber: {
64
+ default: (null === (_fieldSchema_xcomponentprops1 = fieldSchema['x-component-props']) || void 0 === _fieldSchema_xcomponentprops1 ? void 0 : _fieldSchema_xcomponentprops1.max) || 100,
65
+ 'x-decorator': 'FormItem',
66
+ 'x-component': 'Input',
67
+ 'x-component-props': {}
68
+ }
69
+ }
70
+ },
71
+ onSubmit (number) {
72
+ if (Number(number.maxNumber) > (field.componentProps['min'] || 0)) {
73
+ fieldSchema['x-component-props']['max'] = Number(number.maxNumber);
74
+ field.componentProps['max'] = Number(number.maxNumber);
75
+ dn.emit('patch', {
76
+ schema: {
77
+ 'x-uid': fieldSchema['x-uid'],
78
+ 'x-component-props': fieldSchema['x-component-props']
79
+ }
80
+ });
81
+ } else external_antd_namespaceObject.message.warning(t('Cannot be less than or equal to the minimum value'));
82
+ }
83
+ };
84
+ }
85
+ },
86
+ {
87
+ name: 'setSliderMinNumber',
88
+ type: 'modal',
89
+ useVisible () {
90
+ var _fieldSchema_xcomponentprops;
91
+ const fieldSchema = (0, schema_namespaceObject.useFieldSchema)();
92
+ return 'Slider' === fieldSchema['x-component'] || (null === (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) || void 0 === _fieldSchema_xcomponentprops ? void 0 : _fieldSchema_xcomponentprops.component) === 'Slider';
93
+ },
94
+ useComponentProps () {
95
+ var _fieldSchema_xcomponentprops, _fieldSchema_xcomponentprops1;
96
+ const { t } = (0, external_react_i18next_namespaceObject.useTranslation)();
97
+ const field = (0, schema_namespaceObject.useField)();
98
+ const fieldSchema = (0, schema_namespaceObject.useFieldSchema)();
99
+ const { dn } = (0, index_js_namespaceObject.useDesignable)();
100
+ return {
101
+ title: t('MIN'),
102
+ value: null === (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) || void 0 === _fieldSchema_xcomponentprops ? void 0 : _fieldSchema_xcomponentprops.min,
103
+ schema: {
104
+ type: 'object',
105
+ title: t('Edit Slider Min'),
106
+ properties: {
107
+ minNumber: {
108
+ default: (null === (_fieldSchema_xcomponentprops1 = fieldSchema['x-component-props']) || void 0 === _fieldSchema_xcomponentprops1 ? void 0 : _fieldSchema_xcomponentprops1.min) || 0,
109
+ 'x-decorator': 'FormItem',
110
+ 'x-component': 'Input',
111
+ 'x-component-props': {}
112
+ }
113
+ }
114
+ },
115
+ onSubmit (number) {
116
+ if (Number(number.minNumber) < (field.componentProps['max'] || 0)) {
117
+ fieldSchema['x-component-props']['min'] = Number(number.minNumber);
118
+ field.componentProps['min'] = Number(number.minNumber);
119
+ dn.emit('patch', {
120
+ schema: {
121
+ 'x-uid': fieldSchema['x-uid'],
122
+ 'x-component-props': fieldSchema['x-component-props']
123
+ }
124
+ });
125
+ } else external_antd_namespaceObject.message.warning(t('Cannot be greater than or equal to the maximum value'));
126
+ }
127
+ };
128
+ }
129
+ },
39
130
  {
40
131
  name: 'displayFormat',
41
132
  Component: SchemaSettingsNumberFormat_js_namespaceObject.SchemaSettingsNumberFormat,