@dhccmobile/vue3-lo-form 0.1.2 → 0.1.3
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/vue3-lo-form.common.js +98 -92
- 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 +98 -92
- package/dist/vue3-lo-form.umd.js.map +1 -1
- package/dist/vue3-lo-form.umd.min.js +4 -4
- package/dist/vue3-lo-form.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/form/DvFormLayout.vue +19 -2
- package/src/main.ts +1 -1
|
@@ -177,13 +177,6 @@ module.exports = function (argument) {
|
|
|
177
177
|
};
|
|
178
178
|
|
|
179
179
|
|
|
180
|
-
/***/ }),
|
|
181
|
-
|
|
182
|
-
/***/ "0dc1":
|
|
183
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
184
|
-
|
|
185
|
-
// extracted by mini-css-extract-plugin
|
|
186
|
-
|
|
187
180
|
/***/ }),
|
|
188
181
|
|
|
189
182
|
/***/ "13d2":
|
|
@@ -6914,17 +6907,6 @@ module.exports = fails(function () {
|
|
|
6914
6907
|
} : $Object;
|
|
6915
6908
|
|
|
6916
6909
|
|
|
6917
|
-
/***/ }),
|
|
6918
|
-
|
|
6919
|
-
/***/ "461e":
|
|
6920
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6921
|
-
|
|
6922
|
-
"use strict";
|
|
6923
|
-
/* 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_87c76968_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0dc1");
|
|
6924
|
-
/* 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_87c76968_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_87c76968_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
6925
|
-
/* unused harmony reexport * */
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
6910
|
/***/ }),
|
|
6929
6911
|
|
|
6930
6912
|
/***/ "4788":
|
|
@@ -7104,6 +7086,13 @@ module.exports = {
|
|
|
7104
7086
|
/* unused harmony reexport * */
|
|
7105
7087
|
|
|
7106
7088
|
|
|
7089
|
+
/***/ }),
|
|
7090
|
+
|
|
7091
|
+
/***/ "5091":
|
|
7092
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7093
|
+
|
|
7094
|
+
// extracted by mini-css-extract-plugin
|
|
7095
|
+
|
|
7107
7096
|
/***/ }),
|
|
7108
7097
|
|
|
7109
7098
|
/***/ "50c4":
|
|
@@ -13568,6 +13557,17 @@ module.exports = function (name) {
|
|
|
13568
13557
|
};
|
|
13569
13558
|
|
|
13570
13559
|
|
|
13560
|
+
/***/ }),
|
|
13561
|
+
|
|
13562
|
+
/***/ "b8f7":
|
|
13563
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13564
|
+
|
|
13565
|
+
"use strict";
|
|
13566
|
+
/* 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_1beec484_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5091");
|
|
13567
|
+
/* 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_1beec484_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_1beec484_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
13568
|
+
/* unused harmony reexport * */
|
|
13569
|
+
|
|
13570
|
+
|
|
13571
13571
|
/***/ }),
|
|
13572
13572
|
|
|
13573
13573
|
/***/ "b980":
|
|
@@ -24457,10 +24457,10 @@ function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
|
24457
24457
|
return value;
|
|
24458
24458
|
}
|
|
24459
24459
|
|
|
24460
|
-
// 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=
|
|
24460
|
+
// 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=1beec484&scoped=true&ts=true
|
|
24461
24461
|
|
|
24462
24462
|
|
|
24463
|
-
const _withScopeId = n => (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-
|
|
24463
|
+
const _withScopeId = n => (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-1beec484"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n);
|
|
24464
24464
|
|
|
24465
24465
|
const _hoisted_1 = {
|
|
24466
24466
|
class: "lo-control-box"
|
|
@@ -24502,7 +24502,7 @@ const _hoisted_14 = {
|
|
|
24502
24502
|
key: 1,
|
|
24503
24503
|
class: "lo-control-text"
|
|
24504
24504
|
};
|
|
24505
|
-
function
|
|
24505
|
+
function DvFormLayoutvue_type_template_id_1beec484_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24506
24506
|
const _component_a_tooltip = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-tooltip");
|
|
24507
24507
|
|
|
24508
24508
|
const _component_question_circle_outlined = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("question-circle-outlined");
|
|
@@ -24676,14 +24676,14 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24676
24676
|
'addon-after': _ctx.$slots['input:addonAfter:' + _ctx.formControl.key] || _ctx.controlAttr.bindingSuffix || _ctx.controlAttr.builtInPostLabel
|
|
24677
24677
|
}),
|
|
24678
24678
|
value: _ctx.formControl.value,
|
|
24679
|
-
"onUpdate:value": _cache[
|
|
24679
|
+
"onUpdate:value": _cache[2] || (_cache[2] = $event => _ctx.formControl.value = $event),
|
|
24680
24680
|
placeholder: _ctx.controlAttr.placeholder,
|
|
24681
24681
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24682
24682
|
"data-source": _ctx.controlAttr.autoCompleteOptions,
|
|
24683
|
-
onFocus: _cache[
|
|
24684
|
-
onBlur: _cache[
|
|
24685
|
-
onInput: _cache[
|
|
24686
|
-
onClick: _cache[
|
|
24683
|
+
onFocus: _cache[3] || (_cache[3] = $event => _ctx.onFocus(_ctx.control)),
|
|
24684
|
+
onBlur: _cache[4] || (_cache[4] = $event => _ctx.onBlur(_ctx.control)),
|
|
24685
|
+
onInput: _cache[5] || (_cache[5] = $event => _ctx.onChange(_ctx.control)),
|
|
24686
|
+
onClick: _cache[6] || (_cache[6] = $event => _ctx.onClick(_ctx.control))
|
|
24687
24687
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
|
|
24688
24688
|
_: 2
|
|
24689
24689
|
}, [_ctx.$slots['input:prefix:' + _ctx.formControl.key] ? {
|
|
@@ -24701,7 +24701,10 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24701
24701
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.controlAttr.bindingPrefix), 1)], 64)) : _ctx.controlAttr.builtInFrontLabel ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_ordered_list_outlined, {
|
|
24702
24702
|
key: 2,
|
|
24703
24703
|
class: "addon-icon"
|
|
24704
|
-
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])
|
|
24704
|
+
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
24705
|
+
class: "addon-inner",
|
|
24706
|
+
onClick: _cache[0] || (_cache[0] = $event => _ctx.onAddonBeforeHandler(_ctx.control))
|
|
24707
|
+
})])
|
|
24705
24708
|
} : undefined, _ctx.$slots['input:addonAfter:' + _ctx.formControl.key] || _ctx.controlAttr.bindingSuffix || _ctx.controlAttr.builtInPostLabel ? {
|
|
24706
24709
|
name: "addonAfter",
|
|
24707
24710
|
fn: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [_ctx.$slots['input:addonAfter:' + _ctx.formControl.key] ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, 'input:addonAfter:' + _ctx.formControl.key, {
|
|
@@ -24711,24 +24714,27 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24711
24714
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.controlAttr.bindingSuffix), 1)], 64)) : _ctx.controlAttr.builtInPostLabel ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_ordered_list_outlined, {
|
|
24712
24715
|
key: 2,
|
|
24713
24716
|
class: "addon-icon"
|
|
24714
|
-
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])
|
|
24717
|
+
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
24718
|
+
class: "addon-inner",
|
|
24719
|
+
onClick: _cache[1] || (_cache[1] = $event => _ctx.onAddonAfterHandler(_ctx.control))
|
|
24720
|
+
})])
|
|
24715
24721
|
} : undefined]), 1064, ["class", "value", "placeholder", "disabled", "data-source"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 64)) : _ctx.control.code === _ctx.formFieldType.Textarea.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_textarea, {
|
|
24716
24722
|
key: 1,
|
|
24717
24723
|
value: _ctx.control.formControl.value,
|
|
24718
|
-
"onUpdate:value": _cache[
|
|
24724
|
+
"onUpdate:value": _cache[7] || (_cache[7] = $event => _ctx.control.formControl.value = $event),
|
|
24719
24725
|
placeholder: _ctx.controlAttr.placeholder,
|
|
24720
24726
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24721
24727
|
rows: 3,
|
|
24722
24728
|
showCount: !!_ctx.maxCharacterCount,
|
|
24723
24729
|
maxlength: _ctx.maxCharacterCount,
|
|
24724
|
-
onInput: _cache[
|
|
24725
|
-
onFocus: _cache[
|
|
24726
|
-
onBlur: _cache[
|
|
24727
|
-
onClick: _cache[
|
|
24730
|
+
onInput: _cache[8] || (_cache[8] = $event => _ctx.onChange(_ctx.control)),
|
|
24731
|
+
onFocus: _cache[9] || (_cache[9] = $event => _ctx.onFocus(_ctx.control)),
|
|
24732
|
+
onBlur: _cache[10] || (_cache[10] = $event => _ctx.onBlur(_ctx.control)),
|
|
24733
|
+
onClick: _cache[11] || (_cache[11] = $event => _ctx.onClick(_ctx.control))
|
|
24728
24734
|
}, null, 8, ["value", "placeholder", "disabled", "showCount", "maxlength"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.InputNumber.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_popover, {
|
|
24729
24735
|
key: 2,
|
|
24730
24736
|
value: _ctx.numberPopoverVisible,
|
|
24731
|
-
"onUpdate:value": _cache[
|
|
24737
|
+
"onUpdate:value": _cache[17] || (_cache[17] = $event => _ctx.numberPopoverVisible = $event),
|
|
24732
24738
|
trigger: "focus"
|
|
24733
24739
|
}, {
|
|
24734
24740
|
content: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.formControl.value), 1)]),
|
|
@@ -24747,11 +24753,11 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24747
24753
|
placeholder: _ctx.controlAttr.placeholder,
|
|
24748
24754
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24749
24755
|
value: _ctx.formControl.value,
|
|
24750
|
-
"onUpdate:value": _cache[
|
|
24751
|
-
onChange: _cache[
|
|
24752
|
-
onClick: _cache[
|
|
24753
|
-
onFocus: _cache[
|
|
24754
|
-
onBlur: _cache[
|
|
24756
|
+
"onUpdate:value": _cache[12] || (_cache[12] = $event => _ctx.formControl.value = $event),
|
|
24757
|
+
onChange: _cache[13] || (_cache[13] = $event => _ctx.onChange(_ctx.control)),
|
|
24758
|
+
onClick: _cache[14] || (_cache[14] = $event => _ctx.onClick(_ctx.control)),
|
|
24759
|
+
onFocus: _cache[15] || (_cache[15] = $event => _ctx.onInputNumberFocus(_ctx.control)),
|
|
24760
|
+
onBlur: _cache[16] || (_cache[16] = $event => _ctx.onInputNumberBlur(_ctx.control))
|
|
24755
24761
|
}, null, 8, ["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, {
|
|
24756
24762
|
key: 0
|
|
24757
24763
|
}, {
|
|
@@ -24785,14 +24791,14 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24785
24791
|
dropdownClassName: _ctx.controlAttr.hiddenDropdown ? 'lo-select-hide-drop-down-content' : '',
|
|
24786
24792
|
showArrow: "",
|
|
24787
24793
|
value: _ctx.formControl.value,
|
|
24788
|
-
"onUpdate:value": _cache[
|
|
24794
|
+
"onUpdate:value": _cache[20] || (_cache[20] = $event => _ctx.formControl.value = $event),
|
|
24789
24795
|
"allow-clear": _ctx.controlAttr.isClearButton,
|
|
24790
24796
|
"show-search": _ctx.controlAttr.isSearchable,
|
|
24791
24797
|
mode: _ctx.controlAttr.isMultipleChoice ? 'multiple' : '',
|
|
24792
24798
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24793
24799
|
placeholder: _ctx.controlAttr.placeholder,
|
|
24794
|
-
onChange: _cache[
|
|
24795
|
-
onClick: _cache[
|
|
24800
|
+
onChange: _cache[21] || (_cache[21] = $event => _ctx.onChange(_ctx.control)),
|
|
24801
|
+
onClick: _cache[22] || (_cache[22] = $event => _ctx.onClick(_ctx.control)),
|
|
24796
24802
|
"filter-option": _ctx.filterOption
|
|
24797
24803
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
|
|
24798
24804
|
dropdownRender: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(({
|
|
@@ -24810,8 +24816,8 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24810
24816
|
"padding": "4px 8px 6px 8px",
|
|
24811
24817
|
"cursor": "pointer"
|
|
24812
24818
|
},
|
|
24813
|
-
onMousedown: _cache[
|
|
24814
|
-
onClick: _cache[
|
|
24819
|
+
onMousedown: _cache[18] || (_cache[18] = e => e.preventDefault()),
|
|
24820
|
+
onClick: _cache[19] || (_cache[19] = $event => _ctx.selectAddItem(_ctx.control))
|
|
24815
24821
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_plus_outlined), _hoisted_12], 32)], 64)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]),
|
|
24816
24822
|
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 => {
|
|
24817
24823
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_select_option, {
|
|
@@ -24835,10 +24841,10 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24835
24841
|
key: 4,
|
|
24836
24842
|
class: "w-100",
|
|
24837
24843
|
value: _ctx.formControl.value,
|
|
24838
|
-
"onUpdate:value": _cache[
|
|
24844
|
+
"onUpdate:value": _cache[23] || (_cache[23] = $event => _ctx.formControl.value = $event),
|
|
24839
24845
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24840
|
-
onChange: _cache[
|
|
24841
|
-
onClick: _cache[
|
|
24846
|
+
onChange: _cache[24] || (_cache[24] = $event => _ctx.onChange(_ctx.control)),
|
|
24847
|
+
onClick: _cache[25] || (_cache[25] = $event => _ctx.onClick(_ctx.control))
|
|
24842
24848
|
}, {
|
|
24843
24849
|
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 => {
|
|
24844
24850
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_radio, {
|
|
@@ -24854,10 +24860,10 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24854
24860
|
key: 5,
|
|
24855
24861
|
class: "w-100",
|
|
24856
24862
|
value: _ctx.formControl.value,
|
|
24857
|
-
"onUpdate:value": _cache[
|
|
24863
|
+
"onUpdate:value": _cache[26] || (_cache[26] = $event => _ctx.formControl.value = $event),
|
|
24858
24864
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24859
|
-
onChange: _cache[
|
|
24860
|
-
onClick: _cache[
|
|
24865
|
+
onChange: _cache[27] || (_cache[27] = $event => _ctx.onChange(_ctx.control)),
|
|
24866
|
+
onClick: _cache[28] || (_cache[28] = $event => _ctx.onClick(_ctx.control))
|
|
24861
24867
|
}, {
|
|
24862
24868
|
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 => {
|
|
24863
24869
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_checkbox, {
|
|
@@ -24872,12 +24878,12 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24872
24878
|
}, 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, {
|
|
24873
24879
|
key: 6,
|
|
24874
24880
|
checked: _ctx.formControl.value,
|
|
24875
|
-
"onUpdate:checked": _cache[
|
|
24881
|
+
"onUpdate:checked": _cache[29] || (_cache[29] = $event => _ctx.formControl.value = $event),
|
|
24876
24882
|
"checked-children": _ctx.controlAttr.onOpeningText,
|
|
24877
24883
|
"un-checked-children": _ctx.controlAttr.whenClosedText,
|
|
24878
24884
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24879
|
-
onChange: _cache[
|
|
24880
|
-
onClick: _cache[
|
|
24885
|
+
onChange: _cache[30] || (_cache[30] = $event => _ctx.onChange(_ctx.control)),
|
|
24886
|
+
onClick: _cache[31] || (_cache[31] = $event => _ctx.onClick(_ctx.control))
|
|
24881
24887
|
}, 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, {
|
|
24882
24888
|
key: 7,
|
|
24883
24889
|
class: "w-100",
|
|
@@ -24885,9 +24891,9 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24885
24891
|
placeholder: _ctx.controlAttr.placeholder,
|
|
24886
24892
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24887
24893
|
value: _ctx.formControl.value,
|
|
24888
|
-
"onUpdate:value": _cache[
|
|
24889
|
-
onChange: _cache[
|
|
24890
|
-
onClick: _cache[
|
|
24894
|
+
"onUpdate:value": _cache[32] || (_cache[32] = $event => _ctx.formControl.value = $event),
|
|
24895
|
+
onChange: _cache[33] || (_cache[33] = $event => _ctx.onChange(_ctx.control)),
|
|
24896
|
+
onClick: _cache[34] || (_cache[34] = $event => _ctx.onClick(_ctx.control))
|
|
24891
24897
|
}, null, 8, ["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"], {
|
|
24892
24898
|
key: 8
|
|
24893
24899
|
}, [_ctx.useMonthPicker ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_month_picker, {
|
|
@@ -24898,9 +24904,9 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24898
24904
|
placeholder: _ctx.controlAttr.placeholder,
|
|
24899
24905
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24900
24906
|
value: _ctx.formControl.value,
|
|
24901
|
-
"onUpdate:value": _cache[
|
|
24902
|
-
onChange: _cache[
|
|
24903
|
-
onClick: _cache[
|
|
24907
|
+
"onUpdate:value": _cache[35] || (_cache[35] = $event => _ctx.formControl.value = $event),
|
|
24908
|
+
onChange: _cache[36] || (_cache[36] = $event => _ctx.onChange(_ctx.control)),
|
|
24909
|
+
onClick: _cache[37] || (_cache[37] = $event => _ctx.onClick(_ctx.control))
|
|
24904
24910
|
}, null, 8, ["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, {
|
|
24905
24911
|
key: 1,
|
|
24906
24912
|
locale: _ctx.locale,
|
|
@@ -24910,16 +24916,16 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24910
24916
|
placeholder: _ctx.controlAttr.placeholder,
|
|
24911
24917
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24912
24918
|
value: _ctx.formControl.value,
|
|
24913
|
-
"onUpdate:value": _cache[
|
|
24914
|
-
onChange: _cache[
|
|
24915
|
-
onClick: _cache[
|
|
24919
|
+
"onUpdate:value": _cache[38] || (_cache[38] = $event => _ctx.formControl.value = $event),
|
|
24920
|
+
onChange: _cache[39] || (_cache[39] = $event => _ctx.onChange(_ctx.control)),
|
|
24921
|
+
onClick: _cache[40] || (_cache[40] = $event => _ctx.onClick(_ctx.control))
|
|
24916
24922
|
}, null, 8, ["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, {
|
|
24917
24923
|
key: 9,
|
|
24918
24924
|
value: _ctx.formControl.value,
|
|
24919
|
-
"onUpdate:value": _cache[
|
|
24925
|
+
"onUpdate:value": _cache[41] || (_cache[41] = $event => _ctx.formControl.value = $event),
|
|
24920
24926
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24921
|
-
onChange: _cache[
|
|
24922
|
-
onClick: _cache[
|
|
24927
|
+
onChange: _cache[42] || (_cache[42] = $event => _ctx.onChange(_ctx.control)),
|
|
24928
|
+
onClick: _cache[43] || (_cache[43] = $event => _ctx.onClick(_ctx.control))
|
|
24923
24929
|
}, 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, {
|
|
24924
24930
|
key: 10,
|
|
24925
24931
|
placeholder: _ctx.controlAttr.placeholder,
|
|
@@ -24929,13 +24935,13 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24929
24935
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24930
24936
|
options: _ctx.cascaderOptions,
|
|
24931
24937
|
value: _ctx.formControl.value,
|
|
24932
|
-
"onUpdate:value": _cache[
|
|
24933
|
-
onChange: _cache[
|
|
24934
|
-
onClick: _cache[
|
|
24938
|
+
"onUpdate:value": _cache[44] || (_cache[44] = $event => _ctx.formControl.value = $event),
|
|
24939
|
+
onChange: _cache[45] || (_cache[45] = $event => _ctx.onChange(_ctx.control)),
|
|
24940
|
+
onClick: _cache[46] || (_cache[46] = $event => _ctx.onClick(_ctx.control))
|
|
24935
24941
|
}, null, 8, ["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, {
|
|
24936
24942
|
key: 11,
|
|
24937
24943
|
value: _ctx.formControl.value,
|
|
24938
|
-
"onUpdate:value": _cache[
|
|
24944
|
+
"onUpdate:value": _cache[47] || (_cache[47] = $event => _ctx.formControl.value = $event),
|
|
24939
24945
|
"show-search": _ctx.controlAttr.isSearchable,
|
|
24940
24946
|
treeNodeFilterProp: 'title',
|
|
24941
24947
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
@@ -24945,16 +24951,16 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24945
24951
|
overflow: 'auto'
|
|
24946
24952
|
},
|
|
24947
24953
|
"tree-data": _ctx.treeSelectOptions,
|
|
24948
|
-
onChange: _cache[
|
|
24949
|
-
onClick: _cache[
|
|
24954
|
+
onChange: _cache[48] || (_cache[48] = $event => _ctx.onChange(_ctx.control)),
|
|
24955
|
+
onClick: _cache[49] || (_cache[49] = $event => _ctx.onClick(_ctx.control)),
|
|
24950
24956
|
"tree-default-expand-all": ""
|
|
24951
24957
|
}, null, 8, ["value", "show-search", "disabled", "placeholder", "tree-data"])) : 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, {
|
|
24952
24958
|
key: 12,
|
|
24953
24959
|
value: _ctx.formControl.value,
|
|
24954
|
-
"onUpdate:value": _cache[
|
|
24960
|
+
"onUpdate:value": _cache[50] || (_cache[50] = $event => _ctx.formControl.value = $event),
|
|
24955
24961
|
disabled: _ctx.controlAttr.isNotEdit,
|
|
24956
|
-
onChange: _cache[
|
|
24957
|
-
onClick: _cache[
|
|
24962
|
+
onChange: _cache[51] || (_cache[51] = $event => _ctx.onChange(_ctx.control)),
|
|
24963
|
+
onClick: _cache[52] || (_cache[52] = $event => _ctx.onClick(_ctx.control)),
|
|
24958
24964
|
"allow-half": ""
|
|
24959
24965
|
}, 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, {
|
|
24960
24966
|
key: 13,
|
|
@@ -24994,13 +25000,13 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
24994
25000
|
customFormats: _ctx.customFormats,
|
|
24995
25001
|
control: item,
|
|
24996
25002
|
parentControl: _ctx.control,
|
|
24997
|
-
onChange: _cache[
|
|
24998
|
-
onClick: _cache[
|
|
24999
|
-
onFocus: _cache[
|
|
25000
|
-
onBlur: _cache[
|
|
25001
|
-
onAddonBefore: _cache[
|
|
25002
|
-
onAddonAfter: _cache[
|
|
25003
|
-
onAddItem: _cache[
|
|
25003
|
+
onChange: _cache[53] || (_cache[53] = $event => _ctx.onChange($event)),
|
|
25004
|
+
onClick: _cache[54] || (_cache[54] = $event => _ctx.onClick($event)),
|
|
25005
|
+
onFocus: _cache[55] || (_cache[55] = $event => _ctx.onFocus($event)),
|
|
25006
|
+
onBlur: _cache[56] || (_cache[56] = $event => _ctx.onBlur($event)),
|
|
25007
|
+
onAddonBefore: _cache[57] || (_cache[57] = $event => _ctx.onAddonBeforeHandler($event)),
|
|
25008
|
+
onAddonAfter: _cache[58] || (_cache[58] = $event => _ctx.onAddonAfterHandler($event)),
|
|
25009
|
+
onAddItem: _cache[59] || (_cache[59] = $event => _ctx.selectAddItem($event))
|
|
25004
25010
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
|
|
25005
25011
|
_: 2
|
|
25006
25012
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(Object.keys(_ctx.$slots), scopedPropName => {
|
|
@@ -25031,13 +25037,13 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
25031
25037
|
control: item,
|
|
25032
25038
|
parentControl: _ctx.control,
|
|
25033
25039
|
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(_ctx.controlAttr.layoutName ? 'lo-form-layout-' + _ctx.controlAttr.layoutName : ''),
|
|
25034
|
-
onChange: _cache[
|
|
25035
|
-
onClick: _cache[
|
|
25036
|
-
onFocus: _cache[
|
|
25037
|
-
onBlur: _cache[
|
|
25038
|
-
onAddonBefore: _cache[
|
|
25039
|
-
onAddonAfter: _cache[
|
|
25040
|
-
onAddItem: _cache[
|
|
25040
|
+
onChange: _cache[60] || (_cache[60] = $event => _ctx.onChange($event)),
|
|
25041
|
+
onClick: _cache[61] || (_cache[61] = $event => _ctx.onClick($event)),
|
|
25042
|
+
onFocus: _cache[62] || (_cache[62] = $event => _ctx.onFocus($event)),
|
|
25043
|
+
onBlur: _cache[63] || (_cache[63] = $event => _ctx.onBlur($event)),
|
|
25044
|
+
onAddonBefore: _cache[64] || (_cache[64] = $event => _ctx.onAddonBeforeHandler($event)),
|
|
25045
|
+
onAddonAfter: _cache[65] || (_cache[65] = $event => _ctx.onAddonAfterHandler($event)),
|
|
25046
|
+
onAddItem: _cache[66] || (_cache[66] = $event => _ctx.selectAddItem($event))
|
|
25041
25047
|
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
|
|
25042
25048
|
_: 2
|
|
25043
25049
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(Object.keys(_ctx.$slots), scopedPropName => {
|
|
@@ -25056,7 +25062,7 @@ function DvFormLayoutvue_type_template_id_87c76968_scoped_true_ts_true_render(_c
|
|
|
25056
25062
|
_: 3
|
|
25057
25063
|
}, 8, ["class", "layout", "style"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
|
|
25058
25064
|
}
|
|
25059
|
-
// CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue?vue&type=template&id=
|
|
25065
|
+
// CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue?vue&type=template&id=1beec484&scoped=true&ts=true
|
|
25060
25066
|
|
|
25061
25067
|
// CONCATENATED MODULE: ./node_modules/vue-class-component/dist/vue-class-component.esm-bundler.js
|
|
25062
25068
|
/**
|
|
@@ -84717,8 +84723,8 @@ DvFormLayoutvue_type_script_lang_ts_DvFormLayout = __decorate([Options({
|
|
|
84717
84723
|
/* harmony default export */ var DvFormLayoutvue_type_script_lang_ts = (DvFormLayoutvue_type_script_lang_ts_DvFormLayout);
|
|
84718
84724
|
// CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue?vue&type=script&lang=ts
|
|
84719
84725
|
|
|
84720
|
-
// EXTERNAL MODULE: ./src/components/form/DvFormLayout.vue?vue&type=style&index=0&id=
|
|
84721
|
-
var
|
|
84726
|
+
// EXTERNAL MODULE: ./src/components/form/DvFormLayout.vue?vue&type=style&index=0&id=1beec484&lang=scss&scoped=true
|
|
84727
|
+
var DvFormLayoutvue_type_style_index_0_id_1beec484_lang_scss_scoped_true = __webpack_require__("b8f7");
|
|
84722
84728
|
|
|
84723
84729
|
// CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue
|
|
84724
84730
|
|
|
@@ -84728,7 +84734,7 @@ var DvFormLayoutvue_type_style_index_0_id_87c76968_lang_scss_scoped_true = __web
|
|
|
84728
84734
|
|
|
84729
84735
|
|
|
84730
84736
|
|
|
84731
|
-
const DvFormLayout_exports_ = /*#__PURE__*/exportHelper_default()(DvFormLayoutvue_type_script_lang_ts, [['render',
|
|
84737
|
+
const DvFormLayout_exports_ = /*#__PURE__*/exportHelper_default()(DvFormLayoutvue_type_script_lang_ts, [['render',DvFormLayoutvue_type_template_id_1beec484_scoped_true_ts_true_render],['__scopeId',"data-v-1beec484"]])
|
|
84732
84738
|
|
|
84733
84739
|
/* harmony default export */ var form_DvFormLayout = (DvFormLayout_exports_);
|
|
84734
84740
|
// CONCATENATED MODULE: ./src/core/FormApi.ts
|