@nokecy/qc-ui 1.0.7 → 1.0.8

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 (51) 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/ag-gridPlus.js +21 -7
  6. package/dist/cjs/ag-grid-plus/index.less +14 -14
  7. package/dist/cjs/ag-grid-plus/interface.d.ts +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/array-table/preview.js +4 -23
  11. package/dist/cjs/array-table/utils.js +3 -5
  12. package/dist/cjs/dashboard/dashboard/components/toolbar/style/index.less +49 -49
  13. package/dist/cjs/dashboard/dashboard/index.less +173 -173
  14. package/dist/cjs/dashboard/dashboard/utils.js +4 -4
  15. package/dist/cjs/dashboard/utils.js +8 -8
  16. package/dist/cjs/dashboard/widget/index.less +7 -7
  17. package/dist/cjs/dashboard/widget/selector/index.less +172 -172
  18. package/dist/cjs/draggableModal/index.js +4 -4
  19. package/dist/cjs/draggableModal/style.less +16 -16
  20. package/dist/cjs/formDesigner/arrayTable/styles.less +2 -2
  21. package/dist/cjs/formDesigner/index.less +2 -2
  22. package/dist/cjs/fullScreenAlert/index.js +4 -4
  23. package/dist/cjs/fullScreenAlert/index.less +133 -133
  24. package/dist/cjs/importModal/index.js +4 -4
  25. package/dist/cjs/toolBar/index.less +25 -25
  26. package/dist/esm/ConfirmPro/index.js +4 -4
  27. package/dist/esm/ag-grid-plus/_utils/boolSelect.js +5 -5
  28. package/dist/esm/ag-grid-plus/ag-grid-theme-builder.css +352 -352
  29. package/dist/esm/ag-grid-plus/ag-gridPlus.js +20 -6
  30. package/dist/esm/ag-grid-plus/index.less +14 -14
  31. package/dist/esm/ag-grid-plus/interface.d.ts +4 -0
  32. package/dist/esm/ag-grid-plus/queryForm/index.less +48 -48
  33. package/dist/esm/ag-grid-plus/toolBar/index.js +4 -4
  34. package/dist/esm/array-table/preview.js +3 -21
  35. package/dist/esm/array-table/utils.js +3 -3
  36. package/dist/esm/dashboard/dashboard/components/toolbar/style/index.less +49 -49
  37. package/dist/esm/dashboard/dashboard/index.less +173 -173
  38. package/dist/esm/dashboard/dashboard/utils.js +4 -4
  39. package/dist/esm/dashboard/utils.js +8 -8
  40. package/dist/esm/dashboard/widget/index.less +7 -7
  41. package/dist/esm/dashboard/widget/selector/index.less +172 -172
  42. package/dist/esm/draggableModal/index.js +4 -4
  43. package/dist/esm/draggableModal/style.less +16 -16
  44. package/dist/esm/formDesigner/arrayTable/styles.less +2 -2
  45. package/dist/esm/formDesigner/index.less +2 -2
  46. package/dist/esm/fullScreenAlert/index.js +4 -4
  47. package/dist/esm/fullScreenAlert/index.less +133 -133
  48. package/dist/esm/importModal/index.js +4 -4
  49. package/dist/esm/toolBar/index.less +25 -25
  50. package/dist/umd/qc-ui.min.js +1 -1
  51. package/package.json +70 -70
@@ -1,173 +1,173 @@
1
- @import '~react-grid-layout/css/styles.css';
2
-
3
- .react-resizable {
4
-
5
- position: relative;
6
- }
7
- .react-resizable-handle {
8
- position: absolute;
9
- width: 20px;
10
- height: 20px;
11
- background-repeat: no-repeat;
12
- background-origin: content-box;
13
- box-sizing: border-box;
14
- background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');
15
- background-position: bottom right;
16
- padding: 0 3px 3px 0;
17
- display:none;
18
- }
19
- .react-resizable-handle-sw {
20
- bottom: 0;
21
- left: 0;
22
- cursor: sw-resize;
23
- transform: rotate(90deg);
24
- }
25
- .react-resizable-handle-se {
26
- bottom: 0;
27
- right: 0;
28
- cursor: se-resize;
29
- }
30
- .react-resizable-handle-nw {
31
- top: 0;
32
- left: 0;
33
- cursor: nw-resize;
34
- transform: rotate(180deg);
35
- }
36
- .react-resizable-handle-ne {
37
- top: 0;
38
- right: 0;
39
- cursor: ne-resize;
40
- transform: rotate(270deg);
41
- }
42
- .react-resizable-handle-w,
43
- .react-resizable-handle-e {
44
- top: 50%;
45
- margin-top: -10px;
46
- cursor: ew-resize;
47
- }
48
- .react-resizable-handle-w {
49
- left: 0;
50
- transform: rotate(135deg);
51
- }
52
- .react-resizable-handle-e {
53
- right: 0;
54
- transform: rotate(315deg);
55
- }
56
- .react-resizable-handle-n,
57
- .react-resizable-handle-s {
58
- left: 50%;
59
- margin-left: -10px;
60
- cursor: ns-resize;
61
- }
62
- .react-resizable-handle-n {
63
- top: 0;
64
- transform: rotate(225deg);
65
- }
66
- .react-resizable-handle-s {
67
- bottom: 0;
68
- transform: rotate(45deg);
69
- }
70
-
71
- :root{
72
- --primary-color:blue;
73
- --component-background:#fff;
74
- }
75
-
76
-
77
- .react-grid-item > .react-resizable-handle {
78
- z-index: 1;
79
- }
80
- .react-dashboard-item-edit{
81
- .react-resizable-handle {
82
- display:block;
83
- }
84
- }
85
-
86
- .react-dashboard-full {
87
- width: 100%;
88
- height: 100%;
89
- }
90
- .react-dashboard-aligncenter {
91
- display: flex;
92
- justify-content: center;
93
- align-items: center;
94
- }
95
- //空页面样式
96
- .react-dashboard-emptyContent {
97
- // min-height: calc(100vh - 50px - 41px - 50px - 10px - 22px);
98
- display: flex;
99
- justify-content: center;
100
- align-items: center;
101
- }
102
-
103
-
104
- .react-dashboard-item {
105
- position: relative;
106
- // overflow: hidden;
107
- // border:1px solid rgba(128,128,128,0.3);
108
- .react-dashboard-mask {
109
- position: absolute;
110
- top: 0;
111
- left: 0;
112
- z-index: 1;
113
- width: 100%;
114
- height: 100%;
115
- background: rgba(0, 0, 0, 0);
116
- cursor: move;
117
- transition: all 0.3s;
118
- }
119
-
120
- .react-dashboard-configicon {
121
- position: absolute;
122
- top: 0;
123
- right: 30px;
124
- z-index: 1;
125
- display: none;
126
- width: 30px;
127
- height: 30px;
128
- color: #fff;
129
- font-weight: bold;
130
- font-size: 16px;
131
- line-height: 30px;
132
- text-align: center;
133
- background: var(--primary-color);
134
- border-radius: var(--card-border-radius) 0 0 var(--card-border-radius);
135
- cursor: pointer;
136
- }
137
-
138
- .react-dashboard-deleteicon {
139
- position: absolute;
140
- top: 0;
141
- right: 0;
142
- z-index: 1;
143
- display: none;
144
- width: 30px;
145
- height: 30px;
146
- color: #fff;
147
- font-size: 16px;
148
- line-height: 30px;
149
- text-align: center;
150
- background: #f5222d;
151
- border-radius: var(--card-border-radius);
152
- cursor: pointer;
153
- }
154
-
155
- .react-dashboard-configicon + .react-dashboard-deleteicon {
156
- border-radius: 0 var(--card-border-radius) var(--card-border-radius) 0;
157
- }
158
-
159
- &:hover {
160
- .react-dashboard-mask {
161
- background: rgba(0, 0, 0, 0.05);
162
- transition: all 0.3s;
163
- }
164
-
165
- .react-dashboard-configicon {
166
- display: block;
167
- }
168
-
169
- .react-dashboard-deleteicon {
170
- display: block;
171
- }
172
- }
173
- }
1
+ @import '~react-grid-layout/css/styles.css';
2
+
3
+ .react-resizable {
4
+
5
+ position: relative;
6
+ }
7
+ .react-resizable-handle {
8
+ position: absolute;
9
+ width: 20px;
10
+ height: 20px;
11
+ background-repeat: no-repeat;
12
+ background-origin: content-box;
13
+ box-sizing: border-box;
14
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');
15
+ background-position: bottom right;
16
+ padding: 0 3px 3px 0;
17
+ display:none;
18
+ }
19
+ .react-resizable-handle-sw {
20
+ bottom: 0;
21
+ left: 0;
22
+ cursor: sw-resize;
23
+ transform: rotate(90deg);
24
+ }
25
+ .react-resizable-handle-se {
26
+ bottom: 0;
27
+ right: 0;
28
+ cursor: se-resize;
29
+ }
30
+ .react-resizable-handle-nw {
31
+ top: 0;
32
+ left: 0;
33
+ cursor: nw-resize;
34
+ transform: rotate(180deg);
35
+ }
36
+ .react-resizable-handle-ne {
37
+ top: 0;
38
+ right: 0;
39
+ cursor: ne-resize;
40
+ transform: rotate(270deg);
41
+ }
42
+ .react-resizable-handle-w,
43
+ .react-resizable-handle-e {
44
+ top: 50%;
45
+ margin-top: -10px;
46
+ cursor: ew-resize;
47
+ }
48
+ .react-resizable-handle-w {
49
+ left: 0;
50
+ transform: rotate(135deg);
51
+ }
52
+ .react-resizable-handle-e {
53
+ right: 0;
54
+ transform: rotate(315deg);
55
+ }
56
+ .react-resizable-handle-n,
57
+ .react-resizable-handle-s {
58
+ left: 50%;
59
+ margin-left: -10px;
60
+ cursor: ns-resize;
61
+ }
62
+ .react-resizable-handle-n {
63
+ top: 0;
64
+ transform: rotate(225deg);
65
+ }
66
+ .react-resizable-handle-s {
67
+ bottom: 0;
68
+ transform: rotate(45deg);
69
+ }
70
+
71
+ :root{
72
+ --primary-color:blue;
73
+ --component-background:#fff;
74
+ }
75
+
76
+
77
+ .react-grid-item > .react-resizable-handle {
78
+ z-index: 1;
79
+ }
80
+ .react-dashboard-item-edit{
81
+ .react-resizable-handle {
82
+ display:block;
83
+ }
84
+ }
85
+
86
+ .react-dashboard-full {
87
+ width: 100%;
88
+ height: 100%;
89
+ }
90
+ .react-dashboard-aligncenter {
91
+ display: flex;
92
+ justify-content: center;
93
+ align-items: center;
94
+ }
95
+ //空页面样式
96
+ .react-dashboard-emptyContent {
97
+ // min-height: calc(100vh - 50px - 41px - 50px - 10px - 22px);
98
+ display: flex;
99
+ justify-content: center;
100
+ align-items: center;
101
+ }
102
+
103
+
104
+ .react-dashboard-item {
105
+ position: relative;
106
+ // overflow: hidden;
107
+ // border:1px solid rgba(128,128,128,0.3);
108
+ .react-dashboard-mask {
109
+ position: absolute;
110
+ top: 0;
111
+ left: 0;
112
+ z-index: 1;
113
+ width: 100%;
114
+ height: 100%;
115
+ background: rgba(0, 0, 0, 0);
116
+ cursor: move;
117
+ transition: all 0.3s;
118
+ }
119
+
120
+ .react-dashboard-configicon {
121
+ position: absolute;
122
+ top: 0;
123
+ right: 30px;
124
+ z-index: 1;
125
+ display: none;
126
+ width: 30px;
127
+ height: 30px;
128
+ color: #fff;
129
+ font-weight: bold;
130
+ font-size: 16px;
131
+ line-height: 30px;
132
+ text-align: center;
133
+ background: var(--primary-color);
134
+ border-radius: var(--card-border-radius) 0 0 var(--card-border-radius);
135
+ cursor: pointer;
136
+ }
137
+
138
+ .react-dashboard-deleteicon {
139
+ position: absolute;
140
+ top: 0;
141
+ right: 0;
142
+ z-index: 1;
143
+ display: none;
144
+ width: 30px;
145
+ height: 30px;
146
+ color: #fff;
147
+ font-size: 16px;
148
+ line-height: 30px;
149
+ text-align: center;
150
+ background: #f5222d;
151
+ border-radius: var(--card-border-radius);
152
+ cursor: pointer;
153
+ }
154
+
155
+ .react-dashboard-configicon + .react-dashboard-deleteicon {
156
+ border-radius: 0 var(--card-border-radius) var(--card-border-radius) 0;
157
+ }
158
+
159
+ &:hover {
160
+ .react-dashboard-mask {
161
+ background: rgba(0, 0, 0, 0.05);
162
+ transition: all 0.3s;
163
+ }
164
+
165
+ .react-dashboard-configicon {
166
+ display: block;
167
+ }
168
+
169
+ .react-dashboard-deleteicon {
170
+ display: block;
171
+ }
172
+ }
173
+ }
@@ -44,10 +44,10 @@ var request = exports.request = /*#__PURE__*/function () {
44
44
  };
45
45
  }();
46
46
 
47
- /**
48
- *复制字符串到系统剪切板
49
- *
50
- * @param {*} str
47
+ /**
48
+ *复制字符串到系统剪切板
49
+ *
50
+ * @param {*} str
51
51
  */
52
52
  var copy = exports.copy = function copy(str) {
53
53
  var save = function save(e) {
@@ -57,10 +57,10 @@ var getPosition = exports.getPosition = function getPosition(random, fontSize) {
57
57
  };
58
58
  };
59
59
 
60
- /*
61
- 生成uuid
62
- len:number 长度
63
- radix:number 进制
60
+ /*
61
+ 生成uuid
62
+ len:number 长度
63
+ radix:number 进制
64
64
  */
65
65
  function generateUuid() {
66
66
  var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 32;
@@ -92,10 +92,10 @@ function generateUuid() {
92
92
  return uuid.join('');
93
93
  }
94
94
  var confirm = _antd.Modal.confirm;
95
- /**
96
- * 异步确认弹窗,抛出确认或取消布尔值
97
- *
98
- * @param {confirmUtilAsyncProps} props
95
+ /**
96
+ * 异步确认弹窗,抛出确认或取消布尔值
97
+ *
98
+ * @param {confirmUtilAsyncProps} props
99
99
  */
100
100
  var confirmUtilAsync = exports.confirmUtilAsync = function confirmUtilAsync(props) {
101
101
  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
+ }