aldehyde 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 (156) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +1 -0
  3. package/dist/163.js +2 -0
  4. package/dist/163.js.LICENSE.txt +43 -0
  5. package/dist/41.js +1 -0
  6. package/dist/aldehyde.js +2 -0
  7. package/dist/aldehyde.js.LICENSE.txt +122 -0
  8. package/dist/chemstruc-graph.js +1 -0
  9. package/dist/css/163-24392163d3c7b54ea806.css +11 -0
  10. package/dist/css/290-5e8e152675ab7d201c00.css +886 -0
  11. package/dist/css/chemstruc-graph-87868f791bf92fb80db9.css +29 -0
  12. package/dist/css/main-2e6725ec1b56da516cee.css +256 -0
  13. package/dist/html-editor-draft.js +2 -0
  14. package/dist/html-editor-draft.js.LICENSE.txt +5 -0
  15. package/dist/images/logo-06f6a5d8.png +0 -0
  16. package/dist/index.html +4 -0
  17. package/dist/signature.js +2 -0
  18. package/dist/signature.js.LICENSE.txt +17 -0
  19. package/package.json +180 -0
  20. package/src/components/chart/antd/Chart.js +32 -0
  21. package/src/components/chart/antd/Chart10000.js +90 -0
  22. package/src/components/chart/antd/Max2DimLineChart.js +128 -0
  23. package/src/components/chart/antd/PieChart1.js +54 -0
  24. package/src/components/chart/antd/PieChart2.js +56 -0
  25. package/src/components/chart/antd/chart-utils.tsx +50 -0
  26. package/src/components/chart/antd/column-chart-sub.tsx +67 -0
  27. package/src/components/chart/antd/line-chart-sub.tsx +65 -0
  28. package/src/components/chart/antd/pie-chart-sub.tsx +54 -0
  29. package/src/components/chart/antd/statview-d2-chart.tsx +125 -0
  30. package/src/components/chart/statview-l2-chart.tsx +69 -0
  31. package/src/components/controls/action/index.css +9 -0
  32. package/src/components/controls/action/index.tsx +228 -0
  33. package/src/components/controls/action/utils.tsx +122 -0
  34. package/src/components/controls/auto-complete/index.tsx +80 -0
  35. package/src/components/controls/cascader/index.js +97 -0
  36. package/src/components/controls/chemstruc/graph.tsx +150 -0
  37. package/src/components/controls/chemstruc/index.css +28 -0
  38. package/src/components/controls/collapse-card/index.css +9 -0
  39. package/src/components/controls/collapse-card/index.tsx +59 -0
  40. package/src/components/controls/color-picker/index.css +27 -0
  41. package/src/components/controls/color-picker/index.tsx +88 -0
  42. package/src/components/controls/cquery/cquick-button.tsx +117 -0
  43. package/src/components/controls/date-picker/index.tsx +141 -0
  44. package/src/components/controls/entity-select/entity-select.tsx +277 -0
  45. package/src/components/controls/entity-select/index.css +6 -0
  46. package/src/components/controls/entity-select/popover-entity-select.tsx +112 -0
  47. package/src/components/controls/entry-control.tsx +240 -0
  48. package/src/components/controls/enum-badge/index.tsx +28 -0
  49. package/src/components/controls/enum-tag/index.tsx +30 -0
  50. package/src/components/controls/file-view/drawer-file-view.tsx +69 -0
  51. package/src/components/controls/file-view/index.tsx +145 -0
  52. package/src/components/controls/html-editor/draft.tsx +161 -0
  53. package/src/components/controls/html-editor/tinymce.js +55 -0
  54. package/src/components/controls/input-number/index.tsx +101 -0
  55. package/src/components/controls/input-range/index.tsx +48 -0
  56. package/src/components/controls/password-setter/index.css +3 -0
  57. package/src/components/controls/password-setter/index.js +70 -0
  58. package/src/components/controls/progress/index.tsx +61 -0
  59. package/src/components/controls/relation-existion/index.css +4 -0
  60. package/src/components/controls/relation-existion/index.tsx +108 -0
  61. package/src/components/controls/rfield/index.css +4 -0
  62. package/src/components/controls/rfield/index.tsx +161 -0
  63. package/src/components/controls/signature/index.tsx +162 -0
  64. package/src/components/controls/steps/index.tsx +58 -0
  65. package/src/components/controls/text/ellipsis-text.tsx +70 -0
  66. package/src/components/controls/upload/index.tsx +122 -0
  67. package/src/components/controls/view-control.tsx +177 -0
  68. package/src/components/detail/button/cquery-button-bar.tsx +112 -0
  69. package/src/components/detail/button/index.css +43 -0
  70. package/src/components/detail/button/submit-button-bar.tsx +151 -0
  71. package/src/components/detail/dtmpl.css +53 -0
  72. package/src/components/detail/edit/dtmpl-edit.tsx +218 -0
  73. package/src/components/detail/edit/fields-edit-card.tsx +103 -0
  74. package/src/components/detail/edit/modal-dtmpl-edit.tsx +198 -0
  75. package/src/components/detail/edit/modal-row-edit.tsx +72 -0
  76. package/src/components/detail/edit/post-result/index.tsx +52 -0
  77. package/src/components/detail/edit/row-edit-card.tsx +125 -0
  78. package/src/components/detail/edit/row-editor.tsx +71 -0
  79. package/src/components/detail/rightbar/index.css +35 -0
  80. package/src/components/detail/rightbar/index.tsx +76 -0
  81. package/src/components/detail/view/act-dtmpl-view.tsx +155 -0
  82. package/src/components/detail/view/dtmpl-view.tsx +143 -0
  83. package/src/components/detail/view/field-view-group.tsx +73 -0
  84. package/src/components/detail/view/modal-dtmpl-view.tsx +56 -0
  85. package/src/components/detail/view/snapshot-timeline.tsx +130 -0
  86. package/src/components/exportor/export-frame.css +3 -0
  87. package/src/components/exportor/export-frame.tsx +194 -0
  88. package/src/components/exportor/index.tsx +60 -0
  89. package/src/components/form/criteria-form.tsx +241 -0
  90. package/src/components/form/dtmpl-form.css +4 -0
  91. package/src/components/form/dtmpl-form.tsx +272 -0
  92. package/src/components/form/field-group-form.tsx +75 -0
  93. package/src/components/form/fields-form.tsx +51 -0
  94. package/src/components/form/form-Item-group.tsx +99 -0
  95. package/src/components/form/index.css +13 -0
  96. package/src/components/import/excel-import.tsx +316 -0
  97. package/src/components/import/index.css +54 -0
  98. package/src/components/import/template-builder.js +474 -0
  99. package/src/components/import/template.css +51 -0
  100. package/src/components/layout/MainPage.tsx +230 -0
  101. package/src/components/layout/footer/index.css +6 -0
  102. package/src/components/layout/footer/index.js +17 -0
  103. package/src/components/layout/header/index.css +86 -0
  104. package/src/components/layout/header/index.tsx +58 -0
  105. package/src/components/layout/menu/block.tsx +88 -0
  106. package/src/components/layout/menu/l2menu-message-bar.tsx +118 -0
  107. package/src/components/layout/menu/l2menu-quick-bar.tsx +132 -0
  108. package/src/components/layout/menu/menu-2layers.tsx +92 -0
  109. package/src/components/layout/menu/menu-render.tsx +49 -0
  110. package/src/components/layout/menu/reset-password.tsx +185 -0
  111. package/src/components/layout/menu/user-bar.tsx +97 -0
  112. package/src/components/layout/menu/userinfo-bar.tsx +70 -0
  113. package/src/components/layout/sidebar/index.css +26 -0
  114. package/src/components/layout/sidebar/index.tsx +38 -0
  115. package/src/components/login.js +137 -0
  116. package/src/components/module/criteria-page.tsx +175 -0
  117. package/src/components/module/dtmpl-page.tsx +70 -0
  118. package/src/components/module/ltmpl-page.tsx +181 -0
  119. package/src/components/routable/dtmpl-route.tsx +96 -0
  120. package/src/components/routable/import-route.tsx +28 -0
  121. package/src/components/routable/ltmpl-route.tsx +158 -0
  122. package/src/components/table/act-table.tsx +635 -0
  123. package/src/components/table/column/column-selector.tsx +79 -0
  124. package/src/components/table/column/index.css +14 -0
  125. package/src/components/table/index.css +45 -0
  126. package/src/components/table/l2-act-table.tsx +85 -0
  127. package/src/components/table/modal-select-table.tsx +248 -0
  128. package/src/components/table/pagination.css +15 -0
  129. package/src/components/table/pagination.tsx +72 -0
  130. package/src/components/table/query-table.tsx +331 -0
  131. package/src/components/table/relation-table.tsx +600 -0
  132. package/src/components/table/select-table.tsx +247 -0
  133. package/src/components/table/selected-rows-card.tsx +62 -0
  134. package/src/components/table/stat/restat.tsx +79 -0
  135. package/src/components/table/table-util.tsx +33 -0
  136. package/src/components/tmpl/control-type-supportor.tsx +97 -0
  137. package/src/components/tmpl/hc-data-source.tsx +230 -0
  138. package/src/components/tmpl/hcservice-v3.tsx +624 -0
  139. package/src/components/tmpl/interface.tsx +308 -0
  140. package/src/components/tmpl/superagent.js +93 -0
  141. package/src/components/tmpl/tmpl-config-analysis.tsx +111 -0
  142. package/src/components/units/EncryptUtils.js +38 -0
  143. package/src/components/units/image.d.ts +8 -0
  144. package/src/components/units/index.tsx +536 -0
  145. package/src/components/units/logo.png +0 -0
  146. package/src/components/units/storage.js +3 -0
  147. package/src/components/welcome/HCWelcome.js +232 -0
  148. package/src/components/welcome/index.css +13 -0
  149. package/src/components/welcome/logo.png +0 -0
  150. package/src/components/welcome/quick-entrance.tsx +77 -0
  151. package/src/components/welcome/workbench.tsx +76 -0
  152. package/src/index.js +4 -0
  153. package/src/style/common.css +79 -0
  154. package/src/style/coverstyle.css +49 -0
  155. package/src/style/transstyle.css +24 -0
  156. package/tsconfig.json +106 -0
@@ -0,0 +1,29 @@
1
+ body {
2
+ margin: 0;
3
+ padding: 0;
4
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
5
+ 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
6
+ sans-serif;
7
+ -webkit-font-smoothing: antialiased;
8
+ -moz-osx-font-smoothing: grayscale;
9
+ }
10
+
11
+ .chemstruc-edit-upload{
12
+ width: 230px;
13
+ }
14
+
15
+ .ant-upload-list-picture-card-container,
16
+ .ant-upload-select-picture-card{
17
+ width: 66px!important;
18
+ height:66px!important;
19
+ }
20
+ /*控制ketcher的选择工具栏的显示层级,modal为1000,所以此处为1020*/
21
+ .ToolbarMultiToolItem-module_portal__yDg5_{
22
+ z-index: 1020!important;
23
+ }
24
+
25
+ code {
26
+ font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
27
+ monospace;
28
+ }
29
+
@@ -0,0 +1,256 @@
1
+ .editTableList .ant-upload-list-picture .ant-upload-list-item{
2
+ width:110px;
3
+ }
4
+ .SearchForm{
5
+ padding: 8px;
6
+ background:#fff;
7
+ box-shadow:0 0 5px rgb(187, 182, 182);
8
+ border-radius: 3px
9
+ }
10
+ .actTable button {
11
+ margin-right: 5px
12
+ }
13
+ .actTable a{
14
+ margin-right: 5px
15
+ }
16
+ .actTable h3{
17
+ font-size: 18px
18
+ }
19
+
20
+ .row-dragging {
21
+ background: #fafafa;
22
+ border: 1px solid #ccc;
23
+ z-index: 9999;
24
+ }
25
+
26
+ .row-dragging td {
27
+ padding: 14px;
28
+ }
29
+
30
+ .row-dragging .drag-visible {
31
+ visibility: visible;
32
+ }
33
+
34
+ .opsColumn {
35
+ min-width: 80px;
36
+ }
37
+
38
+ /*.collapse .ant-card-body {*/
39
+ /* padding:0px*/
40
+ /*}*/
41
+
42
+ /*.ant-card-head-title button{*/
43
+ /* font-size: 16px;*/
44
+ /* padding:0px;*/
45
+ /*}*/
46
+ .seeTotal{
47
+ margin-right:20px;
48
+ text-decoration:underline;
49
+ cursor:pointer
50
+ }
51
+ .sewTotal{
52
+ margin-right:20px;
53
+ text-decoration:none;
54
+ cursor:auto;
55
+ }
56
+ .Pagination{
57
+ display:flex;
58
+ align-items: center;
59
+ margin-top:10px;
60
+ }
61
+ /*.labelcss label{*/
62
+ /* display:table-cell!important;*/
63
+ /* vertical-align: middle;*/
64
+ /* width:120px;*/
65
+ /*}*/
66
+
67
+ .downEditPic{
68
+ display:inline-block;
69
+ }
70
+ .downEditPic a{
71
+ visibility: hidden;
72
+ color:#1890ff;
73
+ cursor: pointer;
74
+ }
75
+ .downEditPic:hover a{
76
+ visibility:visible;
77
+ }
78
+ .editPic .ant-upload-list{
79
+ width:150px
80
+ }
81
+ .buttonGroup{
82
+ position: fixed;
83
+ width:100px;
84
+ bottom: 30px;
85
+ right: 20px;
86
+ z-index: 99;
87
+ }
88
+
89
+ .buttonGroup button{
90
+ margin-bottom: 10px;
91
+ }
92
+
93
+ .detailPage h3{
94
+ font-size: 18px;
95
+ }
96
+ .detailPage.showRightNav .ant-card{
97
+ min-width: 740px;
98
+ max-width: 1440px;
99
+ width:90%
100
+ }
101
+
102
+ .detailPage.noRightNav .ant-card{
103
+ min-width: 740px;
104
+ width:100%
105
+ }
106
+
107
+ .actionbtn button{
108
+ margin-right: 5px;
109
+ }
110
+
111
+ .detailPage .pad{
112
+ margin-right: 100px;
113
+ }
114
+
115
+ .entity-select-popover{
116
+ /*padding: 4px;*/
117
+ }
118
+ .entity-select-popover .ant-popover-inner-content {
119
+ padding: 4px;
120
+ }
121
+
122
+
123
+ .collapse .ant-card-body {
124
+ padding:0px
125
+ }
126
+
127
+ .ant-card-head-title button{
128
+ font-size: 16px;
129
+ padding:0px;
130
+ }
131
+
132
+ .pageHeader .ant-card-body{
133
+ padding:0px 24px 0px 24px;
134
+ }
135
+
136
+ .color {
137
+ width: 108px;
138
+ height: 24px;
139
+ border-radius: 2px;
140
+ display: inline-block;
141
+ /*background: `rgba(${ this.state.color.r }, ${ this.state.color.g }, ${ this.state.color.b }, ${ this.state.color.a })`,*/
142
+ }
143
+ .swatch {
144
+ padding: 5px;
145
+ background: #fff;
146
+ border-radius: 1px;
147
+ box-shadow: 0 0 0 1px rgba(0,0,0,.1);
148
+ display: inline-block;
149
+ cursor: pointer;
150
+ }
151
+ .popover{
152
+ position: absolute;
153
+ z-index: 2;
154
+ }
155
+ .cover{
156
+ position: fixed;
157
+ top: 0px;
158
+ right: 0px;
159
+ bottom: 0px;
160
+ left: 0px;
161
+ }
162
+
163
+ .collapse .ant-card-body {
164
+ padding:0px
165
+ }
166
+
167
+ .ant-card-head-title button{
168
+ font-size: 16px;
169
+ padding:0px;
170
+ }
171
+ .rightBar{
172
+ background: #fff;
173
+ /*position: absolute;*/
174
+ /*right:10px;*/
175
+ /*top:80px;*/
176
+ border:1px solid #e8e8e8;
177
+ border-radius: 4px;
178
+ box-shadow: 2px 2px 10px rgba(0,0,0,.2);
179
+ height:200px;
180
+ /*max-height:181px;*/
181
+ /*min-height:80px;*/
182
+ min-width: 96px;
183
+ overflow:auto;
184
+ }
185
+ .rightBar::-webkit-scrollbar {
186
+ display: none;
187
+ }
188
+ .rightBar ul{
189
+ padding:0;
190
+ margin:0;
191
+ }
192
+ .rightBar li{
193
+ list-style-type: none;
194
+ cursor: pointer;
195
+ padding:3px 7px;
196
+ width:95px;
197
+ text-align: center;
198
+ white-space: nowrap;
199
+ text-overflow: ellipsis;
200
+ text-align: left;
201
+ overflow: hidden;
202
+ }
203
+ .rightBar li:hover{
204
+ background: #cfe3f5;
205
+ }
206
+ .submitButtonBar{
207
+ background: #fff;
208
+ /*position: absolute;*/
209
+ /*right:10px;*/
210
+ /*top:80px;*/
211
+ border:1px solid #e8e8e8;
212
+ border-radius: 4px;
213
+ box-shadow: 2px 2px 10px rgba(0,0,0,.2);
214
+ max-height:158px;
215
+ /*min-height:80px;*/
216
+ overflow:auto;
217
+ width:100px;
218
+ }
219
+ .submitButtonBar::-webkit-scrollbar {
220
+ display: none;
221
+ }
222
+ .submitButtonBar ul{
223
+ padding:0;
224
+ margin:0;
225
+ }
226
+ .submitButtonBar li{
227
+ list-style-type: none;
228
+ padding:4px;
229
+ margin:0;
230
+ text-align: left;
231
+ white-space: nowrap;
232
+ overflow: hidden;
233
+ }
234
+ /*.rightBar li:hover{*/
235
+ /* background: #cfe3f5;*/
236
+ /*}*/
237
+
238
+ .btns button{
239
+ margin-right: 10px
240
+ }
241
+
242
+ .cquickTextButton {
243
+ cursor:pointer;
244
+ }
245
+
246
+ .cquickTextButton:hover{
247
+ color: #1890ff;
248
+ }
249
+
250
+ .buttons {
251
+ max-width: 300px;
252
+ }
253
+
254
+ .exportFrame .ant-divider-horizontal{
255
+ margin:12px 0;
256
+ }