@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 CHANGED
@@ -2371,9 +2371,10 @@ function EnumPropertyField({
2371
2371
  ] });
2372
2372
  }
2373
2373
  function StoragePropertyField(t0) {
2374
- const $ = c(341);
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] !== fileName || $[9] !== fileNameValue || $[10] !== imageResizeFormat || $[11] !== imageResizeMaxHeight || $[12] !== imageResizeMaxWidth || $[13] !== imageResizeMode || $[14] !== imageResizeQuality || $[15] !== includeBucketUrl || $[16] !== maxSize || $[17] !== setFieldValue || $[18] !== storagePath || $[19] !== storagePathValue || $[20] !== storeUrl || $[21] !== t || $[22] !== values) {
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 ($[44] !== imageResizeMode || $[45] !== values) {
2446
+ if ($[45] !== imageResizeMode || $[46] !== values) {
2446
2447
  t222 = getIn(values, imageResizeMode) ?? "cover";
2447
- $[44] = imageResizeMode;
2448
- $[45] = values;
2449
- $[46] = t222;
2448
+ $[45] = imageResizeMode;
2449
+ $[46] = values;
2450
+ $[47] = t222;
2450
2451
  } else {
2451
- t222 = $[46];
2452
+ t222 = $[47];
2452
2453
  }
2453
2454
  const imageResizeModeValue = t222;
2454
2455
  let t232;
2455
- if ($[47] !== imageResizeFormat || $[48] !== values) {
2456
+ if ($[48] !== imageResizeFormat || $[49] !== values) {
2456
2457
  t232 = getIn(values, imageResizeFormat) ?? "original";
2457
- $[47] = imageResizeFormat;
2458
- $[48] = values;
2459
- $[49] = t232;
2458
+ $[48] = imageResizeFormat;
2459
+ $[49] = values;
2460
+ $[50] = t232;
2460
2461
  } else {
2461
- t232 = $[49];
2462
+ t232 = $[50];
2462
2463
  }
2463
2464
  const imageResizeFormatValue = t232;
2464
2465
  const imageResizeQualityValue = getIn(values, imageResizeQuality);
2465
2466
  let t242;
2466
- if ($[50] !== acceptedFiles || $[51] !== values) {
2467
+ if ($[51] !== acceptedFiles || $[52] !== values) {
2467
2468
  t242 = getIn(values, acceptedFiles);
2468
- $[50] = acceptedFiles;
2469
- $[51] = values;
2470
- $[52] = t242;
2469
+ $[51] = acceptedFiles;
2470
+ $[52] = values;
2471
+ $[53] = t242;
2471
2472
  } else {
2472
- t242 = $[52];
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 ($[53] !== acceptedFiles || $[54] !== allFileTypesSelected || $[55] !== disabled || $[56] !== fileNameValue || $[57] !== fileTypesValue || $[58] !== setFieldValue || $[59] !== storagePathValue || $[60] !== t) {
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 ($[78] !== acceptedFiles || $[79] !== setFieldValue) {
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
- $[78] = acceptedFiles;
2508
- $[79] = setFieldValue;
2509
- $[80] = t352;
2508
+ $[79] = acceptedFiles;
2509
+ $[80] = setFieldValue;
2510
+ $[81] = t352;
2510
2511
  } else {
2511
- t352 = $[80];
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 ($[81] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
2520
+ if ($[82] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
2520
2521
  t362 = /* @__PURE__ */ jsx(CloudUploadIcon, {});
2521
- $[81] = t362;
2522
+ $[82] = t362;
2522
2523
  } else {
2523
- t362 = $[81];
2524
+ t362 = $[82];
2524
2525
  }
2525
2526
  let t372;
2526
- if ($[82] !== t) {
2527
+ if ($[83] !== t) {
2527
2528
  t372 = t("file_upload_config");
2528
- $[82] = t;
2529
- $[83] = t372;
2529
+ $[83] = t;
2530
+ $[84] = t372;
2530
2531
  } else {
2531
- t372 = $[83];
2532
+ t372 = $[84];
2532
2533
  }
2533
- if ($[84] !== t372) {
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
- $[84] = t372;
2539
- $[85] = t20;
2539
+ $[85] = t372;
2540
+ $[86] = t20;
2540
2541
  } else {
2541
- t20 = $[85];
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 ($[86] !== t) {
2548
+ if ($[87] !== t) {
2548
2549
  t262 = t("all_file_types_allowed");
2549
- $[86] = t;
2550
- $[87] = t262;
2550
+ $[87] = t;
2551
+ $[88] = t262;
2551
2552
  } else {
2552
- t262 = $[87];
2553
+ t262 = $[88];
2553
2554
  }
2554
2555
  t272 = disabled;
2555
2556
  t282 = acceptedFiles;
2556
- if ($[88] !== fileTypesValue) {
2557
+ if ($[89] !== fileTypesValue) {
2557
2558
  t292 = fileTypesValue ?? [];
2558
- $[88] = fileTypesValue;
2559
- $[89] = t292;
2559
+ $[89] = fileTypesValue;
2560
+ $[90] = t292;
2560
2561
  } else {
2561
- t292 = $[89];
2562
+ t292 = $[90];
2562
2563
  }
2563
2564
  t302 = handleTypesChange;
2564
- if ($[90] !== allFileTypesSelected || $[91] !== t) {
2565
+ if ($[91] !== allFileTypesSelected || $[92] !== t) {
2565
2566
  t312 = allFileTypesSelected ? void 0 : t("allowed_file_types");
2566
- $[90] = allFileTypesSelected;
2567
- $[91] = t;
2568
- $[92] = t312;
2567
+ $[91] = allFileTypesSelected;
2568
+ $[92] = t;
2569
+ $[93] = t312;
2569
2570
  } else {
2570
- t312 = $[92];
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 ($[93] !== acceptedFiles || $[94] !== setFieldValue || $[95] !== t) {
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
- $[93] = acceptedFiles;
2592
- $[94] = setFieldValue;
2593
- $[95] = t;
2594
- $[96] = t382;
2592
+ $[94] = acceptedFiles;
2593
+ $[95] = setFieldValue;
2594
+ $[96] = t;
2595
+ $[97] = t382;
2595
2596
  } else {
2596
- t382 = $[96];
2597
+ t382 = $[97];
2597
2598
  }
2598
2599
  t332 = Object.entries(fileTypes).map(t382);
2599
- $[53] = acceptedFiles;
2600
- $[54] = allFileTypesSelected;
2601
- $[55] = disabled;
2602
- $[56] = fileNameValue;
2603
- $[57] = fileTypesValue;
2604
- $[58] = setFieldValue;
2605
- $[59] = storagePathValue;
2606
- $[60] = t;
2607
- $[61] = T1;
2608
- $[62] = T2;
2609
- $[63] = hasFilenameCallback;
2610
- $[64] = hasStoragePathCallback;
2611
- $[65] = t10;
2612
- $[66] = t20;
2613
- $[67] = t21;
2614
- $[68] = t252;
2615
- $[69] = t262;
2616
- $[70] = t272;
2617
- $[71] = t282;
2618
- $[72] = t292;
2619
- $[73] = t302;
2620
- $[74] = t312;
2621
- $[75] = t322;
2622
- $[76] = t332;
2623
- $[77] = t34;
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 = $[61];
2626
- T2 = $[62];
2627
- hasFilenameCallback = $[63];
2628
- hasStoragePathCallback = $[64];
2629
- t10 = $[65];
2630
- t20 = $[66];
2631
- t21 = $[67];
2632
- t252 = $[68];
2633
- t262 = $[69];
2634
- t272 = $[70];
2635
- t282 = $[71];
2636
- t292 = $[72];
2637
- t302 = $[73];
2638
- t312 = $[74];
2639
- t322 = $[75];
2640
- t332 = $[76];
2641
- t34 = $[77];
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 ($[97] !== T2 || $[98] !== t252 || $[99] !== t262 || $[100] !== t272 || $[101] !== t282 || $[102] !== t292 || $[103] !== t302 || $[104] !== t312 || $[105] !== t322 || $[106] !== t332) {
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
- $[97] = T2;
2647
- $[98] = t252;
2648
- $[99] = t262;
2649
- $[100] = t272;
2650
- $[101] = t282;
2651
- $[102] = t292;
2652
- $[103] = t302;
2653
- $[104] = t312;
2654
- $[105] = t322;
2655
- $[106] = t332;
2656
- $[107] = t35;
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 = $[107];
2659
+ t35 = $[108];
2659
2660
  }
2660
- if ($[108] !== t34 || $[109] !== t35) {
2661
+ if ($[109] !== t34 || $[110] !== t35) {
2661
2662
  t11 = /* @__PURE__ */ jsx("div", { className: t34, children: t35 });
2662
- $[108] = t34;
2663
- $[109] = t35;
2664
- $[110] = t11;
2663
+ $[109] = t34;
2664
+ $[110] = t35;
2665
+ $[111] = t11;
2665
2666
  } else {
2666
- t11 = $[110];
2667
+ t11 = $[111];
2667
2668
  }
2668
2669
  let t36;
2669
- if ($[111] !== t) {
2670
+ if ($[112] !== t) {
2670
2671
  t36 = t("file_name_label");
2671
- $[111] = t;
2672
- $[112] = t36;
2672
+ $[112] = t;
2673
+ $[113] = t36;
2673
2674
  } else {
2674
- t36 = $[112];
2675
+ t36 = $[113];
2675
2676
  }
2676
2677
  const t37 = hasFilenameCallback || disabled;
2677
2678
  const t38 = hasFilenameCallback ? "-" : fileNameValue;
2678
- if ($[113] !== fileName || $[114] !== t36 || $[115] !== t37 || $[116] !== t38) {
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
- $[113] = fileName;
2681
- $[114] = t36;
2682
- $[115] = t37;
2683
- $[116] = t38;
2684
- $[117] = t12;
2681
+ $[114] = fileName;
2682
+ $[115] = t36;
2683
+ $[116] = t37;
2684
+ $[117] = t38;
2685
+ $[118] = t12;
2685
2686
  } else {
2686
- t12 = $[117];
2687
+ t12 = $[118];
2687
2688
  }
2688
2689
  let t39;
2689
- if ($[118] !== t) {
2690
+ if ($[119] !== t) {
2690
2691
  t39 = t("storage_path_label");
2691
- $[118] = t;
2692
- $[119] = t39;
2692
+ $[119] = t;
2693
+ $[120] = t39;
2693
2694
  } else {
2694
- t39 = $[119];
2695
+ t39 = $[120];
2695
2696
  }
2696
2697
  const t40 = hasStoragePathCallback || disabled;
2697
2698
  const t41 = hasStoragePathCallback ? "-" : storagePathValue;
2698
2699
  let t42;
2699
- if ($[120] !== storagePath || $[121] !== t39 || $[122] !== t40 || $[123] !== t41) {
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
- $[120] = storagePath;
2702
- $[121] = t39;
2703
- $[122] = t40;
2704
- $[123] = t41;
2705
- $[124] = t42;
2702
+ $[121] = storagePath;
2703
+ $[122] = t39;
2704
+ $[123] = t40;
2705
+ $[124] = t41;
2706
+ $[125] = t42;
2706
2707
  } else {
2707
- t42 = $[124];
2708
+ t42 = $[125];
2708
2709
  }
2709
2710
  let t43;
2710
- if ($[125] !== t) {
2711
+ if ($[126] !== t) {
2711
2712
  t43 = t("storage_placeholders_description");
2712
- $[125] = t;
2713
- $[126] = t43;
2713
+ $[126] = t;
2714
+ $[127] = t43;
2714
2715
  } else {
2715
- t43 = $[126];
2716
+ t43 = $[127];
2716
2717
  }
2717
2718
  let t44;
2718
- if ($[127] !== t43) {
2719
+ if ($[128] !== t43) {
2719
2720
  t44 = /* @__PURE__ */ jsx("p", { children: t43 });
2720
- $[127] = t43;
2721
- $[128] = t44;
2721
+ $[128] = t43;
2722
+ $[129] = t44;
2722
2723
  } else {
2723
- t44 = $[128];
2724
+ t44 = $[129];
2724
2725
  }
2725
2726
  let t45;
2726
- if ($[129] !== t) {
2727
+ if ($[130] !== t) {
2727
2728
  t45 = t("storage_placeholder_file");
2728
- $[129] = t;
2729
- $[130] = t45;
2729
+ $[130] = t;
2730
+ $[131] = t45;
2730
2731
  } else {
2731
- t45 = $[130];
2732
+ t45 = $[131];
2732
2733
  }
2733
2734
  let t46;
2734
- if ($[131] !== t45) {
2735
+ if ($[132] !== t45) {
2735
2736
  t46 = /* @__PURE__ */ jsx("li", { children: t45 });
2736
- $[131] = t45;
2737
- $[132] = t46;
2737
+ $[132] = t45;
2738
+ $[133] = t46;
2738
2739
  } else {
2739
- t46 = $[132];
2740
+ t46 = $[133];
2740
2741
  }
2741
2742
  let t47;
2742
- if ($[133] !== t) {
2743
+ if ($[134] !== t) {
2743
2744
  t47 = t("storage_placeholder_file_name");
2744
- $[133] = t;
2745
- $[134] = t47;
2745
+ $[134] = t;
2746
+ $[135] = t47;
2746
2747
  } else {
2747
- t47 = $[134];
2748
+ t47 = $[135];
2748
2749
  }
2749
2750
  let t48;
2750
- if ($[135] !== t47) {
2751
+ if ($[136] !== t47) {
2751
2752
  t48 = /* @__PURE__ */ jsx("li", { children: t47 });
2752
- $[135] = t47;
2753
- $[136] = t48;
2753
+ $[136] = t47;
2754
+ $[137] = t48;
2754
2755
  } else {
2755
- t48 = $[136];
2756
+ t48 = $[137];
2756
2757
  }
2757
2758
  let t49;
2758
- if ($[137] !== t) {
2759
+ if ($[138] !== t) {
2759
2760
  t49 = t("storage_placeholder_file_ext");
2760
- $[137] = t;
2761
- $[138] = t49;
2761
+ $[138] = t;
2762
+ $[139] = t49;
2762
2763
  } else {
2763
- t49 = $[138];
2764
+ t49 = $[139];
2764
2765
  }
2765
2766
  let t50;
2766
- if ($[139] !== t49) {
2767
+ if ($[140] !== t49) {
2767
2768
  t50 = /* @__PURE__ */ jsx("li", { children: t49 });
2768
- $[139] = t49;
2769
- $[140] = t50;
2769
+ $[140] = t49;
2770
+ $[141] = t50;
2770
2771
  } else {
2771
- t50 = $[140];
2772
+ t50 = $[141];
2772
2773
  }
2773
2774
  let t51;
2774
- if ($[141] !== t) {
2775
+ if ($[142] !== t) {
2775
2776
  t51 = t("storage_placeholder_entity_id");
2776
- $[141] = t;
2777
- $[142] = t51;
2777
+ $[142] = t;
2778
+ $[143] = t51;
2778
2779
  } else {
2779
- t51 = $[142];
2780
+ t51 = $[143];
2780
2781
  }
2781
2782
  let t52;
2782
- if ($[143] !== t51) {
2783
+ if ($[144] !== t51) {
2783
2784
  t52 = /* @__PURE__ */ jsx("li", { children: t51 });
2784
- $[143] = t51;
2785
- $[144] = t52;
2785
+ $[144] = t51;
2786
+ $[145] = t52;
2786
2787
  } else {
2787
- t52 = $[144];
2788
+ t52 = $[145];
2788
2789
  }
2789
2790
  let t53;
2790
- if ($[145] !== t) {
2791
+ if ($[146] !== t) {
2791
2792
  t53 = t("storage_placeholder_property_key");
2792
- $[145] = t;
2793
- $[146] = t53;
2793
+ $[146] = t;
2794
+ $[147] = t53;
2794
2795
  } else {
2795
- t53 = $[146];
2796
+ t53 = $[147];
2796
2797
  }
2797
2798
  let t54;
2798
- if ($[147] !== t53) {
2799
+ if ($[148] !== t53) {
2799
2800
  t54 = /* @__PURE__ */ jsx("li", { children: t53 });
2800
- $[147] = t53;
2801
- $[148] = t54;
2801
+ $[148] = t53;
2802
+ $[149] = t54;
2802
2803
  } else {
2803
- t54 = $[148];
2804
+ t54 = $[149];
2804
2805
  }
2805
2806
  let t55;
2806
- if ($[149] !== t) {
2807
+ if ($[150] !== t) {
2807
2808
  t55 = t("storage_placeholder_path");
2808
- $[149] = t;
2809
- $[150] = t55;
2809
+ $[150] = t;
2810
+ $[151] = t55;
2810
2811
  } else {
2811
- t55 = $[150];
2812
+ t55 = $[151];
2812
2813
  }
2813
2814
  let t56;
2814
- if ($[151] !== t55) {
2815
+ if ($[152] !== t55) {
2815
2816
  t56 = /* @__PURE__ */ jsx("li", { children: t55 });
2816
- $[151] = t55;
2817
- $[152] = t56;
2817
+ $[152] = t55;
2818
+ $[153] = t56;
2818
2819
  } else {
2819
- t56 = $[152];
2820
+ t56 = $[153];
2820
2821
  }
2821
2822
  let t57;
2822
- if ($[153] !== t) {
2823
+ if ($[154] !== t) {
2823
2824
  t57 = t("storage_placeholder_rand");
2824
- $[153] = t;
2825
- $[154] = t57;
2825
+ $[154] = t;
2826
+ $[155] = t57;
2826
2827
  } else {
2827
- t57 = $[154];
2828
+ t57 = $[155];
2828
2829
  }
2829
2830
  let t58;
2830
- if ($[155] !== t57) {
2831
+ if ($[156] !== t57) {
2831
2832
  t58 = /* @__PURE__ */ jsx("li", { children: t57 });
2832
- $[155] = t57;
2833
- $[156] = t58;
2833
+ $[156] = t57;
2834
+ $[157] = t58;
2834
2835
  } else {
2835
- t58 = $[156];
2836
+ t58 = $[157];
2836
2837
  }
2837
2838
  let t59;
2838
- if ($[157] !== t46 || $[158] !== t48 || $[159] !== t50 || $[160] !== t52 || $[161] !== t54 || $[162] !== t56 || $[163] !== t58) {
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
- $[157] = t46;
2849
- $[158] = t48;
2850
- $[159] = t50;
2851
- $[160] = t52;
2852
- $[161] = t54;
2853
- $[162] = t56;
2854
- $[163] = t58;
2855
- $[164] = t59;
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 = $[164];
2858
+ t59 = $[165];
2858
2859
  }
2859
2860
  let t60;
2860
- if ($[165] !== t44 || $[166] !== t59) {
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
- $[165] = t44;
2866
- $[166] = t59;
2867
- $[167] = t60;
2866
+ $[166] = t44;
2867
+ $[167] = t59;
2868
+ $[168] = t60;
2868
2869
  } else {
2869
- t60 = $[167];
2870
+ t60 = $[168];
2870
2871
  }
2871
2872
  let t61;
2872
- if ($[168] !== disabled || $[169] !== t) {
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
- $[168] = disabled;
2881
- $[169] = t;
2882
- $[170] = t61;
2881
+ $[169] = disabled;
2882
+ $[170] = existing;
2883
+ $[171] = t;
2884
+ $[172] = t61;
2883
2885
  } else {
2884
- t61 = $[170];
2886
+ t61 = $[172];
2885
2887
  }
2886
2888
  let t62;
2887
- if ($[171] !== includeBucketUrl || $[172] !== t61) {
2889
+ if ($[173] !== includeBucketUrl || $[174] !== t61) {
2888
2890
  t62 = /* @__PURE__ */ jsx(Field, { name: includeBucketUrl, type: "checkbox", children: t61 });
2889
- $[171] = includeBucketUrl;
2890
- $[172] = t61;
2891
- $[173] = t62;
2891
+ $[173] = includeBucketUrl;
2892
+ $[174] = t61;
2893
+ $[175] = t62;
2892
2894
  } else {
2893
- t62 = $[173];
2895
+ t62 = $[175];
2894
2896
  }
2895
2897
  let t63;
2896
- if ($[174] !== t) {
2898
+ if ($[176] !== t) {
2897
2899
  t63 = t("include_bucket_url_description");
2898
- $[174] = t;
2899
- $[175] = t63;
2900
+ $[176] = t;
2901
+ $[177] = t63;
2900
2902
  } else {
2901
- t63 = $[175];
2903
+ t63 = $[177];
2902
2904
  }
2903
2905
  let t64;
2904
- if ($[176] !== t63) {
2906
+ if ($[178] !== t63) {
2905
2907
  t64 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "ml-3.5 mt-1 mb-2", children: t63 });
2906
- $[176] = t63;
2907
- $[177] = t64;
2908
+ $[178] = t63;
2909
+ $[179] = t64;
2908
2910
  } else {
2909
- t64 = $[177];
2911
+ t64 = $[179];
2910
2912
  }
2911
2913
  let t65;
2912
- if ($[178] !== disabled || $[179] !== t) {
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
- $[178] = disabled;
2921
- $[179] = t;
2922
- $[180] = t65;
2922
+ $[180] = disabled;
2923
+ $[181] = existing;
2924
+ $[182] = t;
2925
+ $[183] = t65;
2923
2926
  } else {
2924
- t65 = $[180];
2927
+ t65 = $[183];
2925
2928
  }
2926
2929
  let t66;
2927
- if ($[181] !== storeUrl || $[182] !== t65) {
2930
+ if ($[184] !== storeUrl || $[185] !== t65) {
2928
2931
  t66 = /* @__PURE__ */ jsx(Field, { name: storeUrl, type: "checkbox", children: t65 });
2929
- $[181] = storeUrl;
2930
- $[182] = t65;
2931
- $[183] = t66;
2932
+ $[184] = storeUrl;
2933
+ $[185] = t65;
2934
+ $[186] = t66;
2932
2935
  } else {
2933
- t66 = $[183];
2936
+ t66 = $[186];
2934
2937
  }
2935
2938
  let t67;
2936
- if ($[184] !== t) {
2939
+ if ($[187] !== t) {
2937
2940
  t67 = t("save_url_description");
2938
- $[184] = t;
2939
- $[185] = t67;
2941
+ $[187] = t;
2942
+ $[188] = t67;
2940
2943
  } else {
2941
- t67 = $[185];
2944
+ t67 = $[188];
2942
2945
  }
2943
2946
  let t68;
2944
- if ($[186] !== t67) {
2947
+ if ($[189] !== t67) {
2945
2948
  t68 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "ml-3.5 mt-1 mb-2", children: t67 });
2946
- $[186] = t67;
2947
- $[187] = t68;
2949
+ $[189] = t67;
2950
+ $[190] = t68;
2948
2951
  } else {
2949
- t68 = $[187];
2952
+ t68 = $[190];
2950
2953
  }
2951
- if ($[188] !== t42 || $[189] !== t60 || $[190] !== t62 || $[191] !== t64 || $[192] !== t66 || $[193] !== t68) {
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
- $[188] = t42;
2961
- $[189] = t60;
2962
- $[190] = t62;
2963
- $[191] = t64;
2964
- $[192] = t66;
2965
- $[193] = t68;
2966
- $[194] = t13;
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 = $[194];
2971
+ t13 = $[197];
2969
2972
  }
2970
2973
  let t69;
2971
- if ($[195] !== t) {
2974
+ if ($[198] !== t) {
2972
2975
  t69 = t("max_size_bytes");
2973
- $[195] = t;
2974
- $[196] = t69;
2976
+ $[198] = t;
2977
+ $[199] = t69;
2975
2978
  } else {
2976
- t69 = $[196];
2979
+ t69 = $[199];
2977
2980
  }
2978
2981
  const t70 = maxSizeValue !== void 0 && maxSizeValue !== null ? maxSizeValue.toString() : "";
2979
2982
  let t71;
2980
- if ($[197] !== maxSize || $[198] !== setFieldValue) {
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
- $[197] = maxSize;
2990
- $[198] = setFieldValue;
2991
- $[199] = t71;
2992
+ $[200] = maxSize;
2993
+ $[201] = setFieldValue;
2994
+ $[202] = t71;
2992
2995
  } else {
2993
- t71 = $[199];
2996
+ t71 = $[202];
2994
2997
  }
2995
- if ($[200] !== maxSize || $[201] !== t69 || $[202] !== t70 || $[203] !== t71) {
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
- $[200] = maxSize;
2998
- $[201] = t69;
2999
- $[202] = t70;
3000
- $[203] = t71;
3001
- $[204] = t14;
3000
+ $[203] = maxSize;
3001
+ $[204] = t69;
3002
+ $[205] = t70;
3003
+ $[206] = t71;
3004
+ $[207] = t14;
3002
3005
  } else {
3003
- t14 = $[204];
3006
+ t14 = $[207];
3004
3007
  }
3005
3008
  let t72;
3006
- if ($[205] !== t) {
3009
+ if ($[208] !== t) {
3007
3010
  t72 = t("image_resize_configuration");
3008
- $[205] = t;
3009
- $[206] = t72;
3011
+ $[208] = t;
3012
+ $[209] = t72;
3010
3013
  } else {
3011
- t72 = $[206];
3014
+ t72 = $[209];
3012
3015
  }
3013
3016
  let t73;
3014
- if ($[207] !== t72) {
3017
+ if ($[210] !== t72) {
3015
3018
  t73 = /* @__PURE__ */ jsx(Typography, { variant: "subtitle2", color: "secondary", className: "mb-2 block", children: t72 });
3016
- $[207] = t72;
3017
- $[208] = t73;
3019
+ $[210] = t72;
3020
+ $[211] = t73;
3018
3021
  } else {
3019
- t73 = $[208];
3022
+ t73 = $[211];
3020
3023
  }
3021
3024
  let t74;
3022
- if ($[209] !== t) {
3025
+ if ($[212] !== t) {
3023
3026
  t74 = t("image_resize_description");
3024
- $[209] = t;
3025
- $[210] = t74;
3027
+ $[212] = t;
3028
+ $[213] = t74;
3026
3029
  } else {
3027
- t74 = $[210];
3030
+ t74 = $[213];
3028
3031
  }
3029
3032
  let t75;
3030
- if ($[211] !== t74) {
3033
+ if ($[214] !== t74) {
3031
3034
  t75 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "mb-2 block text-xs", children: t74 });
3032
- $[211] = t74;
3033
- $[212] = t75;
3035
+ $[214] = t74;
3036
+ $[215] = t75;
3034
3037
  } else {
3035
- t75 = $[212];
3038
+ t75 = $[215];
3036
3039
  }
3037
- if ($[213] !== t73 || $[214] !== t75) {
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
- $[213] = t73;
3043
- $[214] = t75;
3044
- $[215] = t15;
3045
+ $[216] = t73;
3046
+ $[217] = t75;
3047
+ $[218] = t15;
3045
3048
  } else {
3046
- t15 = $[215];
3049
+ t15 = $[218];
3047
3050
  }
3048
3051
  let t76;
3049
- if ($[216] !== t) {
3052
+ if ($[219] !== t) {
3050
3053
  t76 = t("max_width_px");
3051
- $[216] = t;
3052
- $[217] = t76;
3054
+ $[219] = t;
3055
+ $[220] = t76;
3053
3056
  } else {
3054
- t76 = $[217];
3057
+ t76 = $[220];
3055
3058
  }
3056
3059
  const t77 = imageResizeMaxWidthValue !== void 0 && imageResizeMaxWidthValue !== null ? imageResizeMaxWidthValue.toString() : "";
3057
3060
  let t78;
3058
- if ($[218] !== imageResizeMaxWidth || $[219] !== setFieldValue) {
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
- $[218] = imageResizeMaxWidth;
3068
- $[219] = setFieldValue;
3069
- $[220] = t78;
3070
+ $[221] = imageResizeMaxWidth;
3071
+ $[222] = setFieldValue;
3072
+ $[223] = t78;
3070
3073
  } else {
3071
- t78 = $[220];
3074
+ t78 = $[223];
3072
3075
  }
3073
- if ($[221] !== disabled || $[222] !== imageResizeMaxWidth || $[223] !== t76 || $[224] !== t77 || $[225] !== t78) {
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
- $[221] = disabled;
3076
- $[222] = imageResizeMaxWidth;
3077
- $[223] = t76;
3078
- $[224] = t77;
3079
- $[225] = t78;
3080
- $[226] = t16;
3078
+ $[224] = disabled;
3079
+ $[225] = imageResizeMaxWidth;
3080
+ $[226] = t76;
3081
+ $[227] = t77;
3082
+ $[228] = t78;
3083
+ $[229] = t16;
3081
3084
  } else {
3082
- t16 = $[226];
3085
+ t16 = $[229];
3083
3086
  }
3084
3087
  let t79;
3085
- if ($[227] !== t) {
3088
+ if ($[230] !== t) {
3086
3089
  t79 = t("max_height_px");
3087
- $[227] = t;
3088
- $[228] = t79;
3090
+ $[230] = t;
3091
+ $[231] = t79;
3089
3092
  } else {
3090
- t79 = $[228];
3093
+ t79 = $[231];
3091
3094
  }
3092
3095
  const t80 = imageResizeMaxHeightValue !== void 0 && imageResizeMaxHeightValue !== null ? imageResizeMaxHeightValue.toString() : "";
3093
3096
  let t81;
3094
- if ($[229] !== imageResizeMaxHeight || $[230] !== setFieldValue) {
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
- $[229] = imageResizeMaxHeight;
3104
- $[230] = setFieldValue;
3105
- $[231] = t81;
3106
+ $[232] = imageResizeMaxHeight;
3107
+ $[233] = setFieldValue;
3108
+ $[234] = t81;
3106
3109
  } else {
3107
- t81 = $[231];
3110
+ t81 = $[234];
3108
3111
  }
3109
- if ($[232] !== disabled || $[233] !== imageResizeMaxHeight || $[234] !== t79 || $[235] !== t80 || $[236] !== t81) {
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
- $[232] = disabled;
3112
- $[233] = imageResizeMaxHeight;
3113
- $[234] = t79;
3114
- $[235] = t80;
3115
- $[236] = t81;
3116
- $[237] = t17;
3114
+ $[235] = disabled;
3115
+ $[236] = imageResizeMaxHeight;
3116
+ $[237] = t79;
3117
+ $[238] = t80;
3118
+ $[239] = t81;
3119
+ $[240] = t17;
3117
3120
  } else {
3118
- t17 = $[237];
3121
+ t17 = $[240];
3119
3122
  }
3120
3123
  const t82 = imageResizeModeValue || "cover";
3121
3124
  let t83;
3122
- if ($[238] !== imageResizeMode || $[239] !== setFieldValue) {
3125
+ if ($[241] !== imageResizeMode || $[242] !== setFieldValue) {
3123
3126
  t83 = (value_4) => setFieldValue(imageResizeMode, value_4 || "cover");
3124
- $[238] = imageResizeMode;
3125
- $[239] = setFieldValue;
3126
- $[240] = t83;
3127
+ $[241] = imageResizeMode;
3128
+ $[242] = setFieldValue;
3129
+ $[243] = t83;
3127
3130
  } else {
3128
- t83 = $[240];
3131
+ t83 = $[243];
3129
3132
  }
3130
3133
  let t84;
3131
- if ($[241] !== t) {
3134
+ if ($[244] !== t) {
3132
3135
  t84 = t("resize_mode");
3133
- $[241] = t;
3134
- $[242] = t84;
3136
+ $[244] = t;
3137
+ $[245] = t84;
3135
3138
  } else {
3136
- t84 = $[242];
3139
+ t84 = $[245];
3137
3140
  }
3138
3141
  let t85;
3139
- if ($[243] !== t) {
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
- $[243] = t;
3147
- $[244] = t85;
3149
+ $[246] = t;
3150
+ $[247] = t85;
3148
3151
  } else {
3149
- t85 = $[244];
3152
+ t85 = $[247];
3150
3153
  }
3151
3154
  let t86;
3152
- if ($[245] !== t) {
3155
+ if ($[248] !== t) {
3153
3156
  t86 = t("resize_contain_description");
3154
- $[245] = t;
3155
- $[246] = t86;
3157
+ $[248] = t;
3158
+ $[249] = t86;
3156
3159
  } else {
3157
- t86 = $[246];
3160
+ t86 = $[249];
3158
3161
  }
3159
3162
  let t87;
3160
- if ($[247] !== t86) {
3163
+ if ($[250] !== t86) {
3161
3164
  t87 = /* @__PURE__ */ jsx(SelectItem, { value: "contain", children: t86 });
3162
- $[247] = t86;
3163
- $[248] = t87;
3165
+ $[250] = t86;
3166
+ $[251] = t87;
3164
3167
  } else {
3165
- t87 = $[248];
3168
+ t87 = $[251];
3166
3169
  }
3167
3170
  let t88;
3168
- if ($[249] !== t) {
3171
+ if ($[252] !== t) {
3169
3172
  t88 = t("resize_cover_description");
3170
- $[249] = t;
3171
- $[250] = t88;
3173
+ $[252] = t;
3174
+ $[253] = t88;
3172
3175
  } else {
3173
- t88 = $[250];
3176
+ t88 = $[253];
3174
3177
  }
3175
3178
  let t89;
3176
- if ($[251] !== t88) {
3179
+ if ($[254] !== t88) {
3177
3180
  t89 = /* @__PURE__ */ jsx(SelectItem, { value: "cover", children: t88 });
3178
- $[251] = t88;
3179
- $[252] = t89;
3181
+ $[254] = t88;
3182
+ $[255] = t89;
3180
3183
  } else {
3181
- t89 = $[252];
3184
+ t89 = $[255];
3182
3185
  }
3183
- if ($[253] !== disabled || $[254] !== imageResizeMode || $[255] !== t82 || $[256] !== t83 || $[257] !== t84 || $[258] !== t85 || $[259] !== t87 || $[260] !== t89) {
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
- $[253] = disabled;
3189
- $[254] = imageResizeMode;
3190
- $[255] = t82;
3191
- $[256] = t83;
3192
- $[257] = t84;
3193
- $[258] = t85;
3194
- $[259] = t87;
3195
- $[260] = t89;
3196
- $[261] = t18;
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 = $[261];
3201
+ t18 = $[264];
3199
3202
  }
3200
3203
  const t90 = imageResizeFormatValue || "original";
3201
3204
  let t91;
3202
- if ($[262] !== imageResizeFormat || $[263] !== setFieldValue) {
3205
+ if ($[265] !== imageResizeFormat || $[266] !== setFieldValue) {
3203
3206
  t91 = (value_5) => setFieldValue(imageResizeFormat, value_5 || "original");
3204
- $[262] = imageResizeFormat;
3205
- $[263] = setFieldValue;
3206
- $[264] = t91;
3207
+ $[265] = imageResizeFormat;
3208
+ $[266] = setFieldValue;
3209
+ $[267] = t91;
3207
3210
  } else {
3208
- t91 = $[264];
3211
+ t91 = $[267];
3209
3212
  }
3210
3213
  let t92;
3211
- if ($[265] !== t) {
3214
+ if ($[268] !== t) {
3212
3215
  t92 = t("output_format");
3213
- $[265] = t;
3214
- $[266] = t92;
3216
+ $[268] = t;
3217
+ $[269] = t92;
3215
3218
  } else {
3216
- t92 = $[266];
3219
+ t92 = $[269];
3217
3220
  }
3218
3221
  let t93;
3219
- if ($[267] !== t) {
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
- $[267] = t;
3227
- $[268] = t93;
3229
+ $[270] = t;
3230
+ $[271] = t93;
3228
3231
  } else {
3229
- t93 = $[268];
3232
+ t93 = $[271];
3230
3233
  }
3231
3234
  let t94;
3232
- if ($[269] !== t) {
3235
+ if ($[272] !== t) {
3233
3236
  t94 = t("format_original_description");
3234
- $[269] = t;
3235
- $[270] = t94;
3237
+ $[272] = t;
3238
+ $[273] = t94;
3236
3239
  } else {
3237
- t94 = $[270];
3240
+ t94 = $[273];
3238
3241
  }
3239
3242
  let t95;
3240
- if ($[271] !== t94) {
3243
+ if ($[274] !== t94) {
3241
3244
  t95 = /* @__PURE__ */ jsx(SelectItem, { value: "original", children: t94 });
3242
- $[271] = t94;
3243
- $[272] = t95;
3245
+ $[274] = t94;
3246
+ $[275] = t95;
3244
3247
  } else {
3245
- t95 = $[272];
3248
+ t95 = $[275];
3246
3249
  }
3247
3250
  let t96;
3248
3251
  let t97;
3249
- if ($[273] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
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
- $[273] = t96;
3253
- $[274] = t97;
3255
+ $[276] = t96;
3256
+ $[277] = t97;
3254
3257
  } else {
3255
- t96 = $[273];
3256
- t97 = $[274];
3258
+ t96 = $[276];
3259
+ t97 = $[277];
3257
3260
  }
3258
3261
  let t98;
3259
- if ($[275] !== t) {
3262
+ if ($[278] !== t) {
3260
3263
  t98 = t("format_webp_description");
3261
- $[275] = t;
3262
- $[276] = t98;
3264
+ $[278] = t;
3265
+ $[279] = t98;
3263
3266
  } else {
3264
- t98 = $[276];
3267
+ t98 = $[279];
3265
3268
  }
3266
3269
  let t99;
3267
- if ($[277] !== t98) {
3270
+ if ($[280] !== t98) {
3268
3271
  t99 = /* @__PURE__ */ jsx(SelectItem, { value: "webp", children: t98 });
3269
- $[277] = t98;
3270
- $[278] = t99;
3272
+ $[280] = t98;
3273
+ $[281] = t99;
3271
3274
  } else {
3272
- t99 = $[278];
3275
+ t99 = $[281];
3273
3276
  }
3274
- if ($[279] !== disabled || $[280] !== imageResizeFormat || $[281] !== t90 || $[282] !== t91 || $[283] !== t92 || $[284] !== t93 || $[285] !== t95 || $[286] !== t99) {
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
- $[279] = disabled;
3282
- $[280] = imageResizeFormat;
3283
- $[281] = t90;
3284
- $[282] = t91;
3285
- $[283] = t92;
3286
- $[284] = t93;
3287
- $[285] = t95;
3288
- $[286] = t99;
3289
- $[287] = t19;
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 = $[287];
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 ($[288] !== t) {
3300
+ if ($[291] !== t) {
3298
3301
  t5 = t("quality_label");
3299
- $[288] = t;
3300
- $[289] = t5;
3302
+ $[291] = t;
3303
+ $[292] = t5;
3301
3304
  } else {
3302
- t5 = $[289];
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] = fileName;
3310
- $[9] = fileNameValue;
3311
- $[10] = imageResizeFormat;
3312
- $[11] = imageResizeMaxHeight;
3313
- $[12] = imageResizeMaxWidth;
3314
- $[13] = imageResizeMode;
3315
- $[14] = imageResizeQuality;
3316
- $[15] = includeBucketUrl;
3317
- $[16] = maxSize;
3318
- $[17] = setFieldValue;
3319
- $[18] = storagePath;
3320
- $[19] = storagePathValue;
3321
- $[20] = storeUrl;
3322
- $[21] = t;
3323
- $[22] = values;
3324
- $[23] = T0;
3325
- $[24] = T1;
3326
- $[25] = t10;
3327
- $[26] = t11;
3328
- $[27] = t12;
3329
- $[28] = t13;
3330
- $[29] = t14;
3331
- $[30] = t15;
3332
- $[31] = t16;
3333
- $[32] = t17;
3334
- $[33] = t18;
3335
- $[34] = t19;
3336
- $[35] = t20;
3337
- $[36] = t21;
3338
- $[37] = t3;
3339
- $[38] = t4;
3340
- $[39] = t5;
3341
- $[40] = t6;
3342
- $[41] = t7;
3343
- $[42] = t8;
3344
- $[43] = t9;
3345
- } else {
3346
- T0 = $[23];
3347
- T1 = $[24];
3348
- t10 = $[25];
3349
- t11 = $[26];
3350
- t12 = $[27];
3351
- t13 = $[28];
3352
- t14 = $[29];
3353
- t15 = $[30];
3354
- t16 = $[31];
3355
- t17 = $[32];
3356
- t18 = $[33];
3357
- t19 = $[34];
3358
- t20 = $[35];
3359
- t21 = $[36];
3360
- t3 = $[37];
3361
- t4 = $[38];
3362
- t5 = $[39];
3363
- t6 = $[40];
3364
- t7 = $[41];
3365
- t8 = $[42];
3366
- t9 = $[43];
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 ($[290] !== imageResizeQuality || $[291] !== setFieldValue) {
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
- $[290] = imageResizeQuality;
3382
- $[291] = setFieldValue;
3383
- $[292] = t22;
3385
+ $[293] = imageResizeQuality;
3386
+ $[294] = setFieldValue;
3387
+ $[295] = t22;
3384
3388
  } else {
3385
- t22 = $[292];
3389
+ t22 = $[295];
3386
3390
  }
3387
3391
  let t23;
3388
- if ($[293] !== T0 || $[294] !== t22 || $[295] !== t3 || $[296] !== t4 || $[297] !== t5 || $[298] !== t6 || $[299] !== t7 || $[300] !== t8) {
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
- $[293] = T0;
3391
- $[294] = t22;
3392
- $[295] = t3;
3393
- $[296] = t4;
3394
- $[297] = t5;
3395
- $[298] = t6;
3396
- $[299] = t7;
3397
- $[300] = t8;
3398
- $[301] = t23;
3399
- } else {
3400
- t23 = $[301];
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 ($[302] !== t) {
3407
+ if ($[305] !== t) {
3404
3408
  t24 = t("quality_hint");
3405
- $[302] = t;
3406
- $[303] = t24;
3409
+ $[305] = t;
3410
+ $[306] = t24;
3407
3411
  } else {
3408
- t24 = $[303];
3412
+ t24 = $[306];
3409
3413
  }
3410
3414
  let t25;
3411
- if ($[304] !== t24) {
3415
+ if ($[307] !== t24) {
3412
3416
  t25 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "ml-3.5 mt-1 mb-2", children: t24 });
3413
- $[304] = t24;
3414
- $[305] = t25;
3417
+ $[307] = t24;
3418
+ $[308] = t25;
3415
3419
  } else {
3416
- t25 = $[305];
3420
+ t25 = $[308];
3417
3421
  }
3418
3422
  let t26;
3419
- if ($[306] !== t23 || $[307] !== t25 || $[308] !== t9) {
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
- $[306] = t23;
3425
- $[307] = t25;
3426
- $[308] = t9;
3427
- $[309] = t26;
3428
+ $[309] = t23;
3429
+ $[310] = t25;
3430
+ $[311] = t9;
3431
+ $[312] = t26;
3428
3432
  } else {
3429
- t26 = $[309];
3433
+ t26 = $[312];
3430
3434
  }
3431
3435
  let t27;
3432
- if ($[310] !== t10 || $[311] !== t11 || $[312] !== t12 || $[313] !== t13 || $[314] !== t14 || $[315] !== t15 || $[316] !== t16 || $[317] !== t17 || $[318] !== t18 || $[319] !== t19 || $[320] !== t26) {
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
- $[310] = t10;
3446
- $[311] = t11;
3447
- $[312] = t12;
3448
- $[313] = t13;
3449
- $[314] = t14;
3450
- $[315] = t15;
3451
- $[316] = t16;
3452
- $[317] = t17;
3453
- $[318] = t18;
3454
- $[319] = t19;
3455
- $[320] = t26;
3456
- $[321] = t27;
3457
- } else {
3458
- t27 = $[321];
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 ($[322] !== T1 || $[323] !== t20 || $[324] !== t27) {
3465
+ if ($[325] !== T1 || $[326] !== t20 || $[327] !== t27) {
3462
3466
  t28 = /* @__PURE__ */ jsx(T1, { title: t20, children: t27 });
3463
- $[322] = T1;
3464
- $[323] = t20;
3465
- $[324] = t27;
3466
- $[325] = t28;
3467
+ $[325] = T1;
3468
+ $[326] = t20;
3469
+ $[327] = t27;
3470
+ $[328] = t28;
3467
3471
  } else {
3468
- t28 = $[325];
3472
+ t28 = $[328];
3469
3473
  }
3470
3474
  let t29;
3471
- if ($[326] !== t21 || $[327] !== t28) {
3475
+ if ($[329] !== t21 || $[330] !== t28) {
3472
3476
  t29 = /* @__PURE__ */ jsx("div", { className: t21, children: t28 });
3473
- $[326] = t21;
3474
- $[327] = t28;
3475
- $[328] = t29;
3477
+ $[329] = t21;
3478
+ $[330] = t28;
3479
+ $[331] = t29;
3476
3480
  } else {
3477
- t29 = $[328];
3481
+ t29 = $[331];
3478
3482
  }
3479
3483
  let t30;
3480
- if ($[329] !== disabled || $[330] !== multiple) {
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
- $[329] = disabled;
3483
- $[330] = multiple;
3484
- $[331] = t30;
3486
+ $[332] = disabled;
3487
+ $[333] = multiple;
3488
+ $[334] = t30;
3485
3489
  } else {
3486
- t30 = $[331];
3490
+ t30 = $[334];
3487
3491
  }
3488
3492
  let t31;
3489
- if ($[332] !== disabled || $[333] !== multiple) {
3493
+ if ($[335] !== disabled || $[336] !== multiple) {
3490
3494
  t31 = multiple && /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(ArrayPropertyValidation, { disabled }) });
3491
- $[332] = disabled;
3492
- $[333] = multiple;
3493
- $[334] = t31;
3495
+ $[335] = disabled;
3496
+ $[336] = multiple;
3497
+ $[337] = t31;
3494
3498
  } else {
3495
- t31 = $[334];
3499
+ t31 = $[337];
3496
3500
  }
3497
3501
  let t32;
3498
- if ($[335] !== t30 || $[336] !== t31) {
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
- $[335] = t30;
3504
- $[336] = t31;
3505
- $[337] = t32;
3507
+ $[338] = t30;
3508
+ $[339] = t31;
3509
+ $[340] = t32;
3506
3510
  } else {
3507
- t32 = $[337];
3511
+ t32 = $[340];
3508
3512
  }
3509
3513
  let t33;
3510
- if ($[338] !== t29 || $[339] !== t32) {
3514
+ if ($[341] !== t29 || $[342] !== t32) {
3511
3515
  t33 = /* @__PURE__ */ jsxs(Fragment, { children: [
3512
3516
  t29,
3513
3517
  t32
3514
3518
  ] });
3515
- $[338] = t29;
3516
- $[339] = t32;
3517
- $[340] = t33;
3519
+ $[341] = t29;
3520
+ $[342] = t32;
3521
+ $[343] = t33;
3518
3522
  } else {
3519
- t33 = $[340];
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(153);
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] = t102;
10588
+ $[52] = existing;
10589
+ $[53] = t102;
10585
10590
  } else {
10586
- t102 = $[52];
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 ($[53] !== disabled) {
10593
- t102 = /* @__PURE__ */ jsx(StoragePropertyField, { multiple: true, disabled });
10594
- $[53] = disabled;
10595
- $[54] = t102;
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 = $[54];
10603
+ t102 = $[56];
10598
10604
  }
10599
10605
  childComponent = t102;
10600
10606
  } else {
10601
10607
  if (selectedFieldConfigId === "switch") {
10602
10608
  let t102;
10603
- if ($[55] !== disabled) {
10609
+ if ($[57] !== disabled) {
10604
10610
  t102 = /* @__PURE__ */ jsx(BooleanPropertyField, { disabled });
10605
- $[55] = disabled;
10606
- $[56] = t102;
10611
+ $[57] = disabled;
10612
+ $[58] = t102;
10607
10613
  } else {
10608
- t102 = $[56];
10614
+ t102 = $[58];
10609
10615
  }
10610
10616
  childComponent = t102;
10611
10617
  } else {
10612
10618
  if (selectedFieldConfigId === "number_input") {
10613
10619
  let t102;
10614
- if ($[57] !== disabled) {
10620
+ if ($[59] !== disabled) {
10615
10621
  t102 = /* @__PURE__ */ jsx(NumberPropertyField, { disabled });
10616
- $[57] = disabled;
10617
- $[58] = t102;
10622
+ $[59] = disabled;
10623
+ $[60] = t102;
10618
10624
  } else {
10619
- t102 = $[58];
10625
+ t102 = $[60];
10620
10626
  }
10621
10627
  childComponent = t102;
10622
10628
  } else {
10623
10629
  if (selectedFieldConfigId === "group") {
10624
10630
  let t102;
10625
- if ($[59] !== allowDataInference || $[60] !== collectionEditable || $[61] !== disabled || $[62] !== getData || $[63] !== propertyConfigs) {
10631
+ if ($[61] !== allowDataInference || $[62] !== collectionEditable || $[63] !== disabled || $[64] !== getData || $[65] !== propertyConfigs) {
10626
10632
  t102 = /* @__PURE__ */ jsx(MapPropertyField, { disabled, getData, allowDataInference, collectionEditable, propertyConfigs });
10627
- $[59] = allowDataInference;
10628
- $[60] = collectionEditable;
10629
- $[61] = disabled;
10630
- $[62] = getData;
10631
- $[63] = propertyConfigs;
10632
- $[64] = t102;
10633
+ $[61] = allowDataInference;
10634
+ $[62] = collectionEditable;
10635
+ $[63] = disabled;
10636
+ $[64] = getData;
10637
+ $[65] = propertyConfigs;
10638
+ $[66] = t102;
10633
10639
  } else {
10634
- t102 = $[64];
10640
+ t102 = $[66];
10635
10641
  }
10636
10642
  childComponent = t102;
10637
10643
  } else {
10638
10644
  if (selectedFieldConfigId === "block") {
10639
10645
  let t102;
10640
- if ($[65] !== allowDataInference || $[66] !== collectionEditable || $[67] !== disabled || $[68] !== getData || $[69] !== propertyConfigs) {
10646
+ if ($[67] !== allowDataInference || $[68] !== collectionEditable || $[69] !== disabled || $[70] !== getData || $[71] !== propertyConfigs) {
10641
10647
  t102 = /* @__PURE__ */ jsx(BlockPropertyField, { disabled, getData, allowDataInference, collectionEditable, propertyConfigs });
10642
- $[65] = allowDataInference;
10643
- $[66] = collectionEditable;
10644
- $[67] = disabled;
10645
- $[68] = getData;
10646
- $[69] = propertyConfigs;
10647
- $[70] = t102;
10648
+ $[67] = allowDataInference;
10649
+ $[68] = collectionEditable;
10650
+ $[69] = disabled;
10651
+ $[70] = getData;
10652
+ $[71] = propertyConfigs;
10653
+ $[72] = t102;
10648
10654
  } else {
10649
- t102 = $[70];
10655
+ t102 = $[72];
10650
10656
  }
10651
10657
  childComponent = t102;
10652
10658
  } else {
10653
10659
  if (selectedFieldConfigId === "reference") {
10654
10660
  let t102;
10655
- if ($[71] !== disabled || $[72] !== existing || $[73] !== showErrors) {
10661
+ if ($[73] !== disabled || $[74] !== existing || $[75] !== showErrors) {
10656
10662
  t102 = /* @__PURE__ */ jsx(ReferencePropertyField, { showErrors, existing, multiple: false, disabled });
10657
- $[71] = disabled;
10658
- $[72] = existing;
10659
- $[73] = showErrors;
10660
- $[74] = t102;
10663
+ $[73] = disabled;
10664
+ $[74] = existing;
10665
+ $[75] = showErrors;
10666
+ $[76] = t102;
10661
10667
  } else {
10662
- t102 = $[74];
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 ($[75] !== disabled || $[76] !== existing || $[77] !== showErrors) {
10674
+ if ($[77] !== disabled || $[78] !== existing || $[79] !== showErrors) {
10669
10675
  t102 = /* @__PURE__ */ jsx(ReferencePropertyField, { showErrors, existing, asString: true, multiple: false, disabled });
10670
- $[75] = disabled;
10671
- $[76] = existing;
10672
- $[77] = showErrors;
10673
- $[78] = t102;
10676
+ $[77] = disabled;
10677
+ $[78] = existing;
10678
+ $[79] = showErrors;
10679
+ $[80] = t102;
10674
10680
  } else {
10675
- t102 = $[78];
10681
+ t102 = $[80];
10676
10682
  }
10677
10683
  childComponent = t102;
10678
10684
  } else {
10679
10685
  if (selectedFieldConfigId === "date_time") {
10680
10686
  let t102;
10681
- if ($[79] !== disabled) {
10687
+ if ($[81] !== disabled) {
10682
10688
  t102 = /* @__PURE__ */ jsx(DateTimePropertyField, { disabled });
10683
- $[79] = disabled;
10684
- $[80] = t102;
10689
+ $[81] = disabled;
10690
+ $[82] = t102;
10685
10691
  } else {
10686
- t102 = $[80];
10692
+ t102 = $[82];
10687
10693
  }
10688
10694
  childComponent = t102;
10689
10695
  } else {
10690
10696
  if (selectedFieldConfigId === "multi_references") {
10691
10697
  let t102;
10692
- if ($[81] !== disabled || $[82] !== existing || $[83] !== showErrors) {
10698
+ if ($[83] !== disabled || $[84] !== existing || $[85] !== showErrors) {
10693
10699
  t102 = /* @__PURE__ */ jsx(ReferencePropertyField, { showErrors, existing, multiple: true, disabled });
10694
- $[81] = disabled;
10695
- $[82] = existing;
10696
- $[83] = showErrors;
10697
- $[84] = t102;
10700
+ $[83] = disabled;
10701
+ $[84] = existing;
10702
+ $[85] = showErrors;
10703
+ $[86] = t102;
10698
10704
  } else {
10699
- t102 = $[84];
10705
+ t102 = $[86];
10700
10706
  }
10701
10707
  childComponent = t102;
10702
10708
  } else {
10703
10709
  if (selectedFieldConfigId === "repeat") {
10704
10710
  let t102;
10705
- if ($[85] !== allowDataInference || $[86] !== collectionEditable || $[87] !== disabled || $[88] !== existing || $[89] !== getData || $[90] !== propertyConfigs || $[91] !== showErrors) {
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
- $[85] = allowDataInference;
10708
- $[86] = collectionEditable;
10709
- $[87] = disabled;
10710
- $[88] = existing;
10711
- $[89] = getData;
10712
- $[90] = propertyConfigs;
10713
- $[91] = showErrors;
10714
- $[92] = t102;
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 = $[92];
10722
+ t102 = $[94];
10717
10723
  }
10718
10724
  childComponent = t102;
10719
10725
  } else {
10720
10726
  if (selectedFieldConfigId === "key_value") {
10721
10727
  let t102;
10722
- if ($[93] !== disabled) {
10728
+ if ($[95] !== disabled) {
10723
10729
  t102 = /* @__PURE__ */ jsx(KeyValuePropertyField, { disabled });
10724
- $[93] = disabled;
10725
- $[94] = t102;
10730
+ $[95] = disabled;
10731
+ $[96] = t102;
10726
10732
  } else {
10727
- t102 = $[94];
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 ($[95] !== disabled) {
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
- $[95] = disabled;
10762
- $[96] = t10;
10767
+ $[97] = disabled;
10768
+ $[98] = t10;
10763
10769
  } else {
10764
- t10 = $[96];
10770
+ t10 = $[98];
10765
10771
  }
10766
10772
  const t11 = selectedFieldConfigId;
10767
10773
  let t12;
10768
- if ($[97] !== onWidgetSelectChanged) {
10774
+ if ($[99] !== onWidgetSelectChanged) {
10769
10775
  t12 = (value) => onWidgetSelectChanged(value);
10770
- $[97] = onWidgetSelectChanged;
10771
- $[98] = t12;
10776
+ $[99] = onWidgetSelectChanged;
10777
+ $[100] = t12;
10772
10778
  } else {
10773
- t12 = $[98];
10779
+ t12 = $[100];
10774
10780
  }
10775
10781
  let t13;
10776
- if ($[99] !== onDismiss) {
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
- $[99] = onDismiss;
10784
- $[100] = t13;
10789
+ $[101] = onDismiss;
10790
+ $[102] = t13;
10785
10791
  } else {
10786
- t13 = $[100];
10792
+ t13 = $[102];
10787
10793
  }
10788
10794
  const t14 = Boolean(selectedWidgetError);
10789
10795
  let t15;
10790
- if ($[101] !== disabled || $[102] !== existing || $[103] !== inArray || $[104] !== propertyConfigs || $[105] !== selectOpen || $[106] !== t11 || $[107] !== t12 || $[108] !== t13 || $[109] !== t14 || $[110] !== values) {
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
- $[101] = disabled;
10793
- $[102] = existing;
10794
- $[103] = inArray;
10795
- $[104] = propertyConfigs;
10796
- $[105] = selectOpen;
10797
- $[106] = t11;
10798
- $[107] = t12;
10799
- $[108] = t13;
10800
- $[109] = t14;
10801
- $[110] = values;
10802
- $[111] = t15;
10803
- } else {
10804
- t15 = $[111];
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 ($[112] !== selectedWidgetError || $[113] !== t) {
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
- $[112] = selectedWidgetError;
10810
- $[113] = t;
10811
- $[114] = t16;
10815
+ $[114] = selectedWidgetError;
10816
+ $[115] = t;
10817
+ $[116] = t16;
10812
10818
  } else {
10813
- t16 = $[114];
10819
+ t16 = $[116];
10814
10820
  }
10815
10821
  let t17;
10816
- if ($[115] !== t15 || $[116] !== t16) {
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
- $[115] = t15;
10822
- $[116] = t16;
10823
- $[117] = t17;
10827
+ $[117] = t15;
10828
+ $[118] = t16;
10829
+ $[119] = t17;
10824
10830
  } else {
10825
- t17 = $[117];
10831
+ t17 = $[119];
10826
10832
  }
10827
10833
  let t18;
10828
- if ($[118] !== disabled || $[119] !== existing || $[120] !== onDelete || $[121] !== values?.id) {
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
- $[118] = disabled;
10831
- $[119] = existing;
10832
- $[120] = onDelete;
10833
- $[121] = values?.id;
10834
- $[122] = t18;
10836
+ $[120] = disabled;
10837
+ $[121] = existing;
10838
+ $[122] = onDelete;
10839
+ $[123] = values?.id;
10840
+ $[124] = t18;
10835
10841
  } else {
10836
- t18 = $[122];
10842
+ t18 = $[124];
10837
10843
  }
10838
10844
  let t19;
10839
- if ($[123] !== t17 || $[124] !== t18) {
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
- $[123] = t17;
10845
- $[124] = t18;
10846
- $[125] = t19;
10850
+ $[125] = t17;
10851
+ $[126] = t18;
10852
+ $[127] = t19;
10847
10853
  } else {
10848
- t19 = $[125];
10854
+ t19 = $[127];
10849
10855
  }
10850
10856
  let t20;
10851
- if ($[126] !== autoUpdateId || $[127] !== disabled || $[128] !== existing || $[129] !== includeIdAndTitle || $[130] !== showErrors) {
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
- $[126] = autoUpdateId;
10854
- $[127] = disabled;
10855
- $[128] = existing;
10856
- $[129] = includeIdAndTitle;
10857
- $[130] = showErrors;
10858
- $[131] = t20;
10859
+ $[128] = autoUpdateId;
10860
+ $[129] = disabled;
10861
+ $[130] = existing;
10862
+ $[131] = includeIdAndTitle;
10863
+ $[132] = showErrors;
10864
+ $[133] = t20;
10859
10865
  } else {
10860
- t20 = $[131];
10866
+ t20 = $[133];
10861
10867
  }
10862
10868
  let t21;
10863
- if ($[132] !== disabled) {
10869
+ if ($[134] !== disabled) {
10864
10870
  t21 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(AdvancedPropertyValidation, { disabled }) });
10865
- $[132] = disabled;
10866
- $[133] = t21;
10871
+ $[134] = disabled;
10872
+ $[135] = t21;
10867
10873
  } else {
10868
- t21 = $[133];
10874
+ t21 = $[135];
10869
10875
  }
10870
10876
  let t22;
10871
- if ($[134] !== collectionProperties || $[135] !== disabled) {
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
- $[134] = collectionProperties;
10877
- $[135] = disabled;
10878
- $[136] = t22;
10882
+ $[136] = collectionProperties;
10883
+ $[137] = disabled;
10884
+ $[138] = t22;
10879
10885
  } else {
10880
- t22 = $[136];
10886
+ t22 = $[138];
10881
10887
  }
10882
10888
  let t23;
10883
- if ($[137] !== childComponent || $[138] !== t20 || $[139] !== t21 || $[140] !== t22) {
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
- $[137] = childComponent;
10891
- $[138] = t20;
10892
- $[139] = t21;
10893
- $[140] = t22;
10894
- $[141] = t23;
10896
+ $[139] = childComponent;
10897
+ $[140] = t20;
10898
+ $[141] = t21;
10899
+ $[142] = t22;
10900
+ $[143] = t23;
10895
10901
  } else {
10896
- t23 = $[141];
10902
+ t23 = $[143];
10897
10903
  }
10898
10904
  let t24;
10899
- if ($[142] !== deleteDialogOpen || $[143] !== onDelete || $[144] !== propertyNamespace || $[145] !== t || $[146] !== values?.id) {
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
- $[142] = deleteDialogOpen;
10902
- $[143] = onDelete;
10903
- $[144] = propertyNamespace;
10904
- $[145] = t;
10905
- $[146] = values?.id;
10906
- $[147] = t24;
10907
+ $[144] = deleteDialogOpen;
10908
+ $[145] = onDelete;
10909
+ $[146] = propertyNamespace;
10910
+ $[147] = t;
10911
+ $[148] = values?.id;
10912
+ $[149] = t24;
10907
10913
  } else {
10908
- t24 = $[147];
10914
+ t24 = $[149];
10909
10915
  }
10910
10916
  let t25;
10911
- if ($[148] !== t10 || $[149] !== t19 || $[150] !== t23 || $[151] !== t24) {
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
- $[148] = t10;
10919
- $[149] = t19;
10920
- $[150] = t23;
10921
- $[151] = t24;
10922
- $[152] = t25;
10924
+ $[150] = t10;
10925
+ $[151] = t19;
10926
+ $[152] = t23;
10927
+ $[153] = t24;
10928
+ $[154] = t25;
10923
10929
  } else {
10924
- t25 = $[152];
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. Changing it only affects new uploads: values already saved keep their current format.",
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. Changing it only affects new uploads: values already saved keep their current format.",
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. Cambiarla solo afecta a las nuevas subidas: los valores ya guardados mantienen su formato actual.",
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. Cambiarla solo afecta a las nuevas subidas: los valores ya guardados mantienen su formato actual.",
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. Eine Änderung wirkt sich nur auf neue Uploads aus: Bereits gespeicherte Werte behalten ihr aktuelles Format.",
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. Eine Änderung wirkt sich nur auf neue Uploads aus: Bereits gespeicherte Werte behalten ihr aktuelles Format.",
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. Sa modification n'affecte que les nouveaux envois : les valeurs déjà enregistrées conservent leur format actuel.",
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. Sa modification n'affecte que les nouveaux envois : les valeurs déjà enregistrées conservent leur format actuel.",
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. La modifica influisce solo sui nuovi caricamenti: i valori già salvati mantengono il loro formato attuale.",
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. La modifica influisce solo sui nuovi caricamenti: i valori già salvati mantengono il loro formato attuale.",
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. Alterá-la afeta apenas os novos envios: os valores já salvos mantêm o formato atual.",
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ê 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. Alterá-la afeta apenas os novos envios: os valores já salvos mantêm o formato atual.",
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ê 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)",