cygx-ui 1.0.1

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 (53) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +39 -0
  3. package/dist/components/Button/button.d.ts +7 -0
  4. package/dist/components/Button/index.d.ts +2 -0
  5. package/dist/components/Button copy/button.d.ts +27 -0
  6. package/dist/components/Button copy/index.d.ts +2 -0
  7. package/dist/components/Card/card.d.ts +10 -0
  8. package/dist/components/Card/index.d.ts +2 -0
  9. package/dist/components/Container/container.d.ts +9 -0
  10. package/dist/components/Container/index.d.ts +2 -0
  11. package/dist/components/CygxPopover/cygxPopover.d.ts +13 -0
  12. package/dist/components/CygxPopover/index.d.ts +2 -0
  13. package/dist/components/DatePicker/datePicker.d.ts +37 -0
  14. package/dist/components/DatePicker/index.d.ts +2 -0
  15. package/dist/components/Form/form.d.ts +16 -0
  16. package/dist/components/Form/formItem.d.ts +16 -0
  17. package/dist/components/Form/index.d.ts +2 -0
  18. package/dist/components/Form/searchLeft.d.ts +8 -0
  19. package/dist/components/Form/searchRight.d.ts +24 -0
  20. package/dist/components/FormList/FormItem.d.ts +9 -0
  21. package/dist/components/FormList/FormList.d.ts +13 -0
  22. package/dist/components/HoverWindow/hoverWindow.d.ts +12 -0
  23. package/dist/components/HoverWindow/index.d.ts +2 -0
  24. package/dist/components/Input/index.d.ts +2 -0
  25. package/dist/components/Input/input.d.ts +14 -0
  26. package/dist/components/Province/index.d.ts +2 -0
  27. package/dist/components/Province/province.d.ts +20 -0
  28. package/dist/components/QuickQuery/index.d.ts +2 -0
  29. package/dist/components/QuickQuery/quickQuery.d.ts +17 -0
  30. package/dist/components/Select/index.d.ts +8 -0
  31. package/dist/components/Select/option.d.ts +13 -0
  32. package/dist/components/Select/select.d.ts +20 -0
  33. package/dist/components/Table/ResizableTable.d.ts +9 -0
  34. package/dist/components/Table/components/Empty.d.ts +13 -0
  35. package/dist/components/Table/components/row.d.ts +3 -0
  36. package/dist/components/Table/hooks/index.d.ts +7 -0
  37. package/dist/components/Table/hooks/useMoveRow.d.ts +7 -0
  38. package/dist/components/Table/index.d.ts +12 -0
  39. package/dist/components/Table/table.d.ts +73 -0
  40. package/dist/components/Table/tableColumns.d.ts +11 -0
  41. package/dist/components/Table/tableSummary.d.ts +28 -0
  42. package/dist/components/Table/utils/common.d.ts +15 -0
  43. package/dist/hooks/useAuthority.d.ts +2 -0
  44. package/dist/hooks/useClickOutside.d.ts +3 -0
  45. package/dist/hooks/useDebounce.d.ts +2 -0
  46. package/dist/hooks/useRequest.d.ts +11 -0
  47. package/dist/hooks/useWaterMark.d.ts +17 -0
  48. package/dist/index.css +578 -0
  49. package/dist/index.d.ts +24 -0
  50. package/dist/index.es.js +121345 -0
  51. package/dist/index.umd.js +66 -0
  52. package/dist/utils/timeTransForm.d.ts +14 -0
  53. package/package.json +139 -0
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 网络请求配置
3
+ */
4
+ import { AxiosRequestConfig } from "axios";
5
+ export interface IOptions extends AxiosRequestConfig {
6
+ isFormData?: boolean;
7
+ encryptionType?: "aes" | "des" | boolean;
8
+ isTimeoutMessage?: boolean;
9
+ }
10
+ declare function request(myOptions: IOptions): any;
11
+ export default request;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * 水印组件
3
+ * @param CON:水印名称
4
+ * @returns
5
+ */
6
+ interface IWatermarkProps {
7
+ height?: number;
8
+ width?: number;
9
+ route?: number;
10
+ color?: String;
11
+ fontSize?: number;
12
+ transparent?: number;
13
+ name: String;
14
+ }
15
+ export declare const useWatermark: (props: IWatermarkProps) => void;
16
+ export declare const dumpWaterMark: () => void;
17
+ export {};
package/dist/index.css ADDED
@@ -0,0 +1,578 @@
1
+ @charset "UTF-8";
2
+ /* 系统颜色 */
3
+ /* 系统字体 */
4
+ /* 系统间距 */
5
+ /* 系统常用宽高 */
6
+ .ant-modal-root .ant-modal-body {
7
+ padding: 0px;
8
+ }
9
+ .ant-modal-root .ant-modal-header {
10
+ padding: 0 0 10px;
11
+ margin-bottom: 10px;
12
+ }
13
+ .ant-modal-root .ant-modal-footer {
14
+ padding: 10px 0 0;
15
+ margin-top: 0px;
16
+ }
17
+ .ant-modal-root .ant-modal-content {
18
+ padding: 20px !important;
19
+ }
20
+ .ant-modal-root .ant-modal-content .ant-modal-close {
21
+ top: 10px;
22
+ }
23
+ .ant-modal-root .ant-modal-content .ant-modal-close .ant-modal-close-x {
24
+ width: 22px;
25
+ height: 22px;
26
+ line-height: 22px;
27
+ }
28
+
29
+ .link-span {
30
+ color: #1677ff;
31
+ cursor: pointer;
32
+ }
33
+
34
+ .dis-link-span {
35
+ color: rgba(0, 0, 0, 0.25);
36
+ pointer-events: none;
37
+ }
38
+
39
+ .redStarSpan {
40
+ display: inline-block;
41
+ margin-right: 4px;
42
+ color: #ff4d4f;
43
+ font-size: 14px !important;
44
+ font-family: SimSun, sans-serif;
45
+ line-height: 2;
46
+ }
47
+
48
+ .blueTitleSpan {
49
+ padding-left: 10px;
50
+ border-left: 8px solid #1890ff;
51
+ margin-bottom: 10px;
52
+ display: block;
53
+ font-weight: bolder;
54
+ line-height: 20px;
55
+ font-size: 14px;
56
+ }
57
+
58
+ .ant-tabs-nav {
59
+ margin: 0 0 10px !important;
60
+ }
61
+
62
+ .mt0 {
63
+ margin-top: 0px;
64
+ }
65
+
66
+ .mt5 {
67
+ margin-top: 5px;
68
+ }
69
+
70
+ .mt10 {
71
+ margin-top: 10px;
72
+ }
73
+
74
+ .mt15 {
75
+ margin-top: 15px;
76
+ }
77
+
78
+ .mt20 {
79
+ margin-top: 20px;
80
+ }
81
+
82
+ .mr0 {
83
+ margin-right: 0px;
84
+ }
85
+
86
+ .mr5 {
87
+ margin-right: 5px;
88
+ }
89
+
90
+ .mr10 {
91
+ margin-right: 10px;
92
+ }
93
+
94
+ .mr15 {
95
+ margin-right: 15px;
96
+ }
97
+
98
+ .mr20 {
99
+ margin-right: 20px;
100
+ }
101
+
102
+ .ml0 {
103
+ margin-left: 0px;
104
+ }
105
+
106
+ .ml5 {
107
+ margin-left: 5px;
108
+ }
109
+
110
+ .ml10 {
111
+ margin-left: 10px;
112
+ }
113
+
114
+ .ml15 {
115
+ margin-left: 15px;
116
+ }
117
+
118
+ .ml20 {
119
+ margin-left: 20px;
120
+ }
121
+
122
+ .mb0 {
123
+ margin-bottom: 0px;
124
+ }
125
+
126
+ .mb5 {
127
+ margin-bottom: 5px;
128
+ }
129
+
130
+ .mb10 {
131
+ margin-bottom: 10px;
132
+ }
133
+
134
+ .mb15 {
135
+ margin-bottom: 15px;
136
+ }
137
+
138
+ .mb20 {
139
+ margin-bottom: 20px;
140
+ }
141
+
142
+ .chineseInput :global input::-webkit-contacts-auto-fill-button {
143
+ visibility: hidden;
144
+ display: none !important;
145
+ pointer-events: none;
146
+ position: absolute;
147
+ right: 0;
148
+ }
149
+
150
+ .cygx-table .ant-table {
151
+ height: 100%;
152
+ }
153
+ .cygx-table .ant-table-container {
154
+ height: 100%;
155
+ }
156
+ .cygx-table .ant-table-body {
157
+ height: 100%;
158
+ }
159
+ .cygx-table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td {
160
+ height: 35px;
161
+ }
162
+ .cygx-table .ant-table .ant-table-tbody > tr.clickRowStyle > td {
163
+ background-color: #fffacd !important;
164
+ }
165
+ .cygx-table .ant-table .ant-table-thead > tr > th,
166
+ .cygx-table .ant-table .ant-table-tbody > tr > td,
167
+ .cygx-table .ant-table .ant-table-summary > tr > td,
168
+ .cygx-table .ant-table .ant-table-footer {
169
+ padding: 3px 10px !important;
170
+ }
171
+ .cygx-table .ant-table .ant-table-tbody > tr > td,
172
+ .cygx-table .ant-table .ant-table-summary > tr > td,
173
+ .cygx-table .ant-table .ant-table-footer {
174
+ line-height: 28px !important;
175
+ }
176
+ .cygx-table .ant-table tr.ant-table-row-selected td {
177
+ background-color: #c0ebff !important;
178
+ }
179
+ .cygx-table .ant-table .ant-table-tbody tr:nth-child(2n+1) td {
180
+ background: #f9fdff;
181
+ }
182
+ .cygx-table .ant-table .ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td {
183
+ background-color: #e6f7ff;
184
+ }
185
+ .cygx-table .ant-table .ant-table-body .ant-table-row-hover {
186
+ background: #e6f7ff;
187
+ }
188
+ .cygx-table .ant-table .ant-table-body .ant-table-row-hover > td {
189
+ background: #e6f7ff;
190
+ }
191
+ .cygx-table .red-column-span {
192
+ color: red;
193
+ padding-right: 5px;
194
+ }
195
+ .cygx-table .ant-table-summary {
196
+ color: red;
197
+ height: 37px;
198
+ }
199
+ .cygx-table .ant-table-footer {
200
+ padding: 0px;
201
+ }
202
+ .cygx-table .ant-table-footer .footer-sum-table .antd-table .ant-table-thead {
203
+ display: none;
204
+ }
205
+ .cygx-table .ant-table-cell {
206
+ vertical-align: middle;
207
+ }
208
+ .cygx-table .ant-table-cell .ant-btn-link {
209
+ padding: 0px;
210
+ max-height: 25px;
211
+ }
212
+ .cygx-table .ant-table-cell .ant-input-number,
213
+ .cygx-table .ant-table-cell .ant-select {
214
+ width: 100%;
215
+ }
216
+ .cygx-table .ant-table-cell .ant-input-number {
217
+ height: 28px;
218
+ line-height: 28px;
219
+ }
220
+ .cygx-table .ant-table-cell .ant-input-number .ant-input-number-input {
221
+ height: 28px;
222
+ line-height: 28px;
223
+ }
224
+ .cygx-table .ant-table-cell .add_del_css .anticon {
225
+ width: 20px;
226
+ margin: 0 auto;
227
+ display: block;
228
+ cursor: pointer;
229
+ }
230
+ .cygx-table .ant-table-cell-fix-right .ant-btn-link {
231
+ padding: 0px 10px;
232
+ }
233
+ .cygx-table .ant-pagination {
234
+ margin: 10px 0 !important;
235
+ }
236
+
237
+ .ant-modal-root .ant-modal-body {
238
+ padding: 0px;
239
+ }
240
+ .ant-modal-root .ant-modal-header {
241
+ padding: 0 0 10px;
242
+ margin-bottom: 10px;
243
+ }
244
+ .ant-modal-root .ant-modal-footer {
245
+ padding: 0px;
246
+ margin-top: 10px;
247
+ }
248
+ .ant-modal-root .ant-modal-content {
249
+ padding: 20px !important;
250
+ }
251
+ .ant-modal-root .ant-modal-content .ant-modal-close {
252
+ top: 10px;
253
+ }
254
+ .ant-modal-root .ant-modal-content .ant-modal-close .ant-modal-close-x {
255
+ width: 22px;
256
+ height: 22px;
257
+ line-height: 22px;
258
+ }
259
+
260
+ /* 显示拖拽样式 */
261
+ .react-resizable {
262
+ position: relative;
263
+ background-clip: padding-box;
264
+ }
265
+
266
+ /* 显示拖拽手势 */
267
+ .react-resizable-handle {
268
+ position: absolute;
269
+ width: 10px;
270
+ height: 100%;
271
+ bottom: 0;
272
+ right: -5px;
273
+ cursor: col-resize;
274
+ background-image: none;
275
+ z-index: 1;
276
+ }
277
+
278
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > th,
279
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr > th,
280
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr > th,
281
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > thead > tr > th,
282
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > th,
283
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > th,
284
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > th,
285
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tbody > tr > th,
286
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > td,
287
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > td,
288
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td,
289
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tbody > tr > td,
290
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tfoot > tr > th,
291
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > th,
292
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > th,
293
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > th,
294
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tfoot > tr > td,
295
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > td,
296
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > td,
297
+ :where(.css-dev-only-do-not-override-htwhyh).ant-table-wrapper .ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > td {
298
+ padding: 3px 10px !important;
299
+ }
300
+
301
+ .ant-table-measure-row {
302
+ table-layout: collapse;
303
+ visibility: collapse;
304
+ }
305
+
306
+ .cygx_form_spin {
307
+ height: auto !important;
308
+ }
309
+
310
+ .cygx-form {
311
+ margin-right: -10px;
312
+ margin-bottom: -10px;
313
+ }
314
+ .cygx-form .ant-form-item:focus-within .ant-form-item-row {
315
+ border-color: #1566d2;
316
+ }
317
+ .cygx-form .ant-form-item-has-error .ant-form-item-row {
318
+ border-color: red !important;
319
+ }
320
+ .cygx-form .form-item-littleborder .ant-form-item-row {
321
+ border: none !important;
322
+ }
323
+ .cygx-form .form-item-littleborder .ant-form-item-control {
324
+ border: 1px solid #cdd9e6;
325
+ border-radius: 4px;
326
+ }
327
+ .cygx-form .form-item-littleborder .ant-form-item-row:focus-within .ant-form-item-control,
328
+ .cygx-form .form-item-littleborder .ant-form-item-row:hover .ant-form-item-control {
329
+ border-color: #1566d2;
330
+ }
331
+ .cygx-form .form-item-noborder .ant-form-item-row {
332
+ border: none !important;
333
+ }
334
+ .cygx-form .form-item-noborder .ant-form-item-row:focus-within .ant-form-item-control,
335
+ .cygx-form .form-item-noborder .ant-form-item-row:hover .ant-form-item-control {
336
+ border-color: #1566d2;
337
+ }
338
+ .cygx-form .form-item-littleborder.ant-form-item-has-error .ant-form-item-control {
339
+ border-color: red !important;
340
+ }
341
+ .cygx-form .form-item-noLabel .ant-form-item-label {
342
+ display: none;
343
+ }
344
+ .cygx-form .form-item-littleborder.form-item-disabled .ant-form-item-label,
345
+ .cygx-form .form-item-littleborder.form-item-disabled .ant-form-item-row,
346
+ .cygx-form .form-item-littleborder.form-item-disabled .label {
347
+ background: transparent !important;
348
+ }
349
+ .cygx-form .form-item-littleborder.form-item-disabled .ant-form-item-label {
350
+ cursor: auto;
351
+ }
352
+ .cygx-form .form-item-littleborder.form-item-disabled .ant-form-item-control {
353
+ border-color: #cdd9e6 !important;
354
+ }
355
+ .cygx-form .form-item-disabled .ant-form-item-row {
356
+ cursor: not-allowed;
357
+ border-color: #cdd9e6 !important;
358
+ }
359
+ .cygx-form .form-item-disabled .ant-form-item-row .ant-form-item-required {
360
+ cursor: not-allowed;
361
+ pointer-events: none;
362
+ }
363
+ .cygx-form .form-item-disabled .ant-form-item-label,
364
+ .cygx-form .form-item-disabled .ant-form-item-row,
365
+ .cygx-form .form-item-disabled .ant-form-item-control,
366
+ .cygx-form .form-item-disabled .ant-select-selector,
367
+ .cygx-form .form-item-disabled .ant-radio-wrapper-disabled,
368
+ .cygx-form .form-item-disabled .ant-checkbox-wrapper-disabled > span,
369
+ .cygx-form .form-item-disabled input {
370
+ background-color: #f5f5f5 !important;
371
+ color: rgba(0, 0, 0, 0.85) !important;
372
+ }
373
+ .cygx-form .form-item-disabled .label,
374
+ .cygx-form .form-item-disabled input {
375
+ pointer-events: none;
376
+ }
377
+ .cygx-form .ant-form-item-control > div:nth-child(2) > div {
378
+ display: none !important;
379
+ }
380
+ .cygx-form .ant-form-item {
381
+ box-sizing: border-box;
382
+ padding: 0 10px 10px 0;
383
+ margin: 0;
384
+ color: rgba(0, 0, 0, 0.85);
385
+ font-variant: tabular-nums;
386
+ line-height: 1.5715;
387
+ min-height: 30px;
388
+ list-style: none;
389
+ font-feature-settings: "tnum", "tnum";
390
+ vertical-align: top;
391
+ display: flex;
392
+ flex-flow: row wrap;
393
+ border-radius: 4px;
394
+ float: left;
395
+ }
396
+ .cygx-form .ant-form-item .ant-form-item-row:hover {
397
+ border-color: #1566d2;
398
+ }
399
+ .cygx-form .ant-form-item .ant-form-item-row {
400
+ width: 100%;
401
+ border: 1px solid #cdd9e6;
402
+ border-radius: 4px;
403
+ height: 100%;
404
+ min-height: 32px;
405
+ }
406
+ .cygx-form .ant-form-item .ant-form-item-control-input {
407
+ min-height: 30px;
408
+ }
409
+ .cygx-form .ant-form-item .ant-form-item-label {
410
+ font-weight: 550;
411
+ color: #768696;
412
+ border-radius: 4px 0px 0px 4px;
413
+ padding-left: 6px;
414
+ transition: border 0.3s;
415
+ background-color: #ffffff;
416
+ }
417
+ .cygx-form .ant-form-item .ant-form-item-label label {
418
+ height: 30px;
419
+ }
420
+ .cygx-form .ant-form-item input,
421
+ .cygx-form .ant-form-item label,
422
+ .cygx-form .ant-form-item span {
423
+ font-size: 12px;
424
+ }
425
+ .cygx-form .ant-form-item .ant-form-item-control {
426
+ flex: 1 1;
427
+ display: flex;
428
+ flex-direction: column;
429
+ }
430
+ .cygx-form .ant-form-item .ant-form-item-control input,
431
+ .cygx-form .ant-form-item .ant-form-item-control textarea,
432
+ .cygx-form .ant-form-item .ant-form-item-control .ant-picker,
433
+ .cygx-form .ant-form-item .ant-form-item-control .ant-select-selector,
434
+ .cygx-form .ant-form-item .ant-form-item-control .ant-input-number {
435
+ border: none;
436
+ width: 100%;
437
+ border-radius: 4px !important;
438
+ }
439
+ .cygx-form .ant-form-item .ant-form-item-control textarea {
440
+ resize: none;
441
+ }
442
+ .cygx-form .ant-form-item .ant-form-item-control .ant-select-selector,
443
+ .cygx-form .ant-form-item .ant-form-item-control .ant-select-selector:checked,
444
+ .cygx-form .ant-form-item .ant-form-item-control .ant-input:focus,
445
+ .cygx-form .ant-form-item .ant-form-item-control .ant-picker-focused,
446
+ .cygx-form .ant-form-item .ant-form-item-control .ant-select-focused,
447
+ .cygx-form .ant-form-item .ant-form-item-control .ant-input-group-addon,
448
+ .cygx-form .ant-form-item .ant-form-item-control .ant-input-affix-wrapper,
449
+ .cygx-form .ant-form-item .ant-form-item-control .ant-input-number {
450
+ box-shadow: none !important;
451
+ border: none !important;
452
+ }
453
+ .cygx-form .ant-form-item .ant-form-item-control .ant-input-affix-wrapper,
454
+ .cygx-form .ant-form-item .ant-form-item-control .ant-input-group > .ant-input,
455
+ .cygx-form .ant-form-item .ant-form-item-control .ant-select-selector {
456
+ height: 30px;
457
+ }
458
+ .cygx-form .ant-form-item .ant-form-item-control .ant-input-group > div:first-of-type {
459
+ border-right: 1px solid #cdd9e6 !important;
460
+ border-radius: 4px 0 0 4px !important;
461
+ margin-right: 1px;
462
+ width: calc(30% - 1px);
463
+ }
464
+ .cygx-form .ant-form-item .ant-form-item-control .ant-input-group > .ant-input-affix-wrapper {
465
+ border-radius: 0 4px 4px 0 !important;
466
+ }
467
+ .cygx-form .search-left {
468
+ float: left;
469
+ display: flex;
470
+ flex-wrap: wrap;
471
+ flex-grow: 1;
472
+ flex: 1 1;
473
+ position: relative;
474
+ align-items: flex-start;
475
+ margin-bottom: 10px;
476
+ z-index: 2;
477
+ }
478
+ .cygx-form .search-right {
479
+ display: flex;
480
+ flex-wrap: wrap;
481
+ align-content: baseline;
482
+ margin-right: 10px;
483
+ margin-bottom: 10px;
484
+ }
485
+ .cygx-form .search-right button {
486
+ margin: 0 10px 10px 0;
487
+ margin-right: 10px;
488
+ }
489
+ .cygx-form .search-right button:last-child {
490
+ margin-right: 0px;
491
+ }
492
+ .cygx-form .search-right .ant-dropdown-trigger {
493
+ padding: 2px 10px;
494
+ }
495
+ .cygx-form .search-right .ant-dropdown-trigger svg {
496
+ font-size: 25px;
497
+ }
498
+
499
+ .cygx-container .ant-spin-nested-loading,
500
+ .cygx-container .ant-spin-container {
501
+ height: 100%;
502
+ }
503
+ .cygx-container .container-div {
504
+ background: white;
505
+ margin: 10px;
506
+ padding: 10px;
507
+ overflow-y: auto;
508
+ overflow-x: hidden;
509
+ }
510
+
511
+ .quick_query_div {
512
+ position: relative;
513
+ }
514
+ .quick_query_div .top_now_dept {
515
+ width: 100%;
516
+ min-height: 30px;
517
+ background: #f5f5f5;
518
+ border: 1px solid #f0f0f0;
519
+ padding: 5px 10px;
520
+ }
521
+ .quick_query_div .top_now_dept .anticon {
522
+ float: right;
523
+ font-size: 20px;
524
+ }
525
+ .quick_query_div .ant-drawer .ant-drawer-content-wrapper {
526
+ box-shadow: none;
527
+ border: 1px solid #f0f0f0;
528
+ }
529
+ .quick_query_div .ant-drawer .ant-drawer-content-wrapper .ant-drawer-header {
530
+ padding: 4px 10px;
531
+ background: #f5f5f5;
532
+ }
533
+ .quick_query_div .ant-drawer .ant-drawer-content-wrapper .ant-drawer-header .ant-drawer-title {
534
+ font-size: 12px;
535
+ font-weight: bolder;
536
+ }
537
+ .quick_query_div .ant-drawer .ant-drawer-content-wrapper .ant-drawer-header .ant-drawer-extra {
538
+ flex: 2;
539
+ }
540
+ .quick_query_div .ant-drawer .ant-drawer-content-wrapper .ant-drawer-header .ant-drawer-extra .ant-checkbox-wrapper {
541
+ float: right;
542
+ }
543
+ .quick_query_div .ant-drawer .ant-drawer-content-wrapper .ant-drawer-body {
544
+ padding: 10px;
545
+ }
546
+ .quick_query_div .hide-right-css .ant-drawer-content-wrapper {
547
+ display: none;
548
+ }
549
+
550
+ .hover_window {
551
+ background: white;
552
+ position: fixed;
553
+ z-index: 9999;
554
+ box-shadow: 2px 2px 10px #666;
555
+ border-radius: 4px;
556
+ }
557
+ .hover_window .anticon-close {
558
+ float: right;
559
+ padding: 10px;
560
+ cursor: pointer;
561
+ }
562
+ .hover_window .hover_children_div {
563
+ margin-top: 35px;
564
+ padding: 10px;
565
+ }
566
+ .hover_window .title_span_css {
567
+ font-size: 18px;
568
+ padding: 10px;
569
+ float: left;
570
+ display: block;
571
+ font-weight: bolder;
572
+ }
573
+
574
+ .cygx_popover .cygx_popover_close {
575
+ cursor: pointer;
576
+ float: right;
577
+ margin-top: -35px;
578
+ }
@@ -0,0 +1,24 @@
1
+ import './styles/index.scss';
2
+ export { default as Table } from './components/Table';
3
+ export { default as Form } from './components/Form';
4
+ export { default as Container } from './components/Container';
5
+ export { default as Input } from './components/Input';
6
+ export { default as QuickQuery } from './components/QuickQuery';
7
+ export { default as HoverWindow } from './components/HoverWindow';
8
+ export { default as CygxPopover } from './components/CygxPopover';
9
+ export { default as Province } from './components/Province';
10
+ export { default as Card } from './components/Card';
11
+ export { default as Button } from './components/Button';
12
+ export type { SelectProps } from 'antd/lib/select';
13
+ export type { ColumnsType } from './components/Table/table';
14
+ export type { TableRowSelection } from 'antd/lib/table/interface';
15
+ export type { RcFile, UploadProps, UploadChangeParam } from 'antd/es/upload';
16
+ export type { UploadFile } from 'antd/es/upload/interface';
17
+ export type { ButtonProps, ButtonShape, ButtonType } from 'antd/lib/button';
18
+ export { default as timeTransForm } from './utils/timeTransForm';
19
+ export type { InputRef } from 'antd/lib/input/Input';
20
+ export type { TabsProps, QRCodeProps, MenuProps, TourStepProps, MentionProps, AvatarProps, SegmentedProps, StatisticProps, TimelineProps, TimelineItemProps, TourProps, FloatButtonProps, } from 'antd';
21
+ export { DatePicker, Checkbox, Menu, Pagination, Tabs, Layout, Modal, Upload, Radio, Switch, InputNumber, } from 'antd';
22
+ export { Calendar, Alert, Select, ConfigProvider, Drawer, message, Space, Grid, Divider, Dropdown, Badge, List, Result, Spin, Popconfirm, TreeSelect, Tree, Progress, Cascader, Tooltip, Descriptions, Image, Popover, Breadcrumb, Transfer, Row, Col, Collapse, Tag, Watermark, QRCode, Steps, Mentions, Avatar, Segmented, Statistic, Timeline, Tour, FloatButton, Typography, } from 'antd';
23
+ export { default as zhCN } from 'antd/lib/locale/zh_CN';
24
+ export { default as Icon, createFromIconfontCN } from '@ant-design/icons';