@deot/vc 1.0.28 → 1.0.29

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/dist/index.cjs CHANGED
@@ -61,10 +61,10 @@ const Components = {
61
61
  MDrawerView: vcComponents.MDrawerView,
62
62
  Dropdown: vcComponents.Dropdown,
63
63
  MDropdown: vcComponents.MDropdown,
64
- // DropdownItem,
65
- // MDropdownItem,
66
- // DropdownMenu,
67
- // MDropdownMenu,
64
+ DropdownItem: vcComponents.DropdownItem,
65
+ MDropdownItem: vcComponents.MDropdownItem,
66
+ DropdownMenu: vcComponents.DropdownMenu,
67
+ MDropdownMenu: vcComponents.MDropdownMenu,
68
68
  Editor: vcComponents.Editor,
69
69
  MEditor: vcComponents.MEditor,
70
70
  // EditorView,
package/dist/index.d.ts CHANGED
@@ -2492,31 +2492,215 @@ export declare const Components: {
2492
2492
  cancelDisabled: boolean;
2493
2493
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2494
2494
  Dropdown: DefineComponent<ExtractPropTypes< {
2495
- tag: {
2495
+ modelValue: {
2496
+ type: BooleanConstructor;
2497
+ default: boolean;
2498
+ };
2499
+ portalClass: (ObjectConstructor | StringConstructor)[];
2500
+ placement: {
2496
2501
  type: StringConstructor;
2497
2502
  default: string;
2498
2503
  };
2499
- }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
2500
- tag: {
2504
+ trigger: {
2501
2505
  type: StringConstructor;
2502
2506
  default: string;
2503
2507
  };
2504
- }>> & Readonly<{}>, {
2505
- tag: string;
2508
+ arrow: {
2509
+ type: BooleanConstructor;
2510
+ default: boolean;
2511
+ };
2512
+ }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("click" | "close" | "update:modelValue" | "visible-change" | "ready")[], "click" | "close" | "update:modelValue" | "visible-change" | "ready", PublicProps, Readonly<ExtractPropTypes< {
2513
+ modelValue: {
2514
+ type: BooleanConstructor;
2515
+ default: boolean;
2516
+ };
2517
+ portalClass: (ObjectConstructor | StringConstructor)[];
2518
+ placement: {
2519
+ type: StringConstructor;
2520
+ default: string;
2521
+ };
2522
+ trigger: {
2523
+ type: StringConstructor;
2524
+ default: string;
2525
+ };
2526
+ arrow: {
2527
+ type: BooleanConstructor;
2528
+ default: boolean;
2529
+ };
2530
+ }>> & Readonly<{
2531
+ onClick?: ((...args: any[]) => any) | undefined;
2532
+ onClose?: ((...args: any[]) => any) | undefined;
2533
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2534
+ onReady?: ((...args: any[]) => any) | undefined;
2535
+ "onVisible-change"?: ((...args: any[]) => any) | undefined;
2536
+ }>, {
2537
+ modelValue: boolean;
2538
+ placement: string;
2539
+ arrow: boolean;
2540
+ trigger: string;
2506
2541
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2507
2542
  MDropdown: DefineComponent<ExtractPropTypes< {
2508
- tag: {
2543
+ modelValue: {
2544
+ type: BooleanConstructor;
2545
+ default: boolean;
2546
+ };
2547
+ portalClass: (ObjectConstructor | StringConstructor)[];
2548
+ placement: {
2509
2549
  type: StringConstructor;
2510
2550
  default: string;
2511
2551
  };
2512
- }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
2513
- tag: {
2552
+ trigger: {
2514
2553
  type: StringConstructor;
2515
2554
  default: string;
2516
2555
  };
2556
+ arrow: {
2557
+ type: BooleanConstructor;
2558
+ default: boolean;
2559
+ };
2560
+ }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("click" | "close" | "update:modelValue" | "visible-change" | "ready")[], "click" | "close" | "update:modelValue" | "visible-change" | "ready", PublicProps, Readonly<ExtractPropTypes< {
2561
+ modelValue: {
2562
+ type: BooleanConstructor;
2563
+ default: boolean;
2564
+ };
2565
+ portalClass: (ObjectConstructor | StringConstructor)[];
2566
+ placement: {
2567
+ type: StringConstructor;
2568
+ default: string;
2569
+ };
2570
+ trigger: {
2571
+ type: StringConstructor;
2572
+ default: string;
2573
+ };
2574
+ arrow: {
2575
+ type: BooleanConstructor;
2576
+ default: boolean;
2577
+ };
2578
+ }>> & Readonly<{
2579
+ onClick?: ((...args: any[]) => any) | undefined;
2580
+ onClose?: ((...args: any[]) => any) | undefined;
2581
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2582
+ onReady?: ((...args: any[]) => any) | undefined;
2583
+ "onVisible-change"?: ((...args: any[]) => any) | undefined;
2584
+ }>, {
2585
+ modelValue: boolean;
2586
+ placement: string;
2587
+ arrow: boolean;
2588
+ trigger: string;
2589
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2590
+ DropdownItem: DefineComponent<ExtractPropTypes< {
2591
+ value: {
2592
+ type: (StringConstructor | NumberConstructor)[];
2593
+ value: undefined;
2594
+ };
2595
+ label: {
2596
+ type: (StringConstructor | NumberConstructor)[];
2597
+ value: undefined;
2598
+ };
2599
+ disabled: {
2600
+ type: BooleanConstructor;
2601
+ default: boolean;
2602
+ };
2603
+ selected: {
2604
+ type: BooleanConstructor;
2605
+ default: boolean;
2606
+ };
2607
+ divided: {
2608
+ type: BooleanConstructor;
2609
+ default: boolean;
2610
+ };
2611
+ closable: {
2612
+ type: BooleanConstructor;
2613
+ default: boolean;
2614
+ };
2615
+ }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
2616
+ value: {
2617
+ type: (StringConstructor | NumberConstructor)[];
2618
+ value: undefined;
2619
+ };
2620
+ label: {
2621
+ type: (StringConstructor | NumberConstructor)[];
2622
+ value: undefined;
2623
+ };
2624
+ disabled: {
2625
+ type: BooleanConstructor;
2626
+ default: boolean;
2627
+ };
2628
+ selected: {
2629
+ type: BooleanConstructor;
2630
+ default: boolean;
2631
+ };
2632
+ divided: {
2633
+ type: BooleanConstructor;
2634
+ default: boolean;
2635
+ };
2636
+ closable: {
2637
+ type: BooleanConstructor;
2638
+ default: boolean;
2639
+ };
2517
2640
  }>> & Readonly<{}>, {
2518
- tag: string;
2641
+ closable: boolean;
2642
+ disabled: boolean;
2643
+ selected: boolean;
2644
+ divided: boolean;
2519
2645
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2646
+ MDropdownItem: DefineComponent<ExtractPropTypes< {
2647
+ value: {
2648
+ type: (StringConstructor | NumberConstructor)[];
2649
+ value: undefined;
2650
+ };
2651
+ label: {
2652
+ type: (StringConstructor | NumberConstructor)[];
2653
+ value: undefined;
2654
+ };
2655
+ disabled: {
2656
+ type: BooleanConstructor;
2657
+ default: boolean;
2658
+ };
2659
+ selected: {
2660
+ type: BooleanConstructor;
2661
+ default: boolean;
2662
+ };
2663
+ divided: {
2664
+ type: BooleanConstructor;
2665
+ default: boolean;
2666
+ };
2667
+ closable: {
2668
+ type: BooleanConstructor;
2669
+ default: boolean;
2670
+ };
2671
+ }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
2672
+ value: {
2673
+ type: (StringConstructor | NumberConstructor)[];
2674
+ value: undefined;
2675
+ };
2676
+ label: {
2677
+ type: (StringConstructor | NumberConstructor)[];
2678
+ value: undefined;
2679
+ };
2680
+ disabled: {
2681
+ type: BooleanConstructor;
2682
+ default: boolean;
2683
+ };
2684
+ selected: {
2685
+ type: BooleanConstructor;
2686
+ default: boolean;
2687
+ };
2688
+ divided: {
2689
+ type: BooleanConstructor;
2690
+ default: boolean;
2691
+ };
2692
+ closable: {
2693
+ type: BooleanConstructor;
2694
+ default: boolean;
2695
+ };
2696
+ }>> & Readonly<{}>, {
2697
+ closable: boolean;
2698
+ disabled: boolean;
2699
+ selected: boolean;
2700
+ divided: boolean;
2701
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2702
+ DropdownMenu: DefineComponent< {}, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2703
+ MDropdownMenu: DefineComponent< {}, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2520
2704
  Editor: DefineComponent<ExtractPropTypes< {
2521
2705
  tag: {
2522
2706
  type: StringConstructor;
@@ -4414,6 +4598,8 @@ export declare const Components: {
4414
4598
  type: BooleanConstructor;
4415
4599
  default: boolean;
4416
4600
  };
4601
+ x: NumberConstructor;
4602
+ y: NumberConstructor;
4417
4603
  okText: {
4418
4604
  type: (StringConstructor | BooleanConstructor)[];
4419
4605
  default: string;
@@ -4532,6 +4718,8 @@ export declare const Components: {
4532
4718
  type: BooleanConstructor;
4533
4719
  default: boolean;
4534
4720
  };
4721
+ x: NumberConstructor;
4722
+ y: NumberConstructor;
4535
4723
  okText: {
4536
4724
  type: (StringConstructor | BooleanConstructor)[];
4537
4725
  default: string;
@@ -4647,6 +4835,8 @@ export declare const Components: {
4647
4835
  type: BooleanConstructor;
4648
4836
  default: boolean;
4649
4837
  };
4838
+ x: NumberConstructor;
4839
+ y: NumberConstructor;
4650
4840
  okText: {
4651
4841
  type: (StringConstructor | BooleanConstructor)[];
4652
4842
  default: string;
@@ -4726,6 +4916,8 @@ export declare const Components: {
4726
4916
  title?: string | undefined;
4727
4917
  mode?: "error" | "success" | "info" | "warning" | undefined;
4728
4918
  onCancel?: Function | undefined;
4919
+ x?: number | undefined;
4920
+ y?: number | undefined;
4729
4921
  height?: number | undefined;
4730
4922
  width?: number | undefined;
4731
4923
  wrapperStyle?: string | Record<string, any> | undefined;
@@ -4757,6 +4949,8 @@ export declare const Components: {
4757
4949
  title?: string | undefined;
4758
4950
  mode?: "error" | "success" | "info" | "warning" | undefined;
4759
4951
  onCancel?: Function | undefined;
4952
+ x?: number | undefined;
4953
+ y?: number | undefined;
4760
4954
  height?: number | undefined;
4761
4955
  width?: number | undefined;
4762
4956
  wrapperStyle?: string | Record<string, any> | undefined;
@@ -4788,6 +4982,8 @@ export declare const Components: {
4788
4982
  title?: string | undefined;
4789
4983
  mode?: "error" | "success" | "info" | "warning" | undefined;
4790
4984
  onCancel?: Function | undefined;
4985
+ x?: number | undefined;
4986
+ y?: number | undefined;
4791
4987
  height?: number | undefined;
4792
4988
  width?: number | undefined;
4793
4989
  wrapperStyle?: string | Record<string, any> | undefined;
@@ -4819,6 +5015,8 @@ export declare const Components: {
4819
5015
  title?: string | undefined;
4820
5016
  mode?: "error" | "success" | "info" | "warning" | undefined;
4821
5017
  onCancel?: Function | undefined;
5018
+ x?: number | undefined;
5019
+ y?: number | undefined;
4822
5020
  height?: number | undefined;
4823
5021
  width?: number | undefined;
4824
5022
  wrapperStyle?: string | Record<string, any> | undefined;
@@ -4886,6 +5084,8 @@ export declare const Components: {
4886
5084
  type: BooleanConstructor;
4887
5085
  default: boolean;
4888
5086
  };
5087
+ x: NumberConstructor;
5088
+ y: NumberConstructor;
4889
5089
  okText: {
4890
5090
  type: (StringConstructor | BooleanConstructor)[];
4891
5091
  default: string;
@@ -4973,6 +5173,8 @@ export declare const Components: {
4973
5173
  type: BooleanConstructor;
4974
5174
  default: boolean;
4975
5175
  };
5176
+ x: NumberConstructor;
5177
+ y: NumberConstructor;
4976
5178
  okText: {
4977
5179
  type: (StringConstructor | BooleanConstructor)[];
4978
5180
  default: string;
@@ -5750,30 +5952,218 @@ export declare const Components: {
5750
5952
  tag: string;
5751
5953
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
5752
5954
  Popconfirm: DefineComponent<ExtractPropTypes< {
5753
- tag: {
5955
+ title: {
5956
+ type: PropType<string | Props["render"]>;
5957
+ default: string;
5958
+ };
5959
+ content: {
5960
+ type: PropType<string | Props["render"]>;
5961
+ default: string;
5962
+ };
5963
+ modelValue: {
5964
+ type: BooleanConstructor;
5965
+ default: boolean;
5966
+ };
5967
+ placement: {
5754
5968
  type: StringConstructor;
5755
5969
  default: string;
5756
5970
  };
5757
- }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
5758
- tag: {
5971
+ trigger: {
5759
5972
  type: StringConstructor;
5760
5973
  default: string;
5761
5974
  };
5762
- }>> & Readonly<{}>, {
5763
- tag: string;
5975
+ okText: {
5976
+ type: StringConstructor;
5977
+ default: string;
5978
+ };
5979
+ cancelText: {
5980
+ type: StringConstructor;
5981
+ default: string;
5982
+ };
5983
+ okType: {
5984
+ type: StringConstructor;
5985
+ default: string;
5986
+ };
5987
+ cancelType: {
5988
+ type: StringConstructor;
5989
+ default: string;
5990
+ };
5991
+ type: {
5992
+ type: StringConstructor;
5993
+ default: string;
5994
+ validator: (v: string) => boolean;
5995
+ };
5996
+ width: (StringConstructor | NumberConstructor)[];
5997
+ portalClass: (ObjectConstructor | StringConstructor)[];
5998
+ }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "close" | "update:modelValue" | "visible-change" | "ready" | "ok")[], "cancel" | "close" | "update:modelValue" | "visible-change" | "ready" | "ok", PublicProps, Readonly<ExtractPropTypes< {
5999
+ title: {
6000
+ type: PropType<string | Props["render"]>;
6001
+ default: string;
6002
+ };
6003
+ content: {
6004
+ type: PropType<string | Props["render"]>;
6005
+ default: string;
6006
+ };
6007
+ modelValue: {
6008
+ type: BooleanConstructor;
6009
+ default: boolean;
6010
+ };
6011
+ placement: {
6012
+ type: StringConstructor;
6013
+ default: string;
6014
+ };
6015
+ trigger: {
6016
+ type: StringConstructor;
6017
+ default: string;
6018
+ };
6019
+ okText: {
6020
+ type: StringConstructor;
6021
+ default: string;
6022
+ };
6023
+ cancelText: {
6024
+ type: StringConstructor;
6025
+ default: string;
6026
+ };
6027
+ okType: {
6028
+ type: StringConstructor;
6029
+ default: string;
6030
+ };
6031
+ cancelType: {
6032
+ type: StringConstructor;
6033
+ default: string;
6034
+ };
6035
+ type: {
6036
+ type: StringConstructor;
6037
+ default: string;
6038
+ validator: (v: string) => boolean;
6039
+ };
6040
+ width: (StringConstructor | NumberConstructor)[];
6041
+ portalClass: (ObjectConstructor | StringConstructor)[];
6042
+ }>> & Readonly<{
6043
+ onCancel?: ((...args: any[]) => any) | undefined;
6044
+ onClose?: ((...args: any[]) => any) | undefined;
6045
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
6046
+ onReady?: ((...args: any[]) => any) | undefined;
6047
+ "onVisible-change"?: ((...args: any[]) => any) | undefined;
6048
+ onOk?: ((...args: any[]) => any) | undefined;
6049
+ }>, {
6050
+ type: string;
6051
+ title: string | ((props: Record<string, unknown>, context: SetupContext) => any);
6052
+ modelValue: boolean;
6053
+ content: string | ((props: Record<string, unknown>, context: SetupContext) => any);
6054
+ placement: string;
6055
+ trigger: string;
6056
+ okText: string;
6057
+ cancelText: string;
6058
+ okType: string;
6059
+ cancelType: string;
5764
6060
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
5765
6061
  MPopconfirm: DefineComponent<ExtractPropTypes< {
5766
- tag: {
6062
+ title: {
6063
+ type: PropType<string | Props["render"]>;
6064
+ default: string;
6065
+ };
6066
+ content: {
6067
+ type: PropType<string | Props["render"]>;
6068
+ default: string;
6069
+ };
6070
+ modelValue: {
6071
+ type: BooleanConstructor;
6072
+ default: boolean;
6073
+ };
6074
+ placement: {
5767
6075
  type: StringConstructor;
5768
6076
  default: string;
5769
6077
  };
5770
- }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
5771
- tag: {
6078
+ trigger: {
5772
6079
  type: StringConstructor;
5773
6080
  default: string;
5774
6081
  };
5775
- }>> & Readonly<{}>, {
5776
- tag: string;
6082
+ okText: {
6083
+ type: StringConstructor;
6084
+ default: string;
6085
+ };
6086
+ cancelText: {
6087
+ type: StringConstructor;
6088
+ default: string;
6089
+ };
6090
+ okType: {
6091
+ type: StringConstructor;
6092
+ default: string;
6093
+ };
6094
+ cancelType: {
6095
+ type: StringConstructor;
6096
+ default: string;
6097
+ };
6098
+ type: {
6099
+ type: StringConstructor;
6100
+ default: string;
6101
+ validator: (v: string) => boolean;
6102
+ };
6103
+ width: (StringConstructor | NumberConstructor)[];
6104
+ portalClass: (ObjectConstructor | StringConstructor)[];
6105
+ }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "close" | "update:modelValue" | "visible-change" | "ready" | "ok")[], "cancel" | "close" | "update:modelValue" | "visible-change" | "ready" | "ok", PublicProps, Readonly<ExtractPropTypes< {
6106
+ title: {
6107
+ type: PropType<string | Props["render"]>;
6108
+ default: string;
6109
+ };
6110
+ content: {
6111
+ type: PropType<string | Props["render"]>;
6112
+ default: string;
6113
+ };
6114
+ modelValue: {
6115
+ type: BooleanConstructor;
6116
+ default: boolean;
6117
+ };
6118
+ placement: {
6119
+ type: StringConstructor;
6120
+ default: string;
6121
+ };
6122
+ trigger: {
6123
+ type: StringConstructor;
6124
+ default: string;
6125
+ };
6126
+ okText: {
6127
+ type: StringConstructor;
6128
+ default: string;
6129
+ };
6130
+ cancelText: {
6131
+ type: StringConstructor;
6132
+ default: string;
6133
+ };
6134
+ okType: {
6135
+ type: StringConstructor;
6136
+ default: string;
6137
+ };
6138
+ cancelType: {
6139
+ type: StringConstructor;
6140
+ default: string;
6141
+ };
6142
+ type: {
6143
+ type: StringConstructor;
6144
+ default: string;
6145
+ validator: (v: string) => boolean;
6146
+ };
6147
+ width: (StringConstructor | NumberConstructor)[];
6148
+ portalClass: (ObjectConstructor | StringConstructor)[];
6149
+ }>> & Readonly<{
6150
+ onCancel?: ((...args: any[]) => any) | undefined;
6151
+ onClose?: ((...args: any[]) => any) | undefined;
6152
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
6153
+ onReady?: ((...args: any[]) => any) | undefined;
6154
+ "onVisible-change"?: ((...args: any[]) => any) | undefined;
6155
+ onOk?: ((...args: any[]) => any) | undefined;
6156
+ }>, {
6157
+ type: string;
6158
+ title: string | ((props: Record<string, unknown>, context: SetupContext) => any);
6159
+ modelValue: boolean;
6160
+ content: string | ((props: Record<string, unknown>, context: SetupContext) => any);
6161
+ placement: string;
6162
+ trigger: string;
6163
+ okText: string;
6164
+ cancelText: string;
6165
+ okType: string;
6166
+ cancelType: string;
5777
6167
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
5778
6168
  Popover: {
5779
6169
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
@@ -8397,7 +8787,6 @@ export declare const Components: {
8397
8787
  default: number;
8398
8788
  };
8399
8789
  label: StringConstructor;
8400
- customClass: StringConstructor;
8401
8790
  labelClass: StringConstructor;
8402
8791
  prop: StringConstructor;
8403
8792
  width: NumberConstructor;
@@ -8438,7 +8827,6 @@ export declare const Components: {
8438
8827
  default: number;
8439
8828
  };
8440
8829
  label: StringConstructor;
8441
- customClass: StringConstructor;
8442
8830
  labelClass: StringConstructor;
8443
8831
  prop: StringConstructor;
8444
8832
  width: NumberConstructor;
@@ -8485,7 +8873,6 @@ export declare const Components: {
8485
8873
  default: number;
8486
8874
  };
8487
8875
  label: StringConstructor;
8488
- customClass: StringConstructor;
8489
8876
  labelClass: StringConstructor;
8490
8877
  prop: StringConstructor;
8491
8878
  width: NumberConstructor;
@@ -8526,7 +8913,6 @@ export declare const Components: {
8526
8913
  default: number;
8527
8914
  };
8528
8915
  label: StringConstructor;
8529
- customClass: StringConstructor;
8530
8916
  labelClass: StringConstructor;
8531
8917
  prop: StringConstructor;
8532
8918
  width: NumberConstructor;