@firecms/collection_editor 3.3.0 → 3.4.0-canary.1faa2a9

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,10 +2371,9 @@ function EnumPropertyField({
2371
2371
  ] });
2372
2372
  }
2373
2373
  function StoragePropertyField(t0) {
2374
- const $ = c(344);
2374
+ const $ = c(341);
2375
2375
  const {
2376
2376
  multiple,
2377
- existing,
2378
2377
  disabled
2379
2378
  } = t0;
2380
2379
  const {
@@ -2438,39 +2437,39 @@ function StoragePropertyField(t0) {
2438
2437
  let t7;
2439
2438
  let t8;
2440
2439
  let t9;
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) {
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) {
2442
2441
  const maxSizeValue = getIn(values, maxSize);
2443
2442
  const imageResizeMaxWidthValue = getIn(values, imageResizeMaxWidth);
2444
2443
  const imageResizeMaxHeightValue = getIn(values, imageResizeMaxHeight);
2445
2444
  let t222;
2446
- if ($[45] !== imageResizeMode || $[46] !== values) {
2445
+ if ($[44] !== imageResizeMode || $[45] !== values) {
2447
2446
  t222 = getIn(values, imageResizeMode) ?? "cover";
2448
- $[45] = imageResizeMode;
2449
- $[46] = values;
2450
- $[47] = t222;
2447
+ $[44] = imageResizeMode;
2448
+ $[45] = values;
2449
+ $[46] = t222;
2451
2450
  } else {
2452
- t222 = $[47];
2451
+ t222 = $[46];
2453
2452
  }
2454
2453
  const imageResizeModeValue = t222;
2455
2454
  let t232;
2456
- if ($[48] !== imageResizeFormat || $[49] !== values) {
2455
+ if ($[47] !== imageResizeFormat || $[48] !== values) {
2457
2456
  t232 = getIn(values, imageResizeFormat) ?? "original";
2458
- $[48] = imageResizeFormat;
2459
- $[49] = values;
2460
- $[50] = t232;
2457
+ $[47] = imageResizeFormat;
2458
+ $[48] = values;
2459
+ $[49] = t232;
2461
2460
  } else {
2462
- t232 = $[50];
2461
+ t232 = $[49];
2463
2462
  }
2464
2463
  const imageResizeFormatValue = t232;
2465
2464
  const imageResizeQualityValue = getIn(values, imageResizeQuality);
2466
2465
  let t242;
2467
- if ($[51] !== acceptedFiles || $[52] !== values) {
2466
+ if ($[50] !== acceptedFiles || $[51] !== values) {
2468
2467
  t242 = getIn(values, acceptedFiles);
2469
- $[51] = acceptedFiles;
2470
- $[52] = values;
2471
- $[53] = t242;
2468
+ $[50] = acceptedFiles;
2469
+ $[51] = values;
2470
+ $[52] = t242;
2472
2471
  } else {
2473
- t242 = $[53];
2472
+ t242 = $[52];
2474
2473
  }
2475
2474
  const storedValue = t242;
2476
2475
  const fileTypesValue = Array.isArray(storedValue) ? storedValue : void 0;
@@ -2488,7 +2487,7 @@ function StoragePropertyField(t0) {
2488
2487
  let t322;
2489
2488
  let t332;
2490
2489
  let t34;
2491
- if ($[54] !== acceptedFiles || $[55] !== allFileTypesSelected || $[56] !== disabled || $[57] !== fileNameValue || $[58] !== fileTypesValue || $[59] !== setFieldValue || $[60] !== storagePathValue || $[61] !== t) {
2490
+ if ($[53] !== acceptedFiles || $[54] !== allFileTypesSelected || $[55] !== disabled || $[56] !== fileNameValue || $[57] !== fileTypesValue || $[58] !== setFieldValue || $[59] !== storagePathValue || $[60] !== t) {
2492
2491
  const fileTypes = {
2493
2492
  "image/*": t("file_type_images"),
2494
2493
  "video/*": t("file_type_videos"),
@@ -2497,7 +2496,7 @@ function StoragePropertyField(t0) {
2497
2496
  "text/*": t("file_type_text")
2498
2497
  };
2499
2498
  let t352;
2500
- if ($[79] !== acceptedFiles || $[80] !== setFieldValue) {
2499
+ if ($[78] !== acceptedFiles || $[79] !== setFieldValue) {
2501
2500
  t352 = (value) => {
2502
2501
  if (!value) {
2503
2502
  setFieldValue(acceptedFiles, void 0);
@@ -2505,11 +2504,11 @@ function StoragePropertyField(t0) {
2505
2504
  setFieldValue(acceptedFiles, value);
2506
2505
  }
2507
2506
  };
2508
- $[79] = acceptedFiles;
2509
- $[80] = setFieldValue;
2510
- $[81] = t352;
2507
+ $[78] = acceptedFiles;
2508
+ $[79] = setFieldValue;
2509
+ $[80] = t352;
2511
2510
  } else {
2512
- t352 = $[81];
2511
+ t352 = $[80];
2513
2512
  }
2514
2513
  const handleTypesChange = t352;
2515
2514
  hasFilenameCallback = typeof fileNameValue === "function";
@@ -2517,58 +2516,58 @@ function StoragePropertyField(t0) {
2517
2516
  t21 = "col-span-12";
2518
2517
  T1 = ExpandablePanel;
2519
2518
  let t362;
2520
- if ($[82] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
2519
+ if ($[81] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
2521
2520
  t362 = /* @__PURE__ */ jsx(CloudUploadIcon, {});
2522
- $[82] = t362;
2521
+ $[81] = t362;
2523
2522
  } else {
2524
- t362 = $[82];
2523
+ t362 = $[81];
2525
2524
  }
2526
2525
  let t372;
2527
- if ($[83] !== t) {
2526
+ if ($[82] !== t) {
2528
2527
  t372 = t("file_upload_config");
2529
- $[83] = t;
2530
- $[84] = t372;
2528
+ $[82] = t;
2529
+ $[83] = t372;
2531
2530
  } else {
2532
- t372 = $[84];
2531
+ t372 = $[83];
2533
2532
  }
2534
- if ($[85] !== t372) {
2533
+ if ($[84] !== t372) {
2535
2534
  t20 = /* @__PURE__ */ jsxs("div", { className: "flex flex-row text-surface-500 text-text-secondary dark:text-text-secondary-dark", children: [
2536
2535
  t362,
2537
2536
  /* @__PURE__ */ jsx(Typography, { variant: "subtitle2", className: "ml-4", children: t372 })
2538
2537
  ] });
2539
- $[85] = t372;
2540
- $[86] = t20;
2538
+ $[84] = t372;
2539
+ $[85] = t20;
2541
2540
  } else {
2542
- t20 = $[86];
2541
+ t20 = $[85];
2543
2542
  }
2544
2543
  t10 = "grid grid-cols-12 gap-2 p-4";
2545
2544
  t34 = "col-span-12";
2546
2545
  T2 = MultiSelect;
2547
2546
  t252 = "w-full";
2548
- if ($[87] !== t) {
2547
+ if ($[86] !== t) {
2549
2548
  t262 = t("all_file_types_allowed");
2550
- $[87] = t;
2551
- $[88] = t262;
2549
+ $[86] = t;
2550
+ $[87] = t262;
2552
2551
  } else {
2553
- t262 = $[88];
2552
+ t262 = $[87];
2554
2553
  }
2555
2554
  t272 = disabled;
2556
2555
  t282 = acceptedFiles;
2557
- if ($[89] !== fileTypesValue) {
2556
+ if ($[88] !== fileTypesValue) {
2558
2557
  t292 = fileTypesValue ?? [];
2559
- $[89] = fileTypesValue;
2560
- $[90] = t292;
2558
+ $[88] = fileTypesValue;
2559
+ $[89] = t292;
2561
2560
  } else {
2562
- t292 = $[90];
2561
+ t292 = $[89];
2563
2562
  }
2564
2563
  t302 = handleTypesChange;
2565
- if ($[91] !== allFileTypesSelected || $[92] !== t) {
2564
+ if ($[90] !== allFileTypesSelected || $[91] !== t) {
2566
2565
  t312 = allFileTypesSelected ? void 0 : t("allowed_file_types");
2567
- $[91] = allFileTypesSelected;
2568
- $[92] = t;
2569
- $[93] = t312;
2566
+ $[90] = allFileTypesSelected;
2567
+ $[91] = t;
2568
+ $[92] = t312;
2570
2569
  } else {
2571
- t312 = $[93];
2570
+ t312 = $[92];
2572
2571
  }
2573
2572
  t322 = (selected) => {
2574
2573
  if (!selected || selected.length === 0) {
@@ -2577,7 +2576,7 @@ function StoragePropertyField(t0) {
2577
2576
  return selected.map((v) => fileTypes[v]).filter(_temp$d).join(", ");
2578
2577
  };
2579
2578
  let t382;
2580
- if ($[94] !== acceptedFiles || $[95] !== setFieldValue || $[96] !== t) {
2579
+ if ($[93] !== acceptedFiles || $[94] !== setFieldValue || $[95] !== t) {
2581
2580
  t382 = (t392) => {
2582
2581
  const [value_0, label] = t392;
2583
2582
  return /* @__PURE__ */ jsxs(MultiSelectItem, { value: value_0, className: "flex items-center gap-2", children: [
@@ -2589,254 +2588,254 @@ function StoragePropertyField(t0) {
2589
2588
  }, children: t("only") })
2590
2589
  ] }, value_0);
2591
2590
  };
2592
- $[94] = acceptedFiles;
2593
- $[95] = setFieldValue;
2594
- $[96] = t;
2595
- $[97] = t382;
2591
+ $[93] = acceptedFiles;
2592
+ $[94] = setFieldValue;
2593
+ $[95] = t;
2594
+ $[96] = t382;
2596
2595
  } else {
2597
- t382 = $[97];
2596
+ t382 = $[96];
2598
2597
  }
2599
2598
  t332 = Object.entries(fileTypes).map(t382);
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;
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;
2625
2624
  } else {
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];
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];
2643
2642
  }
2644
2643
  let t35;
2645
- if ($[98] !== T2 || $[99] !== t252 || $[100] !== t262 || $[101] !== t272 || $[102] !== t282 || $[103] !== t292 || $[104] !== t302 || $[105] !== t312 || $[106] !== t322 || $[107] !== t332) {
2644
+ if ($[97] !== T2 || $[98] !== t252 || $[99] !== t262 || $[100] !== t272 || $[101] !== t282 || $[102] !== t292 || $[103] !== t302 || $[104] !== t312 || $[105] !== t322 || $[106] !== t332) {
2646
2645
  t35 = /* @__PURE__ */ jsx(T2, { className: t252, placeholder: t262, disabled: t272, name: t282, value: t292, onValueChange: t302, label: t312, renderValues: t322, children: t332 });
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;
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;
2658
2657
  } else {
2659
- t35 = $[108];
2658
+ t35 = $[107];
2660
2659
  }
2661
- if ($[109] !== t34 || $[110] !== t35) {
2660
+ if ($[108] !== t34 || $[109] !== t35) {
2662
2661
  t11 = /* @__PURE__ */ jsx("div", { className: t34, children: t35 });
2663
- $[109] = t34;
2664
- $[110] = t35;
2665
- $[111] = t11;
2662
+ $[108] = t34;
2663
+ $[109] = t35;
2664
+ $[110] = t11;
2666
2665
  } else {
2667
- t11 = $[111];
2666
+ t11 = $[110];
2668
2667
  }
2669
2668
  let t36;
2670
- if ($[112] !== t) {
2669
+ if ($[111] !== t) {
2671
2670
  t36 = t("file_name_label");
2672
- $[112] = t;
2673
- $[113] = t36;
2671
+ $[111] = t;
2672
+ $[112] = t36;
2674
2673
  } else {
2675
- t36 = $[113];
2674
+ t36 = $[112];
2676
2675
  }
2677
2676
  const t37 = hasFilenameCallback || disabled;
2678
2677
  const t38 = hasFilenameCallback ? "-" : fileNameValue;
2679
- if ($[114] !== fileName || $[115] !== t36 || $[116] !== t37 || $[117] !== t38) {
2678
+ if ($[113] !== fileName || $[114] !== t36 || $[115] !== t37 || $[116] !== t38) {
2680
2679
  t12 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(Field, { name: fileName, as: DebouncedTextField, label: t36, size: "small", disabled: t37, value: t38 }) });
2681
- $[114] = fileName;
2682
- $[115] = t36;
2683
- $[116] = t37;
2684
- $[117] = t38;
2685
- $[118] = t12;
2680
+ $[113] = fileName;
2681
+ $[114] = t36;
2682
+ $[115] = t37;
2683
+ $[116] = t38;
2684
+ $[117] = t12;
2686
2685
  } else {
2687
- t12 = $[118];
2686
+ t12 = $[117];
2688
2687
  }
2689
2688
  let t39;
2690
- if ($[119] !== t) {
2689
+ if ($[118] !== t) {
2691
2690
  t39 = t("storage_path_label");
2692
- $[119] = t;
2693
- $[120] = t39;
2691
+ $[118] = t;
2692
+ $[119] = t39;
2694
2693
  } else {
2695
- t39 = $[120];
2694
+ t39 = $[119];
2696
2695
  }
2697
2696
  const t40 = hasStoragePathCallback || disabled;
2698
2697
  const t41 = hasStoragePathCallback ? "-" : storagePathValue;
2699
2698
  let t42;
2700
- if ($[121] !== storagePath || $[122] !== t39 || $[123] !== t40 || $[124] !== t41) {
2699
+ if ($[120] !== storagePath || $[121] !== t39 || $[122] !== t40 || $[123] !== t41) {
2701
2700
  t42 = /* @__PURE__ */ jsx(Field, { name: storagePath, as: DebouncedTextField, label: t39, disabled: t40, size: "small", value: t41 });
2702
- $[121] = storagePath;
2703
- $[122] = t39;
2704
- $[123] = t40;
2705
- $[124] = t41;
2706
- $[125] = t42;
2701
+ $[120] = storagePath;
2702
+ $[121] = t39;
2703
+ $[122] = t40;
2704
+ $[123] = t41;
2705
+ $[124] = t42;
2707
2706
  } else {
2708
- t42 = $[125];
2707
+ t42 = $[124];
2709
2708
  }
2710
2709
  let t43;
2711
- if ($[126] !== t) {
2710
+ if ($[125] !== t) {
2712
2711
  t43 = t("storage_placeholders_description");
2713
- $[126] = t;
2714
- $[127] = t43;
2712
+ $[125] = t;
2713
+ $[126] = t43;
2715
2714
  } else {
2716
- t43 = $[127];
2715
+ t43 = $[126];
2717
2716
  }
2718
2717
  let t44;
2719
- if ($[128] !== t43) {
2718
+ if ($[127] !== t43) {
2720
2719
  t44 = /* @__PURE__ */ jsx("p", { children: t43 });
2721
- $[128] = t43;
2722
- $[129] = t44;
2720
+ $[127] = t43;
2721
+ $[128] = t44;
2723
2722
  } else {
2724
- t44 = $[129];
2723
+ t44 = $[128];
2725
2724
  }
2726
2725
  let t45;
2727
- if ($[130] !== t) {
2726
+ if ($[129] !== t) {
2728
2727
  t45 = t("storage_placeholder_file");
2729
- $[130] = t;
2730
- $[131] = t45;
2728
+ $[129] = t;
2729
+ $[130] = t45;
2731
2730
  } else {
2732
- t45 = $[131];
2731
+ t45 = $[130];
2733
2732
  }
2734
2733
  let t46;
2735
- if ($[132] !== t45) {
2734
+ if ($[131] !== t45) {
2736
2735
  t46 = /* @__PURE__ */ jsx("li", { children: t45 });
2737
- $[132] = t45;
2738
- $[133] = t46;
2736
+ $[131] = t45;
2737
+ $[132] = t46;
2739
2738
  } else {
2740
- t46 = $[133];
2739
+ t46 = $[132];
2741
2740
  }
2742
2741
  let t47;
2743
- if ($[134] !== t) {
2742
+ if ($[133] !== t) {
2744
2743
  t47 = t("storage_placeholder_file_name");
2745
- $[134] = t;
2746
- $[135] = t47;
2744
+ $[133] = t;
2745
+ $[134] = t47;
2747
2746
  } else {
2748
- t47 = $[135];
2747
+ t47 = $[134];
2749
2748
  }
2750
2749
  let t48;
2751
- if ($[136] !== t47) {
2750
+ if ($[135] !== t47) {
2752
2751
  t48 = /* @__PURE__ */ jsx("li", { children: t47 });
2753
- $[136] = t47;
2754
- $[137] = t48;
2752
+ $[135] = t47;
2753
+ $[136] = t48;
2755
2754
  } else {
2756
- t48 = $[137];
2755
+ t48 = $[136];
2757
2756
  }
2758
2757
  let t49;
2759
- if ($[138] !== t) {
2758
+ if ($[137] !== t) {
2760
2759
  t49 = t("storage_placeholder_file_ext");
2761
- $[138] = t;
2762
- $[139] = t49;
2760
+ $[137] = t;
2761
+ $[138] = t49;
2763
2762
  } else {
2764
- t49 = $[139];
2763
+ t49 = $[138];
2765
2764
  }
2766
2765
  let t50;
2767
- if ($[140] !== t49) {
2766
+ if ($[139] !== t49) {
2768
2767
  t50 = /* @__PURE__ */ jsx("li", { children: t49 });
2769
- $[140] = t49;
2770
- $[141] = t50;
2768
+ $[139] = t49;
2769
+ $[140] = t50;
2771
2770
  } else {
2772
- t50 = $[141];
2771
+ t50 = $[140];
2773
2772
  }
2774
2773
  let t51;
2775
- if ($[142] !== t) {
2774
+ if ($[141] !== t) {
2776
2775
  t51 = t("storage_placeholder_entity_id");
2777
- $[142] = t;
2778
- $[143] = t51;
2776
+ $[141] = t;
2777
+ $[142] = t51;
2779
2778
  } else {
2780
- t51 = $[143];
2779
+ t51 = $[142];
2781
2780
  }
2782
2781
  let t52;
2783
- if ($[144] !== t51) {
2782
+ if ($[143] !== t51) {
2784
2783
  t52 = /* @__PURE__ */ jsx("li", { children: t51 });
2785
- $[144] = t51;
2786
- $[145] = t52;
2784
+ $[143] = t51;
2785
+ $[144] = t52;
2787
2786
  } else {
2788
- t52 = $[145];
2787
+ t52 = $[144];
2789
2788
  }
2790
2789
  let t53;
2791
- if ($[146] !== t) {
2790
+ if ($[145] !== t) {
2792
2791
  t53 = t("storage_placeholder_property_key");
2793
- $[146] = t;
2794
- $[147] = t53;
2792
+ $[145] = t;
2793
+ $[146] = t53;
2795
2794
  } else {
2796
- t53 = $[147];
2795
+ t53 = $[146];
2797
2796
  }
2798
2797
  let t54;
2799
- if ($[148] !== t53) {
2798
+ if ($[147] !== t53) {
2800
2799
  t54 = /* @__PURE__ */ jsx("li", { children: t53 });
2801
- $[148] = t53;
2802
- $[149] = t54;
2800
+ $[147] = t53;
2801
+ $[148] = t54;
2803
2802
  } else {
2804
- t54 = $[149];
2803
+ t54 = $[148];
2805
2804
  }
2806
2805
  let t55;
2807
- if ($[150] !== t) {
2806
+ if ($[149] !== t) {
2808
2807
  t55 = t("storage_placeholder_path");
2809
- $[150] = t;
2810
- $[151] = t55;
2808
+ $[149] = t;
2809
+ $[150] = t55;
2811
2810
  } else {
2812
- t55 = $[151];
2811
+ t55 = $[150];
2813
2812
  }
2814
2813
  let t56;
2815
- if ($[152] !== t55) {
2814
+ if ($[151] !== t55) {
2816
2815
  t56 = /* @__PURE__ */ jsx("li", { children: t55 });
2817
- $[152] = t55;
2818
- $[153] = t56;
2816
+ $[151] = t55;
2817
+ $[152] = t56;
2819
2818
  } else {
2820
- t56 = $[153];
2819
+ t56 = $[152];
2821
2820
  }
2822
2821
  let t57;
2823
- if ($[154] !== t) {
2822
+ if ($[153] !== t) {
2824
2823
  t57 = t("storage_placeholder_rand");
2825
- $[154] = t;
2826
- $[155] = t57;
2824
+ $[153] = t;
2825
+ $[154] = t57;
2827
2826
  } else {
2828
- t57 = $[155];
2827
+ t57 = $[154];
2829
2828
  }
2830
2829
  let t58;
2831
- if ($[156] !== t57) {
2830
+ if ($[155] !== t57) {
2832
2831
  t58 = /* @__PURE__ */ jsx("li", { children: t57 });
2833
- $[156] = t57;
2834
- $[157] = t58;
2832
+ $[155] = t57;
2833
+ $[156] = t58;
2835
2834
  } else {
2836
- t58 = $[157];
2835
+ t58 = $[156];
2837
2836
  }
2838
2837
  let t59;
2839
- if ($[158] !== t46 || $[159] !== t48 || $[160] !== t50 || $[161] !== t52 || $[162] !== t54 || $[163] !== t56 || $[164] !== t58) {
2838
+ if ($[157] !== t46 || $[158] !== t48 || $[159] !== t50 || $[160] !== t52 || $[161] !== t54 || $[162] !== t56 || $[163] !== t58) {
2840
2839
  t59 = /* @__PURE__ */ jsxs("ul", { children: [
2841
2840
  t46,
2842
2841
  t48,
@@ -2846,112 +2845,110 @@ function StoragePropertyField(t0) {
2846
2845
  t56,
2847
2846
  t58
2848
2847
  ] });
2849
- $[158] = t46;
2850
- $[159] = t48;
2851
- $[160] = t50;
2852
- $[161] = t52;
2853
- $[162] = t54;
2854
- $[163] = t56;
2855
- $[164] = t58;
2856
- $[165] = t59;
2848
+ $[157] = t46;
2849
+ $[158] = t48;
2850
+ $[159] = t50;
2851
+ $[160] = t52;
2852
+ $[161] = t54;
2853
+ $[162] = t56;
2854
+ $[163] = t58;
2855
+ $[164] = t59;
2857
2856
  } else {
2858
- t59 = $[165];
2857
+ t59 = $[164];
2859
2858
  }
2860
2859
  let t60;
2861
- if ($[166] !== t44 || $[167] !== t59) {
2860
+ if ($[165] !== t44 || $[166] !== t59) {
2862
2861
  t60 = /* @__PURE__ */ jsxs(Typography, { variant: "caption", className: "ml-3.5 mt-1 mb-2", children: [
2863
2862
  t44,
2864
2863
  t59
2865
2864
  ] });
2866
- $[166] = t44;
2867
- $[167] = t59;
2868
- $[168] = t60;
2865
+ $[165] = t44;
2866
+ $[166] = t59;
2867
+ $[167] = t60;
2869
2868
  } else {
2870
- t60 = $[168];
2869
+ t60 = $[167];
2871
2870
  }
2872
2871
  let t61;
2873
- if ($[169] !== disabled || $[170] !== existing || $[171] !== t) {
2872
+ if ($[168] !== disabled || $[169] !== t) {
2874
2873
  t61 = (t622) => {
2875
2874
  const {
2876
2875
  field,
2877
2876
  form
2878
2877
  } = t622;
2879
- return /* @__PURE__ */ jsx(SwitchControl, { label: t("include_bucket_url"), disabled: existing || disabled, form, field });
2878
+ return /* @__PURE__ */ jsx(SwitchControl, { label: t("include_bucket_url"), disabled, form, field });
2880
2879
  };
2881
- $[169] = disabled;
2882
- $[170] = existing;
2883
- $[171] = t;
2884
- $[172] = t61;
2880
+ $[168] = disabled;
2881
+ $[169] = t;
2882
+ $[170] = t61;
2885
2883
  } else {
2886
- t61 = $[172];
2884
+ t61 = $[170];
2887
2885
  }
2888
2886
  let t62;
2889
- if ($[173] !== includeBucketUrl || $[174] !== t61) {
2887
+ if ($[171] !== includeBucketUrl || $[172] !== t61) {
2890
2888
  t62 = /* @__PURE__ */ jsx(Field, { name: includeBucketUrl, type: "checkbox", children: t61 });
2891
- $[173] = includeBucketUrl;
2892
- $[174] = t61;
2893
- $[175] = t62;
2889
+ $[171] = includeBucketUrl;
2890
+ $[172] = t61;
2891
+ $[173] = t62;
2894
2892
  } else {
2895
- t62 = $[175];
2893
+ t62 = $[173];
2896
2894
  }
2897
2895
  let t63;
2898
- if ($[176] !== t) {
2896
+ if ($[174] !== t) {
2899
2897
  t63 = t("include_bucket_url_description");
2900
- $[176] = t;
2901
- $[177] = t63;
2898
+ $[174] = t;
2899
+ $[175] = t63;
2902
2900
  } else {
2903
- t63 = $[177];
2901
+ t63 = $[175];
2904
2902
  }
2905
2903
  let t64;
2906
- if ($[178] !== t63) {
2904
+ if ($[176] !== t63) {
2907
2905
  t64 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "ml-3.5 mt-1 mb-2", children: t63 });
2908
- $[178] = t63;
2909
- $[179] = t64;
2906
+ $[176] = t63;
2907
+ $[177] = t64;
2910
2908
  } else {
2911
- t64 = $[179];
2909
+ t64 = $[177];
2912
2910
  }
2913
2911
  let t65;
2914
- if ($[180] !== disabled || $[181] !== existing || $[182] !== t) {
2912
+ if ($[178] !== disabled || $[179] !== t) {
2915
2913
  t65 = (t662) => {
2916
2914
  const {
2917
2915
  field: field_0,
2918
2916
  form: form_0
2919
2917
  } = t662;
2920
- return /* @__PURE__ */ jsx(SwitchControl, { label: t("save_url_instead_of_path"), disabled: existing || disabled, form: form_0, field: field_0 });
2918
+ return /* @__PURE__ */ jsx(SwitchControl, { label: t("save_url_instead_of_path"), disabled, form: form_0, field: field_0 });
2921
2919
  };
2922
- $[180] = disabled;
2923
- $[181] = existing;
2924
- $[182] = t;
2925
- $[183] = t65;
2920
+ $[178] = disabled;
2921
+ $[179] = t;
2922
+ $[180] = t65;
2926
2923
  } else {
2927
- t65 = $[183];
2924
+ t65 = $[180];
2928
2925
  }
2929
2926
  let t66;
2930
- if ($[184] !== storeUrl || $[185] !== t65) {
2927
+ if ($[181] !== storeUrl || $[182] !== t65) {
2931
2928
  t66 = /* @__PURE__ */ jsx(Field, { name: storeUrl, type: "checkbox", children: t65 });
2932
- $[184] = storeUrl;
2933
- $[185] = t65;
2934
- $[186] = t66;
2929
+ $[181] = storeUrl;
2930
+ $[182] = t65;
2931
+ $[183] = t66;
2935
2932
  } else {
2936
- t66 = $[186];
2933
+ t66 = $[183];
2937
2934
  }
2938
2935
  let t67;
2939
- if ($[187] !== t) {
2936
+ if ($[184] !== t) {
2940
2937
  t67 = t("save_url_description");
2941
- $[187] = t;
2942
- $[188] = t67;
2938
+ $[184] = t;
2939
+ $[185] = t67;
2943
2940
  } else {
2944
- t67 = $[188];
2941
+ t67 = $[185];
2945
2942
  }
2946
2943
  let t68;
2947
- if ($[189] !== t67) {
2944
+ if ($[186] !== t67) {
2948
2945
  t68 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "ml-3.5 mt-1 mb-2", children: t67 });
2949
- $[189] = t67;
2950
- $[190] = t68;
2946
+ $[186] = t67;
2947
+ $[187] = t68;
2951
2948
  } else {
2952
- t68 = $[190];
2949
+ t68 = $[187];
2953
2950
  }
2954
- if ($[191] !== t42 || $[192] !== t60 || $[193] !== t62 || $[194] !== t64 || $[195] !== t66 || $[196] !== t68) {
2951
+ if ($[188] !== t42 || $[189] !== t60 || $[190] !== t62 || $[191] !== t64 || $[192] !== t66 || $[193] !== t68) {
2955
2952
  t13 = /* @__PURE__ */ jsxs("div", { className: "col-span-12", children: [
2956
2953
  t42,
2957
2954
  t60,
@@ -2960,27 +2957,27 @@ function StoragePropertyField(t0) {
2960
2957
  t66,
2961
2958
  t68
2962
2959
  ] });
2963
- $[191] = t42;
2964
- $[192] = t60;
2965
- $[193] = t62;
2966
- $[194] = t64;
2967
- $[195] = t66;
2968
- $[196] = t68;
2969
- $[197] = t13;
2960
+ $[188] = t42;
2961
+ $[189] = t60;
2962
+ $[190] = t62;
2963
+ $[191] = t64;
2964
+ $[192] = t66;
2965
+ $[193] = t68;
2966
+ $[194] = t13;
2970
2967
  } else {
2971
- t13 = $[197];
2968
+ t13 = $[194];
2972
2969
  }
2973
2970
  let t69;
2974
- if ($[198] !== t) {
2971
+ if ($[195] !== t) {
2975
2972
  t69 = t("max_size_bytes");
2976
- $[198] = t;
2977
- $[199] = t69;
2973
+ $[195] = t;
2974
+ $[196] = t69;
2978
2975
  } else {
2979
- t69 = $[199];
2976
+ t69 = $[196];
2980
2977
  }
2981
2978
  const t70 = maxSizeValue !== void 0 && maxSizeValue !== null ? maxSizeValue.toString() : "";
2982
2979
  let t71;
2983
- if ($[200] !== maxSize || $[201] !== setFieldValue) {
2980
+ if ($[197] !== maxSize || $[198] !== setFieldValue) {
2984
2981
  t71 = (e_0) => {
2985
2982
  const value_1 = e_0.target.value;
2986
2983
  if (value_1 === "") {
@@ -2989,76 +2986,76 @@ function StoragePropertyField(t0) {
2989
2986
  setFieldValue(maxSize, parseInt(value_1));
2990
2987
  }
2991
2988
  };
2992
- $[200] = maxSize;
2993
- $[201] = setFieldValue;
2994
- $[202] = t71;
2989
+ $[197] = maxSize;
2990
+ $[198] = setFieldValue;
2991
+ $[199] = t71;
2995
2992
  } else {
2996
- t71 = $[202];
2993
+ t71 = $[199];
2997
2994
  }
2998
- if ($[203] !== maxSize || $[204] !== t69 || $[205] !== t70 || $[206] !== t71) {
2995
+ if ($[200] !== maxSize || $[201] !== t69 || $[202] !== t70 || $[203] !== t71) {
2999
2996
  t14 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(DebouncedTextField, { name: maxSize, type: "number", label: t69, size: "small", value: t70, onChange: t71 }) });
3000
- $[203] = maxSize;
3001
- $[204] = t69;
3002
- $[205] = t70;
3003
- $[206] = t71;
3004
- $[207] = t14;
2997
+ $[200] = maxSize;
2998
+ $[201] = t69;
2999
+ $[202] = t70;
3000
+ $[203] = t71;
3001
+ $[204] = t14;
3005
3002
  } else {
3006
- t14 = $[207];
3003
+ t14 = $[204];
3007
3004
  }
3008
3005
  let t72;
3009
- if ($[208] !== t) {
3006
+ if ($[205] !== t) {
3010
3007
  t72 = t("image_resize_configuration");
3011
- $[208] = t;
3012
- $[209] = t72;
3008
+ $[205] = t;
3009
+ $[206] = t72;
3013
3010
  } else {
3014
- t72 = $[209];
3011
+ t72 = $[206];
3015
3012
  }
3016
3013
  let t73;
3017
- if ($[210] !== t72) {
3014
+ if ($[207] !== t72) {
3018
3015
  t73 = /* @__PURE__ */ jsx(Typography, { variant: "subtitle2", color: "secondary", className: "mb-2 block", children: t72 });
3019
- $[210] = t72;
3020
- $[211] = t73;
3016
+ $[207] = t72;
3017
+ $[208] = t73;
3021
3018
  } else {
3022
- t73 = $[211];
3019
+ t73 = $[208];
3023
3020
  }
3024
3021
  let t74;
3025
- if ($[212] !== t) {
3022
+ if ($[209] !== t) {
3026
3023
  t74 = t("image_resize_description");
3027
- $[212] = t;
3028
- $[213] = t74;
3024
+ $[209] = t;
3025
+ $[210] = t74;
3029
3026
  } else {
3030
- t74 = $[213];
3027
+ t74 = $[210];
3031
3028
  }
3032
3029
  let t75;
3033
- if ($[214] !== t74) {
3030
+ if ($[211] !== t74) {
3034
3031
  t75 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "mb-2 block text-xs", children: t74 });
3035
- $[214] = t74;
3036
- $[215] = t75;
3032
+ $[211] = t74;
3033
+ $[212] = t75;
3037
3034
  } else {
3038
- t75 = $[215];
3035
+ t75 = $[212];
3039
3036
  }
3040
- if ($[216] !== t73 || $[217] !== t75) {
3037
+ if ($[213] !== t73 || $[214] !== t75) {
3041
3038
  t15 = /* @__PURE__ */ jsxs("div", { className: "col-span-12 mt-4", children: [
3042
3039
  t73,
3043
3040
  t75
3044
3041
  ] });
3045
- $[216] = t73;
3046
- $[217] = t75;
3047
- $[218] = t15;
3042
+ $[213] = t73;
3043
+ $[214] = t75;
3044
+ $[215] = t15;
3048
3045
  } else {
3049
- t15 = $[218];
3046
+ t15 = $[215];
3050
3047
  }
3051
3048
  let t76;
3052
- if ($[219] !== t) {
3049
+ if ($[216] !== t) {
3053
3050
  t76 = t("max_width_px");
3054
- $[219] = t;
3055
- $[220] = t76;
3051
+ $[216] = t;
3052
+ $[217] = t76;
3056
3053
  } else {
3057
- t76 = $[220];
3054
+ t76 = $[217];
3058
3055
  }
3059
3056
  const t77 = imageResizeMaxWidthValue !== void 0 && imageResizeMaxWidthValue !== null ? imageResizeMaxWidthValue.toString() : "";
3060
3057
  let t78;
3061
- if ($[221] !== imageResizeMaxWidth || $[222] !== setFieldValue) {
3058
+ if ($[218] !== imageResizeMaxWidth || $[219] !== setFieldValue) {
3062
3059
  t78 = (e_1) => {
3063
3060
  const value_2 = e_1.target.value;
3064
3061
  if (value_2 === "") {
@@ -3067,34 +3064,34 @@ function StoragePropertyField(t0) {
3067
3064
  setFieldValue(imageResizeMaxWidth, parseInt(value_2));
3068
3065
  }
3069
3066
  };
3070
- $[221] = imageResizeMaxWidth;
3071
- $[222] = setFieldValue;
3072
- $[223] = t78;
3067
+ $[218] = imageResizeMaxWidth;
3068
+ $[219] = setFieldValue;
3069
+ $[220] = t78;
3073
3070
  } else {
3074
- t78 = $[223];
3071
+ t78 = $[220];
3075
3072
  }
3076
- if ($[224] !== disabled || $[225] !== imageResizeMaxWidth || $[226] !== t76 || $[227] !== t77 || $[228] !== t78) {
3073
+ if ($[221] !== disabled || $[222] !== imageResizeMaxWidth || $[223] !== t76 || $[224] !== t77 || $[225] !== t78) {
3077
3074
  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 }) });
3078
- $[224] = disabled;
3079
- $[225] = imageResizeMaxWidth;
3080
- $[226] = t76;
3081
- $[227] = t77;
3082
- $[228] = t78;
3083
- $[229] = t16;
3075
+ $[221] = disabled;
3076
+ $[222] = imageResizeMaxWidth;
3077
+ $[223] = t76;
3078
+ $[224] = t77;
3079
+ $[225] = t78;
3080
+ $[226] = t16;
3084
3081
  } else {
3085
- t16 = $[229];
3082
+ t16 = $[226];
3086
3083
  }
3087
3084
  let t79;
3088
- if ($[230] !== t) {
3085
+ if ($[227] !== t) {
3089
3086
  t79 = t("max_height_px");
3090
- $[230] = t;
3091
- $[231] = t79;
3087
+ $[227] = t;
3088
+ $[228] = t79;
3092
3089
  } else {
3093
- t79 = $[231];
3090
+ t79 = $[228];
3094
3091
  }
3095
3092
  const t80 = imageResizeMaxHeightValue !== void 0 && imageResizeMaxHeightValue !== null ? imageResizeMaxHeightValue.toString() : "";
3096
3093
  let t81;
3097
- if ($[232] !== imageResizeMaxHeight || $[233] !== setFieldValue) {
3094
+ if ($[229] !== imageResizeMaxHeight || $[230] !== setFieldValue) {
3098
3095
  t81 = (e_2) => {
3099
3096
  const value_3 = e_2.target.value;
3100
3097
  if (value_3 === "") {
@@ -3103,274 +3100,273 @@ function StoragePropertyField(t0) {
3103
3100
  setFieldValue(imageResizeMaxHeight, parseInt(value_3));
3104
3101
  }
3105
3102
  };
3106
- $[232] = imageResizeMaxHeight;
3107
- $[233] = setFieldValue;
3108
- $[234] = t81;
3103
+ $[229] = imageResizeMaxHeight;
3104
+ $[230] = setFieldValue;
3105
+ $[231] = t81;
3109
3106
  } else {
3110
- t81 = $[234];
3107
+ t81 = $[231];
3111
3108
  }
3112
- if ($[235] !== disabled || $[236] !== imageResizeMaxHeight || $[237] !== t79 || $[238] !== t80 || $[239] !== t81) {
3109
+ if ($[232] !== disabled || $[233] !== imageResizeMaxHeight || $[234] !== t79 || $[235] !== t80 || $[236] !== t81) {
3113
3110
  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 }) });
3114
- $[235] = disabled;
3115
- $[236] = imageResizeMaxHeight;
3116
- $[237] = t79;
3117
- $[238] = t80;
3118
- $[239] = t81;
3119
- $[240] = t17;
3111
+ $[232] = disabled;
3112
+ $[233] = imageResizeMaxHeight;
3113
+ $[234] = t79;
3114
+ $[235] = t80;
3115
+ $[236] = t81;
3116
+ $[237] = t17;
3120
3117
  } else {
3121
- t17 = $[240];
3118
+ t17 = $[237];
3122
3119
  }
3123
3120
  const t82 = imageResizeModeValue || "cover";
3124
3121
  let t83;
3125
- if ($[241] !== imageResizeMode || $[242] !== setFieldValue) {
3122
+ if ($[238] !== imageResizeMode || $[239] !== setFieldValue) {
3126
3123
  t83 = (value_4) => setFieldValue(imageResizeMode, value_4 || "cover");
3127
- $[241] = imageResizeMode;
3128
- $[242] = setFieldValue;
3129
- $[243] = t83;
3124
+ $[238] = imageResizeMode;
3125
+ $[239] = setFieldValue;
3126
+ $[240] = t83;
3130
3127
  } else {
3131
- t83 = $[243];
3128
+ t83 = $[240];
3132
3129
  }
3133
3130
  let t84;
3134
- if ($[244] !== t) {
3131
+ if ($[241] !== t) {
3135
3132
  t84 = t("resize_mode");
3136
- $[244] = t;
3137
- $[245] = t84;
3133
+ $[241] = t;
3134
+ $[242] = t84;
3138
3135
  } else {
3139
- t84 = $[245];
3136
+ t84 = $[242];
3140
3137
  }
3141
3138
  let t85;
3142
- if ($[246] !== t) {
3139
+ if ($[243] !== t) {
3143
3140
  t85 = (selected_0) => {
3144
3141
  if (!selected_0) {
3145
3142
  return t("resize_cover");
3146
3143
  }
3147
3144
  return selected_0 === "contain" ? t("resize_contain_description") : t("resize_cover_description");
3148
3145
  };
3149
- $[246] = t;
3150
- $[247] = t85;
3146
+ $[243] = t;
3147
+ $[244] = t85;
3151
3148
  } else {
3152
- t85 = $[247];
3149
+ t85 = $[244];
3153
3150
  }
3154
3151
  let t86;
3155
- if ($[248] !== t) {
3152
+ if ($[245] !== t) {
3156
3153
  t86 = t("resize_contain_description");
3157
- $[248] = t;
3158
- $[249] = t86;
3154
+ $[245] = t;
3155
+ $[246] = t86;
3159
3156
  } else {
3160
- t86 = $[249];
3157
+ t86 = $[246];
3161
3158
  }
3162
3159
  let t87;
3163
- if ($[250] !== t86) {
3160
+ if ($[247] !== t86) {
3164
3161
  t87 = /* @__PURE__ */ jsx(SelectItem, { value: "contain", children: t86 });
3165
- $[250] = t86;
3166
- $[251] = t87;
3162
+ $[247] = t86;
3163
+ $[248] = t87;
3167
3164
  } else {
3168
- t87 = $[251];
3165
+ t87 = $[248];
3169
3166
  }
3170
3167
  let t88;
3171
- if ($[252] !== t) {
3168
+ if ($[249] !== t) {
3172
3169
  t88 = t("resize_cover_description");
3173
- $[252] = t;
3174
- $[253] = t88;
3170
+ $[249] = t;
3171
+ $[250] = t88;
3175
3172
  } else {
3176
- t88 = $[253];
3173
+ t88 = $[250];
3177
3174
  }
3178
3175
  let t89;
3179
- if ($[254] !== t88) {
3176
+ if ($[251] !== t88) {
3180
3177
  t89 = /* @__PURE__ */ jsx(SelectItem, { value: "cover", children: t88 });
3181
- $[254] = t88;
3182
- $[255] = t89;
3178
+ $[251] = t88;
3179
+ $[252] = t89;
3183
3180
  } else {
3184
- t89 = $[255];
3181
+ t89 = $[252];
3185
3182
  }
3186
- if ($[256] !== disabled || $[257] !== imageResizeMode || $[258] !== t82 || $[259] !== t83 || $[260] !== t84 || $[261] !== t85 || $[262] !== t87 || $[263] !== t89) {
3183
+ if ($[253] !== disabled || $[254] !== imageResizeMode || $[255] !== t82 || $[256] !== t83 || $[257] !== t84 || $[258] !== t85 || $[259] !== t87 || $[260] !== t89) {
3187
3184
  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: [
3188
3185
  t87,
3189
3186
  t89
3190
3187
  ] }) });
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;
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;
3200
3197
  } else {
3201
- t18 = $[264];
3198
+ t18 = $[261];
3202
3199
  }
3203
3200
  const t90 = imageResizeFormatValue || "original";
3204
3201
  let t91;
3205
- if ($[265] !== imageResizeFormat || $[266] !== setFieldValue) {
3202
+ if ($[262] !== imageResizeFormat || $[263] !== setFieldValue) {
3206
3203
  t91 = (value_5) => setFieldValue(imageResizeFormat, value_5 || "original");
3207
- $[265] = imageResizeFormat;
3208
- $[266] = setFieldValue;
3209
- $[267] = t91;
3204
+ $[262] = imageResizeFormat;
3205
+ $[263] = setFieldValue;
3206
+ $[264] = t91;
3210
3207
  } else {
3211
- t91 = $[267];
3208
+ t91 = $[264];
3212
3209
  }
3213
3210
  let t92;
3214
- if ($[268] !== t) {
3211
+ if ($[265] !== t) {
3215
3212
  t92 = t("output_format");
3216
- $[268] = t;
3217
- $[269] = t92;
3213
+ $[265] = t;
3214
+ $[266] = t92;
3218
3215
  } else {
3219
- t92 = $[269];
3216
+ t92 = $[266];
3220
3217
  }
3221
3218
  let t93;
3222
- if ($[270] !== t) {
3219
+ if ($[267] !== t) {
3223
3220
  t93 = (selected_1) => {
3224
3221
  if (!selected_1) {
3225
3222
  return t("format_original");
3226
3223
  }
3227
3224
  return selected_1.charAt(0).toUpperCase() + selected_1.slice(1);
3228
3225
  };
3229
- $[270] = t;
3230
- $[271] = t93;
3226
+ $[267] = t;
3227
+ $[268] = t93;
3231
3228
  } else {
3232
- t93 = $[271];
3229
+ t93 = $[268];
3233
3230
  }
3234
3231
  let t94;
3235
- if ($[272] !== t) {
3232
+ if ($[269] !== t) {
3236
3233
  t94 = t("format_original_description");
3237
- $[272] = t;
3238
- $[273] = t94;
3234
+ $[269] = t;
3235
+ $[270] = t94;
3239
3236
  } else {
3240
- t94 = $[273];
3237
+ t94 = $[270];
3241
3238
  }
3242
3239
  let t95;
3243
- if ($[274] !== t94) {
3240
+ if ($[271] !== t94) {
3244
3241
  t95 = /* @__PURE__ */ jsx(SelectItem, { value: "original", children: t94 });
3245
- $[274] = t94;
3246
- $[275] = t95;
3242
+ $[271] = t94;
3243
+ $[272] = t95;
3247
3244
  } else {
3248
- t95 = $[275];
3245
+ t95 = $[272];
3249
3246
  }
3250
3247
  let t96;
3251
3248
  let t97;
3252
- if ($[276] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
3249
+ if ($[273] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
3253
3250
  t96 = /* @__PURE__ */ jsx(SelectItem, { value: "jpeg", children: "JPEG" });
3254
3251
  t97 = /* @__PURE__ */ jsx(SelectItem, { value: "png", children: "PNG" });
3255
- $[276] = t96;
3256
- $[277] = t97;
3252
+ $[273] = t96;
3253
+ $[274] = t97;
3257
3254
  } else {
3258
- t96 = $[276];
3259
- t97 = $[277];
3255
+ t96 = $[273];
3256
+ t97 = $[274];
3260
3257
  }
3261
3258
  let t98;
3262
- if ($[278] !== t) {
3259
+ if ($[275] !== t) {
3263
3260
  t98 = t("format_webp_description");
3264
- $[278] = t;
3265
- $[279] = t98;
3261
+ $[275] = t;
3262
+ $[276] = t98;
3266
3263
  } else {
3267
- t98 = $[279];
3264
+ t98 = $[276];
3268
3265
  }
3269
3266
  let t99;
3270
- if ($[280] !== t98) {
3267
+ if ($[277] !== t98) {
3271
3268
  t99 = /* @__PURE__ */ jsx(SelectItem, { value: "webp", children: t98 });
3272
- $[280] = t98;
3273
- $[281] = t99;
3269
+ $[277] = t98;
3270
+ $[278] = t99;
3274
3271
  } else {
3275
- t99 = $[281];
3272
+ t99 = $[278];
3276
3273
  }
3277
- if ($[282] !== disabled || $[283] !== imageResizeFormat || $[284] !== t90 || $[285] !== t91 || $[286] !== t92 || $[287] !== t93 || $[288] !== t95 || $[289] !== t99) {
3274
+ if ($[279] !== disabled || $[280] !== imageResizeFormat || $[281] !== t90 || $[282] !== t91 || $[283] !== t92 || $[284] !== t93 || $[285] !== t95 || $[286] !== t99) {
3278
3275
  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: [
3279
3276
  t95,
3280
3277
  t96,
3281
3278
  t97,
3282
3279
  t99
3283
3280
  ] }) });
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;
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;
3293
3290
  } else {
3294
- t19 = $[290];
3291
+ t19 = $[287];
3295
3292
  }
3296
3293
  t9 = "col-span-12";
3297
3294
  T0 = DebouncedTextField;
3298
3295
  t3 = imageResizeQuality;
3299
3296
  t4 = "number";
3300
- if ($[291] !== t) {
3297
+ if ($[288] !== t) {
3301
3298
  t5 = t("quality_label");
3302
- $[291] = t;
3303
- $[292] = t5;
3299
+ $[288] = t;
3300
+ $[289] = t5;
3304
3301
  } else {
3305
- t5 = $[292];
3302
+ t5 = $[289];
3306
3303
  }
3307
3304
  t6 = "small";
3308
3305
  t7 = disabled;
3309
3306
  t8 = imageResizeQualityValue !== void 0 && imageResizeQualityValue !== null ? imageResizeQualityValue.toString() : "";
3310
3307
  $[6] = acceptedFiles;
3311
3308
  $[7] = disabled;
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];
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];
3371
3367
  }
3372
3368
  let t22;
3373
- if ($[293] !== imageResizeQuality || $[294] !== setFieldValue) {
3369
+ if ($[290] !== imageResizeQuality || $[291] !== setFieldValue) {
3374
3370
  t22 = (e_3) => {
3375
3371
  const value_6 = e_3.target.value;
3376
3372
  if (value_6 === "") {
@@ -3382,58 +3378,58 @@ function StoragePropertyField(t0) {
3382
3378
  }
3383
3379
  }
3384
3380
  };
3385
- $[293] = imageResizeQuality;
3386
- $[294] = setFieldValue;
3387
- $[295] = t22;
3381
+ $[290] = imageResizeQuality;
3382
+ $[291] = setFieldValue;
3383
+ $[292] = t22;
3388
3384
  } else {
3389
- t22 = $[295];
3385
+ t22 = $[292];
3390
3386
  }
3391
3387
  let t23;
3392
- if ($[296] !== T0 || $[297] !== t22 || $[298] !== t3 || $[299] !== t4 || $[300] !== t5 || $[301] !== t6 || $[302] !== t7 || $[303] !== t8) {
3388
+ if ($[293] !== T0 || $[294] !== t22 || $[295] !== t3 || $[296] !== t4 || $[297] !== t5 || $[298] !== t6 || $[299] !== t7 || $[300] !== t8) {
3393
3389
  t23 = /* @__PURE__ */ jsx(T0, { name: t3, type: t4, label: t5, size: t6, disabled: t7, value: t8, onChange: t22 });
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];
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];
3405
3401
  }
3406
3402
  let t24;
3407
- if ($[305] !== t) {
3403
+ if ($[302] !== t) {
3408
3404
  t24 = t("quality_hint");
3409
- $[305] = t;
3410
- $[306] = t24;
3405
+ $[302] = t;
3406
+ $[303] = t24;
3411
3407
  } else {
3412
- t24 = $[306];
3408
+ t24 = $[303];
3413
3409
  }
3414
3410
  let t25;
3415
- if ($[307] !== t24) {
3411
+ if ($[304] !== t24) {
3416
3412
  t25 = /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "ml-3.5 mt-1 mb-2", children: t24 });
3417
- $[307] = t24;
3418
- $[308] = t25;
3413
+ $[304] = t24;
3414
+ $[305] = t25;
3419
3415
  } else {
3420
- t25 = $[308];
3416
+ t25 = $[305];
3421
3417
  }
3422
3418
  let t26;
3423
- if ($[309] !== t23 || $[310] !== t25 || $[311] !== t9) {
3419
+ if ($[306] !== t23 || $[307] !== t25 || $[308] !== t9) {
3424
3420
  t26 = /* @__PURE__ */ jsxs("div", { className: t9, children: [
3425
3421
  t23,
3426
3422
  t25
3427
3423
  ] });
3428
- $[309] = t23;
3429
- $[310] = t25;
3430
- $[311] = t9;
3431
- $[312] = t26;
3424
+ $[306] = t23;
3425
+ $[307] = t25;
3426
+ $[308] = t9;
3427
+ $[309] = t26;
3432
3428
  } else {
3433
- t26 = $[312];
3429
+ t26 = $[309];
3434
3430
  }
3435
3431
  let t27;
3436
- if ($[313] !== t10 || $[314] !== t11 || $[315] !== t12 || $[316] !== t13 || $[317] !== t14 || $[318] !== t15 || $[319] !== t16 || $[320] !== t17 || $[321] !== t18 || $[322] !== t19 || $[323] !== t26) {
3432
+ if ($[310] !== t10 || $[311] !== t11 || $[312] !== t12 || $[313] !== t13 || $[314] !== t14 || $[315] !== t15 || $[316] !== t16 || $[317] !== t17 || $[318] !== t18 || $[319] !== t19 || $[320] !== t26) {
3437
3433
  t27 = /* @__PURE__ */ jsxs("div", { className: t10, children: [
3438
3434
  t11,
3439
3435
  t12,
@@ -3446,81 +3442,81 @@ function StoragePropertyField(t0) {
3446
3442
  t19,
3447
3443
  t26
3448
3444
  ] });
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];
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];
3463
3459
  }
3464
3460
  let t28;
3465
- if ($[325] !== T1 || $[326] !== t20 || $[327] !== t27) {
3461
+ if ($[322] !== T1 || $[323] !== t20 || $[324] !== t27) {
3466
3462
  t28 = /* @__PURE__ */ jsx(T1, { title: t20, children: t27 });
3467
- $[325] = T1;
3468
- $[326] = t20;
3469
- $[327] = t27;
3470
- $[328] = t28;
3463
+ $[322] = T1;
3464
+ $[323] = t20;
3465
+ $[324] = t27;
3466
+ $[325] = t28;
3471
3467
  } else {
3472
- t28 = $[328];
3468
+ t28 = $[325];
3473
3469
  }
3474
3470
  let t29;
3475
- if ($[329] !== t21 || $[330] !== t28) {
3471
+ if ($[326] !== t21 || $[327] !== t28) {
3476
3472
  t29 = /* @__PURE__ */ jsx("div", { className: t21, children: t28 });
3477
- $[329] = t21;
3478
- $[330] = t28;
3479
- $[331] = t29;
3473
+ $[326] = t21;
3474
+ $[327] = t28;
3475
+ $[328] = t29;
3480
3476
  } else {
3481
- t29 = $[331];
3477
+ t29 = $[328];
3482
3478
  }
3483
3479
  let t30;
3484
- if ($[332] !== disabled || $[333] !== multiple) {
3480
+ if ($[329] !== disabled || $[330] !== multiple) {
3485
3481
  t30 = !multiple && /* @__PURE__ */ jsx("div", { className: "grid grid-cols-12 gap-2", children: /* @__PURE__ */ jsx(GeneralPropertyValidation, { disabled }) });
3486
- $[332] = disabled;
3487
- $[333] = multiple;
3488
- $[334] = t30;
3482
+ $[329] = disabled;
3483
+ $[330] = multiple;
3484
+ $[331] = t30;
3489
3485
  } else {
3490
- t30 = $[334];
3486
+ t30 = $[331];
3491
3487
  }
3492
3488
  let t31;
3493
- if ($[335] !== disabled || $[336] !== multiple) {
3489
+ if ($[332] !== disabled || $[333] !== multiple) {
3494
3490
  t31 = multiple && /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(ArrayPropertyValidation, { disabled }) });
3495
- $[335] = disabled;
3496
- $[336] = multiple;
3497
- $[337] = t31;
3491
+ $[332] = disabled;
3492
+ $[333] = multiple;
3493
+ $[334] = t31;
3498
3494
  } else {
3499
- t31 = $[337];
3495
+ t31 = $[334];
3500
3496
  }
3501
3497
  let t32;
3502
- if ($[338] !== t30 || $[339] !== t31) {
3498
+ if ($[335] !== t30 || $[336] !== t31) {
3503
3499
  t32 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsxs(ValidationPanel, { children: [
3504
3500
  t30,
3505
3501
  t31
3506
3502
  ] }) });
3507
- $[338] = t30;
3508
- $[339] = t31;
3509
- $[340] = t32;
3503
+ $[335] = t30;
3504
+ $[336] = t31;
3505
+ $[337] = t32;
3510
3506
  } else {
3511
- t32 = $[340];
3507
+ t32 = $[337];
3512
3508
  }
3513
3509
  let t33;
3514
- if ($[341] !== t29 || $[342] !== t32) {
3510
+ if ($[338] !== t29 || $[339] !== t32) {
3515
3511
  t33 = /* @__PURE__ */ jsxs(Fragment, { children: [
3516
3512
  t29,
3517
3513
  t32
3518
3514
  ] });
3519
- $[341] = t29;
3520
- $[342] = t32;
3521
- $[343] = t33;
3515
+ $[338] = t29;
3516
+ $[339] = t32;
3517
+ $[340] = t33;
3522
3518
  } else {
3523
- t33 = $[343];
3519
+ t33 = $[340];
3524
3520
  }
3525
3521
  return t33;
3526
3522
  }
@@ -10374,7 +10370,7 @@ function PropertyFormDialog(t0) {
10374
10370
  return t12;
10375
10371
  }
10376
10372
  function PropertyEditFormFields(t0) {
10377
- const $ = c(155);
10373
+ const $ = c(153);
10378
10374
  const {
10379
10375
  values,
10380
10376
  errors,
@@ -10582,155 +10578,153 @@ function PropertyEditFormFields(t0) {
10582
10578
  } else {
10583
10579
  if (selectedFieldConfigId === "file_upload") {
10584
10580
  let t102;
10585
- if ($[51] !== disabled || $[52] !== existing) {
10586
- t102 = /* @__PURE__ */ jsx(StoragePropertyField, { existing, multiple: false, disabled });
10581
+ if ($[51] !== disabled) {
10582
+ t102 = /* @__PURE__ */ jsx(StoragePropertyField, { multiple: false, disabled });
10587
10583
  $[51] = disabled;
10588
- $[52] = existing;
10589
- $[53] = t102;
10584
+ $[52] = t102;
10590
10585
  } else {
10591
- t102 = $[53];
10586
+ t102 = $[52];
10592
10587
  }
10593
10588
  childComponent = t102;
10594
10589
  } else {
10595
10590
  if (selectedFieldConfigId === "multi_file_upload") {
10596
10591
  let 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;
10592
+ if ($[53] !== disabled) {
10593
+ t102 = /* @__PURE__ */ jsx(StoragePropertyField, { multiple: true, disabled });
10594
+ $[53] = disabled;
10595
+ $[54] = t102;
10602
10596
  } else {
10603
- t102 = $[56];
10597
+ t102 = $[54];
10604
10598
  }
10605
10599
  childComponent = t102;
10606
10600
  } else {
10607
10601
  if (selectedFieldConfigId === "switch") {
10608
10602
  let t102;
10609
- if ($[57] !== disabled) {
10603
+ if ($[55] !== disabled) {
10610
10604
  t102 = /* @__PURE__ */ jsx(BooleanPropertyField, { disabled });
10611
- $[57] = disabled;
10612
- $[58] = t102;
10605
+ $[55] = disabled;
10606
+ $[56] = t102;
10613
10607
  } else {
10614
- t102 = $[58];
10608
+ t102 = $[56];
10615
10609
  }
10616
10610
  childComponent = t102;
10617
10611
  } else {
10618
10612
  if (selectedFieldConfigId === "number_input") {
10619
10613
  let t102;
10620
- if ($[59] !== disabled) {
10614
+ if ($[57] !== disabled) {
10621
10615
  t102 = /* @__PURE__ */ jsx(NumberPropertyField, { disabled });
10622
- $[59] = disabled;
10623
- $[60] = t102;
10616
+ $[57] = disabled;
10617
+ $[58] = t102;
10624
10618
  } else {
10625
- t102 = $[60];
10619
+ t102 = $[58];
10626
10620
  }
10627
10621
  childComponent = t102;
10628
10622
  } else {
10629
10623
  if (selectedFieldConfigId === "group") {
10630
10624
  let t102;
10631
- if ($[61] !== allowDataInference || $[62] !== collectionEditable || $[63] !== disabled || $[64] !== getData || $[65] !== propertyConfigs) {
10625
+ if ($[59] !== allowDataInference || $[60] !== collectionEditable || $[61] !== disabled || $[62] !== getData || $[63] !== propertyConfigs) {
10632
10626
  t102 = /* @__PURE__ */ jsx(MapPropertyField, { disabled, getData, allowDataInference, collectionEditable, propertyConfigs });
10633
- $[61] = allowDataInference;
10634
- $[62] = collectionEditable;
10635
- $[63] = disabled;
10636
- $[64] = getData;
10637
- $[65] = propertyConfigs;
10638
- $[66] = t102;
10627
+ $[59] = allowDataInference;
10628
+ $[60] = collectionEditable;
10629
+ $[61] = disabled;
10630
+ $[62] = getData;
10631
+ $[63] = propertyConfigs;
10632
+ $[64] = t102;
10639
10633
  } else {
10640
- t102 = $[66];
10634
+ t102 = $[64];
10641
10635
  }
10642
10636
  childComponent = t102;
10643
10637
  } else {
10644
10638
  if (selectedFieldConfigId === "block") {
10645
10639
  let t102;
10646
- if ($[67] !== allowDataInference || $[68] !== collectionEditable || $[69] !== disabled || $[70] !== getData || $[71] !== propertyConfigs) {
10640
+ if ($[65] !== allowDataInference || $[66] !== collectionEditable || $[67] !== disabled || $[68] !== getData || $[69] !== propertyConfigs) {
10647
10641
  t102 = /* @__PURE__ */ jsx(BlockPropertyField, { disabled, getData, allowDataInference, collectionEditable, propertyConfigs });
10648
- $[67] = allowDataInference;
10649
- $[68] = collectionEditable;
10650
- $[69] = disabled;
10651
- $[70] = getData;
10652
- $[71] = propertyConfigs;
10653
- $[72] = t102;
10642
+ $[65] = allowDataInference;
10643
+ $[66] = collectionEditable;
10644
+ $[67] = disabled;
10645
+ $[68] = getData;
10646
+ $[69] = propertyConfigs;
10647
+ $[70] = t102;
10654
10648
  } else {
10655
- t102 = $[72];
10649
+ t102 = $[70];
10656
10650
  }
10657
10651
  childComponent = t102;
10658
10652
  } else {
10659
10653
  if (selectedFieldConfigId === "reference") {
10660
10654
  let t102;
10661
- if ($[73] !== disabled || $[74] !== existing || $[75] !== showErrors) {
10655
+ if ($[71] !== disabled || $[72] !== existing || $[73] !== showErrors) {
10662
10656
  t102 = /* @__PURE__ */ jsx(ReferencePropertyField, { showErrors, existing, multiple: false, disabled });
10663
- $[73] = disabled;
10664
- $[74] = existing;
10665
- $[75] = showErrors;
10666
- $[76] = t102;
10657
+ $[71] = disabled;
10658
+ $[72] = existing;
10659
+ $[73] = showErrors;
10660
+ $[74] = t102;
10667
10661
  } else {
10668
- t102 = $[76];
10662
+ t102 = $[74];
10669
10663
  }
10670
10664
  childComponent = t102;
10671
10665
  } else {
10672
10666
  if (selectedFieldConfigId === "reference_as_string") {
10673
10667
  let t102;
10674
- if ($[77] !== disabled || $[78] !== existing || $[79] !== showErrors) {
10668
+ if ($[75] !== disabled || $[76] !== existing || $[77] !== showErrors) {
10675
10669
  t102 = /* @__PURE__ */ jsx(ReferencePropertyField, { showErrors, existing, asString: true, multiple: false, disabled });
10676
- $[77] = disabled;
10677
- $[78] = existing;
10678
- $[79] = showErrors;
10679
- $[80] = t102;
10670
+ $[75] = disabled;
10671
+ $[76] = existing;
10672
+ $[77] = showErrors;
10673
+ $[78] = t102;
10680
10674
  } else {
10681
- t102 = $[80];
10675
+ t102 = $[78];
10682
10676
  }
10683
10677
  childComponent = t102;
10684
10678
  } else {
10685
10679
  if (selectedFieldConfigId === "date_time") {
10686
10680
  let t102;
10687
- if ($[81] !== disabled) {
10681
+ if ($[79] !== disabled) {
10688
10682
  t102 = /* @__PURE__ */ jsx(DateTimePropertyField, { disabled });
10689
- $[81] = disabled;
10690
- $[82] = t102;
10683
+ $[79] = disabled;
10684
+ $[80] = t102;
10691
10685
  } else {
10692
- t102 = $[82];
10686
+ t102 = $[80];
10693
10687
  }
10694
10688
  childComponent = t102;
10695
10689
  } else {
10696
10690
  if (selectedFieldConfigId === "multi_references") {
10697
10691
  let t102;
10698
- if ($[83] !== disabled || $[84] !== existing || $[85] !== showErrors) {
10692
+ if ($[81] !== disabled || $[82] !== existing || $[83] !== showErrors) {
10699
10693
  t102 = /* @__PURE__ */ jsx(ReferencePropertyField, { showErrors, existing, multiple: true, disabled });
10700
- $[83] = disabled;
10701
- $[84] = existing;
10702
- $[85] = showErrors;
10703
- $[86] = t102;
10694
+ $[81] = disabled;
10695
+ $[82] = existing;
10696
+ $[83] = showErrors;
10697
+ $[84] = t102;
10704
10698
  } else {
10705
- t102 = $[86];
10699
+ t102 = $[84];
10706
10700
  }
10707
10701
  childComponent = t102;
10708
10702
  } else {
10709
10703
  if (selectedFieldConfigId === "repeat") {
10710
10704
  let t102;
10711
- if ($[87] !== allowDataInference || $[88] !== collectionEditable || $[89] !== disabled || $[90] !== existing || $[91] !== getData || $[92] !== propertyConfigs || $[93] !== showErrors) {
10705
+ if ($[85] !== allowDataInference || $[86] !== collectionEditable || $[87] !== disabled || $[88] !== existing || $[89] !== getData || $[90] !== propertyConfigs || $[91] !== showErrors) {
10712
10706
  t102 = /* @__PURE__ */ jsx(RepeatPropertyField, { showErrors, existing, getData, allowDataInference, disabled, collectionEditable, propertyConfigs });
10713
- $[87] = allowDataInference;
10714
- $[88] = collectionEditable;
10715
- $[89] = disabled;
10716
- $[90] = existing;
10717
- $[91] = getData;
10718
- $[92] = propertyConfigs;
10719
- $[93] = showErrors;
10720
- $[94] = t102;
10707
+ $[85] = allowDataInference;
10708
+ $[86] = collectionEditable;
10709
+ $[87] = disabled;
10710
+ $[88] = existing;
10711
+ $[89] = getData;
10712
+ $[90] = propertyConfigs;
10713
+ $[91] = showErrors;
10714
+ $[92] = t102;
10721
10715
  } else {
10722
- t102 = $[94];
10716
+ t102 = $[92];
10723
10717
  }
10724
10718
  childComponent = t102;
10725
10719
  } else {
10726
10720
  if (selectedFieldConfigId === "key_value") {
10727
10721
  let t102;
10728
- if ($[95] !== disabled) {
10722
+ if ($[93] !== disabled) {
10729
10723
  t102 = /* @__PURE__ */ jsx(KeyValuePropertyField, { disabled });
10730
- $[95] = disabled;
10731
- $[96] = t102;
10724
+ $[93] = disabled;
10725
+ $[94] = t102;
10732
10726
  } else {
10733
- t102 = $[96];
10727
+ t102 = $[94];
10734
10728
  }
10735
10729
  childComponent = t102;
10736
10730
  } else {
@@ -10753,7 +10747,7 @@ function PropertyEditFormFields(t0) {
10753
10747
  }
10754
10748
  }
10755
10749
  let t10;
10756
- if ($[97] !== disabled) {
10750
+ if ($[95] !== disabled) {
10757
10751
  t10 = disabled && /* @__PURE__ */ jsxs(InfoLabel, { mode: "warn", children: [
10758
10752
  /* @__PURE__ */ jsx(Typography, { children: "This property can't be edited" }),
10759
10753
  /* @__PURE__ */ jsxs(Typography, { variant: "caption", children: [
@@ -10764,170 +10758,170 @@ function PropertyEditFormFields(t0) {
10764
10758
  "."
10765
10759
  ] })
10766
10760
  ] });
10767
- $[97] = disabled;
10768
- $[98] = t10;
10761
+ $[95] = disabled;
10762
+ $[96] = t10;
10769
10763
  } else {
10770
- t10 = $[98];
10764
+ t10 = $[96];
10771
10765
  }
10772
10766
  const t11 = selectedFieldConfigId;
10773
10767
  let t12;
10774
- if ($[99] !== onWidgetSelectChanged) {
10768
+ if ($[97] !== onWidgetSelectChanged) {
10775
10769
  t12 = (value) => onWidgetSelectChanged(value);
10776
- $[99] = onWidgetSelectChanged;
10777
- $[100] = t12;
10770
+ $[97] = onWidgetSelectChanged;
10771
+ $[98] = t12;
10778
10772
  } else {
10779
- t12 = $[100];
10773
+ t12 = $[98];
10780
10774
  }
10781
10775
  let t13;
10782
- if ($[101] !== onDismiss) {
10776
+ if ($[99] !== onDismiss) {
10783
10777
  t13 = (open, hasValue) => {
10784
10778
  if (!hasValue) {
10785
10779
  onDismiss?.();
10786
10780
  }
10787
10781
  setSelectOpen(open);
10788
10782
  };
10789
- $[101] = onDismiss;
10790
- $[102] = t13;
10783
+ $[99] = onDismiss;
10784
+ $[100] = t13;
10791
10785
  } else {
10792
- t13 = $[102];
10786
+ t13 = $[100];
10793
10787
  }
10794
10788
  const t14 = Boolean(selectedWidgetError);
10795
10789
  let t15;
10796
- if ($[103] !== disabled || $[104] !== existing || $[105] !== inArray || $[106] !== propertyConfigs || $[107] !== selectOpen || $[108] !== t11 || $[109] !== t12 || $[110] !== t13 || $[111] !== t14 || $[112] !== values) {
10790
+ if ($[101] !== disabled || $[102] !== existing || $[103] !== inArray || $[104] !== propertyConfigs || $[105] !== selectOpen || $[106] !== t11 || $[107] !== t12 || $[108] !== t13 || $[109] !== t14 || $[110] !== values) {
10797
10791
  t15 = /* @__PURE__ */ jsx(WidgetSelectView, { initialProperty: values, value: t11, onValueChange: t12, open: selectOpen, onOpenChange: t13, disabled, showError: t14, existing, propertyConfigs, inArray });
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];
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];
10811
10805
  }
10812
10806
  let t16;
10813
- if ($[114] !== selectedWidgetError || $[115] !== t) {
10807
+ if ($[112] !== selectedWidgetError || $[113] !== t) {
10814
10808
  t16 = selectedWidgetError && /* @__PURE__ */ jsx(Typography, { variant: "caption", className: "ml-3.5", color: "error", children: t("required") });
10815
- $[114] = selectedWidgetError;
10816
- $[115] = t;
10817
- $[116] = t16;
10809
+ $[112] = selectedWidgetError;
10810
+ $[113] = t;
10811
+ $[114] = t16;
10818
10812
  } else {
10819
- t16 = $[116];
10813
+ t16 = $[114];
10820
10814
  }
10821
10815
  let t17;
10822
- if ($[117] !== t15 || $[118] !== t16) {
10816
+ if ($[115] !== t15 || $[116] !== t16) {
10823
10817
  t17 = /* @__PURE__ */ jsxs("div", { className: "w-full flex flex-col gap-2", children: [
10824
10818
  t15,
10825
10819
  t16
10826
10820
  ] });
10827
- $[117] = t15;
10828
- $[118] = t16;
10829
- $[119] = t17;
10821
+ $[115] = t15;
10822
+ $[116] = t16;
10823
+ $[117] = t17;
10830
10824
  } else {
10831
- t17 = $[119];
10825
+ t17 = $[117];
10832
10826
  }
10833
10827
  let t18;
10834
- if ($[120] !== disabled || $[121] !== existing || $[122] !== onDelete || $[123] !== values?.id) {
10828
+ if ($[118] !== disabled || $[119] !== existing || $[120] !== onDelete || $[121] !== values?.id) {
10835
10829
  t18 = onDelete && existing && values?.id && /* @__PURE__ */ jsx(IconButton, { variant: "ghost", className: "m-4", disabled, onClick: () => setDeleteDialogOpen(true), children: /* @__PURE__ */ jsx(DeleteIcon, {}) });
10836
- $[120] = disabled;
10837
- $[121] = existing;
10838
- $[122] = onDelete;
10839
- $[123] = values?.id;
10840
- $[124] = t18;
10830
+ $[118] = disabled;
10831
+ $[119] = existing;
10832
+ $[120] = onDelete;
10833
+ $[121] = values?.id;
10834
+ $[122] = t18;
10841
10835
  } else {
10842
- t18 = $[124];
10836
+ t18 = $[122];
10843
10837
  }
10844
10838
  let t19;
10845
- if ($[125] !== t17 || $[126] !== t18) {
10839
+ if ($[123] !== t17 || $[124] !== t18) {
10846
10840
  t19 = /* @__PURE__ */ jsxs("div", { className: "flex mt-2 justify-between", children: [
10847
10841
  t17,
10848
10842
  t18
10849
10843
  ] });
10850
- $[125] = t17;
10851
- $[126] = t18;
10852
- $[127] = t19;
10844
+ $[123] = t17;
10845
+ $[124] = t18;
10846
+ $[125] = t19;
10853
10847
  } else {
10854
- t19 = $[127];
10848
+ t19 = $[125];
10855
10849
  }
10856
10850
  let t20;
10857
- if ($[128] !== autoUpdateId || $[129] !== disabled || $[130] !== existing || $[131] !== includeIdAndTitle || $[132] !== showErrors) {
10851
+ if ($[126] !== autoUpdateId || $[127] !== disabled || $[128] !== existing || $[129] !== includeIdAndTitle || $[130] !== showErrors) {
10858
10852
  t20 = includeIdAndTitle && /* @__PURE__ */ jsx(CommonPropertyFields, { showErrors, disabledId: existing, isNewProperty: !existing, disabled, autoUpdateId, ref: nameFieldRef });
10859
- $[128] = autoUpdateId;
10860
- $[129] = disabled;
10861
- $[130] = existing;
10862
- $[131] = includeIdAndTitle;
10863
- $[132] = showErrors;
10864
- $[133] = t20;
10853
+ $[126] = autoUpdateId;
10854
+ $[127] = disabled;
10855
+ $[128] = existing;
10856
+ $[129] = includeIdAndTitle;
10857
+ $[130] = showErrors;
10858
+ $[131] = t20;
10865
10859
  } else {
10866
- t20 = $[133];
10860
+ t20 = $[131];
10867
10861
  }
10868
10862
  let t21;
10869
- if ($[134] !== disabled) {
10863
+ if ($[132] !== disabled) {
10870
10864
  t21 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(AdvancedPropertyValidation, { disabled }) });
10871
- $[134] = disabled;
10872
- $[135] = t21;
10865
+ $[132] = disabled;
10866
+ $[133] = t21;
10873
10867
  } else {
10874
- t21 = $[135];
10868
+ t21 = $[133];
10875
10869
  }
10876
10870
  let t22;
10877
- if ($[136] !== collectionProperties || $[137] !== disabled) {
10871
+ if ($[134] !== collectionProperties || $[135] !== disabled) {
10878
10872
  t22 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsxs(ConditionsPanel, { children: [
10879
10873
  /* @__PURE__ */ jsx(ConditionsEditor, { disabled, collectionProperties }),
10880
10874
  /* @__PURE__ */ jsx(EnumConditionsEditor, { disabled, collectionProperties })
10881
10875
  ] }) });
10882
- $[136] = collectionProperties;
10883
- $[137] = disabled;
10884
- $[138] = t22;
10876
+ $[134] = collectionProperties;
10877
+ $[135] = disabled;
10878
+ $[136] = t22;
10885
10879
  } else {
10886
- t22 = $[138];
10880
+ t22 = $[136];
10887
10881
  }
10888
10882
  let t23;
10889
- if ($[139] !== childComponent || $[140] !== t20 || $[141] !== t21 || $[142] !== t22) {
10883
+ if ($[137] !== childComponent || $[138] !== t20 || $[139] !== t21 || $[140] !== t22) {
10890
10884
  t23 = /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-12 gap-y-12 mt-8 mb-8", children: [
10891
10885
  t20,
10892
10886
  childComponent,
10893
10887
  t21,
10894
10888
  t22
10895
10889
  ] });
10896
- $[139] = childComponent;
10897
- $[140] = t20;
10898
- $[141] = t21;
10899
- $[142] = t22;
10900
- $[143] = t23;
10890
+ $[137] = childComponent;
10891
+ $[138] = t20;
10892
+ $[139] = t21;
10893
+ $[140] = t22;
10894
+ $[141] = t23;
10901
10895
  } else {
10902
- t23 = $[143];
10896
+ t23 = $[141];
10903
10897
  }
10904
10898
  let t24;
10905
- if ($[144] !== deleteDialogOpen || $[145] !== onDelete || $[146] !== propertyNamespace || $[147] !== t || $[148] !== values?.id) {
10899
+ if ($[142] !== deleteDialogOpen || $[143] !== onDelete || $[144] !== propertyNamespace || $[145] !== t || $[146] !== values?.id) {
10906
10900
  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") }) });
10907
- $[144] = deleteDialogOpen;
10908
- $[145] = onDelete;
10909
- $[146] = propertyNamespace;
10910
- $[147] = t;
10911
- $[148] = values?.id;
10912
- $[149] = t24;
10901
+ $[142] = deleteDialogOpen;
10902
+ $[143] = onDelete;
10903
+ $[144] = propertyNamespace;
10904
+ $[145] = t;
10905
+ $[146] = values?.id;
10906
+ $[147] = t24;
10913
10907
  } else {
10914
- t24 = $[149];
10908
+ t24 = $[147];
10915
10909
  }
10916
10910
  let t25;
10917
- if ($[150] !== t10 || $[151] !== t19 || $[152] !== t23 || $[153] !== t24) {
10911
+ if ($[148] !== t10 || $[149] !== t19 || $[150] !== t23 || $[151] !== t24) {
10918
10912
  t25 = /* @__PURE__ */ jsxs(Fragment, { children: [
10919
10913
  t10,
10920
10914
  t19,
10921
10915
  t23,
10922
10916
  t24
10923
10917
  ] });
10924
- $[150] = t10;
10925
- $[151] = t19;
10926
- $[152] = t23;
10927
- $[153] = t24;
10928
- $[154] = t25;
10918
+ $[148] = t10;
10919
+ $[149] = t19;
10920
+ $[150] = t23;
10921
+ $[151] = t24;
10922
+ $[152] = t25;
10929
10923
  } else {
10930
- t25 = $[154];
10924
+ t25 = $[152];
10931
10925
  }
10932
10926
  return t25;
10933
10927
  }
@@ -11483,6 +11477,30 @@ function DisplaySettingsForm({
11483
11477
  });
11484
11478
  return result;
11485
11479
  }, [resolvedCollection.properties]);
11480
+ const imageProperties = useMemo(() => {
11481
+ const result_0 = [];
11482
+ if (!resolvedCollection.properties) return result_0;
11483
+ const isImageProperty = (prop_0) => {
11484
+ if (!prop_0 || !("dataType" in prop_0)) return false;
11485
+ if (prop_0.dataType === "string") {
11486
+ return Boolean(prop_0.storage?.acceptedFiles?.includes("image/*")) || prop_0.url === "image";
11487
+ }
11488
+ if (prop_0.dataType === "array" && prop_0.of) {
11489
+ return isImageProperty(prop_0.of);
11490
+ }
11491
+ return false;
11492
+ };
11493
+ Object.entries(resolvedCollection.properties).forEach(([key_0, prop_1]) => {
11494
+ if (isImageProperty(prop_1)) {
11495
+ result_0.push({
11496
+ key: key_0,
11497
+ label: prop_1.name || key_0,
11498
+ property: prop_1
11499
+ });
11500
+ }
11501
+ });
11502
+ return result_0;
11503
+ }, [resolvedCollection.properties]);
11486
11504
  if (typeof values.customId === "object") ;
11487
11505
  else if (values.customId === true) ;
11488
11506
  else if (values.customId === false) ;
@@ -11509,25 +11527,25 @@ function DisplaySettingsForm({
11509
11527
  ")"
11510
11528
  ] });
11511
11529
  }
11512
- const prop_0 = numberProperties.find((p_0) => p_0.key === value_1);
11513
- if (!prop_0) return t("select_a_property");
11514
- const fieldConfig = getFieldConfig(prop_0.property, customizationController.propertyConfigs);
11530
+ const prop_2 = numberProperties.find((p_0) => p_0.key === value_1);
11531
+ if (!prop_2) return t("select_a_property");
11532
+ const fieldConfig = getFieldConfig(prop_2.property, customizationController.propertyConfigs);
11515
11533
  return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
11516
11534
  /* @__PURE__ */ jsx(PropertyConfigBadge, { propertyConfig: fieldConfig }),
11517
- /* @__PURE__ */ jsx("span", { children: prop_0.label })
11535
+ /* @__PURE__ */ jsx("span", { children: prop_2.label })
11518
11536
  ] });
11519
11537
  }, endAdornment: values.orderProperty ? /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: (e) => {
11520
11538
  e.stopPropagation();
11521
11539
  setFieldValue("orderProperty", void 0);
11522
- }, children: /* @__PURE__ */ jsx(CloseIcon, { size: "small" }) }) : void 0, children: numberProperties.map((prop_1) => {
11523
- const fieldConfig_0 = getFieldConfig(prop_1.property, customizationController.propertyConfigs);
11524
- return /* @__PURE__ */ jsx(SelectItem, { value: prop_1.key, children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
11540
+ }, children: /* @__PURE__ */ jsx(CloseIcon, { size: "small" }) }) : void 0, children: numberProperties.map((prop_3) => {
11541
+ const fieldConfig_0 = getFieldConfig(prop_3.property, customizationController.propertyConfigs);
11542
+ return /* @__PURE__ */ jsx(SelectItem, { value: prop_3.key, children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
11525
11543
  /* @__PURE__ */ jsx(PropertyConfigBadge, { propertyConfig: fieldConfig_0 }),
11526
11544
  /* @__PURE__ */ jsxs("div", { children: [
11527
- /* @__PURE__ */ jsx("div", { children: prop_1.label }),
11545
+ /* @__PURE__ */ jsx("div", { children: prop_3.label }),
11528
11546
  /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "secondary", children: fieldConfig_0?.name || t("number") })
11529
11547
  ] })
11530
- ] }) }, prop_1.key);
11548
+ ] }) }, prop_3.key);
11531
11549
  }) }, `order-select-${numberProperties.length}`),
11532
11550
  /* @__PURE__ */ jsx(FieldCaption, { error: orderPropertyMissing, children: orderPropertyMissing ? t("order_property_not_found", {
11533
11551
  property: values.orderProperty ?? ""
@@ -11566,14 +11584,54 @@ function DisplaySettingsForm({
11566
11584
  ] });
11567
11585
  })()
11568
11586
  ] }),
11569
- /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(Select, { name: "defaultSize", size: "large", fullWidth: true, label: t("default_row_size"), position: "item-aligned", onChange: handleChange, value: values.defaultSize ?? "", renderValue: (value_2) => value_2.toUpperCase(), children: ["xs", "s", "m", "l", "xl"].map((value_3) => /* @__PURE__ */ jsx(SelectItem, { value: value_3, children: value_3.toUpperCase() }, `size-select-${value_3}`)) }) }),
11587
+ /* @__PURE__ */ jsx("div", { className: "col-span-12 mt-4", children: (() => {
11588
+ const imagePropertyMissing = Boolean(values.imageProperty) && !imageProperties.some((p_2) => p_2.key === values.imageProperty);
11589
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
11590
+ /* @__PURE__ */ jsx(Typography, { variant: "label", color: "secondary", className: "ml-3.5", children: t("image_property") }),
11591
+ /* @__PURE__ */ jsx(Select, { name: "imageProperty", size: "large", fullWidth: true, position: "item-aligned", disabled: imageProperties.length === 0, error: imagePropertyMissing, value: values.imageProperty ?? "", onValueChange: (v_0) => {
11592
+ setFieldValue("imageProperty", v_0 || void 0);
11593
+ }, renderValue: (value_2) => {
11594
+ if (imagePropertyMissing) {
11595
+ return /* @__PURE__ */ jsxs("span", { className: "text-red-500", children: [
11596
+ value_2,
11597
+ " (",
11598
+ t("not_found_suffix"),
11599
+ ")"
11600
+ ] });
11601
+ }
11602
+ const prop_4 = imageProperties.find((p_3) => p_3.key === value_2);
11603
+ if (!prop_4) return t("select_a_property");
11604
+ const fieldConfig_1 = getFieldConfig(prop_4.property, customizationController.propertyConfigs);
11605
+ return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
11606
+ /* @__PURE__ */ jsx(PropertyConfigBadge, { propertyConfig: fieldConfig_1 }),
11607
+ /* @__PURE__ */ jsx("span", { children: prop_4.label })
11608
+ ] });
11609
+ }, endAdornment: values.imageProperty ? /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: (e_0) => {
11610
+ e_0.stopPropagation();
11611
+ setFieldValue("imageProperty", void 0);
11612
+ }, children: /* @__PURE__ */ jsx(CloseIcon, { size: "small" }) }) : void 0, children: imageProperties.map((prop_5) => {
11613
+ const fieldConfig_2 = getFieldConfig(prop_5.property, customizationController.propertyConfigs);
11614
+ return /* @__PURE__ */ jsx(SelectItem, { value: prop_5.key, children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
11615
+ /* @__PURE__ */ jsx(PropertyConfigBadge, { propertyConfig: fieldConfig_2 }),
11616
+ /* @__PURE__ */ jsxs("div", { children: [
11617
+ /* @__PURE__ */ jsx("div", { children: prop_5.label }),
11618
+ /* @__PURE__ */ jsx(Typography, { variant: "caption", color: "secondary", children: fieldConfig_2?.name || prop_5.label })
11619
+ ] })
11620
+ ] }) }, prop_5.key);
11621
+ }) }, `image-select-${imageProperties.length}`),
11622
+ /* @__PURE__ */ jsx(FieldCaption, { error: imagePropertyMissing, children: imagePropertyMissing ? t("image_property_not_found", {
11623
+ property: values.imageProperty ?? ""
11624
+ }) : imageProperties.length === 0 ? t("no_image_properties") : t("image_property_description") })
11625
+ ] });
11626
+ })() }),
11627
+ /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(Select, { name: "defaultSize", size: "large", fullWidth: true, label: t("default_row_size"), position: "item-aligned", onChange: handleChange, value: values.defaultSize ?? "", renderValue: (value_3) => value_3.toUpperCase(), children: ["xs", "s", "m", "l", "xl"].map((value_4) => /* @__PURE__ */ jsx(SelectItem, { value: value_4, children: value_4.toUpperCase() }, `size-select-${value_4}`)) }) }),
11570
11628
  /* @__PURE__ */ jsxs("div", { className: "col-span-12", children: [
11571
- /* @__PURE__ */ jsx(TextField, { name: "sideDialogWidth", type: "number", "aria-describedby": "sideDialogWidth-helper", onChange: (e_0) => {
11572
- const value_4 = e_0.target.value;
11573
- if (!value_4) {
11629
+ /* @__PURE__ */ jsx(TextField, { name: "sideDialogWidth", type: "number", "aria-describedby": "sideDialogWidth-helper", onChange: (e_1) => {
11630
+ const value_5 = e_1.target.value;
11631
+ if (!value_5) {
11574
11632
  setFieldValue("sideDialogWidth", null);
11575
- } else if (!isNaN(Number(value_4))) {
11576
- setFieldValue("sideDialogWidth", Number(value_4));
11633
+ } else if (!isNaN(Number(value_5))) {
11634
+ setFieldValue("sideDialogWidth", Number(value_5));
11577
11635
  }
11578
11636
  }, endAdornment: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: () => {
11579
11637
  setFieldValue("sideDialogWidth", null);
@@ -11581,11 +11639,11 @@ function DisplaySettingsForm({
11581
11639
  /* @__PURE__ */ jsx(FieldCaption, { children: t("side_dialog_width_description") })
11582
11640
  ] }),
11583
11641
  /* @__PURE__ */ jsxs("div", { className: "col-span-12", children: [
11584
- /* @__PURE__ */ jsx(BooleanSwitchWithLabel, { position: "start", size: "large", label: values.inlineEditing === void 0 || values.inlineEditing ? t("inline_editing_enabled") : t("inline_editing_disabled"), onValueChange: (v_0) => setFieldValue("inlineEditing", v_0), value: values.inlineEditing === void 0 ? true : values.inlineEditing }),
11642
+ /* @__PURE__ */ jsx(BooleanSwitchWithLabel, { position: "start", size: "large", label: values.inlineEditing === void 0 || values.inlineEditing ? t("inline_editing_enabled") : t("inline_editing_disabled"), onValueChange: (v_1) => setFieldValue("inlineEditing", v_1), value: values.inlineEditing === void 0 ? true : values.inlineEditing }),
11585
11643
  /* @__PURE__ */ jsx(FieldCaption, { children: t("inline_editing_description") })
11586
11644
  ] }),
11587
11645
  /* @__PURE__ */ jsxs("div", { className: "col-span-12", children: [
11588
- /* @__PURE__ */ jsx(BooleanSwitchWithLabel, { position: "start", size: "large", label: values.includeJsonView === void 0 || values.includeJsonView ? t("include_json_view") : t("no_json_view"), onValueChange: (v_1) => setFieldValue("includeJsonView", v_1), value: values.includeJsonView === void 0 ? true : values.includeJsonView }),
11646
+ /* @__PURE__ */ jsx(BooleanSwitchWithLabel, { position: "start", size: "large", label: values.includeJsonView === void 0 || values.includeJsonView ? t("include_json_view") : t("no_json_view"), onValueChange: (v_2) => setFieldValue("includeJsonView", v_2), value: values.includeJsonView === void 0 ? true : values.includeJsonView }),
11589
11647
  /* @__PURE__ */ jsx(FieldCaption, { children: t("json_view_description") })
11590
11648
  ] })
11591
11649
  ] }),
@@ -12147,7 +12205,7 @@ function CollectionPropertiesEditorForm({
12147
12205
  /* @__PURE__ */ jsx(Button, { className: "mt-8 w-full", size: "large", onClick: () => setNewPropertyDialogOpen(true), startIcon: /* @__PURE__ */ jsx(AddIcon, {}), children: t("add_new_property") })
12148
12206
  ] }),
12149
12207
  !asDialog && /* @__PURE__ */ jsx("div", { className: "col-span-12 lg:col-span-7 p-4 md:py-8 md:px-4 h-full overflow-auto pb-20 md:pb-20", children: /* @__PURE__ */ jsxs("div", { className: "sticky top-8 min-h-full w-full flex flex-col justify-center", children: [
12150
- selectedPropertyFullId && selectedProperty && !isPropertyBuilder(selectedProperty) && /* @__PURE__ */ jsx(PropertyForm, { inArray: false, existingProperty: !isNewCollection, autoUpdateId: false, allowDataInference: !isNewCollection, autoOpenTypeSelect: false, propertyKey: selectedPropertyKey, propertyNamespace: selectedPropertyNamespace, property: selectedProperty, onPropertyChanged, onDelete: deleteProperty, onError: onPropertyErrorInternal, forceShowErrors: showErrors, initialErrors, getData, propertyConfigs, collectionEditable, collectionProperties: values.properties }, `edit_view_${selectedPropertyIndex}_${generationCounter}`),
12208
+ selectedPropertyFullId && selectedProperty && !isPropertyBuilder(selectedProperty) && /* @__PURE__ */ jsx(PropertyForm, { inArray: false, existingProperty: !isNewCollection, autoUpdateId: false, allowDataInference: !isNewCollection, autoOpenTypeSelect: false, propertyKey: selectedPropertyKey, propertyNamespace: selectedPropertyNamespace, property: selectedProperty, onPropertyChanged, onDelete: deleteProperty, onError: onPropertyErrorInternal, forceShowErrors: showErrors, initialErrors, getData, propertyConfigs, collectionEditable, collectionProperties: values.properties }, `edit_view_${selectedPropertyFullId}_${generationCounter}`),
12151
12209
  !selectedProperty && /* @__PURE__ */ jsxs("div", { className: "w-full flex flex-col items-center justify-center h-full gap-4", children: [
12152
12210
  /* @__PURE__ */ jsx(Typography, { variant: "label", className: "", children: emptyCollection ? t("add_first_property") : t("select_property_to_edit") }),
12153
12211
  /* @__PURE__ */ jsxs(Button, { onClick: () => setNewPropertyDialogOpen(true), children: [
@@ -12157,7 +12215,7 @@ function CollectionPropertiesEditorForm({
12157
12215
  ] }),
12158
12216
  selectedProperty && isPropertyBuilder(selectedProperty) && /* @__PURE__ */ jsx(Typography, { variant: "label", className: "flex items-center justify-center", children: t("property_defined_as_builder") })
12159
12217
  ] }) }),
12160
- asDialog && /* @__PURE__ */ jsx(PropertyFormDialog, { inArray: false, open: selectedPropertyIndex !== void 0, autoUpdateId: !selectedProperty, allowDataInference: !isNewCollection, existingProperty: true, autoOpenTypeSelect: false, propertyKey: selectedPropertyKey, propertyNamespace: selectedPropertyNamespace, property: selectedProperty, onPropertyChanged, onDelete: deleteProperty, onError: onPropertyErrorInternal, forceShowErrors: showErrors, initialErrors, getData, propertyConfigs, collectionEditable, collectionProperties: values.properties, onCancel: closePropertyDialog, onOkClicked: asDialog ? closePropertyDialog : void 0 }, `edit_view_${selectedPropertyIndex}_${generationCounter}`)
12218
+ asDialog && /* @__PURE__ */ jsx(PropertyFormDialog, { inArray: false, open: selectedPropertyIndex !== void 0, autoUpdateId: !selectedProperty, allowDataInference: !isNewCollection, existingProperty: true, autoOpenTypeSelect: false, propertyKey: selectedPropertyKey, propertyNamespace: selectedPropertyNamespace, property: selectedProperty, onPropertyChanged, onDelete: deleteProperty, onError: onPropertyErrorInternal, forceShowErrors: showErrors, initialErrors, getData, propertyConfigs, collectionEditable, collectionProperties: values.properties, onCancel: closePropertyDialog, onOkClicked: asDialog ? closePropertyDialog : void 0 }, `edit_view_${selectedPropertyFullId}_${generationCounter}`)
12161
12219
  ] });
12162
12220
  return /* @__PURE__ */ jsxs(Fragment, { children: [
12163
12221
  body,
@@ -17588,9 +17646,9 @@ const collectionEditorTranslationsEn = {
17588
17646
  storage_placeholder_path: "{path} - Path of this entity",
17589
17647
  storage_placeholder_rand: "{rand} - Random value used to avoid name collisions",
17590
17648
  include_bucket_url: "Include bucket URL (gs://...) in saved value",
17591
- 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.",
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.",
17592
17650
  save_url_instead_of_path: "Save URL instead of storage path",
17593
- 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.",
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.",
17594
17652
  max_size_bytes: "Max size (in bytes)",
17595
17653
  image_resize_configuration: "Image Resize Configuration",
17596
17654
  image_resize_description: "Automatically resize and optimize images before upload (JPEG, PNG, WebP only)",
@@ -17699,757 +17757,23 @@ const collectionEditorTranslationsEn = {
17699
17757
  widget_group_group: "Group",
17700
17758
  widget_group_array: "Array"
17701
17759
  };
17702
- const collectionEditorTranslationsEs = {
17703
- file_upload_config: "Configuración de subida de archivos",
17704
- file_type_images: "Imágenes",
17705
- file_type_videos: "Videos",
17706
- file_type_audio: "Archivos de audio",
17707
- file_type_applications: "Archivos (pdf, zip, csv, excel...)",
17708
- file_type_text: "Archivos de texto",
17709
- only: "Solo",
17710
- all_file_types_allowed: "Todos los tipos de archivo permitidos",
17711
- allowed_file_types: "Tipos de archivo permitidos",
17712
- file_name_label: "Nombre del archivo",
17713
- storage_path_label: "Ruta de almacenamiento",
17714
- storage_placeholders_description: "Puedes usar los siguientes marcadores en los valores del nombre de archivo y la ruta de almacenamiento:",
17715
- storage_placeholder_file: "{file} - Nombre completo del archivo subido",
17716
- storage_placeholder_file_name: "{file.name} - Nombre del archivo subido sin extensión",
17717
- storage_placeholder_file_ext: "{file.ext} - Extensión del archivo subido",
17718
- storage_placeholder_entity_id: "{entityId} - ID de la entidad",
17719
- storage_placeholder_property_key: "{propertyKey} - ID de este campo",
17720
- storage_placeholder_path: "{path} - Ruta de esta entidad",
17721
- storage_placeholder_rand: "{rand} - Valor aleatorio para evitar colisiones de nombres",
17722
- include_bucket_url: "Incluir URL del bucket (gs://...) en el valor guardado",
17723
- 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.",
17724
- save_url_instead_of_path: "Guardar URL en lugar de ruta de almacenamiento",
17725
- 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.",
17726
- max_size_bytes: "Tamaño máximo (en bytes)",
17727
- image_resize_configuration: "Configuración de redimensionamiento de imagen",
17728
- image_resize_description: "Redimensionar y optimizar imágenes automáticamente antes de subirlas (solo JPEG, PNG, WebP)",
17729
- max_width_px: "Ancho máximo (px)",
17730
- max_height_px: "Alto máximo (px)",
17731
- resize_mode: "Modo de redimensionamiento",
17732
- resize_contain: "Contener",
17733
- resize_contain_description: "Contener (ajustar dentro de los límites)",
17734
- resize_cover: "Cubrir",
17735
- resize_cover_description: "Cubrir (rellenar límites, puede recortar)",
17736
- output_format: "Formato de salida",
17737
- format_original: "Original",
17738
- format_original_description: "Original (mantener mismo formato)",
17739
- format_webp_description: "WebP (mejor compresión)",
17740
- quality_label: "Calidad (0–100)",
17741
- quality_hint: "Mayor calidad = archivo más grande. Recomendado: 80–90 para fotos, 90–100 para gráficos",
17742
- preview_type: "Tipo de vista previa",
17743
- preview_image: "Imagen",
17744
- preview_video: "Video",
17745
- preview_audio: "Audio",
17746
- display_url: "Mostrar URL",
17747
- default_value_not_set: "Valor predeterminado no establecido",
17748
- default_value_is: "El valor predeterminado es {{value}}",
17749
- default_value_was_cleared: "El valor predeterminado fue eliminado",
17750
- enum_missing_values: "A esta propiedad enum le faltan algunos valores",
17751
- mode_label: "Modo",
17752
- date_time_mode: "Fecha/Hora",
17753
- date_mode: "Fecha",
17754
- automatic_value: "Valor automático",
17755
- auto_on_create: "Al crear",
17756
- auto_on_update: "En cada actualización",
17757
- auto_none: "Ninguno",
17758
- auto_value_description: "Actualizar este campo automáticamente al crear o actualizar la entidad",
17759
- timezone_label: "Zona horaria",
17760
- local_timezone: "Zona horaria local",
17761
- timezone_description: "Zona horaria para mostrar e ingresar fechas. Los valores se almacenan siempre en UTC.",
17762
- target_collection: "Colección de destino",
17763
- views_group: "Vistas",
17764
- add_property_to: "Añadir propiedad a {{name}}",
17765
- add_first_property_to_group: "Añade la primera propiedad a este grupo",
17766
- spread_children_as_columns: "Distribuir hijos como columnas",
17767
- spread_children_description: "Activa esta opción si deseas mostrar los hijos de este grupo como columnas individuales. Solo funciona para grupos de nivel superior.",
17768
- paste_behavior: "Comportamiento al pegar",
17769
- strip_html_on_paste: "Eliminar HTML al pegar",
17770
- strip_html_description: "Eliminar etiquetas HTML y estilos en línea al pegar contenido de fuentes externas",
17771
- convert_pasted_to_markdown: "Convertir texto pegado a markdown",
17772
- convert_pasted_description: "Convertir texto enriquecido (de Google Docs, Word, etc.) a formato markdown limpio",
17773
- markdown_url_note: "Al usar Markdown, las URLs de los archivos subidos siempre se guardan en el valor de texto (no la ruta).",
17774
- hide_from_collection: "Ocultar de la colección",
17775
- hide_from_collection_tooltip: "Ocultar este campo de la vista de colección. Seguirá visible en la vista de formulario",
17776
- read_only: "Solo lectura",
17777
- read_only_tooltip: "Es un campo de solo lectura. Mostrar solo como vista previa",
17778
- nullable: "Nullable",
17779
- nullable_tooltip: "Permitir que este campo se establezca explícitamente como null. Se mostrará un botón de borrar al usuario",
17780
- tab_general: "General",
17781
- tab_display: "Visualización",
17782
- tab_properties: "Propiedades",
17783
- tab_extend: "Extender",
17784
- unsaved_changes_in_collection: "Hay cambios sin guardar en esta colección",
17785
- error_persisting_collection: "Error al guardar la colección: {{error}}",
17786
- details_in_console: "Detalles en la consola",
17787
- error_inferring_collection: "Error al inferir la colección: {{error}}",
17788
- collection_deleted: "Colección eliminada",
17789
- data_imported_successfully_msg: "Datos importados correctamente",
17790
- must_specify_path: "Debes especificar una ruta en la base de datos para esta colección",
17791
- collection_path_already_exists: "Ya existe una colección con la ruta especificada. Si deseas tener múltiples colecciones con la misma ruta de base de datos, asegúrate de que tengan IDs diferentes",
17792
- collection_path_odd_segments: "Las rutas de colección deben tener un número impar de segmentos: {{path}}",
17793
- collection_uses_path_as_id: "Ya existe una colección que usa este valor como ruta",
17794
- collection_uses_this_id: "Ya existe una colección que usa este ID",
17795
- delete_stored_config: "¿Eliminar la configuración almacenada?",
17796
- delete_stored_config_body: "Esto no eliminará ningún dato, solo la configuración almacenada, y se restaurará al estado del código.",
17797
- order_label: "Orden",
17798
- // Collection Properties Editor
17799
- select_property_to_edit: "Selecciona una propiedad para editarla",
17800
- add_first_property: "Ahora puedes añadir tu primera propiedad",
17801
- add_new_property: "Añadir nueva propiedad",
17802
- no_permission_add_properties: "No tienes permiso para añadir nuevas propiedades",
17803
- get_code_for_collection: "Obtener el código de esta colección",
17804
- add_properties_from_data: "Añadir nuevas propiedades basadas en datos",
17805
- collection_name_placeholder: "Nombre de la colección",
17806
- created_by: "Creado por {{name}}",
17807
- property_defined_as_builder: "Esta propiedad está definida como un property builder en código",
17808
- // Extend Settings
17809
- extend_title: "Extender",
17810
- extend_description: "Añade subcolecciones, vistas personalizadas y acciones de entidad a esta colección.",
17811
- collection_defined_in_code: "Esta colección está definida en código. Los cambios realizados en este editor sobreescribirán las propiedades definidas en código. Puedes eliminar los valores sobreescritos para volver al estado definido en código.",
17812
- reset_to_code: "Restablecer al código",
17813
- widget_group_text: "Texto",
17814
- widget_group_boolean: "Booleano",
17815
- widget_group_users: "Usuarios",
17816
- widget_group_select: "Selección",
17817
- widget_group_number: "Número",
17818
- widget_group_file: "Archivo",
17819
- widget_group_reference: "Referencia",
17820
- widget_group_date: "Fecha",
17821
- widget_group_group: "Grupo",
17822
- widget_group_array: "Lista"
17823
- };
17824
- const collectionEditorTranslationsDe = {
17825
- file_upload_config: "Dateiupload-Konfiguration",
17826
- file_type_images: "Bilder",
17827
- file_type_videos: "Videos",
17828
- file_type_audio: "Audiodateien",
17829
- file_type_applications: "Dateien (pdf, zip, csv, excel...)",
17830
- file_type_text: "Textdateien",
17831
- only: "Nur",
17832
- all_file_types_allowed: "Alle Dateitypen erlaubt",
17833
- allowed_file_types: "Erlaubte Dateitypen",
17834
- file_name_label: "Dateiname",
17835
- storage_path_label: "Speicherpfad",
17836
- storage_placeholders_description: "Sie können die folgenden Platzhalter in den Werten für Dateiname und Speicherpfad verwenden:",
17837
- storage_placeholder_file: "{file} - Vollständiger Name der hochgeladenen Datei",
17838
- storage_placeholder_file_name: "{file.name} - Name der hochgeladenen Datei ohne Erweiterung",
17839
- storage_placeholder_file_ext: "{file.ext} - Erweiterung der hochgeladenen Datei",
17840
- storage_placeholder_entity_id: "{entityId} - ID der Entität",
17841
- storage_placeholder_property_key: "{propertyKey} - ID dieses Feldes",
17842
- storage_placeholder_path: "{path} - Pfad dieser Entität",
17843
- storage_placeholder_rand: "{rand} - Zufallswert zur Vermeidung von Namenskollisionen",
17844
- include_bucket_url: "Bucket-URL (gs://...) im gespeicherten Wert einschließen",
17845
- 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.",
17846
- save_url_instead_of_path: "URL statt Speicherpfad speichern",
17847
- 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.",
17848
- max_size_bytes: "Maximale Größe (in Bytes)",
17849
- image_resize_configuration: "Bildgrößenanpassungs-Konfiguration",
17850
- image_resize_description: "Bilder vor dem Hochladen automatisch anpassen und optimieren (nur JPEG, PNG, WebP)",
17851
- max_width_px: "Maximale Breite (px)",
17852
- max_height_px: "Maximale Höhe (px)",
17853
- resize_mode: "Anpassungsmodus",
17854
- resize_contain: "Einpassen",
17855
- resize_contain_description: "Einpassen (innerhalb der Grenzen)",
17856
- resize_cover: "Abdecken",
17857
- resize_cover_description: "Abdecken (Grenzen füllen, kann zuschneiden)",
17858
- output_format: "Ausgabeformat",
17859
- format_original: "Original",
17860
- format_original_description: "Original (gleiches Format beibehalten)",
17861
- format_webp_description: "WebP (beste Komprimierung)",
17862
- quality_label: "Qualität (0–100)",
17863
- quality_hint: "Höhere Qualität = größere Datei. Empfohlen: 80–90 für Fotos, 90–100 für Grafiken",
17864
- preview_type: "Vorschautyp",
17865
- preview_image: "Bild",
17866
- preview_video: "Video",
17867
- preview_audio: "Audio",
17868
- display_url: "URL anzeigen",
17869
- default_value_not_set: "Standardwert nicht gesetzt",
17870
- default_value_is: "Standardwert ist {{value}}",
17871
- default_value_was_cleared: "Standardwert wurde gelöscht",
17872
- enum_missing_values: "Dieser Enum-Eigenschaft fehlen einige Werte",
17873
- mode_label: "Modus",
17874
- date_time_mode: "Datum/Uhrzeit",
17875
- date_mode: "Datum",
17876
- automatic_value: "Automatischer Wert",
17877
- auto_on_create: "Bei Erstellung",
17878
- auto_on_update: "Bei jeder Aktualisierung",
17879
- auto_none: "Keiner",
17880
- auto_value_description: "Dieses Feld automatisch beim Erstellen oder Aktualisieren der Entität aktualisieren",
17881
- timezone_label: "Zeitzone",
17882
- local_timezone: "Lokale Zeitzone",
17883
- timezone_description: "Zeitzone für die Anzeige und Eingabe von Daten. Werte werden immer in UTC gespeichert.",
17884
- target_collection: "Zielsammlung",
17885
- views_group: "Ansichten",
17886
- add_property_to: "Eigenschaft zu {{name}} hinzufügen",
17887
- add_first_property_to_group: "Erste Eigenschaft zu dieser Gruppe hinzufügen",
17888
- spread_children_as_columns: "Kinder als Spalten verteilen",
17889
- spread_children_description: "Setzen Sie dieses Flag auf true, wenn Sie die Kinder dieser Gruppe als einzelne Spalten anzeigen möchten. Dies funktioniert nur für Gruppen auf der obersten Ebene.",
17890
- paste_behavior: "Einfügeverhalten",
17891
- strip_html_on_paste: "HTML beim Einfügen entfernen",
17892
- strip_html_description: "HTML-Tags und Inline-Stile beim Einfügen von Inhalten aus externen Quellen entfernen",
17893
- convert_pasted_to_markdown: "Eingefügten Text in Markdown konvertieren",
17894
- convert_pasted_description: "Rich Text (von Google Docs, Word usw.) in sauberes Markdown-Format konvertieren",
17895
- markdown_url_note: "Bei Verwendung von Markdown werden die URLs der hochgeladenen Dateien immer im Textwert gespeichert (nicht der Pfad).",
17896
- hide_from_collection: "Aus Sammlung ausblenden",
17897
- hide_from_collection_tooltip: "Dieses Feld aus der Sammlungsansicht ausblenden. Es wird weiterhin in der Formularansicht sichtbar sein",
17898
- read_only: "Nur lesen",
17899
- read_only_tooltip: "Ist dieses Feld schreibgeschützt. Nur als Vorschau anzeigen",
17900
- nullable: "Nullable",
17901
- nullable_tooltip: "Erlaubt es, dieses Feld explizit auf null zu setzen. Dem Benutzer wird eine Löschen-Schaltfläche angezeigt",
17902
- tab_general: "Allgemein",
17903
- tab_display: "Anzeige",
17904
- tab_properties: "Eigenschaften",
17905
- tab_extend: "Erweitern",
17906
- unsaved_changes_in_collection: "Es gibt ungespeicherte Änderungen in dieser Sammlung",
17907
- error_persisting_collection: "Fehler beim Speichern der Sammlung: {{error}}",
17908
- details_in_console: "Details in der Konsole",
17909
- error_inferring_collection: "Fehler beim Ableiten der Sammlung: {{error}}",
17910
- collection_deleted: "Sammlung gelöscht",
17911
- data_imported_successfully_msg: "Daten erfolgreich importiert",
17912
- must_specify_path: "Sie müssen einen Pfad in der Datenbank für diese Sammlung angeben",
17913
- collection_path_already_exists: "Es gibt bereits eine Sammlung mit dem angegebenen Pfad. Wenn Sie mehrere Sammlungen mit demselben Datenbankpfad haben möchten, stellen Sie sicher, dass sie unterschiedliche IDs haben",
17914
- collection_path_odd_segments: "Sammlungspfade müssen eine ungerade Anzahl von Segmenten haben: {{path}}",
17915
- collection_uses_path_as_id: "Es gibt bereits eine Sammlung, die diesen Wert als Pfad verwendet",
17916
- collection_uses_this_id: "Es gibt bereits eine Sammlung, die diese ID verwendet",
17917
- delete_stored_config: "Gespeicherte Konfiguration löschen?",
17918
- delete_stored_config_body: "Dadurch werden keine Daten gelöscht, nur die gespeicherte Konfiguration, und der Code-Zustand wird wiederhergestellt.",
17919
- order_label: "Reihenfolge",
17920
- // Collection Properties Editor
17921
- select_property_to_edit: "Wähle eine Eigenschaft aus, um sie zu bearbeiten",
17922
- add_first_property: "Jetzt kannst du deine erste Eigenschaft hinzufügen",
17923
- add_new_property: "Neue Eigenschaft hinzufügen",
17924
- no_permission_add_properties: "Du hast keine Berechtigung, neue Eigenschaften hinzuzufügen",
17925
- get_code_for_collection: "Code für diese Sammlung abrufen",
17926
- add_properties_from_data: "Neue Eigenschaften basierend auf Daten hinzufügen",
17927
- collection_name_placeholder: "Sammlungsname",
17928
- created_by: "Erstellt von {{name}}",
17929
- property_defined_as_builder: "Diese Eigenschaft ist als Property Builder im Code definiert",
17930
- // Extend Settings
17931
- extend_title: "Erweitern",
17932
- extend_description: "Füge Untersammlungen, benutzerdefinierte Ansichten und Entitätsaktionen zu dieser Sammlung hinzu.",
17933
- collection_defined_in_code: "Diese Sammlung ist im Code definiert. Die in diesem Editor vorgenommenen Änderungen überschreiben die im Code definierten Eigenschaften. Du kannst die überschriebenen Werte löschen, um zum im Code definierten Zustand zurückzukehren.",
17934
- reset_to_code: "Auf Code zurücksetzen",
17935
- widget_group_text: "Text",
17936
- widget_group_boolean: "Boolean",
17937
- widget_group_users: "Benutzer",
17938
- widget_group_select: "Auswahl",
17939
- widget_group_number: "Zahl",
17940
- widget_group_file: "Datei",
17941
- widget_group_reference: "Referenz",
17942
- widget_group_date: "Datum",
17943
- widget_group_group: "Gruppe",
17944
- widget_group_array: "Array"
17945
- };
17946
- const collectionEditorTranslationsFr = {
17947
- file_upload_config: "Configuration du téléchargement de fichiers",
17948
- file_type_images: "Images",
17949
- file_type_videos: "Vidéos",
17950
- file_type_audio: "Fichiers audio",
17951
- file_type_applications: "Fichiers (pdf, zip, csv, excel...)",
17952
- file_type_text: "Fichiers texte",
17953
- only: "Uniquement",
17954
- all_file_types_allowed: "Tous les types de fichiers autorisés",
17955
- allowed_file_types: "Types de fichiers autorisés",
17956
- file_name_label: "Nom du fichier",
17957
- storage_path_label: "Chemin de stockage",
17958
- storage_placeholders_description: "Vous pouvez utiliser les espaces réservés suivants dans les valeurs du nom de fichier et du chemin de stockage :",
17959
- storage_placeholder_file: "{file} - Nom complet du fichier téléchargé",
17960
- storage_placeholder_file_name: "{file.name} - Nom du fichier téléchargé sans extension",
17961
- storage_placeholder_file_ext: "{file.ext} - Extension du fichier téléchargé",
17962
- storage_placeholder_entity_id: "{entityId} - ID de l'entité",
17963
- storage_placeholder_property_key: "{propertyKey} - ID de ce champ",
17964
- storage_placeholder_path: "{path} - Chemin de cette entité",
17965
- storage_placeholder_rand: "{rand} - Valeur aléatoire pour éviter les conflits de noms",
17966
- include_bucket_url: "Inclure l'URL du bucket (gs://...) dans la valeur enregistrée",
17967
- 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.",
17968
- save_url_instead_of_path: "Enregistrer l'URL au lieu du chemin de stockage",
17969
- 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.",
17970
- max_size_bytes: "Taille maximale (en octets)",
17971
- image_resize_configuration: "Configuration du redimensionnement d'image",
17972
- image_resize_description: "Redimensionner et optimiser automatiquement les images avant le téléchargement (JPEG, PNG, WebP uniquement)",
17973
- max_width_px: "Largeur max (px)",
17974
- max_height_px: "Hauteur max (px)",
17975
- resize_mode: "Mode de redimensionnement",
17976
- resize_contain: "Contenir",
17977
- resize_contain_description: "Contenir (ajuster aux limites)",
17978
- resize_cover: "Couvrir",
17979
- resize_cover_description: "Couvrir (remplir les limites, peut rogner)",
17980
- output_format: "Format de sortie",
17981
- format_original: "Original",
17982
- format_original_description: "Original (conserver le même format)",
17983
- format_webp_description: "WebP (meilleure compression)",
17984
- quality_label: "Qualité (0–100)",
17985
- quality_hint: "Qualité plus élevée = fichier plus volumineux. Recommandé : 80–90 pour les photos, 90–100 pour les graphiques",
17986
- preview_type: "Type d'aperçu",
17987
- preview_image: "Image",
17988
- preview_video: "Vidéo",
17989
- preview_audio: "Audio",
17990
- display_url: "Afficher l'URL",
17991
- default_value_not_set: "Valeur par défaut non définie",
17992
- default_value_is: "La valeur par défaut est {{value}}",
17993
- default_value_was_cleared: "La valeur par défaut a été supprimée",
17994
- enum_missing_values: "Cette propriété enum est incomplète",
17995
- mode_label: "Mode",
17996
- date_time_mode: "Date/Heure",
17997
- date_mode: "Date",
17998
- automatic_value: "Valeur automatique",
17999
- auto_on_create: "À la création",
18000
- auto_on_update: "À chaque mise à jour",
18001
- auto_none: "Aucune",
18002
- auto_value_description: "Mettre à jour ce champ automatiquement lors de la création ou de la mise à jour de l'entité",
18003
- timezone_label: "Fuseau horaire",
18004
- local_timezone: "Fuseau horaire local",
18005
- timezone_description: "Fuseau horaire pour l'affichage et la saisie des dates. Les valeurs sont toujours stockées en UTC.",
18006
- target_collection: "Collection cible",
18007
- views_group: "Vues",
18008
- add_property_to: "Ajouter une propriété à {{name}}",
18009
- add_first_property_to_group: "Ajoutez la première propriété à ce groupe",
18010
- spread_children_as_columns: "Étendre les enfants en colonnes",
18011
- spread_children_description: "Activez cette option si vous souhaitez afficher les enfants de ce groupe en colonnes individuelles. Cela ne fonctionne que pour les groupes de premier niveau.",
18012
- paste_behavior: "Comportement du collage",
18013
- strip_html_on_paste: "Supprimer le HTML au collage",
18014
- strip_html_description: "Supprimer les balises HTML et les styles en ligne lors du collage de contenu provenant de sources externes",
18015
- convert_pasted_to_markdown: "Convertir le texte collé en markdown",
18016
- convert_pasted_description: "Convertir le texte enrichi (de Google Docs, Word, etc.) en format markdown propre",
18017
- markdown_url_note: "Avec Markdown, les URL des fichiers téléchargés sont toujours enregistrées dans la valeur texte (pas le chemin).",
18018
- hide_from_collection: "Masquer de la collection",
18019
- hide_from_collection_tooltip: "Masquer ce champ de la vue collection. Il restera visible dans la vue formulaire",
18020
- read_only: "Lecture seule",
18021
- read_only_tooltip: "Ce champ est en lecture seule. Affichage en aperçu uniquement",
18022
- nullable: "Nullable",
18023
- nullable_tooltip: "Permettre de définir explicitement ce champ comme null. Un bouton d'effacement sera affiché à l'utilisateur",
18024
- tab_general: "Général",
18025
- tab_display: "Affichage",
18026
- tab_properties: "Propriétés",
18027
- tab_extend: "Extension",
18028
- unsaved_changes_in_collection: "Il y a des modifications non enregistrées dans cette collection",
18029
- error_persisting_collection: "Erreur lors de la sauvegarde de la collection : {{error}}",
18030
- details_in_console: "Détails dans la console",
18031
- error_inferring_collection: "Erreur lors de l'inférence de la collection : {{error}}",
18032
- collection_deleted: "Collection supprimée",
18033
- data_imported_successfully_msg: "Données importées avec succès",
18034
- must_specify_path: "Vous devez spécifier un chemin dans la base de données pour cette collection",
18035
- collection_path_already_exists: "Il existe déjà une collection avec le chemin spécifié. Si vous souhaitez avoir plusieurs collections avec le même chemin, assurez-vous qu'elles ont des ID différents",
18036
- collection_path_odd_segments: "Les chemins de collection doivent avoir un nombre impair de segments : {{path}}",
18037
- collection_uses_path_as_id: "Il existe déjà une collection qui utilise cette valeur comme chemin",
18038
- collection_uses_this_id: "Il existe déjà une collection qui utilise cet ID",
18039
- delete_stored_config: "Supprimer la configuration enregistrée ?",
18040
- delete_stored_config_body: "Cela ne supprimera aucune donnée, uniquement la configuration enregistrée, et restaurera l'état du code.",
18041
- order_label: "Ordre",
18042
- // Collection Properties Editor
18043
- select_property_to_edit: "Sélectionnez une propriété pour la modifier",
18044
- add_first_property: "Vous pouvez maintenant ajouter votre première propriété",
18045
- add_new_property: "Ajouter une nouvelle propriété",
18046
- no_permission_add_properties: "Vous n'avez pas la permission d'ajouter de nouvelles propriétés",
18047
- get_code_for_collection: "Obtenir le code de cette collection",
18048
- add_properties_from_data: "Ajouter de nouvelles propriétés basées sur les données",
18049
- collection_name_placeholder: "Nom de la collection",
18050
- created_by: "Créé par {{name}}",
18051
- property_defined_as_builder: "Cette propriété est définie comme un property builder dans le code",
18052
- // Extend Settings
18053
- extend_title: "Extension",
18054
- extend_description: "Ajoutez des sous-collections, des vues personnalisées et des actions d’entité à cette collection.",
18055
- collection_defined_in_code: "Cette collection est définie dans le code. Les modifications effectuées dans cet éditeur remplaceront les propriétés définies dans le code. Vous pouvez supprimer les valeurs remplacées pour revenir à l'état défini dans le code.",
18056
- reset_to_code: "Réinitialiser au code",
18057
- widget_group_text: "Texte",
18058
- widget_group_boolean: "Booléen",
18059
- widget_group_users: "Utilisateurs",
18060
- widget_group_select: "Sélection",
18061
- widget_group_number: "Nombre",
18062
- widget_group_file: "Fichier",
18063
- widget_group_reference: "Référence",
18064
- widget_group_date: "Date",
18065
- widget_group_group: "Groupe",
18066
- widget_group_array: "Liste"
18067
- };
18068
- const collectionEditorTranslationsIt = {
18069
- file_upload_config: "Configurazione caricamento file",
18070
- file_type_images: "Immagini",
18071
- file_type_videos: "Video",
18072
- file_type_audio: "File audio",
18073
- file_type_applications: "File (pdf, zip, csv, excel...)",
18074
- file_type_text: "File di testo",
18075
- only: "Solo",
18076
- all_file_types_allowed: "Tutti i tipi di file consentiti",
18077
- allowed_file_types: "Tipi di file consentiti",
18078
- file_name_label: "Nome del file",
18079
- storage_path_label: "Percorso di archiviazione",
18080
- storage_placeholders_description: "Puoi utilizzare i seguenti segnaposto nei valori del nome file e del percorso di archiviazione:",
18081
- storage_placeholder_file: "{file} - Nome completo del file caricato",
18082
- storage_placeholder_file_name: "{file.name} - Nome del file caricato senza estensione",
18083
- storage_placeholder_file_ext: "{file.ext} - Estensione del file caricato",
18084
- storage_placeholder_entity_id: "{entityId} - ID dell'entità",
18085
- storage_placeholder_property_key: "{propertyKey} - ID di questo campo",
18086
- storage_placeholder_path: "{path} - Percorso di questa entità",
18087
- storage_placeholder_rand: "{rand} - Valore casuale per evitare conflitti di nomi",
18088
- include_bucket_url: "Includi URL del bucket (gs://...) nel valore salvato",
18089
- 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.",
18090
- save_url_instead_of_path: "Salva URL invece del percorso di archiviazione",
18091
- 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.",
18092
- max_size_bytes: "Dimensione massima (in byte)",
18093
- image_resize_configuration: "Configurazione ridimensionamento immagine",
18094
- image_resize_description: "Ridimensiona e ottimizza automaticamente le immagini prima del caricamento (solo JPEG, PNG, WebP)",
18095
- max_width_px: "Larghezza max (px)",
18096
- max_height_px: "Altezza max (px)",
18097
- resize_mode: "Modalità ridimensionamento",
18098
- resize_contain: "Contenere",
18099
- resize_contain_description: "Contenere (adatta ai limiti)",
18100
- resize_cover: "Coprire",
18101
- resize_cover_description: "Coprire (riempi i limiti, può ritagliare)",
18102
- output_format: "Formato di output",
18103
- format_original: "Originale",
18104
- format_original_description: "Originale (mantieni lo stesso formato)",
18105
- format_webp_description: "WebP (migliore compressione)",
18106
- quality_label: "Qualità (0–100)",
18107
- quality_hint: "Qualità superiore = file più grande. Consigliato: 80–90 per foto, 90–100 per grafica",
18108
- preview_type: "Tipo anteprima",
18109
- preview_image: "Immagine",
18110
- preview_video: "Video",
18111
- preview_audio: "Audio",
18112
- display_url: "Mostra URL",
18113
- default_value_not_set: "Valore predefinito non impostato",
18114
- default_value_is: "Il valore predefinito è {{value}}",
18115
- default_value_was_cleared: "Il valore predefinito è stato rimosso",
18116
- enum_missing_values: "Questa proprietà enum è incompleta",
18117
- mode_label: "Modalità",
18118
- date_time_mode: "Data/Ora",
18119
- date_mode: "Data",
18120
- automatic_value: "Valore automatico",
18121
- auto_on_create: "Alla creazione",
18122
- auto_on_update: "Ad ogni aggiornamento",
18123
- auto_none: "Nessuno",
18124
- auto_value_description: "Aggiorna questo campo automaticamente alla creazione o aggiornamento dell'entità",
18125
- timezone_label: "Fuso orario",
18126
- local_timezone: "Fuso orario locale",
18127
- timezone_description: "Fuso orario per la visualizzazione e l'inserimento delle date. I valori sono sempre memorizzati in UTC.",
18128
- target_collection: "Collezione di destinazione",
18129
- views_group: "Viste",
18130
- add_property_to: "Aggiungi proprietà a {{name}}",
18131
- add_first_property_to_group: "Aggiungi la prima proprietà a questo gruppo",
18132
- spread_children_as_columns: "Espandi figli come colonne",
18133
- spread_children_description: "Attiva questa opzione se desideri visualizzare i figli di questo gruppo come colonne individuali. Funziona solo per i gruppi di primo livello.",
18134
- paste_behavior: "Comportamento incolla",
18135
- strip_html_on_paste: "Rimuovi HTML all'incolla",
18136
- strip_html_description: "Rimuovi tag HTML e stili inline quando incolli contenuti da fonti esterne",
18137
- convert_pasted_to_markdown: "Converti testo incollato in markdown",
18138
- convert_pasted_description: "Converti testo formattato (da Google Docs, Word, ecc.) in formato markdown pulito",
18139
- markdown_url_note: "Quando si utilizza Markdown, gli URL dei file caricati vengono sempre salvati nel valore testo (non il percorso).",
18140
- hide_from_collection: "Nascondi dalla collezione",
18141
- hide_from_collection_tooltip: "Nascondi questo campo dalla vista collezione. Sarà comunque visibile nella vista modulo",
18142
- read_only: "Sola lettura",
18143
- read_only_tooltip: "Questo è un campo di sola lettura. Visualizza solo come anteprima",
18144
- nullable: "Nullable",
18145
- nullable_tooltip: "Consenti di impostare esplicitamente questo campo su null. All'utente verrà mostrato un pulsante di cancellazione",
18146
- tab_general: "Generale",
18147
- tab_display: "Visualizzazione",
18148
- tab_properties: "Proprietà",
18149
- tab_extend: "Estendi",
18150
- unsaved_changes_in_collection: "Ci sono modifiche non salvate in questa collezione",
18151
- error_persisting_collection: "Errore nel salvataggio della collezione: {{error}}",
18152
- details_in_console: "Dettagli nella console",
18153
- error_inferring_collection: "Errore nell'inferenza della collezione: {{error}}",
18154
- collection_deleted: "Collezione eliminata",
18155
- data_imported_successfully_msg: "Dati importati con successo",
18156
- must_specify_path: "Devi specificare un percorso nel database per questa collezione",
18157
- collection_path_already_exists: "Esiste già una collezione con il percorso specificato. Se desideri avere più collezioni con lo stesso percorso, assicurati che abbiano ID diversi",
18158
- collection_path_odd_segments: "I percorsi delle collezioni devono avere un numero dispari di segmenti: {{path}}",
18159
- collection_uses_path_as_id: "Esiste già una collezione che utilizza questo valore come percorso",
18160
- collection_uses_this_id: "Esiste già una collezione che utilizza questo ID",
18161
- delete_stored_config: "Eliminare la configurazione salvata?",
18162
- delete_stored_config_body: "Questo non eliminerà alcun dato, solo la configurazione salvata, e ripristinerà lo stato del codice.",
18163
- order_label: "Ordine",
18164
- // Collection Properties Editor
18165
- select_property_to_edit: "Seleziona una proprietà per modificarla",
18166
- add_first_property: "Ora puoi aggiungere la tua prima proprietà",
18167
- add_new_property: "Aggiungi nuova proprietà",
18168
- no_permission_add_properties: "Non hai i permessi per aggiungere nuove proprietà",
18169
- get_code_for_collection: "Ottieni il codice di questa collezione",
18170
- add_properties_from_data: "Aggiungi nuove proprietà basate sui dati",
18171
- collection_name_placeholder: "Nome della collezione",
18172
- created_by: "Creato da {{name}}",
18173
- property_defined_as_builder: "Questa proprietà è definita come property builder nel codice",
18174
- // Extend Settings
18175
- extend_title: "Estendi",
18176
- extend_description: "Aggiungi sotto-collezioni, viste personalizzate e azioni entità a questa collezione.",
18177
- collection_defined_in_code: "Questa collezione è definita nel codice. Le modifiche effettuate in questo editor sovrascriveranno le proprietà definite nel codice. Puoi eliminare i valori sovrascritti per tornare allo stato definito nel codice.",
18178
- reset_to_code: "Ripristina al codice",
18179
- widget_group_text: "Testo",
18180
- widget_group_boolean: "Booleano",
18181
- widget_group_users: "Utenti",
18182
- widget_group_select: "Selezione",
18183
- widget_group_number: "Numero",
18184
- widget_group_file: "File",
18185
- widget_group_reference: "Riferimento",
18186
- widget_group_date: "Data",
18187
- widget_group_group: "Gruppo",
18188
- widget_group_array: "Lista"
18189
- };
18190
- const collectionEditorTranslationsHi = {
18191
- file_upload_config: "फ़ाइल अपलोड कॉन्फ़िगरेशन",
18192
- file_type_images: "चित्र",
18193
- file_type_videos: "वीडियो",
18194
- file_type_audio: "ऑडियो फ़ाइलें",
18195
- file_type_applications: "फ़ाइलें (pdf, zip, csv, excel...)",
18196
- file_type_text: "टेक्स्ट फ़ाइलें",
18197
- only: "केवल",
18198
- all_file_types_allowed: "सभी फ़ाइल प्रकार अनुमत",
18199
- allowed_file_types: "अनुमत फ़ाइल प्रकार",
18200
- file_name_label: "फ़ाइल का नाम",
18201
- storage_path_label: "स्टोरेज पथ",
18202
- storage_placeholders_description: "आप फ़ाइल नाम और स्टोरेज पथ मानों में निम्नलिखित प्लेसहोल्डर्स का उपयोग कर सकते हैं:",
18203
- storage_placeholder_file: "{file} - अपलोड की गई फ़ाइल का पूरा नाम",
18204
- storage_placeholder_file_name: "{file.name} - एक्सटेंशन के बिना अपलोड की गई फ़ाइल का नाम",
18205
- storage_placeholder_file_ext: "{file.ext} - अपलोड की गई फ़ाइल का एक्सटेंशन",
18206
- storage_placeholder_entity_id: "{entityId} - इकाई की ID",
18207
- storage_placeholder_property_key: "{propertyKey} - इस फ़ील्ड की ID",
18208
- storage_placeholder_path: "{path} - इस इकाई का पथ",
18209
- storage_placeholder_rand: "{rand} - नाम टकराव से बचने के लिए यादृच्छिक मूल्य",
18210
- include_bucket_url: "सहेजे गए मान में बकेट URL (gs://...) शामिल करें",
18211
- include_bucket_url_description: "यदि आप केवल स्टोरेज पथ के बजाय पूरी तरह से योग्य स्टोरेज URL (जैसे gs://my-bucket/path/to/file) सहेजना चाहते हैं तो इस सेटिंग को चालू करें। आप इसे केवल निर्माण के समय बदल सकते हैं।",
18212
- save_url_instead_of_path: "स्टोरेज पथ के बजाय URL सहेजें",
18213
- save_url_description: "यदि आप स्टोरेज पथ के बजाय अपलोड की गई फ़ाइल का डाउनलोड URL सहेजना पसंद करते हैं तो इस सेटिंग को चालू करें। आप इसे केवल निर्माण के समय बदल सकते हैं।",
18214
- max_size_bytes: "अधिकतम आकार (बाइट में)",
18215
- image_resize_configuration: "छवि आकार बदलने का कॉन्फ़िगरेशन",
18216
- image_resize_description: "अपलोड से पहले स्वचालित रूप से छवियों का आकार बदलें और अनुकूलित करें (केवल JPEG, PNG, WebP)",
18217
- max_width_px: "अधिकतम चौड़ाई (px)",
18218
- max_height_px: "अधिकतम ऊंचाई (px)",
18219
- resize_mode: "आकार बदलने का मोड",
18220
- resize_contain: "समाहित करें",
18221
- resize_contain_description: "समाहित करें (सीमाओं के भीतर फ़िट करें)",
18222
- resize_cover: "कवर",
18223
- resize_cover_description: "कवर (सीमाएँ भरें, काट सकता है)",
18224
- output_format: "आउटपुट प्रारूप",
18225
- format_original: "मूल",
18226
- format_original_description: "मूल (समान प्रारूप रखें)",
18227
- format_webp_description: "WebP (सर्वोत्तम संपीड़न)",
18228
- quality_label: "गुणवत्ता (0–100)",
18229
- quality_hint: "उच्च गुणवत्ता = बड़ा फ़ाइल आकार। अनुशंसित: फ़ोटो के लिए 80–90, ग्राफ़िक्स के लिए 90–100",
18230
- preview_type: "पूर्वावलोकन प्रकार",
18231
- preview_image: "छवि",
18232
- preview_video: "वीडियो",
18233
- preview_audio: "ऑडियो",
18234
- display_url: "URL दिखाएँ",
18235
- default_value_not_set: "डिफ़ॉल्ट मान सेट नहीं है",
18236
- default_value_is: "डिफ़ॉल्ट मान {{value}} है",
18237
- default_value_was_cleared: "डिफ़ॉल्ट मान हटा दिया गया",
18238
- enum_missing_values: "इस enum प्रॉपर्टी में कुछ मान अनुपस्थित हैं",
18239
- mode_label: "मोड",
18240
- date_time_mode: "दिनांक/समय",
18241
- date_mode: "दिनांक",
18242
- automatic_value: "स्वचालित मान",
18243
- auto_on_create: "निर्माण पर",
18244
- auto_on_update: "किसी भी अपडेट पर",
18245
- auto_none: "कोई नहीं",
18246
- auto_value_description: "इकाई बनाते या अपडेट करते समय इस फ़ील्ड को स्वचालित रूप से अपडेट करें",
18247
- timezone_label: "समय क्षेत्र",
18248
- local_timezone: "स्थानीय समय क्षेत्र",
18249
- timezone_description: "तारीखों को प्रदर्शित और इनपुट करने के लिए समय क्षेत्र। मान हमेशा UTC में संग्रहीत होते हैं।",
18250
- target_collection: "लक्ष्य संग्रह",
18251
- views_group: "दृश्य",
18252
- add_property_to: "{{name}} में प्रॉपर्टी जोड़ें",
18253
- add_first_property_to_group: "इस समूह में पहली प्रॉपर्टी जोड़ें",
18254
- spread_children_as_columns: "बच्चों को कॉलम के रूप में फैलाएँ",
18255
- spread_children_description: "यदि आप इस समूह के बच्चों को व्यक्तिगत कॉलम के रूप में प्रदर्शित करना चाहते हैं तो इसे चालू करें। यह केवल शीर्ष स्तर के समूहों के लिए काम करता है।",
18256
- paste_behavior: "पेस्ट व्यवहार",
18257
- strip_html_on_paste: "पेस्ट करते समय HTML हटाएँ",
18258
- strip_html_description: "बाहरी स्रोतों से सामग्री पेस्ट करते समय HTML टैग और इनलाइन स्टाइल हटाएँ",
18259
- convert_pasted_to_markdown: "पेस्ट किए गए टेक्स्ट को markdown में बदलें",
18260
- convert_pasted_description: "रिच टेक्स्ट (Google Docs, Word, आदि से) को साफ़ markdown प्रारूप में बदलें",
18261
- markdown_url_note: "Markdown का उपयोग करते समय, अपलोड की गई फ़ाइलों का URL हमेशा टेक्स्ट मान में सहेजा जाता है (पथ नहीं)।",
18262
- hide_from_collection: "संग्रह से छिपाएँ",
18263
- hide_from_collection_tooltip: "इस फ़ील्ड को संग्रह दृश्य से छिपाएँ। यह फ़ॉर्म दृश्य में अभी भी दिखाई देगा",
18264
- read_only: "केवल पढ़ने के लिए",
18265
- read_only_tooltip: "क्या यह फ़ील्ड केवल पढ़ने के लिए है। केवल पूर्वावलोकन के रूप में प्रदर्शित करें",
18266
- nullable: "Nullable",
18267
- nullable_tooltip: "इस फ़ील्ड को स्पष्ट रूप से null पर सेट करने की अनुमति दें। उपयोगकर्ता को एक क्लियर बटन दिखाया जाएगा",
18268
- tab_general: "सामान्य",
18269
- tab_display: "प्रदर्शन",
18270
- tab_properties: "प्रॉपर्टीज़",
18271
- tab_extend: "विस्तार",
18272
- unsaved_changes_in_collection: "इस संग्रह में असहेजे परिवर्तन हैं",
18273
- error_persisting_collection: "संग्रह सहेजने में त्रुटि: {{error}}",
18274
- details_in_console: "कंसोल में विवरण",
18275
- error_inferring_collection: "संग्रह अनुमान में त्रुटि: {{error}}",
18276
- collection_deleted: "संग्रह हटाया गया",
18277
- data_imported_successfully_msg: "डेटा सफलतापूर्वक आयातित",
18278
- must_specify_path: "आपको इस संग्रह के लिए डेटाबेस में एक पथ निर्दिष्ट करना होगा",
18279
- collection_path_already_exists: "निर्दिष्ट पथ के साथ पहले से ही एक संग्रह है। यदि आप एक ही डेटाबेस पथ के साथ कई संग्रह चाहते हैं, तो सुनिश्चित करें कि उनकी अलग-अलग ID हों",
18280
- collection_path_odd_segments: "संग्रह पथों में विषम संख्या में खंड होने चाहिए: {{path}}",
18281
- collection_uses_path_as_id: "पहले से ही एक संग्रह है जो इस मान को पथ के रूप में उपयोग करता है",
18282
- collection_uses_this_id: "पहले से ही एक संग्रह है जो इस ID का उपयोग करता है",
18283
- delete_stored_config: "सहेजा गया कॉन्फ़िगरेशन हटाएँ?",
18284
- delete_stored_config_body: "यह कोई डेटा नहीं हटाएगा, केवल सहेजा गया कॉन्फ़िगरेशन, और कोड स्थिति में रीसेट करेगा।",
18285
- order_label: "क्रम",
18286
- // Collection Properties Editor
18287
- select_property_to_edit: "संपादित करने के लिए एक प्रॉपर्टी चुनें",
18288
- add_first_property: "अब आप अपनी पहली प्रॉपर्टी जोड़ सकते हैं",
18289
- add_new_property: "नई प्रॉपर्टी जोड़ें",
18290
- no_permission_add_properties: "आपको नई प्रॉपर्टीज़ जोड़ने की अनुमति नहीं है",
18291
- get_code_for_collection: "इस संग्रह का कोड प्राप्त करें",
18292
- add_properties_from_data: "डेटा के आधार पर नई प्रॉपर्टीज़ जोड़ें",
18293
- collection_name_placeholder: "संग्रह का नाम",
18294
- created_by: "{{name}} द्वारा बनाया गया",
18295
- property_defined_as_builder: "यह प्रॉपर्टी कोड में property builder के रूप में परिभाषित है",
18296
- // Extend Settings
18297
- extend_title: "विस्तार",
18298
- extend_description: "इस संग्रह में उप-संग्रह, कस्टम दृश्य और इकाई क्रियाएँ जोड़ें।",
18299
- collection_defined_in_code: "यह संग्रह कोड में परिभाषित है। इस संपादक में किए गए परिवर्तन कोड में परिभाषित प्रॉपर्टीज़ को ओवरराइड करेंगे। आप ओवरराइड किए गए मानों को हटाकर कोड में परिभाषित स्थिति पर वापस जा सकते हैं।",
18300
- reset_to_code: "कोड पर रीसेट करें",
18301
- widget_group_text: "टेक्स्ट",
18302
- widget_group_boolean: "बूलियन",
18303
- widget_group_users: "उपयोगकर्ता",
18304
- widget_group_select: "चयन",
18305
- widget_group_number: "संख्या",
18306
- widget_group_file: "फ़ाइल",
18307
- widget_group_reference: "संदर्भ",
18308
- widget_group_date: "दिनांक",
18309
- widget_group_group: "समूह",
18310
- widget_group_array: "सूची"
18311
- };
18312
- const collectionEditorTranslationsPt = {
18313
- file_upload_config: "Configuração de upload de arquivo",
18314
- file_type_images: "Imagens",
18315
- file_type_videos: "Vídeos",
18316
- file_type_audio: "Arquivos de áudio",
18317
- file_type_applications: "Arquivos (pdf, zip, csv, excel...)",
18318
- file_type_text: "Arquivos de texto",
18319
- only: "Apenas",
18320
- all_file_types_allowed: "Todos os tipos de arquivo permitidos",
18321
- allowed_file_types: "Tipos de arquivo permitidos",
18322
- file_name_label: "Nome do arquivo",
18323
- storage_path_label: "Caminho de armazenamento",
18324
- storage_placeholders_description: "Você pode usar os seguintes marcadores nos valores do nome do arquivo e do caminho de armazenamento:",
18325
- storage_placeholder_file: "{file} - Nome completo do arquivo enviado",
18326
- storage_placeholder_file_name: "{file.name} - Nome do arquivo enviado sem extensão",
18327
- storage_placeholder_file_ext: "{file.ext} - Extensão do arquivo enviado",
18328
- storage_placeholder_entity_id: "{entityId} - ID da entidade",
18329
- storage_placeholder_property_key: "{propertyKey} - ID deste campo",
18330
- storage_placeholder_path: "{path} - Caminho desta entidade",
18331
- storage_placeholder_rand: "{rand} - Valor aleatório para evitar colisões de nomes",
18332
- include_bucket_url: "Incluir URL do bucket (gs://...) no valor salvo",
18333
- 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.",
18334
- save_url_instead_of_path: "Salvar URL em vez do caminho de armazenamento",
18335
- 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.",
18336
- max_size_bytes: "Tamanho máximo (em bytes)",
18337
- image_resize_configuration: "Configuração de redimensionamento de imagem",
18338
- image_resize_description: "Redimensionar e otimizar imagens automaticamente antes do upload (apenas JPEG, PNG, WebP)",
18339
- max_width_px: "Largura máx (px)",
18340
- max_height_px: "Altura máx (px)",
18341
- resize_mode: "Modo de redimensionamento",
18342
- resize_contain: "Conter",
18343
- resize_contain_description: "Conter (ajustar dentro dos limites)",
18344
- resize_cover: "Cobrir",
18345
- resize_cover_description: "Cobrir (preencher limites, pode cortar)",
18346
- output_format: "Formato de saída",
18347
- format_original: "Original",
18348
- format_original_description: "Original (manter mesmo formato)",
18349
- format_webp_description: "WebP (melhor compressão)",
18350
- quality_label: "Qualidade (0–100)",
18351
- quality_hint: "Maior qualidade = arquivo maior. Recomendado: 80–90 para fotos, 90–100 para gráficos",
18352
- preview_type: "Tipo de pré-visualização",
18353
- preview_image: "Imagem",
18354
- preview_video: "Vídeo",
18355
- preview_audio: "Áudio",
18356
- display_url: "Exibir URL",
18357
- default_value_not_set: "Valor padrão não definido",
18358
- default_value_is: "O valor padrão é {{value}}",
18359
- default_value_was_cleared: "O valor padrão foi removido",
18360
- enum_missing_values: "Esta propriedade enum está com valores faltando",
18361
- mode_label: "Modo",
18362
- date_time_mode: "Data/Hora",
18363
- date_mode: "Data",
18364
- automatic_value: "Valor automático",
18365
- auto_on_create: "Na criação",
18366
- auto_on_update: "Em qualquer atualização",
18367
- auto_none: "Nenhum",
18368
- auto_value_description: "Atualizar este campo automaticamente ao criar ou atualizar a entidade",
18369
- timezone_label: "Fuso horário",
18370
- local_timezone: "Fuso horário local",
18371
- timezone_description: "Fuso horário para exibir e inserir datas. Os valores são sempre armazenados em UTC.",
18372
- target_collection: "Coleção alvo",
18373
- views_group: "Visualizações",
18374
- add_property_to: "Adicionar propriedade a {{name}}",
18375
- add_first_property_to_group: "Adicione a primeira propriedade a este grupo",
18376
- spread_children_as_columns: "Expandir filhos como colunas",
18377
- spread_children_description: "Ative esta opção se deseja exibir os filhos deste grupo como colunas individuais. Isso só funciona para grupos de nível superior.",
18378
- paste_behavior: "Comportamento ao colar",
18379
- strip_html_on_paste: "Remover HTML ao colar",
18380
- strip_html_description: "Remover tags HTML e estilos inline ao colar conteúdo de fontes externas",
18381
- convert_pasted_to_markdown: "Converter texto colado em markdown",
18382
- convert_pasted_description: "Converter texto rico (do Google Docs, Word, etc.) em formato markdown limpo",
18383
- markdown_url_note: "Ao usar Markdown, as URLs dos arquivos enviados são sempre salvas no valor de texto (não o caminho).",
18384
- hide_from_collection: "Ocultar da coleção",
18385
- hide_from_collection_tooltip: "Ocultar este campo da visualização da coleção. Ele ainda estará visível na visualização do formulário",
18386
- read_only: "Somente leitura",
18387
- read_only_tooltip: "Este é um campo somente leitura. Exibir apenas como pré-visualização",
18388
- nullable: "Nullable",
18389
- nullable_tooltip: "Permitir que este campo seja explicitamente definido como null. Um botão de limpar será exibido ao usuário",
18390
- tab_general: "Geral",
18391
- tab_display: "Exibição",
18392
- tab_properties: "Propriedades",
18393
- tab_extend: "Estender",
18394
- unsaved_changes_in_collection: "Existem alterações não salvas nesta coleção",
18395
- error_persisting_collection: "Erro ao salvar a coleção: {{error}}",
18396
- details_in_console: "Detalhes no console",
18397
- error_inferring_collection: "Erro ao inferir a coleção: {{error}}",
18398
- collection_deleted: "Coleção excluída",
18399
- data_imported_successfully_msg: "Dados importados com sucesso",
18400
- must_specify_path: "Você deve especificar um caminho no banco de dados para esta coleção",
18401
- collection_path_already_exists: "Já existe uma coleção com o caminho especificado. Se deseja ter múltiplas coleções com o mesmo caminho de banco de dados, certifique-se de que tenham IDs diferentes",
18402
- collection_path_odd_segments: "Os caminhos de coleção devem ter um número ímpar de segmentos: {{path}}",
18403
- collection_uses_path_as_id: "Já existe uma coleção que usa este valor como caminho",
18404
- collection_uses_this_id: "Já existe uma coleção que usa este ID",
18405
- delete_stored_config: "Excluir a configuração salva?",
18406
- delete_stored_config_body: "Isso não excluirá nenhum dado, apenas a configuração salva, e restaurará ao estado do código.",
18407
- order_label: "Ordem",
18408
- // Collection Properties Editor
18409
- select_property_to_edit: "Selecione uma propriedade para editá-la",
18410
- add_first_property: "Agora você pode adicionar sua primeira propriedade",
18411
- add_new_property: "Adicionar nova propriedade",
18412
- no_permission_add_properties: "Você não tem permissão para adicionar novas propriedades",
18413
- get_code_for_collection: "Obter o código desta coleção",
18414
- add_properties_from_data: "Adicionar novas propriedades com base nos dados",
18415
- collection_name_placeholder: "Nome da coleção",
18416
- created_by: "Criado por {{name}}",
18417
- property_defined_as_builder: "Esta propriedade está definida como um property builder no código",
18418
- // Extend Settings
18419
- extend_title: "Estender",
18420
- extend_description: "Adicione subcoleções, visualizações personalizadas e ações de entidade a esta coleção.",
18421
- collection_defined_in_code: "Esta coleção está definida no código. As alterações feitas neste editor substituirão as propriedades definidas no código. Você pode excluir os valores substituídos para voltar ao estado definido no código.",
18422
- reset_to_code: "Restaurar ao código",
18423
- widget_group_text: "Texto",
18424
- widget_group_boolean: "Booleano",
18425
- widget_group_users: "Usuários",
18426
- widget_group_select: "Seleção",
18427
- widget_group_number: "Número",
18428
- widget_group_file: "Arquivo",
18429
- widget_group_reference: "Referência",
18430
- widget_group_date: "Data",
18431
- widget_group_group: "Grupo",
18432
- widget_group_array: "Lista"
18433
- };
18434
- function useCollectionEditorPlugin(t0) {
18435
- const $ = c(28);
18436
- const {
18437
- collectionConfigController,
18438
- configPermissions,
18439
- reservedGroups,
18440
- extraView,
18441
- getUser,
18442
- collectionInference,
18443
- getData,
18444
- onAnalyticsEvent,
18445
- includeIntroView: t1,
18446
- pathSuggestions,
18447
- generateCollection
18448
- } = t0;
18449
- const includeIntroView = t1 === void 0 ? true : t1;
18450
- let t2;
18451
- if ($[0] !== collectionConfigController || $[1] !== collectionInference || $[2] !== configPermissions || $[3] !== extraView || $[4] !== generateCollection || $[5] !== getData || $[6] !== getUser || $[7] !== onAnalyticsEvent || $[8] !== pathSuggestions || $[9] !== reservedGroups) {
18452
- t2 = {
17760
+ function useCollectionEditorPlugin({
17761
+ collectionConfigController,
17762
+ configPermissions,
17763
+ reservedGroups,
17764
+ extraView,
17765
+ getUser,
17766
+ collectionInference,
17767
+ getData,
17768
+ onAnalyticsEvent,
17769
+ includeIntroView = true,
17770
+ pathSuggestions,
17771
+ generateCollection
17772
+ }) {
17773
+ return {
17774
+ key: "collection_editor",
17775
+ loading: collectionConfigController.loading,
17776
+ provider: {
18453
17777
  Component: ConfigControllerProvider,
18454
17778
  props: {
18455
17779
  collectionConfigController,
@@ -18463,57 +17787,17 @@ function useCollectionEditorPlugin(t0) {
18463
17787
  pathSuggestions,
18464
17788
  generateCollection
18465
17789
  }
18466
- };
18467
- $[0] = collectionConfigController;
18468
- $[1] = collectionInference;
18469
- $[2] = configPermissions;
18470
- $[3] = extraView;
18471
- $[4] = generateCollection;
18472
- $[5] = getData;
18473
- $[6] = getUser;
18474
- $[7] = onAnalyticsEvent;
18475
- $[8] = pathSuggestions;
18476
- $[9] = reservedGroups;
18477
- $[10] = t2;
18478
- } else {
18479
- t2 = $[10];
18480
- }
18481
- let t3;
18482
- if ($[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
18483
- t3 = /* @__PURE__ */ jsx(NewCollectionButton, {});
18484
- $[11] = t3;
18485
- } else {
18486
- t3 = $[11];
18487
- }
18488
- let t4;
18489
- if ($[12] !== includeIntroView) {
18490
- t4 = includeIntroView ? /* @__PURE__ */ jsx(IntroWidget, {}) : void 0;
18491
- $[12] = includeIntroView;
18492
- $[13] = t4;
18493
- } else {
18494
- t4 = $[13];
18495
- }
18496
- let t5;
18497
- if ($[14] !== collectionConfigController.navigationEntries || $[15] !== collectionConfigController.saveNavigationEntries || $[16] !== t4) {
18498
- t5 = {
18499
- additionalActions: t3,
18500
- additionalChildrenStart: t4,
17790
+ },
17791
+ homePage: {
17792
+ additionalActions: /* @__PURE__ */ jsx(NewCollectionButton, {}),
17793
+ additionalChildrenStart: includeIntroView ? /* @__PURE__ */ jsx(IntroWidget, {}) : void 0,
18501
17794
  CollectionActions: HomePageEditorCollectionAction,
18502
17795
  AdditionalCards: NewCollectionCard,
18503
17796
  allowDragAndDrop: true,
18504
17797
  navigationEntries: collectionConfigController.navigationEntries,
18505
17798
  onNavigationEntriesUpdate: collectionConfigController.saveNavigationEntries
18506
- };
18507
- $[14] = collectionConfigController.navigationEntries;
18508
- $[15] = collectionConfigController.saveNavigationEntries;
18509
- $[16] = t4;
18510
- $[17] = t5;
18511
- } else {
18512
- t5 = $[17];
18513
- }
18514
- let t6;
18515
- if ($[18] !== collectionConfigController.updateKanbanColumnsOrder || $[19] !== collectionConfigController.updatePropertiesOrder) {
18516
- t6 = {
17799
+ },
17800
+ collectionView: {
18517
17801
  CollectionActionsStart: EditorCollectionActionStart,
18518
17802
  CollectionActions: EditorCollectionAction,
18519
17803
  HeaderAction: CollectionViewHeaderAction,
@@ -18522,54 +17806,23 @@ function useCollectionEditorPlugin(t0) {
18522
17806
  onKanbanColumnsReorder: collectionConfigController.updateKanbanColumnsOrder,
18523
17807
  KanbanSetupComponent: KanbanSetupAction,
18524
17808
  AddKanbanColumnComponent: AddKanbanColumnAction
18525
- };
18526
- $[18] = collectionConfigController.updateKanbanColumnsOrder;
18527
- $[19] = collectionConfigController.updatePropertiesOrder;
18528
- $[20] = t6;
18529
- } else {
18530
- t6 = $[20];
18531
- }
18532
- let t7;
18533
- let t8;
18534
- if ($[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
18535
- t7 = {
17809
+ },
17810
+ form: {
18536
17811
  ActionsTop: EditorEntityAction
18537
- };
18538
- t8 = {
17812
+ },
17813
+ i18n: {
17814
+ // Only English is bundled; the rest load when that language is selected.
17815
+ // Seven languages of strings in every plugin bundle is dead weight for
17816
+ // the six nobody is reading.
18539
17817
  en: collectionEditorTranslationsEn,
18540
- es: collectionEditorTranslationsEs,
18541
- de: collectionEditorTranslationsDe,
18542
- fr: collectionEditorTranslationsFr,
18543
- it: collectionEditorTranslationsIt,
18544
- hi: collectionEditorTranslationsHi,
18545
- pt: collectionEditorTranslationsPt
18546
- };
18547
- $[21] = t7;
18548
- $[22] = t8;
18549
- } else {
18550
- t7 = $[21];
18551
- t8 = $[22];
18552
- }
18553
- let t9;
18554
- if ($[23] !== collectionConfigController.loading || $[24] !== t2 || $[25] !== t5 || $[26] !== t6) {
18555
- t9 = {
18556
- key: "collection_editor",
18557
- loading: collectionConfigController.loading,
18558
- provider: t2,
18559
- homePage: t5,
18560
- collectionView: t6,
18561
- form: t7,
18562
- i18n: t8
18563
- };
18564
- $[23] = collectionConfigController.loading;
18565
- $[24] = t2;
18566
- $[25] = t5;
18567
- $[26] = t6;
18568
- $[27] = t9;
18569
- } else {
18570
- t9 = $[27];
18571
- }
18572
- return t9;
17818
+ es: () => import("./es-n-JMLSct.js").then((m) => m.collectionEditorTranslationsEs),
17819
+ de: () => import("./de-BfAs6FCh.js").then((m_0) => m_0.collectionEditorTranslationsDe),
17820
+ fr: () => import("./fr-BkIcmidG.js").then((m_1) => m_1.collectionEditorTranslationsFr),
17821
+ it: () => import("./it-B8DeGSZc.js").then((m_2) => m_2.collectionEditorTranslationsIt),
17822
+ hi: () => import("./hi-CeydXFQO.js").then((m_3) => m_3.collectionEditorTranslationsHi),
17823
+ pt: () => import("./pt-BDUhigIy.js").then((m_4) => m_4.collectionEditorTranslationsPt)
17824
+ }
17825
+ };
18573
17826
  }
18574
17827
  function IntroWidget() {
18575
17828
  const $ = c(24);