fan-standard-comp 3.0.13 → 3.0.16

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 (118) hide show
  1. package/Readme.md +0 -2
  2. package/dist/{f26952c118ab6cdcd23dc0028ee98c11.svg → e8686421bcdc3738ee1c41da9fa770d7.svg} +0 -0
  3. package/dist/fan-standard-comp.umd.js +16 -16
  4. package/es/ButtonGroup/ButtonList.js +36 -18
  5. package/es/ButtonGroup/ButtonMenu.js +27 -14
  6. package/es/ButtonGroup/PopConfirmTitle.js +16 -5
  7. package/es/ButtonGroup/index.js +131 -82
  8. package/es/DragContent/DragBar.js +18 -6
  9. package/es/DragContent/index.js +30 -12
  10. package/es/FormComp/ChunkUploader/api.js +21 -8
  11. package/es/FormComp/ChunkUploader/index.js +46 -27
  12. package/es/FormComp/ChunkUploader/lib.js +26 -9
  13. package/es/FormComp/ChunkUploader/upload-queue.class.js +12 -5
  14. package/es/FormComp/ChunkUploader/worker.js +7 -2
  15. package/es/FormComp/EditButton/index.js +35 -16
  16. package/es/FormComp/FieldComponent/ReUpload.js +38 -18
  17. package/es/FormComp/FieldComponent/RefactorTreeSelect.js +49 -26
  18. package/es/FormComp/FieldComponent/TitleNode.js +13 -3
  19. package/es/FormComp/FieldComponent/index.js +112 -72
  20. package/es/FormComp/FieldComponent/setReadonlyValues.js +55 -28
  21. package/es/FormComp/RenderItemGroup/index.d.ts +9 -1
  22. package/es/FormComp/RenderItemGroup/index.js +63 -36
  23. package/es/FormComp/Uploader/index.js +64 -38
  24. package/es/FormComp/Uploader/util.js +11 -2
  25. package/es/FormComp/VarTemplate/index.js +44 -31
  26. package/es/FormComp/index.js +15 -1
  27. package/es/NavLeafScroll/index.js +53 -35
  28. package/es/RefactorTree/index.js +52 -29
  29. package/es/RefactorTree/indexTreeNode.js +54 -31
  30. package/es/RefactorTree/style/index.js +3 -1
  31. package/es/RefactorTree/util.js +18 -10
  32. package/es/SpecIcon/fonts/iconfont.js +2 -0
  33. package/es/SpecIcon/index.js +30 -17
  34. package/es/SplitterLayout/Pane.js +17 -5
  35. package/es/SplitterLayout/index.js +24 -13
  36. package/es/StandardContent/SplitterLayout/Pane.js +25 -13
  37. package/es/StandardContent/SplitterLayout/index.js +43 -30
  38. package/es/StandardContent/SubfieldContent.js +28 -13
  39. package/es/StandardContent/WrapperContent.js +24 -10
  40. package/es/StandardFilter/index.js +46 -27
  41. package/es/StandardForm/ActionList.js +21 -8
  42. package/es/StandardForm/StepForm.d.ts +1 -1
  43. package/es/StandardForm/StepForm.js +72 -41
  44. package/es/StandardForm/TabForm.d.ts +1 -1
  45. package/es/StandardForm/TabForm.js +56 -27
  46. package/es/StandardForm/index.d.ts +3 -1
  47. package/es/StandardForm/index.js +57 -28
  48. package/es/StandardModal/UpdateFormRef.js +18 -4
  49. package/es/StandardModal/index.d.ts +1 -1
  50. package/es/StandardModal/index.js +106 -62
  51. package/es/StandardPanel/index.js +53 -32
  52. package/es/StandardTable/index.js +34 -17
  53. package/es/StandardTable/style/index.js +3 -1
  54. package/es/components/IconNode/index.js +17 -6
  55. package/es/components/index.js +15 -2
  56. package/es/data/func.code.js +9 -2
  57. package/es/data/general.config.js +9 -2
  58. package/es/data/index.js +23 -3
  59. package/es/index.js +229 -24
  60. package/es/utils/ValueFormat.js +9 -1
  61. package/es/utils/filterPermission.js +20 -4
  62. package/es/utils/getParentNodes.js +12 -1
  63. package/es/utils/index.js +35 -3
  64. package/lib/ButtonGroup/ButtonList.js +9 -9
  65. package/lib/ButtonGroup/ButtonMenu.js +11 -11
  66. package/lib/ButtonGroup/PopConfirmTitle.js +5 -5
  67. package/lib/ButtonGroup/index.js +75 -56
  68. package/lib/DragContent/DragBar.js +5 -5
  69. package/lib/DragContent/index.js +7 -7
  70. package/lib/FormComp/ChunkUploader/api.js +4 -4
  71. package/lib/FormComp/ChunkUploader/index.js +10 -10
  72. package/lib/FormComp/ChunkUploader/lib.js +2 -2
  73. package/lib/FormComp/ChunkUploader/upload-queue.class.js +2 -2
  74. package/lib/FormComp/ChunkUploader/worker.js +2 -2
  75. package/lib/FormComp/EditButton/index.js +10 -10
  76. package/lib/FormComp/FieldComponent/ReUpload.js +9 -9
  77. package/lib/FormComp/FieldComponent/RefactorTreeSelect.js +16 -16
  78. package/lib/FormComp/FieldComponent/TitleNode.js +4 -4
  79. package/lib/FormComp/FieldComponent/index.js +36 -36
  80. package/lib/FormComp/FieldComponent/setReadonlyValues.js +17 -17
  81. package/lib/FormComp/RenderItemGroup/index.d.ts +9 -1
  82. package/lib/FormComp/RenderItemGroup/index.js +30 -24
  83. package/lib/FormComp/Uploader/index.js +16 -16
  84. package/lib/FormComp/VarTemplate/index.js +23 -25
  85. package/lib/FormComp/index.js +2 -2
  86. package/lib/NavLeafScroll/index.js +28 -28
  87. package/lib/RefactorTree/index.js +14 -14
  88. package/lib/RefactorTree/indexTreeNode.js +19 -19
  89. package/lib/SpecIcon/index.js +13 -13
  90. package/lib/SplitterLayout/Pane.js +4 -4
  91. package/lib/SplitterLayout/index.js +10 -10
  92. package/lib/StandardContent/SplitterLayout/Pane.js +11 -11
  93. package/lib/StandardContent/SplitterLayout/index.js +27 -27
  94. package/lib/StandardContent/SubfieldContent.js +9 -9
  95. package/lib/StandardContent/WrapperContent.js +7 -7
  96. package/lib/StandardFilter/index.js +18 -18
  97. package/lib/StandardForm/ActionList.js +6 -6
  98. package/lib/StandardForm/StepForm.d.ts +1 -1
  99. package/lib/StandardForm/StepForm.js +30 -27
  100. package/lib/StandardForm/TabForm.d.ts +1 -1
  101. package/lib/StandardForm/TabForm.js +17 -14
  102. package/lib/StandardForm/index.d.ts +3 -1
  103. package/lib/StandardForm/index.js +17 -15
  104. package/lib/StandardModal/UpdateFormRef.js +4 -4
  105. package/lib/StandardModal/index.d.ts +1 -1
  106. package/lib/StandardModal/index.js +53 -39
  107. package/lib/StandardPanel/index.js +23 -23
  108. package/lib/StandardTable/index.js +8 -8
  109. package/lib/components/IconNode/index.js +6 -6
  110. package/lib/components/index.js +2 -2
  111. package/lib/data/func.code.js +2 -2
  112. package/lib/data/general.config.js +2 -2
  113. package/lib/data/index.js +3 -3
  114. package/lib/index.js +22 -22
  115. package/lib/utils/ValueFormat.js +2 -2
  116. package/lib/utils/filterPermission.js +2 -2
  117. package/lib/utils/index.js +2 -2
  118. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -29,127 +29,127 @@ var _exportNames = {
29
29
  Object.defineProperty(exports, "SpecIcon", {
30
30
  enumerable: true,
31
31
  get: function get() {
32
- return _SpecIcon.default;
32
+ return _SpecIcon["default"];
33
33
  }
34
34
  });
35
35
  Object.defineProperty(exports, "ButtonGroup", {
36
36
  enumerable: true,
37
37
  get: function get() {
38
- return _ButtonGroup.default;
38
+ return _ButtonGroup["default"];
39
39
  }
40
40
  });
41
41
  Object.defineProperty(exports, "RefactorTree", {
42
42
  enumerable: true,
43
43
  get: function get() {
44
- return _RefactorTree.default;
44
+ return _RefactorTree["default"];
45
45
  }
46
46
  });
47
47
  Object.defineProperty(exports, "StandardPanel", {
48
48
  enumerable: true,
49
49
  get: function get() {
50
- return _StandardPanel.default;
50
+ return _StandardPanel["default"];
51
51
  }
52
52
  });
53
53
  Object.defineProperty(exports, "StandardTable", {
54
54
  enumerable: true,
55
55
  get: function get() {
56
- return _StandardTable.default;
56
+ return _StandardTable["default"];
57
57
  }
58
58
  });
59
59
  Object.defineProperty(exports, "StandardForm", {
60
60
  enumerable: true,
61
61
  get: function get() {
62
- return _StandardForm.default;
62
+ return _StandardForm["default"];
63
63
  }
64
64
  });
65
65
  Object.defineProperty(exports, "StepForm", {
66
66
  enumerable: true,
67
67
  get: function get() {
68
- return _StepForm.default;
68
+ return _StepForm["default"];
69
69
  }
70
70
  });
71
71
  Object.defineProperty(exports, "TabForm", {
72
72
  enumerable: true,
73
73
  get: function get() {
74
- return _TabForm.default;
74
+ return _TabForm["default"];
75
75
  }
76
76
  });
77
77
  Object.defineProperty(exports, "StandardFilter", {
78
78
  enumerable: true,
79
79
  get: function get() {
80
- return _StandardFilter.default;
80
+ return _StandardFilter["default"];
81
81
  }
82
82
  });
83
83
  Object.defineProperty(exports, "StandardModal", {
84
84
  enumerable: true,
85
85
  get: function get() {
86
- return _StandardModal.default;
86
+ return _StandardModal["default"];
87
87
  }
88
88
  });
89
89
  Object.defineProperty(exports, "Uploader", {
90
90
  enumerable: true,
91
91
  get: function get() {
92
- return _Uploader.default;
92
+ return _Uploader["default"];
93
93
  }
94
94
  });
95
95
  Object.defineProperty(exports, "EditButton", {
96
96
  enumerable: true,
97
97
  get: function get() {
98
- return _EditButton.default;
98
+ return _EditButton["default"];
99
99
  }
100
100
  });
101
101
  Object.defineProperty(exports, "FieldComponent", {
102
102
  enumerable: true,
103
103
  get: function get() {
104
- return _FieldComponent.default;
104
+ return _FieldComponent["default"];
105
105
  }
106
106
  });
107
107
  Object.defineProperty(exports, "Field", {
108
108
  enumerable: true,
109
109
  get: function get() {
110
- return _FieldComponent.default;
110
+ return _FieldComponent["default"];
111
111
  }
112
112
  });
113
113
  Object.defineProperty(exports, "RenderItemGroup", {
114
114
  enumerable: true,
115
115
  get: function get() {
116
- return _RenderItemGroup.default;
116
+ return _RenderItemGroup["default"];
117
117
  }
118
118
  });
119
119
  Object.defineProperty(exports, "ItemGroup", {
120
120
  enumerable: true,
121
121
  get: function get() {
122
- return _RenderItemGroup.default;
122
+ return _RenderItemGroup["default"];
123
123
  }
124
124
  });
125
125
  Object.defineProperty(exports, "SubfieldContent", {
126
126
  enumerable: true,
127
127
  get: function get() {
128
- return _SubfieldContent.default;
128
+ return _SubfieldContent["default"];
129
129
  }
130
130
  });
131
131
  Object.defineProperty(exports, "WrapperContent", {
132
132
  enumerable: true,
133
133
  get: function get() {
134
- return _WrapperContent.default;
134
+ return _WrapperContent["default"];
135
135
  }
136
136
  });
137
137
  Object.defineProperty(exports, "DragContent", {
138
138
  enumerable: true,
139
139
  get: function get() {
140
- return _DragContent.default;
140
+ return _DragContent["default"];
141
141
  }
142
142
  });
143
143
  Object.defineProperty(exports, "SplitterLayout", {
144
144
  enumerable: true,
145
145
  get: function get() {
146
- return _SplitterLayout.default;
146
+ return _SplitterLayout["default"];
147
147
  }
148
148
  });
149
149
  Object.defineProperty(exports, "NavLeafScroll", {
150
150
  enumerable: true,
151
151
  get: function get() {
152
- return _NavLeafScroll.default;
152
+ return _NavLeafScroll["default"];
153
153
  }
154
154
  });
155
155
 
@@ -233,4 +233,4 @@ Object.keys(_data).forEach(function (key) {
233
233
  });
234
234
  });
235
235
 
236
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
236
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = void 0;
6
+ exports["default"] = void 0;
7
7
 
8
8
  /*
9
9
  * 工具类: 表单组控件值格式转换工具
@@ -55,4 +55,4 @@ var UtilValueFormat = function UtilValueFormat(fieldsValue, formItemGroup) {
55
55
  };
56
56
 
57
57
  var _default = UtilValueFormat;
58
- exports.default = _default;
58
+ exports["default"] = _default;
@@ -7,7 +7,7 @@ exports.btnClickFunc = exports.btnIsDisabled = exports.btnIsHide = exports.remov
7
7
 
8
8
  var _lodash = _interopRequireDefault(require("lodash"));
9
9
 
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
11
 
12
12
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
13
13
 
@@ -106,7 +106,7 @@ var removeNoPermission = function removeNoPermission(array, permissionCodes, cod
106
106
  // 与codes进行对比,相应的 code匹配以对应的name,icon,code返回
107
107
  // 如果有配置code,则使用func.code.js里面配置的名称
108
108
  if (codes && resultItem.code) {
109
- var matchIndex = _lodash.default.findIndex(codes, function (btnItem) {
109
+ var matchIndex = _lodash["default"].findIndex(codes, function (btnItem) {
110
110
  return btnItem.code === resultItem.code;
111
111
  });
112
112
 
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "UtilValueFormat", {
7
7
  enumerable: true,
8
8
  get: function get() {
9
- return _ValueFormat.default;
9
+ return _ValueFormat["default"];
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "getParentNodes", {
@@ -32,4 +32,4 @@ var _ValueFormat = _interopRequireDefault(require("./ValueFormat"));
32
32
 
33
33
  var _getParentNodes = require("./getParentNodes");
34
34
 
35
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
35
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fan-standard-comp",
3
- "version": "3.0.13",
3
+ "version": "3.0.16",
4
4
  "description": "FZ standard-comp,basic of antd4.0 and custom component.",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",