@firecms/collection_editor 3.4.0-canary.cfeed0b → 3.4.0-canary.e2466ba
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.es.js +733 -727
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +733 -727
- package/dist/index.umd.js.map +1 -1
- package/dist/ui/collection_editor/properties/StoragePropertyField.d.ts +2 -1
- package/package.json +8 -8
- package/src/locales/de.ts +2 -2
- package/src/locales/en.ts +2 -2
- package/src/locales/es.ts +2 -2
- package/src/locales/fr.ts +2 -2
- package/src/locales/hi.ts +2 -2
- package/src/locales/it.ts +2 -2
- package/src/locales/pt.ts +2 -2
- package/src/ui/collection_editor/PropertyEditView.tsx +4 -2
- package/src/ui/collection_editor/properties/StoragePropertyField.tsx +4 -2
package/dist/index.es.js
CHANGED
|
@@ -2371,9 +2371,10 @@ function EnumPropertyField({
|
|
|
2371
2371
|
] });
|
|
2372
2372
|
}
|
|
2373
2373
|
function StoragePropertyField(t0) {
|
|
2374
|
-
const $ = c(
|
|
2374
|
+
const $ = c(344);
|
|
2375
2375
|
const {
|
|
2376
2376
|
multiple,
|
|
2377
|
+
existing,
|
|
2377
2378
|
disabled
|
|
2378
2379
|
} = t0;
|
|
2379
2380
|
const {
|
|
@@ -2437,39 +2438,39 @@ function StoragePropertyField(t0) {
|
|
|
2437
2438
|
let t7;
|
|
2438
2439
|
let t8;
|
|
2439
2440
|
let t9;
|
|
2440
|
-
if ($[6] !== acceptedFiles || $[7] !== disabled || $[8] !==
|
|
2441
|
+
if ($[6] !== acceptedFiles || $[7] !== disabled || $[8] !== existing || $[9] !== fileName || $[10] !== fileNameValue || $[11] !== imageResizeFormat || $[12] !== imageResizeMaxHeight || $[13] !== imageResizeMaxWidth || $[14] !== imageResizeMode || $[15] !== imageResizeQuality || $[16] !== includeBucketUrl || $[17] !== maxSize || $[18] !== setFieldValue || $[19] !== storagePath || $[20] !== storagePathValue || $[21] !== storeUrl || $[22] !== t || $[23] !== values) {
|
|
2441
2442
|
const maxSizeValue = getIn(values, maxSize);
|
|
2442
2443
|
const imageResizeMaxWidthValue = getIn(values, imageResizeMaxWidth);
|
|
2443
2444
|
const imageResizeMaxHeightValue = getIn(values, imageResizeMaxHeight);
|
|
2444
2445
|
let t222;
|
|
2445
|
-
if ($[
|
|
2446
|
+
if ($[45] !== imageResizeMode || $[46] !== values) {
|
|
2446
2447
|
t222 = getIn(values, imageResizeMode) ?? "cover";
|
|
2447
|
-
$[
|
|
2448
|
-
$[
|
|
2449
|
-
$[
|
|
2448
|
+
$[45] = imageResizeMode;
|
|
2449
|
+
$[46] = values;
|
|
2450
|
+
$[47] = t222;
|
|
2450
2451
|
} else {
|
|
2451
|
-
t222 = $[
|
|
2452
|
+
t222 = $[47];
|
|
2452
2453
|
}
|
|
2453
2454
|
const imageResizeModeValue = t222;
|
|
2454
2455
|
let t232;
|
|
2455
|
-
if ($[
|
|
2456
|
+
if ($[48] !== imageResizeFormat || $[49] !== values) {
|
|
2456
2457
|
t232 = getIn(values, imageResizeFormat) ?? "original";
|
|
2457
|
-
$[
|
|
2458
|
-
$[
|
|
2459
|
-
$[
|
|
2458
|
+
$[48] = imageResizeFormat;
|
|
2459
|
+
$[49] = values;
|
|
2460
|
+
$[50] = t232;
|
|
2460
2461
|
} else {
|
|
2461
|
-
t232 = $[
|
|
2462
|
+
t232 = $[50];
|
|
2462
2463
|
}
|
|
2463
2464
|
const imageResizeFormatValue = t232;
|
|
2464
2465
|
const imageResizeQualityValue = getIn(values, imageResizeQuality);
|
|
2465
2466
|
let t242;
|
|
2466
|
-
if ($[
|
|
2467
|
+
if ($[51] !== acceptedFiles || $[52] !== values) {
|
|
2467
2468
|
t242 = getIn(values, acceptedFiles);
|
|
2468
|
-
$[
|
|
2469
|
-
$[
|
|
2470
|
-
$[
|
|
2469
|
+
$[51] = acceptedFiles;
|
|
2470
|
+
$[52] = values;
|
|
2471
|
+
$[53] = t242;
|
|
2471
2472
|
} else {
|
|
2472
|
-
t242 = $[
|
|
2473
|
+
t242 = $[53];
|
|
2473
2474
|
}
|
|
2474
2475
|
const storedValue = t242;
|
|
2475
2476
|
const fileTypesValue = Array.isArray(storedValue) ? storedValue : void 0;
|
|
@@ -2487,7 +2488,7 @@ function StoragePropertyField(t0) {
|
|
|
2487
2488
|
let t322;
|
|
2488
2489
|
let t332;
|
|
2489
2490
|
let t34;
|
|
2490
|
-
if ($[
|
|
2491
|
+
if ($[54] !== acceptedFiles || $[55] !== allFileTypesSelected || $[56] !== disabled || $[57] !== fileNameValue || $[58] !== fileTypesValue || $[59] !== setFieldValue || $[60] !== storagePathValue || $[61] !== t) {
|
|
2491
2492
|
const fileTypes = {
|
|
2492
2493
|
"image/*": t("file_type_images"),
|
|
2493
2494
|
"video/*": t("file_type_videos"),
|
|
@@ -2496,7 +2497,7 @@ function StoragePropertyField(t0) {
|
|
|
2496
2497
|
"text/*": t("file_type_text")
|
|
2497
2498
|
};
|
|
2498
2499
|
let t352;
|
|
2499
|
-
if ($[
|
|
2500
|
+
if ($[79] !== acceptedFiles || $[80] !== setFieldValue) {
|
|
2500
2501
|
t352 = (value) => {
|
|
2501
2502
|
if (!value) {
|
|
2502
2503
|
setFieldValue(acceptedFiles, void 0);
|
|
@@ -2504,11 +2505,11 @@ function StoragePropertyField(t0) {
|
|
|
2504
2505
|
setFieldValue(acceptedFiles, value);
|
|
2505
2506
|
}
|
|
2506
2507
|
};
|
|
2507
|
-
$[
|
|
2508
|
-
$[
|
|
2509
|
-
$[
|
|
2508
|
+
$[79] = acceptedFiles;
|
|
2509
|
+
$[80] = setFieldValue;
|
|
2510
|
+
$[81] = t352;
|
|
2510
2511
|
} else {
|
|
2511
|
-
t352 = $[
|
|
2512
|
+
t352 = $[81];
|
|
2512
2513
|
}
|
|
2513
2514
|
const handleTypesChange = t352;
|
|
2514
2515
|
hasFilenameCallback = typeof fileNameValue === "function";
|
|
@@ -2516,58 +2517,58 @@ function StoragePropertyField(t0) {
|
|
|
2516
2517
|
t21 = "col-span-12";
|
|
2517
2518
|
T1 = ExpandablePanel;
|
|
2518
2519
|
let t362;
|
|
2519
|
-
if ($[
|
|
2520
|
+
if ($[82] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
2520
2521
|
t362 = /* @__PURE__ */ jsx(CloudUploadIcon, {});
|
|
2521
|
-
$[
|
|
2522
|
+
$[82] = t362;
|
|
2522
2523
|
} else {
|
|
2523
|
-
t362 = $[
|
|
2524
|
+
t362 = $[82];
|
|
2524
2525
|
}
|
|
2525
2526
|
let t372;
|
|
2526
|
-
if ($[
|
|
2527
|
+
if ($[83] !== t) {
|
|
2527
2528
|
t372 = t("file_upload_config");
|
|
2528
|
-
$[
|
|
2529
|
-
$[
|
|
2529
|
+
$[83] = t;
|
|
2530
|
+
$[84] = t372;
|
|
2530
2531
|
} else {
|
|
2531
|
-
t372 = $[
|
|
2532
|
+
t372 = $[84];
|
|
2532
2533
|
}
|
|
2533
|
-
if ($[
|
|
2534
|
+
if ($[85] !== t372) {
|
|
2534
2535
|
t20 = /* @__PURE__ */ jsxs("div", { className: "flex flex-row text-surface-500 text-text-secondary dark:text-text-secondary-dark", children: [
|
|
2535
2536
|
t362,
|
|
2536
2537
|
/* @__PURE__ */ jsx(Typography, { variant: "subtitle2", className: "ml-4", children: t372 })
|
|
2537
2538
|
] });
|
|
2538
|
-
$[
|
|
2539
|
-
$[
|
|
2539
|
+
$[85] = t372;
|
|
2540
|
+
$[86] = t20;
|
|
2540
2541
|
} else {
|
|
2541
|
-
t20 = $[
|
|
2542
|
+
t20 = $[86];
|
|
2542
2543
|
}
|
|
2543
2544
|
t10 = "grid grid-cols-12 gap-2 p-4";
|
|
2544
2545
|
t34 = "col-span-12";
|
|
2545
2546
|
T2 = MultiSelect;
|
|
2546
2547
|
t252 = "w-full";
|
|
2547
|
-
if ($[
|
|
2548
|
+
if ($[87] !== t) {
|
|
2548
2549
|
t262 = t("all_file_types_allowed");
|
|
2549
|
-
$[
|
|
2550
|
-
$[
|
|
2550
|
+
$[87] = t;
|
|
2551
|
+
$[88] = t262;
|
|
2551
2552
|
} else {
|
|
2552
|
-
t262 = $[
|
|
2553
|
+
t262 = $[88];
|
|
2553
2554
|
}
|
|
2554
2555
|
t272 = disabled;
|
|
2555
2556
|
t282 = acceptedFiles;
|
|
2556
|
-
if ($[
|
|
2557
|
+
if ($[89] !== fileTypesValue) {
|
|
2557
2558
|
t292 = fileTypesValue ?? [];
|
|
2558
|
-
$[
|
|
2559
|
-
$[
|
|
2559
|
+
$[89] = fileTypesValue;
|
|
2560
|
+
$[90] = t292;
|
|
2560
2561
|
} else {
|
|
2561
|
-
t292 = $[
|
|
2562
|
+
t292 = $[90];
|
|
2562
2563
|
}
|
|
2563
2564
|
t302 = handleTypesChange;
|
|
2564
|
-
if ($[
|
|
2565
|
+
if ($[91] !== allFileTypesSelected || $[92] !== t) {
|
|
2565
2566
|
t312 = allFileTypesSelected ? void 0 : t("allowed_file_types");
|
|
2566
|
-
$[
|
|
2567
|
-
$[
|
|
2568
|
-
$[
|
|
2567
|
+
$[91] = allFileTypesSelected;
|
|
2568
|
+
$[92] = t;
|
|
2569
|
+
$[93] = t312;
|
|
2569
2570
|
} else {
|
|
2570
|
-
t312 = $[
|
|
2571
|
+
t312 = $[93];
|
|
2571
2572
|
}
|
|
2572
2573
|
t322 = (selected) => {
|
|
2573
2574
|
if (!selected || selected.length === 0) {
|
|
@@ -2576,7 +2577,7 @@ function StoragePropertyField(t0) {
|
|
|
2576
2577
|
return selected.map((v) => fileTypes[v]).filter(_temp$d).join(", ");
|
|
2577
2578
|
};
|
|
2578
2579
|
let t382;
|
|
2579
|
-
if ($[
|
|
2580
|
+
if ($[94] !== acceptedFiles || $[95] !== setFieldValue || $[96] !== t) {
|
|
2580
2581
|
t382 = (t392) => {
|
|
2581
2582
|
const [value_0, label] = t392;
|
|
2582
2583
|
return /* @__PURE__ */ jsxs(MultiSelectItem, { value: value_0, className: "flex items-center gap-2", children: [
|
|
@@ -2588,254 +2589,254 @@ function StoragePropertyField(t0) {
|
|
|
2588
2589
|
}, children: t("only") })
|
|
2589
2590
|
] }, value_0);
|
|
2590
2591
|
};
|
|
2591
|
-
$[
|
|
2592
|
-
$[
|
|
2593
|
-
$[
|
|
2594
|
-
$[
|
|
2592
|
+
$[94] = acceptedFiles;
|
|
2593
|
+
$[95] = setFieldValue;
|
|
2594
|
+
$[96] = t;
|
|
2595
|
+
$[97] = t382;
|
|
2595
2596
|
} else {
|
|
2596
|
-
t382 = $[
|
|
2597
|
+
t382 = $[97];
|
|
2597
2598
|
}
|
|
2598
2599
|
t332 = Object.entries(fileTypes).map(t382);
|
|
2599
|
-
$[
|
|
2600
|
-
$[
|
|
2601
|
-
$[
|
|
2602
|
-
$[
|
|
2603
|
-
$[
|
|
2604
|
-
$[
|
|
2605
|
-
$[
|
|
2606
|
-
$[
|
|
2607
|
-
$[
|
|
2608
|
-
$[
|
|
2609
|
-
$[
|
|
2610
|
-
$[
|
|
2611
|
-
$[
|
|
2612
|
-
$[
|
|
2613
|
-
$[
|
|
2614
|
-
$[
|
|
2615
|
-
$[
|
|
2616
|
-
$[
|
|
2617
|
-
$[
|
|
2618
|
-
$[
|
|
2619
|
-
$[
|
|
2620
|
-
$[
|
|
2621
|
-
$[
|
|
2622
|
-
$[
|
|
2623
|
-
$[
|
|
2600
|
+
$[54] = acceptedFiles;
|
|
2601
|
+
$[55] = allFileTypesSelected;
|
|
2602
|
+
$[56] = disabled;
|
|
2603
|
+
$[57] = fileNameValue;
|
|
2604
|
+
$[58] = fileTypesValue;
|
|
2605
|
+
$[59] = setFieldValue;
|
|
2606
|
+
$[60] = storagePathValue;
|
|
2607
|
+
$[61] = t;
|
|
2608
|
+
$[62] = T1;
|
|
2609
|
+
$[63] = T2;
|
|
2610
|
+
$[64] = hasFilenameCallback;
|
|
2611
|
+
$[65] = hasStoragePathCallback;
|
|
2612
|
+
$[66] = t10;
|
|
2613
|
+
$[67] = t20;
|
|
2614
|
+
$[68] = t21;
|
|
2615
|
+
$[69] = t252;
|
|
2616
|
+
$[70] = t262;
|
|
2617
|
+
$[71] = t272;
|
|
2618
|
+
$[72] = t282;
|
|
2619
|
+
$[73] = t292;
|
|
2620
|
+
$[74] = t302;
|
|
2621
|
+
$[75] = t312;
|
|
2622
|
+
$[76] = t322;
|
|
2623
|
+
$[77] = t332;
|
|
2624
|
+
$[78] = t34;
|
|
2624
2625
|
} else {
|
|
2625
|
-
T1 = $[
|
|
2626
|
-
T2 = $[
|
|
2627
|
-
hasFilenameCallback = $[
|
|
2628
|
-
hasStoragePathCallback = $[
|
|
2629
|
-
t10 = $[
|
|
2630
|
-
t20 = $[
|
|
2631
|
-
t21 = $[
|
|
2632
|
-
t252 = $[
|
|
2633
|
-
t262 = $[
|
|
2634
|
-
t272 = $[
|
|
2635
|
-
t282 = $[
|
|
2636
|
-
t292 = $[
|
|
2637
|
-
t302 = $[
|
|
2638
|
-
t312 = $[
|
|
2639
|
-
t322 = $[
|
|
2640
|
-
t332 = $[
|
|
2641
|
-
t34 = $[
|
|
2626
|
+
T1 = $[62];
|
|
2627
|
+
T2 = $[63];
|
|
2628
|
+
hasFilenameCallback = $[64];
|
|
2629
|
+
hasStoragePathCallback = $[65];
|
|
2630
|
+
t10 = $[66];
|
|
2631
|
+
t20 = $[67];
|
|
2632
|
+
t21 = $[68];
|
|
2633
|
+
t252 = $[69];
|
|
2634
|
+
t262 = $[70];
|
|
2635
|
+
t272 = $[71];
|
|
2636
|
+
t282 = $[72];
|
|
2637
|
+
t292 = $[73];
|
|
2638
|
+
t302 = $[74];
|
|
2639
|
+
t312 = $[75];
|
|
2640
|
+
t322 = $[76];
|
|
2641
|
+
t332 = $[77];
|
|
2642
|
+
t34 = $[78];
|
|
2642
2643
|
}
|
|
2643
2644
|
let t35;
|
|
2644
|
-
if ($[
|
|
2645
|
+
if ($[98] !== T2 || $[99] !== t252 || $[100] !== t262 || $[101] !== t272 || $[102] !== t282 || $[103] !== t292 || $[104] !== t302 || $[105] !== t312 || $[106] !== t322 || $[107] !== t332) {
|
|
2645
2646
|
t35 = /* @__PURE__ */ jsx(T2, { className: t252, placeholder: t262, disabled: t272, name: t282, value: t292, onValueChange: t302, label: t312, renderValues: t322, children: t332 });
|
|
2646
|
-
$[
|
|
2647
|
-
$[
|
|
2648
|
-
$[
|
|
2649
|
-
$[
|
|
2650
|
-
$[
|
|
2651
|
-
$[
|
|
2652
|
-
$[
|
|
2653
|
-
$[
|
|
2654
|
-
$[
|
|
2655
|
-
$[
|
|
2656
|
-
$[
|
|
2647
|
+
$[98] = T2;
|
|
2648
|
+
$[99] = t252;
|
|
2649
|
+
$[100] = t262;
|
|
2650
|
+
$[101] = t272;
|
|
2651
|
+
$[102] = t282;
|
|
2652
|
+
$[103] = t292;
|
|
2653
|
+
$[104] = t302;
|
|
2654
|
+
$[105] = t312;
|
|
2655
|
+
$[106] = t322;
|
|
2656
|
+
$[107] = t332;
|
|
2657
|
+
$[108] = t35;
|
|
2657
2658
|
} else {
|
|
2658
|
-
t35 = $[
|
|
2659
|
+
t35 = $[108];
|
|
2659
2660
|
}
|
|
2660
|
-
if ($[
|
|
2661
|
+
if ($[109] !== t34 || $[110] !== t35) {
|
|
2661
2662
|
t11 = /* @__PURE__ */ jsx("div", { className: t34, children: t35 });
|
|
2662
|
-
$[
|
|
2663
|
-
$[
|
|
2664
|
-
$[
|
|
2663
|
+
$[109] = t34;
|
|
2664
|
+
$[110] = t35;
|
|
2665
|
+
$[111] = t11;
|
|
2665
2666
|
} else {
|
|
2666
|
-
t11 = $[
|
|
2667
|
+
t11 = $[111];
|
|
2667
2668
|
}
|
|
2668
2669
|
let t36;
|
|
2669
|
-
if ($[
|
|
2670
|
+
if ($[112] !== t) {
|
|
2670
2671
|
t36 = t("file_name_label");
|
|
2671
|
-
$[
|
|
2672
|
-
$[
|
|
2672
|
+
$[112] = t;
|
|
2673
|
+
$[113] = t36;
|
|
2673
2674
|
} else {
|
|
2674
|
-
t36 = $[
|
|
2675
|
+
t36 = $[113];
|
|
2675
2676
|
}
|
|
2676
2677
|
const t37 = hasFilenameCallback || disabled;
|
|
2677
2678
|
const t38 = hasFilenameCallback ? "-" : fileNameValue;
|
|
2678
|
-
if ($[
|
|
2679
|
+
if ($[114] !== fileName || $[115] !== t36 || $[116] !== t37 || $[117] !== t38) {
|
|
2679
2680
|
t12 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(Field, { name: fileName, as: DebouncedTextField, label: t36, size: "small", disabled: t37, value: t38 }) });
|
|
2680
|
-
$[
|
|
2681
|
-
$[
|
|
2682
|
-
$[
|
|
2683
|
-
$[
|
|
2684
|
-
$[
|
|
2681
|
+
$[114] = fileName;
|
|
2682
|
+
$[115] = t36;
|
|
2683
|
+
$[116] = t37;
|
|
2684
|
+
$[117] = t38;
|
|
2685
|
+
$[118] = t12;
|
|
2685
2686
|
} else {
|
|
2686
|
-
t12 = $[
|
|
2687
|
+
t12 = $[118];
|
|
2687
2688
|
}
|
|
2688
2689
|
let t39;
|
|
2689
|
-
if ($[
|
|
2690
|
+
if ($[119] !== t) {
|
|
2690
2691
|
t39 = t("storage_path_label");
|
|
2691
|
-
$[
|
|
2692
|
-
$[
|
|
2692
|
+
$[119] = t;
|
|
2693
|
+
$[120] = t39;
|
|
2693
2694
|
} else {
|
|
2694
|
-
t39 = $[
|
|
2695
|
+
t39 = $[120];
|
|
2695
2696
|
}
|
|
2696
2697
|
const t40 = hasStoragePathCallback || disabled;
|
|
2697
2698
|
const t41 = hasStoragePathCallback ? "-" : storagePathValue;
|
|
2698
2699
|
let t42;
|
|
2699
|
-
if ($[
|
|
2700
|
+
if ($[121] !== storagePath || $[122] !== t39 || $[123] !== t40 || $[124] !== t41) {
|
|
2700
2701
|
t42 = /* @__PURE__ */ jsx(Field, { name: storagePath, as: DebouncedTextField, label: t39, disabled: t40, size: "small", value: t41 });
|
|
2701
|
-
$[
|
|
2702
|
-
$[
|
|
2703
|
-
$[
|
|
2704
|
-
$[
|
|
2705
|
-
$[
|
|
2702
|
+
$[121] = storagePath;
|
|
2703
|
+
$[122] = t39;
|
|
2704
|
+
$[123] = t40;
|
|
2705
|
+
$[124] = t41;
|
|
2706
|
+
$[125] = t42;
|
|
2706
2707
|
} else {
|
|
2707
|
-
t42 = $[
|
|
2708
|
+
t42 = $[125];
|
|
2708
2709
|
}
|
|
2709
2710
|
let t43;
|
|
2710
|
-
if ($[
|
|
2711
|
+
if ($[126] !== t) {
|
|
2711
2712
|
t43 = t("storage_placeholders_description");
|
|
2712
|
-
$[
|
|
2713
|
-
$[
|
|
2713
|
+
$[126] = t;
|
|
2714
|
+
$[127] = t43;
|
|
2714
2715
|
} else {
|
|
2715
|
-
t43 = $[
|
|
2716
|
+
t43 = $[127];
|
|
2716
2717
|
}
|
|
2717
2718
|
let t44;
|
|
2718
|
-
if ($[
|
|
2719
|
+
if ($[128] !== t43) {
|
|
2719
2720
|
t44 = /* @__PURE__ */ jsx("p", { children: t43 });
|
|
2720
|
-
$[
|
|
2721
|
-
$[
|
|
2721
|
+
$[128] = t43;
|
|
2722
|
+
$[129] = t44;
|
|
2722
2723
|
} else {
|
|
2723
|
-
t44 = $[
|
|
2724
|
+
t44 = $[129];
|
|
2724
2725
|
}
|
|
2725
2726
|
let t45;
|
|
2726
|
-
if ($[
|
|
2727
|
+
if ($[130] !== t) {
|
|
2727
2728
|
t45 = t("storage_placeholder_file");
|
|
2728
|
-
$[
|
|
2729
|
-
$[
|
|
2729
|
+
$[130] = t;
|
|
2730
|
+
$[131] = t45;
|
|
2730
2731
|
} else {
|
|
2731
|
-
t45 = $[
|
|
2732
|
+
t45 = $[131];
|
|
2732
2733
|
}
|
|
2733
2734
|
let t46;
|
|
2734
|
-
if ($[
|
|
2735
|
+
if ($[132] !== t45) {
|
|
2735
2736
|
t46 = /* @__PURE__ */ jsx("li", { children: t45 });
|
|
2736
|
-
$[
|
|
2737
|
-
$[
|
|
2737
|
+
$[132] = t45;
|
|
2738
|
+
$[133] = t46;
|
|
2738
2739
|
} else {
|
|
2739
|
-
t46 = $[
|
|
2740
|
+
t46 = $[133];
|
|
2740
2741
|
}
|
|
2741
2742
|
let t47;
|
|
2742
|
-
if ($[
|
|
2743
|
+
if ($[134] !== t) {
|
|
2743
2744
|
t47 = t("storage_placeholder_file_name");
|
|
2744
|
-
$[
|
|
2745
|
-
$[
|
|
2745
|
+
$[134] = t;
|
|
2746
|
+
$[135] = t47;
|
|
2746
2747
|
} else {
|
|
2747
|
-
t47 = $[
|
|
2748
|
+
t47 = $[135];
|
|
2748
2749
|
}
|
|
2749
2750
|
let t48;
|
|
2750
|
-
if ($[
|
|
2751
|
+
if ($[136] !== t47) {
|
|
2751
2752
|
t48 = /* @__PURE__ */ jsx("li", { children: t47 });
|
|
2752
|
-
$[
|
|
2753
|
-
$[
|
|
2753
|
+
$[136] = t47;
|
|
2754
|
+
$[137] = t48;
|
|
2754
2755
|
} else {
|
|
2755
|
-
t48 = $[
|
|
2756
|
+
t48 = $[137];
|
|
2756
2757
|
}
|
|
2757
2758
|
let t49;
|
|
2758
|
-
if ($[
|
|
2759
|
+
if ($[138] !== t) {
|
|
2759
2760
|
t49 = t("storage_placeholder_file_ext");
|
|
2760
|
-
$[
|
|
2761
|
-
$[
|
|
2761
|
+
$[138] = t;
|
|
2762
|
+
$[139] = t49;
|
|
2762
2763
|
} else {
|
|
2763
|
-
t49 = $[
|
|
2764
|
+
t49 = $[139];
|
|
2764
2765
|
}
|
|
2765
2766
|
let t50;
|
|
2766
|
-
if ($[
|
|
2767
|
+
if ($[140] !== t49) {
|
|
2767
2768
|
t50 = /* @__PURE__ */ jsx("li", { children: t49 });
|
|
2768
|
-
$[
|
|
2769
|
-
$[
|
|
2769
|
+
$[140] = t49;
|
|
2770
|
+
$[141] = t50;
|
|
2770
2771
|
} else {
|
|
2771
|
-
t50 = $[
|
|
2772
|
+
t50 = $[141];
|
|
2772
2773
|
}
|
|
2773
2774
|
let t51;
|
|
2774
|
-
if ($[
|
|
2775
|
+
if ($[142] !== t) {
|
|
2775
2776
|
t51 = t("storage_placeholder_entity_id");
|
|
2776
|
-
$[
|
|
2777
|
-
$[
|
|
2777
|
+
$[142] = t;
|
|
2778
|
+
$[143] = t51;
|
|
2778
2779
|
} else {
|
|
2779
|
-
t51 = $[
|
|
2780
|
+
t51 = $[143];
|
|
2780
2781
|
}
|
|
2781
2782
|
let t52;
|
|
2782
|
-
if ($[
|
|
2783
|
+
if ($[144] !== t51) {
|
|
2783
2784
|
t52 = /* @__PURE__ */ jsx("li", { children: t51 });
|
|
2784
|
-
$[
|
|
2785
|
-
$[
|
|
2785
|
+
$[144] = t51;
|
|
2786
|
+
$[145] = t52;
|
|
2786
2787
|
} else {
|
|
2787
|
-
t52 = $[
|
|
2788
|
+
t52 = $[145];
|
|
2788
2789
|
}
|
|
2789
2790
|
let t53;
|
|
2790
|
-
if ($[
|
|
2791
|
+
if ($[146] !== t) {
|
|
2791
2792
|
t53 = t("storage_placeholder_property_key");
|
|
2792
|
-
$[
|
|
2793
|
-
$[
|
|
2793
|
+
$[146] = t;
|
|
2794
|
+
$[147] = t53;
|
|
2794
2795
|
} else {
|
|
2795
|
-
t53 = $[
|
|
2796
|
+
t53 = $[147];
|
|
2796
2797
|
}
|
|
2797
2798
|
let t54;
|
|
2798
|
-
if ($[
|
|
2799
|
+
if ($[148] !== t53) {
|
|
2799
2800
|
t54 = /* @__PURE__ */ jsx("li", { children: t53 });
|
|
2800
|
-
$[
|
|
2801
|
-
$[
|
|
2801
|
+
$[148] = t53;
|
|
2802
|
+
$[149] = t54;
|
|
2802
2803
|
} else {
|
|
2803
|
-
t54 = $[
|
|
2804
|
+
t54 = $[149];
|
|
2804
2805
|
}
|
|
2805
2806
|
let t55;
|
|
2806
|
-
if ($[
|
|
2807
|
+
if ($[150] !== t) {
|
|
2807
2808
|
t55 = t("storage_placeholder_path");
|
|
2808
|
-
$[
|
|
2809
|
-
$[
|
|
2809
|
+
$[150] = t;
|
|
2810
|
+
$[151] = t55;
|
|
2810
2811
|
} else {
|
|
2811
|
-
t55 = $[
|
|
2812
|
+
t55 = $[151];
|
|
2812
2813
|
}
|
|
2813
2814
|
let t56;
|
|
2814
|
-
if ($[
|
|
2815
|
+
if ($[152] !== t55) {
|
|
2815
2816
|
t56 = /* @__PURE__ */ jsx("li", { children: t55 });
|
|
2816
|
-
$[
|
|
2817
|
-
$[
|
|
2817
|
+
$[152] = t55;
|
|
2818
|
+
$[153] = t56;
|
|
2818
2819
|
} else {
|
|
2819
|
-
t56 = $[
|
|
2820
|
+
t56 = $[153];
|
|
2820
2821
|
}
|
|
2821
2822
|
let t57;
|
|
2822
|
-
if ($[
|
|
2823
|
+
if ($[154] !== t) {
|
|
2823
2824
|
t57 = t("storage_placeholder_rand");
|
|
2824
|
-
$[
|
|
2825
|
-
$[
|
|
2825
|
+
$[154] = t;
|
|
2826
|
+
$[155] = t57;
|
|
2826
2827
|
} else {
|
|
2827
|
-
t57 = $[
|
|
2828
|
+
t57 = $[155];
|
|
2828
2829
|
}
|
|
2829
2830
|
let t58;
|
|
2830
|
-
if ($[
|
|
2831
|
+
if ($[156] !== t57) {
|
|
2831
2832
|
t58 = /* @__PURE__ */ jsx("li", { children: t57 });
|
|
2832
|
-
$[
|
|
2833
|
-
$[
|
|
2833
|
+
$[156] = t57;
|
|
2834
|
+
$[157] = t58;
|
|
2834
2835
|
} else {
|
|
2835
|
-
t58 = $[
|
|
2836
|
+
t58 = $[157];
|
|
2836
2837
|
}
|
|
2837
2838
|
let t59;
|
|
2838
|
-
if ($[
|
|
2839
|
+
if ($[158] !== t46 || $[159] !== t48 || $[160] !== t50 || $[161] !== t52 || $[162] !== t54 || $[163] !== t56 || $[164] !== t58) {
|
|
2839
2840
|
t59 = /* @__PURE__ */ jsxs("ul", { children: [
|
|
2840
2841
|
t46,
|
|
2841
2842
|
t48,
|
|
@@ -2845,110 +2846,112 @@ function StoragePropertyField(t0) {
|
|
|
2845
2846
|
t56,
|
|
2846
2847
|
t58
|
|
2847
2848
|
] });
|
|
2848
|
-
$[
|
|
2849
|
-
$[
|
|
2850
|
-
$[
|
|
2851
|
-
$[
|
|
2852
|
-
$[
|
|
2853
|
-
$[
|
|
2854
|
-
$[
|
|
2855
|
-
$[
|
|
2849
|
+
$[158] = t46;
|
|
2850
|
+
$[159] = t48;
|
|
2851
|
+
$[160] = t50;
|
|
2852
|
+
$[161] = t52;
|
|
2853
|
+
$[162] = t54;
|
|
2854
|
+
$[163] = t56;
|
|
2855
|
+
$[164] = t58;
|
|
2856
|
+
$[165] = t59;
|
|
2856
2857
|
} else {
|
|
2857
|
-
t59 = $[
|
|
2858
|
+
t59 = $[165];
|
|
2858
2859
|
}
|
|
2859
2860
|
let t60;
|
|
2860
|
-
if ($[
|
|
2861
|
+
if ($[166] !== t44 || $[167] !== t59) {
|
|
2861
2862
|
t60 = /* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "ml-3.5 mt-1 mb-2", children: [
|
|
2862
2863
|
t44,
|
|
2863
2864
|
t59
|
|
2864
2865
|
] });
|
|
2865
|
-
$[
|
|
2866
|
-
$[
|
|
2867
|
-
$[
|
|
2866
|
+
$[166] = t44;
|
|
2867
|
+
$[167] = t59;
|
|
2868
|
+
$[168] = t60;
|
|
2868
2869
|
} else {
|
|
2869
|
-
t60 = $[
|
|
2870
|
+
t60 = $[168];
|
|
2870
2871
|
}
|
|
2871
2872
|
let t61;
|
|
2872
|
-
if ($[
|
|
2873
|
+
if ($[169] !== disabled || $[170] !== existing || $[171] !== t) {
|
|
2873
2874
|
t61 = (t622) => {
|
|
2874
2875
|
const {
|
|
2875
2876
|
field,
|
|
2876
2877
|
form
|
|
2877
2878
|
} = t622;
|
|
2878
|
-
return /* @__PURE__ */ jsx(SwitchControl, { label: t("include_bucket_url"), disabled, form, field });
|
|
2879
|
+
return /* @__PURE__ */ jsx(SwitchControl, { label: t("include_bucket_url"), disabled: existing || disabled, form, field });
|
|
2879
2880
|
};
|
|
2880
|
-
$[
|
|
2881
|
-
$[
|
|
2882
|
-
$[
|
|
2881
|
+
$[169] = disabled;
|
|
2882
|
+
$[170] = existing;
|
|
2883
|
+
$[171] = t;
|
|
2884
|
+
$[172] = t61;
|
|
2883
2885
|
} else {
|
|
2884
|
-
t61 = $[
|
|
2886
|
+
t61 = $[172];
|
|
2885
2887
|
}
|
|
2886
2888
|
let t62;
|
|
2887
|
-
if ($[
|
|
2889
|
+
if ($[173] !== includeBucketUrl || $[174] !== t61) {
|
|
2888
2890
|
t62 = /* @__PURE__ */ jsx(Field, { name: includeBucketUrl, type: "checkbox", children: t61 });
|
|
2889
|
-
$[
|
|
2890
|
-
$[
|
|
2891
|
-
$[
|
|
2891
|
+
$[173] = includeBucketUrl;
|
|
2892
|
+
$[174] = t61;
|
|
2893
|
+
$[175] = t62;
|
|
2892
2894
|
} else {
|
|
2893
|
-
t62 = $[
|
|
2895
|
+
t62 = $[175];
|
|
2894
2896
|
}
|
|
2895
2897
|
let t63;
|
|
2896
|
-
if ($[
|
|
2898
|
+
if ($[176] !== t) {
|
|
2897
2899
|
t63 = t("include_bucket_url_description");
|
|
2898
|
-
$[
|
|
2899
|
-
$[
|
|
2900
|
+
$[176] = t;
|
|
2901
|
+
$[177] = t63;
|
|
2900
2902
|
} else {
|
|
2901
|
-
t63 = $[
|
|
2903
|
+
t63 = $[177];
|
|
2902
2904
|
}
|
|
2903
2905
|
let t64;
|
|
2904
|
-
if ($[
|
|
2906
|
+
if ($[178] !== t63) {
|
|
2905
2907
|
t64 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "ml-3.5 mt-1 mb-2", children: t63 });
|
|
2906
|
-
$[
|
|
2907
|
-
$[
|
|
2908
|
+
$[178] = t63;
|
|
2909
|
+
$[179] = t64;
|
|
2908
2910
|
} else {
|
|
2909
|
-
t64 = $[
|
|
2911
|
+
t64 = $[179];
|
|
2910
2912
|
}
|
|
2911
2913
|
let t65;
|
|
2912
|
-
if ($[
|
|
2914
|
+
if ($[180] !== disabled || $[181] !== existing || $[182] !== t) {
|
|
2913
2915
|
t65 = (t662) => {
|
|
2914
2916
|
const {
|
|
2915
2917
|
field: field_0,
|
|
2916
2918
|
form: form_0
|
|
2917
2919
|
} = t662;
|
|
2918
|
-
return /* @__PURE__ */ jsx(SwitchControl, { label: t("save_url_instead_of_path"), disabled, form: form_0, field: field_0 });
|
|
2920
|
+
return /* @__PURE__ */ jsx(SwitchControl, { label: t("save_url_instead_of_path"), disabled: existing || disabled, form: form_0, field: field_0 });
|
|
2919
2921
|
};
|
|
2920
|
-
$[
|
|
2921
|
-
$[
|
|
2922
|
-
$[
|
|
2922
|
+
$[180] = disabled;
|
|
2923
|
+
$[181] = existing;
|
|
2924
|
+
$[182] = t;
|
|
2925
|
+
$[183] = t65;
|
|
2923
2926
|
} else {
|
|
2924
|
-
t65 = $[
|
|
2927
|
+
t65 = $[183];
|
|
2925
2928
|
}
|
|
2926
2929
|
let t66;
|
|
2927
|
-
if ($[
|
|
2930
|
+
if ($[184] !== storeUrl || $[185] !== t65) {
|
|
2928
2931
|
t66 = /* @__PURE__ */ jsx(Field, { name: storeUrl, type: "checkbox", children: t65 });
|
|
2929
|
-
$[
|
|
2930
|
-
$[
|
|
2931
|
-
$[
|
|
2932
|
+
$[184] = storeUrl;
|
|
2933
|
+
$[185] = t65;
|
|
2934
|
+
$[186] = t66;
|
|
2932
2935
|
} else {
|
|
2933
|
-
t66 = $[
|
|
2936
|
+
t66 = $[186];
|
|
2934
2937
|
}
|
|
2935
2938
|
let t67;
|
|
2936
|
-
if ($[
|
|
2939
|
+
if ($[187] !== t) {
|
|
2937
2940
|
t67 = t("save_url_description");
|
|
2938
|
-
$[
|
|
2939
|
-
$[
|
|
2941
|
+
$[187] = t;
|
|
2942
|
+
$[188] = t67;
|
|
2940
2943
|
} else {
|
|
2941
|
-
t67 = $[
|
|
2944
|
+
t67 = $[188];
|
|
2942
2945
|
}
|
|
2943
2946
|
let t68;
|
|
2944
|
-
if ($[
|
|
2947
|
+
if ($[189] !== t67) {
|
|
2945
2948
|
t68 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "ml-3.5 mt-1 mb-2", children: t67 });
|
|
2946
|
-
$[
|
|
2947
|
-
$[
|
|
2949
|
+
$[189] = t67;
|
|
2950
|
+
$[190] = t68;
|
|
2948
2951
|
} else {
|
|
2949
|
-
t68 = $[
|
|
2952
|
+
t68 = $[190];
|
|
2950
2953
|
}
|
|
2951
|
-
if ($[
|
|
2954
|
+
if ($[191] !== t42 || $[192] !== t60 || $[193] !== t62 || $[194] !== t64 || $[195] !== t66 || $[196] !== t68) {
|
|
2952
2955
|
t13 = /* @__PURE__ */ jsxs("div", { className: "col-span-12", children: [
|
|
2953
2956
|
t42,
|
|
2954
2957
|
t60,
|
|
@@ -2957,27 +2960,27 @@ function StoragePropertyField(t0) {
|
|
|
2957
2960
|
t66,
|
|
2958
2961
|
t68
|
|
2959
2962
|
] });
|
|
2960
|
-
$[
|
|
2961
|
-
$[
|
|
2962
|
-
$[
|
|
2963
|
-
$[
|
|
2964
|
-
$[
|
|
2965
|
-
$[
|
|
2966
|
-
$[
|
|
2963
|
+
$[191] = t42;
|
|
2964
|
+
$[192] = t60;
|
|
2965
|
+
$[193] = t62;
|
|
2966
|
+
$[194] = t64;
|
|
2967
|
+
$[195] = t66;
|
|
2968
|
+
$[196] = t68;
|
|
2969
|
+
$[197] = t13;
|
|
2967
2970
|
} else {
|
|
2968
|
-
t13 = $[
|
|
2971
|
+
t13 = $[197];
|
|
2969
2972
|
}
|
|
2970
2973
|
let t69;
|
|
2971
|
-
if ($[
|
|
2974
|
+
if ($[198] !== t) {
|
|
2972
2975
|
t69 = t("max_size_bytes");
|
|
2973
|
-
$[
|
|
2974
|
-
$[
|
|
2976
|
+
$[198] = t;
|
|
2977
|
+
$[199] = t69;
|
|
2975
2978
|
} else {
|
|
2976
|
-
t69 = $[
|
|
2979
|
+
t69 = $[199];
|
|
2977
2980
|
}
|
|
2978
2981
|
const t70 = maxSizeValue !== void 0 && maxSizeValue !== null ? maxSizeValue.toString() : "";
|
|
2979
2982
|
let t71;
|
|
2980
|
-
if ($[
|
|
2983
|
+
if ($[200] !== maxSize || $[201] !== setFieldValue) {
|
|
2981
2984
|
t71 = (e_0) => {
|
|
2982
2985
|
const value_1 = e_0.target.value;
|
|
2983
2986
|
if (value_1 === "") {
|
|
@@ -2986,76 +2989,76 @@ function StoragePropertyField(t0) {
|
|
|
2986
2989
|
setFieldValue(maxSize, parseInt(value_1));
|
|
2987
2990
|
}
|
|
2988
2991
|
};
|
|
2989
|
-
$[
|
|
2990
|
-
$[
|
|
2991
|
-
$[
|
|
2992
|
+
$[200] = maxSize;
|
|
2993
|
+
$[201] = setFieldValue;
|
|
2994
|
+
$[202] = t71;
|
|
2992
2995
|
} else {
|
|
2993
|
-
t71 = $[
|
|
2996
|
+
t71 = $[202];
|
|
2994
2997
|
}
|
|
2995
|
-
if ($[
|
|
2998
|
+
if ($[203] !== maxSize || $[204] !== t69 || $[205] !== t70 || $[206] !== t71) {
|
|
2996
2999
|
t14 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(DebouncedTextField, { name: maxSize, type: "number", label: t69, size: "small", value: t70, onChange: t71 }) });
|
|
2997
|
-
$[
|
|
2998
|
-
$[
|
|
2999
|
-
$[
|
|
3000
|
-
$[
|
|
3001
|
-
$[
|
|
3000
|
+
$[203] = maxSize;
|
|
3001
|
+
$[204] = t69;
|
|
3002
|
+
$[205] = t70;
|
|
3003
|
+
$[206] = t71;
|
|
3004
|
+
$[207] = t14;
|
|
3002
3005
|
} else {
|
|
3003
|
-
t14 = $[
|
|
3006
|
+
t14 = $[207];
|
|
3004
3007
|
}
|
|
3005
3008
|
let t72;
|
|
3006
|
-
if ($[
|
|
3009
|
+
if ($[208] !== t) {
|
|
3007
3010
|
t72 = t("image_resize_configuration");
|
|
3008
|
-
$[
|
|
3009
|
-
$[
|
|
3011
|
+
$[208] = t;
|
|
3012
|
+
$[209] = t72;
|
|
3010
3013
|
} else {
|
|
3011
|
-
t72 = $[
|
|
3014
|
+
t72 = $[209];
|
|
3012
3015
|
}
|
|
3013
3016
|
let t73;
|
|
3014
|
-
if ($[
|
|
3017
|
+
if ($[210] !== t72) {
|
|
3015
3018
|
t73 = /* @__PURE__ */ jsx(Typography, { variant: "subtitle2", color: "secondary", className: "mb-2 block", children: t72 });
|
|
3016
|
-
$[
|
|
3017
|
-
$[
|
|
3019
|
+
$[210] = t72;
|
|
3020
|
+
$[211] = t73;
|
|
3018
3021
|
} else {
|
|
3019
|
-
t73 = $[
|
|
3022
|
+
t73 = $[211];
|
|
3020
3023
|
}
|
|
3021
3024
|
let t74;
|
|
3022
|
-
if ($[
|
|
3025
|
+
if ($[212] !== t) {
|
|
3023
3026
|
t74 = t("image_resize_description");
|
|
3024
|
-
$[
|
|
3025
|
-
$[
|
|
3027
|
+
$[212] = t;
|
|
3028
|
+
$[213] = t74;
|
|
3026
3029
|
} else {
|
|
3027
|
-
t74 = $[
|
|
3030
|
+
t74 = $[213];
|
|
3028
3031
|
}
|
|
3029
3032
|
let t75;
|
|
3030
|
-
if ($[
|
|
3033
|
+
if ($[214] !== t74) {
|
|
3031
3034
|
t75 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "mb-2 block text-xs", children: t74 });
|
|
3032
|
-
$[
|
|
3033
|
-
$[
|
|
3035
|
+
$[214] = t74;
|
|
3036
|
+
$[215] = t75;
|
|
3034
3037
|
} else {
|
|
3035
|
-
t75 = $[
|
|
3038
|
+
t75 = $[215];
|
|
3036
3039
|
}
|
|
3037
|
-
if ($[
|
|
3040
|
+
if ($[216] !== t73 || $[217] !== t75) {
|
|
3038
3041
|
t15 = /* @__PURE__ */ jsxs("div", { className: "col-span-12 mt-4", children: [
|
|
3039
3042
|
t73,
|
|
3040
3043
|
t75
|
|
3041
3044
|
] });
|
|
3042
|
-
$[
|
|
3043
|
-
$[
|
|
3044
|
-
$[
|
|
3045
|
+
$[216] = t73;
|
|
3046
|
+
$[217] = t75;
|
|
3047
|
+
$[218] = t15;
|
|
3045
3048
|
} else {
|
|
3046
|
-
t15 = $[
|
|
3049
|
+
t15 = $[218];
|
|
3047
3050
|
}
|
|
3048
3051
|
let t76;
|
|
3049
|
-
if ($[
|
|
3052
|
+
if ($[219] !== t) {
|
|
3050
3053
|
t76 = t("max_width_px");
|
|
3051
|
-
$[
|
|
3052
|
-
$[
|
|
3054
|
+
$[219] = t;
|
|
3055
|
+
$[220] = t76;
|
|
3053
3056
|
} else {
|
|
3054
|
-
t76 = $[
|
|
3057
|
+
t76 = $[220];
|
|
3055
3058
|
}
|
|
3056
3059
|
const t77 = imageResizeMaxWidthValue !== void 0 && imageResizeMaxWidthValue !== null ? imageResizeMaxWidthValue.toString() : "";
|
|
3057
3060
|
let t78;
|
|
3058
|
-
if ($[
|
|
3061
|
+
if ($[221] !== imageResizeMaxWidth || $[222] !== setFieldValue) {
|
|
3059
3062
|
t78 = (e_1) => {
|
|
3060
3063
|
const value_2 = e_1.target.value;
|
|
3061
3064
|
if (value_2 === "") {
|
|
@@ -3064,34 +3067,34 @@ function StoragePropertyField(t0) {
|
|
|
3064
3067
|
setFieldValue(imageResizeMaxWidth, parseInt(value_2));
|
|
3065
3068
|
}
|
|
3066
3069
|
};
|
|
3067
|
-
$[
|
|
3068
|
-
$[
|
|
3069
|
-
$[
|
|
3070
|
+
$[221] = imageResizeMaxWidth;
|
|
3071
|
+
$[222] = setFieldValue;
|
|
3072
|
+
$[223] = t78;
|
|
3070
3073
|
} else {
|
|
3071
|
-
t78 = $[
|
|
3074
|
+
t78 = $[223];
|
|
3072
3075
|
}
|
|
3073
|
-
if ($[
|
|
3076
|
+
if ($[224] !== disabled || $[225] !== imageResizeMaxWidth || $[226] !== t76 || $[227] !== t77 || $[228] !== t78) {
|
|
3074
3077
|
t16 = /* @__PURE__ */ jsx("div", { className: "col-span-6", children: /* @__PURE__ */ jsx(DebouncedTextField, { name: imageResizeMaxWidth, type: "number", label: t76, size: "small", disabled, value: t77, onChange: t78 }) });
|
|
3075
|
-
$[
|
|
3076
|
-
$[
|
|
3077
|
-
$[
|
|
3078
|
-
$[
|
|
3079
|
-
$[
|
|
3080
|
-
$[
|
|
3078
|
+
$[224] = disabled;
|
|
3079
|
+
$[225] = imageResizeMaxWidth;
|
|
3080
|
+
$[226] = t76;
|
|
3081
|
+
$[227] = t77;
|
|
3082
|
+
$[228] = t78;
|
|
3083
|
+
$[229] = t16;
|
|
3081
3084
|
} else {
|
|
3082
|
-
t16 = $[
|
|
3085
|
+
t16 = $[229];
|
|
3083
3086
|
}
|
|
3084
3087
|
let t79;
|
|
3085
|
-
if ($[
|
|
3088
|
+
if ($[230] !== t) {
|
|
3086
3089
|
t79 = t("max_height_px");
|
|
3087
|
-
$[
|
|
3088
|
-
$[
|
|
3090
|
+
$[230] = t;
|
|
3091
|
+
$[231] = t79;
|
|
3089
3092
|
} else {
|
|
3090
|
-
t79 = $[
|
|
3093
|
+
t79 = $[231];
|
|
3091
3094
|
}
|
|
3092
3095
|
const t80 = imageResizeMaxHeightValue !== void 0 && imageResizeMaxHeightValue !== null ? imageResizeMaxHeightValue.toString() : "";
|
|
3093
3096
|
let t81;
|
|
3094
|
-
if ($[
|
|
3097
|
+
if ($[232] !== imageResizeMaxHeight || $[233] !== setFieldValue) {
|
|
3095
3098
|
t81 = (e_2) => {
|
|
3096
3099
|
const value_3 = e_2.target.value;
|
|
3097
3100
|
if (value_3 === "") {
|
|
@@ -3100,273 +3103,274 @@ function StoragePropertyField(t0) {
|
|
|
3100
3103
|
setFieldValue(imageResizeMaxHeight, parseInt(value_3));
|
|
3101
3104
|
}
|
|
3102
3105
|
};
|
|
3103
|
-
$[
|
|
3104
|
-
$[
|
|
3105
|
-
$[
|
|
3106
|
+
$[232] = imageResizeMaxHeight;
|
|
3107
|
+
$[233] = setFieldValue;
|
|
3108
|
+
$[234] = t81;
|
|
3106
3109
|
} else {
|
|
3107
|
-
t81 = $[
|
|
3110
|
+
t81 = $[234];
|
|
3108
3111
|
}
|
|
3109
|
-
if ($[
|
|
3112
|
+
if ($[235] !== disabled || $[236] !== imageResizeMaxHeight || $[237] !== t79 || $[238] !== t80 || $[239] !== t81) {
|
|
3110
3113
|
t17 = /* @__PURE__ */ jsx("div", { className: "col-span-6", children: /* @__PURE__ */ jsx(DebouncedTextField, { name: imageResizeMaxHeight, type: "number", label: t79, size: "small", disabled, value: t80, onChange: t81 }) });
|
|
3111
|
-
$[
|
|
3112
|
-
$[
|
|
3113
|
-
$[
|
|
3114
|
-
$[
|
|
3115
|
-
$[
|
|
3116
|
-
$[
|
|
3114
|
+
$[235] = disabled;
|
|
3115
|
+
$[236] = imageResizeMaxHeight;
|
|
3116
|
+
$[237] = t79;
|
|
3117
|
+
$[238] = t80;
|
|
3118
|
+
$[239] = t81;
|
|
3119
|
+
$[240] = t17;
|
|
3117
3120
|
} else {
|
|
3118
|
-
t17 = $[
|
|
3121
|
+
t17 = $[240];
|
|
3119
3122
|
}
|
|
3120
3123
|
const t82 = imageResizeModeValue || "cover";
|
|
3121
3124
|
let t83;
|
|
3122
|
-
if ($[
|
|
3125
|
+
if ($[241] !== imageResizeMode || $[242] !== setFieldValue) {
|
|
3123
3126
|
t83 = (value_4) => setFieldValue(imageResizeMode, value_4 || "cover");
|
|
3124
|
-
$[
|
|
3125
|
-
$[
|
|
3126
|
-
$[
|
|
3127
|
+
$[241] = imageResizeMode;
|
|
3128
|
+
$[242] = setFieldValue;
|
|
3129
|
+
$[243] = t83;
|
|
3127
3130
|
} else {
|
|
3128
|
-
t83 = $[
|
|
3131
|
+
t83 = $[243];
|
|
3129
3132
|
}
|
|
3130
3133
|
let t84;
|
|
3131
|
-
if ($[
|
|
3134
|
+
if ($[244] !== t) {
|
|
3132
3135
|
t84 = t("resize_mode");
|
|
3133
|
-
$[
|
|
3134
|
-
$[
|
|
3136
|
+
$[244] = t;
|
|
3137
|
+
$[245] = t84;
|
|
3135
3138
|
} else {
|
|
3136
|
-
t84 = $[
|
|
3139
|
+
t84 = $[245];
|
|
3137
3140
|
}
|
|
3138
3141
|
let t85;
|
|
3139
|
-
if ($[
|
|
3142
|
+
if ($[246] !== t) {
|
|
3140
3143
|
t85 = (selected_0) => {
|
|
3141
3144
|
if (!selected_0) {
|
|
3142
3145
|
return t("resize_cover");
|
|
3143
3146
|
}
|
|
3144
3147
|
return selected_0 === "contain" ? t("resize_contain_description") : t("resize_cover_description");
|
|
3145
3148
|
};
|
|
3146
|
-
$[
|
|
3147
|
-
$[
|
|
3149
|
+
$[246] = t;
|
|
3150
|
+
$[247] = t85;
|
|
3148
3151
|
} else {
|
|
3149
|
-
t85 = $[
|
|
3152
|
+
t85 = $[247];
|
|
3150
3153
|
}
|
|
3151
3154
|
let t86;
|
|
3152
|
-
if ($[
|
|
3155
|
+
if ($[248] !== t) {
|
|
3153
3156
|
t86 = t("resize_contain_description");
|
|
3154
|
-
$[
|
|
3155
|
-
$[
|
|
3157
|
+
$[248] = t;
|
|
3158
|
+
$[249] = t86;
|
|
3156
3159
|
} else {
|
|
3157
|
-
t86 = $[
|
|
3160
|
+
t86 = $[249];
|
|
3158
3161
|
}
|
|
3159
3162
|
let t87;
|
|
3160
|
-
if ($[
|
|
3163
|
+
if ($[250] !== t86) {
|
|
3161
3164
|
t87 = /* @__PURE__ */ jsx(SelectItem, { value: "contain", children: t86 });
|
|
3162
|
-
$[
|
|
3163
|
-
$[
|
|
3165
|
+
$[250] = t86;
|
|
3166
|
+
$[251] = t87;
|
|
3164
3167
|
} else {
|
|
3165
|
-
t87 = $[
|
|
3168
|
+
t87 = $[251];
|
|
3166
3169
|
}
|
|
3167
3170
|
let t88;
|
|
3168
|
-
if ($[
|
|
3171
|
+
if ($[252] !== t) {
|
|
3169
3172
|
t88 = t("resize_cover_description");
|
|
3170
|
-
$[
|
|
3171
|
-
$[
|
|
3173
|
+
$[252] = t;
|
|
3174
|
+
$[253] = t88;
|
|
3172
3175
|
} else {
|
|
3173
|
-
t88 = $[
|
|
3176
|
+
t88 = $[253];
|
|
3174
3177
|
}
|
|
3175
3178
|
let t89;
|
|
3176
|
-
if ($[
|
|
3179
|
+
if ($[254] !== t88) {
|
|
3177
3180
|
t89 = /* @__PURE__ */ jsx(SelectItem, { value: "cover", children: t88 });
|
|
3178
|
-
$[
|
|
3179
|
-
$[
|
|
3181
|
+
$[254] = t88;
|
|
3182
|
+
$[255] = t89;
|
|
3180
3183
|
} else {
|
|
3181
|
-
t89 = $[
|
|
3184
|
+
t89 = $[255];
|
|
3182
3185
|
}
|
|
3183
|
-
if ($[
|
|
3186
|
+
if ($[256] !== disabled || $[257] !== imageResizeMode || $[258] !== t82 || $[259] !== t83 || $[260] !== t84 || $[261] !== t85 || $[262] !== t87 || $[263] !== t89) {
|
|
3184
3187
|
t18 = /* @__PURE__ */ jsx("div", { className: "col-span-6", children: /* @__PURE__ */ jsxs(Select, { disabled, name: imageResizeMode, fullWidth: true, size: "medium", value: t82, onValueChange: t83, label: t84, renderValue: t85, children: [
|
|
3185
3188
|
t87,
|
|
3186
3189
|
t89
|
|
3187
3190
|
] }) });
|
|
3188
|
-
$[
|
|
3189
|
-
$[
|
|
3190
|
-
$[
|
|
3191
|
-
$[
|
|
3192
|
-
$[
|
|
3193
|
-
$[
|
|
3194
|
-
$[
|
|
3195
|
-
$[
|
|
3196
|
-
$[
|
|
3191
|
+
$[256] = disabled;
|
|
3192
|
+
$[257] = imageResizeMode;
|
|
3193
|
+
$[258] = t82;
|
|
3194
|
+
$[259] = t83;
|
|
3195
|
+
$[260] = t84;
|
|
3196
|
+
$[261] = t85;
|
|
3197
|
+
$[262] = t87;
|
|
3198
|
+
$[263] = t89;
|
|
3199
|
+
$[264] = t18;
|
|
3197
3200
|
} else {
|
|
3198
|
-
t18 = $[
|
|
3201
|
+
t18 = $[264];
|
|
3199
3202
|
}
|
|
3200
3203
|
const t90 = imageResizeFormatValue || "original";
|
|
3201
3204
|
let t91;
|
|
3202
|
-
if ($[
|
|
3205
|
+
if ($[265] !== imageResizeFormat || $[266] !== setFieldValue) {
|
|
3203
3206
|
t91 = (value_5) => setFieldValue(imageResizeFormat, value_5 || "original");
|
|
3204
|
-
$[
|
|
3205
|
-
$[
|
|
3206
|
-
$[
|
|
3207
|
+
$[265] = imageResizeFormat;
|
|
3208
|
+
$[266] = setFieldValue;
|
|
3209
|
+
$[267] = t91;
|
|
3207
3210
|
} else {
|
|
3208
|
-
t91 = $[
|
|
3211
|
+
t91 = $[267];
|
|
3209
3212
|
}
|
|
3210
3213
|
let t92;
|
|
3211
|
-
if ($[
|
|
3214
|
+
if ($[268] !== t) {
|
|
3212
3215
|
t92 = t("output_format");
|
|
3213
|
-
$[
|
|
3214
|
-
$[
|
|
3216
|
+
$[268] = t;
|
|
3217
|
+
$[269] = t92;
|
|
3215
3218
|
} else {
|
|
3216
|
-
t92 = $[
|
|
3219
|
+
t92 = $[269];
|
|
3217
3220
|
}
|
|
3218
3221
|
let t93;
|
|
3219
|
-
if ($[
|
|
3222
|
+
if ($[270] !== t) {
|
|
3220
3223
|
t93 = (selected_1) => {
|
|
3221
3224
|
if (!selected_1) {
|
|
3222
3225
|
return t("format_original");
|
|
3223
3226
|
}
|
|
3224
3227
|
return selected_1.charAt(0).toUpperCase() + selected_1.slice(1);
|
|
3225
3228
|
};
|
|
3226
|
-
$[
|
|
3227
|
-
$[
|
|
3229
|
+
$[270] = t;
|
|
3230
|
+
$[271] = t93;
|
|
3228
3231
|
} else {
|
|
3229
|
-
t93 = $[
|
|
3232
|
+
t93 = $[271];
|
|
3230
3233
|
}
|
|
3231
3234
|
let t94;
|
|
3232
|
-
if ($[
|
|
3235
|
+
if ($[272] !== t) {
|
|
3233
3236
|
t94 = t("format_original_description");
|
|
3234
|
-
$[
|
|
3235
|
-
$[
|
|
3237
|
+
$[272] = t;
|
|
3238
|
+
$[273] = t94;
|
|
3236
3239
|
} else {
|
|
3237
|
-
t94 = $[
|
|
3240
|
+
t94 = $[273];
|
|
3238
3241
|
}
|
|
3239
3242
|
let t95;
|
|
3240
|
-
if ($[
|
|
3243
|
+
if ($[274] !== t94) {
|
|
3241
3244
|
t95 = /* @__PURE__ */ jsx(SelectItem, { value: "original", children: t94 });
|
|
3242
|
-
$[
|
|
3243
|
-
$[
|
|
3245
|
+
$[274] = t94;
|
|
3246
|
+
$[275] = t95;
|
|
3244
3247
|
} else {
|
|
3245
|
-
t95 = $[
|
|
3248
|
+
t95 = $[275];
|
|
3246
3249
|
}
|
|
3247
3250
|
let t96;
|
|
3248
3251
|
let t97;
|
|
3249
|
-
if ($[
|
|
3252
|
+
if ($[276] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
3250
3253
|
t96 = /* @__PURE__ */ jsx(SelectItem, { value: "jpeg", children: "JPEG" });
|
|
3251
3254
|
t97 = /* @__PURE__ */ jsx(SelectItem, { value: "png", children: "PNG" });
|
|
3252
|
-
$[
|
|
3253
|
-
$[
|
|
3255
|
+
$[276] = t96;
|
|
3256
|
+
$[277] = t97;
|
|
3254
3257
|
} else {
|
|
3255
|
-
t96 = $[
|
|
3256
|
-
t97 = $[
|
|
3258
|
+
t96 = $[276];
|
|
3259
|
+
t97 = $[277];
|
|
3257
3260
|
}
|
|
3258
3261
|
let t98;
|
|
3259
|
-
if ($[
|
|
3262
|
+
if ($[278] !== t) {
|
|
3260
3263
|
t98 = t("format_webp_description");
|
|
3261
|
-
$[
|
|
3262
|
-
$[
|
|
3264
|
+
$[278] = t;
|
|
3265
|
+
$[279] = t98;
|
|
3263
3266
|
} else {
|
|
3264
|
-
t98 = $[
|
|
3267
|
+
t98 = $[279];
|
|
3265
3268
|
}
|
|
3266
3269
|
let t99;
|
|
3267
|
-
if ($[
|
|
3270
|
+
if ($[280] !== t98) {
|
|
3268
3271
|
t99 = /* @__PURE__ */ jsx(SelectItem, { value: "webp", children: t98 });
|
|
3269
|
-
$[
|
|
3270
|
-
$[
|
|
3272
|
+
$[280] = t98;
|
|
3273
|
+
$[281] = t99;
|
|
3271
3274
|
} else {
|
|
3272
|
-
t99 = $[
|
|
3275
|
+
t99 = $[281];
|
|
3273
3276
|
}
|
|
3274
|
-
if ($[
|
|
3277
|
+
if ($[282] !== disabled || $[283] !== imageResizeFormat || $[284] !== t90 || $[285] !== t91 || $[286] !== t92 || $[287] !== t93 || $[288] !== t95 || $[289] !== t99) {
|
|
3275
3278
|
t19 = /* @__PURE__ */ jsx("div", { className: "col-span-6", children: /* @__PURE__ */ jsxs(Select, { disabled, size: "medium", fullWidth: true, name: imageResizeFormat, value: t90, onValueChange: t91, label: t92, renderValue: t93, children: [
|
|
3276
3279
|
t95,
|
|
3277
3280
|
t96,
|
|
3278
3281
|
t97,
|
|
3279
3282
|
t99
|
|
3280
3283
|
] }) });
|
|
3281
|
-
$[
|
|
3282
|
-
$[
|
|
3283
|
-
$[
|
|
3284
|
-
$[
|
|
3285
|
-
$[
|
|
3286
|
-
$[
|
|
3287
|
-
$[
|
|
3288
|
-
$[
|
|
3289
|
-
$[
|
|
3284
|
+
$[282] = disabled;
|
|
3285
|
+
$[283] = imageResizeFormat;
|
|
3286
|
+
$[284] = t90;
|
|
3287
|
+
$[285] = t91;
|
|
3288
|
+
$[286] = t92;
|
|
3289
|
+
$[287] = t93;
|
|
3290
|
+
$[288] = t95;
|
|
3291
|
+
$[289] = t99;
|
|
3292
|
+
$[290] = t19;
|
|
3290
3293
|
} else {
|
|
3291
|
-
t19 = $[
|
|
3294
|
+
t19 = $[290];
|
|
3292
3295
|
}
|
|
3293
3296
|
t9 = "col-span-12";
|
|
3294
3297
|
T0 = DebouncedTextField;
|
|
3295
3298
|
t3 = imageResizeQuality;
|
|
3296
3299
|
t4 = "number";
|
|
3297
|
-
if ($[
|
|
3300
|
+
if ($[291] !== t) {
|
|
3298
3301
|
t5 = t("quality_label");
|
|
3299
|
-
$[
|
|
3300
|
-
$[
|
|
3302
|
+
$[291] = t;
|
|
3303
|
+
$[292] = t5;
|
|
3301
3304
|
} else {
|
|
3302
|
-
t5 = $[
|
|
3305
|
+
t5 = $[292];
|
|
3303
3306
|
}
|
|
3304
3307
|
t6 = "small";
|
|
3305
3308
|
t7 = disabled;
|
|
3306
3309
|
t8 = imageResizeQualityValue !== void 0 && imageResizeQualityValue !== null ? imageResizeQualityValue.toString() : "";
|
|
3307
3310
|
$[6] = acceptedFiles;
|
|
3308
3311
|
$[7] = disabled;
|
|
3309
|
-
$[8] =
|
|
3310
|
-
$[9] =
|
|
3311
|
-
$[10] =
|
|
3312
|
-
$[11] =
|
|
3313
|
-
$[12] =
|
|
3314
|
-
$[13] =
|
|
3315
|
-
$[14] =
|
|
3316
|
-
$[15] =
|
|
3317
|
-
$[16] =
|
|
3318
|
-
$[17] =
|
|
3319
|
-
$[18] =
|
|
3320
|
-
$[19] =
|
|
3321
|
-
$[20] =
|
|
3322
|
-
$[21] =
|
|
3323
|
-
$[22] =
|
|
3324
|
-
$[23] =
|
|
3325
|
-
$[24] =
|
|
3326
|
-
$[25] =
|
|
3327
|
-
$[26] =
|
|
3328
|
-
$[27] =
|
|
3329
|
-
$[28] =
|
|
3330
|
-
$[29] =
|
|
3331
|
-
$[30] =
|
|
3332
|
-
$[31] =
|
|
3333
|
-
$[32] =
|
|
3334
|
-
$[33] =
|
|
3335
|
-
$[34] =
|
|
3336
|
-
$[35] =
|
|
3337
|
-
$[36] =
|
|
3338
|
-
$[37] =
|
|
3339
|
-
$[38] =
|
|
3340
|
-
$[39] =
|
|
3341
|
-
$[40] =
|
|
3342
|
-
$[41] =
|
|
3343
|
-
$[42] =
|
|
3344
|
-
$[43] =
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3312
|
+
$[8] = existing;
|
|
3313
|
+
$[9] = fileName;
|
|
3314
|
+
$[10] = fileNameValue;
|
|
3315
|
+
$[11] = imageResizeFormat;
|
|
3316
|
+
$[12] = imageResizeMaxHeight;
|
|
3317
|
+
$[13] = imageResizeMaxWidth;
|
|
3318
|
+
$[14] = imageResizeMode;
|
|
3319
|
+
$[15] = imageResizeQuality;
|
|
3320
|
+
$[16] = includeBucketUrl;
|
|
3321
|
+
$[17] = maxSize;
|
|
3322
|
+
$[18] = setFieldValue;
|
|
3323
|
+
$[19] = storagePath;
|
|
3324
|
+
$[20] = storagePathValue;
|
|
3325
|
+
$[21] = storeUrl;
|
|
3326
|
+
$[22] = t;
|
|
3327
|
+
$[23] = values;
|
|
3328
|
+
$[24] = T0;
|
|
3329
|
+
$[25] = T1;
|
|
3330
|
+
$[26] = t10;
|
|
3331
|
+
$[27] = t11;
|
|
3332
|
+
$[28] = t12;
|
|
3333
|
+
$[29] = t13;
|
|
3334
|
+
$[30] = t14;
|
|
3335
|
+
$[31] = t15;
|
|
3336
|
+
$[32] = t16;
|
|
3337
|
+
$[33] = t17;
|
|
3338
|
+
$[34] = t18;
|
|
3339
|
+
$[35] = t19;
|
|
3340
|
+
$[36] = t20;
|
|
3341
|
+
$[37] = t21;
|
|
3342
|
+
$[38] = t3;
|
|
3343
|
+
$[39] = t4;
|
|
3344
|
+
$[40] = t5;
|
|
3345
|
+
$[41] = t6;
|
|
3346
|
+
$[42] = t7;
|
|
3347
|
+
$[43] = t8;
|
|
3348
|
+
$[44] = t9;
|
|
3349
|
+
} else {
|
|
3350
|
+
T0 = $[24];
|
|
3351
|
+
T1 = $[25];
|
|
3352
|
+
t10 = $[26];
|
|
3353
|
+
t11 = $[27];
|
|
3354
|
+
t12 = $[28];
|
|
3355
|
+
t13 = $[29];
|
|
3356
|
+
t14 = $[30];
|
|
3357
|
+
t15 = $[31];
|
|
3358
|
+
t16 = $[32];
|
|
3359
|
+
t17 = $[33];
|
|
3360
|
+
t18 = $[34];
|
|
3361
|
+
t19 = $[35];
|
|
3362
|
+
t20 = $[36];
|
|
3363
|
+
t21 = $[37];
|
|
3364
|
+
t3 = $[38];
|
|
3365
|
+
t4 = $[39];
|
|
3366
|
+
t5 = $[40];
|
|
3367
|
+
t6 = $[41];
|
|
3368
|
+
t7 = $[42];
|
|
3369
|
+
t8 = $[43];
|
|
3370
|
+
t9 = $[44];
|
|
3367
3371
|
}
|
|
3368
3372
|
let t22;
|
|
3369
|
-
if ($[
|
|
3373
|
+
if ($[293] !== imageResizeQuality || $[294] !== setFieldValue) {
|
|
3370
3374
|
t22 = (e_3) => {
|
|
3371
3375
|
const value_6 = e_3.target.value;
|
|
3372
3376
|
if (value_6 === "") {
|
|
@@ -3378,58 +3382,58 @@ function StoragePropertyField(t0) {
|
|
|
3378
3382
|
}
|
|
3379
3383
|
}
|
|
3380
3384
|
};
|
|
3381
|
-
$[
|
|
3382
|
-
$[
|
|
3383
|
-
$[
|
|
3385
|
+
$[293] = imageResizeQuality;
|
|
3386
|
+
$[294] = setFieldValue;
|
|
3387
|
+
$[295] = t22;
|
|
3384
3388
|
} else {
|
|
3385
|
-
t22 = $[
|
|
3389
|
+
t22 = $[295];
|
|
3386
3390
|
}
|
|
3387
3391
|
let t23;
|
|
3388
|
-
if ($[
|
|
3392
|
+
if ($[296] !== T0 || $[297] !== t22 || $[298] !== t3 || $[299] !== t4 || $[300] !== t5 || $[301] !== t6 || $[302] !== t7 || $[303] !== t8) {
|
|
3389
3393
|
t23 = /* @__PURE__ */ jsx(T0, { name: t3, type: t4, label: t5, size: t6, disabled: t7, value: t8, onChange: t22 });
|
|
3390
|
-
$[
|
|
3391
|
-
$[
|
|
3392
|
-
$[
|
|
3393
|
-
$[
|
|
3394
|
-
$[
|
|
3395
|
-
$[
|
|
3396
|
-
$[
|
|
3397
|
-
$[
|
|
3398
|
-
$[
|
|
3399
|
-
} else {
|
|
3400
|
-
t23 = $[
|
|
3394
|
+
$[296] = T0;
|
|
3395
|
+
$[297] = t22;
|
|
3396
|
+
$[298] = t3;
|
|
3397
|
+
$[299] = t4;
|
|
3398
|
+
$[300] = t5;
|
|
3399
|
+
$[301] = t6;
|
|
3400
|
+
$[302] = t7;
|
|
3401
|
+
$[303] = t8;
|
|
3402
|
+
$[304] = t23;
|
|
3403
|
+
} else {
|
|
3404
|
+
t23 = $[304];
|
|
3401
3405
|
}
|
|
3402
3406
|
let t24;
|
|
3403
|
-
if ($[
|
|
3407
|
+
if ($[305] !== t) {
|
|
3404
3408
|
t24 = t("quality_hint");
|
|
3405
|
-
$[
|
|
3406
|
-
$[
|
|
3409
|
+
$[305] = t;
|
|
3410
|
+
$[306] = t24;
|
|
3407
3411
|
} else {
|
|
3408
|
-
t24 = $[
|
|
3412
|
+
t24 = $[306];
|
|
3409
3413
|
}
|
|
3410
3414
|
let t25;
|
|
3411
|
-
if ($[
|
|
3415
|
+
if ($[307] !== t24) {
|
|
3412
3416
|
t25 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "ml-3.5 mt-1 mb-2", children: t24 });
|
|
3413
|
-
$[
|
|
3414
|
-
$[
|
|
3417
|
+
$[307] = t24;
|
|
3418
|
+
$[308] = t25;
|
|
3415
3419
|
} else {
|
|
3416
|
-
t25 = $[
|
|
3420
|
+
t25 = $[308];
|
|
3417
3421
|
}
|
|
3418
3422
|
let t26;
|
|
3419
|
-
if ($[
|
|
3423
|
+
if ($[309] !== t23 || $[310] !== t25 || $[311] !== t9) {
|
|
3420
3424
|
t26 = /* @__PURE__ */ jsxs("div", { className: t9, children: [
|
|
3421
3425
|
t23,
|
|
3422
3426
|
t25
|
|
3423
3427
|
] });
|
|
3424
|
-
$[
|
|
3425
|
-
$[
|
|
3426
|
-
$[
|
|
3427
|
-
$[
|
|
3428
|
+
$[309] = t23;
|
|
3429
|
+
$[310] = t25;
|
|
3430
|
+
$[311] = t9;
|
|
3431
|
+
$[312] = t26;
|
|
3428
3432
|
} else {
|
|
3429
|
-
t26 = $[
|
|
3433
|
+
t26 = $[312];
|
|
3430
3434
|
}
|
|
3431
3435
|
let t27;
|
|
3432
|
-
if ($[
|
|
3436
|
+
if ($[313] !== t10 || $[314] !== t11 || $[315] !== t12 || $[316] !== t13 || $[317] !== t14 || $[318] !== t15 || $[319] !== t16 || $[320] !== t17 || $[321] !== t18 || $[322] !== t19 || $[323] !== t26) {
|
|
3433
3437
|
t27 = /* @__PURE__ */ jsxs("div", { className: t10, children: [
|
|
3434
3438
|
t11,
|
|
3435
3439
|
t12,
|
|
@@ -3442,81 +3446,81 @@ function StoragePropertyField(t0) {
|
|
|
3442
3446
|
t19,
|
|
3443
3447
|
t26
|
|
3444
3448
|
] });
|
|
3445
|
-
$[
|
|
3446
|
-
$[
|
|
3447
|
-
$[
|
|
3448
|
-
$[
|
|
3449
|
-
$[
|
|
3450
|
-
$[
|
|
3451
|
-
$[
|
|
3452
|
-
$[
|
|
3453
|
-
$[
|
|
3454
|
-
$[
|
|
3455
|
-
$[
|
|
3456
|
-
$[
|
|
3457
|
-
} else {
|
|
3458
|
-
t27 = $[
|
|
3449
|
+
$[313] = t10;
|
|
3450
|
+
$[314] = t11;
|
|
3451
|
+
$[315] = t12;
|
|
3452
|
+
$[316] = t13;
|
|
3453
|
+
$[317] = t14;
|
|
3454
|
+
$[318] = t15;
|
|
3455
|
+
$[319] = t16;
|
|
3456
|
+
$[320] = t17;
|
|
3457
|
+
$[321] = t18;
|
|
3458
|
+
$[322] = t19;
|
|
3459
|
+
$[323] = t26;
|
|
3460
|
+
$[324] = t27;
|
|
3461
|
+
} else {
|
|
3462
|
+
t27 = $[324];
|
|
3459
3463
|
}
|
|
3460
3464
|
let t28;
|
|
3461
|
-
if ($[
|
|
3465
|
+
if ($[325] !== T1 || $[326] !== t20 || $[327] !== t27) {
|
|
3462
3466
|
t28 = /* @__PURE__ */ jsx(T1, { title: t20, children: t27 });
|
|
3463
|
-
$[
|
|
3464
|
-
$[
|
|
3465
|
-
$[
|
|
3466
|
-
$[
|
|
3467
|
+
$[325] = T1;
|
|
3468
|
+
$[326] = t20;
|
|
3469
|
+
$[327] = t27;
|
|
3470
|
+
$[328] = t28;
|
|
3467
3471
|
} else {
|
|
3468
|
-
t28 = $[
|
|
3472
|
+
t28 = $[328];
|
|
3469
3473
|
}
|
|
3470
3474
|
let t29;
|
|
3471
|
-
if ($[
|
|
3475
|
+
if ($[329] !== t21 || $[330] !== t28) {
|
|
3472
3476
|
t29 = /* @__PURE__ */ jsx("div", { className: t21, children: t28 });
|
|
3473
|
-
$[
|
|
3474
|
-
$[
|
|
3475
|
-
$[
|
|
3477
|
+
$[329] = t21;
|
|
3478
|
+
$[330] = t28;
|
|
3479
|
+
$[331] = t29;
|
|
3476
3480
|
} else {
|
|
3477
|
-
t29 = $[
|
|
3481
|
+
t29 = $[331];
|
|
3478
3482
|
}
|
|
3479
3483
|
let t30;
|
|
3480
|
-
if ($[
|
|
3484
|
+
if ($[332] !== disabled || $[333] !== multiple) {
|
|
3481
3485
|
t30 = !multiple && /* @__PURE__ */ jsx("div", { className: "grid grid-cols-12 gap-2", children: /* @__PURE__ */ jsx(GeneralPropertyValidation, { disabled }) });
|
|
3482
|
-
$[
|
|
3483
|
-
$[
|
|
3484
|
-
$[
|
|
3486
|
+
$[332] = disabled;
|
|
3487
|
+
$[333] = multiple;
|
|
3488
|
+
$[334] = t30;
|
|
3485
3489
|
} else {
|
|
3486
|
-
t30 = $[
|
|
3490
|
+
t30 = $[334];
|
|
3487
3491
|
}
|
|
3488
3492
|
let t31;
|
|
3489
|
-
if ($[
|
|
3493
|
+
if ($[335] !== disabled || $[336] !== multiple) {
|
|
3490
3494
|
t31 = multiple && /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(ArrayPropertyValidation, { disabled }) });
|
|
3491
|
-
$[
|
|
3492
|
-
$[
|
|
3493
|
-
$[
|
|
3495
|
+
$[335] = disabled;
|
|
3496
|
+
$[336] = multiple;
|
|
3497
|
+
$[337] = t31;
|
|
3494
3498
|
} else {
|
|
3495
|
-
t31 = $[
|
|
3499
|
+
t31 = $[337];
|
|
3496
3500
|
}
|
|
3497
3501
|
let t32;
|
|
3498
|
-
if ($[
|
|
3502
|
+
if ($[338] !== t30 || $[339] !== t31) {
|
|
3499
3503
|
t32 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsxs(ValidationPanel, { children: [
|
|
3500
3504
|
t30,
|
|
3501
3505
|
t31
|
|
3502
3506
|
] }) });
|
|
3503
|
-
$[
|
|
3504
|
-
$[
|
|
3505
|
-
$[
|
|
3507
|
+
$[338] = t30;
|
|
3508
|
+
$[339] = t31;
|
|
3509
|
+
$[340] = t32;
|
|
3506
3510
|
} else {
|
|
3507
|
-
t32 = $[
|
|
3511
|
+
t32 = $[340];
|
|
3508
3512
|
}
|
|
3509
3513
|
let t33;
|
|
3510
|
-
if ($[
|
|
3514
|
+
if ($[341] !== t29 || $[342] !== t32) {
|
|
3511
3515
|
t33 = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3512
3516
|
t29,
|
|
3513
3517
|
t32
|
|
3514
3518
|
] });
|
|
3515
|
-
$[
|
|
3516
|
-
$[
|
|
3517
|
-
$[
|
|
3519
|
+
$[341] = t29;
|
|
3520
|
+
$[342] = t32;
|
|
3521
|
+
$[343] = t33;
|
|
3518
3522
|
} else {
|
|
3519
|
-
t33 = $[
|
|
3523
|
+
t33 = $[343];
|
|
3520
3524
|
}
|
|
3521
3525
|
return t33;
|
|
3522
3526
|
}
|
|
@@ -10370,7 +10374,7 @@ function PropertyFormDialog(t0) {
|
|
|
10370
10374
|
return t12;
|
|
10371
10375
|
}
|
|
10372
10376
|
function PropertyEditFormFields(t0) {
|
|
10373
|
-
const $ = c(
|
|
10377
|
+
const $ = c(155);
|
|
10374
10378
|
const {
|
|
10375
10379
|
values,
|
|
10376
10380
|
errors,
|
|
@@ -10578,153 +10582,155 @@ function PropertyEditFormFields(t0) {
|
|
|
10578
10582
|
} else {
|
|
10579
10583
|
if (selectedFieldConfigId === "file_upload") {
|
|
10580
10584
|
let t102;
|
|
10581
|
-
if ($[51] !== disabled) {
|
|
10582
|
-
t102 = /* @__PURE__ */ jsx(StoragePropertyField, { multiple: false, disabled });
|
|
10585
|
+
if ($[51] !== disabled || $[52] !== existing) {
|
|
10586
|
+
t102 = /* @__PURE__ */ jsx(StoragePropertyField, { existing, multiple: false, disabled });
|
|
10583
10587
|
$[51] = disabled;
|
|
10584
|
-
$[52] =
|
|
10588
|
+
$[52] = existing;
|
|
10589
|
+
$[53] = t102;
|
|
10585
10590
|
} else {
|
|
10586
|
-
t102 = $[
|
|
10591
|
+
t102 = $[53];
|
|
10587
10592
|
}
|
|
10588
10593
|
childComponent = t102;
|
|
10589
10594
|
} else {
|
|
10590
10595
|
if (selectedFieldConfigId === "multi_file_upload") {
|
|
10591
10596
|
let t102;
|
|
10592
|
-
if ($[
|
|
10593
|
-
t102 = /* @__PURE__ */ jsx(StoragePropertyField, { multiple: true, disabled });
|
|
10594
|
-
$[
|
|
10595
|
-
$[
|
|
10597
|
+
if ($[54] !== disabled || $[55] !== existing) {
|
|
10598
|
+
t102 = /* @__PURE__ */ jsx(StoragePropertyField, { existing, multiple: true, disabled });
|
|
10599
|
+
$[54] = disabled;
|
|
10600
|
+
$[55] = existing;
|
|
10601
|
+
$[56] = t102;
|
|
10596
10602
|
} else {
|
|
10597
|
-
t102 = $[
|
|
10603
|
+
t102 = $[56];
|
|
10598
10604
|
}
|
|
10599
10605
|
childComponent = t102;
|
|
10600
10606
|
} else {
|
|
10601
10607
|
if (selectedFieldConfigId === "switch") {
|
|
10602
10608
|
let t102;
|
|
10603
|
-
if ($[
|
|
10609
|
+
if ($[57] !== disabled) {
|
|
10604
10610
|
t102 = /* @__PURE__ */ jsx(BooleanPropertyField, { disabled });
|
|
10605
|
-
$[
|
|
10606
|
-
$[
|
|
10611
|
+
$[57] = disabled;
|
|
10612
|
+
$[58] = t102;
|
|
10607
10613
|
} else {
|
|
10608
|
-
t102 = $[
|
|
10614
|
+
t102 = $[58];
|
|
10609
10615
|
}
|
|
10610
10616
|
childComponent = t102;
|
|
10611
10617
|
} else {
|
|
10612
10618
|
if (selectedFieldConfigId === "number_input") {
|
|
10613
10619
|
let t102;
|
|
10614
|
-
if ($[
|
|
10620
|
+
if ($[59] !== disabled) {
|
|
10615
10621
|
t102 = /* @__PURE__ */ jsx(NumberPropertyField, { disabled });
|
|
10616
|
-
$[
|
|
10617
|
-
$[
|
|
10622
|
+
$[59] = disabled;
|
|
10623
|
+
$[60] = t102;
|
|
10618
10624
|
} else {
|
|
10619
|
-
t102 = $[
|
|
10625
|
+
t102 = $[60];
|
|
10620
10626
|
}
|
|
10621
10627
|
childComponent = t102;
|
|
10622
10628
|
} else {
|
|
10623
10629
|
if (selectedFieldConfigId === "group") {
|
|
10624
10630
|
let t102;
|
|
10625
|
-
if ($[
|
|
10631
|
+
if ($[61] !== allowDataInference || $[62] !== collectionEditable || $[63] !== disabled || $[64] !== getData || $[65] !== propertyConfigs) {
|
|
10626
10632
|
t102 = /* @__PURE__ */ jsx(MapPropertyField, { disabled, getData, allowDataInference, collectionEditable, propertyConfigs });
|
|
10627
|
-
$[
|
|
10628
|
-
$[
|
|
10629
|
-
$[
|
|
10630
|
-
$[
|
|
10631
|
-
$[
|
|
10632
|
-
$[
|
|
10633
|
+
$[61] = allowDataInference;
|
|
10634
|
+
$[62] = collectionEditable;
|
|
10635
|
+
$[63] = disabled;
|
|
10636
|
+
$[64] = getData;
|
|
10637
|
+
$[65] = propertyConfigs;
|
|
10638
|
+
$[66] = t102;
|
|
10633
10639
|
} else {
|
|
10634
|
-
t102 = $[
|
|
10640
|
+
t102 = $[66];
|
|
10635
10641
|
}
|
|
10636
10642
|
childComponent = t102;
|
|
10637
10643
|
} else {
|
|
10638
10644
|
if (selectedFieldConfigId === "block") {
|
|
10639
10645
|
let t102;
|
|
10640
|
-
if ($[
|
|
10646
|
+
if ($[67] !== allowDataInference || $[68] !== collectionEditable || $[69] !== disabled || $[70] !== getData || $[71] !== propertyConfigs) {
|
|
10641
10647
|
t102 = /* @__PURE__ */ jsx(BlockPropertyField, { disabled, getData, allowDataInference, collectionEditable, propertyConfigs });
|
|
10642
|
-
$[
|
|
10643
|
-
$[
|
|
10644
|
-
$[
|
|
10645
|
-
$[
|
|
10646
|
-
$[
|
|
10647
|
-
$[
|
|
10648
|
+
$[67] = allowDataInference;
|
|
10649
|
+
$[68] = collectionEditable;
|
|
10650
|
+
$[69] = disabled;
|
|
10651
|
+
$[70] = getData;
|
|
10652
|
+
$[71] = propertyConfigs;
|
|
10653
|
+
$[72] = t102;
|
|
10648
10654
|
} else {
|
|
10649
|
-
t102 = $[
|
|
10655
|
+
t102 = $[72];
|
|
10650
10656
|
}
|
|
10651
10657
|
childComponent = t102;
|
|
10652
10658
|
} else {
|
|
10653
10659
|
if (selectedFieldConfigId === "reference") {
|
|
10654
10660
|
let t102;
|
|
10655
|
-
if ($[
|
|
10661
|
+
if ($[73] !== disabled || $[74] !== existing || $[75] !== showErrors) {
|
|
10656
10662
|
t102 = /* @__PURE__ */ jsx(ReferencePropertyField, { showErrors, existing, multiple: false, disabled });
|
|
10657
|
-
$[
|
|
10658
|
-
$[
|
|
10659
|
-
$[
|
|
10660
|
-
$[
|
|
10663
|
+
$[73] = disabled;
|
|
10664
|
+
$[74] = existing;
|
|
10665
|
+
$[75] = showErrors;
|
|
10666
|
+
$[76] = t102;
|
|
10661
10667
|
} else {
|
|
10662
|
-
t102 = $[
|
|
10668
|
+
t102 = $[76];
|
|
10663
10669
|
}
|
|
10664
10670
|
childComponent = t102;
|
|
10665
10671
|
} else {
|
|
10666
10672
|
if (selectedFieldConfigId === "reference_as_string") {
|
|
10667
10673
|
let t102;
|
|
10668
|
-
if ($[
|
|
10674
|
+
if ($[77] !== disabled || $[78] !== existing || $[79] !== showErrors) {
|
|
10669
10675
|
t102 = /* @__PURE__ */ jsx(ReferencePropertyField, { showErrors, existing, asString: true, multiple: false, disabled });
|
|
10670
|
-
$[
|
|
10671
|
-
$[
|
|
10672
|
-
$[
|
|
10673
|
-
$[
|
|
10676
|
+
$[77] = disabled;
|
|
10677
|
+
$[78] = existing;
|
|
10678
|
+
$[79] = showErrors;
|
|
10679
|
+
$[80] = t102;
|
|
10674
10680
|
} else {
|
|
10675
|
-
t102 = $[
|
|
10681
|
+
t102 = $[80];
|
|
10676
10682
|
}
|
|
10677
10683
|
childComponent = t102;
|
|
10678
10684
|
} else {
|
|
10679
10685
|
if (selectedFieldConfigId === "date_time") {
|
|
10680
10686
|
let t102;
|
|
10681
|
-
if ($[
|
|
10687
|
+
if ($[81] !== disabled) {
|
|
10682
10688
|
t102 = /* @__PURE__ */ jsx(DateTimePropertyField, { disabled });
|
|
10683
|
-
$[
|
|
10684
|
-
$[
|
|
10689
|
+
$[81] = disabled;
|
|
10690
|
+
$[82] = t102;
|
|
10685
10691
|
} else {
|
|
10686
|
-
t102 = $[
|
|
10692
|
+
t102 = $[82];
|
|
10687
10693
|
}
|
|
10688
10694
|
childComponent = t102;
|
|
10689
10695
|
} else {
|
|
10690
10696
|
if (selectedFieldConfigId === "multi_references") {
|
|
10691
10697
|
let t102;
|
|
10692
|
-
if ($[
|
|
10698
|
+
if ($[83] !== disabled || $[84] !== existing || $[85] !== showErrors) {
|
|
10693
10699
|
t102 = /* @__PURE__ */ jsx(ReferencePropertyField, { showErrors, existing, multiple: true, disabled });
|
|
10694
|
-
$[
|
|
10695
|
-
$[
|
|
10696
|
-
$[
|
|
10697
|
-
$[
|
|
10700
|
+
$[83] = disabled;
|
|
10701
|
+
$[84] = existing;
|
|
10702
|
+
$[85] = showErrors;
|
|
10703
|
+
$[86] = t102;
|
|
10698
10704
|
} else {
|
|
10699
|
-
t102 = $[
|
|
10705
|
+
t102 = $[86];
|
|
10700
10706
|
}
|
|
10701
10707
|
childComponent = t102;
|
|
10702
10708
|
} else {
|
|
10703
10709
|
if (selectedFieldConfigId === "repeat") {
|
|
10704
10710
|
let t102;
|
|
10705
|
-
if ($[
|
|
10711
|
+
if ($[87] !== allowDataInference || $[88] !== collectionEditable || $[89] !== disabled || $[90] !== existing || $[91] !== getData || $[92] !== propertyConfigs || $[93] !== showErrors) {
|
|
10706
10712
|
t102 = /* @__PURE__ */ jsx(RepeatPropertyField, { showErrors, existing, getData, allowDataInference, disabled, collectionEditable, propertyConfigs });
|
|
10707
|
-
$[
|
|
10708
|
-
$[
|
|
10709
|
-
$[
|
|
10710
|
-
$[
|
|
10711
|
-
$[
|
|
10712
|
-
$[
|
|
10713
|
-
$[
|
|
10714
|
-
$[
|
|
10713
|
+
$[87] = allowDataInference;
|
|
10714
|
+
$[88] = collectionEditable;
|
|
10715
|
+
$[89] = disabled;
|
|
10716
|
+
$[90] = existing;
|
|
10717
|
+
$[91] = getData;
|
|
10718
|
+
$[92] = propertyConfigs;
|
|
10719
|
+
$[93] = showErrors;
|
|
10720
|
+
$[94] = t102;
|
|
10715
10721
|
} else {
|
|
10716
|
-
t102 = $[
|
|
10722
|
+
t102 = $[94];
|
|
10717
10723
|
}
|
|
10718
10724
|
childComponent = t102;
|
|
10719
10725
|
} else {
|
|
10720
10726
|
if (selectedFieldConfigId === "key_value") {
|
|
10721
10727
|
let t102;
|
|
10722
|
-
if ($[
|
|
10728
|
+
if ($[95] !== disabled) {
|
|
10723
10729
|
t102 = /* @__PURE__ */ jsx(KeyValuePropertyField, { disabled });
|
|
10724
|
-
$[
|
|
10725
|
-
$[
|
|
10730
|
+
$[95] = disabled;
|
|
10731
|
+
$[96] = t102;
|
|
10726
10732
|
} else {
|
|
10727
|
-
t102 = $[
|
|
10733
|
+
t102 = $[96];
|
|
10728
10734
|
}
|
|
10729
10735
|
childComponent = t102;
|
|
10730
10736
|
} else {
|
|
@@ -10747,7 +10753,7 @@ function PropertyEditFormFields(t0) {
|
|
|
10747
10753
|
}
|
|
10748
10754
|
}
|
|
10749
10755
|
let t10;
|
|
10750
|
-
if ($[
|
|
10756
|
+
if ($[97] !== disabled) {
|
|
10751
10757
|
t10 = disabled && /* @__PURE__ */ jsxs(InfoLabel, { mode: "warn", children: [
|
|
10752
10758
|
/* @__PURE__ */ jsx(Typography, { children: "This property can't be edited" }),
|
|
10753
10759
|
/* @__PURE__ */ jsxs(Typography, { variant: "caption", children: [
|
|
@@ -10758,170 +10764,170 @@ function PropertyEditFormFields(t0) {
|
|
|
10758
10764
|
"."
|
|
10759
10765
|
] })
|
|
10760
10766
|
] });
|
|
10761
|
-
$[
|
|
10762
|
-
$[
|
|
10767
|
+
$[97] = disabled;
|
|
10768
|
+
$[98] = t10;
|
|
10763
10769
|
} else {
|
|
10764
|
-
t10 = $[
|
|
10770
|
+
t10 = $[98];
|
|
10765
10771
|
}
|
|
10766
10772
|
const t11 = selectedFieldConfigId;
|
|
10767
10773
|
let t12;
|
|
10768
|
-
if ($[
|
|
10774
|
+
if ($[99] !== onWidgetSelectChanged) {
|
|
10769
10775
|
t12 = (value) => onWidgetSelectChanged(value);
|
|
10770
|
-
$[
|
|
10771
|
-
$[
|
|
10776
|
+
$[99] = onWidgetSelectChanged;
|
|
10777
|
+
$[100] = t12;
|
|
10772
10778
|
} else {
|
|
10773
|
-
t12 = $[
|
|
10779
|
+
t12 = $[100];
|
|
10774
10780
|
}
|
|
10775
10781
|
let t13;
|
|
10776
|
-
if ($[
|
|
10782
|
+
if ($[101] !== onDismiss) {
|
|
10777
10783
|
t13 = (open, hasValue) => {
|
|
10778
10784
|
if (!hasValue) {
|
|
10779
10785
|
onDismiss?.();
|
|
10780
10786
|
}
|
|
10781
10787
|
setSelectOpen(open);
|
|
10782
10788
|
};
|
|
10783
|
-
$[
|
|
10784
|
-
$[
|
|
10789
|
+
$[101] = onDismiss;
|
|
10790
|
+
$[102] = t13;
|
|
10785
10791
|
} else {
|
|
10786
|
-
t13 = $[
|
|
10792
|
+
t13 = $[102];
|
|
10787
10793
|
}
|
|
10788
10794
|
const t14 = Boolean(selectedWidgetError);
|
|
10789
10795
|
let t15;
|
|
10790
|
-
if ($[
|
|
10796
|
+
if ($[103] !== disabled || $[104] !== existing || $[105] !== inArray || $[106] !== propertyConfigs || $[107] !== selectOpen || $[108] !== t11 || $[109] !== t12 || $[110] !== t13 || $[111] !== t14 || $[112] !== values) {
|
|
10791
10797
|
t15 = /* @__PURE__ */ jsx(WidgetSelectView, { initialProperty: values, value: t11, onValueChange: t12, open: selectOpen, onOpenChange: t13, disabled, showError: t14, existing, propertyConfigs, inArray });
|
|
10792
|
-
$[
|
|
10793
|
-
$[
|
|
10794
|
-
$[
|
|
10795
|
-
$[
|
|
10796
|
-
$[
|
|
10797
|
-
$[
|
|
10798
|
-
$[
|
|
10799
|
-
$[
|
|
10800
|
-
$[
|
|
10801
|
-
$[
|
|
10802
|
-
$[
|
|
10803
|
-
} else {
|
|
10804
|
-
t15 = $[
|
|
10798
|
+
$[103] = disabled;
|
|
10799
|
+
$[104] = existing;
|
|
10800
|
+
$[105] = inArray;
|
|
10801
|
+
$[106] = propertyConfigs;
|
|
10802
|
+
$[107] = selectOpen;
|
|
10803
|
+
$[108] = t11;
|
|
10804
|
+
$[109] = t12;
|
|
10805
|
+
$[110] = t13;
|
|
10806
|
+
$[111] = t14;
|
|
10807
|
+
$[112] = values;
|
|
10808
|
+
$[113] = t15;
|
|
10809
|
+
} else {
|
|
10810
|
+
t15 = $[113];
|
|
10805
10811
|
}
|
|
10806
10812
|
let t16;
|
|
10807
|
-
if ($[
|
|
10813
|
+
if ($[114] !== selectedWidgetError || $[115] !== t) {
|
|
10808
10814
|
t16 = selectedWidgetError && /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "ml-3.5", color: "error", children: t("required") });
|
|
10809
|
-
$[
|
|
10810
|
-
$[
|
|
10811
|
-
$[
|
|
10815
|
+
$[114] = selectedWidgetError;
|
|
10816
|
+
$[115] = t;
|
|
10817
|
+
$[116] = t16;
|
|
10812
10818
|
} else {
|
|
10813
|
-
t16 = $[
|
|
10819
|
+
t16 = $[116];
|
|
10814
10820
|
}
|
|
10815
10821
|
let t17;
|
|
10816
|
-
if ($[
|
|
10822
|
+
if ($[117] !== t15 || $[118] !== t16) {
|
|
10817
10823
|
t17 = /* @__PURE__ */ jsxs("div", { className: "w-full flex flex-col gap-2", children: [
|
|
10818
10824
|
t15,
|
|
10819
10825
|
t16
|
|
10820
10826
|
] });
|
|
10821
|
-
$[
|
|
10822
|
-
$[
|
|
10823
|
-
$[
|
|
10827
|
+
$[117] = t15;
|
|
10828
|
+
$[118] = t16;
|
|
10829
|
+
$[119] = t17;
|
|
10824
10830
|
} else {
|
|
10825
|
-
t17 = $[
|
|
10831
|
+
t17 = $[119];
|
|
10826
10832
|
}
|
|
10827
10833
|
let t18;
|
|
10828
|
-
if ($[
|
|
10834
|
+
if ($[120] !== disabled || $[121] !== existing || $[122] !== onDelete || $[123] !== values?.id) {
|
|
10829
10835
|
t18 = onDelete && existing && values?.id && /* @__PURE__ */ jsx(IconButton, { variant: "ghost", className: "m-4", disabled, onClick: () => setDeleteDialogOpen(true), children: /* @__PURE__ */ jsx(DeleteIcon, {}) });
|
|
10830
|
-
$[
|
|
10831
|
-
$[
|
|
10832
|
-
$[
|
|
10833
|
-
$[
|
|
10834
|
-
$[
|
|
10836
|
+
$[120] = disabled;
|
|
10837
|
+
$[121] = existing;
|
|
10838
|
+
$[122] = onDelete;
|
|
10839
|
+
$[123] = values?.id;
|
|
10840
|
+
$[124] = t18;
|
|
10835
10841
|
} else {
|
|
10836
|
-
t18 = $[
|
|
10842
|
+
t18 = $[124];
|
|
10837
10843
|
}
|
|
10838
10844
|
let t19;
|
|
10839
|
-
if ($[
|
|
10845
|
+
if ($[125] !== t17 || $[126] !== t18) {
|
|
10840
10846
|
t19 = /* @__PURE__ */ jsxs("div", { className: "flex mt-2 justify-between", children: [
|
|
10841
10847
|
t17,
|
|
10842
10848
|
t18
|
|
10843
10849
|
] });
|
|
10844
|
-
$[
|
|
10845
|
-
$[
|
|
10846
|
-
$[
|
|
10850
|
+
$[125] = t17;
|
|
10851
|
+
$[126] = t18;
|
|
10852
|
+
$[127] = t19;
|
|
10847
10853
|
} else {
|
|
10848
|
-
t19 = $[
|
|
10854
|
+
t19 = $[127];
|
|
10849
10855
|
}
|
|
10850
10856
|
let t20;
|
|
10851
|
-
if ($[
|
|
10857
|
+
if ($[128] !== autoUpdateId || $[129] !== disabled || $[130] !== existing || $[131] !== includeIdAndTitle || $[132] !== showErrors) {
|
|
10852
10858
|
t20 = includeIdAndTitle && /* @__PURE__ */ jsx(CommonPropertyFields, { showErrors, disabledId: existing, isNewProperty: !existing, disabled, autoUpdateId, ref: nameFieldRef });
|
|
10853
|
-
$[
|
|
10854
|
-
$[
|
|
10855
|
-
$[
|
|
10856
|
-
$[
|
|
10857
|
-
$[
|
|
10858
|
-
$[
|
|
10859
|
+
$[128] = autoUpdateId;
|
|
10860
|
+
$[129] = disabled;
|
|
10861
|
+
$[130] = existing;
|
|
10862
|
+
$[131] = includeIdAndTitle;
|
|
10863
|
+
$[132] = showErrors;
|
|
10864
|
+
$[133] = t20;
|
|
10859
10865
|
} else {
|
|
10860
|
-
t20 = $[
|
|
10866
|
+
t20 = $[133];
|
|
10861
10867
|
}
|
|
10862
10868
|
let t21;
|
|
10863
|
-
if ($[
|
|
10869
|
+
if ($[134] !== disabled) {
|
|
10864
10870
|
t21 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(AdvancedPropertyValidation, { disabled }) });
|
|
10865
|
-
$[
|
|
10866
|
-
$[
|
|
10871
|
+
$[134] = disabled;
|
|
10872
|
+
$[135] = t21;
|
|
10867
10873
|
} else {
|
|
10868
|
-
t21 = $[
|
|
10874
|
+
t21 = $[135];
|
|
10869
10875
|
}
|
|
10870
10876
|
let t22;
|
|
10871
|
-
if ($[
|
|
10877
|
+
if ($[136] !== collectionProperties || $[137] !== disabled) {
|
|
10872
10878
|
t22 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsxs(ConditionsPanel, { children: [
|
|
10873
10879
|
/* @__PURE__ */ jsx(ConditionsEditor, { disabled, collectionProperties }),
|
|
10874
10880
|
/* @__PURE__ */ jsx(EnumConditionsEditor, { disabled, collectionProperties })
|
|
10875
10881
|
] }) });
|
|
10876
|
-
$[
|
|
10877
|
-
$[
|
|
10878
|
-
$[
|
|
10882
|
+
$[136] = collectionProperties;
|
|
10883
|
+
$[137] = disabled;
|
|
10884
|
+
$[138] = t22;
|
|
10879
10885
|
} else {
|
|
10880
|
-
t22 = $[
|
|
10886
|
+
t22 = $[138];
|
|
10881
10887
|
}
|
|
10882
10888
|
let t23;
|
|
10883
|
-
if ($[
|
|
10889
|
+
if ($[139] !== childComponent || $[140] !== t20 || $[141] !== t21 || $[142] !== t22) {
|
|
10884
10890
|
t23 = /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-12 gap-y-12 mt-8 mb-8", children: [
|
|
10885
10891
|
t20,
|
|
10886
10892
|
childComponent,
|
|
10887
10893
|
t21,
|
|
10888
10894
|
t22
|
|
10889
10895
|
] });
|
|
10890
|
-
$[
|
|
10891
|
-
$[
|
|
10892
|
-
$[
|
|
10893
|
-
$[
|
|
10894
|
-
$[
|
|
10896
|
+
$[139] = childComponent;
|
|
10897
|
+
$[140] = t20;
|
|
10898
|
+
$[141] = t21;
|
|
10899
|
+
$[142] = t22;
|
|
10900
|
+
$[143] = t23;
|
|
10895
10901
|
} else {
|
|
10896
|
-
t23 = $[
|
|
10902
|
+
t23 = $[143];
|
|
10897
10903
|
}
|
|
10898
10904
|
let t24;
|
|
10899
|
-
if ($[
|
|
10905
|
+
if ($[144] !== deleteDialogOpen || $[145] !== onDelete || $[146] !== propertyNamespace || $[147] !== t || $[148] !== values?.id) {
|
|
10900
10906
|
t24 = onDelete && /* @__PURE__ */ jsx(ConfirmationDialog, { open: deleteDialogOpen, onAccept: () => onDelete(values?.id, propertyNamespace), onCancel: () => setDeleteDialogOpen(false), title: /* @__PURE__ */ jsx("div", { children: t("delete_this_property") }), body: /* @__PURE__ */ jsx("div", { children: t("delete_property_warning") }) });
|
|
10901
|
-
$[
|
|
10902
|
-
$[
|
|
10903
|
-
$[
|
|
10904
|
-
$[
|
|
10905
|
-
$[
|
|
10906
|
-
$[
|
|
10907
|
+
$[144] = deleteDialogOpen;
|
|
10908
|
+
$[145] = onDelete;
|
|
10909
|
+
$[146] = propertyNamespace;
|
|
10910
|
+
$[147] = t;
|
|
10911
|
+
$[148] = values?.id;
|
|
10912
|
+
$[149] = t24;
|
|
10907
10913
|
} else {
|
|
10908
|
-
t24 = $[
|
|
10914
|
+
t24 = $[149];
|
|
10909
10915
|
}
|
|
10910
10916
|
let t25;
|
|
10911
|
-
if ($[
|
|
10917
|
+
if ($[150] !== t10 || $[151] !== t19 || $[152] !== t23 || $[153] !== t24) {
|
|
10912
10918
|
t25 = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
10913
10919
|
t10,
|
|
10914
10920
|
t19,
|
|
10915
10921
|
t23,
|
|
10916
10922
|
t24
|
|
10917
10923
|
] });
|
|
10918
|
-
$[
|
|
10919
|
-
$[
|
|
10920
|
-
$[
|
|
10921
|
-
$[
|
|
10922
|
-
$[
|
|
10924
|
+
$[150] = t10;
|
|
10925
|
+
$[151] = t19;
|
|
10926
|
+
$[152] = t23;
|
|
10927
|
+
$[153] = t24;
|
|
10928
|
+
$[154] = t25;
|
|
10923
10929
|
} else {
|
|
10924
|
-
t25 = $[
|
|
10930
|
+
t25 = $[154];
|
|
10925
10931
|
}
|
|
10926
10932
|
return t25;
|
|
10927
10933
|
}
|
|
@@ -17646,9 +17652,9 @@ const collectionEditorTranslationsEn = {
|
|
|
17646
17652
|
storage_placeholder_path: "{path} - Path of this entity",
|
|
17647
17653
|
storage_placeholder_rand: "{rand} - Random value used to avoid name collisions",
|
|
17648
17654
|
include_bucket_url: "Include bucket URL (gs://...) in saved value",
|
|
17649
|
-
include_bucket_url_description: "Turn this setting on if you want to save a fully-qualified storage URL (e.g. gs://my-bucket/path/to/file) instead of just the storage path.
|
|
17655
|
+
include_bucket_url_description: "Turn this setting on if you want to save a fully-qualified storage URL (e.g. gs://my-bucket/path/to/file) instead of just the storage path. You can only change this prop upon creation.",
|
|
17650
17656
|
save_url_instead_of_path: "Save URL instead of storage path",
|
|
17651
|
-
save_url_description: "Turn this setting on, if you prefer to save the download URL of the uploaded file instead of the storage path.
|
|
17657
|
+
save_url_description: "Turn this setting on, if you prefer to save the download URL of the uploaded file instead of the storage path. You can only change this prop upon creation.",
|
|
17652
17658
|
max_size_bytes: "Max size (in bytes)",
|
|
17653
17659
|
image_resize_configuration: "Image Resize Configuration",
|
|
17654
17660
|
image_resize_description: "Automatically resize and optimize images before upload (JPEG, PNG, WebP only)",
|
|
@@ -17778,9 +17784,9 @@ const collectionEditorTranslationsEs = {
|
|
|
17778
17784
|
storage_placeholder_path: "{path} - Ruta de esta entidad",
|
|
17779
17785
|
storage_placeholder_rand: "{rand} - Valor aleatorio para evitar colisiones de nombres",
|
|
17780
17786
|
include_bucket_url: "Incluir URL del bucket (gs://...) en el valor guardado",
|
|
17781
|
-
include_bucket_url_description: "Activa esta opción si deseas guardar una URL de almacenamiento completa (ej. gs://mi-bucket/ruta/al/archivo) en lugar de solo la ruta de almacenamiento.
|
|
17787
|
+
include_bucket_url_description: "Activa esta opción si deseas guardar una URL de almacenamiento completa (ej. gs://mi-bucket/ruta/al/archivo) en lugar de solo la ruta de almacenamiento. Solo puedes cambiar esta opción al crear.",
|
|
17782
17788
|
save_url_instead_of_path: "Guardar URL en lugar de ruta de almacenamiento",
|
|
17783
|
-
save_url_description: "Activa esta opción si prefieres guardar la URL de descarga del archivo subido en lugar de la ruta de almacenamiento.
|
|
17789
|
+
save_url_description: "Activa esta opción si prefieres guardar la URL de descarga del archivo subido en lugar de la ruta de almacenamiento. Solo puedes cambiar esta opción al crear.",
|
|
17784
17790
|
max_size_bytes: "Tamaño máximo (en bytes)",
|
|
17785
17791
|
image_resize_configuration: "Configuración de redimensionamiento de imagen",
|
|
17786
17792
|
image_resize_description: "Redimensionar y optimizar imágenes automáticamente antes de subirlas (solo JPEG, PNG, WebP)",
|
|
@@ -17900,9 +17906,9 @@ const collectionEditorTranslationsDe = {
|
|
|
17900
17906
|
storage_placeholder_path: "{path} - Pfad dieser Entität",
|
|
17901
17907
|
storage_placeholder_rand: "{rand} - Zufallswert zur Vermeidung von Namenskollisionen",
|
|
17902
17908
|
include_bucket_url: "Bucket-URL (gs://...) im gespeicherten Wert einschließen",
|
|
17903
|
-
include_bucket_url_description: "Aktivieren Sie diese Einstellung, wenn Sie eine vollqualifizierte Speicher-URL (z. B. gs://mein-bucket/pfad/zur/datei) statt nur des Speicherpfads speichern möchten.
|
|
17909
|
+
include_bucket_url_description: "Aktivieren Sie diese Einstellung, wenn Sie eine vollqualifizierte Speicher-URL (z. B. gs://mein-bucket/pfad/zur/datei) statt nur des Speicherpfads speichern möchten. Diese Einstellung kann nur bei der Erstellung geändert werden.",
|
|
17904
17910
|
save_url_instead_of_path: "URL statt Speicherpfad speichern",
|
|
17905
|
-
save_url_description: "Aktivieren Sie diese Einstellung, wenn Sie bevorzugen, die Download-URL der hochgeladenen Datei statt des Speicherpfads zu speichern.
|
|
17911
|
+
save_url_description: "Aktivieren Sie diese Einstellung, wenn Sie bevorzugen, die Download-URL der hochgeladenen Datei statt des Speicherpfads zu speichern. Diese Einstellung kann nur bei der Erstellung geändert werden.",
|
|
17906
17912
|
max_size_bytes: "Maximale Größe (in Bytes)",
|
|
17907
17913
|
image_resize_configuration: "Bildgrößenanpassungs-Konfiguration",
|
|
17908
17914
|
image_resize_description: "Bilder vor dem Hochladen automatisch anpassen und optimieren (nur JPEG, PNG, WebP)",
|
|
@@ -18022,9 +18028,9 @@ const collectionEditorTranslationsFr = {
|
|
|
18022
18028
|
storage_placeholder_path: "{path} - Chemin de cette entité",
|
|
18023
18029
|
storage_placeholder_rand: "{rand} - Valeur aléatoire pour éviter les conflits de noms",
|
|
18024
18030
|
include_bucket_url: "Inclure l'URL du bucket (gs://...) dans la valeur enregistrée",
|
|
18025
|
-
include_bucket_url_description: "Activez ce paramètre si vous souhaitez enregistrer une URL de stockage complète (ex. gs://mon-bucket/chemin/vers/fichier) au lieu du simple chemin de stockage.
|
|
18031
|
+
include_bucket_url_description: "Activez ce paramètre si vous souhaitez enregistrer une URL de stockage complète (ex. gs://mon-bucket/chemin/vers/fichier) au lieu du simple chemin de stockage. Vous ne pouvez modifier ce paramètre qu'à la création.",
|
|
18026
18032
|
save_url_instead_of_path: "Enregistrer l'URL au lieu du chemin de stockage",
|
|
18027
|
-
save_url_description: "Activez ce paramètre si vous préférez enregistrer l'URL de téléchargement du fichier plutôt que le chemin de stockage.
|
|
18033
|
+
save_url_description: "Activez ce paramètre si vous préférez enregistrer l'URL de téléchargement du fichier plutôt que le chemin de stockage. Vous ne pouvez modifier ce paramètre qu'à la création.",
|
|
18028
18034
|
max_size_bytes: "Taille maximale (en octets)",
|
|
18029
18035
|
image_resize_configuration: "Configuration du redimensionnement d'image",
|
|
18030
18036
|
image_resize_description: "Redimensionner et optimiser automatiquement les images avant le téléchargement (JPEG, PNG, WebP uniquement)",
|
|
@@ -18144,9 +18150,9 @@ const collectionEditorTranslationsIt = {
|
|
|
18144
18150
|
storage_placeholder_path: "{path} - Percorso di questa entità",
|
|
18145
18151
|
storage_placeholder_rand: "{rand} - Valore casuale per evitare conflitti di nomi",
|
|
18146
18152
|
include_bucket_url: "Includi URL del bucket (gs://...) nel valore salvato",
|
|
18147
|
-
include_bucket_url_description: "Attiva questa impostazione se desideri salvare un URL di archiviazione completo (es. gs://mio-bucket/percorso/al/file) invece del solo percorso di archiviazione.
|
|
18153
|
+
include_bucket_url_description: "Attiva questa impostazione se desideri salvare un URL di archiviazione completo (es. gs://mio-bucket/percorso/al/file) invece del solo percorso di archiviazione. Puoi modificare questa impostazione solo alla creazione.",
|
|
18148
18154
|
save_url_instead_of_path: "Salva URL invece del percorso di archiviazione",
|
|
18149
|
-
save_url_description: "Attiva questa impostazione se preferisci salvare l'URL di download del file caricato invece del percorso di archiviazione.
|
|
18155
|
+
save_url_description: "Attiva questa impostazione se preferisci salvare l'URL di download del file caricato invece del percorso di archiviazione. Puoi modificare questa impostazione solo alla creazione.",
|
|
18150
18156
|
max_size_bytes: "Dimensione massima (in byte)",
|
|
18151
18157
|
image_resize_configuration: "Configurazione ridimensionamento immagine",
|
|
18152
18158
|
image_resize_description: "Ridimensiona e ottimizza automaticamente le immagini prima del caricamento (solo JPEG, PNG, WebP)",
|
|
@@ -18266,9 +18272,9 @@ const collectionEditorTranslationsHi = {
|
|
|
18266
18272
|
storage_placeholder_path: "{path} - इस इकाई का पथ",
|
|
18267
18273
|
storage_placeholder_rand: "{rand} - नाम टकराव से बचने के लिए यादृच्छिक मूल्य",
|
|
18268
18274
|
include_bucket_url: "सहेजे गए मान में बकेट URL (gs://...) शामिल करें",
|
|
18269
|
-
include_bucket_url_description: "यदि आप केवल स्टोरेज पथ के बजाय पूरी तरह से योग्य स्टोरेज URL (जैसे gs://my-bucket/path/to/file) सहेजना चाहते हैं तो इस सेटिंग को चालू करें। इसे
|
|
18275
|
+
include_bucket_url_description: "यदि आप केवल स्टोरेज पथ के बजाय पूरी तरह से योग्य स्टोरेज URL (जैसे gs://my-bucket/path/to/file) सहेजना चाहते हैं तो इस सेटिंग को चालू करें। आप इसे केवल निर्माण के समय बदल सकते हैं।",
|
|
18270
18276
|
save_url_instead_of_path: "स्टोरेज पथ के बजाय URL सहेजें",
|
|
18271
|
-
save_url_description: "यदि आप स्टोरेज पथ के बजाय अपलोड की गई फ़ाइल का डाउनलोड URL सहेजना पसंद करते हैं तो इस सेटिंग को चालू करें। इसे
|
|
18277
|
+
save_url_description: "यदि आप स्टोरेज पथ के बजाय अपलोड की गई फ़ाइल का डाउनलोड URL सहेजना पसंद करते हैं तो इस सेटिंग को चालू करें। आप इसे केवल निर्माण के समय बदल सकते हैं।",
|
|
18272
18278
|
max_size_bytes: "अधिकतम आकार (बाइट में)",
|
|
18273
18279
|
image_resize_configuration: "छवि आकार बदलने का कॉन्फ़िगरेशन",
|
|
18274
18280
|
image_resize_description: "अपलोड से पहले स्वचालित रूप से छवियों का आकार बदलें और अनुकूलित करें (केवल JPEG, PNG, WebP)",
|
|
@@ -18388,9 +18394,9 @@ const collectionEditorTranslationsPt = {
|
|
|
18388
18394
|
storage_placeholder_path: "{path} - Caminho desta entidade",
|
|
18389
18395
|
storage_placeholder_rand: "{rand} - Valor aleatório para evitar colisões de nomes",
|
|
18390
18396
|
include_bucket_url: "Incluir URL do bucket (gs://...) no valor salvo",
|
|
18391
|
-
include_bucket_url_description: "Ative esta configuração se deseja salvar uma URL de armazenamento completa (ex. gs://meu-bucket/caminho/para/arquivo) em vez de apenas o caminho de armazenamento.
|
|
18397
|
+
include_bucket_url_description: "Ative esta configuração se deseja salvar uma URL de armazenamento completa (ex. gs://meu-bucket/caminho/para/arquivo) em vez de apenas o caminho de armazenamento. Você só pode alterar esta configuração na criação.",
|
|
18392
18398
|
save_url_instead_of_path: "Salvar URL em vez do caminho de armazenamento",
|
|
18393
|
-
save_url_description: "Ative esta configuração se preferir salvar a URL de download do arquivo enviado em vez do caminho de armazenamento.
|
|
18399
|
+
save_url_description: "Ative esta configuração se preferir salvar a URL de download do arquivo enviado em vez do caminho de armazenamento. Você só pode alterar esta configuração na criação.",
|
|
18394
18400
|
max_size_bytes: "Tamanho máximo (em bytes)",
|
|
18395
18401
|
image_resize_configuration: "Configuração de redimensionamento de imagem",
|
|
18396
18402
|
image_resize_description: "Redimensionar e otimizar imagens automaticamente antes do upload (apenas JPEG, PNG, WebP)",
|