@fmdevui/fm-dev 1.0.105 → 1.0.106
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/core/ui/components/fmautocomplete/index.vue.d.ts +16 -1
- package/es/core/ui/components/index.d.ts +129 -45
- package/es/packages/core/ui/components/fmautocomplete/index.vue2.mjs +13 -7
- package/index.js +13 -7
- package/index.min.js +30 -30
- package/index.min.mjs +26 -26
- package/index.mjs +14 -8
- package/lib/core/ui/components/fmautocomplete/index.vue.d.ts +16 -1
- package/lib/core/ui/components/index.d.ts +129 -45
- package/lib/packages/core/ui/components/fmautocomplete/index.vue2.js +12 -6
- package/package.json +1 -1
- /package/es/{index.css → defaults.css} +0 -0
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
append?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
3
12
|
placeholder: {
|
|
4
13
|
type: StringConstructor;
|
|
5
14
|
default: string;
|
|
@@ -122,4 +131,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
122
131
|
fName: string;
|
|
123
132
|
qId: number;
|
|
124
133
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
134
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
125
135
|
export default _default;
|
|
136
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
137
|
+
new (): {
|
|
138
|
+
$slots: S;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
@@ -525,49 +525,124 @@ declare const Fmselect: DefineComponent<ExtractPropTypes<{
|
|
|
525
525
|
elabel: string;
|
|
526
526
|
isshowelabel: boolean;
|
|
527
527
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
528
|
-
declare const FmAutocomplete:
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
528
|
+
declare const FmAutocomplete: {
|
|
529
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
530
|
+
placeholder: {
|
|
531
|
+
type: StringConstructor;
|
|
532
|
+
default: string;
|
|
533
|
+
};
|
|
534
|
+
apiService: {
|
|
535
|
+
type: StringConstructor;
|
|
536
|
+
default: string;
|
|
537
|
+
};
|
|
538
|
+
apiAction: {
|
|
539
|
+
type: StringConstructor;
|
|
540
|
+
default: string;
|
|
541
|
+
};
|
|
542
|
+
top: {
|
|
543
|
+
type: NumberConstructor;
|
|
544
|
+
default: number;
|
|
545
|
+
};
|
|
546
|
+
fId: {
|
|
547
|
+
type: StringConstructor;
|
|
548
|
+
default: string;
|
|
549
|
+
};
|
|
550
|
+
fName: {
|
|
551
|
+
type: StringConstructor;
|
|
552
|
+
default: string;
|
|
553
|
+
};
|
|
554
|
+
qId: {
|
|
555
|
+
type: NumberConstructor;
|
|
556
|
+
default: number;
|
|
557
|
+
};
|
|
558
|
+
name: {
|
|
559
|
+
type: PropType<string>;
|
|
560
|
+
required: true;
|
|
561
|
+
};
|
|
562
|
+
id: {
|
|
563
|
+
type: PropType<Number>;
|
|
564
|
+
required: true;
|
|
565
|
+
};
|
|
566
|
+
}>> & Readonly<{
|
|
567
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
568
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
569
|
+
"onUpdate:id"?: ((value: Number) => any) | undefined;
|
|
570
|
+
"onUpdate:name"?: ((value: string) => any) | undefined;
|
|
571
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
572
|
+
reset: (...args: any[]) => void;
|
|
573
|
+
select: (...args: any[]) => void;
|
|
574
|
+
"update:id": (value: Number) => void;
|
|
575
|
+
"update:name": (value: string) => void;
|
|
576
|
+
}, PublicProps, {
|
|
577
|
+
placeholder: string;
|
|
578
|
+
top: number;
|
|
579
|
+
apiService: string;
|
|
580
|
+
apiAction: string;
|
|
581
|
+
fId: string;
|
|
582
|
+
fName: string;
|
|
583
|
+
qId: number;
|
|
584
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
585
|
+
P: {};
|
|
586
|
+
B: {};
|
|
587
|
+
D: {};
|
|
588
|
+
C: {};
|
|
589
|
+
M: {};
|
|
590
|
+
Defaults: {};
|
|
591
|
+
}, Readonly< ExtractPropTypes<{
|
|
592
|
+
placeholder: {
|
|
593
|
+
type: StringConstructor;
|
|
594
|
+
default: string;
|
|
595
|
+
};
|
|
596
|
+
apiService: {
|
|
597
|
+
type: StringConstructor;
|
|
598
|
+
default: string;
|
|
599
|
+
};
|
|
600
|
+
apiAction: {
|
|
601
|
+
type: StringConstructor;
|
|
602
|
+
default: string;
|
|
603
|
+
};
|
|
604
|
+
top: {
|
|
605
|
+
type: NumberConstructor;
|
|
606
|
+
default: number;
|
|
607
|
+
};
|
|
608
|
+
fId: {
|
|
609
|
+
type: StringConstructor;
|
|
610
|
+
default: string;
|
|
611
|
+
};
|
|
612
|
+
fName: {
|
|
613
|
+
type: StringConstructor;
|
|
614
|
+
default: string;
|
|
615
|
+
};
|
|
616
|
+
qId: {
|
|
617
|
+
type: NumberConstructor;
|
|
618
|
+
default: number;
|
|
619
|
+
};
|
|
620
|
+
name: {
|
|
621
|
+
type: PropType<string>;
|
|
622
|
+
required: true;
|
|
623
|
+
};
|
|
624
|
+
id: {
|
|
625
|
+
type: PropType<Number>;
|
|
626
|
+
required: true;
|
|
627
|
+
};
|
|
628
|
+
}>> & Readonly<{
|
|
629
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
630
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
631
|
+
"onUpdate:id"?: ((value: Number) => any) | undefined;
|
|
632
|
+
"onUpdate:name"?: ((value: string) => any) | undefined;
|
|
633
|
+
}>, {}, {}, {}, {}, {
|
|
634
|
+
placeholder: string;
|
|
635
|
+
top: number;
|
|
636
|
+
apiService: string;
|
|
637
|
+
apiAction: string;
|
|
638
|
+
fId: string;
|
|
639
|
+
fName: string;
|
|
640
|
+
qId: number;
|
|
641
|
+
}>;
|
|
642
|
+
__isFragment?: never;
|
|
643
|
+
__isTeleport?: never;
|
|
644
|
+
__isSuspense?: never;
|
|
645
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
571
646
|
placeholder: {
|
|
572
647
|
type: StringConstructor;
|
|
573
648
|
default: string;
|
|
@@ -609,7 +684,12 @@ declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
609
684
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
610
685
|
"onUpdate:id"?: ((value: Number) => any) | undefined;
|
|
611
686
|
"onUpdate:name"?: ((value: string) => any) | undefined;
|
|
612
|
-
}>, {
|
|
687
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
688
|
+
reset: (...args: any[]) => void;
|
|
689
|
+
select: (...args: any[]) => void;
|
|
690
|
+
"update:id": (value: Number) => void;
|
|
691
|
+
"update:name": (value: string) => void;
|
|
692
|
+
}, string, {
|
|
613
693
|
placeholder: string;
|
|
614
694
|
top: number;
|
|
615
695
|
apiService: string;
|
|
@@ -617,7 +697,11 @@ declare const FmAutocomplete: DefineComponent<ExtractPropTypes<{
|
|
|
617
697
|
fId: string;
|
|
618
698
|
fName: string;
|
|
619
699
|
qId: number;
|
|
620
|
-
}, {},
|
|
700
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
701
|
+
$slots: {
|
|
702
|
+
append?(_: {}): any;
|
|
703
|
+
};
|
|
704
|
+
});
|
|
621
705
|
declare const Fminputdropdown: DefineComponent<ExtractPropTypes<{
|
|
622
706
|
optionData: {
|
|
623
707
|
type: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useModel, resolveComponent, createBlock, openBlock, withCtx, createElementVNode, toDisplayString, mergeModels } from 'vue';
|
|
1
|
+
import { defineComponent, useModel, resolveComponent, createBlock, openBlock, createSlots, withCtx, createElementVNode, toDisplayString, renderSlot, mergeModels } from 'vue';
|
|
2
2
|
import { useBaseApi } from '../../../api/base/index.mjs';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
@@ -104,8 +104,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
104
104
|
"trigger-on-focus": false,
|
|
105
105
|
onSelect: handleSelect,
|
|
106
106
|
style: { "margin-top": "-2px" }
|
|
107
|
-
}, {
|
|
108
|
-
prepend: withCtx(() => [..._cache[1] || (_cache[1] = [])]),
|
|
107
|
+
}, createSlots({
|
|
109
108
|
default: withCtx(({ item }) => [
|
|
110
109
|
createElementVNode(
|
|
111
110
|
"div",
|
|
@@ -115,10 +114,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
115
114
|
/* TEXT */
|
|
116
115
|
)
|
|
117
116
|
]),
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
117
|
+
_: 2
|
|
118
|
+
/* DYNAMIC */
|
|
119
|
+
}, [
|
|
120
|
+
_ctx.$slots.append ? {
|
|
121
|
+
name: "append",
|
|
122
|
+
fn: withCtx(() => [
|
|
123
|
+
renderSlot(_ctx.$slots, "append")
|
|
124
|
+
]),
|
|
125
|
+
key: "0"
|
|
126
|
+
} : void 0
|
|
127
|
+
]), 1032, ["modelValue", "placeholder"]);
|
|
122
128
|
};
|
|
123
129
|
}
|
|
124
130
|
});
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fm-dev v1.0.
|
|
1
|
+
/*! fm-dev v1.0.106 */
|
|
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) :
|
|
@@ -23975,8 +23975,7 @@
|
|
|
23975
23975
|
"trigger-on-focus": false,
|
|
23976
23976
|
onSelect: handleSelect,
|
|
23977
23977
|
style: { "margin-top": "-2px" }
|
|
23978
|
-
}, {
|
|
23979
|
-
prepend: vue.withCtx(() => [..._cache[1] || (_cache[1] = [])]),
|
|
23978
|
+
}, vue.createSlots({
|
|
23980
23979
|
default: vue.withCtx(({ item }) => [
|
|
23981
23980
|
vue.createElementVNode(
|
|
23982
23981
|
"div",
|
|
@@ -23986,10 +23985,17 @@
|
|
|
23986
23985
|
/* TEXT */
|
|
23987
23986
|
)
|
|
23988
23987
|
]),
|
|
23989
|
-
|
|
23990
|
-
|
|
23991
|
-
|
|
23992
|
-
|
|
23988
|
+
_: 2
|
|
23989
|
+
/* DYNAMIC */
|
|
23990
|
+
}, [
|
|
23991
|
+
_ctx.$slots.append ? {
|
|
23992
|
+
name: "append",
|
|
23993
|
+
fn: vue.withCtx(() => [
|
|
23994
|
+
vue.renderSlot(_ctx.$slots, "append")
|
|
23995
|
+
]),
|
|
23996
|
+
key: "0"
|
|
23997
|
+
} : void 0
|
|
23998
|
+
]), 1032, ["modelValue", "placeholder"]);
|
|
23993
23999
|
};
|
|
23994
24000
|
}
|
|
23995
24001
|
});
|