@feedmepos/mf-brand-app-builder 0.5.42-dev.1 → 0.5.43-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-D0BsP8P7.js → App-C1Sg6gD6.js} +2 -2
- package/dist/{BrandkitView-DqNPdX8G.js → BrandkitView-CKCJs4dU.js} +3 -3
- package/dist/{BuilderView-CXG1etim.js → BuilderView-Cdj86CAt.js} +3 -3
- package/dist/{ImageUpload-CObdbqY-.js → ImageUpload-czx5o-j6.js} +1 -1
- package/dist/{ListRepeater-DrLoinAr.js → ListRepeater-DBkUbAFA.js} +1 -1
- package/dist/{ManagementSettings-WLFOtGtA.js → ManagementSettings-CWAKkmbz.js} +76 -73
- package/dist/{ProjectView-_4GF49of.js → ProjectView-DtxPapNI.js} +2 -2
- package/dist/{app-B0xfN9w3.js → app-BlFm1Tkh.js} +178 -157
- package/dist/app.js +1 -1
- package/dist/{brandkit-C8uulbNE.js → brandkit-1Te5zV_c.js} +14 -14
- package/dist/client/merchant/src/app.d.ts +21 -0
- package/dist/{dayjs.min-CgH9V6PS.js → dayjs.min-Bdy6lFTt.js} +1 -1
- package/dist/{main-OTSZWPL_.js → main-CozSePSS.js} +5 -10
- package/dist/package.json +1 -1
- package/dist/{useBusinessFeatureFlag-CkwnzZRa.js → useBusinessFeatureFlag-2_0Z_IYf.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isRef as At, ref as z, shallowRef as Gi, watchEffect as pe, computed as be, h as tt, defineComponent as Pt, createBlock as
|
|
1
|
+
import { isRef as At, ref as z, shallowRef as Gi, watchEffect as pe, computed as be, h as tt, defineComponent as Pt, createBlock as Ii, renderSlot as Vi, createCommentVNode as Ei, unref as Me, openBlock as $a, createElementBlock as Yi, createElementVNode as xe, toDisplayString as fa, defineAsyncComponent as W, getCurrentInstance as Yt, markRaw as Lt, watch as _e, reactive as Ke, onMounted as en, onUnmounted as Hi, inject as ot, provide as Ri, toRef as Ni, onBeforeUnmount as qi, createTextVNode as Qi, resolveComponent as Xi, nextTick as Wi, triggerRef as lt, isReactive as ba } from "vue";
|
|
2
2
|
import { useRoute as Ui } from "vue-router";
|
|
3
3
|
import { useCoreStore as tn, useI18n as an } from "@feedmepos/mf-common";
|
|
4
4
|
const zi = {
|
|
@@ -6096,7 +6096,10 @@ const zi = {
|
|
|
6096
6096
|
gender: "Gender",
|
|
6097
6097
|
genderCannotChange: "* Gender cannot be changed once set.",
|
|
6098
6098
|
male: "Male",
|
|
6099
|
-
female: "Female"
|
|
6099
|
+
female: "Female",
|
|
6100
|
+
managedByFeedMe: "Managed by FeedMe",
|
|
6101
|
+
managedByFeedMeDesc: "Your account is managed by FeedMe. Edit your profile and phone number in your FeedMe account.",
|
|
6102
|
+
manageInFeedMe: "Manage profile in FeedMe"
|
|
6100
6103
|
},
|
|
6101
6104
|
member: {
|
|
6102
6105
|
runningVersion: "You're running version {version}",
|
|
@@ -6620,7 +6623,10 @@ const zi = {
|
|
|
6620
6623
|
gender: "性别",
|
|
6621
6624
|
genderCannotChange: "* 性别一旦设置后无法更改。",
|
|
6622
6625
|
male: "男性",
|
|
6623
|
-
female: "女性"
|
|
6626
|
+
female: "女性",
|
|
6627
|
+
managedByFeedMe: "由 FeedMe 管理",
|
|
6628
|
+
managedByFeedMeDesc: "您的账户由 FeedMe 管理。请在您的 FeedMe 账户中修改个人资料和电话号码。",
|
|
6629
|
+
manageInFeedMe: "在 FeedMe 中管理资料"
|
|
6624
6630
|
},
|
|
6625
6631
|
referral: {
|
|
6626
6632
|
title: "推荐计划",
|
|
@@ -6795,7 +6801,7 @@ const zi = {
|
|
|
6795
6801
|
logoutAction: "退出登录",
|
|
6796
6802
|
cancelAction: "取消"
|
|
6797
6803
|
}
|
|
6798
|
-
},
|
|
6804
|
+
}, Ir = {
|
|
6799
6805
|
voucher: {
|
|
6800
6806
|
validFrom: "有效期自 {date}",
|
|
6801
6807
|
validTill: "有效期至 {date}",
|
|
@@ -6808,7 +6814,7 @@ const zi = {
|
|
|
6808
6814
|
noMinimumSpend: "无最低消费",
|
|
6809
6815
|
withCondition: "{adjustment} 需 {condition}"
|
|
6810
6816
|
}
|
|
6811
|
-
},
|
|
6817
|
+
}, Vr = {
|
|
6812
6818
|
tabletOrder: {
|
|
6813
6819
|
title: "通过平板电脑下单",
|
|
6814
6820
|
message: "请使用平板电脑下单,而不是此页面。",
|
|
@@ -6818,8 +6824,8 @@ const zi = {
|
|
|
6818
6824
|
user: Fr,
|
|
6819
6825
|
components: Or,
|
|
6820
6826
|
views: Gr,
|
|
6821
|
-
utils:
|
|
6822
|
-
dialog:
|
|
6827
|
+
utils: Ir,
|
|
6828
|
+
dialog: Vr
|
|
6823
6829
|
}, Yr = {
|
|
6824
6830
|
branches: {
|
|
6825
6831
|
ourOutlets: "我們的門店",
|
|
@@ -7152,7 +7158,10 @@ const zi = {
|
|
|
7152
7158
|
gender: "性別",
|
|
7153
7159
|
genderCannotChange: "* 性別一旦設置後無法更改。",
|
|
7154
7160
|
male: "男性",
|
|
7155
|
-
female: "女性"
|
|
7161
|
+
female: "女性",
|
|
7162
|
+
managedByFeedMe: "由 FeedMe 管理",
|
|
7163
|
+
managedByFeedMeDesc: "您的帳戶由 FeedMe 管理。請在您的 FeedMe 帳戶中修改個人資料和電話號碼。",
|
|
7164
|
+
manageInFeedMe: "在 FeedMe 中管理資料"
|
|
7156
7165
|
},
|
|
7157
7166
|
referral: {
|
|
7158
7167
|
title: "推薦計劃",
|
|
@@ -7683,7 +7692,10 @@ const zi = {
|
|
|
7683
7692
|
gender: "เพศ",
|
|
7684
7693
|
genderCannotChange: "* เพศไม่สามารถเปลี่ยนแปลงได้เมื่อตั้งค่าแล้ว",
|
|
7685
7694
|
male: "ชาย",
|
|
7686
|
-
female: "หญิง"
|
|
7695
|
+
female: "หญิง",
|
|
7696
|
+
managedByFeedMe: "จัดการโดย FeedMe",
|
|
7697
|
+
managedByFeedMeDesc: "บัญชีของคุณจัดการโดย FeedMe แก้ไขโปรไฟล์และหมายเลขโทรศัพท์ของคุณในบัญชี FeedMe ของคุณ",
|
|
7698
|
+
manageInFeedMe: "จัดการโปรไฟล์ใน FeedMe"
|
|
7687
7699
|
},
|
|
7688
7700
|
referral: {
|
|
7689
7701
|
title: "โปรแกรมแนะนำ",
|
|
@@ -8235,7 +8247,10 @@ const zi = {
|
|
|
8235
8247
|
gender: "성별",
|
|
8236
8248
|
genderCannotChange: "* 성별은 한 번 설정하면 변경할 수 없습니다.",
|
|
8237
8249
|
male: "남성",
|
|
8238
|
-
female: "여성"
|
|
8250
|
+
female: "여성",
|
|
8251
|
+
managedByFeedMe: "FeedMe에서 관리",
|
|
8252
|
+
managedByFeedMeDesc: "귀하의 계정은 FeedMe에서 관리됩니다. FeedMe 계정에서 프로필과 전화번호를 수정하세요.",
|
|
8253
|
+
manageInFeedMe: "FeedMe에서 프로필 관리"
|
|
8239
8254
|
},
|
|
8240
8255
|
member: {
|
|
8241
8256
|
runningVersion: "현재 버전 {version} 실행 중",
|
|
@@ -8787,7 +8802,10 @@ const zi = {
|
|
|
8787
8802
|
gender: "Giới tính",
|
|
8788
8803
|
genderCannotChange: "* Giới tính không thể thay đổi sau khi đã thiết lập.",
|
|
8789
8804
|
male: "Nam",
|
|
8790
|
-
female: "Nữ"
|
|
8805
|
+
female: "Nữ",
|
|
8806
|
+
managedByFeedMe: "Được quản lý bởi FeedMe",
|
|
8807
|
+
managedByFeedMeDesc: "Tài khoản của bạn được quản lý bởi FeedMe. Chỉnh sửa hồ sơ và số điện thoại của bạn trong tài khoản FeedMe.",
|
|
8808
|
+
manageInFeedMe: "Quản lý hồ sơ trong FeedMe"
|
|
8791
8809
|
},
|
|
8792
8810
|
member: {
|
|
8793
8811
|
runningVersion: "Bạn đang chạy phiên bản {version}",
|
|
@@ -9309,7 +9327,10 @@ const zi = {
|
|
|
9309
9327
|
gender: "Jantina",
|
|
9310
9328
|
genderCannotChange: "* Jantina tidak boleh diubah selepas ditetapkan.",
|
|
9311
9329
|
male: "Lelaki",
|
|
9312
|
-
female: "Perempuan"
|
|
9330
|
+
female: "Perempuan",
|
|
9331
|
+
managedByFeedMe: "Diurus oleh FeedMe",
|
|
9332
|
+
managedByFeedMeDesc: "Akaun anda diurus oleh FeedMe. Kemas kini profil dan nombor telefon anda dalam akaun FeedMe anda.",
|
|
9333
|
+
manageInFeedMe: "Urus profil dalam FeedMe"
|
|
9313
9334
|
},
|
|
9314
9335
|
member: {
|
|
9315
9336
|
runningVersion: "Anda sedang menggunakan versi {version}",
|
|
@@ -9569,7 +9590,7 @@ var nn = { exports: {} };
|
|
|
9569
9590
|
return !1;
|
|
9570
9591
|
};
|
|
9571
9592
|
}
|
|
9572
|
-
function
|
|
9593
|
+
function V(c) {
|
|
9573
9594
|
return function(g, f) {
|
|
9574
9595
|
if (!l(f) || !f.length) return c(g, f);
|
|
9575
9596
|
for (var u = 0, v = f.length; u < v; u++)
|
|
@@ -9584,7 +9605,7 @@ var nn = { exports: {} };
|
|
|
9584
9605
|
$eq: B(function(c, g) {
|
|
9585
9606
|
return c(g);
|
|
9586
9607
|
}),
|
|
9587
|
-
$ne:
|
|
9608
|
+
$ne: V(function(c, g) {
|
|
9588
9609
|
return c(g);
|
|
9589
9610
|
}),
|
|
9590
9611
|
$gt: B(function(c, g) {
|
|
@@ -9726,7 +9747,7 @@ var nn = { exports: {} };
|
|
|
9726
9747
|
},
|
|
9727
9748
|
$ne: function(c, g, f) {
|
|
9728
9749
|
var u = h.$eq(c, g, f);
|
|
9729
|
-
return
|
|
9750
|
+
return V(function(v, k, L, x) {
|
|
9730
9751
|
return !u(v, k, L, x);
|
|
9731
9752
|
});
|
|
9732
9753
|
},
|
|
@@ -10065,14 +10086,14 @@ var Gs = /* @__PURE__ */ function() {
|
|
|
10065
10086
|
return this[ee].indexedRules = r.rules, this[ee].hasPerFieldRules = r.hasPerFieldRules, this.emit("updated", i), this;
|
|
10066
10087
|
}, t.buildIndexFor = function(n) {
|
|
10067
10088
|
for (var i = /* @__PURE__ */ Object.create(null), r = this[ee].RuleType, s = !0, l = !1, m = 0; m < n.length; m++) {
|
|
10068
|
-
var b = new r(n[m]), A = this.expandActions(b.actions), B = Nt(b.subject),
|
|
10089
|
+
var b = new r(n[m]), A = this.expandActions(b.actions), B = Nt(b.subject), V = n.length - m - 1;
|
|
10069
10090
|
s = !!(s && b.inverted), !l && b.fields && (l = !0);
|
|
10070
10091
|
for (var D = 0; D < B.length; D++) {
|
|
10071
10092
|
var T = B[D];
|
|
10072
10093
|
i[T] = i[T] || /* @__PURE__ */ Object.create(null);
|
|
10073
10094
|
for (var h = 0; h < A.length; h++) {
|
|
10074
10095
|
var w = A[h];
|
|
10075
|
-
i[T][w] = i[T][w] || /* @__PURE__ */ Object.create(null), i[T][w][
|
|
10096
|
+
i[T][w] = i[T][w] || /* @__PURE__ */ Object.create(null), i[T][w][V] = b;
|
|
10076
10097
|
}
|
|
10077
10098
|
}
|
|
10078
10099
|
}
|
|
@@ -10139,12 +10160,12 @@ var Gs = /* @__PURE__ */ function() {
|
|
|
10139
10160
|
}
|
|
10140
10161
|
}]), e;
|
|
10141
10162
|
}(), o = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(o || {}), d = /* @__PURE__ */ ((e) => (e.miniProgram_profile = "business::miniProgram::profile", e.miniProgram_brandkit = "business::miniProgram::brandkit", e.miniProgram_template = "business::miniProgram::template", e.miniProgram_publish = "business::miniProgram::publish", e.miniProgram_assets = "business::miniProgram::assets", e.miniProgram_nativeCredentials = "business::miniProgram::nativeCredentials", e.crm = "business::crm", e.crm_promotion = "business::crm::promotion", e.crm_voucher = "business::crm::voucher", e.crm_membership = "business::crm::membership", e.crm_analytic = "business::crm::analytic", e.crm_tier = "business::crm::tier", e.crm_title = "business::crm::title", e.crm_broadcast = "business::crm::broadcast", e.crm_point = "business::crm::point", e.crm_credit = "business::crm::credit", e.crm_experience = "business::crm::experience", e.crm_game = "business::crm::game", e.crm_mission = "business::crm::mission", e.crm_loyaltyMember = "business::crm::loyaltyMember", e.crm_loyaltySegment = "business::crm::loyaltySegment", e.crm_loyaltyCard = "business::crm::loyaltyCard", e.crm_referral = "business::crm::referral", e.crm_store = "business::crm::store", e.crm_transaction = "business::crm::transaction", e.crm_setting = "business::crm::setting", e.crm_bin = "business::crm::bin", e.payment = "business::payment", e.payment_payoutAccount = "business::payment::payoutAccount", e.payment_paymentOnboarding = "business::payment::paymentOnboarding", e.payment_transactions = "business::payment::transactions", e.payment_settlements = "business::payment::settlements", e.inventory_stock = "business::inventory::stock", e.inventory_stockBalance = "business::inventory::stockBalance", e.inventory_stockAdjustment = "business::inventory::stockAdjustment", e.inventory_unitCostHistory = "business::inventory::unitCostHistory", e.inventory_wastageTemplate = "business::inventory::wastageTemplate", e.inventory_closingHistory = "business::inventory::closingHistory", e.inventory_closingTemplate = "business::inventory::closingTemplate", e.inventory_closingDraft = "business::inventory::closingDraft", e.inventory_ingredient = "business::inventory::ingredient", e.inventory_ingredientGroup = "business::inventory::ingredientGroup", e.inventory_recipe = "business::inventory::recipe", e.inventory_unit = "business::inventory::unit", e.inventory_purchaseTransfer = "business::inventory::purchaseTransfer", e.inventory_orderDraftApproval = "business::inventory::orderDraftApproval", e.inventory_transferOut = "business::inventory::transferOut", e.inventory_surcharge = "business::inventory::surcharge", e.inventory_orderTemplate = "business::inventory::orderTemplate", e.inventory_supplier = "business::inventory::supplier", e.inventory_warehouse = "business::inventory::warehouse", e.inventory_publish = "business::inventory::publish", e.inventory_import = "business::inventory::import", e.inventory_integration = "business::inventory::integration", e.hrm = "business::hrm", e.hrm_employee = "business::hrm::employee", e.hrm_teamMember = "business::hrm::teamMember", e.hrm_auditLog = "business::hrm::auditLog", e.menu = "business::menu", e.menu_item = "business::menu::item", e.menu_catalog = "business::menu::catalog", e.menu_category = "business::menu::category", e.menu_subCategory = "business::menu::subCategory", e.menu_group = "business::menu::group", e.menu_takeaway = "business::menu::takeaway", e.menu_scheduler = "business::menu::scheduler", e.menu_variant = "business::menu::variant", e.menu_cookingGuide = "business::menu::cookingGuide", e.menu_printRoute = "business::menu::printRoute", e.menu_servingSequence = "business::menu::servingSequence", e.menu_settings = "business::menu::settings", e.menu_publish = "business::menu::publish", e.menu_menuManagement = "business::menu::menuManagement", e.menu_importExport = "business::menu::importExport", e.menu_unit = "business::menu::unit", e.menu_ingredient = "business::menu::ingredient", e.menu_recipe = "business::menu::recipe", e.restaurant = "business::restaurant", e.role = "business::role", e.mdm_deviceManagement = "business::mdm::deviceManagement", e.mdm_createDevice = "business::mdm::createDevice", e.mdm_deviceBinding = "business::mdm::deviceBinding", e.mdm_customerDisplay = "business::mdm::customerDisplay", e.eInvoice_management = "business::eInvoice::management", e.eInvoice_integration = "business::eInvoice::integration", e.profile = "business::profile", e.report_createReport = "business::report::createReport", e.report_accessInsight = "business::report::accessInsight", e.report_accessSetting = "business::report::accessSetting", e.report_accessIntegration = "business::report::accessIntegration", e.report_accessOverview = "business::report::accessOverview", e.report_reports_allDefaultReports = "business::report::allDefaultReports", e.report_reports_allCustomReports = "business::report::allCustomReports", e.operation_receipt = "business::operation::receipt", e.operation_tableManagement = "business::operation::tableManagement", e.operation_offlinePayment = "business::operation::offlinePayment", e.operation_reasonTemplate = "business::operation::reasonTemplate", e.operation_discountRule = "business::operation::discountRule", e.operation_serviceCharge = "business::operation::serviceCharge", e.operation_kitchenPrintTemplate = "business::operation::kitchenPrintTemplate", e))(d || {}), U = /* @__PURE__ */ ((e) => (e.profile = "business::profile", e.restaurant = "business::restaurant", e.menu = "business::menu", e.promotion = "business::promotion", e.voucher = "business::voucher", e.membership = "business::membership", e.stock = "business::stock", e.permission = "business::permission", e.role = "business::role", e.wastageTemplate = "business::wastageTemplate", e.closingTemplate = "business::closingTemplate", e.orderTemplate = "business::orderTemplate", e.ingredient = "business::ingredient", e.recipe = "business::recipe", e.unit = "business::unit", e.supplier = "business::supplier", e.warehouse = "business::warehouse", e.publish = "business::publish", e.integration = "business::integration", e.orderDraft = "business::orderDraft", e.unitCostHistory = "business::unitCostHistory", e))(U || {});
|
|
10142
|
-
const
|
|
10163
|
+
const Is = "access-denied", ie = {
|
|
10143
10164
|
Action: o,
|
|
10144
10165
|
Subject: {
|
|
10145
10166
|
Business: d
|
|
10146
10167
|
}
|
|
10147
|
-
},
|
|
10168
|
+
}, Vs = {
|
|
10148
10169
|
[U.permission]: d.hrm_teamMember,
|
|
10149
10170
|
[U.promotion]: d.crm_promotion,
|
|
10150
10171
|
[U.voucher]: d.crm_voucher,
|
|
@@ -10164,7 +10185,7 @@ const Vs = "access-denied", ie = {
|
|
|
10164
10185
|
[U.unitCostHistory]: d.inventory_unitCostHistory
|
|
10165
10186
|
};
|
|
10166
10187
|
function Es(e) {
|
|
10167
|
-
return
|
|
10188
|
+
return Vs[e] ?? e;
|
|
10168
10189
|
}
|
|
10169
10190
|
d.restaurant, o.manage, d.menu_item, o.manage, d.menu_catalog, o.manage, d.menu_category, o.manage, d.menu_subCategory, o.manage, d.menu_group, o.manage, d.menu_takeaway, o.manage, d.menu_scheduler, o.manage, d.menu_variant, o.manage, d.menu_cookingGuide, o.manage, d.menu_printRoute, o.manage, d.menu_servingSequence, o.manage, d.menu_unit, o.manage, d.menu_ingredient, o.manage, d.menu_recipe, o.manage, d.menu_settings, o.manage, d.menu_publish, o.manage, d.menu_menuManagement, o.manage, d.menu_importExport, o.manage, d.inventory_stockBalance, o.manage, d.inventory_stockAdjustment, o.manage, d.inventory_unitCostHistory, o.manage, d.inventory_wastageTemplate, o.manage, d.inventory_closingHistory, o.manage, d.inventory_closingTemplate, o.manage, d.inventory_closingDraft, o.manage, d.inventory_ingredient, o.manage, d.inventory_ingredientGroup, o.manage, d.inventory_recipe, o.manage, d.inventory_unit, o.manage, d.inventory_purchaseTransfer, o.manage, d.inventory_orderDraftApproval, o.manage, d.inventory_transferOut, o.manage, d.inventory_surcharge, o.manage, d.inventory_orderTemplate, o.manage, d.inventory_supplier, o.manage, d.inventory_warehouse, o.manage, d.inventory_publish, o.manage, d.inventory_import, o.manage, d.inventory_integration, o.manage, d.crm_membership, o.manage, d.crm_promotion, o.manage, d.crm_voucher, o.manage, d.crm_analytic, o.manage, d.crm_tier, o.manage, d.crm_title, o.manage, d.crm_broadcast, o.manage, d.crm_point, o.manage, d.crm_credit, o.manage, d.crm_experience, o.manage, d.crm_game, o.manage, d.crm_mission, o.manage, d.crm_loyaltyMember, o.manage, d.crm_loyaltySegment, o.manage, d.crm_loyaltyCard, o.manage, d.crm_referral, o.manage, d.crm_store, o.manage, d.crm_transaction, o.manage, d.crm_setting, o.manage, d.crm_bin, o.manage, d.payment_payoutAccount, o.manage, d.payment_paymentOnboarding, o.manage, d.payment_transactions, o.manage, d.payment_settlements, o.manage, d.hrm_teamMember, o.manage, d.hrm_employee, o.manage, d.hrm_auditLog, o.manage, d.report_createReport, o.manage, d.report_accessOverview, o.manage, d.report_accessInsight, o.manage, d.report_accessSetting, o.manage, d.report_accessIntegration, o.manage, d.report_reports_allDefaultReports, o.manage, o.read, o.create, d.report_reports_allCustomReports, o.manage, o.read, o.create, o.update, o.delete, d.mdm_deviceManagement, o.manage, d.mdm_createDevice, o.manage, d.mdm_deviceBinding, o.manage, d.mdm_customerDisplay, o.manage, o.read, o.update, d.eInvoice_management, o.manage, d.eInvoice_integration, o.manage, d.operation_receipt, o.manage, d.operation_tableManagement, o.manage, d.operation_offlinePayment, o.manage, d.operation_reasonTemplate, o.manage, d.operation_discountRule, o.manage, d.operation_serviceCharge, o.manage, d.operation_kitchenPrintTemplate, o.manage, d.miniProgram_profile, o.manage, d.miniProgram_brandkit, o.manage, d.miniProgram_template, o.manage, d.miniProgram_publish, o.manage, d.miniProgram_assets, o.manage, d.miniProgram_nativeCredentials, o.manage;
|
|
10170
10191
|
var R = /* @__PURE__ */ ((e) => (e.crm = "crm", e.crm_user = "crm::user", e.crm_segmentation = "crm::segmentation", e.crm_queue = "crm::queue", e.crm_transaction = "crm::transaction", e.crm_store = "crm::store", e.crm_location = "crm::location", e.crm_effect = "crm::effect", e.crm_setting = "crm::setting", e.crm_reward = "crm::reward", e.crm_campaign = "crm::campaign", e.crm_referral = "crm::referral", e.crm_marketingMaterial = "crm::marketingMaterial", e.crm_voucher = "crm::voucher", e.crm_membership = "crm::membership", e.crm_analytic = "crm::analytic", e.crm_tier = "crm::tier", e.crm_title = "crm::title", e.crm_broadcast = "crm::broadcast", e.crm_point = "crm::point", e.crm_credit = "crm::credit", e.crm_experience = "crm::experience", e.crm_game = "crm::game", e.crm_mission = "crm::mission", e.crm_loyaltyMember = "crm::loyaltyMember", e.crm_loyaltySegment = "crm::loyaltySegment", e.crm_loyaltyCard = "crm::loyaltyCard", e.crm_bin = "crm::bin", e))(R || {});
|
|
@@ -11236,7 +11257,7 @@ function Mo(e, t, a) {
|
|
|
11236
11257
|
if (!m.value)
|
|
11237
11258
|
return;
|
|
11238
11259
|
A++;
|
|
11239
|
-
const
|
|
11260
|
+
const V = A;
|
|
11240
11261
|
let D = !1;
|
|
11241
11262
|
r && Promise.resolve().then(() => {
|
|
11242
11263
|
r.value = !0;
|
|
@@ -11247,11 +11268,11 @@ function Mo(e, t, a) {
|
|
|
11247
11268
|
r && (r.value = !1), D || h();
|
|
11248
11269
|
});
|
|
11249
11270
|
});
|
|
11250
|
-
|
|
11271
|
+
V === A && (b.value = T);
|
|
11251
11272
|
} catch (T) {
|
|
11252
11273
|
l(T);
|
|
11253
11274
|
} finally {
|
|
11254
|
-
r &&
|
|
11275
|
+
r && V === A && (r.value = !1), D = !0;
|
|
11255
11276
|
}
|
|
11256
11277
|
}), i ? be(() => (m.value = !0, b.value)) : b;
|
|
11257
11278
|
}
|
|
@@ -11290,7 +11311,7 @@ async function Lo(e, t) {
|
|
|
11290
11311
|
return {
|
|
11291
11312
|
canAccess: !1,
|
|
11292
11313
|
message: n.message,
|
|
11293
|
-
redirectTo:
|
|
11314
|
+
redirectTo: Is
|
|
11294
11315
|
};
|
|
11295
11316
|
}
|
|
11296
11317
|
return {
|
|
@@ -11328,11 +11349,11 @@ const So = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11328
11349
|
subtitle: "哎呀!您没有权限访问此页面。"
|
|
11329
11350
|
}, Go = {
|
|
11330
11351
|
noPermission: Oo
|
|
11331
|
-
},
|
|
11352
|
+
}, Io = {
|
|
11332
11353
|
title: "存取被拒絕",
|
|
11333
11354
|
subtitle: "哎呀!您沒有權限存取此頁面。"
|
|
11334
|
-
},
|
|
11335
|
-
noPermission:
|
|
11355
|
+
}, Vo = {
|
|
11356
|
+
noPermission: Io
|
|
11336
11357
|
}, Eo = {
|
|
11337
11358
|
title: "การเข้าถึงถูกปฏิเสธ",
|
|
11338
11359
|
subtitle: "โอ้! คุณไม่มีสิทธิ์เข้าถึงหน้านี้"
|
|
@@ -11345,7 +11366,7 @@ const So = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11345
11366
|
messages: {
|
|
11346
11367
|
"en-US": Fo,
|
|
11347
11368
|
"zh-CN": Go,
|
|
11348
|
-
"zh-Hant":
|
|
11369
|
+
"zh-Hant": Vo,
|
|
11349
11370
|
"th-TH": Yo
|
|
11350
11371
|
}
|
|
11351
11372
|
});
|
|
@@ -11368,7 +11389,7 @@ const So = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
11368
11389
|
__name: "PermissionWrapper",
|
|
11369
11390
|
setup(e) {
|
|
11370
11391
|
const t = xo();
|
|
11371
|
-
return (a, n) => Me(t) === Me(qt).Denied ? ($a(),
|
|
11392
|
+
return (a, n) => Me(t) === Me(qt).Denied ? ($a(), Ii(Wo, { key: 0 })) : Me(t) === Me(qt).Allowed ? Vi(a.$slots, "default", { key: 1 }) : Ei("", !0);
|
|
11372
11393
|
}
|
|
11373
11394
|
});
|
|
11374
11395
|
function qe(e) {
|
|
@@ -11416,18 +11437,18 @@ const at = (e) => ({
|
|
|
11416
11437
|
})
|
|
11417
11438
|
}
|
|
11418
11439
|
}), Ko = qe(
|
|
11419
|
-
W(() => import("./BrandkitView-
|
|
11440
|
+
W(() => import("./BrandkitView-CKCJs4dU.js"))
|
|
11420
11441
|
), Zo = qe(
|
|
11421
|
-
W(() => import("./ProjectView-
|
|
11442
|
+
W(() => import("./ProjectView-DtxPapNI.js"))
|
|
11422
11443
|
), Jo = qe(
|
|
11423
|
-
W(() => import("./BuilderView-
|
|
11444
|
+
W(() => import("./BuilderView-Cdj86CAt.js"))
|
|
11424
11445
|
), _o = qe(
|
|
11425
11446
|
W(
|
|
11426
11447
|
() => import("./AssetsSettings-DtZ6goQl.js")
|
|
11427
11448
|
)
|
|
11428
11449
|
), $o = qe(
|
|
11429
11450
|
W(
|
|
11430
|
-
() => import("./ManagementSettings-
|
|
11451
|
+
() => import("./ManagementSettings-CWAKkmbz.js")
|
|
11431
11452
|
)
|
|
11432
11453
|
);
|
|
11433
11454
|
qe(
|
|
@@ -11521,7 +11542,7 @@ function Xe() {
|
|
|
11521
11542
|
function il(e, t) {
|
|
11522
11543
|
return [...e instanceof Set ? e : new Set(e)];
|
|
11523
11544
|
}
|
|
11524
|
-
function
|
|
11545
|
+
function I(e, t) {
|
|
11525
11546
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
11526
11547
|
}
|
|
11527
11548
|
function Z(e, t, a = !0, n = ["__key"]) {
|
|
@@ -11604,7 +11625,7 @@ var Ce = /* @__NO_SIDE_EFFECTS__ */ (e, t, a = !1, n = !1) => {
|
|
|
11604
11625
|
if (typeof t == "string")
|
|
11605
11626
|
return t;
|
|
11606
11627
|
for (const r in e)
|
|
11607
|
-
if (
|
|
11628
|
+
if (I(t, r) && (t[r] !== void 0 || !n)) {
|
|
11608
11629
|
if (a && Array.isArray(e[r]) && Array.isArray(t[r])) {
|
|
11609
11630
|
i[r] = e[r].concat(t[r]);
|
|
11610
11631
|
continue;
|
|
@@ -11620,7 +11641,7 @@ var Ce = /* @__NO_SIDE_EFFECTS__ */ (e, t, a = !1, n = !1) => {
|
|
|
11620
11641
|
} else
|
|
11621
11642
|
i[r] = e[r];
|
|
11622
11643
|
for (const r in t)
|
|
11623
|
-
!
|
|
11644
|
+
!I(i, r) && t[r] !== void 0 && (i[r] = t[r]);
|
|
11624
11645
|
return i;
|
|
11625
11646
|
};
|
|
11626
11647
|
function ll(e) {
|
|
@@ -11713,7 +11734,7 @@ function dl(e, t) {
|
|
|
11713
11734
|
let n = e;
|
|
11714
11735
|
for (const i in a) {
|
|
11715
11736
|
const r = a[i];
|
|
11716
|
-
if (
|
|
11737
|
+
if (I(n, r) && (n = n[r]), +i === a.length - 1)
|
|
11717
11738
|
return n;
|
|
11718
11739
|
if (!n || typeof n != "object")
|
|
11719
11740
|
return null;
|
|
@@ -11763,7 +11784,7 @@ function ia() {
|
|
|
11763
11784
|
r > -1 && e.splice(r, 1);
|
|
11764
11785
|
}, a;
|
|
11765
11786
|
}
|
|
11766
|
-
function
|
|
11787
|
+
function In() {
|
|
11767
11788
|
const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
|
|
11768
11789
|
let a;
|
|
11769
11790
|
const n = (i, r) => {
|
|
@@ -11848,7 +11869,7 @@ function ae(e, t) {
|
|
|
11848
11869
|
var Ta = {
|
|
11849
11870
|
apply: Dl,
|
|
11850
11871
|
set: vl,
|
|
11851
|
-
remove:
|
|
11872
|
+
remove: Vn,
|
|
11852
11873
|
filter: Cl,
|
|
11853
11874
|
reduce: kl,
|
|
11854
11875
|
release: Ml,
|
|
@@ -11862,7 +11883,7 @@ function yl(e = !1) {
|
|
|
11862
11883
|
const l = new Proxy(t, {
|
|
11863
11884
|
get(...m) {
|
|
11864
11885
|
const [b, A] = m;
|
|
11865
|
-
return A === "buffer" ? n : A === "_b" ? i : A === "_m" ? r : A === "_r" ? s :
|
|
11886
|
+
return A === "buffer" ? n : A === "_b" ? i : A === "_m" ? r : A === "_r" ? s : I(Ta, A) ? Ta[A].bind(
|
|
11866
11887
|
null,
|
|
11867
11888
|
t,
|
|
11868
11889
|
l,
|
|
@@ -11883,7 +11904,7 @@ function vl(e, t, a, n) {
|
|
|
11883
11904
|
const r = n.value;
|
|
11884
11905
|
n.value = a.t(n), n.value !== r && (n.meta.locale = a.props.locale);
|
|
11885
11906
|
}
|
|
11886
|
-
const i = `message-${
|
|
11907
|
+
const i = `message-${I(e, n.key) ? "updated" : "added"}`;
|
|
11887
11908
|
e[n.key] = Object.freeze(
|
|
11888
11909
|
a.hook.message.dispatch(n)
|
|
11889
11910
|
), a.emit(i, n);
|
|
@@ -11896,8 +11917,8 @@ function wl(e, t) {
|
|
|
11896
11917
|
t.set(n);
|
|
11897
11918
|
}
|
|
11898
11919
|
}
|
|
11899
|
-
function
|
|
11900
|
-
if (
|
|
11920
|
+
function Vn(e, t, a, n) {
|
|
11921
|
+
if (I(e, n)) {
|
|
11901
11922
|
const i = e[n];
|
|
11902
11923
|
delete e[n], a.emit("message-removed", i);
|
|
11903
11924
|
}
|
|
@@ -11906,7 +11927,7 @@ function In(e, t, a, n) {
|
|
|
11906
11927
|
function Cl(e, t, a, n, i) {
|
|
11907
11928
|
for (const r in e) {
|
|
11908
11929
|
const s = e[r];
|
|
11909
|
-
(!i || s.type === i) && !n(s) &&
|
|
11930
|
+
(!i || s.type === i) && !n(s) && Vn(e, t, a, r);
|
|
11910
11931
|
}
|
|
11911
11932
|
}
|
|
11912
11933
|
function kl(e, t, a, n, i) {
|
|
@@ -11984,16 +12005,16 @@ function Pl() {
|
|
|
11984
12005
|
},
|
|
11985
12006
|
merge: (a) => Pa(t, e, a),
|
|
11986
12007
|
settled(a) {
|
|
11987
|
-
return
|
|
12008
|
+
return I(e, a) ? e[a].promise : Promise.resolve();
|
|
11988
12009
|
},
|
|
11989
12010
|
unmerge: (a) => Pa(t, e, a, !0),
|
|
11990
12011
|
value(a) {
|
|
11991
|
-
return
|
|
12012
|
+
return I(e, a) ? e[a].count : 0;
|
|
11992
12013
|
}
|
|
11993
12014
|
};
|
|
11994
12015
|
}
|
|
11995
12016
|
function Ll(e, t, a, n, i = 0) {
|
|
11996
|
-
if (n = xl(n || a), !
|
|
12017
|
+
if (n = xl(n || a), !I(t, a)) {
|
|
11997
12018
|
const r = {
|
|
11998
12019
|
condition: n,
|
|
11999
12020
|
count: 0,
|
|
@@ -12042,7 +12063,7 @@ function Pa(e, t, a, n = !1) {
|
|
|
12042
12063
|
}
|
|
12043
12064
|
}
|
|
12044
12065
|
}
|
|
12045
|
-
var oa = /* @__PURE__ */ new Map(), mt = /* @__PURE__ */ new Map(), la =
|
|
12066
|
+
var oa = /* @__PURE__ */ new Map(), mt = /* @__PURE__ */ new Map(), la = In();
|
|
12046
12067
|
function Sl(e) {
|
|
12047
12068
|
e.props.id && (oa.set(e.props.id, e), mt.set(e, e.props.id), la(e, {
|
|
12048
12069
|
payload: e,
|
|
@@ -12122,13 +12143,13 @@ function Rn(e, t) {
|
|
|
12122
12143
|
}
|
|
12123
12144
|
Le(152, e);
|
|
12124
12145
|
}
|
|
12125
|
-
var
|
|
12146
|
+
var Il = {
|
|
12126
12147
|
delimiter: ".",
|
|
12127
12148
|
delay: 0,
|
|
12128
12149
|
locale: "en",
|
|
12129
12150
|
rootClasses: (e) => ({ [`formkit-${Gn(e)}`]: !0 })
|
|
12130
12151
|
}, Nn = Symbol("index"), Wt = Symbol("removed"), Ut = Symbol("moved"), qn = Symbol("inserted");
|
|
12131
|
-
function
|
|
12152
|
+
function Vl(e) {
|
|
12132
12153
|
return e.type === "list" && Array.isArray(e._value);
|
|
12133
12154
|
}
|
|
12134
12155
|
function it(e) {
|
|
@@ -12224,7 +12245,7 @@ function yt(e, t, a = !0, n = !0) {
|
|
|
12224
12245
|
}
|
|
12225
12246
|
function Un(e, { name: t, value: a, from: n }) {
|
|
12226
12247
|
if (!Object.isFrozen(e._value)) {
|
|
12227
|
-
if (
|
|
12248
|
+
if (Vl(e)) {
|
|
12228
12249
|
const i = a === Wt ? [] : a === Ut && typeof n == "number" ? e._value.splice(n, 1) : [a];
|
|
12229
12250
|
e._value.splice(
|
|
12230
12251
|
t,
|
|
@@ -12501,7 +12522,7 @@ function Kn(e = {}, t) {
|
|
|
12501
12522
|
if (s !== void 0)
|
|
12502
12523
|
return s;
|
|
12503
12524
|
}
|
|
12504
|
-
return i === "delay" && (a == null ? void 0 : a.type) === "input" ? 20 :
|
|
12525
|
+
return i === "delay" && (a == null ? void 0 : a.type) === "input" ? 20 : Il[i];
|
|
12505
12526
|
},
|
|
12506
12527
|
set(...n) {
|
|
12507
12528
|
const i = n[1], r = n[2];
|
|
@@ -12553,15 +12574,15 @@ function bc(e) {
|
|
|
12553
12574
|
let a, n = !0, i = {};
|
|
12554
12575
|
return new Proxy(t, {
|
|
12555
12576
|
get(...r) {
|
|
12556
|
-
var A, B,
|
|
12577
|
+
var A, B, V, D;
|
|
12557
12578
|
const [s, l] = r;
|
|
12558
12579
|
let m;
|
|
12559
|
-
|
|
12560
|
-
const b = (
|
|
12580
|
+
I(t, l) ? (m = Reflect.get(...r), (A = i[l]) != null && A.boolean && (m = pl(m))) : a && typeof l == "string" && a.config[l] !== void 0 ? (m = a.config[l], l === "mergeStrategy" && (a == null ? void 0 : a.type) === "input" && bt(m) && a.name in m && (m = m[a.name])) : m = (B = i[l]) == null ? void 0 : B.default;
|
|
12581
|
+
const b = (V = i[l]) == null ? void 0 : V.getter;
|
|
12561
12582
|
return (D = i[l]) != null && D.boolean && (m = !!m), b ? b(m, a) : m;
|
|
12562
12583
|
},
|
|
12563
12584
|
set(r, s, l, m) {
|
|
12564
|
-
var
|
|
12585
|
+
var V;
|
|
12565
12586
|
if (s === "_n")
|
|
12566
12587
|
return a = l, !0;
|
|
12567
12588
|
if (s === "_emit")
|
|
@@ -12570,7 +12591,7 @@ function bc(e) {
|
|
|
12570
12591
|
prop: s,
|
|
12571
12592
|
value: l
|
|
12572
12593
|
});
|
|
12573
|
-
const B = (
|
|
12594
|
+
const B = (V = i[b]) == null ? void 0 : V.setter;
|
|
12574
12595
|
if (A = B ? B(A, a) : A, !Z(t[b], A, !1) || typeof A == "object") {
|
|
12575
12596
|
const D = Reflect.set(r, b, A, m);
|
|
12576
12597
|
return b === "__propDefs" && (i = zt(A)), n && (a.emit("prop", { prop: b, value: A }), typeof b == "string" && a.emit(`prop:${b}`, A)), D;
|
|
@@ -12595,7 +12616,7 @@ function wc(e) {
|
|
|
12595
12616
|
const t = Xn(e), a = Kn(e.config || {}, e.parent);
|
|
12596
12617
|
return {
|
|
12597
12618
|
_d: 0,
|
|
12598
|
-
_e:
|
|
12619
|
+
_e: In(),
|
|
12599
12620
|
uid: Symbol(),
|
|
12600
12621
|
_resolve: !1,
|
|
12601
12622
|
_tmo: !1,
|
|
@@ -12673,13 +12694,13 @@ function Bc(e) {
|
|
|
12673
12694
|
return Cc(n, t);
|
|
12674
12695
|
}
|
|
12675
12696
|
function Kt(e) {
|
|
12676
|
-
return typeof e != "string" &&
|
|
12697
|
+
return typeof e != "string" && I(e, "$el");
|
|
12677
12698
|
}
|
|
12678
12699
|
function Zt(e) {
|
|
12679
|
-
return typeof e != "string" &&
|
|
12700
|
+
return typeof e != "string" && I(e, "$cmp");
|
|
12680
12701
|
}
|
|
12681
12702
|
function Fe(e) {
|
|
12682
|
-
return !e || typeof e == "string" ? !1 :
|
|
12703
|
+
return !e || typeof e == "string" ? !1 : I(e, "if") && I(e, "then");
|
|
12683
12704
|
}
|
|
12684
12705
|
function Tc(e) {
|
|
12685
12706
|
return typeof e != "string" && "$formkit" in e;
|
|
@@ -12871,17 +12892,17 @@ function ce(e) {
|
|
|
12871
12892
|
}
|
|
12872
12893
|
return h;
|
|
12873
12894
|
}
|
|
12874
|
-
const
|
|
12895
|
+
const V = A(
|
|
12875
12896
|
e.startsWith("$:") ? e.substring(2) : e
|
|
12876
12897
|
), D = Array.from(a);
|
|
12877
12898
|
function T(h) {
|
|
12878
12899
|
return t = h, Object.assign(
|
|
12879
12900
|
// @ts-ignore - @rollup/plugin-typescript doesn't like this
|
|
12880
|
-
|
|
12901
|
+
V.bind(null, h(D)),
|
|
12881
12902
|
{ provide: T }
|
|
12882
12903
|
);
|
|
12883
12904
|
}
|
|
12884
|
-
return Object.assign(
|
|
12905
|
+
return Object.assign(V, {
|
|
12885
12906
|
provide: T
|
|
12886
12907
|
});
|
|
12887
12908
|
}
|
|
@@ -12937,7 +12958,7 @@ function xt(e, t) {
|
|
|
12937
12958
|
}, s = function(A) {
|
|
12938
12959
|
return new Proxy(A, {
|
|
12939
12960
|
get(...B) {
|
|
12940
|
-
return B[1] === "value" ? (
|
|
12961
|
+
return B[1] === "value" ? (V) => (i(`count:${V}`), A.value(V)) : Reflect.get(...B);
|
|
12941
12962
|
}
|
|
12942
12963
|
});
|
|
12943
12964
|
}, l = function(A, B) {
|
|
@@ -12953,16 +12974,16 @@ function xt(e, t) {
|
|
|
12953
12974
|
case "deps":
|
|
12954
12975
|
return a;
|
|
12955
12976
|
case "watch":
|
|
12956
|
-
return (
|
|
12977
|
+
return (V, D, T) => $n(m, V, D, T);
|
|
12957
12978
|
case "observe":
|
|
12958
12979
|
return () => {
|
|
12959
|
-
const
|
|
12960
|
-
return a.clear(), a.active = !0,
|
|
12980
|
+
const V = new Map(a);
|
|
12981
|
+
return a.clear(), a.active = !0, V;
|
|
12961
12982
|
};
|
|
12962
12983
|
case "stopObserve":
|
|
12963
12984
|
return () => {
|
|
12964
|
-
const
|
|
12965
|
-
return a.active = !1,
|
|
12985
|
+
const V = new Map(a);
|
|
12986
|
+
return a.active = !1, V;
|
|
12966
12987
|
};
|
|
12967
12988
|
case "receipts":
|
|
12968
12989
|
return n;
|
|
@@ -12972,8 +12993,8 @@ function xt(e, t) {
|
|
|
12972
12993
|
};
|
|
12973
12994
|
}
|
|
12974
12995
|
const B = Reflect.get(...A);
|
|
12975
|
-
return typeof B == "function" ? (...
|
|
12976
|
-
const D = B(...
|
|
12996
|
+
return typeof B == "function" ? (...V) => {
|
|
12997
|
+
const D = B(...V);
|
|
12977
12998
|
return l(D, A[1]);
|
|
12978
12999
|
} : l(B, A[1]);
|
|
12979
13000
|
}
|
|
@@ -12991,7 +13012,7 @@ function Jn(e, [t, a], n, i) {
|
|
|
12991
13012
|
r.forEach((l) => {
|
|
12992
13013
|
if (e.receipts.has(s)) {
|
|
12993
13014
|
const m = e.receipts.get(s);
|
|
12994
|
-
m &&
|
|
13015
|
+
m && I(m, l) && (m[l].map(s.off), delete m[l], e.receipts.set(s, m));
|
|
12995
13016
|
}
|
|
12996
13017
|
});
|
|
12997
13018
|
});
|
|
@@ -13051,29 +13072,29 @@ var Sc = ti, jc = function({ value: e }, t = !1) {
|
|
|
13051
13072
|
}, Fc = jc, Oc = function({ value: e }, t = !1) {
|
|
13052
13073
|
const a = Date.parse(t || /* @__PURE__ */ new Date()), n = Date.parse(String(e));
|
|
13053
13074
|
return isNaN(n) ? !1 : n > a || n === a;
|
|
13054
|
-
}, Gc = Oc,
|
|
13075
|
+
}, Gc = Oc, Ic = function(e, t) {
|
|
13055
13076
|
var i;
|
|
13056
13077
|
if (!t)
|
|
13057
13078
|
return !1;
|
|
13058
13079
|
const a = Date.parse(String(e.value)), n = Date.parse(String((i = e.at(t)) == null ? void 0 : i.value));
|
|
13059
13080
|
return isNaN(n) ? !0 : isNaN(a) ? !1 : a > n;
|
|
13060
|
-
},
|
|
13081
|
+
}, Vc = Ic, Ec = function({ value: e }, t = "default") {
|
|
13061
13082
|
const a = {
|
|
13062
13083
|
default: new RegExp("^\\p{L}+$", "u"),
|
|
13063
13084
|
latin: /^[a-z]+$/i
|
|
13064
|
-
}, n =
|
|
13085
|
+
}, n = I(a, t) ? t : "default";
|
|
13065
13086
|
return a[n].test(String(e));
|
|
13066
13087
|
}, Yc = Ec, Hc = function({ value: e }, t = "default") {
|
|
13067
13088
|
const a = {
|
|
13068
13089
|
default: /^[\p{L} ]+$/u,
|
|
13069
13090
|
latin: /^[a-z ]+$/i
|
|
13070
|
-
}, n =
|
|
13091
|
+
}, n = I(a, t) ? t : "default";
|
|
13071
13092
|
return a[n].test(String(e));
|
|
13072
13093
|
}, Rc = Hc, Nc = function({ value: e }, t = "default") {
|
|
13073
13094
|
const a = {
|
|
13074
13095
|
default: /^[0-9\p{L}]+$/u,
|
|
13075
13096
|
latin: /^[0-9a-z]+$/i
|
|
13076
|
-
}, n =
|
|
13097
|
+
}, n = I(a, t) ? t : "default";
|
|
13077
13098
|
return a[n].test(String(e));
|
|
13078
13099
|
}, qc = Nc, Qc = function({ value: e }, t = !1) {
|
|
13079
13100
|
const a = Date.parse(t || /* @__PURE__ */ new Date()), n = Date.parse(String(e));
|
|
@@ -13104,25 +13125,25 @@ var Sc = ti, jc = function({ value: e }, t = !1) {
|
|
|
13104
13125
|
const a = {
|
|
13105
13126
|
default: new RegExp("\\p{L}", "u"),
|
|
13106
13127
|
latin: /[a-z]/i
|
|
13107
|
-
}, n =
|
|
13128
|
+
}, n = I(a, t) ? t : "default";
|
|
13108
13129
|
return a[n].test(String(e));
|
|
13109
13130
|
}, tu = eu, au = function({ value: e }, t = "default") {
|
|
13110
13131
|
const a = {
|
|
13111
13132
|
default: /[\p{L} ]/u,
|
|
13112
13133
|
latin: /[a-z ]/i
|
|
13113
|
-
}, n =
|
|
13134
|
+
}, n = I(a, t) ? t : "default";
|
|
13114
13135
|
return a[n].test(String(e));
|
|
13115
13136
|
}, nu = au, iu = function({ value: e }, t = "default") {
|
|
13116
13137
|
const a = {
|
|
13117
13138
|
default: /[0-9\p{L}]/u,
|
|
13118
13139
|
latin: /[0-9a-z]/i
|
|
13119
|
-
}, n =
|
|
13140
|
+
}, n = I(a, t) ? t : "default";
|
|
13120
13141
|
return a[n].test(String(e));
|
|
13121
13142
|
}, ru = iu, su = function({ value: e }, t = "default") {
|
|
13122
13143
|
const a = {
|
|
13123
13144
|
default: new RegExp("\\p{Ll}", "u"),
|
|
13124
13145
|
latin: /[a-z]/
|
|
13125
|
-
}, n =
|
|
13146
|
+
}, n = I(a, t) ? t : "default";
|
|
13126
13147
|
return a[n].test(String(e));
|
|
13127
13148
|
}, ou = su, lu = function({ value: t }) {
|
|
13128
13149
|
return /[0-9]/.test(String(t));
|
|
@@ -13132,7 +13153,7 @@ var Sc = ti, jc = function({ value: e }, t = !1) {
|
|
|
13132
13153
|
const a = {
|
|
13133
13154
|
default: new RegExp("\\p{Lu}", "u"),
|
|
13134
13155
|
latin: /[A-Z]/
|
|
13135
|
-
}, n =
|
|
13156
|
+
}, n = I(a, t) ? t : "default";
|
|
13136
13157
|
return a[n].test(String(e));
|
|
13137
13158
|
}, gu = mu, pu = function({ value: t }, a, n) {
|
|
13138
13159
|
a = a instanceof Date ? a.getTime() : Date.parse(a), n = n instanceof Date ? n.getTime() : Date.parse(n);
|
|
@@ -13167,7 +13188,7 @@ var Sc = ti, jc = function({ value: e }, t = !1) {
|
|
|
13167
13188
|
allow_numeric: /^[0-9\p{Ll}]+$/u,
|
|
13168
13189
|
allow_numeric_dashes: /^[0-9\p{Ll}-]+$/u,
|
|
13169
13190
|
latin: /^[a-z]+$/
|
|
13170
|
-
}, n =
|
|
13191
|
+
}, n = I(a, t) ? t : "default";
|
|
13171
13192
|
return a[n].test(String(e));
|
|
13172
13193
|
}, Mu = Tu, Pu = function({ value: t }, ...a) {
|
|
13173
13194
|
return a.some((n) => (typeof n == "string" && n.substr(0, 1) === "/" && n.substr(-1) === "/" && (n = new RegExp(n.substr(1, n.length - 2))), n instanceof RegExp ? n.test(String(t)) : n === t));
|
|
@@ -13177,9 +13198,9 @@ var Sc = ti, jc = function({ value: e }, t = !1) {
|
|
|
13177
13198
|
return Array.isArray(t) ? t.length >= a : Number(t) >= Number(a);
|
|
13178
13199
|
}, Fu = ju, Ou = function({ value: t }, ...a) {
|
|
13179
13200
|
return !a.some((n) => typeof n == "object" ? Z(n, t) : n === t);
|
|
13180
|
-
}, Gu = Ou,
|
|
13201
|
+
}, Gu = Ou, Iu = function({ value: t }) {
|
|
13181
13202
|
return !isNaN(t);
|
|
13182
|
-
},
|
|
13203
|
+
}, Vu = Iu, ai = function(e, ...t) {
|
|
13183
13204
|
return se(e.value) ? t.map((n) => {
|
|
13184
13205
|
var i;
|
|
13185
13206
|
return (i = e.at(n)) == null ? void 0 : i.value;
|
|
@@ -13198,7 +13219,7 @@ var Yu = ni, Hu = function({ value: t }, ...a) {
|
|
|
13198
13219
|
const a = {
|
|
13199
13220
|
default: new RegExp("^\\p{Lu}+$", "u"),
|
|
13200
13221
|
latin: /^[A-Z]+$/
|
|
13201
|
-
}, n =
|
|
13222
|
+
}, n = I(a, t) ? t : "default";
|
|
13202
13223
|
return a[n].test(String(e));
|
|
13203
13224
|
}, Xu = Qu, Wu = function({ value: t }, ...a) {
|
|
13204
13225
|
try {
|
|
@@ -13224,7 +13245,7 @@ const zu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13224
13245
|
contains_symbol: du,
|
|
13225
13246
|
contains_uppercase: gu,
|
|
13226
13247
|
date_after: Fc,
|
|
13227
|
-
date_after_node:
|
|
13248
|
+
date_after_node: Vc,
|
|
13228
13249
|
date_after_or_equal: Gc,
|
|
13229
13250
|
date_before: Xc,
|
|
13230
13251
|
date_before_node: Uc,
|
|
@@ -13240,7 +13261,7 @@ const zu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13240
13261
|
max: Su,
|
|
13241
13262
|
min: Fu,
|
|
13242
13263
|
not: Gu,
|
|
13243
|
-
number:
|
|
13264
|
+
number: Vu,
|
|
13244
13265
|
require_one: Eu,
|
|
13245
13266
|
required: Yu,
|
|
13246
13267
|
starts_with: Ru,
|
|
@@ -13305,10 +13326,10 @@ function $t(e, t, a, n, i) {
|
|
|
13305
13326
|
if (a.input !== l)
|
|
13306
13327
|
return;
|
|
13307
13328
|
a.isPassing = a.isPassing && !!A, r.queued = !1;
|
|
13308
|
-
const B = s.stopObserve(),
|
|
13329
|
+
const B = s.stopObserve(), V = ei(r.deps, B);
|
|
13309
13330
|
if (Jn(
|
|
13310
13331
|
s,
|
|
13311
|
-
|
|
13332
|
+
V,
|
|
13312
13333
|
function() {
|
|
13313
13334
|
try {
|
|
13314
13335
|
s.store.set(Jt);
|
|
@@ -13341,7 +13362,7 @@ function Zu(e, t, a) {
|
|
|
13341
13362
|
}
|
|
13342
13363
|
function ii(e) {
|
|
13343
13364
|
const t = `rule_${e.name}`;
|
|
13344
|
-
e.messageObserver && (e.messageObserver = e.messageObserver.kill()),
|
|
13365
|
+
e.messageObserver && (e.messageObserver = e.messageObserver.kill()), I(e.observer.store, t) && e.observer.store.remove(t);
|
|
13345
13366
|
}
|
|
13346
13367
|
function Ju(e, t) {
|
|
13347
13368
|
const a = e.observer;
|
|
@@ -13383,7 +13404,7 @@ function Ju(e, t) {
|
|
|
13383
13404
|
));
|
|
13384
13405
|
}
|
|
13385
13406
|
function _u(e, t, a) {
|
|
13386
|
-
const n = e.props.validationMessages &&
|
|
13407
|
+
const n = e.props.validationMessages && I(e.props.validationMessages, t.name) ? e.props.validationMessages[t.name] : void 0;
|
|
13387
13408
|
return typeof n == "function" ? n(...a) : n;
|
|
13388
13409
|
}
|
|
13389
13410
|
function $u(e, t) {
|
|
@@ -13414,7 +13435,7 @@ function Sa(e, t, a) {
|
|
|
13414
13435
|
const l = {};
|
|
13415
13436
|
if (typeof s == "string") {
|
|
13416
13437
|
const [m, b] = sd(s);
|
|
13417
|
-
|
|
13438
|
+
I(t, m) && (s = t[m], Object.assign(l, b));
|
|
13418
13439
|
}
|
|
13419
13440
|
return typeof s == "function" && i.push({
|
|
13420
13441
|
observer: xt(a),
|
|
@@ -13459,7 +13480,7 @@ function sd(e) {
|
|
|
13459
13480
|
i,
|
|
13460
13481
|
[r[1], r[2], r[3]].reduce(
|
|
13461
13482
|
(s, l) => (l && (xa.test(l) ? s.debounce = parseInt(l.substr(1, l.length - 1)) : l.split("").forEach(
|
|
13462
|
-
(m) =>
|
|
13483
|
+
(m) => I(a, m) && Object.assign(s, a[m])
|
|
13463
13484
|
)), s),
|
|
13464
13485
|
{ name: i }
|
|
13465
13486
|
)
|
|
@@ -13467,7 +13488,7 @@ function sd(e) {
|
|
|
13467
13488
|
}
|
|
13468
13489
|
function od(e, t) {
|
|
13469
13490
|
return e.name || (e.name = t.ruleName || t.name), ["skipEmpty", "force", "debounce", "blocking"].reduce(
|
|
13470
|
-
(a, n) => (
|
|
13491
|
+
(a, n) => (I(t, n) && !I(a, n) && Object.assign(a, {
|
|
13471
13492
|
[n]: t[n]
|
|
13472
13493
|
}), a),
|
|
13473
13494
|
e
|
|
@@ -13835,7 +13856,7 @@ function md(e) {
|
|
|
13835
13856
|
}), a.on("prop:label", () => a.store.touch()), a.on("prop:validationLabel", () => a.store.touch()), a.hook.text((r, s) => {
|
|
13836
13857
|
var m, b;
|
|
13837
13858
|
const l = ((m = r.meta) == null ? void 0 : m.messageKey) || r.key;
|
|
13838
|
-
if (
|
|
13859
|
+
if (I(i, r.type) && I(i[r.type], l)) {
|
|
13839
13860
|
const A = i[r.type][l];
|
|
13840
13861
|
typeof A == "function" ? r.value = Array.isArray((b = r.meta) == null ? void 0 : b.i18nArgs) ? A(...r.meta.i18nArgs) : A(r) : r.value = A;
|
|
13841
13862
|
}
|
|
@@ -13844,10 +13865,10 @@ function md(e) {
|
|
|
13844
13865
|
};
|
|
13845
13866
|
}
|
|
13846
13867
|
function Oa(e, t) {
|
|
13847
|
-
if (
|
|
13868
|
+
if (I(t, e))
|
|
13848
13869
|
return e;
|
|
13849
13870
|
const [a] = e.split("-");
|
|
13850
|
-
if (
|
|
13871
|
+
if (I(t, a))
|
|
13851
13872
|
return a;
|
|
13852
13873
|
for (const n in t)
|
|
13853
13874
|
return n;
|
|
@@ -13861,7 +13882,7 @@ function gd(...e) {
|
|
|
13861
13882
|
};
|
|
13862
13883
|
return a.library = function(n) {
|
|
13863
13884
|
const i = Ge(n.props.type);
|
|
13864
|
-
|
|
13885
|
+
I(t, i) && n.define(t[i]);
|
|
13865
13886
|
}, a;
|
|
13866
13887
|
}
|
|
13867
13888
|
var pd = [
|
|
@@ -14151,7 +14172,7 @@ var Ad = /* @__PURE__ */ O("actions", () => ({
|
|
|
14151
14172
|
attrs: {
|
|
14152
14173
|
label: "$option.group"
|
|
14153
14174
|
}
|
|
14154
|
-
})),
|
|
14175
|
+
})), Ia = /* @__PURE__ */ O("option", () => ({
|
|
14155
14176
|
$el: "option",
|
|
14156
14177
|
bind: "$option.attrs",
|
|
14157
14178
|
attrs: {
|
|
@@ -14159,7 +14180,7 @@ var Ad = /* @__PURE__ */ O("actions", () => ({
|
|
|
14159
14180
|
value: "$option.value",
|
|
14160
14181
|
selected: "$fns.isSelected($option)"
|
|
14161
14182
|
}
|
|
14162
|
-
})),
|
|
14183
|
+
})), Va = /* @__PURE__ */ O("options", () => ({
|
|
14163
14184
|
$el: null,
|
|
14164
14185
|
if: "$options.length",
|
|
14165
14186
|
for: ["option", "$option.options || $options"]
|
|
@@ -14276,10 +14297,10 @@ function jd(e, t) {
|
|
|
14276
14297
|
function Fd(e) {
|
|
14277
14298
|
e.on("created", () => {
|
|
14278
14299
|
var t, a;
|
|
14279
|
-
(t = e.context) != null && t.handlers && (e.context.handlers.toggleChecked = Sd.bind(null, e)), (a = e.context) != null && a.fns && (e.context.fns.isChecked = jd.bind(null, e)),
|
|
14300
|
+
(t = e.context) != null && t.handlers && (e.context.handlers.toggleChecked = Sd.bind(null, e)), (a = e.context) != null && a.fns && (e.context.fns.isChecked = jd.bind(null, e)), I(e.props, "onValue") || (e.props.onValue = !0), I(e.props, "offValue") || (e.props.offValue = !1);
|
|
14280
14301
|
}), e.hook.prop(Ai(e));
|
|
14281
14302
|
}
|
|
14282
|
-
function
|
|
14303
|
+
function Ie(e, t) {
|
|
14283
14304
|
return (a) => {
|
|
14284
14305
|
a.props[`${e}Icon`] === void 0 && (a.props[`${e}Icon`] = t.startsWith("<svg") ? t : `default:${t}`);
|
|
14285
14306
|
};
|
|
@@ -14389,7 +14410,7 @@ function bi(e) {
|
|
|
14389
14410
|
})
|
|
14390
14411
|
);
|
|
14391
14412
|
}
|
|
14392
|
-
function
|
|
14413
|
+
function Id(e) {
|
|
14393
14414
|
var t;
|
|
14394
14415
|
e.props.isForm = !0, e.ledger.count("validating", (a) => a.key === "validating"), (t = e.props).submitAttrs ?? (t.submitAttrs = {
|
|
14395
14416
|
disabled: e.props.disabled
|
|
@@ -14397,12 +14418,12 @@ function Vd(e) {
|
|
|
14397
14418
|
e.props.submitAttrs = { ...e.props.submitAttrs, disabled: a };
|
|
14398
14419
|
}), e.on("created", () => {
|
|
14399
14420
|
var a;
|
|
14400
|
-
(a = e.context) != null && a.handlers && (e.context.handlers.submit = Gd.bind(null, e)),
|
|
14421
|
+
(a = e.context) != null && a.handlers && (e.context.handlers.submit = Gd.bind(null, e)), I(e.props, "actions") || (e.props.actions = !0);
|
|
14401
14422
|
}), e.on("prop:incompleteMessage", () => {
|
|
14402
14423
|
e.store.incomplete && bi(e);
|
|
14403
14424
|
}), e.on("settled:blocking", () => e.store.remove("incomplete"));
|
|
14404
14425
|
}
|
|
14405
|
-
function
|
|
14426
|
+
function Vd(e) {
|
|
14406
14427
|
e.props.ignore === void 0 && (e.props.ignore = !0, e.parent = null);
|
|
14407
14428
|
}
|
|
14408
14429
|
function Ed(e) {
|
|
@@ -14541,7 +14562,7 @@ function ve(e, t, a) {
|
|
|
14541
14562
|
return n._s = Xe(), n;
|
|
14542
14563
|
}
|
|
14543
14564
|
// @__NO_SIDE_EFFECTS__
|
|
14544
|
-
function
|
|
14565
|
+
function Ve(e, t) {
|
|
14545
14566
|
const a = (n) => {
|
|
14546
14567
|
const i = e({});
|
|
14547
14568
|
return /* @__PURE__ */ ea(i) ? (Array.isArray(i.else) || (i.else = /* @__PURE__ */ Ze(
|
|
@@ -14587,7 +14608,7 @@ var Ra = {
|
|
|
14587
14608
|
/**
|
|
14588
14609
|
* Additional features that should be added to your input
|
|
14589
14610
|
*/
|
|
14590
|
-
features: [ht("submit"),
|
|
14611
|
+
features: [ht("submit"), Vd],
|
|
14591
14612
|
/**
|
|
14592
14613
|
* A key to use for memoizing the schema. This is used to prevent the schema
|
|
14593
14614
|
* from needing to be stringified when performing a memo lookup.
|
|
@@ -14605,7 +14626,7 @@ var Ra = {
|
|
|
14605
14626
|
*/
|
|
14606
14627
|
/* @__PURE__ */ Bt(
|
|
14607
14628
|
/* @__PURE__ */ kt(/* @__PURE__ */ Ae(), /* @__PURE__ */ Ct(), /* @__PURE__ */ Tt(/* @__PURE__ */ X("decorator")), /* @__PURE__ */ fe()),
|
|
14608
|
-
/* @__PURE__ */
|
|
14629
|
+
/* @__PURE__ */ Ve(/* @__PURE__ */ Dt("$label"), {
|
|
14609
14630
|
if: "$label"
|
|
14610
14631
|
})
|
|
14611
14632
|
),
|
|
@@ -14620,7 +14641,7 @@ var Ra = {
|
|
|
14620
14641
|
/* @__PURE__ */ Bt(
|
|
14621
14642
|
/* @__PURE__ */ kt(
|
|
14622
14643
|
/* @__PURE__ */ Ae(),
|
|
14623
|
-
/* @__PURE__ */
|
|
14644
|
+
/* @__PURE__ */ Ve(/* @__PURE__ */ Ct(), {
|
|
14624
14645
|
bind: "$option.attrs",
|
|
14625
14646
|
attrs: {
|
|
14626
14647
|
id: "$option.attrs.id",
|
|
@@ -14631,7 +14652,7 @@ var Ra = {
|
|
|
14631
14652
|
/* @__PURE__ */ Tt(/* @__PURE__ */ X("decorator")),
|
|
14632
14653
|
/* @__PURE__ */ fe()
|
|
14633
14654
|
),
|
|
14634
|
-
/* @__PURE__ */
|
|
14655
|
+
/* @__PURE__ */ Ve(/* @__PURE__ */ Dt("$option.label"), {
|
|
14635
14656
|
if: "$option.label"
|
|
14636
14657
|
})
|
|
14637
14658
|
),
|
|
@@ -14663,7 +14684,7 @@ var Ra = {
|
|
|
14663
14684
|
features: [
|
|
14664
14685
|
da,
|
|
14665
14686
|
Fd,
|
|
14666
|
-
|
|
14687
|
+
Ie("decorator", "checkboxDecorator")
|
|
14667
14688
|
],
|
|
14668
14689
|
/**
|
|
14669
14690
|
* The key used to memoize the schema.
|
|
@@ -14720,9 +14741,9 @@ var Ra = {
|
|
|
14720
14741
|
*/
|
|
14721
14742
|
features: [
|
|
14722
14743
|
Od,
|
|
14723
|
-
|
|
14724
|
-
|
|
14725
|
-
|
|
14744
|
+
Ie("fileItem", "fileItem"),
|
|
14745
|
+
Ie("fileRemove", "fileRemove"),
|
|
14746
|
+
Ie("noFiles", "noFiles")
|
|
14726
14747
|
],
|
|
14727
14748
|
/**
|
|
14728
14749
|
* The key used to memoize the schema.
|
|
@@ -14755,7 +14776,7 @@ var Ra = {
|
|
|
14755
14776
|
/**
|
|
14756
14777
|
* Additional features that should be added to your input
|
|
14757
14778
|
*/
|
|
14758
|
-
features: [
|
|
14779
|
+
features: [Id, ga],
|
|
14759
14780
|
/**
|
|
14760
14781
|
* The key used to memoize the schema.
|
|
14761
14782
|
*/
|
|
@@ -14840,7 +14861,7 @@ var Ra = {
|
|
|
14840
14861
|
*/
|
|
14841
14862
|
/* @__PURE__ */ Bt(
|
|
14842
14863
|
/* @__PURE__ */ kt(/* @__PURE__ */ Ae(), /* @__PURE__ */ Ct(), /* @__PURE__ */ Tt(/* @__PURE__ */ X("decorator")), /* @__PURE__ */ fe()),
|
|
14843
|
-
/* @__PURE__ */
|
|
14864
|
+
/* @__PURE__ */ Ve(/* @__PURE__ */ Dt("$label"), {
|
|
14844
14865
|
if: "$label"
|
|
14845
14866
|
})
|
|
14846
14867
|
),
|
|
@@ -14855,7 +14876,7 @@ var Ra = {
|
|
|
14855
14876
|
/* @__PURE__ */ Bt(
|
|
14856
14877
|
/* @__PURE__ */ kt(
|
|
14857
14878
|
/* @__PURE__ */ Ae(),
|
|
14858
|
-
/* @__PURE__ */
|
|
14879
|
+
/* @__PURE__ */ Ve(/* @__PURE__ */ Ct(), {
|
|
14859
14880
|
bind: "$option.attrs",
|
|
14860
14881
|
attrs: {
|
|
14861
14882
|
id: "$option.attrs.id",
|
|
@@ -14866,7 +14887,7 @@ var Ra = {
|
|
|
14866
14887
|
/* @__PURE__ */ Tt(/* @__PURE__ */ X("decorator")),
|
|
14867
14888
|
/* @__PURE__ */ fe()
|
|
14868
14889
|
),
|
|
14869
|
-
/* @__PURE__ */
|
|
14890
|
+
/* @__PURE__ */ Ve(/* @__PURE__ */ Dt("$option.label"), {
|
|
14870
14891
|
if: "$option.label"
|
|
14871
14892
|
})
|
|
14872
14893
|
),
|
|
@@ -14895,7 +14916,7 @@ var Ra = {
|
|
|
14895
14916
|
/**
|
|
14896
14917
|
* Additional features that should be added to your input
|
|
14897
14918
|
*/
|
|
14898
|
-
features: [da, Rd,
|
|
14919
|
+
features: [da, Rd, Ie("decorator", "radioDecorator")],
|
|
14899
14920
|
/**
|
|
14900
14921
|
* The key used to memoize the schema.
|
|
14901
14922
|
*/
|
|
@@ -14914,11 +14935,11 @@ var Ra = {
|
|
|
14914
14935
|
/* @__PURE__ */ ve(
|
|
14915
14936
|
"$slots.default",
|
|
14916
14937
|
() => "$slots.default",
|
|
14917
|
-
/* @__PURE__ */
|
|
14938
|
+
/* @__PURE__ */ Va(
|
|
14918
14939
|
/* @__PURE__ */ ve(
|
|
14919
14940
|
"$option.group",
|
|
14920
|
-
/* @__PURE__ */ Bd(/* @__PURE__ */
|
|
14921
|
-
/* @__PURE__ */
|
|
14941
|
+
/* @__PURE__ */ Bd(/* @__PURE__ */ Va(/* @__PURE__ */ Ia("$option.label"))),
|
|
14942
|
+
/* @__PURE__ */ Ia("$option.label")
|
|
14922
14943
|
)
|
|
14923
14944
|
)
|
|
14924
14945
|
)
|
|
@@ -14942,7 +14963,7 @@ var Ra = {
|
|
|
14942
14963
|
/**
|
|
14943
14964
|
* Additional features that should be added to your input
|
|
14944
14965
|
*/
|
|
14945
|
-
features: [da, Xd,
|
|
14966
|
+
features: [da, Xd, Ie("select", "select")],
|
|
14946
14967
|
/**
|
|
14947
14968
|
* The key used to memoize the schema.
|
|
14948
14969
|
*/
|
|
@@ -15053,7 +15074,7 @@ var Ra = {
|
|
|
15053
15074
|
};
|
|
15054
15075
|
}), we = typeof window < "u" && typeof fetch < "u";
|
|
15055
15076
|
de = we ? /* @__PURE__ */ getComputedStyle(document.documentElement) : void 0;
|
|
15056
|
-
var Oe = {},
|
|
15077
|
+
var Oe = {}, It = {};
|
|
15057
15078
|
function rm(e, t, a, n) {
|
|
15058
15079
|
t && Object.assign(Oe, t), we && !Je && (de != null && de.getPropertyValue("--formkit-theme")) ? (Mt(), Je = !0) : e && !Je && we ? sm(e) : !Je && we && Mt();
|
|
15059
15080
|
const i = function(s) {
|
|
@@ -15064,12 +15085,12 @@ function rm(e, t, a, n) {
|
|
|
15064
15085
|
), cm(s, s.props.iconHandler), s.on("created", () => {
|
|
15065
15086
|
var b, A;
|
|
15066
15087
|
(b = s == null ? void 0 : s.context) != null && b.handlers && (s.context.handlers.iconClick = (B) => {
|
|
15067
|
-
const
|
|
15088
|
+
const V = `on${B.charAt(0).toUpperCase()}${B.slice(1)}IconClick`, D = s.props[V];
|
|
15068
15089
|
if (D && typeof D == "function")
|
|
15069
15090
|
return (T) => D(s, T);
|
|
15070
15091
|
}), (A = s == null ? void 0 : s.context) != null && A.fns && (s.context.fns.iconRole = (B) => {
|
|
15071
|
-
const
|
|
15072
|
-
return typeof s.props[
|
|
15092
|
+
const V = `on${B.charAt(0).toUpperCase()}${B.slice(1)}IconClick`;
|
|
15093
|
+
return typeof s.props[V] == "function" ? "button" : null;
|
|
15073
15094
|
});
|
|
15074
15095
|
});
|
|
15075
15096
|
};
|
|
@@ -15097,13 +15118,13 @@ function Na(e, t) {
|
|
|
15097
15118
|
let r;
|
|
15098
15119
|
if (i)
|
|
15099
15120
|
return Oe[a];
|
|
15100
|
-
if (!
|
|
15121
|
+
if (!It[a]) {
|
|
15101
15122
|
if (r = om(a), r = we && typeof r > "u" ? Promise.resolve(r) : r, r instanceof Promise)
|
|
15102
|
-
|
|
15123
|
+
It[a] = r.then((s) => !s && typeof a == "string" && !n ? r = typeof e == "function" ? e(a) : lm(a, t) : s).then((s) => (typeof a == "string" && (Oe[n ? `default:${a}` : a] = s), s));
|
|
15103
15124
|
else if (typeof r == "string")
|
|
15104
15125
|
return Oe[n ? `default:${a}` : a] = r, r;
|
|
15105
15126
|
}
|
|
15106
|
-
return
|
|
15127
|
+
return It[a];
|
|
15107
15128
|
};
|
|
15108
15129
|
}
|
|
15109
15130
|
function om(e) {
|
|
@@ -15263,7 +15284,7 @@ var pm = (e, t) => {
|
|
|
15263
15284
|
default:
|
|
15264
15285
|
return !1;
|
|
15265
15286
|
}
|
|
15266
|
-
}),
|
|
15287
|
+
}), V = be(() => y.state.failing && B.value), D = be(() => y && T.value ? a.value && !n.value : y.state.dirty && !se(y.value)), T = z(
|
|
15267
15288
|
Array.isArray(t.props.parsedRules) && t.props.parsedRules.length > 0
|
|
15268
15289
|
);
|
|
15269
15290
|
t.on("prop:parsedRules", ({ payload: u }) => {
|
|
@@ -15284,7 +15305,7 @@ var pm = (e, t) => {
|
|
|
15284
15305
|
return "";
|
|
15285
15306
|
const [v, k] = u;
|
|
15286
15307
|
let L = Reflect.get(...u);
|
|
15287
|
-
return !L && typeof k == "string" && !
|
|
15308
|
+
return !L && typeof k == "string" && !I(v, k) && !k.startsWith("__v") && xt(t).watch((E) => {
|
|
15288
15309
|
const q = typeof E.config.rootClasses == "function" ? E.config.rootClasses(k, E) : {}, Q = E.config.classes ? pt(k, E, E.config.classes[k]) : {}, le = pt(
|
|
15289
15310
|
k,
|
|
15290
15311
|
E,
|
|
@@ -15368,7 +15389,7 @@ var pm = (e, t) => {
|
|
|
15368
15389
|
submitted: !1,
|
|
15369
15390
|
settled: t.isSettled,
|
|
15370
15391
|
valid: a,
|
|
15371
|
-
invalid:
|
|
15392
|
+
invalid: V,
|
|
15372
15393
|
errors: n,
|
|
15373
15394
|
rules: T,
|
|
15374
15395
|
validationVisible: B,
|
|
@@ -15391,7 +15412,7 @@ var pm = (e, t) => {
|
|
|
15391
15412
|
});
|
|
15392
15413
|
function G(u) {
|
|
15393
15414
|
(Array.isArray(u) ? u : Object.keys(u)).forEach((k) => {
|
|
15394
|
-
k = Ge(k),
|
|
15415
|
+
k = Ge(k), I(y, k) || (y[k] = t.props[k]), t.on(`prop:${k}`, ({ payload: L }) => {
|
|
15395
15416
|
y[k] = L;
|
|
15396
15417
|
});
|
|
15397
15418
|
});
|
|
@@ -15478,12 +15499,12 @@ var pa, ym = ki({
|
|
|
15478
15499
|
} = e, B = Ku({
|
|
15479
15500
|
...zu,
|
|
15480
15501
|
...t || {}
|
|
15481
|
-
}),
|
|
15502
|
+
}), V = md(
|
|
15482
15503
|
Ce({ en: dd, ...a || {} }, i)
|
|
15483
15504
|
), D = gd(nm, n), T = rm(s, b, l, m);
|
|
15484
15505
|
return Ce(
|
|
15485
15506
|
{
|
|
15486
|
-
plugins: [D, T, Di,
|
|
15507
|
+
plugins: [D, T, Di, V, B],
|
|
15487
15508
|
...r ? { config: { locale: r } } : {}
|
|
15488
15509
|
},
|
|
15489
15510
|
A || {},
|
|
@@ -15491,10 +15512,10 @@ var pa, ym = ki({
|
|
|
15491
15512
|
);
|
|
15492
15513
|
};
|
|
15493
15514
|
}
|
|
15494
|
-
}), vm = typeof window > "u",
|
|
15515
|
+
}), vm = typeof window > "u", Vt = /* @__PURE__ */ new Map();
|
|
15495
15516
|
function wm(e, t) {
|
|
15496
15517
|
var a;
|
|
15497
|
-
!vm || !e || (
|
|
15518
|
+
!vm || !e || (Vt.has(e) || Vt.set(e, /* @__PURE__ */ new Set()), (a = Vt.get(e)) == null || a.add(t));
|
|
15498
15519
|
}
|
|
15499
15520
|
var Ti = typeof window > "u", et = {}, Ee = {}, K, ye = /* @__PURE__ */ new WeakMap(), Cm = "__raw__", km = /[a-zA-Z0-9\-][cC]lass$/;
|
|
15500
15521
|
function Dm(e, t) {
|
|
@@ -15557,7 +15578,7 @@ function za(e, t, a) {
|
|
|
15557
15578
|
var P, S;
|
|
15558
15579
|
const h = B(ce(D.if));
|
|
15559
15580
|
let w = () => T, C = () => T;
|
|
15560
|
-
return typeof D.then == "object" ? C = r(D.then, void 0) : typeof D.then == "string" && ((P = D.then) != null && P.startsWith("$")) ? C = B(ce(D.then)) : C = () => D.then,
|
|
15581
|
+
return typeof D.then == "object" ? C = r(D.then, void 0) : typeof D.then == "string" && ((P = D.then) != null && P.startsWith("$")) ? C = B(ce(D.then)) : C = () => D.then, I(D, "else") && (typeof D.else == "object" ? w = r(D.else) : typeof D.else == "string" && ((S = D.else) != null && S.startsWith("$")) ? w = B(ce(D.else)) : w = () => D.else), () => h() ? C() : w();
|
|
15561
15582
|
}
|
|
15562
15583
|
function r(D, T, h = {}) {
|
|
15563
15584
|
const w = new Set(Object.keys(D || {})), C = T ? B(ce(T)) : () => ({}), P = [
|
|
@@ -15590,7 +15611,7 @@ function za(e, t, a) {
|
|
|
15590
15611
|
function s(D, T) {
|
|
15591
15612
|
let h = null, w = () => null, C = !1, P = null, S = null, M = null, j = !1;
|
|
15592
15613
|
const p = Mc(T);
|
|
15593
|
-
if (Kt(p) ? (h = p.$el, w = p.$el !== "text" ? r(p.attrs, p.bind) : () => null) : Zt(p) ? (typeof p.$cmp == "string" ?
|
|
15614
|
+
if (Kt(p) ? (h = p.$el, w = p.$el !== "text" ? r(p.attrs, p.bind) : () => null) : Zt(p) ? (typeof p.$cmp == "string" ? I(D, p.$cmp) ? h = D[p.$cmp] : (h = p.$cmp, j = !0) : h = p.$cmp, w = r(p.props, p.bind)) : Fe(p) && ([C, P, S] = n(D, p)), !Fe(p) && "if" in p ? C = B(ce(p.if)) : !Fe(p) && h === null && (C = () => !0), "children" in p && p.children)
|
|
15594
15615
|
if (typeof p.children == "string")
|
|
15595
15616
|
if (p.children.startsWith("$slots."))
|
|
15596
15617
|
h = h === "text" ? "slot" : h, P = B(ce(p.children));
|
|
@@ -15702,14 +15723,14 @@ function za(e, t, a) {
|
|
|
15702
15723
|
);
|
|
15703
15724
|
}), () => h.get(K)();
|
|
15704
15725
|
}
|
|
15705
|
-
function
|
|
15726
|
+
function V(D, T) {
|
|
15706
15727
|
a ?? (a = Pi(t));
|
|
15707
|
-
const [h, w] =
|
|
15728
|
+
const [h, w] = I(et, a) ? et[a] : [b(e, t), A];
|
|
15708
15729
|
return Ti || (Ee[a] ?? (Ee[a] = 0), Ee[a]++, et[a] = [h, w]), w.forEach((C) => {
|
|
15709
15730
|
C(D, T);
|
|
15710
15731
|
}), () => (K = T, h());
|
|
15711
15732
|
}
|
|
15712
|
-
return
|
|
15733
|
+
return V;
|
|
15713
15734
|
}
|
|
15714
15735
|
function Mi(e, t) {
|
|
15715
15736
|
const a = ye.get(K) || [];
|
|
@@ -15733,7 +15754,7 @@ function Ka(e, t, a) {
|
|
|
15733
15754
|
return e(
|
|
15734
15755
|
(n, i = {}) => n.reduce((r, s) => {
|
|
15735
15756
|
if (s.startsWith("slots.")) {
|
|
15736
|
-
const l = s.substring(6), m = () => t.slots &&
|
|
15757
|
+
const l = s.substring(6), m = () => t.slots && I(t.slots, l) && typeof t.slots[l] == "function";
|
|
15737
15758
|
if (i.if)
|
|
15738
15759
|
r[s] = m;
|
|
15739
15760
|
else if (t.slots) {
|
|
@@ -15792,8 +15813,8 @@ var Li = /* @__PURE__ */ Pt({
|
|
|
15792
15813
|
() => e.schema,
|
|
15793
15814
|
(A, B) => {
|
|
15794
15815
|
var D;
|
|
15795
|
-
const
|
|
15796
|
-
n = {}, ye.set(n, []), r = za(i, e.schema, e.memoKey), s = Ka(r, l, n), A === B && ((D = a == null ? void 0 : a.proxy) == null ? void 0 : D.$forceUpdate).call(D), Za(e.schema, e.memoKey,
|
|
15816
|
+
const V = n;
|
|
15817
|
+
n = {}, ye.set(n, []), r = za(i, e.schema, e.memoKey), s = Ka(r, l, n), A === B && ((D = a == null ? void 0 : a.proxy) == null ? void 0 : D.$forceUpdate).call(D), Za(e.schema, e.memoKey, V);
|
|
15797
15818
|
},
|
|
15798
15819
|
{ deep: !0 }
|
|
15799
15820
|
), pe(() => {
|
|
@@ -15895,7 +15916,7 @@ var ji = Symbol.for("FormKitOptions"), Fm = Symbol.for("FormKitConfig"), Om = {
|
|
|
15895
15916
|
"prefixIcon",
|
|
15896
15917
|
"suffixIcon",
|
|
15897
15918
|
/^[a-zA-Z-]+(?:-icon|Icon)$/
|
|
15898
|
-
],
|
|
15919
|
+
], Im = ["disabled", "ignore", "preserve"];
|
|
15899
15920
|
function _a(e, t) {
|
|
15900
15921
|
t.classes && Object.keys(t.classes).forEach(
|
|
15901
15922
|
(a) => {
|
|
@@ -15903,7 +15924,7 @@ function _a(e, t) {
|
|
|
15903
15924
|
}
|
|
15904
15925
|
);
|
|
15905
15926
|
}
|
|
15906
|
-
function
|
|
15927
|
+
function Vm(e) {
|
|
15907
15928
|
return e ? ["Submit", "SubmitRaw", "SubmitInvalid"].reduce(
|
|
15908
15929
|
(a, n) => {
|
|
15909
15930
|
const i = `on${n}`;
|
|
@@ -15914,7 +15935,7 @@ function Im(e) {
|
|
|
15914
15935
|
}
|
|
15915
15936
|
function Em(e, t, a = {}) {
|
|
15916
15937
|
const n = Object.assign({}, ot(ji) || {}, a), i = ot(Sm, z(Gm ? document : void 0)), r = ot(Lm, () => {
|
|
15917
|
-
}), s = Yt(), l =
|
|
15938
|
+
}), s = Yt(), l = Vm(s == null ? void 0 : s.vnode.props), m = ["modelValue", "model-value"].some(
|
|
15918
15939
|
(p) => p in ((s == null ? void 0 : s.vnode.props) ?? {})
|
|
15919
15940
|
);
|
|
15920
15941
|
let b = !1;
|
|
@@ -15933,11 +15954,11 @@ function Em(e, t, a = {}) {
|
|
|
15933
15954
|
y.key || (y.key = Xe()), p.attrs = y;
|
|
15934
15955
|
const G = Ba(Se(t.attrs), Et);
|
|
15935
15956
|
for (const g in G)
|
|
15936
|
-
|
|
15957
|
+
Im.includes(g) && G[g] === "" && (G[g] = !0), p[Ge(g)] = G[g];
|
|
15937
15958
|
const c = { props: {} };
|
|
15938
15959
|
return _a(c, e), Object.assign(p, c.props), typeof p.type != "string" && (p.definition = p.type, delete p.type), p;
|
|
15939
15960
|
}
|
|
15940
|
-
const
|
|
15961
|
+
const V = B(), D = V.ignore ? null : e.parent || ot(Ja, null), T = Bc(
|
|
15941
15962
|
Ce(
|
|
15942
15963
|
n || {},
|
|
15943
15964
|
{
|
|
@@ -15946,7 +15967,7 @@ function Em(e, t, a = {}) {
|
|
|
15946
15967
|
parent: D,
|
|
15947
15968
|
plugins: (n.plugins || []).concat(e.plugins ?? []),
|
|
15948
15969
|
config: e.config || {},
|
|
15949
|
-
props:
|
|
15970
|
+
props: V,
|
|
15950
15971
|
index: e.index,
|
|
15951
15972
|
sync: !!ue(t.attrs.sync || t.attrs.dynamic)
|
|
15952
15973
|
},
|
|
@@ -16167,7 +16188,7 @@ const tg = (e) => {
|
|
|
16167
16188
|
),
|
|
16168
16189
|
BaListRepeater: ne(
|
|
16169
16190
|
W(
|
|
16170
|
-
() => import("./ListRepeater-
|
|
16191
|
+
() => import("./ListRepeater-DBkUbAFA.js")
|
|
16171
16192
|
)
|
|
16172
16193
|
),
|
|
16173
16194
|
BaTextStyleList: ne(
|
|
@@ -16187,7 +16208,7 @@ const tg = (e) => {
|
|
|
16187
16208
|
),
|
|
16188
16209
|
BaImageUpload: ne(
|
|
16189
16210
|
W(
|
|
16190
|
-
() => import("./ImageUpload-
|
|
16211
|
+
() => import("./ImageUpload-czx5o-j6.js")
|
|
16191
16212
|
),
|
|
16192
16213
|
{ props: ["ignoreUpdate"] }
|
|
16193
16214
|
),
|
|
@@ -16216,7 +16237,7 @@ const tg = (e) => {
|
|
|
16216
16237
|
"ko-KR": { ...ur, ...as },
|
|
16217
16238
|
"vi-VN": { ...br, ...ls },
|
|
16218
16239
|
"ms-MY": { ...Tr, ...ps }
|
|
16219
|
-
}, ng = W(() => import("./App-
|
|
16240
|
+
}, ng = W(() => import("./App-C1Sg6gD6.js"));
|
|
16220
16241
|
export {
|
|
16221
16242
|
Si as F,
|
|
16222
16243
|
Li as a,
|