@dhccmobile/vue3-lo-form 1.1.26 → 1.1.27
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/dhccmobile-vue3-lo-form-1.1.27.tgz +0 -0
- package/dist/vue3-lo-form.common.js +109 -96
- package/dist/vue3-lo-form.common.js.map +1 -1
- package/dist/vue3-lo-form.css +1 -1
- package/dist/vue3-lo-form.umd.js +109 -96
- package/dist/vue3-lo-form.umd.js.map +1 -1
- package/dist/vue3-lo-form.umd.min.js +7 -7
- package/dist/vue3-lo-form.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/form/DvFormLayout.vue +14 -4
- package/src/core/FormApi.ts +1 -0
- package/src/domain/DesFormControl.ts +3 -0
- package/src/filtres/amount-capitalization.filter.ts +9 -8
- package/src/styles/theme2.scss +4 -0
- package/types/core/FormApi.d.ts +2 -1
- package/types/domain/DesFormControl.d.ts +2 -0
|
Binary file
|
|
@@ -719,7 +719,7 @@ function _wrapNativeSuper(Class) {
|
|
|
719
719
|
var formatRegExp = /%[sdj%]/g;
|
|
720
720
|
var warning = function warning() {}; // don't print warning message when in production env or node runtime
|
|
721
721
|
|
|
722
|
-
if (typeof process !== 'undefined' && Object({"NODE_ENV":"production","VUE_APP_APP_ID":"1009549605007003648","VUE_APP_LOONG_CONFIGURE_DATA_INTERFACE_API":"http://10.7.114.
|
|
722
|
+
if (typeof process !== 'undefined' && Object({"NODE_ENV":"production","VUE_APP_APP_ID":"1009549605007003648","VUE_APP_LOONG_CONFIGURE_DATA_INTERFACE_API":"http://10.7.114.81:32135","BASE_URL":"/"}) && "production" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
|
|
723
723
|
warning = function warning(type, errors) {
|
|
724
724
|
if (typeof console !== 'undefined' && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING === 'undefined') {
|
|
725
725
|
if (errors.every(function (e) {
|
|
@@ -7439,6 +7439,17 @@ module.exports = function (argument) {
|
|
|
7439
7439
|
|
|
7440
7440
|
!function(t,e){ true?module.exports=e():undefined}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p=function(t){return t instanceof b},S=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new b(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var b=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,f=O.p(t),l=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=O.p(f),y=function(t){var e=w(l);return O.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return O.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return O.s(e.$y,4,"0");case"M":return a+1;case"MM":return O.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return O.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return O.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return O.s(u,2,"0");case"s":return String(e.$s);case"ss":return O.s(e.$s,2,"0");case"SSS":return O.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=O.p(d),m=w(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return O.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g}return l?$:O.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),_=b.prototype;return w.prototype=_,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,b,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=D[g],w.Ls=D,w.p={},w}));
|
|
7441
7441
|
|
|
7442
|
+
/***/ }),
|
|
7443
|
+
|
|
7444
|
+
/***/ "5ab8":
|
|
7445
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7446
|
+
|
|
7447
|
+
"use strict";
|
|
7448
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_1a65060c_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b95b");
|
|
7449
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_1a65060c_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_1a65060c_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
7450
|
+
/* unused harmony reexport * */
|
|
7451
|
+
|
|
7452
|
+
|
|
7442
7453
|
/***/ }),
|
|
7443
7454
|
|
|
7444
7455
|
/***/ "5c6c":
|
|
@@ -13833,6 +13844,13 @@ module.exports = function (name) {
|
|
|
13833
13844
|
};
|
|
13834
13845
|
|
|
13835
13846
|
|
|
13847
|
+
/***/ }),
|
|
13848
|
+
|
|
13849
|
+
/***/ "b95b":
|
|
13850
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13851
|
+
|
|
13852
|
+
// extracted by mini-css-extract-plugin
|
|
13853
|
+
|
|
13836
13854
|
/***/ }),
|
|
13837
13855
|
|
|
13838
13856
|
/***/ "b980":
|
|
@@ -19770,17 +19788,6 @@ const Switch = {
|
|
|
19770
19788
|
};
|
|
19771
19789
|
|
|
19772
19790
|
|
|
19773
|
-
/***/ }),
|
|
19774
|
-
|
|
19775
|
-
/***/ "c80f":
|
|
19776
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
19777
|
-
|
|
19778
|
-
"use strict";
|
|
19779
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_6a9f37c4_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d52d");
|
|
19780
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_6a9f37c4_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_6a9f37c4_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
19781
|
-
/* unused harmony reexport * */
|
|
19782
|
-
|
|
19783
|
-
|
|
19784
19791
|
/***/ }),
|
|
19785
19792
|
|
|
19786
19793
|
/***/ "c8ba":
|
|
@@ -20575,13 +20582,6 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
20575
20582
|
}() : undefined);
|
|
20576
20583
|
|
|
20577
20584
|
|
|
20578
|
-
/***/ }),
|
|
20579
|
-
|
|
20580
|
-
/***/ "d52d":
|
|
20581
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
20582
|
-
|
|
20583
|
-
// extracted by mini-css-extract-plugin
|
|
20584
|
-
|
|
20585
20585
|
/***/ }),
|
|
20586
20586
|
|
|
20587
20587
|
/***/ "d61e":
|
|
@@ -24724,9 +24724,9 @@ function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
|
24724
24724
|
return value;
|
|
24725
24725
|
}
|
|
24726
24726
|
|
|
24727
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-3!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/form/DvFormLayout.vue?vue&type=template&id=
|
|
24727
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-3!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/form/DvFormLayout.vue?vue&type=template&id=1a65060c&scoped=true&ts=true
|
|
24728
24728
|
|
|
24729
|
-
const _withScopeId = n => (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
24729
|
+
const _withScopeId = n => (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-1a65060c"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n);
|
|
24730
24730
|
const _hoisted_1 = {
|
|
24731
24731
|
class: "lo-control-box"
|
|
24732
24732
|
};
|
|
@@ -24751,14 +24751,17 @@ const _hoisted_8 = {
|
|
|
24751
24751
|
};
|
|
24752
24752
|
const _hoisted_9 = ["src"];
|
|
24753
24753
|
const _hoisted_10 = {
|
|
24754
|
-
class: "
|
|
24754
|
+
class: "number-format-show"
|
|
24755
24755
|
};
|
|
24756
24756
|
const _hoisted_11 = {
|
|
24757
|
+
class: "addon-inner"
|
|
24758
|
+
};
|
|
24759
|
+
const _hoisted_12 = {
|
|
24757
24760
|
key: 1,
|
|
24758
24761
|
class: "lo-input-content"
|
|
24759
24762
|
};
|
|
24760
|
-
const
|
|
24761
|
-
function
|
|
24763
|
+
const _hoisted_13 = ["title"];
|
|
24764
|
+
function DvFormLayoutvue_type_template_id_1a65060c_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24762
24765
|
const _component_a_tooltip = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-tooltip");
|
|
24763
24766
|
const _component_question_circle_outlined = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("question-circle-outlined");
|
|
24764
24767
|
const _component_clock_circle_outlined = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("clock-circle-outlined");
|
|
@@ -24962,12 +24965,12 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
24962
24965
|
}]),
|
|
24963
24966
|
tabindex: "1"
|
|
24964
24967
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_popover, {
|
|
24965
|
-
open: _ctx.numberPopoverVisible,
|
|
24966
|
-
"onUpdate:open": _cache[17] || (_cache[17] = $event => _ctx.numberPopoverVisible = $event),
|
|
24967
24968
|
placement: "topLeft",
|
|
24968
|
-
trigger: "focus"
|
|
24969
|
-
|
|
24970
|
-
|
|
24969
|
+
trigger: "focus",
|
|
24970
|
+
getPopupContainer: triggerNode => {
|
|
24971
|
+
return triggerNode.parentNode || _ctx.document.body;
|
|
24972
|
+
}
|
|
24973
|
+
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
|
|
24971
24974
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_input_number, {
|
|
24972
24975
|
step: _ctx.controlAttr.step || 1,
|
|
24973
24976
|
min: _ctx.controlAttr.minValue != null ? _ctx.controlAttr.minValue : undefined,
|
|
@@ -24987,7 +24990,7 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
24987
24990
|
_: 2
|
|
24988
24991
|
}, [_ctx.controlAttr.unit ? {
|
|
24989
24992
|
name: "addonAfter",
|
|
24990
|
-
fn: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span",
|
|
24993
|
+
fn: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_11, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.controlAttr.unit), 1)]),
|
|
24991
24994
|
key: "0"
|
|
24992
24995
|
} : undefined]), 1032, ["step", "min", "max", "formatter", "parser", "precision", "placeholder", "disabled", "value"]), _ctx.controlAttr.zoomType === _ctx.zoomType.automatic.code && _ctx.moneyUnits.length > 0 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_dropdown, {
|
|
24993
24996
|
key: 0
|
|
@@ -25013,8 +25016,12 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25013
25016
|
})]),
|
|
25014
25017
|
_: 1
|
|
25015
25018
|
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]),
|
|
25016
|
-
_:
|
|
25017
|
-
},
|
|
25019
|
+
_: 2
|
|
25020
|
+
}, [_ctx.numberPopoverVisible ? {
|
|
25021
|
+
name: "content",
|
|
25022
|
+
fn: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_10, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.amountCapitalization(_ctx.zoomMultiple(_ctx.formControl.value, _ctx.formControl))), 1)]),
|
|
25023
|
+
key: "0"
|
|
25024
|
+
} : undefined]), 1032, ["getPopupContainer"])], 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Select.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_select, {
|
|
25018
25025
|
key: 3,
|
|
25019
25026
|
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["lo-select", {
|
|
25020
25027
|
'lo-select-multiple-suffix-icon': _ctx.controlAttr.isMultipleChoice && (_ctx.$slots['select:suffixIcon:' + _ctx.formControl.key] || _ctx.controlAttr.bindingSuffix)
|
|
@@ -25022,14 +25029,14 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25022
25029
|
dropdownClassName: _ctx.controlAttr.hiddenDropdown ? 'lo-select-hide-drop-down-content' : '',
|
|
25023
25030
|
showArrow: "",
|
|
25024
25031
|
value: _ctx.formControl.value,
|
|
25025
|
-
"onUpdate:value": _cache[
|
|
25032
|
+
"onUpdate:value": _cache[19] || (_cache[19] = $event => _ctx.formControl.value = $event),
|
|
25026
25033
|
"allow-clear": _ctx.controlAttr.isClearButton,
|
|
25027
25034
|
"show-search": "",
|
|
25028
25035
|
mode: _ctx.controlAttr.isMultipleChoice ? 'multiple' : '',
|
|
25029
25036
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
25030
25037
|
placeholder: _ctx.controlAttr.placeholder,
|
|
25031
|
-
onChange: _cache[
|
|
25032
|
-
onClick: _cache[
|
|
25038
|
+
onChange: _cache[20] || (_cache[20] = $event => _ctx.onChange(_ctx.control)),
|
|
25039
|
+
onClick: _cache[21] || (_cache[21] = $event => _ctx.onClick(_ctx.control)),
|
|
25033
25040
|
"get-popup-container": _ctx.getPopupContainer,
|
|
25034
25041
|
"filter-option": _ctx.filterOption
|
|
25035
25042
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
|
|
@@ -25048,8 +25055,8 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25048
25055
|
"padding": "4px 8px 6px 8px",
|
|
25049
25056
|
"cursor": "pointer"
|
|
25050
25057
|
},
|
|
25051
|
-
onMousedown: _cache[
|
|
25052
|
-
onClick: _cache[
|
|
25058
|
+
onMousedown: _cache[17] || (_cache[17] = e => e.preventDefault()),
|
|
25059
|
+
onClick: _cache[18] || (_cache[18] = $event => _ctx.selectAddItem(_ctx.control))
|
|
25053
25060
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_plus_outlined), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("新增")], 32)], 64)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]),
|
|
25054
25061
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.options, item => {
|
|
25055
25062
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_select_option, {
|
|
@@ -25074,10 +25081,10 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25074
25081
|
key: 4,
|
|
25075
25082
|
class: "w-100",
|
|
25076
25083
|
value: _ctx.formControl.value,
|
|
25077
|
-
"onUpdate:value": _cache[
|
|
25084
|
+
"onUpdate:value": _cache[22] || (_cache[22] = $event => _ctx.formControl.value = $event),
|
|
25078
25085
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
25079
|
-
onChange: _cache[
|
|
25080
|
-
onClick: _cache[
|
|
25086
|
+
onChange: _cache[23] || (_cache[23] = $event => _ctx.onChange(_ctx.control)),
|
|
25087
|
+
onClick: _cache[24] || (_cache[24] = $event => _ctx.onClick(_ctx.control))
|
|
25081
25088
|
}, {
|
|
25082
25089
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.options, item => {
|
|
25083
25090
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_radio, {
|
|
@@ -25093,10 +25100,10 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25093
25100
|
key: 5,
|
|
25094
25101
|
class: "w-100",
|
|
25095
25102
|
value: _ctx.formControl.value,
|
|
25096
|
-
"onUpdate:value": _cache[
|
|
25103
|
+
"onUpdate:value": _cache[25] || (_cache[25] = $event => _ctx.formControl.value = $event),
|
|
25097
25104
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
25098
|
-
onChange: _cache[
|
|
25099
|
-
onClick: _cache[
|
|
25105
|
+
onChange: _cache[26] || (_cache[26] = $event => _ctx.onChange(_ctx.control)),
|
|
25106
|
+
onClick: _cache[27] || (_cache[27] = $event => _ctx.onClick(_ctx.control))
|
|
25100
25107
|
}, {
|
|
25101
25108
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_row, null, {
|
|
25102
25109
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_col, null, {
|
|
@@ -25125,12 +25132,12 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25125
25132
|
}, 8, ["value", "disabled"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Switch.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_switch, {
|
|
25126
25133
|
key: 6,
|
|
25127
25134
|
checked: _ctx.formControl.value,
|
|
25128
|
-
"onUpdate:checked": _cache[
|
|
25135
|
+
"onUpdate:checked": _cache[28] || (_cache[28] = $event => _ctx.formControl.value = $event),
|
|
25129
25136
|
"checked-children": _ctx.controlAttr.onOpeningText,
|
|
25130
25137
|
"un-checked-children": _ctx.controlAttr.whenClosedText,
|
|
25131
25138
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
25132
|
-
onChange: _cache[
|
|
25133
|
-
onClick: _cache[
|
|
25139
|
+
onChange: _cache[29] || (_cache[29] = $event => _ctx.onChange(_ctx.control)),
|
|
25140
|
+
onClick: _cache[30] || (_cache[30] = $event => _ctx.onClick(_ctx.control))
|
|
25134
25141
|
}, null, 8, ["checked", "checked-children", "un-checked-children", "disabled"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.TimePicker.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_time_picker, {
|
|
25135
25142
|
key: 7,
|
|
25136
25143
|
class: "w-100",
|
|
@@ -25140,9 +25147,9 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25140
25147
|
placeholder: _ctx.controlAttr.placeholder,
|
|
25141
25148
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
25142
25149
|
value: _ctx.formControl.value,
|
|
25143
|
-
"onUpdate:value": _cache[
|
|
25144
|
-
onChange: _cache[
|
|
25145
|
-
onClick: _cache[
|
|
25150
|
+
"onUpdate:value": _cache[31] || (_cache[31] = $event => _ctx.formControl.value = $event),
|
|
25151
|
+
onChange: _cache[32] || (_cache[32] = $event => _ctx.onChange(_ctx.control)),
|
|
25152
|
+
onClick: _cache[33] || (_cache[33] = $event => _ctx.onClick(_ctx.control))
|
|
25146
25153
|
}, null, 8, ["get-popup-container", "locale", "use12-hours", "placeholder", "disabled", "value"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.DatePicker.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
|
|
25147
25154
|
key: 8
|
|
25148
25155
|
}, [_ctx.useMonthPicker ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_month_picker, {
|
|
@@ -25154,9 +25161,9 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25154
25161
|
placeholder: _ctx.controlAttr.placeholder,
|
|
25155
25162
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
25156
25163
|
value: _ctx.formControl.value,
|
|
25157
|
-
"onUpdate:value": _cache[
|
|
25158
|
-
onChange: _cache[
|
|
25159
|
-
onClick: _cache[
|
|
25164
|
+
"onUpdate:value": _cache[34] || (_cache[34] = $event => _ctx.formControl.value = $event),
|
|
25165
|
+
onChange: _cache[35] || (_cache[35] = $event => _ctx.onChange(_ctx.control)),
|
|
25166
|
+
onClick: _cache[36] || (_cache[36] = $event => _ctx.onClick(_ctx.control))
|
|
25160
25167
|
}, null, 8, ["get-popup-container", "locale", "format", "placeholder", "disabled", "value"])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_date_picker, {
|
|
25161
25168
|
key: 1,
|
|
25162
25169
|
class: "w-100",
|
|
@@ -25167,16 +25174,16 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25167
25174
|
placeholder: _ctx.controlAttr.placeholder,
|
|
25168
25175
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
25169
25176
|
value: _ctx.formControl.value,
|
|
25170
|
-
"onUpdate:value": _cache[
|
|
25171
|
-
onChange: _cache[
|
|
25172
|
-
onClick: _cache[
|
|
25177
|
+
"onUpdate:value": _cache[37] || (_cache[37] = $event => _ctx.formControl.value = $event),
|
|
25178
|
+
onChange: _cache[38] || (_cache[38] = $event => _ctx.onChange(_ctx.control)),
|
|
25179
|
+
onClick: _cache[39] || (_cache[39] = $event => _ctx.onClick(_ctx.control))
|
|
25173
25180
|
}, null, 8, ["get-popup-container", "locale", "showTime", "format", "placeholder", "disabled", "value"]))], 64)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Slider.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_slider, {
|
|
25174
25181
|
key: 9,
|
|
25175
25182
|
value: _ctx.formControl.value,
|
|
25176
|
-
"onUpdate:value": _cache[
|
|
25183
|
+
"onUpdate:value": _cache[40] || (_cache[40] = $event => _ctx.formControl.value = $event),
|
|
25177
25184
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
25178
|
-
onChange: _cache[
|
|
25179
|
-
onClick: _cache[
|
|
25185
|
+
onChange: _cache[41] || (_cache[41] = $event => _ctx.onChange(_ctx.control)),
|
|
25186
|
+
onClick: _cache[42] || (_cache[42] = $event => _ctx.onClick(_ctx.control))
|
|
25180
25187
|
}, null, 8, ["value", "disabled"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Cascader.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_cascader, {
|
|
25181
25188
|
key: 10,
|
|
25182
25189
|
"get-popup-container": _ctx.getPopupContainer,
|
|
@@ -25187,14 +25194,14 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25187
25194
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
25188
25195
|
options: _ctx.cascaderOptions,
|
|
25189
25196
|
value: _ctx.formControl.value,
|
|
25190
|
-
"onUpdate:value": _cache[
|
|
25191
|
-
onChange: _cache[
|
|
25192
|
-
onClick: _cache[
|
|
25197
|
+
"onUpdate:value": _cache[43] || (_cache[43] = $event => _ctx.formControl.value = $event),
|
|
25198
|
+
onChange: _cache[44] || (_cache[44] = $event => _ctx.onChange(_ctx.control)),
|
|
25199
|
+
onClick: _cache[45] || (_cache[45] = $event => _ctx.onClick(_ctx.control))
|
|
25193
25200
|
}, null, 8, ["get-popup-container", "placeholder", "show-search", "disabled", "options", "value"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.TreeSelect.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_tree_select, {
|
|
25194
25201
|
key: 11,
|
|
25195
25202
|
"get-popup-container": _ctx.getPopupContainer,
|
|
25196
25203
|
value: _ctx.formControl.value,
|
|
25197
|
-
"onUpdate:value": _cache[
|
|
25204
|
+
"onUpdate:value": _cache[46] || (_cache[46] = $event => _ctx.formControl.value = $event),
|
|
25198
25205
|
"show-search": true,
|
|
25199
25206
|
treeNodeFilterProp: 'title',
|
|
25200
25207
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
@@ -25204,16 +25211,16 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25204
25211
|
overflow: 'auto'
|
|
25205
25212
|
},
|
|
25206
25213
|
"tree-data": _ctx.treeSelectOptions,
|
|
25207
|
-
onChange: _cache[
|
|
25208
|
-
onClick: _cache[
|
|
25214
|
+
onChange: _cache[47] || (_cache[47] = $event => _ctx.onChange(_ctx.control)),
|
|
25215
|
+
onClick: _cache[48] || (_cache[48] = $event => _ctx.onClick(_ctx.control)),
|
|
25209
25216
|
treeDefaultExpandAll: _ctx.controlAttr.IsTreeOpen
|
|
25210
25217
|
}, null, 8, ["get-popup-container", "value", "disabled", "placeholder", "tree-data", "treeDefaultExpandAll"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Rate.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_rate, {
|
|
25211
25218
|
key: 12,
|
|
25212
25219
|
value: _ctx.formControl.value,
|
|
25213
|
-
"onUpdate:value": _cache[
|
|
25220
|
+
"onUpdate:value": _cache[49] || (_cache[49] = $event => _ctx.formControl.value = $event),
|
|
25214
25221
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
25215
|
-
onChange: _cache[
|
|
25216
|
-
onClick: _cache[
|
|
25222
|
+
onChange: _cache[50] || (_cache[50] = $event => _ctx.onChange(_ctx.control)),
|
|
25223
|
+
onClick: _cache[51] || (_cache[51] = $event => _ctx.onClick(_ctx.control)),
|
|
25217
25224
|
"allow-half": ""
|
|
25218
25225
|
}, null, 8, ["value", "disabled"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Upload.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_upload, {
|
|
25219
25226
|
key: 13,
|
|
@@ -25233,7 +25240,7 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25233
25240
|
key: 14,
|
|
25234
25241
|
control: _ctx.control,
|
|
25235
25242
|
onChange: _ctx.onChange
|
|
25236
|
-
}, undefined, true) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
25243
|
+
}, undefined, true) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_12, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, 'read:' + _ctx.control.formControl.key, {
|
|
25237
25244
|
content: _ctx.formatData
|
|
25238
25245
|
}, () => [_ctx.controlAttr.textFold ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_stretch_text, {
|
|
25239
25246
|
key: 0,
|
|
@@ -25242,7 +25249,7 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25242
25249
|
key: 1,
|
|
25243
25250
|
class: "lo-control-text",
|
|
25244
25251
|
title: _ctx.formatData
|
|
25245
|
-
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.formatData), 9,
|
|
25252
|
+
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.formatData), 9, _hoisted_13))], true)]))]),
|
|
25246
25253
|
_: 3
|
|
25247
25254
|
}, 8, ["labelCol", "wrapperCol", "colon", "labelAlign", "required", "validate-status", "help", "class"])])], 4)) : _ctx.control.type === _ctx.formFieldClass.Layout.code && _ctx.control.code === _ctx.formFieldType.Empty.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_form, {
|
|
25248
25255
|
key: 1,
|
|
@@ -25257,13 +25264,13 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25257
25264
|
customFormats: _ctx.customFormats,
|
|
25258
25265
|
control: item,
|
|
25259
25266
|
parentControl: _ctx.control,
|
|
25260
|
-
onChange: _cache[
|
|
25261
|
-
onClick: _cache[
|
|
25262
|
-
onFocus: _cache[
|
|
25263
|
-
onBlur: _cache[
|
|
25264
|
-
onAddonBefore: _cache[
|
|
25265
|
-
onAddonAfter: _cache[
|
|
25266
|
-
onAddItem: _cache[
|
|
25267
|
+
onChange: _cache[52] || (_cache[52] = $event => _ctx.onChange($event)),
|
|
25268
|
+
onClick: _cache[53] || (_cache[53] = $event => _ctx.onClick($event)),
|
|
25269
|
+
onFocus: _cache[54] || (_cache[54] = $event => _ctx.onFocus($event)),
|
|
25270
|
+
onBlur: _cache[55] || (_cache[55] = $event => _ctx.onBlur($event)),
|
|
25271
|
+
onAddonBefore: _cache[56] || (_cache[56] = $event => _ctx.onAddonBeforeHandler($event)),
|
|
25272
|
+
onAddonAfter: _cache[57] || (_cache[57] = $event => _ctx.onAddonAfterHandler($event)),
|
|
25273
|
+
onAddItem: _cache[58] || (_cache[58] = $event => _ctx.selectAddItem($event)),
|
|
25267
25274
|
onFixFormLayout: _ctx.onHideControl
|
|
25268
25275
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
|
|
25269
25276
|
_: 2
|
|
@@ -25297,13 +25304,13 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25297
25304
|
control: item,
|
|
25298
25305
|
parentControl: _ctx.control,
|
|
25299
25306
|
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(_ctx.controlAttr.layoutName ? 'lo-form-layout-' + _ctx.controlAttr.layoutName : ''),
|
|
25300
|
-
onChange: _cache[
|
|
25301
|
-
onClick: _cache[
|
|
25302
|
-
onFocus: _cache[
|
|
25303
|
-
onBlur: _cache[
|
|
25304
|
-
onAddonBefore: _cache[
|
|
25305
|
-
onAddonAfter: _cache[
|
|
25306
|
-
onAddItem: _cache[
|
|
25307
|
+
onChange: _cache[59] || (_cache[59] = $event => _ctx.onChange($event)),
|
|
25308
|
+
onClick: _cache[60] || (_cache[60] = $event => _ctx.onClick($event)),
|
|
25309
|
+
onFocus: _cache[61] || (_cache[61] = $event => _ctx.onFocus($event)),
|
|
25310
|
+
onBlur: _cache[62] || (_cache[62] = $event => _ctx.onBlur($event)),
|
|
25311
|
+
onAddonBefore: _cache[63] || (_cache[63] = $event => _ctx.onAddonBeforeHandler($event)),
|
|
25312
|
+
onAddonAfter: _cache[64] || (_cache[64] = $event => _ctx.onAddonAfterHandler($event)),
|
|
25313
|
+
onAddItem: _cache[65] || (_cache[65] = $event => _ctx.selectAddItem($event))
|
|
25307
25314
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
|
|
25308
25315
|
_: 2
|
|
25309
25316
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(Object.keys(_ctx.$slots), scopedPropName => {
|
|
@@ -25324,7 +25331,7 @@ function DvFormLayoutvue_type_template_id_6a9f37c4_scoped_true_ts_true_render(_c
|
|
|
25324
25331
|
_: 3
|
|
25325
25332
|
}, 8, ["class", "layout", "style"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
25326
25333
|
}
|
|
25327
|
-
// CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue?vue&type=template&id=
|
|
25334
|
+
// CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue?vue&type=template&id=1a65060c&scoped=true&ts=true
|
|
25328
25335
|
|
|
25329
25336
|
// CONCATENATED MODULE: ./node_modules/vue-class-component/dist/vue-class-component.esm-bundler.js
|
|
25330
25337
|
/**
|
|
@@ -77957,11 +77964,12 @@ function amount_capitalization_filter_transform(currencyDigits) {
|
|
|
77957
77964
|
const CN_THOUSAND = "仟";
|
|
77958
77965
|
const CN_TEN_THOUSAND = "万";
|
|
77959
77966
|
const CN_HUNDRED_MILLION = "亿";
|
|
77960
|
-
|
|
77961
|
-
const
|
|
77962
|
-
const
|
|
77963
|
-
const
|
|
77964
|
-
const
|
|
77967
|
+
// 满足数字大写转换需求
|
|
77968
|
+
const CN_SYMBOL = ""; // 不带前缀【金额:】
|
|
77969
|
+
const CN_DOLLAR = ""; // 元
|
|
77970
|
+
const CN_TEN_CENT = ""; // 角
|
|
77971
|
+
const CN_CENT = ""; // 分
|
|
77972
|
+
const CN_INTEGER = ""; // 整
|
|
77965
77973
|
// constiables:
|
|
77966
77974
|
let integral; // Represent integral part of digit number.
|
|
77967
77975
|
let decimal; // Represent decimal part of digit number.
|
|
@@ -77982,13 +77990,14 @@ function amount_capitalization_filter_transform(currencyDigits) {
|
|
|
77982
77990
|
currencyDigits = currencyDigits.substr(1);
|
|
77983
77991
|
}
|
|
77984
77992
|
if (currencyDigits === "") {
|
|
77985
|
-
return "
|
|
77993
|
+
return "空"; // 默认提示
|
|
77986
77994
|
}
|
|
77995
|
+
|
|
77987
77996
|
if (currencyDigits.match(/[^,.\d]/) != null) {
|
|
77988
|
-
return "
|
|
77997
|
+
return "您的输入含有无效字符";
|
|
77989
77998
|
}
|
|
77990
77999
|
if (currencyDigits.match(/^((\d{1,3}(,\d{3})*(.((\d{3},)*\d{1,3}))?)|(\d+(.\d+)?))$/) == null) {
|
|
77991
|
-
return "
|
|
78000
|
+
return "您的输入的数字格式不正确";
|
|
77992
78001
|
}
|
|
77993
78002
|
// Normalize the format of input digits:
|
|
77994
78003
|
currencyDigits = currencyDigits.replace(/,/g, ""); // Remove comma delimiters.
|
|
@@ -78151,6 +78160,8 @@ class DesFormControl_DesFormControl {
|
|
|
78151
78160
|
_defineProperty(this, "busAttr", void 0);
|
|
78152
78161
|
_defineProperty(this, "checkboxStyle", void 0);
|
|
78153
78162
|
// 多选框选项标签样式
|
|
78163
|
+
_defineProperty(this, "itemWidth", void 0);
|
|
78164
|
+
// 多选框选项标签样式
|
|
78154
78165
|
_defineProperty(this, "IsTreeOpen", void 0);
|
|
78155
78166
|
this.formFieldId = options.formFieldId || "";
|
|
78156
78167
|
this.formId = options.formId || "";
|
|
@@ -78226,6 +78237,7 @@ class DesFormControl_DesFormControl {
|
|
|
78226
78237
|
this.busAttr = options.busAttr;
|
|
78227
78238
|
this.checkboxStyle = options.checkboxStyle || "";
|
|
78228
78239
|
this.IsTreeOpen = options.IsTreeOpen || "";
|
|
78240
|
+
this.itemWidth = options.itemWidth || "";
|
|
78229
78241
|
}
|
|
78230
78242
|
}
|
|
78231
78243
|
// CONCATENATED MODULE: ./src/domain/Control.ts
|
|
@@ -79662,7 +79674,7 @@ let DvFormLayoutvue_type_script_lang_ts_DvFormLayout = class DvFormLayout extend
|
|
|
79662
79674
|
// 上报图标
|
|
79663
79675
|
_defineProperty(this, "historySvg", HISTORY_SVG_XML);
|
|
79664
79676
|
// 历史记录图标
|
|
79665
|
-
_defineProperty(this, "numberPopoverVisible",
|
|
79677
|
+
_defineProperty(this, "numberPopoverVisible", false);
|
|
79666
79678
|
// 是否开启数字气泡弹窗
|
|
79667
79679
|
_defineProperty(this, "validateResult", {});
|
|
79668
79680
|
// 校验规则
|
|
@@ -80720,8 +80732,8 @@ DvFormLayoutvue_type_script_lang_ts_DvFormLayout = __decorate([Options({
|
|
|
80720
80732
|
/* harmony default export */ var DvFormLayoutvue_type_script_lang_ts = (DvFormLayoutvue_type_script_lang_ts_DvFormLayout);
|
|
80721
80733
|
// CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue?vue&type=script&lang=ts
|
|
80722
80734
|
|
|
80723
|
-
// EXTERNAL MODULE: ./src/components/form/DvFormLayout.vue?vue&type=style&index=0&id=
|
|
80724
|
-
var
|
|
80735
|
+
// EXTERNAL MODULE: ./src/components/form/DvFormLayout.vue?vue&type=style&index=0&id=1a65060c&lang=scss&scoped=true
|
|
80736
|
+
var DvFormLayoutvue_type_style_index_0_id_1a65060c_lang_scss_scoped_true = __webpack_require__("5ab8");
|
|
80725
80737
|
|
|
80726
80738
|
// CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue
|
|
80727
80739
|
|
|
@@ -80731,7 +80743,7 @@ var DvFormLayoutvue_type_style_index_0_id_6a9f37c4_lang_scss_scoped_true = __web
|
|
|
80731
80743
|
|
|
80732
80744
|
|
|
80733
80745
|
|
|
80734
|
-
const DvFormLayout_exports_ = /*#__PURE__*/exportHelper_default()(DvFormLayoutvue_type_script_lang_ts, [['render',
|
|
80746
|
+
const DvFormLayout_exports_ = /*#__PURE__*/exportHelper_default()(DvFormLayoutvue_type_script_lang_ts, [['render',DvFormLayoutvue_type_template_id_1a65060c_scoped_true_ts_true_render],['__scopeId',"data-v-1a65060c"]])
|
|
80735
80747
|
|
|
80736
80748
|
/* harmony default export */ var form_DvFormLayout = (DvFormLayout_exports_);
|
|
80737
80749
|
// CONCATENATED MODULE: ./src/services/date-format.service.ts
|
|
@@ -80882,6 +80894,7 @@ var Attribute;
|
|
|
80882
80894
|
Attribute["AutoCompleteOptions"] = "autoCompleteOptions";
|
|
80883
80895
|
Attribute["IsTreeOpen"] = "isTreeOpen";
|
|
80884
80896
|
Attribute["CheckboxStyle"] = "checkboxStyle";
|
|
80897
|
+
Attribute["ItemWidth"] = "itemWidth";
|
|
80885
80898
|
})(Attribute || (Attribute = {}));
|
|
80886
80899
|
/**
|
|
80887
80900
|
* @description: 表单基础类,聚合常用api
|