@vtj/ui 0.4.2 → 0.4.4

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.
Files changed (80) hide show
  1. package/cdn/index.js +1 -1
  2. package/cdn/style.css +1 -1
  3. package/lib/index.js +264 -1928
  4. package/lib/style.css +1 -1
  5. package/package.json +6 -6
  6. package/types/components/icon/{Icon.vue.d.ts → Icon.d.ts} +1 -1
  7. package/types/components/icon/index.d.ts +3 -166
  8. package/types/components/index.d.ts +4 -15
  9. package/types/components/menu/Menu.d.ts +99 -0
  10. package/types/components/menu/MenuItem.d.ts +17 -0
  11. package/types/components/menu/components.d.ts +2 -0
  12. package/types/components/menu/index.d.ts +3 -0
  13. package/types/components/menu/types.d.ts +12 -0
  14. package/types/components/shared.d.ts +13 -0
  15. package/types/components/simple-mask/SimpleMask.d.ts +41 -0
  16. package/types/components/simple-mask/index.d.ts +2 -0
  17. package/types/components/{page/Page.vue.d.ts → startup/Startup.d.ts} +11 -8
  18. package/types/components/startup/index.d.ts +2 -0
  19. package/types/hooks/index.d.ts +0 -1
  20. package/types/hooks/useIcon.d.ts +1 -1
  21. package/types/index.d.ts +1 -6
  22. package/types/list.d.ts +2 -21587
  23. package/types/utils/make-install.d.ts +3 -4
  24. package/types/components/block/Block.vue.d.ts +0 -143
  25. package/types/components/block/block.d.ts +0 -68
  26. package/types/components/block/index.d.ts +0 -319
  27. package/types/components/config/Config.d.ts +0 -26
  28. package/types/components/config/index.d.ts +0 -19
  29. package/types/components/config/props.d.ts +0 -6
  30. package/types/components/container/Container.vue.d.ts +0 -52
  31. package/types/components/container/container.d.ts +0 -46
  32. package/types/components/container/index.d.ts +0 -159
  33. package/types/components/cron/Cron.vue.d.ts +0 -9
  34. package/types/components/cron/cron.d.ts +0 -23
  35. package/types/components/cron/index.d.ts +0 -11
  36. package/types/components/dialog/Dialog.vue.d.ts +0 -289
  37. package/types/components/dialog/create.d.ts +0 -6
  38. package/types/components/dialog/dialog.d.ts +0 -155
  39. package/types/components/dialog/hooks.d.ts +0 -927
  40. package/types/components/dialog/index.d.ts +0 -638
  41. package/types/components/element/Element.d.ts +0 -25
  42. package/types/components/element/index.d.ts +0 -21
  43. package/types/components/field/Field.vue.d.ts +0 -802
  44. package/types/components/field/field.d.ts +0 -230
  45. package/types/components/field/hooks.d.ts +0 -23
  46. package/types/components/field/index.d.ts +0 -2034
  47. package/types/components/field/setters/InputSetter.d.ts +0 -45
  48. package/types/components/field/setters/SelectSetter.d.ts +0 -45
  49. package/types/components/field/setters/factory.d.ts +0 -54
  50. package/types/components/field/setters/index.d.ts +0 -93
  51. package/types/components/form/Form.vue.d.ts +0 -5352
  52. package/types/components/form/form.d.ts +0 -384
  53. package/types/components/form/hooks.d.ts +0 -1906
  54. package/types/components/form/index.d.ts +0 -15373
  55. package/types/components/help/Help.vue.d.ts +0 -315
  56. package/types/components/help/help.d.ts +0 -172
  57. package/types/components/help/hooks.d.ts +0 -18
  58. package/types/components/help/index.d.ts +0 -316
  59. package/types/components/page/index.d.ts +0 -118
  60. package/types/components/page/page.d.ts +0 -9
  61. package/types/components/panel/Panel.vue.d.ts +0 -573
  62. package/types/components/panel/index.d.ts +0 -1207
  63. package/types/components/panel/panel.d.ts +0 -227
  64. package/types/components/text/Text.vue.d.ts +0 -52
  65. package/types/components/text/index.d.ts +0 -165
  66. package/types/components/text/text.d.ts +0 -37
  67. package/types/components/tool/Tool.vue.d.ts +0 -158
  68. package/types/components/tool/Trigger.d.ts +0 -29
  69. package/types/components/tool/hooks.d.ts +0 -250
  70. package/types/components/tool/index.d.ts +0 -371
  71. package/types/components/tool/tool.d.ts +0 -91
  72. package/types/components/toolbar/Toolbar.vue.d.ts +0 -44
  73. package/types/components/toolbar/hooks.d.ts +0 -14
  74. package/types/components/toolbar/index.d.ts +0 -161
  75. package/types/components/toolbar/toolbar.d.ts +0 -45
  76. package/types/components/wrapper/Wrapper.vue.d.ts +0 -268
  77. package/types/components/wrapper/index.d.ts +0 -601
  78. package/types/components/wrapper/wrapper.d.ts +0 -145
  79. package/types/hooks/useConfig.d.ts +0 -5
  80. /package/types/components/icon/{icon.d.ts → types.d.ts} +0 -0
@@ -1,145 +0,0 @@
1
- import { PropType, ExtractPropTypes } from 'vue';
2
- import { BlockDirection, BlockWrap, BlockOverflow, Emits } from '../..';
3
- /**
4
- * 定义组件属性参数
5
- */
6
- export declare const wrapperProps: {
7
- position: {
8
- type: PropType<"bottom" | "top" | "none">;
9
- default: string;
10
- };
11
- fixed: {
12
- type: PropType<Partial<ExtractPropTypes<{
13
- flex: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- width: {
18
- type: (StringConstructor | NumberConstructor)[];
19
- };
20
- height: {
21
- type: (StringConstructor | NumberConstructor)[];
22
- };
23
- direction: {
24
- type: PropType<BlockDirection>;
25
- default: string;
26
- };
27
- grow: {
28
- type: BooleanConstructor;
29
- default: boolean;
30
- };
31
- shrink: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- wrap: {
36
- type: PropType<BlockWrap>;
37
- default: string;
38
- };
39
- justify: {
40
- type: StringConstructor;
41
- default: string;
42
- };
43
- align: {
44
- type: StringConstructor;
45
- default: string;
46
- };
47
- border: {
48
- type: BooleanConstructor;
49
- };
50
- radius: {
51
- type: BooleanConstructor;
52
- };
53
- background: {
54
- type: BooleanConstructor;
55
- };
56
- split: {
57
- type: BooleanConstructor;
58
- };
59
- fit: {
60
- type: BooleanConstructor;
61
- };
62
- overflow: {
63
- type: PropType<BlockOverflow>;
64
- default: string;
65
- };
66
- padding: {
67
- type: BooleanConstructor;
68
- default: boolean;
69
- };
70
- }>>>;
71
- };
72
- body: {
73
- type: PropType<Partial<ExtractPropTypes<{
74
- flex: {
75
- type: BooleanConstructor;
76
- default: boolean;
77
- };
78
- width: {
79
- type: (StringConstructor | NumberConstructor)[];
80
- };
81
- height: {
82
- type: (StringConstructor | NumberConstructor)[];
83
- };
84
- direction: {
85
- type: PropType<BlockDirection>;
86
- default: string;
87
- };
88
- grow: {
89
- type: BooleanConstructor;
90
- default: boolean;
91
- };
92
- shrink: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- };
96
- wrap: {
97
- type: PropType<BlockWrap>;
98
- default: string;
99
- };
100
- justify: {
101
- type: StringConstructor;
102
- default: string;
103
- };
104
- align: {
105
- type: StringConstructor;
106
- default: string;
107
- };
108
- border: {
109
- type: BooleanConstructor;
110
- };
111
- radius: {
112
- type: BooleanConstructor;
113
- };
114
- background: {
115
- type: BooleanConstructor;
116
- };
117
- split: {
118
- type: BooleanConstructor;
119
- };
120
- fit: {
121
- type: BooleanConstructor;
122
- };
123
- overflow: {
124
- type: PropType<BlockOverflow>;
125
- default: string;
126
- };
127
- padding: {
128
- type: BooleanConstructor;
129
- default: boolean;
130
- };
131
- }>>>;
132
- };
133
- };
134
- /**
135
- * 定义组件事件
136
- */
137
- export declare const wrapperEmits: {};
138
- /**
139
- * 组件属性类型
140
- */
141
- export type WrapperProps = Partial<ExtractPropTypes<typeof wrapperProps>>;
142
- /**
143
- * 组件事件类型
144
- */
145
- export type WrapperEmits = Emits<typeof wrapperEmits>;
@@ -1,5 +0,0 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- import { ConfigContext } from '../components';
3
- export declare function useConfig<T>(key?: keyof ConfigContext, defaultValue?: any): ComputedRef<T>;
4
- export declare function setConfig(value: ConfigContext | Ref<ConfigContext>): void;
5
- export declare function getConfigValue<T>(key?: keyof ConfigContext, defaultValue?: any): (...args: any[]) => T;
File without changes