@firecms/core 3.0.0-alpha.30 → 3.0.0-alpha.31

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.
@@ -6,7 +6,6 @@ export { Drawer, DrawerNavigationItem } from "./Drawer";
6
6
  export * from "./SideDialogs";
7
7
  export * from "./NavigationRoutes";
8
8
  export * from "./components";
9
- export * from "./builders";
10
9
  export * from "./util";
11
10
  export * from "./form_field_configs";
12
11
  export * from "./useBuildModeController";
package/dist/index.es.js CHANGED
@@ -24298,34 +24298,7 @@ const PW = F.memo(
24298
24298
  },
24299
24299
  _e
24300
24300
  );
24301
- function RW(e) {
24302
- return e;
24303
- }
24304
- function TW(e) {
24305
- return e;
24306
- }
24307
- function MW(e) {
24308
- return e;
24309
- }
24310
- function QW(e) {
24311
- return e;
24312
- }
24313
- function OW(e) {
24314
- return e;
24315
- }
24316
- function LW(e) {
24317
- return e;
24318
- }
24319
- function zW(e) {
24320
- return e;
24321
- }
24322
- function VW(e) {
24323
- return e;
24324
- }
24325
- function GW(e) {
24326
- return e;
24327
- }
24328
- function WW() {
24301
+ function RW() {
24329
24302
  const e = typeof window < "u" && window.matchMedia("(prefers-color-scheme: dark)"), r = (localStorage.getItem("prefers-dark-mode") != null ? localStorage.getItem("prefers-dark-mode") === "true" : null) ?? e, [i, c] = R(r ? "dark" : "light");
24330
24303
  O(() => {
24331
24304
  c(r ? "dark" : "light"), s(r ? "dark" : "light");
@@ -24345,7 +24318,7 @@ function WW() {
24345
24318
  toggleMode: u
24346
24319
  };
24347
24320
  }
24348
- function UW() {
24321
+ function TW() {
24349
24322
  const [e, o] = R({}), r = k((_) => {
24350
24323
  const y = localStorage.getItem(_);
24351
24324
  return y ? JSON.parse(y) : {};
@@ -24380,7 +24353,7 @@ function UW() {
24380
24353
  setCollapsedGroups: f
24381
24354
  };
24382
24355
  }
24383
- const YW = ({ children: e }) => /* @__PURE__ */ n(
24356
+ const MW = ({ children: e }) => /* @__PURE__ */ n(
24384
24357
  wc,
24385
24358
  {
24386
24359
  maxSnack: 3,
@@ -24437,7 +24410,7 @@ function Po({
24437
24410
  }
24438
24411
  );
24439
24412
  }
24440
- const HW = ({ ref: e }) => {
24413
+ const QW = ({ ref: e }) => {
24441
24414
  const [o, r] = F.useState(!1), [i, c] = F.useState(!1);
24442
24415
  return F.useEffect(() => {
24443
24416
  e.current && (e.current.onfocus = () => {
@@ -24451,7 +24424,7 @@ const HW = ({ ref: e }) => {
24451
24424
  setAutoCompleteOpen: r
24452
24425
  };
24453
24426
  };
24454
- function jW({
24427
+ function OW({
24455
24428
  children: e,
24456
24429
  open: o,
24457
24430
  setOpen: r
@@ -24483,7 +24456,7 @@ function jW({
24483
24456
  }
24484
24457
  );
24485
24458
  }
24486
- function $W({
24459
+ function LW({
24487
24460
  children: e,
24488
24461
  onClick: o
24489
24462
  }) {
@@ -24509,7 +24482,7 @@ const rd = (e) => {
24509
24482
  default:
24510
24483
  return "bg-blue-50 dark:bg-blue-800 dark:text-blue-100 text-blue-900";
24511
24484
  }
24512
- }, qW = ({
24485
+ }, zW = ({
24513
24486
  children: e,
24514
24487
  onDismiss: o,
24515
24488
  color: r = "info",
@@ -24782,7 +24755,7 @@ function To({
24782
24755
  }
24783
24756
  );
24784
24757
  }
24785
- function JW({
24758
+ function VW({
24786
24759
  accept: e,
24787
24760
  onFilesAdded: o,
24788
24761
  onFilesRejected: r,
@@ -24882,7 +24855,7 @@ function ud({
24882
24855
  }
24883
24856
  );
24884
24857
  }
24885
- function ZW({
24858
+ function GW({
24886
24859
  children: e,
24887
24860
  style: o,
24888
24861
  className: r
@@ -25069,7 +25042,7 @@ function an({
25069
25042
  e
25070
25043
  );
25071
25044
  }
25072
- function XW({
25045
+ function WW({
25073
25046
  label: e,
25074
25047
  children: o,
25075
25048
  className: r
@@ -25217,7 +25190,7 @@ const sc = ({
25217
25190
  }
25218
25191
  );
25219
25192
  };
25220
- function eU() {
25193
+ function UW() {
25221
25194
  return /* @__PURE__ */ I("div", { role: "status", children: [
25222
25195
  /* @__PURE__ */ I(
25223
25196
  "svg",
@@ -25396,7 +25369,7 @@ function qt({
25396
25369
  }
25397
25370
  );
25398
25371
  }
25399
- const nU = ({
25372
+ const YW = ({
25400
25373
  children: e,
25401
25374
  className: o,
25402
25375
  style: r
@@ -25410,7 +25383,7 @@ const nU = ({
25410
25383
  style: r,
25411
25384
  children: e
25412
25385
  }
25413
- ), tU = ({
25386
+ ), HW = ({
25414
25387
  children: e,
25415
25388
  className: o
25416
25389
  }) => /* @__PURE__ */ n(
@@ -25419,7 +25392,7 @@ const nU = ({
25419
25392
  className: S("bg-white text-sm dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700", o),
25420
25393
  children: e
25421
25394
  }
25422
- ), oU = ({
25395
+ ), jW = ({
25423
25396
  children: e,
25424
25397
  className: o
25425
25398
  }) => /* @__PURE__ */ n("thead", { children: /* @__PURE__ */ n("tr", { className: S(
@@ -25427,7 +25400,7 @@ const nU = ({
25427
25400
  "text-sm font-medium text-gray-700 dark:text-gray-300",
25428
25401
  "bg-gray-50 border-b dark:bg-gray-900",
25429
25402
  o
25430
- ), children: e }) }), rU = ({
25403
+ ), children: e }) }), $W = ({
25431
25404
  children: e,
25432
25405
  className: o,
25433
25406
  onClick: r,
@@ -25445,7 +25418,7 @@ const nU = ({
25445
25418
  ),
25446
25419
  children: e
25447
25420
  }
25448
- ), iU = ({
25421
+ ), qW = ({
25449
25422
  children: e,
25450
25423
  header: o = !1,
25451
25424
  scope: r = "",
@@ -25692,7 +25665,7 @@ export {
25692
25665
  cA as AlarmOffIcon,
25693
25666
  aA as AlarmOnIcon,
25694
25667
  lA as AlbumIcon,
25695
- qW as Alert,
25668
+ zW as Alert,
25696
25669
  sA as AlignHorizontalCenterIcon,
25697
25670
  uA as AlignHorizontalLeftIcon,
25698
25671
  dA as AlignHorizontalRightIcon,
@@ -25789,8 +25762,8 @@ export {
25789
25762
  Ep as AutoGraphIcon,
25790
25763
  Sp as AutoModeIcon,
25791
25764
  Fp as AutoStoriesIcon,
25792
- jW as Autocomplete,
25793
- $W as AutocompleteItem,
25765
+ OW as Autocomplete,
25766
+ LW as AutocompleteItem,
25794
25767
  Np as AutofpsSelectIcon,
25795
25768
  Dp as AutorenewIcon,
25796
25769
  Pp as AvTimerIcon,
@@ -26353,7 +26326,7 @@ export {
26353
26326
  Y0 as FileDownloadOffIcon,
26354
26327
  H0 as FileOpenIcon,
26355
26328
  j0 as FilePresentIcon,
26356
- JW as FileUpload,
26329
+ VW as FileUpload,
26357
26330
  $0 as FileUploadIcon,
26358
26331
  J0 as Filter1Icon,
26359
26332
  Z0 as Filter2Icon,
@@ -26993,7 +26966,7 @@ export {
26993
26966
  zN as PanoramaVerticalSelectIcon,
26994
26967
  VN as PanoramaWideAngleIcon,
26995
26968
  GN as PanoramaWideAngleSelectIcon,
26996
- ZW as Paper,
26969
+ GW as Paper,
26997
26970
  WN as ParaglidingIcon,
26998
26971
  UN as ParkIcon,
26999
26972
  YN as PartyModeIcon,
@@ -27298,7 +27271,7 @@ export {
27298
27271
  cn as Select,
27299
27272
  r4 as SelectAllIcon,
27300
27273
  er as SelectFieldBinding,
27301
- XW as SelectGroup,
27274
+ WW as SelectGroup,
27302
27275
  an as SelectItem,
27303
27276
  i4 as SelfImprovementIcon,
27304
27277
  c4 as SellIcon,
@@ -27404,7 +27377,7 @@ export {
27404
27377
  jQ as SmokingRoomsIcon,
27405
27378
  qQ as SmsFailedIcon,
27406
27379
  $Q as SmsIcon,
27407
- YW as SnackbarProvider,
27380
+ MW as SnackbarProvider,
27408
27381
  JQ as SnippetFolderIcon,
27409
27382
  ZQ as SnoozeIcon,
27410
27383
  XQ as SnowboardingIcon,
@@ -27435,7 +27408,7 @@ export {
27435
27408
  kO as SpeakerPhoneIcon,
27436
27409
  KO as SpeedIcon,
27437
27410
  xO as SpellcheckIcon,
27438
- eU as Spinner,
27411
+ UW as Spinner,
27439
27412
  CO as SplitscreenIcon,
27440
27413
  BO as SpokeIcon,
27441
27414
  SO as SportsBarIcon,
@@ -27552,14 +27525,14 @@ export {
27552
27525
  qt as Tab,
27553
27526
  v5 as TabIcon,
27554
27527
  k5 as TabUnselectedIcon,
27555
- nU as Table,
27528
+ YW as Table,
27556
27529
  K5 as TableBarIcon,
27557
- tU as TableBody,
27558
- iU as TableCell,
27530
+ HW as TableBody,
27531
+ qW as TableCell,
27559
27532
  x5 as TableChartIcon,
27560
- oU as TableHeader,
27533
+ jW as TableHeader,
27561
27534
  C5 as TableRestaurantIcon,
27562
- rU as TableRow,
27535
+ $W as TableRow,
27563
27536
  B5 as TableRowsIcon,
27564
27537
  E5 as TableViewIcon,
27565
27538
  F5 as TabletAndroidIcon,
@@ -27878,16 +27851,7 @@ export {
27878
27851
  Hf as _9kPlusIcon,
27879
27852
  jf as _9mpIcon,
27880
27853
  Md as addInitialSlash,
27881
- VW as buildAdditionalFieldDelegate,
27882
- RW as buildCollection,
27883
- zW as buildEntityCallbacks,
27884
27854
  zc as buildEnumLabel,
27885
- LW as buildEnumValueConfig,
27886
- OW as buildEnumValues,
27887
- GW as buildFieldConfig,
27888
- MW as buildProperties,
27889
- QW as buildPropertiesOrBuilder,
27890
- TW as buildProperty,
27891
27855
  ot as canCreateEntity,
27892
27856
  Co as canDeleteEntity,
27893
27857
  Si as canEditEntity,
@@ -27994,12 +27958,12 @@ export {
27994
27958
  Td as unslugify,
27995
27959
  Qc as updateDateAutoValues,
27996
27960
  vn as useAuthController,
27997
- HW as useAutoComplete,
27961
+ QW as useAutoComplete,
27998
27962
  ci as useBreadcrumbsContext,
27999
27963
  sW as useBrowserTitleAndIcon,
28000
27964
  uW as useBuildDataSource,
28001
- UW as useBuildLocalConfigurationPersistence,
28002
- WW as useBuildModeController,
27965
+ TW as useBuildLocalConfigurationPersistence,
27966
+ RW as useBuildModeController,
28003
27967
  Ue as useClearRestoreValue,
28004
27968
  Ca as useClipboard,
28005
27969
  ka as useCollectionFetch,