@rebasepro/cms 0.20.0 → 0.20.1-canary.g4d882ca

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.
Files changed (25) hide show
  1. package/dist/{CollectionEditorDialog-DQjLtp1W.js → CollectionEditorDialog-Dqj1H2J1.js} +14 -13
  2. package/dist/{CollectionEditorDialog-DQjLtp1W.js.map → CollectionEditorDialog-Dqj1H2J1.js.map} +1 -1
  3. package/dist/{PropertyEditView-BMCCD2OI.js → PropertyEditView-6bPyDphj.js} +2 -57
  4. package/dist/{PropertyEditView-BMCCD2OI.js.map → PropertyEditView-6bPyDphj.js.map} +1 -1
  5. package/dist/{RouterCollectionsStudioView-DwsbIAqr.js → RouterCollectionsStudioView-DcVBjsxs.js} +4 -4
  6. package/dist/{RouterCollectionsStudioView-DwsbIAqr.js.map → RouterCollectionsStudioView-DcVBjsxs.js.map} +1 -1
  7. package/dist/collection_editor/ui/collection_editor/templates/blog_template.d.ts +126 -2
  8. package/dist/collection_editor/ui/collection_editor/templates/pages_template.d.ts +201 -2
  9. package/dist/collection_editor/ui/collection_editor/templates/products_template.d.ts +92 -2
  10. package/dist/collection_editor/ui/collection_editor/templates/users_template.d.ts +43 -2
  11. package/dist/collection_editor_ui.js +4 -4
  12. package/dist/editor/editor.d.ts +1 -6
  13. package/dist/editor.js +1 -1
  14. package/dist/editor.js.map +1 -1
  15. package/dist/{export-DJoGYb89.js → export-uKD4QlR9.js} +2 -2
  16. package/dist/{export-DJoGYb89.js.map → export-uKD4QlR9.js.map} +1 -1
  17. package/dist/{history-BBpsdTrJ.js → history-BGkpUl0-.js} +2 -2
  18. package/dist/{history-BBpsdTrJ.js.map → history-BGkpUl0-.js.map} +1 -1
  19. package/dist/{import-C4VQ0rwO.js → import-jRh_je8w.js} +2 -2
  20. package/dist/{import-C4VQ0rwO.js.map → import-jRh_je8w.js.map} +1 -1
  21. package/dist/index.js +6 -6
  22. package/dist/{util-4oPxPkbp.js → util-CSqO4I0b.js} +9 -9
  23. package/dist/util-CSqO4I0b.js.map +1 -0
  24. package/package.json +9 -9
  25. package/dist/util-4oPxPkbp.js.map +0 -1
@@ -4183,7 +4183,7 @@ function EntityTableCellActions({ showError, disabled, showExpandIcon, selected,
4183
4183
  }
4184
4184
  //#endregion
4185
4185
  //#region src/components/CollectionTableBinding/fields/TableStorageUpload.tsx
4186
- var dropZoneClasses$1 = "max-w-full box-border relative pt-[2px] items-center border border-transparent outline-hidden rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid";
4186
+ var dropZoneClasses$1 = "max-w-full box-border relative pt-[2px] items-center border border-transparent outline-hidden rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary";
4187
4187
  var activeDropClasses$1 = "pt-0 border-2 border-solid";
4188
4188
  var acceptDropClasses$1 = "transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500 bg-green-50 dark:bg-green-900";
4189
4189
  var rejectDropClasses$1 = "transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500 bg-red-50 dark:bg-red-900";
@@ -9594,8 +9594,8 @@ function EditorCollectionAction({ path, parentCollectionSlugs, parentEntityIds,
9594
9594
  }
9595
9595
  //#endregion
9596
9596
  //#region src/components/CollectionViewBinding/CollectionViewActions.tsx
9597
- var ImportCollectionAction = lazyChunk(() => import("./import-C4VQ0rwO.js").then((n) => n.t).then((m) => ({ default: m.ImportCollectionAction })));
9598
- var ExportCollectionAction = lazyChunk(() => import("./export-DJoGYb89.js").then((n) => n.t).then((m) => ({ default: m.ExportCollectionAction })));
9597
+ var ImportCollectionAction = lazyChunk(() => import("./import-jRh_je8w.js").then((n) => n.t).then((m) => ({ default: m.ImportCollectionAction })));
9598
+ var ExportCollectionAction = lazyChunk(() => import("./export-uKD4QlR9.js").then((n) => n.t).then((m) => ({ default: m.ExportCollectionAction })));
9599
9599
  function CollectionViewActions({ collection, relativePath, parentCollectionSlugs, parentEntityIds, onNewClick, onAddExistingClick, onMultipleDeleteClick, selectionEnabled, path, selectionController, tableController, collectionEntitiesCount, compact, children, openNewDocument }) {
9600
9600
  const context = useAdminContext();
9601
9601
  const { canCreate, canDelete } = usePermissions();
@@ -11070,7 +11070,7 @@ var ListRow = React.memo(function ListRow({ entity, collection, onClick, selecte
11070
11070
  children: slots.title?.value !== void 0 ? /* @__PURE__ */ jsx(Typography, {
11071
11071
  component: "div",
11072
11072
  variant: "body2",
11073
- className: "font-semibold text-surface-900 dark:text-surface-50 truncate transition-colors group-hover:text-primary-600 dark:group-hover:text-primary-400",
11073
+ className: "font-semibold text-surface-900 dark:text-surface-50 truncate transition-colors group-hover:text-primary dark:group-hover:text-primary-light",
11074
11074
  children: terms.length > 0 && typeof slots.title?.value === "string" ? /* @__PURE__ */ jsx(Highlighted, {
11075
11075
  text: slots.title.value,
11076
11076
  terms
@@ -11081,7 +11081,7 @@ var ListRow = React.memo(function ListRow({ entity, collection, onClick, selecte
11081
11081
  }) : /* @__PURE__ */ jsx(Typography, {
11082
11082
  component: "div",
11083
11083
  variant: "body2",
11084
- className: "font-semibold text-surface-500 dark:text-surface-400 font-mono text-xs transition-colors group-hover:text-primary-600 dark:group-hover:text-primary-400",
11084
+ className: "font-semibold text-surface-500 dark:text-surface-400 font-mono text-xs transition-colors group-hover:text-primary dark:group-hover:text-primary-light",
11085
11085
  children: entity.id
11086
11086
  })
11087
11087
  }),
@@ -11955,7 +11955,7 @@ function JsonPreviewBinding({ values }) {
11955
11955
  }
11956
11956
  //#endregion
11957
11957
  //#region src/components/EntityInspector.tsx
11958
- var EntityHistoryView = lazyChunk(() => import("./history-BBpsdTrJ.js").then((m) => ({ default: m.EntityHistoryView })));
11958
+ var EntityHistoryView = lazyChunk(() => import("./history-BGkpUl0-.js").then((m) => ({ default: m.EntityHistoryView })));
11959
11959
  /**
11960
11960
  * Raw values and revision history, as an inspector rather than as tabs.
11961
11961
  *
@@ -21222,7 +21222,7 @@ function StorageItemPreview({ name, property, value, onRemove, disabled, size, p
21222
21222
  }
21223
21223
  //#endregion
21224
21224
  //#region src/form/field_bindings/StorageUploadFieldBinding.tsx
21225
- var dropZoneClasses = "box-border relative pt-[2px] h-[172px] items-center border border-transparent outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid";
21225
+ var dropZoneClasses = "box-border relative pt-[2px] h-[172px] items-center border border-transparent outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary";
21226
21226
  var disabledClasses = fieldBackgroundDisabledMixin;
21227
21227
  var nonActiveDropClasses = fieldBackgroundHoverMixin;
21228
21228
  var activeDropClasses = "pt-0 border-2 border-solid";
@@ -21721,7 +21721,7 @@ function VectorFieldBinding({ propertyKey, value, setValue, error, showError, di
21721
21721
  ]
21722
21722
  })]
21723
21723
  }), showValues && isPopulated && /* @__PURE__ */ jsx("div", {
21724
- className: "mt-1 p-3 rounded-lg bg-surface-well border border-hairline max-h-36 overflow-y-auto font-mono text-[11px] leading-relaxed text-text-secondary dark:text-text-secondary-dark break-all selection:bg-primary-100 dark:selection:bg-primary-900/40",
21724
+ className: "mt-1 p-3 rounded-lg bg-surface-well border border-hairline max-h-36 overflow-y-auto font-mono text-[11px] leading-relaxed text-text-secondary dark:text-text-secondary-dark break-all selection:bg-primary/20",
21725
21725
  children: arrayValue.join(", ")
21726
21726
  })]
21727
21727
  }) : /* @__PURE__ */ jsxs("div", {
@@ -25092,4 +25092,4 @@ function getFullIdPath(propertyKey, propertyNamespace) {
25092
25092
  //#endregion
25093
25093
  export { NAVIGATION_DEFAULT_GROUP_NAME as $, getEntityTitlePropertyKeyForEntity as $n, getCollectionBySlugWithin as $t, getFieldId as A, NumberPropertyPreview as An, convertDataToEntity as At, MapFieldBinding as B, RelationPreview as Bn, detectCsvDelimiter as Bt, EntityFormBinding as C, ReadOnlyFieldBinding as Cn, getIconForProperty as Cr, EntityCardBinding as Ct, getDefaultFieldConfig as D, ArrayOfMapsPreview as Dn, getResolvedPropertyInPath as Dr, useCollectionEditorDialogsState as Dt, DEFAULT_FIELD_CONFIGS as E, FieldHelperText as En, getPropertyInPath$1 as Er, ConfigControllerProvider as Et, SelectFieldBinding as F, ArrayOneOfPreview as Fn, ImportSaveInProgress as Ft, useSelectionDialog as G, SidePanelControllerContext as Gn, SearchIconsView as Gt, DateTimeFieldBinding as H, InlineEntityListPreview as Hn, parseCsvToObjects as Ht, RepeatFieldBinding as I, ArrayOfStringsPreview as In, IMPORT_BATCH_SIZE as It, useBuildUrlController as J, useCollectionRegistryController as Jn, BreadcrumbsProvider as Jt, SelectionTableBinding as K, useSidePanel as Kn, FieldCaption as Kt, ReferenceFieldBinding as L, ArrayPropertyEnumPreview as Ln, saveImportedEntities as Lt, TextFieldBinding as M, DatePreview as Mn, processValueMapping as Mt, SwitchFieldBinding as N, KeyValuePreview as Nn, getInferenceType as Nt, getDefaultFieldId as O, PropertyPreview as On, isReferenceProperty as Or, ImportNewPropertyFieldPreview as Ot, StorageUploadFieldBinding as P, MapPropertyPreview as Pn, useImportConfig as Pt, useResolvedCollections as Q, getEntityTitlePropertyKey as Qn, addInitialSlash as Qt, MultiSelectFieldBinding as R, ArrayEnumPreview as Rn, ImportFileUpload as Rt, isSchemaChangeCancelled as S, useClearRestoreValue as Sn, getDefaultPropertiesOrder as Sr, CollectionCardViewBinding as St, PropertyFieldBinding as T, LabelWithIcon as Tn, getPropertiesWithPropertiesOrder as Tr, useCollectionEditorController as Tt, BlockFieldBinding as U, ReferencePreview as Un, ArrayContainer as Ut, KeyValueFieldBinding as V, ArrayOfReferencesPreview as Vn, parseCsvRows as Vt, ArrayOfReferencesFieldBinding as W, EntityPreviewBinding as Wn, PropertyConfigBadge as Wt, useTopLevelNavigation as X, useResolvedUser as Xn, resolveEntityView as Xt, useBuildNavigationStateController as Y, getUserLabel as Yn, resolveEntityAction as Yt, useResolvedViews as Z, getEntityPreviewKeys as Zn, mergeEntityActions as Zt, useCollectionsConfigController as _, useNavigationStateController as _n, LABEL_ICON_SIZE as _r, editEntityAction as _t, namespaceToPropertiesPath as a, resolveCollectionPathIds$1 as an, SkeletonPropertyComponent as ar, getEntityViewWidth as at, asUnavailable as b, SelectableTableContext as bn, PropertyIdCopyTooltip as br, DetailViewBinding as bt, buildCollectionGenerationCallback as c, useSelectionController as cn, renderSkeletonImageThumbnail as cr, useSafeSnackbarController as ct, fromSerializableCollectionConfigs as d, SelectableTable as dn, ImagePreview as dr, getInitialEntityValues as dt, getCollectionPathsCombinations as en, ArrayPropertyPreview as er, useBuildCollectionRegistryController as et, fromSerializableProperties as f, CollectionRowActions as fn, EmptyValue as fr, removeEmptyContainers as ft, toSerializableProperty as g, NavigationStateContext as gn, FieldBlock as gr, deleteEntityAction as gt, toSerializableProperties as h, useUrlController as hn, RecordMeta as hr, copyEntityAction as ht, namespaceToPropertiesOrderPath as i, removeTrailingSlash$1 as in, StorageThumbnailInternal as ir, buildSidePanelsFromUrl as it, VectorFieldBinding as j, BooleanPreview as jn, flattenEntry as jt, getFieldConfig as k, UserPreview as kn, isRelationProperty as kr, DataNewPropertiesMapping as kt, validateCollectionJson as l, VirtualTableInput$1 as ln, renderSkeletonText as lr, extractTouchedValues as lt, toSerializableCollectionConfig as m, UrlContext as mn, FormRail as mr, CollectionViewBinding as mt, getFullIdPath as n, removeInitialAndTrailingSlashes$1 as nn, EnumValuesChip as nr, resolveNavigationFrom as nt, CollectionGenerationApiError as o, resolveOpenEntityMode as on, renderSkeletonCaptionText as or, useBuildSidePanel as ot, fromSerializableProperty as p, useAdminContext as pn, FormSections as pr, zodToFormErrors as pt, SideDialogs as q, CollectionRegistryContext as qn, useBreadcrumbsController as qt, idToPropertiesPath as r, removeInitialSlash as rn, StorageThumbnail as rr, useResolvedNavigationFrom as rt, DEFAULT_COLLECTION_GENERATION_ENDPOINT as s, resolveViewMode as sn, renderSkeletonIcon as sr, EditViewBinding as st, getFullId as t, getLastSegment$1 as tn, StringPropertyPreview as tr, useHistory as tt, fromSerializableCollectionConfig as u, CollectionTableBinding as un, UrlComponentPreview as ur, getChanges as ut, LiveSchemaError as v, useSideDialogsController as vn, isSelfLabellingProperty as vr, resetPasswordAction as vt, EntityForm as w, LabelWithIconAndTooltip as wn, getIconForWidget as wr, CollectionViewActions as wt, createLiveSchemaClient as x, ArrayCustomShapedFieldBinding as xn, getBracketNotation as xr, EntityViewBinding as xt, SchemaChangeCancelled as y, SideDialogsControllerContext as yn, spanClass as yr, CreationResultDialog as yt, MarkdownEditorFieldBinding as z, ArrayOfStorageComponentsPreview as zn, convertFileToJson as zt };
25094
25094
 
25095
- //# sourceMappingURL=util-4oPxPkbp.js.map
25095
+ //# sourceMappingURL=util-CSqO4I0b.js.map