@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.
- package/LICENSE.md +188 -0
- package/README.md +79 -2
- package/dist/package-receipt.json +1176 -0
- package/dist/set.json +97 -0
- package/dist/smart/mail-canvas/component.json +562 -0
- package/dist/smart/mail-canvas/component.json.gz +0 -0
- package/dist/smart/mail-canvas/css/mail-canvas.css +85 -0
- package/dist/smart/mail-canvas/css/mail-canvas.css.gz +0 -0
- package/dist/smart/mail-canvas/css/mail-canvas.min.css +2 -0
- package/dist/smart/mail-canvas/css/mail-canvas.min.css.gz +0 -0
- package/dist/smart/mail-canvas/examples.json +731 -0
- package/dist/smart/mail-canvas/examples.json.gz +0 -0
- package/dist/smart/mail-canvas/js/mail-canvas.js +1039 -0
- package/dist/smart/mail-canvas/js/mail-canvas.js.gz +0 -0
- package/dist/smart/mail-canvas/js/mail-canvas.min.js +22 -0
- package/dist/smart/mail-canvas/js/mail-canvas.min.js.gz +0 -0
- package/dist/smart/mail-canvas/lang/en.json +25 -0
- package/dist/smart/mail-canvas/lang/en.json.gz +0 -0
- package/dist/smart/mail-canvas/lang/ru.json +25 -0
- package/dist/smart/mail-canvas/lang/ru.json.gz +0 -0
- package/dist/smart/mail-canvas/probe.json +465 -0
- package/dist/smart/mail-canvas/probe.json.gz +0 -0
- package/dist/smart/mail-canvas/smart.manifest.json +550 -0
- package/dist/smart/mail-canvas/smart.manifest.json.gz +0 -0
- package/dist/smart/mail-canvas/static/default/notes.html +43 -0
- package/dist/smart/mail-canvas/static/default/notes.html.gz +0 -0
- package/dist/smart/mail-canvas/static/default/phone.html +43 -0
- package/dist/smart/mail-canvas/static/default/phone.html.gz +0 -0
- package/dist/smart/mail-canvas/static/default/reference.html +48 -0
- package/dist/smart/mail-canvas/static/default/reference.html.gz +0 -0
- package/dist/smart/mail-canvas/static/sheets.json +132 -0
- package/dist/smart/mail-canvas/static/sheets.json.gz +0 -0
- package/dist/smart/mail-canvas/studio.fixture.json +63 -0
- package/dist/smart/mail-canvas/studio.fixture.json.gz +0 -0
- package/dist/smart/mail-canvas/studio.scenario.json +39 -0
- package/dist/smart/mail-canvas/studio.scenario.json.gz +0 -0
- package/dist/smart/mail-canvas/template/default.css +73 -0
- package/dist/smart/mail-canvas/template/default.css.gz +0 -0
- package/dist/smart/mail-canvas/template/default.js +38 -0
- package/dist/smart/mail-canvas/template/default.js.gz +0 -0
- package/dist/smart/mail-inspector/component.json +768 -0
- package/dist/smart/mail-inspector/component.json.gz +0 -0
- package/dist/smart/mail-inspector/css/mail-inspector.css +194 -0
- package/dist/smart/mail-inspector/css/mail-inspector.css.gz +0 -0
- package/dist/smart/mail-inspector/css/mail-inspector.min.css +2 -0
- package/dist/smart/mail-inspector/css/mail-inspector.min.css.gz +0 -0
- package/dist/smart/mail-inspector/examples.json +1301 -0
- package/dist/smart/mail-inspector/examples.json.gz +0 -0
- package/dist/smart/mail-inspector/js/mail-inspector.js +1619 -0
- package/dist/smart/mail-inspector/js/mail-inspector.js.gz +0 -0
- package/dist/smart/mail-inspector/js/mail-inspector.min.js +103 -0
- package/dist/smart/mail-inspector/js/mail-inspector.min.js.gz +0 -0
- package/dist/smart/mail-inspector/lang/en.json +29 -0
- package/dist/smart/mail-inspector/lang/en.json.gz +0 -0
- package/dist/smart/mail-inspector/lang/ru.json +29 -0
- package/dist/smart/mail-inspector/lang/ru.json.gz +0 -0
- package/dist/smart/mail-inspector/probe.json +648 -0
- package/dist/smart/mail-inspector/probe.json.gz +0 -0
- package/dist/smart/mail-inspector/smart.manifest.json +920 -0
- package/dist/smart/mail-inspector/smart.manifest.json.gz +0 -0
- package/dist/smart/mail-inspector/static/default/item.html +189 -0
- package/dist/smart/mail-inspector/static/default/item.html.gz +0 -0
- package/dist/smart/mail-inspector/static/default/letter.html +247 -0
- package/dist/smart/mail-inspector/static/default/letter.html.gz +0 -0
- package/dist/smart/mail-inspector/static/default/reference.html +545 -0
- package/dist/smart/mail-inspector/static/default/reference.html.gz +0 -0
- package/dist/smart/mail-inspector/static/sheets.json +226 -0
- package/dist/smart/mail-inspector/static/sheets.json.gz +0 -0
- package/dist/smart/mail-inspector/studio.fixture.json +232 -0
- package/dist/smart/mail-inspector/studio.fixture.json.gz +0 -0
- package/dist/smart/mail-inspector/studio.scenario.json +43 -0
- package/dist/smart/mail-inspector/studio.scenario.json.gz +0 -0
- package/dist/smart/mail-inspector/template/default.css +190 -0
- package/dist/smart/mail-inspector/template/default.css.gz +0 -0
- package/dist/smart/mail-inspector/template/default.js +249 -0
- package/dist/smart/mail-inspector/template/default.js.gz +0 -0
- package/dist/smart/mail-letters/component.json +455 -0
- package/dist/smart/mail-letters/component.json.gz +0 -0
- package/dist/smart/mail-letters/css/mail-letters.css +72 -0
- package/dist/smart/mail-letters/css/mail-letters.css.gz +0 -0
- package/dist/smart/mail-letters/css/mail-letters.min.css +2 -0
- package/dist/smart/mail-letters/css/mail-letters.min.css.gz +0 -0
- package/dist/smart/mail-letters/examples.json +477 -0
- package/dist/smart/mail-letters/examples.json.gz +0 -0
- package/dist/smart/mail-letters/js/mail-letters.js +1772 -0
- package/dist/smart/mail-letters/js/mail-letters.js.gz +0 -0
- package/dist/smart/mail-letters/js/mail-letters.min.js +35 -0
- package/dist/smart/mail-letters/js/mail-letters.min.js.gz +0 -0
- package/dist/smart/mail-letters/lang/en.json +29 -0
- package/dist/smart/mail-letters/lang/en.json.gz +0 -0
- package/dist/smart/mail-letters/lang/ru.json +31 -0
- package/dist/smart/mail-letters/lang/ru.json.gz +0 -0
- package/dist/smart/mail-letters/probe.json +290 -0
- package/dist/smart/mail-letters/probe.json.gz +0 -0
- package/dist/smart/mail-letters/smart.manifest.json +476 -0
- package/dist/smart/mail-letters/smart.manifest.json.gz +0 -0
- package/dist/smart/mail-letters/static/default/by-title.html +177 -0
- package/dist/smart/mail-letters/static/default/by-title.html.gz +0 -0
- package/dist/smart/mail-letters/static/default/empty.html +88 -0
- package/dist/smart/mail-letters/static/default/empty.html.gz +0 -0
- package/dist/smart/mail-letters/static/default/nothing-found.html +88 -0
- package/dist/smart/mail-letters/static/default/nothing-found.html.gz +0 -0
- package/dist/smart/mail-letters/static/default/reference.html +168 -0
- package/dist/smart/mail-letters/static/default/reference.html.gz +0 -0
- package/dist/smart/mail-letters/static/sheets.json +245 -0
- package/dist/smart/mail-letters/static/sheets.json.gz +0 -0
- package/dist/smart/mail-letters/studio.fixture.json +41 -0
- package/dist/smart/mail-letters/studio.fixture.json.gz +0 -0
- package/dist/smart/mail-letters/studio.scenario.json +41 -0
- package/dist/smart/mail-letters/studio.scenario.json.gz +0 -0
- package/dist/smart/mail-letters/template/default.css +79 -0
- package/dist/smart/mail-letters/template/default.css.gz +0 -0
- package/dist/smart/mail-letters/template/default.js +61 -0
- package/dist/smart/mail-letters/template/default.js.gz +0 -0
- package/dist/smart/mail-library/component.json +512 -0
- package/dist/smart/mail-library/component.json.gz +0 -0
- package/dist/smart/mail-library/css/mail-library.css +149 -0
- package/dist/smart/mail-library/css/mail-library.css.gz +0 -0
- package/dist/smart/mail-library/css/mail-library.min.css +2 -0
- package/dist/smart/mail-library/css/mail-library.min.css.gz +0 -0
- package/dist/smart/mail-library/examples.json +616 -0
- package/dist/smart/mail-library/examples.json.gz +0 -0
- package/dist/smart/mail-library/js/mail-library.js +559 -0
- package/dist/smart/mail-library/js/mail-library.js.gz +0 -0
- package/dist/smart/mail-library/js/mail-library.min.js +52 -0
- package/dist/smart/mail-library/js/mail-library.min.js.gz +0 -0
- package/dist/smart/mail-library/lang/en.json +21 -0
- package/dist/smart/mail-library/lang/en.json.gz +0 -0
- package/dist/smart/mail-library/lang/ru.json +21 -0
- package/dist/smart/mail-library/lang/ru.json.gz +0 -0
- package/dist/smart/mail-library/probe.json +275 -0
- package/dist/smart/mail-library/probe.json.gz +0 -0
- package/dist/smart/mail-library/smart.manifest.json +512 -0
- package/dist/smart/mail-library/smart.manifest.json.gz +0 -0
- package/dist/smart/mail-library/static/default/category.html +85 -0
- package/dist/smart/mail-library/static/default/category.html.gz +0 -0
- package/dist/smart/mail-library/static/default/nothing-found.html +81 -0
- package/dist/smart/mail-library/static/default/nothing-found.html.gz +0 -0
- package/dist/smart/mail-library/static/default/one-group.html +67 -0
- package/dist/smart/mail-library/static/default/one-group.html.gz +0 -0
- package/dist/smart/mail-library/static/default/reference.html +135 -0
- package/dist/smart/mail-library/static/default/reference.html.gz +0 -0
- package/dist/smart/mail-library/static/sheets.json +180 -0
- package/dist/smart/mail-library/static/sheets.json.gz +0 -0
- package/dist/smart/mail-library/studio.fixture.json +75 -0
- package/dist/smart/mail-library/studio.fixture.json.gz +0 -0
- package/dist/smart/mail-library/studio.scenario.json +41 -0
- package/dist/smart/mail-library/studio.scenario.json.gz +0 -0
- package/dist/smart/mail-library/template/default.css +133 -0
- package/dist/smart/mail-library/template/default.css.gz +0 -0
- package/dist/smart/mail-library/template/default.js +83 -0
- package/dist/smart/mail-library/template/default.js.gz +0 -0
- package/dist/smart/mail-structure/component.json +497 -0
- package/dist/smart/mail-structure/component.json.gz +0 -0
- package/dist/smart/mail-structure/css/mail-structure.css +106 -0
- package/dist/smart/mail-structure/css/mail-structure.css.gz +0 -0
- package/dist/smart/mail-structure/css/mail-structure.min.css +2 -0
- package/dist/smart/mail-structure/css/mail-structure.min.css.gz +0 -0
- package/dist/smart/mail-structure/examples.json +286 -0
- package/dist/smart/mail-structure/examples.json.gz +0 -0
- package/dist/smart/mail-structure/js/mail-structure.js +767 -0
- package/dist/smart/mail-structure/js/mail-structure.js.gz +0 -0
- package/dist/smart/mail-structure/js/mail-structure.min.js +48 -0
- package/dist/smart/mail-structure/js/mail-structure.min.js.gz +0 -0
- package/dist/smart/mail-structure/lang/en.json +22 -0
- package/dist/smart/mail-structure/lang/en.json.gz +0 -0
- package/dist/smart/mail-structure/lang/ru.json +22 -0
- package/dist/smart/mail-structure/lang/ru.json.gz +0 -0
- package/dist/smart/mail-structure/probe.json +112 -0
- package/dist/smart/mail-structure/probe.json.gz +0 -0
- package/dist/smart/mail-structure/smart.manifest.json +495 -0
- package/dist/smart/mail-structure/smart.manifest.json.gz +0 -0
- package/dist/smart/mail-structure/static/default/empty.html +76 -0
- package/dist/smart/mail-structure/static/default/empty.html.gz +0 -0
- package/dist/smart/mail-structure/static/default/reference.html +98 -0
- package/dist/smart/mail-structure/static/default/reference.html.gz +0 -0
- package/dist/smart/mail-structure/static/default/settings.html +98 -0
- package/dist/smart/mail-structure/static/default/settings.html.gz +0 -0
- package/dist/smart/mail-structure/static/sheets.json +142 -0
- package/dist/smart/mail-structure/static/sheets.json.gz +0 -0
- package/dist/smart/mail-structure/studio.fixture.json +45 -0
- package/dist/smart/mail-structure/studio.fixture.json.gz +0 -0
- package/dist/smart/mail-structure/studio.scenario.json +42 -0
- package/dist/smart/mail-structure/studio.scenario.json.gz +0 -0
- package/dist/smart/mail-structure/template/default.css +100 -0
- package/dist/smart/mail-structure/template/default.css.gz +0 -0
- package/dist/smart/mail-structure/template/default.js +80 -0
- package/dist/smart/mail-structure/template/default.js.gz +0 -0
- package/dist/smart/rule.js +161 -0
- package/dist/smart/rule.js.gz +0 -0
- 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
|
-
#
|
|
1
|
+
# The component set `mail`
|
|
2
2
|
|
|
3
|
-
This
|
|
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`.
|