@oondemand/oon-core-front 0.3.61 → 0.3.62

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.d.ts CHANGED
@@ -422,6 +422,8 @@ interface CollectionViewDef {
422
422
  path?: string;
423
423
  icon?: ReactNode;
424
424
  section?: string;
425
+ /** Mantém a rota disponível, mas remove a coleção do menu lateral. */
426
+ hidden?: boolean;
425
427
  /** "dynamic" monta tudo a partir de /core/models/:model. */
426
428
  mode?: CollectionMode;
427
429
  /** modo "full": colunas explícitas. */
@@ -497,7 +499,7 @@ interface OonPageDef {
497
499
  hidden?: boolean;
498
500
  order?: number;
499
501
  }
500
- type OonBlockDef = OonCustomBlockDef | OonCollectionDataGridBlockDef | OonCollectionCardsBlockDef | OonSectionBlockDef | OonMarkdownBlockDef | OonGenericBlockDef;
502
+ type OonBlockDef = OonCustomBlockDef | OonCollectionDataGridBlockDef | OonCollectionCardsBlockDef | OonSectionBlockDef | OonMarkdownBlockDef | OonNavigationCardsBlockDef | OonGenericBlockDef;
501
503
  interface OonBaseBlockDef {
502
504
  id?: string;
503
505
  title?: string;
@@ -532,6 +534,18 @@ interface OonMarkdownBlockDef extends OonBaseBlockDef {
532
534
  type: "markdown";
533
535
  content: string;
534
536
  }
537
+ interface OonNavigationCardDef {
538
+ title: string;
539
+ description?: string;
540
+ href: string;
541
+ actionLabel?: string;
542
+ external?: boolean;
543
+ }
544
+ interface OonNavigationCardsBlockDef extends OonBaseBlockDef {
545
+ type: "navigation.cards";
546
+ cards: OonNavigationCardDef[];
547
+ columns?: 1 | 2 | 3 | 4;
548
+ }
535
549
  interface OonGenericBlockDef extends OonBaseBlockDef {
536
550
  type: "collection.form" | "pipeline.board" | "document.viewer" | "dashboard.kpi" | "tabs";
537
551
  [key: string]: unknown;
@@ -704,6 +718,7 @@ interface CentralUiManifest {
704
718
  path?: string;
705
719
  label?: string;
706
720
  section?: string;
721
+ hidden?: boolean;
707
722
  /** Overrides pontuais de campos; os demais continuam vindo da metadata. */
708
723
  form?: CentralFormFieldDef[];
709
724
  list?: OonCollectionListConfig;