wargerm 0.6.1 → 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
@@ -12584,6 +12584,9 @@ button.swiper-pagination-bullet {
12584
12584
  width: 100%;
12585
12585
  height: 100%;
12586
12586
  }
12587
+ .noneborder {
12588
+ border: none;
12589
+ }
12587
12590
  .activeCamera {
12588
12591
  border: 1px solid red;
12589
12592
  }
@@ -14351,6 +14354,9 @@ button[data-prefers-color='dark'] .swiper-pagination-bullet {
14351
14354
  width: 100%;
14352
14355
  height: 100%;
14353
14356
  }
14357
+ [data-prefers-color='dark'] .noneborder {
14358
+ border: none;
14359
+ }
14354
14360
  [data-prefers-color='dark'] .activeCamera {
14355
14361
  border: 1px solid red;
14356
14362
  }
@@ -28283,6 +28289,9 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
28283
28289
  width: 100%;
28284
28290
  height: 100%;
28285
28291
  }
28292
+ [data-prefers-color='light'] .noneborder {
28293
+ border: none;
28294
+ }
28286
28295
  [data-prefers-color='light'] .activeCamera {
28287
28296
  border: 1px solid red;
28288
28297
  }
@@ -40587,7 +40596,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40587
40596
  border-radius: 50%;
40588
40597
  width: 30px;
40589
40598
  line-height: 30px;
40590
- height: 30px;
40599
+ height: 100%;
40591
40600
  }
40592
40601
  [data-prefers-color='nt'] .ant-picker-cell-in-view {
40593
40602
  color: #708191;
@@ -40613,7 +40622,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40613
40622
  }
40614
40623
  [data-prefers-color='nt'] .ant-picker-cell .ant-picker-cell-inner {
40615
40624
  border-radius: 50%;
40616
- height: 30px;
40625
+ height: 100%;
40617
40626
  width: 30px;
40618
40627
  }
40619
40628
  [data-prefers-color='nt'] .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
@@ -40624,29 +40633,29 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40624
40633
  border-radius: 50%;
40625
40634
  width: 30px;
40626
40635
  line-height: 30px;
40627
- height: 30px;
40636
+ height: 100%;
40628
40637
  }
40629
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 {
40630
40639
  width: 30px;
40631
40640
  line-height: 30px;
40632
- height: 30px;
40641
+ height: 100%;
40633
40642
  }
40634
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 {
40635
40644
  width: 30px;
40636
40645
  line-height: 30px;
40637
- height: 30px;
40646
+ height: 100%;
40638
40647
  }
40639
40648
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
40640
40649
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
40641
40650
  [data-prefers-color='nt'] [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
40642
40651
  width: 30px;
40643
40652
  line-height: 30px;
40644
- height: 30px;
40653
+ height: 100%;
40645
40654
  }
40646
40655
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
40647
40656
  border-radius: 50%;
40648
40657
  width: 30px;
40649
- height: 30px;
40658
+ height: 100%;
40650
40659
  padding-left: 8px;
40651
40660
  margin-left: 6px;
40652
40661
  background: linear-gradient(to right, #3babd6 0%, #60c6da 100%);
@@ -40659,7 +40668,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40659
40668
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover {
40660
40669
  border-radius: 50%;
40661
40670
  width: 30px;
40662
- height: 30px;
40671
+ height: 100%;
40663
40672
  padding-left: 8px;
40664
40673
  margin-left: 6px;
40665
40674
  background: #bdd0e3;
@@ -40669,7 +40678,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40669
40678
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner {
40670
40679
  border-radius: 50%;
40671
40680
  width: 30px;
40672
- height: 30px;
40681
+ height: 100%;
40673
40682
  padding-left: 8px;
40674
40683
  margin-left: 6px;
40675
40684
  }
@@ -40681,6 +40690,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40681
40690
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
40682
40691
  background: linear-gradient(#3babd6 0%, #60c6da 100%);
40683
40692
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40693
+ height: 100%;
40684
40694
  }
40685
40695
  [data-prefers-color='nt'] .ant-radio-wrapper {
40686
40696
  color: #708191;
@@ -40914,7 +40924,6 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40914
40924
  background: #e7e9ed;
40915
40925
  }
40916
40926
  [data-prefers-color='nt'] .ant-select-arrow {
40917
- right: 0;
40918
40927
  top: 6px;
40919
40928
  height: 100%;
40920
40929
  }
@@ -12584,6 +12584,9 @@ button.swiper-pagination-bullet {
12584
12584
  width: 100%;
12585
12585
  height: 100%;
12586
12586
  }
12587
+ .noneborder {
12588
+ border: none;
12589
+ }
12587
12590
  .activeCamera {
12588
12591
  border: 1px solid red;
12589
12592
  }
@@ -14351,6 +14354,9 @@ button[data-prefers-color='dark'] .swiper-pagination-bullet {
14351
14354
  width: 100%;
14352
14355
  height: 100%;
14353
14356
  }
14357
+ [data-prefers-color='dark'] .noneborder {
14358
+ border: none;
14359
+ }
14354
14360
  [data-prefers-color='dark'] .activeCamera {
14355
14361
  border: 1px solid red;
14356
14362
  }
@@ -28283,6 +28289,9 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
28283
28289
  width: 100%;
28284
28290
  height: 100%;
28285
28291
  }
28292
+ [data-prefers-color='light'] .noneborder {
28293
+ border: none;
28294
+ }
28286
28295
  [data-prefers-color='light'] .activeCamera {
28287
28296
  border: 1px solid red;
28288
28297
  }
@@ -40587,7 +40596,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40587
40596
  border-radius: 50%;
40588
40597
  width: 30px;
40589
40598
  line-height: 30px;
40590
- height: 30px;
40599
+ height: 100%;
40591
40600
  }
40592
40601
  [data-prefers-color='nt'] .ant-picker-cell-in-view {
40593
40602
  color: #708191;
@@ -40613,7 +40622,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40613
40622
  }
40614
40623
  [data-prefers-color='nt'] .ant-picker-cell .ant-picker-cell-inner {
40615
40624
  border-radius: 50%;
40616
- height: 30px;
40625
+ height: 100%;
40617
40626
  width: 30px;
40618
40627
  }
40619
40628
  [data-prefers-color='nt'] .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
@@ -40624,29 +40633,29 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40624
40633
  border-radius: 50%;
40625
40634
  width: 30px;
40626
40635
  line-height: 30px;
40627
- height: 30px;
40636
+ height: 100%;
40628
40637
  }
40629
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 {
40630
40639
  width: 30px;
40631
40640
  line-height: 30px;
40632
- height: 30px;
40641
+ height: 100%;
40633
40642
  }
40634
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 {
40635
40644
  width: 30px;
40636
40645
  line-height: 30px;
40637
- height: 30px;
40646
+ height: 100%;
40638
40647
  }
40639
40648
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
40640
40649
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
40641
40650
  [data-prefers-color='nt'] [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
40642
40651
  width: 30px;
40643
40652
  line-height: 30px;
40644
- height: 30px;
40653
+ height: 100%;
40645
40654
  }
40646
40655
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {
40647
40656
  border-radius: 50%;
40648
40657
  width: 30px;
40649
- height: 30px;
40658
+ height: 100%;
40650
40659
  padding-left: 8px;
40651
40660
  margin-left: 6px;
40652
40661
  background: linear-gradient(to right, #3babd6 0%, #60c6da 100%);
@@ -40659,7 +40668,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40659
40668
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover {
40660
40669
  border-radius: 50%;
40661
40670
  width: 30px;
40662
- height: 30px;
40671
+ height: 100%;
40663
40672
  padding-left: 8px;
40664
40673
  margin-left: 6px;
40665
40674
  background: #bdd0e3;
@@ -40669,7 +40678,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40669
40678
  [data-prefers-color='nt'] .ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner {
40670
40679
  border-radius: 50%;
40671
40680
  width: 30px;
40672
- height: 30px;
40681
+ height: 100%;
40673
40682
  padding-left: 8px;
40674
40683
  margin-left: 6px;
40675
40684
  }
@@ -40681,6 +40690,7 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40681
40690
  [data-prefers-color='nt'] .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
40682
40691
  background: linear-gradient(#3babd6 0%, #60c6da 100%);
40683
40692
  box-shadow: 0px 1px 3px 0px rgba(101, 101, 101, 0.44);
40693
+ height: 100%;
40684
40694
  }
40685
40695
  [data-prefers-color='nt'] .ant-radio-wrapper {
40686
40696
  color: #708191;
@@ -40914,7 +40924,6 @@ button[data-prefers-color='light'] .swiper-pagination-bullet {
40914
40924
  background: #e7e9ed;
40915
40925
  }
40916
40926
  [data-prefers-color='nt'] .ant-select-arrow {
40917
- right: 0;
40918
40927
  top: 6px;
40919
40928
  height: 100%;
40920
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,
@@ -6686,7 +6715,7 @@ function VideoPlayer(_ref, ref) {
6686
6715
  return arr.map(function (item, index) {
6687
6716
  return /*#__PURE__*/React.createElement("div", {
6688
6717
  key: index,
6689
- className: "camera ".concat(currentPlayerIndex == index ? 'activeCamera' : ''),
6718
+ className: "camera ".concat(currentPlayerIndex == index ? index !== 0 ? 'activeCamera' : 'noneborder' : ''),
6690
6719
  onClickCapture: function onClickCapture() {
6691
6720
  setCurrentPlayerIndex(index);
6692
6721
  }
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,
@@ -6751,7 +6780,7 @@ function VideoPlayer(_ref, ref) {
6751
6780
  return arr.map(function (item, index) {
6752
6781
  return /*#__PURE__*/React__default['default'].createElement("div", {
6753
6782
  key: index,
6754
- className: "camera ".concat(currentPlayerIndex == index ? 'activeCamera' : ''),
6783
+ className: "camera ".concat(currentPlayerIndex == index ? index !== 0 ? 'activeCamera' : 'noneborder' : ''),
6755
6784
  onClickCapture: function onClickCapture() {
6756
6785
  setCurrentPlayerIndex(index);
6757
6786
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.6.1",
4
+ "version": "0.6.3",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",