@sooloer/pages 0.1.4 → 0.1.6

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,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["label", "name", "type", "collapsed", "widgetProps", "labelWidth", "fieldRender", "required"],
2
+ var _excluded = ["label", "name", "type", "collapsed", "widgetProps", "labelWidth", "fieldRender", "required", "fixed"],
3
3
  _excluded2 = ["placeholder", "options"];
4
4
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
5
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -31,6 +31,8 @@ var Field = function Field(_ref) {
31
31
  fieldRender = _ref.fieldRender,
32
32
  _ref$required = _ref.required,
33
33
  required = _ref$required === void 0 ? false : _ref$required,
34
+ _ref$fixed = _ref.fixed,
35
+ fixed = _ref$fixed === void 0 ? false : _ref$fixed,
34
36
  argField = _objectWithoutProperties(_ref, _excluded);
35
37
  // 当前时间之后日期禁止操作
36
38
  var disabledDate = function disabledDate(current) {
@@ -1,5 +1,5 @@
1
1
  import { createGlobalStyle } from 'styled-components';
2
- var Style = createGlobalStyle([".sooloer-table{height:100%;> .", "-spin-nested-loading{height:100%;> .", "-spin-container{height:100%;}}.pagination-hidden{.", "-table{height:100%;}}.", "-table{height:calc(100% - 48px);}.", "-table-container{height:100%;}.", "-table-body{height:100%;}.", "-table-placeholder{> td{border-bottom:none;}}.", "-pagination-total-text{flex:1;}&-global-checkbox{margin-left:12px;}.sooloer-table-pagination{margin:12px 0 !important;}}"], function (props) {
2
+ var Style = createGlobalStyle([".sooloer-table{height:100%;> .", "-spin-nested-loading{height:100%;> .", "-spin-container{height:100%;}}&.pagination-hidden{.", "-table{height:100%;}}.", "-table{height:calc(100% - 48px);}.", "-table-container{height:100%;}.", "-table-body{height:100%;}.", "-table-placeholder{> td{border-bottom:none !important;}}.", "-pagination-total-text{flex:1;}&-global-checkbox{margin-left:12px;}.sooloer-table-pagination{margin:12px 0 !important;}}"], function (props) {
3
3
  return props.prefix;
4
4
  }, function (props) {
5
5
  return props.prefix;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sooloer/pages",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",