designertool 0.6.0 → 0.8.0
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/postcard-dt.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentInstance as getCurrentInstance$1, onMounted, nextTick, watch as watch$1, getCurrentScope, onScopeDispose, unref, ref as ref$1, readonly, computed, watchEffect, shallowRef, defineComponent, createVNode, openBlock, createBlock, onUnmounted, resolveComponent, Transition, withCtx, createCommentVNode, toDisplayString, renderSlot, render as render$6, customRef, createElementBlock, createElementVNode, cloneVNode, h as h$5, Fragment, inject, provide, Teleport, reactive, toRaw, normalizeClass, createTextVNode, renderList, withDirectives, vModelDynamic, isRef, withModifiers, normalizeStyle, withKeys, vShow, pushScopeId, popScopeId, resolveDynamicComponent, mergeProps, onBeforeMount, onBeforeUnmount, vModelText, vModelCheckbox, toRefs, useCssVars, withMemo } from "vue";
|
|
1
|
+
import { getCurrentInstance as getCurrentInstance$1, onMounted, nextTick, watch as watch$1, getCurrentScope, onScopeDispose, unref, ref as ref$1, readonly, computed, watchEffect, shallowRef, defineComponent, createVNode, openBlock, createBlock, onUnmounted, resolveComponent, Transition, withCtx, createCommentVNode, toDisplayString, renderSlot, render as render$6, customRef, createElementBlock, createElementVNode, cloneVNode, h as h$5, Fragment, inject, provide, Teleport, reactive, toRaw, normalizeClass, createTextVNode, renderList, withDirectives, vModelDynamic, isRef, withModifiers, normalizeStyle, withKeys, vShow, pushScopeId, popScopeId, resolveDynamicComponent, mergeProps, onBeforeMount, onBeforeUnmount, vModelText, vModelCheckbox, toRefs, useCssVars, withMemo, defineCustomElement } from "vue";
|
|
2
2
|
import { defineStore } from "pinia";
|
|
3
3
|
function tryOnScopeDispose(rr) {
|
|
4
4
|
return getCurrentScope() ? (onScopeDispose(rr), !0) : !1;
|
|
@@ -33782,7 +33782,7 @@ const ut = [
|
|
|
33782
33782
|
}, null, 10, _hoisted_1$h);
|
|
33783
33783
|
};
|
|
33784
33784
|
}
|
|
33785
|
-
}), Tracking_vue_vue_type_style_index_0_scoped_dcd7edfe_lang = "", Tracking = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-dcd7edfe"]]), _withScopeId$3 = (rr) => (pushScopeId("data-v-
|
|
33785
|
+
}), Tracking_vue_vue_type_style_index_0_scoped_dcd7edfe_lang = "", Tracking = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-dcd7edfe"]]), _withScopeId$3 = (rr) => (pushScopeId("data-v-a66df340"), rr = rr(), popScopeId(), rr), _hoisted_1$g = { class: "wbg-dt-flex wbg-dt-h-full wbg-dt-flex-col" }, _hoisted_2$a = {
|
|
33786
33786
|
key: 0,
|
|
33787
33787
|
class: "wbg-dt-flex wbg-dt-h-full wbg-dt-flex-col wbg-dt-overflow-y-auto"
|
|
33788
33788
|
}, _hoisted_3$6 = { class: "layer-card wbg-dt-list-group-item wbg-dt-m-1 wbg-dt-grid wbg-dt-items-center wbg-dt-gap-3 wbg-dt-overflow-hidden wbg-dt-rounded-wbg-dt-lg wbg-dt-border wbg-dt-border-wbg-dt-secondary-300 wbg-dt-bg-white wbg-dt-px-3 wbg-dt-py-1 wbg-dt-text-center" }, _hoisted_4$5 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("i", { class: "icon-arrange wbg-dt-justify-self-start wbg-dt-text-2xl" }, null, -1)), _hoisted_5$4 = { key: 0 }, _hoisted_6$4 = { key: 1 }, _hoisted_7$4 = { key: 2 }, _hoisted_8$3 = ["innerHTML"], _hoisted_9$1 = ["onClick"], _hoisted_10$1 = { key: 1 }, _hoisted_11$1 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("p", { class: "wbg-dt-pt-6 wbg-dt-text-center wbg-dt-text-sm wbg-dt-text-wbg-dt-secondary-500" }, " Your canvas is empty. Add new items and start organizing the layers here. ", -1)), _hoisted_12$1 = [
|
|
@@ -33792,11 +33792,11 @@ const ut = [
|
|
|
33792
33792
|
setup(rr) {
|
|
33793
33793
|
const nr = useItems(), ei = useHistory(), ti = computed({
|
|
33794
33794
|
get() {
|
|
33795
|
-
return nr.items.
|
|
33795
|
+
return nr.items.reverse();
|
|
33796
33796
|
},
|
|
33797
33797
|
set(li) {
|
|
33798
33798
|
ei.saveStepToHistory();
|
|
33799
|
-
const ci = li.
|
|
33799
|
+
const ci = li.reverse();
|
|
33800
33800
|
nr.items = ci;
|
|
33801
33801
|
}
|
|
33802
33802
|
});
|
|
@@ -33905,7 +33905,7 @@ const ut = [
|
|
|
33905
33905
|
])) : (openBlock(), createElementBlock("div", _hoisted_10$1, _hoisted_12$1))
|
|
33906
33906
|
]));
|
|
33907
33907
|
}
|
|
33908
|
-
}),
|
|
33908
|
+
}), Layer_vue_vue_type_style_index_0_scoped_a66df340_lang = "", Layer = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-a66df340"]]), _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
33909
33909
|
__name: "Tooltip",
|
|
33910
33910
|
props: {
|
|
33911
33911
|
tooltipText: {},
|
|
@@ -48902,7 +48902,9 @@ const _hoisted_1$2 = { class: "wbg-dt-z-[1001] wbg-dt-flex wbg-dt-h-max wbg-dt-i
|
|
|
48902
48902
|
createVNode(_sfc_main$2, { onSwitchEditState: pi })
|
|
48903
48903
|
], 2));
|
|
48904
48904
|
}
|
|
48905
|
-
}), PostcardDesigner_vue_vue_type_style_index_0_lang = "",
|
|
48905
|
+
}), PostcardDesigner_vue_vue_type_style_index_0_lang = "", PostcardDesignerElement = defineCustomElement(_sfc_main);
|
|
48906
|
+
customElements.define("postcard-designer", PostcardDesignerElement);
|
|
48907
|
+
const index = {
|
|
48906
48908
|
install: (rr) => {
|
|
48907
48909
|
rr.component("PostcardDesigner", _sfc_main);
|
|
48908
48910
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "designertool",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -39,15 +39,16 @@
|
|
|
39
39
|
"vue": "^3.3.4",
|
|
40
40
|
"vue-draggable-plus": "^0.3.5",
|
|
41
41
|
"vue-prism-editor": "^2.0.0-alpha.2",
|
|
42
|
+
"vue-shadow-dom": "^4.2.0",
|
|
42
43
|
"vue3-colorpicker": "^2.1.5",
|
|
43
44
|
"vue3-moveable": "^0.23.0",
|
|
44
45
|
"vue3-pdfjs": "^0.1.6",
|
|
45
|
-
"vue3-popper": "^1.5.0"
|
|
46
|
+
"vue3-popper": "^1.5.0",
|
|
47
|
+
"@popperjs/core": "^2.11.8"
|
|
46
48
|
},
|
|
47
49
|
"devDependencies": {
|
|
48
50
|
"@aesoper/normal-utils": "^0.1.5",
|
|
49
51
|
"@heroicons/vue": "^2.0.18",
|
|
50
|
-
"@popperjs/core": "^2.11.8",
|
|
51
52
|
"@tailwindcss/forms": "^0.5.3",
|
|
52
53
|
"@types/google.maps": "^3.53.4",
|
|
53
54
|
"@types/js-beautify": "^1.13.3",
|