@aglyn/shared-data-enums 1.0.0-beta.143
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 +201 -0
- package/README.md +3 -0
- package/package.json +39 -0
- package/src/enums.d.ts +26 -0
- package/src/enums.js +27 -0
- package/src/enums.js.map +1 -0
- package/src/index.d.ts +17 -0
- package/src/index.js +18 -0
- package/src/index.js.map +1 -0
- package/src/lib/aglyn-applications.d.ts +39 -0
- package/src/lib/aglyn-applications.js +53 -0
- package/src/lib/aglyn-applications.js.map +1 -0
- package/src/lib/aglyn.d.ts +49 -0
- package/src/lib/aglyn.js +86 -0
- package/src/lib/aglyn.js.map +1 -0
- package/src/lib/breakpoint-span.d.ts +66 -0
- package/src/lib/breakpoint-span.js +117 -0
- package/src/lib/breakpoint-span.js.map +1 -0
- package/src/lib/data-table.d.ts +107 -0
- package/src/lib/data-table.js +225 -0
- package/src/lib/data-table.js.map +1 -0
- package/src/lib/firebase-auth.d.ts +73 -0
- package/src/lib/firebase-auth.js +178 -0
- package/src/lib/firebase-auth.js.map +1 -0
- package/src/lib/global.d.ts +32 -0
- package/src/lib/global.js +33 -0
- package/src/lib/global.js.map +1 -0
- package/src/lib/http.d.ts +145 -0
- package/src/lib/http.js +155 -0
- package/src/lib/http.js.map +1 -0
- package/src/lib/icons.d.ts +108 -0
- package/src/lib/icons.js +130 -0
- package/src/lib/icons.js.map +1 -0
- package/src/lib/palette-token-css-var.d.ts +111 -0
- package/src/lib/palette-token-css-var.js +221 -0
- package/src/lib/palette-token-css-var.js.map +1 -0
- package/src/lib/styles.d.ts +170 -0
- package/src/lib/styles.js +315 -0
- package/src/lib/styles.js.map +1 -0
- package/src/lib/sx-property-aliases.d.ts +129 -0
- package/src/lib/sx-property-aliases.js +231 -0
- package/src/lib/sx-property-aliases.js.map +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aglyn/shared-data-enums",
|
|
3
|
+
"version": "1.0.0-beta.143",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"homepage": "https://aglyn.com",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/aglyn/aglyn.git",
|
|
9
|
+
"directory": "libs/shared/data/enums"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public",
|
|
13
|
+
"provenance": true
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./src/index.d.ts",
|
|
19
|
+
"default": "./src/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./*": {
|
|
22
|
+
"types": "./src/lib/*.d.ts",
|
|
23
|
+
"default": "./src/lib/*.js"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@aglyn/shared-data-mdi": "1.0.0-beta.143",
|
|
29
|
+
"@aglyn/shared-util-tools": "1.0.0-beta.143",
|
|
30
|
+
"@swc/helpers": "0.5.23"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"firebase": "^12.18.0"
|
|
34
|
+
},
|
|
35
|
+
"sideEffects": false,
|
|
36
|
+
"types": "./src/index.d.ts",
|
|
37
|
+
"module": "./src/index.js",
|
|
38
|
+
"main": "./src/index.js"
|
|
39
|
+
}
|
package/src/enums.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export * from './lib/aglyn';
|
|
18
|
+
export * from './lib/aglyn-applications';
|
|
19
|
+
export * from './lib/breakpoint-span';
|
|
20
|
+
export * from './lib/data-table';
|
|
21
|
+
export * from './lib/firebase-auth';
|
|
22
|
+
export * from './lib/global';
|
|
23
|
+
export * from './lib/http';
|
|
24
|
+
export * from './lib/icons';
|
|
25
|
+
export * from './lib/styles';
|
|
26
|
+
export * from './lib/sx-property-aliases';
|
package/src/enums.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ export * from "./lib/aglyn.js";
|
|
17
|
+
export * from "./lib/aglyn-applications.js";
|
|
18
|
+
export * from "./lib/breakpoint-span.js";
|
|
19
|
+
export * from "./lib/data-table.js";
|
|
20
|
+
export * from "./lib/firebase-auth.js";
|
|
21
|
+
export * from "./lib/global.js";
|
|
22
|
+
export * from "./lib/http.js";
|
|
23
|
+
export * from "./lib/icons.js";
|
|
24
|
+
export * from "./lib/styles.js";
|
|
25
|
+
export * from "./lib/sx-property-aliases.js";
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=enums.js.map
|
package/src/enums.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../libs/shared/data/enums/src/enums.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './lib/aglyn'\nexport * from './lib/aglyn-applications'\nexport * from './lib/breakpoint-span'\nexport * from './lib/data-table'\nexport * from './lib/firebase-auth'\nexport * from './lib/global'\nexport * from './lib/http'\nexport * from './lib/icons'\nexport * from './lib/styles'\nexport * from './lib/sx-property-aliases'\n"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,cAAc,iBAAa;AAC3B,cAAc,8BAA0B;AACxC,cAAc,2BAAuB;AACrC,cAAc,sBAAkB;AAChC,cAAc,yBAAqB;AACnC,cAAc,kBAAc;AAC5B,cAAc,gBAAY;AAC1B,cAAc,iBAAa;AAC3B,cAAc,kBAAc;AAC5B,cAAc,+BAA2B"}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export * from './enums';
|
package/src/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ export * from "./enums.js";
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../libs/shared/data/enums/src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './enums'\n"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,cAAc,aAAS"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export declare const APP_WWW: {
|
|
18
|
+
TITLE: string;
|
|
19
|
+
DESCRIPTION: string;
|
|
20
|
+
AFFIX: string;
|
|
21
|
+
SEP: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const APP_CONSOLE: {
|
|
24
|
+
TITLE: string;
|
|
25
|
+
DESCRIPTION: string;
|
|
26
|
+
AFFIX: string;
|
|
27
|
+
SEP: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const APP_TENANT: {
|
|
30
|
+
TITLE: string;
|
|
31
|
+
DESCRIPTION: string;
|
|
32
|
+
AFFIX: string;
|
|
33
|
+
SEP: string;
|
|
34
|
+
};
|
|
35
|
+
export declare const BRAND_NAMES: {
|
|
36
|
+
WWW: string;
|
|
37
|
+
BESIGNER: string;
|
|
38
|
+
CONSOLE: string;
|
|
39
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var _process_env_NEXT_PUBLIC_PLATFORM_BRAND_NAME;
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2022 Aglyn LLC
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/ /**
|
|
18
|
+
* Titles and affixes carry the platform brand (AGL-2153), so a self-host
|
|
19
|
+
* install does not advertise Aglyn in every `<title>` and on every published
|
|
20
|
+
* site's default description.
|
|
21
|
+
*
|
|
22
|
+
* Same env name, same inline-cast form, and for the same two reasons as
|
|
23
|
+
* `BRAND` in `./aglyn.ts` — see the note there before changing the shape of
|
|
24
|
+
* this read. In particular, do not hoist `process.env` into a local: the cast
|
|
25
|
+
* is erased and the member expression survives substitution, an alias does
|
|
26
|
+
* not, and the alias version compiles and reads perfectly while inlining
|
|
27
|
+
* nothing.
|
|
28
|
+
*/ const PLATFORM_BRAND_NAME = ((_process_env_NEXT_PUBLIC_PLATFORM_BRAND_NAME = process.env.NEXT_PUBLIC_PLATFORM_BRAND_NAME) == null ? void 0 : _process_env_NEXT_PUBLIC_PLATFORM_BRAND_NAME.trim()) || 'Aglyn';
|
|
29
|
+
export const APP_WWW = {
|
|
30
|
+
TITLE: `Online secure website builder – ${PLATFORM_BRAND_NAME}`,
|
|
31
|
+
DESCRIPTION: `Build secure no-code online website apps with ${PLATFORM_BRAND_NAME} the visual besigner with drag-and-drop`,
|
|
32
|
+
AFFIX: PLATFORM_BRAND_NAME,
|
|
33
|
+
SEP: '–'
|
|
34
|
+
};
|
|
35
|
+
export const APP_CONSOLE = {
|
|
36
|
+
TITLE: `Secure Platform Console – ${PLATFORM_BRAND_NAME}`,
|
|
37
|
+
DESCRIPTION: 'Contributions to the “no code” web application market by optimizing the process and necessary steps for a website to get off the ground for organizations',
|
|
38
|
+
AFFIX: `${PLATFORM_BRAND_NAME} Platform Console`,
|
|
39
|
+
SEP: '–'
|
|
40
|
+
};
|
|
41
|
+
export const APP_TENANT = {
|
|
42
|
+
TITLE: 'My website',
|
|
43
|
+
DESCRIPTION: `Created with ${PLATFORM_BRAND_NAME} website besigner`,
|
|
44
|
+
AFFIX: `Built with ${PLATFORM_BRAND_NAME}`,
|
|
45
|
+
SEP: '|'
|
|
46
|
+
};
|
|
47
|
+
export const BRAND_NAMES = {
|
|
48
|
+
WWW: '.com',
|
|
49
|
+
BESIGNER: 'Besigner',
|
|
50
|
+
CONSOLE: 'Console'
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=aglyn-applications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/data/enums/src/lib/aglyn-applications.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n/**\n * Titles and affixes carry the platform brand (AGL-2153), so a self-host\n * install does not advertise Aglyn in every `<title>` and on every published\n * site's default description.\n *\n * Same env name, same inline-cast form, and for the same two reasons as\n * `BRAND` in `./aglyn.ts` — see the note there before changing the shape of\n * this read. In particular, do not hoist `process.env` into a local: the cast\n * is erased and the member expression survives substitution, an alias does\n * not, and the alias version compiles and reads perfectly while inlining\n * nothing.\n */\nconst PLATFORM_BRAND_NAME =\n (process.env as { NEXT_PUBLIC_PLATFORM_BRAND_NAME?: string })\n .NEXT_PUBLIC_PLATFORM_BRAND_NAME?.trim() || 'Aglyn'\n\nexport const APP_WWW = {\n TITLE: `Online secure website builder – ${PLATFORM_BRAND_NAME}`,\n DESCRIPTION: `Build secure no-code online website apps with ${PLATFORM_BRAND_NAME} the visual besigner with drag-and-drop`,\n AFFIX: PLATFORM_BRAND_NAME,\n SEP: '–',\n}\nexport const APP_CONSOLE = {\n TITLE: `Secure Platform Console – ${PLATFORM_BRAND_NAME}`,\n DESCRIPTION: 'Contributions to the “no code” web application market by optimizing the process and necessary steps for a website to get off the ground for organizations',\n AFFIX: `${PLATFORM_BRAND_NAME} Platform Console`,\n SEP: '–',\n}\nexport const APP_TENANT = {\n TITLE: 'My website',\n DESCRIPTION: `Created with ${PLATFORM_BRAND_NAME} website besigner`,\n AFFIX: `Built with ${PLATFORM_BRAND_NAME}`,\n SEP: '|',\n}\n\nexport const BRAND_NAMES = {\n WWW: '.com',\n BESIGNER: 'Besigner',\n CONSOLE: 'Console',\n}\n"],"names":["PLATFORM_BRAND_NAME","process","env","NEXT_PUBLIC_PLATFORM_BRAND_NAME","trim","APP_WWW","TITLE","DESCRIPTION","AFFIX","SEP","APP_CONSOLE","APP_TENANT","BRAND_NAMES","WWW","BESIGNER","CONSOLE"],"mappings":"IA+BE;AA/BF;;;;;;;;;;;;;;;CAeC,GAGD;;;;;;;;;;;CAWC,GACD,MAAMA,sBACJ,EAAA,+CAAA,AAACC,QAAQC,GAAG,CACTC,+BAA+B,qBADlC,6CACoCC,IAAI,OAAM;AAEhD,OAAO,MAAMC,UAAU;IACrBC,OAAO,CAAC,gCAAgC,EAAEN,qBAAqB;IAC/DO,aAAa,CAAC,8CAA8C,EAAEP,oBAAoB,uCAAuC,CAAC;IAC1HQ,OAAOR;IACPS,KAAK;AACP,EAAC;AACD,OAAO,MAAMC,cAAc;IACzBJ,OAAO,CAAC,0BAA0B,EAAEN,qBAAqB;IACzDO,aAAa;IACbC,OAAO,GAAGR,oBAAoB,iBAAiB,CAAC;IAChDS,KAAK;AACP,EAAC;AACD,OAAO,MAAME,aAAa;IACxBL,OAAO;IACPC,aAAa,CAAC,aAAa,EAAEP,oBAAoB,iBAAiB,CAAC;IACnEQ,OAAO,CAAC,WAAW,EAAER,qBAAqB;IAC1CS,KAAK;AACP,EAAC;AAED,OAAO,MAAMG,cAAc;IACzBC,KAAK;IACLC,UAAU;IACVC,SAAS;AACX,EAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export declare const BRAND: {
|
|
18
|
+
ORG_NAME: string;
|
|
19
|
+
ORG_NAME_LEGAL: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const PRODUCT_NAME: {
|
|
22
|
+
BESIGNER: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* The trademark attribution, or an empty string once the platform has been
|
|
26
|
+
* rebranded.
|
|
27
|
+
*
|
|
28
|
+
* A self-hosted deployment running its own name must NOT claim Aglyn's marks —
|
|
29
|
+
* the source is Apache-2.0 and yours to run, the names are not. See NOTICE.
|
|
30
|
+
*
|
|
31
|
+
* ## Why the marks are spelled out rather than interpolated (AGL-2486)
|
|
32
|
+
*
|
|
33
|
+
* This sentence is not product copy, so `PLATFORM_BRAND_NAME` is the wrong
|
|
34
|
+
* substitution even though it holds the same characters on this branch. It is
|
|
35
|
+
* an assertion about who owns two specific marks, and every name in it is
|
|
36
|
+
* fixed:
|
|
37
|
+
*
|
|
38
|
+
* - `Aglyn\u2122` is the mark itself. A build that renamed the product emits
|
|
39
|
+
* nothing here at all — that is what the ternary is for — so there is no
|
|
40
|
+
* branch on which a configured name belongs in its place.
|
|
41
|
+
* - `Aglyn LLC` is the OWNER, and must not become `BRAND.ORG_NAME_LEGAL`.
|
|
42
|
+
* That value falls back to `${PLATFORM_BRAND_NAME} LLC` but is separately
|
|
43
|
+
* settable, so a reseller who sets only `..._LEGAL_NAME` would publish
|
|
44
|
+
* "trademarks of Contoso Inc." — a false statement of ownership, produced
|
|
45
|
+
* by us, on their site.
|
|
46
|
+
*
|
|
47
|
+
* The brand-literal ratchet baselines these two occurrences for that reason.
|
|
48
|
+
*/
|
|
49
|
+
export declare const TRADEMARK_NOTICE: string;
|
package/src/lib/aglyn.js
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Aglyn LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/ /**
|
|
17
|
+
* Platform-brand configuration, read in the ONE form that satisfies both rules
|
|
18
|
+
* this repo enforces (AGL-2153).
|
|
19
|
+
*
|
|
20
|
+
* - Next inlines `NEXT_PUBLIC_*` by substituting the **dot** member
|
|
21
|
+
* expression `process.env.NAME`. The bracket form is never substituted and
|
|
22
|
+
* reads `undefined` in the browser — the AGL-2037 bug.
|
|
23
|
+
* - `libs/shared/ui/json-editor` and `libs/shared/ui/color-picker` compile
|
|
24
|
+
* with `noPropertyAccessFromIndexSignature: true`, and they transitively
|
|
25
|
+
* compile THIS lib. Under that flag TypeScript refuses dot access on
|
|
26
|
+
* `ProcessEnv`'s index signature and tells you to use brackets — i.e. the
|
|
27
|
+
* compiler pushes you straight into the runtime bug.
|
|
28
|
+
*
|
|
29
|
+
* The inline cast resolves it, and the shape below is not arbitrary: it was
|
|
30
|
+
* checked against the emitted JavaScript rather than assumed.
|
|
31
|
+
*
|
|
32
|
+
* (process.env as PlatformBrandEnv).NEXT_PUBLIC_X → process.env.NEXT_PUBLIC_X ✅
|
|
33
|
+
* const env = process.env as PlatformBrandEnv; env.NEXT_PUBLIC_X
|
|
34
|
+
* → env.NEXT_PUBLIC_X ❌
|
|
35
|
+
*
|
|
36
|
+
* The cast is erased and the member expression survives, so the substitution
|
|
37
|
+
* matches. Hoisting `process.env` into a local — the obvious tidy-up — breaks
|
|
38
|
+
* it silently: the code still compiles, still reads fine, and inlines nothing.
|
|
39
|
+
* Do not hoist it.
|
|
40
|
+
*
|
|
41
|
+
* The env NAMES are the shared contract with `libs/aglyn/.../platform-brand.ts`
|
|
42
|
+
* and `apps/tenant/middleware.ts`; one value, one name (AGL-733). The literal
|
|
43
|
+
* default is stated once here, in this lib, and nowhere else in it.
|
|
44
|
+
*/ var _process_env_NEXT_PUBLIC_PLATFORM_BRAND_NAME, _process_env_NEXT_PUBLIC_PLATFORM_BRAND_LEGAL_NAME;
|
|
45
|
+
/**
|
|
46
|
+
* The name this software answers to when nothing has renamed it. Stated ONCE,
|
|
47
|
+
* as the doc above promises, and read back by `TRADEMARK_NOTICE` rather than
|
|
48
|
+
* spelled a second time — a second copy is how the two drift apart, and the
|
|
49
|
+
* one that drifts is the one deciding whether a rebranded build claims our
|
|
50
|
+
* marks.
|
|
51
|
+
*/ const DEFAULT_PLATFORM_BRAND_NAME = 'Aglyn';
|
|
52
|
+
const PLATFORM_BRAND_NAME = ((_process_env_NEXT_PUBLIC_PLATFORM_BRAND_NAME = process.env.NEXT_PUBLIC_PLATFORM_BRAND_NAME) == null ? void 0 : _process_env_NEXT_PUBLIC_PLATFORM_BRAND_NAME.trim()) || DEFAULT_PLATFORM_BRAND_NAME;
|
|
53
|
+
export const BRAND = {
|
|
54
|
+
ORG_NAME: PLATFORM_BRAND_NAME,
|
|
55
|
+
ORG_NAME_LEGAL: ((_process_env_NEXT_PUBLIC_PLATFORM_BRAND_LEGAL_NAME = process.env.NEXT_PUBLIC_PLATFORM_BRAND_LEGAL_NAME) == null ? void 0 : _process_env_NEXT_PUBLIC_PLATFORM_BRAND_LEGAL_NAME.trim()) || `${PLATFORM_BRAND_NAME} LLC`
|
|
56
|
+
};
|
|
57
|
+
export const PRODUCT_NAME = {
|
|
58
|
+
BESIGNER: 'Besigner'
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* The trademark attribution, or an empty string once the platform has been
|
|
62
|
+
* rebranded.
|
|
63
|
+
*
|
|
64
|
+
* A self-hosted deployment running its own name must NOT claim Aglyn's marks —
|
|
65
|
+
* the source is Apache-2.0 and yours to run, the names are not. See NOTICE.
|
|
66
|
+
*
|
|
67
|
+
* ## Why the marks are spelled out rather than interpolated (AGL-2486)
|
|
68
|
+
*
|
|
69
|
+
* This sentence is not product copy, so `PLATFORM_BRAND_NAME` is the wrong
|
|
70
|
+
* substitution even though it holds the same characters on this branch. It is
|
|
71
|
+
* an assertion about who owns two specific marks, and every name in it is
|
|
72
|
+
* fixed:
|
|
73
|
+
*
|
|
74
|
+
* - `Aglyn\u2122` is the mark itself. A build that renamed the product emits
|
|
75
|
+
* nothing here at all — that is what the ternary is for — so there is no
|
|
76
|
+
* branch on which a configured name belongs in its place.
|
|
77
|
+
* - `Aglyn LLC` is the OWNER, and must not become `BRAND.ORG_NAME_LEGAL`.
|
|
78
|
+
* That value falls back to `${PLATFORM_BRAND_NAME} LLC` but is separately
|
|
79
|
+
* settable, so a reseller who sets only `..._LEGAL_NAME` would publish
|
|
80
|
+
* "trademarks of Contoso Inc." — a false statement of ownership, produced
|
|
81
|
+
* by us, on their site.
|
|
82
|
+
*
|
|
83
|
+
* The brand-literal ratchet baselines these two occurrences for that reason.
|
|
84
|
+
*/ export const TRADEMARK_NOTICE = PLATFORM_BRAND_NAME === DEFAULT_PLATFORM_BRAND_NAME ? `Aglyn\u2122 and ${PRODUCT_NAME.BESIGNER}\u2122 are trademarks of Aglyn LLC.` : '';
|
|
85
|
+
|
|
86
|
+
//# sourceMappingURL=aglyn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../libs/shared/data/enums/src/lib/aglyn.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n/**\n * Platform-brand configuration, read in the ONE form that satisfies both rules\n * this repo enforces (AGL-2153).\n *\n * - Next inlines `NEXT_PUBLIC_*` by substituting the **dot** member\n * expression `process.env.NAME`. The bracket form is never substituted and\n * reads `undefined` in the browser — the AGL-2037 bug.\n * - `libs/shared/ui/json-editor` and `libs/shared/ui/color-picker` compile\n * with `noPropertyAccessFromIndexSignature: true`, and they transitively\n * compile THIS lib. Under that flag TypeScript refuses dot access on\n * `ProcessEnv`'s index signature and tells you to use brackets — i.e. the\n * compiler pushes you straight into the runtime bug.\n *\n * The inline cast resolves it, and the shape below is not arbitrary: it was\n * checked against the emitted JavaScript rather than assumed.\n *\n * (process.env as PlatformBrandEnv).NEXT_PUBLIC_X → process.env.NEXT_PUBLIC_X ✅\n * const env = process.env as PlatformBrandEnv; env.NEXT_PUBLIC_X\n * → env.NEXT_PUBLIC_X ❌\n *\n * The cast is erased and the member expression survives, so the substitution\n * matches. Hoisting `process.env` into a local — the obvious tidy-up — breaks\n * it silently: the code still compiles, still reads fine, and inlines nothing.\n * Do not hoist it.\n *\n * The env NAMES are the shared contract with `libs/aglyn/.../platform-brand.ts`\n * and `apps/tenant/middleware.ts`; one value, one name (AGL-733). The literal\n * default is stated once here, in this lib, and nowhere else in it.\n */\ninterface PlatformBrandEnv {\n NEXT_PUBLIC_PLATFORM_BRAND_NAME?: string\n NEXT_PUBLIC_PLATFORM_BRAND_LEGAL_NAME?: string\n}\n\n/**\n * The name this software answers to when nothing has renamed it. Stated ONCE,\n * as the doc above promises, and read back by `TRADEMARK_NOTICE` rather than\n * spelled a second time — a second copy is how the two drift apart, and the\n * one that drifts is the one deciding whether a rebranded build claims our\n * marks.\n */\nconst DEFAULT_PLATFORM_BRAND_NAME = 'Aglyn'\n\nconst PLATFORM_BRAND_NAME =\n (process.env as PlatformBrandEnv).NEXT_PUBLIC_PLATFORM_BRAND_NAME?.trim() ||\n DEFAULT_PLATFORM_BRAND_NAME\n\nexport const BRAND = {\n ORG_NAME: PLATFORM_BRAND_NAME,\n ORG_NAME_LEGAL:\n (process.env as PlatformBrandEnv).NEXT_PUBLIC_PLATFORM_BRAND_LEGAL_NAME?.trim() ||\n `${PLATFORM_BRAND_NAME} LLC`,\n}\n\nexport const PRODUCT_NAME = {\n BESIGNER: 'Besigner',\n}\n\n/**\n * The trademark attribution, or an empty string once the platform has been\n * rebranded.\n *\n * A self-hosted deployment running its own name must NOT claim Aglyn's marks —\n * the source is Apache-2.0 and yours to run, the names are not. See NOTICE.\n *\n * ## Why the marks are spelled out rather than interpolated (AGL-2486)\n *\n * This sentence is not product copy, so `PLATFORM_BRAND_NAME` is the wrong\n * substitution even though it holds the same characters on this branch. It is\n * an assertion about who owns two specific marks, and every name in it is\n * fixed:\n *\n * - `Aglyn\\u2122` is the mark itself. A build that renamed the product emits\n * nothing here at all — that is what the ternary is for — so there is no\n * branch on which a configured name belongs in its place.\n * - `Aglyn LLC` is the OWNER, and must not become `BRAND.ORG_NAME_LEGAL`.\n * That value falls back to `${PLATFORM_BRAND_NAME} LLC` but is separately\n * settable, so a reseller who sets only `..._LEGAL_NAME` would publish\n * \"trademarks of Contoso Inc.\" — a false statement of ownership, produced\n * by us, on their site.\n *\n * The brand-literal ratchet baselines these two occurrences for that reason.\n */\nexport const TRADEMARK_NOTICE =\n PLATFORM_BRAND_NAME === DEFAULT_PLATFORM_BRAND_NAME\n ? `Aglyn\\u2122 and ${PRODUCT_NAME.BESIGNER}\\u2122 are trademarks of Aglyn LLC.`\n : ''\n"],"names":["DEFAULT_PLATFORM_BRAND_NAME","PLATFORM_BRAND_NAME","process","env","NEXT_PUBLIC_PLATFORM_BRAND_NAME","trim","BRAND","ORG_NAME","ORG_NAME_LEGAL","NEXT_PUBLIC_PLATFORM_BRAND_LEGAL_NAME","PRODUCT_NAME","BESIGNER","TRADEMARK_NOTICE"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BC,OAgBC,8CAME;AAhBJ;;;;;;CAMC,GACD,MAAMA,8BAA8B;AAEpC,MAAMC,sBACJ,EAAA,+CAAA,AAACC,QAAQC,GAAG,CAAsBC,+BAA+B,qBAAjE,6CAAmEC,IAAI,OACvEL;AAEF,OAAO,MAAMM,QAAQ;IACnBC,UAAUN;IACVO,gBACE,EAAA,qDAAA,AAACN,QAAQC,GAAG,CAAsBM,qCAAqC,qBAAvE,mDAAyEJ,IAAI,OAC7E,GAAGJ,oBAAoB,IAAI,CAAC;AAChC,EAAC;AAED,OAAO,MAAMS,eAAe;IAC1BC,UAAU;AACZ,EAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;CAwBC,GACD,OAAO,MAAMC,mBACXX,wBAAwBD,8BACpB,CAAC,gBAAgB,EAAEU,aAAaC,QAAQ,CAAC,mCAAmC,CAAC,GAC7E,GAAE"}
|