@vtj/ui 0.10.5 → 0.10.6

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 (43) hide show
  1. package/dist/index.mjs +2 -2
  2. package/dist/index.umd.js +2 -2
  3. package/package.json +3 -3
  4. package/types/components/action/Action.d.ts +3 -10
  5. package/types/components/attachment/Attachment.d.ts +274 -805
  6. package/types/components/container/Container.d.ts +178 -15
  7. package/types/components/data-item/DataItem.d.ts +517 -18
  8. package/types/components/dialog/Dialog.d.ts +372 -1143
  9. package/types/components/dialog-form/DialogForm.d.ts +104 -3049
  10. package/types/components/dialog-grid/DialogGrid.d.ts +69 -4907
  11. package/types/components/field/Field.d.ts +222 -353
  12. package/types/components/field/editors/SelectEditor.d.ts +21 -12
  13. package/types/components/form/Form.d.ts +116 -389
  14. package/types/components/grid/Grid.d.ts +787 -57
  15. package/types/components/grid/renderers/components/DateEdit.d.ts +2 -255
  16. package/types/components/grid/renderers/components/DateFilter.d.ts +1 -1
  17. package/types/components/grid/renderers/components/GridEdit.d.ts +2 -410
  18. package/types/components/grid/renderers/components/InputFilter.d.ts +1 -1
  19. package/types/components/grid/renderers/components/NumberFilter.d.ts +1 -1
  20. package/types/components/grid/renderers/components/PickerEdit.d.ts +2 -1926
  21. package/types/components/grid/renderers/components/SelectFilter.d.ts +1 -1
  22. package/types/components/grid-editor/GridEditor.d.ts +2 -375
  23. package/types/components/header/Header.d.ts +76 -14
  24. package/types/components/import-button/ImportButton.d.ts +47 -10
  25. package/types/components/list/List.d.ts +155 -30
  26. package/types/components/mask/Mask.d.ts +546 -562
  27. package/types/components/mask/components/Avatar.d.ts +16 -11
  28. package/types/components/mask/components/Brand.d.ts +17 -12
  29. package/types/components/mask/components/Content.d.ts +13 -12
  30. package/types/components/mask/components/Sidebar.d.ts +15 -12
  31. package/types/components/mask/components/Tabs.d.ts +2 -255
  32. package/types/components/mask/components/ThemeSwitch.d.ts +1 -1
  33. package/types/components/mask/components/Toolbar.d.ts +55 -13
  34. package/types/components/panel/Panel.d.ts +124 -521
  35. package/types/components/picker/Dialog.d.ts +2 -1291
  36. package/types/components/picker/Picker.d.ts +2 -1730
  37. package/types/components/qr-code/QrCode.d.ts +35 -13
  38. package/types/components/query-form/QueryForm.d.ts +418 -1105
  39. package/types/components/startup/Startup.d.ts +1 -1
  40. package/types/components/tabs/Tabs.d.ts +297 -53
  41. package/types/components/test/Test.d.ts +268 -41
  42. package/types/version.d.ts +2 -2
  43. package/types/components/icon/Icon.d.ts +0 -74
@@ -1,16 +1,181 @@
1
- import { ComputedRef, DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { ComputedRef, Ref, DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  import { ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent } from './types';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- default?(_: {}): any;
3
+ declare const elRef: Ref<any, any>;
4
+ declare const className: ComputedRef<{
5
+ [x: string]: boolean;
6
+ 'is-fit': boolean;
7
+ 'is-flex': boolean;
8
+ 'is-inline-flex': boolean;
9
+ 'is-grow': boolean;
10
+ 'is-shrink': boolean;
11
+ 'is-padding': boolean;
12
+ 'is-pointer': boolean;
13
+ 'is-gap': boolean;
14
+ }>;
15
+ declare const style: ComputedRef<{
16
+ width: string | undefined;
17
+ height: string | undefined;
18
+ } | null>;
19
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
20
+ declare var __VLS_7: {};
21
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
22
+ default?: (props: typeof __VLS_7) => any;
23
+ }>;
24
+ declare const __VLS_self: DefineComponent<ExtractPropTypes<{
25
+ tag: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ fit: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
7
32
  };
8
- refs: {
9
- elRef: unknown;
33
+ width: {
34
+ type: (StringConstructor | NumberConstructor)[];
10
35
  };
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
+ height: {
37
+ type: (StringConstructor | NumberConstructor)[];
38
+ };
39
+ flex: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ inline: {
44
+ type: BooleanConstructor;
45
+ };
46
+ direction: {
47
+ type: PropType<ContainerDirection>;
48
+ default: string;
49
+ };
50
+ wrap: {
51
+ type: PropType<ContainerWrap>;
52
+ default: string;
53
+ };
54
+ justify: {
55
+ type: PropType<ContainerJustifyContent>;
56
+ default: string;
57
+ };
58
+ align: {
59
+ type: PropType<ContainerAlignItems>;
60
+ default: string;
61
+ };
62
+ alignContent: {
63
+ type: PropType<ContainerAlignContent>;
64
+ default: string;
65
+ };
66
+ grow: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ shrink: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ alignSelf: {
75
+ type: PropType<"auto" | ContainerAlignItems>;
76
+ default: string;
77
+ };
78
+ overflow: {
79
+ type: PropType<"auto" | "hidden" | "visible">;
80
+ };
81
+ padding: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
85
+ gap: {
86
+ type: BooleanConstructor;
87
+ };
88
+ autoPointer: {
89
+ type: BooleanConstructor;
90
+ };
91
+ }>, {
92
+ elRef: typeof elRef;
93
+ className: typeof className;
94
+ style: typeof style;
95
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
96
+ tag: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ fit: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ width: {
105
+ type: (StringConstructor | NumberConstructor)[];
106
+ };
107
+ height: {
108
+ type: (StringConstructor | NumberConstructor)[];
109
+ };
110
+ flex: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
114
+ inline: {
115
+ type: BooleanConstructor;
116
+ };
117
+ direction: {
118
+ type: PropType<ContainerDirection>;
119
+ default: string;
120
+ };
121
+ wrap: {
122
+ type: PropType<ContainerWrap>;
123
+ default: string;
124
+ };
125
+ justify: {
126
+ type: PropType<ContainerJustifyContent>;
127
+ default: string;
128
+ };
129
+ align: {
130
+ type: PropType<ContainerAlignItems>;
131
+ default: string;
132
+ };
133
+ alignContent: {
134
+ type: PropType<ContainerAlignContent>;
135
+ default: string;
136
+ };
137
+ grow: {
138
+ type: BooleanConstructor;
139
+ default: boolean;
140
+ };
141
+ shrink: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ };
145
+ alignSelf: {
146
+ type: PropType<"auto" | ContainerAlignItems>;
147
+ default: string;
148
+ };
149
+ overflow: {
150
+ type: PropType<"auto" | "hidden" | "visible">;
151
+ };
152
+ padding: {
153
+ type: BooleanConstructor;
154
+ default: boolean;
155
+ };
156
+ gap: {
157
+ type: BooleanConstructor;
158
+ };
159
+ autoPointer: {
160
+ type: BooleanConstructor;
161
+ };
162
+ }>> & Readonly<{}>, {
163
+ padding: boolean;
164
+ tag: string;
165
+ wrap: ContainerWrap;
166
+ fit: boolean;
167
+ flex: boolean;
168
+ inline: boolean;
169
+ direction: ContainerDirection;
170
+ justify: ContainerJustifyContent;
171
+ align: ContainerAlignItems;
172
+ alignContent: ContainerAlignContent;
173
+ grow: boolean;
174
+ shrink: boolean;
175
+ alignSelf: "auto" | ContainerAlignItems;
176
+ gap: boolean;
177
+ autoPointer: boolean;
178
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
14
179
  declare const __VLS_component: DefineComponent<ExtractPropTypes<{
15
180
  tag: {
16
181
  type: StringConstructor;
@@ -163,12 +328,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
163
328
  alignSelf: "auto" | ContainerAlignItems;
164
329
  gap: boolean;
165
330
  autoPointer: boolean;
166
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
167
- elRef: unknown;
168
- }, any>;
169
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
331
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
332
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
170
333
  export default _default;
171
- type __VLS_WithTemplateSlots<T, S> = T & {
334
+ type __VLS_WithSlots<T, S> = T & {
172
335
  new (): {
173
336
  $slots: S;
174
337
  };