@tailor-cms/ce-image-display 1.0.2 → 1.0.4
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/components/Display.vue.d.ts +8 -0
- package/dist/index.cjs +7 -8
- package/dist/index.d.ts +5 -0
- package/dist/index.js +8 -9
- package/package.json +9 -8
- /package/dist/{style.css → index.css} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementData } from '@tailor-cms/ce-image-manifest';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
id: number;
|
|
4
|
+
data: ElementData;
|
|
5
|
+
userState: any;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
2
|
+
var import_index = require("./index.css");
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
4
4
|
const vue = require("vue");
|
|
5
5
|
var type = "IMAGE";
|
|
@@ -15,7 +15,7 @@ var ui = {
|
|
|
15
15
|
icon: "mdi-image",
|
|
16
16
|
// Does element support only full width or can be used within layouts
|
|
17
17
|
// (e.g. 50/50 layout)
|
|
18
|
-
forceFullWidth:
|
|
18
|
+
forceFullWidth: false
|
|
19
19
|
};
|
|
20
20
|
var manifest$1 = {
|
|
21
21
|
type,
|
|
@@ -25,7 +25,7 @@ var manifest$1 = {
|
|
|
25
25
|
initState,
|
|
26
26
|
ui
|
|
27
27
|
};
|
|
28
|
-
var
|
|
28
|
+
var index_default = manifest$1;
|
|
29
29
|
const _hoisted_1 = { class: "tce-root" };
|
|
30
30
|
const _hoisted_2 = { class: "d-flex align-center justify-center fill-height" };
|
|
31
31
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -64,12 +64,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
64
64
|
}, {
|
|
65
65
|
default: vue.withCtx(() => [
|
|
66
66
|
vue.createVNode(_component_VIcon, { class: "mr-2" }, {
|
|
67
|
-
default: vue.withCtx(() => [
|
|
67
|
+
default: vue.withCtx(() => _cache[0] || (_cache[0] = [
|
|
68
68
|
vue.createTextVNode("mdi-image-outline")
|
|
69
|
-
]),
|
|
69
|
+
])),
|
|
70
70
|
_: 1
|
|
71
71
|
}),
|
|
72
|
-
vue.createTextVNode(" Image placeholder ")
|
|
72
|
+
_cache[1] || (_cache[1] = vue.createTextVNode(" Image placeholder "))
|
|
73
73
|
]),
|
|
74
74
|
_: 1
|
|
75
75
|
}))
|
|
@@ -77,7 +77,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
|
-
const Display_vue_vue_type_style_index_0_scoped_3caceda2_lang = "";
|
|
81
80
|
const _export_sfc = (sfc, props) => {
|
|
82
81
|
const target = sfc.__vccOpts || sfc;
|
|
83
82
|
for (const [key, val] of props) {
|
|
@@ -87,7 +86,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
87
86
|
};
|
|
88
87
|
const Display = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3caceda2"]]);
|
|
89
88
|
const manifest = {
|
|
90
|
-
...
|
|
89
|
+
...index_default,
|
|
91
90
|
Display
|
|
92
91
|
};
|
|
93
92
|
exports.Display = Display;
|
package/dist/index.d.ts
ADDED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { defineComponent, resolveComponent,
|
|
1
|
+
import "./index.css";
|
|
2
|
+
import { defineComponent, resolveComponent, createElementBlock, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode } from "vue";
|
|
3
3
|
var type = "IMAGE";
|
|
4
4
|
var name = "Image";
|
|
5
5
|
var initState = () => ({
|
|
@@ -13,7 +13,7 @@ var ui = {
|
|
|
13
13
|
icon: "mdi-image",
|
|
14
14
|
// Does element support only full width or can be used within layouts
|
|
15
15
|
// (e.g. 50/50 layout)
|
|
16
|
-
forceFullWidth:
|
|
16
|
+
forceFullWidth: false
|
|
17
17
|
};
|
|
18
18
|
var manifest$1 = {
|
|
19
19
|
type,
|
|
@@ -23,7 +23,7 @@ var manifest$1 = {
|
|
|
23
23
|
initState,
|
|
24
24
|
ui
|
|
25
25
|
};
|
|
26
|
-
var
|
|
26
|
+
var index_default = manifest$1;
|
|
27
27
|
const _hoisted_1 = { class: "tce-root" };
|
|
28
28
|
const _hoisted_2 = { class: "d-flex align-center justify-center fill-height" };
|
|
29
29
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -62,12 +62,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
}, {
|
|
63
63
|
default: withCtx(() => [
|
|
64
64
|
createVNode(_component_VIcon, { class: "mr-2" }, {
|
|
65
|
-
default: withCtx(() => [
|
|
65
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
66
66
|
createTextVNode("mdi-image-outline")
|
|
67
|
-
]),
|
|
67
|
+
])),
|
|
68
68
|
_: 1
|
|
69
69
|
}),
|
|
70
|
-
createTextVNode(" Image placeholder ")
|
|
70
|
+
_cache[1] || (_cache[1] = createTextVNode(" Image placeholder "))
|
|
71
71
|
]),
|
|
72
72
|
_: 1
|
|
73
73
|
}))
|
|
@@ -75,7 +75,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
const Display_vue_vue_type_style_index_0_scoped_3caceda2_lang = "";
|
|
79
78
|
const _export_sfc = (sfc, props) => {
|
|
80
79
|
const target = sfc.__vccOpts || sfc;
|
|
81
80
|
for (const [key, val] of props) {
|
|
@@ -85,7 +84,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
85
84
|
};
|
|
86
85
|
const Display = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3caceda2"]]);
|
|
87
86
|
const manifest = {
|
|
88
|
-
...
|
|
87
|
+
...index_default,
|
|
89
88
|
Display
|
|
90
89
|
};
|
|
91
90
|
export {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Tailor CMS image element end-user component",
|
|
4
4
|
"author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.4",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"import": "./dist/index.js",
|
|
@@ -11,26 +11,27 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"main": "./dist/index.cjs",
|
|
14
|
+
"types": "./types/index.d.ts",
|
|
14
15
|
"files": [
|
|
15
16
|
"dist"
|
|
16
17
|
],
|
|
17
18
|
"peerDependencies": {
|
|
18
|
-
"vue": "^3.
|
|
19
|
+
"vue": "^3.5.13"
|
|
19
20
|
},
|
|
20
21
|
"devDependencies": {
|
|
21
22
|
"@tailor-cms/eslint-config": "0.0.2",
|
|
22
|
-
"@vitejs/plugin-vue": "^
|
|
23
|
-
"typescript": "^5.
|
|
24
|
-
"vite": "^
|
|
25
|
-
"vue-tsc": "^
|
|
26
|
-
"@tailor-cms/ce-image-manifest": "1.0.
|
|
23
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
24
|
+
"typescript": "^5.7.3",
|
|
25
|
+
"vite": "^6.1.0",
|
|
26
|
+
"vue-tsc": "^2.2.0",
|
|
27
|
+
"@tailor-cms/ce-image-manifest": "1.0.4"
|
|
27
28
|
},
|
|
28
29
|
"publishConfig": {
|
|
29
30
|
"access": "public"
|
|
30
31
|
},
|
|
31
32
|
"scripts": {
|
|
32
33
|
"dev": "vite build --watch",
|
|
33
|
-
"build": "vue-tsc
|
|
34
|
+
"build": "vue-tsc && vite build",
|
|
34
35
|
"lint": "eslint --ext .js,.ts,.vue ./src",
|
|
35
36
|
"lint:fix": "pnpm lint --fix"
|
|
36
37
|
}
|
|
File without changes
|