@sendelius/vue 0.4.0 → 0.4.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/dist/config/config.d.ts +2 -0
- package/dist/sendelius-vue.js +3 -1
- package/package.json +1 -1
package/dist/config/config.d.ts
CHANGED
package/dist/sendelius-vue.js
CHANGED
|
@@ -19,6 +19,8 @@ var ae = Object.defineProperty, oe = Object.getOwnPropertyDescriptor, se = Objec
|
|
|
19
19
|
}, de = (e, t, n) => (ue(e, t, "default"), n && ue(n, t, "default")), fe = {
|
|
20
20
|
router: null,
|
|
21
21
|
baseURL: "",
|
|
22
|
+
baseTitle: "",
|
|
23
|
+
baseTitleSeparator: " - ",
|
|
22
24
|
routeAfterLogin: "/app/",
|
|
23
25
|
routeAfterLogout: "/",
|
|
24
26
|
urlUserInfo: "/auth/me",
|
|
@@ -197,7 +199,7 @@ function Pe(e, t, n, r) {
|
|
|
197
199
|
}
|
|
198
200
|
// src/helpers/title.js
|
|
199
201
|
function Fe(e, t, n) {
|
|
200
|
-
|
|
202
|
+
t ??= me().baseTitle, n ??= me().baseTitleSeparator, t || (n = ""), document.title = e ? `${e}${n}${t}` : t;
|
|
201
203
|
}
|
|
202
204
|
// src/helpers/objects.js
|
|
203
205
|
function Ie(e) {
|
package/package.json
CHANGED