@tailor-cms/ce-accordion-edit 0.0.6 → 0.0.8
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 +30 -13
- package/dist/index.js +30 -13
- package/dist/style.css +11 -5
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -27630,22 +27630,38 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
27630
27630
|
}, {
|
|
27631
27631
|
default: vue.withCtx(() => [
|
|
27632
27632
|
isHovering || _ctx.isExpanded ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
27633
|
-
vue.withDirectives(vue.
|
|
27633
|
+
vue.withDirectives((vue.openBlock(), vue.createBlock(_component_VBtn, {
|
|
27634
27634
|
color: "primary-darken-2",
|
|
27635
|
-
|
|
27636
|
-
icon: "mdi-square-edit-outline",
|
|
27635
|
+
size: "x-small",
|
|
27637
27636
|
variant: "tonal",
|
|
27637
|
+
icon: "",
|
|
27638
27638
|
onClick: _cache[5] || (_cache[5] = vue.withModifiers(($event) => isEditing.value = true, ["stop"]))
|
|
27639
|
-
},
|
|
27639
|
+
}, {
|
|
27640
|
+
default: vue.withCtx(() => [
|
|
27641
|
+
vue.createVNode(_component_VIcon, {
|
|
27642
|
+
icon: "mdi-square-edit-outline",
|
|
27643
|
+
size: "large"
|
|
27644
|
+
})
|
|
27645
|
+
]),
|
|
27646
|
+
_: 1
|
|
27647
|
+
})), [
|
|
27640
27648
|
[_directive_tooltip, { text: "Edit title", openDelay: 300 }, "bottom"]
|
|
27641
27649
|
]),
|
|
27642
|
-
vue.withDirectives(vue.
|
|
27643
|
-
color: "secondary-lighten-
|
|
27644
|
-
|
|
27645
|
-
icon: "mdi-delete-outline",
|
|
27650
|
+
vue.withDirectives((vue.openBlock(), vue.createBlock(_component_VBtn, {
|
|
27651
|
+
color: "secondary-lighten-1",
|
|
27652
|
+
size: "x-small",
|
|
27646
27653
|
variant: "tonal",
|
|
27654
|
+
icon: "",
|
|
27647
27655
|
onClick: vue.withModifiers(deleteItem, ["stop"])
|
|
27648
|
-
},
|
|
27656
|
+
}, {
|
|
27657
|
+
default: vue.withCtx(() => [
|
|
27658
|
+
vue.createVNode(_component_VIcon, {
|
|
27659
|
+
icon: "mdi-delete-outline",
|
|
27660
|
+
size: "large"
|
|
27661
|
+
})
|
|
27662
|
+
]),
|
|
27663
|
+
_: 1
|
|
27664
|
+
}, 8, ["onClick"])), [
|
|
27649
27665
|
[_directive_tooltip, { text: "Delete item", openDelay: 300 }, "bottom"]
|
|
27650
27666
|
])
|
|
27651
27667
|
], 64)) : vue.createCommentVNode("", true)
|
|
@@ -27696,8 +27712,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
27696
27712
|
};
|
|
27697
27713
|
}
|
|
27698
27714
|
});
|
|
27699
|
-
const
|
|
27700
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
27715
|
+
const AccordionItem_vue_vue_type_style_index_0_scoped_50e17341_lang = "";
|
|
27716
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-50e17341"]]);
|
|
27701
27717
|
const _hoisted_1$1 = { class: "tce-accordion d-flex flex-column align-center text-center" };
|
|
27702
27718
|
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
27703
27719
|
__name: "Edit",
|
|
@@ -27766,6 +27782,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
27766
27782
|
ref: panels,
|
|
27767
27783
|
modelValue: expanded.value,
|
|
27768
27784
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => expanded.value = $event),
|
|
27785
|
+
elevation: "0",
|
|
27769
27786
|
rounded: "lg",
|
|
27770
27787
|
multiple: ""
|
|
27771
27788
|
}, {
|
|
@@ -27808,8 +27825,8 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
27808
27825
|
};
|
|
27809
27826
|
}
|
|
27810
27827
|
});
|
|
27811
|
-
const
|
|
27812
|
-
const Edit = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
27828
|
+
const Edit_vue_vue_type_style_index_0_scoped_38529b44_lang = "";
|
|
27829
|
+
const Edit = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-38529b44"]]);
|
|
27813
27830
|
const _hoisted_1 = { class: "d-flex align-center justify-center" };
|
|
27814
27831
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
27815
27832
|
__name: "TopToolbar",
|
package/dist/index.js
CHANGED
|
@@ -27628,22 +27628,38 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
27628
27628
|
}, {
|
|
27629
27629
|
default: withCtx(() => [
|
|
27630
27630
|
isHovering || _ctx.isExpanded ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
|
|
27631
|
-
withDirectives(
|
|
27631
|
+
withDirectives((openBlock(), createBlock(_component_VBtn, {
|
|
27632
27632
|
color: "primary-darken-2",
|
|
27633
|
-
|
|
27634
|
-
icon: "mdi-square-edit-outline",
|
|
27633
|
+
size: "x-small",
|
|
27635
27634
|
variant: "tonal",
|
|
27635
|
+
icon: "",
|
|
27636
27636
|
onClick: _cache[5] || (_cache[5] = withModifiers(($event) => isEditing.value = true, ["stop"]))
|
|
27637
|
-
},
|
|
27637
|
+
}, {
|
|
27638
|
+
default: withCtx(() => [
|
|
27639
|
+
createVNode(_component_VIcon, {
|
|
27640
|
+
icon: "mdi-square-edit-outline",
|
|
27641
|
+
size: "large"
|
|
27642
|
+
})
|
|
27643
|
+
]),
|
|
27644
|
+
_: 1
|
|
27645
|
+
})), [
|
|
27638
27646
|
[_directive_tooltip, { text: "Edit title", openDelay: 300 }, "bottom"]
|
|
27639
27647
|
]),
|
|
27640
|
-
withDirectives(
|
|
27641
|
-
color: "secondary-lighten-
|
|
27642
|
-
|
|
27643
|
-
icon: "mdi-delete-outline",
|
|
27648
|
+
withDirectives((openBlock(), createBlock(_component_VBtn, {
|
|
27649
|
+
color: "secondary-lighten-1",
|
|
27650
|
+
size: "x-small",
|
|
27644
27651
|
variant: "tonal",
|
|
27652
|
+
icon: "",
|
|
27645
27653
|
onClick: withModifiers(deleteItem, ["stop"])
|
|
27646
|
-
},
|
|
27654
|
+
}, {
|
|
27655
|
+
default: withCtx(() => [
|
|
27656
|
+
createVNode(_component_VIcon, {
|
|
27657
|
+
icon: "mdi-delete-outline",
|
|
27658
|
+
size: "large"
|
|
27659
|
+
})
|
|
27660
|
+
]),
|
|
27661
|
+
_: 1
|
|
27662
|
+
}, 8, ["onClick"])), [
|
|
27647
27663
|
[_directive_tooltip, { text: "Delete item", openDelay: 300 }, "bottom"]
|
|
27648
27664
|
])
|
|
27649
27665
|
], 64)) : createCommentVNode("", true)
|
|
@@ -27694,8 +27710,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
27694
27710
|
};
|
|
27695
27711
|
}
|
|
27696
27712
|
});
|
|
27697
|
-
const
|
|
27698
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
27713
|
+
const AccordionItem_vue_vue_type_style_index_0_scoped_50e17341_lang = "";
|
|
27714
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-50e17341"]]);
|
|
27699
27715
|
const _hoisted_1$1 = { class: "tce-accordion d-flex flex-column align-center text-center" };
|
|
27700
27716
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
27701
27717
|
__name: "Edit",
|
|
@@ -27764,6 +27780,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27764
27780
|
ref: panels,
|
|
27765
27781
|
modelValue: expanded.value,
|
|
27766
27782
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => expanded.value = $event),
|
|
27783
|
+
elevation: "0",
|
|
27767
27784
|
rounded: "lg",
|
|
27768
27785
|
multiple: ""
|
|
27769
27786
|
}, {
|
|
@@ -27806,8 +27823,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27806
27823
|
};
|
|
27807
27824
|
}
|
|
27808
27825
|
});
|
|
27809
|
-
const
|
|
27810
|
-
const Edit = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
27826
|
+
const Edit_vue_vue_type_style_index_0_scoped_38529b44_lang = "";
|
|
27827
|
+
const Edit = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-38529b44"]]);
|
|
27811
27828
|
const _hoisted_1 = { class: "d-flex align-center justify-center" };
|
|
27812
27829
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27813
27830
|
__name: "TopToolbar",
|
package/dist/style.css
CHANGED
|
@@ -442,26 +442,32 @@
|
|
|
442
442
|
}
|
|
443
443
|
.v-field--center-affix[data-v-4dc69d89] .v-label.v-field-label:not(.v-field-label--floating) {
|
|
444
444
|
top: calc(50% - 1.125rem);
|
|
445
|
-
}.accordion-title[data-v-
|
|
445
|
+
}.accordion-title[data-v-50e17341] {
|
|
446
446
|
font-size: 1rem;
|
|
447
447
|
font-weight: 500;
|
|
448
448
|
letter-spacing: 0.009375em;
|
|
449
449
|
}
|
|
450
|
-
.v-input[data-v-
|
|
450
|
+
.v-input[data-v-50e17341] {
|
|
451
451
|
position: relative;
|
|
452
452
|
}
|
|
453
|
-
.v-input[data-v-
|
|
453
|
+
.v-input[data-v-50e17341] .v-input__details {
|
|
454
454
|
position: absolute;
|
|
455
455
|
padding: 0 !important;
|
|
456
456
|
z-index: 9;
|
|
457
457
|
}
|
|
458
|
-
.v-input[data-v-
|
|
458
|
+
.v-input[data-v-50e17341] .v-input__details .v-messages__message {
|
|
459
459
|
margin-top: 0.25rem;
|
|
460
460
|
border-radius: 4px;
|
|
461
461
|
padding: 0.5rem 0.75rem;
|
|
462
462
|
background: #424242;
|
|
463
463
|
color: #fff !important;
|
|
464
|
-
}.tce-accordion[data-v-
|
|
464
|
+
}.tce-accordion[data-v-38529b44] {
|
|
465
465
|
text-align: left;
|
|
466
466
|
margin: 1rem 0;
|
|
467
|
+
}
|
|
468
|
+
.tce-accordion[data-v-38529b44] .v-expansion-panel-text {
|
|
469
|
+
border-bottom-right-radius: inherit;
|
|
470
|
+
border-bottom-left-radius: inherit;
|
|
471
|
+
border: 2px solid rgb(var(--v-theme-primary-lighten-5));
|
|
472
|
+
border-top: none !important;
|
|
467
473
|
}
|
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.8",
|
|
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.8"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@paralleldrive/cuid2": "^2.2.2",
|