@byteluck-fe/model-driven-shared 2.22.2-beta.0 → 2.22.2-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/enum.js CHANGED
@@ -10,23 +10,23 @@ export var CONTROL_BASE_TYPE;
10
10
  })(CONTROL_BASE_TYPE || (CONTROL_BASE_TYPE = {}));
11
11
  export var FORM_TYPE;
12
12
  (function(FORM_TYPE) {
13
- /**
14
- * 表单
13
+ /**
14
+ * 表单
15
15
  * */ FORM_TYPE[FORM_TYPE["FORM"] = 0] = "FORM";
16
- /**
17
- * 列表
16
+ /**
17
+ * 列表
18
18
  * */ FORM_TYPE[FORM_TYPE["LIST"] = 1] = "LIST";
19
- /**
20
- * 报表
19
+ /**
20
+ * 报表
21
21
  * */ FORM_TYPE[FORM_TYPE["REPORT"] = 2] = "REPORT";
22
- /**
23
- * 仪表盘
22
+ /**
23
+ * 仪表盘
24
24
  * */ FORM_TYPE[FORM_TYPE["DASHBOARD"] = 3] = "DASHBOARD";
25
- /**
26
- * Vue页面
25
+ /**
26
+ * Vue页面
27
27
  * */ FORM_TYPE[FORM_TYPE["VUE"] = 4] = "VUE";
28
- /**
29
- * 自由页面
28
+ /**
29
+ * 自由页面
30
30
  * */ FORM_TYPE[FORM_TYPE["FREE_PAGE"] = 5] = "FREE_PAGE";
31
31
  })(FORM_TYPE || (FORM_TYPE = {}));
32
32
  export var CONTROL_TYPE;
@@ -140,89 +140,89 @@ export var CONTROL_TYPE;
140
140
  })(CONTROL_TYPE || (CONTROL_TYPE = {}));
141
141
  export var OPT_TYPES;
142
142
  (function(OPT_TYPES) {
143
- /**
144
- * 保存
143
+ /**
144
+ * 保存
145
145
  * */ OPT_TYPES["SAVE"] = "save";
146
- /**
147
- * 草稿
146
+ /**
147
+ * 草稿
148
148
  * */ OPT_TYPES["DRAFT"] = "draft";
149
- /**
150
- * 撤回
149
+ /**
150
+ * 撤回
151
151
  * */ OPT_TYPES["UNSUBMIT"] = "unsubmit";
152
- /**
153
- * 审核
152
+ /**
153
+ * 审核
154
154
  * */ OPT_TYPES["AUDIT"] = "audit";
155
- /**
156
- * 反审核
155
+ /**
156
+ * 反审核
157
157
  * */ OPT_TYPES["UNAUDIT"] = "unaudit";
158
- /**
159
- * 取消
158
+ /**
159
+ * 取消
160
160
  * */ OPT_TYPES["CANCEL"] = "cancel";
161
- /**
162
- * 提交
161
+ /**
162
+ * 提交
163
163
  * */ OPT_TYPES["FORM_SUBMIT"] = "form_submit";
164
164
  })(OPT_TYPES || (OPT_TYPES = {}));
165
165
  export var FieldTypes;
166
166
  (function(FieldTypes) {
167
- /**
168
- * 短文本,string
167
+ /**
168
+ * 短文本,string
169
169
  * */ FieldTypes["VARCHAR"] = "varchar";
170
- /**
171
- * 长文本, string
170
+ /**
171
+ * 长文本, string
172
172
  * */ FieldTypes["TEXT"] = "text";
173
- /**
174
- * 数组, Array<string>
173
+ /**
174
+ * 数组, Array<string>
175
175
  * */ FieldTypes["ARRAY"] = "array";
176
- /**
177
- * 地址, AddressValue { city:string, district:string, province: string }
176
+ /**
177
+ * 地址, AddressValue { city:string, district:string, province: string }
178
178
  * */ FieldTypes["ADDRESS"] = "location";
179
- /**
180
- * 数字, number
179
+ /**
180
+ * 数字, number
181
181
  * */ FieldTypes["DECIMAL"] = "decimal";
182
182
  // /**
183
183
  // * 数值(decimal), number
184
184
  // * */
185
185
  // REAL_DECIMAL = 'real-decimal',
186
- /**
187
- * 数字区间, Array<number>
186
+ /**
187
+ * 数字区间, Array<number>
188
188
  * */ FieldTypes["DECIMAL_RANGE"] = "decimal_range";
189
- /**
190
- * 日期, 时间戳字符串 string
189
+ /**
190
+ * 日期, 时间戳字符串 string
191
191
  * */ FieldTypes["TIMESTAMP"] = "timestamp";
192
192
  // /**
193
193
  // * 日期(datetime), 时间戳字符串 string
194
194
  // * */
195
195
  // DATETIME = 'datetime',
196
- /**
197
- * 人员, Array<人员id string>
196
+ /**
197
+ * 人员, Array<人员id string>
198
198
  * */ FieldTypes["EMPLOYEES"] = "people";
199
- /**
200
- * 部门, Array<部门id string>
199
+ /**
200
+ * 部门, Array<部门id string>
201
201
  * */ FieldTypes["DEPARTMENTS"] = "department";
202
- /**
203
- * 金额, AmountValue { amount: number, currency: string }
202
+ /**
203
+ * 金额, AmountValue { amount: number, currency: string }
204
204
  * */ FieldTypes["MONEY"] = "money";
205
- /**
206
- * 日期区间, DateRangeValue { max: string, min: string }
205
+ /**
206
+ * 日期区间, DateRangeValue { max: string, min: string }
207
207
  * */ FieldTypes["TIMESCOPE"] = "timescope";
208
- /**
209
- * 附件, Array<附件id string>
208
+ /**
209
+ * 附件, Array<附件id string>
210
210
  * */ FieldTypes["FILE"] = "file";
211
- /**
212
- * 图片, Array<图片id string>
211
+ /**
212
+ * 图片, Array<图片id string>
213
213
  * */ FieldTypes["IMAGE"] = "image";
214
- /**
215
- * 自动编号, string
214
+ /**
215
+ * 自动编号, string
216
216
  * */ FieldTypes["AUTO_NUMBER"] = "auto_number";
217
- /**
218
- * 计算公式, CalcValue { result: number, unit: string }
217
+ /**
218
+ * 计算公式, CalcValue { result: number, unit: string }
219
219
  * */ FieldTypes["CALC"] = "calc";
220
220
  // /**
221
221
  // * 关联键, string
222
222
  // * */
223
223
  // RELATION = 'relation',
224
- /**
225
- * 列表 Array<any>
224
+ /**
225
+ * 列表 Array<any>
226
226
  * */ FieldTypes["LIST"] = "list";
227
227
  // /**
228
228
  // * 关联字段
@@ -236,36 +236,36 @@ export var FieldTypes;
236
236
  // * 计算公式字段
237
237
  // * */
238
238
  // CALC_FIELD = 'calc',
239
- /**
240
- * JSON字段
239
+ /**
240
+ * JSON字段
241
241
  * */ FieldTypes["JSON"] = "json";
242
242
  // /**
243
243
  // * 整数类型
244
244
  // * */
245
245
  // BIGINT = 'bigint',
246
- /**
247
- * 任意类型
246
+ /**
247
+ * 任意类型
248
248
  * */ FieldTypes["ANY"] = "ANY";
249
249
  })(FieldTypes || (FieldTypes = {}));
250
250
  export var DateType;
251
251
  (function(DateType) {
252
- /**
253
- * 年
252
+ /**
253
+ * 年
254
254
  * */ DateType["YEAR"] = "year";
255
- /**
256
- * 年月
255
+ /**
256
+ * 年月
257
257
  * */ DateType["MONTH"] = "month";
258
- /**
259
- * 年月日
258
+ /**
259
+ * 年月日
260
260
  * */ DateType["DATE"] = "date";
261
- /**
262
- * 年月日时
261
+ /**
262
+ * 年月日时
263
263
  * */ DateType["DATEHOUR"] = "datehour";
264
- /**
265
- * 年月日时分
264
+ /**
265
+ * 年月日时分
266
266
  * */ DateType["DATEMIN"] = "datemin";
267
- /**
268
- * 年月日时分秒
267
+ /**
268
+ * 年月日时分秒
269
269
  * */ DateType["DATETIME"] = "datetime";
270
270
  })(DateType || (DateType = {}));
271
271
  export var DESIGNER_SLOT = {
@@ -1,73 +1,154 @@
1
- {
2
- "isNotNumber": "Please enter a number",
3
- "isNotString": "Please enter a string",
4
- "isNotObject": "Please enter an object",
5
- "isNotArray": "Please enter an array",
6
- "isNotBoolean": "Please enter a boolean",
7
- "runtimeRequired": "{caption} Required",
8
- "pleaseEnterCaption": "Please enter the title",
9
- "pleaseEnterCaptionTip":"Please enter the bubble prompt",
10
- "pleaseEnterRowCaption": "Please enter the row title",
11
- "pleaseEnterPlaceholder": "Please enter the prompt text",
12
- "pleaseEnterFieldCode": "Please bind data items",
13
- "pleaseEnterForm": "Please bind the form",
14
- "pleaseEnterList": "Please bind the list",
15
- "pleaseEnterProcess": "Please bind the process",
16
- "pleaseEnterLabel": "Please enter the displayed value",
17
- "pleaseEnterValue": "Please enter the stored value",
18
- "bizKeyNotBindFiled": "The document number is not bound to the data item",
19
- "pleaseSelectOneField":"Please select at least one display field",
20
- "pleaseEnterNumberRange": "Please enter a value greater than or equal to {min} and less than or equal to {max}",
21
- "pleaseEnterAValueGreaterThanMin": "Please enter a value greater than or equal to {min}",
22
- "pleaseEnterAValueLessThanMax": "Please enter a value less than or equal to {max}",
23
- "numberRangeSetError": "The value range is set incorrectly",
24
- "stringRangeError": "Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",
25
- "attachmentMaxSize": "The attachment size must be between 0MB and 1000MB",
26
- "pleaseEnterTotalScoreSetting": "Please fill in the total score setting",
27
- "theTotalScoreMustNotBeLessThan1": "The total score cannot be less than 1",
28
- "scoreDefaultValueRange": "The default value must be between {min} and {max}",
29
- "attachmentLimitError": "The number of attachment uploads exceeds the limit",
30
- "PleaseReselectTheOptionalQuantity": "Please re-select the optional quantity",
31
- "TheMaximumLengthIsGreaterThanTheMinimumLength": "The maximum length of the control must be greater than the minimum length",
32
- "TheMinimumLengthIsGreaterThanTheMaximumLength": "The minimum length of the control must be less than the maximum length",
33
- "PleaseSelectTheCorrectOptionSettings": "Please select the correct option setting",
34
- "optionIdIsRepeat": "Option ID cannot be repeated",
35
- "optionIsRequired": "Please enter at least one option",
36
- "pleaseEnterDataCode": "Please bind the data source",
37
- "pleaseEnterValueFieldCode": "Please bind the stored value",
38
- "pleaseEnterSvcCode": "Please bind the service",
39
- "pleaseBindAtLeastOneDisplayValue": "At least one display value must be bound",
40
- "pleaseSelectProvince": "Please select a province",
41
- "pleaseSelectCity": "Please select a city",
42
- "pleaseSelectDistrict": "Please select a district",
43
- "limitRowsCannotBeLessThan0": "The minimum number of lines to fill in cannot be less than 0",
44
- "TheNumberOfRowsCannotBeLessThanMinRows": "The number of rows cannot be less than {min} rows",
45
- "pleaseEnterColumnWidth": "Please enter the column width",
46
- "pleaseSetTheLogicalRelationshipOfAllRuleConditions": "Please set the logical relationship of all rule conditions",
47
- "pleaseCompleteAllRulesAndConditions": "Please complete all rules and conditions",
48
- "pleaseSelectControl": "please select control",
49
- "pleaseSelectDashboard": "Please select the dashboard",
50
- "theViewNameCannotBeEmpty": "View name cannot be empty",
51
- "pleaseSelectOcrType": "Please select recognition type",
52
- "pleaseSelectAtLeastOneFieldToFillIn": "Please select at least one field to fill in",
53
- "pleaseChooseAtLeastOne": "Please select at least one",
54
- "pleaseEnterButtonContent": "Please enter the button title",
55
- "pleaseEnterDataCodeInDataSetting": "Please bind the business model in the data settings",
56
- "pleaseEnterValueFieldCodeInDataSetting": "Please bind storage values in data settings",
57
- "pleaseEnterSvcCodeInDataSetting": "Please bind the service in the data settings",
58
- "pleaseBindAtLeastOneDisplayValueInDataSetting": "Please bind at least one display value in the data settings",
59
- "rootNodeIsRequiredInDataSetting": "Please select the root node in the data settings",
60
- "pleaseEnterMaxHeight": "Please enter the maximum height",
61
- "pleaseEnter": "The input content cannot be empty",
62
- "pleaseEnterWatermark": "Watermark cannot be empty",
63
- "pleaseEnterFileName": "File name cannot be empty",
64
- "pleaseUploadAtLeastOnePrintTemplate": "Please upload at least one printing template!!",
65
- "pleaseAssignBusiness":"Please select a specific business department",
66
- "pleaseAssignExternal":"Please select a specified external organization",
67
- "pleaseEnterAliasCode":"Please enter a sub table alias",
68
- "pleaseSelectDataCode":"Please select the associated table to set the business model",
69
- "pleaseSelectSvcCode":"Please select the association table to set the binding service",
70
- "pleaseSelectJoinFieldCode":"Select associated sub table fields",
71
- "pleaseSelectMainFieldCode":"Please select the associated main table field",
72
- "pleaseSelectSortFieldCode":"Please select the sort field"
73
- }
1
+ {
2
+ "isNotNumber": "Please enter a number",
3
+ "isNotString": "Please enter a string",
4
+ "isNotObject": "Please enter an object",
5
+ "isNotArray": "Please enter an array",
6
+ "isNotBoolean": "Please enter a boolean",
7
+ "runtimeRequired": "{caption} Required",
8
+ "pleaseEnterCaption": "Please enter the title",
9
+ "pleaseEnterCaptionTip":"Please enter the bubble prompt",
10
+ "pleaseEnterRowCaption": "Please enter the row title",
11
+ "pleaseEnterPlaceholder": "Please enter the prompt text",
12
+ "pleaseEnterFieldCode": "Please bind data items",
13
+ "pleaseEnterForm": "Please bind the form",
14
+ "pleaseEnterList": "Please bind the list",
15
+ "pleaseEnterProcess": "Please bind the process",
16
+ "pleaseEnterLabel": "Please enter the displayed value",
17
+ "pleaseEnterValue": "Please enter the stored value",
18
+ "bizKeyNotBindFiled": "The document number is not bound to the data item",
19
+ "pleaseSelectOneField":"Please select at least one display field",
20
+ "pleaseEnterNumberRange": "Please enter a value greater than or equal to {min} and less than or equal to {max}",
21
+ "pleaseEnterAValueGreaterThanMin": "Please enter a value greater than or equal to {min}",
22
+ "pleaseEnterAValueLessThanMax": "Please enter a value less than or equal to {max}",
23
+ "numberRangeSetError": "The value range is set incorrectly",
24
+ "stringRangeError": "Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",
25
+ "attachmentMaxSize": "The attachment size must be between 0MB and 1000MB",
26
+ "pleaseEnterTotalScoreSetting": "Please fill in the total score setting",
27
+ "theTotalScoreMustNotBeLessThan1": "The total score cannot be less than 1",
28
+ "scoreDefaultValueRange": "The default value must be between {min} and {max}",
29
+ "attachmentLimitError": "The number of attachment uploads exceeds the limit",
30
+ "PleaseReselectTheOptionalQuantity": "Please re-select the optional quantity",
31
+ "TheMaximumLengthIsGreaterThanTheMinimumLength": "The maximum length of the control must be greater than the minimum length",
32
+ "TheMinimumLengthIsGreaterThanTheMaximumLength": "The minimum length of the control must be less than the maximum length",
33
+ "PleaseSelectTheCorrectOptionSettings": "Please select the correct option setting",
34
+ "optionIdIsRepeat": "Option ID cannot be repeated",
35
+ "optionIsRequired": "Please enter at least one option",
36
+ "pleaseEnterDataCode": "Please bind the data source",
37
+ "pleaseEnterValueFieldCode": "Please bind the stored value",
38
+ "pleaseEnterSvcCode": "Please bind the service",
39
+ "pleaseBindAtLeastOneDisplayValue": "At least one display value must be bound",
40
+ "pleaseSelectProvince": "Please select a province",
41
+ "pleaseSelectCity": "Please select a city",
42
+ "pleaseSelectDistrict": "Please select a district",
43
+ "limitRowsCannotBeLessThan0": "The minimum number of lines to fill in cannot be less than 0",
44
+ "TheNumberOfRowsCannotBeLessThanMinRows": "The number of rows cannot be less than {min} rows",
45
+ "pleaseEnterColumnWidth": "Please enter the column width",
46
+ "pleaseSetTheLogicalRelationshipOfAllRuleConditions": "Please set the logical relationship of all rule conditions",
47
+ "pleaseCompleteAllRulesAndConditions": "Please complete all rules and conditions",
48
+ "pleaseSelectControl": "please select control",
49
+ "pleaseSelectDashboard": "Please select the dashboard",
50
+ "theViewNameCannotBeEmpty": "View name cannot be empty",
51
+ "pleaseSelectOcrType": "Please select recognition type",
52
+ "pleaseSelectAtLeastOneFieldToFillIn": "Please select at least one field to fill in",
53
+ "pleaseChooseAtLeastOne": "Please select at least one",
54
+ "pleaseEnterButtonContent": "Please enter the button title",
55
+ "pleaseEnterDataCodeInDataSetting": "Please bind the business model in the data settings",
56
+ "pleaseEnterValueFieldCodeInDataSetting": "Please bind storage values in data settings",
57
+ "pleaseEnterSvcCodeInDataSetting": "Please bind the service in the data settings",
58
+ "pleaseBindAtLeastOneDisplayValueInDataSetting": "Please bind at least one display value in the data settings",
59
+ "rootNodeIsRequiredInDataSetting": "Please select the root node in the data settings",
60
+ "pleaseEnterMaxHeight": "Please enter the maximum height",
61
+ "pleaseEnter": "The input content cannot be empty",
62
+ "pleaseEnterWatermark": "Watermark cannot be empty",
63
+ "pleaseEnterFileName": "File name cannot be empty",
64
+ "pleaseUploadAtLeastOnePrintTemplate": "Please upload at least one printing template!!",
65
+ "pleaseAssignBusiness":"Please select a specific business department",
66
+ "pleaseAssignExternal":"Please select a specified external organization",
67
+ "pleaseEnterAliasCode":"Please enter a sub table alias",
68
+ "pleaseSelectDataCode":"Please select the associated table to set the business model",
69
+ "pleaseSelectSvcCode":"Please select the association table to set the binding service",
70
+ "pleaseSelectJoinFieldCode":"Select associated sub table fields",
71
+ "pleaseSelectMainFieldCode":"Please select the associated main table field",
72
+ "pleaseSelectSortFieldCode":"Please select the sort field",
73
+ "batchDeleteButton": "批量删除",
74
+ "batchPrintListButton": "批量打印",
75
+ "batchPrintRecordList": "批量打印记录",
76
+ "button": "按钮",
77
+ "createFormListButton": "创建单据",
78
+ "dashboard": "仪表盘",
79
+ "divider": "分割线",
80
+ "exportListButton": "导出",
81
+ "formSelectButton": "表单操作",
82
+ "importRecordListButton": "导入",
83
+ "invoiceCheckButton": "发票识别",
84
+ "link": "链接",
85
+ "listSelectButton": "列表选择",
86
+ "ListViewSelect": "列表视图",
87
+ "operationButton": "操作按钮",
88
+ "pagination": "分页",
89
+ "submissionRecordListButton": "批量提交记录",
90
+ "text": "说明文字",
91
+ "textOcrButton": "文字识别",
92
+ "title": "标题组件",
93
+ "approvalStatusColumn": "当前审批状态",
94
+ "array": "数组",
95
+ "autoNumber": "自动编号",
96
+ "custom": "自定义",
97
+ "decimal": "数值",
98
+ "department": "部门",
99
+ "employee": "人员",
100
+ "file": "附件",
101
+ "image": "图片",
102
+ "location": "地址",
103
+ "operation": "操作",
104
+ "order": "序号",
105
+ "people": "人员",
106
+ "long": "长文本",
107
+ "timescope": "日期区间",
108
+ "timestamp": "日期",
109
+ "varchar": "短文本",
110
+ "gridLayoutWrap": "换行容器Wrap",
111
+ "gridTable": "表格",
112
+ "subTable": "明细子表",
113
+ "address": "地址",
114
+ "amount": "金额",
115
+ "calc": "计算公式",
116
+ "checkBox": "多选",
117
+ "electronicSignature": "电子签章",
118
+ "input": "单行文本",
119
+ "number": "数字",
120
+ "organizationSelection": "业务组织",
121
+ "radio": "单选",
122
+ "richText": "富文本",
123
+ "score": "评分",
124
+ "searchNumberRange": "数字区间",
125
+ "select": "下拉单选",
126
+ "selectMultiple": "下拉多选",
127
+ "selectRelation": "关联单选",
128
+ "textarea": "多行文本",
129
+ "tree": "树",
130
+ "vueFormItem": "Vue容器",
131
+ "vuePage": "Vue页面",
132
+ "WPS": "在线文档",
133
+ "actionBar": "按钮操作栏",
134
+ "advancedContainer": "高级容器",
135
+ "cardGroup": "分组",
136
+ "col": "栅格列",
137
+ "dataView": "数据容器",
138
+ "grid": "画布",
139
+ "gridLayoutContainer": "换行容器",
140
+ "gridRow": "栅格等分行",
141
+ "listView": "列表容器",
142
+ "page": "自由页面",
143
+ "position": "定位子容器",
144
+ "positioningContainer": "定位容器",
145
+ "row": "栅格布局",
146
+ "subtableColumn": "明细子表单元格",
147
+ "subtableRow": "明细子表行",
148
+ "tab": "标签页",
149
+ "tabPane": "标签单元",
150
+ "toolbox": "工具栏",
151
+ "batchSubmissionListButton": "批量提交",
152
+ "exportRecordListButton": "导出记录",
153
+ "listViewSelect": "列表视图"
154
+ }