@fmdevui/fm-dev 1.0.105 → 1.0.107
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 +138 -45
- package/es/core/ui/components/inputdropdown/index.vue.d.ts +9 -0
- package/es/packages/core/ui/components/fmautocomplete/index.vue2.mjs +13 -7
- package/es/packages/core/ui/components/inputdropdown/index.vue2.mjs +5 -1
- package/index.js +18 -8
- package/index.min.js +30 -30
- package/index.min.mjs +26 -26
- package/index.mjs +19 -9
- package/lib/core/ui/components/fmautocomplete/index.vue.d.ts +16 -1
- package/lib/core/ui/components/index.d.ts +138 -45
- package/lib/core/ui/components/inputdropdown/index.vue.d.ts +9 -0
- package/lib/packages/core/ui/components/fmautocomplete/index.vue2.js +12 -6
- package/lib/packages/core/ui/components/inputdropdown/index.vue2.js +5 -1
- package/package.json +1 -1
- /package/es/{index.css → component.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! fm-dev v1.0.
|
|
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, markRaw, hasInjectionContext, toRaw as toRaw$1, isReactive as isReactive$1, toRef, unref, getCurrentScope, onScopeDispose, toRefs, resolveDirective, mergeProps,
|
|
1
|
+
/*! fm-dev v1.0.107 */
|
|
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, createSlots, renderSlot, markRaw, hasInjectionContext, toRaw as toRaw$1, isReactive as isReactive$1, toRef, unref, getCurrentScope, onScopeDispose, toRefs, resolveDirective, mergeProps, resolveDynamicComponent, useSlots, toHandlers, onBeforeUnmount, onUpdated, useAttrs, normalizeProps, guardReactiveProps } from 'vue';
|
|
3
3
|
import crypto from 'crypto';
|
|
4
4
|
import require$$0 from 'url';
|
|
5
5
|
import require$$1 from 'http';
|
|
@@ -23980,8 +23980,7 @@ var _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
23980
23980
|
"trigger-on-focus": false,
|
|
23981
23981
|
onSelect: handleSelect,
|
|
23982
23982
|
style: { "margin-top": "-2px" }
|
|
23983
|
-
}, {
|
|
23984
|
-
prepend: withCtx(() => [..._cache[1] || (_cache[1] = [])]),
|
|
23983
|
+
}, createSlots({
|
|
23985
23984
|
default: withCtx(({ item }) => [
|
|
23986
23985
|
createElementVNode(
|
|
23987
23986
|
"div",
|
|
@@ -23991,10 +23990,17 @@ var _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
23991
23990
|
/* TEXT */
|
|
23992
23991
|
)
|
|
23993
23992
|
]),
|
|
23994
|
-
|
|
23995
|
-
|
|
23996
|
-
|
|
23997
|
-
|
|
23993
|
+
_: 2
|
|
23994
|
+
/* DYNAMIC */
|
|
23995
|
+
}, [
|
|
23996
|
+
_ctx.$slots.append ? {
|
|
23997
|
+
name: "append",
|
|
23998
|
+
fn: withCtx(() => [
|
|
23999
|
+
renderSlot(_ctx.$slots, "append")
|
|
24000
|
+
]),
|
|
24001
|
+
key: "0"
|
|
24002
|
+
} : void 0
|
|
24003
|
+
]), 1032, ["modelValue", "placeholder"]);
|
|
23998
24004
|
};
|
|
23999
24005
|
}
|
|
24000
24006
|
});
|
|
@@ -35413,6 +35419,10 @@ var _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
35413
35419
|
type: String,
|
|
35414
35420
|
default: "90px"
|
|
35415
35421
|
},
|
|
35422
|
+
dropHeight: {
|
|
35423
|
+
type: String,
|
|
35424
|
+
default: "300px"
|
|
35425
|
+
},
|
|
35416
35426
|
/**
|
|
35417
35427
|
* api service name
|
|
35418
35428
|
*/
|
|
@@ -35488,7 +35498,7 @@ var _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
35488
35498
|
}, {
|
|
35489
35499
|
dropdown: withCtx(() => [
|
|
35490
35500
|
createVNode(_component_el_dropdown_menu, {
|
|
35491
|
-
style: normalizeStyle({ width: __props.dropWidth })
|
|
35501
|
+
style: normalizeStyle({ width: __props.dropWidth, height: __props.dropHeight })
|
|
35492
35502
|
}, {
|
|
35493
35503
|
default: withCtx(() => [
|
|
35494
35504
|
(openBlock(true), createElementBlock(
|
|
@@ -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: {
|
|
@@ -656,6 +740,10 @@ declare const Fminputdropdown: DefineComponent<ExtractPropTypes<{
|
|
|
656
740
|
type: StringConstructor;
|
|
657
741
|
default: string;
|
|
658
742
|
};
|
|
743
|
+
dropHeight: {
|
|
744
|
+
type: StringConstructor;
|
|
745
|
+
default: string;
|
|
746
|
+
};
|
|
659
747
|
apiService: {
|
|
660
748
|
type: StringConstructor;
|
|
661
749
|
default: string;
|
|
@@ -716,6 +804,10 @@ declare const Fminputdropdown: DefineComponent<ExtractPropTypes<{
|
|
|
716
804
|
type: StringConstructor;
|
|
717
805
|
default: string;
|
|
718
806
|
};
|
|
807
|
+
dropHeight: {
|
|
808
|
+
type: StringConstructor;
|
|
809
|
+
default: string;
|
|
810
|
+
};
|
|
719
811
|
apiService: {
|
|
720
812
|
type: StringConstructor;
|
|
721
813
|
default: string;
|
|
@@ -747,6 +839,7 @@ declare const Fminputdropdown: DefineComponent<ExtractPropTypes<{
|
|
|
747
839
|
apiAction: string;
|
|
748
840
|
inputWidth: string;
|
|
749
841
|
dropWidth: string;
|
|
842
|
+
dropHeight: string;
|
|
750
843
|
basecode: string;
|
|
751
844
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
752
845
|
declare const Fminputtable: {
|
|
@@ -43,6 +43,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
43
43
|
type: StringConstructor;
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
|
+
dropHeight: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
46
50
|
/**
|
|
47
51
|
* api service name
|
|
48
52
|
*/
|
|
@@ -118,6 +122,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
118
122
|
type: StringConstructor;
|
|
119
123
|
default: string;
|
|
120
124
|
};
|
|
125
|
+
dropHeight: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
121
129
|
/**
|
|
122
130
|
* api service name
|
|
123
131
|
*/
|
|
@@ -158,6 +166,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
158
166
|
apiAction: string;
|
|
159
167
|
inputWidth: string;
|
|
160
168
|
dropWidth: string;
|
|
169
|
+
dropHeight: string;
|
|
161
170
|
basecode: string;
|
|
162
171
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
163
172
|
export default _default;
|
|
@@ -108,8 +108,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
108
108
|
"trigger-on-focus": false,
|
|
109
109
|
onSelect: handleSelect,
|
|
110
110
|
style: { "margin-top": "-2px" }
|
|
111
|
-
}, {
|
|
112
|
-
prepend: vue.withCtx(() => [..._cache[1] || (_cache[1] = [])]),
|
|
111
|
+
}, vue.createSlots({
|
|
113
112
|
default: vue.withCtx(({ item }) => [
|
|
114
113
|
vue.createElementVNode(
|
|
115
114
|
"div",
|
|
@@ -119,10 +118,17 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
119
118
|
/* TEXT */
|
|
120
119
|
)
|
|
121
120
|
]),
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
_: 2
|
|
122
|
+
/* DYNAMIC */
|
|
123
|
+
}, [
|
|
124
|
+
_ctx.$slots.append ? {
|
|
125
|
+
name: "append",
|
|
126
|
+
fn: vue.withCtx(() => [
|
|
127
|
+
vue.renderSlot(_ctx.$slots, "append")
|
|
128
|
+
]),
|
|
129
|
+
key: "0"
|
|
130
|
+
} : void 0
|
|
131
|
+
]), 1032, ["modelValue", "placeholder"]);
|
|
126
132
|
};
|
|
127
133
|
}
|
|
128
134
|
});
|
|
@@ -43,6 +43,10 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
43
43
|
type: String,
|
|
44
44
|
default: "90px"
|
|
45
45
|
},
|
|
46
|
+
dropHeight: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: "300px"
|
|
49
|
+
},
|
|
46
50
|
/**
|
|
47
51
|
* api service name
|
|
48
52
|
*/
|
|
@@ -118,7 +122,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
118
122
|
}, {
|
|
119
123
|
dropdown: vue.withCtx(() => [
|
|
120
124
|
vue.createVNode(_component_el_dropdown_menu, {
|
|
121
|
-
style: vue.normalizeStyle({ width: __props.dropWidth })
|
|
125
|
+
style: vue.normalizeStyle({ width: __props.dropWidth, height: __props.dropHeight })
|
|
122
126
|
}, {
|
|
123
127
|
default: vue.withCtx(() => [
|
|
124
128
|
(vue.openBlock(true), vue.createElementBlock(
|
package/package.json
CHANGED
|
File without changes
|