@nokecy/qc-ui 1.0.2 → 1.0.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.
Files changed (49) hide show
  1. package/README.md +23 -23
  2. package/dist/cjs/ConfirmPro/index.js +4 -4
  3. package/dist/cjs/ag-grid-plus/_utils/boolSelect.js +5 -5
  4. package/dist/cjs/ag-grid-plus/ag-grid-theme-builder.css +352 -352
  5. package/dist/cjs/ag-grid-plus/index.less +14 -14
  6. package/dist/cjs/ag-grid-plus/interface.d.ts +5 -0
  7. package/dist/cjs/ag-grid-plus/queryForm/index.js +4 -0
  8. package/dist/cjs/ag-grid-plus/queryForm/index.less +48 -48
  9. package/dist/cjs/ag-grid-plus/toolBar/index.js +4 -4
  10. package/dist/cjs/ag-grid-plus/utils.js +4 -2
  11. package/dist/cjs/dashboard/dashboard/components/toolbar/style/index.less +49 -49
  12. package/dist/cjs/dashboard/dashboard/index.less +173 -173
  13. package/dist/cjs/dashboard/dashboard/utils.js +4 -4
  14. package/dist/cjs/dashboard/utils.js +8 -8
  15. package/dist/cjs/dashboard/widget/index.less +7 -7
  16. package/dist/cjs/dashboard/widget/selector/index.less +172 -172
  17. package/dist/cjs/draggableModal/index.js +4 -4
  18. package/dist/cjs/draggableModal/style.less +16 -16
  19. package/dist/cjs/formDesigner/arrayTable/styles.less +2 -2
  20. package/dist/cjs/formDesigner/index.less +2 -2
  21. package/dist/cjs/fullScreenAlert/index.js +4 -4
  22. package/dist/cjs/fullScreenAlert/index.less +133 -133
  23. package/dist/cjs/importModal/index.js +4 -4
  24. package/dist/cjs/toolBar/index.less +25 -25
  25. package/dist/esm/ConfirmPro/index.js +4 -4
  26. package/dist/esm/ag-grid-plus/_utils/boolSelect.js +5 -5
  27. package/dist/esm/ag-grid-plus/ag-grid-theme-builder.css +352 -352
  28. package/dist/esm/ag-grid-plus/index.less +14 -14
  29. package/dist/esm/ag-grid-plus/interface.d.ts +5 -0
  30. package/dist/esm/ag-grid-plus/queryForm/index.js +4 -0
  31. package/dist/esm/ag-grid-plus/queryForm/index.less +48 -48
  32. package/dist/esm/ag-grid-plus/toolBar/index.js +4 -4
  33. package/dist/esm/ag-grid-plus/utils.js +4 -2
  34. package/dist/esm/dashboard/dashboard/components/toolbar/style/index.less +49 -49
  35. package/dist/esm/dashboard/dashboard/index.less +173 -173
  36. package/dist/esm/dashboard/dashboard/utils.js +4 -4
  37. package/dist/esm/dashboard/utils.js +8 -8
  38. package/dist/esm/dashboard/widget/index.less +7 -7
  39. package/dist/esm/dashboard/widget/selector/index.less +172 -172
  40. package/dist/esm/draggableModal/index.js +4 -4
  41. package/dist/esm/draggableModal/style.less +16 -16
  42. package/dist/esm/formDesigner/arrayTable/styles.less +2 -2
  43. package/dist/esm/formDesigner/index.less +2 -2
  44. package/dist/esm/fullScreenAlert/index.js +4 -4
  45. package/dist/esm/fullScreenAlert/index.less +133 -133
  46. package/dist/esm/importModal/index.js +4 -4
  47. package/dist/esm/toolBar/index.less +25 -25
  48. package/dist/umd/qc-ui.min.js +1 -1
  49. package/package.json +70 -70
@@ -47,10 +47,10 @@ export var getPosition = function getPosition(random, fontSize) {
47
47
  };
48
48
  };
49
49
 
50
- /*
51
- 生成uuid
52
- len:number 长度
53
- radix:number 进制
50
+ /*
51
+ 生成uuid
52
+ len:number 长度
53
+ radix:number 进制
54
54
  */
55
55
  export function generateUuid() {
56
56
  var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 32;
@@ -82,10 +82,10 @@ export function generateUuid() {
82
82
  return uuid.join('');
83
83
  }
84
84
  var confirm = Modal.confirm;
85
- /**
86
- * 异步确认弹窗,抛出确认或取消布尔值
87
- *
88
- * @param {confirmUtilAsyncProps} props
85
+ /**
86
+ * 异步确认弹窗,抛出确认或取消布尔值
87
+ *
88
+ * @param {confirmUtilAsyncProps} props
89
89
  */
90
90
  export var confirmUtilAsync = function confirmUtilAsync(props) {
91
91
  return new Promise(function (resolve, reject) {
@@ -1,7 +1,7 @@
1
- .react-dashboard-widget {
2
- width: 100%;
3
- height: 100%;
4
- position: relative;
5
- border:1px solid rgba(128,128,128,0.3);
6
- overflow:hidden;
7
- }
1
+ .react-dashboard-widget {
2
+ width: 100%;
3
+ height: 100%;
4
+ position: relative;
5
+ border:1px solid rgba(128,128,128,0.3);
6
+ overflow:hidden;
7
+ }
@@ -1,172 +1,172 @@
1
- .react-dashboard-widget-selector{
2
- position:fixed;
3
- top:50%;
4
- left:50%;
5
- transform:translate(-50%, -50%);
6
- z-index:1006;
7
- width:60%;
8
- height:60%;
9
- max-width:800px;
10
- max-height:600px;
11
- background:var(--component-background);
12
- }
13
-
14
- .react-dashboard-widget-wrap {
15
- display: flex;
16
- height:100%;
17
-
18
- .react-dashboard-widget-leftBar {
19
- padding: 10px;
20
- width: 180px;
21
- border-right: 1px solid rgba(0, 0, 0, 0.1);
22
- background: var(--component-background);
23
- .react-dashboard-widget-searchIcon {
24
- color: var(--text-color);
25
- }
26
-
27
- .react-dashboard-widget-item {
28
- display: flex;
29
- justify-content: space-between;
30
- padding: 10px;
31
-
32
- .react-dashboard-widget-Badge {
33
-
34
- .ant-badge-count {
35
- color: var(--text-color);
36
- background-color: var(--component-background-1) !important;
37
- }
38
-
39
- }
40
-
41
- cursor: pointer;
42
-
43
- &:hover {
44
- background: var(--component-background-3);
45
- font-weight: bold;
46
- }
47
- }
48
-
49
- .react-dashboard-widget-active {
50
- background: rgba(0, 0, 0, 0.03);
51
- font-weight: bold;
52
- }
53
- }
54
-
55
- .react-dashboard-widget-Layer {
56
- flex: 1 1;
57
- overflow-y: auto;
58
- overflow-x: hidden;
59
- padding: 10px;
60
- background: rgba(0, 0, 0, 0.01);
61
- &::-webkit-scrollbar {
62
- width: 1px;
63
- height: 1px;
64
- overflow: auto;
65
- }
66
-
67
- &::-webkit-scrollbar-thumb {
68
- background-color: var(--primary-color);
69
- min-height: 25px;
70
- min-width: 25px;
71
-
72
- &:hover {
73
- background-color: #a8a8a8;
74
- }
75
-
76
- &:active {
77
- background-color: #787878;
78
- }
79
- }
80
-
81
- &::-webkit-scrollbar-track {
82
- background-color: #f7f7f7;
83
- border: 1px solid #efefef;
84
- }
85
-
86
- .react-dashboard-widget-waterfall {
87
- width: 100%;
88
- }
89
-
90
- .ant-popover-inner-content {
91
- background: rgba(0, 0, 0, 0.01);
92
- }
93
-
94
-
95
- .react-dashboard-widget-item {
96
- cursor: pointer;
97
- height: auto;
98
- margin-bottom: 10px;
99
- width: 100%;
100
- height: auto;
101
- border-radius: 5px;
102
- overflow: hidden;
103
- // box-shadow: 0 0 0px rgba(255, 255, 255, 1);
104
- transition: all 0.3s;
105
- border: 1px solid rgba(0, 0, 0, 0.1);
106
- -webkit-column-break-inside: avoid;
107
- position: relative;
108
- background: var(--component-background);
109
- .react-dashboard-widget-shortcut {
110
- width: 100%;
111
- height: auto;
112
- }
113
-
114
- .react-dashboard-widget-mask {
115
- opacity: 0;
116
- position: absolute;
117
- top: 0;
118
- left: 0;
119
- width: 100%;
120
- height: 100%;
121
- background: rgba(0, 0, 0, 0.5);
122
- display: flex;
123
- justify-content: center;
124
- align-items: center;
125
- transition: all 0.3s;
126
- }
127
-
128
- &:hover {
129
- transition: all 0.3s;
130
-
131
- border: 1px solid var(--component-background-3);
132
-
133
- .react-dashboard-widget-mask {
134
- opacity: 1;
135
- transition: all 0.3s;
136
- }
137
- }
138
-
139
- .react-dashboard-widget-bottombar {
140
- border-top: 1px solid rgba(0, 0, 0, 0.1);
141
- width: 100%;
142
-
143
- padding: 5px;
144
-
145
- .react-dashboard-widget-iconWrap {
146
- display: inline-block;
147
- width: 28px;
148
- height: 28px;
149
- line-height: 28px;
150
- text-align: center;
151
- border-radius: 7px;
152
- color: #fff;
153
- margin-right: 5px;
154
- font-size: 16px;
155
- }
156
-
157
- .react-dashboard-widget-name {
158
- font-size: 16px;
159
- flex: 1;
160
- color: var(--text-color);
161
- line-height: 28px;
162
- font-weight: bold;
163
- display: inline;
164
- }
165
-
166
- .react-dashboard-widget-description {
167
- margin-top: 5px;
168
- }
169
- }
170
- }
171
- }
172
- }
1
+ .react-dashboard-widget-selector{
2
+ position:fixed;
3
+ top:50%;
4
+ left:50%;
5
+ transform:translate(-50%, -50%);
6
+ z-index:1006;
7
+ width:60%;
8
+ height:60%;
9
+ max-width:800px;
10
+ max-height:600px;
11
+ background:var(--component-background);
12
+ }
13
+
14
+ .react-dashboard-widget-wrap {
15
+ display: flex;
16
+ height:100%;
17
+
18
+ .react-dashboard-widget-leftBar {
19
+ padding: 10px;
20
+ width: 180px;
21
+ border-right: 1px solid rgba(0, 0, 0, 0.1);
22
+ background: var(--component-background);
23
+ .react-dashboard-widget-searchIcon {
24
+ color: var(--text-color);
25
+ }
26
+
27
+ .react-dashboard-widget-item {
28
+ display: flex;
29
+ justify-content: space-between;
30
+ padding: 10px;
31
+
32
+ .react-dashboard-widget-Badge {
33
+
34
+ .ant-badge-count {
35
+ color: var(--text-color);
36
+ background-color: var(--component-background-1) !important;
37
+ }
38
+
39
+ }
40
+
41
+ cursor: pointer;
42
+
43
+ &:hover {
44
+ background: var(--component-background-3);
45
+ font-weight: bold;
46
+ }
47
+ }
48
+
49
+ .react-dashboard-widget-active {
50
+ background: rgba(0, 0, 0, 0.03);
51
+ font-weight: bold;
52
+ }
53
+ }
54
+
55
+ .react-dashboard-widget-Layer {
56
+ flex: 1 1;
57
+ overflow-y: auto;
58
+ overflow-x: hidden;
59
+ padding: 10px;
60
+ background: rgba(0, 0, 0, 0.01);
61
+ &::-webkit-scrollbar {
62
+ width: 1px;
63
+ height: 1px;
64
+ overflow: auto;
65
+ }
66
+
67
+ &::-webkit-scrollbar-thumb {
68
+ background-color: var(--primary-color);
69
+ min-height: 25px;
70
+ min-width: 25px;
71
+
72
+ &:hover {
73
+ background-color: #a8a8a8;
74
+ }
75
+
76
+ &:active {
77
+ background-color: #787878;
78
+ }
79
+ }
80
+
81
+ &::-webkit-scrollbar-track {
82
+ background-color: #f7f7f7;
83
+ border: 1px solid #efefef;
84
+ }
85
+
86
+ .react-dashboard-widget-waterfall {
87
+ width: 100%;
88
+ }
89
+
90
+ .ant-popover-inner-content {
91
+ background: rgba(0, 0, 0, 0.01);
92
+ }
93
+
94
+
95
+ .react-dashboard-widget-item {
96
+ cursor: pointer;
97
+ height: auto;
98
+ margin-bottom: 10px;
99
+ width: 100%;
100
+ height: auto;
101
+ border-radius: 5px;
102
+ overflow: hidden;
103
+ // box-shadow: 0 0 0px rgba(255, 255, 255, 1);
104
+ transition: all 0.3s;
105
+ border: 1px solid rgba(0, 0, 0, 0.1);
106
+ -webkit-column-break-inside: avoid;
107
+ position: relative;
108
+ background: var(--component-background);
109
+ .react-dashboard-widget-shortcut {
110
+ width: 100%;
111
+ height: auto;
112
+ }
113
+
114
+ .react-dashboard-widget-mask {
115
+ opacity: 0;
116
+ position: absolute;
117
+ top: 0;
118
+ left: 0;
119
+ width: 100%;
120
+ height: 100%;
121
+ background: rgba(0, 0, 0, 0.5);
122
+ display: flex;
123
+ justify-content: center;
124
+ align-items: center;
125
+ transition: all 0.3s;
126
+ }
127
+
128
+ &:hover {
129
+ transition: all 0.3s;
130
+
131
+ border: 1px solid var(--component-background-3);
132
+
133
+ .react-dashboard-widget-mask {
134
+ opacity: 1;
135
+ transition: all 0.3s;
136
+ }
137
+ }
138
+
139
+ .react-dashboard-widget-bottombar {
140
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
141
+ width: 100%;
142
+
143
+ padding: 5px;
144
+
145
+ .react-dashboard-widget-iconWrap {
146
+ display: inline-block;
147
+ width: 28px;
148
+ height: 28px;
149
+ line-height: 28px;
150
+ text-align: center;
151
+ border-radius: 7px;
152
+ color: #fff;
153
+ margin-right: 5px;
154
+ font-size: 16px;
155
+ }
156
+
157
+ .react-dashboard-widget-name {
158
+ font-size: 16px;
159
+ flex: 1;
160
+ color: var(--text-color);
161
+ line-height: 28px;
162
+ font-weight: bold;
163
+ display: inline;
164
+ }
165
+
166
+ .react-dashboard-widget-description {
167
+ margin-top: 5px;
168
+ }
169
+ }
170
+ }
171
+ }
172
+ }
@@ -11,10 +11,10 @@ import React, { useRef, useState } from 'react';
11
11
  import Draggable from 'react-draggable';
12
12
  import "./style.less";
13
13
 
14
- /**
15
- * 可拖拽Modal
16
- * @param props
17
- * @returns
14
+ /**
15
+ * 可拖拽Modal
16
+ * @param props
17
+ * @returns
18
18
  */
19
19
  var DraggableModal = function DraggableModal(props) {
20
20
  var _useState = useState(true),
@@ -1,16 +1,16 @@
1
- .modal-wrap-fullscreen {
2
- top: 0;
3
- margin: 0;
4
- width: 100%;
5
- max-width: 100%;
6
- height: 100vh;
7
- max-height: 100vh;
8
- padding: 0;
9
-
10
- :global {
11
- .acud-modal-content {
12
- height: 100%;
13
- border-radius: 0;
14
- }
15
- }
16
- }
1
+ .modal-wrap-fullscreen {
2
+ top: 0;
3
+ margin: 0;
4
+ width: 100%;
5
+ max-width: 100%;
6
+ height: 100vh;
7
+ max-height: 100vh;
8
+ padding: 0;
9
+
10
+ :global {
11
+ .acud-modal-content {
12
+ height: 100%;
13
+ border-radius: 0;
14
+ }
15
+ }
16
+ }
@@ -1,3 +1,3 @@
1
- .dn-array-table {
2
- background-color: #fff;
1
+ .dn-array-table {
2
+ background-color: #fff;
3
3
  }
@@ -1,3 +1,3 @@
1
- .dn-app {
2
- height: 100%;
1
+ .dn-app {
2
+ height: 100%;
3
3
  }
@@ -8,10 +8,10 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
8
8
  import React, { useState, useRef, useEffect } from 'react';
9
9
  import "./index.less";
10
10
 
11
- /**
12
- * 全部闪烁警告
13
- * @param props
14
- * @returns
11
+ /**
12
+ * 全部闪烁警告
13
+ * @param props
14
+ * @returns
15
15
  */
16
16
  var FullScreenAlert = function FullScreenAlert(props) {
17
17
  var activeProps = props.active,