@chaoswise/business 0.0.17 → 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 (89) hide show
  1. package/config/babel/index.js +2 -29
  2. package/config/swc.js +5 -0
  3. package/lib/AggregateSearch/CLSPL/CLQLLexer.js +2 -2
  4. package/lib/AggregateSearch/CLSPL/CLQLParser.js +2 -2
  5. package/lib/AggregateSearch/CLSPL/CLQLParserListener.js +2 -2
  6. package/lib/AggregateSearch/CLSPL/CLQLParserVisitor.js +2 -2
  7. package/lib/AggregateSearch/CLSPL/SPLStagy.js +19 -9
  8. package/lib/AggregateSearch/CLSPL/index.js +4 -3
  9. package/lib/AggregateSearch/components/CloseAllIcon/index.js +1 -1
  10. package/lib/AggregateSearch/components/DropDown/config.js +54 -0
  11. package/lib/AggregateSearch/components/DropDown/index.js +33 -67
  12. package/lib/AggregateSearch/components/SwitchBtn/index.js +9 -7
  13. package/lib/AggregateSearch/hooks/useDropDown.js +2 -2
  14. package/lib/AggregateSearch/index.js +17 -5
  15. package/lib/AggregateSearch/index.less +1 -1
  16. package/lib/AggregateSearch/utils/index.js +3 -4
  17. package/lib/PropertyControlViewer/components/DoAppIcon/CustomIcon/index.js +1 -2
  18. package/lib/PropertyControlViewer/components/DoCiUnitBitmap.js +3 -3
  19. package/lib/PropertyControlViewer/components/DoCommon.js +3 -3
  20. package/lib/PropertyControlViewer/components/DoImage.js +2 -2
  21. package/lib/PropertyControlViewer/components/DoQuote/components/QuoteView.js +3 -3
  22. package/lib/PropertyControlViewer/components/DoSelect.js +3 -3
  23. package/lib/PropertyControlViewer/components/DoUser.js +15 -19
  24. package/lib/PropertyControlViewer/components/TagShowMoreList/index.js +4 -4
  25. package/lib/PropertyControlViewer/config/utils.js +60 -61
  26. package/lib/PropertyControlViewer/index.js +7 -6
  27. package/lib/Watermark/index.js +5 -7
  28. package/lib/locales/en_US.json +1 -0
  29. package/lib/locales/index.js +42 -0
  30. package/lib/locales/intl.js +75 -0
  31. package/lib/locales/withLocale.js +37 -0
  32. package/lib/locales/zh_CN.json +1 -0
  33. package/lib/locales/zh_TW.json +1 -0
  34. package/package.json +12 -7
  35. package/config/babel/antdComs.js +0 -51
  36. package/config/babel/formily.js +0 -22
  37. package/config/city/citys.js +0 -1964
  38. package/config/theme/CWTheme.js +0 -427
  39. package/config/theme/chart.dark.js +0 -394
  40. package/config/theme/chart.light.js +0 -3
  41. package/config/theme/common.less +0 -161
  42. package/config/theme/dark.js +0 -784
  43. package/config/theme/dark.less +0 -80
  44. package/config/theme/default.js +0 -717
  45. package/config/theme/default.less +0 -144
  46. package/config/theme/style/color/bezierEasing.less +0 -110
  47. package/config/theme/style/color/colorPalette.less +0 -85
  48. package/config/theme/style/color/colors.less +0 -162
  49. package/config/theme/style/color/tinyColor.less +0 -1184
  50. package/config/theme/style/compact.less +0 -4
  51. package/config/theme/style/components.less +0 -65
  52. package/config/theme/style/core/base.less +0 -10
  53. package/config/theme/style/core/global.less +0 -491
  54. package/config/theme/style/core/iconfont.less +0 -22
  55. package/config/theme/style/core/index.less +0 -5
  56. package/config/theme/style/core/motion/fade.less +0 -34
  57. package/config/theme/style/core/motion/move.less +0 -129
  58. package/config/theme/style/core/motion/other.less +0 -51
  59. package/config/theme/style/core/motion/slide.less +0 -129
  60. package/config/theme/style/core/motion/zoom.less +0 -179
  61. package/config/theme/style/core/motion.less +0 -22
  62. package/config/theme/style/css.js +0 -3
  63. package/config/theme/style/dark.less +0 -4
  64. package/config/theme/style/default.css +0 -1784
  65. package/config/theme/style/default.less +0 -4
  66. package/config/theme/style/index-pure.less +0 -2
  67. package/config/theme/style/index.css +0 -1784
  68. package/config/theme/style/index.d.ts +0 -1
  69. package/config/theme/style/index.js +0 -3
  70. package/config/theme/style/index.less +0 -3
  71. package/config/theme/style/mixins/box.less +0 -7
  72. package/config/theme/style/mixins/clearfix.less +0 -16
  73. package/config/theme/style/mixins/compatibility.less +0 -13
  74. package/config/theme/style/mixins/customize.less +0 -181
  75. package/config/theme/style/mixins/iconfont.less +0 -28
  76. package/config/theme/style/mixins/index.less +0 -14
  77. package/config/theme/style/mixins/modal-mask.less +0 -30
  78. package/config/theme/style/mixins/motion.less +0 -33
  79. package/config/theme/style/mixins/operation-unit.less +0 -16
  80. package/config/theme/style/mixins/reset.less +0 -11
  81. package/config/theme/style/mixins/rounded-arrow.less +0 -44
  82. package/config/theme/style/mixins/size.less +0 -10
  83. package/config/theme/style/mixins/typography.less +0 -58
  84. package/config/theme/style/themes/compact.less +0 -295
  85. package/config/theme/style/themes/dark.less +0 -457
  86. package/config/theme/style/themes/default.less +0 -1080
  87. package/config/theme/style/themes/index.less +0 -7
  88. package/config/theme/style/themes/variable.less +0 -1135
  89. package/config/theme/style/variable.less +0 -4
@@ -1,295 +0,0 @@
1
- @import './default.less';
2
-
3
- @line-height-base: 1.66667;
4
- @mode: compact;
5
- @font-size-base: 12px;
6
- @font-size-lg: @font-size-base + 2px;
7
-
8
- // default paddings
9
- @default-padding-lg: 24px; // containers
10
- @default-padding-md: 16px; // small containers and buttons
11
- @default-padding-sm: 12px; // Form controls and items
12
- @default-padding-xs: 8px; // small items
13
- @default-padding-xss: 4px; // more small
14
-
15
- // vertical paddings
16
- @padding-lg: 16px; // containers
17
- @padding-md: 8px; // small containers and buttons
18
- @padding-sm: 8px; // Form controls and items
19
- @padding-xs: 4px; // small items
20
- @padding-xss: 0px; // more small
21
-
22
- // vertical padding for all form controls
23
- @control-padding-horizontal: @padding-sm;
24
- @control-padding-horizontal-sm: @default-padding-xs;
25
-
26
- // vertical margins
27
- @margin-lg: 16px; // containers
28
- @margin-md: 8px; // small containers and buttons
29
- @margin-sm: 8px; // Form controls and items
30
- @margin-xs: 4px; // small items
31
- @margin-xss: 0px; // more small
32
-
33
- // height rules
34
- @height-base: 28px;
35
- @height-lg: 32px;
36
- @height-sm: 22px;
37
-
38
- // Button
39
- // ---
40
- @btn-padding-horizontal-base: @default-padding-sm - 1px;
41
- @btn-padding-horizontal-lg: @btn-padding-horizontal-base;
42
- @btn-padding-horizontal-sm: @default-padding-xs - 1px;
43
- @btn-square-only-icon-size-lg: 16px;
44
- @btn-square-only-icon-size: 14px;
45
- @btn-square-only-icon-size-sm: 12px;
46
-
47
- // Breadcrumb
48
- // ---
49
- @breadcrumb-font-size: @font-size-base;
50
- @breadcrumb-icon-font-size: @font-size-base;
51
-
52
- //Dropdown
53
- @dropdown-line-height: 18px;
54
-
55
- // Menu
56
- @menu-item-padding: 0 12px;
57
- @menu-horizontal-line-height: 38px;
58
- @menu-inline-toplevel-item-height: 32px;
59
- @menu-item-height: 32px;
60
- @menu-item-vertical-margin: 0px;
61
- @menu-item-boundary-margin: 0px;
62
- @menu-icon-margin-right: 8px;
63
-
64
- // Checkbox
65
- @checkbox-size: 14px;
66
- @checkbox-group-item-margin-right: 6px;
67
-
68
- // picker
69
- @picker-panel-cell-height: 22px;
70
- @picker-panel-cell-width: 32px;
71
- @picker-text-height: 32px;
72
- @picker-time-panel-cell-height: 24px;
73
- @picker-panel-without-time-cell-height: 48px;
74
-
75
- // Form
76
- // ---
77
- @form-item-margin-bottom: 16px;
78
- @form-vertical-label-padding: 0 0 4px;
79
-
80
- // Rate
81
- // ---
82
- @rate-star-size: 16px;
83
-
84
- // Radio
85
- // ---
86
- @radio-size: 14px;
87
- @radio-wrapper-margin-right: 6px;
88
-
89
- // Switch
90
- // ---
91
- @switch-height: 20px;
92
- @switch-sm-height: 14px;
93
- @switch-min-width: 40px;
94
- @switch-sm-min-width: 24px;
95
- @switch-inner-margin-min: 4px;
96
- @switch-inner-margin-max: 22px;
97
-
98
- // Slider
99
- // ---
100
- @slider-handle-size: 12px;
101
- @slider-handle-margin-top: -4px;
102
-
103
- // Input
104
- // ---
105
- @input-padding-vertical-base: round(
106
- max(
107
- (round(((@input-height-base - @font-size-base * @line-height-base) / 2) * 10) / 10) -
108
- @border-width-base,
109
- 2px
110
- )
111
- );
112
- @input-padding-horizontal-lg: 11px;
113
-
114
- // PageHeader
115
- // ---
116
- @page-header-padding: 16px;
117
- @page-header-padding-vertical: 8px;
118
- @page-header-heading-title: 16px;
119
- @page-header-heading-sub-title: 12px;
120
- @page-header-tabs-tab-font-size: 14px;
121
-
122
- // Pagination
123
- // ---
124
- @pagination-mini-options-size-changer-top: 1px;
125
- @pagination-item-size-sm: 22px;
126
-
127
- // Cascader
128
- // ----
129
- @cascader-dropdown-line-height: @dropdown-line-height;
130
-
131
- // Select
132
- // ---
133
- @select-dropdown-height: @height-base;
134
- @select-single-item-height-lg: 32px;
135
- @select-multiple-item-height: @input-height-base - max(@input-padding-vertical-base, 4) * 2; // Normal 24px
136
- @select-multiple-item-height-lg: 24px;
137
- @select-multiple-item-spacing-half: 3px;
138
-
139
- // Tree
140
- // ---
141
- @tree-title-height: 20px;
142
-
143
- // Transfer
144
- // ---
145
- @transfer-item-padding-vertical: 3px;
146
- @transfer-list-search-icon-top: 8px;
147
- @transfer-header-height: 36px;
148
-
149
- // Comment
150
- // ---
151
- @comment-actions-margin-bottom: 0px;
152
- @comment-actions-margin-top: @margin-xs;
153
- @comment-content-detail-p-margin-bottom: 0px;
154
-
155
- // Steps
156
- // ---
157
- @steps-icon-size: 24px;
158
- @steps-icon-custom-size: 20px;
159
- @steps-icon-custom-font-size: 20px;
160
- @steps-icon-custom-top: 2px;
161
- @steps-icon-margin: 2px 8px 2px 0;
162
- @steps-icon-font-size: @font-size-base;
163
- @steps-dot-top: 4px;
164
- @steps-icon-top: 0px;
165
- @steps-small-icon-size: 20px;
166
- @steps-vertical-icon-width: 12px;
167
- @steps-vertical-tail-width: 12px;
168
- @steps-vertical-tail-width-sm: 10px;
169
- // Collapse
170
- // ---
171
- //@collapse-header-padding-extra: 32px;
172
- @collapse-content-padding: @padding-md @padding-lg;
173
-
174
- // List
175
- // ---
176
- @list-item-meta-description-font-size: @font-size-sm;
177
- @list-item-padding-sm: 4px 12px;
178
- @list-item-padding-lg: 12px 16px;
179
-
180
- // Drawer
181
- // ---
182
- @drawer-header-padding: 11px @padding-lg;
183
- @drawer-footer-padding-vertical: @padding-sm;
184
- @drawer-footer-padding-horizontal: @padding-sm;
185
- @drawer-header-close-size: 44px;
186
-
187
- // Modal
188
- // --
189
- @modal-header-padding: 11px @modal-header-padding-horizontal;
190
- @modal-footer-padding-vertical: @padding-sm;
191
- @modal-header-close-size: 44px;
192
- @modal-confirm-body-padding: 24px 24px 16px;
193
-
194
- // Message
195
- // ---
196
- @message-notice-content-padding: 8px 16px;
197
-
198
- // popover
199
- // --
200
- @popover-min-height: 28px;
201
- @popover-padding-horizontal: @default-padding-sm;
202
-
203
- // Card
204
- // ---
205
- @card-padding-base: 16px;
206
- @card-head-height: 36px;
207
- @card-head-font-size: @card-head-font-size-sm;
208
- @card-head-padding: 8.5px;
209
- @card-padding-base: 12px;
210
- @card-padding-base-sm: @card-padding-base;
211
- @card-head-height-sm: 30px;
212
- @card-head-padding-sm: 6px;
213
- @card-actions-li-margin: 4px 0;
214
- @card-head-tabs-margin-bottom: -9px;
215
-
216
- // Table
217
- // ---
218
- @table-padding-vertical: 12px;
219
- @table-padding-horizontal: 8px;
220
- @table-padding-vertical-md: 8px;
221
- @table-padding-horizontal-md: 8px;
222
- @table-padding-vertical-sm: 4px;
223
- @table-padding-horizontal-sm: 4px;
224
- @table-selection-column-width: 32px;
225
-
226
- // Statistic
227
- // ---
228
- @statistic-content-font-size: 20px;
229
-
230
- // Alert
231
- // ---
232
- @alert-with-description-no-icon-padding-vertical: 7px;
233
- @alert-with-description-padding-vertical: 11px;
234
- @alert-icon-top: 7px + @font-size-base * (@line-height-base / 2) - (@font-size-base / 2);
235
- @alert-with-description-icon-size: 20px;
236
-
237
- // Skeleton
238
- // ---
239
- @skeleton-paragraph-margin-top: 20px;
240
- @skeleton-paragraph-li-margin-top: 12px;
241
- @skeleton-paragraph-li-height: 14px;
242
- @skeleton-title-height: 14px;
243
- @skeleton-title-paragraph-margin-top: 20px;
244
-
245
- // Descriptions
246
- @descriptions-title-margin-bottom: 8px;
247
- @descriptions-default-padding: 12px @padding-lg;
248
- @descriptions-item-padding-bottom: @padding-xs;
249
-
250
- // Avatar
251
- // ---
252
- @avatar-size-base: 28px;
253
- @avatar-size-lg: 32px;
254
- @avatar-size-sm: 22px;
255
- @avatar-font-size-base: 16px;
256
- @avatar-font-size-lg: 20px;
257
- @avatar-font-size-sm: 12px;
258
-
259
- // Badge
260
- // ---
261
- @badge-height: 18px;
262
-
263
- // Tag
264
- // ---
265
- @tag-line-height: 18px;
266
-
267
- // Notification
268
- // ---
269
- @notification-padding-vertical: 12px;
270
- @notification-padding-horizontal: 16px;
271
-
272
- // Result
273
- // ---
274
- @result-title-font-size: 20px;
275
- @result-icon-font-size: 64px;
276
- @result-extra-margin: 24px 0 0 0;
277
-
278
- // Anchor
279
- // ---
280
- @anchor-link-top: 4px;
281
- @anchor-link-left: 16px;
282
- @anchor-link-padding: @anchor-link-top 0 @anchor-link-top @anchor-link-left;
283
-
284
- // Tabs
285
- // ---
286
- @tabs-card-horizontal-padding: 4px @padding-md;
287
-
288
- // Progress
289
- // ---
290
- @progress-circle-text-font-size: 0.833333em;
291
-
292
- // Image
293
- // ---
294
- @image-size-base: 48px;
295
- @image-font-size-base: 24px;