@oondemand/oon-core-front 0.4.8 → 0.4.11

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
@@ -135,6 +135,8 @@ interface OonApiConfig {
135
135
  baseUrl: string;
136
136
  assistantBaseUrl?: string;
137
137
  meusAppsUrl?: string;
138
+ /** Control Plane público usado somente por cadastro e confirmação. */
139
+ onboardingBaseUrl?: string;
138
140
  /** Prefixo de versão concatenado às chamadas. Default: "". */
139
141
  versionPrefix?: string;
140
142
  timeout?: number;
@@ -235,11 +237,14 @@ interface OonModule {
235
237
  views?: OonViewDefinition[];
236
238
  }
237
239
  type CollectionMode = "full" | "minimal" | "dynamic";
240
+ type OonValueFormat = "text" | "number" | "currency" | "percent" | "date" | "datetime" | "badge";
238
241
  interface OonColumnDef {
239
242
  field: string;
240
243
  label?: string;
241
244
  /** kind sobrescreve o inferido da metadata. */
242
245
  kind?: FieldKind;
246
+ /** Formato de apresentação; datetime preserva data e hora no locale do usuário. */
247
+ format?: OonValueFormat;
243
248
  sortable?: boolean;
244
249
  width?: number;
245
250
  renderer?: string;
@@ -360,7 +365,7 @@ type OonRelationDef = {
360
365
  type OonRelatedGridColumnDef = OonColumnDef & {
361
366
  editable?: boolean;
362
367
  readonly?: boolean;
363
- format?: "text" | "number" | "currency" | "percent" | "date" | "badge";
368
+ format?: OonValueFormat;
364
369
  editor?: "string" | "number" | "currency" | "date" | "enum" | "select" | "ref" | "boolean" | "textarea";
365
370
  hidden?: boolean;
366
371
  roles?: string[];
@@ -373,7 +378,7 @@ type OonSummaryCardDef = {
373
378
  field?: string;
374
379
  relation?: string | OonRelationDef;
375
380
  metric?: string;
376
- format?: "text" | "number" | "currency" | "percent" | "date" | "badge";
381
+ format?: OonValueFormat;
377
382
  };
378
383
  type OonDetailTabDef = {
379
384
  id: string;
@@ -821,6 +826,7 @@ interface CentralUiManifest {
821
826
  interface ManifestRuntime {
822
827
  apiBaseUrl: string;
823
828
  meusAppsUrl?: string;
829
+ onboardingBaseUrl?: string;
824
830
  assistantBaseUrl?: string;
825
831
  versionPrefix?: string;
826
832
  /** Token local enviado ao backend somente quando o consumidor o configurar. */