@fmdevui/fm-dev 1.0.56 → 1.0.58
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/component.mjs +3 -2
- package/es/core/ui/components/fmautocomplete/index.vue.d.ts +15 -0
- package/es/core/ui/components/index.d.ts +114 -1
- package/es/core/ui/components/inputdropdown/index.vue.d.ts +118 -0
- package/es/index.mjs +1 -1
- package/es/packages/core/index.mjs +1 -1
- package/es/packages/core/ui/components/fmautocomplete/index.vue2.mjs +8 -1
- package/es/packages/core/ui/components/index.mjs +4 -1
- package/es/packages/core/ui/components/inputdropdown/index.vue.mjs +5 -0
- package/es/packages/core/ui/components/inputdropdown/index.vue2.mjs +123 -0
- package/index.js +143 -13
- package/index.min.js +24 -24
- package/index.min.mjs +24 -24
- package/index.mjs +143 -14
- package/lib/component.js +2 -1
- package/lib/core/ui/components/fmautocomplete/index.vue.d.ts +15 -0
- package/lib/core/ui/components/index.d.ts +114 -1
- package/lib/core/ui/components/inputdropdown/index.vue.d.ts +118 -0
- package/lib/index.js +1 -0
- package/lib/packages/core/index.js +1 -0
- package/lib/packages/core/ui/components/fmautocomplete/index.vue2.js +8 -1
- package/lib/packages/core/ui/components/index.js +4 -0
- package/lib/packages/core/ui/components/inputdropdown/index.vue.js +9 -0
- package/lib/packages/core/ui/components/inputdropdown/index.vue2.js +127 -0
- package/package.json +1 -1
- /package/es/{version.css → defaults.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fm-dev v1.0.
|
|
1
|
+
/*! fm-dev v1.0.58 */
|
|
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, resolveDynamicComponent, markRaw, toRaw as toRaw$1, hasInjectionContext, unref, isReactive as isReactive$1, toRef, getCurrentScope, onScopeDispose, toRefs, resolveDirective } from 'vue';
|
|
3
3
|
import crypto from 'crypto';
|
|
4
4
|
import require$$0 from 'url';
|
|
@@ -20,7 +20,7 @@ const _hoisted_7 = { class: "fm-transfer-buttons__item" };
|
|
|
20
20
|
const _hoisted_8 = { class: "fm-transfer-panel" };
|
|
21
21
|
const _hoisted_9 = { class: "fm-transfer-panel__header" };
|
|
22
22
|
const _hoisted_10 = { class: "fm-transfer-panel__body" };
|
|
23
|
-
var _sfc_main$
|
|
23
|
+
var _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
24
24
|
...{
|
|
25
25
|
name: "FmTransfer"
|
|
26
26
|
},
|
|
@@ -379,7 +379,7 @@ var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
379
379
|
|
|
380
380
|
const _hoisted_1$3 = { class: "notice-bar-warp-text-box" };
|
|
381
381
|
const _hoisted_2$1 = ["innerHTML"];
|
|
382
|
-
var _sfc_main$
|
|
382
|
+
var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
383
383
|
...{
|
|
384
384
|
name: "FmNoticeBar"
|
|
385
385
|
},
|
|
@@ -502,7 +502,7 @@ var _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
502
502
|
}
|
|
503
503
|
});
|
|
504
504
|
|
|
505
|
-
var _sfc_main$
|
|
505
|
+
var _sfc_main$5 = {
|
|
506
506
|
name: "dragVerify",
|
|
507
507
|
props: {
|
|
508
508
|
isPassing: {
|
|
@@ -884,9 +884,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
884
884
|
)
|
|
885
885
|
]);
|
|
886
886
|
}
|
|
887
|
-
var dragimg = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
887
|
+
var dragimg = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render], ["__scopeId", "data-v-9e8c9ed2"]]);
|
|
888
888
|
|
|
889
|
-
var _sfc_main$
|
|
889
|
+
var _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
890
890
|
...{
|
|
891
891
|
name: "Fmselect"
|
|
892
892
|
},
|
|
@@ -23746,7 +23746,7 @@ const useApi = (url, options = {}) => {
|
|
|
23746
23746
|
};
|
|
23747
23747
|
|
|
23748
23748
|
const _hoisted_1$1 = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
23749
|
-
var _sfc_main$
|
|
23749
|
+
var _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
23750
23750
|
...{
|
|
23751
23751
|
name: "FmAutocomplete"
|
|
23752
23752
|
},
|
|
@@ -23787,6 +23787,13 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23787
23787
|
fName: {
|
|
23788
23788
|
type: String,
|
|
23789
23789
|
default: "name"
|
|
23790
|
+
},
|
|
23791
|
+
/**
|
|
23792
|
+
* 查询业务表ID
|
|
23793
|
+
*/
|
|
23794
|
+
qId: {
|
|
23795
|
+
type: Number,
|
|
23796
|
+
default: 0
|
|
23790
23797
|
}
|
|
23791
23798
|
}, {
|
|
23792
23799
|
"name": {
|
|
@@ -23808,7 +23815,7 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23808
23815
|
const emit = __emit;
|
|
23809
23816
|
const querySearchAsync = async (queryString, cb) => {
|
|
23810
23817
|
resetValue();
|
|
23811
|
-
const res = await useBaseApi(props.apiService).post({ top: props.top, keywork: queryString }, props.apiAction);
|
|
23818
|
+
const res = await useBaseApi(props.apiService).post({ top: props.top, keywork: queryString, id: props.qId }, props.apiAction);
|
|
23812
23819
|
const data = res.data.result ?? [];
|
|
23813
23820
|
if (data.length === 0) {
|
|
23814
23821
|
return cb([]);
|
|
@@ -23858,6 +23865,126 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23858
23865
|
}
|
|
23859
23866
|
});
|
|
23860
23867
|
|
|
23868
|
+
var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
23869
|
+
...{
|
|
23870
|
+
name: "Fminputdropdown"
|
|
23871
|
+
},
|
|
23872
|
+
__name: "index",
|
|
23873
|
+
props: /* @__PURE__ */ mergeModels({
|
|
23874
|
+
//数据
|
|
23875
|
+
optionData: {
|
|
23876
|
+
type: Array,
|
|
23877
|
+
default: []
|
|
23878
|
+
},
|
|
23879
|
+
/**
|
|
23880
|
+
* 值的属性值
|
|
23881
|
+
*/
|
|
23882
|
+
bvalue: {
|
|
23883
|
+
type: String,
|
|
23884
|
+
default: "id"
|
|
23885
|
+
},
|
|
23886
|
+
/**
|
|
23887
|
+
* 值的属性标签
|
|
23888
|
+
*/
|
|
23889
|
+
blabel: {
|
|
23890
|
+
type: String,
|
|
23891
|
+
default: "name"
|
|
23892
|
+
},
|
|
23893
|
+
placeholder: {
|
|
23894
|
+
type: String,
|
|
23895
|
+
default: "\u8BF7\u9009\u62E9"
|
|
23896
|
+
},
|
|
23897
|
+
inputWidth: {
|
|
23898
|
+
type: String,
|
|
23899
|
+
default: "40%"
|
|
23900
|
+
},
|
|
23901
|
+
dropWidth: {
|
|
23902
|
+
type: String,
|
|
23903
|
+
default: "90px"
|
|
23904
|
+
}
|
|
23905
|
+
}, {
|
|
23906
|
+
"id": {
|
|
23907
|
+
type: Number,
|
|
23908
|
+
default: 0
|
|
23909
|
+
},
|
|
23910
|
+
"idModifiers": {},
|
|
23911
|
+
"name": {
|
|
23912
|
+
type: String,
|
|
23913
|
+
default: ""
|
|
23914
|
+
},
|
|
23915
|
+
"nameModifiers": {}
|
|
23916
|
+
}),
|
|
23917
|
+
emits: /* @__PURE__ */ mergeModels(["change"], ["update:id", "update:name"]),
|
|
23918
|
+
setup(__props, { emit: __emit }) {
|
|
23919
|
+
const modeValueId = useModel(__props, "id");
|
|
23920
|
+
const modeValueName = useModel(__props, "name");
|
|
23921
|
+
const props = __props;
|
|
23922
|
+
const emit = __emit;
|
|
23923
|
+
const handCommand = (command) => {
|
|
23924
|
+
const fitem = props.optionData.find((item) => item[props.bvalue] === command);
|
|
23925
|
+
modeValueId.value = fitem != null ? [props.bvalue] : 0;
|
|
23926
|
+
modeValueName.value = fitem != null ? fitem[props.blabel] : "";
|
|
23927
|
+
emit("change", fitem);
|
|
23928
|
+
};
|
|
23929
|
+
return (_ctx, _cache) => {
|
|
23930
|
+
const _component_el_input = resolveComponent("el-input");
|
|
23931
|
+
const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
|
|
23932
|
+
const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
|
|
23933
|
+
const _component_el_dropdown = resolveComponent("el-dropdown");
|
|
23934
|
+
return openBlock(), createBlock(_component_el_dropdown, {
|
|
23935
|
+
placement: "bottom",
|
|
23936
|
+
trigger: "click",
|
|
23937
|
+
style: { "width": "100%" },
|
|
23938
|
+
onCommand: handCommand
|
|
23939
|
+
}, {
|
|
23940
|
+
dropdown: withCtx(() => [
|
|
23941
|
+
createVNode(_component_el_dropdown_menu, {
|
|
23942
|
+
style: normalizeStyle({ width: __props.dropWidth })
|
|
23943
|
+
}, {
|
|
23944
|
+
default: withCtx(() => [
|
|
23945
|
+
(openBlock(true), createElementBlock(
|
|
23946
|
+
Fragment,
|
|
23947
|
+
null,
|
|
23948
|
+
renderList(__props.optionData, (item, index) => {
|
|
23949
|
+
return openBlock(), createBlock(_component_el_dropdown_item, {
|
|
23950
|
+
key: index,
|
|
23951
|
+
command: item[__props.bvalue],
|
|
23952
|
+
divided: ""
|
|
23953
|
+
}, {
|
|
23954
|
+
default: withCtx(() => [
|
|
23955
|
+
createTextVNode(
|
|
23956
|
+
toDisplayString$1(item[__props.blabel]),
|
|
23957
|
+
1
|
|
23958
|
+
/* TEXT */
|
|
23959
|
+
)
|
|
23960
|
+
]),
|
|
23961
|
+
_: 2
|
|
23962
|
+
/* DYNAMIC */
|
|
23963
|
+
}, 1032, ["command"]);
|
|
23964
|
+
}),
|
|
23965
|
+
128
|
|
23966
|
+
/* KEYED_FRAGMENT */
|
|
23967
|
+
))
|
|
23968
|
+
]),
|
|
23969
|
+
_: 1
|
|
23970
|
+
/* STABLE */
|
|
23971
|
+
}, 8, ["style"])
|
|
23972
|
+
]),
|
|
23973
|
+
default: withCtx(() => [
|
|
23974
|
+
createVNode(_component_el_input, {
|
|
23975
|
+
modelValue: modeValueName.value,
|
|
23976
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValueName.value = $event),
|
|
23977
|
+
placeholder: props.placeholder,
|
|
23978
|
+
style: normalizeStyle({ width: __props.inputWidth })
|
|
23979
|
+
}, null, 8, ["modelValue", "placeholder", "style"])
|
|
23980
|
+
]),
|
|
23981
|
+
_: 1
|
|
23982
|
+
/* STABLE */
|
|
23983
|
+
});
|
|
23984
|
+
};
|
|
23985
|
+
}
|
|
23986
|
+
});
|
|
23987
|
+
|
|
23861
23988
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
23862
23989
|
|
|
23863
23990
|
var add_location_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -30015,11 +30142,12 @@ function elSvg(app) {
|
|
|
30015
30142
|
}
|
|
30016
30143
|
}
|
|
30017
30144
|
|
|
30018
|
-
const FmTransfer = _sfc_main$
|
|
30019
|
-
const FmNoticeBar = _sfc_main$
|
|
30145
|
+
const FmTransfer = _sfc_main$7;
|
|
30146
|
+
const FmNoticeBar = _sfc_main$6;
|
|
30020
30147
|
const FmDragImg = dragimg;
|
|
30021
|
-
const Fmselect = _sfc_main$
|
|
30022
|
-
const FmAutocomplete = _sfc_main$
|
|
30148
|
+
const Fmselect = _sfc_main$4;
|
|
30149
|
+
const FmAutocomplete = _sfc_main$3;
|
|
30150
|
+
const Fminputdropdown = _sfc_main$2;
|
|
30023
30151
|
|
|
30024
30152
|
const makeInstaller = (components = []) => {
|
|
30025
30153
|
const install = (app) => {
|
|
@@ -30069,7 +30197,8 @@ const plugins = [
|
|
|
30069
30197
|
FmTransfer,
|
|
30070
30198
|
FmNoticeBar,
|
|
30071
30199
|
Fmselect,
|
|
30072
|
-
FmAutocomplete
|
|
30200
|
+
FmAutocomplete,
|
|
30201
|
+
Fminputdropdown
|
|
30073
30202
|
];
|
|
30074
30203
|
|
|
30075
30204
|
var installer = makeInstaller([...plugins]);
|
|
@@ -52758,4 +52887,4 @@ const version = "1.0.0";
|
|
|
52758
52887
|
|
|
52759
52888
|
const install = installer.install;
|
|
52760
52889
|
|
|
52761
|
-
export { AccountTypeEnum, FmAutocomplete, FmDragImg, FmLogin, FmNoticeBar, FmTransfer, Fmselect, HttpMethodEnum, JobCreateTypeEnum, Local, NextLoading, PUB, Session, Watermark, accessTokenKey, auth, authAll, auths, axiosInstance, base64ToFile, blobToFile, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, clone, commonFunction, commonFunctionObj, dataURLtoBlob, decryptJWT, installer as default, directive, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, elSvg, emitter, feature, fileToBase64, formatAxis, formatDate, formatPast, getCountryCode, getFileName, getFileUrl, getJWTDate, getToken, getWeek, hAuth, hAuthAll, hAuths, i18n, install, isObjectValueEqual, iso_3166_1_CountryList, judgementIdCard, judgementSameArr, languageList, mergMessage, openWindow, pinia, refreshAccessTokenKey, removeDuplicate, request2, service, setIntroduction, setupI18n, showFileUrl, signatureByKSort, tansParams, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useKeepALiveNames, useLoginApi, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl, version };
|
|
52890
|
+
export { AccountTypeEnum, FmAutocomplete, FmDragImg, FmLogin, FmNoticeBar, FmTransfer, Fminputdropdown, Fmselect, HttpMethodEnum, JobCreateTypeEnum, Local, NextLoading, PUB, Session, Watermark, accessTokenKey, auth, authAll, auths, axiosInstance, base64ToFile, blobToFile, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, clone, commonFunction, commonFunctionObj, dataURLtoBlob, decryptJWT, installer as default, directive, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, elSvg, emitter, feature, fileToBase64, formatAxis, formatDate, formatPast, getCountryCode, getFileName, getFileUrl, getJWTDate, getToken, getWeek, hAuth, hAuthAll, hAuths, i18n, install, isObjectValueEqual, iso_3166_1_CountryList, judgementIdCard, judgementSameArr, languageList, mergMessage, openWindow, pinia, refreshAccessTokenKey, removeDuplicate, request2, service, setIntroduction, setupI18n, showFileUrl, signatureByKSort, tansParams, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useKeepALiveNames, useLoginApi, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl, version };
|
package/lib/component.js
CHANGED
|
@@ -36,6 +36,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
36
36
|
type: StringConstructor;
|
|
37
37
|
default: string;
|
|
38
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* 查询业务表ID
|
|
41
|
+
*/
|
|
42
|
+
qId: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
39
46
|
name: {
|
|
40
47
|
type: PropType<string>;
|
|
41
48
|
required: true;
|
|
@@ -86,6 +93,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
86
93
|
type: StringConstructor;
|
|
87
94
|
default: string;
|
|
88
95
|
};
|
|
96
|
+
/**
|
|
97
|
+
* 查询业务表ID
|
|
98
|
+
*/
|
|
99
|
+
qId: {
|
|
100
|
+
type: NumberConstructor;
|
|
101
|
+
default: number;
|
|
102
|
+
};
|
|
89
103
|
name: {
|
|
90
104
|
type: PropType<string>;
|
|
91
105
|
required: true;
|
|
@@ -106,5 +120,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
106
120
|
apiAction: string;
|
|
107
121
|
fId: string;
|
|
108
122
|
fName: string;
|
|
123
|
+
qId: number;
|
|
109
124
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
110
125
|
export default _default;
|
|
@@ -516,6 +516,10 @@ declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
516
516
|
type: StringConstructor;
|
|
517
517
|
default: string;
|
|
518
518
|
};
|
|
519
|
+
qId: {
|
|
520
|
+
type: NumberConstructor;
|
|
521
|
+
default: number;
|
|
522
|
+
};
|
|
519
523
|
name: {
|
|
520
524
|
type: PropType<string>;
|
|
521
525
|
required: true;
|
|
@@ -554,6 +558,10 @@ declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
554
558
|
type: StringConstructor;
|
|
555
559
|
default: string;
|
|
556
560
|
};
|
|
561
|
+
qId: {
|
|
562
|
+
type: NumberConstructor;
|
|
563
|
+
default: number;
|
|
564
|
+
};
|
|
557
565
|
name: {
|
|
558
566
|
type: PropType<string>;
|
|
559
567
|
required: true;
|
|
@@ -574,5 +582,110 @@ declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
574
582
|
apiAction: string;
|
|
575
583
|
fId: string;
|
|
576
584
|
fName: string;
|
|
585
|
+
qId: number;
|
|
586
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
587
|
+
declare const Fminputdropdown: DefineComponent<ExtractPropTypes<{
|
|
588
|
+
optionData: {
|
|
589
|
+
type: {
|
|
590
|
+
(arrayLength: number): any[];
|
|
591
|
+
(...items: any[]): any[];
|
|
592
|
+
new (arrayLength: number): any[];
|
|
593
|
+
new (...items: any[]): any[];
|
|
594
|
+
isArray(arg: any): arg is any[];
|
|
595
|
+
readonly prototype: any[];
|
|
596
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
597
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
598
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
599
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
600
|
+
of<T>(...items: T[]): T[];
|
|
601
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
602
|
+
};
|
|
603
|
+
default: never[];
|
|
604
|
+
};
|
|
605
|
+
bvalue: {
|
|
606
|
+
type: StringConstructor;
|
|
607
|
+
default: string;
|
|
608
|
+
};
|
|
609
|
+
blabel: {
|
|
610
|
+
type: StringConstructor;
|
|
611
|
+
default: string;
|
|
612
|
+
};
|
|
613
|
+
placeholder: {
|
|
614
|
+
type: StringConstructor;
|
|
615
|
+
default: string;
|
|
616
|
+
};
|
|
617
|
+
inputWidth: {
|
|
618
|
+
type: StringConstructor;
|
|
619
|
+
default: string;
|
|
620
|
+
};
|
|
621
|
+
dropWidth: {
|
|
622
|
+
type: StringConstructor;
|
|
623
|
+
default: string;
|
|
624
|
+
};
|
|
625
|
+
id: {
|
|
626
|
+
type: PropType<any>;
|
|
627
|
+
};
|
|
628
|
+
name: {
|
|
629
|
+
type: PropType<any>;
|
|
630
|
+
};
|
|
631
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
632
|
+
change: (...args: any[]) => void;
|
|
633
|
+
"update:id": (value: any) => void;
|
|
634
|
+
"update:name": (value: any) => void;
|
|
635
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
636
|
+
optionData: {
|
|
637
|
+
type: {
|
|
638
|
+
(arrayLength: number): any[];
|
|
639
|
+
(...items: any[]): any[];
|
|
640
|
+
new (arrayLength: number): any[];
|
|
641
|
+
new (...items: any[]): any[];
|
|
642
|
+
isArray(arg: any): arg is any[];
|
|
643
|
+
readonly prototype: any[];
|
|
644
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
645
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
646
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
647
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
648
|
+
of<T>(...items: T[]): T[];
|
|
649
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
650
|
+
};
|
|
651
|
+
default: never[];
|
|
652
|
+
};
|
|
653
|
+
bvalue: {
|
|
654
|
+
type: StringConstructor;
|
|
655
|
+
default: string;
|
|
656
|
+
};
|
|
657
|
+
blabel: {
|
|
658
|
+
type: StringConstructor;
|
|
659
|
+
default: string;
|
|
660
|
+
};
|
|
661
|
+
placeholder: {
|
|
662
|
+
type: StringConstructor;
|
|
663
|
+
default: string;
|
|
664
|
+
};
|
|
665
|
+
inputWidth: {
|
|
666
|
+
type: StringConstructor;
|
|
667
|
+
default: string;
|
|
668
|
+
};
|
|
669
|
+
dropWidth: {
|
|
670
|
+
type: StringConstructor;
|
|
671
|
+
default: string;
|
|
672
|
+
};
|
|
673
|
+
id: {
|
|
674
|
+
type: PropType<any>;
|
|
675
|
+
};
|
|
676
|
+
name: {
|
|
677
|
+
type: PropType<any>;
|
|
678
|
+
};
|
|
679
|
+
}>> & Readonly<{
|
|
680
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
681
|
+
"onUpdate:id"?: ((value: any) => any) | undefined;
|
|
682
|
+
"onUpdate:name"?: ((value: any) => any) | undefined;
|
|
683
|
+
}>, {
|
|
684
|
+
placeholder: string;
|
|
685
|
+
optionData: any[];
|
|
686
|
+
bvalue: string;
|
|
687
|
+
blabel: string;
|
|
688
|
+
inputWidth: string;
|
|
689
|
+
dropWidth: string;
|
|
577
690
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
578
|
-
export { FmTransfer, FmNoticeBar, FmDragImg, Fmselect, FmAutocomplete, elSvg };
|
|
691
|
+
export { FmTransfer, FmNoticeBar, FmDragImg, Fmselect, FmAutocomplete, Fminputdropdown, elSvg };
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
optionData: {
|
|
4
|
+
type: {
|
|
5
|
+
(arrayLength: number): any[];
|
|
6
|
+
(...items: any[]): any[];
|
|
7
|
+
new (arrayLength: number): any[];
|
|
8
|
+
new (...items: any[]): any[];
|
|
9
|
+
isArray(arg: any): arg is any[];
|
|
10
|
+
readonly prototype: any[];
|
|
11
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
12
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
13
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
14
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
15
|
+
of<T>(...items: T[]): T[];
|
|
16
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
17
|
+
};
|
|
18
|
+
default: never[];
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* 值的属性值
|
|
22
|
+
*/
|
|
23
|
+
bvalue: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* 值的属性标签
|
|
29
|
+
*/
|
|
30
|
+
blabel: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
placeholder: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
inputWidth: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
dropWidth: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
id: {
|
|
47
|
+
type: PropType<any>;
|
|
48
|
+
};
|
|
49
|
+
name: {
|
|
50
|
+
type: PropType<any>;
|
|
51
|
+
};
|
|
52
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
53
|
+
change: (...args: any[]) => void;
|
|
54
|
+
"update:id": (value: any) => void;
|
|
55
|
+
"update:name": (value: any) => void;
|
|
56
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
57
|
+
optionData: {
|
|
58
|
+
type: {
|
|
59
|
+
(arrayLength: number): any[];
|
|
60
|
+
(...items: any[]): any[];
|
|
61
|
+
new (arrayLength: number): any[];
|
|
62
|
+
new (...items: any[]): any[];
|
|
63
|
+
isArray(arg: any): arg is any[];
|
|
64
|
+
readonly prototype: any[];
|
|
65
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
66
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
67
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
68
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
69
|
+
of<T>(...items: T[]): T[];
|
|
70
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
71
|
+
};
|
|
72
|
+
default: never[];
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* 值的属性值
|
|
76
|
+
*/
|
|
77
|
+
bvalue: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* 值的属性标签
|
|
83
|
+
*/
|
|
84
|
+
blabel: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
placeholder: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
inputWidth: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
dropWidth: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
id: {
|
|
101
|
+
type: PropType<any>;
|
|
102
|
+
};
|
|
103
|
+
name: {
|
|
104
|
+
type: PropType<any>;
|
|
105
|
+
};
|
|
106
|
+
}>> & Readonly<{
|
|
107
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
"onUpdate:id"?: ((value: any) => any) | undefined;
|
|
109
|
+
"onUpdate:name"?: ((value: any) => any) | undefined;
|
|
110
|
+
}>, {
|
|
111
|
+
placeholder: string;
|
|
112
|
+
optionData: any[];
|
|
113
|
+
bvalue: string;
|
|
114
|
+
blabel: string;
|
|
115
|
+
inputWidth: string;
|
|
116
|
+
dropWidth: string;
|
|
117
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
118
|
+
export default _default;
|
package/lib/index.js
CHANGED
|
@@ -52,6 +52,7 @@ exports.FmAutocomplete = index$1.FmAutocomplete;
|
|
|
52
52
|
exports.FmDragImg = index$1.FmDragImg;
|
|
53
53
|
exports.FmNoticeBar = index$1.FmNoticeBar;
|
|
54
54
|
exports.FmTransfer = index$1.FmTransfer;
|
|
55
|
+
exports.Fminputdropdown = index$1.Fminputdropdown;
|
|
55
56
|
exports.Fmselect = index$1.Fmselect;
|
|
56
57
|
exports.elSvg = index$2.elSvg;
|
|
57
58
|
exports.FmLogin = index$3.FmLogin;
|
|
@@ -44,6 +44,7 @@ exports.FmAutocomplete = index.FmAutocomplete;
|
|
|
44
44
|
exports.FmDragImg = index.FmDragImg;
|
|
45
45
|
exports.FmNoticeBar = index.FmNoticeBar;
|
|
46
46
|
exports.FmTransfer = index.FmTransfer;
|
|
47
|
+
exports.Fminputdropdown = index.Fminputdropdown;
|
|
47
48
|
exports.Fmselect = index.Fmselect;
|
|
48
49
|
exports.FmLogin = index$2.FmLogin;
|
|
49
50
|
exports.NextLoading = index$3.NextLoading;
|
|
@@ -47,6 +47,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
47
47
|
fName: {
|
|
48
48
|
type: String,
|
|
49
49
|
default: "name"
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* 查询业务表ID
|
|
53
|
+
*/
|
|
54
|
+
qId: {
|
|
55
|
+
type: Number,
|
|
56
|
+
default: 0
|
|
50
57
|
}
|
|
51
58
|
}, {
|
|
52
59
|
"name": {
|
|
@@ -68,7 +75,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
68
75
|
const emit = __emit;
|
|
69
76
|
const querySearchAsync = async (queryString, cb) => {
|
|
70
77
|
resetValue();
|
|
71
|
-
const res = await index.useBaseApi(props.apiService).post({ top: props.top, keywork: queryString }, props.apiAction);
|
|
78
|
+
const res = await index.useBaseApi(props.apiService).post({ top: props.top, keywork: queryString, id: props.qId }, props.apiAction);
|
|
72
79
|
const data = res.data.result ?? [];
|
|
73
80
|
if (data.length === 0) {
|
|
74
81
|
return cb([]);
|
|
@@ -5,21 +5,25 @@ require('./noticeBar/index.vue.js');
|
|
|
5
5
|
var dragVerifyImgRotate = require('./dragVerify/dragVerifyImgRotate.vue.js');
|
|
6
6
|
require('./fmselect/index.vue.js');
|
|
7
7
|
require('./fmautocomplete/index.vue.js');
|
|
8
|
+
require('./inputdropdown/index.vue.js');
|
|
8
9
|
var index = require('./svgIcon/index.js');
|
|
9
10
|
var index_vue_vue_type_script_setup_true_lang = require('./transfer/index.vue2.js');
|
|
10
11
|
var index_vue_vue_type_script_setup_true_lang$1 = require('./noticeBar/index.vue2.js');
|
|
11
12
|
var index_vue_vue_type_script_setup_true_lang$2 = require('./fmselect/index.vue2.js');
|
|
12
13
|
var index_vue_vue_type_script_setup_true_lang$3 = require('./fmautocomplete/index.vue2.js');
|
|
14
|
+
var index_vue_vue_type_script_setup_true_lang$4 = require('./inputdropdown/index.vue2.js');
|
|
13
15
|
|
|
14
16
|
const FmTransfer = index_vue_vue_type_script_setup_true_lang.default;
|
|
15
17
|
const FmNoticeBar = index_vue_vue_type_script_setup_true_lang$1.default;
|
|
16
18
|
const FmDragImg = dragVerifyImgRotate.default;
|
|
17
19
|
const Fmselect = index_vue_vue_type_script_setup_true_lang$2.default;
|
|
18
20
|
const FmAutocomplete = index_vue_vue_type_script_setup_true_lang$3.default;
|
|
21
|
+
const Fminputdropdown = index_vue_vue_type_script_setup_true_lang$4.default;
|
|
19
22
|
|
|
20
23
|
exports.elSvg = index.elSvg;
|
|
21
24
|
exports.FmAutocomplete = FmAutocomplete;
|
|
22
25
|
exports.FmDragImg = FmDragImg;
|
|
23
26
|
exports.FmNoticeBar = FmNoticeBar;
|
|
24
27
|
exports.FmTransfer = FmTransfer;
|
|
28
|
+
exports.Fminputdropdown = Fminputdropdown;
|
|
25
29
|
exports.Fmselect = Fmselect;
|