@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,80 +0,0 @@
1
- @import './default.less';
2
- @import './style/themes/dark.less';
3
- @import './common.less';
4
-
5
- @table-header-color: @heading-color;
6
- // menu dark theme
7
- @menu-dark-color: @text-color-secondary-dark;
8
- @menu-dark-danger-color: @error-color;
9
- @menu-dark-bg: @layout-header-background;
10
- @menu-dark-arrow-color: #fff;
11
- @menu-dark-inline-submenu-bg: #000c17;
12
- @menu-dark-highlight-color: #fff;
13
- @menu-dark-item-active-bg: @primary-color;
14
- @menu-dark-item-active-danger-bg: @error-color;
15
- @menu-dark-selected-item-icon-color: @white;
16
- @menu-dark-selected-item-text-color: @white;
17
- @menu-dark-item-hover-bg: transparent;
18
- @menu-dark-item-hover-color: #fff;
19
-
20
-
21
- // 根据客户自定义
22
- @light: '#fff';
23
- @primary-color: #2194ff; // 主色
24
- @success-color: #4fe063; // 成功色
25
- @warning-color: #f28941; // 警告色
26
- @error-color: #f44a4a; // 错误色
27
- @sider-background: @background-color-base;
28
-
29
- @text-color: #cccccc;
30
- @text-color-show: #666666; // 主文本色 鉴于主和次文本之间
31
- @disabled-color: #666666;
32
- @text-color-secondary: #aaaaaa;
33
- @heading-color: #ffffff;
34
-
35
- @font-size-base: 12px;
36
-
37
- @btn-disable-bg: #333;
38
-
39
- @menu-dark-bg: #333;
40
- @menu-dark-submenu-bg: #333;
41
- @menu-collapsed-btn-bg: #333;
42
- @menu-highlight-color: #fff;
43
- @menu-dark-highlight-color: #fff;
44
-
45
- // @layout-body-background: #333;
46
- @sider-collopse-btn-bg: #fff; // 左右布局收起按钮背景色
47
- @sider-collopse-btn-opacity: 0.2; // 左右布局收起按钮透明度
48
- @top-nav-menu-bg: #333;
49
- // collapse
50
- @collapse-header-hover-bg: #333;
51
-
52
- // Steps
53
- @process-tail-color: @border-color-split; // 覆盖ux2.0写死样式,用antd默认样式
54
- @finish-tail-color: @primary-color; // 覆盖ux2.0写死样式,用antd默认样式
55
-
56
-
57
- // CWSelect
58
- @select-selected-enable-bg:@primary-color;
59
- @select-selected-enable-color: #fff;
60
-
61
- // tag
62
- @tag-border-color: @border-color-base;
63
-
64
- // switch
65
- @switch-disabled-bg: #434343;
66
- @switch-unchekcked-hover-bg: rgba(204,204,204,0.6);
67
-
68
- // 滚动条
69
- @scroll-bar-background-color: #282828;
70
- @scroll-bar-thumb-background-color: #1a1a1a;
71
-
72
- // radio
73
- @radio-dot-disabled-bg: rgba(255,255,255,0.2);
74
- @radio-disabled-checked-bg: @btn-disable-bg;
75
- // checkbox
76
- @checkbox-color-bg: @component-background;
77
- @checkbox-color-border: @primary-color;
78
- @checkbox-check_-color: @primary-color;
79
-
80
- @advanced-filter-expand-icon-bg: #333; // 高级搜索展开区域展开icon背景色