tetrons 2.3.83 → 2.3.85
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/dist/index.cjs +4 -3
- package/dist/index.mjs +3 -3
- package/package.json +3 -3
- package/public/dictionaries/index.aff +205 -0
- package/public/dictionaries/index.dic +49569 -0
- /package/dist/{dictionaries → public}/dictionaries/index.aff +0 -0
- /package/dist/{dictionaries → public}/dictionaries/index.dic +0 -0
package/dist/index.cjs
CHANGED
|
@@ -17318,13 +17318,14 @@ function EditorContent({ apiKey }) {
|
|
|
17318
17318
|
}
|
|
17319
17319
|
|
|
17320
17320
|
// src/index.ts
|
|
17321
|
+
var import_meta = {};
|
|
17321
17322
|
var API_VALID = false;
|
|
17322
17323
|
var API_VERSION = null;
|
|
17323
17324
|
var API_ADDONS = [];
|
|
17324
17325
|
async function initializeTetrons(apiKey) {
|
|
17325
|
-
const
|
|
17326
|
-
|
|
17327
|
-
);
|
|
17326
|
+
const viteEnv = typeof import_meta !== "undefined" && "env" in import_meta ? import_meta.env : void 0;
|
|
17327
|
+
const API_URL = typeof process !== "undefined" && process.env?.NEXT_PUBLIC_TETRONS_API_URL || viteEnv?.VITE_TETRONS_API_URL || "https://staging.tetrons.com";
|
|
17328
|
+
const res = await fetch(`${API_URL}/api/api-key?apiKey=${apiKey}`);
|
|
17328
17329
|
if (!res.ok) {
|
|
17329
17330
|
const error = await res.json();
|
|
17330
17331
|
throw new Error(`API Key validation failed: ${error.error}`);
|
package/dist/index.mjs
CHANGED
|
@@ -17331,9 +17331,9 @@ var API_VALID = false;
|
|
|
17331
17331
|
var API_VERSION = null;
|
|
17332
17332
|
var API_ADDONS = [];
|
|
17333
17333
|
async function initializeTetrons(apiKey) {
|
|
17334
|
-
const
|
|
17335
|
-
|
|
17336
|
-
);
|
|
17334
|
+
const viteEnv = typeof import.meta !== "undefined" && "env" in import.meta ? import.meta.env : void 0;
|
|
17335
|
+
const API_URL = typeof process !== "undefined" && process.env?.NEXT_PUBLIC_TETRONS_API_URL || viteEnv?.VITE_TETRONS_API_URL || "https://staging.tetrons.com";
|
|
17336
|
+
const res = await fetch(`${API_URL}/api/api-key?apiKey=${apiKey}`);
|
|
17337
17337
|
if (!res.ok) {
|
|
17338
17338
|
const error = await res.json();
|
|
17339
17339
|
throw new Error(`API Key validation failed: ${error.error}`);
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tetrons",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.85",
|
|
4
4
|
"description": "A Next.js project written in TypeScript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"dev": "next dev --turbo",
|
|
10
|
-
"build": "tsup && copyfiles -u 2 src/styles/*.css dist/styles && copyfiles -u 2 src/components/**/*.tsx dist/components && copyfiles -u 1 public/dictionaries/* dist/
|
|
10
|
+
"build": "tsup && copyfiles -u 2 src/styles/*.css dist/styles && copyfiles -u 2 src/components/**/*.tsx dist/components && copyfiles -u 1 public/dictionaries/* dist/public/",
|
|
11
11
|
"start": "next start",
|
|
12
12
|
"lint": "next lint"
|
|
13
13
|
},
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"dist",
|
|
118
118
|
"dist/styles/tetrons.css",
|
|
119
119
|
"dist/components",
|
|
120
|
-
"
|
|
120
|
+
"public/dictionaries"
|
|
121
121
|
],
|
|
122
122
|
"bugs": {
|
|
123
123
|
"url": "https://github.com/Finapsys/Tetrons/issues"
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
SET UTF-8
|
|
2
|
+
TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'
|
|
3
|
+
ICONV 1
|
|
4
|
+
ICONV ’ '
|
|
5
|
+
NOSUGGEST !
|
|
6
|
+
|
|
7
|
+
# ordinal numbers
|
|
8
|
+
COMPOUNDMIN 1
|
|
9
|
+
# only in compounds: 1th, 2th, 3th
|
|
10
|
+
ONLYINCOMPOUND c
|
|
11
|
+
# compound rules:
|
|
12
|
+
# 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.)
|
|
13
|
+
# 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.)
|
|
14
|
+
COMPOUNDRULE 2
|
|
15
|
+
COMPOUNDRULE n*1t
|
|
16
|
+
COMPOUNDRULE n*mp
|
|
17
|
+
WORDCHARS 0123456789
|
|
18
|
+
|
|
19
|
+
PFX A Y 1
|
|
20
|
+
PFX A 0 re .
|
|
21
|
+
|
|
22
|
+
PFX I Y 1
|
|
23
|
+
PFX I 0 in .
|
|
24
|
+
|
|
25
|
+
PFX U Y 1
|
|
26
|
+
PFX U 0 un .
|
|
27
|
+
|
|
28
|
+
PFX C Y 1
|
|
29
|
+
PFX C 0 de .
|
|
30
|
+
|
|
31
|
+
PFX E Y 1
|
|
32
|
+
PFX E 0 dis .
|
|
33
|
+
|
|
34
|
+
PFX F Y 1
|
|
35
|
+
PFX F 0 con .
|
|
36
|
+
|
|
37
|
+
PFX K Y 1
|
|
38
|
+
PFX K 0 pro .
|
|
39
|
+
|
|
40
|
+
SFX V N 2
|
|
41
|
+
SFX V e ive e
|
|
42
|
+
SFX V 0 ive [^e]
|
|
43
|
+
|
|
44
|
+
SFX N Y 3
|
|
45
|
+
SFX N e ion e
|
|
46
|
+
SFX N y ication y
|
|
47
|
+
SFX N 0 en [^ey]
|
|
48
|
+
|
|
49
|
+
SFX X Y 3
|
|
50
|
+
SFX X e ions e
|
|
51
|
+
SFX X y ications y
|
|
52
|
+
SFX X 0 ens [^ey]
|
|
53
|
+
|
|
54
|
+
SFX H N 2
|
|
55
|
+
SFX H y ieth y
|
|
56
|
+
SFX H 0 th [^y]
|
|
57
|
+
|
|
58
|
+
SFX Y Y 1
|
|
59
|
+
SFX Y 0 ly .
|
|
60
|
+
|
|
61
|
+
SFX G Y 2
|
|
62
|
+
SFX G e ing e
|
|
63
|
+
SFX G 0 ing [^e]
|
|
64
|
+
|
|
65
|
+
SFX J Y 2
|
|
66
|
+
SFX J e ings e
|
|
67
|
+
SFX J 0 ings [^e]
|
|
68
|
+
|
|
69
|
+
SFX D Y 4
|
|
70
|
+
SFX D 0 d e
|
|
71
|
+
SFX D y ied [^aeiou]y
|
|
72
|
+
SFX D 0 ed [^ey]
|
|
73
|
+
SFX D 0 ed [aeiou]y
|
|
74
|
+
|
|
75
|
+
SFX T N 4
|
|
76
|
+
SFX T 0 st e
|
|
77
|
+
SFX T y iest [^aeiou]y
|
|
78
|
+
SFX T 0 est [aeiou]y
|
|
79
|
+
SFX T 0 est [^ey]
|
|
80
|
+
|
|
81
|
+
SFX R Y 4
|
|
82
|
+
SFX R 0 r e
|
|
83
|
+
SFX R y ier [^aeiou]y
|
|
84
|
+
SFX R 0 er [aeiou]y
|
|
85
|
+
SFX R 0 er [^ey]
|
|
86
|
+
|
|
87
|
+
SFX Z Y 4
|
|
88
|
+
SFX Z 0 rs e
|
|
89
|
+
SFX Z y iers [^aeiou]y
|
|
90
|
+
SFX Z 0 ers [aeiou]y
|
|
91
|
+
SFX Z 0 ers [^ey]
|
|
92
|
+
|
|
93
|
+
SFX S Y 4
|
|
94
|
+
SFX S y ies [^aeiou]y
|
|
95
|
+
SFX S 0 s [aeiou]y
|
|
96
|
+
SFX S 0 es [sxzh]
|
|
97
|
+
SFX S 0 s [^sxzhy]
|
|
98
|
+
|
|
99
|
+
SFX P Y 3
|
|
100
|
+
SFX P y iness [^aeiou]y
|
|
101
|
+
SFX P 0 ness [aeiou]y
|
|
102
|
+
SFX P 0 ness [^y]
|
|
103
|
+
|
|
104
|
+
SFX M Y 1
|
|
105
|
+
SFX M 0 's .
|
|
106
|
+
|
|
107
|
+
SFX B Y 3
|
|
108
|
+
SFX B 0 able [^aeiou]
|
|
109
|
+
SFX B 0 able ee
|
|
110
|
+
SFX B e able [^aeiou]e
|
|
111
|
+
|
|
112
|
+
SFX L Y 1
|
|
113
|
+
SFX L 0 ment .
|
|
114
|
+
|
|
115
|
+
REP 90
|
|
116
|
+
REP a ei
|
|
117
|
+
REP ei a
|
|
118
|
+
REP a ey
|
|
119
|
+
REP ey a
|
|
120
|
+
REP ai ie
|
|
121
|
+
REP ie ai
|
|
122
|
+
REP alot a_lot
|
|
123
|
+
REP are air
|
|
124
|
+
REP are ear
|
|
125
|
+
REP are eir
|
|
126
|
+
REP air are
|
|
127
|
+
REP air ere
|
|
128
|
+
REP ere air
|
|
129
|
+
REP ere ear
|
|
130
|
+
REP ere eir
|
|
131
|
+
REP ear are
|
|
132
|
+
REP ear air
|
|
133
|
+
REP ear ere
|
|
134
|
+
REP eir are
|
|
135
|
+
REP eir ere
|
|
136
|
+
REP ch te
|
|
137
|
+
REP te ch
|
|
138
|
+
REP ch ti
|
|
139
|
+
REP ti ch
|
|
140
|
+
REP ch tu
|
|
141
|
+
REP tu ch
|
|
142
|
+
REP ch s
|
|
143
|
+
REP s ch
|
|
144
|
+
REP ch k
|
|
145
|
+
REP k ch
|
|
146
|
+
REP f ph
|
|
147
|
+
REP ph f
|
|
148
|
+
REP gh f
|
|
149
|
+
REP f gh
|
|
150
|
+
REP i igh
|
|
151
|
+
REP igh i
|
|
152
|
+
REP i uy
|
|
153
|
+
REP uy i
|
|
154
|
+
REP i ee
|
|
155
|
+
REP ee i
|
|
156
|
+
REP j di
|
|
157
|
+
REP di j
|
|
158
|
+
REP j gg
|
|
159
|
+
REP gg j
|
|
160
|
+
REP j ge
|
|
161
|
+
REP ge j
|
|
162
|
+
REP s ti
|
|
163
|
+
REP ti s
|
|
164
|
+
REP s ci
|
|
165
|
+
REP ci s
|
|
166
|
+
REP k cc
|
|
167
|
+
REP cc k
|
|
168
|
+
REP k qu
|
|
169
|
+
REP qu k
|
|
170
|
+
REP kw qu
|
|
171
|
+
REP o eau
|
|
172
|
+
REP eau o
|
|
173
|
+
REP o ew
|
|
174
|
+
REP ew o
|
|
175
|
+
REP oo ew
|
|
176
|
+
REP ew oo
|
|
177
|
+
REP ew ui
|
|
178
|
+
REP ui ew
|
|
179
|
+
REP oo ui
|
|
180
|
+
REP ui oo
|
|
181
|
+
REP ew u
|
|
182
|
+
REP u ew
|
|
183
|
+
REP oo u
|
|
184
|
+
REP u oo
|
|
185
|
+
REP u oe
|
|
186
|
+
REP oe u
|
|
187
|
+
REP u ieu
|
|
188
|
+
REP ieu u
|
|
189
|
+
REP ue ew
|
|
190
|
+
REP ew ue
|
|
191
|
+
REP uff ough
|
|
192
|
+
REP oo ieu
|
|
193
|
+
REP ieu oo
|
|
194
|
+
REP ier ear
|
|
195
|
+
REP ear ier
|
|
196
|
+
REP ear air
|
|
197
|
+
REP air ear
|
|
198
|
+
REP w qu
|
|
199
|
+
REP qu w
|
|
200
|
+
REP z ss
|
|
201
|
+
REP ss z
|
|
202
|
+
REP shun tion
|
|
203
|
+
REP shun sion
|
|
204
|
+
REP shun cion
|
|
205
|
+
REP size cise
|