y-element-ultra 0.0.2 → 0.0.3
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/es/core-components.d.ts +2 -2
- package/es/core-components.js +2 -2
- package/es/lang/en_US.d.ts +2 -2
- package/es/lang/zh_CN.d.ts +2 -2
- package/es/lang/zh_TW.d.ts +2 -2
- package/es/utils/message.d.ts +2 -2
- package/es/utils/message.js +8 -8
- package/es/utils/modal-hook.d.ts +1 -1
- package/es/utils/resolvers.d.ts +2 -2
- package/es/utils/resolvers.js +2 -2
- package/es/y-admin-layout/components/layout-tabs.d.ts +3 -3
- package/es/y-admin-layout/index.d.ts +17 -17
- package/es/y-admin-layout/props.d.ts +7 -7
- package/es/y-app/index.d.ts +2 -2
- package/es/y-app/index.js +2 -2
- package/es/y-app/plus.d.ts +57 -57
- package/es/y-app/plusx.d.ts +10 -10
- package/es/y-avatar-group/index.d.ts +4 -4
- package/es/y-avatar-group/props.d.ts +3 -3
- package/es/y-basic-select/components/select-view.d.ts +4 -4
- package/es/y-basic-select/index.d.ts +9 -9
- package/es/y-basic-select/props.d.ts +3 -3
- package/es/y-basic-select/types.d.ts +4 -8
- package/es/y-buttons/types.d.ts +4 -4
- package/es/y-config-provider/components/receiver-view.js +19 -23
- package/es/y-config-provider/index.d.ts +4 -4
- package/es/y-config-provider/props.d.ts +4 -4
- package/es/y-config-provider/receiver.d.ts +3 -3
- package/es/y-config-provider/receiver.js +37 -1
- package/es/y-config-provider/types.d.ts +8 -8
- package/es/y-copyable/index.d.ts +2 -2
- package/es/y-copyable/props.d.ts +2 -2
- package/es/y-cron-builder/index.d.ts +2 -2
- package/es/y-cron-builder/index.js +2 -2
- package/es/y-cron-builder/props.d.ts +2 -2
- package/es/y-cron-panel/index.js +1 -1
- package/es/y-cropper/components/cropper-tools.d.ts +3 -3
- package/es/y-cropper/index.d.ts +2 -2
- package/es/y-cropper/props.d.ts +2 -2
- package/es/y-cropper-modal/index.d.ts +4 -4
- package/es/y-cropper-modal/props.d.ts +3 -3
- package/es/y-crud/index.d.ts +4 -4
- package/es/y-crud/props.d.ts +2 -2
- package/es/y-crud/types.d.ts +21 -21
- package/es/y-crud/util.d.ts +2 -2
- package/es/y-crud-builder/components/body-header.d.ts +5 -5
- package/es/y-crud-builder/components/code-generator.d.ts +3 -3
- package/es/y-crud-builder/components/code-preview.d.ts +3 -3
- package/es/y-crud-builder/components/form-design-modal.d.ts +7 -7
- package/es/y-crud-builder/components/import-modal.d.ts +5 -5
- package/es/y-crud-builder/components/page-config.d.ts +7 -7
- package/es/y-crud-builder/components/template-list.d.ts +3 -3
- package/es/y-crud-builder/index.d.ts +9 -9
- package/es/y-crud-builder/props.d.ts +6 -6
- package/es/y-crud-builder/types.d.ts +2 -2
- package/es/y-data-table/types.d.ts +2 -2
- package/es/y-drawer/index.d.ts +2 -2
- package/es/y-drawer/props.d.ts +2 -2
- package/es/y-dropdown/components/pro-dropdown.d.ts +2 -2
- package/es/y-dropdown-provider/index.d.ts +1 -1
- package/es/y-dropdown-provider/types.d.ts +2 -2
- package/es/y-dropdown-provider/util.d.ts +4 -4
- package/es/y-edit-tag/index.d.ts +2 -2
- package/es/y-edit-tag/props.d.ts +2 -2
- package/es/y-ellipsis/index.d.ts +2 -2
- package/es/y-ellipsis/types.d.ts +2 -2
- package/es/y-file-list/index.d.ts +5 -5
- package/es/y-file-list/props.d.ts +3 -3
- package/es/y-icon-select/components/icon-grid.d.ts +3 -3
- package/es/y-icon-select/index.d.ts +8 -8
- package/es/y-icon-select/props.d.ts +4 -4
- package/es/y-map-picker/index.d.ts +4 -4
- package/es/y-map-picker/props.d.ts +2 -2
- package/es/y-menus/types.d.ts +2 -2
- package/es/y-modal/index.d.ts +2 -2
- package/es/y-modal/props.d.ts +2 -2
- package/es/y-modal-render/index.js +1 -1
- package/es/y-modal-render/types.d.ts +3 -6
- package/es/y-modal-render/use-modal.d.ts +1 -1
- package/es/y-popconfirm/index.d.ts +4 -4
- package/es/y-popconfirm/props.d.ts +2 -2
- package/es/y-popconfirm-provider/index.d.ts +1 -1
- package/es/y-popconfirm-provider/types.d.ts +2 -2
- package/es/y-popconfirm-provider/util.d.ts +3 -3
- package/es/y-popover/index.d.ts +2 -2
- package/es/y-pro-form-builder/components/body-form.d.ts +3 -3
- package/es/y-pro-form-builder/components/body-header.d.ts +5 -5
- package/es/y-pro-form-builder/components/code-generator.d.ts +6 -6
- package/es/y-pro-form-builder/components/code-preview.d.ts +3 -3
- package/es/y-pro-form-builder/components/config-form.d.ts +3 -3
- package/es/y-pro-form-builder/components/import-modal.d.ts +5 -5
- package/es/y-pro-form-builder/components/preview-modal.d.ts +3 -3
- package/es/y-pro-form-builder/components/props-form.d.ts +3 -3
- package/es/y-pro-form-builder/components/template-list.d.ts +3 -3
- package/es/y-pro-form-builder/index.d.ts +9 -9
- package/es/y-pro-form-builder/props.d.ts +6 -6
- package/es/y-pro-form-builder/types.d.ts +4 -4
- package/es/y-pro-layout/index.d.ts +22 -22
- package/es/y-pro-layout/index.js +2 -2
- package/es/y-pro-layout/props.d.ts +11 -11
- package/es/y-pro-layout/types.d.ts +2 -2
- package/es/y-pro-layout/util.d.ts +2 -2
- package/es/y-pro-table/components/tool-column.d.ts +3 -3
- package/es/y-pro-table/components/tool-export.d.ts +3 -3
- package/es/y-pro-table/components/tool-print.d.ts +7 -7
- package/es/y-pro-table/index.d.ts +7 -7
- package/es/y-pro-table/props.d.ts +3 -3
- package/es/y-pro-table/types.d.ts +13 -13
- package/es/y-pro-table/util.d.ts +2 -2
- package/es/y-qr-code-svg/qrcodegen.d.ts +2 -2
- package/es/y-tab-wrap/components/tab-dropdown.d.ts +4 -4
- package/es/y-table-select/index.d.ts +9 -9
- package/es/y-table-select/props.d.ts +4 -4
- package/es/y-tabs/index.d.ts +6 -6
- package/es/y-tabs/props.d.ts +3 -3
- package/es/y-tool/index.d.ts +4 -4
- package/es/y-tool/props.d.ts +2 -2
- package/es/y-toolbar/index.d.ts +7 -7
- package/es/y-toolbar/props.d.ts +3 -3
- package/es/y-toolbar/types.d.ts +2 -2
- package/es/y-tour/index.d.ts +2 -2
- package/es/y-tour/types.d.ts +2 -2
- package/es/y-tour/util.d.ts +2 -2
- package/es/y-tree-select/index.d.ts +6 -6
- package/es/y-tree-select/props.d.ts +2 -2
- package/es/y-upload-list/index.d.ts +2 -2
- package/es/y-upload-list/props.d.ts +2 -2
- package/es/y-virtual-table/components/cell-filter.d.ts +4 -4
- package/es/y-watermark/index.js +15 -17
- package/es/y-watermark/util.d.ts +1 -1
- package/lib/core-components.cjs +2 -2
- package/lib/core-components.d.ts +2 -2
- package/lib/lang/en_US.d.ts +2 -2
- package/lib/lang/zh_CN.d.ts +2 -2
- package/lib/lang/zh_TW.d.ts +2 -2
- package/lib/utils/message.cjs +8 -8
- package/lib/utils/message.d.ts +2 -2
- package/lib/utils/modal-hook.d.ts +1 -1
- package/lib/utils/resolvers.cjs +2 -2
- package/lib/utils/resolvers.d.ts +2 -2
- package/lib/y-admin-layout/components/layout-tabs.d.ts +3 -3
- package/lib/y-admin-layout/index.d.ts +17 -17
- package/lib/y-admin-layout/props.d.ts +7 -7
- package/lib/y-app/index.cjs +2 -2
- package/lib/y-app/index.d.ts +2 -2
- package/lib/y-app/plus.d.ts +57 -57
- package/lib/y-app/plusx.d.ts +10 -10
- package/lib/y-avatar-group/index.d.ts +4 -4
- package/lib/y-avatar-group/props.d.ts +3 -3
- package/lib/y-basic-select/components/select-view.d.ts +4 -4
- package/lib/y-basic-select/index.d.ts +9 -9
- package/lib/y-basic-select/props.d.ts +3 -3
- package/lib/y-basic-select/types.d.ts +4 -8
- package/lib/y-buttons/types.d.ts +4 -4
- package/lib/y-config-provider/components/receiver-view.cjs +1 -1
- package/lib/y-config-provider/index.d.ts +4 -4
- package/lib/y-config-provider/props.d.ts +4 -4
- package/lib/y-config-provider/receiver.cjs +37 -1
- package/lib/y-config-provider/receiver.d.ts +3 -3
- package/lib/y-config-provider/types.d.ts +8 -8
- package/lib/y-copyable/index.d.ts +2 -2
- package/lib/y-copyable/props.d.ts +2 -2
- package/lib/y-cron-builder/index.cjs +2 -2
- package/lib/y-cron-builder/index.d.ts +2 -2
- package/lib/y-cron-builder/props.d.ts +2 -2
- package/lib/y-cron-panel/index.cjs +1 -1
- package/lib/y-cropper/components/cropper-tools.d.ts +3 -3
- package/lib/y-cropper/index.d.ts +2 -2
- package/lib/y-cropper/props.d.ts +2 -2
- package/lib/y-cropper-modal/index.d.ts +4 -4
- package/lib/y-cropper-modal/props.d.ts +3 -3
- package/lib/y-crud/index.d.ts +4 -4
- package/lib/y-crud/props.d.ts +2 -2
- package/lib/y-crud/types.d.ts +21 -21
- package/lib/y-crud/util.d.ts +2 -2
- package/lib/y-crud-builder/components/body-header.d.ts +5 -5
- package/lib/y-crud-builder/components/code-generator.d.ts +3 -3
- package/lib/y-crud-builder/components/code-preview.d.ts +3 -3
- package/lib/y-crud-builder/components/form-design-modal.d.ts +7 -7
- package/lib/y-crud-builder/components/import-modal.d.ts +5 -5
- package/lib/y-crud-builder/components/page-config.d.ts +7 -7
- package/lib/y-crud-builder/components/template-list.d.ts +3 -3
- package/lib/y-crud-builder/index.d.ts +9 -9
- package/lib/y-crud-builder/props.d.ts +6 -6
- package/lib/y-crud-builder/types.d.ts +2 -2
- package/lib/y-data-table/types.d.ts +2 -2
- package/lib/y-drawer/index.d.ts +2 -2
- package/lib/y-drawer/props.d.ts +2 -2
- package/lib/y-dropdown/components/pro-dropdown.d.ts +2 -2
- package/lib/y-dropdown-provider/index.d.ts +1 -1
- package/lib/y-dropdown-provider/types.d.ts +2 -2
- package/lib/y-dropdown-provider/util.d.ts +4 -4
- package/lib/y-edit-tag/index.d.ts +2 -2
- package/lib/y-edit-tag/props.d.ts +2 -2
- package/lib/y-ellipsis/index.d.ts +2 -2
- package/lib/y-ellipsis/types.d.ts +2 -2
- package/lib/y-file-list/index.d.ts +5 -5
- package/lib/y-file-list/props.d.ts +3 -3
- package/lib/y-icon-select/components/icon-grid.d.ts +3 -3
- package/lib/y-icon-select/index.d.ts +8 -8
- package/lib/y-icon-select/props.d.ts +4 -4
- package/lib/y-map-picker/index.d.ts +4 -4
- package/lib/y-map-picker/props.d.ts +2 -2
- package/lib/y-menus/types.d.ts +2 -2
- package/lib/y-modal/index.d.ts +2 -2
- package/lib/y-modal/props.d.ts +2 -2
- package/lib/y-modal-render/index.cjs +1 -1
- package/lib/y-modal-render/types.d.ts +3 -6
- package/lib/y-modal-render/use-modal.d.ts +1 -1
- package/lib/y-popconfirm/index.d.ts +4 -4
- package/lib/y-popconfirm/props.d.ts +2 -2
- package/lib/y-popconfirm-provider/index.d.ts +1 -1
- package/lib/y-popconfirm-provider/types.d.ts +2 -2
- package/lib/y-popconfirm-provider/util.d.ts +3 -3
- package/lib/y-popover/index.d.ts +2 -2
- package/lib/y-pro-form-builder/components/body-form.d.ts +3 -3
- package/lib/y-pro-form-builder/components/body-header.d.ts +5 -5
- package/lib/y-pro-form-builder/components/code-generator.d.ts +6 -6
- package/lib/y-pro-form-builder/components/code-preview.d.ts +3 -3
- package/lib/y-pro-form-builder/components/config-form.d.ts +3 -3
- package/lib/y-pro-form-builder/components/import-modal.d.ts +5 -5
- package/lib/y-pro-form-builder/components/preview-modal.d.ts +3 -3
- package/lib/y-pro-form-builder/components/props-form.d.ts +3 -3
- package/lib/y-pro-form-builder/components/template-list.d.ts +3 -3
- package/lib/y-pro-form-builder/index.d.ts +9 -9
- package/lib/y-pro-form-builder/props.d.ts +6 -6
- package/lib/y-pro-form-builder/types.d.ts +4 -4
- package/lib/y-pro-layout/index.cjs +2 -2
- package/lib/y-pro-layout/index.d.ts +22 -22
- package/lib/y-pro-layout/props.d.ts +11 -11
- package/lib/y-pro-layout/types.d.ts +2 -2
- package/lib/y-pro-layout/util.d.ts +2 -2
- package/lib/y-pro-table/components/tool-column.d.ts +3 -3
- package/lib/y-pro-table/components/tool-export.d.ts +3 -3
- package/lib/y-pro-table/components/tool-print.d.ts +7 -7
- package/lib/y-pro-table/index.d.ts +7 -7
- package/lib/y-pro-table/props.d.ts +3 -3
- package/lib/y-pro-table/types.d.ts +13 -13
- package/lib/y-pro-table/util.d.ts +2 -2
- package/lib/y-qr-code-svg/qrcodegen.d.ts +2 -2
- package/lib/y-tab-wrap/components/tab-dropdown.d.ts +4 -4
- package/lib/y-table-select/index.d.ts +9 -9
- package/lib/y-table-select/props.d.ts +4 -4
- package/lib/y-tabs/index.d.ts +6 -6
- package/lib/y-tabs/props.d.ts +3 -3
- package/lib/y-tool/index.d.ts +4 -4
- package/lib/y-tool/props.d.ts +2 -2
- package/lib/y-toolbar/index.d.ts +7 -7
- package/lib/y-toolbar/props.d.ts +3 -3
- package/lib/y-toolbar/types.d.ts +2 -2
- package/lib/y-tour/index.d.ts +2 -2
- package/lib/y-tour/types.d.ts +2 -2
- package/lib/y-tour/util.d.ts +2 -2
- package/lib/y-tree-select/index.d.ts +6 -6
- package/lib/y-tree-select/props.d.ts +2 -2
- package/lib/y-upload-list/index.d.ts +2 -2
- package/lib/y-upload-list/props.d.ts +2 -2
- package/lib/y-virtual-table/components/cell-filter.d.ts +4 -4
- package/lib/y-watermark/index.cjs +14 -16
- package/lib/y-watermark/util.d.ts +1 -1
- package/package.json +1 -1
package/lib/y-tabs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TabPaneName } from 'element-plus';
|
|
2
2
|
import { ElTabsInstance } from '../y-app/el';
|
|
3
|
-
import {
|
|
3
|
+
import { YDropdownInstance } from '../y-app/plus';
|
|
4
4
|
import { TabPaneItem, TabSize, TabType } from './types';
|
|
5
5
|
|
|
6
6
|
declare function __VLS_template(): Partial<Record<NonNullable<import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>, (_: {
|
|
@@ -22,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
22
22
|
size: import('vue').PropType<TabSize>;
|
|
23
23
|
type: import('vue').PropType<TabType>;
|
|
24
24
|
center: BooleanConstructor;
|
|
25
|
-
contextMenu: import('vue').PropType<boolean | import('../y-app/plus').
|
|
25
|
+
contextMenu: import('vue').PropType<boolean | import('../y-app/plus').YDropdownProps>;
|
|
26
26
|
contextMenus: import('vue').PropType<import('./types').ContextMenus>;
|
|
27
27
|
sortable: BooleanConstructor;
|
|
28
28
|
mousewheel: BooleanConstructor;
|
|
@@ -51,7 +51,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
51
51
|
tabindex: import('element-plus/es/utils/index').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
52
52
|
}>, {
|
|
53
53
|
tabRef: import('vue').Ref<ElTabsInstance, ElTabsInstance>;
|
|
54
|
-
ctxMenuDropdownRef: import('vue').Ref<
|
|
54
|
+
ctxMenuDropdownRef: import('vue').Ref<YDropdownInstance, YDropdownInstance>;
|
|
55
55
|
hideAllDropdown: () => void;
|
|
56
56
|
updateActiveBar: () => void;
|
|
57
57
|
scrollTabs: (direction: "prev" | "next", done?: () => void) => void;
|
|
@@ -60,7 +60,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
60
60
|
edit: (paneName: TabPaneName | undefined, action: "add" | "remove") => void;
|
|
61
61
|
tabItemClick: (_opt: import('./types').TabEventOption) => void;
|
|
62
62
|
tabContextMenu: (_opt: import('./types').TabEventOption) => void;
|
|
63
|
-
tabContextOpen: (_ref:
|
|
63
|
+
tabContextOpen: (_ref: YDropdownInstance, _item?: TabPaneItem | null | undefined, _name?: string | number | null | undefined) => void;
|
|
64
64
|
tabSortChange: (_data: TabPaneItem[]) => void;
|
|
65
65
|
tabClick: (pane: {
|
|
66
66
|
uid: number;
|
|
@@ -90,7 +90,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
90
90
|
size: import('vue').PropType<TabSize>;
|
|
91
91
|
type: import('vue').PropType<TabType>;
|
|
92
92
|
center: BooleanConstructor;
|
|
93
|
-
contextMenu: import('vue').PropType<boolean | import('../y-app/plus').
|
|
93
|
+
contextMenu: import('vue').PropType<boolean | import('../y-app/plus').YDropdownProps>;
|
|
94
94
|
contextMenus: import('vue').PropType<import('./types').ContextMenus>;
|
|
95
95
|
sortable: BooleanConstructor;
|
|
96
96
|
mousewheel: BooleanConstructor;
|
|
@@ -122,7 +122,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
122
122
|
onEdit?: ((paneName: TabPaneName | undefined, action: "add" | "remove") => any) | undefined;
|
|
123
123
|
onTabItemClick?: ((_opt: import('./types').TabEventOption) => any) | undefined;
|
|
124
124
|
onTabContextMenu?: ((_opt: import('./types').TabEventOption) => any) | undefined;
|
|
125
|
-
onTabContextOpen?: ((_ref:
|
|
125
|
+
onTabContextOpen?: ((_ref: YDropdownInstance, _item?: TabPaneItem | null | undefined, _name?: string | number | null | undefined) => any) | undefined;
|
|
126
126
|
onTabSortChange?: ((_data: TabPaneItem[]) => any) | undefined;
|
|
127
127
|
onTabClick?: ((pane: {
|
|
128
128
|
uid: number;
|
package/lib/y-tabs/props.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
|
|
2
2
|
import { tabsProps as elTabsProps } from 'element-plus';
|
|
3
|
-
import {
|
|
3
|
+
import { YDropdownProps, YDropdownInstance } from '../y-app/plus';
|
|
4
4
|
import { TabPaneItem, TabSize, TabType, ContextMenus, TabEventOption, TabWrapProvide } from './types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -19,7 +19,7 @@ export declare const tabsProps: {
|
|
|
19
19
|
/** 标签是否居中显示 */
|
|
20
20
|
center: BooleanConstructor;
|
|
21
21
|
/** 是否支持右键菜单 */
|
|
22
|
-
contextMenu: PropType<boolean |
|
|
22
|
+
contextMenu: PropType<boolean | YDropdownProps>;
|
|
23
23
|
/** 右键菜单 */
|
|
24
24
|
contextMenus: PropType<ContextMenus>;
|
|
25
25
|
/** 是否支持拖动排序 */
|
|
@@ -62,7 +62,7 @@ export declare const tabsEmits: {
|
|
|
62
62
|
/** 页签右键菜单项点击事件 */
|
|
63
63
|
tabContextMenu: (_opt: TabEventOption) => boolean;
|
|
64
64
|
/** 页签右键菜单打开事件 */
|
|
65
|
-
tabContextOpen: (_ref:
|
|
65
|
+
tabContextOpen: (_ref: YDropdownInstance, _item?: TabPaneItem | null, _name?: string | number | null) => boolean;
|
|
66
66
|
/** 拖动排序改变事件 */
|
|
67
67
|
tabSortChange: (_data: TabPaneItem[]) => boolean;
|
|
68
68
|
"update:modelValue": (name: import('element-plus').TabPaneName) => name is string | number;
|
package/lib/y-tool/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YTooltipProps } from '../y-app/plus';
|
|
2
2
|
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
default?(_: {}): any;
|
|
@@ -6,20 +6,20 @@ declare function __VLS_template(): {
|
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
7
|
title: StringConstructor;
|
|
8
8
|
placement: {
|
|
9
|
-
type: import('vue').PropType<
|
|
9
|
+
type: import('vue').PropType<YTooltipProps["placement"]>;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
12
|
disabled: BooleanConstructor;
|
|
13
13
|
clickHideTooltip: BooleanConstructor;
|
|
14
14
|
}>, {
|
|
15
|
-
showTooltip: (text?: string, el?: HTMLElement, options?:
|
|
15
|
+
showTooltip: (text?: string, el?: HTMLElement, options?: YTooltipProps) => void;
|
|
16
16
|
hideTooltip: () => void;
|
|
17
17
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
18
|
click: (_e: MouseEvent) => void;
|
|
19
19
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
20
|
title: StringConstructor;
|
|
21
21
|
placement: {
|
|
22
|
-
type: import('vue').PropType<
|
|
22
|
+
type: import('vue').PropType<YTooltipProps["placement"]>;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
disabled: BooleanConstructor;
|
package/lib/y-tool/props.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YTooltipProps } from '../y-app/plus';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 属性
|
|
@@ -9,7 +9,7 @@ export declare const toolProps: {
|
|
|
9
9
|
title: StringConstructor;
|
|
10
10
|
/** 提示方向 */
|
|
11
11
|
placement: {
|
|
12
|
-
type: PropType<
|
|
12
|
+
type: PropType<YTooltipProps["placement"]>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
/** 是否禁用提示 */
|
package/lib/y-toolbar/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YTooltipInstance, YTooltipProps } from '../y-app/plus';
|
|
3
3
|
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
default?(_: {}): any;
|
|
@@ -15,11 +15,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
15
15
|
titleStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
16
16
|
bodyStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
17
17
|
toolsStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
18
|
-
titleProps: import('vue').PropType<import('../y-app/plus').
|
|
19
|
-
subtitleProps: import('vue').PropType<import('../y-app/plus').
|
|
18
|
+
titleProps: import('vue').PropType<import('../y-app/plus').YTextProps>;
|
|
19
|
+
subtitleProps: import('vue').PropType<import('../y-app/plus').YTextProps>;
|
|
20
20
|
}>, {
|
|
21
|
-
tooltipRef: Ref<
|
|
22
|
-
showTooltip: (text?: string, el?: HTMLElement, options?:
|
|
21
|
+
tooltipRef: Ref<YTooltipInstance, YTooltipInstance>;
|
|
22
|
+
showTooltip: (text?: string, el?: HTMLElement, options?: YTooltipProps) => void;
|
|
23
23
|
hideTooltip: () => void;
|
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
25
|
title: StringConstructor;
|
|
@@ -31,8 +31,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
31
31
|
titleStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
32
32
|
bodyStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
33
33
|
toolsStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
34
|
-
titleProps: import('vue').PropType<import('../y-app/plus').
|
|
35
|
-
subtitleProps: import('vue').PropType<import('../y-app/plus').
|
|
34
|
+
titleProps: import('vue').PropType<import('../y-app/plus').YTextProps>;
|
|
35
|
+
subtitleProps: import('vue').PropType<import('../y-app/plus').YTextProps>;
|
|
36
36
|
}>> & Readonly<{}>, {
|
|
37
37
|
theme: import('./types').ToolbarTheme;
|
|
38
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
package/lib/y-toolbar/props.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
|
|
2
2
|
import { StyleValue } from '../y-app/types';
|
|
3
|
-
import {
|
|
3
|
+
import { YTextProps } from '../y-app/plus';
|
|
4
4
|
import { ToolbarTheme, ToolbarProvide } from './types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -23,9 +23,9 @@ export declare const toolbarProps: {
|
|
|
23
23
|
/** 按钮区样式 */
|
|
24
24
|
toolsStyle: PropType<StyleValue>;
|
|
25
25
|
/** 标题组件属性 */
|
|
26
|
-
titleProps: PropType<
|
|
26
|
+
titleProps: PropType<YTextProps>;
|
|
27
27
|
/** 二级标题组件属性 */
|
|
28
|
-
subtitleProps: PropType<
|
|
28
|
+
subtitleProps: PropType<YTextProps>;
|
|
29
29
|
};
|
|
30
30
|
export type ToolbarProps = ExtractPropTypes<typeof toolbarProps>;
|
|
31
31
|
/**
|
package/lib/y-toolbar/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { YTooltipProps } from '../y-app/plus';
|
|
2
2
|
/**
|
|
3
3
|
* 工具栏主题
|
|
4
4
|
*/
|
|
@@ -12,7 +12,7 @@ export interface ToolbarProvide {
|
|
|
12
12
|
showTooltip?: (
|
|
13
13
|
text?: string,
|
|
14
14
|
el?: HTMLElement,
|
|
15
|
-
options?:
|
|
15
|
+
options?: YTooltipProps
|
|
16
16
|
) => void;
|
|
17
17
|
/** 关闭提示 */
|
|
18
18
|
hideTooltip?: () => void;
|
package/lib/y-tour/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YTooltipInstance } from '../y-app/plus';
|
|
3
3
|
import { TourStep } from './types';
|
|
4
4
|
|
|
5
5
|
declare function __VLS_template(): {
|
|
@@ -33,7 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
33
33
|
zIndex: NumberConstructor;
|
|
34
34
|
locale: import('vue').PropType<Partial<import('./types').TourLocale>>;
|
|
35
35
|
}>, {
|
|
36
|
-
tooltipRef: Ref<
|
|
36
|
+
tooltipRef: Ref<YTooltipInstance, YTooltipInstance>;
|
|
37
37
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
38
|
"update:modelValue": (_value?: number | null | undefined) => void;
|
|
39
39
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
package/lib/y-tour/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { YPopoverProps } from '../y-app/plus';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 引导步骤指向元素
|
|
@@ -20,7 +20,7 @@ export interface TourStep {
|
|
|
20
20
|
/** 是否开启遮罩层 */
|
|
21
21
|
mask?: boolean;
|
|
22
22
|
/** 气泡组件属性 */
|
|
23
|
-
popoverProps?:
|
|
23
|
+
popoverProps?: YPopoverProps;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/**
|
package/lib/y-tour/util.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YTooltipProps } from '../y-app/plus';
|
|
2
2
|
import { Offset } from './types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -12,7 +12,7 @@ export declare function getOffset(el: HTMLElement): Offset;
|
|
|
12
12
|
* @param model 是否是弹窗
|
|
13
13
|
* @param props 自定义属性
|
|
14
14
|
*/
|
|
15
|
-
export declare function getPopperProps(visible?: boolean, modal?: boolean, props?:
|
|
15
|
+
export declare function getPopperProps(visible?: boolean, modal?: boolean, props?: YTooltipProps): YTooltipProps;
|
|
16
16
|
/**
|
|
17
17
|
* 让元素可见
|
|
18
18
|
* @param el 元素
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElTreeV2Instance } from '../y-app/el';
|
|
2
|
-
import {
|
|
2
|
+
import { YBasicSelectInstance } from '../y-app/plus';
|
|
3
3
|
import { SelectValue, SelectedItem } from '../y-basic-select/types';
|
|
4
4
|
import { DataItem } from './types';
|
|
5
5
|
|
|
@@ -28,7 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
28
28
|
wrapperComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
29
29
|
wrapperComponentProps: ObjectConstructor;
|
|
30
30
|
placement: {
|
|
31
|
-
type: import('vue').PropType<import('../y-app/plus').
|
|
31
|
+
type: import('vue').PropType<import('../y-app/plus').YTooltipProps["placement"]>;
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
34
|
popperClass: StringConstructor;
|
|
@@ -51,7 +51,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
51
51
|
default: boolean;
|
|
52
52
|
};
|
|
53
53
|
visible: BooleanConstructor;
|
|
54
|
-
popperOptions: import('vue').PropType<import('../y-app/plus').
|
|
54
|
+
popperOptions: import('vue').PropType<import('../y-app/plus').YTooltipProps["popperOptions"]>;
|
|
55
55
|
automaticDropdown: BooleanConstructor;
|
|
56
56
|
multiple: BooleanConstructor;
|
|
57
57
|
responsive: {
|
|
@@ -90,7 +90,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
90
90
|
clearTempSelectedItems: () => void;
|
|
91
91
|
removeTempSelectedItem: (item: SelectedItem) => void;
|
|
92
92
|
updateTempSelectedItems: (items: SelectedItem[]) => void;
|
|
93
|
-
selectRef: import('vue').Ref<
|
|
93
|
+
selectRef: import('vue').Ref<YBasicSelectInstance, YBasicSelectInstance>;
|
|
94
94
|
treeRef: import('vue').Ref<ElTreeV2Instance, ElTreeV2Instance>;
|
|
95
95
|
updatePopover: () => void;
|
|
96
96
|
updateVisible: (visible: boolean) => void;
|
|
@@ -128,7 +128,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
128
128
|
wrapperComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
129
129
|
wrapperComponentProps: ObjectConstructor;
|
|
130
130
|
placement: {
|
|
131
|
-
type: import('vue').PropType<import('../y-app/plus').
|
|
131
|
+
type: import('vue').PropType<import('../y-app/plus').YTooltipProps["placement"]>;
|
|
132
132
|
default: string;
|
|
133
133
|
};
|
|
134
134
|
popperClass: StringConstructor;
|
|
@@ -151,7 +151,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
151
151
|
default: boolean;
|
|
152
152
|
};
|
|
153
153
|
visible: BooleanConstructor;
|
|
154
|
-
popperOptions: import('vue').PropType<import('../y-app/plus').
|
|
154
|
+
popperOptions: import('vue').PropType<import('../y-app/plus').YTooltipProps["popperOptions"]>;
|
|
155
155
|
automaticDropdown: BooleanConstructor;
|
|
156
156
|
multiple: BooleanConstructor;
|
|
157
157
|
responsive: {
|
|
@@ -36,7 +36,7 @@ export declare const treeSelectProps: {
|
|
|
36
36
|
/** 内容容器组件属性 */
|
|
37
37
|
wrapperComponentProps: ObjectConstructor;
|
|
38
38
|
placement: {
|
|
39
|
-
type: PropType<import('../y-app/plus').
|
|
39
|
+
type: PropType<import('../y-app/plus').YTooltipProps["placement"]>;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
42
|
popperClass: StringConstructor;
|
|
@@ -59,7 +59,7 @@ export declare const treeSelectProps: {
|
|
|
59
59
|
default: boolean;
|
|
60
60
|
};
|
|
61
61
|
visible: BooleanConstructor;
|
|
62
|
-
popperOptions: PropType<import('../y-app/plus').
|
|
62
|
+
popperOptions: PropType<import('../y-app/plus').YTooltipProps["popperOptions"]>;
|
|
63
63
|
automaticDropdown: BooleanConstructor;
|
|
64
64
|
multiple: BooleanConstructor;
|
|
65
65
|
responsive: {
|
|
@@ -30,7 +30,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
30
30
|
};
|
|
31
31
|
imageProps: import('vue').PropType<import('../y-app/el').ElImageProps>;
|
|
32
32
|
progressProps: import('vue').PropType<import('../y-app/el').ElProgressProps>;
|
|
33
|
-
previewProps: import('vue').PropType<import('../y-app/plus').
|
|
33
|
+
previewProps: import('vue').PropType<import('../y-app/plus').YImageViewerProps>;
|
|
34
34
|
tools: BooleanConstructor;
|
|
35
35
|
listType: import('vue').PropType<import('./types').ListType>;
|
|
36
36
|
beforeUploadClick: import('vue').PropType<import('./types').BeforeUploadClick>;
|
|
@@ -73,7 +73,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
73
73
|
};
|
|
74
74
|
imageProps: import('vue').PropType<import('../y-app/el').ElImageProps>;
|
|
75
75
|
progressProps: import('vue').PropType<import('../y-app/el').ElProgressProps>;
|
|
76
|
-
previewProps: import('vue').PropType<import('../y-app/plus').
|
|
76
|
+
previewProps: import('vue').PropType<import('../y-app/plus').YImageViewerProps>;
|
|
77
77
|
tools: BooleanConstructor;
|
|
78
78
|
listType: import('vue').PropType<import('./types').ListType>;
|
|
79
79
|
beforeUploadClick: import('vue').PropType<import('./types').BeforeUploadClick>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { StyleValue } from '../y-app/types';
|
|
3
3
|
import { ElProgressProps, ElImageProps } from '../y-app/el';
|
|
4
|
-
import {
|
|
4
|
+
import { YImageViewerProps } from '../y-app/plus';
|
|
5
5
|
import { UploadItem, UploadLocale, EditUploadResult, ListType, BeforeUploadClick, BeforeItemEdit, BeforePreview } from './types';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -47,7 +47,7 @@ export declare const uploadListProps: {
|
|
|
47
47
|
/** 自定义进度条属性 */
|
|
48
48
|
progressProps: PropType<ElProgressProps>;
|
|
49
49
|
/** 自定义图片预览属性 */
|
|
50
|
-
previewProps: PropType<
|
|
50
|
+
previewProps: PropType<YImageViewerProps>;
|
|
51
51
|
/** 是否开启底部预览和修改的操作按钮 */
|
|
52
52
|
tools: BooleanConstructor;
|
|
53
53
|
/** 列表显示样式 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Column, FilterValue } from '../../y-data-table/types';
|
|
3
|
-
import {
|
|
3
|
+
import { YTooltipProps, YTooltipInstance } from '../../y-app/plus';
|
|
4
4
|
|
|
5
5
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
6
|
/** 选中项 */
|
|
@@ -11,11 +11,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
filters: PropType<Column["filters"]>;
|
|
12
12
|
/** 弹出框定位 */
|
|
13
13
|
filterPlacement: {
|
|
14
|
-
type: PropType<
|
|
14
|
+
type: PropType<YTooltipProps["placement"]>;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
17
|
}>, {
|
|
18
|
-
popperRef: import('vue').Ref<
|
|
18
|
+
popperRef: import('vue').Ref<YTooltipInstance, YTooltipInstance>;
|
|
19
19
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
20
|
change: (_filtered: FilterValue) => void;
|
|
21
21
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -27,7 +27,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
27
27
|
filters: PropType<Column["filters"]>;
|
|
28
28
|
/** 弹出框定位 */
|
|
29
29
|
filterPlacement: {
|
|
30
|
-
type: PropType<
|
|
30
|
+
type: PropType<YTooltipProps["placement"]>;
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
}>> & Readonly<{
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
|
-
const common = require("../utils/common");
|
|
4
3
|
const util$1 = require("../y-qr-code-svg/util");
|
|
5
|
-
const SvgRender = require("../y-qr-code-svg/components/svg-render");
|
|
6
4
|
const util = require("./util");
|
|
7
5
|
const props = require("./props");
|
|
8
6
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -70,11 +68,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
70
68
|
fontStyle: "normal",
|
|
71
69
|
...props2.font || {}
|
|
72
70
|
},
|
|
73
|
-
contents:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
),
|
|
71
|
+
// contents: normalizeStringArray(
|
|
72
|
+
// props.content,
|
|
73
|
+
// [imageConfig && !imageConfig.id, 'el', 'NDSP'],
|
|
74
|
+
// observeText
|
|
75
|
+
// ),
|
|
76
|
+
contents: [props2.content],
|
|
78
77
|
image: props2.image,
|
|
79
78
|
width: props2.width,
|
|
80
79
|
height: props2.height,
|
|
@@ -100,12 +99,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
100
99
|
offsetY: props2.offset?.[1] ?? 0
|
|
101
100
|
};
|
|
102
101
|
};
|
|
103
|
-
const {
|
|
102
|
+
const {
|
|
103
|
+
imageId,
|
|
104
|
+
imageStyleId,
|
|
105
|
+
imageStyle,
|
|
106
|
+
// observeText,
|
|
107
|
+
updateImageStyle
|
|
108
|
+
} = util$1.useMutation({
|
|
104
109
|
getWrapperEl: () => wrapperRef.value,
|
|
105
110
|
getImageEl: () => imageRef.value,
|
|
106
111
|
getImageStyleOption
|
|
107
112
|
});
|
|
108
|
-
const markTeleport = vue.computed(() => isDeactivated.value || !props2.fixed);
|
|
109
113
|
const markDisabled = vue.computed(() => !props2.disabled || markId.value);
|
|
110
114
|
vue.watch(
|
|
111
115
|
[
|
|
@@ -146,13 +150,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
146
150
|
ref: imageRef,
|
|
147
151
|
key: vue.unref(imageStyleId),
|
|
148
152
|
style: vue.normalizeStyle(vue.unref(imageStyle))
|
|
149
|
-
}, null, 4)) :
|
|
150
|
-
key: 1,
|
|
151
|
-
to: "body",
|
|
152
|
-
disabled: markTeleport.value
|
|
153
|
-
}, [
|
|
154
|
-
vue.createVNode(SvgRender, vue.normalizeProps(vue.guardReactiveProps(svgMarkOption.value)), null, 16)
|
|
155
|
-
], 8, ["disabled"])) : vue.createCommentVNode("", true)
|
|
153
|
+
}, null, 4)) : vue.createCommentVNode("", true)
|
|
156
154
|
], 4);
|
|
157
155
|
};
|
|
158
156
|
}
|