@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/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- /*! fm-dev v1.0.105 */
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, renderSlot, resolveDynamicComponent, useSlots, createSlots, toHandlers, onBeforeUnmount, onUpdated, useAttrs, normalizeProps, guardReactiveProps } from 'vue';
1
+ /*! fm-dev v1.0.106 */
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
- append: withCtx(() => [..._cache[2] || (_cache[2] = [])]),
23995
- _: 1
23996
- /* STABLE */
23997
- }, 8, ["modelValue", "placeholder"]);
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
  });
@@ -1,5 +1,14 @@
1
1
  import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<ExtractPropTypes<{
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: DefineComponent<ExtractPropTypes<{
529
- placeholder: {
530
- type: StringConstructor;
531
- default: string;
532
- };
533
- apiService: {
534
- type: StringConstructor;
535
- default: string;
536
- };
537
- apiAction: {
538
- type: StringConstructor;
539
- default: string;
540
- };
541
- top: {
542
- type: NumberConstructor;
543
- default: number;
544
- };
545
- fId: {
546
- type: StringConstructor;
547
- default: string;
548
- };
549
- fName: {
550
- type: StringConstructor;
551
- default: string;
552
- };
553
- qId: {
554
- type: NumberConstructor;
555
- default: number;
556
- };
557
- name: {
558
- type: PropType<string>;
559
- required: true;
560
- };
561
- id: {
562
- type: PropType<Number>;
563
- required: true;
564
- };
565
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
566
- reset: (...args: any[]) => void;
567
- select: (...args: any[]) => void;
568
- "update:id": (value: Number) => void;
569
- "update:name": (value: string) => void;
570
- }, string, PublicProps, Readonly< ExtractPropTypes<{
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
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
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: {
@@ -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
- append: vue.withCtx(() => [..._cache[2] || (_cache[2] = [])]),
123
- _: 1
124
- /* STABLE */
125
- }, 8, ["modelValue", "placeholder"]);
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fmdevui/fm-dev",
3
- "version": "1.0.105",
3
+ "version": "1.0.106",
4
4
  "description": "Page level components developed based on Element Plus.",
5
5
  "author": "fmdevui",
6
6
  "keywords": [
File without changes