@zscreate/form-component 1.1.676 → 1.1.677
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/form-component.css +12 -12
- package/dist/form-component.umd.js +15 -11
- package/package.json +1 -1
package/dist/form-component.css
CHANGED
|
@@ -8244,25 +8244,25 @@ div {
|
|
|
8244
8244
|
background: rgba(24, 144, 255, 0.6);
|
|
8245
8245
|
}
|
|
8246
8246
|
|
|
8247
|
-
.ai-fill-form .form-item[data-v-
|
|
8247
|
+
.ai-fill-form .form-item[data-v-4ef187f3] {
|
|
8248
8248
|
margin-bottom: 20px;
|
|
8249
8249
|
}
|
|
8250
|
-
.ai-fill-form .form-item .label[data-v-
|
|
8250
|
+
.ai-fill-form .form-item .label[data-v-4ef187f3] {
|
|
8251
8251
|
font-size: 14px;
|
|
8252
8252
|
color: #333;
|
|
8253
8253
|
margin-bottom: 8px;
|
|
8254
8254
|
font-weight: 500;
|
|
8255
8255
|
}
|
|
8256
|
-
.ai-fill-form .progress-info[data-v-
|
|
8256
|
+
.ai-fill-form .progress-info[data-v-4ef187f3] {
|
|
8257
8257
|
margin-bottom: 20px;
|
|
8258
8258
|
}
|
|
8259
|
-
.ai-fill-form .progress-info .progress-text[data-v-
|
|
8259
|
+
.ai-fill-form .progress-info .progress-text[data-v-4ef187f3] {
|
|
8260
8260
|
margin-top: 8px;
|
|
8261
8261
|
font-size: 13px;
|
|
8262
8262
|
color: #666;
|
|
8263
8263
|
text-align: center;
|
|
8264
8264
|
}
|
|
8265
|
-
.ai-fill-form .result-list[data-v-
|
|
8265
|
+
.ai-fill-form .result-list[data-v-4ef187f3] {
|
|
8266
8266
|
margin-bottom: 20px;
|
|
8267
8267
|
padding: 16px;
|
|
8268
8268
|
background: #f5f5f5;
|
|
@@ -8270,33 +8270,33 @@ div {
|
|
|
8270
8270
|
max-height: 300px;
|
|
8271
8271
|
overflow-y: auto;
|
|
8272
8272
|
}
|
|
8273
|
-
.ai-fill-form .result-list .result-title[data-v-
|
|
8273
|
+
.ai-fill-form .result-list .result-title[data-v-4ef187f3] {
|
|
8274
8274
|
font-size: 14px;
|
|
8275
8275
|
font-weight: 500;
|
|
8276
8276
|
color: #333;
|
|
8277
8277
|
margin-bottom: 12px;
|
|
8278
8278
|
}
|
|
8279
|
-
.ai-fill-form .result-list .result-item[data-v-
|
|
8279
|
+
.ai-fill-form .result-list .result-item[data-v-4ef187f3] {
|
|
8280
8280
|
padding: 8px 0;
|
|
8281
8281
|
border-bottom: 1px dashed #e0e0e0;
|
|
8282
8282
|
font-size: 13px;
|
|
8283
8283
|
}
|
|
8284
|
-
.ai-fill-form .result-list .result-item[data-v-
|
|
8284
|
+
.ai-fill-form .result-list .result-item[data-v-4ef187f3]:last-child {
|
|
8285
8285
|
border-bottom: none;
|
|
8286
8286
|
}
|
|
8287
|
-
.ai-fill-form .result-list .result-item .field-name[data-v-
|
|
8287
|
+
.ai-fill-form .result-list .result-item .field-name[data-v-4ef187f3] {
|
|
8288
8288
|
color: #666;
|
|
8289
8289
|
margin-right: 8px;
|
|
8290
8290
|
}
|
|
8291
|
-
.ai-fill-form .result-list .result-item .field-value[data-v-
|
|
8291
|
+
.ai-fill-form .result-list .result-item .field-value[data-v-4ef187f3] {
|
|
8292
8292
|
color: #1890ff;
|
|
8293
8293
|
font-weight: 500;
|
|
8294
8294
|
}
|
|
8295
|
-
.ai-fill-form .result-list .result-item .field-value.empty-value[data-v-
|
|
8295
|
+
.ai-fill-form .result-list .result-item .field-value.empty-value[data-v-4ef187f3] {
|
|
8296
8296
|
color: #999;
|
|
8297
8297
|
font-style: italic;
|
|
8298
8298
|
}
|
|
8299
|
-
.ai-fill-form .footer-btns[data-v-
|
|
8299
|
+
.ai-fill-form .footer-btns[data-v-4ef187f3] {
|
|
8300
8300
|
display: flex;
|
|
8301
8301
|
justify-content: flex-end;
|
|
8302
8302
|
gap: 10px;
|
|
@@ -6820,7 +6820,7 @@ if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIO
|
|
|
6820
6820
|
/***/ ((module) => {
|
|
6821
6821
|
|
|
6822
6822
|
"use strict";
|
|
6823
|
-
module.exports = {"rE":"1.1.
|
|
6823
|
+
module.exports = {"rE":"1.1.677"};
|
|
6824
6824
|
|
|
6825
6825
|
/***/ }),
|
|
6826
6826
|
|
|
@@ -186967,9 +186967,9 @@ function useSsoStatus(options) {
|
|
|
186967
186967
|
}
|
|
186968
186968
|
};
|
|
186969
186969
|
}
|
|
186970
|
-
;// ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=template&id=
|
|
186971
|
-
var
|
|
186972
|
-
var
|
|
186970
|
+
;// ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=template&id=4ef187f3&scoped=true
|
|
186971
|
+
var AIAutoFillFormvue_type_template_id_4ef187f3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"width":"800px","title":"AI填表","ok-text":"确认","cancel-text":"取消","maskClosable":false,"footer":null},on:{"ok":_vm.handleOk,"cancel":_vm.handleCancel},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('a-spin',{attrs:{"spinning":_vm.loading,"tip":_vm.tips}},[_c('div',{staticClass:"ai-fill-form"},[_c('div',{staticClass:"form-item"},[_c('div',{staticClass:"label"},[_vm._v("请输入或粘贴内容:")]),_c('a-textarea',{attrs:{"rows":6,"placeholder":"请输入或粘贴需要识别的内容,例如:张三 男 合肥大学","disabled":_vm.loading},model:{value:(_vm.contentText),callback:function ($$v) {_vm.contentText=$$v},expression:"contentText"}})],1),(_vm.recognizeProgress.total > 0)?_c('div',{staticClass:"progress-info"},[_c('a-progress',{attrs:{"percent":_vm.progressPercent,"status":_vm.recognizeProgress.current === _vm.recognizeProgress.total ? 'success' : 'active'}})],1):_vm._e(),(_vm.resultList.length > 0)?_c('div',{staticClass:"result-list"},[_c('div',{staticClass:"result-title"},[_vm._v("识别结果:")]),_vm._l((_vm.resultList),function(item,index){return _c('div',{key:index,staticClass:"result-item"},[_c('span',{staticClass:"field-name"},[_vm._v(_vm._s(item.fieldName)+":")]),_c('span',{staticClass:"field-value",class:{ 'empty-value': item.value === undefined }},[_vm._v(" "+_vm._s(item.value === undefined ? '未识别成功' : item.value)+" ")])])})],2):_vm._e(),_c('div',{staticClass:"footer-btns"},[_c('a-button',{attrs:{"disabled":_vm.loading},on:{"click":_vm.handleCancel}},[_vm._v("取消")]),_c('a-button',{attrs:{"type":"primary","loading":_vm.loading,"disabled":!_vm.contentText.trim()},on:{"click":_vm.startRecognize}},[_vm._v(" 开始识别 ")]),(_vm.resultList.length > 0)?_c('a-button',{attrs:{"type":"primary","disabled":_vm.loading || _vm.resultList.length === 0 || !_vm.hasSuccessResult},on:{"click":_vm.handleOk}},[_vm._v(" 确认填入 ")]):_vm._e()],1)])])],1)}
|
|
186972
|
+
var AIAutoFillFormvue_type_template_id_4ef187f3_scoped_true_staticRenderFns = []
|
|
186973
186973
|
|
|
186974
186974
|
|
|
186975
186975
|
;// ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.4.1@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=script&lang=js
|
|
@@ -187094,8 +187094,12 @@ var AIAutoFillFormvue_type_template_id_8c9a5f54_scoped_true_staticRenderFns = []
|
|
|
187094
187094
|
if (['grid'].includes(item.type)) {
|
|
187095
187095
|
//栅格
|
|
187096
187096
|
item.columns.forEach(el => {
|
|
187097
|
-
if (el.list && el.list
|
|
187098
|
-
|
|
187097
|
+
if (el.list && el.list.length) {
|
|
187098
|
+
el.list.forEach(el2 => {
|
|
187099
|
+
if (['input', 'textarea', 'number', 'date', 'time'].includes(el2.type)) {
|
|
187100
|
+
this.formList.push(el2);
|
|
187101
|
+
}
|
|
187102
|
+
});
|
|
187099
187103
|
}
|
|
187100
187104
|
});
|
|
187101
187105
|
} else if (['input', 'textarea', 'number', 'date', 'time'].includes(item.type)) {
|
|
@@ -187245,10 +187249,10 @@ var AIAutoFillFormvue_type_template_id_8c9a5f54_scoped_true_staticRenderFns = []
|
|
|
187245
187249
|
});
|
|
187246
187250
|
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=script&lang=js
|
|
187247
187251
|
/* harmony default export */ const AIAutoFillForm_AIAutoFillFormvue_type_script_lang_js = (AIAutoFillFormvue_type_script_lang_js);
|
|
187248
|
-
;// ./node_modules/_mini-css-extract-plugin@2.9.4@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=style&index=0&id=
|
|
187252
|
+
;// ./node_modules/_mini-css-extract-plugin@2.9.4@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.11.0@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=style&index=0&id=4ef187f3&prod&lang=less&scoped=true
|
|
187249
187253
|
// extracted by mini-css-extract-plugin
|
|
187250
187254
|
|
|
187251
|
-
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=style&index=0&id=
|
|
187255
|
+
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=style&index=0&id=4ef187f3&prod&lang=less&scoped=true
|
|
187252
187256
|
|
|
187253
187257
|
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue
|
|
187254
187258
|
|
|
@@ -187261,11 +187265,11 @@ var AIAutoFillFormvue_type_template_id_8c9a5f54_scoped_true_staticRenderFns = []
|
|
|
187261
187265
|
|
|
187262
187266
|
var AIAutoFillForm_component = (0,componentNormalizer/* default */.A)(
|
|
187263
187267
|
AIAutoFillForm_AIAutoFillFormvue_type_script_lang_js,
|
|
187264
|
-
|
|
187265
|
-
|
|
187268
|
+
AIAutoFillFormvue_type_template_id_4ef187f3_scoped_true_render,
|
|
187269
|
+
AIAutoFillFormvue_type_template_id_4ef187f3_scoped_true_staticRenderFns,
|
|
187266
187270
|
false,
|
|
187267
187271
|
null,
|
|
187268
|
-
"
|
|
187272
|
+
"4ef187f3",
|
|
187269
187273
|
null
|
|
187270
187274
|
|
|
187271
187275
|
)
|