@public-ui/themes 1.3.3-rc.0 → 1.3.3-rc.2
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/assets/bundes/LICENSE.md +1 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Black.ttf +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Black.woff +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Black.woff2 +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-BlackItalic.ttf +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-BlackItalic.woff +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-BlackItalic.woff2 +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Bold.ttf +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Bold.woff +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Bold.woff2 +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-BoldItalic.ttf +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-BoldItalic.woff +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-BoldItalic.woff2 +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Light.ttf +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Light.woff +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Light.woff2 +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-LightItalic.ttf +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-LightItalic.woff +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-LightItalic.woff2 +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Medium.ttf +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Medium.woff +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Medium.woff2 +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-MediumItalic.ttf +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-MediumItalic.woff +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-MediumItalic.woff2 +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Regular.ttf +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Regular.woff +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-Regular.woff2 +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-RegularItalic.ttf +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-RegularItalic.woff +0 -0
- package/assets/{bund/font → bundes/sans}/BundesSans-Web-RegularItalic.woff2 +0 -0
- package/assets/bundes/sans-cond/BundesSansCond-Web-Regular.ttf +0 -0
- package/assets/bundes/sans-cond/BundesSansCond-Web-Regular.woff +0 -0
- package/assets/bundes/sans-cond/BundesSansCond-Web-Regular.woff2 +0 -0
- package/assets/bundes/serif/BundesSerif-Web-Bold.ttf +0 -0
- package/assets/bundes/serif/BundesSerif-Web-Bold.woff +0 -0
- package/assets/bundes/serif/BundesSerif-Web-Bold.woff2 +0 -0
- package/assets/bundes/serif/BundesSerif-Web-BoldItalic.ttf +0 -0
- package/assets/bundes/serif/BundesSerif-Web-BoldItalic.woff +0 -0
- package/assets/bundes/serif/BundesSerif-Web-BoldItalic.woff2 +0 -0
- package/assets/bundes/serif/BundesSerif-Web-Italic.ttf +0 -0
- package/assets/bundes/serif/BundesSerif-Web-Italic.woff +0 -0
- package/assets/bundes/serif/BundesSerif-Web-Italic.woff2 +0 -0
- package/assets/bundes/serif/BundesSerif-Web-Regular.ttf +0 -0
- package/assets/bundes/serif/BundesSerif-Web-Regular.woff +0 -0
- package/assets/bundes/serif/BundesSerif-Web-Regular.woff2 +0 -0
- package/assets/bundes/style.css +84 -0
- package/dist/index.cjs +30 -228
- package/dist/index.d.ts +2 -317
- package/dist/index.mjs +30 -221
- package/package.json +3 -3
- package/assets/bund/bund.css +0 -41
- package/assets/bund/font/bundessansweb-bold-woff-data.woff +0 -0
- package/assets/bund/font/bundessansweb-regular-woff-data.woff +0 -0
- package/assets/bund/font/bundesserifweb-regular-woff-data.woff +0 -0
- package/assets/bund/forms.js +0 -310
- package/assets/bund/svg/itzbund.svg +0 -13
- package/assets/kreon/Kreon-VariableFont_wght.ttf +0 -0
- package/assets/kreon/OFL.txt +0 -93
- package/assets/kreon/README.txt +0 -67
- package/assets/kreon/static/Kreon-Bold.ttf +0 -0
- package/assets/kreon/static/Kreon-Light.ttf +0 -0
- package/assets/kreon/static/Kreon-Medium.ttf +0 -0
- package/assets/kreon/static/Kreon-Regular.ttf +0 -0
- package/assets/kreon/static/Kreon-SemiBold.ttf +0 -0
- package/assets/kreon/style.css +0 -41
- package/assets/roboto/LICENSE.txt +0 -202
- package/assets/roboto/Roboto-Black.ttf +0 -0
- package/assets/roboto/Roboto-BlackItalic.ttf +0 -0
- package/assets/roboto/Roboto-Bold.ttf +0 -0
- package/assets/roboto/Roboto-BoldItalic.ttf +0 -0
- package/assets/roboto/Roboto-Italic.ttf +0 -0
- package/assets/roboto/Roboto-Light.ttf +0 -0
- package/assets/roboto/Roboto-LightItalic.ttf +0 -0
- package/assets/roboto/Roboto-Medium.ttf +0 -0
- package/assets/roboto/Roboto-MediumItalic.ttf +0 -0
- package/assets/roboto/Roboto-Regular.ttf +0 -0
- package/assets/roboto/Roboto-Thin.ttf +0 -0
- package/assets/roboto/Roboto-ThinItalic.ttf +0 -0
- package/assets/roboto/roboto.css +0 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/themes",
|
|
3
|
-
"version": "1.3.3-rc.
|
|
3
|
+
"version": "1.3.3-rc.2",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": "https://github.com/public-ui/kolibri",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"prepack": "unbuild"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@public-ui/schema": "1.3.3-rc.
|
|
51
|
+
"@public-ui/schema": "1.3.3-rc.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/node": "18.11.18",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"unbuild": "1.1.1"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@public-ui/components": "1.3.3-rc.
|
|
63
|
+
"@public-ui/components": "1.3.3-rc.2"
|
|
64
64
|
},
|
|
65
65
|
"sideEffects": false,
|
|
66
66
|
"type": "module",
|
package/assets/bund/bund.css
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: "BundesSans Web";
|
|
3
|
-
font-style: normal;
|
|
4
|
-
font-weight: bold;
|
|
5
|
-
src: url(font/BundesSans-Web-Bold.woff) format('woff'), url(font/BundesSans-Web-Bold.woff2) format('woff2'), url(font/BundesSans-Web-Bold.ttf) format('truetype');
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@font-face {
|
|
9
|
-
font-family: "BundesSans Web";
|
|
10
|
-
font-style: italic;
|
|
11
|
-
font-weight: bolder;
|
|
12
|
-
src: url(font/BundesSans-Web-BoldItalic.woff) format('woff'), url(font/BundesSans-Web-BoldItalic.woff2) format('woff2'), url(font/BundesSans-Web-BoldItalic.ttf) format('truetype');
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@font-face {
|
|
16
|
-
font-family: "BundesSans Web";
|
|
17
|
-
font-style: italic;
|
|
18
|
-
font-weight: normal;
|
|
19
|
-
src: url(font/BundesSans-Web-RegularItalic.woff) format('woff'), url(font/BundesSans-Web-RegularItalic.woff2) format('woff2'), url(font/BundesSans-Web-RegularItalic.ttf) format('truetype');
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@font-face {
|
|
23
|
-
font-family: "BundesSans Web";
|
|
24
|
-
font-style: normal;
|
|
25
|
-
font-weight: normal;
|
|
26
|
-
src: url(font/BundesSans-Web-Regular.woff) format('woff'), url(font/BundesSans-Web-Regular.woff2) format('woff2'), url(font/BundesSans-Web-Regular.ttf) format('truetype');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* @font-face {
|
|
30
|
-
font-family: "BundesSans Web";
|
|
31
|
-
font-style: normal;
|
|
32
|
-
font-weight: lighter;
|
|
33
|
-
src: url(font/BundesSans-Web-Light.woff) format('woff'), url(font/BundesSans-Web-Light.woff2) format('woff2'), url(font/BundesSans-Web-Light.ttf) format('truetype');
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@font-face {
|
|
37
|
-
font-family: "BundesSans Web";
|
|
38
|
-
font-style: italic;
|
|
39
|
-
font-weight: lighter;
|
|
40
|
-
src: url(font/BundesSans-Web-LightItalic.woff) format('woff'), url(font/BundesSans-Web-LightItalic.woff2) format('woff2'), url(font/BundesSans-Web-LightItalic.ttf) format('truetype');
|
|
41
|
-
} */
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/assets/bund/forms.js
DELETED
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
!(function (t, e) {
|
|
2
|
-
'object' == typeof exports && 'undefined' != typeof module
|
|
3
|
-
? e(exports, require('loglevel'))
|
|
4
|
-
: 'function' == typeof define && define.amd
|
|
5
|
-
? define(['exports', 'loglevel'], e)
|
|
6
|
-
: e(((t = 'undefined' != typeof globalThis ? globalThis : t || self).LEANUP = {}), t.loglevel);
|
|
7
|
-
})(this, function (t, e) {
|
|
8
|
-
'use strict';
|
|
9
|
-
class r {
|
|
10
|
-
constructor() {}
|
|
11
|
-
static getInstance() {
|
|
12
|
-
return this._instance instanceof r == !1 && (this._instance = new r()), this._instance;
|
|
13
|
-
}
|
|
14
|
-
isNumber(t) {
|
|
15
|
-
return !1 === isNaN(t) && 'number' == typeof t;
|
|
16
|
-
}
|
|
17
|
-
isArray(t, e = 0) {
|
|
18
|
-
return Array.isArray(t) && t.length >= e;
|
|
19
|
-
}
|
|
20
|
-
isObject(t) {
|
|
21
|
-
return 'object' == typeof t && null !== t && !1 === this.isArray(t);
|
|
22
|
-
}
|
|
23
|
-
isString(t, e = 0) {
|
|
24
|
-
return 'string' == typeof t && t.length >= e;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
r._instance = null;
|
|
28
|
-
const n = r.getInstance(),
|
|
29
|
-
s = [];
|
|
30
|
-
class i {
|
|
31
|
-
constructor() {}
|
|
32
|
-
static getInstance() {
|
|
33
|
-
return this._instance instanceof i == !1 && (this._instance = new i()), this._instance;
|
|
34
|
-
}
|
|
35
|
-
log(t, r) {
|
|
36
|
-
switch (
|
|
37
|
-
(n.isObject(r.refObject) &&
|
|
38
|
-
'function' == typeof r.refObject.constructor &&
|
|
39
|
-
n.isString(r.refObject.constructor.name) &&
|
|
40
|
-
(r.className = `[${r.refObject.constructor.name}]:`),
|
|
41
|
-
s.push({ date: new Date().toUTCString(), level: t, message: r }),
|
|
42
|
-
t)
|
|
43
|
-
) {
|
|
44
|
-
case 'trace':
|
|
45
|
-
e.trace(r);
|
|
46
|
-
break;
|
|
47
|
-
case 'debug':
|
|
48
|
-
e.debug(r);
|
|
49
|
-
break;
|
|
50
|
-
case 'info':
|
|
51
|
-
e.info(r);
|
|
52
|
-
break;
|
|
53
|
-
case 'warn':
|
|
54
|
-
e.warn(r);
|
|
55
|
-
break;
|
|
56
|
-
case 'error':
|
|
57
|
-
e.error(r);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
trace(t, e) {
|
|
61
|
-
return this.log('trace', { messageText: t, refObject: e }), this;
|
|
62
|
-
}
|
|
63
|
-
debug(t, e) {
|
|
64
|
-
return this.log('debug', { messageText: t, refObject: e }), this;
|
|
65
|
-
}
|
|
66
|
-
info(t, e) {
|
|
67
|
-
return this.log('info', { messageText: t, refObject: e }), this;
|
|
68
|
-
}
|
|
69
|
-
warn(t, e) {
|
|
70
|
-
return this.log('warn', { messageText: t, refObject: e }), this;
|
|
71
|
-
}
|
|
72
|
-
error(t, e) {
|
|
73
|
-
return this.log('error', { messageText: t, refObject: e }), this;
|
|
74
|
-
}
|
|
75
|
-
get cache() {
|
|
76
|
-
return [].concat(s);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
i._instance = null;
|
|
80
|
-
const o = i.getInstance();
|
|
81
|
-
function a(t) {
|
|
82
|
-
return t instanceof l ? t.get() : Array.isArray(t) ? t : [t];
|
|
83
|
-
}
|
|
84
|
-
class l {
|
|
85
|
-
constructor(t) {
|
|
86
|
-
(this._instancesOf = []), (this._items = []), (this._protectedItems = []), (this._instancesOf = Array.isArray(t) ? t : [t]);
|
|
87
|
-
}
|
|
88
|
-
get empty() {
|
|
89
|
-
return 0 === this._items.length;
|
|
90
|
-
}
|
|
91
|
-
get first() {
|
|
92
|
-
return this._items.length > 0 ? this._items[0] : null;
|
|
93
|
-
}
|
|
94
|
-
forEach(t) {
|
|
95
|
-
this._items.forEach(t);
|
|
96
|
-
}
|
|
97
|
-
filter(t) {
|
|
98
|
-
return this._items.filter(t);
|
|
99
|
-
}
|
|
100
|
-
find(t) {
|
|
101
|
-
return this._items.find(t);
|
|
102
|
-
}
|
|
103
|
-
get last() {
|
|
104
|
-
return this._items.length > 0 ? this._items[this._items.length - 1] : null;
|
|
105
|
-
}
|
|
106
|
-
get length() {
|
|
107
|
-
return this._items.length;
|
|
108
|
-
}
|
|
109
|
-
add(t, e = !1) {
|
|
110
|
-
return (
|
|
111
|
-
a(t).filter(t => {
|
|
112
|
-
let r = !1;
|
|
113
|
-
return (
|
|
114
|
-
!1 === this.contains(t)
|
|
115
|
-
? !(function (t, e) {
|
|
116
|
-
return !!n.isArray(t) && void 0 !== t.find(t => e instanceof t);
|
|
117
|
-
})(this._instancesOf, t)
|
|
118
|
-
? o.debug('The item does not have a valid instance type.', this)
|
|
119
|
-
: (e && this._protectedItems.push(t), this._items.push(t), (r = !0))
|
|
120
|
-
: o.debug('The item is already in the list.', this),
|
|
121
|
-
r
|
|
122
|
-
);
|
|
123
|
-
}).length > 0
|
|
124
|
-
);
|
|
125
|
-
}
|
|
126
|
-
remove(t) {
|
|
127
|
-
return (
|
|
128
|
-
a(t).filter(t => {
|
|
129
|
-
let e = !1,
|
|
130
|
-
r = this._protectedItems.indexOf(t);
|
|
131
|
-
return (
|
|
132
|
-
-1 === r
|
|
133
|
-
? ((r = this._items.indexOf(t)), r >= 0 ? (this._items.splice(r, 1), (e = !0)) : o.debug('The item is not in the list.', this))
|
|
134
|
-
: o.debug('The item is protected and cannot be removed.', this),
|
|
135
|
-
e
|
|
136
|
-
);
|
|
137
|
-
}).length > 0
|
|
138
|
-
);
|
|
139
|
-
}
|
|
140
|
-
set(t, e = !1) {
|
|
141
|
-
const r = this.clear(),
|
|
142
|
-
n = this.add(t, e);
|
|
143
|
-
return r || n;
|
|
144
|
-
}
|
|
145
|
-
get(t) {
|
|
146
|
-
return !1 === isNaN(t) && 'number' == typeof t ? this._items.slice(0, t) : this._items;
|
|
147
|
-
}
|
|
148
|
-
clear() {
|
|
149
|
-
const t = this._items.length;
|
|
150
|
-
return (this._items = this._items.filter(t => this._protectedItems.indexOf(t) >= 0)), t !== this._items.length;
|
|
151
|
-
}
|
|
152
|
-
contains(t) {
|
|
153
|
-
return this._items.indexOf(t) > -1;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
class h {
|
|
157
|
-
constructor() {
|
|
158
|
-
this.validators = new l(Function);
|
|
159
|
-
}
|
|
160
|
-
validate(t, e = !1) {
|
|
161
|
-
const r = [];
|
|
162
|
-
try {
|
|
163
|
-
this.validators.forEach(n => {
|
|
164
|
-
try {
|
|
165
|
-
n(t);
|
|
166
|
-
} catch (t) {
|
|
167
|
-
if ((r.push(t), !0 === e)) throw new Error('Be quick and stop the execution of other validation functions. Only one error is enough.');
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
} catch (t) {}
|
|
171
|
-
return r;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
class c {
|
|
175
|
-
constructor(t) {
|
|
176
|
-
(this.errors = []), (this._name = 'unnamed'), (this._parentForms = []), (this._validationHandler = new h()), (this.name = t);
|
|
177
|
-
}
|
|
178
|
-
get name() {
|
|
179
|
-
return this._name;
|
|
180
|
-
}
|
|
181
|
-
set name(t) {
|
|
182
|
-
if ('string' != typeof t) throw new Error('The name of a control must be a string.');
|
|
183
|
-
if (!(t.length > 0)) throw new Error('The name of a control must have a min-length of 1.');
|
|
184
|
-
this._name = t;
|
|
185
|
-
}
|
|
186
|
-
get error() {
|
|
187
|
-
return this.errors.length > 0 ? this.errors[0] : null;
|
|
188
|
-
}
|
|
189
|
-
get id() {
|
|
190
|
-
let t = this.name;
|
|
191
|
-
return this._parentForms.length > 0 && (t = `${this._parentForms[0].id}.${t}`), t;
|
|
192
|
-
}
|
|
193
|
-
get valid() {
|
|
194
|
-
return 0 === this.errors.length;
|
|
195
|
-
}
|
|
196
|
-
findMeInParentForm(t) {
|
|
197
|
-
if (this === t) return !0;
|
|
198
|
-
if (t instanceof m) {
|
|
199
|
-
const e = [];
|
|
200
|
-
return (
|
|
201
|
-
this._parentForms.forEach(r => {
|
|
202
|
-
!0 === r.findMeInParentForm(t) && e.push(r);
|
|
203
|
-
}),
|
|
204
|
-
e.length > 0
|
|
205
|
-
);
|
|
206
|
-
}
|
|
207
|
-
return !1;
|
|
208
|
-
}
|
|
209
|
-
addParentForm(t) {
|
|
210
|
-
if (!1 !== this._parentForms.includes(t)) throw new Error(`An form control with the name '${t.name}' already exists.`);
|
|
211
|
-
if (!1 !== t.findMeInParentForm(this)) throw new Error(`The same form control (${t.name}) leads to a form control loop.`);
|
|
212
|
-
this._parentForms.push(t);
|
|
213
|
-
}
|
|
214
|
-
removeParentForm(t) {
|
|
215
|
-
const e = this._parentForms.indexOf(t);
|
|
216
|
-
if (!(e >= 0)) throw new Error(`An form control with the name '${t.name}' does not exists.`);
|
|
217
|
-
this._parentForms.splice(e, 1);
|
|
218
|
-
}
|
|
219
|
-
setValidationHandler(t = new h()) {
|
|
220
|
-
this._validationHandler = t;
|
|
221
|
-
}
|
|
222
|
-
validate(t) {
|
|
223
|
-
(this.errors = this._validationHandler.validate(t)),
|
|
224
|
-
this._parentForms.forEach(e => {
|
|
225
|
-
e.validate(t);
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
class u extends c {
|
|
230
|
-
constructor(t, e) {
|
|
231
|
-
super(t),
|
|
232
|
-
(this._label = ''),
|
|
233
|
-
(this._value = null),
|
|
234
|
-
(this._timeout = setTimeout(() => {}, 1)),
|
|
235
|
-
e && ((this.label = e.label ? e.label : ''), (this.value = e.value ? e.value : null));
|
|
236
|
-
}
|
|
237
|
-
get label() {
|
|
238
|
-
return this._label;
|
|
239
|
-
}
|
|
240
|
-
set label(t) {
|
|
241
|
-
if ('string' != typeof t) throw new Error('The label of a input control must be a string.');
|
|
242
|
-
this._label = t;
|
|
243
|
-
}
|
|
244
|
-
get value() {
|
|
245
|
-
return this._value;
|
|
246
|
-
}
|
|
247
|
-
set value(t) {
|
|
248
|
-
this._timeout && clearTimeout(this._timeout),
|
|
249
|
-
(this._timeout = setTimeout(() => {
|
|
250
|
-
(this._value = t), this.validate(t);
|
|
251
|
-
}, 250));
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
class m extends c {
|
|
255
|
-
constructor() {
|
|
256
|
-
super(...arguments), (this.controls = new l(c));
|
|
257
|
-
}
|
|
258
|
-
get valid() {
|
|
259
|
-
return 0 === this.errors.length && 0 === this.controls.filter(t => !1 === t.valid).length;
|
|
260
|
-
}
|
|
261
|
-
addConrol(t) {
|
|
262
|
-
if (!1 !== this.controls.contains(t)) throw new Error(`A control with the same name '${t.name}' already exists.`);
|
|
263
|
-
t.addParentForm(this), this.controls.add(t);
|
|
264
|
-
}
|
|
265
|
-
removeControl(t) {
|
|
266
|
-
if (!0 !== this.controls.contains(t)) throw new Error(`A control with the name '${t.name}' does not exists.`);
|
|
267
|
-
t instanceof c && (t.removeParentForm(this), this.controls.remove(t));
|
|
268
|
-
}
|
|
269
|
-
getControls() {
|
|
270
|
-
return this.controls.get();
|
|
271
|
-
}
|
|
272
|
-
getControl(t) {
|
|
273
|
-
return this.controls.find(e => e.name === t);
|
|
274
|
-
}
|
|
275
|
-
getData() {
|
|
276
|
-
const t = {};
|
|
277
|
-
return (
|
|
278
|
-
this.controls.forEach(e => {
|
|
279
|
-
if (e instanceof m) t[e.name] = e.getData();
|
|
280
|
-
else {
|
|
281
|
-
if (!(e instanceof u)) throw new Error('The control is neither an instance of FormControl or InputControl.');
|
|
282
|
-
t[e.name] = e.value;
|
|
283
|
-
}
|
|
284
|
-
}),
|
|
285
|
-
t
|
|
286
|
-
);
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
class f {
|
|
290
|
-
static createForm(t, e) {
|
|
291
|
-
const r = new m(t);
|
|
292
|
-
for (const t in e)
|
|
293
|
-
if (e.hasOwnProperty(t))
|
|
294
|
-
if ('object' == typeof e[t] && null !== e[t]) r.addConrol(f.createForm(t, e[t]));
|
|
295
|
-
else {
|
|
296
|
-
const n = new u(t);
|
|
297
|
-
(n.value = e[t]), r.addConrol(n);
|
|
298
|
-
}
|
|
299
|
-
return r;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
(t.FormControl = m),
|
|
303
|
-
(t.FormFactory = f),
|
|
304
|
-
(t.InputControl = u),
|
|
305
|
-
(t.ListOf = l),
|
|
306
|
-
(t.Log = o),
|
|
307
|
-
(t.ValidationHandler = h),
|
|
308
|
-
(t.Validator = n),
|
|
309
|
-
Object.defineProperty(t, '__esModule', { value: !0 });
|
|
310
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<text x="0" y="0" font-family="BundSans">
|
|
3
|
-
<tspan x="0" dy="1.0em">
|
|
4
|
-
Informations
|
|
5
|
-
</tspan>
|
|
6
|
-
<tspan x="0" dy="1em">
|
|
7
|
-
Technik
|
|
8
|
-
</tspan>
|
|
9
|
-
<tspan x="0" dy="1em">
|
|
10
|
-
Zentrum Bund
|
|
11
|
-
</tspan>
|
|
12
|
-
</text>
|
|
13
|
-
</svg>
|
|
Binary file
|
package/assets/kreon/OFL.txt
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
Copyright 2018 The Kreon Project Authors (https://github.com/googlefonts/kreon), with Reserved Font Name "Kreon".
|
|
2
|
-
|
|
3
|
-
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
-
This license is copied below, and is also available with a FAQ at:
|
|
5
|
-
http://scripts.sil.org/OFL
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
-----------------------------------------------------------
|
|
9
|
-
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
-
-----------------------------------------------------------
|
|
11
|
-
|
|
12
|
-
PREAMBLE
|
|
13
|
-
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
-
development of collaborative font projects, to support the font creation
|
|
15
|
-
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
-
open framework in which fonts may be shared and improved in partnership
|
|
17
|
-
with others.
|
|
18
|
-
|
|
19
|
-
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
-
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
-
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
-
redistributed and/or sold with any software provided that any reserved
|
|
23
|
-
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
-
however, cannot be released under any other type of license. The
|
|
25
|
-
requirement for fonts to remain under this license does not apply
|
|
26
|
-
to any document created using the fonts or their derivatives.
|
|
27
|
-
|
|
28
|
-
DEFINITIONS
|
|
29
|
-
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
-
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
-
include source files, build scripts and documentation.
|
|
32
|
-
|
|
33
|
-
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
-
copyright statement(s).
|
|
35
|
-
|
|
36
|
-
"Original Version" refers to the collection of Font Software components as
|
|
37
|
-
distributed by the Copyright Holder(s).
|
|
38
|
-
|
|
39
|
-
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
-
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
-
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
-
new environment.
|
|
43
|
-
|
|
44
|
-
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
-
writer or other person who contributed to the Font Software.
|
|
46
|
-
|
|
47
|
-
PERMISSION & CONDITIONS
|
|
48
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
-
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
-
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
-
Software, subject to the following conditions:
|
|
52
|
-
|
|
53
|
-
1) Neither the Font Software nor any of its individual components,
|
|
54
|
-
in Original or Modified Versions, may be sold by itself.
|
|
55
|
-
|
|
56
|
-
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
-
redistributed and/or sold with any software, provided that each copy
|
|
58
|
-
contains the above copyright notice and this license. These can be
|
|
59
|
-
included either as stand-alone text files, human-readable headers or
|
|
60
|
-
in the appropriate machine-readable metadata fields within text or
|
|
61
|
-
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
-
|
|
63
|
-
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
-
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
-
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
-
presented to the users.
|
|
67
|
-
|
|
68
|
-
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
-
Software shall not be used to promote, endorse or advertise any
|
|
70
|
-
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
-
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
-
permission.
|
|
73
|
-
|
|
74
|
-
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
-
must be distributed entirely under this license, and must not be
|
|
76
|
-
distributed under any other license. The requirement for fonts to
|
|
77
|
-
remain under this license does not apply to any document created
|
|
78
|
-
using the Font Software.
|
|
79
|
-
|
|
80
|
-
TERMINATION
|
|
81
|
-
This license becomes null and void if any of the above conditions are
|
|
82
|
-
not met.
|
|
83
|
-
|
|
84
|
-
DISCLAIMER
|
|
85
|
-
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
-
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
-
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
-
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
-
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
-
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
-
OTHER DEALINGS IN THE FONT SOFTWARE.
|
package/assets/kreon/README.txt
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
Kreon Variable Font
|
|
2
|
-
===================
|
|
3
|
-
|
|
4
|
-
This download contains Kreon as both a variable font and static fonts.
|
|
5
|
-
|
|
6
|
-
Kreon is a variable font with this axis:
|
|
7
|
-
wght
|
|
8
|
-
|
|
9
|
-
This means all the styles are contained in a single file:
|
|
10
|
-
Kreon-VariableFont_wght.ttf
|
|
11
|
-
|
|
12
|
-
If your app fully supports variable fonts, you can now pick intermediate styles
|
|
13
|
-
that aren’t available as static fonts. Not all apps support variable fonts, and
|
|
14
|
-
in those cases you can use the static font files for Kreon:
|
|
15
|
-
static/Kreon-Light.ttf
|
|
16
|
-
static/Kreon-Regular.ttf
|
|
17
|
-
static/Kreon-Medium.ttf
|
|
18
|
-
static/Kreon-SemiBold.ttf
|
|
19
|
-
static/Kreon-Bold.ttf
|
|
20
|
-
|
|
21
|
-
Get started
|
|
22
|
-
-----------
|
|
23
|
-
|
|
24
|
-
1. Install the font files you want to use
|
|
25
|
-
|
|
26
|
-
2. Use your app's font picker to view the font family and all the
|
|
27
|
-
available styles
|
|
28
|
-
|
|
29
|
-
Learn more about variable fonts
|
|
30
|
-
-------------------------------
|
|
31
|
-
|
|
32
|
-
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
|
|
33
|
-
https://variablefonts.typenetwork.com
|
|
34
|
-
https://medium.com/variable-fonts
|
|
35
|
-
|
|
36
|
-
In desktop apps
|
|
37
|
-
|
|
38
|
-
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
|
|
39
|
-
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
|
|
40
|
-
|
|
41
|
-
Online
|
|
42
|
-
|
|
43
|
-
https://developers.google.com/fonts/docs/getting_started
|
|
44
|
-
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
|
|
45
|
-
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
|
|
46
|
-
|
|
47
|
-
Installing fonts
|
|
48
|
-
|
|
49
|
-
MacOS: https://support.apple.com/en-us/HT201749
|
|
50
|
-
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
|
|
51
|
-
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
|
|
52
|
-
|
|
53
|
-
Android Apps
|
|
54
|
-
|
|
55
|
-
https://developers.google.com/fonts/docs/android
|
|
56
|
-
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
|
|
57
|
-
|
|
58
|
-
License
|
|
59
|
-
-------
|
|
60
|
-
Please read the full license text (OFL.txt) to understand the permissions,
|
|
61
|
-
restrictions and requirements for usage, redistribution, and modification.
|
|
62
|
-
|
|
63
|
-
You can use them in your products & projects – print or digital,
|
|
64
|
-
commercial or otherwise.
|
|
65
|
-
|
|
66
|
-
This isn't legal advice, please consider consulting a lawyer and see the full
|
|
67
|
-
license for all details.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/assets/kreon/style.css
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: 'Kreon';
|
|
3
|
-
font-style: normal;
|
|
4
|
-
font-weight: bold;
|
|
5
|
-
src: url(static/Kreon-SemiBold.ttf) format('truetype');
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@font-face {
|
|
9
|
-
font-family: 'Kreon';
|
|
10
|
-
font-style: italic;
|
|
11
|
-
font-weight: bolder;
|
|
12
|
-
src: url(static/Kreon-SemiBold.ttf) format('truetype');
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@font-face {
|
|
16
|
-
font-family: 'Kreon';
|
|
17
|
-
font-style: italic;
|
|
18
|
-
font-weight: normal;
|
|
19
|
-
src: url(static/Kreon-Regular.ttf) format('truetype');
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@font-face {
|
|
23
|
-
font-family: 'Kreon';
|
|
24
|
-
font-style: normal;
|
|
25
|
-
font-weight: normal;
|
|
26
|
-
src: url(static/Kreon-Regular.ttf) format('truetype');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@font-face {
|
|
30
|
-
font-family: 'Kreon';
|
|
31
|
-
font-style: normal;
|
|
32
|
-
font-weight: lighter;
|
|
33
|
-
src: url(static/Kreon-Light.ttf) format('truetype');
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@font-face {
|
|
37
|
-
font-family: 'Kreon';
|
|
38
|
-
font-style: italic;
|
|
39
|
-
font-weight: lighter;
|
|
40
|
-
src: url(static/Kreon-Light.ttf) format('truetype');
|
|
41
|
-
}
|