@vtj/ui 0.10.6 → 0.10.8

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 (44) hide show
  1. package/dist/index.mjs +9 -8
  2. package/dist/index.umd.js +3 -3
  3. package/package.json +5 -5
  4. package/types/components/action/Action.d.ts +10 -3
  5. package/types/components/attachment/Attachment.d.ts +805 -274
  6. package/types/components/container/Container.d.ts +15 -178
  7. package/types/components/data-item/DataItem.d.ts +18 -517
  8. package/types/components/dialog/Dialog.d.ts +1203 -432
  9. package/types/components/dialog-form/DialogForm.d.ts +3049 -104
  10. package/types/components/dialog-grid/DialogGrid.d.ts +4907 -69
  11. package/types/components/field/Field.d.ts +353 -222
  12. package/types/components/field/editors/SelectEditor.d.ts +12 -21
  13. package/types/components/form/Form.d.ts +389 -116
  14. package/types/components/grid/Grid.d.ts +57 -787
  15. package/types/components/grid/renderers/components/DateEdit.d.ts +255 -2
  16. package/types/components/grid/renderers/components/DateFilter.d.ts +1 -1
  17. package/types/components/grid/renderers/components/GridEdit.d.ts +410 -2
  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 +1926 -2
  21. package/types/components/grid/renderers/components/SelectFilter.d.ts +1 -1
  22. package/types/components/grid-editor/GridEditor.d.ts +375 -2
  23. package/types/components/header/Header.d.ts +14 -76
  24. package/types/components/icon/Icon.d.ts +74 -0
  25. package/types/components/import-button/ImportButton.d.ts +10 -47
  26. package/types/components/list/List.d.ts +30 -155
  27. package/types/components/mask/Mask.d.ts +562 -546
  28. package/types/components/mask/components/Avatar.d.ts +11 -16
  29. package/types/components/mask/components/Brand.d.ts +12 -17
  30. package/types/components/mask/components/Content.d.ts +12 -13
  31. package/types/components/mask/components/Sidebar.d.ts +12 -15
  32. package/types/components/mask/components/Tabs.d.ts +255 -2
  33. package/types/components/mask/components/ThemeSwitch.d.ts +1 -1
  34. package/types/components/mask/components/Toolbar.d.ts +13 -55
  35. package/types/components/panel/Panel.d.ts +521 -124
  36. package/types/components/picker/Dialog.d.ts +1291 -2
  37. package/types/components/picker/Picker.d.ts +1730 -2
  38. package/types/components/qr-code/QrCode.d.ts +13 -35
  39. package/types/components/query-form/QueryForm.d.ts +1105 -418
  40. package/types/components/startup/Startup.d.ts +1 -1
  41. package/types/components/tabs/Tabs.d.ts +53 -297
  42. package/types/components/test/Test.d.ts +41 -268
  43. package/types/utils/auto-update.d.ts +1 -1
  44. package/types/version.d.ts +2 -2
@@ -1,181 +1,16 @@
1
- import { ComputedRef, Ref, DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { ComputedRef, DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  import { ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent } from './types';
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;
32
- };
33
- width: {
34
- type: (StringConstructor | NumberConstructor)[];
35
- };
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;
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
49
7
  };
50
- wrap: {
51
- type: PropType<ContainerWrap>;
52
- default: string;
8
+ refs: {
9
+ elRef: unknown;
53
10
  };
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>;
11
+ rootEl: any;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
179
14
  declare const __VLS_component: DefineComponent<ExtractPropTypes<{
180
15
  tag: {
181
16
  type: StringConstructor;
@@ -328,10 +163,12 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
328
163
  alignSelf: "auto" | ContainerAlignItems;
329
164
  gap: boolean;
330
165
  autoPointer: boolean;
331
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
332
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
166
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
167
+ elRef: unknown;
168
+ }, any>;
169
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
333
170
  export default _default;
334
- type __VLS_WithSlots<T, S> = T & {
171
+ type __VLS_WithTemplateSlots<T, S> = T & {
335
172
  new (): {
336
173
  $slots: S;
337
174
  };