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.
Files changed (261) hide show
  1. package/es/core-components.d.ts +2 -2
  2. package/es/core-components.js +2 -2
  3. package/es/lang/en_US.d.ts +2 -2
  4. package/es/lang/zh_CN.d.ts +2 -2
  5. package/es/lang/zh_TW.d.ts +2 -2
  6. package/es/utils/message.d.ts +2 -2
  7. package/es/utils/message.js +8 -8
  8. package/es/utils/modal-hook.d.ts +1 -1
  9. package/es/utils/resolvers.d.ts +2 -2
  10. package/es/utils/resolvers.js +2 -2
  11. package/es/y-admin-layout/components/layout-tabs.d.ts +3 -3
  12. package/es/y-admin-layout/index.d.ts +17 -17
  13. package/es/y-admin-layout/props.d.ts +7 -7
  14. package/es/y-app/index.d.ts +2 -2
  15. package/es/y-app/index.js +2 -2
  16. package/es/y-app/plus.d.ts +57 -57
  17. package/es/y-app/plusx.d.ts +10 -10
  18. package/es/y-avatar-group/index.d.ts +4 -4
  19. package/es/y-avatar-group/props.d.ts +3 -3
  20. package/es/y-basic-select/components/select-view.d.ts +4 -4
  21. package/es/y-basic-select/index.d.ts +9 -9
  22. package/es/y-basic-select/props.d.ts +3 -3
  23. package/es/y-basic-select/types.d.ts +4 -8
  24. package/es/y-buttons/types.d.ts +4 -4
  25. package/es/y-config-provider/components/receiver-view.js +19 -23
  26. package/es/y-config-provider/index.d.ts +4 -4
  27. package/es/y-config-provider/props.d.ts +4 -4
  28. package/es/y-config-provider/receiver.d.ts +3 -3
  29. package/es/y-config-provider/receiver.js +37 -1
  30. package/es/y-config-provider/types.d.ts +8 -8
  31. package/es/y-copyable/index.d.ts +2 -2
  32. package/es/y-copyable/props.d.ts +2 -2
  33. package/es/y-cron-builder/index.d.ts +2 -2
  34. package/es/y-cron-builder/index.js +2 -2
  35. package/es/y-cron-builder/props.d.ts +2 -2
  36. package/es/y-cron-panel/index.js +1 -1
  37. package/es/y-cropper/components/cropper-tools.d.ts +3 -3
  38. package/es/y-cropper/index.d.ts +2 -2
  39. package/es/y-cropper/props.d.ts +2 -2
  40. package/es/y-cropper-modal/index.d.ts +4 -4
  41. package/es/y-cropper-modal/props.d.ts +3 -3
  42. package/es/y-crud/index.d.ts +4 -4
  43. package/es/y-crud/props.d.ts +2 -2
  44. package/es/y-crud/types.d.ts +21 -21
  45. package/es/y-crud/util.d.ts +2 -2
  46. package/es/y-crud-builder/components/body-header.d.ts +5 -5
  47. package/es/y-crud-builder/components/code-generator.d.ts +3 -3
  48. package/es/y-crud-builder/components/code-preview.d.ts +3 -3
  49. package/es/y-crud-builder/components/form-design-modal.d.ts +7 -7
  50. package/es/y-crud-builder/components/import-modal.d.ts +5 -5
  51. package/es/y-crud-builder/components/page-config.d.ts +7 -7
  52. package/es/y-crud-builder/components/template-list.d.ts +3 -3
  53. package/es/y-crud-builder/index.d.ts +9 -9
  54. package/es/y-crud-builder/props.d.ts +6 -6
  55. package/es/y-crud-builder/types.d.ts +2 -2
  56. package/es/y-data-table/types.d.ts +2 -2
  57. package/es/y-drawer/index.d.ts +2 -2
  58. package/es/y-drawer/props.d.ts +2 -2
  59. package/es/y-dropdown/components/pro-dropdown.d.ts +2 -2
  60. package/es/y-dropdown-provider/index.d.ts +1 -1
  61. package/es/y-dropdown-provider/types.d.ts +2 -2
  62. package/es/y-dropdown-provider/util.d.ts +4 -4
  63. package/es/y-edit-tag/index.d.ts +2 -2
  64. package/es/y-edit-tag/props.d.ts +2 -2
  65. package/es/y-ellipsis/index.d.ts +2 -2
  66. package/es/y-ellipsis/types.d.ts +2 -2
  67. package/es/y-file-list/index.d.ts +5 -5
  68. package/es/y-file-list/props.d.ts +3 -3
  69. package/es/y-icon-select/components/icon-grid.d.ts +3 -3
  70. package/es/y-icon-select/index.d.ts +8 -8
  71. package/es/y-icon-select/props.d.ts +4 -4
  72. package/es/y-map-picker/index.d.ts +4 -4
  73. package/es/y-map-picker/props.d.ts +2 -2
  74. package/es/y-menus/types.d.ts +2 -2
  75. package/es/y-modal/index.d.ts +2 -2
  76. package/es/y-modal/props.d.ts +2 -2
  77. package/es/y-modal-render/index.js +1 -1
  78. package/es/y-modal-render/types.d.ts +3 -6
  79. package/es/y-modal-render/use-modal.d.ts +1 -1
  80. package/es/y-popconfirm/index.d.ts +4 -4
  81. package/es/y-popconfirm/props.d.ts +2 -2
  82. package/es/y-popconfirm-provider/index.d.ts +1 -1
  83. package/es/y-popconfirm-provider/types.d.ts +2 -2
  84. package/es/y-popconfirm-provider/util.d.ts +3 -3
  85. package/es/y-popover/index.d.ts +2 -2
  86. package/es/y-pro-form-builder/components/body-form.d.ts +3 -3
  87. package/es/y-pro-form-builder/components/body-header.d.ts +5 -5
  88. package/es/y-pro-form-builder/components/code-generator.d.ts +6 -6
  89. package/es/y-pro-form-builder/components/code-preview.d.ts +3 -3
  90. package/es/y-pro-form-builder/components/config-form.d.ts +3 -3
  91. package/es/y-pro-form-builder/components/import-modal.d.ts +5 -5
  92. package/es/y-pro-form-builder/components/preview-modal.d.ts +3 -3
  93. package/es/y-pro-form-builder/components/props-form.d.ts +3 -3
  94. package/es/y-pro-form-builder/components/template-list.d.ts +3 -3
  95. package/es/y-pro-form-builder/index.d.ts +9 -9
  96. package/es/y-pro-form-builder/props.d.ts +6 -6
  97. package/es/y-pro-form-builder/types.d.ts +4 -4
  98. package/es/y-pro-layout/index.d.ts +22 -22
  99. package/es/y-pro-layout/index.js +2 -2
  100. package/es/y-pro-layout/props.d.ts +11 -11
  101. package/es/y-pro-layout/types.d.ts +2 -2
  102. package/es/y-pro-layout/util.d.ts +2 -2
  103. package/es/y-pro-table/components/tool-column.d.ts +3 -3
  104. package/es/y-pro-table/components/tool-export.d.ts +3 -3
  105. package/es/y-pro-table/components/tool-print.d.ts +7 -7
  106. package/es/y-pro-table/index.d.ts +7 -7
  107. package/es/y-pro-table/props.d.ts +3 -3
  108. package/es/y-pro-table/types.d.ts +13 -13
  109. package/es/y-pro-table/util.d.ts +2 -2
  110. package/es/y-qr-code-svg/qrcodegen.d.ts +2 -2
  111. package/es/y-tab-wrap/components/tab-dropdown.d.ts +4 -4
  112. package/es/y-table-select/index.d.ts +9 -9
  113. package/es/y-table-select/props.d.ts +4 -4
  114. package/es/y-tabs/index.d.ts +6 -6
  115. package/es/y-tabs/props.d.ts +3 -3
  116. package/es/y-tool/index.d.ts +4 -4
  117. package/es/y-tool/props.d.ts +2 -2
  118. package/es/y-toolbar/index.d.ts +7 -7
  119. package/es/y-toolbar/props.d.ts +3 -3
  120. package/es/y-toolbar/types.d.ts +2 -2
  121. package/es/y-tour/index.d.ts +2 -2
  122. package/es/y-tour/types.d.ts +2 -2
  123. package/es/y-tour/util.d.ts +2 -2
  124. package/es/y-tree-select/index.d.ts +6 -6
  125. package/es/y-tree-select/props.d.ts +2 -2
  126. package/es/y-upload-list/index.d.ts +2 -2
  127. package/es/y-upload-list/props.d.ts +2 -2
  128. package/es/y-virtual-table/components/cell-filter.d.ts +4 -4
  129. package/es/y-watermark/index.js +15 -17
  130. package/es/y-watermark/util.d.ts +1 -1
  131. package/lib/core-components.cjs +2 -2
  132. package/lib/core-components.d.ts +2 -2
  133. package/lib/lang/en_US.d.ts +2 -2
  134. package/lib/lang/zh_CN.d.ts +2 -2
  135. package/lib/lang/zh_TW.d.ts +2 -2
  136. package/lib/utils/message.cjs +8 -8
  137. package/lib/utils/message.d.ts +2 -2
  138. package/lib/utils/modal-hook.d.ts +1 -1
  139. package/lib/utils/resolvers.cjs +2 -2
  140. package/lib/utils/resolvers.d.ts +2 -2
  141. package/lib/y-admin-layout/components/layout-tabs.d.ts +3 -3
  142. package/lib/y-admin-layout/index.d.ts +17 -17
  143. package/lib/y-admin-layout/props.d.ts +7 -7
  144. package/lib/y-app/index.cjs +2 -2
  145. package/lib/y-app/index.d.ts +2 -2
  146. package/lib/y-app/plus.d.ts +57 -57
  147. package/lib/y-app/plusx.d.ts +10 -10
  148. package/lib/y-avatar-group/index.d.ts +4 -4
  149. package/lib/y-avatar-group/props.d.ts +3 -3
  150. package/lib/y-basic-select/components/select-view.d.ts +4 -4
  151. package/lib/y-basic-select/index.d.ts +9 -9
  152. package/lib/y-basic-select/props.d.ts +3 -3
  153. package/lib/y-basic-select/types.d.ts +4 -8
  154. package/lib/y-buttons/types.d.ts +4 -4
  155. package/lib/y-config-provider/components/receiver-view.cjs +1 -1
  156. package/lib/y-config-provider/index.d.ts +4 -4
  157. package/lib/y-config-provider/props.d.ts +4 -4
  158. package/lib/y-config-provider/receiver.cjs +37 -1
  159. package/lib/y-config-provider/receiver.d.ts +3 -3
  160. package/lib/y-config-provider/types.d.ts +8 -8
  161. package/lib/y-copyable/index.d.ts +2 -2
  162. package/lib/y-copyable/props.d.ts +2 -2
  163. package/lib/y-cron-builder/index.cjs +2 -2
  164. package/lib/y-cron-builder/index.d.ts +2 -2
  165. package/lib/y-cron-builder/props.d.ts +2 -2
  166. package/lib/y-cron-panel/index.cjs +1 -1
  167. package/lib/y-cropper/components/cropper-tools.d.ts +3 -3
  168. package/lib/y-cropper/index.d.ts +2 -2
  169. package/lib/y-cropper/props.d.ts +2 -2
  170. package/lib/y-cropper-modal/index.d.ts +4 -4
  171. package/lib/y-cropper-modal/props.d.ts +3 -3
  172. package/lib/y-crud/index.d.ts +4 -4
  173. package/lib/y-crud/props.d.ts +2 -2
  174. package/lib/y-crud/types.d.ts +21 -21
  175. package/lib/y-crud/util.d.ts +2 -2
  176. package/lib/y-crud-builder/components/body-header.d.ts +5 -5
  177. package/lib/y-crud-builder/components/code-generator.d.ts +3 -3
  178. package/lib/y-crud-builder/components/code-preview.d.ts +3 -3
  179. package/lib/y-crud-builder/components/form-design-modal.d.ts +7 -7
  180. package/lib/y-crud-builder/components/import-modal.d.ts +5 -5
  181. package/lib/y-crud-builder/components/page-config.d.ts +7 -7
  182. package/lib/y-crud-builder/components/template-list.d.ts +3 -3
  183. package/lib/y-crud-builder/index.d.ts +9 -9
  184. package/lib/y-crud-builder/props.d.ts +6 -6
  185. package/lib/y-crud-builder/types.d.ts +2 -2
  186. package/lib/y-data-table/types.d.ts +2 -2
  187. package/lib/y-drawer/index.d.ts +2 -2
  188. package/lib/y-drawer/props.d.ts +2 -2
  189. package/lib/y-dropdown/components/pro-dropdown.d.ts +2 -2
  190. package/lib/y-dropdown-provider/index.d.ts +1 -1
  191. package/lib/y-dropdown-provider/types.d.ts +2 -2
  192. package/lib/y-dropdown-provider/util.d.ts +4 -4
  193. package/lib/y-edit-tag/index.d.ts +2 -2
  194. package/lib/y-edit-tag/props.d.ts +2 -2
  195. package/lib/y-ellipsis/index.d.ts +2 -2
  196. package/lib/y-ellipsis/types.d.ts +2 -2
  197. package/lib/y-file-list/index.d.ts +5 -5
  198. package/lib/y-file-list/props.d.ts +3 -3
  199. package/lib/y-icon-select/components/icon-grid.d.ts +3 -3
  200. package/lib/y-icon-select/index.d.ts +8 -8
  201. package/lib/y-icon-select/props.d.ts +4 -4
  202. package/lib/y-map-picker/index.d.ts +4 -4
  203. package/lib/y-map-picker/props.d.ts +2 -2
  204. package/lib/y-menus/types.d.ts +2 -2
  205. package/lib/y-modal/index.d.ts +2 -2
  206. package/lib/y-modal/props.d.ts +2 -2
  207. package/lib/y-modal-render/index.cjs +1 -1
  208. package/lib/y-modal-render/types.d.ts +3 -6
  209. package/lib/y-modal-render/use-modal.d.ts +1 -1
  210. package/lib/y-popconfirm/index.d.ts +4 -4
  211. package/lib/y-popconfirm/props.d.ts +2 -2
  212. package/lib/y-popconfirm-provider/index.d.ts +1 -1
  213. package/lib/y-popconfirm-provider/types.d.ts +2 -2
  214. package/lib/y-popconfirm-provider/util.d.ts +3 -3
  215. package/lib/y-popover/index.d.ts +2 -2
  216. package/lib/y-pro-form-builder/components/body-form.d.ts +3 -3
  217. package/lib/y-pro-form-builder/components/body-header.d.ts +5 -5
  218. package/lib/y-pro-form-builder/components/code-generator.d.ts +6 -6
  219. package/lib/y-pro-form-builder/components/code-preview.d.ts +3 -3
  220. package/lib/y-pro-form-builder/components/config-form.d.ts +3 -3
  221. package/lib/y-pro-form-builder/components/import-modal.d.ts +5 -5
  222. package/lib/y-pro-form-builder/components/preview-modal.d.ts +3 -3
  223. package/lib/y-pro-form-builder/components/props-form.d.ts +3 -3
  224. package/lib/y-pro-form-builder/components/template-list.d.ts +3 -3
  225. package/lib/y-pro-form-builder/index.d.ts +9 -9
  226. package/lib/y-pro-form-builder/props.d.ts +6 -6
  227. package/lib/y-pro-form-builder/types.d.ts +4 -4
  228. package/lib/y-pro-layout/index.cjs +2 -2
  229. package/lib/y-pro-layout/index.d.ts +22 -22
  230. package/lib/y-pro-layout/props.d.ts +11 -11
  231. package/lib/y-pro-layout/types.d.ts +2 -2
  232. package/lib/y-pro-layout/util.d.ts +2 -2
  233. package/lib/y-pro-table/components/tool-column.d.ts +3 -3
  234. package/lib/y-pro-table/components/tool-export.d.ts +3 -3
  235. package/lib/y-pro-table/components/tool-print.d.ts +7 -7
  236. package/lib/y-pro-table/index.d.ts +7 -7
  237. package/lib/y-pro-table/props.d.ts +3 -3
  238. package/lib/y-pro-table/types.d.ts +13 -13
  239. package/lib/y-pro-table/util.d.ts +2 -2
  240. package/lib/y-qr-code-svg/qrcodegen.d.ts +2 -2
  241. package/lib/y-tab-wrap/components/tab-dropdown.d.ts +4 -4
  242. package/lib/y-table-select/index.d.ts +9 -9
  243. package/lib/y-table-select/props.d.ts +4 -4
  244. package/lib/y-tabs/index.d.ts +6 -6
  245. package/lib/y-tabs/props.d.ts +3 -3
  246. package/lib/y-tool/index.d.ts +4 -4
  247. package/lib/y-tool/props.d.ts +2 -2
  248. package/lib/y-toolbar/index.d.ts +7 -7
  249. package/lib/y-toolbar/props.d.ts +3 -3
  250. package/lib/y-toolbar/types.d.ts +2 -2
  251. package/lib/y-tour/index.d.ts +2 -2
  252. package/lib/y-tour/types.d.ts +2 -2
  253. package/lib/y-tour/util.d.ts +2 -2
  254. package/lib/y-tree-select/index.d.ts +6 -6
  255. package/lib/y-tree-select/props.d.ts +2 -2
  256. package/lib/y-upload-list/index.d.ts +2 -2
  257. package/lib/y-upload-list/props.d.ts +2 -2
  258. package/lib/y-virtual-table/components/cell-filter.d.ts +4 -4
  259. package/lib/y-watermark/index.cjs +14 -16
  260. package/lib/y-watermark/util.d.ts +1 -1
  261. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { TabPaneName } from 'element-plus';
2
2
  import { ElTabsInstance } from '../y-app/el';
3
- import { EleDropdownInstance } from '../y-app/plus';
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').EleDropdownProps>;
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<EleDropdownInstance, EleDropdownInstance>;
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: EleDropdownInstance, _item?: TabPaneItem | null | undefined, _name?: string | number | null | undefined) => void;
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').EleDropdownProps>;
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: EleDropdownInstance, _item?: TabPaneItem | null | undefined, _name?: string | number | null | undefined) => any) | undefined;
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;
@@ -1,6 +1,6 @@
1
1
  import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
2
2
  import { tabsProps as elTabsProps } from 'element-plus';
3
- import { EleDropdownProps, EleDropdownInstance } from '../y-app/plus';
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 | EleDropdownProps>;
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: EleDropdownInstance, _item?: TabPaneItem | null, _name?: string | number | null) => boolean;
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;
@@ -1,4 +1,4 @@
1
- import { EleTooltipProps } from '../y-app/plus';
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<EleTooltipProps["placement"]>;
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?: EleTooltipProps) => void;
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<EleTooltipProps["placement"]>;
22
+ type: import('vue').PropType<YTooltipProps["placement"]>;
23
23
  default: string;
24
24
  };
25
25
  disabled: BooleanConstructor;
@@ -1,5 +1,5 @@
1
1
  import { PropType, ExtractPropTypes } from 'vue';
2
- import { EleTooltipProps } from '../y-app/plus';
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<EleTooltipProps["placement"]>;
12
+ type: PropType<YTooltipProps["placement"]>;
13
13
  default: string;
14
14
  };
15
15
  /** 是否禁用提示 */
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { EleTooltipInstance, EleTooltipProps } from '../y-app/plus';
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').EleTextProps>;
19
- subtitleProps: import('vue').PropType<import('../y-app/plus').EleTextProps>;
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<EleTooltipInstance, EleTooltipInstance>;
22
- showTooltip: (text?: string, el?: HTMLElement, options?: EleTooltipProps) => void;
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').EleTextProps>;
35
- subtitleProps: import('vue').PropType<import('../y-app/plus').EleTextProps>;
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>;
@@ -1,6 +1,6 @@
1
1
  import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
2
2
  import { StyleValue } from '../y-app/types';
3
- import { EleTextProps } from '../y-app/plus';
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<EleTextProps>;
26
+ titleProps: PropType<YTextProps>;
27
27
  /** 二级标题组件属性 */
28
- subtitleProps: PropType<EleTextProps>;
28
+ subtitleProps: PropType<YTextProps>;
29
29
  };
30
30
  export type ToolbarProps = ExtractPropTypes<typeof toolbarProps>;
31
31
  /**
@@ -1,4 +1,4 @@
1
- import type { EleTooltipProps } from '../y-app/plus';
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?: EleTooltipProps
15
+ options?: YTooltipProps
16
16
  ) => void;
17
17
  /** 关闭提示 */
18
18
  hideTooltip?: () => void;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { EleTooltipInstance } from '../y-app/plus';
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<EleTooltipInstance, EleTooltipInstance>;
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<{
@@ -1,4 +1,4 @@
1
- import type { ElePopoverProps } from '../y-app/plus';
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?: ElePopoverProps;
23
+ popoverProps?: YPopoverProps;
24
24
  }
25
25
 
26
26
  /**
@@ -1,4 +1,4 @@
1
- import { EleTooltipProps } from '../y-app/plus';
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?: EleTooltipProps): EleTooltipProps;
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 { EleBasicSelectInstance } from '../y-app/plus';
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').EleTooltipProps["placement"]>;
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').EleTooltipProps["popperOptions"]>;
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<EleBasicSelectInstance, EleBasicSelectInstance>;
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').EleTooltipProps["placement"]>;
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').EleTooltipProps["popperOptions"]>;
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').EleTooltipProps["placement"]>;
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').EleTooltipProps["popperOptions"]>;
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').EleImageViewerProps>;
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').EleImageViewerProps>;
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 { EleImageViewerProps } from '../y-app/plus';
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<EleImageViewerProps>;
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 { EleTooltipProps, EleTooltipInstance } from '../../y-app/plus';
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<EleTooltipProps["placement"]>;
14
+ type: PropType<YTooltipProps["placement"]>;
15
15
  default: string;
16
16
  };
17
17
  }>, {
18
- popperRef: import('vue').Ref<EleTooltipInstance, EleTooltipInstance>;
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<EleTooltipProps["placement"]>;
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: common.normalizeStringArray(
74
- props2.content,
75
- [imageConfig && !imageConfig.id, "el", "NDSP"],
76
- observeText
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 { imageId, imageStyleId, imageStyle, observeText, updateImageStyle } = util$1.useMutation({
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)) : svgMarkOption.value && markDisabled.value ? (vue.openBlock(), vue.createBlock(vue.Teleport, {
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
  }
@@ -9,5 +9,5 @@ export declare function getProps(contents?: any): {
9
9
  imageId: import('vue').ComputedRef<any>;
10
10
  };
11
11
  export declare const getOption: GetOption;
12
- export declare const svgProp: any;
12
+ export declare const svgProp: any[];
13
13
  export { svgText, svgContents };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "y-element-ultra",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host",