wargerm 0.6.2 → 0.6.3

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/index.css CHANGED
@@ -40596,7 +40596,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40596
40596
  border-radius: 50%;
40597
40597
  width: 30px;
40598
40598
  line-height: 30px;
40599
- height: 30px;
40599
+ height: 100%;
40600
40600
  }
40601
40601
  [data-prefers-color='nt'] .ant-picker-cell-in-view {
40602
40602
  color: #708191;
@@ -40622,7 +40622,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40622
40622
  }
40623
40623
  [data-prefers-color='nt'] .ant-picker-cell .ant-picker-cell-inner {
40624
40624
  border-radius: 50%;
40625
- height: 30px;
40625
+ height: 100%;
40626
40626
  width: 30px;
40627
40627
  }
40628
40628
  [data-prefers-color='nt'] .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
@@ -40633,29 +40633,29 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40633
40633
  border-radius: 50%;
40634
40634
  width: 30px;
40635
40635
  line-height: 30px;
40636
- height: 30px;
40636
+ height: 100%;
40637
40637
  }
40638
40638
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner {
40639
40639
  width: 30px;
40640
40640
  line-height: 30px;
40641
- height: 30px;
40641
+ height: 100%;
40642
40642
  }
40643
40643
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner {
40644
40644
  width: 30px;
40645
40645
  line-height: 30px;
40646
- height: 30px;
40646
+ height: 100%;
40647
40647
  }
40648
40648
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
40649
40649
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
40650
40650
  [data-prefers-color='nt'] [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
40651
40651
  width: 30px;
40652
40652
  line-height: 30px;
40653
- height: 30px;
40653
+ height: 100%;
40654
40654
  }
40655
40655
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
40656
40656
  border-radius: 50%;
40657
40657
  width: 30px;
40658
- height: 30px;
40658
+ height: 100%;
40659
40659
  padding-left: 8px;
40660
40660
  margin-left: 6px;
40661
40661
  background: linear-gradient(to right, #3babd6 0%, #60c6da 100%);
@@ -40668,7 +40668,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40668
40668
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover {
40669
40669
  border-radius: 50%;
40670
40670
  width: 30px;
40671
- height: 30px;
40671
+ height: 100%;
40672
40672
  padding-left: 8px;
40673
40673
  margin-left: 6px;
40674
40674
  background: #bdd0e3;
@@ -40678,7 +40678,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40678
40678
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner {
40679
40679
  border-radius: 50%;
40680
40680
  width: 30px;
40681
- height: 30px;
40681
+ height: 100%;
40682
40682
  padding-left: 8px;
40683
40683
  margin-left: 6px;
40684
40684
  }
@@ -40690,6 +40690,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40690
40690
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
40691
40691
  background: linear-gradient(#3babd6 0%, #60c6da 100%);
40692
40692
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40693
+ height: 100%;
40693
40694
  }
40694
40695
  [data-prefers-color='nt'] .ant-radio-wrapper {
40695
40696
  color: #708191;
@@ -40923,7 +40924,6 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40923
40924
  background: #e7e9ed;
40924
40925
  }
40925
40926
  [data-prefers-color='nt'] .ant-select-arrow {
40926
- right: 0;
40927
40927
  top: 6px;
40928
40928
  height: 100%;
40929
40929
  }
@@ -40596,7 +40596,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40596
40596
  border-radius: 50%;
40597
40597
  width: 30px;
40598
40598
  line-height: 30px;
40599
- height: 30px;
40599
+ height: 100%;
40600
40600
  }
40601
40601
  [data-prefers-color='nt'] .ant-picker-cell-in-view {
40602
40602
  color: #708191;
@@ -40622,7 +40622,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40622
40622
  }
40623
40623
  [data-prefers-color='nt'] .ant-picker-cell .ant-picker-cell-inner {
40624
40624
  border-radius: 50%;
40625
- height: 30px;
40625
+ height: 100%;
40626
40626
  width: 30px;
40627
40627
  }
40628
40628
  [data-prefers-color='nt'] .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
@@ -40633,29 +40633,29 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40633
40633
  border-radius: 50%;
40634
40634
  width: 30px;
40635
40635
  line-height: 30px;
40636
- height: 30px;
40636
+ height: 100%;
40637
40637
  }
40638
40638
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner {
40639
40639
  width: 30px;
40640
40640
  line-height: 30px;
40641
- height: 30px;
40641
+ height: 100%;
40642
40642
  }
40643
40643
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner {
40644
40644
  width: 30px;
40645
40645
  line-height: 30px;
40646
- height: 30px;
40646
+ height: 100%;
40647
40647
  }
40648
40648
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
40649
40649
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
40650
40650
  [data-prefers-color='nt'] [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
40651
40651
  width: 30px;
40652
40652
  line-height: 30px;
40653
- height: 30px;
40653
+ height: 100%;
40654
40654
  }
40655
40655
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
40656
40656
  border-radius: 50%;
40657
40657
  width: 30px;
40658
- height: 30px;
40658
+ height: 100%;
40659
40659
  padding-left: 8px;
40660
40660
  margin-left: 6px;
40661
40661
  background: linear-gradient(to right, #3babd6 0%, #60c6da 100%);
@@ -40668,7 +40668,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40668
40668
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover {
40669
40669
  border-radius: 50%;
40670
40670
  width: 30px;
40671
- height: 30px;
40671
+ height: 100%;
40672
40672
  padding-left: 8px;
40673
40673
  margin-left: 6px;
40674
40674
  background: #bdd0e3;
@@ -40678,7 +40678,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40678
40678
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner {
40679
40679
  border-radius: 50%;
40680
40680
  width: 30px;
40681
- height: 30px;
40681
+ height: 100%;
40682
40682
  padding-left: 8px;
40683
40683
  margin-left: 6px;
40684
40684
  }
@@ -40690,6 +40690,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40690
40690
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
40691
40691
  background: linear-gradient(#3babd6 0%, #60c6da 100%);
40692
40692
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40693
+ height: 100%;
40693
40694
  }
40694
40695
  [data-prefers-color='nt'] .ant-radio-wrapper {
40695
40696
  color: #708191;
@@ -40923,7 +40924,6 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40923
40924
  background: #e7e9ed;
40924
40925
  }
40925
40926
  [data-prefers-color='nt'] .ant-select-arrow {
40926
- right: 0;
40927
40927
  top: 6px;
40928
40928
  height: 100%;
40929
40929
  }
package/dist/index.esm.js CHANGED
@@ -7,7 +7,7 @@ import 'antd/es/dropdown/style';
7
7
  import _Dropdown from 'antd/es/dropdown';
8
8
  import 'antd/es/menu/style';
9
9
  import _Menu from 'antd/es/menu';
10
- import { createFromIconfontCN, PlusOutlined, SearchOutlined, ReloadOutlined, CloseCircleOutlined, EllipsisOutlined, ExclamationCircleOutlined, EyeOutlined, EditOutlined, DeleteOutlined, LeftOutlined, RightOutlined } from '@ant-design/icons';
10
+ import { createFromIconfontCN, PlusOutlined, SearchOutlined, ReloadOutlined, CloseCircleOutlined, EllipsisOutlined, RedoOutlined, ExclamationCircleOutlined, EyeOutlined, EditOutlined, DeleteOutlined, LeftOutlined, RightOutlined } from '@ant-design/icons';
11
11
  import 'antd/es/input/style';
12
12
  import _Input from 'antd/es/input';
13
13
  import 'antd/es/modal/style';
@@ -5890,8 +5890,37 @@ var TabelCard = function TabelCard(props, ref) {
5890
5890
  }, search), {}, {
5891
5891
  optionRender: function optionRender(searchConfig, formProps, dom) {
5892
5892
  // return [...dom.reverse(), tableBarDom];
5893
- return [].concat(_toConsumableArray((search === null || search === void 0 ? void 0 : search.optionDomReverse) ? dom.reverse() : dom), [tableBarDom]);
5894
- }
5893
+ // return [...(search?.optionDomReverse ? dom.reverse() : dom), tableBarDom];
5894
+ var newDom = [/*#__PURE__*/React.createElement(_Button, {
5895
+ key: "submit",
5896
+ type: "primary",
5897
+ className: "mr20",
5898
+ icon: /*#__PURE__*/React.createElement(SearchOutlined, null),
5899
+ onClick: function onClick() {
5900
+ var _searchFormRef$curren5;
5901
+
5902
+ searchFormRef === null || searchFormRef === void 0 ? void 0 : (_searchFormRef$curren5 = searchFormRef.current) === null || _searchFormRef$curren5 === void 0 ? void 0 : _searchFormRef$curren5.handleSubmit();
5903
+ }
5904
+ }, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(_Button, {
5905
+ key: "reset",
5906
+ type: "primary",
5907
+ className: "mr20",
5908
+ icon: /*#__PURE__*/React.createElement(RedoOutlined, null),
5909
+ onClick: function onClick() {
5910
+ var _searchFormRef$curren6;
5911
+
5912
+ searchFormRef === null || searchFormRef === void 0 ? void 0 : (_searchFormRef$curren6 = searchFormRef.current) === null || _searchFormRef$curren6 === void 0 ? void 0 : _searchFormRef$curren6.handleRest();
5913
+ }
5914
+ }, "\u91CD\u7F6E")];
5915
+ return [].concat(_toConsumableArray((search === null || search === void 0 ? void 0 : search.optionDomReverse) ? newDom.reverse() : newDom), [tableBarDom]);
5916
+ } // optionRender: (searchConfig, formProps, dom) => {
5917
+ // // return [...dom.reverse(), tableBarDom];
5918
+ // return [
5919
+ // ...(search?.optionDomReverse ? dom.reverse() : dom),
5920
+ // tableBarDom,
5921
+ // ];
5922
+ // },
5923
+
5895
5924
  }),
5896
5925
  onSubmit: onSubmit,
5897
5926
  onReset: onReset,
package/dist/index.js CHANGED
@@ -5955,8 +5955,37 @@ var TabelCard = function TabelCard(props, ref) {
5955
5955
  }, search), {}, {
5956
5956
  optionRender: function optionRender(searchConfig, formProps, dom) {
5957
5957
  // return [...dom.reverse(), tableBarDom];
5958
- return [].concat(_toConsumableArray((search === null || search === void 0 ? void 0 : search.optionDomReverse) ? dom.reverse() : dom), [tableBarDom]);
5959
- }
5958
+ // return [...(search?.optionDomReverse ? dom.reverse() : dom), tableBarDom];
5959
+ var newDom = [/*#__PURE__*/React__default['default'].createElement(_Button__default['default'], {
5960
+ key: "submit",
5961
+ type: "primary",
5962
+ className: "mr20",
5963
+ icon: /*#__PURE__*/React__default['default'].createElement(icons.SearchOutlined, null),
5964
+ onClick: function onClick() {
5965
+ var _searchFormRef$curren5;
5966
+
5967
+ searchFormRef === null || searchFormRef === void 0 ? void 0 : (_searchFormRef$curren5 = searchFormRef.current) === null || _searchFormRef$curren5 === void 0 ? void 0 : _searchFormRef$curren5.handleSubmit();
5968
+ }
5969
+ }, "\u67E5\u8BE2"), /*#__PURE__*/React__default['default'].createElement(_Button__default['default'], {
5970
+ key: "reset",
5971
+ type: "primary",
5972
+ className: "mr20",
5973
+ icon: /*#__PURE__*/React__default['default'].createElement(icons.RedoOutlined, null),
5974
+ onClick: function onClick() {
5975
+ var _searchFormRef$curren6;
5976
+
5977
+ searchFormRef === null || searchFormRef === void 0 ? void 0 : (_searchFormRef$curren6 = searchFormRef.current) === null || _searchFormRef$curren6 === void 0 ? void 0 : _searchFormRef$curren6.handleRest();
5978
+ }
5979
+ }, "\u91CD\u7F6E")];
5980
+ return [].concat(_toConsumableArray((search === null || search === void 0 ? void 0 : search.optionDomReverse) ? newDom.reverse() : newDom), [tableBarDom]);
5981
+ } // optionRender: (searchConfig, formProps, dom) => {
5982
+ // // return [...dom.reverse(), tableBarDom];
5983
+ // return [
5984
+ // ...(search?.optionDomReverse ? dom.reverse() : dom),
5985
+ // tableBarDom,
5986
+ // ];
5987
+ // },
5988
+
5960
5989
  }),
5961
5990
  onSubmit: onSubmit,
5962
5991
  onReset: onReset,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.6.2",
4
+ "version": "0.6.3",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",