@feedmepos/mf-brand-app-builder 0.5.34-dev.1 → 0.5.34-dev.3
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-B5URkgR6.js → App-DgTr2pZn.js} +1 -1
- package/dist/{BrandkitView-CngvcS-w.js → BrandkitView-DjsOzNuT.js} +2084 -2051
- package/dist/{BuilderView-2uVmU1ol.js → BuilderView-DYV6xWKV.js} +2 -2
- package/dist/{ImageUpload-Bbj8q-qi.js → ImageUpload-C6BJiLXa.js} +1 -1
- package/dist/{ListRepeater-BDOH5lgb.js → ListRepeater-DkpcsGl2.js} +1 -1
- package/dist/{app-gGU5lzjk.js → app-BBOaegqM.js} +176 -148
- package/dist/app.js +1 -1
- package/dist/brand-core/src/entity.d.ts +3 -0
- package/dist/client/merchant/src/app.d.ts +28 -0
- package/dist/client/merchant/src/stores/business/index.d.ts +18 -0
- package/dist/{main-CZUn1F57.js → main-CaFFwz3-.js} +2 -2
- package/dist/package.json +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ha, getCurrentInstance as dt, markRaw as nt, watch as
|
|
1
|
+
import { defineComponent as ha, getCurrentInstance as dt, markRaw as nt, watch as xe, watchEffect as ne, reactive as Ie, onMounted as ga, onUnmounted as fn, h as pt, ref as U, inject as He, computed as me, provide as bn, toRef as yn, onBeforeUnmount as vn, isRef as mt, createTextVNode as kn, resolveComponent as Tn, nextTick as Cn, triggerRef as Ee, isReactive as Nt, defineAsyncComponent as V } from "vue";
|
|
2
2
|
import { useI18n as Sn } from "@feedmepos/mf-common";
|
|
3
3
|
const Ln = {
|
|
4
4
|
common: {
|
|
@@ -244,6 +244,7 @@ const Ln = {
|
|
|
244
244
|
showEstimatedTime: "Show Estimated Time",
|
|
245
245
|
showOrderTypeTabs: "Show Order Type Tabs",
|
|
246
246
|
showProgressBar: "Show Progress Bar",
|
|
247
|
+
showCurrentOrder: "Show Latest Ready Order",
|
|
247
248
|
colorOverride: "Color Override",
|
|
248
249
|
colorOverrideTitle: "ODS Color Override",
|
|
249
250
|
colorOverrideDescription: "Override default brand colors for the ODS display.",
|
|
@@ -274,6 +275,7 @@ const Ln = {
|
|
|
274
275
|
showEstimatedTimeDescription: "Display estimated waiting time in the preparing section header.",
|
|
275
276
|
showOrderTypeTabsDescription: "Display the In Restaurant / Delivery tabs at the top of the order board.",
|
|
276
277
|
showProgressBarDescription: "Display a progress bar on the ODS board.",
|
|
278
|
+
showCurrentOrderDescription: "Display the latest ready order on the ODS board.",
|
|
277
279
|
colorOverrideConfigDescription: "Override brand colors specifically for this ODS configuration.",
|
|
278
280
|
colorsOverridden: "{count} color(s) overridden",
|
|
279
281
|
configure: "Configure",
|
|
@@ -984,6 +986,7 @@ const Ln = {
|
|
|
984
986
|
showEstimatedTime: "显示预计时间",
|
|
985
987
|
showOrderTypeTabs: "显示订单类型标签",
|
|
986
988
|
showProgressBar: "显示进度条",
|
|
989
|
+
showCurrentOrder: "显示最新已完成订单",
|
|
987
990
|
colorOverride: "颜色覆盖",
|
|
988
991
|
colorOverrideTitle: "ODS 颜色覆盖",
|
|
989
992
|
colorOverrideDescription: "覆盖 ODS 显示的默认品牌颜色。",
|
|
@@ -1014,6 +1017,7 @@ const Ln = {
|
|
|
1014
1017
|
showEstimatedTimeDescription: "在准备中区域标题显示预计等待时间。",
|
|
1015
1018
|
showOrderTypeTabsDescription: "在订单面板顶部显示堂食/外卖标签。",
|
|
1016
1019
|
showProgressBarDescription: "在 ODS 面板上显示进度条。",
|
|
1020
|
+
showCurrentOrderDescription: "在 ODS 面板上显示最新已完成的订单。",
|
|
1017
1021
|
colorOverrideConfigDescription: "专门为此 ODS 配置覆盖品牌颜色。",
|
|
1018
1022
|
colorsOverridden: "已覆盖 {count} 个颜色",
|
|
1019
1023
|
configure: "配置",
|
|
@@ -1729,6 +1733,7 @@ const Ln = {
|
|
|
1729
1733
|
showEstimatedTime: "顯示預計時間",
|
|
1730
1734
|
showOrderTypeTabs: "顯示訂單類型標籤",
|
|
1731
1735
|
showProgressBar: "顯示進度條",
|
|
1736
|
+
showCurrentOrder: "顯示最新已完成訂單",
|
|
1732
1737
|
colorOverride: "顏色覆蓋",
|
|
1733
1738
|
colorOverrideTitle: "ODS 顏色覆蓋",
|
|
1734
1739
|
colorOverrideDescription: "覆蓋 ODS 顯示的預設品牌顏色。",
|
|
@@ -1759,6 +1764,7 @@ const Ln = {
|
|
|
1759
1764
|
showEstimatedTimeDescription: "在準備中區域標題顯示預計等待時間。",
|
|
1760
1765
|
showOrderTypeTabsDescription: "在訂單面板頂部顯示堂食/外送標籤。",
|
|
1761
1766
|
showProgressBarDescription: "在 ODS 面板上顯示進度條。",
|
|
1767
|
+
showCurrentOrderDescription: "在 ODS 面板上顯示最新已完成的訂單。",
|
|
1762
1768
|
colorOverrideConfigDescription: "專門為此 ODS 設定覆蓋品牌顏色。",
|
|
1763
1769
|
colorsOverridden: "已覆蓋 {count} 個顏色",
|
|
1764
1770
|
configure: "設定",
|
|
@@ -2224,7 +2230,7 @@ const Ln = {
|
|
|
2224
2230
|
}
|
|
2225
2231
|
}, In = {
|
|
2226
2232
|
brand: Mn
|
|
2227
|
-
},
|
|
2233
|
+
}, On = {
|
|
2228
2234
|
common: {
|
|
2229
2235
|
confirm: "Confirm",
|
|
2230
2236
|
cancel: "Cancel",
|
|
@@ -2469,6 +2475,7 @@ const Ln = {
|
|
|
2469
2475
|
showEstimatedTime: "แสดงเวลาประมาณ",
|
|
2470
2476
|
showOrderTypeTabs: "แสดงแท็บประเภทคำสั่งซื้อ",
|
|
2471
2477
|
showProgressBar: "แสดงแถบความคืบหน้า",
|
|
2478
|
+
showCurrentOrder: "แสดงคำสั่งซื้อที่พร้อมล่าสุด",
|
|
2472
2479
|
colorOverride: "เขียนทับสี",
|
|
2473
2480
|
colorOverrideTitle: "เขียนทับสี ODS",
|
|
2474
2481
|
colorOverrideDescription: "เขียนทับสีแบรนด์เริ่มต้นสำหรับการแสดง ODS",
|
|
@@ -2499,6 +2506,7 @@ const Ln = {
|
|
|
2499
2506
|
showEstimatedTimeDescription: "แสดงเวลาคาดรอในส่วนหัวของส่วนกำลังเตรียม",
|
|
2500
2507
|
showOrderTypeTabsDescription: "แสดงแท็บทานที่ร้าน / จัดส่งที่ด้านบนของกระดานคำสั่งซื้อ",
|
|
2501
2508
|
showProgressBarDescription: "แสดงแถบความคืบหน้าบนกระดาน ODS",
|
|
2509
|
+
showCurrentOrderDescription: "แสดงคำสั่งซื้อที่พร้อมล่าสุดบนกระดาน ODS",
|
|
2502
2510
|
colorOverrideConfigDescription: "เขียนทับสีแบรนด์เฉพาะสำหรับการกำหนดค่า ODS นี้",
|
|
2503
2511
|
colorsOverridden: "เขียนทับ {count} สี",
|
|
2504
2512
|
configure: "กำหนดค่า",
|
|
@@ -2962,9 +2970,9 @@ const Ln = {
|
|
|
2962
2970
|
app: {
|
|
2963
2971
|
runningVersion: "กำลังทำงาน v{version} บน {namespace}"
|
|
2964
2972
|
}
|
|
2973
|
+
}, $n = {
|
|
2974
|
+
brand: On
|
|
2965
2975
|
}, xn = {
|
|
2966
|
-
brand: $n
|
|
2967
|
-
}, On = {
|
|
2968
2976
|
dashboard: "대시보드",
|
|
2969
2977
|
orders: "주문",
|
|
2970
2978
|
products: "상품",
|
|
@@ -3369,6 +3377,7 @@ const Ln = {
|
|
|
3369
3377
|
showEstimatedTime: "예상 시간 표시",
|
|
3370
3378
|
showOrderTypeTabs: "주문 유형 탭 표시",
|
|
3371
3379
|
showProgressBar: "진행률 표시줄 표시",
|
|
3380
|
+
showCurrentOrder: "최신 완료 주문 표시",
|
|
3372
3381
|
colorOverride: "색상 덮어쓰기",
|
|
3373
3382
|
colorOverrideTitle: "ODS 색상 덮어쓰기",
|
|
3374
3383
|
colorOverrideDescription: "ODS 표시의 기본 브랜드 색상을 덮어씁니다.",
|
|
@@ -3399,6 +3408,7 @@ const Ln = {
|
|
|
3399
3408
|
showEstimatedTimeDescription: "준비 중 섹션 헤더에 예상 대기 시간을 표시합니다.",
|
|
3400
3409
|
showOrderTypeTabsDescription: "주문 보드 상단에 매장 내 / 배달 탭을 표시합니다.",
|
|
3401
3410
|
showProgressBarDescription: "ODS 보드에 진행률 표시줄을 표시합니다.",
|
|
3411
|
+
showCurrentOrderDescription: "ODS 보드에 최신 완료 주문을 표시합니다.",
|
|
3402
3412
|
colorOverrideConfigDescription: "이 ODS 구성에 대해 브랜드 색상을 별도로 덮어씁니다.",
|
|
3403
3413
|
colorsOverridden: "{count}개 색상이 덮어쓰여짐",
|
|
3404
3414
|
configure: "설정",
|
|
@@ -3863,7 +3873,7 @@ const Ln = {
|
|
|
3863
3873
|
runningVersion: "{namespace}에서 v{version} 실행 중"
|
|
3864
3874
|
}
|
|
3865
3875
|
}, Hn = {
|
|
3866
|
-
common:
|
|
3876
|
+
common: xn,
|
|
3867
3877
|
dashboard: Rn,
|
|
3868
3878
|
orders: _n,
|
|
3869
3879
|
products: Fn,
|
|
@@ -4275,6 +4285,7 @@ const Ln = {
|
|
|
4275
4285
|
showEstimatedTime: "Hiển thị thời gian ước tính",
|
|
4276
4286
|
showOrderTypeTabs: "Hiển thị tab loại đơn hàng",
|
|
4277
4287
|
showProgressBar: "Hiển thị thanh tiến trình",
|
|
4288
|
+
showCurrentOrder: "Hiển thị đơn hàng sẵn sàng mới nhất",
|
|
4278
4289
|
colorOverride: "Ghi đè màu",
|
|
4279
4290
|
colorOverrideTitle: "Ghi đè màu ODS",
|
|
4280
4291
|
colorOverrideDescription: "Ghi đè màu thương hiệu mặc định cho hiển thị ODS.",
|
|
@@ -4305,6 +4316,7 @@ const Ln = {
|
|
|
4305
4316
|
showEstimatedTimeDescription: "Hiển thị thời gian chờ ước tính trong tiêu đề phần đang chuẩn bị.",
|
|
4306
4317
|
showOrderTypeTabsDescription: "Hiển thị tab Tại nhà hàng / Giao hàng ở đầu bảng đơn hàng.",
|
|
4307
4318
|
showProgressBarDescription: "Hiển thị thanh tiến trình trên bảng ODS.",
|
|
4319
|
+
showCurrentOrderDescription: "Hiển thị đơn hàng sẵn sàng mới nhất trên bảng ODS.",
|
|
4308
4320
|
colorOverrideConfigDescription: "Ghi đè màu thương hiệu riêng cho cấu hình ODS này.",
|
|
4309
4321
|
colorsOverridden: "Đã ghi đè {count} màu",
|
|
4310
4322
|
configure: "Cấu hình",
|
|
@@ -5172,6 +5184,7 @@ const Ln = {
|
|
|
5172
5184
|
showEstimatedTime: "Paparkan Anggaran Masa",
|
|
5173
5185
|
showOrderTypeTabs: "Paparkan Tab Jenis Pesanan",
|
|
5174
5186
|
showProgressBar: "Paparkan Bar Kemajuan",
|
|
5187
|
+
showCurrentOrder: "Paparkan Pesanan Sedia Terkini",
|
|
5175
5188
|
colorOverride: "Penggantian Warna",
|
|
5176
5189
|
colorOverrideTitle: "Penggantian Warna ODS",
|
|
5177
5190
|
colorOverrideDescription: "Gantikan warna jenama lalai untuk paparan ODS.",
|
|
@@ -5202,6 +5215,7 @@ const Ln = {
|
|
|
5202
5215
|
showEstimatedTimeDescription: "Paparkan anggaran masa menunggu dalam kepala bahagian menyediakan.",
|
|
5203
5216
|
showOrderTypeTabsDescription: "Paparkan tab Di Restoran / Penghantaran di bahagian atas papan pesanan.",
|
|
5204
5217
|
showProgressBarDescription: "Paparkan bar kemajuan pada papan ODS.",
|
|
5218
|
+
showCurrentOrderDescription: "Paparkan pesanan sedia terkini pada papan ODS.",
|
|
5205
5219
|
colorOverrideConfigDescription: "Gantikan warna jenama khusus untuk konfigurasi ODS ini.",
|
|
5206
5220
|
colorsOverridden: "{count} warna digantikan",
|
|
5207
5221
|
configure: "Konfigurasikan",
|
|
@@ -6064,6 +6078,8 @@ const Ln = {
|
|
|
6064
6078
|
voucher: {
|
|
6065
6079
|
defaultTitle: "Voucher",
|
|
6066
6080
|
noDescription: "No description",
|
|
6081
|
+
used: "Used",
|
|
6082
|
+
remaining: "Remaining",
|
|
6067
6083
|
termsAndConditions: "Terms and Conditions",
|
|
6068
6084
|
useVoucher: "Use voucher",
|
|
6069
6085
|
transferVoucher: "Transfer voucher",
|
|
@@ -6578,6 +6594,8 @@ const Ln = {
|
|
|
6578
6594
|
voucher: {
|
|
6579
6595
|
defaultTitle: "优惠券",
|
|
6580
6596
|
noDescription: "无描述",
|
|
6597
|
+
used: "已使用",
|
|
6598
|
+
remaining: "剩余",
|
|
6581
6599
|
termsAndConditions: "条款和条件",
|
|
6582
6600
|
useVoucher: "使用优惠券",
|
|
6583
6601
|
transferVoucher: "转让优惠券",
|
|
@@ -7119,6 +7137,8 @@ const Ln = {
|
|
|
7119
7137
|
voucher: {
|
|
7120
7138
|
defaultTitle: "優惠券",
|
|
7121
7139
|
noDescription: "無描述",
|
|
7140
|
+
used: "已使用",
|
|
7141
|
+
remaining: "剩餘",
|
|
7122
7142
|
termsAndConditions: "條款和條件",
|
|
7123
7143
|
useVoucher: "使用優惠券",
|
|
7124
7144
|
transferVoucher: "轉讓優惠券",
|
|
@@ -7637,6 +7657,8 @@ const Ln = {
|
|
|
7637
7657
|
voucher: {
|
|
7638
7658
|
defaultTitle: "คูปอง",
|
|
7639
7659
|
noDescription: "ไม่มีคำอธิบาย",
|
|
7660
|
+
used: "ใช้ไปแล้ว",
|
|
7661
|
+
remaining: "คงเหลือ",
|
|
7640
7662
|
termsAndConditions: "ข้อกำหนดและเงื่อนไข",
|
|
7641
7663
|
useVoucher: "ใช้คูปอง",
|
|
7642
7664
|
transferVoucher: "โอนคูปอง",
|
|
@@ -8195,6 +8217,8 @@ const Ln = {
|
|
|
8195
8217
|
voucher: {
|
|
8196
8218
|
defaultTitle: "쿠폰",
|
|
8197
8219
|
noDescription: "설명 없음",
|
|
8220
|
+
used: "사용됨",
|
|
8221
|
+
remaining: "잔여",
|
|
8198
8222
|
termsAndConditions: "이용 약관",
|
|
8199
8223
|
useVoucher: "쿠폰 사용",
|
|
8200
8224
|
transferVoucher: "쿠폰 양도",
|
|
@@ -8312,19 +8336,19 @@ const Ln = {
|
|
|
8312
8336
|
noMinimumSpend: "최소 구매 금액 없음",
|
|
8313
8337
|
withCondition: "{condition} 시 {adjustment}"
|
|
8314
8338
|
}
|
|
8315
|
-
},
|
|
8339
|
+
}, Oi = {
|
|
8316
8340
|
tabletOrder: {
|
|
8317
8341
|
title: "태블릿으로 주문",
|
|
8318
8342
|
message: "이 페이지 대신 태블릿을 사용하여 주문해주세요.",
|
|
8319
8343
|
confirm: "확인"
|
|
8320
8344
|
}
|
|
8321
|
-
},
|
|
8345
|
+
}, $i = {
|
|
8322
8346
|
user: Pi,
|
|
8323
8347
|
components: Ai,
|
|
8324
8348
|
views: Mi,
|
|
8325
8349
|
utils: Ii,
|
|
8326
|
-
dialog:
|
|
8327
|
-
},
|
|
8350
|
+
dialog: Oi
|
|
8351
|
+
}, xi = {
|
|
8328
8352
|
branches: {
|
|
8329
8353
|
ourOutlets: "Cửa hàng của chúng tôi",
|
|
8330
8354
|
noOutletFound: "Không tìm thấy cửa hàng",
|
|
@@ -8745,6 +8769,8 @@ const Ln = {
|
|
|
8745
8769
|
voucher: {
|
|
8746
8770
|
defaultTitle: "Phiếu giảm giá",
|
|
8747
8771
|
noDescription: "Không có mô tả",
|
|
8772
|
+
used: "Đã dùng",
|
|
8773
|
+
remaining: "Còn lại",
|
|
8748
8774
|
termsAndConditions: "Điều khoản và Điều kiện",
|
|
8749
8775
|
useVoucher: "Sử dụng phiếu giảm giá",
|
|
8750
8776
|
transferVoucher: "Chuyển nhượng phiếu giảm giá",
|
|
@@ -8869,7 +8895,7 @@ const Ln = {
|
|
|
8869
8895
|
confirm: "Đã hiểu"
|
|
8870
8896
|
}
|
|
8871
8897
|
}, Ni = {
|
|
8872
|
-
user:
|
|
8898
|
+
user: xi,
|
|
8873
8899
|
components: Ri,
|
|
8874
8900
|
views: _i,
|
|
8875
8901
|
utils: Fi,
|
|
@@ -9265,6 +9291,8 @@ const Ln = {
|
|
|
9265
9291
|
voucher: {
|
|
9266
9292
|
defaultTitle: "Baucar",
|
|
9267
9293
|
noDescription: "Tiada penerangan",
|
|
9294
|
+
used: "Digunakan",
|
|
9295
|
+
remaining: "Baki",
|
|
9268
9296
|
termsAndConditions: "Terma dan Syarat",
|
|
9269
9297
|
useVoucher: "Guna baucar",
|
|
9270
9298
|
transferVoucher: "Pindahkan baucar",
|
|
@@ -9400,7 +9428,7 @@ const Ln = {
|
|
|
9400
9428
|
{
|
|
9401
9429
|
path: "/",
|
|
9402
9430
|
name: "brandkit",
|
|
9403
|
-
component: () => import("./BrandkitView-
|
|
9431
|
+
component: () => import("./BrandkitView-DjsOzNuT.js")
|
|
9404
9432
|
},
|
|
9405
9433
|
{
|
|
9406
9434
|
path: "/projects",
|
|
@@ -9414,7 +9442,7 @@ const Ln = {
|
|
|
9414
9442
|
{
|
|
9415
9443
|
path: ":templateId(.*)*",
|
|
9416
9444
|
name: "builder",
|
|
9417
|
-
component: () => import("./BuilderView-
|
|
9445
|
+
component: () => import("./BuilderView-DYV6xWKV.js")
|
|
9418
9446
|
}
|
|
9419
9447
|
]
|
|
9420
9448
|
},
|
|
@@ -10080,44 +10108,44 @@ function Be(e) {
|
|
|
10080
10108
|
var Ke = (e, t, a) => {
|
|
10081
10109
|
K(102, [e, a]);
|
|
10082
10110
|
}, wr = {
|
|
10083
|
-
_c:
|
|
10084
|
-
add:
|
|
10085
|
-
addProps:
|
|
10086
|
-
address:
|
|
10087
|
-
at:
|
|
10088
|
-
bubble:
|
|
10089
|
-
clearErrors:
|
|
10090
|
-
calm:
|
|
10091
|
-
config:
|
|
10092
|
-
define:
|
|
10093
|
-
disturb:
|
|
10094
|
-
destroy:
|
|
10095
|
-
extend:
|
|
10096
|
-
hydrate:
|
|
10097
|
-
index:
|
|
10098
|
-
input:
|
|
10099
|
-
each:
|
|
10100
|
-
emit:
|
|
10101
|
-
find:
|
|
10102
|
-
on:
|
|
10103
|
-
off:
|
|
10104
|
-
parent:
|
|
10105
|
-
plugins:
|
|
10106
|
-
remove:
|
|
10107
|
-
root:
|
|
10108
|
-
reset:
|
|
10109
|
-
resetConfig:
|
|
10110
|
-
setErrors:
|
|
10111
|
-
submit:
|
|
10112
|
-
t:
|
|
10113
|
-
use:
|
|
10114
|
-
name:
|
|
10115
|
-
walk:
|
|
10111
|
+
_c: $(Gr, Ke, !1),
|
|
10112
|
+
add: $(Nr),
|
|
10113
|
+
addProps: $(Br),
|
|
10114
|
+
address: $(zr, Ke, !1),
|
|
10115
|
+
at: $(Yr),
|
|
10116
|
+
bubble: $(nr),
|
|
10117
|
+
clearErrors: $(io),
|
|
10118
|
+
calm: $(Rr),
|
|
10119
|
+
config: $(!1),
|
|
10120
|
+
define: $(Fr),
|
|
10121
|
+
disturb: $(xr),
|
|
10122
|
+
destroy: $(_r),
|
|
10123
|
+
extend: $(oo),
|
|
10124
|
+
hydrate: $(Or),
|
|
10125
|
+
index: $(Wr, Kr, !1),
|
|
10126
|
+
input: $(Aa),
|
|
10127
|
+
each: $(Er),
|
|
10128
|
+
emit: $(ar),
|
|
10129
|
+
find: $(Qr),
|
|
10130
|
+
on: $(ir),
|
|
10131
|
+
off: $(rr),
|
|
10132
|
+
parent: $(!1, jr),
|
|
10133
|
+
plugins: $(!1),
|
|
10134
|
+
remove: $(Hr),
|
|
10135
|
+
root: $(Zr, Ke, !1),
|
|
10136
|
+
reset: $(ao),
|
|
10137
|
+
resetConfig: $(Vr),
|
|
10138
|
+
setErrors: $(no),
|
|
10139
|
+
submit: $(to),
|
|
10140
|
+
t: $(eo),
|
|
10141
|
+
use: $(Ot),
|
|
10142
|
+
name: $(qr, !1, !1),
|
|
10143
|
+
walk: $(Ur)
|
|
10116
10144
|
};
|
|
10117
10145
|
function Dr() {
|
|
10118
10146
|
return new Map(Object.entries(wr));
|
|
10119
10147
|
}
|
|
10120
|
-
function
|
|
10148
|
+
function $(e, t, a = !0) {
|
|
10121
10149
|
return {
|
|
10122
10150
|
get: e ? (n, i) => a ? (...r) => e(n, i, ...r) : e(n, i) : !1,
|
|
10123
10151
|
set: t !== void 0 ? t : Ke.bind(null)
|
|
@@ -10179,9 +10207,9 @@ function Ma(e, { name: t, value: a, from: n }) {
|
|
|
10179
10207
|
a !== ft ? e._value[t] = a : delete e._value[t];
|
|
10180
10208
|
}
|
|
10181
10209
|
}
|
|
10182
|
-
function
|
|
10210
|
+
function Or(e, t) {
|
|
10183
10211
|
const a = t._value;
|
|
10184
|
-
return e.type === "list" && e.sync &&
|
|
10212
|
+
return e.type === "list" && e.sync && $r(e, t), t.children.forEach((n) => {
|
|
10185
10213
|
if (typeof a == "object")
|
|
10186
10214
|
if (n.name in a) {
|
|
10187
10215
|
const i = n.type !== "input" || a[n.name] && typeof a[n.name] == "object" ? De(a[n.name]) : a[n.name];
|
|
@@ -10192,7 +10220,7 @@ function $r(e, t) {
|
|
|
10192
10220
|
(e.type !== "list" || typeof n.name == "number") && Ma(t, { name: n.name, value: n.value }), a.__init || (n.type === "group" ? n.input({}, !1) : n.type === "list" ? n.input([], !1) : n.input(void 0, !1));
|
|
10193
10221
|
}), e;
|
|
10194
10222
|
}
|
|
10195
|
-
function
|
|
10223
|
+
function $r(e, t) {
|
|
10196
10224
|
const a = e._value;
|
|
10197
10225
|
if (!Array.isArray(a))
|
|
10198
10226
|
return;
|
|
@@ -10231,7 +10259,7 @@ function xr(e, t) {
|
|
|
10231
10259
|
}
|
|
10232
10260
|
}), t.children = n;
|
|
10233
10261
|
}
|
|
10234
|
-
function
|
|
10262
|
+
function xr(e, t) {
|
|
10235
10263
|
var a;
|
|
10236
10264
|
return t._d <= 0 && (t.isSettled = !1, e.emit("settled", !1, !1), t.settled = new Promise((n) => {
|
|
10237
10265
|
t._resolve = n;
|
|
@@ -10337,10 +10365,10 @@ function Ur(e, t, a, n = !1, i = !1) {
|
|
|
10337
10365
|
}
|
|
10338
10366
|
function Vr(e, t) {
|
|
10339
10367
|
const a = e.parent || void 0;
|
|
10340
|
-
t.config =
|
|
10368
|
+
t.config = Oa(e.config._t, a), e.walk((n) => n.resetConfig());
|
|
10341
10369
|
}
|
|
10342
|
-
function
|
|
10343
|
-
return Array.isArray(a) || a instanceof Set ? (a.forEach((r) =>
|
|
10370
|
+
function Ot(e, t, a, n = !0, i = !0) {
|
|
10371
|
+
return Array.isArray(a) || a instanceof Set ? (a.forEach((r) => Ot(e, t, r)), e) : (t.plugins.has(a) || (i && typeof a.library == "function" && a.library(e), n && a(e) !== !1 && (t.plugins.add(a), e.children.forEach((r) => r.use(a)))), e);
|
|
10344
10372
|
}
|
|
10345
10373
|
function Kr(e, t, a, n) {
|
|
10346
10374
|
if (Be(e.parent)) {
|
|
@@ -10424,7 +10452,7 @@ function Zr(e) {
|
|
|
10424
10452
|
t = t.parent;
|
|
10425
10453
|
return t;
|
|
10426
10454
|
}
|
|
10427
|
-
function
|
|
10455
|
+
function Oa(e = {}, t) {
|
|
10428
10456
|
let a;
|
|
10429
10457
|
return new Proxy(e, {
|
|
10430
10458
|
get(...n) {
|
|
@@ -10535,7 +10563,7 @@ function so(e, t) {
|
|
|
10535
10563
|
}
|
|
10536
10564
|
}
|
|
10537
10565
|
function lo(e) {
|
|
10538
|
-
const t = Pa(e), a =
|
|
10566
|
+
const t = Pa(e), a = Oa(e.config || {}, e.parent);
|
|
10539
10567
|
return {
|
|
10540
10568
|
_d: 0,
|
|
10541
10569
|
_e: ya(),
|
|
@@ -10576,7 +10604,7 @@ function uo(e, t) {
|
|
|
10576
10604
|
])
|
|
10577
10605
|
), t.plugins)
|
|
10578
10606
|
for (const r of t.plugins)
|
|
10579
|
-
|
|
10607
|
+
Ot(e, e._c, r, !0, !1);
|
|
10580
10608
|
return e.each((r) => e.add(r)), e.parent && e.parent.add(e, t.index), e.type === "input" && e.children.length && K(100, e), Aa(e, e._c, e._value, !1), e.store.release(), a && yr(e), e.emit("created", e), e.isCreated = !0, e;
|
|
10581
10609
|
}
|
|
10582
10610
|
function co(e) {
|
|
@@ -10722,29 +10750,29 @@ function Y(e) {
|
|
|
10722
10750
|
}
|
|
10723
10751
|
function f(d, m = 0) {
|
|
10724
10752
|
const h = i[m], T = d.length, L = Object.keys(h);
|
|
10725
|
-
let k = 0, C = !1, u = null, p = "", A = null,
|
|
10753
|
+
let k = 0, C = !1, u = null, p = "", A = null, x, R = "", O = "", c = "", S = "", D = 0;
|
|
10726
10754
|
const F = (_, B) => {
|
|
10727
10755
|
_ ? c += B : p += B;
|
|
10728
10756
|
};
|
|
10729
10757
|
for (let _ = 0; _ < T; _++)
|
|
10730
|
-
if (R =
|
|
10731
|
-
k ? S =
|
|
10758
|
+
if (R = O, O = d.charAt(_), (O === "'" || O === '"') && R !== "\\" && (k === 0 && !C || k && !S)) {
|
|
10759
|
+
k ? S = O : C = O, F(k, O);
|
|
10732
10760
|
continue;
|
|
10733
|
-
} else if (C && (
|
|
10734
|
-
F(k,
|
|
10761
|
+
} else if (C && (O !== C || R === "\\") || S && (O !== S || R === "\\")) {
|
|
10762
|
+
F(k, O);
|
|
10735
10763
|
continue;
|
|
10736
|
-
} else if (C ===
|
|
10737
|
-
C = !1, F(k,
|
|
10764
|
+
} else if (C === O) {
|
|
10765
|
+
C = !1, F(k, O);
|
|
10738
10766
|
continue;
|
|
10739
|
-
} else if (S ===
|
|
10740
|
-
S = !1, F(k,
|
|
10767
|
+
} else if (S === O) {
|
|
10768
|
+
S = !1, F(k, O);
|
|
10741
10769
|
continue;
|
|
10742
10770
|
} else {
|
|
10743
|
-
if (
|
|
10771
|
+
if (O === " ")
|
|
10744
10772
|
continue;
|
|
10745
|
-
if (
|
|
10746
|
-
k === 0 ? D = _ : c +=
|
|
10747
|
-
else if (
|
|
10773
|
+
if (O === "(")
|
|
10774
|
+
k === 0 ? D = _ : c += O, k++;
|
|
10775
|
+
else if (O === ")")
|
|
10748
10776
|
if (k--, k === 0) {
|
|
10749
10777
|
const B = typeof p == "string" && p.startsWith("$") ? p : void 0, de = B && d.charAt(_ + 1) === ".";
|
|
10750
10778
|
let X = "";
|
|
@@ -10752,12 +10780,12 @@ function Y(e) {
|
|
|
10752
10780
|
const fe = u ? m : l(D, d, 0), pe = l(_, d);
|
|
10753
10781
|
fe === -1 && pe === -1 ? (p = y(c, -1, B, X), typeof p == "string" && (p = c)) : u && (fe >= pe || pe === -1) && m === fe ? (A = u.bind(null, y(c, -1, B, X)), u = null, p = "") : pe > fe && m === pe ? p = y(c, -1, B, X) : p += `(${c})${de ? `.${X}` : ""}`, c = "";
|
|
10754
10782
|
} else
|
|
10755
|
-
c +=
|
|
10756
|
-
else if (k === 0 && (
|
|
10757
|
-
_ === 0 && K(103, [
|
|
10783
|
+
c += O;
|
|
10784
|
+
else if (k === 0 && (x = s(L, O, _, d))) {
|
|
10785
|
+
_ === 0 && K(103, [x, d]), _ += x.length - 1, _ === d.length - 1 && K(104, [x, d]), u ? p && (A = u.bind(null, y(p, m)), u = h[x].bind(null, A), p = "") : A ? (u = h[x].bind(null, y(A, m)), A = null) : (u = h[x].bind(null, y(p, m)), p = "");
|
|
10758
10786
|
continue;
|
|
10759
10787
|
} else
|
|
10760
|
-
F(k,
|
|
10788
|
+
F(k, O);
|
|
10761
10789
|
}
|
|
10762
10790
|
return p && u && (u = u.bind(null, y(p, m))), u = !u && A ? A : u, !u && p && (u = (_, B) => typeof _ == "function" ? _(B) : _, u = u.bind(null, y(p, m))), !u && !p && K(105, d), u;
|
|
10763
10791
|
}
|
|
@@ -10773,11 +10801,11 @@ function Y(e) {
|
|
|
10773
10801
|
const A = L(p);
|
|
10774
10802
|
return typeof A != "function" ? (ge(150, h), A) : (k = A(
|
|
10775
10803
|
...u.map(
|
|
10776
|
-
(
|
|
10804
|
+
(x) => typeof x == "function" ? x(p) : x
|
|
10777
10805
|
)
|
|
10778
|
-
), C && (C = C.provide((
|
|
10779
|
-
const R = t(
|
|
10780
|
-
return
|
|
10806
|
+
), C && (C = C.provide((x) => {
|
|
10807
|
+
const R = t(x);
|
|
10808
|
+
return x.reduce(
|
|
10781
10809
|
(c, S) => {
|
|
10782
10810
|
if (S === T || (T == null ? void 0 : T.startsWith(`${S}(`))) {
|
|
10783
10811
|
const F = Xi(k, S);
|
|
@@ -10866,7 +10894,7 @@ function yo(e, t = !0) {
|
|
|
10866
10894
|
const a = Fe(e);
|
|
10867
10895
|
a ? a.clearErrors(t) : ge(652, e);
|
|
10868
10896
|
}
|
|
10869
|
-
var Ye = "1.6.9",
|
|
10897
|
+
var Ye = "1.6.9", $a = /* @__PURE__ */ new WeakSet();
|
|
10870
10898
|
function it(e, t) {
|
|
10871
10899
|
const a = t || Object.assign(/* @__PURE__ */ new Map(), { active: !1 }), n = /* @__PURE__ */ new Map(), i = function(f) {
|
|
10872
10900
|
var y;
|
|
@@ -10911,7 +10939,7 @@ function it(e, t) {
|
|
|
10911
10939
|
return n;
|
|
10912
10940
|
case "kill":
|
|
10913
10941
|
return () => {
|
|
10914
|
-
Ra(n),
|
|
10942
|
+
Ra(n), $a.add(f[2]), g();
|
|
10915
10943
|
};
|
|
10916
10944
|
}
|
|
10917
10945
|
const y = Reflect.get(...f);
|
|
@@ -10923,7 +10951,7 @@ function it(e, t) {
|
|
|
10923
10951
|
});
|
|
10924
10952
|
return l;
|
|
10925
10953
|
}
|
|
10926
|
-
function
|
|
10954
|
+
function xa(e, [t, a], n, i) {
|
|
10927
10955
|
t.forEach((r, o) => {
|
|
10928
10956
|
r.forEach((s) => {
|
|
10929
10957
|
e.receipts.has(o) || e.receipts.set(o, {});
|
|
@@ -10948,7 +10976,7 @@ function Ra(e) {
|
|
|
10948
10976
|
function _a(e, t, a, n) {
|
|
10949
10977
|
const i = (s) => {
|
|
10950
10978
|
const l = e.stopObserve();
|
|
10951
|
-
|
|
10979
|
+
xa(
|
|
10952
10980
|
e,
|
|
10953
10981
|
Fa(r, l),
|
|
10954
10982
|
() => _a(e, t, a, n),
|
|
@@ -10981,8 +11009,8 @@ function Fa(e, t) {
|
|
|
10981
11009
|
}
|
|
10982
11010
|
}), [a, n];
|
|
10983
11011
|
}
|
|
10984
|
-
function
|
|
10985
|
-
return
|
|
11012
|
+
function $t(e) {
|
|
11013
|
+
return $a.has(e);
|
|
10986
11014
|
}
|
|
10987
11015
|
var Ba = function({ value: t }) {
|
|
10988
11016
|
return ["yes", "on", "1", 1, !0, "true"].includes(t);
|
|
@@ -11018,10 +11046,10 @@ var vo = Ba, ko = function({ value: e }, t = !1) {
|
|
|
11018
11046
|
latin: /^[0-9a-z]+$/i
|
|
11019
11047
|
}, n = P(a, t) ? t : "default";
|
|
11020
11048
|
return a[n].test(String(e));
|
|
11021
|
-
},
|
|
11049
|
+
}, Oo = Io, $o = function({ value: e }, t = !1) {
|
|
11022
11050
|
const a = Date.parse(t || /* @__PURE__ */ new Date()), n = Date.parse(String(e));
|
|
11023
11051
|
return isNaN(n) ? !1 : n < a;
|
|
11024
|
-
},
|
|
11052
|
+
}, xo = $o, Ro = function(e, t) {
|
|
11025
11053
|
var i;
|
|
11026
11054
|
if (!t)
|
|
11027
11055
|
return !1;
|
|
@@ -11137,13 +11165,13 @@ var Ps = ja, As = function({ value: t }, ...a) {
|
|
|
11137
11165
|
return typeof t == "string" && a.length ? a.some((n) => t.startsWith(n)) : typeof t == "string" && a.length === 0;
|
|
11138
11166
|
}, Ms = As, Is = function({ value: e }) {
|
|
11139
11167
|
return /^[!-/:-@[-`{-~]+$/.test(String(e));
|
|
11140
|
-
},
|
|
11168
|
+
}, Os = Is, $s = function({ value: e }, t = "default") {
|
|
11141
11169
|
const a = {
|
|
11142
11170
|
default: new RegExp("^\\p{Lu}+$", "u"),
|
|
11143
11171
|
latin: /^[A-Z]+$/
|
|
11144
11172
|
}, n = P(a, t) ? t : "default";
|
|
11145
11173
|
return a[n].test(String(e));
|
|
11146
|
-
},
|
|
11174
|
+
}, xs = $s, Rs = function({ value: t }, ...a) {
|
|
11147
11175
|
try {
|
|
11148
11176
|
const n = a.length ? a : ["http:", "https:"], i = new URL(String(t));
|
|
11149
11177
|
return n.includes(i.protocol);
|
|
@@ -11156,7 +11184,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11156
11184
|
accepted: vo,
|
|
11157
11185
|
alpha: Po,
|
|
11158
11186
|
alpha_spaces: Mo,
|
|
11159
|
-
alphanumeric:
|
|
11187
|
+
alphanumeric: Oo,
|
|
11160
11188
|
between: jo,
|
|
11161
11189
|
confirm: Eo,
|
|
11162
11190
|
contains_alpha: Vo,
|
|
@@ -11169,7 +11197,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11169
11197
|
date_after: To,
|
|
11170
11198
|
date_after_node: wo,
|
|
11171
11199
|
date_after_or_equal: So,
|
|
11172
|
-
date_before:
|
|
11200
|
+
date_before: xo,
|
|
11173
11201
|
date_before_node: _o,
|
|
11174
11202
|
date_before_or_equal: Bo,
|
|
11175
11203
|
date_between: ns,
|
|
@@ -11187,8 +11215,8 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
11187
11215
|
require_one: Ds,
|
|
11188
11216
|
required: Ps,
|
|
11189
11217
|
starts_with: Ms,
|
|
11190
|
-
symbol:
|
|
11191
|
-
uppercase:
|
|
11218
|
+
symbol: Os,
|
|
11219
|
+
uppercase: xs,
|
|
11192
11220
|
url: _s
|
|
11193
11221
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
11194
11222
|
var Tt = /* @__PURE__ */ W({
|
|
@@ -11217,7 +11245,7 @@ function Bs(e = {}) {
|
|
|
11217
11245
|
};
|
|
11218
11246
|
}
|
|
11219
11247
|
function Ct(e, t, a) {
|
|
11220
|
-
|
|
11248
|
+
$t(e) || (a.input = Ae(), e.store.set(
|
|
11221
11249
|
/* @__PURE__ */ W({
|
|
11222
11250
|
key: "failing",
|
|
11223
11251
|
value: !a.isPassing,
|
|
@@ -11240,7 +11268,7 @@ function St(e, t, a, n, i) {
|
|
|
11240
11268
|
if (!r)
|
|
11241
11269
|
return i();
|
|
11242
11270
|
const o = r.observer;
|
|
11243
|
-
if (
|
|
11271
|
+
if ($t(o))
|
|
11244
11272
|
return;
|
|
11245
11273
|
const s = a.input;
|
|
11246
11274
|
r.state = null;
|
|
@@ -11249,7 +11277,7 @@ function St(e, t, a, n, i) {
|
|
|
11249
11277
|
return;
|
|
11250
11278
|
a.isPassing = a.isPassing && !!f, r.queued = !1;
|
|
11251
11279
|
const y = o.stopObserve(), M = Fa(r.deps, y);
|
|
11252
|
-
if (
|
|
11280
|
+
if (xa(
|
|
11253
11281
|
o,
|
|
11254
11282
|
M,
|
|
11255
11283
|
function() {
|
|
@@ -11288,7 +11316,7 @@ function Ha(e) {
|
|
|
11288
11316
|
}
|
|
11289
11317
|
function js(e, t) {
|
|
11290
11318
|
const a = e.observer;
|
|
11291
|
-
|
|
11319
|
+
$t(a) || (e.messageObserver || (e.messageObserver = it(a._node)), e.messageObserver.watch(
|
|
11292
11320
|
(n) => Es(
|
|
11293
11321
|
n,
|
|
11294
11322
|
e
|
|
@@ -11880,7 +11908,7 @@ function he(e, t, a = !1) {
|
|
|
11880
11908
|
function Pe(e, t) {
|
|
11881
11909
|
return e === null && t === void 0 || e === void 0 && t === null ? !1 : e == t ? !0 : Le(e) && Le(t) ? H(e, t) : !1;
|
|
11882
11910
|
}
|
|
11883
|
-
function
|
|
11911
|
+
function xt(e) {
|
|
11884
11912
|
e.hook.prop((t, a) => {
|
|
11885
11913
|
var n;
|
|
11886
11914
|
return t.prop === "options" && (typeof t.value == "function" ? (e.props.optionsLoader = t.value, t.value = []) : ((n = e.props)._normalizeCounter ?? (n._normalizeCounter = { count: 1 }), t.value = Ka(t.value, e.props._normalizeCounter))), a(t);
|
|
@@ -11901,7 +11929,7 @@ function w(e, t, a = !1) {
|
|
|
11901
11929
|
})), {
|
|
11902
11930
|
if: `$slots.${e}`,
|
|
11903
11931
|
then: `$slots.${e}`,
|
|
11904
|
-
else: e in r ? /* @__PURE__ */
|
|
11932
|
+
else: e in r ? /* @__PURE__ */ Oe(o, r[e]) : o
|
|
11905
11933
|
};
|
|
11906
11934
|
};
|
|
11907
11935
|
return i._s = e, a ? /* @__PURE__ */ nl(i) : i;
|
|
@@ -11915,7 +11943,7 @@ function Je(e) {
|
|
|
11915
11943
|
return !!(e && typeof e == "object" && ("$el" in e || "$cmp" in e || "$formkit" in e));
|
|
11916
11944
|
}
|
|
11917
11945
|
// @__NO_SIDE_EFFECTS__
|
|
11918
|
-
function
|
|
11946
|
+
function Oe(e, t = {}) {
|
|
11919
11947
|
return typeof e == "string" ? Je(t) || typeof t == "string" ? t : e : Array.isArray(e) ? Je(t) ? t : e : se(e, t);
|
|
11920
11948
|
}
|
|
11921
11949
|
var il = /* @__PURE__ */ w("actions", () => ({
|
|
@@ -12390,11 +12418,11 @@ function Il(e, t) {
|
|
|
12390
12418
|
function an(e, t) {
|
|
12391
12419
|
return e.some((a) => rt(a) ? an(a.options, t) : ("__original" in a ? a.__original : a.value) === t);
|
|
12392
12420
|
}
|
|
12393
|
-
async function
|
|
12421
|
+
async function Ol(e, t) {
|
|
12394
12422
|
var a;
|
|
12395
12423
|
typeof ((a = e.props.attrs) == null ? void 0 : a.onChange) == "function" && (await new Promise((n) => setTimeout(n, 0)), await e.settled, e.props.attrs.onChange(t));
|
|
12396
12424
|
}
|
|
12397
|
-
function
|
|
12425
|
+
function $l(e, t) {
|
|
12398
12426
|
const a = t.target, n = a.hasAttribute("multiple") ? Array.from(a.selectedOptions).map(
|
|
12399
12427
|
(i) => he(e.props.options, i.value)
|
|
12400
12428
|
) : he(e.props.options, a.value);
|
|
@@ -12421,7 +12449,7 @@ function nn(e) {
|
|
|
12421
12449
|
if (t)
|
|
12422
12450
|
return rt(t) ? nn(t.options) : "__original" in t ? t.__original : t.value;
|
|
12423
12451
|
}
|
|
12424
|
-
function
|
|
12452
|
+
function xl(e) {
|
|
12425
12453
|
e.on("created", () => {
|
|
12426
12454
|
var a, n, i;
|
|
12427
12455
|
const t = J((a = e.props.attrs) == null ? void 0 : a.multiple);
|
|
@@ -12434,7 +12462,7 @@ function Ol(e) {
|
|
|
12434
12462
|
e.props.attrs = Object.assign({}, e.props.attrs, {
|
|
12435
12463
|
value: r
|
|
12436
12464
|
});
|
|
12437
|
-
})), (n = e.context) != null && n.handlers && (e.context.handlers.selectInput =
|
|
12465
|
+
})), (n = e.context) != null && n.handlers && (e.context.handlers.selectInput = $l.bind(null, e), e.context.handlers.onChange = Ol.bind(null, e)), (i = e.context) != null && i.fns && (e.context.fns.isSelected = Il.bind(null, e), e.context.fns.showPlaceholder = (r, o) => {
|
|
12438
12466
|
if (!Array.isArray(e.props.options))
|
|
12439
12467
|
return !1;
|
|
12440
12468
|
const s = e.props.options.some(
|
|
@@ -12487,11 +12515,11 @@ function re(e, t, a) {
|
|
|
12487
12515
|
function Ce(e, t) {
|
|
12488
12516
|
const a = (n) => {
|
|
12489
12517
|
const i = e({});
|
|
12490
|
-
return /* @__PURE__ */ Lt(i) ? (Array.isArray(i.else) || (i.else = /* @__PURE__ */
|
|
12491
|
-
/* @__PURE__ */
|
|
12518
|
+
return /* @__PURE__ */ Lt(i) ? (Array.isArray(i.else) || (i.else = /* @__PURE__ */ Oe(
|
|
12519
|
+
/* @__PURE__ */ Oe(i.else, t),
|
|
12492
12520
|
e._s ? n[e._s] : {}
|
|
12493
|
-
)), i) : /* @__PURE__ */
|
|
12494
|
-
/* @__PURE__ */
|
|
12521
|
+
)), i) : /* @__PURE__ */ Oe(
|
|
12522
|
+
/* @__PURE__ */ Oe(i, t),
|
|
12495
12523
|
e._s ? n[e._s] : {}
|
|
12496
12524
|
);
|
|
12497
12525
|
};
|
|
@@ -12604,7 +12632,7 @@ var aa = {
|
|
|
12604
12632
|
* Additional features that should be added to your input
|
|
12605
12633
|
*/
|
|
12606
12634
|
features: [
|
|
12607
|
-
|
|
12635
|
+
xt,
|
|
12608
12636
|
Tl,
|
|
12609
12637
|
Te("decorator", "checkboxDecorator")
|
|
12610
12638
|
],
|
|
@@ -12838,7 +12866,7 @@ var aa = {
|
|
|
12838
12866
|
/**
|
|
12839
12867
|
* Additional features that should be added to your input
|
|
12840
12868
|
*/
|
|
12841
|
-
features: [
|
|
12869
|
+
features: [xt, Ml, Te("decorator", "radioDecorator")],
|
|
12842
12870
|
/**
|
|
12843
12871
|
* The key used to memoize the schema.
|
|
12844
12872
|
*/
|
|
@@ -12885,7 +12913,7 @@ var aa = {
|
|
|
12885
12913
|
/**
|
|
12886
12914
|
* Additional features that should be added to your input
|
|
12887
12915
|
*/
|
|
12888
|
-
features: [
|
|
12916
|
+
features: [xt, xl, Te("select", "select")],
|
|
12889
12917
|
/**
|
|
12890
12918
|
* The key used to memoize the schema.
|
|
12891
12919
|
*/
|
|
@@ -12990,7 +13018,7 @@ var aa = {
|
|
|
12990
13018
|
url: E,
|
|
12991
13019
|
week: E,
|
|
12992
13020
|
range: E
|
|
12993
|
-
}, Q = void 0, Z = null, at, rn = !1,
|
|
13021
|
+
}, Q = void 0, Z = null, at, rn = !1, $e = !1, Gl = /* @__PURE__ */ new Promise((e) => {
|
|
12994
13022
|
at = () => {
|
|
12995
13023
|
rn = !0, e();
|
|
12996
13024
|
};
|
|
@@ -12998,7 +13026,7 @@ var aa = {
|
|
|
12998
13026
|
Q = oe ? /* @__PURE__ */ getComputedStyle(document.documentElement) : void 0;
|
|
12999
13027
|
var ve = {}, lt = {};
|
|
13000
13028
|
function ql(e, t, a, n) {
|
|
13001
|
-
t && Object.assign(ve, t), oe &&
|
|
13029
|
+
t && Object.assign(ve, t), oe && !$e && (Q != null && Q.getPropertyValue("--formkit-theme")) ? (at(), $e = !0) : e && !$e && oe ? zl(e) : !$e && oe && at();
|
|
13002
13030
|
const i = function(o) {
|
|
13003
13031
|
var s, l;
|
|
13004
13032
|
o.addProps(["iconLoader", "iconLoaderUrl"]), o.props.iconHandler = na(
|
|
@@ -13019,7 +13047,7 @@ function ql(e, t, a, n) {
|
|
|
13019
13047
|
return i.iconHandler = na(n, a), i;
|
|
13020
13048
|
}
|
|
13021
13049
|
function zl(e) {
|
|
13022
|
-
if (!(!e || !oe || typeof getComputedStyle != "function") && (
|
|
13050
|
+
if (!(!e || !oe || typeof getComputedStyle != "function") && ($e = !0, Z = document.getElementById("formkit-theme"), e && // if we have a window object
|
|
13023
13051
|
oe && // we don't have an existing theme OR the theme being set up is different
|
|
13024
13052
|
(!(Q != null && Q.getPropertyValue("--formkit-theme")) && !Z || Z != null && Z.getAttribute("data-theme") && (Z == null ? void 0 : Z.getAttribute("data-theme")) !== e))) {
|
|
13025
13053
|
const a = `https://cdn.jsdelivr.net/npm/@formkit/themes@${Ye.startsWith("__") ? "latest" : Ye}/dist/${e}/theme.css`, n = document.createElement("link");
|
|
@@ -13379,10 +13407,10 @@ var au = (e, t) => {
|
|
|
13379
13407
|
}
|
|
13380
13408
|
), t.type === "list" && t.sync && (f.value = t.children.map((D) => D.uid)), p.state.empty = z(c);
|
|
13381
13409
|
});
|
|
13382
|
-
const
|
|
13410
|
+
const O = async (c) => {
|
|
13383
13411
|
c.type === "ui" && c.visible && !c.meta.showAsMessage ? m[c.key] = c : c.visible ? r[c.key] = c : c.type === "state" && (p.state[c.key] = !!c.value);
|
|
13384
13412
|
};
|
|
13385
|
-
t.on("message-added", (c) =>
|
|
13413
|
+
t.on("message-added", (c) => O(c.payload)), t.on("message-updated", (c) => O(c.payload)), t.on("message-removed", ({ payload: c }) => {
|
|
13386
13414
|
delete m[c.key], delete r[c.key], delete p.state[c.key];
|
|
13387
13415
|
}), t.on("settled:blocking", () => {
|
|
13388
13416
|
a.value = !0;
|
|
@@ -13392,7 +13420,7 @@ var au = (e, t) => {
|
|
|
13392
13420
|
n.value = !1;
|
|
13393
13421
|
}), t.on("unsettled:errors", () => {
|
|
13394
13422
|
n.value = !0;
|
|
13395
|
-
}),
|
|
13423
|
+
}), xe(y, (c) => {
|
|
13396
13424
|
c && (s.value = !0);
|
|
13397
13425
|
}), t.context = p, t.emit("context", t, !1), t.on("destroyed", () => {
|
|
13398
13426
|
t.context = void 0, t = null;
|
|
@@ -13545,19 +13573,19 @@ function ua(e, t, a) {
|
|
|
13545
13573
|
else if (Array.isArray(u.children))
|
|
13546
13574
|
T = g(b, u.children);
|
|
13547
13575
|
else {
|
|
13548
|
-
const [p, A,
|
|
13549
|
-
T = (R) => p && p() ? A && A(R) :
|
|
13576
|
+
const [p, A, x] = n(b, u.children);
|
|
13577
|
+
T = (R) => p && p() ? A && A(R) : x && x(R);
|
|
13550
13578
|
}
|
|
13551
13579
|
if (kt(u))
|
|
13552
13580
|
if (T) {
|
|
13553
13581
|
const p = T;
|
|
13554
13582
|
T = (A) => ({
|
|
13555
|
-
default(
|
|
13583
|
+
default(x, R) {
|
|
13556
13584
|
var S, D, F, _;
|
|
13557
|
-
const
|
|
13558
|
-
R && (j = R),
|
|
13585
|
+
const O = j;
|
|
13586
|
+
R && (j = R), x && ((S = ie.get(j)) == null || S.unshift(x)), A && ((D = ie.get(j)) == null || D.unshift(A));
|
|
13559
13587
|
const c = p(A);
|
|
13560
|
-
return
|
|
13588
|
+
return x && ((F = ie.get(j)) == null || F.shift()), A && ((_ = ie.get(j)) == null || _.shift()), j = O, c;
|
|
13561
13589
|
}
|
|
13562
13590
|
}), T.slot = !0;
|
|
13563
13591
|
} else
|
|
@@ -13589,19 +13617,19 @@ function ua(e, t, a) {
|
|
|
13589
13617
|
return kn(String(T()));
|
|
13590
13618
|
if (m === "slot" && T)
|
|
13591
13619
|
return T(p);
|
|
13592
|
-
const A = C ? Tn(m) : m,
|
|
13620
|
+
const A = C ? Tn(m) : m, x = T != null && T.slot ? s(T, p) : null;
|
|
13593
13621
|
return pt(
|
|
13594
13622
|
A,
|
|
13595
13623
|
h(),
|
|
13596
|
-
|
|
13624
|
+
x || (T ? T(p) : [])
|
|
13597
13625
|
);
|
|
13598
13626
|
}
|
|
13599
13627
|
return typeof L == "function" ? L(p) : L;
|
|
13600
13628
|
};
|
|
13601
13629
|
if (k) {
|
|
13602
|
-
const p = u, [A,
|
|
13630
|
+
const p = u, [A, x, R] = k;
|
|
13603
13631
|
u = () => {
|
|
13604
|
-
const
|
|
13632
|
+
const O = A(), c = Number.isFinite(O) ? Array(Number(O)).fill(0).map((_, B) => B) : O, S = [];
|
|
13605
13633
|
if (typeof c != "object")
|
|
13606
13634
|
return null;
|
|
13607
13635
|
const D = ie.get(j) || [], F = Array.isArray(c);
|
|
@@ -13614,7 +13642,7 @@ function ua(e, t, a) {
|
|
|
13614
13642
|
(de, X) => de.__idata ? { ...de, ...X } : X,
|
|
13615
13643
|
{}
|
|
13616
13644
|
),
|
|
13617
|
-
[
|
|
13645
|
+
[x]: c[_],
|
|
13618
13646
|
...R !== null ? { [R]: F ? Number(_) : _ } : {}
|
|
13619
13647
|
},
|
|
13620
13648
|
"__idata",
|
|
@@ -13731,7 +13759,7 @@ var pn = /* @__PURE__ */ ha({
|
|
|
13731
13759
|
ie.set(n, []);
|
|
13732
13760
|
const i = { FormKit: nt(hn), ...e.library };
|
|
13733
13761
|
let r = ua(i, e.schema, e.memoKey), o, s;
|
|
13734
|
-
un ||
|
|
13762
|
+
un || xe(
|
|
13735
13763
|
() => e.schema,
|
|
13736
13764
|
(f, y) => {
|
|
13737
13765
|
var b;
|
|
@@ -13877,8 +13905,8 @@ function Du(e, t, a = {}) {
|
|
|
13877
13905
|
const A = Ht(be(t.attrs), ct);
|
|
13878
13906
|
for (const R in A)
|
|
13879
13907
|
Lu.includes(R) && A[R] === "" && (A[R] = !0), u[ke(R)] = A[R];
|
|
13880
|
-
const
|
|
13881
|
-
return ma(
|
|
13908
|
+
const x = { props: {} };
|
|
13909
|
+
return ma(x, e), Object.assign(u, x.props), typeof u.type != "string" && (u.definition = u.type, delete u.type), u;
|
|
13882
13910
|
}
|
|
13883
13911
|
const M = y(), b = M.ignore ? null : e.parent || He(pa, null), v = mo(
|
|
13884
13912
|
se(
|
|
@@ -13915,7 +13943,7 @@ function Du(e, t, a = {}) {
|
|
|
13915
13943
|
ne(() => ma(v, e));
|
|
13916
13944
|
const h = be(e);
|
|
13917
13945
|
for (const u in h)
|
|
13918
|
-
|
|
13946
|
+
xe(
|
|
13919
13947
|
() => e[u],
|
|
13920
13948
|
() => {
|
|
13921
13949
|
e[u] !== void 0 && (v.props[u] = e[u]);
|
|
@@ -13935,7 +13963,7 @@ function Du(e, t, a = {}) {
|
|
|
13935
13963
|
for (const p in u) {
|
|
13936
13964
|
const A = ke(p);
|
|
13937
13965
|
T.add(
|
|
13938
|
-
|
|
13966
|
+
xe(
|
|
13939
13967
|
() => t.attrs[p],
|
|
13940
13968
|
() => {
|
|
13941
13969
|
v.props[A] = t.attrs[p];
|
|
@@ -13965,9 +13993,9 @@ function Du(e, t, a = {}) {
|
|
|
13965
13993
|
ne(() => {
|
|
13966
13994
|
const p = e.inputErrors ?? {}, A = Object.keys(p);
|
|
13967
13995
|
A.length || v.clearErrors(!0, u);
|
|
13968
|
-
const
|
|
13969
|
-
let c = p[
|
|
13970
|
-
return typeof c == "string" && (c = [c]), Array.isArray(c) && (R[
|
|
13996
|
+
const x = A.reduce((R, O) => {
|
|
13997
|
+
let c = p[O];
|
|
13998
|
+
return typeof c == "string" && (c = [c]), Array.isArray(c) && (R[O] = c.map(
|
|
13971
13999
|
(S) => /* @__PURE__ */ W({
|
|
13972
14000
|
key: S,
|
|
13973
14001
|
type: "error",
|
|
@@ -13977,7 +14005,7 @@ function Du(e, t, a = {}) {
|
|
|
13977
14005
|
)), R;
|
|
13978
14006
|
}, {});
|
|
13979
14007
|
v.store.apply(
|
|
13980
|
-
|
|
14008
|
+
x,
|
|
13981
14009
|
(R) => R.type === "error" && R.meta.source === u
|
|
13982
14010
|
);
|
|
13983
14011
|
});
|
|
@@ -13987,7 +14015,7 @@ function Du(e, t, a = {}) {
|
|
|
13987
14015
|
return v.on("modelUpdated", () => {
|
|
13988
14016
|
var u, p;
|
|
13989
14017
|
t.emit("inputRaw", (u = v.context) == null ? void 0 : u.value, v), g && t.emit("input", (p = v.context) == null ? void 0 : p.value, v), l && v.context && (C = q(v.value), t.emit("update:modelValue", ht(v.value)));
|
|
13990
|
-
}), l && (
|
|
14018
|
+
}), l && (xe(
|
|
13991
14019
|
yn(e, "modelValue"),
|
|
13992
14020
|
(u) => {
|
|
13993
14021
|
H(C, u) || v.input(u, !1);
|
|
@@ -14029,15 +14057,15 @@ var Mu = /* @__PURE__ */ w("messages", () => ({
|
|
|
14029
14057
|
}
|
|
14030
14058
|
}));
|
|
14031
14059
|
Mu(Iu("$message.value"));
|
|
14032
|
-
var
|
|
14060
|
+
var Ou = /* @__PURE__ */ w("summary", () => ({
|
|
14033
14061
|
$el: "div",
|
|
14034
14062
|
attrs: {
|
|
14035
14063
|
"aria-live": "polite"
|
|
14036
14064
|
}
|
|
14037
|
-
})),
|
|
14065
|
+
})), $u = /* @__PURE__ */ w("summaryInner", () => ({
|
|
14038
14066
|
$el: "div",
|
|
14039
14067
|
if: "$summaries.length && $showSummaries"
|
|
14040
|
-
})),
|
|
14068
|
+
})), xu = /* @__PURE__ */ w("messages", () => ({
|
|
14041
14069
|
$el: "ul",
|
|
14042
14070
|
if: "$summaries.length && $showSummaries"
|
|
14043
14071
|
})), Ru = /* @__PURE__ */ w("message", () => ({
|
|
@@ -14060,10 +14088,10 @@ var $u = /* @__PURE__ */ w("summary", () => ({
|
|
|
14060
14088
|
onClick: "$jumpLink"
|
|
14061
14089
|
}
|
|
14062
14090
|
}));
|
|
14063
|
-
|
|
14064
|
-
|
|
14091
|
+
Ou(
|
|
14092
|
+
$u(
|
|
14065
14093
|
_u("$summaryHeader"),
|
|
14066
|
-
|
|
14094
|
+
xu(Ru(Fu("$summary.message")))
|
|
14067
14095
|
)
|
|
14068
14096
|
);
|
|
14069
14097
|
su();
|
|
@@ -14110,7 +14138,7 @@ const Eu = (e) => {
|
|
|
14110
14138
|
),
|
|
14111
14139
|
BaListRepeater: G(
|
|
14112
14140
|
V(
|
|
14113
|
-
() => import("./ListRepeater-
|
|
14141
|
+
() => import("./ListRepeater-DkpcsGl2.js")
|
|
14114
14142
|
)
|
|
14115
14143
|
),
|
|
14116
14144
|
BaTextStyleList: G(
|
|
@@ -14130,7 +14158,7 @@ const Eu = (e) => {
|
|
|
14130
14158
|
),
|
|
14131
14159
|
BaImageUpload: G(
|
|
14132
14160
|
V(
|
|
14133
|
-
() => import("./ImageUpload-
|
|
14161
|
+
() => import("./ImageUpload-C6BJiLXa.js")
|
|
14134
14162
|
),
|
|
14135
14163
|
{ props: ["ignoreUpdate"] }
|
|
14136
14164
|
),
|
|
@@ -14155,11 +14183,11 @@ const Eu = (e) => {
|
|
|
14155
14183
|
"en-US": { ...wn, ...li },
|
|
14156
14184
|
"zh-CN": { ...An, ...hi },
|
|
14157
14185
|
"zh-TW": { ...In, ...ki },
|
|
14158
|
-
"th-TH": {
|
|
14159
|
-
"ko-KR": { ...Hn,
|
|
14186
|
+
"th-TH": { ...$n, ...Di },
|
|
14187
|
+
"ko-KR": { ...Hn, ...$i },
|
|
14160
14188
|
"vi-VN": { ...zn, ...Ni },
|
|
14161
14189
|
"ms-MY": { ...ai, ...Ki }
|
|
14162
|
-
}, Vu = V(() => import("./App-
|
|
14190
|
+
}, Vu = V(() => import("./App-DgTr2pZn.js"));
|
|
14163
14191
|
export {
|
|
14164
14192
|
hn as F,
|
|
14165
14193
|
pn as a,
|
|
@@ -14168,7 +14196,7 @@ export {
|
|
|
14168
14196
|
Eu as d,
|
|
14169
14197
|
li as e,
|
|
14170
14198
|
Uu as i,
|
|
14171
|
-
|
|
14199
|
+
$i as k,
|
|
14172
14200
|
Ki as m,
|
|
14173
14201
|
Hu as r,
|
|
14174
14202
|
Di as t,
|