@uniweb/core 0.7.5 → 0.7.7
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/package.json +2 -2
- package/src/website.js +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniweb/core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.7",
|
|
4
4
|
"description": "Core classes for the Uniweb platform - Uniweb, Website, Page, Block",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"jest": "^29.7.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@uniweb/semantic-parser": "1.1.
|
|
33
|
+
"@uniweb/semantic-parser": "1.1.14",
|
|
34
34
|
"@uniweb/theming": "0.1.3"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
package/src/website.js
CHANGED
|
@@ -74,7 +74,6 @@ export default class Website {
|
|
|
74
74
|
this.pageRoutes = []
|
|
75
75
|
this.themeData = {}
|
|
76
76
|
this.config = {}
|
|
77
|
-
this.xref = null
|
|
78
77
|
this.siteDefaultLocale = 'en'
|
|
79
78
|
this.defaultLocale = 'en'
|
|
80
79
|
this.activeLocale = 'en'
|
|
@@ -108,7 +107,6 @@ export default class Website {
|
|
|
108
107
|
notFound,
|
|
109
108
|
versionedScopes = {},
|
|
110
109
|
assets = {},
|
|
111
|
-
xref = null,
|
|
112
110
|
} = content || {}
|
|
113
111
|
|
|
114
112
|
this.name = config.name || ''
|
|
@@ -167,10 +165,6 @@ export default class Website {
|
|
|
167
165
|
this._routeTranslations = this._buildRouteTranslations(config)
|
|
168
166
|
this.versionedScopes = versionedScopes
|
|
169
167
|
this.assets = assets
|
|
170
|
-
// Cross-reference registry — populated by content-loader from {#id}
|
|
171
|
-
// attributes on labeled block elements. Read by kit's <Ref>
|
|
172
|
-
// component to resolve `[#id]` cross-reference insets.
|
|
173
|
-
this.xref = xref || null
|
|
174
168
|
}
|
|
175
169
|
|
|
176
170
|
/**
|