@chaoswise/business 0.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 (71) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +113 -0
  3. package/config/babel/antdComs.js +51 -0
  4. package/config/babel/formily.js +22 -0
  5. package/config/babel/index.js +36 -0
  6. package/config/city/citys.js +1964 -0
  7. package/config/theme/CWTheme.js +427 -0
  8. package/config/theme/chart.dark.js +394 -0
  9. package/config/theme/chart.light.js +3 -0
  10. package/config/theme/common.less +161 -0
  11. package/config/theme/dark.js +784 -0
  12. package/config/theme/dark.less +80 -0
  13. package/config/theme/default.js +717 -0
  14. package/config/theme/default.less +144 -0
  15. package/config/theme/style/color/bezierEasing.less +110 -0
  16. package/config/theme/style/color/colorPalette.less +85 -0
  17. package/config/theme/style/color/colors.less +162 -0
  18. package/config/theme/style/color/tinyColor.less +1184 -0
  19. package/config/theme/style/compact.less +4 -0
  20. package/config/theme/style/components.less +65 -0
  21. package/config/theme/style/core/base.less +10 -0
  22. package/config/theme/style/core/global.less +491 -0
  23. package/config/theme/style/core/iconfont.less +22 -0
  24. package/config/theme/style/core/index.less +5 -0
  25. package/config/theme/style/core/motion/fade.less +34 -0
  26. package/config/theme/style/core/motion/move.less +129 -0
  27. package/config/theme/style/core/motion/other.less +51 -0
  28. package/config/theme/style/core/motion/slide.less +129 -0
  29. package/config/theme/style/core/motion/zoom.less +179 -0
  30. package/config/theme/style/core/motion.less +22 -0
  31. package/config/theme/style/css.js +3 -0
  32. package/config/theme/style/dark.less +4 -0
  33. package/config/theme/style/default.css +1784 -0
  34. package/config/theme/style/default.less +4 -0
  35. package/config/theme/style/index-pure.less +2 -0
  36. package/config/theme/style/index.css +1784 -0
  37. package/config/theme/style/index.d.ts +1 -0
  38. package/config/theme/style/index.js +3 -0
  39. package/config/theme/style/index.less +3 -0
  40. package/config/theme/style/mixins/box.less +7 -0
  41. package/config/theme/style/mixins/clearfix.less +16 -0
  42. package/config/theme/style/mixins/compatibility.less +13 -0
  43. package/config/theme/style/mixins/customize.less +181 -0
  44. package/config/theme/style/mixins/iconfont.less +28 -0
  45. package/config/theme/style/mixins/index.less +14 -0
  46. package/config/theme/style/mixins/modal-mask.less +30 -0
  47. package/config/theme/style/mixins/motion.less +33 -0
  48. package/config/theme/style/mixins/operation-unit.less +16 -0
  49. package/config/theme/style/mixins/reset.less +11 -0
  50. package/config/theme/style/mixins/rounded-arrow.less +44 -0
  51. package/config/theme/style/mixins/size.less +10 -0
  52. package/config/theme/style/mixins/typography.less +58 -0
  53. package/config/theme/style/themes/compact.less +295 -0
  54. package/config/theme/style/themes/dark.less +457 -0
  55. package/config/theme/style/themes/default.less +1080 -0
  56. package/config/theme/style/themes/index.less +7 -0
  57. package/config/theme/style/themes/variable.less +1135 -0
  58. package/config/theme/style/variable.less +4 -0
  59. package/lib/PropertyControlViewer/assets/doCommon.less +79 -0
  60. package/lib/PropertyControlViewer/assets/doSelect.less +81 -0
  61. package/lib/PropertyControlViewer/assets/index.less +189 -0
  62. package/lib/PropertyControlViewer/components/DoAppIcon/CustomIcon/iconfont.js +1 -0
  63. package/lib/PropertyControlViewer/components/DoAppIcon/iconData/IconJson.js +0 -0
  64. package/lib/PropertyControlViewer/components/TagShowMoreList/index.js +127 -0
  65. package/lib/PropertyControlViewer/components/TagShowMoreList/index.less +104 -0
  66. package/lib/PropertyControlViewer/config/constants.js +84 -0
  67. package/lib/PropertyControlViewer/config/utils.js +338 -0
  68. package/lib/PropertyControlViewer/index.less +161 -0
  69. package/lib/demo.js +0 -0
  70. package/lib/index.js +1 -0
  71. package/package.json +106 -0
@@ -0,0 +1,4 @@
1
+ @root-entry-name: variable;
2
+
3
+ @import './themes/variable.less';
4
+ @import './core/index';
@@ -0,0 +1,79 @@
1
+ .wrapper {
2
+ // width: 150px;
3
+ height: 20px;
4
+ font-size: 12px;
5
+
6
+ .wrapper-inner {
7
+ float: left;
8
+ max-width: 85px;
9
+ height: 20px;
10
+ line-height: 18px;
11
+ margin-right: 2px;
12
+ margin-bottom: 4px;
13
+ padding: 0 5px;
14
+ background: #fafafa;
15
+ border: 1px solid #d9d9d9;
16
+ border-radius: 2px;
17
+ cursor: pointer;
18
+ overflow: hidden;
19
+ text-overflow: ellipsis;
20
+ white-space: nowrap;
21
+ }
22
+
23
+ .wrapper-inner:last-child {
24
+ margin-right: 0;
25
+ }
26
+
27
+ .wrapper-inner-fixed {
28
+ float: left;
29
+ // width: 30px;
30
+ height: 20px;
31
+ line-height: 18px;
32
+ margin-right: 2px;
33
+ padding: 0 6px;
34
+ background: #fafafa;
35
+ border: 1px solid #d9d9d9;
36
+ border-radius: 2px;
37
+ cursor: pointer;
38
+ }
39
+ }
40
+
41
+ .ant-popover-inner-content:nth-child(4n) {
42
+ margin-right: 0px;
43
+ }
44
+
45
+ .inner {
46
+ max-width: 450px;
47
+ font-size: 12px;
48
+
49
+ .ant-popover-inner-content {
50
+ float: left;
51
+ // max-width: 85px;
52
+ height: 20px;
53
+ line-height: 18px;
54
+ background: #fafafa;
55
+ border: 1px solid #d9d9d9;
56
+ border-radius: 2px;
57
+ padding: 0 6px;
58
+ margin: 0 2px 4px 0;
59
+ cursor: pointer;
60
+ // overflow: hidden;
61
+ // text-overflow: ellipsis;
62
+ // white-space: nowrap;
63
+ }
64
+ }
65
+
66
+ .inner:after {
67
+ /*伪元素是行内元素 正常浏览器清除浮动方法*/
68
+ content: "";
69
+ display: block;
70
+ height: 0;
71
+ clear: both;
72
+ visibility: hidden;
73
+ }
74
+
75
+ .tag-wrapper-inner {
76
+ .@{ant-prefix}-popover-inner-content {
77
+ padding: 8px !important;
78
+ }
79
+ }
@@ -0,0 +1,81 @@
1
+ .wrapper {
2
+ // width: 150px;
3
+ height: 28px;
4
+ font-size: 12px;
5
+ display: flex;
6
+ align-items: center;
7
+ // margin-left: -6px;
8
+
9
+ .wrapper-inner {
10
+ float: left;
11
+ max-width: 85px;
12
+ height: 20px;
13
+ line-height: 18px;
14
+ margin-right: 2px;
15
+ // margin-bottom: 4px;
16
+ background: #fafafa;
17
+ border: 1px solid #d9d9d9;
18
+ border-radius: 2px;
19
+ cursor: pointer;
20
+ overflow: hidden;
21
+ text-overflow: ellipsis;
22
+ white-space: nowrap;
23
+ }
24
+
25
+ .wrapper-inner:last-child {
26
+ margin-right: 0;
27
+ }
28
+
29
+ .wrapper-inner-fixed {
30
+ float: left;
31
+ // width: 30px;
32
+ height: 20px;
33
+ line-height: 18px;
34
+ margin-right: 2px;
35
+ padding: 0 6px;
36
+ background: #fafafa;
37
+ border: 1px solid #d9d9d9;
38
+ border-radius: 2px;
39
+ cursor: pointer;
40
+ }
41
+ }
42
+
43
+ .ant-popover-inner-content:nth-child(4n) {
44
+ margin-right: 0px;
45
+ }
46
+
47
+ .inner {
48
+ max-width: 450px;
49
+ font-size: 12px;
50
+
51
+ .ant-popover-inner-content {
52
+ float: left;
53
+ // max-width: 85px;
54
+ height: 20px;
55
+ line-height: 18px;
56
+ background: #fafafa;
57
+ border: 1px solid #d9d9d9;
58
+ border-radius: 2px;
59
+ padding: 0 6px;
60
+ margin: 0 2px 4px 0;
61
+ cursor: pointer;
62
+ // overflow: hidden;
63
+ // text-overflow: ellipsis;
64
+ // white-space: nowrap;
65
+ }
66
+ }
67
+
68
+ .inner:after {
69
+ /*伪元素是行内元素 正常浏览器清除浮动方法*/
70
+ content: "";
71
+ display: block;
72
+ height: 0;
73
+ clear: both;
74
+ visibility: hidden;
75
+ }
76
+
77
+ .tag-wrapper-inner {
78
+ .@{ant-prefix}-popover-inner-content {
79
+ padding: 8px !important;
80
+ }
81
+ }
@@ -0,0 +1,189 @@
1
+ .ci-detail-user {
2
+ width: 100%;
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ line-height: 28px;
6
+
7
+ .ci-detail-user-item {
8
+ display: flex;
9
+ align-items: center;
10
+ }
11
+
12
+ .ci-detail-user-name {
13
+ width: calc(100% - 32px);
14
+ white-space: nowrap;
15
+ overflow: hidden;
16
+ text-overflow: ellipsis;
17
+ }
18
+
19
+ .ci-detail-avatar {
20
+ color: #fff;
21
+ background-color: #008dff;
22
+ margin-right: 8px;
23
+ }
24
+ }
25
+
26
+ .ci-detail-user-group {
27
+ width: 100%;
28
+
29
+ .user-group-item {
30
+ font-weight: 600;
31
+ background: #008dff;
32
+ color: #fff;
33
+ display: inline-block;
34
+ height: 25px;
35
+ padding: 0 5px;
36
+ line-height: 25px;
37
+ border-radius: 10px;
38
+ margin-right: 5px;
39
+ }
40
+ }
41
+
42
+ .desBox {
43
+ width: 100%;
44
+ height: 100%;
45
+ white-space: nowrap;
46
+ overflow: hidden;
47
+ text-overflow: ellipsis;
48
+ }
49
+
50
+ .doTextArea {
51
+ width: 100%;
52
+ line-height: 20px;
53
+ min-height: 50;
54
+ }
55
+
56
+ @uploda-card-width : 88px;
57
+ @uploda-card-height : 88px;
58
+
59
+ .ci-detail-image {
60
+
61
+ .@{ant-prefix}-upload-list-item-uploading-text {
62
+ text-align: center;
63
+ }
64
+
65
+ .@{ant-prefix}-upload.@{ant-prefix}-upload-select-picture-card {
66
+ width: @uploda-card-width !important;
67
+ height: @uploda-card-height !important;
68
+ }
69
+
70
+ .@{ant-prefix}-upload-list-picture-card .@{ant-prefix}-upload-list-item {
71
+ width: @uploda-card-width !important;
72
+ height: @uploda-card-height !important;
73
+ }
74
+
75
+ .@{ant-prefix}-upload-list-picture-card-container {
76
+ width: @uploda-card-width !important;
77
+ height: @uploda-card-height !important;
78
+ }
79
+
80
+ .@{ant-prefix}-upload-list {
81
+ padding: 0 !important;
82
+ background-color: #fff !important;
83
+ }
84
+ }
85
+
86
+
87
+ .ci-detail-file {
88
+
89
+ .cw-upload-drag_ {
90
+ margin-top: 0 !important;
91
+ }
92
+
93
+ .@{ant-prefix}-upload-list {
94
+ background-color: white;
95
+ padding: 0;
96
+ }
97
+
98
+ .@{ant-prefix}-upload-list-item {
99
+ margin-top: 4px !important;
100
+ }
101
+
102
+ }
103
+
104
+ .ci-detail-quote-card {
105
+
106
+ .@{ant-prefix}-card-body {
107
+ padding: 3px;
108
+ }
109
+
110
+ .@{ant-prefix}-card-meta {
111
+ display: flex;
112
+ align-items: center;
113
+ }
114
+
115
+ .@{ant-prefix}-card-meta-detail {
116
+ flex: 1;
117
+ }
118
+
119
+ .@{ant-prefix}-card-meta-title {
120
+ font-weight: normal;
121
+ }
122
+
123
+ .ci-detail-quote-card-title {
124
+ width: 100%;
125
+ height: 28px;
126
+ display: flex;
127
+ align-items: center;
128
+ justify-content: space-between;
129
+ }
130
+
131
+ .ci-detail-quote-card-title-span {
132
+ overflow: hidden;
133
+ white-space: nowrap;
134
+ text-overflow: ellipsis;
135
+ font-size: 12px;
136
+ }
137
+
138
+ }
139
+
140
+ .ci-detail-quote-list {
141
+ .@{ant-prefix}-list-item {
142
+ margin-bottom: 12px !important;
143
+ }
144
+ }
145
+
146
+ .ci-table-view {
147
+ width: 100%;
148
+ overflow: hidden;
149
+ white-space: nowrap;
150
+ text-overflow: ellipsis;
151
+ }
152
+
153
+ //u为范围-点阵图
154
+ .unit-bitmap-box {
155
+
156
+ .lattice {
157
+ cursor: pointer;
158
+ float: left;
159
+ display: block;
160
+ width: 26px;
161
+ height: 26px;
162
+ margin: 2px 4px 2px 0px;
163
+ padding: 0;
164
+ color: rgba(0, 0, 0, .65);
165
+ line-height: 26px;
166
+ text-align: center;
167
+ background: #E8E8E8;
168
+ border: 1px solid transparent;
169
+ border-radius: 2px;
170
+ -webkit-transition: background .3s ease;
171
+ transition: background .3s ease;
172
+ }
173
+
174
+ .locked_lattice {
175
+ color: rgba(0, 0, 0, .25);
176
+ background: #f5f5f5;
177
+ border: 1px solid transparent;
178
+ border-radius: 0;
179
+ cursor: not-allowed;
180
+ }
181
+
182
+ .usaged_lattice {
183
+ color: #fff;
184
+ background: #1890FF;
185
+ border: 1px solid transparent;
186
+ border-radius: 0;
187
+ }
188
+
189
+ }