@tailor-cms/ce-jodit-html-display 0.0.1
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/README.md +1 -0
- package/dist/index.cjs +56 -0
- package/dist/index.css +4 -0
- package/dist/index.js +56 -0
- package/package.json +37 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Content element `Display` component
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var import_index = require("./index.css");
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
|
+
const vue = require("vue");
|
|
5
|
+
var type = "JODIT_HTML";
|
|
6
|
+
var name = "Jodit HTML";
|
|
7
|
+
var initState = () => ({ content: "" });
|
|
8
|
+
var version = "1.0";
|
|
9
|
+
var ui = {
|
|
10
|
+
// Display icon, https://pictogrammers.com/library/mdi/
|
|
11
|
+
icon: "mdi-text-box-outline",
|
|
12
|
+
// Does element support only full width or can be used within layouts
|
|
13
|
+
// (e.g. 50/50 layout)
|
|
14
|
+
forceFullWidth: false
|
|
15
|
+
};
|
|
16
|
+
var manifest$1 = {
|
|
17
|
+
type,
|
|
18
|
+
version,
|
|
19
|
+
name,
|
|
20
|
+
ssr: false,
|
|
21
|
+
initState,
|
|
22
|
+
ui
|
|
23
|
+
};
|
|
24
|
+
var index_default = manifest$1;
|
|
25
|
+
const _hoisted_1 = { class: "ce-jodit-html-root" };
|
|
26
|
+
const _hoisted_2 = ["innerHTML"];
|
|
27
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
28
|
+
__name: "Display",
|
|
29
|
+
props: {
|
|
30
|
+
id: {},
|
|
31
|
+
data: {}
|
|
32
|
+
},
|
|
33
|
+
setup(__props) {
|
|
34
|
+
return (_ctx, _cache) => {
|
|
35
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
36
|
+
vue.createElementVNode("span", {
|
|
37
|
+
innerHTML: _ctx.data.content
|
|
38
|
+
}, null, 8, _hoisted_2)
|
|
39
|
+
]);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
const _export_sfc = (sfc, props) => {
|
|
44
|
+
const target = sfc.__vccOpts || sfc;
|
|
45
|
+
for (const [key, val] of props) {
|
|
46
|
+
target[key] = val;
|
|
47
|
+
}
|
|
48
|
+
return target;
|
|
49
|
+
};
|
|
50
|
+
const Display = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ac151d53"]]);
|
|
51
|
+
const manifest = {
|
|
52
|
+
...index_default,
|
|
53
|
+
Display
|
|
54
|
+
};
|
|
55
|
+
exports.Display = Display;
|
|
56
|
+
exports.default = manifest;
|
package/dist/index.css
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import "./index.css";
|
|
2
|
+
import { defineComponent, createElementBlock, openBlock, createElementVNode } from "vue";
|
|
3
|
+
var type = "JODIT_HTML";
|
|
4
|
+
var name = "Jodit HTML";
|
|
5
|
+
var initState = () => ({ content: "" });
|
|
6
|
+
var version = "1.0";
|
|
7
|
+
var ui = {
|
|
8
|
+
// Display icon, https://pictogrammers.com/library/mdi/
|
|
9
|
+
icon: "mdi-text-box-outline",
|
|
10
|
+
// Does element support only full width or can be used within layouts
|
|
11
|
+
// (e.g. 50/50 layout)
|
|
12
|
+
forceFullWidth: false
|
|
13
|
+
};
|
|
14
|
+
var manifest$1 = {
|
|
15
|
+
type,
|
|
16
|
+
version,
|
|
17
|
+
name,
|
|
18
|
+
ssr: false,
|
|
19
|
+
initState,
|
|
20
|
+
ui
|
|
21
|
+
};
|
|
22
|
+
var index_default = manifest$1;
|
|
23
|
+
const _hoisted_1 = { class: "ce-jodit-html-root" };
|
|
24
|
+
const _hoisted_2 = ["innerHTML"];
|
|
25
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
26
|
+
__name: "Display",
|
|
27
|
+
props: {
|
|
28
|
+
id: {},
|
|
29
|
+
data: {}
|
|
30
|
+
},
|
|
31
|
+
setup(__props) {
|
|
32
|
+
return (_ctx, _cache) => {
|
|
33
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
34
|
+
createElementVNode("span", {
|
|
35
|
+
innerHTML: _ctx.data.content
|
|
36
|
+
}, null, 8, _hoisted_2)
|
|
37
|
+
]);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
const _export_sfc = (sfc, props) => {
|
|
42
|
+
const target = sfc.__vccOpts || sfc;
|
|
43
|
+
for (const [key, val] of props) {
|
|
44
|
+
target[key] = val;
|
|
45
|
+
}
|
|
46
|
+
return target;
|
|
47
|
+
};
|
|
48
|
+
const Display = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ac151d53"]]);
|
|
49
|
+
const manifest = {
|
|
50
|
+
...index_default,
|
|
51
|
+
Display
|
|
52
|
+
};
|
|
53
|
+
export {
|
|
54
|
+
Display,
|
|
55
|
+
manifest as default
|
|
56
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tailor-cms/ce-jodit-html-display",
|
|
3
|
+
"description": "Tailor CMS Jodit HTML editor end-user component",
|
|
4
|
+
"author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"version": "0.0.1",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"require": "./dist/index.cjs"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"vue": "^3.5.13"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@tailor-cms/eslint-config": "0.0.2",
|
|
22
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
23
|
+
"typescript": "^5.7.3",
|
|
24
|
+
"vite": "^6.1.0",
|
|
25
|
+
"vue-tsc": "^2.2.0",
|
|
26
|
+
"@tailor-cms/ce-jodit-html-manifest": "0.0.1"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"dev": "vite build --watch",
|
|
33
|
+
"build": "vue-tsc --noEmit && vite build",
|
|
34
|
+
"lint": "eslint --ext .js,.ts,.vue ./src",
|
|
35
|
+
"lint:fix": "pnpm lint --fix"
|
|
36
|
+
}
|
|
37
|
+
}
|