@vtj/ui 0.10.4 → 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 +180 -180
  2. package/dist/index.umd.js +3 -3
  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,14 +1,36 @@
1
+ import { XIcon } from '../icon';
2
+ import { Refresh } from '@vtj/icons';
1
3
  import { QrCodeProps } from './types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- tip?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: HTMLDivElement;
10
- };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
+ import { Ref, ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
+ declare const image: Ref<string, string>;
6
+ declare const isExpired: Ref<boolean, boolean>;
7
+ declare const comptedStyle: ComputedRef<{
8
+ width: string;
9
+ height: string;
10
+ }>;
11
+ declare const refresh: () => void;
12
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
13
+ declare var __VLS_9: {};
14
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
15
+ tip?: (props: typeof __VLS_9) => any;
16
+ }>;
17
+ declare const __VLS_self: DefineComponent<QrCodeProps, {
18
+ XIcon: typeof XIcon;
19
+ Refresh: typeof Refresh;
20
+ image: typeof image;
21
+ isExpired: typeof isExpired;
22
+ comptedStyle: typeof comptedStyle;
23
+ refresh: typeof refresh;
24
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
25
+ expired: () => any;
26
+ draw: (value: string) => any;
27
+ }, string, PublicProps, Readonly<QrCodeProps> & Readonly<{
28
+ onExpired?: (() => any) | undefined;
29
+ onDraw?: ((value: string) => any) | undefined;
30
+ }>, {
31
+ size: number;
32
+ tip: string;
33
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
12
34
  declare const __VLS_component: DefineComponent<QrCodeProps, {
13
35
  refresh: () => void;
14
36
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -20,10 +42,10 @@ declare const __VLS_component: DefineComponent<QrCodeProps, {
20
42
  }>, {
21
43
  size: number;
22
44
  tip: string;
23
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
46
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
47
  export default _default;
26
- type __VLS_WithTemplateSlots<T, S> = T & {
48
+ type __VLS_WithSlots<T, S> = T & {
27
49
  new (): {
28
50
  $slots: S;
29
51
  };