@para-ui/core 2.1.25 → 2.1.26
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/AutoTips/index.d.ts +1 -0
- package/Collapse/index.d.ts +1 -0
- package/ComBox/index.d.ts +16 -0
- package/ComBox/index.js +16 -0
- package/ComBox/interface.d.ts +5 -0
- package/ComboSelect/index.js +1 -1
- package/Form/index.js +2 -2
- package/FormItem/index.js +2 -2
- package/GlobalContext/componentsProps.d.ts +8 -0
- package/GlobalContext/confirmLocale.d.ts +7 -0
- package/GlobalContext/index.d.ts +5 -7
- package/GlobalContext/index.js +1 -1
- package/InputLang/index.js +19 -19
- package/MultiBox/index.js +2 -2
- package/Pagination/index.js +1 -1
- package/ParauiProvider/index.js +1 -1
- package/README.md +8 -0
- package/Search/index.js +2 -2
- package/Select/index.d.ts +2 -3
- package/Select/index.js +1 -1
- package/Select/selectCom.d.ts +11 -0
- package/SelectInput/index.js +1 -1
- package/SingleBox/index.js +2 -2
- package/Table/index.js +1 -1
- package/TextField/index.js +2 -2
- package/TextField/textFieldCom.d.ts +11 -0
- package/Transfer/index.js +2 -2
- package/Upload/ImgCrop/interface.d.ts +1 -1
- package/Upload/index.js +1 -1
- package/Upload/lang/en_US.d.ts +1 -0
- package/Upload/lang/index.d.ts +2 -0
- package/Upload/lang/zh_CN.d.ts +1 -0
- package/cdn/ComBox/index.js +1 -0
- package/cdn/ComboSelect/index.js +1 -1
- package/cdn/Form/index.js +20 -20
- package/cdn/FormItem/index.js +5 -5
- package/cdn/GlobalContext/index.js +1 -1
- package/cdn/InputLang/index.js +2 -2
- package/cdn/MultiBox/index.js +4 -4
- package/cdn/Pagination/index.js +1 -1
- package/cdn/ParauiProvider/index.js +1 -1
- package/cdn/Search/index.js +19 -19
- package/cdn/Select/index.js +1 -1
- package/cdn/SelectInput/index.js +1 -1
- package/cdn/SingleBox/index.js +4 -4
- package/cdn/Table/index.js +4 -4
- package/cdn/TextField/index.js +4 -4
- package/cdn/Transfer/index.js +2 -2
- package/cdn/Upload/index.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/AutoTips/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export interface AutoTipsProps {
|
|
|
14
14
|
tips?: React.ReactNode;
|
|
15
15
|
/** 定位方向 */
|
|
16
16
|
placement?: "top-start" | "bottom-end" | "bottom-start" | "bottom" | "left-end" | "left-start" | "left" | "right-end" | "right-start" | "right" | "top-end" | "top" | undefined;
|
|
17
|
+
children?: any;
|
|
17
18
|
}
|
|
18
19
|
declare const AutoTips: FunctionComponent<AutoTipsProps>;
|
|
19
20
|
export default AutoTips;
|
package/Collapse/index.d.ts
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author linhd
|
|
3
|
+
* @date 2022/4/22 4:57 PM
|
|
4
|
+
* @description 用来给组件套一层,处理一些公共逻辑
|
|
5
|
+
*/
|
|
6
|
+
import { FunctionComponent } from "react";
|
|
7
|
+
export interface ComBoxProps {
|
|
8
|
+
/** 组件 */
|
|
9
|
+
Com: any;
|
|
10
|
+
/** 组件属性 */
|
|
11
|
+
comProps: any;
|
|
12
|
+
/** 组件名称 */
|
|
13
|
+
comName: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const ComBox: FunctionComponent<ComBoxProps>;
|
|
16
|
+
export default ComBox;
|
package/ComBox/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react"),require("@para-ui/core/GlobalContext")):"function"==typeof define&&define.amd?define(["react","@para-ui/core/GlobalContext"],r):"object"==typeof exports?exports.ParaUI=r(require("react"),require("@para-ui/core/GlobalContext")):e.ParaUI=r(e.react,e["@para-ui/core/GlobalContext"])}(self,(function(e,r){return function(){"use strict";var t={7418:function(e){
|
|
2
|
+
/*
|
|
3
|
+
object-assign
|
|
4
|
+
(c) Sindre Sorhus
|
|
5
|
+
@license MIT
|
|
6
|
+
*/
|
|
7
|
+
var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,a){for(var u,c,i=n(e),f=1;f<arguments.length;f++){for(var p in u=Object(arguments[f]))t.call(u,p)&&(i[p]=u[p]);if(r){c=r(u);for(var l=0;l<c.length;l++)o.call(u,c[l])&&(i[c[l]]=u[c[l]])}}return i}},5251:function(e,r,t){
|
|
8
|
+
/** @license React v17.0.2
|
|
9
|
+
* react-jsx-runtime.production.min.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
t(7418);var o=t(8156),n=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;n=a("react.element"),a("react.fragment")}var u=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,i={key:!0,ref:!0,__self:!0,__source:!0};function f(e,r,t){var o,a={},f=null,p=null;for(o in void 0!==t&&(f=""+t),void 0!==r.key&&(f=""+r.key),void 0!==r.ref&&(p=r.ref),r)c.call(r,o)&&!i.hasOwnProperty(o)&&(a[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===a[o]&&(a[o]=r[o]);return{$$typeof:n,type:e,key:f,ref:p,props:a,_owner:u.current}}r.jsx=f},5893:function(e,r,t){e.exports=t(5251)},5395:function(e){e.exports=r},8156:function(r){r.exports=e}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,{a:r}),r},n.d=function(e,r){for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){n.r(a),n.d(a,{ComBox:function(){return i}});var e=n(5893),r=n(8156),t=n.n(r),o=n(5395),u=n.n(o),c=function(){return c=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},c.apply(this,arguments)},i=function(r){var o,n=r.Com,a=r.comProps,i=r.comName,f=t().useContext(u()).componentsProps;return(0,e.jsx)(n,c({},(o=f&&f[i],c(c({},o),a))))};a.default=i}(),a}()}));
|