vxe-table 4.23.19 → 4.23.20

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 (124) hide show
  1. package/dist/all.esm.js +283 -251
  2. package/dist/all.esm.min.js +3 -3
  3. package/dist/style.css +4 -1
  4. package/dist/style.mini.css +1 -1
  5. package/es/components.d.ts +1 -3
  6. package/es/components.js +1 -2
  7. package/es/esm.index.d.ts +7 -0
  8. package/es/esm.index.js +8 -0
  9. package/es/style.css +4 -1
  10. package/es/style.mini.css +1 -1
  11. package/es/table/style.css +4 -1
  12. package/es/table/style.mini.css +1 -1
  13. package/es/ui/abandon.d.ts +82 -0
  14. package/es/ui/abandon.js +90 -0
  15. package/es/ui/index.d.ts +1 -83
  16. package/es/ui/index.js +2 -89
  17. package/es/ui/src/log.js +1 -1
  18. package/es/vxe-table/style.css +4 -1
  19. package/es/vxe-table/style.mini.css +1 -1
  20. package/lib/components.d.ts +1 -3
  21. package/lib/components.js +1 -2
  22. package/lib/esm.index.d.ts +7 -0
  23. package/lib/esm.index.js +39 -0
  24. package/lib/index.umd.js +248 -247
  25. package/lib/index.umd.min.js +3 -3
  26. package/lib/style.css +4 -1
  27. package/lib/style.mini.css +1 -1
  28. package/lib/table/style/style.css +4 -1
  29. package/lib/table/style/style.mini.css +1 -1
  30. package/lib/ui/abandon.d.ts +82 -0
  31. package/lib/ui/abandon.js +110 -0
  32. package/lib/ui/index.d.ts +1 -83
  33. package/lib/ui/index.js +3 -89
  34. package/lib/ui/src/log.js +1 -1
  35. package/lib/vxe-table/style/style.css +4 -1
  36. package/lib/vxe-table/style/style.mini.css +1 -1
  37. package/package.json +1 -1
  38. package/packages/colgroup/index.ts +22 -22
  39. package/packages/column/index.ts +22 -22
  40. package/packages/components.ts +42 -45
  41. package/packages/esm.index.ts +10 -0
  42. package/packages/grid/index.ts +18 -18
  43. package/packages/grid/src/emits.ts +5 -5
  44. package/packages/grid/src/grid.ts +2220 -2220
  45. package/packages/grid/src/props.ts +22 -22
  46. package/packages/index.ts +13 -13
  47. package/packages/locale/lang/ar-EG.ts +914 -914
  48. package/packages/locale/lang/de-DE.ts +914 -914
  49. package/packages/locale/lang/en-US.ts +914 -914
  50. package/packages/locale/lang/es-ES.ts +914 -914
  51. package/packages/locale/lang/fr-FR.ts +914 -914
  52. package/packages/locale/lang/hu-HU.ts +914 -914
  53. package/packages/locale/lang/hy-AM.ts +914 -914
  54. package/packages/locale/lang/id-ID.ts +914 -914
  55. package/packages/locale/lang/it-IT.ts +914 -914
  56. package/packages/locale/lang/ja-JP.ts +914 -914
  57. package/packages/locale/lang/ko-KR.ts +914 -914
  58. package/packages/locale/lang/ms-MY.ts +914 -914
  59. package/packages/locale/lang/nb-NO.ts +914 -914
  60. package/packages/locale/lang/pt-BR.ts +914 -914
  61. package/packages/locale/lang/ru-RU.ts +914 -914
  62. package/packages/locale/lang/th-TH.ts +914 -914
  63. package/packages/locale/lang/ug-CN.ts +914 -914
  64. package/packages/locale/lang/uk-UA.ts +914 -914
  65. package/packages/locale/lang/uz-UZ.ts +914 -914
  66. package/packages/locale/lang/vi-VN.ts +914 -914
  67. package/packages/locale/lang/zh-CHT.ts +914 -914
  68. package/packages/locale/lang/zh-CN.ts +914 -914
  69. package/packages/locale/lang/zh-HK.ts +914 -914
  70. package/packages/locale/lang/zh-MO.ts +914 -914
  71. package/packages/locale/lang/zh-TC.ts +914 -914
  72. package/packages/locale/lang/zh-TW.ts +914 -914
  73. package/packages/table/index.ts +26 -26
  74. package/packages/table/module/custom/hook.ts +510 -510
  75. package/packages/table/module/custom/panel.ts +2002 -2002
  76. package/packages/table/module/edit/hook.ts +1232 -1232
  77. package/packages/table/module/export/export-panel.ts +697 -697
  78. package/packages/table/module/export/hook.ts +2158 -2158
  79. package/packages/table/module/export/import-panel.ts +319 -319
  80. package/packages/table/module/export/util.ts +25 -25
  81. package/packages/table/module/filter/hook.ts +505 -505
  82. package/packages/table/module/filter/panel.ts +368 -368
  83. package/packages/table/module/keyboard/hook.ts +498 -498
  84. package/packages/table/module/menu/hook.ts +330 -330
  85. package/packages/table/module/menu/panel.ts +272 -272
  86. package/packages/table/module/validator/hook.ts +653 -653
  87. package/packages/table/render/index.ts +1819 -1819
  88. package/packages/table/src/body.ts +1078 -1078
  89. package/packages/table/src/cell.ts +1524 -1524
  90. package/packages/table/src/column.ts +192 -192
  91. package/packages/table/src/columnInfo.ts +232 -232
  92. package/packages/table/src/emits.ts +134 -134
  93. package/packages/table/src/footer.ts +425 -425
  94. package/packages/table/src/group.ts +67 -67
  95. package/packages/table/src/header.ts +661 -661
  96. package/packages/table/src/props.ts +336 -336
  97. package/packages/table/src/store.ts +14 -14
  98. package/packages/table/src/use/cell-view.ts +41 -41
  99. package/packages/table/src/use/index.ts +1 -1
  100. package/packages/table/src/util.ts +1206 -1206
  101. package/packages/toolbar/index.ts +18 -18
  102. package/packages/toolbar/src/toolbar.ts +768 -768
  103. package/packages/ui/abandon.ts +136 -0
  104. package/packages/ui/index.ts +404 -524
  105. package/packages/ui/src/anime.ts +51 -51
  106. package/packages/ui/src/comp.ts +3 -3
  107. package/packages/ui/src/dom.ts +466 -466
  108. package/packages/ui/src/log.ts +19 -19
  109. package/packages/ui/src/utils.ts +66 -66
  110. package/packages/ui/src/vn.ts +55 -55
  111. package/packages/v-x-e-table/index.d.ts +3 -3
  112. package/packages/v-x-e-table/index.ts +3 -3
  113. package/styles/components/table.scss +2 -1
  114. package/types/all.d.ts +76 -76
  115. package/types/index.d.ts +4 -4
  116. /package/dist/{iconfont.1794474448348.ttf → iconfont.1794633824975.ttf} +0 -0
  117. /package/dist/{iconfont.1794474448348.woff → iconfont.1794633824975.woff} +0 -0
  118. /package/dist/{iconfont.1794474448348.woff2 → iconfont.1794633824975.woff2} +0 -0
  119. /package/es/{iconfont.1794474448348.ttf → iconfont.1794633824975.ttf} +0 -0
  120. /package/es/{iconfont.1794474448348.woff → iconfont.1794633824975.woff} +0 -0
  121. /package/es/{iconfont.1794474448348.woff2 → iconfont.1794633824975.woff2} +0 -0
  122. /package/lib/{iconfont.1794474448348.ttf → iconfont.1794633824975.ttf} +0 -0
  123. /package/lib/{iconfont.1794474448348.woff → iconfont.1794633824975.woff} +0 -0
  124. /package/lib/{iconfont.1794474448348.woff2 → iconfont.1794633824975.woff2} +0 -0
@@ -0,0 +1,136 @@
1
+ import { VxeUI } from '@vxe-ui/core'
2
+ import { getFuncText } from './src/utils'
3
+
4
+ import type { VxeUploadDefines, VxePrintDefines, VxeGlobalConfig } from 'vxe-pc-ui'
5
+
6
+ /**
7
+ * 已废弃,兼容老版本
8
+ * @deprecated
9
+ */
10
+ export const setup = (options?: VxeGlobalConfig) => {
11
+ return VxeUI.setConfig(options)
12
+ }
13
+ /**
14
+ * 已废弃,兼容老版本
15
+ * @deprecated
16
+ */
17
+ VxeUI.setup = setup
18
+ /**
19
+ * 已废弃,兼容老版本
20
+ * @deprecated
21
+ */
22
+ export const config = (options?: VxeGlobalConfig) => {
23
+ return VxeUI.setConfig(options)
24
+ }
25
+ /**
26
+ * 已废弃,兼容老版本
27
+ * @deprecated
28
+ */
29
+ VxeUI.config = config
30
+ /**
31
+ * 已废弃,兼容老版本
32
+ * @deprecated
33
+ */
34
+ export const t = (key: string, args?: any) => {
35
+ return VxeUI.getI18n(key, args)
36
+ }
37
+ /**
38
+ * 已废弃,兼容老版本
39
+ * @deprecated
40
+ */
41
+ VxeUI.t = t
42
+ /**
43
+ * 已废弃,兼容老版本
44
+ * @deprecated
45
+ */
46
+ export const _t = (content: string | number | boolean | null | undefined, args?: any) => {
47
+ return getFuncText(content, args)
48
+ }
49
+ /**
50
+ * 已废弃,兼容老版本
51
+ * @deprecated
52
+ */
53
+ VxeUI._t = _t
54
+
55
+ /**
56
+ * 已废弃,兼容老版本
57
+ * @deprecated
58
+ */
59
+ export const VXETable = VxeUI
60
+
61
+ /**
62
+ * 已废弃,兼容老版本
63
+ * @deprecated
64
+ */
65
+ export const saveFile: VxeUploadDefines.SaveFileFunction = (options) => {
66
+ return VxeUI.saveFile(options)
67
+ }
68
+ /**
69
+ * 已废弃,兼容老版本
70
+ * @deprecated
71
+ */
72
+ export const readFile: VxeUploadDefines.ReadFileFunction = (options) => {
73
+ return VxeUI.readFile(options)
74
+ }
75
+ /**
76
+ * 已废弃,兼容老版本
77
+ * @deprecated
78
+ */
79
+ export const print: VxePrintDefines.PrintFunction = (options) => {
80
+ return VxeUI.print(options)
81
+ }
82
+ /**
83
+ * 已废弃,兼容老版本
84
+ * @deprecated
85
+ */
86
+ export const modal = {
87
+ /**
88
+ * 已废弃,兼容老版本
89
+ * @deprecated
90
+ */
91
+ get(id: any) {
92
+ return VxeUI.modal.get(id)
93
+ },
94
+ /**
95
+ * 已废弃,兼容老版本
96
+ * @deprecated
97
+ */
98
+ close(id: any) {
99
+ return VxeUI.modal.close(id)
100
+ },
101
+ /**
102
+ * 已废弃,兼容老版本
103
+ * @deprecated
104
+ */
105
+ open(options: any) {
106
+ return VxeUI.modal.open(options)
107
+ },
108
+ /**
109
+ * 已废弃,兼容老版本
110
+ * @deprecated
111
+ */
112
+ alert(content: any, title: any, options: any) {
113
+ return VxeUI.modal.alert(content, title, options)
114
+ },
115
+ /**
116
+ * 已废弃,兼容老版本
117
+ * @deprecated
118
+ */
119
+ confirm(content: any, title: any, options: any) {
120
+ return VxeUI.modal.confirm(content, title, options)
121
+ },
122
+ /**
123
+ * 已废弃,兼容老版本
124
+ * @deprecated
125
+ */
126
+ message(content: any, options: any) {
127
+ return VxeUI.modal.message(content, options)
128
+ },
129
+ /**
130
+ * 已废弃,兼容老版本
131
+ * @deprecated
132
+ */
133
+ notification(content: any, title: any, options: any) {
134
+ return VxeUI.modal.notification(content, title, options)
135
+ }
136
+ }