@dejwcake/craftable 2.0.0 → 2.0.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/index.cjs +1 -1
- package/dist/index.mjs +265 -209
- package/package.json +1 -1
- package/src/components/form/FormTagInput.vue +36 -0
- package/src/index.js +1 -0
package/dist/index.mjs
CHANGED
|
@@ -2339,16 +2339,72 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2339
2339
|
"track-by"
|
|
2340
2340
|
]), e.error ? (y(), o("div", Yr, w(e.error), 1)) : a("", !0)])]));
|
|
2341
2341
|
}
|
|
2342
|
-
}, Zr = { class: "mb-3 row align-items-center" }, Qr = ["for"], $r = { class: "col-md-9 col-xl-8" }, ei =
|
|
2342
|
+
}, Zr = { class: "mb-3 row align-items-center" }, Qr = ["for"], $r = { class: "col-md-9 col-xl-8" }, ei = {
|
|
2343
|
+
key: 0,
|
|
2344
|
+
class: "invalid-feedback d-block form-text"
|
|
2345
|
+
}, ti = {
|
|
2346
|
+
__name: "FormTagInput",
|
|
2347
|
+
props: {
|
|
2348
|
+
modelValue: {
|
|
2349
|
+
type: Array,
|
|
2350
|
+
default: () => []
|
|
2351
|
+
},
|
|
2352
|
+
name: {
|
|
2353
|
+
type: String,
|
|
2354
|
+
required: !0
|
|
2355
|
+
},
|
|
2356
|
+
label: {
|
|
2357
|
+
type: String,
|
|
2358
|
+
required: !0
|
|
2359
|
+
},
|
|
2360
|
+
error: {
|
|
2361
|
+
type: String,
|
|
2362
|
+
default: ""
|
|
2363
|
+
},
|
|
2364
|
+
placeholder: {
|
|
2365
|
+
type: String,
|
|
2366
|
+
default: ""
|
|
2367
|
+
},
|
|
2368
|
+
tagPlaceholder: {
|
|
2369
|
+
type: String,
|
|
2370
|
+
default: ""
|
|
2371
|
+
}
|
|
2372
|
+
},
|
|
2373
|
+
emits: ["update:modelValue"],
|
|
2374
|
+
setup(e) {
|
|
2375
|
+
return (t, n) => (y(), o("div", Zr, [s("label", {
|
|
2376
|
+
for: e.name,
|
|
2377
|
+
class: "col-md-3 col-form-label text-md-end"
|
|
2378
|
+
}, w(e.label), 9, Qr), s("div", $r, [l(E(V), {
|
|
2379
|
+
"model-value": e.modelValue,
|
|
2380
|
+
class: m({ "is-invalid": e.error }),
|
|
2381
|
+
placeholder: e.placeholder,
|
|
2382
|
+
options: e.modelValue,
|
|
2383
|
+
multiple: !0,
|
|
2384
|
+
taggable: !0,
|
|
2385
|
+
"close-on-select": !1,
|
|
2386
|
+
"tag-placeholder": e.tagPlaceholder,
|
|
2387
|
+
"open-direction": "bottom",
|
|
2388
|
+
onTag: n[0] ||= (n) => t.$emit("update:modelValue", [...e.modelValue, n]),
|
|
2389
|
+
"onUpdate:modelValue": n[1] ||= (e) => t.$emit("update:modelValue", e)
|
|
2390
|
+
}, null, 8, [
|
|
2391
|
+
"model-value",
|
|
2392
|
+
"class",
|
|
2393
|
+
"placeholder",
|
|
2394
|
+
"options",
|
|
2395
|
+
"tag-placeholder"
|
|
2396
|
+
]), e.error ? (y(), o("div", ei, w(e.error), 1)) : a("", !0)])]));
|
|
2397
|
+
}
|
|
2398
|
+
}, ni = { class: "mb-3 row align-items-center" }, ri = ["for"], ii = { class: "col-md-9 col-xl-8" }, ai = [
|
|
2343
2399
|
"id",
|
|
2344
2400
|
"value",
|
|
2345
2401
|
"name",
|
|
2346
2402
|
"placeholder",
|
|
2347
2403
|
"onInput"
|
|
2348
|
-
],
|
|
2404
|
+
], oi = {
|
|
2349
2405
|
key: 0,
|
|
2350
2406
|
class: "invalid-feedback d-block form-text"
|
|
2351
|
-
},
|
|
2407
|
+
}, si = {
|
|
2352
2408
|
__name: "FormLocalizedInput",
|
|
2353
2409
|
props: {
|
|
2354
2410
|
modelValue: {
|
|
@@ -2389,10 +2445,10 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2389
2445
|
[e]: t
|
|
2390
2446
|
});
|
|
2391
2447
|
}
|
|
2392
|
-
return (n, r) => (y(), o("div",
|
|
2448
|
+
return (n, r) => (y(), o("div", ni, [s("label", {
|
|
2393
2449
|
for: e.name + "_" + e.locales[0],
|
|
2394
2450
|
class: "col-md-3 col-form-label text-md-end"
|
|
2395
|
-
}, w(e.label), 9,
|
|
2451
|
+
}, w(e.label), 9, ri), s("div", ii, [s("div", { class: m({ "d-flex gap-2": e.isFormLocalized }) }, [(y(!0), o(t, null, S(e.locales, (t) => N((y(), o("div", {
|
|
2396
2452
|
key: t,
|
|
2397
2453
|
class: m({ "flex-fill": e.isFormLocalized })
|
|
2398
2454
|
}, [s("input", {
|
|
@@ -2403,12 +2459,12 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2403
2459
|
name: e.name + "_" + t,
|
|
2404
2460
|
placeholder: e.isFormLocalized ? t.toUpperCase() : e.label,
|
|
2405
2461
|
onInput: (e) => c(t, e.target.value)
|
|
2406
|
-
}, null, 42,
|
|
2462
|
+
}, null, 42, ai), e.errors[e.name + "_" + t] ? (y(), o("div", oi, w(e.errors[e.name + "_" + t]), 1)) : a("", !0)], 2)), [[A, e.shouldShowLangGroup(t)]])), 128))], 2)])]));
|
|
2407
2463
|
}
|
|
2408
|
-
},
|
|
2464
|
+
}, ci = { class: "mb-3 row align-items-center" }, li = ["for"], ui = { class: "col-md-9 col-xl-8" }, di = {
|
|
2409
2465
|
key: 0,
|
|
2410
2466
|
class: "invalid-feedback d-block form-text"
|
|
2411
|
-
},
|
|
2467
|
+
}, fi = /* @__PURE__ */ $({
|
|
2412
2468
|
__name: "FormLocalizedWysiwyg",
|
|
2413
2469
|
props: {
|
|
2414
2470
|
modelValue: {
|
|
@@ -2457,10 +2513,10 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2457
2513
|
[e]: t
|
|
2458
2514
|
});
|
|
2459
2515
|
}
|
|
2460
|
-
return (n, r) => (y(), o("div",
|
|
2516
|
+
return (n, r) => (y(), o("div", ci, [s("label", {
|
|
2461
2517
|
for: e.name + "_" + e.locales[0],
|
|
2462
2518
|
class: "col-md-3 col-form-label text-md-end"
|
|
2463
|
-
}, w(e.label), 9,
|
|
2519
|
+
}, w(e.label), 9, li), s("div", ui, [s("div", { class: m({ "d-flex gap-2": e.isFormLocalized }) }, [(y(!0), o(t, null, S(e.locales, (t) => N((y(), o("div", {
|
|
2464
2520
|
key: t,
|
|
2465
2521
|
class: m({ "flex-fill localized-editor": e.isFormLocalized })
|
|
2466
2522
|
}, [l(Rt, p({
|
|
@@ -2474,12 +2530,12 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2474
2530
|
"name",
|
|
2475
2531
|
"upload-url",
|
|
2476
2532
|
"onUpdate:modelValue"
|
|
2477
|
-
]), e.errors[e.name + "_" + t] ? (y(), o("div",
|
|
2533
|
+
]), e.errors[e.name + "_" + t] ? (y(), o("div", di, w(e.errors[e.name + "_" + t]), 1)) : a("", !0)], 2)), [[A, e.shouldShowLangGroup(t)]])), 128))], 2)])]));
|
|
2478
2534
|
}
|
|
2479
|
-
}, [["__scopeId", "data-v-608701dd"]]),
|
|
2535
|
+
}, [["__scopeId", "data-v-608701dd"]]), pi = { class: "mb-3 row align-items-center" }, mi = ["for"], hi = { class: "col-md-9 col-xl-8" }, gi = {
|
|
2480
2536
|
key: 0,
|
|
2481
2537
|
class: "invalid-feedback d-block form-text"
|
|
2482
|
-
},
|
|
2538
|
+
}, _i = {
|
|
2483
2539
|
__name: "FormWysiwygSimple",
|
|
2484
2540
|
props: {
|
|
2485
2541
|
modelValue: {
|
|
@@ -2509,10 +2565,10 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2509
2565
|
},
|
|
2510
2566
|
emits: ["update:modelValue"],
|
|
2511
2567
|
setup(e) {
|
|
2512
|
-
return (t, n) => (y(), o("div",
|
|
2568
|
+
return (t, n) => (y(), o("div", pi, [s("label", {
|
|
2513
2569
|
for: e.name,
|
|
2514
2570
|
class: "col-md-3 col-form-label text-md-end"
|
|
2515
|
-
}, w(e.label), 9,
|
|
2571
|
+
}, w(e.label), 9, mi), s("div", hi, [l(Z, p({
|
|
2516
2572
|
id: e.name,
|
|
2517
2573
|
"model-value": e.modelValue,
|
|
2518
2574
|
name: e.name,
|
|
@@ -2522,12 +2578,12 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2522
2578
|
"model-value",
|
|
2523
2579
|
"name",
|
|
2524
2580
|
"upload-url"
|
|
2525
|
-
]), e.error ? (y(), o("div",
|
|
2581
|
+
]), e.error ? (y(), o("div", gi, w(e.error), 1)) : a("", !0)])]));
|
|
2526
2582
|
}
|
|
2527
|
-
},
|
|
2583
|
+
}, vi = { class: "mb-3 row align-items-center" }, yi = ["for"], bi = { class: "col-md-9 col-xl-8" }, xi = {
|
|
2528
2584
|
key: 0,
|
|
2529
2585
|
class: "invalid-feedback d-block form-text"
|
|
2530
|
-
},
|
|
2586
|
+
}, Si = /* @__PURE__ */ $({
|
|
2531
2587
|
__name: "FormLocalizedWysiwygSimple",
|
|
2532
2588
|
props: {
|
|
2533
2589
|
modelValue: {
|
|
@@ -2576,10 +2632,10 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2576
2632
|
[e]: t
|
|
2577
2633
|
});
|
|
2578
2634
|
}
|
|
2579
|
-
return (n, r) => (y(), o("div",
|
|
2635
|
+
return (n, r) => (y(), o("div", vi, [s("label", {
|
|
2580
2636
|
for: e.name + "_" + e.locales[0],
|
|
2581
2637
|
class: "col-md-3 col-form-label text-md-end"
|
|
2582
|
-
}, w(e.label), 9,
|
|
2638
|
+
}, w(e.label), 9, yi), s("div", bi, [s("div", { class: m({ "d-flex gap-2": e.isFormLocalized }) }, [(y(!0), o(t, null, S(e.locales, (t) => N((y(), o("div", {
|
|
2583
2639
|
key: t,
|
|
2584
2640
|
class: m({ "flex-fill localized-editor": e.isFormLocalized })
|
|
2585
2641
|
}, [l(Z, p({
|
|
@@ -2593,12 +2649,12 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2593
2649
|
"name",
|
|
2594
2650
|
"upload-url",
|
|
2595
2651
|
"onUpdate:modelValue"
|
|
2596
|
-
]), e.errors[e.name + "_" + t] ? (y(), o("div",
|
|
2652
|
+
]), e.errors[e.name + "_" + t] ? (y(), o("div", xi, w(e.errors[e.name + "_" + t]), 1)) : a("", !0)], 2)), [[A, e.shouldShowLangGroup(t)]])), 128))], 2)])]));
|
|
2597
2653
|
}
|
|
2598
|
-
}, [["__scopeId", "data-v-bf19587d"]]),
|
|
2654
|
+
}, [["__scopeId", "data-v-bf19587d"]]), Ci = { class: "mb-3 row align-items-center" }, wi = ["for"], Ti = { class: "col-md-9 col-xl-8" }, Ei = {
|
|
2599
2655
|
key: 0,
|
|
2600
2656
|
class: "invalid-feedback d-block form-text"
|
|
2601
|
-
},
|
|
2657
|
+
}, Di = {
|
|
2602
2658
|
__name: "FormSelect",
|
|
2603
2659
|
props: {
|
|
2604
2660
|
modelValue: {
|
|
@@ -2641,10 +2697,10 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2641
2697
|
},
|
|
2642
2698
|
emits: ["update:modelValue"],
|
|
2643
2699
|
setup(e) {
|
|
2644
|
-
return (t, n) => (y(), o("div",
|
|
2700
|
+
return (t, n) => (y(), o("div", Ci, [s("label", {
|
|
2645
2701
|
for: e.name,
|
|
2646
2702
|
class: "col-md-3 col-form-label text-md-end"
|
|
2647
|
-
}, w(e.label), 9,
|
|
2703
|
+
}, w(e.label), 9, wi), s("div", Ti, [l(E(V), {
|
|
2648
2704
|
"model-value": e.modelValue,
|
|
2649
2705
|
class: m({ "is-invalid": e.error }),
|
|
2650
2706
|
placeholder: e.placeholder,
|
|
@@ -2660,21 +2716,21 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2660
2716
|
"options",
|
|
2661
2717
|
"label",
|
|
2662
2718
|
"track-by"
|
|
2663
|
-
]), e.error ? (y(), o("div",
|
|
2719
|
+
]), e.error ? (y(), o("div", Ei, w(e.error), 1)) : a("", !0)])]));
|
|
2664
2720
|
}
|
|
2665
|
-
},
|
|
2721
|
+
}, Oi = { class: "mb-3 row align-items-center" }, ki = {
|
|
2666
2722
|
for: "password",
|
|
2667
2723
|
class: "col-md-3 col-form-label text-md-end"
|
|
2668
|
-
},
|
|
2724
|
+
}, Ai = { class: "col-md-9 col-xl-8" }, ji = ["value", "placeholder"], Mi = {
|
|
2669
2725
|
key: 0,
|
|
2670
2726
|
class: "invalid-feedback form-text"
|
|
2671
|
-
},
|
|
2727
|
+
}, Ni = { class: "mb-3 row align-items-center" }, Pi = {
|
|
2672
2728
|
for: "password_confirmation",
|
|
2673
2729
|
class: "col-md-3 col-form-label text-md-end"
|
|
2674
|
-
},
|
|
2730
|
+
}, Fi = { class: "col-md-9 col-xl-8" }, Ii = ["value", "placeholder"], Li = {
|
|
2675
2731
|
key: 0,
|
|
2676
2732
|
class: "invalid-feedback form-text"
|
|
2677
|
-
},
|
|
2733
|
+
}, Ri = {
|
|
2678
2734
|
__name: "FormPasswordConfirm",
|
|
2679
2735
|
props: {
|
|
2680
2736
|
password: {
|
|
@@ -2700,7 +2756,7 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2700
2756
|
},
|
|
2701
2757
|
emits: ["update:password", "update:passwordConfirmation"],
|
|
2702
2758
|
setup(e) {
|
|
2703
|
-
return (n, r) => (y(), o(t, null, [s("div",
|
|
2759
|
+
return (n, r) => (y(), o(t, null, [s("div", Oi, [s("label", ki, w(e.translations.password), 1), s("div", Ai, [s("input", {
|
|
2704
2760
|
id: "password",
|
|
2705
2761
|
type: "password",
|
|
2706
2762
|
value: e.password,
|
|
@@ -2708,7 +2764,7 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2708
2764
|
name: "password",
|
|
2709
2765
|
placeholder: e.translations.password,
|
|
2710
2766
|
onInput: r[0] ||= (e) => n.$emit("update:password", e.target.value)
|
|
2711
|
-
}, null, 42,
|
|
2767
|
+
}, null, 42, ji), e.passwordError ? (y(), o("div", Mi, w(e.passwordError), 1)) : a("", !0)])]), s("div", Ni, [s("label", Pi, w(e.translations.password_repeat), 1), s("div", Fi, [s("input", {
|
|
2712
2768
|
id: "password_confirmation",
|
|
2713
2769
|
type: "password",
|
|
2714
2770
|
value: e.passwordConfirmation,
|
|
@@ -2716,9 +2772,9 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2716
2772
|
name: "password_confirmation",
|
|
2717
2773
|
placeholder: e.translations.password,
|
|
2718
2774
|
onInput: r[1] ||= (e) => n.$emit("update:passwordConfirmation", e.target.value)
|
|
2719
|
-
}, null, 42,
|
|
2775
|
+
}, null, 42, Ii), e.confirmationError ? (y(), o("div", Li, w(e.confirmationError), 1)) : a("", !0)])])], 64));
|
|
2720
2776
|
}
|
|
2721
|
-
},
|
|
2777
|
+
}, zi = ["disabled"], Bi = {
|
|
2722
2778
|
__name: "FormSubmit",
|
|
2723
2779
|
props: {
|
|
2724
2780
|
submitting: {
|
|
@@ -2735,24 +2791,24 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2735
2791
|
type: "submit",
|
|
2736
2792
|
class: "btn btn-primary submit-btn",
|
|
2737
2793
|
disabled: e.submitting
|
|
2738
|
-
}, [s("i", { class: m(["fa", e.submitting ? "fa-spinner" : "fa-download"]) }, null, 2), c(" " + w(e.label), 1)], 8,
|
|
2794
|
+
}, [s("i", { class: m(["fa", e.submitting ? "fa-spinner" : "fa-download"]) }, null, 2), c(" " + w(e.label), 1)], 8, zi));
|
|
2739
2795
|
}
|
|
2740
|
-
},
|
|
2796
|
+
}, Vi = {
|
|
2741
2797
|
key: 0,
|
|
2742
2798
|
class: "row mb-2 localization-bar"
|
|
2743
|
-
},
|
|
2799
|
+
}, Hi = { key: 0 }, Ui = { key: 0 }, Wi = {
|
|
2744
2800
|
key: 1,
|
|
2745
2801
|
class: "localization-error"
|
|
2746
|
-
},
|
|
2802
|
+
}, Gi = {
|
|
2747
2803
|
key: 2,
|
|
2748
2804
|
class: "d-flex align-items-center gap-2"
|
|
2749
|
-
},
|
|
2805
|
+
}, Ki = { class: "text-nowrap" }, qi = {
|
|
2750
2806
|
key: 0,
|
|
2751
2807
|
class: "localization-error"
|
|
2752
|
-
},
|
|
2808
|
+
}, Ji = {
|
|
2753
2809
|
key: 0,
|
|
2754
2810
|
class: "localization-error"
|
|
2755
|
-
},
|
|
2811
|
+
}, Yi = /* @__PURE__ */ $({
|
|
2756
2812
|
__name: "LocalizationBar",
|
|
2757
2813
|
props: {
|
|
2758
2814
|
translations: {
|
|
@@ -2795,19 +2851,19 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2795
2851
|
],
|
|
2796
2852
|
setup(e) {
|
|
2797
2853
|
let t = e, n = r(() => t.translations.currently_editing_translation ? t.translations.currently_editing_translation.replace(":locale", t.defaultLocale.toUpperCase()) : ""), i = r(() => t.translations.more_can_be_managed ? t.translations.more_can_be_managed.replace(":count", String(t.otherLocales.length)) : ""), u = r(() => t.onSmallScreen ? [t.defaultLocale, ...t.otherLocales] : [...t.otherLocales]);
|
|
2798
|
-
return (t, r) => e.locales.length > 0 ? (y(), o("div",
|
|
2799
|
-
e.isFormLocalized ? a("", !0) : (y(), o("small",
|
|
2854
|
+
return (t, r) => e.locales.length > 0 ? (y(), o("div", Vi, [s("div", { class: m(["offset-md-3 col-md-9 col-xl-8 text-start", { "d-none": e.onSmallScreen }]) }, [
|
|
2855
|
+
e.isFormLocalized ? a("", !0) : (y(), o("small", Hi, [
|
|
2800
2856
|
c(w(n.value), 1),
|
|
2801
|
-
e.otherLocales.length > 1 ? (y(), o("span",
|
|
2857
|
+
e.otherLocales.length > 1 ? (y(), o("span", Ui, w(i.value), 1)) : a("", !0),
|
|
2802
2858
|
r[4] ||= c(" | ", -1),
|
|
2803
2859
|
s("a", {
|
|
2804
2860
|
href: "#",
|
|
2805
2861
|
onClick: r[0] ||= F((e) => t.$emit("show-localization"), ["prevent"])
|
|
2806
2862
|
}, w(e.translations.manage_translations), 1)
|
|
2807
2863
|
])),
|
|
2808
|
-
!e.isFormLocalized && e.showLocalizedValidationError ? (y(), o("i",
|
|
2809
|
-
e.isFormLocalized ? (y(), o("div",
|
|
2810
|
-
s("small",
|
|
2864
|
+
!e.isFormLocalized && e.showLocalizedValidationError ? (y(), o("i", Wi)) : a("", !0),
|
|
2865
|
+
e.isFormLocalized ? (y(), o("div", Gi, [
|
|
2866
|
+
s("small", Ki, w(e.translations.choose_translation_to_edit), 1),
|
|
2811
2867
|
l(E(V), {
|
|
2812
2868
|
"model-value": e.currentLocale,
|
|
2813
2869
|
options: u.value,
|
|
@@ -2821,7 +2877,7 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2821
2877
|
"options",
|
|
2822
2878
|
"custom-label"
|
|
2823
2879
|
]),
|
|
2824
|
-
e.showLocalizedValidationError ? (y(), o("i",
|
|
2880
|
+
e.showLocalizedValidationError ? (y(), o("i", qi)) : a("", !0),
|
|
2825
2881
|
s("small", null, [s("a", {
|
|
2826
2882
|
href: "#",
|
|
2827
2883
|
onClick: r[2] ||= F((e) => t.$emit("hide-localization"), ["prevent"])
|
|
@@ -2848,25 +2904,25 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2848
2904
|
"options",
|
|
2849
2905
|
"custom-label"
|
|
2850
2906
|
]),
|
|
2851
|
-
e.showLocalizedValidationError ? (y(), o("i",
|
|
2907
|
+
e.showLocalizedValidationError ? (y(), o("i", Ji)) : a("", !0)
|
|
2852
2908
|
])], 2)) : a("", !0)])) : a("", !0);
|
|
2853
2909
|
}
|
|
2854
|
-
}, [["__scopeId", "data-v-1c9f060d"]]),
|
|
2910
|
+
}, [["__scopeId", "data-v-1c9f060d"]]), Xi = { class: "card" }, Zi = { class: "card-body" }, Qi = ["action"], $i = { class: "auth-header" }, ea = { class: "auth-title" }, ta = { class: "auth-subtitle" }, na = { class: "auth-body" }, ra = {
|
|
2855
2911
|
key: 0,
|
|
2856
2912
|
class: "alert alert-success"
|
|
2857
|
-
},
|
|
2913
|
+
}, ia = {
|
|
2858
2914
|
key: 1,
|
|
2859
2915
|
class: "alert alert-danger"
|
|
2860
|
-
},
|
|
2916
|
+
}, aa = { class: "mb-3" }, oa = { for: "email" }, sa = { class: "input-group input-group--custom" }, ca = ["placeholder"], la = {
|
|
2861
2917
|
key: 0,
|
|
2862
2918
|
class: "invalid-feedback d-block form-text"
|
|
2863
|
-
},
|
|
2919
|
+
}, ua = { class: "mb-3" }, da = { for: "password" }, fa = { class: "input-group input-group--custom" }, pa = ["placeholder"], ma = {
|
|
2864
2920
|
key: 0,
|
|
2865
2921
|
class: "invalid-feedback d-block form-text"
|
|
2866
|
-
},
|
|
2922
|
+
}, ha = { class: "mb-3" }, ga = ["disabled"], _a = {
|
|
2867
2923
|
key: 0,
|
|
2868
2924
|
class: "fa fa-spinner fa-spin"
|
|
2869
|
-
},
|
|
2925
|
+
}, va = { class: "mb-3 text-center" }, ya = ["href"], ba = /* @__PURE__ */ $({
|
|
2870
2926
|
__name: "LoginForm",
|
|
2871
2927
|
props: {
|
|
2872
2928
|
action: {
|
|
@@ -2908,40 +2964,40 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2908
2964
|
window.location.replace(n.redirectUrl);
|
|
2909
2965
|
}
|
|
2910
2966
|
});
|
|
2911
|
-
return (n, d) => (y(), o("div",
|
|
2967
|
+
return (n, d) => (y(), o("div", Xi, [s("div", Zi, [s("form", {
|
|
2912
2968
|
role: "form",
|
|
2913
2969
|
method: "POST",
|
|
2914
2970
|
action: e.action,
|
|
2915
2971
|
novalidate: "",
|
|
2916
2972
|
onSubmit: d[2] ||= F((...e) => E(u) && E(u)(...e), ["prevent"])
|
|
2917
|
-
}, [s("div",
|
|
2918
|
-
e.statusMessage ? (y(), o("div",
|
|
2919
|
-
e.serverErrors.length ? (y(), o("div",
|
|
2920
|
-
s("div",
|
|
2921
|
-
s("label",
|
|
2922
|
-
s("div",
|
|
2973
|
+
}, [s("div", $i, [s("h1", ea, w(e.translations.title), 1), s("p", ta, w(e.translations.signInText), 1)]), s("div", na, [
|
|
2974
|
+
e.statusMessage ? (y(), o("div", ra, w(e.statusMessage), 1)) : a("", !0),
|
|
2975
|
+
e.serverErrors.length ? (y(), o("div", ia, [s("ul", null, [(y(!0), o(t, null, S(e.serverErrors, (e, t) => (y(), o("li", { key: t }, w(e), 1))), 128))])])) : a("", !0),
|
|
2976
|
+
s("div", aa, [
|
|
2977
|
+
s("label", oa, w(e.translations.email), 1),
|
|
2978
|
+
s("div", sa, [d[3] ||= s("span", { class: "input-group-text" }, [s("i", { class: "fa fa-envelope" })], -1), N(s("input", {
|
|
2923
2979
|
id: "email",
|
|
2924
2980
|
"onUpdate:modelValue": d[0] ||= (e) => E(r).email = e,
|
|
2925
2981
|
type: "text",
|
|
2926
2982
|
class: m(["form-control", { "is-invalid": E(i).email }]),
|
|
2927
2983
|
name: "email",
|
|
2928
2984
|
placeholder: e.translations.email
|
|
2929
|
-
}, null, 10,
|
|
2930
|
-
E(i).email ? (y(), o("div",
|
|
2985
|
+
}, null, 10, ca), [[k, E(r).email]])]),
|
|
2986
|
+
E(i).email ? (y(), o("div", la, w(E(i).email), 1)) : a("", !0)
|
|
2931
2987
|
]),
|
|
2932
|
-
s("div",
|
|
2933
|
-
s("label",
|
|
2934
|
-
s("div",
|
|
2988
|
+
s("div", ua, [
|
|
2989
|
+
s("label", da, w(e.translations.password), 1),
|
|
2990
|
+
s("div", fa, [d[4] ||= s("span", { class: "input-group-text" }, [s("i", { class: "fa fa-lock" })], -1), N(s("input", {
|
|
2935
2991
|
id: "password",
|
|
2936
2992
|
"onUpdate:modelValue": d[1] ||= (e) => E(r).password = e,
|
|
2937
2993
|
type: "password",
|
|
2938
2994
|
class: m(["form-control", { "is-invalid": E(i).password }]),
|
|
2939
2995
|
name: "password",
|
|
2940
2996
|
placeholder: e.translations.password
|
|
2941
|
-
}, null, 10,
|
|
2942
|
-
E(i).password ? (y(), o("div",
|
|
2997
|
+
}, null, 10, pa), [[k, E(r).password]])]),
|
|
2998
|
+
E(i).password ? (y(), o("div", ma, w(E(i).password), 1)) : a("", !0)
|
|
2943
2999
|
]),
|
|
2944
|
-
s("div",
|
|
3000
|
+
s("div", ha, [d[5] ||= s("input", {
|
|
2945
3001
|
type: "hidden",
|
|
2946
3002
|
name: "remember",
|
|
2947
3003
|
value: "1"
|
|
@@ -2949,32 +3005,32 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
2949
3005
|
type: "submit",
|
|
2950
3006
|
class: "btn btn-primary submit-btn",
|
|
2951
3007
|
disabled: E(l)
|
|
2952
|
-
}, [E(l) ? (y(), o("i",
|
|
2953
|
-
s("div",
|
|
3008
|
+
}, [E(l) ? (y(), o("i", _a)) : a("", !0), c(" " + w(e.translations.button), 1)], 8, ga)]),
|
|
3009
|
+
s("div", va, [s("a", {
|
|
2954
3010
|
href: e.passwordResetUrl,
|
|
2955
3011
|
class: "auth-ghost-link forgot-link"
|
|
2956
|
-
}, w(e.translations.forgotPassword), 9,
|
|
2957
|
-
])], 40,
|
|
3012
|
+
}, w(e.translations.forgotPassword), 9, ya)])
|
|
3013
|
+
])], 40, Qi)])]));
|
|
2958
3014
|
}
|
|
2959
|
-
}, [["__scopeId", "data-v-8d4257dc"]]),
|
|
3015
|
+
}, [["__scopeId", "data-v-8d4257dc"]]), xa = { class: "card" }, Sa = { class: "card-body" }, Ca = ["action"], wa = { class: "auth-header" }, Ta = { class: "auth-title" }, Ea = { class: "auth-subtitle" }, Da = { class: "auth-body" }, Oa = {
|
|
2960
3016
|
key: 0,
|
|
2961
3017
|
class: "alert alert-success"
|
|
2962
|
-
},
|
|
3018
|
+
}, ka = {
|
|
2963
3019
|
key: 1,
|
|
2964
3020
|
class: "alert alert-success"
|
|
2965
|
-
},
|
|
3021
|
+
}, Aa = {
|
|
2966
3022
|
key: 2,
|
|
2967
3023
|
class: "alert alert-danger"
|
|
2968
|
-
},
|
|
3024
|
+
}, ja = { class: "mb-3" }, Ma = { for: "email" }, Na = { class: "input-group input-group--custom" }, Pa = ["placeholder"], Fa = {
|
|
2969
3025
|
key: 0,
|
|
2970
3026
|
class: "invalid-feedback d-block form-text"
|
|
2971
|
-
},
|
|
3027
|
+
}, Ia = { class: "mb-3" }, La = ["disabled"], Ra = {
|
|
2972
3028
|
key: 0,
|
|
2973
3029
|
class: "fa fa-spinner fa-spin"
|
|
2974
|
-
},
|
|
3030
|
+
}, za = {
|
|
2975
3031
|
key: 3,
|
|
2976
3032
|
class: "text-center"
|
|
2977
|
-
},
|
|
3033
|
+
}, Ba = ["href"], Va = {
|
|
2978
3034
|
__name: "ForgotPasswordForm",
|
|
2979
3035
|
props: {
|
|
2980
3036
|
action: {
|
|
@@ -3003,61 +3059,61 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3003
3059
|
formDefaults: { email: "" },
|
|
3004
3060
|
validationSchema: { email: "required|email" }
|
|
3005
3061
|
});
|
|
3006
|
-
return (d, f) => (y(), o("div",
|
|
3062
|
+
return (d, f) => (y(), o("div", xa, [s("div", Sa, [s("form", {
|
|
3007
3063
|
role: "form",
|
|
3008
3064
|
method: "POST",
|
|
3009
3065
|
action: e.action,
|
|
3010
3066
|
novalidate: "",
|
|
3011
3067
|
onSubmit: f[1] ||= F((...e) => E(u) && E(u)(...e), ["prevent"])
|
|
3012
|
-
}, [s("div",
|
|
3013
|
-
E(l) ? (y(), o("div",
|
|
3014
|
-
e.statusMessage && !E(l) ? (y(), o("div",
|
|
3015
|
-
e.serverErrors.length ? (y(), o("div",
|
|
3016
|
-
s("div",
|
|
3017
|
-
s("label",
|
|
3018
|
-
s("div",
|
|
3068
|
+
}, [s("div", wa, [s("h1", Ta, w(e.translations.title), 1), s("p", Ea, w(e.translations.note), 1)]), s("div", Da, [
|
|
3069
|
+
E(l) ? (y(), o("div", Oa, w(E(l)), 1)) : a("", !0),
|
|
3070
|
+
e.statusMessage && !E(l) ? (y(), o("div", ka, w(e.statusMessage), 1)) : a("", !0),
|
|
3071
|
+
e.serverErrors.length ? (y(), o("div", Aa, [s("ul", null, [(y(!0), o(t, null, S(e.serverErrors, (e, t) => (y(), o("li", { key: t }, w(e), 1))), 128))])])) : a("", !0),
|
|
3072
|
+
s("div", ja, [
|
|
3073
|
+
s("label", Ma, w(e.translations.email), 1),
|
|
3074
|
+
s("div", Na, [f[2] ||= s("span", { class: "input-group-text" }, [s("i", { class: "fa fa-envelope" })], -1), N(s("input", {
|
|
3019
3075
|
id: "email",
|
|
3020
3076
|
"onUpdate:modelValue": f[0] ||= (e) => E(n).email = e,
|
|
3021
3077
|
type: "text",
|
|
3022
3078
|
class: m(["form-control", { "is-invalid": E(r).email }]),
|
|
3023
3079
|
name: "email",
|
|
3024
3080
|
placeholder: e.translations.email
|
|
3025
|
-
}, null, 10,
|
|
3026
|
-
E(r).email ? (y(), o("div",
|
|
3081
|
+
}, null, 10, Pa), [[k, E(n).email]])]),
|
|
3082
|
+
E(r).email ? (y(), o("div", Fa, w(E(r).email), 1)) : a("", !0)
|
|
3027
3083
|
]),
|
|
3028
|
-
s("div",
|
|
3084
|
+
s("div", Ia, [s("button", {
|
|
3029
3085
|
type: "submit",
|
|
3030
3086
|
class: "btn btn-primary submit-btn",
|
|
3031
3087
|
disabled: E(i)
|
|
3032
|
-
}, [E(i) ? (y(), o("i",
|
|
3033
|
-
e.loginUrl ? (y(), o("div",
|
|
3088
|
+
}, [E(i) ? (y(), o("i", Ra)) : a("", !0), c(" " + w(e.translations.button), 1)], 8, La)]),
|
|
3089
|
+
e.loginUrl ? (y(), o("div", za, [s("a", {
|
|
3034
3090
|
href: e.loginUrl,
|
|
3035
3091
|
class: "auth-ghost-link"
|
|
3036
|
-
}, w(e.translations.backToLogin), 9,
|
|
3037
|
-
])], 40,
|
|
3092
|
+
}, w(e.translations.backToLogin), 9, Ba)])) : a("", !0)
|
|
3093
|
+
])], 40, Ca)])]));
|
|
3038
3094
|
}
|
|
3039
|
-
},
|
|
3095
|
+
}, Ha = { class: "card" }, Ua = { class: "card-body" }, Wa = ["action"], Ga = { class: "auth-header" }, Ka = { class: "auth-title" }, qa = { class: "auth-subtitle" }, Ja = { class: "auth-body" }, Ya = {
|
|
3040
3096
|
key: 0,
|
|
3041
3097
|
class: "alert alert-success"
|
|
3042
|
-
},
|
|
3098
|
+
}, Xa = {
|
|
3043
3099
|
key: 1,
|
|
3044
3100
|
class: "alert alert-danger"
|
|
3045
|
-
},
|
|
3101
|
+
}, Za = { class: "mb-3" }, Qa = { for: "email" }, $a = { class: "input-group input-group--custom" }, eo = ["placeholder"], to = {
|
|
3046
3102
|
key: 0,
|
|
3047
3103
|
class: "invalid-feedback d-block form-text"
|
|
3048
|
-
},
|
|
3104
|
+
}, no = { class: "mb-3" }, ro = { for: "password" }, io = { class: "input-group input-group--custom" }, ao = ["placeholder"], oo = {
|
|
3049
3105
|
key: 0,
|
|
3050
3106
|
class: "invalid-feedback d-block form-text"
|
|
3051
|
-
},
|
|
3107
|
+
}, so = { class: "mb-3" }, co = { for: "password_confirmation" }, lo = { class: "input-group input-group--custom" }, uo = ["placeholder"], fo = {
|
|
3052
3108
|
key: 0,
|
|
3053
3109
|
class: "invalid-feedback d-block form-text"
|
|
3054
|
-
},
|
|
3110
|
+
}, po = { class: "mb-3" }, mo = ["disabled"], ho = {
|
|
3055
3111
|
key: 0,
|
|
3056
3112
|
class: "fa fa-spinner fa-spin"
|
|
3057
|
-
},
|
|
3113
|
+
}, go = {
|
|
3058
3114
|
key: 2,
|
|
3059
3115
|
class: "text-center"
|
|
3060
|
-
},
|
|
3116
|
+
}, _o = ["href"], vo = {
|
|
3061
3117
|
__name: "ResetPasswordForm",
|
|
3062
3118
|
props: {
|
|
3063
3119
|
action: {
|
|
@@ -3110,78 +3166,78 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3110
3166
|
window.location.replace(e.redirect || n.redirectUrl);
|
|
3111
3167
|
}
|
|
3112
3168
|
});
|
|
3113
|
-
return (n, d) => (y(), o("div",
|
|
3169
|
+
return (n, d) => (y(), o("div", Ha, [s("div", Ua, [s("form", {
|
|
3114
3170
|
role: "form",
|
|
3115
3171
|
method: "POST",
|
|
3116
3172
|
action: e.action,
|
|
3117
3173
|
novalidate: "",
|
|
3118
3174
|
onSubmit: d[3] ||= F((...e) => E(u) && E(u)(...e), ["prevent"])
|
|
3119
|
-
}, [s("div",
|
|
3120
|
-
e.statusMessage ? (y(), o("div",
|
|
3121
|
-
e.serverErrors.length ? (y(), o("div",
|
|
3122
|
-
s("div",
|
|
3123
|
-
s("label",
|
|
3124
|
-
s("div",
|
|
3175
|
+
}, [s("div", Ga, [s("h1", Ka, w(e.translations.title), 1), s("p", qa, w(e.translations.note), 1)]), s("div", Ja, [
|
|
3176
|
+
e.statusMessage ? (y(), o("div", Ya, w(e.statusMessage), 1)) : a("", !0),
|
|
3177
|
+
e.serverErrors.length ? (y(), o("div", Xa, [s("ul", null, [(y(!0), o(t, null, S(e.serverErrors, (e, t) => (y(), o("li", { key: t }, w(e), 1))), 128))])])) : a("", !0),
|
|
3178
|
+
s("div", Za, [
|
|
3179
|
+
s("label", Qa, w(e.translations.email), 1),
|
|
3180
|
+
s("div", $a, [d[4] ||= s("span", { class: "input-group-text" }, [s("i", { class: "fa fa-envelope" })], -1), N(s("input", {
|
|
3125
3181
|
id: "email",
|
|
3126
3182
|
"onUpdate:modelValue": d[0] ||= (e) => E(r).email = e,
|
|
3127
3183
|
type: "text",
|
|
3128
3184
|
class: m(["form-control", { "is-invalid": E(i).email }]),
|
|
3129
3185
|
name: "email",
|
|
3130
3186
|
placeholder: e.translations.email
|
|
3131
|
-
}, null, 10,
|
|
3132
|
-
E(i).email ? (y(), o("div",
|
|
3187
|
+
}, null, 10, eo), [[k, E(r).email]])]),
|
|
3188
|
+
E(i).email ? (y(), o("div", to, w(E(i).email), 1)) : a("", !0)
|
|
3133
3189
|
]),
|
|
3134
|
-
s("div",
|
|
3135
|
-
s("label",
|
|
3136
|
-
s("div",
|
|
3190
|
+
s("div", no, [
|
|
3191
|
+
s("label", ro, w(e.translations.password), 1),
|
|
3192
|
+
s("div", io, [d[5] ||= s("span", { class: "input-group-text" }, [s("i", { class: "fa fa-lock" })], -1), N(s("input", {
|
|
3137
3193
|
id: "password",
|
|
3138
3194
|
"onUpdate:modelValue": d[1] ||= (e) => E(r).password = e,
|
|
3139
3195
|
type: "password",
|
|
3140
3196
|
class: m(["form-control", { "is-invalid": E(i).password }]),
|
|
3141
3197
|
name: "password",
|
|
3142
3198
|
placeholder: e.translations.password
|
|
3143
|
-
}, null, 10,
|
|
3144
|
-
E(i).password ? (y(), o("div",
|
|
3199
|
+
}, null, 10, ao), [[k, E(r).password]])]),
|
|
3200
|
+
E(i).password ? (y(), o("div", oo, w(E(i).password), 1)) : a("", !0)
|
|
3145
3201
|
]),
|
|
3146
|
-
s("div",
|
|
3147
|
-
s("label",
|
|
3148
|
-
s("div",
|
|
3202
|
+
s("div", so, [
|
|
3203
|
+
s("label", co, w(e.translations.passwordConfirm), 1),
|
|
3204
|
+
s("div", lo, [d[6] ||= s("span", { class: "input-group-text" }, [s("i", { class: "fa fa-lock" })], -1), N(s("input", {
|
|
3149
3205
|
id: "password_confirmation",
|
|
3150
3206
|
"onUpdate:modelValue": d[2] ||= (e) => E(r).password_confirmation = e,
|
|
3151
3207
|
type: "password",
|
|
3152
3208
|
class: m(["form-control", { "is-invalid": E(i).password_confirmation }]),
|
|
3153
3209
|
name: "password_confirmation",
|
|
3154
3210
|
placeholder: e.translations.passwordConfirm
|
|
3155
|
-
}, null, 10,
|
|
3156
|
-
E(i).password_confirmation ? (y(), o("div",
|
|
3211
|
+
}, null, 10, uo), [[k, E(r).password_confirmation]])]),
|
|
3212
|
+
E(i).password_confirmation ? (y(), o("div", fo, w(E(i).password_confirmation), 1)) : a("", !0)
|
|
3157
3213
|
]),
|
|
3158
|
-
s("div",
|
|
3214
|
+
s("div", po, [s("button", {
|
|
3159
3215
|
type: "submit",
|
|
3160
3216
|
class: "btn btn-primary submit-btn",
|
|
3161
3217
|
disabled: E(l)
|
|
3162
|
-
}, [E(l) ? (y(), o("i",
|
|
3163
|
-
e.loginUrl ? (y(), o("div",
|
|
3218
|
+
}, [E(l) ? (y(), o("i", ho)) : a("", !0), c(" " + w(e.translations.button), 1)], 8, mo)]),
|
|
3219
|
+
e.loginUrl ? (y(), o("div", go, [s("a", {
|
|
3164
3220
|
href: e.loginUrl,
|
|
3165
3221
|
class: "auth-ghost-link"
|
|
3166
|
-
}, w(e.translations.backToLogin), 9,
|
|
3167
|
-
])], 40,
|
|
3222
|
+
}, w(e.translations.backToLogin), 9, _o)])) : a("", !0)
|
|
3223
|
+
])], 40, Wa)])]));
|
|
3168
3224
|
}
|
|
3169
|
-
},
|
|
3225
|
+
}, yo = { class: "card" }, bo = { class: "card-body" }, xo = ["action"], So = { class: "auth-header" }, Co = { class: "auth-title" }, wo = { class: "auth-subtitle" }, To = { class: "auth-body" }, Eo = {
|
|
3170
3226
|
key: 0,
|
|
3171
3227
|
class: "alert alert-success"
|
|
3172
|
-
},
|
|
3228
|
+
}, Do = {
|
|
3173
3229
|
key: 1,
|
|
3174
3230
|
class: "alert alert-success"
|
|
3175
|
-
},
|
|
3231
|
+
}, Oo = {
|
|
3176
3232
|
key: 2,
|
|
3177
3233
|
class: "alert alert-danger"
|
|
3178
|
-
},
|
|
3234
|
+
}, ko = { class: "mb-3" }, Ao = { for: "email" }, jo = { class: "input-group input-group--custom" }, Mo = ["placeholder"], No = {
|
|
3179
3235
|
key: 0,
|
|
3180
3236
|
class: "invalid-feedback d-block form-text"
|
|
3181
|
-
},
|
|
3237
|
+
}, Po = { class: "mb-3" }, Fo = ["disabled"], Io = {
|
|
3182
3238
|
key: 0,
|
|
3183
3239
|
class: "fa fa-spinner fa-spin"
|
|
3184
|
-
},
|
|
3240
|
+
}, Lo = {
|
|
3185
3241
|
__name: "ActivationForm",
|
|
3186
3242
|
props: {
|
|
3187
3243
|
action: {
|
|
@@ -3206,39 +3262,39 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3206
3262
|
formDefaults: { email: "" },
|
|
3207
3263
|
validationSchema: { email: "required|email" }
|
|
3208
3264
|
});
|
|
3209
|
-
return (d, f) => (y(), o("div",
|
|
3265
|
+
return (d, f) => (y(), o("div", yo, [s("div", bo, [s("form", {
|
|
3210
3266
|
role: "form",
|
|
3211
3267
|
method: "POST",
|
|
3212
3268
|
action: e.action,
|
|
3213
3269
|
novalidate: "",
|
|
3214
3270
|
onSubmit: f[1] ||= F((...e) => E(u) && E(u)(...e), ["prevent"])
|
|
3215
|
-
}, [s("div",
|
|
3216
|
-
E(l) ? (y(), o("div",
|
|
3217
|
-
e.statusMessage && !E(l) ? (y(), o("div",
|
|
3218
|
-
e.serverErrors.length ? (y(), o("div",
|
|
3219
|
-
s("div",
|
|
3220
|
-
s("label",
|
|
3221
|
-
s("div",
|
|
3271
|
+
}, [s("div", So, [s("h1", Co, w(e.translations.title), 1), s("p", wo, w(e.translations.note), 1)]), s("div", To, [
|
|
3272
|
+
E(l) ? (y(), o("div", Eo, w(E(l)), 1)) : a("", !0),
|
|
3273
|
+
e.statusMessage && !E(l) ? (y(), o("div", Do, w(e.statusMessage), 1)) : a("", !0),
|
|
3274
|
+
e.serverErrors.length ? (y(), o("div", Oo, [s("ul", null, [(y(!0), o(t, null, S(e.serverErrors, (e, t) => (y(), o("li", { key: t }, w(e), 1))), 128))])])) : a("", !0),
|
|
3275
|
+
s("div", ko, [
|
|
3276
|
+
s("label", Ao, w(e.translations.email), 1),
|
|
3277
|
+
s("div", jo, [f[2] ||= s("span", { class: "input-group-text" }, [s("i", { class: "fa fa-envelope" })], -1), N(s("input", {
|
|
3222
3278
|
id: "email",
|
|
3223
3279
|
"onUpdate:modelValue": f[0] ||= (e) => E(n).email = e,
|
|
3224
3280
|
type: "text",
|
|
3225
3281
|
class: m(["form-control", { "is-invalid": E(r).email }]),
|
|
3226
3282
|
name: "email",
|
|
3227
3283
|
placeholder: e.translations.email
|
|
3228
|
-
}, null, 10,
|
|
3229
|
-
E(r).email ? (y(), o("div",
|
|
3284
|
+
}, null, 10, Mo), [[k, E(n).email]])]),
|
|
3285
|
+
E(r).email ? (y(), o("div", No, w(E(r).email), 1)) : a("", !0)
|
|
3230
3286
|
]),
|
|
3231
|
-
s("div",
|
|
3287
|
+
s("div", Po, [s("button", {
|
|
3232
3288
|
type: "submit",
|
|
3233
3289
|
class: "btn btn-primary submit-btn",
|
|
3234
3290
|
disabled: E(i)
|
|
3235
|
-
}, [E(i) ? (y(), o("i",
|
|
3236
|
-
])], 40,
|
|
3291
|
+
}, [E(i) ? (y(), o("i", Io)) : a("", !0), c(" " + w(e.translations.button), 1)], 8, Fo)])
|
|
3292
|
+
])], 40, xo)])]));
|
|
3237
3293
|
}
|
|
3238
|
-
},
|
|
3294
|
+
}, Ro = { class: "card" }, zo = { class: "card-body" }, Bo = { class: "auth-header" }, Vo = { class: "auth-title" }, Ho = { class: "auth-body" }, Uo = {
|
|
3239
3295
|
key: 0,
|
|
3240
3296
|
class: "alert alert-danger"
|
|
3241
|
-
},
|
|
3297
|
+
}, Wo = {
|
|
3242
3298
|
__name: "ActivationError",
|
|
3243
3299
|
props: {
|
|
3244
3300
|
translations: {
|
|
@@ -3251,15 +3307,15 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3251
3307
|
}
|
|
3252
3308
|
},
|
|
3253
3309
|
setup(e) {
|
|
3254
|
-
return (n, r) => (y(), o("div",
|
|
3310
|
+
return (n, r) => (y(), o("div", Ro, [s("div", zo, [s("div", Bo, [s("h1", Vo, w(e.translations.title), 1)]), s("div", Ho, [e.serverErrors.length ? (y(), o("div", Uo, [s("ul", null, [(y(!0), o(t, null, S(e.serverErrors, (e, t) => (y(), o("li", { key: t }, w(e), 1))), 128))])])) : a("", !0)])])]));
|
|
3255
3311
|
}
|
|
3256
|
-
},
|
|
3312
|
+
}, Go = { class: "modal-dialog" }, Ko = { class: "modal-content" }, qo = { class: "modal-header" }, Jo = { class: "modal-title" }, Yo = { class: "modal-body" }, Xo = {
|
|
3257
3313
|
class: "text-center",
|
|
3258
3314
|
style: { "word-wrap": "break-word" }
|
|
3259
|
-
},
|
|
3315
|
+
}, Zo = { class: "form-label" }, Qo = ["onUpdate:modelValue", "placeholder"], $o = ["onUpdate:modelValue", "placeholder"], es = { class: "text-center" }, ts = {
|
|
3260
3316
|
class: "btn btn-primary w-100",
|
|
3261
3317
|
type: "submit"
|
|
3262
|
-
},
|
|
3318
|
+
}, ns = {
|
|
3263
3319
|
__name: "TranslationEditModal",
|
|
3264
3320
|
props: {
|
|
3265
3321
|
show: {
|
|
@@ -3300,47 +3356,47 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3300
3356
|
return (n, r) => (y(), o(t, null, [s("div", {
|
|
3301
3357
|
class: m(["modal fade", { show: e.show }]),
|
|
3302
3358
|
style: g({ display: e.show ? "block" : "none" })
|
|
3303
|
-
}, [s("div",
|
|
3359
|
+
}, [s("div", Go, [s("div", Ko, [s("div", qo, [s("h4", Jo, w(e.translations.edit), 1), s("button", {
|
|
3304
3360
|
type: "button",
|
|
3305
3361
|
class: "btn-close",
|
|
3306
3362
|
onClick: r[0] ||= (e) => n.$emit("close")
|
|
3307
|
-
})]), s("div",
|
|
3363
|
+
})]), s("div", Yo, [s("p", Xo, [s("strong", null, w(e.translations.default_text) + ":", 1), c(" " + w(e.item?.key), 1)]), s("form", { onSubmit: F(p, ["prevent"]) }, [(y(!0), o(t, null, S(d.value, (t) => (y(), o("div", {
|
|
3308
3364
|
key: t,
|
|
3309
3365
|
class: "mb-3"
|
|
3310
|
-
}, [s("label",
|
|
3366
|
+
}, [s("label", Zo, w(t.toUpperCase()) + " " + w(e.translations.translation), 1), !f[t] || f[t].length < 70 ? N((y(), o("input", {
|
|
3311
3367
|
key: 0,
|
|
3312
3368
|
"onUpdate:modelValue": (e) => f[t] = e,
|
|
3313
3369
|
type: "text",
|
|
3314
3370
|
class: "form-control",
|
|
3315
3371
|
placeholder: (e.translations.translation_for || "").replace(":locale", t)
|
|
3316
|
-
}, null, 8,
|
|
3372
|
+
}, null, 8, Qo)), [[k, f[t]]]) : N((y(), o("textarea", {
|
|
3317
3373
|
key: 1,
|
|
3318
3374
|
"onUpdate:modelValue": (e) => f[t] = e,
|
|
3319
3375
|
class: "form-control",
|
|
3320
3376
|
placeholder: (e.translations.translation_for || "").replace(":locale", t),
|
|
3321
3377
|
cols: "30",
|
|
3322
3378
|
rows: "4"
|
|
3323
|
-
}, null, 8,
|
|
3379
|
+
}, null, 8, $o)), [[k, f[t]]])]))), 128)), s("div", es, [s("button", ts, w(e.translations.save) + " " + w(e.translations.translation), 1)])], 32)])])])], 6), e.show ? (y(), o("div", {
|
|
3324
3380
|
key: 0,
|
|
3325
3381
|
class: "modal-backdrop fade show",
|
|
3326
3382
|
onClick: r[1] ||= (e) => n.$emit("close")
|
|
3327
3383
|
})) : a("", !0)], 64));
|
|
3328
3384
|
}
|
|
3329
|
-
},
|
|
3385
|
+
}, rs = { class: "modal-dialog modal-lg" }, is = { class: "modal-content" }, as = { class: "modal-header" }, os = { class: "modal-title" }, ss = { class: "modal-body" }, cs = { class: "row mb-3" }, ls = { class: "col-md-4 text-md-end" }, us = { class: "col-form-label" }, ds = { class: "col-md-6" }, fs = { class: "btn btn-primary btn-sm w-100 mb-0" }, ps = { key: 0 }, ms = { key: 1 }, hs = { class: "row mb-3" }, gs = { class: "col-md-4 text-md-end" }, _s = {
|
|
3330
3386
|
for: "importLanguage",
|
|
3331
3387
|
class: "col-form-label"
|
|
3332
|
-
},
|
|
3388
|
+
}, vs = { class: "col-md-6" }, ys = { class: "offset-md-4" }, bs = { class: "form-check" }, xs = {
|
|
3333
3389
|
class: "form-check-label",
|
|
3334
3390
|
for: "onlyMissingTranslations"
|
|
3335
|
-
},
|
|
3391
|
+
}, Ss = { class: "text-center mb-3" }, Cs = { class: "table table-hover" }, ws = { key: 0 }, Ts = { style: { "word-break": "break-all" } }, Es = { style: { "word-break": "break-all" } }, Ds = { style: { "word-break": "break-all" } }, Os = [
|
|
3336
3392
|
"id",
|
|
3337
3393
|
"onUpdate:modelValue",
|
|
3338
3394
|
"name"
|
|
3339
|
-
],
|
|
3395
|
+
], ks = ["for"], As = { style: { "word-break": "break-all" } }, js = [
|
|
3340
3396
|
"id",
|
|
3341
3397
|
"onUpdate:modelValue",
|
|
3342
3398
|
"name"
|
|
3343
|
-
],
|
|
3399
|
+
], Ms = ["for"], Ns = { class: "text-center" }, Ps = { class: "modal-footer" }, Fs = {
|
|
3344
3400
|
__name: "TranslationImportModal",
|
|
3345
3401
|
props: {
|
|
3346
3402
|
show: {
|
|
@@ -3413,16 +3469,16 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3413
3469
|
return (n, r) => (y(), o(t, null, [s("div", {
|
|
3414
3470
|
class: m(["modal fade", { show: e.show }]),
|
|
3415
3471
|
style: g({ display: e.show ? "block" : "none" })
|
|
3416
|
-
}, [s("div",
|
|
3417
|
-
s("div",
|
|
3472
|
+
}, [s("div", rs, [s("div", is, [
|
|
3473
|
+
s("div", as, [s("h4", os, w(e.translations.import_title), 1), s("button", {
|
|
3418
3474
|
type: "button",
|
|
3419
3475
|
class: "btn-close",
|
|
3420
3476
|
onClick: B
|
|
3421
3477
|
})]),
|
|
3422
|
-
s("div",
|
|
3478
|
+
s("div", ss, [
|
|
3423
3479
|
N(s("div", null, [
|
|
3424
3480
|
s("p", null, w(e.translations.import_notice), 1),
|
|
3425
|
-
s("div",
|
|
3481
|
+
s("div", cs, [s("div", ls, [s("label", us, w(e.translations.upload_file), 1)]), s("div", ds, [s("label", fs, [h.value ? (y(), o("span", ps, w(h.value.name), 1)) : (y(), o("span", ms, w(e.translations.choose_file), 1)), s("input", {
|
|
3426
3482
|
ref_key: "fileInput",
|
|
3427
3483
|
ref: p,
|
|
3428
3484
|
type: "file",
|
|
@@ -3430,7 +3486,7 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3430
3486
|
accept: ".xlsx",
|
|
3431
3487
|
onChange: z
|
|
3432
3488
|
}, null, 544)])])]),
|
|
3433
|
-
s("div",
|
|
3489
|
+
s("div", hs, [s("div", gs, [s("label", _s, w(e.translations.language_to_import), 1)]), s("div", vs, [l(E(V), {
|
|
3434
3490
|
modelValue: _.value,
|
|
3435
3491
|
"onUpdate:modelValue": r[0] ||= (e) => _.value = e,
|
|
3436
3492
|
options: f.value,
|
|
@@ -3445,47 +3501,47 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3445
3501
|
"options",
|
|
3446
3502
|
"placeholder"
|
|
3447
3503
|
])])]),
|
|
3448
|
-
s("div",
|
|
3504
|
+
s("div", ys, [s("div", bs, [N(s("input", {
|
|
3449
3505
|
id: "onlyMissingTranslations",
|
|
3450
3506
|
"onUpdate:modelValue": r[1] ||= (e) => b.value = e,
|
|
3451
3507
|
class: "form-check-input",
|
|
3452
3508
|
type: "checkbox"
|
|
3453
|
-
}, null, 512), [[D, b.value]]), s("label",
|
|
3509
|
+
}, null, 512), [[D, b.value]]), s("label", xs, w(e.translations.do_not_override), 1)])])
|
|
3454
3510
|
], 512), [[A, C.value === 1]]),
|
|
3455
|
-
N(s("div", null, [s("div",
|
|
3511
|
+
N(s("div", null, [s("div", Ss, [s("p", null, w(e.translations.conflict_found) + " " + w(M.value) + " " + w(e.translations.conflict_to_import) + " " + w(P.value) + " " + w(e.translations.conflict_differ), 1)]), s("table", Cs, [s("thead", null, [s("tr", null, [
|
|
3456
3512
|
s("th", null, w(e.translations.group), 1),
|
|
3457
3513
|
s("th", null, w(e.translations.default), 1),
|
|
3458
3514
|
s("th", null, w(e.translations.current_value), 1),
|
|
3459
3515
|
s("th", null, w(e.translations.imported_value), 1)
|
|
3460
|
-
])]), s("tbody", null, [(y(!0), o(t, null, S(I.value, (e, n) => (y(), o(t, { key: n }, [e.has_conflict ? (y(), o("tr",
|
|
3461
|
-
s("td",
|
|
3462
|
-
s("td",
|
|
3463
|
-
s("td",
|
|
3516
|
+
])]), s("tbody", null, [(y(!0), o(t, null, S(I.value, (e, n) => (y(), o(t, { key: n }, [e.has_conflict ? (y(), o("tr", ws, [
|
|
3517
|
+
s("td", Ts, w(e.group), 1),
|
|
3518
|
+
s("td", Es, w(e.default), 1),
|
|
3519
|
+
s("td", Ds, [N(s("input", {
|
|
3464
3520
|
id: "current-" + n + "0",
|
|
3465
3521
|
"onUpdate:modelValue": (e) => I.value[n].checkedCurrent = e,
|
|
3466
3522
|
type: "radio",
|
|
3467
3523
|
class: "form-check-input me-1",
|
|
3468
3524
|
value: !0,
|
|
3469
3525
|
name: "current-" + n
|
|
3470
|
-
}, null, 8,
|
|
3526
|
+
}, null, 8, Os), [[O, I.value[n].checkedCurrent]]), s("label", {
|
|
3471
3527
|
class: "form-check-label",
|
|
3472
3528
|
for: "current-" + n + "0"
|
|
3473
|
-
}, w(e.current_value), 9,
|
|
3474
|
-
s("td",
|
|
3529
|
+
}, w(e.current_value), 9, ks)]),
|
|
3530
|
+
s("td", As, [N(s("input", {
|
|
3475
3531
|
id: "current-" + n + "1",
|
|
3476
3532
|
"onUpdate:modelValue": (e) => I.value[n].checkedCurrent = e,
|
|
3477
3533
|
type: "radio",
|
|
3478
3534
|
class: "form-check-input me-1",
|
|
3479
3535
|
value: !1,
|
|
3480
3536
|
name: "current-" + n
|
|
3481
|
-
}, null, 8,
|
|
3537
|
+
}, null, 8, js), [[O, I.value[n].checkedCurrent]]), s("label", {
|
|
3482
3538
|
class: "form-check-label",
|
|
3483
3539
|
for: "current-" + n + "1"
|
|
3484
|
-
}, w(e[v.value.toLowerCase()]), 9,
|
|
3540
|
+
}, w(e[v.value.toLowerCase()]), 9, Ms)])
|
|
3485
3541
|
])) : a("", !0)], 64))), 128))])])], 512), [[A, C.value === 2]]),
|
|
3486
|
-
N(s("div", null, [s("div",
|
|
3542
|
+
N(s("div", null, [s("div", Ns, [s("p", null, w(T.value) + " " + w(e.translations.successfully_imported) + " " + w(k.value) + " " + w(e.translations.successfully_updated), 1)])], 512), [[A, C.value === 3]])
|
|
3487
3543
|
]),
|
|
3488
|
-
s("div",
|
|
3544
|
+
s("div", Ps, [L.value ? a("", !0) : (y(), o("button", {
|
|
3489
3545
|
key: 0,
|
|
3490
3546
|
type: "button",
|
|
3491
3547
|
class: "btn btn-primary",
|
|
@@ -3497,10 +3553,10 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3497
3553
|
onClick: B
|
|
3498
3554
|
})) : a("", !0)], 64));
|
|
3499
3555
|
}
|
|
3500
|
-
},
|
|
3556
|
+
}, Is = { class: "modal-dialog" }, Ls = { class: "modal-content" }, Rs = { class: "modal-header" }, zs = { class: "modal-title" }, Bs = { class: "modal-body" }, Vs = { class: "text-start" }, Hs = { class: "text-end" }, Us = {
|
|
3501
3557
|
class: "btn btn-primary",
|
|
3502
3558
|
type: "submit"
|
|
3503
|
-
},
|
|
3559
|
+
}, Ws = {
|
|
3504
3560
|
__name: "TranslationExportModal",
|
|
3505
3561
|
props: {
|
|
3506
3562
|
show: {
|
|
@@ -3540,12 +3596,12 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3540
3596
|
return (n, r) => (y(), o(t, null, [s("div", {
|
|
3541
3597
|
class: m(["modal fade", { show: e.show }]),
|
|
3542
3598
|
style: g({ display: e.show ? "block" : "none" })
|
|
3543
|
-
}, [s("div",
|
|
3599
|
+
}, [s("div", Is, [s("div", Ls, [s("div", Rs, [s("h4", zs, w(e.translations.export), 1), s("button", {
|
|
3544
3600
|
type: "button",
|
|
3545
3601
|
class: "btn-close",
|
|
3546
3602
|
onClick: r[0] ||= (e) => n.$emit("close")
|
|
3547
|
-
})]), s("div",
|
|
3548
|
-
s("p",
|
|
3603
|
+
})]), s("div", Bs, [s("form", { onSubmit: F(h, ["prevent"]) }, [
|
|
3604
|
+
s("p", Vs, w(e.translations.export_notice), 1),
|
|
3549
3605
|
l(Xr, {
|
|
3550
3606
|
modelValue: p.value,
|
|
3551
3607
|
"onUpdate:modelValue": r[1] ||= (e) => p.value = e,
|
|
@@ -3561,17 +3617,17 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3561
3617
|
"options",
|
|
3562
3618
|
"placeholder"
|
|
3563
3619
|
]),
|
|
3564
|
-
s("div",
|
|
3620
|
+
s("div", Hs, [s("button", Us, [r[3] ||= s("i", { class: "fa fa-file-excel" }, null, -1), c("\xA0" + w(e.translations.export_btn), 1)])])
|
|
3565
3621
|
], 32)])])])], 6), e.show ? (y(), o("div", {
|
|
3566
3622
|
key: 0,
|
|
3567
3623
|
class: "modal-backdrop fade show",
|
|
3568
3624
|
onClick: r[2] ||= (e) => n.$emit("close")
|
|
3569
3625
|
})) : a("", !0)], 64));
|
|
3570
3626
|
}
|
|
3571
|
-
},
|
|
3627
|
+
}, Gs = { class: "row" }, Ks = { class: "col" }, qs = { class: "card" }, Js = { class: "card-header" }, Ys = { class: "row justify-content-md-between mb-3" }, Xs = { class: "col col-lg-7 col-xl-5 mb-3" }, Zs = { class: "col-sm-auto mb-3" }, Qs = { class: "table-responsive" }, $s = { class: "table table-hover table-listing" }, ec = { key: 0 }, tc = ["title", "onClick"], nc = {
|
|
3572
3628
|
key: 0,
|
|
3573
3629
|
class: "no-items-found"
|
|
3574
|
-
},
|
|
3630
|
+
}, rc = {
|
|
3575
3631
|
__name: "TranslationListing",
|
|
3576
3632
|
props: {
|
|
3577
3633
|
url: {
|
|
@@ -3624,8 +3680,8 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3624
3680
|
z.value = !1, U();
|
|
3625
3681
|
});
|
|
3626
3682
|
}
|
|
3627
|
-
return (n, r) => (y(), o("div",
|
|
3628
|
-
l(
|
|
3683
|
+
return (n, r) => (y(), o("div", Gs, [s("div", Ks, [
|
|
3684
|
+
l(ns, {
|
|
3629
3685
|
show: j.value,
|
|
3630
3686
|
item: I.value,
|
|
3631
3687
|
locales: A.value,
|
|
@@ -3641,7 +3697,7 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3641
3697
|
"translations",
|
|
3642
3698
|
"onSaved"
|
|
3643
3699
|
]),
|
|
3644
|
-
l(
|
|
3700
|
+
l(Fs, {
|
|
3645
3701
|
show: N.value,
|
|
3646
3702
|
locales: A.value,
|
|
3647
3703
|
url: e.url,
|
|
@@ -3657,7 +3713,7 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3657
3713
|
"translations",
|
|
3658
3714
|
"onImported"
|
|
3659
3715
|
]),
|
|
3660
|
-
l(
|
|
3716
|
+
l(Ws, {
|
|
3661
3717
|
show: P.value,
|
|
3662
3718
|
locales: A.value,
|
|
3663
3719
|
url: e.url,
|
|
@@ -3669,7 +3725,7 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3669
3725
|
"url",
|
|
3670
3726
|
"translations"
|
|
3671
3727
|
]),
|
|
3672
|
-
s("div",
|
|
3728
|
+
s("div", qs, [s("div", Js, [
|
|
3673
3729
|
r[9] ||= s("i", { class: "fa fa-align-justify" }, null, -1),
|
|
3674
3730
|
c(" " + w(e.translations.listing_title) + " ", 1),
|
|
3675
3731
|
s("a", {
|
|
@@ -3695,7 +3751,7 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3695
3751
|
ref: d,
|
|
3696
3752
|
class: "card-body"
|
|
3697
3753
|
}, [
|
|
3698
|
-
s("div",
|
|
3754
|
+
s("div", Ys, [s("div", Xs, [l(xn, {
|
|
3699
3755
|
search: E(v),
|
|
3700
3756
|
"onUpdate:search": r[5] ||= (e) => f(v) ? v.value = e : null,
|
|
3701
3757
|
"filter-fn": E(T),
|
|
@@ -3723,11 +3779,11 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3723
3779
|
"search",
|
|
3724
3780
|
"filter-fn",
|
|
3725
3781
|
"translations"
|
|
3726
|
-
])]), s("div",
|
|
3782
|
+
])]), s("div", Zs, [l(Cn, {
|
|
3727
3783
|
modelValue: E(h).state.per_page,
|
|
3728
3784
|
"onUpdate:modelValue": r[6] ||= (e) => E(h).state.per_page = e
|
|
3729
3785
|
}, null, 8, ["modelValue"])])]),
|
|
3730
|
-
s("div",
|
|
3786
|
+
s("div", Qs, [s("table", $s, [s("thead", null, [s("tr", null, [
|
|
3731
3787
|
l(Q, {
|
|
3732
3788
|
column: "group",
|
|
3733
3789
|
"order-by": E(g),
|
|
@@ -3766,14 +3822,14 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3766
3822
|
s("td", null, w(t.group), 1),
|
|
3767
3823
|
s("td", null, w(t.key), 1),
|
|
3768
3824
|
s("td", null, w(t.text?.[e.userLocale]), 1),
|
|
3769
|
-
E(p)(4) ? (y(), o("td",
|
|
3825
|
+
E(p)(4) ? (y(), o("td", ec, w(E(W)(t.created_at)), 1)) : a("", !0),
|
|
3770
3826
|
s("td", null, [s("a", {
|
|
3771
3827
|
class: "btn btn-sm btn-info",
|
|
3772
3828
|
href: "#",
|
|
3773
3829
|
title: e.translations.edit_btn,
|
|
3774
3830
|
role: "button",
|
|
3775
3831
|
onClick: F((e) => R(t), ["prevent"])
|
|
3776
|
-
}, [...r[11] ||= [s("i", { class: "fa fa-edit" }, null, -1)]], 8,
|
|
3832
|
+
}, [...r[11] ||= [s("i", { class: "fa fa-edit" }, null, -1)]], 8, tc)])
|
|
3777
3833
|
]))), 128))])])]),
|
|
3778
3834
|
l(_n, {
|
|
3779
3835
|
pagination: E(h).state,
|
|
@@ -3792,7 +3848,7 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3792
3848
|
"onPageChange",
|
|
3793
3849
|
"onPerPageChange"
|
|
3794
3850
|
]),
|
|
3795
|
-
E(b)?.length ? a("", !0) : (y(), o("div",
|
|
3851
|
+
E(b)?.length ? a("", !0) : (y(), o("div", nc, [
|
|
3796
3852
|
r[12] ||= s("i", { class: "fa fa-magnifying-glass" }, null, -1),
|
|
3797
3853
|
s("h3", null, w(e.translations.no_items), 1),
|
|
3798
3854
|
s("p", null, w(e.translations.try_changing_items), 1),
|
|
@@ -3806,7 +3862,7 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3806
3862
|
], 512)])
|
|
3807
3863
|
])]));
|
|
3808
3864
|
}
|
|
3809
|
-
},
|
|
3865
|
+
}, ic = {
|
|
3810
3866
|
url: "",
|
|
3811
3867
|
collection: "",
|
|
3812
3868
|
maxNumberOfFiles: 1,
|
|
@@ -3814,16 +3870,16 @@ var Lt = { class: "ck-editor-wrapper" }, Rt = {
|
|
|
3814
3870
|
acceptedFileTypes: void 0,
|
|
3815
3871
|
thumbnailWidth: 200,
|
|
3816
3872
|
uploadedMedia: []
|
|
3817
|
-
},
|
|
3873
|
+
}, ac = {
|
|
3818
3874
|
type: Object,
|
|
3819
|
-
default: () => ({
|
|
3875
|
+
default: () => ({ ...ic })
|
|
3820
3876
|
};
|
|
3821
3877
|
//#endregion
|
|
3822
3878
|
//#region src/ui/index.js
|
|
3823
|
-
function
|
|
3824
|
-
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded",
|
|
3879
|
+
function oc() {
|
|
3880
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", sc) : sc();
|
|
3825
3881
|
}
|
|
3826
|
-
function
|
|
3882
|
+
function sc() {
|
|
3827
3883
|
let e = document.getElementById("sidebar"), t = null;
|
|
3828
3884
|
document.querySelectorAll(".btn-spinner").forEach((e) => {
|
|
3829
3885
|
e.addEventListener("click", (t) => {
|
|
@@ -3863,4 +3919,4 @@ function nc() {
|
|
|
3863
3919
|
}), e && window.innerWidth < 992 && e.classList.add("hide");
|
|
3864
3920
|
}
|
|
3865
3921
|
//#endregion
|
|
3866
|
-
export {
|
|
3922
|
+
export { Wo as ActivationError, Lo as ActivationForm, On as BulkCheckboxHeader, jn as BulkCheckboxRow, In as BulkOperationsBar, Rt as CkeditorEditor, Un as ConfirmModal, ur as DeleteButton, cr as EditButton, En as EmptyState, Va as ForgotPasswordForm, Nr as FormCheckbox, Br as FormDatePicker, br as FormEmail, yr as FormInput, si as FormLocalizedInput, fi as FormLocalizedWysiwyg, Si as FormLocalizedWysiwygSimple, Xr as FormMultiSelect, Ri as FormPasswordConfirm, Di as FormSelect, Bi as FormSubmit, ti as FormTagInput, Er as FormTextarea, Gr as FormWysiwyg, _i as FormWysiwygSimple, or as ListingHeader, Yi as LocalizationBar, ba as LoginForm, Dt as MediaUpload, _n as Pagination, Cn as PerPage, rr as PublishedAtColumn, vo as ResetPasswordForm, xn as Search, Q as Sortable, Z as TiptapEditor, pr as ToggleSwitch, rc as TranslationListing, nn as UserDetailTooltip, z as dayjs, W as formatDate, G as formatDatetime, K as formatTime, J as getDateFnsLocale, Ze as initDateFnsLocale, oc as initUI, ic as mediaCollectionDefaults, ac as mediaCollectionProp, U as notifyError, H as notifySuccess, q as nowInTimezone, rt as useAdmin, Y as useBaseAuth, $e as useBaseForm, tt as useBaseListing, at as useResponsiveColumns };
|