@tmagic/element-plus-adapter 1.4.16 → 1.5.0-beta.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useZIndex, ElMessage, ElMessageBox, ElAutocomplete, ElBadge, ElButton, ElCard, ElCascader, ElCheckbox, ElCheckboxGroup, ElCol, ElCollapse, ElCollapseItem, ElColorPicker, ElDatePicker, ElDialog, ElDivider, ElDrawer, ElDropdown, ElDropdownItem, ElDropdownMenu, ElForm, ElFormItem, ElIcon, ElInput, ElInputNumber, ElOption, ElOptionGroup, ElPagination,
|
|
1
|
+
import { useZIndex, ElMessage, ElMessageBox, ElAutocomplete, ElBadge, ElButton, ElCard, ElCascader, ElCheckbox, ElCheckboxGroup, ElCol, ElCollapse, ElCollapseItem, ElColorPicker, ElDatePicker, ElDialog, ElDivider, ElDrawer, ElDropdown, ElDropdownItem, ElDropdownMenu, ElForm, ElFormItem, ElIcon, ElInput, ElInputNumber, ElOption, ElOptionGroup, ElPagination, ElRadio, ElRadioButton, ElRadioGroup, ElRow, ElScrollbar, ElSelect, ElStep, ElSteps, ElSwitch, ElTable, ElTableColumn, ElTabPane, ElTabs, ElTag, ElTimePicker, ElTooltip, ElTree, ElUpload } from 'element-plus';
|
|
2
2
|
|
|
3
3
|
const adapter = {
|
|
4
4
|
useZIndex,
|
|
@@ -109,10 +109,6 @@ const adapter = {
|
|
|
109
109
|
component: ElPagination,
|
|
110
110
|
props: (props) => props
|
|
111
111
|
},
|
|
112
|
-
popover: {
|
|
113
|
-
component: ElPopover,
|
|
114
|
-
props: (props) => props
|
|
115
|
-
},
|
|
116
112
|
radio: {
|
|
117
113
|
component: ElRadio,
|
|
118
114
|
props: (props) => props
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.5.0-beta.0",
|
|
3
3
|
"name": "@tmagic/element-plus-adapter",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/tmagic-element-plus-adapter.umd.cjs",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"vite": "^5.3.5"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"element-plus": ">=2.
|
|
42
|
+
"element-plus": ">=2.8.0",
|
|
43
43
|
"typescript": "*",
|
|
44
|
-
"@tmagic/design": "1.
|
|
44
|
+
"@tmagic/design": "1.5.0-beta.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependenciesMeta": {
|
|
47
47
|
"typescript": {
|
|
@@ -49,9 +49,6 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
|
-
"build": "
|
|
53
|
-
"build:type": "npm run clear:type && tsc --declaration --emitDeclarationOnly --project tsconfig.build.json",
|
|
54
|
-
"clear:type": "rimraf ./types",
|
|
55
|
-
"check:type": "tsc --noEmit --project tsconfig.build.json"
|
|
52
|
+
"build": "vite build"
|
|
56
53
|
}
|
|
57
54
|
}
|
package/src/index.ts
CHANGED
|
@@ -27,7 +27,6 @@ import {
|
|
|
27
27
|
ElOption,
|
|
28
28
|
ElOptionGroup,
|
|
29
29
|
ElPagination,
|
|
30
|
-
ElPopover,
|
|
31
30
|
ElRadio,
|
|
32
31
|
ElRadioButton,
|
|
33
32
|
ElRadioGroup,
|
|
@@ -76,7 +75,6 @@ import type {
|
|
|
76
75
|
OptionProps,
|
|
77
76
|
PaginationProps,
|
|
78
77
|
PluginOptions,
|
|
79
|
-
PopoverProps,
|
|
80
78
|
RadioButtonProps,
|
|
81
79
|
RadioGroupProps,
|
|
82
80
|
RadioProps,
|
|
@@ -230,11 +228,6 @@ const adapter: PluginOptions = {
|
|
|
230
228
|
props: (props: PaginationProps) => props,
|
|
231
229
|
},
|
|
232
230
|
|
|
233
|
-
popover: {
|
|
234
|
-
component: ElPopover as any,
|
|
235
|
-
props: (props: PopoverProps) => props,
|
|
236
|
-
},
|
|
237
|
-
|
|
238
231
|
radio: {
|
|
239
232
|
component: ElRadio as any,
|
|
240
233
|
props: (props: RadioProps) => props,
|
package/types/index.d.ts
CHANGED