vue-print-designer 1.7.2 → 1.7.21
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/{JsBarcode-DyuXoijA.js → JsBarcode-_iur2kwE.js} +1 -1
- package/dist/{browser-BSFJfnxU.js → browser-Cq7bivW0.js} +1 -1
- package/dist/{index-DbBo3HR_.js → index-FareAuIf.js} +1 -1
- package/dist/print-designer.es.js +1 -1
- package/dist/print-designer.umd.js +1 -1
- package/dist/{web-component-CD5QrVMc.js → web-component-I9WFZJKO.js} +11 -10
- package/package.json +1 -1
|
@@ -25669,7 +25669,7 @@ function render$B(_ctx, _cache) {
|
|
|
25669
25669
|
])]);
|
|
25670
25670
|
}
|
|
25671
25671
|
const SettingsIcon = markRaw({ name: "material-symbols-settings", render: render$B });
|
|
25672
|
-
const getPrintDesignerVersion = () => "1.7.
|
|
25672
|
+
const getPrintDesignerVersion = () => "1.7.21".trim() ? "1.7.21".trim() : "0.0.0";
|
|
25673
25673
|
const createNonce = () => {
|
|
25674
25674
|
const cryptoApi = globalThis.crypto;
|
|
25675
25675
|
if (cryptoApi == null ? void 0 : cryptoApi.randomUUID) {
|
|
@@ -31914,7 +31914,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
31914
31914
|
const renderBarcode = async () => {
|
|
31915
31915
|
if (!barcodeRef.value) return;
|
|
31916
31916
|
try {
|
|
31917
|
-
const jsBarcodeModule = await import("./JsBarcode-
|
|
31917
|
+
const jsBarcodeModule = await import("./JsBarcode-_iur2kwE.js").then((n) => n.J);
|
|
31918
31918
|
const JsBarcode = (jsBarcodeModule == null ? void 0 : jsBarcodeModule.default) || jsBarcodeModule;
|
|
31919
31919
|
const content = resolvedContent.value;
|
|
31920
31920
|
const style = props.element.style;
|
|
@@ -32089,7 +32089,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
32089
32089
|
});
|
|
32090
32090
|
const renderQR = async () => {
|
|
32091
32091
|
try {
|
|
32092
|
-
const qrcodeModule = await import("./browser-
|
|
32092
|
+
const qrcodeModule = await import("./browser-Cq7bivW0.js").then((n) => n.b);
|
|
32093
32093
|
const QRCode = (qrcodeModule == null ? void 0 : qrcodeModule.default) || qrcodeModule;
|
|
32094
32094
|
const content = resolvedContent.value;
|
|
32095
32095
|
const qualityScale = getPrintQualityScale();
|
|
@@ -37927,7 +37927,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
37927
37927
|
emits: ["update:visible", "update:value", "close", "save"],
|
|
37928
37928
|
setup(__props, { emit: __emit }) {
|
|
37929
37929
|
const Editor = /* @__PURE__ */ defineAsyncComponent(
|
|
37930
|
-
() => import("./index-
|
|
37930
|
+
() => import("./index-FareAuIf.js").then((m) => m.Editor)
|
|
37931
37931
|
);
|
|
37932
37932
|
const { t } = useI18n();
|
|
37933
37933
|
const { isDark: isDark2 } = useTheme();
|
|
@@ -44349,7 +44349,7 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
44349
44349
|
}
|
|
44350
44350
|
const GithubIcon = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$2]]);
|
|
44351
44351
|
const name = "vue-print-designer";
|
|
44352
|
-
const version = "1.7.
|
|
44352
|
+
const version = "1.7.21";
|
|
44353
44353
|
const dependencies = { "@guolao/vue-monaco-editor": "^1.6.0", "jsbarcode": "^3.12.3", "lodash": "^4.17.21", "pinia": "^2.3.0", "qrcode": "^1.5.4", "vue": "^3.5.13" };
|
|
44354
44354
|
const devDependencies = { "@iconify-json/material-symbols": "^1.2.53", "@types/jsbarcode": "^3.11.4", "@types/lodash": "^4.17.13", "@types/node": "^22.10.2", "@types/qrcode": "^1.5.6", "@vitejs/plugin-vue": "^5.2.1", "@vue/tsconfig": "^0.7.0", "autoprefixer": "^10.4.20", "postcss": "^8.4.49", "rollup-plugin-visualizer": "^7.0.1", "tailwindcss": "^3.4.17", "terser": "^5.46.1", "ts-morph": "^28.0.0", "typescript": "~5.6.2", "unplugin-icons": "^23.0.1", "vite": "^6.0.1", "vue-tsc": "^2.1.10" };
|
|
44355
44355
|
const pkg = {
|
|
@@ -47678,7 +47678,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
47678
47678
|
emits: ["update:value"],
|
|
47679
47679
|
setup(__props, { emit: __emit }) {
|
|
47680
47680
|
const Editor = /* @__PURE__ */ defineAsyncComponent(
|
|
47681
|
-
() => import("./index-
|
|
47681
|
+
() => import("./index-FareAuIf.js").then((m) => m.Editor)
|
|
47682
47682
|
);
|
|
47683
47683
|
const emit2 = __emit;
|
|
47684
47684
|
useDesignerStore();
|
|
@@ -50967,7 +50967,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
50967
50967
|
};
|
|
50968
50968
|
const renderBarcodeDataUrl = async (element) => {
|
|
50969
50969
|
try {
|
|
50970
|
-
const jsBarcodeModule = await import("./JsBarcode-
|
|
50970
|
+
const jsBarcodeModule = await import("./JsBarcode-_iur2kwE.js").then((n) => n.J);
|
|
50971
50971
|
const JsBarcode = (jsBarcodeModule == null ? void 0 : jsBarcodeModule.default) || jsBarcodeModule;
|
|
50972
50972
|
const canvas = document.createElement("canvas");
|
|
50973
50973
|
const style = element.style || {};
|
|
@@ -50994,7 +50994,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
50994
50994
|
const renderQrDataUrl = async (element) => {
|
|
50995
50995
|
var _a2, _b;
|
|
50996
50996
|
try {
|
|
50997
|
-
const qrcodeModule = await import("./browser-
|
|
50997
|
+
const qrcodeModule = await import("./browser-Cq7bivW0.js").then((n) => n.b);
|
|
50998
50998
|
const QRCode = (qrcodeModule == null ? void 0 : qrcodeModule.default) || qrcodeModule;
|
|
50999
50999
|
return await QRCode.toDataURL(getResolvedContent(element), {
|
|
51000
51000
|
margin: 0,
|
|
@@ -53657,7 +53657,7 @@ const useFloatingPanels = ({
|
|
|
53657
53657
|
templatePanelWidth.value = width;
|
|
53658
53658
|
restoredTemplatePanelLayout.value.width = true;
|
|
53659
53659
|
}
|
|
53660
|
-
if (isFiniteNumber(parsed.height)) {
|
|
53660
|
+
if (parsed.heightMode === "fixed" && isFiniteNumber(parsed.height)) {
|
|
53661
53661
|
const height = clampPreferredPanelHeight(parsed.height);
|
|
53662
53662
|
templatePanelPreferredHeight.value = height;
|
|
53663
53663
|
templatePanelHeight.value = height;
|
|
@@ -53676,7 +53676,8 @@ const useFloatingPanels = ({
|
|
|
53676
53676
|
x: templatePanelPreferredPos.value.x,
|
|
53677
53677
|
y: templatePanelPreferredPos.value.y,
|
|
53678
53678
|
width: templatePanelPreferredWidth.value,
|
|
53679
|
-
height: templatePanelPreferredHeight.value
|
|
53679
|
+
height: templatePanelPreferredHeight.value,
|
|
53680
|
+
heightMode: templatePanelHeightMode.value
|
|
53680
53681
|
})
|
|
53681
53682
|
);
|
|
53682
53683
|
} catch (error) {
|