aloha-vue 1.0.166 → 1.0.168
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/docs/package.json
CHANGED
package/docs/src/main.js
CHANGED
|
@@ -6,6 +6,7 @@ import AI18nPlugin from "../../src/plugins/AI18nPlugin";
|
|
|
6
6
|
// import alohaPlugin from "../src/plugins/alohaPlugin";
|
|
7
7
|
import AIconPlugin from "../../src/plugins/AIconPlugin";
|
|
8
8
|
import mainIcons from "./mainIcons";
|
|
9
|
+
import ASafeHtml from "../../src/directives/ASafeHtml";
|
|
9
10
|
|
|
10
11
|
import de from "./i18n/de.json";
|
|
11
12
|
import en from "./i18n/en.json";
|
|
@@ -30,4 +31,5 @@ APP.use(AIconPlugin, mainIcons);
|
|
|
30
31
|
// framework: "bootstrap",
|
|
31
32
|
// });
|
|
32
33
|
APP.config.unwrapInjectedRef = true;
|
|
34
|
+
APP.directive("SafeHtml", ASafeHtml);
|
|
33
35
|
APP.use(store).use(router).mount("#app");
|
|
@@ -6,8 +6,10 @@ export default {
|
|
|
6
6
|
ATooltip,
|
|
7
7
|
},
|
|
8
8
|
setup() {
|
|
9
|
-
|
|
9
|
+
const text = `<img style="width: 50px;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg==" onclick="alert('...und hier sende ich z.B. den Cookie an eine externe Webseite. Dein Cookie: ' + document.cookie);" />`;
|
|
10
10
|
|
|
11
|
+
return {
|
|
12
|
+
text,
|
|
11
13
|
};
|
|
12
14
|
},
|
|
13
15
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aloha-vue",
|
|
3
3
|
"description": "Project aloha",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.168",
|
|
5
5
|
"author": "Ilia Brykin",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build-icons": "node scriptsNode/iconsSvgToJs.js bootstrap3 && node scriptsNode/iconsSvgToJs.js bootstrap-1-9-1"
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"@popperjs/core": "2.11.5",
|
|
11
11
|
"aloha-css": "1.0.64",
|
|
12
12
|
"axios": "^0.27.2",
|
|
13
|
+
"dompurify": "2.4.1",
|
|
13
14
|
"fecha": "^4.2.3",
|
|
14
15
|
"lodash-es": "^4.17.21",
|
|
15
16
|
"tiny-emitter": "2.1.0",
|