@arim-aisdc/public-components 2.3.40 → 2.3.41

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.
Files changed (79) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +3 -3
  3. package/dist/assets/iconfont/index.css +6 -6
  4. package/dist/assets/iconfont/menu-gray/demo.css +539 -539
  5. package/dist/assets/iconfont/menu-gray/demo_index.html +1154 -1154
  6. package/dist/assets/iconfont/menu-gray/iconfont.css +183 -183
  7. package/dist/assets/iconfont/menu-gray/iconfont.json +303 -303
  8. package/dist/assets/iconfont/other/demo.css +539 -539
  9. package/dist/assets/iconfont/other/demo_index.html +2764 -2764
  10. package/dist/assets/iconfont/other/iconfont.css +463 -463
  11. package/dist/assets/iconfont/other/iconfont.json +793 -793
  12. package/dist/assets/iconfont/public/iconfont.css +69 -69
  13. package/dist/assets/iconfont/table/iconfont.css +89 -89
  14. package/dist/assets/iconfont/theme-dark/four/demo.css +539 -539
  15. package/dist/assets/iconfont/theme-dark/four/demo_index.html +306 -306
  16. package/dist/assets/iconfont/theme-dark/four/iconfont.css +37 -37
  17. package/dist/assets/iconfont/theme-dark/four/iconfont.json +44 -44
  18. package/dist/assets/images/data-empty-dark.svg +103 -103
  19. package/dist/assets/images/data-empty-light.svg +73 -73
  20. package/dist/assets/images/data.empty-dark.svg +44 -44
  21. package/dist/assets/styles/custom-dark.css +28466 -28466
  22. package/dist/assets/styles/custom-light.css +28092 -28092
  23. package/dist/components/BaseInfo/BaseInfo.d.ts +1 -1
  24. package/dist/components/BaseInfo/index.less +95 -95
  25. package/dist/components/CacheTabs/index.less +115 -115
  26. package/dist/components/CenterModal/index.less +41 -41
  27. package/dist/components/ConditionExpression/index.less +111 -111
  28. package/dist/components/CustomForm/CustomForm.js +5 -5
  29. package/dist/components/CustomForm/UploadImg/index.js +5 -5
  30. package/dist/components/CustomForm/customFormItemInputNumber/index.less +12 -12
  31. package/dist/components/CustomForm/index.less +76 -76
  32. package/dist/components/DraggableBox/index.less +26 -26
  33. package/dist/components/Empty/index.less +21 -21
  34. package/dist/components/Filter/FilterColor/index.less +106 -106
  35. package/dist/components/Filter/FilterInputNumber/index.less +15 -15
  36. package/dist/components/Filter/FilterRadio/index.less +25 -25
  37. package/dist/components/Filter/FilterSelect/index.less +28 -28
  38. package/dist/components/Filter/FilterSlider/index.less +19 -19
  39. package/dist/components/Filter/FilterSwitch/index.less +20 -20
  40. package/dist/components/GlobalTip/MessageTip/index.less +28 -28
  41. package/dist/components/GlobalTip/ModalTip/index.less +42 -42
  42. package/dist/components/Icon/IconDemo/animations/Calendar/calendar.json +692 -692
  43. package/dist/components/Icon/IconDemo/animations/Loading/loading.json +869 -869
  44. package/dist/components/Icon/IconDemo/animations/download/download.json +815 -815
  45. package/dist/components/Icon/IconDemo/animations/download/download.svg +5 -5
  46. package/dist/components/Icon/IconDemo/animations/skipForward/skipForward.json +1053 -1053
  47. package/dist/components/Icon/index.less +28 -28
  48. package/dist/components/QueryFilter/QueryFilter.js +5 -5
  49. package/dist/components/QueryFilter/index.less +64 -64
  50. package/dist/components/SchemaForm/type.js +2 -2
  51. package/dist/components/SchemaForm/utils.js +7 -7
  52. package/dist/components/SplitPane/splitPane.less +24 -24
  53. package/dist/components/SplitPane/util.js +21 -21
  54. package/dist/components/SplitterPane/SplitterPane.js +46 -1
  55. package/dist/components/TableMax/TableBody/contextMenu/index.less +21 -21
  56. package/dist/components/TableMax/TableBody/index.less +187 -187
  57. package/dist/components/TableMax/TableHeader/index.less +224 -224
  58. package/dist/components/TableMax/components/ColumnEdit/components/numberRange/index.less +2 -2
  59. package/dist/components/TableMax/components/ColumnEdit/index.less +72 -72
  60. package/dist/components/TableMax/components/ColumnFilterV2/DateRange/index.less +24 -24
  61. package/dist/components/TableMax/components/ColumnFilterV2/MultipleSelect/index.less +32 -32
  62. package/dist/components/TableMax/components/ColumnFilterV2/NumberRange/index.less +27 -27
  63. package/dist/components/TableMax/components/ColumnFilterV2/SingleSelect/index.less +43 -43
  64. package/dist/components/TableMax/components/ColumnFilterV2/index.less +39 -39
  65. package/dist/components/TableMax/components/ColumnSetting/index.less +183 -183
  66. package/dist/components/TableMax/components/ColumnSort/index.less +42 -42
  67. package/dist/components/TableMax/components/CustomDragerLayer/index.less +59 -59
  68. package/dist/components/TableMax/components/PaginationV2/index.less +116 -116
  69. package/dist/components/TableMax/hooks/useColumnWidth copy.js +26 -26
  70. package/dist/components/TableMax/hooks/useColumnWidth.js +18 -18
  71. package/dist/components/TableMax/tableMax.less +340 -340
  72. package/dist/components/TableMax/utils.js +9 -9
  73. package/dist/hooks/useCenterModalState.js +2 -2
  74. package/dist/hooks/usePageCacheState.js +18 -18
  75. package/dist/themes/custom-dark.css +28482 -28482
  76. package/dist/themes/custom-light.css +28108 -28108
  77. package/dist/themes/variables.less +90 -90
  78. package/dist/utils/request.js +10 -10
  79. package/package.json +108 -108
@@ -1,112 +1,112 @@
1
- .condition-expression-item {
2
- display: flex;
3
- padding: 6px 0;
4
- padding-right: 6px;
5
- grid-auto-flow: column;
6
- flex-direction: column;
7
- justify-content: flex-start;
8
- align-items: flex-start;
9
- overflow-x: hidden;
10
-
11
- .condition-all {
12
- display: flex;
13
- align-items: center;
14
- position: relative;
15
- margin-bottom: 12px;
16
- max-width: 100%;
17
-
18
- .condition-all-content {
19
- overflow: auto;
20
- border: 1px dashed @global-card-effect-background-color;
21
- }
22
-
23
- /* 添加相对定位 */
24
- .condition-all-undelete {
25
- display: flex;
26
- align-items: center;
27
- position: relative;
28
- border-radius: 6px;
29
- padding: 6px 8px 6px 6px;
30
-
31
- .condition-item {
32
- display: flex;
33
- align-items: center;
34
- position: relative;
35
- padding-right: 8px;
36
-
37
- .condition-select-left {
38
- padding-right: 4px;
39
- min-width: 120px;
40
- max-width: 300px;
41
- }
42
-
43
- .condition-select-middle {
44
- padding-right: 4px;
45
- width: 100px;
46
- }
47
-
48
- .condition-input-right {
49
- width: 88px;
50
-
51
- .condition-tooltip {
52
- font-size: 14px;
53
- position: absolute;
54
- bottom: 2px;
55
- right: 8px;
56
- }
57
- }
58
-
59
- .condition-item-del {
60
- border-radius: 50%;
61
- background-color: @globalColor8;
62
- line-height: 18px;
63
- height: 16px;
64
- width: 16px;
65
- font-size: 9px;
66
- display: none;
67
- position: absolute;
68
- top: -6px;
69
- right: 0;
70
- cursor: pointer;
71
- border: none;
72
- z-index: 10;
73
- }
74
- }
75
-
76
- .condition-add {
77
- i {
78
- font-size: 20px;
79
- cursor: pointer;
80
- }
81
- }
82
- }
83
-
84
- .condition-item:hover .condition-item-del {
85
- display: block;
86
- }
87
-
88
- .condition-del {
89
- border-radius: 50%;
90
- background-color: @globalColor8;
91
- line-height: 18px;
92
- height: 16px;
93
- width: 16px;
94
- font-size: 9px;
95
- display: none;
96
- position: absolute;
97
- top: -6px;
98
- right: -6px;
99
- cursor: pointer;
100
- border: none;
101
- z-index: 10;
102
- }
103
- }
104
-
105
- .condition-all:hover .condition-del {
106
- display: block;
107
- }
108
-
109
- .condition-link {
110
- padding-right: 8px;
111
- }
1
+ .condition-expression-item {
2
+ display: flex;
3
+ padding: 6px 0;
4
+ padding-right: 6px;
5
+ grid-auto-flow: column;
6
+ flex-direction: column;
7
+ justify-content: flex-start;
8
+ align-items: flex-start;
9
+ overflow-x: hidden;
10
+
11
+ .condition-all {
12
+ display: flex;
13
+ align-items: center;
14
+ position: relative;
15
+ margin-bottom: 12px;
16
+ max-width: 100%;
17
+
18
+ .condition-all-content {
19
+ overflow: auto;
20
+ border: 1px dashed @global-card-effect-background-color;
21
+ }
22
+
23
+ /* 添加相对定位 */
24
+ .condition-all-undelete {
25
+ display: flex;
26
+ align-items: center;
27
+ position: relative;
28
+ border-radius: 6px;
29
+ padding: 6px 8px 6px 6px;
30
+
31
+ .condition-item {
32
+ display: flex;
33
+ align-items: center;
34
+ position: relative;
35
+ padding-right: 8px;
36
+
37
+ .condition-select-left {
38
+ padding-right: 4px;
39
+ min-width: 120px;
40
+ max-width: 300px;
41
+ }
42
+
43
+ .condition-select-middle {
44
+ padding-right: 4px;
45
+ width: 100px;
46
+ }
47
+
48
+ .condition-input-right {
49
+ width: 88px;
50
+
51
+ .condition-tooltip {
52
+ font-size: 14px;
53
+ position: absolute;
54
+ bottom: 2px;
55
+ right: 8px;
56
+ }
57
+ }
58
+
59
+ .condition-item-del {
60
+ border-radius: 50%;
61
+ background-color: @globalColor8;
62
+ line-height: 18px;
63
+ height: 16px;
64
+ width: 16px;
65
+ font-size: 9px;
66
+ display: none;
67
+ position: absolute;
68
+ top: -6px;
69
+ right: 0;
70
+ cursor: pointer;
71
+ border: none;
72
+ z-index: 10;
73
+ }
74
+ }
75
+
76
+ .condition-add {
77
+ i {
78
+ font-size: 20px;
79
+ cursor: pointer;
80
+ }
81
+ }
82
+ }
83
+
84
+ .condition-item:hover .condition-item-del {
85
+ display: block;
86
+ }
87
+
88
+ .condition-del {
89
+ border-radius: 50%;
90
+ background-color: @globalColor8;
91
+ line-height: 18px;
92
+ height: 16px;
93
+ width: 16px;
94
+ font-size: 9px;
95
+ display: none;
96
+ position: absolute;
97
+ top: -6px;
98
+ right: -6px;
99
+ cursor: pointer;
100
+ border: none;
101
+ z-index: 10;
102
+ }
103
+ }
104
+
105
+ .condition-all:hover .condition-del {
106
+ display: block;
107
+ }
108
+
109
+ .condition-link {
110
+ padding-right: 8px;
111
+ }
112
112
  }
@@ -60,11 +60,11 @@ var BREAKPOINTS = {
60
60
  [1600, 5, 'horizontal'], [Infinity, 6, 'horizontal']]
61
61
  };
62
62
 
63
- /**
64
- * 合并用户和默认的配置
65
- *
66
- * @param layout
67
- * @param width
63
+ /**
64
+ * 合并用户和默认的配置
65
+ *
66
+ * @param layout
67
+ * @param width
68
68
  */
69
69
  var getSpanConfig = function getSpanConfig(layout, width, span) {
70
70
  if (span && typeof span === 'number') {
@@ -30,11 +30,11 @@ var getBase64 = function getBase64(file) {
30
30
  };
31
31
  });
32
32
  };
33
- /**
34
- * 图片上传组件
35
- * @param value - 图片ID
36
- * @param onChange - 图片上传成功后的回调
37
- * @param item - 其他配置项
33
+ /**
34
+ * 图片上传组件
35
+ * @param value - 图片ID
36
+ * @param onChange - 图片上传成功后的回调
37
+ * @param item - 其他配置项
38
38
  */
39
39
  var UploadImg = function UploadImg(_ref) {
40
40
  var value = _ref.value,
@@ -1,12 +1,12 @@
1
- .customFormItemInputNumber {
2
- display: flex;
3
- align-items: center;
4
-
5
- .unit {
6
- font-weight: 400;
7
- font-size: 14px;
8
- margin-left: 6px;
9
- color: @globalColor1;
10
- flex-shrink: 0;
11
- }
12
- }
1
+ .customFormItemInputNumber {
2
+ display: flex;
3
+ align-items: center;
4
+
5
+ .unit {
6
+ font-weight: 400;
7
+ font-size: 14px;
8
+ margin-left: 6px;
9
+ color: @globalColor1;
10
+ flex-shrink: 0;
11
+ }
12
+ }
@@ -1,76 +1,76 @@
1
- .isTwoColumns {
2
- flex: 1;
3
- }
4
-
5
- .btnContainer {
6
- width: 100%;
7
- text-align: right;
8
- // margin-top: 12px !important;
9
- padding-top: 0 !important;
10
- }
11
-
12
- .formBtnContainer {
13
- width: 100%;
14
- text-align: center;
15
- margin-top: 12px !important;
16
- padding-top: 0 !important;
17
- }
18
-
19
- .sectionInput {
20
- display: flex;
21
- align-items: baseline;
22
- flex-direction: row;
23
-
24
- .sectionLine {
25
- display: inline-block;
26
- width: 10%;
27
- text-align: center;
28
- }
29
-
30
- .interSuffix {
31
- display: inline-block;
32
- width: 30px;
33
- margin-left: 4px;
34
- }
35
-
36
- .inputBar {
37
- display: inline-block;
38
- width: 25px;
39
- border-top: 2px solid #d8d8d8;
40
- margin: 0 4px;
41
- padding-top: 4px;
42
- }
43
-
44
- .custom-light-form-item,
45
- .custom-dark-form-item,
46
- .ant-form-item {
47
- margin: 0;
48
- width: 168px !important;
49
- }
50
- }
51
-
52
- // .xmTtn {
53
- // width: 76px;
54
- // height: 32px;
55
- // border-radius: 2px;
56
- // padding: 0 !important;
57
- // }
58
-
59
- .xmTtn + .xmTtn {
60
- margin-left: 16px;
61
- }
62
-
63
- .custom-dark-input-number,
64
- .custom-light-input-number {
65
- width: 100% !important;
66
- }
67
-
68
- .customFormRow {
69
- .ant-col {
70
- &:last-child {
71
- .ant-form-item {
72
- margin-bottom: 0;
73
- }
74
- }
75
- }
76
- }
1
+ .isTwoColumns {
2
+ flex: 1;
3
+ }
4
+
5
+ .btnContainer {
6
+ width: 100%;
7
+ text-align: right;
8
+ // margin-top: 12px !important;
9
+ padding-top: 0 !important;
10
+ }
11
+
12
+ .formBtnContainer {
13
+ width: 100%;
14
+ text-align: center;
15
+ margin-top: 12px !important;
16
+ padding-top: 0 !important;
17
+ }
18
+
19
+ .sectionInput {
20
+ display: flex;
21
+ align-items: baseline;
22
+ flex-direction: row;
23
+
24
+ .sectionLine {
25
+ display: inline-block;
26
+ width: 10%;
27
+ text-align: center;
28
+ }
29
+
30
+ .interSuffix {
31
+ display: inline-block;
32
+ width: 30px;
33
+ margin-left: 4px;
34
+ }
35
+
36
+ .inputBar {
37
+ display: inline-block;
38
+ width: 25px;
39
+ border-top: 2px solid #d8d8d8;
40
+ margin: 0 4px;
41
+ padding-top: 4px;
42
+ }
43
+
44
+ .custom-light-form-item,
45
+ .custom-dark-form-item,
46
+ .ant-form-item {
47
+ margin: 0;
48
+ width: 168px !important;
49
+ }
50
+ }
51
+
52
+ // .xmTtn {
53
+ // width: 76px;
54
+ // height: 32px;
55
+ // border-radius: 2px;
56
+ // padding: 0 !important;
57
+ // }
58
+
59
+ .xmTtn + .xmTtn {
60
+ margin-left: 16px;
61
+ }
62
+
63
+ .custom-dark-input-number,
64
+ .custom-light-input-number {
65
+ width: 100% !important;
66
+ }
67
+
68
+ .customFormRow {
69
+ .ant-col {
70
+ &:last-child {
71
+ .ant-form-item {
72
+ margin-bottom: 0;
73
+ }
74
+ }
75
+ }
76
+ }
@@ -1,27 +1,27 @@
1
- .draggableBox {
2
- position: absolute;
3
- right: 24px;
4
- bottom: 24px;
5
- z-index: 1000;
6
- background: @globalColor7;
7
- opacity: 0.9;
8
- border-radius: 4px;
9
- box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.08);
10
- }
11
-
12
- .closeOuter {
13
- position: absolute;
14
- width: 16px;
15
- border-radius: 8px;
16
- height: 16px;
17
- right: -8px;
18
- top: -8px;
19
- background-color: #979797;
20
- display: flex;
21
- justify-content: center;
22
- align-items: center;
23
- .closeIcon {
24
- color: #fff;
25
- font-size: 10px;
26
- }
1
+ .draggableBox {
2
+ position: absolute;
3
+ right: 24px;
4
+ bottom: 24px;
5
+ z-index: 1000;
6
+ background: @globalColor7;
7
+ opacity: 0.9;
8
+ border-radius: 4px;
9
+ box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.08);
10
+ }
11
+
12
+ .closeOuter {
13
+ position: absolute;
14
+ width: 16px;
15
+ border-radius: 8px;
16
+ height: 16px;
17
+ right: -8px;
18
+ top: -8px;
19
+ background-color: #979797;
20
+ display: flex;
21
+ justify-content: center;
22
+ align-items: center;
23
+ .closeIcon {
24
+ color: #fff;
25
+ font-size: 10px;
26
+ }
27
27
  }
@@ -1,22 +1,22 @@
1
- .public-empty-container {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
- height: 100%;
6
- justify-content: center;
7
- align-items: center;
8
-
9
-
10
- .public-empty-img {
11
- height: 120px;
12
- margin-bottom: 0px;
13
- }
14
-
15
- .public-empty-text {
16
- margin-top: 0;
17
- color: @global-tip-text-color !important;
18
- font-weight: 500;
19
- font-size: 14px;
20
- line-height: 22px;
21
- }
1
+ .public-empty-container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
+ height: 100%;
6
+ justify-content: center;
7
+ align-items: center;
8
+
9
+
10
+ .public-empty-img {
11
+ height: 120px;
12
+ margin-bottom: 0px;
13
+ }
14
+
15
+ .public-empty-text {
16
+ margin-top: 0;
17
+ color: @global-tip-text-color !important;
18
+ font-weight: 500;
19
+ font-size: 14px;
20
+ line-height: 22px;
21
+ }
22
22
  }