wargerm 0.6.2 → 0.6.4

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
@@ -40543,8 +40543,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40543
40543
  }
40544
40544
  [data-prefers-color='nt'] .ant-picker {
40545
40545
  color: #708191;
40546
- background-color: #f4f4f4;
40547
- border: none;
40546
+ background-color: #fff;
40548
40547
  border-radius: 8px;
40549
40548
  }
40550
40549
  [data-prefers-color='nt'] .ant-picker-input > input {
@@ -40594,9 +40593,6 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40594
40593
  background: linear-gradient(to right, #3babd6 0%, #60c6da 100%);
40595
40594
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40596
40595
  border-radius: 50%;
40597
- width: 30px;
40598
- line-height: 30px;
40599
- height: 30px;
40600
40596
  }
40601
40597
  [data-prefers-color='nt'] .ant-picker-cell-in-view {
40602
40598
  color: #708191;
@@ -40622,8 +40618,6 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40622
40618
  }
40623
40619
  [data-prefers-color='nt'] .ant-picker-cell .ant-picker-cell-inner {
40624
40620
  border-radius: 50%;
40625
- height: 30px;
40626
- width: 30px;
40627
40621
  }
40628
40622
  [data-prefers-color='nt'] .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
40629
40623
  [data-prefers-color='nt'] .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner {
@@ -40631,33 +40625,9 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40631
40625
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40632
40626
  color: #4572e6;
40633
40627
  border-radius: 50%;
40634
- width: 30px;
40635
- line-height: 30px;
40636
- height: 30px;
40637
- }
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
- width: 30px;
40640
- line-height: 30px;
40641
- height: 30px;
40642
- }
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
- width: 30px;
40645
- line-height: 30px;
40646
- height: 30px;
40647
- }
40648
- [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
40649
- [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
40650
- [data-prefers-color='nt'] [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
40651
- width: 30px;
40652
- line-height: 30px;
40653
- height: 30px;
40654
40628
  }
40655
40629
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
40656
40630
  border-radius: 50%;
40657
- width: 30px;
40658
- height: 30px;
40659
- padding-left: 8px;
40660
- margin-left: 6px;
40661
40631
  background: linear-gradient(to right, #3babd6 0%, #60c6da 100%);
40662
40632
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40663
40633
  color: #fff;
@@ -40667,20 +40637,12 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40667
40637
  }
40668
40638
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover {
40669
40639
  border-radius: 50%;
40670
- width: 30px;
40671
- height: 30px;
40672
- padding-left: 8px;
40673
- margin-left: 6px;
40674
40640
  background: #bdd0e3;
40675
40641
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40676
40642
  color: #4572e6;
40677
40643
  }
40678
40644
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner {
40679
40645
  border-radius: 50%;
40680
- width: 30px;
40681
- height: 30px;
40682
- padding-left: 8px;
40683
- margin-left: 6px;
40684
40646
  }
40685
40647
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
40686
40648
  border: none;
@@ -40886,8 +40848,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40886
40848
  }
40887
40849
  [data-prefers-color='nt'] .ant-select:not(.ant-select-customize-input) .ant-select-selector {
40888
40850
  position: relative;
40889
- background-color: #f4f4f4;
40890
- border: none;
40851
+ background-color: #fff;
40891
40852
  border-radius: 4px;
40892
40853
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
40893
40854
  }
@@ -40923,7 +40884,6 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40923
40884
  background: #e7e9ed;
40924
40885
  }
40925
40886
  [data-prefers-color='nt'] .ant-select-arrow {
40926
- right: 0;
40927
40887
  top: 6px;
40928
40888
  height: 100%;
40929
40889
  }
@@ -40937,12 +40897,12 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40937
40897
  border: 1px solid red;
40938
40898
  }
40939
40899
  [data-prefers-color='nt'] .ant-select-tree {
40940
- background-color: #f4f4f4;
40900
+ background-color: #fff;
40941
40901
  color: #768cad;
40942
40902
  }
40943
40903
  [data-prefers-color='nt'] .ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
40944
40904
  color: #ffffff;
40945
- background: linear-gradient(to right, #4572e6 0%, #53a7e1 100%);
40905
+ background: linear-gradient(0deg, #3babd6 0%, #60c6da 100%);
40946
40906
  box-shadow: 0px 0px 1px 1px rgba(19, 19, 19, 0.29);
40947
40907
  }
40948
40908
  [data-prefers-color='nt'] .ant-select-tree .ant-select-tree-node-content-wrapper:hover {
@@ -41083,6 +41043,17 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
41083
41043
  [data-prefers-color='nt'] .ant-cascader-single .ant-cascader-cascaderor .ant-cascader-cascaderion-placeholder {
41084
41044
  line-height: 26px;
41085
41045
  }
41046
+ [data-prefers-color='nt'] .ant-form-item-label > label {
41047
+ font-size: 16px;
41048
+ color: #4281a1;
41049
+ }
41050
+ [data-prefers-color='nt'] .ant-modal-footer {
41051
+ display: flex;
41052
+ justify-content: flex-end;
41053
+ }
41054
+ [data-prefers-color='nt'] .ant-modal-confirm-btns {
41055
+ display: flex;
41056
+ }
41086
41057
 
41087
41058
  .frame {
41088
41059
  width: 40px;
@@ -40543,8 +40543,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40543
40543
  }
40544
40544
  [data-prefers-color='nt'] .ant-picker {
40545
40545
  color: #708191;
40546
- background-color: #f4f4f4;
40547
- border: none;
40546
+ background-color: #fff;
40548
40547
  border-radius: 8px;
40549
40548
  }
40550
40549
  [data-prefers-color='nt'] .ant-picker-input > input {
@@ -40594,9 +40593,6 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40594
40593
  background: linear-gradient(to right, #3babd6 0%, #60c6da 100%);
40595
40594
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40596
40595
  border-radius: 50%;
40597
- width: 30px;
40598
- line-height: 30px;
40599
- height: 30px;
40600
40596
  }
40601
40597
  [data-prefers-color='nt'] .ant-picker-cell-in-view {
40602
40598
  color: #708191;
@@ -40622,8 +40618,6 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40622
40618
  }
40623
40619
  [data-prefers-color='nt'] .ant-picker-cell .ant-picker-cell-inner {
40624
40620
  border-radius: 50%;
40625
- height: 30px;
40626
- width: 30px;
40627
40621
  }
40628
40622
  [data-prefers-color='nt'] .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
40629
40623
  [data-prefers-color='nt'] .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner {
@@ -40631,33 +40625,9 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40631
40625
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40632
40626
  color: #4572e6;
40633
40627
  border-radius: 50%;
40634
- width: 30px;
40635
- line-height: 30px;
40636
- height: 30px;
40637
- }
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
- width: 30px;
40640
- line-height: 30px;
40641
- height: 30px;
40642
- }
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
- width: 30px;
40645
- line-height: 30px;
40646
- height: 30px;
40647
- }
40648
- [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
40649
- [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
40650
- [data-prefers-color='nt'] [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
40651
- width: 30px;
40652
- line-height: 30px;
40653
- height: 30px;
40654
40628
  }
40655
40629
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
40656
40630
  border-radius: 50%;
40657
- width: 30px;
40658
- height: 30px;
40659
- padding-left: 8px;
40660
- margin-left: 6px;
40661
40631
  background: linear-gradient(to right, #3babd6 0%, #60c6da 100%);
40662
40632
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40663
40633
  color: #fff;
@@ -40667,20 +40637,12 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40667
40637
  }
40668
40638
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover {
40669
40639
  border-radius: 50%;
40670
- width: 30px;
40671
- height: 30px;
40672
- padding-left: 8px;
40673
- margin-left: 6px;
40674
40640
  background: #bdd0e3;
40675
40641
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40676
40642
  color: #4572e6;
40677
40643
  }
40678
40644
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner {
40679
40645
  border-radius: 50%;
40680
- width: 30px;
40681
- height: 30px;
40682
- padding-left: 8px;
40683
- margin-left: 6px;
40684
40646
  }
40685
40647
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
40686
40648
  border: none;
@@ -40886,8 +40848,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40886
40848
  }
40887
40849
  [data-prefers-color='nt'] .ant-select:not(.ant-select-customize-input) .ant-select-selector {
40888
40850
  position: relative;
40889
- background-color: #f4f4f4;
40890
- border: none;
40851
+ background-color: #fff;
40891
40852
  border-radius: 4px;
40892
40853
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
40893
40854
  }
@@ -40923,7 +40884,6 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40923
40884
  background: #e7e9ed;
40924
40885
  }
40925
40886
  [data-prefers-color='nt'] .ant-select-arrow {
40926
- right: 0;
40927
40887
  top: 6px;
40928
40888
  height: 100%;
40929
40889
  }
@@ -40937,12 +40897,12 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40937
40897
  border: 1px solid red;
40938
40898
  }
40939
40899
  [data-prefers-color='nt'] .ant-select-tree {
40940
- background-color: #f4f4f4;
40900
+ background-color: #fff;
40941
40901
  color: #768cad;
40942
40902
  }
40943
40903
  [data-prefers-color='nt'] .ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
40944
40904
  color: #ffffff;
40945
- background: linear-gradient(to right, #4572e6 0%, #53a7e1 100%);
40905
+ background: linear-gradient(0deg, #3babd6 0%, #60c6da 100%);
40946
40906
  box-shadow: 0px 0px 1px 1px rgba(19, 19, 19, 0.29);
40947
40907
  }
40948
40908
  [data-prefers-color='nt'] .ant-select-tree .ant-select-tree-node-content-wrapper:hover {
@@ -41083,6 +41043,17 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
41083
41043
  [data-prefers-color='nt'] .ant-cascader-single .ant-cascader-cascaderor .ant-cascader-cascaderion-placeholder {
41084
41044
  line-height: 26px;
41085
41045
  }
41046
+ [data-prefers-color='nt'] .ant-form-item-label > label {
41047
+ font-size: 16px;
41048
+ color: #4281a1;
41049
+ }
41050
+ [data-prefers-color='nt'] .ant-modal-footer {
41051
+ display: flex;
41052
+ justify-content: flex-end;
41053
+ }
41054
+ [data-prefers-color='nt'] .ant-modal-confirm-btns {
41055
+ display: flex;
41056
+ }
41086
41057
 
41087
41058
  .frame {
41088
41059
  width: 40px;
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.4",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",