@fmdevui/fm-dev 1.0.67 → 1.0.68
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/es/packages/core/ui/components/inputdropdown/index.vue2.mjs +16 -3
- package/index.js +16 -3
- package/index.min.js +2 -2
- package/index.min.mjs +21 -21
- package/index.mjs +16 -3
- package/lib/packages/core/ui/components/inputdropdown/index.vue2.js +15 -2
- package/package.json +1 -1
- /package/es/{defaults.css → make-installer.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useModel, reactive, onMounted, resolveComponent, createBlock, openBlock, withCtx, createVNode, normalizeStyle, createElementBlock, Fragment, renderList,
|
|
1
|
+
import { defineComponent, useModel, reactive, onMounted, resolveComponent, createBlock, openBlock, withCtx, createVNode, normalizeStyle, createTextVNode, createElementBlock, Fragment, renderList, toDisplayString, mergeModels } from 'vue';
|
|
2
2
|
import { useBaseApi } from '../../../api/base/index.mjs';
|
|
3
3
|
|
|
4
4
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -89,11 +89,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
89
|
onMounted(async () => {
|
|
90
90
|
state.optionData = props.optionData;
|
|
91
91
|
if (props.basecode && props.basecode != "") {
|
|
92
|
-
const res = useBaseApi(props.apiService).get(null, props.apiAction + "
|
|
92
|
+
const res = useBaseApi(props.apiService).get(null, props.apiAction + "/?codetype=" + props.basecode);
|
|
93
93
|
state.optionData = res.data.result ?? [];
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
96
|
return (_ctx, _cache) => {
|
|
97
|
+
const _component_el_button = resolveComponent("el-button");
|
|
97
98
|
const _component_el_input = resolveComponent("el-input");
|
|
98
99
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
99
100
|
const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
|
|
@@ -143,7 +144,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
143
144
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValueName.value = $event),
|
|
144
145
|
placeholder: props.placeholder,
|
|
145
146
|
style: normalizeStyle({ width: __props.inputWidth })
|
|
146
|
-
},
|
|
147
|
+
}, {
|
|
148
|
+
append: withCtx(() => [
|
|
149
|
+
createVNode(_component_el_button, { text: "" }, {
|
|
150
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
151
|
+
createTextVNode("\u5237\u65B0")
|
|
152
|
+
])),
|
|
153
|
+
_: 1,
|
|
154
|
+
__: [1]
|
|
155
|
+
})
|
|
156
|
+
]),
|
|
157
|
+
_: 1
|
|
158
|
+
/* STABLE */
|
|
159
|
+
}, 8, ["modelValue", "placeholder", "style"])
|
|
147
160
|
]),
|
|
148
161
|
_: 1
|
|
149
162
|
/* STABLE */
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fm-dev v1.0.
|
|
1
|
+
/*! fm-dev v1.0.68 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('crypto'), require('url'), require('http'), require('https'), require('util'), require('stream'), require('assert'), require('zlib'), require('element-plus')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vue', 'crypto', 'url', 'http', 'https', 'util', 'stream', 'assert', 'zlib', 'element-plus'], factory) :
|
|
@@ -23948,11 +23948,12 @@
|
|
|
23948
23948
|
vue.onMounted(async () => {
|
|
23949
23949
|
state.optionData = props.optionData;
|
|
23950
23950
|
if (props.basecode && props.basecode != "") {
|
|
23951
|
-
const res = useBaseApi(props.apiService).get(null, props.apiAction + "
|
|
23951
|
+
const res = useBaseApi(props.apiService).get(null, props.apiAction + "/?codetype=" + props.basecode);
|
|
23952
23952
|
state.optionData = res.data.result ?? [];
|
|
23953
23953
|
}
|
|
23954
23954
|
});
|
|
23955
23955
|
return (_ctx, _cache) => {
|
|
23956
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
23956
23957
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
23957
23958
|
const _component_el_dropdown_item = vue.resolveComponent("el-dropdown-item");
|
|
23958
23959
|
const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
|
|
@@ -24002,7 +24003,19 @@
|
|
|
24002
24003
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValueName.value = $event),
|
|
24003
24004
|
placeholder: props.placeholder,
|
|
24004
24005
|
style: vue.normalizeStyle({ width: __props.inputWidth })
|
|
24005
|
-
},
|
|
24006
|
+
}, {
|
|
24007
|
+
append: vue.withCtx(() => [
|
|
24008
|
+
vue.createVNode(_component_el_button, { text: "" }, {
|
|
24009
|
+
default: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
24010
|
+
vue.createTextVNode("\u5237\u65B0")
|
|
24011
|
+
])),
|
|
24012
|
+
_: 1,
|
|
24013
|
+
__: [1]
|
|
24014
|
+
})
|
|
24015
|
+
]),
|
|
24016
|
+
_: 1
|
|
24017
|
+
/* STABLE */
|
|
24018
|
+
}, 8, ["modelValue", "placeholder", "style"])
|
|
24006
24019
|
]),
|
|
24007
24020
|
_: 1
|
|
24008
24021
|
/* STABLE */
|