@innoways/drip-form-theme-antd 6.2.8 → 6.2.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed thme issues added version 6.2.8
8
+ - Updated dependencies
9
+ - @innoways/hooks@6.2.9
10
+ - @innoways/utils@6.2.9
11
+
3
12
  ## 6.2.8
4
13
 
5
14
  ### Patch Changes
package/dist/index.css CHANGED
@@ -81,12 +81,15 @@
81
81
  .flatpickr-day.selected {
82
82
  background: var(--ant-primary-color) !important;
83
83
  color: #fff;
84
- border-color: var(--ant-primary-color);
84
+ border-color: var(--ant-primary-color) !important;
85
85
  }
86
86
  .flatpickr-months .flatpickr-prev-month:hover svg,
87
87
  .flatpickr-months .flatpickr-next-month:hover svg {
88
88
  fill: var(--ant-primary-color-hover) !important;
89
89
  }
90
+ .ant-select-multiple .ant-select-selection-item {
91
+ background: var(--ant-primary-color) !important;
92
+ }
90
93
 
91
94
  .drip-form--colorpicker {
92
95
  display: flex;
package/dist/index.js CHANGED
@@ -23923,7 +23923,7 @@ var config$1 = {
23923
23923
  }
23924
23924
  };
23925
23925
 
23926
- var _excluded$2 = ["disabled", "onChange", "fieldData", "fieldKey", "dispatch", "style", "asyncValidate", "getKey", "columns", "columnsDataIndex", "values", "formMode", "optionData", "pagination", "amountOfDataPerPage", "url", "method", "jsonkey", "headers", "showAdd", "showEdit", "showDelete", "primaryColumnId", "childrenColumnName", "childPrimaryKey", "tableMode", "searchVisible"];
23926
+ var _excluded$2 = ["disabled", "onChange", "fieldData", "fieldKey", "dispatch", "style", "asyncValidate", "getKey", "columns", "columnsDataIndex", "values", "formMode", "optionData", "pagination", "amountOfDataPerPage", "url", "method", "jsonkey", "headers", "showAdd", "showEdit", "showDelete", "primaryColumnId", "childrenColumnName", "childPrimaryKey", "tableMode", "searchVisible", "token"];
23927
23927
 
23928
23928
  function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
23929
23929
 
@@ -23974,6 +23974,8 @@ var TableField = function TableField(_ref) {
23974
23974
  tableMode = _ref$tableMode === void 0 ? 'normal' : _ref$tableMode,
23975
23975
  _ref$searchVisible = _ref.searchVisible,
23976
23976
  searchVisible = _ref$searchVisible === void 0 ? true : _ref$searchVisible,
23977
+ _ref$token = _ref.token,
23978
+ token = _ref$token === void 0 ? '' : _ref$token,
23977
23979
  restProps = _objectWithoutProperties(_ref, _excluded$2);
23978
23980
 
23979
23981
  var _useState = useState([]),
@@ -24146,7 +24148,9 @@ var TableField = function TableField(_ref) {
24146
24148
  var config = {
24147
24149
  url: url,
24148
24150
  method: method || 'GET',
24149
- headers: configHeaders,
24151
+ headers: token ? {
24152
+ Authorization: "Bearer ".concat(token)
24153
+ } : configHeaders,
24150
24154
  jsonkey: jsonkey
24151
24155
  };
24152
24156
  setLoading(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@innoways/drip-form-theme-antd",
3
- "version": "6.2.8",
3
+ "version": "6.2.9",
4
4
  "author": "JDFED",
5
5
  "description": "drip-form antd主题包",
6
6
  "main": "dist/index.js",
@@ -31,8 +31,8 @@
31
31
  "dependencies": {
32
32
  "@ant-design/icons": "^4.7.0",
33
33
  "@babel/runtime": "^7.10.2",
34
- "@innoways/hooks": "^6.2.8",
35
- "@innoways/utils": "^6.2.8",
34
+ "@innoways/hooks": "^6.2.9",
35
+ "@innoways/utils": "^6.2.9",
36
36
  "antd": "^4.16.13",
37
37
  "flatpickr": "^4.6.13",
38
38
  "moment": "^2.26.0",