@vtj/ui 0.9.2 → 0.9.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 (40) hide show
  1. package/dist/index.mjs +4833 -4761
  2. package/dist/index.umd.js +11 -11
  3. package/dist/style.css +1 -1
  4. package/package.json +5 -5
  5. package/types/components/action/Action.d.ts +15 -2
  6. package/types/components/attachment/Attachment.d.ts +5 -8
  7. package/types/components/captcha/Captcha.d.ts +4 -4
  8. package/types/components/container/Container.d.ts +2 -1
  9. package/types/components/data-item/DataItem.d.ts +2 -1
  10. package/types/components/dialog/Dialog.d.ts +2 -1
  11. package/types/components/dialog-form/DialogForm.d.ts +2 -1
  12. package/types/components/dialog-grid/DialogGrid.d.ts +6 -5
  13. package/types/components/field/Field.d.ts +2 -1
  14. package/types/components/field/editors/SelectEditor.d.ts +2 -1
  15. package/types/components/form/Form.d.ts +2 -1
  16. package/types/components/grid/Grid.d.ts +2 -1
  17. package/types/components/grid/renderers/components/DateFilter.d.ts +1 -1
  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/SelectFilter.d.ts +1 -1
  21. package/types/components/header/Header.d.ts +2 -1
  22. package/types/components/icon/Icon.d.ts +9 -1
  23. package/types/components/icon/types.d.ts +3 -0
  24. package/types/components/import-button/ImportButton.d.ts +2 -1
  25. package/types/components/list/List.d.ts +3 -2
  26. package/types/components/mask/Mask.d.ts +2 -1
  27. package/types/components/mask/components/Avatar.d.ts +2 -1
  28. package/types/components/mask/components/Brand.d.ts +2 -1
  29. package/types/components/mask/components/Content.d.ts +2 -1
  30. package/types/components/mask/components/Sidebar.d.ts +2 -1
  31. package/types/components/mask/components/ThemeSwitch.d.ts +1 -1
  32. package/types/components/mask/components/Toolbar.d.ts +2 -1
  33. package/types/components/panel/Panel.d.ts +3 -2
  34. package/types/components/qr-code/QrCode.d.ts +3 -2
  35. package/types/components/query-form/QueryForm.d.ts +2 -1
  36. package/types/components/startup/Startup.d.ts +1 -1
  37. package/types/components/tabs/Tabs.d.ts +2 -1
  38. package/types/components/test/Test.d.ts +2 -1
  39. package/types/components/verify/Verify.d.ts +4 -4
  40. package/types/version.d.ts +3 -3
@@ -6,12 +6,13 @@ export interface Props {
6
6
  url?: string;
7
7
  }
8
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
9
10
  slots: {
10
11
  logo?(_: {}): any;
11
12
  title?(_: {}): any;
12
13
  };
13
14
  refs: {};
14
- attrs: Partial<{}>;
15
+ rootEl: any;
15
16
  };
16
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
18
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
@@ -6,11 +6,12 @@ export interface Props {
6
6
  pure: boolean;
7
7
  }
8
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
9
10
  slots: {
10
11
  default?(_: {}): any;
11
12
  };
12
13
  refs: {};
13
- attrs: Partial<{}>;
14
+ rootEl: any;
14
15
  };
15
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
17
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -3,12 +3,13 @@ export interface Props {
3
3
  collapsed?: boolean;
4
4
  }
5
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
6
7
  slots: {
7
8
  brand?(_: {}): any;
8
9
  default?(_: {}): any;
9
10
  };
10
11
  refs: {};
11
- attrs: Partial<{}>;
12
+ rootEl: any;
12
13
  };
13
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
15
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -1,3 +1,3 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
3
3
  export default _default;
@@ -7,11 +7,12 @@ export interface Props {
7
7
  theme?: boolean;
8
8
  }
9
9
  declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
10
11
  slots: {
11
12
  default?(_: {}): any;
12
13
  };
13
14
  refs: {};
14
- attrs: Partial<{}>;
15
+ rootEl: any;
15
16
  };
16
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
18
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -4,6 +4,7 @@ import { OnCleanup } from '@vue/reactivity';
4
4
  import { BaseSize } from '../shared';
5
5
  import { HeaderProps } from '../header';
6
6
  declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
7
8
  slots: {
8
9
  header?(_: {}): any;
9
10
  title?(_: {}): any;
@@ -253,7 +254,7 @@ declare function __VLS_template(): {
253
254
  autoPointer: {
254
255
  type: BooleanConstructor;
255
256
  };
256
- }>> & Readonly<{}>, "$vtjEl" | ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer")> & ShallowUnwrapRef<{
257
+ }>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & ShallowUnwrapRef<{
257
258
  $vtjEl: ComputedRef<any>;
258
259
  }> & {} & ComponentCustomProperties & {} & {
259
260
  $slots: {
@@ -261,7 +262,7 @@ declare function __VLS_template(): {
261
262
  };
262
263
  }) | null;
263
264
  };
264
- attrs: Partial<{}>;
265
+ rootEl: any;
265
266
  };
266
267
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
267
268
  declare const __VLS_component: DefineComponent<ExtractPropTypes<{
@@ -1,11 +1,12 @@
1
1
  import { QrCodeProps } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
4
5
  slots: {
5
6
  tip?(_: {}): any;
6
7
  };
7
8
  refs: {};
8
- attrs: Partial<{}>;
9
+ rootEl: HTMLDivElement;
9
10
  };
10
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
12
  declare const __VLS_component: DefineComponent<QrCodeProps, {
@@ -19,7 +20,7 @@ declare const __VLS_component: DefineComponent<QrCodeProps, {
19
20
  }>, {
20
21
  size: number;
21
22
  tip: string;
22
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
23
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
25
  export default _default;
25
26
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -4,6 +4,7 @@ import { FormModel } from '../form';
4
4
  import { OnCleanup } from '@vue/reactivity';
5
5
  import { QueryFormItems } from './types';
6
6
  declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
7
8
  slots: Partial<Record<string, (_: {}) => any>> & {
8
9
  default?(_: {}): any;
9
10
  };
@@ -185,7 +186,7 @@ declare function __VLS_template(): {
185
186
  };
186
187
  }) | null;
187
188
  };
188
- attrs: Partial<{}>;
189
+ rootEl: any;
189
190
  };
190
191
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
191
192
  declare const __VLS_component: DefineComponent<ExtractPropTypes<{
@@ -38,5 +38,5 @@ declare const _default: DefineComponent<ExtractPropTypes<{
38
38
  tagline: string;
39
39
  actionText: string;
40
40
  actionLink: string;
41
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
41
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
42
42
  export default _default;
@@ -8,6 +8,7 @@ import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mj
8
8
  import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
9
9
  import { BaseSize, BaseType } from '../shared';
10
10
  declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
11
12
  slots: Partial<Record<string, (_: {
12
13
  label: string;
13
14
  name?: string | number;
@@ -52,7 +53,7 @@ declare function __VLS_template(): {
52
53
  }): any;
53
54
  };
54
55
  refs: {};
55
- attrs: Partial<{}>;
56
+ rootEl: any;
56
57
  };
57
58
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
58
59
  declare const __VLS_component: DefineComponent<ExtractPropTypes<{
@@ -1,5 +1,6 @@
1
1
  import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: Partial<Record<string, (_: {}) => any>> & {
4
5
  default?(_: {
5
6
  props: {
@@ -33,7 +34,7 @@ declare function __VLS_template(): {
33
34
  }): any;
34
35
  };
35
36
  refs: {};
36
- attrs: Partial<{}>;
37
+ rootEl: any;
37
38
  };
38
39
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
40
  declare const __VLS_component: DefineComponent<ExtractPropTypes<{
@@ -1,16 +1,16 @@
1
1
  import { VerifyProps } from './types';
2
2
  import { ModelRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare let __VLS_typeProps: VerifyProps;
3
+ type __VLS_Props = VerifyProps;
4
4
  declare const modelValue: ModelRef<string | undefined, string, string | undefined, string | undefined>;
5
5
  type __VLS_PublicProps = {
6
6
  modelValue?: typeof modelValue['value'];
7
- } & typeof __VLS_typeProps;
7
+ } & __VLS_Props;
8
8
  declare const _default: DefineComponent<__VLS_PublicProps, {
9
9
  send: () => Promise<void>;
10
10
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
- "update:modelValue": (modelValue: string | undefined) => any;
11
+ "update:modelValue": (value: string | undefined) => any;
12
12
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
- "onUpdate:modelValue"?: ((modelValue: string | undefined) => any) | undefined;
13
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
14
14
  }>, {
15
15
  maxlength: number;
16
16
  placeholder: string;
@@ -1,8 +1,8 @@
1
1
  /**!
2
- * Copyright (c) 2024, VTJ.PRO All rights reserved.
2
+ * Copyright (c) 2025, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/ui
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.9.1
5
+ * @version 0.9.3
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.9.1";
8
+ export declare const version = "0.9.3";