@fmdeui/fmui 1.0.102 → 1.0.104
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/components/fm-inputdropdown/index.d.ts +9 -0
- package/es/components/fm-inputdropdown/index.vue.d.ts +9 -0
- package/es/packages/components/fm-inputdropdown/index.vue2.mjs +7 -3
- package/es/packages/directive/authDirective.mjs +2 -2
- package/index.js +10 -6
- package/index.min.js +6 -6
- package/index.min.mjs +3 -3
- package/index.mjs +10 -6
- package/lib/components/fm-inputdropdown/index.d.ts +9 -0
- package/lib/components/fm-inputdropdown/index.vue.d.ts +9 -0
- package/lib/packages/components/fm-inputdropdown/index.vue2.js +7 -3
- package/lib/packages/directive/authDirective.js +2 -2
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/es/{index.css → make-installer.css} +0 -0
- /package/lib/{version.css → make-installer.css} +0 -0
|
@@ -70,6 +70,10 @@ export declare const Fminputdropdown: DefineComponent<ExtractPropTypes<{
|
|
|
70
70
|
};
|
|
71
71
|
default: never[];
|
|
72
72
|
};
|
|
73
|
+
freshSize: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
73
77
|
autoLoadData: {
|
|
74
78
|
type: BooleanConstructor;
|
|
75
79
|
default: boolean;
|
|
@@ -155,6 +159,10 @@ export declare const Fminputdropdown: DefineComponent<ExtractPropTypes<{
|
|
|
155
159
|
};
|
|
156
160
|
default: never[];
|
|
157
161
|
};
|
|
162
|
+
freshSize: {
|
|
163
|
+
type: NumberConstructor;
|
|
164
|
+
default: number;
|
|
165
|
+
};
|
|
158
166
|
autoLoadData: {
|
|
159
167
|
type: BooleanConstructor;
|
|
160
168
|
default: boolean;
|
|
@@ -181,5 +189,6 @@ export declare const Fminputdropdown: DefineComponent<ExtractPropTypes<{
|
|
|
181
189
|
apiAction: string;
|
|
182
190
|
basecode: string;
|
|
183
191
|
multibasecode: any[];
|
|
192
|
+
freshSize: number;
|
|
184
193
|
autoLoadData: boolean;
|
|
185
194
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -88,6 +88,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
88
88
|
};
|
|
89
89
|
default: never[];
|
|
90
90
|
};
|
|
91
|
+
freshSize: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
91
95
|
/**
|
|
92
96
|
* 是否默认加载数据
|
|
93
97
|
*/
|
|
@@ -194,6 +198,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
194
198
|
};
|
|
195
199
|
default: never[];
|
|
196
200
|
};
|
|
201
|
+
freshSize: {
|
|
202
|
+
type: NumberConstructor;
|
|
203
|
+
default: number;
|
|
204
|
+
};
|
|
197
205
|
/**
|
|
198
206
|
* 是否默认加载数据
|
|
199
207
|
*/
|
|
@@ -223,6 +231,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
223
231
|
apiAction: string;
|
|
224
232
|
basecode: string;
|
|
225
233
|
multibasecode: any[];
|
|
234
|
+
freshSize: number;
|
|
226
235
|
autoLoadData: boolean;
|
|
227
236
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
228
237
|
export default _default;
|
|
@@ -72,6 +72,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
72
72
|
type: Array,
|
|
73
73
|
default: []
|
|
74
74
|
},
|
|
75
|
+
freshSize: {
|
|
76
|
+
type: Number,
|
|
77
|
+
default: 22
|
|
78
|
+
},
|
|
75
79
|
/**
|
|
76
80
|
* 是否默认加载数据
|
|
77
81
|
*/
|
|
@@ -126,7 +130,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
126
130
|
const _component_el_dropdown = resolveComponent("el-dropdown");
|
|
127
131
|
return openBlock(), createBlock(_component_el_dropdown, {
|
|
128
132
|
class: "fminputdropdown",
|
|
129
|
-
placement: "bottom",
|
|
133
|
+
placement: "bottom-start",
|
|
130
134
|
trigger: "click",
|
|
131
135
|
style: { "width": "100%" },
|
|
132
136
|
onCommand: handCommand
|
|
@@ -175,7 +179,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
175
179
|
suffix: withCtx(() => [
|
|
176
180
|
createVNode(_component_el_icon, {
|
|
177
181
|
color: "#13c2c2",
|
|
178
|
-
size:
|
|
182
|
+
size: __props.freshSize,
|
|
179
183
|
onClick: handRestdata
|
|
180
184
|
}, {
|
|
181
185
|
default: withCtx(() => [
|
|
@@ -183,7 +187,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
183
187
|
]),
|
|
184
188
|
_: 1
|
|
185
189
|
/* STABLE */
|
|
186
|
-
})
|
|
190
|
+
}, 8, ["size"])
|
|
187
191
|
]),
|
|
188
192
|
_: 1
|
|
189
193
|
/* STABLE */
|
|
@@ -49,8 +49,8 @@ function authDirective(app) {
|
|
|
49
49
|
mounted(el, binding) {
|
|
50
50
|
var _a, _b, _c, _d;
|
|
51
51
|
const stores = useUserInfo();
|
|
52
|
-
const config = typeof binding.value === "string" ? { path: binding.value, field: "" } : binding.value;
|
|
53
|
-
const itemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === config.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === "main")) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === config.field);
|
|
52
|
+
const config = typeof binding.value === "string" ? { path: binding.value, field: "", flag: "main" } : binding.value;
|
|
53
|
+
const itemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === config.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === (config.flag || "main"))) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === config.field);
|
|
54
54
|
if (itemField && itemField.isAddUpdate == 0) el.parentNode.removeChild(el);
|
|
55
55
|
}
|
|
56
56
|
});
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.104 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
|
|
@@ -3975,8 +3975,8 @@
|
|
|
3975
3975
|
mounted(el, binding) {
|
|
3976
3976
|
var _a, _b, _c, _d;
|
|
3977
3977
|
const stores = useUserInfo();
|
|
3978
|
-
const config = typeof binding.value === "string" ? { path: binding.value, field: "" } : binding.value;
|
|
3979
|
-
const itemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === config.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === "main")) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === config.field);
|
|
3978
|
+
const config = typeof binding.value === "string" ? { path: binding.value, field: "", flag: "main" } : binding.value;
|
|
3979
|
+
const itemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === config.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === (config.flag || "main"))) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === config.field);
|
|
3980
3980
|
if (itemField && itemField.isAddUpdate == 0) el.parentNode.removeChild(el);
|
|
3981
3981
|
}
|
|
3982
3982
|
});
|
|
@@ -26727,6 +26727,10 @@
|
|
|
26727
26727
|
type: Array,
|
|
26728
26728
|
default: []
|
|
26729
26729
|
},
|
|
26730
|
+
freshSize: {
|
|
26731
|
+
type: Number,
|
|
26732
|
+
default: 22
|
|
26733
|
+
},
|
|
26730
26734
|
/**
|
|
26731
26735
|
* 是否默认加载数据
|
|
26732
26736
|
*/
|
|
@@ -26781,7 +26785,7 @@
|
|
|
26781
26785
|
const _component_el_dropdown = vue.resolveComponent("el-dropdown");
|
|
26782
26786
|
return vue.openBlock(), vue.createBlock(_component_el_dropdown, {
|
|
26783
26787
|
class: "fminputdropdown",
|
|
26784
|
-
placement: "bottom",
|
|
26788
|
+
placement: "bottom-start",
|
|
26785
26789
|
trigger: "click",
|
|
26786
26790
|
style: { "width": "100%" },
|
|
26787
26791
|
onCommand: handCommand
|
|
@@ -26830,7 +26834,7 @@
|
|
|
26830
26834
|
suffix: vue.withCtx(() => [
|
|
26831
26835
|
vue.createVNode(_component_el_icon, {
|
|
26832
26836
|
color: "#13c2c2",
|
|
26833
|
-
size:
|
|
26837
|
+
size: __props.freshSize,
|
|
26834
26838
|
onClick: handRestdata
|
|
26835
26839
|
}, {
|
|
26836
26840
|
default: vue.withCtx(() => [
|
|
@@ -26838,7 +26842,7 @@
|
|
|
26838
26842
|
]),
|
|
26839
26843
|
_: 1
|
|
26840
26844
|
/* STABLE */
|
|
26841
|
-
})
|
|
26845
|
+
}, 8, ["size"])
|
|
26842
26846
|
]),
|
|
26843
26847
|
_: 1
|
|
26844
26848
|
/* STABLE */
|