@steedos/webapp 2.2.32 → 3.0.0-beta.6

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 (75) hide show
  1. package/LICENSE.txt +661 -0
  2. package/README.md +15 -17
  3. package/dist/README.md +4 -0
  4. package/dist/assets/icons/License-for-icons.txt +267 -0
  5. package/dist/assets/icons/README-dist.md +18 -0
  6. package/dist/assets/icons/action-sprite/svg/symbols.svg +1 -0
  7. package/dist/assets/icons/custom-sprite/svg/symbols.svg +1 -0
  8. package/dist/assets/icons/doctype-sprite/svg/symbols.svg +1 -0
  9. package/dist/assets/icons/standard-sprite/svg/symbols.svg +1 -0
  10. package/dist/assets/icons/utility-sprite/svg/symbols-rtl.svg +1 -0
  11. package/dist/assets/icons/utility-sprite/svg/symbols.svg +1 -0
  12. package/dist/assets/index-D4PMTHQ6.js +60674 -0
  13. package/dist/browsers.html +76 -0
  14. package/dist/css/main.css +15 -0
  15. package/dist/customize.css +104 -0
  16. package/dist/favicon.ico +0 -0
  17. package/dist/fonts/FontAwesome.otf +0 -0
  18. package/dist/fonts/Material-Design-Iconic-Font/Material-Design-Iconic-Font.eot +0 -0
  19. package/dist/fonts/Material-Design-Iconic-Font/Material-Design-Iconic-Font.svg +787 -0
  20. package/dist/fonts/Material-Design-Iconic-Font/Material-Design-Iconic-Font.ttf +0 -0
  21. package/dist/fonts/Material-Design-Iconic-Font/Material-Design-Iconic-Font.woff +0 -0
  22. package/dist/fonts/Material-Design-Iconic-Font/Material-Design-Iconic-Font.woff2 +0 -0
  23. package/dist/fonts/fontawesome-webfont.eot +0 -0
  24. package/dist/fonts/fontawesome-webfont.svg +2671 -0
  25. package/dist/fonts/fontawesome-webfont.ttf +0 -0
  26. package/dist/fonts/fontawesome-webfont.woff +0 -0
  27. package/dist/fonts/fontawesome-webfont.woff2 +0 -0
  28. package/dist/geetest/gt3.js +353 -0
  29. package/dist/images/background.svg +1 -0
  30. package/dist/images/bg.jpg +0 -0
  31. package/dist/images/default-avatar.png +0 -0
  32. package/dist/images/defaultBackground.svg +1 -0
  33. package/dist/images/logo.png +0 -0
  34. package/dist/images/logo_platform.en-us.png +0 -0
  35. package/dist/images/logo_platform.png +0 -0
  36. package/dist/images/logo_platform_white.png +0 -0
  37. package/dist/images/unsupported.png +0 -0
  38. package/dist/index.html +68 -0
  39. package/dist/js/infinitescroll.js +115 -0
  40. package/dist/js/jquery.fitvids.js +89 -0
  41. package/dist/js/nw_core.js +163 -0
  42. package/dist/js/selectize/selectize.bootstrap2.css +494 -0
  43. package/dist/js/selectize/selectize.bootstrap3.css +408 -0
  44. package/dist/js/selectize/selectize.css +324 -0
  45. package/dist/js/selectize/selectize.default.css +394 -0
  46. package/dist/js/selectize/selectize.js +3829 -0
  47. package/dist/js/workflow_client.css +55 -0
  48. package/dist/js/workflow_client.js +174 -0
  49. package/dist/lib/jquery/jquery-1.11.2.min.js +4 -0
  50. package/dist/lib/select2/select2-spinner.gif +0 -0
  51. package/dist/lib/select2/select2.png +0 -0
  52. package/dist/lib/select2/select2x2.png +0 -0
  53. package/dist/lib/swipebox/img/icons.png +0 -0
  54. package/dist/lib/swipebox/img/icons.svg +1 -0
  55. package/dist/lib/swipebox/img/loader.gif +0 -0
  56. package/dist/locales/en/translation.json +3 -0
  57. package/dist/locales/zh-CN/translation.json +3 -0
  58. package/dist/manifest.json +15 -0
  59. package/dist/plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css +9 -0
  60. package/dist/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js +1 -0
  61. package/dist/plugins/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js +16 -0
  62. package/dist/plugins/toastr/toastr.min.css +1 -0
  63. package/dist/plugins/toastr/toastr.min.js +2 -0
  64. package/dist/sound/notification.mp3 +0 -0
  65. package/dist/steedos-init.js +165 -0
  66. package/dist/ui.icons.json +5064 -0
  67. package/dist/word/demo.doc +0 -0
  68. package/dist/workflow.html +36 -0
  69. package/package.json +32 -49
  70. package/.env +0 -3
  71. package/.eslintignore +0 -1
  72. package/.md +0 -8
  73. package/LICENSE +0 -21
  74. package/tsconfig.json +0 -28
  75. package/tsconfig.lib.json +0 -34
package/README.md CHANGED
@@ -1,26 +1,24 @@
1
- # react-rest)typescript
1
+ # Steedos WebApp
2
2
 
3
- This example demonstrate how to use [accounts-js](https://github.com/accounts-js/accounts).
3
+ Steedos WebApp 是一个基于 React Web 应用程序,用于展示和管理 Steedos 应用程序的数据。替代了 Steedos 2.x 中的 Meteor Clint。
4
4
 
5
- ## Getting Started
5
+ ## 开发
6
6
 
7
- ```
8
- git clone https://github.com/accounts-js/accounts.git
9
- cd examples/react-typescript
10
- yarn install
7
+ 启动开发服务可以单独调试前端。环境变量 `VITE_B6_ROOT_URL` 用于指定后端 API 服务地址。
8
+
9
+ ```bash
10
+ yarn
11
+ yarn dev
11
12
  ```
12
13
 
13
- Start the app.
14
+ 访问 `http://localhost:5173` 查看效果。
14
15
 
15
- ```
16
- yarn start
17
- ```
16
+ ## 构建
18
17
 
19
- Open a browser and navigate to [http://localhost:3000](http://localhost:3000).
18
+ 构建后会生成 dist 文件夹,@steedos/server 启动时会默认加载此文件夹,并将所有非API路由重定位到此 App。
20
19
 
21
- ## 功能说明
22
- - 登录及注册页面前台
20
+ ```bash
21
+ yarn build
22
+ ```
23
23
 
24
- ## Build
25
- 执行命令`build-disabled`
26
- 注意: steedos-frontend需要与steedos-platform文件夹路径需要平级
24
+ 访问 `http://localhost:5000` 查看效果。
package/dist/README.md ADDED
@@ -0,0 +1,4 @@
1
+ # 静态资源文件夹
2
+
3
+ 该文件夹内的文件都会被自动映射为网站静态资源文件。
4
+
@@ -0,0 +1,267 @@
1
+ Creative Commons Attribution-NoDerivatives 4.0 International Public License
2
+ https://creativecommons.org/licenses/by-nd/4.0/legalcode
3
+
4
+
5
+
6
+ SUMMARY OF THE LICENSE:
7
+
8
+ You are free to:
9
+
10
+ * Share — copy and redistribute the material in any medium or format
11
+ for any purpose, even commercially.
12
+ * The licensor cannot revoke these freedoms as long as you follow the
13
+ license terms.
14
+
15
+ Under the following terms:
16
+
17
+ * Attribution — You must give appropriate credit, provide a link to
18
+ the license, and indicate if changes were made. You may do so in any
19
+ reasonable manner, but not in any way that suggests the licensor
20
+ endorses you or your use.
21
+ * NoDerivatives — If you remix, transform, or build upon the material,
22
+ you may not distribute the modified material.
23
+
24
+ No additional restrictions — You may not apply legal terms or
25
+ technological measures that legally restrict others from doing
26
+ anything the license permits.
27
+
28
+
29
+
30
+ FULL LICENSE TEXT:
31
+
32
+ By exercising the Licensed Rights (defined below), You accept and
33
+ agree to be bound by the terms and conditions of this Creative Commons
34
+ Attribution-NoDerivatives 4.0 International Public License ("Public
35
+ License"). To the extent this Public License may be interpreted as a
36
+ contract, You are granted the Licensed Rights in consideration of Your
37
+ acceptance of these terms and conditions, and the Licensor grants You
38
+ such rights in consideration of benefits the Licensor receives from
39
+ making the Licensed Material available under these terms and
40
+ conditions.
41
+
42
+ Section 1 – Definitions.
43
+ a. Adapted Material means material subject to Copyright and Similar
44
+ Rights that is derived from or based upon the Licensed Material and
45
+ in which the Licensed Material is translated, altered, arranged,
46
+ transformed, or otherwise modified in a manner requiring permission
47
+ under the Copyright and Similar Rights held by the Licensor. For
48
+ purposes of this Public License, where the Licensed Material is a
49
+ musical work, performance, or sound recording, Adapted Material is
50
+ always produced where the Licensed Material is synched in timed
51
+ relation with a moving image.
52
+ b. Copyright and Similar Rights means copyright and/or similar rights
53
+ closely related to copyright including, without limitation,
54
+ performance, broadcast, sound recording, and Sui Generis Database
55
+ Rights, without regard to how the rights are labeled or
56
+ categorized. For purposes of this Public License, the rights
57
+ specified in Section 2(b)(1)-(2) (#s2b) are not Copyright and
58
+ Similar Rights.
59
+ c. Effective Technological Measures means those measures that, in the
60
+ absence of proper authority, may not be circumvented under laws
61
+ fulfilling obligations under Article 11 of the WIPO Copyright
62
+ Treaty adopted on December 20, 1996, and/or similar international
63
+ agreements.
64
+ d. Exceptions and Limitations means fair use, fair dealing, and/or any
65
+ other exception or limitation to Copyright and Similar Rights that
66
+ applies to Your use of the Licensed Material.
67
+ e. Licensed Material means the artistic or literary work, database, or
68
+ other material to which the Licensor applied this Public License.
69
+ f. Licensed Rights means the rights granted to You subject to the
70
+ terms and conditions of this Public License, which are limited to
71
+ all Copyright and Similar Rights that apply to Your use of the
72
+ Licensed Material and that the Licensor has authority to license.
73
+ g. Licensor means the individual(s) or entity(ies) granting rights
74
+ under this Public License.
75
+ h. Share means to provide material to the public by any means or
76
+ process that requires permission under the Licensed Rights, such as
77
+ reproduction, public display, public performance, distribution,
78
+ dissemination, communication, or importation, and to make material
79
+ available to the public including in ways that members of the
80
+ public may access the material from a place and at a time
81
+ individually chosen by them.
82
+ i. Sui Generis Database Rights means rights other than copyright
83
+ resulting from Directive 96/9/EC of the European Parliament and of
84
+ the Council of 11 March 1996 on the legal protection of databases,
85
+ as amended and/or succeeded, as well as other essentially
86
+ equivalent rights anywhere in the world.
87
+ j. You means the individual or entity exercising the Licensed Rights
88
+ under this Public License. Your has a corresponding meaning.
89
+
90
+ Section 2 – Scope.
91
+ a. License grant.
92
+ 1. Subject to the terms and conditions of this Public License, the
93
+ Licensor hereby grants You a worldwide, royalty-free, non-
94
+ sublicensable, non-exclusive, irrevocable license to exercise the
95
+ Licensed Rights in the Licensed Material to:
96
+ A. reproduce and Share the Licensed Material, in whole or in part;
97
+ and
98
+ B. produce and reproduce, but not Share, Adapted Material.
99
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
100
+ Exceptions and Limitations apply to Your use, this Public License
101
+ does not apply, and You do not need to comply with its terms and
102
+ conditions.
103
+ 3. Term. The term of this Public License is specified in Section
104
+ 6(a) (#s6a) .
105
+ 4. Media and formats; technical modifications allowed. The Licensor
106
+ authorizes You to exercise the Licensed Rights in all media and
107
+ formats whether now known or hereafter created, and to make
108
+ technical modifications necessary to do so. The Licensor waives
109
+ and/or agrees not to assert any right or authority to forbid You
110
+ from making technical modifications necessary to exercise the
111
+ Licensed Rights, including technical modifications necessary to
112
+ circumvent Effective Technological Measures. For purposes of this
113
+ Public License, simply making modifications authorized by this
114
+ Section 2(a)(4) (#s2a4) never produces Adapted Material.
115
+ 5. Downstream recipients.
116
+ A. Offer from the Licensor – Licensed Material. Every recipient of
117
+ the Licensed Material automatically receives an offer from the
118
+ Licensor to exercise the Licensed Rights under the terms and
119
+ conditions of this Public License.
120
+ B. No downstream restrictions. You may not offer or impose any
121
+ additional or different terms or conditions on, or apply any
122
+ Effective Technological Measures to, the Licensed Material if
123
+ doing so restricts exercise of the Licensed Rights by any
124
+ recipient of the Licensed Material.
125
+ 6. No endorsement. Nothing in this Public License constitutes or may
126
+ be construed as permission to assert or imply that You are, or
127
+ that Your use of the Licensed Material is, connected with, or
128
+ sponsored, endorsed, or granted official status by, the Licensor
129
+ or others designated to receive attribution as provided in
130
+ Section 3(a)(1)(A)(i) (#s3a1Ai) .
131
+ b. Other rights.
132
+ 1. Moral rights, such as the right of integrity, are not licensed
133
+ under this Public License, nor are publicity, privacy, and/or
134
+ other similar personality rights; however, to the extent
135
+ possible, the Licensor waives and/or agrees not to assert any
136
+ such rights held by the Licensor to the limited extent necessary
137
+ to allow You to exercise the Licensed Rights, but not otherwise.
138
+ 2. Patent and trademark rights are not licensed under this Public
139
+ License.
140
+ 3. To the extent possible, the Licensor waives any right to collect
141
+ royalties from You for the exercise of the Licensed Rights,
142
+ whether directly or through a collecting society under any
143
+ voluntary or waivable statutory or compulsory licensing scheme.
144
+ In all other cases the Licensor expressly reserves any right to
145
+ collect such royalties.
146
+
147
+ Section 3 – License Conditions.
148
+ Your exercise of the Licensed Rights is expressly made subject to the
149
+ following conditions.
150
+ a. Attribution.
151
+ 1. If You Share the Licensed Material, You must:
152
+ A. retain the following if it is supplied by the Licensor with the
153
+ Licensed Material:
154
+ i. identification of the creator(s) of the Licensed Material and
155
+ any others designated to receive attribution, in any
156
+ reasonable manner requested by the Licensor (including by
157
+ pseudonym if designated); ii. a copyright notice; iii. a
158
+ notice that refers to this Public License; iv. a notice that
159
+ refers to the disclaimer of warranties;
160
+ v. a URI or hyperlink to the Licensed Material to the extent
161
+ reasonably practicable;
162
+ B. indicate if You modified the Licensed Material and retain an
163
+ indication of any previous modifications; and
164
+ C. indicate the Licensed Material is licensed under this Public
165
+ License, and include the text of, or the URI or hyperlink to,
166
+ this Public License. For the avoidance of doubt, You do not
167
+ have permission under this Public License to Share Adapted
168
+ Material.
169
+ 2. You may satisfy the conditions in Section 3(a)(1) (#s3a1) in any
170
+ reasonable manner based on the medium, means, and context in
171
+ which You Share the Licensed Material. For example, it may be
172
+ reasonable to satisfy the conditions by providing a URI or
173
+ hyperlink to a resource that includes the required information.
174
+ 3. If requested by the Licensor, You must remove any of the
175
+ information required by Section 3(a)(1)(A) (#s3a1A) to the extent
176
+ reasonably practicable.
177
+
178
+ Section 4 – Sui Generis Database Rights.
179
+ Where the Licensed Rights include Sui Generis Database Rights that
180
+ apply to Your use of the Licensed Material:
181
+ a. for the avoidance of doubt, Section 2(a)(1) (#s2a1) grants You
182
+ the right to extract, reuse, reproduce, and Share all or a
183
+ substantial portion of the contents of the database, provided You
184
+ do not Share Adapted Material;
185
+ b. if You include all or a substantial portion of the database
186
+ contents in a database in which You have Sui Generis Database
187
+ Rights, then the database in which You have Sui Generis Database
188
+ Rights (but not its individual contents) is Adapted Material; and
189
+ c. You must comply with the conditions in Section 3(a) (#s3a) if You
190
+ Share all or a substantial portion of the contents of the
191
+ database.
192
+
193
+ For the avoidance of doubt, this Section 4 (#s4) supplements and does
194
+ not replace Your obligations under this Public License where the
195
+ Licensed Rights include other Copyright and Similar Rights.
196
+
197
+ Section 5 – Disclaimer of Warranties and Limitation of Liability.
198
+ a. Unless otherwise separately undertaken by the Licensor, to the
199
+ extent possible, the Licensor offers the Licensed Material as-is
200
+ and as-available, and makes no representations or warranties of any
201
+ kind concerning the Licensed Material, whether express, implied,
202
+ statutory, or other. This includes, without limitation, warranties
203
+ of title, merchantability, fitness for a particular purpose, non-
204
+ infringement, absence of latent or other defects, accuracy, or the
205
+ presence or absence of errors, whether or not known or
206
+ discoverable. Where disclaimers of warranties are not allowed in
207
+ full or in part, this disclaimer may not apply to You.
208
+ b. To the extent possible, in no event will the Licensor be liable to
209
+ You on any legal theory (including, without limitation, negligence)
210
+ or otherwise for any direct, special, indirect, incidental,
211
+ consequential, punitive, exemplary, or other losses, costs,
212
+ expenses, or damages arising out of this Public License or use of
213
+ the Licensed Material, even if the Licensor has been advised of the
214
+ possibility of such losses, costs, expenses, or damages. Where a
215
+ limitation of liability is not allowed in full or in part, this
216
+ limitation may not apply to You.
217
+
218
+ c. The disclaimer of warranties and limitation of liability provided
219
+ above shall be interpreted in a manner that, to the extent
220
+ possible, most closely approximates an absolute disclaimer and
221
+ waiver of all liability.
222
+
223
+ Section 6 – Term and Termination.
224
+ a. This Public License applies for the term of the Copyright and
225
+ Similar Rights licensed here. However, if You fail to comply with
226
+ this Public License, then Your rights under this Public License
227
+ terminate automatically.
228
+ b. Where Your right to use the Licensed Material has terminated under
229
+ Section 6(a) (#s6a) , it reinstates:
230
+ 1. automatically as of the date the violation is cured, provided it
231
+ is cured within 30 days of Your discovery of the violation; or
232
+ 2. upon express reinstatement by the Licensor. For the avoidance of
233
+ doubt, this Section 6(b) (#s6b) does not affect any right the
234
+ Licensor may have to seek remedies for Your violations of this
235
+ Public License.
236
+ c. For the avoidance of doubt, the Licensor may also offer the
237
+ Licensed Material under separate terms or conditions or stop
238
+ distributing the Licensed Material at any time; however, doing so
239
+ will not terminate this Public License.
240
+ d. Sections 1 (#s1) , 5 (#s5) , 6 (#s6) , 7 (#s7) , and 8 (#s8)
241
+ survive termination of this Public License.
242
+
243
+ Section 7 – Other Terms and Conditions.
244
+ a. The Licensor shall not be bound by any additional or different
245
+ terms or conditions communicated by You unless expressly agreed.
246
+ b. Any arrangements, understandings, or agreements regarding the
247
+ Licensed Material not stated herein are separate from and
248
+ independent of the terms and conditions of this Public License.
249
+
250
+ Section 8 – Interpretation.
251
+ a. For the avoidance of doubt, this Public License does not, and shall
252
+ not be interpreted to, reduce, limit, restrict, or impose
253
+ conditions on any use of the Licensed Material that could lawfully
254
+ be made without permission under this Public License.
255
+ b. To the extent possible, if any provision of this Public License is
256
+ deemed unenforceable, it shall be automatically reformed to the
257
+ minimum extent necessary to make it enforceable. If the provision
258
+ cannot be reformed, it shall be severed from this Public License
259
+ without affecting the enforceability of the remaining terms and
260
+ conditions.
261
+ c. No term or condition of this Public License will be waived and no
262
+ failure to comply consented to unless expressly agreed to by the
263
+ Licensor.
264
+ d. Nothing in this Public License constitutes or may be interpreted as
265
+ a limitation upon, or waiver of, any privileges and immunities that
266
+ apply to the Licensor or You, including from the legal processes of
267
+ any jurisdiction or authority.
@@ -0,0 +1,18 @@
1
+ Salesforce Design System Icons
2
+
3
+ Contents:
4
+
5
+ action-sprite/ - sprited SVGs, see symbols.html and svg/symbols.svg
6
+ custom-sprite/
7
+ doctype-sprite/
8
+ standard-sprite/
9
+ utility-sprite/
10
+
11
+ action/ - individual 60x60 and 120x120 PNG icons, SVG icons
12
+ custom/
13
+ doctype/
14
+ standard/
15
+ utility/
16
+
17
+ License-for-icons.txt
18
+