@chaoswise/business 0.0.18 → 1.0.0

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 (82) hide show
  1. package/config/babel/index.js +2 -29
  2. package/config/swc.js +5 -0
  3. package/lib/AggregateSearch/CLSPL/SPLStagy.js +17 -7
  4. package/lib/AggregateSearch/CLSPL/index.js +2 -1
  5. package/lib/AggregateSearch/components/CloseAllIcon/index.js +1 -1
  6. package/lib/AggregateSearch/components/DropDown/config.js +54 -0
  7. package/lib/AggregateSearch/components/DropDown/index.js +33 -67
  8. package/lib/AggregateSearch/components/SwitchBtn/index.js +9 -7
  9. package/lib/AggregateSearch/index.js +17 -5
  10. package/lib/AggregateSearch/index.less +1 -1
  11. package/lib/PropertyControlViewer/components/DoAppIcon/CustomIcon/index.js +1 -1
  12. package/lib/PropertyControlViewer/components/DoCiUnitBitmap.js +1 -1
  13. package/lib/PropertyControlViewer/components/DoCommon.js +1 -1
  14. package/lib/PropertyControlViewer/components/DoQuote/components/QuoteView.js +3 -3
  15. package/lib/PropertyControlViewer/components/DoSelect.js +1 -1
  16. package/lib/PropertyControlViewer/components/DoUser.js +15 -19
  17. package/lib/PropertyControlViewer/components/TagShowMoreList/index.js +2 -2
  18. package/lib/PropertyControlViewer/config/utils.js +58 -59
  19. package/lib/PropertyControlViewer/index.js +7 -6
  20. package/lib/Watermark/index.js +35 -16
  21. package/lib/locales/en_US.json +1 -0
  22. package/lib/locales/index.js +42 -0
  23. package/lib/locales/intl.js +75 -0
  24. package/lib/locales/withLocale.js +37 -0
  25. package/lib/locales/zh_CN.json +1 -0
  26. package/lib/locales/zh_TW.json +1 -0
  27. package/package.json +12 -7
  28. package/config/babel/antdComs.js +0 -51
  29. package/config/babel/formily.js +0 -22
  30. package/config/city/citys.js +0 -1964
  31. package/config/theme/CWTheme.js +0 -427
  32. package/config/theme/chart.dark.js +0 -394
  33. package/config/theme/chart.light.js +0 -3
  34. package/config/theme/common.less +0 -161
  35. package/config/theme/dark.js +0 -784
  36. package/config/theme/dark.less +0 -80
  37. package/config/theme/default.js +0 -717
  38. package/config/theme/default.less +0 -144
  39. package/config/theme/style/color/bezierEasing.less +0 -110
  40. package/config/theme/style/color/colorPalette.less +0 -85
  41. package/config/theme/style/color/colors.less +0 -162
  42. package/config/theme/style/color/tinyColor.less +0 -1184
  43. package/config/theme/style/compact.less +0 -4
  44. package/config/theme/style/components.less +0 -65
  45. package/config/theme/style/core/base.less +0 -10
  46. package/config/theme/style/core/global.less +0 -491
  47. package/config/theme/style/core/iconfont.less +0 -22
  48. package/config/theme/style/core/index.less +0 -5
  49. package/config/theme/style/core/motion/fade.less +0 -34
  50. package/config/theme/style/core/motion/move.less +0 -129
  51. package/config/theme/style/core/motion/other.less +0 -51
  52. package/config/theme/style/core/motion/slide.less +0 -129
  53. package/config/theme/style/core/motion/zoom.less +0 -179
  54. package/config/theme/style/core/motion.less +0 -22
  55. package/config/theme/style/css.js +0 -3
  56. package/config/theme/style/dark.less +0 -4
  57. package/config/theme/style/default.css +0 -1784
  58. package/config/theme/style/default.less +0 -4
  59. package/config/theme/style/index-pure.less +0 -2
  60. package/config/theme/style/index.css +0 -1784
  61. package/config/theme/style/index.d.ts +0 -1
  62. package/config/theme/style/index.js +0 -3
  63. package/config/theme/style/index.less +0 -3
  64. package/config/theme/style/mixins/box.less +0 -7
  65. package/config/theme/style/mixins/clearfix.less +0 -16
  66. package/config/theme/style/mixins/compatibility.less +0 -13
  67. package/config/theme/style/mixins/customize.less +0 -181
  68. package/config/theme/style/mixins/iconfont.less +0 -28
  69. package/config/theme/style/mixins/index.less +0 -14
  70. package/config/theme/style/mixins/modal-mask.less +0 -30
  71. package/config/theme/style/mixins/motion.less +0 -33
  72. package/config/theme/style/mixins/operation-unit.less +0 -16
  73. package/config/theme/style/mixins/reset.less +0 -11
  74. package/config/theme/style/mixins/rounded-arrow.less +0 -44
  75. package/config/theme/style/mixins/size.less +0 -10
  76. package/config/theme/style/mixins/typography.less +0 -58
  77. package/config/theme/style/themes/compact.less +0 -295
  78. package/config/theme/style/themes/dark.less +0 -457
  79. package/config/theme/style/themes/default.less +0 -1080
  80. package/config/theme/style/themes/index.less +0 -7
  81. package/config/theme/style/themes/variable.less +0 -1135
  82. package/config/theme/style/variable.less +0 -4
@@ -1,129 +0,0 @@
1
- .move-motion(@className, @keyframeName) {
2
- @name: ~'@{ant-prefix}-@{className}';
3
- .make-motion(@name, @keyframeName);
4
- .@{name}-enter,
5
- .@{name}-appear {
6
- opacity: 0;
7
- animation-timing-function: @ease-out-circ;
8
- }
9
- .@{name}-leave {
10
- animation-timing-function: @ease-in-circ;
11
- }
12
- }
13
-
14
- .move-motion(move-up, antMoveUp);
15
- .move-motion(move-down, antMoveDown);
16
- .move-motion(move-left, antMoveLeft);
17
- .move-motion(move-right, antMoveRight);
18
-
19
- @keyframes antMoveDownIn {
20
- 0% {
21
- transform: translateY(100%);
22
- transform-origin: 0 0;
23
- opacity: 0;
24
- }
25
-
26
- 100% {
27
- transform: translateY(0%);
28
- transform-origin: 0 0;
29
- opacity: 1;
30
- }
31
- }
32
-
33
- @keyframes antMoveDownOut {
34
- 0% {
35
- transform: translateY(0%);
36
- transform-origin: 0 0;
37
- opacity: 1;
38
- }
39
-
40
- 100% {
41
- transform: translateY(100%);
42
- transform-origin: 0 0;
43
- opacity: 0;
44
- }
45
- }
46
-
47
- @keyframes antMoveLeftIn {
48
- 0% {
49
- transform: translateX(-100%);
50
- transform-origin: 0 0;
51
- opacity: 0;
52
- }
53
-
54
- 100% {
55
- transform: translateX(0%);
56
- transform-origin: 0 0;
57
- opacity: 1;
58
- }
59
- }
60
-
61
- @keyframes antMoveLeftOut {
62
- 0% {
63
- transform: translateX(0%);
64
- transform-origin: 0 0;
65
- opacity: 1;
66
- }
67
-
68
- 100% {
69
- transform: translateX(-100%);
70
- transform-origin: 0 0;
71
- opacity: 0;
72
- }
73
- }
74
-
75
- @keyframes antMoveRightIn {
76
- 0% {
77
- transform: translateX(100%);
78
- transform-origin: 0 0;
79
- opacity: 0;
80
- }
81
-
82
- 100% {
83
- transform: translateX(0%);
84
- transform-origin: 0 0;
85
- opacity: 1;
86
- }
87
- }
88
-
89
- @keyframes antMoveRightOut {
90
- 0% {
91
- transform: translateX(0%);
92
- transform-origin: 0 0;
93
- opacity: 1;
94
- }
95
-
96
- 100% {
97
- transform: translateX(100%);
98
- transform-origin: 0 0;
99
- opacity: 0;
100
- }
101
- }
102
-
103
- @keyframes antMoveUpIn {
104
- 0% {
105
- transform: translateY(-100%);
106
- transform-origin: 0 0;
107
- opacity: 0;
108
- }
109
-
110
- 100% {
111
- transform: translateY(0%);
112
- transform-origin: 0 0;
113
- opacity: 1;
114
- }
115
- }
116
-
117
- @keyframes antMoveUpOut {
118
- 0% {
119
- transform: translateY(0%);
120
- transform-origin: 0 0;
121
- opacity: 1;
122
- }
123
-
124
- 100% {
125
- transform: translateY(-100%);
126
- transform-origin: 0 0;
127
- opacity: 0;
128
- }
129
- }
@@ -1,51 +0,0 @@
1
- @keyframes loadingCircle {
2
- 100% {
3
- transform: rotate(360deg);
4
- }
5
- }
6
-
7
- @click-animating-true: ~"[@{ant-prefix}-click-animating='true']";
8
- @click-animating-with-extra-node-true: ~"[@{ant-prefix}-click-animating-without-extra-node='true']";
9
-
10
- @{click-animating-true},
11
- @{click-animating-with-extra-node-true} {
12
- position: relative;
13
- }
14
-
15
- html {
16
- --antd-wave-shadow-color: @primary-color;
17
- --scroll-bar: 0;
18
- }
19
-
20
- @click-animating-with-extra-node-true-after: ~'@{click-animating-with-extra-node-true}::after';
21
-
22
- @{click-animating-with-extra-node-true-after},
23
- .@{ant-prefix}-click-animating-node {
24
- position: absolute;
25
- top: 0;
26
- right: 0;
27
- bottom: 0;
28
- left: 0;
29
- display: block;
30
- border-radius: inherit;
31
- box-shadow: 0 0 0 0 @primary-color;
32
- box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);
33
- opacity: 0.2;
34
- animation: fadeEffect 2s @ease-out-circ, waveEffect 0.4s @ease-out-circ;
35
- animation-fill-mode: forwards;
36
- content: '';
37
- pointer-events: none;
38
- }
39
-
40
- @keyframes waveEffect {
41
- 100% {
42
- box-shadow: 0 0 0 @primary-color;
43
- box-shadow: 0 0 0 @wave-animation-width var(--antd-wave-shadow-color);
44
- }
45
- }
46
-
47
- @keyframes fadeEffect {
48
- 100% {
49
- opacity: 0;
50
- }
51
- }
@@ -1,129 +0,0 @@
1
- .slide-motion(@className, @keyframeName) {
2
- @name: ~'@{ant-prefix}-@{className}';
3
- .make-motion(@name, @keyframeName);
4
- .@{name}-enter,
5
- .@{name}-appear {
6
- opacity: 0;
7
- animation-timing-function: @ease-out-quint;
8
- }
9
- .@{name}-leave {
10
- animation-timing-function: @ease-in-quint;
11
- }
12
- }
13
-
14
- .slide-motion(slide-up, antSlideUp);
15
- .slide-motion(slide-down, antSlideDown);
16
- .slide-motion(slide-left, antSlideLeft);
17
- .slide-motion(slide-right, antSlideRight);
18
-
19
- @keyframes antSlideUpIn {
20
- 0% {
21
- transform: scaleY(0.8);
22
- transform-origin: 0% 0%;
23
- opacity: 0;
24
- }
25
-
26
- 100% {
27
- transform: scaleY(1);
28
- transform-origin: 0% 0%;
29
- opacity: 1;
30
- }
31
- }
32
-
33
- @keyframes antSlideUpOut {
34
- 0% {
35
- transform: scaleY(1);
36
- transform-origin: 0% 0%;
37
- opacity: 1;
38
- }
39
-
40
- 100% {
41
- transform: scaleY(0.8);
42
- transform-origin: 0% 0%;
43
- opacity: 0;
44
- }
45
- }
46
-
47
- @keyframes antSlideDownIn {
48
- 0% {
49
- transform: scaleY(0.8);
50
- transform-origin: 100% 100%;
51
- opacity: 0;
52
- }
53
-
54
- 100% {
55
- transform: scaleY(1);
56
- transform-origin: 100% 100%;
57
- opacity: 1;
58
- }
59
- }
60
-
61
- @keyframes antSlideDownOut {
62
- 0% {
63
- transform: scaleY(1);
64
- transform-origin: 100% 100%;
65
- opacity: 1;
66
- }
67
-
68
- 100% {
69
- transform: scaleY(0.8);
70
- transform-origin: 100% 100%;
71
- opacity: 0;
72
- }
73
- }
74
-
75
- @keyframes antSlideLeftIn {
76
- 0% {
77
- transform: scaleX(0.8);
78
- transform-origin: 0% 0%;
79
- opacity: 0;
80
- }
81
-
82
- 100% {
83
- transform: scaleX(1);
84
- transform-origin: 0% 0%;
85
- opacity: 1;
86
- }
87
- }
88
-
89
- @keyframes antSlideLeftOut {
90
- 0% {
91
- transform: scaleX(1);
92
- transform-origin: 0% 0%;
93
- opacity: 1;
94
- }
95
-
96
- 100% {
97
- transform: scaleX(0.8);
98
- transform-origin: 0% 0%;
99
- opacity: 0;
100
- }
101
- }
102
-
103
- @keyframes antSlideRightIn {
104
- 0% {
105
- transform: scaleX(0.8);
106
- transform-origin: 100% 0%;
107
- opacity: 0;
108
- }
109
-
110
- 100% {
111
- transform: scaleX(1);
112
- transform-origin: 100% 0%;
113
- opacity: 1;
114
- }
115
- }
116
-
117
- @keyframes antSlideRightOut {
118
- 0% {
119
- transform: scaleX(1);
120
- transform-origin: 100% 0%;
121
- opacity: 1;
122
- }
123
-
124
- 100% {
125
- transform: scaleX(0.8);
126
- transform-origin: 100% 0%;
127
- opacity: 0;
128
- }
129
- }
@@ -1,179 +0,0 @@
1
- .zoom-motion(@className, @keyframeName, @duration: @animation-duration-base) {
2
- @name: ~'@{ant-prefix}-@{className}';
3
- .make-motion(@name, @keyframeName, @duration);
4
- .@{name}-enter,
5
- .@{name}-appear {
6
- transform: scale(0); // need this by yiminghe
7
- opacity: 0;
8
- animation-timing-function: @ease-out-circ;
9
-
10
- &-prepare {
11
- transform: none;
12
- }
13
- }
14
- .@{name}-leave {
15
- animation-timing-function: @ease-in-out-circ;
16
- }
17
- }
18
-
19
- // For Modal, Select choosen item
20
- .zoom-motion(zoom, antZoom);
21
- // For Popover, Popconfirm, Dropdown
22
- .zoom-motion(zoom-big, antZoomBig);
23
- // For Tooltip
24
- .zoom-motion(zoom-big-fast, antZoomBig, @animation-duration-fast);
25
-
26
- .zoom-motion(zoom-up, antZoomUp);
27
- .zoom-motion(zoom-down, antZoomDown);
28
- .zoom-motion(zoom-left, antZoomLeft);
29
- .zoom-motion(zoom-right, antZoomRight);
30
-
31
- @keyframes antZoomIn {
32
- 0% {
33
- transform: scale(0.2);
34
- opacity: 0;
35
- }
36
-
37
- 100% {
38
- transform: scale(1);
39
- opacity: 1;
40
- }
41
- }
42
-
43
- @keyframes antZoomOut {
44
- 0% {
45
- transform: scale(1);
46
- }
47
-
48
- 100% {
49
- transform: scale(0.2);
50
- opacity: 0;
51
- }
52
- }
53
-
54
- @keyframes antZoomBigIn {
55
- 0% {
56
- transform: scale(0.8);
57
- opacity: 0;
58
- }
59
-
60
- 100% {
61
- transform: scale(1);
62
- opacity: 1;
63
- }
64
- }
65
-
66
- @keyframes antZoomBigOut {
67
- 0% {
68
- transform: scale(1);
69
- }
70
-
71
- 100% {
72
- transform: scale(0.8);
73
- opacity: 0;
74
- }
75
- }
76
-
77
- @keyframes antZoomUpIn {
78
- 0% {
79
- transform: scale(0.8);
80
- transform-origin: 50% 0%;
81
- opacity: 0;
82
- }
83
-
84
- 100% {
85
- transform: scale(1);
86
- transform-origin: 50% 0%;
87
- }
88
- }
89
-
90
- @keyframes antZoomUpOut {
91
- 0% {
92
- transform: scale(1);
93
- transform-origin: 50% 0%;
94
- }
95
-
96
- 100% {
97
- transform: scale(0.8);
98
- transform-origin: 50% 0%;
99
- opacity: 0;
100
- }
101
- }
102
-
103
- @keyframes antZoomLeftIn {
104
- 0% {
105
- transform: scale(0.8);
106
- transform-origin: 0% 50%;
107
- opacity: 0;
108
- }
109
-
110
- 100% {
111
- transform: scale(1);
112
- transform-origin: 0% 50%;
113
- }
114
- }
115
-
116
- @keyframes antZoomLeftOut {
117
- 0% {
118
- transform: scale(1);
119
- transform-origin: 0% 50%;
120
- }
121
-
122
- 100% {
123
- transform: scale(0.8);
124
- transform-origin: 0% 50%;
125
- opacity: 0;
126
- }
127
- }
128
-
129
- @keyframes antZoomRightIn {
130
- 0% {
131
- transform: scale(0.8);
132
- transform-origin: 100% 50%;
133
- opacity: 0;
134
- }
135
-
136
- 100% {
137
- transform: scale(1);
138
- transform-origin: 100% 50%;
139
- }
140
- }
141
-
142
- @keyframes antZoomRightOut {
143
- 0% {
144
- transform: scale(1);
145
- transform-origin: 100% 50%;
146
- }
147
-
148
- 100% {
149
- transform: scale(0.8);
150
- transform-origin: 100% 50%;
151
- opacity: 0;
152
- }
153
- }
154
-
155
- @keyframes antZoomDownIn {
156
- 0% {
157
- transform: scale(0.8);
158
- transform-origin: 50% 100%;
159
- opacity: 0;
160
- }
161
-
162
- 100% {
163
- transform: scale(1);
164
- transform-origin: 50% 100%;
165
- }
166
- }
167
-
168
- @keyframes antZoomDownOut {
169
- 0% {
170
- transform: scale(1);
171
- transform-origin: 50% 100%;
172
- }
173
-
174
- 100% {
175
- transform: scale(0.8);
176
- transform-origin: 50% 100%;
177
- opacity: 0;
178
- }
179
- }
@@ -1,22 +0,0 @@
1
- // @import '../mixins/motion'; This has moved to theme/xxx inside.
2
- @import 'motion/fade';
3
- @import 'motion/move';
4
- @import 'motion/other';
5
- @import 'motion/slide';
6
- @import 'motion/zoom';
7
-
8
- // For common/openAnimation
9
- .ant-motion-collapse-legacy {
10
- overflow: hidden;
11
-
12
- &-active {
13
- transition: height @animation-duration-base @ease-in-out,
14
- opacity @animation-duration-base @ease-in-out !important;
15
- }
16
- }
17
-
18
- .ant-motion-collapse {
19
- overflow: hidden;
20
- transition: height @animation-duration-base @ease-in-out,
21
- opacity @animation-duration-base @ease-in-out !important;
22
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
-
3
- require("./index.css");
@@ -1,4 +0,0 @@
1
- @root-entry-name: default;
2
-
3
- @import './themes/dark.less';
4
- @import './core/index';