shineout 3.9.0-beta.31 → 3.9.0-beta.33

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/cjs/index.js CHANGED
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
522
522
  // 此文件由脚本自动生成,请勿直接修改。
523
523
  // This file was generated automatically by a script. Please do not modify it directly.
524
524
  var _default = exports.default = {
525
- version: '3.9.0-beta.31'
525
+ version: '3.9.0-beta.33'
526
526
  };
@@ -19,7 +19,7 @@ import ready from './dom/ready';
19
19
  import isJson from './validate/isJson';
20
20
  import * as type from './type';
21
21
  import accept from './accept';
22
- declare const validate: () => void;
22
+ declare const validate: <T>(value: T | undefined, formData: import("@sheinx/hooks").ObjectType, rules: import("@sheinx/hooks").FormItemRule<T>, p: import("@sheinx/hooks").ObjectType) => Promise<true | Error>;
23
23
  declare const cssAccessors: {};
24
24
  declare const cssInject: {};
25
25
  export { classname, clone, color, flat, func, hash, is, number, objects, shallowEqual, string, tree, detect, doc, element, normalizeWheel, position, ready, isJson, validate, cssAccessors, cssInject, type, accept, };
@@ -84,12 +84,11 @@ var _ready = _interopRequireDefault(require("./dom/ready"));
84
84
  var _isJson = _interopRequireDefault(require("./validate/isJson"));
85
85
  var type = _interopRequireWildcard(require("./type"));
86
86
  exports.type = type;
87
+ var _hooks = require("@sheinx/hooks");
87
88
  var _accept = _interopRequireDefault(require("./accept"));
88
89
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
89
90
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
90
91
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
91
- // import validate from './validate';
92
-
93
- var validate = exports.validate = function validate() {};
92
+ var validate = exports.validate = _hooks.util.validate;
94
93
  var cssAccessors = exports.cssAccessors = {};
95
94
  var cssInject = exports.cssInject = {};
package/dist/shineout.js CHANGED
@@ -12400,7 +12400,7 @@ var handleStyle = function handleStyle(style) {
12400
12400
  };
12401
12401
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12402
12402
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12403
- /* harmony default export */ var version = ('3.9.0-beta.31');
12403
+ /* harmony default export */ var version = ('3.9.0-beta.33');
12404
12404
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12405
12405
 
12406
12406
 
@@ -43023,6 +43023,7 @@ var result_Result = function Result(props) {
43023
43023
  }, getDataAttribute({
43024
43024
  type: disabled === true ? 'dark' : undefined
43025
43025
  })), {}, {
43026
+ title: typeof content === 'string' ? content : undefined,
43026
43027
  children: content
43027
43028
  }), index);
43028
43029
  };
@@ -43047,6 +43048,7 @@ var result_Result = function Result(props) {
43047
43048
  var content = renderResultContent(result[0]);
43048
43049
  return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
43049
43050
  className: styles.ellipsis,
43051
+ title: typeof content === 'string' ? content : undefined,
43050
43052
  children: content
43051
43053
  }, 'single');
43052
43054
  };
@@ -73977,10 +73979,9 @@ function accept_attrAccept(file, acceptedFiles) {
73977
73979
 
73978
73980
 
73979
73981
 
73980
- // import validate from './validate';
73981
73982
 
73982
73983
 
73983
- var src_utils_validate = function validate() {};
73984
+ var src_utils_validate = validate;
73984
73985
  var cssAccessors = {};
73985
73986
  var cssInject = {};
73986
73987
 
@@ -74294,7 +74295,7 @@ var upload_interface = __webpack_require__(8821);
74294
74295
 
74295
74296
 
74296
74297
  /* harmony default export */ var src_0 = ({
74297
- version: '3.9.0-beta.31'
74298
+ version: '3.9.0-beta.33'
74298
74299
  });
74299
74300
  }();
74300
74301
  /******/ return __webpack_exports__;