@fmdevui/fm-dev 1.0.69 → 1.0.70
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 +13 -7
- package/index.js +13 -7
- package/index.min.js +2 -2
- package/index.min.mjs +5 -5
- package/index.mjs +13 -7
- package/lib/packages/core/ui/components/inputdropdown/index.vue2.js +12 -6
- package/package.json +1 -1
- /package/es/{make-installer.css → component.css} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, useModel, reactive, onMounted, resolveComponent, createBlock, openBlock, withCtx, createVNode, normalizeStyle, unref, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, mergeModels } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { RefreshLeft } from '@element-plus/icons-vue';
|
|
3
3
|
import { useBaseApi } from '../../../api/base/index.mjs';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -82,7 +82,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
82
|
});
|
|
83
83
|
const emit = __emit;
|
|
84
84
|
const handCommand = (command) => {
|
|
85
|
-
const fitem =
|
|
85
|
+
const fitem = state.optionData.find((item) => item[props.bvalue] === command);
|
|
86
86
|
modeValueId.value = fitem != null ? [props.bvalue] : 0;
|
|
87
87
|
modeValueName.value = fitem != null ? fitem[props.blabel] : "";
|
|
88
88
|
emit("change", fitem);
|
|
@@ -101,12 +101,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
103
|
return (_ctx, _cache) => {
|
|
104
|
-
const
|
|
104
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
105
105
|
const _component_el_input = resolveComponent("el-input");
|
|
106
106
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
107
107
|
const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
|
|
108
108
|
const _component_el_dropdown = resolveComponent("el-dropdown");
|
|
109
109
|
return openBlock(), createBlock(_component_el_dropdown, {
|
|
110
|
+
class: "fminputdropdown",
|
|
110
111
|
placement: "bottom",
|
|
111
112
|
trigger: "click",
|
|
112
113
|
style: { "width": "100%" },
|
|
@@ -153,11 +154,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
153
154
|
style: normalizeStyle({ width: __props.inputWidth })
|
|
154
155
|
}, {
|
|
155
156
|
append: withCtx(() => [
|
|
156
|
-
createVNode(
|
|
157
|
-
|
|
158
|
-
icon: unref(Brush),
|
|
157
|
+
createVNode(_component_el_icon, {
|
|
158
|
+
color: "#13c2c2",
|
|
159
159
|
onClick: handRestdata
|
|
160
|
-
},
|
|
160
|
+
}, {
|
|
161
|
+
default: withCtx(() => [
|
|
162
|
+
createVNode(unref(RefreshLeft))
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
/* STABLE */
|
|
166
|
+
})
|
|
161
167
|
]),
|
|
162
168
|
_: 1
|
|
163
169
|
/* STABLE */
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fm-dev v1.0.
|
|
1
|
+
/*! fm-dev v1.0.70 */
|
|
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) :
|
|
@@ -29998,7 +29998,7 @@
|
|
|
29998
29998
|
});
|
|
29999
29999
|
const emit = __emit;
|
|
30000
30000
|
const handCommand = (command) => {
|
|
30001
|
-
const fitem =
|
|
30001
|
+
const fitem = state.optionData.find((item) => item[props.bvalue] === command);
|
|
30002
30002
|
modeValueId.value = fitem != null ? [props.bvalue] : 0;
|
|
30003
30003
|
modeValueName.value = fitem != null ? fitem[props.blabel] : "";
|
|
30004
30004
|
emit("change", fitem);
|
|
@@ -30017,12 +30017,13 @@
|
|
|
30017
30017
|
}
|
|
30018
30018
|
};
|
|
30019
30019
|
return (_ctx, _cache) => {
|
|
30020
|
-
const
|
|
30020
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
30021
30021
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
30022
30022
|
const _component_el_dropdown_item = vue.resolveComponent("el-dropdown-item");
|
|
30023
30023
|
const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
|
|
30024
30024
|
const _component_el_dropdown = vue.resolveComponent("el-dropdown");
|
|
30025
30025
|
return vue.openBlock(), vue.createBlock(_component_el_dropdown, {
|
|
30026
|
+
class: "fminputdropdown",
|
|
30026
30027
|
placement: "bottom",
|
|
30027
30028
|
trigger: "click",
|
|
30028
30029
|
style: { "width": "100%" },
|
|
@@ -30069,11 +30070,16 @@
|
|
|
30069
30070
|
style: vue.normalizeStyle({ width: __props.inputWidth })
|
|
30070
30071
|
}, {
|
|
30071
30072
|
append: vue.withCtx(() => [
|
|
30072
|
-
vue.createVNode(
|
|
30073
|
-
|
|
30074
|
-
icon: vue.unref(brush_default),
|
|
30073
|
+
vue.createVNode(_component_el_icon, {
|
|
30074
|
+
color: "#13c2c2",
|
|
30075
30075
|
onClick: handRestdata
|
|
30076
|
-
},
|
|
30076
|
+
}, {
|
|
30077
|
+
default: vue.withCtx(() => [
|
|
30078
|
+
vue.createVNode(vue.unref(refresh_left_default))
|
|
30079
|
+
]),
|
|
30080
|
+
_: 1
|
|
30081
|
+
/* STABLE */
|
|
30082
|
+
})
|
|
30077
30083
|
]),
|
|
30078
30084
|
_: 1
|
|
30079
30085
|
/* STABLE */
|