@cuvp1225/antd 0.1.19-beta.20 → 0.1.19-beta.21
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/dist/designer.js
CHANGED
@@ -6934,7 +6934,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
6934
6934
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
6935
6935
|
|
6936
6936
|
"use strict";
|
6937
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Menu: () => (/* binding */ Menu)
|
6937
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Menu: () => (/* binding */ Menu),\n/* harmony export */ MenuItem: () => (/* binding */ MenuItem)\n/* harmony export */ });\n/* harmony import */ var _music163_tango_boot__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @music163/tango-boot */ \"@music163/tango-boot\");\n/* harmony import */ var _music163_tango_boot__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_music163_tango_boot__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd */ \"../../node_modules/antd/es/menu/index.js\");\n\n\nvar Menu = (0,_music163_tango_boot__WEBPACK_IMPORTED_MODULE_0__.defineComponent)(antd__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n name: 'Menu'\n});\nvar MenuItem = (0,_music163_tango_boot__WEBPACK_IMPORTED_MODULE_0__.defineComponent)(antd__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Item, {\n name: 'MenuItem'\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvY29tcG9uZW50cy9tZW51LnRzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUF1RDtBQUNoQjtBQUVoQyxJQUFNQyxJQUFJLEdBQUdELHFFQUFlLENBQUNFLDRDQUFPLEVBQUU7RUFDekNDLElBQUksRUFBRTtBQUNWLENBQUMsQ0FBQztBQUVLLElBQU1DLFFBQVEsR0FBR0oscUVBQWUsQ0FBQ0UsNENBQU8sQ0FBQ0csSUFBSSxFQUFFO0VBQ2xERixJQUFJLEVBQUU7QUFDVixDQUFDLENBQUMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9DdXZwQW50ZC8uL3NyYy9jb21wb25lbnRzL21lbnUudHN4PzVlNWMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZGVmaW5lQ29tcG9uZW50IH0gZnJvbSAnQG11c2ljMTYzL3RhbmdvLWJvb3QnO1xyXG5pbXBvcnQgeyBNZW51IGFzIEFudE1lbnUgfSBmcm9tICdhbnRkJztcclxuXHJcbmV4cG9ydCBjb25zdCBNZW51ID0gZGVmaW5lQ29tcG9uZW50KEFudE1lbnUsIHtcclxuICAgIG5hbWU6ICdNZW51J1xyXG59KTtcclxuXHJcbmV4cG9ydCBjb25zdCBNZW51SXRlbSA9IGRlZmluZUNvbXBvbmVudChBbnRNZW51Lkl0ZW0sIHtcclxuICAgIG5hbWU6ICdNZW51SXRlbScsXHJcbn0pO1xyXG5cclxuXHJcbiJdLCJuYW1lcyI6WyJkZWZpbmVDb21wb25lbnQiLCJNZW51IiwiQW50TWVudSIsIm5hbWUiLCJNZW51SXRlbSIsIkl0ZW0iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/components/menu.tsx\n");
|
6938
6938
|
|
6939
6939
|
/***/ }),
|
6940
6940
|
|
package/dist/index.js
CHANGED
@@ -6934,7 +6934,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
6934
6934
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
6935
6935
|
|
6936
6936
|
"use strict";
|
6937
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Menu: () => (/* binding */ Menu)
|
6937
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Menu: () => (/* binding */ Menu),\n/* harmony export */ MenuItem: () => (/* binding */ MenuItem)\n/* harmony export */ });\n/* harmony import */ var _music163_tango_boot__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @music163/tango-boot */ \"@music163/tango-boot\");\n/* harmony import */ var _music163_tango_boot__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_music163_tango_boot__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd */ \"../../node_modules/antd/es/menu/index.js\");\n\n\nvar Menu = (0,_music163_tango_boot__WEBPACK_IMPORTED_MODULE_0__.defineComponent)(antd__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n name: 'Menu'\n});\nvar MenuItem = (0,_music163_tango_boot__WEBPACK_IMPORTED_MODULE_0__.defineComponent)(antd__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Item, {\n name: 'MenuItem'\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvY29tcG9uZW50cy9tZW51LnRzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUF1RDtBQUNoQjtBQUVoQyxJQUFNQyxJQUFJLEdBQUdELHFFQUFlLENBQUNFLDRDQUFPLEVBQUU7RUFDekNDLElBQUksRUFBRTtBQUNWLENBQUMsQ0FBQztBQUVLLElBQU1DLFFBQVEsR0FBR0oscUVBQWUsQ0FBQ0UsNENBQU8sQ0FBQ0csSUFBSSxFQUFFO0VBQ2xERixJQUFJLEVBQUU7QUFDVixDQUFDLENBQUMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9DdXZwQW50ZC8uL3NyYy9jb21wb25lbnRzL21lbnUudHN4PzVlNWMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZGVmaW5lQ29tcG9uZW50IH0gZnJvbSAnQG11c2ljMTYzL3RhbmdvLWJvb3QnO1xyXG5pbXBvcnQgeyBNZW51IGFzIEFudE1lbnUgfSBmcm9tICdhbnRkJztcclxuXHJcbmV4cG9ydCBjb25zdCBNZW51ID0gZGVmaW5lQ29tcG9uZW50KEFudE1lbnUsIHtcclxuICAgIG5hbWU6ICdNZW51J1xyXG59KTtcclxuXHJcbmV4cG9ydCBjb25zdCBNZW51SXRlbSA9IGRlZmluZUNvbXBvbmVudChBbnRNZW51Lkl0ZW0sIHtcclxuICAgIG5hbWU6ICdNZW51SXRlbScsXHJcbn0pO1xyXG5cclxuXHJcbiJdLCJuYW1lcyI6WyJkZWZpbmVDb21wb25lbnQiLCJNZW51IiwiQW50TWVudSIsIm5hbWUiLCJNZW51SXRlbSIsIkl0ZW0iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/components/menu.tsx\n");
|
6938
6938
|
|
6939
6939
|
/***/ }),
|
6940
6940
|
|
@@ -1,6 +1,2 @@
|
|
1
|
-
|
2
|
-
import
|
3
|
-
export declare const Menu: ({ [SLOT.id]: dataId, [SLOT.dnd]: dataDnd, style, ...rest }: MenuProps & {
|
4
|
-
[key: string]: any;
|
5
|
-
children?: React.ReactNode;
|
6
|
-
}) => React.JSX.Element;
|
1
|
+
export declare const Menu: import("react").ForwardRefExoticComponent<import("antd").MenuProps & import("@music163/tango-boot").TangoComponentProps & import("react").RefAttributes<unknown>>;
|
2
|
+
export declare const MenuItem: import("react").ForwardRefExoticComponent<import("antd").MenuItemProps & import("@music163/tango-boot").TangoComponentProps & import("react").RefAttributes<unknown>>;
|
@@ -1,17 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Menu = void 0;
|
4
|
-
const
|
3
|
+
exports.MenuItem = exports.Menu = void 0;
|
4
|
+
const tango_boot_1 = require("@music163/tango-boot");
|
5
5
|
const antd_1 = require("antd");
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
//items,
|
13
|
-
dataId = _a[_b], _c = slottype_1.SLOT.dnd, dataDnd = _a[_c], { style } = _a, rest = tslib_1.__rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
14
|
-
return (react_1.default.createElement("div", { "data-dnd": dataDnd, "data-id": rest.tid, draggable: true, style: style },
|
15
|
-
react_1.default.createElement(antd_1.Menu, Object.assign({}, rest), rest.children)));
|
16
|
-
};
|
17
|
-
exports.Menu = Menu;
|
6
|
+
exports.Menu = (0, tango_boot_1.defineComponent)(antd_1.Menu, {
|
7
|
+
name: 'Menu'
|
8
|
+
});
|
9
|
+
exports.MenuItem = (0, tango_boot_1.defineComponent)(antd_1.Menu.Item, {
|
10
|
+
name: 'MenuItem',
|
11
|
+
});
|
@@ -1,6 +1,2 @@
|
|
1
|
-
|
2
|
-
import
|
3
|
-
export declare const Menu: ({ [SLOT.id]: dataId, [SLOT.dnd]: dataDnd, style, ...rest }: MenuProps & {
|
4
|
-
[key: string]: any;
|
5
|
-
children?: React.ReactNode;
|
6
|
-
}) => React.JSX.Element;
|
1
|
+
export declare const Menu: import("react").ForwardRefExoticComponent<import("antd").MenuProps & import("@music163/tango-boot").TangoComponentProps & import("react").RefAttributes<unknown>>;
|
2
|
+
export declare const MenuItem: import("react").ForwardRefExoticComponent<import("antd").MenuItemProps & import("@music163/tango-boot").TangoComponentProps & import("react").RefAttributes<unknown>>;
|
@@ -1,13 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { defineComponent } from '@music163/tango-boot';
|
2
2
|
import { Menu as AntMenu } from 'antd';
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
//items,
|
10
|
-
dataId = _a[_b], _c = SLOT.dnd, dataDnd = _a[_c], { style } = _a, rest = __rest(_a, [typeof _b === "symbol" ? _b : _b + "", typeof _c === "symbol" ? _c : _c + "", "style"]);
|
11
|
-
return (React.createElement("div", { "data-dnd": dataDnd, "data-id": rest.tid, draggable: true, style: style },
|
12
|
-
React.createElement(AntMenu, Object.assign({}, rest), rest.children)));
|
13
|
-
};
|
3
|
+
export const Menu = defineComponent(AntMenu, {
|
4
|
+
name: 'Menu'
|
5
|
+
});
|
6
|
+
export const MenuItem = defineComponent(AntMenu.Item, {
|
7
|
+
name: 'MenuItem',
|
8
|
+
});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cuvp1225/antd",
|
3
|
-
"version": "0.1.19-beta.
|
3
|
+
"version": "0.1.19-beta.21",
|
4
4
|
"description": "antd components for tango app",
|
5
5
|
"author": "wwsun <ww.sww@outlook.com>",
|
6
6
|
"homepage": "https://github.com/netease/tango-components#readme",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"classnames": "^2.3.2",
|
56
56
|
"coral-system": "^1.0.6"
|
57
57
|
},
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "04576e87dd383fbd7ef202a2ebb1fddba24ca1e6"
|
59
59
|
}
|