@zscreate/form-component 1.1.294 → 1.1.295

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.
@@ -28826,7 +28826,7 @@ let getFileExt = filename => {
28826
28826
  /* harmony import */ var _util_mathUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9548);
28827
28827
  /* harmony import */ var _util_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(4063);
28828
28828
  /* harmony import */ var _layoutItem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3051);
28829
- /* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1936);
28829
+ /* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3505);
28830
28830
  /* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1528);
28831
28831
  /* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_7__);
28832
28832
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(9274);
@@ -31333,7 +31333,7 @@ module.exports = {
31333
31333
 
31334
31334
  /***/ }),
31335
31335
 
31336
- /***/ 1936:
31336
+ /***/ 3505:
31337
31337
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
31338
31338
 
31339
31339
  "use strict";
@@ -47401,11 +47401,116 @@ var ImgUpload_component_component = (0,componentNormalizer/* default */.A)(
47401
47401
  )
47402
47402
 
47403
47403
  /* harmony default export */ const ImgUpload_component = (ImgUpload_component_component.exports);
47404
- ;// CONCATENATED MODULE: ./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/form/modules/components/ImgUpload/widgetSetup.vue?vue&type=template&id=6f76ab08&scoped=true
47405
- var widgetSetupvue_type_template_id_6f76ab08_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control"},[_c('div',{staticClass:"form_wrap"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{attrs:{"label":"加密上传"}},[_c('a-switch',{model:{value:(_vm.widget.options.uploadEncrypt),callback:function ($$v) {_vm.$set(_vm.widget.options, "uploadEncrypt", $$v)},expression:"widget.options.uploadEncrypt"}})],1),(_vm.widget.options.uploadEncrypt)?_c('a-form-model-item',{attrs:{"label":"Token解密下载"}},[_c('a-switch',{model:{value:(_vm.widget.options.downloadVerifyToken),callback:function ($$v) {_vm.$set(_vm.widget.options, "downloadVerifyToken", $$v)},expression:"widget.options.downloadVerifyToken"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"允许文件上传类型"}},[_c('a-tooltip',{attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_c('span',[_vm._v("请输入允许上传的文件后缀,多个以逗号隔开")])]),_c('a-input',{model:{value:(_vm.widget.ext),callback:function ($$v) {_vm.$set(_vm.widget, "ext", $$v)},expression:"widget.ext"}})],2)],1),_c('a-form-model-item',{attrs:{"label":"最大上传数"}},[_c('a-input-number',{attrs:{"max":5,"min":1},model:{value:(_vm.widget.options.length),callback:function ($$v) {_vm.$set(_vm.widget.options, "length", $$v)},expression:"widget.options.length"}})],1),_c('a-form-model-item',{attrs:{"label":"最大上传图片大小kb"}},[_c('a-input',{model:{value:(_vm.widget.options.fileSize),callback:function ($$v) {_vm.$set(_vm.widget.options, "fileSize", $$v)},expression:"widget.options.fileSize"}})],1),_c('a-form-model-item',{attrs:{"label":"图片上传地址"}},[_c('a-input',{model:{value:(_vm.widget.options.action),callback:function ($$v) {_vm.$set(_vm.widget.options, "action", $$v)},expression:"widget.options.action"}})],1),_c('a-form-model-item',{attrs:{"label":"图片宽度"}},[_c('a-input',{model:{value:(_vm.widget.options.size.width),callback:function ($$v) {_vm.$set(_vm.widget.options.size, "width", $$v)},expression:"widget.options.size.width"}})],1),_c('a-form-model-item',{attrs:{"label":"图片高度"}},[_c('a-input',{model:{value:(_vm.widget.options.size.height),callback:function ($$v) {_vm.$set(_vm.widget.options.size, "height", $$v)},expression:"widget.options.size.height"}})],1)],1)],1)])])}
47406
- var widgetSetupvue_type_template_id_6f76ab08_scoped_true_staticRenderFns = []
47404
+ ;// CONCATENATED MODULE: ./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/form/modules/components/ImgUpload/widgetSetup.vue?vue&type=template&id=5d1950b8&scoped=true
47405
+ var widgetSetupvue_type_template_id_5d1950b8_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control"},[_c('div',{staticClass:"form_wrap"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{ref:"title",attrs:{"label":"默认值","prop":"title"}},[_c('common-config-sql',{attrs:{"widget":_vm.widget}})],1),_c('a-form-model-item',{attrs:{"label":"加密上传"}},[_c('a-switch',{model:{value:(_vm.widget.options.uploadEncrypt),callback:function ($$v) {_vm.$set(_vm.widget.options, "uploadEncrypt", $$v)},expression:"widget.options.uploadEncrypt"}})],1),(_vm.widget.options.uploadEncrypt)?_c('a-form-model-item',{attrs:{"label":"Token解密下载"}},[_c('a-switch',{model:{value:(_vm.widget.options.downloadVerifyToken),callback:function ($$v) {_vm.$set(_vm.widget.options, "downloadVerifyToken", $$v)},expression:"widget.options.downloadVerifyToken"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"允许文件上传类型"}},[_c('a-tooltip',{attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_c('span',[_vm._v("请输入允许上传的文件后缀,多个以逗号隔开")])]),_c('a-input',{model:{value:(_vm.widget.ext),callback:function ($$v) {_vm.$set(_vm.widget, "ext", $$v)},expression:"widget.ext"}})],2)],1),_c('a-form-model-item',{attrs:{"label":"最大上传数"}},[_c('a-input-number',{attrs:{"max":5,"min":1},model:{value:(_vm.widget.options.length),callback:function ($$v) {_vm.$set(_vm.widget.options, "length", $$v)},expression:"widget.options.length"}})],1),_c('a-form-model-item',{attrs:{"label":"最大上传图片大小kb"}},[_c('a-input',{model:{value:(_vm.widget.options.fileSize),callback:function ($$v) {_vm.$set(_vm.widget.options, "fileSize", $$v)},expression:"widget.options.fileSize"}})],1),_c('a-form-model-item',{attrs:{"label":"图片上传地址"}},[_c('a-input',{model:{value:(_vm.widget.options.action),callback:function ($$v) {_vm.$set(_vm.widget.options, "action", $$v)},expression:"widget.options.action"}})],1),_c('a-form-model-item',{attrs:{"label":"图片宽度"}},[_c('a-input',{model:{value:(_vm.widget.options.size.width),callback:function ($$v) {_vm.$set(_vm.widget.options.size, "width", $$v)},expression:"widget.options.size.width"}})],1),_c('a-form-model-item',{attrs:{"label":"图片高度"}},[_c('a-input',{model:{value:(_vm.widget.options.size.height),callback:function ($$v) {_vm.$set(_vm.widget.options.size, "height", $$v)},expression:"widget.options.size.height"}})],1)],1)],1)])])}
47406
+ var widgetSetupvue_type_template_id_5d1950b8_scoped_true_staticRenderFns = []
47407
47407
 
47408
47408
 
47409
+ ;// CONCATENATED MODULE: ./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/form/modules/common/commonConfigSql.vue?vue&type=template&id=2df1220e&scoped=true
47410
+ var commonConfigSqlvue_type_template_id_2df1220e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}},[_c('a-radio-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.showOptions.includes('1')),expression:"showOptions.includes('1')"}],attrs:{"value":"1"}},[_vm._v("输入数据")]),_c('a-radio-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.showOptions.includes('2')),expression:"showOptions.includes('2')"}],attrs:{"value":"2"}},[_vm._v("表单绑定")]),(!_vm.isFormDesignSQL)?_c('a-radio-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.showOptions.includes('4')),expression:"showOptions.includes('4')"}],attrs:{"value":"4"}},[_vm._v("数据集")]):_vm._e()],1),(_vm.source === '1')?_c('a-input',{model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}}):_vm._e(),(_vm.source === '2')?_c('a-input',{attrs:{"placeholder":"请点击选择绑定表单字段","read-only":""},on:{"click":_vm.openformDataBindModal},model:{value:(_vm.widget.options.defaultValue),callback:function ($$v) {_vm.$set(_vm.widget.options, "defaultValue", $$v)},expression:"widget.options.defaultValue"}}):_vm._e(),_c('div',[(_vm.source === '4')?_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.openDefaultValueWithSql}},[_vm._v("关联数据集")]):_vm._e()],1),_c('form-data-bind-modal',{ref:"formDataBindModal",on:{"okSubStr":_vm.okSubStr}}),_c('datasetManagement',{ref:"datasetManagement",on:{"setDateOk":_vm.setDateOk}})],1)}
47411
+ var commonConfigSqlvue_type_template_id_2df1220e_scoped_true_staticRenderFns = []
47412
+
47413
+
47414
+ ;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@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/form/modules/common/commonConfigSql.vue?vue&type=script&lang=js
47415
+ //
47416
+ //
47417
+ //
47418
+ //
47419
+ //
47420
+ //
47421
+ //
47422
+ //
47423
+ //
47424
+ //
47425
+ //
47426
+ //
47427
+ //
47428
+ //
47429
+ //
47430
+ //
47431
+ //
47432
+ //
47433
+ //
47434
+ //
47435
+ //
47436
+ //
47437
+ //
47438
+ //
47439
+ //
47440
+ //
47441
+ //
47442
+
47443
+
47444
+
47445
+
47446
+ /* harmony default export */ const commonConfigSqlvue_type_script_lang_js = ({
47447
+ name: "commonConfigSql",
47448
+ components: {
47449
+ formDataBindModal: formDataBindModal,
47450
+ datasetManagement: datasetManagement,
47451
+ JDictSelectTag: JDictSelectTag
47452
+ },
47453
+ props: {
47454
+ widget: {
47455
+ type: Object,
47456
+ default: function () {
47457
+ return {};
47458
+ }
47459
+ },
47460
+ showOptions: {
47461
+ type: Array,
47462
+ default: () => ['1', '2', '4']
47463
+ }
47464
+ },
47465
+ data() {
47466
+ return {
47467
+ source: '1'
47468
+ };
47469
+ },
47470
+ computed: {
47471
+ isFormDesignSQL() {
47472
+ return window._CONFIG.isFormDesignSQL;
47473
+ }
47474
+ },
47475
+ methods: {
47476
+ okSubStr(val) {
47477
+ this.widget.options.defaultValue = val;
47478
+ },
47479
+ openformDataBindModal() {
47480
+ this.$refs.formDataBindModal.init("input", this.widget);
47481
+ },
47482
+ openDefaultValueWithSql() {
47483
+ this.$refs.datasetManagement.init(this.widget.options, true);
47484
+ this.widget.options.source = this.source;
47485
+ },
47486
+ setDateOk(val) {
47487
+ this.widget.options.defaultValue = "defaultQuerySQL";
47488
+ this.widget.options.defaultSQL = val;
47489
+ }
47490
+ }
47491
+ });
47492
+ ;// CONCATENATED MODULE: ./src/form/modules/common/commonConfigSql.vue?vue&type=script&lang=js
47493
+ /* harmony default export */ const common_commonConfigSqlvue_type_script_lang_js = (commonConfigSqlvue_type_script_lang_js);
47494
+ ;// CONCATENATED MODULE: ./src/form/modules/common/commonConfigSql.vue
47495
+
47496
+
47497
+
47498
+
47499
+
47500
+ /* normalize component */
47501
+ ;
47502
+ var commonConfigSql_component = (0,componentNormalizer/* default */.A)(
47503
+ common_commonConfigSqlvue_type_script_lang_js,
47504
+ commonConfigSqlvue_type_template_id_2df1220e_scoped_true_render,
47505
+ commonConfigSqlvue_type_template_id_2df1220e_scoped_true_staticRenderFns,
47506
+ false,
47507
+ null,
47508
+ "2df1220e",
47509
+ null
47510
+
47511
+ )
47512
+
47513
+ /* harmony default export */ const commonConfigSql = (commonConfigSql_component.exports);
47409
47514
  ;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@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/form/modules/components/ImgUpload/widgetSetup.vue?vue&type=script&lang=js
47410
47515
  //
47411
47516
  //
@@ -47449,6 +47554,9 @@ var widgetSetupvue_type_template_id_6f76ab08_scoped_true_staticRenderFns = []
47449
47554
  //
47450
47555
  //
47451
47556
  //
47557
+ //
47558
+ //
47559
+
47452
47560
 
47453
47561
  /* harmony default export */ const ImgUpload_widgetSetupvue_type_script_lang_js = ({
47454
47562
  name: "widgetSetup",
@@ -47466,7 +47574,9 @@ var widgetSetupvue_type_template_id_6f76ab08_scoped_true_staticRenderFns = []
47466
47574
  }
47467
47575
  }
47468
47576
  },
47469
- components: {},
47577
+ components: {
47578
+ CommonConfigSql: commonConfigSql
47579
+ },
47470
47580
  created() {},
47471
47581
  watch: {
47472
47582
  'widget.options.uploadEncrypt'(val) {
@@ -47492,11 +47602,11 @@ var widgetSetupvue_type_template_id_6f76ab08_scoped_true_staticRenderFns = []
47492
47602
  ;
47493
47603
  var ImgUpload_widgetSetup_component = (0,componentNormalizer/* default */.A)(
47494
47604
  components_ImgUpload_widgetSetupvue_type_script_lang_js,
47495
- widgetSetupvue_type_template_id_6f76ab08_scoped_true_render,
47496
- widgetSetupvue_type_template_id_6f76ab08_scoped_true_staticRenderFns,
47605
+ widgetSetupvue_type_template_id_5d1950b8_scoped_true_render,
47606
+ widgetSetupvue_type_template_id_5d1950b8_scoped_true_staticRenderFns,
47497
47607
  false,
47498
47608
  null,
47499
- "6f76ab08",
47609
+ "5d1950b8",
47500
47610
  null
47501
47611
 
47502
47612
  )
@@ -93535,8 +93645,8 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
93535
93645
  var staticRenderFns = []
93536
93646
 
93537
93647
 
93538
- // EXTERNAL MODULE: ./src/form/modules/components/index.js + 900 modules
93539
- var components = __webpack_require__(1936);
93648
+ // EXTERNAL MODULE: ./src/form/modules/components/index.js + 904 modules
93649
+ var components = __webpack_require__(3505);
93540
93650
  ;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@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/form/modules/common/Modals/CorrectionItem.vue?vue&type=script&lang=js
93541
93651
  //
93542
93652
  //
@@ -94892,8 +95002,8 @@ var component = (0,componentNormalizer/* default */.A)(
94892
95002
  )
94893
95003
 
94894
95004
  /* harmony default export */ const CorrectionModal = (component.exports);
94895
- // EXTERNAL MODULE: ./src/form/modules/components/index.js + 900 modules
94896
- var components = __webpack_require__(1936);
95005
+ // EXTERNAL MODULE: ./src/form/modules/components/index.js + 904 modules
95006
+ var components = __webpack_require__(3505);
94897
95007
  // EXTERNAL MODULE: ./node_modules/_pubsub-js@1.9.4@pubsub-js/src/pubsub.js
94898
95008
  var pubsub = __webpack_require__(1528);
94899
95009
  var pubsub_default = /*#__PURE__*/__webpack_require__.n(pubsub);
@@ -96031,8 +96141,8 @@ var vuedraggable_umd = __webpack_require__(9715);
96031
96141
  var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_umd);
96032
96142
  // EXTERNAL MODULE: ./src/api/manage.js
96033
96143
  var manage = __webpack_require__(8501);
96034
- // EXTERNAL MODULE: ./src/form/modules/components/index.js + 900 modules
96035
- var components = __webpack_require__(1936);
96144
+ // EXTERNAL MODULE: ./src/form/modules/components/index.js + 904 modules
96145
+ var components = __webpack_require__(3505);
96036
96146
  // EXTERNAL MODULE: ./src/form/util/Bus.js
96037
96147
  var Bus = __webpack_require__(1509);
96038
96148
  // EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
@@ -107878,7 +107988,7 @@ function keys(object) {
107878
107988
  /***/ ((module) => {
107879
107989
 
107880
107990
  "use strict";
107881
- module.exports = {"rE":"1.1.294"};
107991
+ module.exports = {"rE":"1.1.295"};
107882
107992
 
107883
107993
  /***/ })
107884
107994
 
@@ -111164,8 +111274,8 @@ var es_array_push = __webpack_require__(5337);
111164
111274
  var es_array_sort = __webpack_require__(5833);
111165
111275
  // EXTERNAL MODULE: ./src/form/util/util.js
111166
111276
  var util = __webpack_require__(4063);
111167
- // EXTERNAL MODULE: ./src/form/modules/components/index.js + 900 modules
111168
- var components = __webpack_require__(1936);
111277
+ // EXTERNAL MODULE: ./src/form/modules/components/index.js + 904 modules
111278
+ var components = __webpack_require__(3505);
111169
111279
  // EXTERNAL MODULE: ./src/api/manage.js
111170
111280
  var manage = __webpack_require__(8501);
111171
111281
  // EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.294",
3
+ "version": "1.1.295",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",