@tailor-cms/ce-accordion-edit 0.0.10 → 0.0.11
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/index.cjs +10 -9
- package/dist/index.js +10 -9
- package/dist/style.css +5 -5
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -27500,7 +27500,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
27500
27500
|
__name: "AccordionItem",
|
|
27501
27501
|
props: {
|
|
27502
27502
|
item: {},
|
|
27503
|
-
|
|
27503
|
+
embedTypes: {},
|
|
27504
27504
|
embeds: { default: () => {
|
|
27505
27505
|
} },
|
|
27506
27506
|
isFocused: { type: Boolean, default: false },
|
|
@@ -27698,7 +27698,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
27698
27698
|
vue.createVNode(_component_TailorEmbeddedContainer, {
|
|
27699
27699
|
container: { embeds: _ctx.embeds },
|
|
27700
27700
|
"is-disabled": _ctx.isDisabled,
|
|
27701
|
-
types: _ctx.
|
|
27701
|
+
types: _ctx.embedTypes,
|
|
27702
27702
|
onDelete: deleteEmbed,
|
|
27703
27703
|
onSave: _cache[6] || (_cache[6] = ($event) => saveEmbed($event.embeds))
|
|
27704
27704
|
}, null, 8, ["container", "is-disabled", "types"])
|
|
@@ -27711,14 +27711,14 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
27711
27711
|
};
|
|
27712
27712
|
}
|
|
27713
27713
|
});
|
|
27714
|
-
const
|
|
27715
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
27714
|
+
const AccordionItem_vue_vue_type_style_index_0_scoped_b3279221_lang = "";
|
|
27715
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-b3279221"]]);
|
|
27716
27716
|
const _hoisted_1$1 = { class: "tce-accordion d-flex flex-column align-center text-center" };
|
|
27717
27717
|
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
27718
27718
|
__name: "Edit",
|
|
27719
27719
|
props: {
|
|
27720
27720
|
element: {},
|
|
27721
|
-
|
|
27721
|
+
embedTypes: {},
|
|
27722
27722
|
isFocused: { type: Boolean },
|
|
27723
27723
|
isDisabled: { type: Boolean }
|
|
27724
27724
|
},
|
|
@@ -27781,6 +27781,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
27781
27781
|
ref: panels,
|
|
27782
27782
|
modelValue: expanded.value,
|
|
27783
27783
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => expanded.value = $event),
|
|
27784
|
+
rounded: "lg",
|
|
27784
27785
|
variant: "accordion",
|
|
27785
27786
|
multiple: ""
|
|
27786
27787
|
}, {
|
|
@@ -27793,7 +27794,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
27793
27794
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(elementData.items, (item, index2) => {
|
|
27794
27795
|
return vue.openBlock(), vue.createBlock(AccordionItem, {
|
|
27795
27796
|
key: item.id,
|
|
27796
|
-
"
|
|
27797
|
+
"embed-types": _ctx.embedTypes,
|
|
27797
27798
|
embeds: embedsByItem.value[item.id],
|
|
27798
27799
|
"is-disabled": _ctx.isDisabled,
|
|
27799
27800
|
"is-expanded": expanded.value.includes(item.id),
|
|
@@ -27802,7 +27803,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
27802
27803
|
onDelete: ($event) => deleteItem(item.id, index2),
|
|
27803
27804
|
onExpand: ($event) => expanded.value.push(item.id),
|
|
27804
27805
|
onSave: ($event) => saveItem($event, index2)
|
|
27805
|
-
}, null, 8, ["
|
|
27806
|
+
}, null, 8, ["embed-types", "embeds", "is-disabled", "is-expanded", "is-focused", "item", "onDelete", "onExpand", "onSave"]);
|
|
27806
27807
|
}), 128))
|
|
27807
27808
|
]),
|
|
27808
27809
|
_: 1
|
|
@@ -27823,8 +27824,8 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
27823
27824
|
};
|
|
27824
27825
|
}
|
|
27825
27826
|
});
|
|
27826
|
-
const
|
|
27827
|
-
const Edit = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
27827
|
+
const Edit_vue_vue_type_style_index_0_scoped_cd8ca15a_lang = "";
|
|
27828
|
+
const Edit = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-cd8ca15a"]]);
|
|
27828
27829
|
const _hoisted_1 = { class: "d-flex align-center justify-center" };
|
|
27829
27830
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
27830
27831
|
__name: "TopToolbar",
|
package/dist/index.js
CHANGED
|
@@ -27498,7 +27498,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
27498
27498
|
__name: "AccordionItem",
|
|
27499
27499
|
props: {
|
|
27500
27500
|
item: {},
|
|
27501
|
-
|
|
27501
|
+
embedTypes: {},
|
|
27502
27502
|
embeds: { default: () => {
|
|
27503
27503
|
} },
|
|
27504
27504
|
isFocused: { type: Boolean, default: false },
|
|
@@ -27696,7 +27696,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
27696
27696
|
createVNode(_component_TailorEmbeddedContainer, {
|
|
27697
27697
|
container: { embeds: _ctx.embeds },
|
|
27698
27698
|
"is-disabled": _ctx.isDisabled,
|
|
27699
|
-
types: _ctx.
|
|
27699
|
+
types: _ctx.embedTypes,
|
|
27700
27700
|
onDelete: deleteEmbed,
|
|
27701
27701
|
onSave: _cache[6] || (_cache[6] = ($event) => saveEmbed($event.embeds))
|
|
27702
27702
|
}, null, 8, ["container", "is-disabled", "types"])
|
|
@@ -27709,14 +27709,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
27709
27709
|
};
|
|
27710
27710
|
}
|
|
27711
27711
|
});
|
|
27712
|
-
const
|
|
27713
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
27712
|
+
const AccordionItem_vue_vue_type_style_index_0_scoped_b3279221_lang = "";
|
|
27713
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-b3279221"]]);
|
|
27714
27714
|
const _hoisted_1$1 = { class: "tce-accordion d-flex flex-column align-center text-center" };
|
|
27715
27715
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
27716
27716
|
__name: "Edit",
|
|
27717
27717
|
props: {
|
|
27718
27718
|
element: {},
|
|
27719
|
-
|
|
27719
|
+
embedTypes: {},
|
|
27720
27720
|
isFocused: { type: Boolean },
|
|
27721
27721
|
isDisabled: { type: Boolean }
|
|
27722
27722
|
},
|
|
@@ -27779,6 +27779,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27779
27779
|
ref: panels,
|
|
27780
27780
|
modelValue: expanded.value,
|
|
27781
27781
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => expanded.value = $event),
|
|
27782
|
+
rounded: "lg",
|
|
27782
27783
|
variant: "accordion",
|
|
27783
27784
|
multiple: ""
|
|
27784
27785
|
}, {
|
|
@@ -27791,7 +27792,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27791
27792
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(elementData.items, (item, index2) => {
|
|
27792
27793
|
return openBlock(), createBlock(AccordionItem, {
|
|
27793
27794
|
key: item.id,
|
|
27794
|
-
"
|
|
27795
|
+
"embed-types": _ctx.embedTypes,
|
|
27795
27796
|
embeds: embedsByItem.value[item.id],
|
|
27796
27797
|
"is-disabled": _ctx.isDisabled,
|
|
27797
27798
|
"is-expanded": expanded.value.includes(item.id),
|
|
@@ -27800,7 +27801,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27800
27801
|
onDelete: ($event) => deleteItem(item.id, index2),
|
|
27801
27802
|
onExpand: ($event) => expanded.value.push(item.id),
|
|
27802
27803
|
onSave: ($event) => saveItem($event, index2)
|
|
27803
|
-
}, null, 8, ["
|
|
27804
|
+
}, null, 8, ["embed-types", "embeds", "is-disabled", "is-expanded", "is-focused", "item", "onDelete", "onExpand", "onSave"]);
|
|
27804
27805
|
}), 128))
|
|
27805
27806
|
]),
|
|
27806
27807
|
_: 1
|
|
@@ -27821,8 +27822,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27821
27822
|
};
|
|
27822
27823
|
}
|
|
27823
27824
|
});
|
|
27824
|
-
const
|
|
27825
|
-
const Edit = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
27825
|
+
const Edit_vue_vue_type_style_index_0_scoped_cd8ca15a_lang = "";
|
|
27826
|
+
const Edit = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-cd8ca15a"]]);
|
|
27826
27827
|
const _hoisted_1 = { class: "d-flex align-center justify-center" };
|
|
27827
27828
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27828
27829
|
__name: "TopToolbar",
|
package/dist/style.css
CHANGED
|
@@ -485,26 +485,26 @@
|
|
|
485
485
|
opacity: 1;
|
|
486
486
|
}[data-v-0c4fbd95] .v-input__control {
|
|
487
487
|
flex-wrap: wrap;
|
|
488
|
-
}.accordion-title[data-v-
|
|
488
|
+
}.accordion-title[data-v-b3279221] {
|
|
489
489
|
font-size: 1rem;
|
|
490
490
|
font-weight: 500;
|
|
491
491
|
letter-spacing: 0.009375em;
|
|
492
492
|
}
|
|
493
|
-
.v-input[data-v-
|
|
493
|
+
.v-input[data-v-b3279221] {
|
|
494
494
|
position: relative;
|
|
495
495
|
}
|
|
496
|
-
.v-input[data-v-
|
|
496
|
+
.v-input[data-v-b3279221] .v-input__details {
|
|
497
497
|
position: absolute;
|
|
498
498
|
padding: 0 !important;
|
|
499
499
|
z-index: 9;
|
|
500
500
|
}
|
|
501
|
-
.v-input[data-v-
|
|
501
|
+
.v-input[data-v-b3279221] .v-input__details .v-messages__message {
|
|
502
502
|
margin-top: 0.25rem;
|
|
503
503
|
border-radius: 4px;
|
|
504
504
|
padding: 0.5rem 0.75rem;
|
|
505
505
|
background: #424242;
|
|
506
506
|
color: #fff !important;
|
|
507
|
-
}.tce-accordion[data-v-
|
|
507
|
+
}.tce-accordion[data-v-cd8ca15a] {
|
|
508
508
|
text-align: left;
|
|
509
509
|
margin: 1rem 0;
|
|
510
510
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Tailor CMS accordion element",
|
|
4
4
|
"author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.11",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"import": "./dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"typescript": "^5.1.6",
|
|
26
26
|
"vite": "^4.4.5",
|
|
27
27
|
"vue-tsc": "^1.8.5",
|
|
28
|
-
"@tailor-cms/ce-accordion-manifest": "0.0.
|
|
28
|
+
"@tailor-cms/ce-accordion-manifest": "0.0.11"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@paralleldrive/cuid2": "^2.2.2",
|