@vtj/ui 0.8.23 → 0.8.25
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.
- package/dist/index.mjs +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +4 -4
- package/types/components/action/Action.d.ts +5 -5
- package/types/components/action/Trigger.d.ts +5 -5
- package/types/components/action/hooks.d.ts +4 -4
- package/types/components/action/index.d.ts +1 -1
- package/types/components/action/types.d.ts +5 -5
- package/types/components/action-bar/ActionBar.d.ts +6 -6
- package/types/components/action-bar/index.d.ts +1 -1
- package/types/components/action-bar/types.d.ts +5 -5
- package/types/components/attachment/Attachment.d.ts +3 -3
- package/types/components/attachment/index.d.ts +1 -1
- package/types/components/attachment/props.d.ts +2 -2
- package/types/components/attachment/types.d.ts +2 -2
- package/types/components/chart/types.d.ts +2 -2
- package/types/components/chart/useChart.d.ts +2 -2
- package/types/components/container/Container.d.ts +1 -1
- package/types/components/container/index.d.ts +1 -1
- package/types/components/container/types.d.ts +2 -2
- package/types/components/data-item/DataItem.d.ts +5 -5
- package/types/components/data-item/index.d.ts +1 -1
- package/types/components/data-item/types.d.ts +2 -2
- package/types/components/dialog/Dialog.d.ts +5 -5
- package/types/components/dialog/create.d.ts +1 -1
- package/types/components/dialog/hooks.d.ts +3 -3
- package/types/components/dialog/index.d.ts +1 -1
- package/types/components/dialog/types.d.ts +4 -4
- package/types/components/dialog-form/DialogForm.d.ts +3 -3
- package/types/components/dialog-form/index.d.ts +1 -1
- package/types/components/dialog-form/types.d.ts +3 -3
- package/types/components/field/Field.d.ts +4 -4
- package/types/components/field/editors/CheckboxEditor.d.ts +1 -1
- package/types/components/field/editors/RadioEditor.d.ts +1 -1
- package/types/components/field/editors/SelectEditor.d.ts +1 -1
- package/types/components/field/editors/index.d.ts +3 -3
- package/types/components/field/hooks/useEditor.d.ts +2 -2
- package/types/components/field/index.d.ts +1 -1
- package/types/components/field/types.d.ts +4 -4
- package/types/components/form/Form.d.ts +2 -2
- package/types/components/form/index.d.ts +1 -1
- package/types/components/form/types.d.ts +3 -3
- package/types/components/header/Header.d.ts +2 -2
- package/types/components/header/index.d.ts +1 -1
- package/types/components/header/types.d.ts +2 -2
- package/types/components/icon/Icon.d.ts +1 -1
- package/types/components/icon/index.d.ts +1 -1
- package/types/components/image-code-input/index.d.ts +1 -1
- package/types/components/image-code-input/types.d.ts +1 -1
- package/types/components/input-unit/InputUnit.d.ts +1 -1
- package/types/components/input-unit/index.d.ts +1 -1
- package/types/components/input-unit/types.d.ts +1 -1
- package/types/components/list/List.d.ts +4 -4
- package/types/components/list/index.d.ts +1 -1
- package/types/components/list/types.d.ts +2 -2
- package/types/components/mask/Mask.d.ts +6 -6
- package/types/components/mask/components/Content.d.ts +1 -1
- package/types/components/mask/components/Menu.d.ts +1 -1
- package/types/components/mask/components/Tabs.d.ts +2 -2
- package/types/components/mask/components/Toolbar.d.ts +2 -2
- package/types/components/mask/defineTab.d.ts +1 -1
- package/types/components/mask/hooks/useContent.d.ts +3 -3
- package/types/components/mask/hooks/useHome.d.ts +1 -1
- package/types/components/mask/hooks/useMenus.d.ts +2 -2
- package/types/components/mask/hooks/useTabs.d.ts +2 -2
- package/types/components/mask/index.d.ts +1 -1
- package/types/components/mask/types.d.ts +3 -3
- package/types/components/menu/Menu.d.ts +1 -1
- package/types/components/menu/MenuItem.d.ts +1 -1
- package/types/components/menu/components.d.ts +1 -1
- package/types/components/menu/index.d.ts +1 -1
- package/types/components/menu/types.d.ts +1 -1
- package/types/components/panel/Panel.d.ts +2 -2
- package/types/components/panel/index.d.ts +1 -1
- package/types/components/panel/types.d.ts +2 -2
- package/types/components/qrcode/Qrcode.d.ts +1 -1
- package/types/components/qrcode/index.d.ts +1 -1
- package/types/components/qrcode/types.d.ts +2 -2
- package/types/components/shared.d.ts +1 -1
- package/types/components/sms-code-input/index.d.ts +1 -1
- package/types/components/startup/index.d.ts +1 -1
- package/types/components/tabs/Tabs.d.ts +6 -6
- package/types/components/tabs/index.d.ts +1 -1
- package/types/components/tabs/types.d.ts +2 -2
- package/types/components/test/index.d.ts +1 -1
- package/types/directives/vDraggable.d.ts +1 -1
- package/types/directives/vResizable.d.ts +1 -1
- package/types/hooks/useIcon.d.ts +1 -1
- package/types/install.d.ts +1 -1
- package/types/utils/install.d.ts +1 -1
- package/types/version.d.ts +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MenuDataItem } from '../../';
|
|
2
|
-
import { MaskProps, MaskEmitsFn } from '../types';
|
|
3
1
|
import { Ref, ShallowRef, ComputedRef } from 'vue';
|
|
2
|
+
import { MaskProps, MaskEmitsFn } from '../types';
|
|
3
|
+
import { MenuDataItem } from '../../';
|
|
4
4
|
|
|
5
5
|
export declare function useMenus(props: MaskProps, emit: MaskEmitsFn): {
|
|
6
6
|
menus: ShallowRef<MenuDataItem[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MenuDataItem } from '../../';
|
|
2
|
-
import { MaskProps, MaskEmitsFn, MaskTab } from '../types';
|
|
3
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { MaskProps, MaskEmitsFn, MaskTab } from '../types';
|
|
3
|
+
import { MenuDataItem } from '../../';
|
|
4
4
|
|
|
5
5
|
export declare function useTabs(_props: MaskProps, _emit: MaskEmitsFn, menus: ComputedRef<MenuDataItem[]>, active: Ref<MenuDataItem | null>, home: ComputedRef<MaskTab>): {
|
|
6
6
|
tabRef: Ref<any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as Mask } from "./Mask";
|
|
2
|
-
import { Emits } from '../shared';
|
|
3
|
-
import { MenuDataItem, ActionBarItems, ActionProps, ActionMenuItem, ComponentPropsType, DialogProps } from '../';
|
|
4
1
|
import { PropType, InjectionKey, DefineComponent } from 'vue';
|
|
2
|
+
import { MenuDataItem, ActionBarItems, ActionProps, ActionMenuItem, ComponentPropsType, DialogProps } from '../';
|
|
3
|
+
import { Emits } from '../shared';
|
|
4
|
+
import { default as Mask } from './Mask';
|
|
5
5
|
|
|
6
6
|
export declare const TAB_ITEM_WIDTH = 140;
|
|
7
7
|
export declare const maskProps: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
1
|
import { MenuProps, MenuDataItem } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MenuProps>, {
|
|
5
5
|
data: () => never[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
1
|
import { MenuDataItem, SubMenuProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
export interface Props {
|
|
5
5
|
item: MenuDataItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IconParam, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent } from '../';
|
|
2
|
-
import { BaseSize } from '../shared';
|
|
3
1
|
import { DefineComponent, PropType, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps } from 'vue';
|
|
2
|
+
import { BaseSize } from '../shared';
|
|
3
|
+
import { IconParam, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent } from '../';
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
5
5
|
fit: {
|
|
6
6
|
type: BooleanConstructor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IconParam, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent } from '../';
|
|
2
|
-
import { ComponentPropsType, BaseSize } from '../shared';
|
|
3
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ComponentPropsType, BaseSize } from '../shared';
|
|
3
|
+
import { IconParam, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent } from '../';
|
|
4
4
|
|
|
5
5
|
export declare const panelProps: {
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QRCodeValue } from './types';
|
|
2
1
|
import { DefineComponent, PropType, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { QRCodeValue } from './types';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
4
4
|
margin: {
|
|
5
5
|
type: NumberConstructor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QRCodeToDataURLOptions, QRCodeToDataURLOptionsJpegWebp } from 'qrcode';
|
|
2
|
-
import { ComponentPropsType } from '../shared';
|
|
3
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { ComponentPropsType } from '../shared';
|
|
3
|
+
import { QRCodeToDataURLOptions, QRCodeToDataURLOptionsJpegWebp } from 'qrcode';
|
|
4
4
|
|
|
5
5
|
export type { QRCodeSegment } from 'qrcode';
|
|
6
6
|
export type QRCodeValue = string | (() => Promise<string>);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseSize, BaseType } from '../shared';
|
|
2
|
-
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
|
3
|
-
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
4
|
-
import { ElTooltipProps, BadgeProps, TooltipTriggerType, ButtonProps } from 'element-plus';
|
|
5
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, ExtractPropTypes, PublicProps } from 'vue';
|
|
6
|
-
import { TabsItem } from './types';
|
|
7
1
|
import { ActionMenuItem, IconParam, ActionMode } from '../';
|
|
2
|
+
import { TabsItem } from './types';
|
|
3
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, ExtractPropTypes, PublicProps } from 'vue';
|
|
4
|
+
import { ElTooltipProps, BadgeProps, TooltipTriggerType, ButtonProps } from 'element-plus';
|
|
5
|
+
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
6
|
+
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
|
7
|
+
import { BaseSize, BaseType } from '../shared';
|
|
8
8
|
|
|
9
9
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
10
10
|
items: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IconParam, ActionProps, ActionMenuItem } from '../';
|
|
2
|
-
import { ComponentPropsType } from '../shared';
|
|
3
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { ComponentPropsType } from '../shared';
|
|
3
|
+
import { IconParam, ActionProps, ActionMenuItem } from '../';
|
|
4
4
|
|
|
5
5
|
export interface TabsItem {
|
|
6
6
|
label: string;
|
package/types/hooks/useIcon.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconParam, IconProps } from '../components';
|
|
2
1
|
import { ComputedRef, MaybeRef } from 'vue';
|
|
2
|
+
import { IconParam, IconProps } from '../components';
|
|
3
3
|
|
|
4
4
|
export declare function useIconProps(iconRef: MaybeRef<IconParam | undefined>): ComputedRef<IconProps | null>;
|
|
5
5
|
export declare function useIcon(icon: MaybeRef<IconParam | undefined>): Record<string, any> | undefined;
|
package/types/install.d.ts
CHANGED
package/types/utils/install.d.ts
CHANGED
package/types/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
|
3
3
|
* @name @vtj/ui
|
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
5
|
-
* @version 0.8.
|
|
5
|
+
* @version 0.8.24
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.8.
|
|
8
|
+
export declare const version = "0.8.24";
|