@simai-studio/mail 0.0.0-stage → 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 (191) hide show
  1. package/LICENSE.md +188 -0
  2. package/README.md +79 -2
  3. package/dist/package-receipt.json +1176 -0
  4. package/dist/set.json +97 -0
  5. package/dist/smart/mail-canvas/component.json +562 -0
  6. package/dist/smart/mail-canvas/component.json.gz +0 -0
  7. package/dist/smart/mail-canvas/css/mail-canvas.css +85 -0
  8. package/dist/smart/mail-canvas/css/mail-canvas.css.gz +0 -0
  9. package/dist/smart/mail-canvas/css/mail-canvas.min.css +2 -0
  10. package/dist/smart/mail-canvas/css/mail-canvas.min.css.gz +0 -0
  11. package/dist/smart/mail-canvas/examples.json +731 -0
  12. package/dist/smart/mail-canvas/examples.json.gz +0 -0
  13. package/dist/smart/mail-canvas/js/mail-canvas.js +1039 -0
  14. package/dist/smart/mail-canvas/js/mail-canvas.js.gz +0 -0
  15. package/dist/smart/mail-canvas/js/mail-canvas.min.js +22 -0
  16. package/dist/smart/mail-canvas/js/mail-canvas.min.js.gz +0 -0
  17. package/dist/smart/mail-canvas/lang/en.json +25 -0
  18. package/dist/smart/mail-canvas/lang/en.json.gz +0 -0
  19. package/dist/smart/mail-canvas/lang/ru.json +25 -0
  20. package/dist/smart/mail-canvas/lang/ru.json.gz +0 -0
  21. package/dist/smart/mail-canvas/probe.json +465 -0
  22. package/dist/smart/mail-canvas/probe.json.gz +0 -0
  23. package/dist/smart/mail-canvas/smart.manifest.json +550 -0
  24. package/dist/smart/mail-canvas/smart.manifest.json.gz +0 -0
  25. package/dist/smart/mail-canvas/static/default/notes.html +43 -0
  26. package/dist/smart/mail-canvas/static/default/notes.html.gz +0 -0
  27. package/dist/smart/mail-canvas/static/default/phone.html +43 -0
  28. package/dist/smart/mail-canvas/static/default/phone.html.gz +0 -0
  29. package/dist/smart/mail-canvas/static/default/reference.html +48 -0
  30. package/dist/smart/mail-canvas/static/default/reference.html.gz +0 -0
  31. package/dist/smart/mail-canvas/static/sheets.json +132 -0
  32. package/dist/smart/mail-canvas/static/sheets.json.gz +0 -0
  33. package/dist/smart/mail-canvas/studio.fixture.json +63 -0
  34. package/dist/smart/mail-canvas/studio.fixture.json.gz +0 -0
  35. package/dist/smart/mail-canvas/studio.scenario.json +39 -0
  36. package/dist/smart/mail-canvas/studio.scenario.json.gz +0 -0
  37. package/dist/smart/mail-canvas/template/default.css +73 -0
  38. package/dist/smart/mail-canvas/template/default.css.gz +0 -0
  39. package/dist/smart/mail-canvas/template/default.js +38 -0
  40. package/dist/smart/mail-canvas/template/default.js.gz +0 -0
  41. package/dist/smart/mail-inspector/component.json +768 -0
  42. package/dist/smart/mail-inspector/component.json.gz +0 -0
  43. package/dist/smart/mail-inspector/css/mail-inspector.css +194 -0
  44. package/dist/smart/mail-inspector/css/mail-inspector.css.gz +0 -0
  45. package/dist/smart/mail-inspector/css/mail-inspector.min.css +2 -0
  46. package/dist/smart/mail-inspector/css/mail-inspector.min.css.gz +0 -0
  47. package/dist/smart/mail-inspector/examples.json +1301 -0
  48. package/dist/smart/mail-inspector/examples.json.gz +0 -0
  49. package/dist/smart/mail-inspector/js/mail-inspector.js +1619 -0
  50. package/dist/smart/mail-inspector/js/mail-inspector.js.gz +0 -0
  51. package/dist/smart/mail-inspector/js/mail-inspector.min.js +103 -0
  52. package/dist/smart/mail-inspector/js/mail-inspector.min.js.gz +0 -0
  53. package/dist/smart/mail-inspector/lang/en.json +29 -0
  54. package/dist/smart/mail-inspector/lang/en.json.gz +0 -0
  55. package/dist/smart/mail-inspector/lang/ru.json +29 -0
  56. package/dist/smart/mail-inspector/lang/ru.json.gz +0 -0
  57. package/dist/smart/mail-inspector/probe.json +648 -0
  58. package/dist/smart/mail-inspector/probe.json.gz +0 -0
  59. package/dist/smart/mail-inspector/smart.manifest.json +920 -0
  60. package/dist/smart/mail-inspector/smart.manifest.json.gz +0 -0
  61. package/dist/smart/mail-inspector/static/default/item.html +189 -0
  62. package/dist/smart/mail-inspector/static/default/item.html.gz +0 -0
  63. package/dist/smart/mail-inspector/static/default/letter.html +247 -0
  64. package/dist/smart/mail-inspector/static/default/letter.html.gz +0 -0
  65. package/dist/smart/mail-inspector/static/default/reference.html +545 -0
  66. package/dist/smart/mail-inspector/static/default/reference.html.gz +0 -0
  67. package/dist/smart/mail-inspector/static/sheets.json +226 -0
  68. package/dist/smart/mail-inspector/static/sheets.json.gz +0 -0
  69. package/dist/smart/mail-inspector/studio.fixture.json +232 -0
  70. package/dist/smart/mail-inspector/studio.fixture.json.gz +0 -0
  71. package/dist/smart/mail-inspector/studio.scenario.json +43 -0
  72. package/dist/smart/mail-inspector/studio.scenario.json.gz +0 -0
  73. package/dist/smart/mail-inspector/template/default.css +190 -0
  74. package/dist/smart/mail-inspector/template/default.css.gz +0 -0
  75. package/dist/smart/mail-inspector/template/default.js +249 -0
  76. package/dist/smart/mail-inspector/template/default.js.gz +0 -0
  77. package/dist/smart/mail-letters/component.json +455 -0
  78. package/dist/smart/mail-letters/component.json.gz +0 -0
  79. package/dist/smart/mail-letters/css/mail-letters.css +72 -0
  80. package/dist/smart/mail-letters/css/mail-letters.css.gz +0 -0
  81. package/dist/smart/mail-letters/css/mail-letters.min.css +2 -0
  82. package/dist/smart/mail-letters/css/mail-letters.min.css.gz +0 -0
  83. package/dist/smart/mail-letters/examples.json +477 -0
  84. package/dist/smart/mail-letters/examples.json.gz +0 -0
  85. package/dist/smart/mail-letters/js/mail-letters.js +1772 -0
  86. package/dist/smart/mail-letters/js/mail-letters.js.gz +0 -0
  87. package/dist/smart/mail-letters/js/mail-letters.min.js +35 -0
  88. package/dist/smart/mail-letters/js/mail-letters.min.js.gz +0 -0
  89. package/dist/smart/mail-letters/lang/en.json +29 -0
  90. package/dist/smart/mail-letters/lang/en.json.gz +0 -0
  91. package/dist/smart/mail-letters/lang/ru.json +31 -0
  92. package/dist/smart/mail-letters/lang/ru.json.gz +0 -0
  93. package/dist/smart/mail-letters/probe.json +290 -0
  94. package/dist/smart/mail-letters/probe.json.gz +0 -0
  95. package/dist/smart/mail-letters/smart.manifest.json +476 -0
  96. package/dist/smart/mail-letters/smart.manifest.json.gz +0 -0
  97. package/dist/smart/mail-letters/static/default/by-title.html +177 -0
  98. package/dist/smart/mail-letters/static/default/by-title.html.gz +0 -0
  99. package/dist/smart/mail-letters/static/default/empty.html +88 -0
  100. package/dist/smart/mail-letters/static/default/empty.html.gz +0 -0
  101. package/dist/smart/mail-letters/static/default/nothing-found.html +88 -0
  102. package/dist/smart/mail-letters/static/default/nothing-found.html.gz +0 -0
  103. package/dist/smart/mail-letters/static/default/reference.html +168 -0
  104. package/dist/smart/mail-letters/static/default/reference.html.gz +0 -0
  105. package/dist/smart/mail-letters/static/sheets.json +245 -0
  106. package/dist/smart/mail-letters/static/sheets.json.gz +0 -0
  107. package/dist/smart/mail-letters/studio.fixture.json +41 -0
  108. package/dist/smart/mail-letters/studio.fixture.json.gz +0 -0
  109. package/dist/smart/mail-letters/studio.scenario.json +41 -0
  110. package/dist/smart/mail-letters/studio.scenario.json.gz +0 -0
  111. package/dist/smart/mail-letters/template/default.css +79 -0
  112. package/dist/smart/mail-letters/template/default.css.gz +0 -0
  113. package/dist/smart/mail-letters/template/default.js +61 -0
  114. package/dist/smart/mail-letters/template/default.js.gz +0 -0
  115. package/dist/smart/mail-library/component.json +512 -0
  116. package/dist/smart/mail-library/component.json.gz +0 -0
  117. package/dist/smart/mail-library/css/mail-library.css +149 -0
  118. package/dist/smart/mail-library/css/mail-library.css.gz +0 -0
  119. package/dist/smart/mail-library/css/mail-library.min.css +2 -0
  120. package/dist/smart/mail-library/css/mail-library.min.css.gz +0 -0
  121. package/dist/smart/mail-library/examples.json +616 -0
  122. package/dist/smart/mail-library/examples.json.gz +0 -0
  123. package/dist/smart/mail-library/js/mail-library.js +559 -0
  124. package/dist/smart/mail-library/js/mail-library.js.gz +0 -0
  125. package/dist/smart/mail-library/js/mail-library.min.js +52 -0
  126. package/dist/smart/mail-library/js/mail-library.min.js.gz +0 -0
  127. package/dist/smart/mail-library/lang/en.json +21 -0
  128. package/dist/smart/mail-library/lang/en.json.gz +0 -0
  129. package/dist/smart/mail-library/lang/ru.json +21 -0
  130. package/dist/smart/mail-library/lang/ru.json.gz +0 -0
  131. package/dist/smart/mail-library/probe.json +275 -0
  132. package/dist/smart/mail-library/probe.json.gz +0 -0
  133. package/dist/smart/mail-library/smart.manifest.json +512 -0
  134. package/dist/smart/mail-library/smart.manifest.json.gz +0 -0
  135. package/dist/smart/mail-library/static/default/category.html +85 -0
  136. package/dist/smart/mail-library/static/default/category.html.gz +0 -0
  137. package/dist/smart/mail-library/static/default/nothing-found.html +81 -0
  138. package/dist/smart/mail-library/static/default/nothing-found.html.gz +0 -0
  139. package/dist/smart/mail-library/static/default/one-group.html +67 -0
  140. package/dist/smart/mail-library/static/default/one-group.html.gz +0 -0
  141. package/dist/smart/mail-library/static/default/reference.html +135 -0
  142. package/dist/smart/mail-library/static/default/reference.html.gz +0 -0
  143. package/dist/smart/mail-library/static/sheets.json +180 -0
  144. package/dist/smart/mail-library/static/sheets.json.gz +0 -0
  145. package/dist/smart/mail-library/studio.fixture.json +75 -0
  146. package/dist/smart/mail-library/studio.fixture.json.gz +0 -0
  147. package/dist/smart/mail-library/studio.scenario.json +41 -0
  148. package/dist/smart/mail-library/studio.scenario.json.gz +0 -0
  149. package/dist/smart/mail-library/template/default.css +133 -0
  150. package/dist/smart/mail-library/template/default.css.gz +0 -0
  151. package/dist/smart/mail-library/template/default.js +83 -0
  152. package/dist/smart/mail-library/template/default.js.gz +0 -0
  153. package/dist/smart/mail-structure/component.json +497 -0
  154. package/dist/smart/mail-structure/component.json.gz +0 -0
  155. package/dist/smart/mail-structure/css/mail-structure.css +106 -0
  156. package/dist/smart/mail-structure/css/mail-structure.css.gz +0 -0
  157. package/dist/smart/mail-structure/css/mail-structure.min.css +2 -0
  158. package/dist/smart/mail-structure/css/mail-structure.min.css.gz +0 -0
  159. package/dist/smart/mail-structure/examples.json +286 -0
  160. package/dist/smart/mail-structure/examples.json.gz +0 -0
  161. package/dist/smart/mail-structure/js/mail-structure.js +767 -0
  162. package/dist/smart/mail-structure/js/mail-structure.js.gz +0 -0
  163. package/dist/smart/mail-structure/js/mail-structure.min.js +48 -0
  164. package/dist/smart/mail-structure/js/mail-structure.min.js.gz +0 -0
  165. package/dist/smart/mail-structure/lang/en.json +22 -0
  166. package/dist/smart/mail-structure/lang/en.json.gz +0 -0
  167. package/dist/smart/mail-structure/lang/ru.json +22 -0
  168. package/dist/smart/mail-structure/lang/ru.json.gz +0 -0
  169. package/dist/smart/mail-structure/probe.json +112 -0
  170. package/dist/smart/mail-structure/probe.json.gz +0 -0
  171. package/dist/smart/mail-structure/smart.manifest.json +495 -0
  172. package/dist/smart/mail-structure/smart.manifest.json.gz +0 -0
  173. package/dist/smart/mail-structure/static/default/empty.html +76 -0
  174. package/dist/smart/mail-structure/static/default/empty.html.gz +0 -0
  175. package/dist/smart/mail-structure/static/default/reference.html +98 -0
  176. package/dist/smart/mail-structure/static/default/reference.html.gz +0 -0
  177. package/dist/smart/mail-structure/static/default/settings.html +98 -0
  178. package/dist/smart/mail-structure/static/default/settings.html.gz +0 -0
  179. package/dist/smart/mail-structure/static/sheets.json +142 -0
  180. package/dist/smart/mail-structure/static/sheets.json.gz +0 -0
  181. package/dist/smart/mail-structure/studio.fixture.json +45 -0
  182. package/dist/smart/mail-structure/studio.fixture.json.gz +0 -0
  183. package/dist/smart/mail-structure/studio.scenario.json +42 -0
  184. package/dist/smart/mail-structure/studio.scenario.json.gz +0 -0
  185. package/dist/smart/mail-structure/template/default.css +100 -0
  186. package/dist/smart/mail-structure/template/default.css.gz +0 -0
  187. package/dist/smart/mail-structure/template/default.js +80 -0
  188. package/dist/smart/mail-structure/template/default.js.gz +0 -0
  189. package/dist/smart/rule.js +161 -0
  190. package/dist/smart/rule.js.gz +0 -0
  191. package/package.json +29 -4
package/LICENSE.md ADDED
@@ -0,0 +1,188 @@
1
+ # Licence
2
+
3
+ - Product: **SIMAI Mail**
4
+ - Author: Rim Zabarov (Рим Забаров)
5
+ - Copyright 2026 Rim Zabarov. All rights reserved, except as granted below.
6
+ - Required Notice: Copyright 2026 Rim Zabarov (https://simai.io/)
7
+
8
+ "SIMAI" and "SIMAI Mail" are trademarks of their owner; this licence grants
9
+ no right to use them. Distributed and supported under licence by ООО «Симай».
10
+
11
+ This licence covers this folder (`package/`) of the repository simai/ui-mail:
12
+ the component set `mail` of SIMAI Framework (npm `@simai-studio/mail`), its
13
+ Smart components (`src/smart/mail-*`), their tests, scripts and documentation,
14
+ and its built release (`dist/`). The rest of the repository, the SIMAI Email
15
+ Editor application, keeps its own licence (Apache-2.0, `../LICENSE`). This
16
+ licence does not cover the SIMAI Framework the set builds on
17
+ (`simai/ui-source`, `simai/ui`, `@simai-studio/ui`), which is licensed
18
+ separately under Apache-2.0, nor third-party dependencies, which keep their
19
+ own licences.
20
+
21
+ You may use this software under **one** of the following licences, at your
22
+ choice:
23
+
24
+ 1. **Small businesses: free**, under the PolyForm Small Business License
25
+ 1.0.0 (full text below). In short: individuals, and companies with fewer
26
+ than 100 people working for them and less than USD 1,000,000 in revenue in
27
+ the last tax year, may use it for any purpose.
28
+ 2. **Non-commercial use: free**, under the PolyForm Noncommercial License
29
+ 1.0.0 (full text below): personal projects, study, research, charities,
30
+ schools and public institutions.
31
+ 3. **Everyone else** needs the **SIMAI Commercial License**, available on
32
+ request from SIMAI (https://simai.io/).
33
+
34
+ **Use as part of Larena** (SIMAI's CMS) is covered by Larena's own licence;
35
+ none of the three options above is needed for it.
36
+
37
+ These terms apply from the first release made from this repository.
38
+
39
+ SPDX-License-Identifier: PolyForm-Small-Business-1.0.0 OR PolyForm-Noncommercial-1.0.0 OR LicenseRef-SIMAI-Commercial
40
+
41
+ The two licence texts below are reproduced verbatim from
42
+ https://github.com/polyformproject/polyform-licenses (tag 1.0.0), as published
43
+ at https://polyformproject.org/licenses/small-business/1.0.0 and
44
+ https://polyformproject.org/licenses/noncommercial/1.0.0.
45
+
46
+ ---
47
+
48
+ # PolyForm Small Business License 1.0.0
49
+
50
+ <https://polyformproject.org/licenses/small-business/1.0.0>
51
+
52
+ ## Acceptance
53
+
54
+ In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
55
+
56
+ ## Copyright License
57
+
58
+ The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license).
59
+
60
+ ## Distribution License
61
+
62
+ The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license).
63
+
64
+ ## Notices
65
+
66
+ You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
67
+
68
+ > Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
69
+
70
+ ## Changes and New Works License
71
+
72
+ The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
73
+
74
+ ## Patent License
75
+
76
+ The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
77
+
78
+ ## Fair Use
79
+
80
+ You may have "fair use" rights for the software under the law. These terms do not limit them.
81
+
82
+ ## Small Business
83
+
84
+ Use of the software for the benefit of your company is use for a permitted purpose if your company has fewer than 100 total individuals working as employees and independent contractors, and less than 1,000,000 USD (2019) total revenue in the prior tax year. Adjust this revenue threshold for inflation according to the United States Bureau of Labor Statistics' consumer price index for all urban consumers, U.S. city average, for all items, not seasonally adjusted, with 1982–1984=100 reference base.
85
+
86
+ ## No Other Rights
87
+
88
+ These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
89
+
90
+ ## Patent Defense
91
+
92
+ If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
93
+
94
+ ## Violations
95
+
96
+ The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
97
+
98
+ ## No Liability
99
+
100
+ ***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
101
+
102
+ ## Definitions
103
+
104
+ The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
105
+
106
+ **You** refers to the individual or entity agreeing to these terms.
107
+
108
+ **Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
109
+
110
+ **Your licenses** are all the licenses granted to you for the software under these terms.
111
+
112
+ **Use** means anything you do with the software requiring one of your licenses.
113
+
114
+ ---
115
+
116
+ # PolyForm Noncommercial License 1.0.0
117
+
118
+ <https://polyformproject.org/licenses/noncommercial/1.0.0>
119
+
120
+ ## Acceptance
121
+
122
+ In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
123
+
124
+ ## Copyright License
125
+
126
+ The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license).
127
+
128
+ ## Distribution License
129
+
130
+ The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license).
131
+
132
+ ## Notices
133
+
134
+ You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
135
+
136
+ > Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
137
+
138
+ ## Changes and New Works License
139
+
140
+ The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
141
+
142
+ ## Patent License
143
+
144
+ The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
145
+
146
+ ## Noncommercial Purposes
147
+
148
+ Any noncommercial purpose is a permitted purpose.
149
+
150
+ ## Personal Uses
151
+
152
+ Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
153
+
154
+ ## Noncommercial Organizations
155
+
156
+ Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
157
+
158
+ ## Fair Use
159
+
160
+ You may have "fair use" rights for the software under the law. These terms do not limit them.
161
+
162
+ ## No Other Rights
163
+
164
+ These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
165
+
166
+ ## Patent Defense
167
+
168
+ If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
169
+
170
+ ## Violations
171
+
172
+ The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
173
+
174
+ ## No Liability
175
+
176
+ ***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
177
+
178
+ ## Definitions
179
+
180
+ The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
181
+
182
+ **You** refers to the individual or entity agreeing to these terms.
183
+
184
+ **Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
185
+
186
+ **Your licenses** are all the licenses granted to you for the software under these terms.
187
+
188
+ **Use** means anything you do with the software requiring one of your licenses.
package/README.md CHANGED
@@ -1,3 +1,80 @@
1
- # Temporary Holding Version
1
+ # The component set `mail`
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ This folder is the source of the component set `mail` (standard
4
+ `simai.component-set` 1.3.2 of SIMAI Framework), product «SIMAI Mail», Pro
5
+ licence ([LICENSE.md](LICENSE.md)): its passport `set.json`, the email
6
+ editor's Smart components under `src/smart/`, their tests and the scripts that
7
+ test, probe and stage them. Besides it, `contracts/ports/simai.mail-port/` is
8
+ the editor's host port (unchanged). The rest of this repository is the SIMAI
9
+ Email Editor application (Apache-2.0, `../LICENSE`), an assembly of SIMAI
10
+ Framework and these components.
11
+
12
+ | Folder | Element | What it is |
13
+ |:---|:---|:---|
14
+ | `src/smart/mail-library` | `sf-mail-library` | the library of blocks and of the variants of a letter's fixed places, with search and a category switch |
15
+ | `src/smart/mail-letters` | `sf-mail-letters` | the list of letters: open, create, copy, rename, delete |
16
+ | `src/smart/mail-structure` | `sf-mail-structure` | the letter's structure: the blocks in order, chosen, moved, added, duplicated, removed |
17
+ | `src/smart/mail-canvas` | `sf-mail-canvas` | the letter as it is sent, in a frame of the chosen width, with the Framework's `sf-editor-overlay` over it |
18
+ | `src/smart/mail-inspector` | `sf-mail-inspector` | the inspector of the chosen block: sections of fields, lists, tabs and the path |
19
+
20
+ The components came byte for byte from `simai/ui-pro`
21
+ `components/src/smart/mail-*` at `cfaab360bb39` (the release
22
+ `pro-cfaab360bb39`, over the pair `ui-73df5d1b4d4c`), with the source checks
23
+ of their own (`tests/mail-components.contract.test.mjs`). Their history before
24
+ the move is there. The `pro` bundle keeps its copies for the pins made before
25
+ the sets until 2027-03-01; the set is the source the documentation pins.
26
+ A page declares `pro` or the sets it bundles, never both: the Loader keeps
27
+ every rule with the package the page declares first and says the pair once as
28
+ a console error.
29
+
30
+ **Version 1.0.0** ([CHANGELOG.md](CHANGELOG.md)) through the dispatcher's
31
+ release route as the other sets: the build committed under `dist/` with its
32
+ receipt, the release lock `contracts/releases/mail-<12>.lock.json` at the
33
+ repository root, the tag `mail-<12>` with a GitHub release, and `npm publish`
34
+ of `@simai-studio/mail` from the staged folder (`node scripts/stage-npm.mjs`).
35
+ Paid sets publish on the public npm registry (owner, 2026-11-05). One line
36
+ connects it:
37
+
38
+ ```html
39
+ <script src="https://cdn.jsdelivr.net/npm/@simai-studio/ui@5.20261125.1855/distr/core/js/core.min.js" data-sf-sets="mail@1.0.0"></script>
40
+ ```
41
+
42
+ A Russian page includes the Framework's language file before core
43
+ (`distr/core/lang/ru.js`, owner decision C282); the components' own words
44
+ (`src/smart/mail-*/lang/`) are in their bundles.
45
+
46
+ ## Built against a pinned ui-source
47
+
48
+ The components import the free SIMAI Framework by relative path
49
+ (`../../core/js/smart-base`). They are built and tested in an **overlay**:
50
+ ui-source at the revision `framework.lock.json` pins (from git, never a
51
+ working tree), with this folder's `src/` and `tests/` laid over it. A file
52
+ here may not replace a ui-source file. The pin is `5e30b946fd0e`, the source
53
+ of the released pair `ui-73df5d1b4d4c` (group build 19); the passport names
54
+ the same commit and core.runtime 1.69.0 as the lowest it needs.
55
+
56
+ The application beside this folder is pinned separately
57
+ (`framework.lock.json` at the repository root) to a released pair and a Pro
58
+ package.
59
+
60
+ ```bash
61
+ node scripts/test.mjs # unit and contract suite in the overlay
62
+ node scripts/check-registry.mjs # passport against the name registry at ui-source main
63
+ node scripts/run-manifest-probes.mjs <free> <set build> # every probe.json, real Loader, set declared
64
+ node scripts/run-browser-probes.mjs <free> <set build> # tests/browser/*.browser.mjs in a real browser
65
+ node scripts/run-first-paint.mjs check|gate <free> <set build>
66
+ ```
67
+
68
+ `<free>` is the `distr` of the released pair, `<set build>` the build output
69
+ holding `smart/` (`wave-1/output/package/mail`). `scripts/gates.sh
70
+ <new workspace>` runs the whole chain over the commit at HEAD: two
71
+ byte-identical builds, the receipt, the suite, the registry, the manifest
72
+ and browser probes and the first paint. It reads the sibling checkouts
73
+ `../ui-source`, `../ui` and `../ui-builder` beside this repository (or
74
+ `--ui-source`, `--ui`, `--builder`), takes Playwright from this repository's
75
+ `node_modules` (`npm ci` at the root) and fetches the browser that version
76
+ names into `.playwright-browsers` (ignored).
77
+
78
+ The scripts and the passport and package-wide tests are copied from the set
79
+ `simai/ui-editor` (itself from the reference set `simai/ui-view`); the set's
80
+ literals are `mail`.