@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
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fm-dev v1.0.
|
|
1
|
+
/*! fm-dev v1.0.70 */
|
|
2
2
|
import { defineComponent, reactive, computed, watch, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString as toDisplayString$1, withDirectives, createElementBlock, Fragment, renderList, vShow, ref, onMounted, nextTick, normalizeStyle, createCommentVNode, normalizeClass, withModifiers, mergeModels, useModel, effectScope, getCurrentInstance, shallowRef, isRef as isRef$1, inject, onUnmounted, h, Text, unref, resolveDirective, resolveDynamicComponent, markRaw, toRaw as toRaw$1, hasInjectionContext, isReactive as isReactive$1, toRef, getCurrentScope, onScopeDispose, toRefs } from 'vue';
|
|
3
3
|
import crypto from 'crypto';
|
|
4
4
|
import require$$0 from 'url';
|
|
@@ -30003,7 +30003,7 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
30003
30003
|
});
|
|
30004
30004
|
const emit = __emit;
|
|
30005
30005
|
const handCommand = (command) => {
|
|
30006
|
-
const fitem =
|
|
30006
|
+
const fitem = state.optionData.find((item) => item[props.bvalue] === command);
|
|
30007
30007
|
modeValueId.value = fitem != null ? [props.bvalue] : 0;
|
|
30008
30008
|
modeValueName.value = fitem != null ? fitem[props.blabel] : "";
|
|
30009
30009
|
emit("change", fitem);
|
|
@@ -30022,12 +30022,13 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
30022
30022
|
}
|
|
30023
30023
|
};
|
|
30024
30024
|
return (_ctx, _cache) => {
|
|
30025
|
-
const
|
|
30025
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
30026
30026
|
const _component_el_input = resolveComponent("el-input");
|
|
30027
30027
|
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
30028
30028
|
const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
|
|
30029
30029
|
const _component_el_dropdown = resolveComponent("el-dropdown");
|
|
30030
30030
|
return openBlock(), createBlock(_component_el_dropdown, {
|
|
30031
|
+
class: "fminputdropdown",
|
|
30031
30032
|
placement: "bottom",
|
|
30032
30033
|
trigger: "click",
|
|
30033
30034
|
style: { "width": "100%" },
|
|
@@ -30074,11 +30075,16 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
30074
30075
|
style: normalizeStyle({ width: __props.inputWidth })
|
|
30075
30076
|
}, {
|
|
30076
30077
|
append: withCtx(() => [
|
|
30077
|
-
createVNode(
|
|
30078
|
-
|
|
30079
|
-
icon: unref(brush_default),
|
|
30078
|
+
createVNode(_component_el_icon, {
|
|
30079
|
+
color: "#13c2c2",
|
|
30080
30080
|
onClick: handRestdata
|
|
30081
|
-
},
|
|
30081
|
+
}, {
|
|
30082
|
+
default: withCtx(() => [
|
|
30083
|
+
createVNode(unref(refresh_left_default))
|
|
30084
|
+
]),
|
|
30085
|
+
_: 1
|
|
30086
|
+
/* STABLE */
|
|
30087
|
+
})
|
|
30082
30088
|
]),
|
|
30083
30089
|
_: 1
|
|
30084
30090
|
/* STABLE */
|
|
@@ -86,7 +86,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
86
86
|
});
|
|
87
87
|
const emit = __emit;
|
|
88
88
|
const handCommand = (command) => {
|
|
89
|
-
const fitem =
|
|
89
|
+
const fitem = state.optionData.find((item) => item[props.bvalue] === command);
|
|
90
90
|
modeValueId.value = fitem != null ? [props.bvalue] : 0;
|
|
91
91
|
modeValueName.value = fitem != null ? fitem[props.blabel] : "";
|
|
92
92
|
emit("change", fitem);
|
|
@@ -105,12 +105,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
return (_ctx, _cache) => {
|
|
108
|
-
const
|
|
108
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
109
109
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
110
110
|
const _component_el_dropdown_item = vue.resolveComponent("el-dropdown-item");
|
|
111
111
|
const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
|
|
112
112
|
const _component_el_dropdown = vue.resolveComponent("el-dropdown");
|
|
113
113
|
return vue.openBlock(), vue.createBlock(_component_el_dropdown, {
|
|
114
|
+
class: "fminputdropdown",
|
|
114
115
|
placement: "bottom",
|
|
115
116
|
trigger: "click",
|
|
116
117
|
style: { "width": "100%" },
|
|
@@ -157,11 +158,16 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
157
158
|
style: vue.normalizeStyle({ width: __props.inputWidth })
|
|
158
159
|
}, {
|
|
159
160
|
append: vue.withCtx(() => [
|
|
160
|
-
vue.createVNode(
|
|
161
|
-
|
|
162
|
-
icon: vue.unref(svg.Brush),
|
|
161
|
+
vue.createVNode(_component_el_icon, {
|
|
162
|
+
color: "#13c2c2",
|
|
163
163
|
onClick: handRestdata
|
|
164
|
-
},
|
|
164
|
+
}, {
|
|
165
|
+
default: vue.withCtx(() => [
|
|
166
|
+
vue.createVNode(vue.unref(svg.RefreshLeft))
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
/* STABLE */
|
|
170
|
+
})
|
|
165
171
|
]),
|
|
166
172
|
_: 1
|
|
167
173
|
/* STABLE */
|
package/package.json
CHANGED
|
File without changes
|