@feedmepos/mf-brand-app-builder 0.5.30-dev.9 → 0.5.31-dev.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/dist/{App-Bk0v4iV_.js → App-zTaAuGBa.js} +1 -1
- package/dist/BrandkitView-ByEGKUWe.js +11997 -0
- package/dist/{BuilderView-Bgpu_y54.js → BuilderView-Dbn0EFvV.js} +2 -2
- package/dist/{ImageUpload-SmpIy75T.js → ImageUpload-CT8vpE54.js} +1 -1
- package/dist/{ListRepeater-BrgO9Czv.js → ListRepeater-BJVdDa65.js} +1 -1
- package/dist/{app-BnpB2s4j.js → app-D_n3qedF.js} +87 -15
- package/dist/app.js +1 -1
- package/dist/brand-core/src/entity.d.ts +3 -2
- package/dist/client/merchant/src/app.d.ts +82 -10
- package/dist/client/merchant/src/composables/useBusinessFeatureFlag.d.ts +19 -0
- package/dist/{main-BnzFvnTW.js → main-B40tnqQm.js} +225 -217
- package/dist/package.json +2 -1
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/dist/BrandkitView-BZyKs99M.js +0 -11066
|
@@ -7,13 +7,13 @@ import { v as Ra } from "./v4-CKwdnpQf.js";
|
|
|
7
7
|
import { _ as ho } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
8
8
|
import { B as sn } from "./BaDivider-Cp9gfB4r.js";
|
|
9
9
|
import { useI18n as Ze, useCoreStore as We } from "@feedmepos/mf-common";
|
|
10
|
-
import { C as $a, _ as yo, a as vo } from "./main-
|
|
10
|
+
import { C as $a, _ as yo, a as vo } from "./main-B40tnqQm.js";
|
|
11
11
|
import { useDialog as To, components as xo, useSnackbar as Co } from "@feedmepos/ui-library";
|
|
12
12
|
import { useRouter as dn } from "vue-router";
|
|
13
13
|
import { u as Ia, a as _o, b as wo } from "./brandkit-C8uulbNE.js";
|
|
14
14
|
import { u as Ea } from "./index-C1rSMuKA.js";
|
|
15
15
|
import { K as Io, V as Eo } from "./vue-sonner-CBFYmm8_.js";
|
|
16
|
-
import { F as So, a as Ao } from "./app-
|
|
16
|
+
import { F as So, a as Ao } from "./app-D_n3qedF.js";
|
|
17
17
|
/**!
|
|
18
18
|
* Sortable 1.14.0
|
|
19
19
|
* @author RubaXa <trash@rubaxa.org>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, ref as b, resolveComponent as w, createElementBlock as r, openBlock as s, createVNode as c, createCommentVNode as f, Fragment as C, createElementVNode as i, unref as u } from "vue";
|
|
2
2
|
import { r as g, I as h } from "./image-D_Djf1PS.js";
|
|
3
3
|
import { useCoreStore as I } from "@feedmepos/mf-common";
|
|
4
|
-
import "./main-
|
|
4
|
+
import "./main-B40tnqQm.js";
|
|
5
5
|
import { _ as $ } from "./Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js";
|
|
6
6
|
import { C as k } from "./CircularProgress-DdblYCtV.js";
|
|
7
7
|
import { v as F } from "./v4-CKwdnpQf.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, resolveComponent as y, createBlock as s, openBlock as c, unref as u, withCtx as i, createElementBlock as m, Fragment as x, renderList as g, createElementVNode as p, createVNode as n, resolveDynamicComponent as F } from "vue";
|
|
2
|
-
import { F as f } from "./app-
|
|
2
|
+
import { F as f } from "./app-D_n3qedF.js";
|
|
3
3
|
const h = { class: "flex justify-end gap-4 items-center w-full py-16 px-12 border-b" }, z = { class: "flex flex-col gap-4 w-full p-12" }, I = /* @__PURE__ */ b({
|
|
4
4
|
__name: "ListRepeater",
|
|
5
5
|
props: {
|
|
@@ -16,6 +16,7 @@ const wn = {
|
|
|
16
16
|
subtitle: "Brandkit Settings",
|
|
17
17
|
description: "Manage your brand's colors and fonts for your mini program.",
|
|
18
18
|
save: "Save",
|
|
19
|
+
unsavedChanges: "You have unsaved changes",
|
|
19
20
|
logo: "Logo",
|
|
20
21
|
color: {
|
|
21
22
|
_: "Colors",
|
|
@@ -181,6 +182,16 @@ const wn = {
|
|
|
181
182
|
addStylesheet: "Add stylesheet",
|
|
182
183
|
noStylesheetsYet: "No font stylesheets added yet."
|
|
183
184
|
},
|
|
185
|
+
fontAssignment: {
|
|
186
|
+
title: "Font assignment",
|
|
187
|
+
description: "Set the font family used for each role. Make sure the font is loaded via a stylesheet above.",
|
|
188
|
+
brand: "Brand font",
|
|
189
|
+
brandDescription: "Primary font used across the application.",
|
|
190
|
+
heading: "Heading font",
|
|
191
|
+
headingDescription: "Font used for headings. Falls back to brand font if empty.",
|
|
192
|
+
body: "Body font",
|
|
193
|
+
bodyDescription: "Font used for body text. Falls back to brand font if empty."
|
|
194
|
+
},
|
|
184
195
|
plugins: {
|
|
185
196
|
customLayout: "Custom layout (Admin only)",
|
|
186
197
|
customLayoutDescription: "Customize layout with advanced json syntax",
|
|
@@ -735,6 +746,7 @@ const wn = {
|
|
|
735
746
|
subtitle: "品牌工具包设置",
|
|
736
747
|
description: "管理您的品牌小程序的颜色和字体。",
|
|
737
748
|
save: "保存",
|
|
749
|
+
unsavedChanges: "您有未保存的更改",
|
|
738
750
|
logo: "标志",
|
|
739
751
|
color: {
|
|
740
752
|
_: "颜色",
|
|
@@ -901,6 +913,16 @@ const wn = {
|
|
|
901
913
|
addStylesheet: "添加样式表",
|
|
902
914
|
noStylesheetsYet: "尚未添加字体样式表。"
|
|
903
915
|
},
|
|
916
|
+
fontAssignment: {
|
|
917
|
+
title: "字体指派",
|
|
918
|
+
description: "设置每个角色使用的字体系列。请确保字体已通过上方的样式表加载。",
|
|
919
|
+
brand: "品牌字体",
|
|
920
|
+
brandDescription: "应用程序中使用的主要字体。",
|
|
921
|
+
heading: "标题字体",
|
|
922
|
+
headingDescription: "用于标题的字体。留空则使用品牌字体。",
|
|
923
|
+
body: "正文字体",
|
|
924
|
+
bodyDescription: "用于正文的字体。留空则使用品牌字体。"
|
|
925
|
+
},
|
|
904
926
|
plugins: {
|
|
905
927
|
customLayout: "自定义布局(仅管理员)",
|
|
906
928
|
customLayoutDescription: "使用高级 JSON 语法自定义布局",
|
|
@@ -1460,6 +1482,7 @@ const wn = {
|
|
|
1460
1482
|
subtitle: "品牌工具包設置",
|
|
1461
1483
|
description: "管理您的品牌小程序的顔色和字體。",
|
|
1462
1484
|
save: "保存",
|
|
1485
|
+
unsavedChanges: "您有未保存的更改",
|
|
1463
1486
|
logo: "標志",
|
|
1464
1487
|
color: {
|
|
1465
1488
|
_: "顔色",
|
|
@@ -1626,6 +1649,16 @@ const wn = {
|
|
|
1626
1649
|
addStylesheet: "新增樣式表",
|
|
1627
1650
|
noStylesheetsYet: "尚未新增字型樣式表。"
|
|
1628
1651
|
},
|
|
1652
|
+
fontAssignment: {
|
|
1653
|
+
title: "字型指派",
|
|
1654
|
+
description: "設定每個角色使用的字型系列。請確保字型已透過上方的樣式表載入。",
|
|
1655
|
+
brand: "品牌字型",
|
|
1656
|
+
brandDescription: "應用程式中使用的主要字型。",
|
|
1657
|
+
heading: "標題字型",
|
|
1658
|
+
headingDescription: "用於標題的字型。留空則使用品牌字型。",
|
|
1659
|
+
body: "內文字型",
|
|
1660
|
+
bodyDescription: "用於內文的字型。留空則使用品牌字型。"
|
|
1661
|
+
},
|
|
1629
1662
|
plugins: {
|
|
1630
1663
|
customLayout: "自訂佈局(僅管理員)",
|
|
1631
1664
|
customLayoutDescription: "使用進階 JSON 語法自訂佈局",
|
|
@@ -2180,6 +2213,7 @@ const wn = {
|
|
|
2180
2213
|
subtitle: "การตั้งค่า Brandkit",
|
|
2181
2214
|
description: "จัดการสีและฟอนต์ของแบรนด์สำหรับมินิโปรแกรมของคุณ",
|
|
2182
2215
|
save: "บันทึก",
|
|
2216
|
+
unsavedChanges: "คุณมีการเปลี่ยนแปลงที่ยังไม่ได้บันทึก",
|
|
2183
2217
|
logo: "โลโก้",
|
|
2184
2218
|
color: {
|
|
2185
2219
|
_: "สี",
|
|
@@ -2346,6 +2380,16 @@ const wn = {
|
|
|
2346
2380
|
addStylesheet: "เพิ่มสไตล์ชีท",
|
|
2347
2381
|
noStylesheetsYet: "ยังไม่ได้เพิ่มสไตล์ชีทฟอนต์"
|
|
2348
2382
|
},
|
|
2383
|
+
fontAssignment: {
|
|
2384
|
+
title: "การกำหนดฟอนต์",
|
|
2385
|
+
description: "ตั้งค่าฟอนต์แฟมิลีที่ใช้สำหรับแต่ละบทบาท ตรวจสอบให้แน่ใจว่าโหลดฟอนต์ผ่านสไตล์ชีทด้านบนแล้ว",
|
|
2386
|
+
brand: "ฟอนต์แบรนด์",
|
|
2387
|
+
brandDescription: "ฟอนต์หลักที่ใช้ในแอปพลิเคชัน",
|
|
2388
|
+
heading: "ฟอนต์หัวข้อ",
|
|
2389
|
+
headingDescription: "ฟอนต์ที่ใช้สำหรับหัวข้อ ถ้าเว้นว่างจะใช้ฟอนต์แบรนด์",
|
|
2390
|
+
body: "ฟอนต์เนื้อหา",
|
|
2391
|
+
bodyDescription: "ฟอนต์ที่ใช้สำหรับเนื้อหา ถ้าเว้นว่างจะใช้ฟอนต์แบรนด์"
|
|
2392
|
+
},
|
|
2349
2393
|
plugins: {
|
|
2350
2394
|
customLayout: "เลย์เอาต์กำหนดเอง (เฉพาะผู้ดูแลระบบ)",
|
|
2351
2395
|
customLayoutDescription: "ปรับแต่งเลย์เอาต์ด้วยไวยากรณ์ JSON ขั้นสูง",
|
|
@@ -3061,6 +3105,7 @@ const wn = {
|
|
|
3061
3105
|
subtitle: "브랜드 키트 설정",
|
|
3062
3106
|
description: "미니 프로그램을 위한 브랜드 색상과 폰트를 관리하세요.",
|
|
3063
3107
|
save: "저장",
|
|
3108
|
+
unsavedChanges: "저장되지 않은 변경 사항이 있습니다",
|
|
3064
3109
|
logo: "로고",
|
|
3065
3110
|
color: {
|
|
3066
3111
|
_: "색상",
|
|
@@ -3226,6 +3271,16 @@ const wn = {
|
|
|
3226
3271
|
addStylesheet: "스타일시트 추가",
|
|
3227
3272
|
noStylesheetsYet: "아직 폰트 스타일시트가 추가되지 않았습니다."
|
|
3228
3273
|
},
|
|
3274
|
+
fontAssignment: {
|
|
3275
|
+
title: "폰트 지정",
|
|
3276
|
+
description: "각 역할에 사용할 폰트 패밀리를 설정하세요. 위의 스타일시트를 통해 폰트가 로드되었는지 확인하세요.",
|
|
3277
|
+
brand: "브랜드 폰트",
|
|
3278
|
+
brandDescription: "애플리케이션 전체에서 사용되는 기본 폰트입니다.",
|
|
3279
|
+
heading: "제목 폰트",
|
|
3280
|
+
headingDescription: "제목에 사용되는 폰트입니다. 비어있으면 브랜드 폰트를 사용합니다.",
|
|
3281
|
+
body: "본문 폰트",
|
|
3282
|
+
bodyDescription: "본문 텍스트에 사용되는 폰트입니다. 비어있으면 브랜드 폰트를 사용합니다."
|
|
3283
|
+
},
|
|
3229
3284
|
plugins: {
|
|
3230
3285
|
customLayout: "사용자 지정 레이아웃 (관리자 전용)",
|
|
3231
3286
|
customLayoutDescription: "고급 JSON 구문으로 레이아웃을 사용자 지정합니다",
|
|
@@ -3947,6 +4002,7 @@ const wn = {
|
|
|
3947
4002
|
subtitle: "Cài đặt bộ nhận diện thương hiệu",
|
|
3948
4003
|
description: "Quản lý màu sắc và phông chữ thương hiệu của bạn cho chương trình nhỏ.",
|
|
3949
4004
|
save: "Lưu",
|
|
4005
|
+
unsavedChanges: "Bạn có thay đổi chưa được lưu",
|
|
3950
4006
|
logo: "Logo",
|
|
3951
4007
|
color: {
|
|
3952
4008
|
_: "Màu sắc",
|
|
@@ -4112,6 +4168,16 @@ const wn = {
|
|
|
4112
4168
|
addStylesheet: "Thêm bảng kiểu",
|
|
4113
4169
|
noStylesheetsYet: "Chưa thêm bảng kiểu phông chữ nào."
|
|
4114
4170
|
},
|
|
4171
|
+
fontAssignment: {
|
|
4172
|
+
title: "Gán phông chữ",
|
|
4173
|
+
description: "Đặt họ phông chữ được sử dụng cho từng vai trò. Đảm bảo phông chữ đã được tải qua bảng kiểu ở trên.",
|
|
4174
|
+
brand: "Phông chữ thương hiệu",
|
|
4175
|
+
brandDescription: "Phông chữ chính được sử dụng trong ứng dụng.",
|
|
4176
|
+
heading: "Phông chữ tiêu đề",
|
|
4177
|
+
headingDescription: "Phông chữ dùng cho tiêu đề. Để trống sẽ dùng phông chữ thương hiệu.",
|
|
4178
|
+
body: "Phông chữ nội dung",
|
|
4179
|
+
bodyDescription: "Phông chữ dùng cho nội dung. Để trống sẽ dùng phông chữ thương hiệu."
|
|
4180
|
+
},
|
|
4115
4181
|
plugins: {
|
|
4116
4182
|
customLayout: "Bố cục tùy chỉnh (Chỉ quản trị viên)",
|
|
4117
4183
|
customLayoutDescription: "Tùy chỉnh bố cục với cú pháp JSON nâng cao",
|
|
@@ -5116,6 +5182,7 @@ const wn = {
|
|
|
5116
5182
|
titles: "{count} titles: {names}",
|
|
5117
5183
|
pointsPrice: "{points} points",
|
|
5118
5184
|
or: "or",
|
|
5185
|
+
discount: "Save {discount}",
|
|
5119
5186
|
redeemSuccess: "{name} successfully redeemed",
|
|
5120
5187
|
purchaseCompleted: "Purchase Completed",
|
|
5121
5188
|
purchaseSuccessful: "Your purchase was successful!",
|
|
@@ -5589,6 +5656,9 @@ const wn = {
|
|
|
5589
5656
|
emptyTitle: "商店套餐将显示在这里!",
|
|
5590
5657
|
emptySubtitle: "目前没有可兑换的套餐。请稍后查看!",
|
|
5591
5658
|
bundle: {
|
|
5659
|
+
pointsPrice: "{points}点数",
|
|
5660
|
+
or: "或",
|
|
5661
|
+
discount: "节省 {discount}",
|
|
5592
5662
|
stripeLabel: "使用Stripe订阅",
|
|
5593
5663
|
pointsLabel: "点数",
|
|
5594
5664
|
redeemTitle: "兑换",
|
|
@@ -5617,8 +5687,6 @@ const wn = {
|
|
|
5617
5687
|
credit: "积分:{count}积分",
|
|
5618
5688
|
vouchers: "{count}张优惠券:{names}",
|
|
5619
5689
|
titles: "{count}个称号:{names}",
|
|
5620
|
-
pointsPrice: "{points}点数",
|
|
5621
|
-
or: "或",
|
|
5622
5690
|
redeemSuccess: "{name}兑换成功",
|
|
5623
5691
|
purchaseCompleted: "购买完成",
|
|
5624
5692
|
purchaseSuccessful: "您的购买已成功!",
|
|
@@ -6121,6 +6189,9 @@ const wn = {
|
|
|
6121
6189
|
emptyTitle: "商店套餐將顯示在這裡!",
|
|
6122
6190
|
emptySubtitle: "目前沒有可兌換的套餐。請稍後查看!",
|
|
6123
6191
|
bundle: {
|
|
6192
|
+
pointsPrice: "{points}點數",
|
|
6193
|
+
or: "或",
|
|
6194
|
+
discount: "節省 {discount}",
|
|
6124
6195
|
stripeLabel: "使用Stripe訂閱",
|
|
6125
6196
|
pointsLabel: "點數",
|
|
6126
6197
|
redeemTitle: "兌換",
|
|
@@ -6149,8 +6220,6 @@ const wn = {
|
|
|
6149
6220
|
credit: "積分:{count}積分",
|
|
6150
6221
|
vouchers: "{count}張優惠券:{names}",
|
|
6151
6222
|
titles: "{count}個稱號:{names}",
|
|
6152
|
-
pointsPrice: "{points}點數",
|
|
6153
|
-
or: "或",
|
|
6154
6223
|
redeemSuccess: "{name}兌換成功",
|
|
6155
6224
|
purchaseCompleted: "購買完成",
|
|
6156
6225
|
purchaseSuccessful: "您的購買已成功!",
|
|
@@ -6630,6 +6699,9 @@ const wn = {
|
|
|
6630
6699
|
emptyTitle: "แพ็คเกจร้านค้าจะปรากฏที่นี่!",
|
|
6631
6700
|
emptySubtitle: "ไม่มีแพ็คเกจที่สามารถแลกได้ในขณะนี้ กลับมาดูใหม่ภายหลัง!",
|
|
6632
6701
|
bundle: {
|
|
6702
|
+
pointsPrice: "{points} คะแนน",
|
|
6703
|
+
or: "หรือ",
|
|
6704
|
+
discount: "ประหยัด {discount}",
|
|
6633
6705
|
stripeLabel: "สมัครด้วย Stripe",
|
|
6634
6706
|
pointsLabel: "คะแนน",
|
|
6635
6707
|
redeemTitle: "แลก",
|
|
@@ -6658,8 +6730,6 @@ const wn = {
|
|
|
6658
6730
|
credit: "เครดิต: {count} เครดิต",
|
|
6659
6731
|
vouchers: "{count} คูปอง: {names}",
|
|
6660
6732
|
titles: "{count} ตำแหน่ง: {names}",
|
|
6661
|
-
pointsPrice: "{points} คะแนน",
|
|
6662
|
-
or: "หรือ",
|
|
6663
6733
|
redeemSuccess: "แลก {name} สำเร็จ",
|
|
6664
6734
|
purchaseCompleted: "การซื้อเสร็จสิ้น",
|
|
6665
6735
|
purchaseSuccessful: "การซื้อของคุณสำเร็จแล้ว!",
|
|
@@ -7179,6 +7249,9 @@ const wn = {
|
|
|
7179
7249
|
emptyTitle: "스토어 번들이 여기에 표시됩니다!",
|
|
7180
7250
|
emptySubtitle: "현재 교환 가능한 번들이 없습니다. 나중에 다시 확인해주세요!",
|
|
7181
7251
|
bundle: {
|
|
7252
|
+
pointsPrice: "{points} 포인트",
|
|
7253
|
+
or: "또는",
|
|
7254
|
+
discount: "{discount} 할인",
|
|
7182
7255
|
stripeLabel: "Stripe로 구독",
|
|
7183
7256
|
pointsLabel: "포인트",
|
|
7184
7257
|
redeemTitle: "교환",
|
|
@@ -7207,8 +7280,6 @@ const wn = {
|
|
|
7207
7280
|
credit: "크레딧: {count} 크레딧",
|
|
7208
7281
|
vouchers: "{count} 쿠폰: {names}",
|
|
7209
7282
|
titles: "{count} 칭호: {names}",
|
|
7210
|
-
pointsPrice: "{points} 포인트",
|
|
7211
|
-
or: "또는",
|
|
7212
7283
|
redeemSuccess: "{name} 교환 성공",
|
|
7213
7284
|
purchaseCompleted: "구매 완료",
|
|
7214
7285
|
purchaseSuccessful: "구매가 성공적으로 완료되었습니다!",
|
|
@@ -7720,6 +7791,9 @@ const wn = {
|
|
|
7720
7791
|
emptyTitle: "Các gói cửa hàng sẽ xuất hiện ở đây!",
|
|
7721
7792
|
emptySubtitle: "Hiện không có gói nào có thể đổi. Hãy kiểm tra lại sau!",
|
|
7722
7793
|
bundle: {
|
|
7794
|
+
pointsPrice: "{points} điểm",
|
|
7795
|
+
or: "hoặc",
|
|
7796
|
+
discount: "Tiết kiệm {discount}",
|
|
7723
7797
|
stripeLabel: "Đăng ký với Stripe",
|
|
7724
7798
|
pointsLabel: "Điểm",
|
|
7725
7799
|
redeemTitle: "Đổi",
|
|
@@ -7748,8 +7822,6 @@ const wn = {
|
|
|
7748
7822
|
credit: "Tín dụng: {count} tín dụng",
|
|
7749
7823
|
vouchers: "{count} phiếu giảm giá: {names}",
|
|
7750
7824
|
titles: "{count} danh hiệu: {names}",
|
|
7751
|
-
pointsPrice: "{points} điểm",
|
|
7752
|
-
or: "hoặc",
|
|
7753
7825
|
redeemSuccess: "Đổi {name} thành công",
|
|
7754
7826
|
purchaseCompleted: "Giao dịch hoàn tất",
|
|
7755
7827
|
purchaseSuccessful: "Giao dịch của bạn đã thành công!",
|
|
@@ -7807,7 +7879,7 @@ const wn = {
|
|
|
7807
7879
|
{
|
|
7808
7880
|
path: "/",
|
|
7809
7881
|
name: "brandkit",
|
|
7810
|
-
component: H(() => import("./BrandkitView-
|
|
7882
|
+
component: H(() => import("./BrandkitView-ByEGKUWe.js"))
|
|
7811
7883
|
},
|
|
7812
7884
|
{
|
|
7813
7885
|
path: "/projects",
|
|
@@ -7822,7 +7894,7 @@ const wn = {
|
|
|
7822
7894
|
path: ":templateId(.*)*",
|
|
7823
7895
|
name: "builder",
|
|
7824
7896
|
component: H(
|
|
7825
|
-
() => import("./BuilderView-
|
|
7897
|
+
() => import("./BuilderView-Dbn0EFvV.js")
|
|
7826
7898
|
)
|
|
7827
7899
|
}
|
|
7828
7900
|
]
|
|
@@ -12523,7 +12595,7 @@ const Pc = (e) => {
|
|
|
12523
12595
|
),
|
|
12524
12596
|
BaListRepeater: K(
|
|
12525
12597
|
H(
|
|
12526
|
-
() => import("./ListRepeater-
|
|
12598
|
+
() => import("./ListRepeater-BJVdDa65.js")
|
|
12527
12599
|
)
|
|
12528
12600
|
),
|
|
12529
12601
|
BaTextStyleList: K(
|
|
@@ -12543,7 +12615,7 @@ const Pc = (e) => {
|
|
|
12543
12615
|
),
|
|
12544
12616
|
BaImageUpload: K(
|
|
12545
12617
|
H(
|
|
12546
|
-
() => import("./ImageUpload-
|
|
12618
|
+
() => import("./ImageUpload-CT8vpE54.js")
|
|
12547
12619
|
),
|
|
12548
12620
|
{ props: ["ignoreUpdate"] }
|
|
12549
12621
|
),
|
|
@@ -12571,7 +12643,7 @@ const Pc = (e) => {
|
|
|
12571
12643
|
"th-TH": { ...xn, ...yr },
|
|
12572
12644
|
"ko-KR": { ...En, ...wr },
|
|
12573
12645
|
"vi-VN": { ...zn, ...Mr }
|
|
12574
|
-
}, $c = H(() => import("./App-
|
|
12646
|
+
}, $c = H(() => import("./App-zTaAuGBa.js"));
|
|
12575
12647
|
export {
|
|
12576
12648
|
hn as F,
|
|
12577
12649
|
pn as a,
|
package/dist/app.js
CHANGED
|
@@ -191,11 +191,12 @@ export type ApplyBrandKitOptions = {
|
|
|
191
191
|
export type FdoMetadata = {
|
|
192
192
|
type: 'BUSINESS' | 'RESTAURANT';
|
|
193
193
|
country: string;
|
|
194
|
-
|
|
194
|
+
businessId?: string;
|
|
195
|
+
pwaConfig?: {
|
|
195
196
|
short_name: string;
|
|
196
197
|
name: string;
|
|
197
198
|
background_color: string;
|
|
198
199
|
theme_color: string;
|
|
199
200
|
};
|
|
200
|
-
brandkit
|
|
201
|
+
brandkit?: BrandKit | null;
|
|
201
202
|
};
|
|
@@ -462,6 +462,7 @@ export declare const i18nMessages: {
|
|
|
462
462
|
titles: string;
|
|
463
463
|
pointsPrice: string;
|
|
464
464
|
or: string;
|
|
465
|
+
discount: string;
|
|
465
466
|
redeemSuccess: string;
|
|
466
467
|
purchaseCompleted: string;
|
|
467
468
|
purchaseSuccessful: string;
|
|
@@ -528,6 +529,7 @@ export declare const i18nMessages: {
|
|
|
528
529
|
subtitle: string;
|
|
529
530
|
description: string;
|
|
530
531
|
save: string;
|
|
532
|
+
unsavedChanges: string;
|
|
531
533
|
logo: string;
|
|
532
534
|
color: {
|
|
533
535
|
_: string;
|
|
@@ -693,6 +695,16 @@ export declare const i18nMessages: {
|
|
|
693
695
|
addStylesheet: string;
|
|
694
696
|
noStylesheetsYet: string;
|
|
695
697
|
};
|
|
698
|
+
fontAssignment: {
|
|
699
|
+
title: string;
|
|
700
|
+
description: string;
|
|
701
|
+
brand: string;
|
|
702
|
+
brandDescription: string;
|
|
703
|
+
heading: string;
|
|
704
|
+
headingDescription: string;
|
|
705
|
+
body: string;
|
|
706
|
+
bodyDescription: string;
|
|
707
|
+
};
|
|
696
708
|
plugins: {
|
|
697
709
|
customLayout: string;
|
|
698
710
|
customLayoutDescription: string;
|
|
@@ -1654,6 +1666,9 @@ export declare const i18nMessages: {
|
|
|
1654
1666
|
emptyTitle: string;
|
|
1655
1667
|
emptySubtitle: string;
|
|
1656
1668
|
bundle: {
|
|
1669
|
+
pointsPrice: string;
|
|
1670
|
+
or: string;
|
|
1671
|
+
discount: string;
|
|
1657
1672
|
stripeLabel: string;
|
|
1658
1673
|
pointsLabel: string;
|
|
1659
1674
|
redeemTitle: string;
|
|
@@ -1682,8 +1697,6 @@ export declare const i18nMessages: {
|
|
|
1682
1697
|
credit: string;
|
|
1683
1698
|
vouchers: string;
|
|
1684
1699
|
titles: string;
|
|
1685
|
-
pointsPrice: string;
|
|
1686
|
-
or: string;
|
|
1687
1700
|
redeemSuccess: string;
|
|
1688
1701
|
purchaseCompleted: string;
|
|
1689
1702
|
purchaseSuccessful: string;
|
|
@@ -1781,6 +1794,7 @@ export declare const i18nMessages: {
|
|
|
1781
1794
|
subtitle: string;
|
|
1782
1795
|
description: string;
|
|
1783
1796
|
save: string;
|
|
1797
|
+
unsavedChanges: string;
|
|
1784
1798
|
logo: string;
|
|
1785
1799
|
color: {
|
|
1786
1800
|
_: string;
|
|
@@ -1947,6 +1961,16 @@ export declare const i18nMessages: {
|
|
|
1947
1961
|
addStylesheet: string;
|
|
1948
1962
|
noStylesheetsYet: string;
|
|
1949
1963
|
};
|
|
1964
|
+
fontAssignment: {
|
|
1965
|
+
title: string;
|
|
1966
|
+
description: string;
|
|
1967
|
+
brand: string;
|
|
1968
|
+
brandDescription: string;
|
|
1969
|
+
heading: string;
|
|
1970
|
+
headingDescription: string;
|
|
1971
|
+
body: string;
|
|
1972
|
+
bodyDescription: string;
|
|
1973
|
+
};
|
|
1950
1974
|
plugins: {
|
|
1951
1975
|
customLayout: string;
|
|
1952
1976
|
customLayoutDescription: string;
|
|
@@ -2906,6 +2930,9 @@ export declare const i18nMessages: {
|
|
|
2906
2930
|
emptyTitle: string;
|
|
2907
2931
|
emptySubtitle: string;
|
|
2908
2932
|
bundle: {
|
|
2933
|
+
pointsPrice: string;
|
|
2934
|
+
or: string;
|
|
2935
|
+
discount: string;
|
|
2909
2936
|
stripeLabel: string;
|
|
2910
2937
|
pointsLabel: string;
|
|
2911
2938
|
redeemTitle: string;
|
|
@@ -2934,8 +2961,6 @@ export declare const i18nMessages: {
|
|
|
2934
2961
|
credit: string;
|
|
2935
2962
|
vouchers: string;
|
|
2936
2963
|
titles: string;
|
|
2937
|
-
pointsPrice: string;
|
|
2938
|
-
or: string;
|
|
2939
2964
|
redeemSuccess: string;
|
|
2940
2965
|
purchaseCompleted: string;
|
|
2941
2966
|
purchaseSuccessful: string;
|
|
@@ -3010,6 +3035,7 @@ export declare const i18nMessages: {
|
|
|
3010
3035
|
subtitle: string;
|
|
3011
3036
|
description: string;
|
|
3012
3037
|
save: string;
|
|
3038
|
+
unsavedChanges: string;
|
|
3013
3039
|
logo: string;
|
|
3014
3040
|
color: {
|
|
3015
3041
|
_: string;
|
|
@@ -3176,6 +3202,16 @@ export declare const i18nMessages: {
|
|
|
3176
3202
|
addStylesheet: string;
|
|
3177
3203
|
noStylesheetsYet: string;
|
|
3178
3204
|
};
|
|
3205
|
+
fontAssignment: {
|
|
3206
|
+
title: string;
|
|
3207
|
+
description: string;
|
|
3208
|
+
brand: string;
|
|
3209
|
+
brandDescription: string;
|
|
3210
|
+
heading: string;
|
|
3211
|
+
headingDescription: string;
|
|
3212
|
+
body: string;
|
|
3213
|
+
bodyDescription: string;
|
|
3214
|
+
};
|
|
3179
3215
|
plugins: {
|
|
3180
3216
|
customLayout: string;
|
|
3181
3217
|
customLayoutDescription: string;
|
|
@@ -4135,6 +4171,9 @@ export declare const i18nMessages: {
|
|
|
4135
4171
|
emptyTitle: string;
|
|
4136
4172
|
emptySubtitle: string;
|
|
4137
4173
|
bundle: {
|
|
4174
|
+
pointsPrice: string;
|
|
4175
|
+
or: string;
|
|
4176
|
+
discount: string;
|
|
4138
4177
|
stripeLabel: string;
|
|
4139
4178
|
pointsLabel: string;
|
|
4140
4179
|
redeemTitle: string;
|
|
@@ -4163,8 +4202,6 @@ export declare const i18nMessages: {
|
|
|
4163
4202
|
credit: string;
|
|
4164
4203
|
vouchers: string;
|
|
4165
4204
|
titles: string;
|
|
4166
|
-
pointsPrice: string;
|
|
4167
|
-
or: string;
|
|
4168
4205
|
redeemSuccess: string;
|
|
4169
4206
|
purchaseCompleted: string;
|
|
4170
4207
|
purchaseSuccessful: string;
|
|
@@ -4239,6 +4276,7 @@ export declare const i18nMessages: {
|
|
|
4239
4276
|
subtitle: string;
|
|
4240
4277
|
description: string;
|
|
4241
4278
|
save: string;
|
|
4279
|
+
unsavedChanges: string;
|
|
4242
4280
|
logo: string;
|
|
4243
4281
|
color: {
|
|
4244
4282
|
_: string;
|
|
@@ -4405,6 +4443,16 @@ export declare const i18nMessages: {
|
|
|
4405
4443
|
addStylesheet: string;
|
|
4406
4444
|
noStylesheetsYet: string;
|
|
4407
4445
|
};
|
|
4446
|
+
fontAssignment: {
|
|
4447
|
+
title: string;
|
|
4448
|
+
description: string;
|
|
4449
|
+
brand: string;
|
|
4450
|
+
brandDescription: string;
|
|
4451
|
+
heading: string;
|
|
4452
|
+
headingDescription: string;
|
|
4453
|
+
body: string;
|
|
4454
|
+
bodyDescription: string;
|
|
4455
|
+
};
|
|
4408
4456
|
plugins: {
|
|
4409
4457
|
customLayout: string;
|
|
4410
4458
|
customLayoutDescription: string;
|
|
@@ -5404,6 +5452,9 @@ export declare const i18nMessages: {
|
|
|
5404
5452
|
emptyTitle: string;
|
|
5405
5453
|
emptySubtitle: string;
|
|
5406
5454
|
bundle: {
|
|
5455
|
+
pointsPrice: string;
|
|
5456
|
+
or: string;
|
|
5457
|
+
discount: string;
|
|
5407
5458
|
stripeLabel: string;
|
|
5408
5459
|
pointsLabel: string;
|
|
5409
5460
|
redeemTitle: string;
|
|
@@ -5432,8 +5483,6 @@ export declare const i18nMessages: {
|
|
|
5432
5483
|
credit: string;
|
|
5433
5484
|
vouchers: string;
|
|
5434
5485
|
titles: string;
|
|
5435
|
-
pointsPrice: string;
|
|
5436
|
-
or: string;
|
|
5437
5486
|
redeemSuccess: string;
|
|
5438
5487
|
purchaseCompleted: string;
|
|
5439
5488
|
purchaseSuccessful: string;
|
|
@@ -5667,6 +5716,7 @@ export declare const i18nMessages: {
|
|
|
5667
5716
|
subtitle: string;
|
|
5668
5717
|
description: string;
|
|
5669
5718
|
save: string;
|
|
5719
|
+
unsavedChanges: string;
|
|
5670
5720
|
logo: string;
|
|
5671
5721
|
color: {
|
|
5672
5722
|
_: string;
|
|
@@ -5832,6 +5882,16 @@ export declare const i18nMessages: {
|
|
|
5832
5882
|
addStylesheet: string;
|
|
5833
5883
|
noStylesheetsYet: string;
|
|
5834
5884
|
};
|
|
5885
|
+
fontAssignment: {
|
|
5886
|
+
title: string;
|
|
5887
|
+
description: string;
|
|
5888
|
+
brand: string;
|
|
5889
|
+
brandDescription: string;
|
|
5890
|
+
heading: string;
|
|
5891
|
+
headingDescription: string;
|
|
5892
|
+
body: string;
|
|
5893
|
+
bodyDescription: string;
|
|
5894
|
+
};
|
|
5835
5895
|
plugins: {
|
|
5836
5896
|
customLayout: string;
|
|
5837
5897
|
customLayoutDescription: string;
|
|
@@ -6831,6 +6891,9 @@ export declare const i18nMessages: {
|
|
|
6831
6891
|
emptyTitle: string;
|
|
6832
6892
|
emptySubtitle: string;
|
|
6833
6893
|
bundle: {
|
|
6894
|
+
pointsPrice: string;
|
|
6895
|
+
or: string;
|
|
6896
|
+
discount: string;
|
|
6834
6897
|
stripeLabel: string;
|
|
6835
6898
|
pointsLabel: string;
|
|
6836
6899
|
redeemTitle: string;
|
|
@@ -6859,8 +6922,6 @@ export declare const i18nMessages: {
|
|
|
6859
6922
|
credit: string;
|
|
6860
6923
|
vouchers: string;
|
|
6861
6924
|
titles: string;
|
|
6862
|
-
pointsPrice: string;
|
|
6863
|
-
or: string;
|
|
6864
6925
|
redeemSuccess: string;
|
|
6865
6926
|
purchaseCompleted: string;
|
|
6866
6927
|
purchaseSuccessful: string;
|
|
@@ -7094,6 +7155,7 @@ export declare const i18nMessages: {
|
|
|
7094
7155
|
subtitle: string;
|
|
7095
7156
|
description: string;
|
|
7096
7157
|
save: string;
|
|
7158
|
+
unsavedChanges: string;
|
|
7097
7159
|
logo: string;
|
|
7098
7160
|
color: {
|
|
7099
7161
|
_: string;
|
|
@@ -7259,6 +7321,16 @@ export declare const i18nMessages: {
|
|
|
7259
7321
|
addStylesheet: string;
|
|
7260
7322
|
noStylesheetsYet: string;
|
|
7261
7323
|
};
|
|
7324
|
+
fontAssignment: {
|
|
7325
|
+
title: string;
|
|
7326
|
+
description: string;
|
|
7327
|
+
brand: string;
|
|
7328
|
+
brandDescription: string;
|
|
7329
|
+
heading: string;
|
|
7330
|
+
headingDescription: string;
|
|
7331
|
+
body: string;
|
|
7332
|
+
bodyDescription: string;
|
|
7333
|
+
};
|
|
7262
7334
|
plugins: {
|
|
7263
7335
|
customLayout: string;
|
|
7264
7336
|
customLayoutDescription: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Initializes the feature flag service.
|
|
3
|
+
* Should be called once at app startup (e.g. in main.ts or App.vue).
|
|
4
|
+
*/
|
|
5
|
+
export declare function initFeatureFlag(mode: string): Promise<void>;
|
|
6
|
+
/**
|
|
7
|
+
* Composable to fetch a business-scoped feature flag.
|
|
8
|
+
*
|
|
9
|
+
* Uses the current business ID from `useCoreStore()` as the identity
|
|
10
|
+
* (prefixed as `business-{id}` internally by the SDK).
|
|
11
|
+
*
|
|
12
|
+
* @param key Flag key, e.g. `"order_ods_advanced_customization"`
|
|
13
|
+
* @param defaultValue Fallback when flag is not set
|
|
14
|
+
* @param transform Optional transform for the raw flag value
|
|
15
|
+
*/
|
|
16
|
+
export declare function useBusinessFeatureFlag<T = string>(key: string, defaultValue: T, transform?: (v: unknown) => T): {
|
|
17
|
+
value: import("vue").Ref<T | undefined, T | undefined>;
|
|
18
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
19
|
+
};
|