@selfhelp/shared 1.21.2 → 1.21.5

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 (47) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/README.md +2 -1
  3. package/dist/index.d.mts +427 -20
  4. package/dist/index.d.ts +427 -20
  5. package/dist/index.js +560 -13
  6. package/dist/index.mjs +518 -13
  7. package/dist/plugin-sdk/index.d.mts +1 -1
  8. package/dist/plugin-sdk/index.d.ts +1 -1
  9. package/dist/plugin-sdk/index.js +2 -1
  10. package/dist/plugin-sdk/index.mjs +2 -1
  11. package/dist/registry/index.d.mts +2 -2
  12. package/dist/registry/index.d.ts +2 -2
  13. package/dist/registry/index.js +2 -1
  14. package/dist/registry/index.mjs +2 -1
  15. package/dist/{styles.registry-DEDEZ8l3.d.ts → styles.registry-DX79oirw.d.ts} +93 -16
  16. package/dist/{styles.registry-DHM4M77N.d.mts → styles.registry-ffw0MH3r.d.mts} +93 -16
  17. package/package.json +1 -1
  18. package/src/content/__tests__/fieldsMapLabels.test.ts +55 -0
  19. package/src/content/__tests__/optionLabels.test.ts +100 -0
  20. package/src/content/fieldsMapLabels.ts +103 -0
  21. package/src/content/index.ts +2 -0
  22. package/src/content/optionLabels.ts +200 -0
  23. package/src/navigation/__tests__/navigation.test.ts +296 -6
  24. package/src/navigation/activeTrail.ts +99 -0
  25. package/src/navigation/branchNav.ts +155 -6
  26. package/src/navigation/footerPreset.ts +109 -0
  27. package/src/navigation/headerLayers.ts +56 -0
  28. package/src/navigation/headerPreset.ts +9 -2
  29. package/src/navigation/index.ts +4 -0
  30. package/src/navigation/menuDepth.ts +73 -37
  31. package/src/navigation/mobileRoute.ts +25 -0
  32. package/src/navigation/navLinks.ts +0 -4
  33. package/src/navigation/navigationBundle.ts +81 -0
  34. package/src/navigation/navigationPayload.ts +96 -17
  35. package/src/registry/__tests__/platform.test.ts +11 -10
  36. package/src/registry/styles.registry.ts +2 -1
  37. package/src/types/__tests__/preview-bridge.test.ts +7 -0
  38. package/src/types/auth.ts +4 -0
  39. package/src/types/cms-app.ts +74 -0
  40. package/src/types/index.ts +1 -0
  41. package/src/types/mobile-adapters.ts +1 -0
  42. package/src/types/pages.ts +6 -0
  43. package/src/types/preview-bridge.ts +12 -1
  44. package/src/types/styles/composite.ts +21 -0
  45. package/src/types/styles/forms.ts +57 -10
  46. package/src/types/styles/interactive.ts +1 -1
  47. package/src/types/styles/unknown.ts +2 -2
@@ -1,5 +1,5 @@
1
1
  export { I as IPluginManifest, a as IPluginManifestAdminPage, b as IPluginManifestApiRoute, c as IPluginManifestAsset, d as IPluginManifestCapability, e as IPluginManifestCompatibility, f as IPluginManifestConflict, g as IPluginManifestDataAccess, h as IPluginManifestDependency, i as IPluginManifestExternalHost, j as IPluginManifestFeatureFlag, k as IPluginManifestHealth, l as IPluginManifestLookupExtension, m as IPluginManifestMobile, n as IPluginManifestPermission, o as IPluginManifestRealtimeTopic, p as IPluginManifestScheduledJob, q as IPluginManifestSecurity, r as IPluginManifestStyle, s as IPluginManifestTrustLevel } from '../manifest-8YXAk-4o.mjs';
2
- import { I as IStyleRegistryEntry } from '../styles.registry-DHM4M77N.mjs';
2
+ import { I as IStyleRegistryEntry } from '../styles.registry-ffw0MH3r.mjs';
3
3
  import '../common-qaDIAYS3.mjs';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  export { I as IPluginManifest, a as IPluginManifestAdminPage, b as IPluginManifestApiRoute, c as IPluginManifestAsset, d as IPluginManifestCapability, e as IPluginManifestCompatibility, f as IPluginManifestConflict, g as IPluginManifestDataAccess, h as IPluginManifestDependency, i as IPluginManifestExternalHost, j as IPluginManifestFeatureFlag, k as IPluginManifestHealth, l as IPluginManifestLookupExtension, m as IPluginManifestMobile, n as IPluginManifestPermission, o as IPluginManifestRealtimeTopic, p as IPluginManifestScheduledJob, q as IPluginManifestSecurity, r as IPluginManifestStyle, s as IPluginManifestTrustLevel } from '../manifest-8YXAk-4o.js';
2
- import { I as IStyleRegistryEntry } from '../styles.registry-DEDEZ8l3.js';
2
+ import { I as IStyleRegistryEntry } from '../styles.registry-DX79oirw.js';
3
3
  import '../common-qaDIAYS3.js';
4
4
 
5
5
  /**
@@ -245,6 +245,7 @@ var BASE_STYLE_REGISTRY = {
245
245
  // ===== forms =====
246
246
  "form-log": { description: "Append-only form (one row per submit)", category: "forms", canHaveChildren: true },
247
247
  "form-record": { description: "Per-user record form", category: "forms", canHaveChildren: true },
248
+ "entry-record-form": { description: "Route-aware create/edit form", category: "forms", canHaveChildren: true },
248
249
  input: { description: "Plain HTML input", category: "forms", canHaveChildren: false },
249
250
  "text-input": { description: "Mantine TextInput", category: "forms", canHaveChildren: false },
250
251
  textarea: { description: "Mantine Textarea", category: "forms", canHaveChildren: false },
@@ -286,7 +287,7 @@ var BASE_STYLE_REGISTRY = {
286
287
  version: { description: "Build/version diagnostic surface", category: "auth", canHaveChildren: false },
287
288
  "ref-container": { description: "Renders content referenced from another section", category: "layout", canHaveChildren: true },
288
289
  "data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout", canHaveChildren: true },
289
- "show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms", canHaveChildren: false }
290
+ "entry-table": { description: "Built-in admin CRUD grid over a form's records (search/sort/paginate/CSV, add / edit / delete actions)", category: "forms", canHaveChildren: false }
290
291
  };
291
292
  var PLUGIN_STYLE_REGISTRY = {};
292
293
  var REGISTERED_PLUGIN_KEYS = /* @__PURE__ */ new Map();
@@ -197,6 +197,7 @@ var BASE_STYLE_REGISTRY = {
197
197
  // ===== forms =====
198
198
  "form-log": { description: "Append-only form (one row per submit)", category: "forms", canHaveChildren: true },
199
199
  "form-record": { description: "Per-user record form", category: "forms", canHaveChildren: true },
200
+ "entry-record-form": { description: "Route-aware create/edit form", category: "forms", canHaveChildren: true },
200
201
  input: { description: "Plain HTML input", category: "forms", canHaveChildren: false },
201
202
  "text-input": { description: "Mantine TextInput", category: "forms", canHaveChildren: false },
202
203
  textarea: { description: "Mantine Textarea", category: "forms", canHaveChildren: false },
@@ -238,7 +239,7 @@ var BASE_STYLE_REGISTRY = {
238
239
  version: { description: "Build/version diagnostic surface", category: "auth", canHaveChildren: false },
239
240
  "ref-container": { description: "Renders content referenced from another section", category: "layout", canHaveChildren: true },
240
241
  "data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout", canHaveChildren: true },
241
- "show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms", canHaveChildren: false }
242
+ "entry-table": { description: "Built-in admin CRUD grid over a form's records (search/sort/paginate/CSV, add / edit / delete actions)", category: "forms", canHaveChildren: false }
242
243
  };
243
244
  var PLUGIN_STYLE_REGISTRY = {};
244
245
  var REGISTERED_PLUGIN_KEYS = /* @__PURE__ */ new Map();
@@ -1,5 +1,5 @@
1
- import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-DHM4M77N.mjs';
2
- export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-DHM4M77N.mjs';
1
+ import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-ffw0MH3r.mjs';
2
+ export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-ffw0MH3r.mjs';
3
3
  import '../common-qaDIAYS3.mjs';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-DEDEZ8l3.js';
2
- export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-DEDEZ8l3.js';
1
+ import { T as TStyleName, I as IStyleRegistryEntry, a as IPluginStyleRegistryEntry, b as TStylePlacement, c as TConcretePlatform, d as TStylePlatform } from '../styles.registry-DX79oirw.js';
2
+ export { B as BASE_STYLE_REGISTRY, S as STYLE_REGISTRY, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from '../styles.registry-DX79oirw.js';
3
3
  import '../common-qaDIAYS3.js';
4
4
 
5
5
  /**
@@ -99,6 +99,7 @@ var BASE_STYLE_REGISTRY = {
99
99
  // ===== forms =====
100
100
  "form-log": { description: "Append-only form (one row per submit)", category: "forms", canHaveChildren: true },
101
101
  "form-record": { description: "Per-user record form", category: "forms", canHaveChildren: true },
102
+ "entry-record-form": { description: "Route-aware create/edit form", category: "forms", canHaveChildren: true },
102
103
  input: { description: "Plain HTML input", category: "forms", canHaveChildren: false },
103
104
  "text-input": { description: "Mantine TextInput", category: "forms", canHaveChildren: false },
104
105
  textarea: { description: "Mantine Textarea", category: "forms", canHaveChildren: false },
@@ -140,7 +141,7 @@ var BASE_STYLE_REGISTRY = {
140
141
  version: { description: "Build/version diagnostic surface", category: "auth", canHaveChildren: false },
141
142
  "ref-container": { description: "Renders content referenced from another section", category: "layout", canHaveChildren: true },
142
143
  "data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout", canHaveChildren: true },
143
- "show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms", canHaveChildren: false }
144
+ "entry-table": { description: "Built-in admin CRUD grid over a form's records (search/sort/paginate/CSV, add / edit / delete actions)", category: "forms", canHaveChildren: false }
144
145
  };
145
146
  var STYLE_REGISTRY = BASE_STYLE_REGISTRY;
146
147
  var PLUGIN_STYLE_REGISTRY = {};
@@ -56,6 +56,7 @@ var BASE_STYLE_REGISTRY = {
56
56
  // ===== forms =====
57
57
  "form-log": { description: "Append-only form (one row per submit)", category: "forms", canHaveChildren: true },
58
58
  "form-record": { description: "Per-user record form", category: "forms", canHaveChildren: true },
59
+ "entry-record-form": { description: "Route-aware create/edit form", category: "forms", canHaveChildren: true },
59
60
  input: { description: "Plain HTML input", category: "forms", canHaveChildren: false },
60
61
  "text-input": { description: "Mantine TextInput", category: "forms", canHaveChildren: false },
61
62
  textarea: { description: "Mantine Textarea", category: "forms", canHaveChildren: false },
@@ -97,7 +98,7 @@ var BASE_STYLE_REGISTRY = {
97
98
  version: { description: "Build/version diagnostic surface", category: "auth", canHaveChildren: false },
98
99
  "ref-container": { description: "Renders content referenced from another section", category: "layout", canHaveChildren: true },
99
100
  "data-container": { description: "Data-scoped container (renders subtree against a data scope)", category: "layout", canHaveChildren: true },
100
- "show-user-input": { description: "Displays previously submitted user input as a list/card view", category: "forms", canHaveChildren: false }
101
+ "entry-table": { description: "Built-in admin CRUD grid over a form's records (search/sort/paginate/CSV, add / edit / delete actions)", category: "forms", canHaveChildren: false }
101
102
  };
102
103
  var STYLE_REGISTRY = BASE_STYLE_REGISTRY;
103
104
  var PLUGIN_STYLE_REGISTRY = {};
@@ -667,7 +667,7 @@ type TSharedLabelPosition = 'left' | 'right';
667
667
  type TMobileSelectPresentation = 'bottom-sheet' | 'dialog' | 'popover';
668
668
  type TMobileFieldVariant = 'primary' | 'secondary';
669
669
  interface IFormStyle extends IStyleWithSpacing {
670
- style_name: 'form-log' | 'form-record';
670
+ style_name: 'form-log' | 'form-record' | 'entry-record-form';
671
671
  /** Optional auto-styled heading rendered above the form when set. */
672
672
  title?: IContentField<string>;
673
673
  /** Optional sub-heading rendered below the title when set. */
@@ -710,8 +710,29 @@ interface IFormLogStyle extends IFormStyle {
710
710
  }
711
711
  interface IFormRecordStyle extends IFormStyle {
712
712
  style_name: 'form-record';
713
+ /** Human-readable table name slug (runtime table is owned by section id). */
714
+ name?: IContentField<string>;
715
+ btn_update_label?: IContentField<string>;
716
+ btn_update_color?: IContentField<string>;
717
+ /**
718
+ * '1' (default): the form only ever loads/updates the user's own records.
719
+ * '0': shared editing — foreign records can be loaded/updated by users
720
+ * holding UPDATE data access on the form's table (admins always pass).
721
+ */
722
+ own_entries_only?: IContentField<string>;
723
+ }
724
+ interface IEntryRecordFormStyle extends IFormStyle {
725
+ style_name: 'entry-record-form';
713
726
  btn_update_label?: IContentField<string>;
714
727
  btn_update_color?: IContentField<string>;
728
+ /** Numeric data_tables.id or empty to use this section's owned table. */
729
+ data_table?: IContentField<string>;
730
+ /**
731
+ * Route parameter carrying the record id (e.g. record_id on /cms/team/{record_id}).
732
+ * When present the form loads that record; when absent the form stays empty (create).
733
+ */
734
+ load_record_from?: IContentField<string>;
735
+ own_entries_only?: IContentField<string>;
715
736
  }
716
737
  interface IInputStyle extends IBaseStyle {
717
738
  style_name: 'input';
@@ -796,6 +817,8 @@ interface ISelectStyle extends IBaseStyle {
796
817
  value?: IContentField<string>;
797
818
  placeholder?: IContentField<string>;
798
819
  options?: IContentField<string>;
820
+ /** Translatable map: `code -> label` for active language. */
821
+ option_labels?: IContentField<string>;
799
822
  is_multiple?: IContentField<string>;
800
823
  max?: IContentField<string>;
801
824
  searchable?: IContentField<string>;
@@ -817,6 +840,8 @@ interface IRadioStyle extends IStyleWithSpacing {
817
840
  size?: IContentField<TSharedSize>;
818
841
  color?: IContentField<TMantineColor>;
819
842
  radio_options?: IContentField<string>;
843
+ /** Translatable map: `code -> label` for active language. */
844
+ option_labels?: IContentField<string>;
820
845
  web_radio_label_position?: IContentField<string>;
821
846
  web_radio_variant?: IContentField<string>;
822
847
  web_radio_card?: IContentField<string>;
@@ -937,6 +962,8 @@ interface IComboboxStyle extends IStyleWithSpacing {
937
962
  style_name: 'combobox';
938
963
  placeholder?: IContentField<string>;
939
964
  combobox_options?: IContentField<string>;
965
+ /** Translatable map: `code -> label` for active language. */
966
+ option_labels?: IContentField<string>;
940
967
  disabled?: IContentField<string>;
941
968
  label?: IContentField<string>;
942
969
  description?: IContentField<string>;
@@ -1031,6 +1058,8 @@ interface INumberInputStyle extends IStyleWithSpacing {
1031
1058
  interface ISegmentedControlStyle extends IStyleWithSpacing {
1032
1059
  style_name: 'segmented-control';
1033
1060
  segmented_control_data?: IContentField<string>;
1061
+ /** Translatable map: `code -> label` for active language. */
1062
+ option_labels?: IContentField<string>;
1034
1063
  orientation?: IContentField<string>;
1035
1064
  size?: IContentField<TSharedSize>;
1036
1065
  radius?: IContentField<TSharedRadius>;
@@ -1088,14 +1117,23 @@ interface IProgressSectionStyle extends IBaseStyle {
1088
1117
  tooltip_label?: IContentField<string>;
1089
1118
  web_tooltip_position?: IContentField<string>;
1090
1119
  }
1091
- interface IShowUserInputEntry {
1120
+ interface IEntryTableEntry {
1092
1121
  record_id: number;
1093
1122
  id_users: number;
1123
+ /** Per-row delete permission (backend rule `canDeleteOwnedRecord`). */
1094
1124
  _can_delete?: boolean;
1125
+ /** Per-row edit permission (backend rule `canUpdateOwnedRecord`). */
1126
+ _can_edit?: boolean;
1095
1127
  [key: string]: unknown;
1096
1128
  }
1097
- interface IShowUserInputStyle extends IBaseStyle {
1098
- style_name: 'show-user-input';
1129
+ /**
1130
+ * The built-in admin CRUD grid (renamed from `show-user-input` in the
1131
+ * CMS-in-CMS polish wave): a data table over a form's records with search /
1132
+ * sort / pagination / CSV, an "Add new" button, a per-row edit action and a
1133
+ * permission-gated per-row delete.
1134
+ */
1135
+ interface IEntryTableStyle extends IBaseStyle {
1136
+ style_name: 'entry-table';
1099
1137
  /** Optional auto-styled heading rendered above the entries when set. */
1100
1138
  title?: IContentField<string>;
1101
1139
  /** Message shown when there are no entries to display (default "No entries found."). */
@@ -1113,20 +1151,28 @@ interface IShowUserInputStyle extends IBaseStyle {
1113
1151
  csv_export?: IContentField<string>;
1114
1152
  delete_entry?: IContentField<string>;
1115
1153
  fields_map?: IContentField<string>;
1154
+ /** Per-language header labels keyed by field_key. */
1155
+ fields_map_labels?: IContentField<string>;
1116
1156
  /**
1117
1157
  * Optional URL of a create form. When set, the web table shows an "Add new"
1118
1158
  * button above it (e.g. opens the create form modal). Web-only.
1119
1159
  */
1120
1160
  add_url?: IContentField<string>;
1121
1161
  /**
1122
- * Optional URL template for opening a row's detail (e.g.
1123
- * `/cms/team/{record_id}`). When set, each row gets an open/view action
1124
- * (eye icon) with the single-brace `{record_id}` placeholder substituted by
1125
- * the renderer at click time. Web-only.
1162
+ * Optional URL template for opening a row's edit form (e.g.
1163
+ * `/cms/team/{record_id}`). When set, each row with `_can_edit` gets an
1164
+ * edit action with the single-brace `{record_id}` placeholder substituted
1165
+ * by the renderer at click time. Web-only.
1126
1166
  */
1127
1167
  edit_url?: IContentField<string>;
1128
1168
  delete_modal_title?: IContentField<string>;
1129
1169
  delete_modal_body?: IContentField<string>;
1170
+ /**
1171
+ * When `1`, the web table shows a language selector above the grid and
1172
+ * reloads translatable cell values for the chosen locale (CMS app lists).
1173
+ * Default off.
1174
+ */
1175
+ show_language_preview?: IContentField<string>;
1130
1176
  spacing?: IContentField<string>;
1131
1177
  web_table_striped?: IContentField<string>;
1132
1178
  web_table_highlight_on_hover?: IContentField<string>;
@@ -1136,10 +1182,10 @@ interface IShowUserInputStyle extends IBaseStyle {
1136
1182
  web_table_sticky_header?: IContentField<string>;
1137
1183
  web_table_caption_side?: IContentField<string>;
1138
1184
  /**
1139
- * show-user-input rows, each keyed by the immutable data-column `field_key`
1185
+ * entry-table rows, each keyed by the immutable data-column `field_key`
1140
1186
  * (issue #56 v2). Header labels come from {@link field_labels}, not the keys.
1141
1187
  */
1142
- entries?: IShowUserInputEntry[];
1188
+ entries?: IEntryTableEntry[];
1143
1189
  /**
1144
1190
  * Header map `field_key => display_name` for {@link entries} (issue #56 v2).
1145
1191
  * Lets the table show the human column label while rows stay keyed by the
@@ -1237,12 +1283,33 @@ interface IListItemStyle extends IStyleWithSpacing {
1237
1283
  interface IEntryListStyle extends IBaseStyle {
1238
1284
  style_name: 'entry-list';
1239
1285
  line_clamp?: IContentField<TMantineLineClamp>;
1286
+ data_table?: IContentField<string>;
1287
+ own_entries_only?: IContentField<string>;
1288
+ filter?: IContentField<string>;
1289
+ scope?: IContentField<string>;
1290
+ load_as_table?: IContentField<string>;
1291
+ selected_columns?: IContentField<string>;
1240
1292
  }
1241
1293
  interface IEntryRecordStyle extends IBaseStyle {
1242
1294
  style_name: 'entry-record';
1295
+ data_table?: IContentField<string>;
1296
+ own_entries_only?: IContentField<string>;
1297
+ /**
1298
+ * Route parameter carrying the record id (same contract as
1299
+ * `entry-record-form.load_record_from`, e.g. `record_id` on
1300
+ * `/team-members/{record_id}`). The holder loads that single row.
1301
+ */
1302
+ load_record_from?: IContentField<string>;
1303
+ scope?: IContentField<string>;
1243
1304
  }
1244
1305
  interface IEntryRecordDeleteStyle extends IBaseStyle {
1245
1306
  style_name: 'entry-record-delete';
1307
+ /** Delete button text (catalog field; the generic `label` field is not linked to this style). */
1308
+ label_delete?: IContentField<string>;
1309
+ confirmation_title?: IContentField<string>;
1310
+ confirmation_message?: IContentField<string>;
1311
+ confirmation_continue?: IContentField<string>;
1312
+ confirmation_cancel?: IContentField<string>;
1246
1313
  }
1247
1314
  interface ILoopStyle extends IBaseStyle {
1248
1315
  style_name: 'loop';
@@ -1303,7 +1370,7 @@ interface IVersionStyle extends IBaseStyle {
1303
1370
  * Admin/CMS-only styles are intentionally NOT in this union — the mobile
1304
1371
  * app does not render them.
1305
1372
  */
1306
- type TStyle = ILoginStyle | IRegisterStyle | IValidateStyle | IResetPasswordStyle | ITwoFactorAuthStyle | IProfileStyle | IContainerStyle | IBoxStyle | IFlexStyle | IGroupStyle | IStackStyle | ISimpleGridStyle | IGridStyle | IGridColumnStyle | ISpaceStyle | IDividerStyle | IPaperStyle | ICenterStyle | IScrollAreaStyle | ICardStyle | ICardSegmentStyle | IAspectRatioStyle | IBackgroundImageStyle | ITitleStyle | ITextStyle | ICodeStyle | IHighlightStyle | IBlockquoteStyle | IHtmlTagStyle | IKbdStyle | ITypographyStyle | IFieldsetStyle | ISpoilerStyle | IImageStyle | IVideoStyle | IAudioStyle | IFigureStyle | ICarouselStyle | IButtonStyle | ILinkStyle | IActionIconStyle | IAlertStyle | IBadgeStyle | IAvatarStyle | IChipStyle | IIndicatorStyle | IThemeIconStyle | INotificationStyle | IFormLogStyle | IFormRecordStyle | IInputStyle | ITextInputStyle | ITextareaStyle | IRichTextEditorStyle | ISelectStyle | IRadioStyle | ICheckboxStyle | ISliderStyle | IRangeSliderStyle | IDatePickerStyle | ISwitchStyle | IComboboxStyle | IColorInputStyle | IColorPickerStyle | IFileInputStyle | INumberInputStyle | ISegmentedControlStyle | IRatingStyle | IProgressStyle | IProgressRootStyle | IProgressSectionStyle | IAccordionStyle | IAccordionItemStyle | ITabsStyle | ITabStyle | ITimelineStyle | IListStyle | IListItemStyle | IEntryListStyle | IEntryRecordStyle | IEntryRecordDeleteStyle | ILoopStyle | ITimelineItemStyle | INoAccessStyle | INotFoundStyle | IMissingStyle | IVersionStyle | IRefContainerStyle | IDataContainerStyle | IShowUserInputStyle;
1373
+ type TStyle = ILoginStyle | IRegisterStyle | IValidateStyle | IResetPasswordStyle | ITwoFactorAuthStyle | IProfileStyle | IContainerStyle | IBoxStyle | IFlexStyle | IGroupStyle | IStackStyle | ISimpleGridStyle | IGridStyle | IGridColumnStyle | ISpaceStyle | IDividerStyle | IPaperStyle | ICenterStyle | IScrollAreaStyle | ICardStyle | ICardSegmentStyle | IAspectRatioStyle | IBackgroundImageStyle | ITitleStyle | ITextStyle | ICodeStyle | IHighlightStyle | IBlockquoteStyle | IHtmlTagStyle | IKbdStyle | ITypographyStyle | IFieldsetStyle | ISpoilerStyle | IImageStyle | IVideoStyle | IAudioStyle | IFigureStyle | ICarouselStyle | IButtonStyle | ILinkStyle | IActionIconStyle | IAlertStyle | IBadgeStyle | IAvatarStyle | IChipStyle | IIndicatorStyle | IThemeIconStyle | INotificationStyle | IFormLogStyle | IFormRecordStyle | IInputStyle | ITextInputStyle | ITextareaStyle | IRichTextEditorStyle | ISelectStyle | IRadioStyle | ICheckboxStyle | ISliderStyle | IRangeSliderStyle | IDatePickerStyle | ISwitchStyle | IComboboxStyle | IColorInputStyle | IColorPickerStyle | IFileInputStyle | INumberInputStyle | ISegmentedControlStyle | IRatingStyle | IProgressStyle | IProgressRootStyle | IProgressSectionStyle | IAccordionStyle | IAccordionItemStyle | ITabsStyle | ITabStyle | ITimelineStyle | IListStyle | IListItemStyle | IEntryListStyle | IEntryRecordStyle | IEntryRecordDeleteStyle | ILoopStyle | ITimelineItemStyle | INoAccessStyle | INotFoundStyle | IMissingStyle | IVersionStyle | IRefContainerStyle | IDataContainerStyle | IEntryTableStyle;
1307
1374
  /**
1308
1375
  * Discriminator — name of every supported style. Derived from the
1309
1376
  * `STYLE_REGISTRY` keys (declared in `src/registry/styles.registry.ts`).
@@ -1746,6 +1813,11 @@ declare const BASE_STYLE_REGISTRY: {
1746
1813
  readonly category: "forms";
1747
1814
  readonly canHaveChildren: true;
1748
1815
  };
1816
+ readonly 'entry-record-form': {
1817
+ readonly description: "Route-aware create/edit form";
1818
+ readonly category: "forms";
1819
+ readonly canHaveChildren: true;
1820
+ };
1749
1821
  readonly input: {
1750
1822
  readonly description: "Plain HTML input";
1751
1823
  readonly category: "forms";
@@ -1941,8 +2013,8 @@ declare const BASE_STYLE_REGISTRY: {
1941
2013
  readonly category: "layout";
1942
2014
  readonly canHaveChildren: true;
1943
2015
  };
1944
- readonly 'show-user-input': {
1945
- readonly description: "Displays previously submitted user input as a list/card view";
2016
+ readonly 'entry-table': {
2017
+ readonly description: "Built-in admin CRUD grid over a form's records (search/sort/paginate/CSV, add / edit / delete actions)";
1946
2018
  readonly category: "forms";
1947
2019
  readonly canHaveChildren: false;
1948
2020
  };
@@ -2204,6 +2276,11 @@ declare const STYLE_REGISTRY: {
2204
2276
  readonly category: "forms";
2205
2277
  readonly canHaveChildren: true;
2206
2278
  };
2279
+ readonly 'entry-record-form': {
2280
+ readonly description: "Route-aware create/edit form";
2281
+ readonly category: "forms";
2282
+ readonly canHaveChildren: true;
2283
+ };
2207
2284
  readonly input: {
2208
2285
  readonly description: "Plain HTML input";
2209
2286
  readonly category: "forms";
@@ -2399,8 +2476,8 @@ declare const STYLE_REGISTRY: {
2399
2476
  readonly category: "layout";
2400
2477
  readonly canHaveChildren: true;
2401
2478
  };
2402
- readonly 'show-user-input': {
2403
- readonly description: "Displays previously submitted user input as a list/card view";
2479
+ readonly 'entry-table': {
2480
+ readonly description: "Built-in admin CRUD grid over a form's records (search/sort/paginate/CSV, add / edit / delete actions)";
2404
2481
  readonly category: "forms";
2405
2482
  readonly canHaveChildren: false;
2406
2483
  };
@@ -2449,4 +2526,4 @@ declare function getPluginStyleRegistry(): Record<string, IPluginStyleRegistryEn
2449
2526
  */
2450
2527
  declare function _resetPluginStyleRegistry(): void;
2451
2528
 
2452
- export { type IFormRecordStyle as $, type ICardSegmentStyle as A, BASE_STYLE_REGISTRY as B, type ICardStyle as C, type ICarouselStyle as D, type ICenterStyle as E, type ICheckboxStyle as F, type IChipStyle as G, type ICodeStyle as H, type IStyleRegistryEntry as I, type IColorInputStyle as J, type IColorPickerStyle as K, type IComboboxStyle as L, type IContainerStyle as M, type IDataContainerStyle as N, type IDatePickerStyle as O, type IDividerStyle as P, type IEntryListStyle as Q, type IEntryRecordDeleteStyle as R, STYLE_REGISTRY as S, type TStyleName as T, type IEntryRecordStyle as U, type IFieldsetStyle as V, type IFigureStyle as W, type IFileInputStyle as X, type IFlexStyle as Y, type IFormLogStyle as Z, type _AssertRegistryMatchesStyleName as _, type IPluginStyleRegistryEntry as a, type TMantineAnchorUnderline as a$, type IFormStyle as a0, type IGridColumnStyle as a1, type IGridStyle as a2, type IGroupStyle as a3, type IHighlightStyle as a4, type IHtmlTagStyle as a5, type IImageStyle as a6, type IIndicatorStyle as a7, type IInputStyle as a8, type IKbdStyle as a9, type IShowUserInputStyle as aA, type ISimpleGridStyle as aB, type ISliderStyle as aC, type ISpaceStyle as aD, type ISpoilerStyle as aE, type IStackStyle as aF, type IStyleWithSpacing as aG, type ISwitchStyle as aH, type ITabStyle as aI, type ITabsStyle as aJ, type ITextInputStyle as aK, type ITextStyle as aL, type ITextareaStyle as aM, type IThemeIconStyle as aN, type ITimelineItemStyle as aO, type ITimelineStyle as aP, type ITitleStyle as aQ, type ITwoFactorAuthStyle as aR, type ITypographyStyle as aS, type IUnknownStyle as aT, type IValidateStyle as aU, type IVersionStyle as aV, type IVideoStyle as aW, type TMantineAccordionChevronPosition as aX, type TMantineAccordionDisableChevronRotation as aY, type TMantineAccordionLoop as aZ, type TMantineAccordionMultiple as a_, type ILinkStyle as aa, type IListItemStyle as ab, type IListStyle as ac, type ILoginStyle as ad, type ILoopStyle as ae, type IMissingStyle as af, type INoAccessStyle as ag, type INotFoundStyle as ah, type INotificationStyle as ai, type INumberInputStyle as aj, type IPaperStyle as ak, type IProfileStyle as al, type IProgressRootStyle as am, type IProgressSectionStyle as an, type IProgressStyle as ao, type IRadioStyle as ap, type IRangeSliderStyle as aq, type IRatingStyle as ar, type IRefContainerStyle as as, type IRegisterStyle as at, type IResetPasswordStyle as au, type IRichTextEditorStyle as av, type IScrollAreaStyle as aw, type ISegmentedControlStyle as ax, type ISelectStyle as ay, type IShowUserInputEntry as az, type TStylePlacement as b, type TMantineBorder as b0, type TMantineCardPadding as b1, type TMantineCardShadow as b2, type TMantineCols as b3, type TMantineDividerVariant as b4, type TMantineGap as b5, type TMantineGridOffset as b6, type TMantineGridOrder as b7, type TMantineHeight as b8, type TMantineIconSize as b9, type TMantineTranslatable as bA, type TMantineUseInputWrapper as bB, type TMantineWidth as bC, type TSharedBorder as bD, type TSharedCols as bE, type TSharedDimension as bF, type TSharedDividerLabelPosition as bG, type TSharedDividerVariant as bH, type TSharedLabelPosition as bI, type TStyle as bJ, type TMantineImageFit as ba, type TMantineLineClamp as bb, type TMantineListCenter as bc, type TMantineListStyleType as bd, type TMantineListType as be, type TMantineListWithPadding as bf, type TMantinePaperShadow as bg, type TMantineProgressTransition as bh, type TMantineScrollAreaSize as bi, type TMantineScrollAreaType as bj, type TMantineTextAlign as bk, type TMantineTextDecoration as bl, type TMantineTextFontStyle as bm, type TMantineTextFontWeight as bn, type TMantineTextInherit as bo, type TMantineTextInputVariant as bp, type TMantineTextSpan as bq, type TMantineTextTransform as br, type TMantineTextTruncate as bs, type TMantineTextVariant as bt, type TMantineTextareaAutosize as bu, type TMantineTextareaResize as bv, type TMantineTextareaVariant as bw, type TMantineTimelineAlign as bx, type TMantineTitleLineClamp as by, type TMantineTitleTextWrap as bz, type TConcretePlatform as c, type TStylePlatform as d, type TStyleRegistryKey as e, _resetPluginStyleRegistry as f, extendStyleRegistry as g, getMergedStyleRegistry as h, getPluginStyleRegistry as i, type IContentField as j, type TMobileButtonFeedback as k, type TMobileFieldVariant as l, type TMobileSelectPresentation as m, type IAccordionItemStyle as n, type IAccordionStyle as o, type IActionIconStyle as p, type IAlertStyle as q, type IAspectRatioStyle as r, type IAudioStyle as s, type IAvatarStyle as t, type IBackgroundImageStyle as u, type IBadgeStyle as v, type IBaseStyle as w, type IBlockquoteStyle as x, type IBoxStyle as y, type IButtonStyle as z };
2529
+ export { type IFileInputStyle as $, type ICardSegmentStyle as A, BASE_STYLE_REGISTRY as B, type ICardStyle as C, type ICarouselStyle as D, type ICenterStyle as E, type ICheckboxStyle as F, type IChipStyle as G, type ICodeStyle as H, type IStyleRegistryEntry as I, type IColorInputStyle as J, type IColorPickerStyle as K, type IComboboxStyle as L, type IContainerStyle as M, type IDataContainerStyle as N, type IDatePickerStyle as O, type IDividerStyle as P, type IEntryListStyle as Q, type IEntryRecordDeleteStyle as R, STYLE_REGISTRY as S, type TStyleName as T, type IEntryRecordFormStyle as U, type IEntryRecordStyle as V, type IEntryTableEntry as W, type IEntryTableStyle as X, type IFieldsetStyle as Y, type IFigureStyle as Z, type _AssertRegistryMatchesStyleName as _, type IPluginStyleRegistryEntry as a, type TMantineAccordionMultiple as a$, type IFlexStyle as a0, type IFormLogStyle as a1, type IFormRecordStyle as a2, type IFormStyle as a3, type IGridColumnStyle as a4, type IGridStyle as a5, type IGroupStyle as a6, type IHighlightStyle as a7, type IHtmlTagStyle as a8, type IImageStyle as a9, type ISegmentedControlStyle as aA, type ISelectStyle as aB, type ISimpleGridStyle as aC, type ISliderStyle as aD, type ISpaceStyle as aE, type ISpoilerStyle as aF, type IStackStyle as aG, type IStyleWithSpacing as aH, type ISwitchStyle as aI, type ITabStyle as aJ, type ITabsStyle as aK, type ITextInputStyle as aL, type ITextStyle as aM, type ITextareaStyle as aN, type IThemeIconStyle as aO, type ITimelineItemStyle as aP, type ITimelineStyle as aQ, type ITitleStyle as aR, type ITwoFactorAuthStyle as aS, type ITypographyStyle as aT, type IUnknownStyle as aU, type IValidateStyle as aV, type IVersionStyle as aW, type IVideoStyle as aX, type TMantineAccordionChevronPosition as aY, type TMantineAccordionDisableChevronRotation as aZ, type TMantineAccordionLoop as a_, type IIndicatorStyle as aa, type IInputStyle as ab, type IKbdStyle as ac, type ILinkStyle as ad, type IListItemStyle as ae, type IListStyle as af, type ILoginStyle as ag, type ILoopStyle as ah, type IMissingStyle as ai, type INoAccessStyle as aj, type INotFoundStyle as ak, type INotificationStyle as al, type INumberInputStyle as am, type IPaperStyle as an, type IProfileStyle as ao, type IProgressRootStyle as ap, type IProgressSectionStyle as aq, type IProgressStyle as ar, type IRadioStyle as as, type IRangeSliderStyle as at, type IRatingStyle as au, type IRefContainerStyle as av, type IRegisterStyle as aw, type IResetPasswordStyle as ax, type IRichTextEditorStyle as ay, type IScrollAreaStyle as az, type TStylePlacement as b, type TMantineAnchorUnderline as b0, type TMantineBorder as b1, type TMantineCardPadding as b2, type TMantineCardShadow as b3, type TMantineCols as b4, type TMantineDividerVariant as b5, type TMantineGap as b6, type TMantineGridOffset as b7, type TMantineGridOrder as b8, type TMantineHeight as b9, type TMantineTitleTextWrap as bA, type TMantineTranslatable as bB, type TMantineUseInputWrapper as bC, type TMantineWidth as bD, type TSharedBorder as bE, type TSharedCols as bF, type TSharedDimension as bG, type TSharedDividerLabelPosition as bH, type TSharedDividerVariant as bI, type TSharedLabelPosition as bJ, type TStyle as bK, type TMantineIconSize as ba, type TMantineImageFit as bb, type TMantineLineClamp as bc, type TMantineListCenter as bd, type TMantineListStyleType as be, type TMantineListType as bf, type TMantineListWithPadding as bg, type TMantinePaperShadow as bh, type TMantineProgressTransition as bi, type TMantineScrollAreaSize as bj, type TMantineScrollAreaType as bk, type TMantineTextAlign as bl, type TMantineTextDecoration as bm, type TMantineTextFontStyle as bn, type TMantineTextFontWeight as bo, type TMantineTextInherit as bp, type TMantineTextInputVariant as bq, type TMantineTextSpan as br, type TMantineTextTransform as bs, type TMantineTextTruncate as bt, type TMantineTextVariant as bu, type TMantineTextareaAutosize as bv, type TMantineTextareaResize as bw, type TMantineTextareaVariant as bx, type TMantineTimelineAlign as by, type TMantineTitleLineClamp as bz, type TConcretePlatform as c, type TStylePlatform as d, type TStyleRegistryKey as e, _resetPluginStyleRegistry as f, extendStyleRegistry as g, getMergedStyleRegistry as h, getPluginStyleRegistry as i, type IContentField as j, type TMobileButtonFeedback as k, type TMobileFieldVariant as l, type TMobileSelectPresentation as m, type IAccordionItemStyle as n, type IAccordionStyle as o, type IActionIconStyle as p, type IAlertStyle as q, type IAspectRatioStyle as r, type IAudioStyle as s, type IAvatarStyle as t, type IBackgroundImageStyle as u, type IBadgeStyle as v, type IBaseStyle as w, type IBlockquoteStyle as x, type IBoxStyle as y, type IButtonStyle as z };