@byteluck-fe/model-driven-controls 2.3.0 → 2.3.1-beta.2

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 (165) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/designer.js +1 -1
  2. package/dist/esm/baseControls/BatchDeleteButton/property.js +18 -18
  3. package/dist/esm/baseControls/BatchPrintListButton/designer.js +1 -1
  4. package/dist/esm/baseControls/BatchPrintListButton/property.js +10 -10
  5. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -1
  6. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -4
  7. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -1
  8. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +13 -13
  9. package/dist/esm/baseControls/Button/designer.js +1 -1
  10. package/dist/esm/baseControls/Button/property.js +16 -16
  11. package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -1
  12. package/dist/esm/baseControls/CreateFormListButton/property.js +8 -8
  13. package/dist/esm/baseControls/Dashboard/designer.js +3 -3
  14. package/dist/esm/baseControls/Dashboard/property.js +12 -12
  15. package/dist/esm/baseControls/Divider/designer.js +1 -1
  16. package/dist/esm/baseControls/Divider/property.js +4 -4
  17. package/dist/esm/baseControls/ExportListButton/designer.js +1 -1
  18. package/dist/esm/baseControls/ExportListButton/property.js +9 -9
  19. package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -1
  20. package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -4
  21. package/dist/esm/baseControls/FormSelectButton/designer.js +1 -1
  22. package/dist/esm/baseControls/FormSelectButton/property.js +6 -6
  23. package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -1
  24. package/dist/esm/baseControls/ImportRecordListButton/property.js +8 -8
  25. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +3 -3
  26. package/dist/esm/baseControls/InvoiceCheckButton/property.js +20 -20
  27. package/dist/esm/baseControls/Link/designer.js +1 -1
  28. package/dist/esm/baseControls/Link/property.js +6 -6
  29. package/dist/esm/baseControls/ListSelectButton/designer.js +1 -1
  30. package/dist/esm/baseControls/ListSelectButton/property.js +4 -4
  31. package/dist/esm/baseControls/ListViewSelect/designer.js +1 -1
  32. package/dist/esm/baseControls/ListViewSelect/property.js +6 -6
  33. package/dist/esm/baseControls/OperationButton/designer.js +1 -1
  34. package/dist/esm/baseControls/OperationButton/property.js +10 -10
  35. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -1
  36. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -4
  37. package/dist/esm/baseControls/Text/designer.js +1 -1
  38. package/dist/esm/baseControls/Text/property.js +10 -10
  39. package/dist/esm/baseControls/TextOcrButton/designer.js +3 -3
  40. package/dist/esm/baseControls/TextOcrButton/property.js +20 -20
  41. package/dist/esm/baseControls/Title/designer.js +1 -1
  42. package/dist/esm/baseControls/Title/property.js +7 -7
  43. package/dist/esm/columnControls/ArrayColumn/designer.js +1 -1
  44. package/dist/esm/columnControls/ArrayColumn/property.js +6 -6
  45. package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -1
  46. package/dist/esm/columnControls/AutoNumberColumn/property.js +2 -2
  47. package/dist/esm/columnControls/CustomColumn/designer.js +2 -2
  48. package/dist/esm/columnControls/CustomColumn/property.js +4 -4
  49. package/dist/esm/columnControls/DecimalColumn/designer.js +3 -3
  50. package/dist/esm/columnControls/DecimalColumn/property.js +12 -12
  51. package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -1
  52. package/dist/esm/columnControls/DepartmentColumn/property.js +4 -4
  53. package/dist/esm/columnControls/EmployeeColumn/designer.js +2 -2
  54. package/dist/esm/columnControls/EmployeeColumn/property.js +4 -4
  55. package/dist/esm/columnControls/FileColumn/designer.js +1 -1
  56. package/dist/esm/columnControls/FileColumn/property.js +2 -2
  57. package/dist/esm/columnControls/ImageColumn/designer.js +1 -1
  58. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  59. package/dist/esm/columnControls/LocationColumn/designer.js +1 -1
  60. package/dist/esm/columnControls/LocationColumn/property.js +2 -2
  61. package/dist/esm/columnControls/OperationColumn/designer.js +18 -118
  62. package/dist/esm/columnControls/OperationColumn/property.js +11 -11
  63. package/dist/esm/columnControls/OrderColumn/designer.js +1 -1
  64. package/dist/esm/columnControls/OrderColumn/property.js +13 -13
  65. package/dist/esm/columnControls/PeopleColumn/designer.js +1 -1
  66. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  67. package/dist/esm/columnControls/TextColumn/designer.js +1 -1
  68. package/dist/esm/columnControls/TextColumn/property.js +6 -6
  69. package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -1
  70. package/dist/esm/columnControls/TimescopeColumn/property.js +4 -4
  71. package/dist/esm/columnControls/TimestampColumn/designer.js +1 -1
  72. package/dist/esm/columnControls/TimestampColumn/property.js +4 -4
  73. package/dist/esm/columnControls/VarcharColumn/designer.js +1 -1
  74. package/dist/esm/columnControls/VarcharColumn/property.js +8 -8
  75. package/dist/esm/formControls/Address/designer.js +3 -3
  76. package/dist/esm/formControls/Address/property.js +10 -10
  77. package/dist/esm/formControls/Amount/designer.js +5 -5
  78. package/dist/esm/formControls/Amount/property.js +24 -24
  79. package/dist/esm/formControls/Attachment/designer.js +3 -3
  80. package/dist/esm/formControls/Attachment/property.js +16 -16
  81. package/dist/esm/formControls/AutoNumber/designer.js +3 -3
  82. package/dist/esm/formControls/AutoNumber/property.js +6 -6
  83. package/dist/esm/formControls/Calc/designer.js +5 -5
  84. package/dist/esm/formControls/Calc/property.js +15 -15
  85. package/dist/esm/formControls/Checkbox/designer.js +3 -3
  86. package/dist/esm/formControls/Checkbox/property.js +29 -29
  87. package/dist/esm/formControls/DatePicker/designer.js +3 -3
  88. package/dist/esm/formControls/DatePicker/property.js +18 -18
  89. package/dist/esm/formControls/DateRange/designer.js +3 -3
  90. package/dist/esm/formControls/DateRange/property.js +18 -18
  91. package/dist/esm/formControls/Department/designer.js +4 -4
  92. package/dist/esm/formControls/Department/property.js +24 -24
  93. package/dist/esm/formControls/Department2/designer.js +5 -5
  94. package/dist/esm/formControls/Department2/property.js +33 -33
  95. package/dist/esm/formControls/ElectronicSignature/designer.js +2 -2
  96. package/dist/esm/formControls/ElectronicSignature/property.js +12 -12
  97. package/dist/esm/formControls/Employee/designer.js +3 -3
  98. package/dist/esm/formControls/Employee/property.js +20 -20
  99. package/dist/esm/formControls/Employee2/designer.js +4 -4
  100. package/dist/esm/formControls/Employee2/property.js +31 -31
  101. package/dist/esm/formControls/Image/designer.js +8 -8
  102. package/dist/esm/formControls/Image/runtime.js +7 -7
  103. package/dist/esm/formControls/Input/designer.js +3 -3
  104. package/dist/esm/formControls/Input/property.js +15 -15
  105. package/dist/esm/formControls/Number/designer.js +5 -5
  106. package/dist/esm/formControls/Number/property.js +27 -27
  107. package/dist/esm/formControls/Radio/designer.js +3 -3
  108. package/dist/esm/formControls/Radio/property.js +25 -25
  109. package/dist/esm/formControls/RichText/designer.js +3 -3
  110. package/dist/esm/formControls/RichText/property.js +10 -10
  111. package/dist/esm/formControls/Score/designer.js +5 -5
  112. package/dist/esm/formControls/Score/property.js +15 -15
  113. package/dist/esm/formControls/SearchDateRange/designer.js +3 -3
  114. package/dist/esm/formControls/SearchDateRange/property.js +20 -20
  115. package/dist/esm/formControls/SearchInput/designer.js +2 -2
  116. package/dist/esm/formControls/SearchNumberRange/designer.js +3 -3
  117. package/dist/esm/formControls/SearchNumberRange/property.js +12 -12
  118. package/dist/esm/formControls/Select/designer.js +3 -3
  119. package/dist/esm/formControls/Select/property.js +19 -19
  120. package/dist/esm/formControls/SelectMultiple/designer.js +3 -3
  121. package/dist/esm/formControls/SelectMultiple/property.js +17 -17
  122. package/dist/esm/formControls/SelectRelation/designer.js +3 -3
  123. package/dist/esm/formControls/SelectRelation/property.js +18 -18
  124. package/dist/esm/formControls/Textarea/designer.js +3 -3
  125. package/dist/esm/formControls/Textarea/property.js +12 -12
  126. package/dist/esm/formControls/Tree/designer.js +4 -4
  127. package/dist/esm/formControls/Tree/property.js +30 -30
  128. package/dist/esm/formControls/VueFormItem/designer.js +3 -3
  129. package/dist/esm/formControls/VueFormItem/property.js +10 -10
  130. package/dist/esm/formControls/WPS/designer.js +4 -4
  131. package/dist/esm/formControls/WPS/property.js +24 -24
  132. package/dist/esm/framework.js +70 -70
  133. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -3
  134. package/dist/esm/layoutControls/CardGroup/designer.js +1 -1
  135. package/dist/esm/layoutControls/CardGroup/property.js +6 -6
  136. package/dist/esm/layoutControls/Col/designer.js +1 -1
  137. package/dist/esm/layoutControls/Col/property.js +4 -4
  138. package/dist/esm/layoutControls/DataView/property.js +12 -12
  139. package/dist/esm/layoutControls/GridTableColumn/designer.js +2 -2
  140. package/dist/esm/layoutControls/GridTableColumn/property.js +20 -20
  141. package/dist/esm/layoutControls/ListView/designer.js +2 -2
  142. package/dist/esm/layoutControls/ListView/property.js +16 -16
  143. package/dist/esm/layoutControls/Page/Setting.js +4 -4
  144. package/dist/esm/layoutControls/Page/property.js +2 -2
  145. package/dist/esm/layoutControls/Position/property.js +8 -8
  146. package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -3
  147. package/dist/esm/layoutControls/Row/designer.js +1 -1
  148. package/dist/esm/layoutControls/Row/property.js +4 -4
  149. package/dist/esm/layoutControls/SubTableColumn/designer.js +2 -2
  150. package/dist/esm/layoutControls/SubTableColumn/property.js +12 -12
  151. package/dist/esm/layoutControls/SubTableRow/designer.js +2 -2
  152. package/dist/esm/layoutControls/Tab/designer.js +3 -3
  153. package/dist/esm/layoutControls/TabPane/designer.js +1 -1
  154. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  155. package/dist/esm/layoutControls/Toolbox/designer.js +2 -2
  156. package/dist/esm/layoutControls/Toolbox/runtime.js +1 -1
  157. package/dist/esm/listControls/GridTable/designer.js +18 -118
  158. package/dist/esm/listControls/GridTable/property.js +8 -8
  159. package/dist/esm/listControls/SubTable/designer.js +7 -7
  160. package/dist/esm/listControls/SubTable/property.js +49 -49
  161. package/dist/esm/searchControls/SimpleSearch/designer.js +1 -1
  162. package/dist/esm/searchControls/SimpleSearch/property.js +14 -14
  163. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  164. package/dist/index.umd.js +1 -1
  165. package/package.json +5 -5
@@ -98,10 +98,10 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
98
98
  type: "string",
99
99
  required: true,
100
100
  message: RulesMessage.getMessage("pleaseEnterList")
101
- }
101
+ },
102
102
  ]
103
103
  }
104
- }
104
+ },
105
105
  ];
106
106
  return _this;
107
107
  }
@@ -115,29 +115,29 @@ var SelectRelationProperty = /*#__PURE__*/ function(BaseControlProperty) {
115
115
  _classCallCheck(this, SelectRelationProperty);
116
116
  var _this;
117
117
  _this = _super.call(this, props);
118
- var _props_options;
119
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : []);
120
- var _props_optionConfig;
121
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : "datasource";
118
+ var ref;
119
+ _this.options = initOptions((ref = props === null || props === void 0 ? void 0 : props.options) !== null && ref !== void 0 ? ref : []);
120
+ var ref1;
121
+ _this.optionConfig = (ref1 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && ref1 !== void 0 ? ref1 : "datasource";
122
122
  _this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
123
123
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
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 : SelectRelationControl.controlName;
126
- var _props_placeholder;
127
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
128
- var _props_defaultValue;
129
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
130
- var _props_openMultistageFilling;
131
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
124
+ var ref2;
125
+ _this.caption = (ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref2 !== void 0 ? ref2 : SelectRelationControl.controlName;
126
+ var ref3;
127
+ _this.placeholder = (ref3 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref3 !== void 0 ? ref3 : "请选择";
128
+ var ref4;
129
+ _this.defaultValue = (ref4 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref4 !== void 0 ? ref4 : "";
130
+ var ref5;
131
+ _this.openMultistageFilling = (ref5 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && ref5 !== void 0 ? ref5 : false;
132
132
  _this.multistageFilling = [];
133
133
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
134
134
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
135
- var _this_multistageFilling;
136
- (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
135
+ var ref;
136
+ (ref = _this.multistageFilling) === null || ref === void 0 ? void 0 : ref.push(new MultistageFillingItem(item));
137
137
  });
138
138
  }
139
- var _props_canViewForm;
140
- _this.canViewForm = (_props_canViewForm = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _props_canViewForm !== void 0 ? _props_canViewForm : false;
139
+ var ref6;
140
+ _this.canViewForm = (ref6 = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && ref6 !== void 0 ? ref6 : false;
141
141
  return _this;
142
142
  }
143
143
  return SelectRelationProperty;
@@ -139,7 +139,7 @@ TextareaControl.setting = [
139
139
  key: "caption",
140
140
  showItems: [
141
141
  COMMON_SETTING_TYPE.CAPTION,
142
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION
142
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
143
143
  ],
144
144
  visible: true
145
145
  },
@@ -162,7 +162,7 @@ TextareaControl.setting = [
162
162
  COMMON_SETTING_TYPE.REQUIRED,
163
163
  COMMON_SETTING_TYPE.IS_HIDE,
164
164
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
165
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
165
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
166
166
  ]
167
167
  },
168
168
  {
@@ -184,7 +184,7 @@ TextareaControl.setting = [
184
184
  {
185
185
  key: "super-setting",
186
186
  visible: true
187
- }
187
+ },
188
188
  ];
189
189
  export default TextareaControl;
190
190
  export { TextareaControl as DesignerTextareaControl };
@@ -137,18 +137,18 @@ var TextareaProperty = /*#__PURE__*/ function(BaseControlProperty) {
137
137
  _classCallCheck(this, TextareaProperty);
138
138
  var _this;
139
139
  _this = _super.call(this, props);
140
- var _props_maxLength;
141
- _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
142
- var _props_minLength;
143
- _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
144
- var _props_defaultValue;
145
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
146
- var _props_caption;
147
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TextareaControl.controlName;
148
- var _props_placeholder;
149
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入";
150
- var _props_lineEllipsis;
151
- _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 4;
140
+ var ref;
141
+ _this.maxLength = (ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && ref !== void 0 ? ref : 50000;
142
+ var ref1;
143
+ _this.minLength = (ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && ref1 !== void 0 ? ref1 : 0;
144
+ var ref2;
145
+ _this.defaultValue = (ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref2 !== void 0 ? ref2 : "";
146
+ var ref3;
147
+ _this.caption = (ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref3 !== void 0 ? ref3 : TextareaControl.controlName;
148
+ var ref4;
149
+ _this.placeholder = (ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref4 !== void 0 ? ref4 : "请输入";
150
+ var ref5;
151
+ _this.lineEllipsis = (ref5 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && ref5 !== void 0 ? ref5 : 4;
152
152
  return _this;
153
153
  }
154
154
  return TextareaProperty;
@@ -129,7 +129,7 @@ var TreeControl = /*#__PURE__*/ function(DesignerFormControl) {
129
129
  key: "parentField",
130
130
  name: "父级字段",
131
131
  required: true
132
- }
132
+ },
133
133
  ];
134
134
  }
135
135
  }
@@ -150,7 +150,7 @@ TreeControl.setting = [
150
150
  key: "caption",
151
151
  showItems: [
152
152
  COMMON_SETTING_TYPE.CAPTION,
153
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION
153
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
154
154
  ],
155
155
  visible: true
156
156
  },
@@ -175,7 +175,7 @@ TreeControl.setting = [
175
175
  COMMON_SETTING_TYPE.MULTIPLE,
176
176
  COMMON_SETTING_TYPE.CAN_SEARCH,
177
177
  COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,
178
- COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
178
+ COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
179
179
  ]
180
180
  },
181
181
  {
@@ -193,7 +193,7 @@ TreeControl.setting = [
193
193
  {
194
194
  key: "super-setting",
195
195
  visible: true
196
- }
196
+ },
197
197
  ];
198
198
  export default TreeControl;
199
199
  export { TreeControl as DesignerTreeControl };
@@ -84,7 +84,7 @@ var TreePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
84
84
  {
85
85
  type: "object",
86
86
  message: RulesMessage.getMessage("isNotObject")
87
- }
87
+ },
88
88
  ];
89
89
  initSuperDataSourceRules.call(_assertThisInitialized(_this), props, TreeControl.controlCustomAttributes, true);
90
90
  if (_this.datasourceBind[1].fields) {
@@ -113,7 +113,7 @@ var TreePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
113
113
  message: RulesMessage.getMessage("rootNodeIsRequired")
114
114
  }
115
115
  }
116
- }
116
+ },
117
117
  ];
118
118
  }
119
119
  return _this;
@@ -140,40 +140,40 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
140
140
  function TreeProperty(props) {
141
141
  _classCallCheck(this, TreeProperty);
142
142
  var _this;
143
- var _props_multistageFilling;
143
+ var ref;
144
144
  _this = _super.call(this, props);
145
145
  _this.optionConfig = "datasource" // 选项配置 datasource
146
146
  ;
147
- var _props_caption;
148
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TreeControl.controlName;
149
- var _props_placeholder;
150
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
151
- var _props_multiple;
152
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
153
- var _props_canSearch;
154
- _this.canSearch = (_props_canSearch = props === null || props === void 0 ? void 0 : props.canSearch) !== null && _props_canSearch !== void 0 ? _props_canSearch : true;
155
- var _props_levelType;
156
- _this.levelType = (_props_levelType = props === null || props === void 0 ? void 0 : props.levelType) !== null && _props_levelType !== void 0 ? _props_levelType : "all";
157
- var _props_optionalLevel;
158
- _this.optionalLevel = (_props_optionalLevel = props === null || props === void 0 ? void 0 : props.optionalLevel) !== null && _props_optionalLevel !== void 0 ? _props_optionalLevel : 1;
159
- var _props_containsSubNode;
160
- _this.containsSubNode = (_props_containsSubNode = props === null || props === void 0 ? void 0 : props.containsSubNode) !== null && _props_containsSubNode !== void 0 ? _props_containsSubNode : false;
161
- var _props_defaultCollapse;
162
- _this.defaultCollapse = (_props_defaultCollapse = props === null || props === void 0 ? void 0 : props.defaultCollapse) !== null && _props_defaultCollapse !== void 0 ? _props_defaultCollapse : "all";
163
- var _props_defaultCollapseLevel;
164
- _this.defaultCollapseLevel = (_props_defaultCollapseLevel = props === null || props === void 0 ? void 0 : props.defaultCollapseLevel) !== null && _props_defaultCollapseLevel !== void 0 ? _props_defaultCollapseLevel : 1;
165
- var _props_datasourceBind;
166
- _this.datasourceBind = new TreeDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
147
+ var ref1;
148
+ _this.caption = (ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref1 !== void 0 ? ref1 : TreeControl.controlName;
149
+ var ref2;
150
+ _this.placeholder = (ref2 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref2 !== void 0 ? ref2 : "请选择";
151
+ var ref3;
152
+ _this.multiple = (ref3 = props === null || props === void 0 ? void 0 : props.multiple) !== null && ref3 !== void 0 ? ref3 : false;
153
+ var ref4;
154
+ _this.canSearch = (ref4 = props === null || props === void 0 ? void 0 : props.canSearch) !== null && ref4 !== void 0 ? ref4 : true;
155
+ var ref5;
156
+ _this.levelType = (ref5 = props === null || props === void 0 ? void 0 : props.levelType) !== null && ref5 !== void 0 ? ref5 : "all";
157
+ var ref6;
158
+ _this.optionalLevel = (ref6 = props === null || props === void 0 ? void 0 : props.optionalLevel) !== null && ref6 !== void 0 ? ref6 : 1;
159
+ var ref7;
160
+ _this.containsSubNode = (ref7 = props === null || props === void 0 ? void 0 : props.containsSubNode) !== null && ref7 !== void 0 ? ref7 : false;
161
+ var ref8;
162
+ _this.defaultCollapse = (ref8 = props === null || props === void 0 ? void 0 : props.defaultCollapse) !== null && ref8 !== void 0 ? ref8 : "all";
163
+ var ref9;
164
+ _this.defaultCollapseLevel = (ref9 = props === null || props === void 0 ? void 0 : props.defaultCollapseLevel) !== null && ref9 !== void 0 ? ref9 : 1;
165
+ var ref10;
166
+ _this.datasourceBind = new TreeDataSourceBind((ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && ref10 !== void 0 ? ref10 : {
167
167
  attributes: TreeControl.controlCustomAttributes
168
168
  });
169
- var _props_openMultistageFilling;
170
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
171
- var _props_multistageFilling_map;
172
- _this.multistageFilling = (_props_multistageFilling_map = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
169
+ var ref11;
170
+ _this.openMultistageFilling = (ref11 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && ref11 !== void 0 ? ref11 : false;
171
+ var ref12;
172
+ _this.multistageFilling = (ref12 = props === null || props === void 0 ? void 0 : (ref = props.multistageFilling) === null || ref === void 0 ? void 0 : ref.map(function(item) {
173
173
  return new MultistageFillingItem(item);
174
- })) !== null && _props_multistageFilling_map !== void 0 ? _props_multistageFilling_map : [];
175
- var _props_defaultValue;
176
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
174
+ })) !== null && ref12 !== void 0 ? ref12 : [];
175
+ var ref13;
176
+ _this.defaultValue = (ref13 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref13 !== void 0 ? ref13 : [];
177
177
  return _this;
178
178
  }
179
179
  return TreeProperty;
@@ -130,7 +130,7 @@ VueFormItemControl.setting = [
130
130
  key: "caption",
131
131
  showItems: [
132
132
  COMMON_SETTING_TYPE.CAPTION,
133
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION
133
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
134
134
  ],
135
135
  visible: true
136
136
  },
@@ -146,7 +146,7 @@ VueFormItemControl.setting = [
146
146
  COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
147
147
  COMMON_SETTING_TYPE.REQUIRED,
148
148
  COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
149
- COMMON_SETTING_TYPE.IS_INLINE_EDIT
149
+ COMMON_SETTING_TYPE.IS_INLINE_EDIT,
150
150
  ]
151
151
  },
152
152
  {
@@ -160,7 +160,7 @@ VueFormItemControl.setting = [
160
160
  {
161
161
  key: "super-setting",
162
162
  visible: true
163
- }
163
+ },
164
164
  ];
165
165
  export default VueFormItemControl;
166
166
  export { VueFormItemControl as DesignerVueFormItemControl };
@@ -107,16 +107,16 @@ var VueFormItemProperty = /*#__PURE__*/ function(BaseControlProperty) {
107
107
  _classCallCheck(this, VueFormItemProperty);
108
108
  var _this;
109
109
  _this = _super.call(this, props);
110
- var _props_caption;
111
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : VueFormItemControl.controlName;
112
- var _props_defaultValue;
113
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : undefined;
114
- var _props_controlExportName;
115
- _this.controlExportName = (_props_controlExportName = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && _props_controlExportName !== void 0 ? _props_controlExportName : "";
116
- var _props_permissions;
117
- _this.permissions = (_props_permissions = props === null || props === void 0 ? void 0 : props.permissions) !== null && _props_permissions !== void 0 ? _props_permissions : [];
118
- var _props_isInlineEdit;
119
- _this.isInlineEdit = (_props_isInlineEdit = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && _props_isInlineEdit !== void 0 ? _props_isInlineEdit : false;
110
+ var ref;
111
+ _this.caption = (ref = props === null || props === void 0 ? void 0 : props.caption) !== null && ref !== void 0 ? ref : VueFormItemControl.controlName;
112
+ var ref1;
113
+ _this.defaultValue = (ref1 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref1 !== void 0 ? ref1 : undefined;
114
+ var ref2;
115
+ _this.controlExportName = (ref2 = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && ref2 !== void 0 ? ref2 : "";
116
+ var ref3;
117
+ _this.permissions = (ref3 = props === null || props === void 0 ? void 0 : props.permissions) !== null && ref3 !== void 0 ? ref3 : [];
118
+ var ref4;
119
+ _this.isInlineEdit = (ref4 = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && ref4 !== void 0 ? ref4 : false;
120
120
  return _this;
121
121
  }
122
122
  return VueFormItemProperty;
@@ -128,7 +128,7 @@ var WPSControl = /*#__PURE__*/ function(DesignerFormControl) {
128
128
  }(DesignerFormControl);
129
129
  WPSControl.controlEventKeys = [
130
130
  "on_change",
131
- "on_wps_open"
131
+ "on_wps_open",
132
132
  ];
133
133
  WPSControl.controlFieldType = FieldTypes.FILE;
134
134
  WPSControl.setting = [
@@ -140,7 +140,7 @@ WPSControl.setting = [
140
140
  key: "caption",
141
141
  showItems: [
142
142
  COMMON_SETTING_TYPE.CAPTION,
143
- COMMON_SETTING_TYPE.IS_HIDE_CAPTION
143
+ COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
144
144
  ],
145
145
  visible: true
146
146
  },
@@ -159,7 +159,7 @@ WPSControl.setting = [
159
159
  COMMON_SETTING_TYPE.REQUIRED,
160
160
  COMMON_SETTING_TYPE.IS_HIDE,
161
161
  COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
162
- COMMON_SETTING_TYPE.REVISIONS_MODE
162
+ COMMON_SETTING_TYPE.REVISIONS_MODE,
163
163
  ]
164
164
  },
165
165
  {
@@ -185,7 +185,7 @@ WPSControl.setting = [
185
185
  {
186
186
  key: "super-setting",
187
187
  visible: true
188
- }
188
+ },
189
189
  ];
190
190
  export default WPSControl;
191
191
  export { WPSControl as DesignerWPSControl };
@@ -147,31 +147,31 @@ var WPSProperty = /*#__PURE__*/ function(BaseControlProperty) {
147
147
  _classCallCheck(this, WPSProperty);
148
148
  var _this;
149
149
  _this = _super.call(this, props);
150
- var _props_caption;
151
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : WPSControl.controlName;
152
- var _props_content;
153
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "新建文档";
154
- var _props_canAdd;
155
- _this.canAdd = (_props_canAdd = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _props_canAdd !== void 0 ? _props_canAdd : true;
156
- var _props_addLocal;
157
- _this.addLocal = (_props_addLocal = props === null || props === void 0 ? void 0 : props.addLocal) !== null && _props_addLocal !== void 0 ? _props_addLocal : true;
158
- var _props_addOnline;
159
- _this.addOnline = (_props_addOnline = props === null || props === void 0 ? void 0 : props.addOnline) !== null && _props_addOnline !== void 0 ? _props_addOnline : true;
160
- var _props_canEdit;
161
- _this.canEdit = (_props_canEdit = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _props_canEdit !== void 0 ? _props_canEdit : true;
162
- var _props_canDownload;
163
- _this.canDownload = (_props_canDownload = props === null || props === void 0 ? void 0 : props.canDownload) !== null && _props_canDownload !== void 0 ? _props_canDownload : true;
164
- var _props_canExport;
165
- _this.canExport = (_props_canExport = props === null || props === void 0 ? void 0 : props.canExport) !== null && _props_canExport !== void 0 ? _props_canExport : true;
166
- var _props_canDelete;
167
- _this.canDelete = (_props_canDelete = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _props_canDelete !== void 0 ? _props_canDelete : false;
168
- var _props_maxSize;
169
- _this.maxSize = (_props_maxSize = props === null || props === void 0 ? void 0 : props.maxSize) !== null && _props_maxSize !== void 0 ? _props_maxSize : MB10;
170
- var _props_defaultValue;
171
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
150
+ var ref;
151
+ _this.caption = (ref = props === null || props === void 0 ? void 0 : props.caption) !== null && ref !== void 0 ? ref : WPSControl.controlName;
152
+ var ref1;
153
+ _this.content = (ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && ref1 !== void 0 ? ref1 : "新建文档";
154
+ var ref2;
155
+ _this.canAdd = (ref2 = props === null || props === void 0 ? void 0 : props.canAdd) !== null && ref2 !== void 0 ? ref2 : true;
156
+ var ref3;
157
+ _this.addLocal = (ref3 = props === null || props === void 0 ? void 0 : props.addLocal) !== null && ref3 !== void 0 ? ref3 : true;
158
+ var ref4;
159
+ _this.addOnline = (ref4 = props === null || props === void 0 ? void 0 : props.addOnline) !== null && ref4 !== void 0 ? ref4 : true;
160
+ var ref5;
161
+ _this.canEdit = (ref5 = props === null || props === void 0 ? void 0 : props.canEdit) !== null && ref5 !== void 0 ? ref5 : true;
162
+ var ref6;
163
+ _this.canDownload = (ref6 = props === null || props === void 0 ? void 0 : props.canDownload) !== null && ref6 !== void 0 ? ref6 : true;
164
+ var ref7;
165
+ _this.canExport = (ref7 = props === null || props === void 0 ? void 0 : props.canExport) !== null && ref7 !== void 0 ? ref7 : true;
166
+ var ref8;
167
+ _this.canDelete = (ref8 = props === null || props === void 0 ? void 0 : props.canDelete) !== null && ref8 !== void 0 ? ref8 : false;
168
+ var ref9;
169
+ _this.maxSize = (ref9 = props === null || props === void 0 ? void 0 : props.maxSize) !== null && ref9 !== void 0 ? ref9 : MB10;
170
+ var ref10;
171
+ _this.defaultValue = (ref10 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref10 !== void 0 ? ref10 : [];
172
172
  _this.wpsSetting = new WPSSetting(props === null || props === void 0 ? void 0 : props.wpsSetting);
173
- var _props_revisionsMode;
174
- _this.revisionsMode = (_props_revisionsMode = props === null || props === void 0 ? void 0 : props.revisionsMode) !== null && _props_revisionsMode !== void 0 ? _props_revisionsMode : false;
173
+ var ref11;
174
+ _this.revisionsMode = (ref11 = props === null || props === void 0 ? void 0 : props.revisionsMode) !== null && ref11 !== void 0 ? ref11 : false;
175
175
  return _this;
176
176
  }
177
177
  return WPSProperty;
@@ -58,10 +58,10 @@ export var SCORE_TYPE;
58
58
  export var Explain = function Explain(props) {
59
59
  "use strict";
60
60
  _classCallCheck(this, Explain);
61
- var _props_id;
62
- this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
63
- var _props_text;
64
- this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : "";
61
+ var ref;
62
+ this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId();
63
+ var ref1;
64
+ this.text = (ref1 = props === null || props === void 0 ? void 0 : props.text) !== null && ref1 !== void 0 ? ref1 : "";
65
65
  };
66
66
  export var LINE_STYLE;
67
67
  (function(LINE_STYLE) {
@@ -75,85 +75,85 @@ export var LINE_STYLE;
75
75
  export var UndersignedPerson = function UndersignedPerson(props) {
76
76
  "use strict";
77
77
  _classCallCheck(this, UndersignedPerson);
78
- var _props_type;
79
- this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "private";
80
- var _props_person;
81
- this.person = new RightVariable((_props_person = props === null || props === void 0 ? void 0 : props.person) !== null && _props_person !== void 0 ? _props_person : {
78
+ var ref;
79
+ this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : "private";
80
+ var ref1;
81
+ this.person = new RightVariable((ref1 = props === null || props === void 0 ? void 0 : props.person) !== null && ref1 !== void 0 ? ref1 : {
82
82
  type: "form"
83
83
  });
84
- var _props_signatureType;
85
- this.signatureType = (_props_signatureType = props === null || props === void 0 ? void 0 : props.signatureType) !== null && _props_signatureType !== void 0 ? _props_signatureType : [];
86
- var _props_telephone, _props_telephone1;
87
- this.telephone = (_props_telephone1 = props === null || props === void 0 ? void 0 : props.telephone) !== null && _props_telephone1 !== void 0 ? _props_telephone1 : new RightVariable((_props_telephone = props === null || props === void 0 ? void 0 : props.telephone) !== null && _props_telephone !== void 0 ? _props_telephone : {
84
+ var ref2;
85
+ this.signatureType = (ref2 = props === null || props === void 0 ? void 0 : props.signatureType) !== null && ref2 !== void 0 ? ref2 : [];
86
+ var ref3, ref4;
87
+ this.telephone = (ref4 = props === null || props === void 0 ? void 0 : props.telephone) !== null && ref4 !== void 0 ? ref4 : new RightVariable((ref3 = props === null || props === void 0 ? void 0 : props.telephone) !== null && ref3 !== void 0 ? ref3 : {
88
88
  type: "form"
89
89
  });
90
- var _props_company, _props_company1;
91
- this.company = (_props_company1 = props === null || props === void 0 ? void 0 : props.company) !== null && _props_company1 !== void 0 ? _props_company1 : new RightVariable((_props_company = props === null || props === void 0 ? void 0 : props.company) !== null && _props_company !== void 0 ? _props_company : {
90
+ var ref5, ref6;
91
+ this.company = (ref6 = props === null || props === void 0 ? void 0 : props.company) !== null && ref6 !== void 0 ? ref6 : new RightVariable((ref5 = props === null || props === void 0 ? void 0 : props.company) !== null && ref5 !== void 0 ? ref5 : {
92
92
  type: "form"
93
93
  });
94
- var _props_remark;
95
- this.remark = (_props_remark = props === null || props === void 0 ? void 0 : props.remark) !== null && _props_remark !== void 0 ? _props_remark : "";
94
+ var ref7;
95
+ this.remark = (ref7 = props === null || props === void 0 ? void 0 : props.remark) !== null && ref7 !== void 0 ? ref7 : "";
96
96
  };
97
97
  export var ElectronicSignatureConfig = function ElectronicSignatureConfig(props) {
98
98
  "use strict";
99
99
  _classCallCheck(this, ElectronicSignatureConfig);
100
- var _props_undersignedList;
101
- var _props_fileControl;
102
- this.fileControl = (_props_fileControl = props === null || props === void 0 ? void 0 : props.fileControl) !== null && _props_fileControl !== void 0 ? _props_fileControl : "";
103
- var _props_undersignedList_map;
104
- this.undersignedList = (_props_undersignedList_map = props === null || props === void 0 ? void 0 : (_props_undersignedList = props.undersignedList) === null || _props_undersignedList === void 0 ? void 0 : _props_undersignedList.map(function(item) {
100
+ var ref;
101
+ var ref1;
102
+ this.fileControl = (ref1 = props === null || props === void 0 ? void 0 : props.fileControl) !== null && ref1 !== void 0 ? ref1 : "";
103
+ var ref2;
104
+ this.undersignedList = (ref2 = props === null || props === void 0 ? void 0 : (ref = props.undersignedList) === null || ref === void 0 ? void 0 : ref.map(function(item) {
105
105
  return new UndersignedPerson(item);
106
- })) !== null && _props_undersignedList_map !== void 0 ? _props_undersignedList_map : [
106
+ })) !== null && ref2 !== void 0 ? ref2 : [
107
107
  new UndersignedPerson()
108
108
  ];
109
- var _props_statusControl;
110
- this.statusControl = (_props_statusControl = props === null || props === void 0 ? void 0 : props.statusControl) !== null && _props_statusControl !== void 0 ? _props_statusControl : "";
111
- var _props_completeControl;
112
- this.completeControl = (_props_completeControl = props === null || props === void 0 ? void 0 : props.completeControl) !== null && _props_completeControl !== void 0 ? _props_completeControl : "";
113
- var _props_completeTimeControl;
114
- this.completeTimeControl = (_props_completeTimeControl = props === null || props === void 0 ? void 0 : props.completeTimeControl) !== null && _props_completeTimeControl !== void 0 ? _props_completeTimeControl : "";
109
+ var ref3;
110
+ this.statusControl = (ref3 = props === null || props === void 0 ? void 0 : props.statusControl) !== null && ref3 !== void 0 ? ref3 : "";
111
+ var ref4;
112
+ this.completeControl = (ref4 = props === null || props === void 0 ? void 0 : props.completeControl) !== null && ref4 !== void 0 ? ref4 : "";
113
+ var ref5;
114
+ this.completeTimeControl = (ref5 = props === null || props === void 0 ? void 0 : props.completeTimeControl) !== null && ref5 !== void 0 ? ref5 : "";
115
115
  };
116
116
  export var ExportTemplate = function ExportTemplate(props) {
117
117
  "use strict";
118
118
  _classCallCheck(this, ExportTemplate);
119
- var _props_id;
120
- this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
121
- var _props_appId;
122
- this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
123
- var _props_dataCode;
124
- this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
125
- var _props_svcCode;
126
- this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
127
- var _props_name;
128
- this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
129
- var _props_fieldList;
130
- this.fieldList = (_props_fieldList = props === null || props === void 0 ? void 0 : props.fieldList) !== null && _props_fieldList !== void 0 ? _props_fieldList : [];
131
- var _props_active;
132
- this.active = (_props_active = props === null || props === void 0 ? void 0 : props.active) !== null && _props_active !== void 0 ? _props_active : false;
119
+ var ref;
120
+ this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId(8);
121
+ var ref1;
122
+ this.appId = (ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref1 !== void 0 ? ref1 : "";
123
+ var ref2;
124
+ this.dataCode = (ref2 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref2 !== void 0 ? ref2 : "";
125
+ var ref3;
126
+ this.svcCode = (ref3 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && ref3 !== void 0 ? ref3 : "";
127
+ var ref4;
128
+ this.name = (ref4 = props === null || props === void 0 ? void 0 : props.name) !== null && ref4 !== void 0 ? ref4 : "";
129
+ var ref5;
130
+ this.fieldList = (ref5 = props === null || props === void 0 ? void 0 : props.fieldList) !== null && ref5 !== void 0 ? ref5 : [];
131
+ var ref6;
132
+ this.active = (ref6 = props === null || props === void 0 ? void 0 : props.active) !== null && ref6 !== void 0 ? ref6 : false;
133
133
  };
134
134
  export var WpsOperationItem = function WpsOperationItem(props) {
135
135
  "use strict";
136
136
  _classCallCheck(this, WpsOperationItem);
137
- var _props_active;
138
- this.active = (_props_active = props === null || props === void 0 ? void 0 : props.active) !== null && _props_active !== void 0 ? _props_active : false;
139
- var _props_text;
140
- this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : "";
137
+ var ref;
138
+ this.active = (ref = props === null || props === void 0 ? void 0 : props.active) !== null && ref !== void 0 ? ref : false;
139
+ var ref1;
140
+ this.text = (ref1 = props === null || props === void 0 ? void 0 : props.text) !== null && ref1 !== void 0 ? ref1 : "";
141
141
  };
142
142
  export var WPSSetting = function WPSSetting(props) {
143
143
  "use strict";
144
144
  _classCallCheck(this, WPSSetting);
145
- var _props_types;
146
- this.types = (_props_types = props === null || props === void 0 ? void 0 : props.types) !== null && _props_types !== void 0 ? _props_types : [
145
+ var ref;
146
+ this.types = (ref = props === null || props === void 0 ? void 0 : props.types) !== null && ref !== void 0 ? ref : [
147
147
  "word",
148
148
  "ppt",
149
149
  "excel"
150
150
  ];
151
- var _props_history;
152
- this.history = (_props_history = props === null || props === void 0 ? void 0 : props.history) !== null && _props_history !== void 0 ? _props_history : false;
153
- var _props_collaborativeRecord;
154
- this.collaborativeRecord = (_props_collaborativeRecord = props === null || props === void 0 ? void 0 : props.collaborativeRecord) !== null && _props_collaborativeRecord !== void 0 ? _props_collaborativeRecord : false;
155
- var _props_logicToDelete;
156
- this.logicToDelete = (_props_logicToDelete = props === null || props === void 0 ? void 0 : props.logicToDelete) !== null && _props_logicToDelete !== void 0 ? _props_logicToDelete : true;
151
+ var ref1;
152
+ this.history = (ref1 = props === null || props === void 0 ? void 0 : props.history) !== null && ref1 !== void 0 ? ref1 : false;
153
+ var ref2;
154
+ this.collaborativeRecord = (ref2 = props === null || props === void 0 ? void 0 : props.collaborativeRecord) !== null && ref2 !== void 0 ? ref2 : false;
155
+ var ref3;
156
+ this.logicToDelete = (ref3 = props === null || props === void 0 ? void 0 : props.logicToDelete) !== null && ref3 !== void 0 ? ref3 : true;
157
157
  this.watermark = new WpsOperationItem(props === null || props === void 0 ? void 0 : props.watermark);
158
158
  this.autoRename = new WpsOperationItem(props === null || props === void 0 ? void 0 : props.autoRename);
159
159
  };
@@ -164,26 +164,26 @@ export function initExpression(expression) {
164
164
  export var PrintTemplate = function PrintTemplate(props) {
165
165
  "use strict";
166
166
  _classCallCheck(this, PrintTemplate);
167
- var _props_fileId;
168
- this.fileId = (_props_fileId = props === null || props === void 0 ? void 0 : props.fileId) !== null && _props_fileId !== void 0 ? _props_fileId : "";
169
- var _props_fileName;
170
- this.fileName = (_props_fileName = props === null || props === void 0 ? void 0 : props.fileName) !== null && _props_fileName !== void 0 ? _props_fileName : "";
171
- var _props_ruleName;
172
- this.ruleName = (_props_ruleName = props === null || props === void 0 ? void 0 : props.ruleName) !== null && _props_ruleName !== void 0 ? _props_ruleName : "";
173
- var _props_isDefault;
174
- this.isDefault = (_props_isDefault = props.isDefault) !== null && _props_isDefault !== void 0 ? _props_isDefault : false;
175
- var _props_rules;
176
- this.rules = (_props_rules = props.rules) !== null && _props_rules !== void 0 ? _props_rules : [];
167
+ var ref;
168
+ this.fileId = (ref = props === null || props === void 0 ? void 0 : props.fileId) !== null && ref !== void 0 ? ref : "";
169
+ var ref1;
170
+ this.fileName = (ref1 = props === null || props === void 0 ? void 0 : props.fileName) !== null && ref1 !== void 0 ? ref1 : "";
171
+ var ref2;
172
+ this.ruleName = (ref2 = props === null || props === void 0 ? void 0 : props.ruleName) !== null && ref2 !== void 0 ? ref2 : "";
173
+ var _isDefault;
174
+ this.isDefault = (_isDefault = props.isDefault) !== null && _isDefault !== void 0 ? _isDefault : false;
175
+ var _rules;
176
+ this.rules = (_rules = props.rules) !== null && _rules !== void 0 ? _rules : [];
177
177
  };
178
178
  export var FlexStyleConfig = function FlexStyleConfig(props) {
179
179
  "use strict";
180
180
  _classCallCheck(this, FlexStyleConfig);
181
- var _props_direction;
182
- this.direction = (_props_direction = props === null || props === void 0 ? void 0 : props.direction) !== null && _props_direction !== void 0 ? _props_direction : "row";
183
- var _props_justifyContent;
184
- this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : "flex-start";
185
- var _props_alignItems;
186
- this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : "flex-start";
181
+ var ref;
182
+ this.direction = (ref = props === null || props === void 0 ? void 0 : props.direction) !== null && ref !== void 0 ? ref : "row";
183
+ var ref1;
184
+ this.justifyContent = (ref1 = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && ref1 !== void 0 ? ref1 : "flex-start";
185
+ var ref2;
186
+ this.alignItems = (ref2 = props === null || props === void 0 ? void 0 : props.alignItems) !== null && ref2 !== void 0 ? ref2 : "flex-start";
187
187
  };
188
188
  export var EncryptTypeEnum;
189
189
  (function(EncryptTypeEnum) {
@@ -40,7 +40,7 @@ export default defineInstance({
40
40
  items: [
41
41
  "superSetting"
42
42
  ]
43
- }
43
+ },
44
44
  ]
45
45
  },
46
46
  {
@@ -53,8 +53,8 @@ export default defineInstance({
53
53
  "style.width",
54
54
  "style.height"
55
55
  ]
56
- }
56
+ },
57
57
  ]
58
- }
58
+ },
59
59
  ]
60
60
  });