@fuentis/phoenix-ui 0.0.9-alpha.663 → 0.0.9-alpha.665
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/fesm2022/fuentis-phoenix-ui.mjs +58 -30
- package/fesm2022/fuentis-phoenix-ui.mjs.map +1 -1
- package/index.d.ts +12 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -633,6 +633,11 @@ interface TableConfiguration {
|
|
|
633
633
|
hasColumns?: boolean;
|
|
634
634
|
/** Enables global search input. */
|
|
635
635
|
hasSearch?: boolean;
|
|
636
|
+
/**
|
|
637
|
+
* Message shown when the table has no rows. An i18n key (translated) or plain
|
|
638
|
+
* text; falls back to the generic "NO_RESULTS_FOUND" when unset.
|
|
639
|
+
*/
|
|
640
|
+
emptyMessage?: string;
|
|
636
641
|
/** Enables “More” dropdown area. */
|
|
637
642
|
hasMore?: boolean;
|
|
638
643
|
/** Show/hide columns feature (legacy) */
|
|
@@ -1349,6 +1354,13 @@ interface MetaFieldConfig {
|
|
|
1349
1354
|
disable?: boolean;
|
|
1350
1355
|
readOnly?: boolean;
|
|
1351
1356
|
validators?: MetaValidators;
|
|
1357
|
+
/**
|
|
1358
|
+
* Per-field validation message overrides, keyed by error type (e.g.
|
|
1359
|
+
* `{ required: 'CONTINUITY.VALIDATION.GAP_TITLE_REQUIRED' }`). The value is an
|
|
1360
|
+
* i18n key (translated) or plain text; when set for the active error it wins
|
|
1361
|
+
* over the generic message.
|
|
1362
|
+
*/
|
|
1363
|
+
errorMessages?: Record<string, string>;
|
|
1352
1364
|
style: {
|
|
1353
1365
|
colWidth: string;
|
|
1354
1366
|
/**
|