@elementplus-kit/uikit 1.5.0 → 1.6.0

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 (66) hide show
  1. package/dist/index.css +1 -0
  2. package/dist/index.mjs +1079 -0
  3. package/dist/index.umd.js +1 -0
  4. package/package.json +14 -4
  5. package/aaaindex.ts +0 -55
  6. package/build.log +0 -0
  7. package/components/button/index.ts +0 -4
  8. package/components/button/src/constants.ts +0 -50
  9. package/components/button/src/index.ts +0 -264
  10. package/components/button/style/index.scss +0 -3
  11. package/components/config.ts +0 -4
  12. package/components/dialog/index.ts +0 -6
  13. package/components/dialog/src/constants.ts +0 -3
  14. package/components/dialog/src/index.ts +0 -54
  15. package/components/dialog/style/index.scss +0 -18
  16. package/components/dictLabel/index.ts +0 -4
  17. package/components/dictLabel/src/index.vue +0 -21
  18. package/components/drawer/index.ts +0 -4
  19. package/components/drawer/src/constants.ts +0 -3
  20. package/components/drawer/src/index.ts +0 -53
  21. package/components/drawer/style/index.scss +0 -18
  22. package/components/form/index.ts +0 -4
  23. package/components/form/src/FormItem.ts +0 -397
  24. package/components/form/src/constants.ts +0 -161
  25. package/components/form/src/index.ts +0 -207
  26. package/components/form/src/types.ts +0 -39
  27. package/components/form/src/utils.ts +0 -4
  28. package/components/form/style/index.scss +0 -5
  29. package/components/pagination/index.ts +0 -4
  30. package/components/pagination/src/constants.ts +0 -5
  31. package/components/pagination/src/index.ts +0 -50
  32. package/components/search/index.ts +0 -4
  33. package/components/search/src/index.tsx +0 -286
  34. package/components/search/style/index.scss +0 -104
  35. package/components/table/index.ts +0 -4
  36. package/components/table/src/TableColumn.ts +0 -116
  37. package/components/table/src/constants.ts +0 -42
  38. package/components/table/src/index.ts +0 -250
  39. package/components/table/src/index2.ts +0 -219
  40. package/components/table/src/index3.ts +0 -233
  41. package/components/table/src/tableDictLabel.vue +0 -21
  42. package/components/table/src/tableaa.ts +0 -71
  43. package/components/table/src/type.ts +0 -0
  44. package/components/table/type/index.scss +0 -0
  45. package/components/table2/index.ts +0 -4
  46. package/components/table2/src/config.ts +0 -5
  47. package/components/table2/src/index.ts +0 -12
  48. package/components/table2/src/render.ts +0 -136
  49. package/components/table2/src/types.ts +0 -39
  50. package/components/table2/style/index.scss +0 -0
  51. package/components//346/250/241/346/235/277/index.tsx +0 -57
  52. package/components//346/250/241/346/235/277/ttt.ts +0 -66
  53. package/components//346/250/241/346/235/277/ttt.vue +0 -18
  54. package/index.ts +0 -2
  55. package/vite.config.ts +0 -26
  56. package//345/205/266/344/273/226/core/dialog/elementPlus/dialogWarp.vue +0 -151
  57. package//345/205/266/344/273/226/core/dialog/index.ts +0 -10
  58. package//345/205/266/344/273/226/core/form/elementPlus/elementWarp.ts +0 -15
  59. package//345/205/266/344/273/226/core/form/elementPlus/elementWarp.vue +0 -16
  60. package//345/205/266/344/273/226/core/form/elementPlus/formRender.ts +0 -55
  61. package//345/205/266/344/273/226/core/form/index.ts +0 -10
  62. package//345/205/266/344/273/226/core/table/config.ts +0 -5
  63. package//345/205/266/344/273/226/core/table/render.ts +0 -91
  64. package//345/205/266/344/273/226/core/table/warp.ts +0 -11
  65. package//345/205/266/344/273/226/core/utils/fetch.ts +0 -58
  66. package//345/205/266/344/273/226/useMessage.ts +0 -95
@@ -1,95 +0,0 @@
1
- import { ElMessage, ElMessageBox, ElNotification } from 'element-plus'
2
- import { useI18n } from './useI18n'
3
- export const useMessage = () => {
4
- const { t } = useI18n()
5
- return {
6
- // 消息提示
7
- info(content: string) {
8
- ElMessage.info(content)
9
- },
10
- // 错误消息
11
- error(content: string) {
12
- ElMessage.error(content)
13
- },
14
- // 成功消息
15
- success(content: string) {
16
- ElMessage.success(content)
17
- },
18
- // 警告消息
19
- warning(content: string) {
20
- ElMessage.warning(content)
21
- },
22
- // 弹出提示
23
- alert(content: string) {
24
- ElMessageBox.alert(content, t('common.confirmTitle'))
25
- },
26
- // 错误提示
27
- alertError(content: string) {
28
- ElMessageBox.alert(content, t('common.confirmTitle'), { type: 'error' })
29
- },
30
- // 成功提示
31
- alertSuccess(content: string) {
32
- ElMessageBox.alert(content, t('common.confirmTitle'), { type: 'success' })
33
- },
34
- // 警告提示
35
- alertWarning(content: string) {
36
- ElMessageBox.alert(content, t('common.confirmTitle'), { type: 'warning' })
37
- },
38
- // 通知提示
39
- notify(content: string) {
40
- ElNotification.info(content)
41
- },
42
- // 错误通知
43
- notifyError(content: string) {
44
- ElNotification.error(content)
45
- },
46
- // 成功通知
47
- notifySuccess(content: string) {
48
- ElNotification.success(content)
49
- },
50
- // 警告通知
51
- notifyWarning(content: string) {
52
- ElNotification.warning(content)
53
- },
54
- // 确认窗体
55
- confirm(content: string, tip?: string) {
56
- return ElMessageBox.confirm(content, tip ? tip : t('common.confirmTitle'), {
57
- confirmButtonText: t('common.ok'),
58
- cancelButtonText: t('common.cancel'),
59
- type: 'warning'
60
- })
61
- },
62
- // 删除窗体
63
- delConfirm(content?: string, tip?: string) {
64
- return ElMessageBox.confirm(
65
- content ? content : t('common.delMessage'),
66
- tip ? tip : t('common.confirmTitle'),
67
- {
68
- confirmButtonText: t('common.ok'),
69
- cancelButtonText: t('common.cancel'),
70
- type: 'warning'
71
- }
72
- )
73
- },
74
- // 导出窗体
75
- exportConfirm(content?: string, tip?: string) {
76
- return ElMessageBox.confirm(
77
- content ? content : t('common.exportMessage'),
78
- tip ? tip : t('common.confirmTitle'),
79
- {
80
- confirmButtonText: t('common.ok'),
81
- cancelButtonText: t('common.cancel'),
82
- type: 'warning'
83
- }
84
- )
85
- },
86
- // 提交内容
87
- prompt(content: string, tip: string) {
88
- return ElMessageBox.prompt(content, tip, {
89
- confirmButtonText: t('common.ok'),
90
- cancelButtonText: t('common.cancel'),
91
- type: 'warning'
92
- })
93
- }
94
- }
95
- }