@byteluck-fe/model-driven-controls 1.7.5 → 1.7.8

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 (104) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/designer.js +158 -0
  2. package/dist/esm/baseControls/BatchDeleteButton/index.js +11 -0
  3. package/dist/esm/baseControls/BatchDeleteButton/property.js +106 -0
  4. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +110 -0
  5. package/dist/esm/baseControls/BatchDeleteButton/types.js +0 -0
  6. package/dist/esm/baseControls/BatchPrintListButton/property.js +10 -10
  7. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -4
  8. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -12
  9. package/dist/esm/baseControls/Button/property.js +16 -16
  10. package/dist/esm/baseControls/CreateFormListButton/property.js +8 -8
  11. package/dist/esm/baseControls/Dashboard/property.js +12 -12
  12. package/dist/esm/baseControls/Divider/property.js +4 -4
  13. package/dist/esm/baseControls/ExportListButton/property.js +8 -8
  14. package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -4
  15. package/dist/esm/baseControls/FormSelectButton/property.js +6 -6
  16. package/dist/esm/baseControls/ImportRecordListButton/property.js +8 -8
  17. package/dist/esm/baseControls/InvoiceCheckButton/property.js +20 -20
  18. package/dist/esm/baseControls/Link/property.js +6 -6
  19. package/dist/esm/baseControls/ListSelectButton/property.js +4 -4
  20. package/dist/esm/baseControls/ListViewSelect/property.js +6 -6
  21. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -4
  22. package/dist/esm/baseControls/Text/property.js +10 -10
  23. package/dist/esm/baseControls/TextOcrButton/property.js +20 -20
  24. package/dist/esm/baseControls/Title/property.js +4 -4
  25. package/dist/esm/baseControls/index.js +1 -0
  26. package/dist/esm/columnControls/ArrayColumn/property.js +6 -6
  27. package/dist/esm/columnControls/AutoNumberColumn/property.js +2 -2
  28. package/dist/esm/columnControls/CustomColumn/designer.js +1 -1
  29. package/dist/esm/columnControls/CustomColumn/property.js +4 -4
  30. package/dist/esm/columnControls/DecimalColumn/designer.js +1 -1
  31. package/dist/esm/columnControls/DecimalColumn/property.js +12 -12
  32. package/dist/esm/columnControls/DepartmentColumn/property.js +4 -4
  33. package/dist/esm/columnControls/EmployeeColumn/property.js +4 -4
  34. package/dist/esm/columnControls/FileColumn/property.js +2 -2
  35. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  36. package/dist/esm/columnControls/LocationColumn/property.js +2 -2
  37. package/dist/esm/columnControls/OperationColumn/property.js +12 -12
  38. package/dist/esm/columnControls/OrderColumn/property.js +8 -8
  39. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  40. package/dist/esm/columnControls/TextColumn/property.js +6 -6
  41. package/dist/esm/columnControls/TimescopeColumn/property.js +4 -4
  42. package/dist/esm/columnControls/TimestampColumn/property.js +4 -4
  43. package/dist/esm/columnControls/VarcharColumn/property.js +8 -8
  44. package/dist/esm/formControls/Address/property.js +10 -10
  45. package/dist/esm/formControls/Amount/designer.js +1 -1
  46. package/dist/esm/formControls/Amount/property.js +22 -22
  47. package/dist/esm/formControls/Attachment/property.js +16 -16
  48. package/dist/esm/formControls/AutoNumber/property.js +6 -6
  49. package/dist/esm/formControls/Calc/designer.js +1 -1
  50. package/dist/esm/formControls/Calc/property.js +14 -14
  51. package/dist/esm/formControls/Checkbox/property.js +26 -26
  52. package/dist/esm/formControls/DatePicker/property.js +18 -18
  53. package/dist/esm/formControls/DateRange/property.js +18 -18
  54. package/dist/esm/formControls/Department/designer.js +1 -1
  55. package/dist/esm/formControls/Department/property.js +22 -22
  56. package/dist/esm/formControls/Department2/designer.js +1 -1
  57. package/dist/esm/formControls/Department2/property.js +30 -30
  58. package/dist/esm/formControls/ElectronicSignature/property.js +12 -12
  59. package/dist/esm/formControls/Employee/property.js +18 -18
  60. package/dist/esm/formControls/Employee2/property.js +28 -28
  61. package/dist/esm/formControls/Image/designer.js +5 -5
  62. package/dist/esm/formControls/Image/runtime.js +7 -7
  63. package/dist/esm/formControls/Input/property.js +14 -14
  64. package/dist/esm/formControls/Number/designer.js +1 -1
  65. package/dist/esm/formControls/Number/property.js +26 -26
  66. package/dist/esm/formControls/Radio/property.js +22 -22
  67. package/dist/esm/formControls/RichText/property.js +10 -10
  68. package/dist/esm/formControls/Score/designer.js +2 -2
  69. package/dist/esm/formControls/Score/property.js +14 -14
  70. package/dist/esm/formControls/SearchDateRange/property.js +20 -20
  71. package/dist/esm/formControls/SearchNumberRange/property.js +12 -12
  72. package/dist/esm/formControls/Select/property.js +16 -16
  73. package/dist/esm/formControls/SelectMultiple/property.js +14 -14
  74. package/dist/esm/formControls/SelectRelation/property.js +14 -14
  75. package/dist/esm/formControls/Textarea/property.js +12 -12
  76. package/dist/esm/formControls/Tree/property.js +26 -26
  77. package/dist/esm/formControls/VueFormItem/property.js +10 -10
  78. package/dist/esm/formControls/WPS/property.js +24 -24
  79. package/dist/esm/framework.js +70 -70
  80. package/dist/esm/layoutControls/CardGroup/property.js +6 -6
  81. package/dist/esm/layoutControls/Col/property.js +4 -4
  82. package/dist/esm/layoutControls/DataView/property.js +12 -12
  83. package/dist/esm/layoutControls/GridTableColumn/property.js +20 -20
  84. package/dist/esm/layoutControls/ListView/property.js +18 -16
  85. package/dist/esm/layoutControls/Page/property.js +2 -2
  86. package/dist/esm/layoutControls/Position/property.js +8 -8
  87. package/dist/esm/layoutControls/Row/property.js +4 -4
  88. package/dist/esm/layoutControls/SubTableColumn/property.js +12 -12
  89. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  90. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  91. package/dist/esm/listControls/GridTable/property.js +8 -8
  92. package/dist/esm/listControls/SubTable/designer.js +2 -2
  93. package/dist/esm/listControls/SubTable/property.js +42 -42
  94. package/dist/esm/searchControls/SimpleSearch/property.js +14 -14
  95. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  96. package/dist/index.umd.js +1 -1
  97. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +13 -0
  98. package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -0
  99. package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -0
  100. package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -0
  101. package/dist/types/baseControls/BatchDeleteButton/types.d.ts +0 -0
  102. package/dist/types/baseControls/index.d.ts +1 -0
  103. package/dist/types/layoutControls/ListView/property.d.ts +1 -0
  104. package/package.json +2 -2
@@ -0,0 +1,158 @@
1
+ function _assertThisInitialized(self) {
2
+ if (self === void 0) {
3
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
+ }
5
+ return self;
6
+ }
7
+ function _classCallCheck(instance, Constructor) {
8
+ if (!(instance instanceof Constructor)) {
9
+ throw new TypeError("Cannot call a class as a function");
10
+ }
11
+ }
12
+ function _defineProperties(target, props) {
13
+ for(var i = 0; i < props.length; i++){
14
+ var descriptor = props[i];
15
+ descriptor.enumerable = descriptor.enumerable || false;
16
+ descriptor.configurable = true;
17
+ if ("value" in descriptor) descriptor.writable = true;
18
+ Object.defineProperty(target, descriptor.key, descriptor);
19
+ }
20
+ }
21
+ function _createClass(Constructor, protoProps, staticProps) {
22
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
23
+ if (staticProps) _defineProperties(Constructor, staticProps);
24
+ return Constructor;
25
+ }
26
+ function _getPrototypeOf(o) {
27
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
28
+ return o.__proto__ || Object.getPrototypeOf(o);
29
+ };
30
+ return _getPrototypeOf(o);
31
+ }
32
+ function _inherits(subClass, superClass) {
33
+ if (typeof superClass !== "function" && superClass !== null) {
34
+ throw new TypeError("Super expression must either be null or a function");
35
+ }
36
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
37
+ constructor: {
38
+ value: subClass,
39
+ writable: true,
40
+ configurable: true
41
+ }
42
+ });
43
+ if (superClass) _setPrototypeOf(subClass, superClass);
44
+ }
45
+ function _possibleConstructorReturn(self, call) {
46
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
47
+ return call;
48
+ }
49
+ return _assertThisInitialized(self);
50
+ }
51
+ function _setPrototypeOf(o, p) {
52
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
53
+ o.__proto__ = p;
54
+ return o;
55
+ };
56
+ return _setPrototypeOf(o, p);
57
+ }
58
+ var _typeof = function(obj) {
59
+ "@swc/helpers - typeof";
60
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
61
+ };
62
+ function _isNativeReflectConstruct() {
63
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
64
+ if (Reflect.construct.sham) return false;
65
+ if (typeof Proxy === "function") return true;
66
+ try {
67
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
68
+ return true;
69
+ } catch (e) {
70
+ return false;
71
+ }
72
+ }
73
+ function _createSuper(Derived) {
74
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
75
+ return function _createSuperInternal() {
76
+ var Super = _getPrototypeOf(Derived), result;
77
+ if (hasNativeReflectConstruct) {
78
+ var NewTarget = _getPrototypeOf(this).constructor;
79
+ result = Reflect.construct(Super, arguments, NewTarget);
80
+ } else {
81
+ result = Super.apply(this, arguments);
82
+ }
83
+ return _possibleConstructorReturn(this, result);
84
+ };
85
+ }
86
+ import { DesignerControl, COMMON_SETTING_TYPE } from "@byteluck-fe/model-driven-core";
87
+ import { BatchDeleteButtonProperty } from "./property";
88
+ var BatchDeleteButtonControl = /*#__PURE__*/ function(DesignerControl) {
89
+ "use strict";
90
+ _inherits(BatchDeleteButtonControl, DesignerControl);
91
+ var _super = _createSuper(BatchDeleteButtonControl);
92
+ function BatchDeleteButtonControl(props) {
93
+ _classCallCheck(this, BatchDeleteButtonControl);
94
+ var _this;
95
+ _this = _super.call(this, props);
96
+ _this.props = new BatchDeleteButtonProperty(props === null || props === void 0 ? void 0 : props.props);
97
+ return _this;
98
+ }
99
+ _createClass(BatchDeleteButtonControl, null, [
100
+ {
101
+ key: "controlName",
102
+ get: function get() {
103
+ return "批量删除";
104
+ }
105
+ },
106
+ {
107
+ key: "controlIcon",
108
+ get: function get() {
109
+ return "iconlajitong";
110
+ }
111
+ },
112
+ {
113
+ key: "controlType",
114
+ get: function get() {
115
+ return "list-page-btn-batch-delete";
116
+ }
117
+ }
118
+ ]);
119
+ return BatchDeleteButtonControl;
120
+ }(DesignerControl);
121
+ BatchDeleteButtonControl.controlEventKeys = [
122
+ "on_click"
123
+ ];
124
+ BatchDeleteButtonControl.setting = [
125
+ {
126
+ key: "button-content",
127
+ visible: true
128
+ },
129
+ {
130
+ key: "button-type",
131
+ visible: true
132
+ },
133
+ {
134
+ key: "button-show-type",
135
+ visible: true
136
+ },
137
+ {
138
+ key: "button-color-type",
139
+ visible: true
140
+ },
141
+ {
142
+ key: "default-state",
143
+ visible: true
144
+ },
145
+ {
146
+ key: "common-setting",
147
+ visible: true,
148
+ showItems: [
149
+ COMMON_SETTING_TYPE.IS_HIDE
150
+ ]
151
+ },
152
+ {
153
+ key: "super-setting",
154
+ visible: true
155
+ }
156
+ ];
157
+ export default BatchDeleteButtonControl;
158
+ export { BatchDeleteButtonControl as DesignerBatchDeleteButtonControl };
@@ -0,0 +1,11 @@
1
+ import Designer from "./designer";
2
+ import Runtime from "./runtime";
3
+ import Property from "./property";
4
+ export default {
5
+ Designer: Designer,
6
+ Runtime: Runtime,
7
+ Property: Property
8
+ };
9
+ export * from "./designer";
10
+ export * from "./runtime";
11
+ export * from "./property";
@@ -0,0 +1,106 @@
1
+ function _assertThisInitialized(self) {
2
+ if (self === void 0) {
3
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
+ }
5
+ return self;
6
+ }
7
+ function _classCallCheck(instance, Constructor) {
8
+ if (!(instance instanceof Constructor)) {
9
+ throw new TypeError("Cannot call a class as a function");
10
+ }
11
+ }
12
+ function _getPrototypeOf(o) {
13
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
14
+ return o.__proto__ || Object.getPrototypeOf(o);
15
+ };
16
+ return _getPrototypeOf(o);
17
+ }
18
+ function _inherits(subClass, superClass) {
19
+ if (typeof superClass !== "function" && superClass !== null) {
20
+ throw new TypeError("Super expression must either be null or a function");
21
+ }
22
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
23
+ constructor: {
24
+ value: subClass,
25
+ writable: true,
26
+ configurable: true
27
+ }
28
+ });
29
+ if (superClass) _setPrototypeOf(subClass, superClass);
30
+ }
31
+ function _possibleConstructorReturn(self, call) {
32
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
33
+ return call;
34
+ }
35
+ return _assertThisInitialized(self);
36
+ }
37
+ function _setPrototypeOf(o, p) {
38
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
39
+ o.__proto__ = p;
40
+ return o;
41
+ };
42
+ return _setPrototypeOf(o, p);
43
+ }
44
+ var _typeof = function(obj) {
45
+ "@swc/helpers - typeof";
46
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
47
+ };
48
+ function _isNativeReflectConstruct() {
49
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
50
+ if (Reflect.construct.sham) return false;
51
+ if (typeof Proxy === "function") return true;
52
+ try {
53
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
54
+ return true;
55
+ } catch (e) {
56
+ return false;
57
+ }
58
+ }
59
+ function _createSuper(Derived) {
60
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
61
+ return function _createSuperInternal() {
62
+ var Super = _getPrototypeOf(Derived), result;
63
+ if (hasNativeReflectConstruct) {
64
+ var NewTarget = _getPrototypeOf(this).constructor;
65
+ result = Reflect.construct(Super, arguments, NewTarget);
66
+ } else {
67
+ result = Super.apply(this, arguments);
68
+ }
69
+ return _possibleConstructorReturn(this, result);
70
+ };
71
+ }
72
+ import { Property } from "@byteluck-fe/model-driven-core";
73
+ import BatchDeleteButtonControl from "./designer";
74
+ var BatchDeleteButtonProperty = /*#__PURE__*/ function(Property) {
75
+ "use strict";
76
+ _inherits(BatchDeleteButtonProperty, Property);
77
+ var _super = _createSuper(BatchDeleteButtonProperty);
78
+ function BatchDeleteButtonProperty(props) {
79
+ _classCallCheck(this, BatchDeleteButtonProperty);
80
+ var _this;
81
+ _this = _super.call(this, props);
82
+ var _props_content;
83
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchDeleteButtonControl.controlName;
84
+ var _props_icon;
85
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchDeleteButtonControl.controlIcon;
86
+ var _props_buttonType;
87
+ _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : "primary";
88
+ var _props_showType;
89
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "iconText";
90
+ var _props_color;
91
+ _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "danger";
92
+ var _props_isHide;
93
+ _this.isHide = (_props_isHide = props === null || props === void 0 ? void 0 : props.isHide) !== null && _props_isHide !== void 0 ? _props_isHide : false;
94
+ var _props_defaultState;
95
+ // @余石伟 按钮需要有默认icon
96
+ _this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
97
+ var _props_command;
98
+ _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "custom";
99
+ var _props_isLoading;
100
+ _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
101
+ return _this;
102
+ }
103
+ return BatchDeleteButtonProperty;
104
+ }(Property);
105
+ export default BatchDeleteButtonProperty;
106
+ export { BatchDeleteButtonProperty };
@@ -0,0 +1,110 @@
1
+ function _assertThisInitialized(self) {
2
+ if (self === void 0) {
3
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
+ }
5
+ return self;
6
+ }
7
+ function _classCallCheck(instance, Constructor) {
8
+ if (!(instance instanceof Constructor)) {
9
+ throw new TypeError("Cannot call a class as a function");
10
+ }
11
+ }
12
+ function _defineProperties(target, props) {
13
+ for(var i = 0; i < props.length; i++){
14
+ var descriptor = props[i];
15
+ descriptor.enumerable = descriptor.enumerable || false;
16
+ descriptor.configurable = true;
17
+ if ("value" in descriptor) descriptor.writable = true;
18
+ Object.defineProperty(target, descriptor.key, descriptor);
19
+ }
20
+ }
21
+ function _createClass(Constructor, protoProps, staticProps) {
22
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
23
+ if (staticProps) _defineProperties(Constructor, staticProps);
24
+ return Constructor;
25
+ }
26
+ function _getPrototypeOf(o) {
27
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
28
+ return o.__proto__ || Object.getPrototypeOf(o);
29
+ };
30
+ return _getPrototypeOf(o);
31
+ }
32
+ function _inherits(subClass, superClass) {
33
+ if (typeof superClass !== "function" && superClass !== null) {
34
+ throw new TypeError("Super expression must either be null or a function");
35
+ }
36
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
37
+ constructor: {
38
+ value: subClass,
39
+ writable: true,
40
+ configurable: true
41
+ }
42
+ });
43
+ if (superClass) _setPrototypeOf(subClass, superClass);
44
+ }
45
+ function _possibleConstructorReturn(self, call) {
46
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
47
+ return call;
48
+ }
49
+ return _assertThisInitialized(self);
50
+ }
51
+ function _setPrototypeOf(o, p) {
52
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
53
+ o.__proto__ = p;
54
+ return o;
55
+ };
56
+ return _setPrototypeOf(o, p);
57
+ }
58
+ var _typeof = function(obj) {
59
+ "@swc/helpers - typeof";
60
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
61
+ };
62
+ function _isNativeReflectConstruct() {
63
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
64
+ if (Reflect.construct.sham) return false;
65
+ if (typeof Proxy === "function") return true;
66
+ try {
67
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
68
+ return true;
69
+ } catch (e) {
70
+ return false;
71
+ }
72
+ }
73
+ function _createSuper(Derived) {
74
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
75
+ return function _createSuperInternal() {
76
+ var Super = _getPrototypeOf(Derived), result;
77
+ if (hasNativeReflectConstruct) {
78
+ var NewTarget = _getPrototypeOf(this).constructor;
79
+ result = Reflect.construct(Super, arguments, NewTarget);
80
+ } else {
81
+ result = Super.apply(this, arguments);
82
+ }
83
+ return _possibleConstructorReturn(this, result);
84
+ };
85
+ }
86
+ import { RuntimeControl } from "@byteluck-fe/model-driven-core";
87
+ import { BatchDeleteButtonProperty } from "./property";
88
+ var ButtonControl = /*#__PURE__*/ function(RuntimeControl) {
89
+ "use strict";
90
+ _inherits(ButtonControl, RuntimeControl);
91
+ var _super = _createSuper(ButtonControl);
92
+ function ButtonControl(props) {
93
+ _classCallCheck(this, ButtonControl);
94
+ var _this;
95
+ _this = _super.call(this, props);
96
+ _this.props = new BatchDeleteButtonProperty(props === null || props === void 0 ? void 0 : props.props);
97
+ return _this;
98
+ }
99
+ _createClass(ButtonControl, null, [
100
+ {
101
+ key: "controlType",
102
+ get: function get() {
103
+ return "list-page-btn-batch-delete";
104
+ }
105
+ }
106
+ ]);
107
+ return ButtonControl;
108
+ }(RuntimeControl);
109
+ export default ButtonControl;
110
+ export { ButtonControl as RuntimeButtonControl };
@@ -99,18 +99,18 @@ var BatchPrintListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
99
99
  function BatchPrintListButtonProperty(props) {
100
100
  _classCallCheck(this, BatchPrintListButtonProperty);
101
101
  var _this;
102
- var ref;
102
+ var _props_printTemplates;
103
103
  _this = _super.call(this, props);
104
- var ref1;
105
- _this.icon = (ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && ref1 !== void 0 ? ref1 : BatchPrintListButtonControl.controlIcon;
106
- var ref2;
107
- _this.content = (ref2 = props === null || props === void 0 ? void 0 : props.content) !== null && ref2 !== void 0 ? ref2 : BatchPrintListButtonControl.controlName;
108
- var ref3;
109
- _this.printTemplates = (ref3 = props === null || props === void 0 ? void 0 : (ref = props.printTemplates) === null || ref === void 0 ? void 0 : ref.map(function(item) {
104
+ var _props_icon;
105
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchPrintListButtonControl.controlIcon;
106
+ var _props_content;
107
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchPrintListButtonControl.controlName;
108
+ var _props_printTemplates_map;
109
+ _this.printTemplates = (_props_printTemplates_map = props === null || props === void 0 ? void 0 : (_props_printTemplates = props.printTemplates) === null || _props_printTemplates === void 0 ? void 0 : _props_printTemplates.map(function(item) {
110
110
  return new PrintTemplate(item);
111
- })) !== null && ref3 !== void 0 ? ref3 : [];
112
- var ref4;
113
- _this.autoSelectTemplate = (ref4 = props === null || props === void 0 ? void 0 : props.autoSelectTemplate) !== null && ref4 !== void 0 ? ref4 : false;
111
+ })) !== null && _props_printTemplates_map !== void 0 ? _props_printTemplates_map : [];
112
+ var _props_autoSelectTemplate;
113
+ _this.autoSelectTemplate = (_props_autoSelectTemplate = props === null || props === void 0 ? void 0 : props.autoSelectTemplate) !== null && _props_autoSelectTemplate !== void 0 ? _props_autoSelectTemplate : false;
114
114
  return _this;
115
115
  }
116
116
  return BatchPrintListButtonProperty;
@@ -79,10 +79,10 @@ var BatchPrintRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty)
79
79
  _classCallCheck(this, BatchPrintRecordListButtonProperty);
80
80
  var _this;
81
81
  _this = _super.call(this, props);
82
- var ref;
83
- _this.content = (ref = props === null || props === void 0 ? void 0 : props.content) !== null && ref !== void 0 ? ref : BatchPrintRecordListButton.controlName;
84
- var ref1;
85
- _this.icon = (ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && ref1 !== void 0 ? ref1 : BatchPrintRecordListButton.controlIcon;
82
+ var _props_content;
83
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchPrintRecordListButton.controlName;
84
+ var _props_icon;
85
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchPrintRecordListButton.controlIcon;
86
86
  return _this;
87
87
  }
88
88
  return BatchPrintRecordListButtonProperty;
@@ -104,18 +104,18 @@ var BatchSubmissionListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
104
104
  _classCallCheck(this, BatchSubmissionListButtonProperty);
105
105
  var _this;
106
106
  _this = _super.call(this, props);
107
- var ref;
108
- _this.icon = (ref = props === null || props === void 0 ? void 0 : props.icon) !== null && ref !== void 0 ? ref : BatchSubmissionListButtonControl.controlIcon;
109
- var ref1;
110
- _this.content = (ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && ref1 !== void 0 ? ref1 : BatchSubmissionListButtonControl.controlName;
111
- var ref2;
112
- _this.initiatorMode = (ref2 = props === null || props === void 0 ? void 0 : props.initiatorMode) !== null && ref2 !== void 0 ? ref2 : "currentInitiator";
113
- var ref3;
114
- _this.processKey = (ref3 = props === null || props === void 0 ? void 0 : props.processKey) !== null && ref3 !== void 0 ? ref3 : "";
115
- var ref4;
116
- _this.fieldCode = (ref4 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref4 !== void 0 ? ref4 : "";
117
- var ref5;
118
- _this.employeeId = (ref5 = props === null || props === void 0 ? void 0 : props.employeeId) !== null && ref5 !== void 0 ? ref5 : "";
107
+ var _props_icon;
108
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchSubmissionListButtonControl.controlIcon;
109
+ var _props_content;
110
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchSubmissionListButtonControl.controlName;
111
+ var _props_initiatorMode;
112
+ _this.initiatorMode = (_props_initiatorMode = props === null || props === void 0 ? void 0 : props.initiatorMode) !== null && _props_initiatorMode !== void 0 ? _props_initiatorMode : "currentInitiator";
113
+ var _props_processKey;
114
+ _this.processKey = (_props_processKey = props === null || props === void 0 ? void 0 : props.processKey) !== null && _props_processKey !== void 0 ? _props_processKey : "";
115
+ var _props_fieldCode;
116
+ _this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
117
+ var _props_employeeId;
118
+ _this.employeeId = (_props_employeeId = props === null || props === void 0 ? void 0 : props.employeeId) !== null && _props_employeeId !== void 0 ? _props_employeeId : "";
119
119
  return _this;
120
120
  }
121
121
  return BatchSubmissionListButtonProperty;
@@ -78,23 +78,23 @@ var ButtonProperty = /*#__PURE__*/ function(Property) {
78
78
  _classCallCheck(this, ButtonProperty);
79
79
  var _this;
80
80
  _this = _super.call(this, props);
81
- var ref;
82
- _this.content = (ref = props === null || props === void 0 ? void 0 : props.content) !== null && ref !== void 0 ? ref : "按钮";
83
- var ref1;
84
- _this.buttonType = (ref1 = props === null || props === void 0 ? void 0 : props.buttonType) !== null && ref1 !== void 0 ? ref1 : "primary";
85
- var ref2;
86
- _this.showType = (ref2 = props === null || props === void 0 ? void 0 : props.showType) !== null && ref2 !== void 0 ? ref2 : "text";
87
- var ref3;
88
- _this.color = (ref3 = props === null || props === void 0 ? void 0 : props.color) !== null && ref3 !== void 0 ? ref3 : "primary";
89
- var ref4;
81
+ var _props_content;
82
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "按钮";
83
+ var _props_buttonType;
84
+ _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : "primary";
85
+ var _props_showType;
86
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "text";
87
+ var _props_color;
88
+ _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "primary";
89
+ var _props_icon;
90
90
  // @余石伟 按钮需要有默认icon
91
- _this.icon = (ref4 = props === null || props === void 0 ? void 0 : props.icon) !== null && ref4 !== void 0 ? ref4 : "iconfenlei2";
92
- var ref5;
93
- _this.defaultState = (ref5 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && ref5 !== void 0 ? ref5 : "default";
94
- var ref6;
95
- _this.command = (ref6 = props === null || props === void 0 ? void 0 : props.command) !== null && ref6 !== void 0 ? ref6 : "custom";
96
- var ref7;
97
- _this.isLoading = (ref7 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && ref7 !== void 0 ? ref7 : false;
91
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconfenlei2";
92
+ var _props_defaultState;
93
+ _this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
94
+ var _props_command;
95
+ _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "custom";
96
+ var _props_isLoading;
97
+ _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
98
98
  return _this;
99
99
  }
100
100
  return ButtonProperty;
@@ -98,14 +98,14 @@ var CreateFormListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
98
98
  _classCallCheck(this, CreateFormListButtonProperty);
99
99
  var _this;
100
100
  _this = _super.call(this, props);
101
- var ref;
102
- _this.icon = (ref = props === null || props === void 0 ? void 0 : props.icon) !== null && ref !== void 0 ? ref : CreateFormListButtonControl.controlIcon;
103
- var ref1;
104
- _this.content = (ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && ref1 !== void 0 ? ref1 : CreateFormListButtonControl.controlName;
105
- var ref2;
106
- _this.formKey = (ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && ref2 !== void 0 ? ref2 : "";
107
- var ref3;
108
- _this.openType = (ref3 = props === null || props === void 0 ? void 0 : props.openType) !== null && ref3 !== void 0 ? ref3 : "modal";
101
+ var _props_icon;
102
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : CreateFormListButtonControl.controlIcon;
103
+ var _props_content;
104
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : CreateFormListButtonControl.controlName;
105
+ var _props_formKey;
106
+ _this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
107
+ var _props_openType;
108
+ _this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
109
109
  return _this;
110
110
  }
111
111
  return CreateFormListButtonProperty;
@@ -119,18 +119,18 @@ var DashboardProperty = /*#__PURE__*/ function(Property) {
119
119
  _classCallCheck(this, DashboardProperty);
120
120
  var _this;
121
121
  _this = _super.call(this, props);
122
- var ref;
123
- _this.dashboardKey = (ref = props === null || props === void 0 ? void 0 : props.dashboardKey) !== null && ref !== void 0 ? ref : "";
124
- var ref1;
125
- _this.caption = (ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref1 !== void 0 ? ref1 : "";
126
- var ref2;
127
- _this.isHideCaption = (ref2 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && ref2 !== void 0 ? ref2 : false;
128
- var ref3;
129
- _this.isShowCaptionTip = (ref3 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && ref3 !== void 0 ? ref3 : false;
130
- var ref4;
131
- _this.captionTip = (ref4 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && ref4 !== void 0 ? ref4 : "";
132
- var ref5;
133
- _this.labelPosition = (ref5 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && ref5 !== void 0 ? ref5 : "top";
122
+ var _props_dashboardKey;
123
+ _this.dashboardKey = (_props_dashboardKey = props === null || props === void 0 ? void 0 : props.dashboardKey) !== null && _props_dashboardKey !== void 0 ? _props_dashboardKey : "";
124
+ var _props_caption;
125
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : "";
126
+ var _props_isHideCaption;
127
+ _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
128
+ var _props_isShowCaptionTip;
129
+ _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
130
+ var _props_captionTip;
131
+ _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : "";
132
+ var _props_labelPosition;
133
+ _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : "top";
134
134
  return _this;
135
135
  }
136
136
  return DashboardProperty;
@@ -80,10 +80,10 @@ var DividerProperty = /*#__PURE__*/ function(Property) {
80
80
  _classCallCheck(this, DividerProperty);
81
81
  var _this;
82
82
  _this = _super.call(this, props);
83
- var ref;
84
- _this.color = (ref = props === null || props === void 0 ? void 0 : props.color) !== null && ref !== void 0 ? ref : "#000";
85
- var ref1;
86
- _this.lineStyle = (ref1 = props === null || props === void 0 ? void 0 : props.lineStyle) !== null && ref1 !== void 0 ? ref1 : LINE_STYLE.SOLID;
83
+ var _props_color;
84
+ _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "#000";
85
+ var _props_lineStyle;
86
+ _this.lineStyle = (_props_lineStyle = props === null || props === void 0 ? void 0 : props.lineStyle) !== null && _props_lineStyle !== void 0 ? _props_lineStyle : LINE_STYLE.SOLID;
87
87
  return _this;
88
88
  }
89
89
  return DividerProperty;
@@ -79,16 +79,16 @@ var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
79
79
  function ExportListButtonProperty(props) {
80
80
  _classCallCheck(this, ExportListButtonProperty);
81
81
  var _this;
82
- var ref;
82
+ var _props_templateList;
83
83
  _this = _super.call(this, props);
84
- var ref1;
85
- _this.icon = (ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && ref1 !== void 0 ? ref1 : ExportListButtonControl.controlIcon;
86
- var ref2;
87
- _this.content = (ref2 = props === null || props === void 0 ? void 0 : props.content) !== null && ref2 !== void 0 ? ref2 : ExportListButtonControl.controlName;
88
- var ref3;
89
- _this.templateList = (ref3 = props === null || props === void 0 ? void 0 : (ref = props.templateList) === null || ref === void 0 ? void 0 : ref.map(function(item) {
84
+ var _props_icon;
85
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ExportListButtonControl.controlIcon;
86
+ var _props_content;
87
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ExportListButtonControl.controlName;
88
+ var _props_templateList_map;
89
+ _this.templateList = (_props_templateList_map = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
90
90
  return new ExportTemplate(item);
91
- })) !== null && ref3 !== void 0 ? ref3 : [
91
+ })) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [
92
92
  new ExportTemplate({
93
93
  id: "default",
94
94
  name: "默认模板",
@@ -79,10 +79,10 @@ var ExportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
79
79
  _classCallCheck(this, ExportRecordListButtonProperty);
80
80
  var _this;
81
81
  _this = _super.call(this, props);
82
- var ref;
83
- _this.content = (ref = props === null || props === void 0 ? void 0 : props.content) !== null && ref !== void 0 ? ref : ExportRecordListButtonControl.controlName;
84
- var ref1;
85
- _this.icon = (ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && ref1 !== void 0 ? ref1 : ExportRecordListButtonControl.controlIcon;
82
+ var _props_content;
83
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ExportRecordListButtonControl.controlName;
84
+ var _props_icon;
85
+ _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ExportRecordListButtonControl.controlIcon;
86
86
  return _this;
87
87
  }
88
88
  return ExportRecordListButtonProperty;