@designcrowd/library.brand-page 5.10.2 → 5.10.3-ml-route-1
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/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +13 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.js +6 -0
- package/lib/src/index.mjs +10 -2
- package/package.json +1 -1
- package/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.ts +10 -0
- package/src/shared/background-settings/components/BackgroundSettings.vue +1 -1
|
@@ -27,6 +27,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
27
27
|
type: PropType<BrandPageMakerViewModel>;
|
|
28
28
|
required: true;
|
|
29
29
|
};
|
|
30
|
+
getLocalisedLink: {
|
|
31
|
+
type: PropType<(link: string) => string>;
|
|
32
|
+
required: false;
|
|
33
|
+
default: () => string;
|
|
34
|
+
};
|
|
30
35
|
}>, {
|
|
31
36
|
currentNotificationMessage: import("vue").ComputedRef<false | {
|
|
32
37
|
type: "error" | "success" | "warning";
|
|
@@ -1070,5 +1075,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1070
1075
|
type: PropType<BrandPageMakerViewModel>;
|
|
1071
1076
|
required: true;
|
|
1072
1077
|
};
|
|
1073
|
-
|
|
1078
|
+
getLocalisedLink: {
|
|
1079
|
+
type: PropType<(link: string) => string>;
|
|
1080
|
+
required: false;
|
|
1081
|
+
default: () => string;
|
|
1082
|
+
};
|
|
1083
|
+
}>> & Readonly<{}>, {
|
|
1084
|
+
getLocalisedLink: (link: string) => string;
|
|
1085
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1074
1086
|
export default _default;
|
|
@@ -26,6 +26,11 @@ export default defineComponent({
|
|
|
26
26
|
type: Object,
|
|
27
27
|
required: true,
|
|
28
28
|
},
|
|
29
|
+
getLocalisedLink: {
|
|
30
|
+
type: Function,
|
|
31
|
+
required: false,
|
|
32
|
+
default: () => 'wrongLink',
|
|
33
|
+
},
|
|
29
34
|
},
|
|
30
35
|
setup() {
|
|
31
36
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
@@ -106,6 +111,7 @@ export default defineComponent({
|
|
|
106
111
|
FabricRenderClient.setInstance({
|
|
107
112
|
baseUrl: this.containerStore.baseFabricRenderUrl,
|
|
108
113
|
});
|
|
114
|
+
console.log('this is in the bp', this.getLocalisedLink('/business-cards/search', 'fr-FR'));
|
|
109
115
|
await this.brandPageMakerStore.initialise({
|
|
110
116
|
brandPage,
|
|
111
117
|
emailAddress: this.viewModel.emailAddress,
|
package/lib/src/index.mjs
CHANGED
|
@@ -75895,7 +75895,7 @@ const tp = /* @__PURE__ */ b(qN1, [["render", WN1]]), jN1 = { "data-test-tag": "
|
|
|
75895
75895
|
onOnSelectImage: O
|
|
75896
75896
|
})) : $1(N.$slots, "library-image-upgrade", { key: 1 })
|
|
75897
75897
|
])) : k("", !0),
|
|
75898
|
-
M.activeTab === "shapes" ? (C(), f("div", nR1, [
|
|
75898
|
+
M.activeTab === "shapes" && !d.value ? (C(), f("div", nR1, [
|
|
75899
75899
|
V(QC, { onOnSelectImage: O })
|
|
75900
75900
|
])) : k("", !0)
|
|
75901
75901
|
])
|
|
@@ -90120,6 +90120,11 @@ const v9e = /* @__PURE__ */ b(j5e, [["render", b9e]]), S9e = 100, oS = J({
|
|
|
90120
90120
|
viewModel: {
|
|
90121
90121
|
type: Object,
|
|
90122
90122
|
required: !0
|
|
90123
|
+
},
|
|
90124
|
+
getLocalisedLink: {
|
|
90125
|
+
type: Function,
|
|
90126
|
+
required: !1,
|
|
90127
|
+
default: () => "wrongLink"
|
|
90123
90128
|
}
|
|
90124
90129
|
},
|
|
90125
90130
|
setup() {
|
|
@@ -90194,7 +90199,10 @@ const v9e = /* @__PURE__ */ b(j5e, [["render", b9e]]), S9e = 100, oS = J({
|
|
|
90194
90199
|
throw new Error("base fabric render url is undefined");
|
|
90195
90200
|
Ft.setInstance({
|
|
90196
90201
|
baseUrl: this.containerStore.baseFabricRenderUrl
|
|
90197
|
-
}),
|
|
90202
|
+
}), console.log(
|
|
90203
|
+
"this is in the bp",
|
|
90204
|
+
this.getLocalisedLink("/business-cards/search", "fr-FR")
|
|
90205
|
+
), await this.brandPageMakerStore.initialise({
|
|
90198
90206
|
brandPage: e,
|
|
90199
90207
|
emailAddress: this.viewModel.emailAddress,
|
|
90200
90208
|
features: this.viewModel.features,
|
package/package.json
CHANGED
|
@@ -68,6 +68,11 @@ export default defineComponent({
|
|
|
68
68
|
type: Object as PropType<BrandPageMakerViewModel>,
|
|
69
69
|
required: true,
|
|
70
70
|
},
|
|
71
|
+
getLocalisedLink: {
|
|
72
|
+
type: Function as PropType<(link: string) => string>,
|
|
73
|
+
required: false,
|
|
74
|
+
default: () => 'wrongLink',
|
|
75
|
+
},
|
|
71
76
|
},
|
|
72
77
|
setup() {
|
|
73
78
|
const brandPageMakerStore = useBrandPageMakerStore();
|
|
@@ -169,6 +174,11 @@ export default defineComponent({
|
|
|
169
174
|
baseUrl: this.containerStore.baseFabricRenderUrl,
|
|
170
175
|
});
|
|
171
176
|
|
|
177
|
+
console.log(
|
|
178
|
+
'this is in the bp',
|
|
179
|
+
this.getLocalisedLink('/business-cards/search', 'fr-FR'),
|
|
180
|
+
);
|
|
181
|
+
|
|
172
182
|
await this.brandPageMakerStore.initialise({
|
|
173
183
|
brandPage,
|
|
174
184
|
emailAddress: this.viewModel.emailAddress,
|