@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
@@ -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
+ }
@@ -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
+ }
@@ -20,10 +20,10 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
20
20
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
21
21
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
22
22
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
23
- /**
24
- * 可拖拽Modal
25
- * @param props
26
- * @returns
23
+ /**
24
+ * 可拖拽Modal
25
+ * @param props
26
+ * @returns
27
27
  */
28
28
  var DraggableModal = function DraggableModal(props) {
29
29
  var _useState = (0, _react.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
  }
@@ -16,10 +16,10 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
16
16
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
17
17
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
18
18
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
- /**
20
- * 全部闪烁警告
21
- * @param props
22
- * @returns
19
+ /**
20
+ * 全部闪烁警告
21
+ * @param props
22
+ * @returns
23
23
  */
24
24
  var FullScreenAlert = function FullScreenAlert(props) {
25
25
  var activeProps = props.active,