@zscreate/form-component 1.1.678 → 1.1.679
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 +11 -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-0ff35be0] {
|
|
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-0ff35be0] {
|
|
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-0ff35be0] {
|
|
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-0ff35be0] {
|
|
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-0ff35be0] {
|
|
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-0ff35be0] {
|
|
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-0ff35be0] {
|
|
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-0ff35be0]: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-0ff35be0] {
|
|
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-0ff35be0] {
|
|
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-0ff35be0] {
|
|
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-0ff35be0] {
|
|
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.679"};
|
|
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=0ff35be0&scoped=true
|
|
186971
|
+
var AIAutoFillFormvue_type_template_id_0ff35be0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{directives:[{name:"drag-modal",rawName:"v-drag-modal"}],attrs:{"width":"800px","title":"AI填表","ok-text":"确认","cancel-text":"取消","maskClosable":!_vm.loading,"closable":!_vm.loading,"keyboard":!_vm.loading,"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_0ff35be0_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,8 @@ var AIAutoFillFormvue_type_template_id_f25b50a8_scoped_true_staticRenderFns = []
|
|
|
187094
187094
|
this.formList = [];
|
|
187095
187095
|
this.formData = formData; // 表单配置
|
|
187096
187096
|
this.formData.list.forEach(item => {
|
|
187097
|
-
if (['grid'].includes(item.type)) {
|
|
187098
|
-
|
|
187097
|
+
if (['grid', 'grid-lay-out', 'all-lay-out'].includes(item.type)) {
|
|
187098
|
+
//栅格或表格或特殊组件
|
|
187099
187099
|
item.columns.forEach(el => {
|
|
187100
187100
|
if (el.list && el.list.length) {
|
|
187101
187101
|
el.list.forEach(el2 => {
|
|
@@ -187257,10 +187257,10 @@ var AIAutoFillFormvue_type_template_id_f25b50a8_scoped_true_staticRenderFns = []
|
|
|
187257
187257
|
});
|
|
187258
187258
|
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=script&lang=js
|
|
187259
187259
|
/* harmony default export */ const AIAutoFillForm_AIAutoFillFormvue_type_script_lang_js = (AIAutoFillFormvue_type_script_lang_js);
|
|
187260
|
-
;// ./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=
|
|
187260
|
+
;// ./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=0ff35be0&prod&lang=less&scoped=true
|
|
187261
187261
|
// extracted by mini-css-extract-plugin
|
|
187262
187262
|
|
|
187263
|
-
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=style&index=0&id=
|
|
187263
|
+
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue?vue&type=style&index=0&id=0ff35be0&prod&lang=less&scoped=true
|
|
187264
187264
|
|
|
187265
187265
|
;// ./src/components/AIAutoFillForm/AIAutoFillForm.vue
|
|
187266
187266
|
|
|
@@ -187273,11 +187273,11 @@ var AIAutoFillFormvue_type_template_id_f25b50a8_scoped_true_staticRenderFns = []
|
|
|
187273
187273
|
|
|
187274
187274
|
var AIAutoFillForm_component = (0,componentNormalizer/* default */.A)(
|
|
187275
187275
|
AIAutoFillForm_AIAutoFillFormvue_type_script_lang_js,
|
|
187276
|
-
|
|
187277
|
-
|
|
187276
|
+
AIAutoFillFormvue_type_template_id_0ff35be0_scoped_true_render,
|
|
187277
|
+
AIAutoFillFormvue_type_template_id_0ff35be0_scoped_true_staticRenderFns,
|
|
187278
187278
|
false,
|
|
187279
187279
|
null,
|
|
187280
|
-
"
|
|
187280
|
+
"0ff35be0",
|
|
187281
187281
|
null
|
|
187282
187282
|
|
|
187283
187283
|
)
|