@nymphjs/tilmeld-setup 1.0.0-beta.98 → 1.0.0-beta.99
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 +30 -1
- 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.99](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.98...v1.0.0-beta.99) (2025-11-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @nymphjs/tilmeld-setup
|
|
9
|
+
|
|
6
10
|
# [1.0.0-beta.98](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.97...v1.0.0-beta.98) (2025-10-24)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @nymphjs/tilmeld-setup
|
package/dist/app/index.js
CHANGED
|
@@ -28214,7 +28214,8 @@
|
|
|
28214
28214
|
continue;
|
|
28215
28215
|
}
|
|
28216
28216
|
else if (curQuery[i] === '(') {
|
|
28217
|
-
|
|
28217
|
+
const searchClause = i !== 0 && !curQuery[i - 1].match(/\s/);
|
|
28218
|
+
if (currentStart == null && !searchClause) {
|
|
28218
28219
|
currentStart = i;
|
|
28219
28220
|
}
|
|
28220
28221
|
else {
|
|
@@ -28333,6 +28334,34 @@
|
|
|
28333
28334
|
}
|
|
28334
28335
|
function selectorParser({ query, selector, qrefMap, bareHandler, }) {
|
|
28335
28336
|
let curQuery = query;
|
|
28337
|
+
// eg. prop(some search string) or prop!(some search string)
|
|
28338
|
+
const searchRegex = /(?: |^)([^\s=\[\]<>{}]+?)!?\([^\)]+\)(?= |$)/g;
|
|
28339
|
+
const searchMatch = curQuery.match(searchRegex);
|
|
28340
|
+
if (searchMatch) {
|
|
28341
|
+
selector.search = [];
|
|
28342
|
+
selector['!search'] = [];
|
|
28343
|
+
for (let match of searchMatch) {
|
|
28344
|
+
try {
|
|
28345
|
+
let [name, value] = splitn(match.trim().slice(0, -1), '(', 2);
|
|
28346
|
+
if (name.endsWith('!')) {
|
|
28347
|
+
selector['!search'].push([name.slice(0, -1), value]);
|
|
28348
|
+
}
|
|
28349
|
+
else {
|
|
28350
|
+
selector.search.push([name, value]);
|
|
28351
|
+
}
|
|
28352
|
+
}
|
|
28353
|
+
catch (e) {
|
|
28354
|
+
continue;
|
|
28355
|
+
}
|
|
28356
|
+
}
|
|
28357
|
+
if (!selector.search.length) {
|
|
28358
|
+
delete selector.search;
|
|
28359
|
+
}
|
|
28360
|
+
if (!selector['!search'].length) {
|
|
28361
|
+
delete selector['!search'];
|
|
28362
|
+
}
|
|
28363
|
+
}
|
|
28364
|
+
curQuery = curQuery.replace(searchRegex, '');
|
|
28336
28365
|
// eg. user<{User name="Hunter"}> or user!<{User name="Hunter"}>
|
|
28337
28366
|
const qrefRegex = /(?: |^)([^\s=\[\]<>{}]+?)!?<\{(\w+) (.*?[^\\])\}>(?= |$)/g;
|
|
28338
28367
|
const qrefMatch = curQuery.match(qrefRegex);
|
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.99",
|
|
4
4
|
"description": "Nymph.js - Tilmeld Setup App",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"license": "Apache-2.0",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@nymphjs/nymph": "^1.0.0-beta.
|
|
39
|
-
"@nymphjs/tilmeld": "^1.0.0-beta.
|
|
38
|
+
"@nymphjs/nymph": "^1.0.0-beta.99",
|
|
39
|
+
"@nymphjs/tilmeld": "^1.0.0-beta.99",
|
|
40
40
|
"express": "^4.21.2",
|
|
41
41
|
"locutus": "^2.0.32"
|
|
42
42
|
},
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"@material/elevation": "^14.0.0",
|
|
45
45
|
"@material/typography": "^14.0.0",
|
|
46
46
|
"@mdi/js": "^7.4.47",
|
|
47
|
-
"@nymphjs/client": "^1.0.0-beta.
|
|
48
|
-
"@nymphjs/driver-sqlite3": "^1.0.0-beta.
|
|
49
|
-
"@nymphjs/query-parser": "^1.0.0-beta.
|
|
50
|
-
"@nymphjs/server": "^1.0.0-beta.
|
|
51
|
-
"@nymphjs/tilmeld-client": "^1.0.0-beta.
|
|
52
|
-
"@nymphjs/tilmeld-components": "^1.0.0-beta.
|
|
47
|
+
"@nymphjs/client": "^1.0.0-beta.99",
|
|
48
|
+
"@nymphjs/driver-sqlite3": "^1.0.0-beta.99",
|
|
49
|
+
"@nymphjs/query-parser": "^1.0.0-beta.99",
|
|
50
|
+
"@nymphjs/server": "^1.0.0-beta.99",
|
|
51
|
+
"@nymphjs/tilmeld-client": "^1.0.0-beta.99",
|
|
52
|
+
"@nymphjs/tilmeld-components": "^1.0.0-beta.99",
|
|
53
53
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
54
54
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
55
55
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"tslib": "^2.8.1",
|
|
92
92
|
"typescript": "^5.7.2"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "2c1308c2fa7e716453211b14a20e3f039370c875"
|
|
95
95
|
}
|