@nymphjs/tilmeld-setup 1.0.0-beta.123 → 1.0.0-beta.124
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/CHANGELOG.md +4 -0
- package/dist/app/index.js +17 -28
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-beta.124](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.123...v1.0.0-beta.124) (2026-09-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @nymphjs/tilmeld-setup
|
|
9
|
+
|
|
6
10
|
# [1.0.0-beta.123](https://forge.sciactive.com/sciactive/nymphjs/compare/v1.0.0-beta.122...v1.0.0-beta.123) (2026-09-23)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
package/dist/app/index.js
CHANGED
|
@@ -22330,8 +22330,13 @@
|
|
|
22330
22330
|
if (typeof item === 'function' &&
|
|
22331
22331
|
item.prototype instanceof Entity &&
|
|
22332
22332
|
typeof item.class === 'string') {
|
|
22333
|
-
// Convert entity classes to
|
|
22334
|
-
return item.class;
|
|
22333
|
+
// Convert entity classes to class references.
|
|
22334
|
+
return ['nymph_class_reference', item.class];
|
|
22335
|
+
}
|
|
22336
|
+
else if (item instanceof Entity &&
|
|
22337
|
+
typeof item.$toReference === 'function') {
|
|
22338
|
+
// Don't touch entities.
|
|
22339
|
+
return item;
|
|
22335
22340
|
}
|
|
22336
22341
|
else if (Array.isArray(item)) {
|
|
22337
22342
|
// Recurse into lower arrays.
|
|
@@ -22356,36 +22361,20 @@
|
|
|
22356
22361
|
// Convert entities to references.
|
|
22357
22362
|
return item.$toReference();
|
|
22358
22363
|
}
|
|
22359
|
-
else if (
|
|
22360
|
-
|
|
22361
|
-
|
|
22362
|
-
|
|
22363
|
-
else if (item instanceof Object) {
|
|
22364
|
-
let newObj = Object.create(item);
|
|
22365
|
-
for (let [key, value] of Object.entries(item)) {
|
|
22366
|
-
newObj[key] = entitiesToReferences(value);
|
|
22367
|
-
}
|
|
22368
|
-
return newObj;
|
|
22369
|
-
}
|
|
22370
|
-
// Not an entity or array, just return it.
|
|
22371
|
-
return item;
|
|
22372
|
-
}
|
|
22373
|
-
function entitiesToGuids(item) {
|
|
22374
|
-
if (item == null) {
|
|
22364
|
+
else if (typeof item === 'function' &&
|
|
22365
|
+
item.prototype instanceof Entity &&
|
|
22366
|
+
typeof item.class === 'string') {
|
|
22367
|
+
// Don't touch Entity classes.
|
|
22375
22368
|
return item;
|
|
22376
22369
|
}
|
|
22377
|
-
else if (item instanceof Entity && item.guid != null) {
|
|
22378
|
-
// Convert entities to guids.
|
|
22379
|
-
return item.guid;
|
|
22380
|
-
}
|
|
22381
22370
|
else if (Array.isArray(item)) {
|
|
22382
22371
|
// Recurse into lower arrays.
|
|
22383
|
-
return item.map((entry) =>
|
|
22372
|
+
return item.map((entry) => entitiesToReferences(entry));
|
|
22384
22373
|
}
|
|
22385
22374
|
else if (item instanceof Object) {
|
|
22386
22375
|
let newObj = Object.create(item);
|
|
22387
22376
|
for (let [key, value] of Object.entries(item)) {
|
|
22388
|
-
newObj[key] =
|
|
22377
|
+
newObj[key] = entitiesToReferences(value);
|
|
22389
22378
|
}
|
|
22390
22379
|
return newObj;
|
|
22391
22380
|
}
|
|
@@ -23890,8 +23879,8 @@
|
|
|
23890
23879
|
data: {
|
|
23891
23880
|
action: 'entity',
|
|
23892
23881
|
data: [
|
|
23893
|
-
|
|
23894
|
-
...entityConstructorsToClassNames(
|
|
23882
|
+
entityConstructorsToClassNames(options),
|
|
23883
|
+
...entityConstructorsToClassNames(entitiesToReferences(selectors)),
|
|
23895
23884
|
],
|
|
23896
23885
|
},
|
|
23897
23886
|
});
|
|
@@ -23910,8 +23899,8 @@
|
|
|
23910
23899
|
data: {
|
|
23911
23900
|
action: 'entities',
|
|
23912
23901
|
data: [
|
|
23913
|
-
|
|
23914
|
-
...entityConstructorsToClassNames(
|
|
23902
|
+
entityConstructorsToClassNames(options),
|
|
23903
|
+
...entityConstructorsToClassNames(entitiesToReferences(selectors)),
|
|
23915
23904
|
],
|
|
23916
23905
|
},
|
|
23917
23906
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nymphjs/tilmeld-setup",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.124",
|
|
4
4
|
"description": "Nymph.js - Tilmeld Setup App",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
},
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@nymphjs/nymph": "^1.0.0-beta.
|
|
45
|
-
"@nymphjs/tilmeld": "^1.0.0-beta.
|
|
44
|
+
"@nymphjs/nymph": "^1.0.0-beta.124",
|
|
45
|
+
"@nymphjs/tilmeld": "^1.0.0-beta.124",
|
|
46
46
|
"express": "^5.2.1",
|
|
47
47
|
"locutus": "^3.0.36"
|
|
48
48
|
},
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"@material/elevation": "^14.0.0",
|
|
51
51
|
"@material/typography": "^14.0.0",
|
|
52
52
|
"@mdi/js": "^7.4.47",
|
|
53
|
-
"@nymphjs/client": "^1.0.0-beta.
|
|
54
|
-
"@nymphjs/driver-sqlite3": "^1.0.0-beta.
|
|
55
|
-
"@nymphjs/query-parser": "^1.0.0-beta.
|
|
56
|
-
"@nymphjs/server": "^1.0.0-beta.
|
|
57
|
-
"@nymphjs/tilmeld-client": "^1.0.0-beta.
|
|
58
|
-
"@nymphjs/tilmeld-components": "^1.0.0-beta.
|
|
53
|
+
"@nymphjs/client": "^1.0.0-beta.124",
|
|
54
|
+
"@nymphjs/driver-sqlite3": "^1.0.0-beta.124",
|
|
55
|
+
"@nymphjs/query-parser": "^1.0.0-beta.124",
|
|
56
|
+
"@nymphjs/server": "^1.0.0-beta.124",
|
|
57
|
+
"@nymphjs/tilmeld-client": "^1.0.0-beta.124",
|
|
58
|
+
"@nymphjs/tilmeld-components": "^1.0.0-beta.124",
|
|
59
59
|
"@rollup/plugin-commonjs": "^29.0.3",
|
|
60
60
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
61
61
|
"@rollup/plugin-sucrase": "^5.1.0",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"tslib": "^2.8.1",
|
|
99
99
|
"typescript": "^7.0.2"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "f0e37f47c5ceeaaa1b389867f7cd24eac05cc5f9"
|
|
102
102
|
}
|