@selfhelp/shared 1.18.0 → 1.20.0

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/CHANGELOG.md CHANGED
@@ -9,6 +9,42 @@ All notable changes to `@selfhelp/shared` will be documented in this file.
9
9
 
10
10
  This project follows semantic versioning.
11
11
 
12
+ ## v1.20.0
13
+
14
+ **CMS-in-CMS modal contract (sizing + form/list actions)** — additive contracts
15
+ for the open-in-modal UX. `IPageContent` (`src/types/pages.ts`) gains the
16
+ optional `modal_width` and `modal_height` fields (a CSS length such as `'80%'` /
17
+ `'640px'`, or `'auto'`; `null`/absent means the frontend default of 80% and the
18
+ web modal caps `auto` at 90% of the viewport). The form/list style contracts
19
+ (`src/types/styles/forms.ts`) carry the modal-action fields consumed by the web
20
+ renderers: `close_modal_on_save` + `redirect_on_save` (form-log / form-record)
21
+ and `add_url` + `edit_url` (show-user-input). All additions are optional/new, so
22
+ `^1.x` consumers are unaffected.
23
+
24
+ ## v1.19.0
25
+
26
+ **Navigation rendering + page icons contract (navigation pages)** — additive
27
+ contracts for the configurable navigation-rendering model and the web/mobile
28
+ page-icon fields. `IPageItem` and `IPageContent` (`src/types/pages.ts`) gain the
29
+ optional `icon`, `mobile_icon`, `web_nav_render`, and `mobile_nav_render`
30
+ fields, and `transformPageData` now passes them through. A new `navigation`
31
+ module (`src/navigation/`) is exported from the package root with:
32
+
33
+ - `TWebNavRender` (`header-dropdown | tabs | sidebar-drawer | hero-cards`) and
34
+ `TMobileNavRender` (`segmented-tabs | bottom-tabs | drawer | hero-cards`) plus
35
+ their value lists, defaults (`DEFAULT_WEB_NAV_RENDER` = `tabs`,
36
+ `DEFAULT_MOBILE_NAV_RENDER` = `segmented-tabs`, global defaults
37
+ `header-dropdown` / `bottom-tabs`), option metadata (`WEB_NAV_RENDER_OPTIONS`,
38
+ `MOBILE_NAV_RENDER_OPTIONS`), and `resolveWebNavRender` / `resolveMobileNavRender`.
39
+ - The curated mobile icon set (`MOBILE_ICON_SET`, `MOBILE_ICON_NAMES`,
40
+ `DEFAULT_MOBILE_ICON`, `resolveMobileIcon`) — lucide names shared by the admin
41
+ picker and the mobile renderer so they never drift.
42
+ - The shared menu-visibility predicate (`isMenuVisible`,
43
+ `getMenuVisibleChildren`, `isNavigationPage`) used by web + mobile menus and by
44
+ the automatic virtual-navigation decision.
45
+
46
+ All additions are optional/new, so `^1.x` consumers are unaffected.
47
+
12
48
  ## v1.18.0
13
49
 
14
50
  **DB-driven public routing types (issue #30)** — additive contracts for the new
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TStyleName, j as IContentField, k as TMobileButtonFeedback, l as TMobileFieldVariant, m as TMobileSelectPresentation } from './styles.registry-6UBNKpyL.mjs';
2
- export { B as BASE_STYLE_REGISTRY, n as IAccordionItemStyle, o as IAccordionStyle, p as IActionIconStyle, q as IAlertStyle, r as IAspectRatioStyle, s as IAudioStyle, t as IAvatarStyle, u as IBackgroundImageStyle, v as IBadgeStyle, w as IBaseStyle, x as IBlockquoteStyle, y as IBoxStyle, z as IButtonStyle, A as ICardSegmentStyle, C as ICardStyle, D as ICarouselStyle, E as ICenterStyle, F as ICheckboxStyle, G as IChipStyle, H as ICodeStyle, J as IColorInputStyle, K as IColorPickerStyle, L as IComboboxStyle, M as IContainerStyle, N as IDataContainerStyle, O as IDatePickerStyle, P as IDividerStyle, Q as IEntryListStyle, R as IEntryRecordDeleteStyle, U as IEntryRecordStyle, V as IFieldsetStyle, W as IFigureStyle, X as IFileInputStyle, Y as IFlexStyle, Z as IFormLogStyle, $ as IFormRecordStyle, a0 as IFormStyle, a1 as IGridColumnStyle, a2 as IGridStyle, a3 as IGroupStyle, a4 as IHighlightStyle, a5 as IHtmlTagStyle, a6 as IImageStyle, a7 as IIndicatorStyle, a8 as IInputStyle, a9 as IKbdStyle, aa as ILinkStyle, ab as IListItemStyle, ac as IListStyle, ad as ILoginStyle, ae as ILoopStyle, af as IMissingStyle, ag as INoAccessStyle, ah as INotFoundStyle, ai as INotificationStyle, aj as INumberInputStyle, ak as IPaperStyle, a as IPluginStyleRegistryEntry, al as IProfileStyle, am as IProgressRootStyle, an as IProgressSectionStyle, ao as IProgressStyle, ap as IRadioStyle, aq as IRangeSliderStyle, ar as IRatingStyle, as as IRefContainerStyle, at as IRegisterStyle, au as IResetPasswordStyle, av as IRichTextEditorStyle, aw as IScrollAreaStyle, ax as ISegmentedControlStyle, ay as ISelectStyle, az as IShowUserInputEntry, aA as IShowUserInputStyle, aB as ISimpleGridStyle, aC as ISliderStyle, aD as ISpaceStyle, aE as ISpoilerStyle, aF as IStackStyle, I as IStyleRegistryEntry, aG as IStyleWithSpacing, aH as ISwitchStyle, aI as ITabStyle, aJ as ITabsStyle, aK as ITextInputStyle, aL as ITextStyle, aM as ITextareaStyle, aN as IThemeIconStyle, aO as ITimelineItemStyle, aP as ITimelineStyle, aQ as ITitleStyle, aR as ITwoFactorAuthStyle, aS as ITypographyStyle, aT as IUnknownStyle, aU as IValidateStyle, aV as IVersionStyle, aW as IVideoStyle, S as STYLE_REGISTRY, c as TConcretePlatform, aX as TMantineAccordionChevronPosition, aY as TMantineAccordionDisableChevronRotation, aZ as TMantineAccordionLoop, a_ as TMantineAccordionMultiple, a$ as TMantineAnchorUnderline, b0 as TMantineBorder, b1 as TMantineCardPadding, b2 as TMantineCardShadow, b3 as TMantineCols, b4 as TMantineDividerVariant, b5 as TMantineGap, b6 as TMantineGridOffset, b7 as TMantineGridOrder, b8 as TMantineHeight, b9 as TMantineIconSize, ba as TMantineImageFit, bb as TMantineLineClamp, bc as TMantineListCenter, bd as TMantineListStyleType, be as TMantineListType, bf as TMantineListWithPadding, bg as TMantinePaperShadow, bh as TMantineProgressTransition, bi as TMantineScrollAreaSize, bj as TMantineScrollAreaType, bk as TMantineTextAlign, bl as TMantineTextDecoration, bm as TMantineTextFontStyle, bn as TMantineTextFontWeight, bo as TMantineTextInherit, bp as TMantineTextInputVariant, bq as TMantineTextSpan, br as TMantineTextTransform, bs as TMantineTextTruncate, bt as TMantineTextVariant, bu as TMantineTextareaAutosize, bv as TMantineTextareaResize, bw as TMantineTextareaVariant, bx as TMantineTimelineAlign, by as TMantineTitleLineClamp, bz as TMantineTitleTextWrap, bA as TMantineTranslatable, bB as TMantineUseInputWrapper, bC as TMantineWidth, bD as TSharedBorder, bE as TSharedCols, bF as TSharedDimension, bG as TSharedDividerLabelPosition, bH as TSharedDividerVariant, bI as TSharedLabelPosition, bJ as TStyle, b as TStylePlacement, d as TStylePlatform, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from './styles.registry-6UBNKpyL.mjs';
1
+ import { T as TStyleName, j as IContentField, k as TMobileButtonFeedback, l as TMobileFieldVariant, m as TMobileSelectPresentation } from './styles.registry-DHM4M77N.mjs';
2
+ export { B as BASE_STYLE_REGISTRY, n as IAccordionItemStyle, o as IAccordionStyle, p as IActionIconStyle, q as IAlertStyle, r as IAspectRatioStyle, s as IAudioStyle, t as IAvatarStyle, u as IBackgroundImageStyle, v as IBadgeStyle, w as IBaseStyle, x as IBlockquoteStyle, y as IBoxStyle, z as IButtonStyle, A as ICardSegmentStyle, C as ICardStyle, D as ICarouselStyle, E as ICenterStyle, F as ICheckboxStyle, G as IChipStyle, H as ICodeStyle, J as IColorInputStyle, K as IColorPickerStyle, L as IComboboxStyle, M as IContainerStyle, N as IDataContainerStyle, O as IDatePickerStyle, P as IDividerStyle, Q as IEntryListStyle, R as IEntryRecordDeleteStyle, U as IEntryRecordStyle, V as IFieldsetStyle, W as IFigureStyle, X as IFileInputStyle, Y as IFlexStyle, Z as IFormLogStyle, $ as IFormRecordStyle, a0 as IFormStyle, a1 as IGridColumnStyle, a2 as IGridStyle, a3 as IGroupStyle, a4 as IHighlightStyle, a5 as IHtmlTagStyle, a6 as IImageStyle, a7 as IIndicatorStyle, a8 as IInputStyle, a9 as IKbdStyle, aa as ILinkStyle, ab as IListItemStyle, ac as IListStyle, ad as ILoginStyle, ae as ILoopStyle, af as IMissingStyle, ag as INoAccessStyle, ah as INotFoundStyle, ai as INotificationStyle, aj as INumberInputStyle, ak as IPaperStyle, a as IPluginStyleRegistryEntry, al as IProfileStyle, am as IProgressRootStyle, an as IProgressSectionStyle, ao as IProgressStyle, ap as IRadioStyle, aq as IRangeSliderStyle, ar as IRatingStyle, as as IRefContainerStyle, at as IRegisterStyle, au as IResetPasswordStyle, av as IRichTextEditorStyle, aw as IScrollAreaStyle, ax as ISegmentedControlStyle, ay as ISelectStyle, az as IShowUserInputEntry, aA as IShowUserInputStyle, aB as ISimpleGridStyle, aC as ISliderStyle, aD as ISpaceStyle, aE as ISpoilerStyle, aF as IStackStyle, I as IStyleRegistryEntry, aG as IStyleWithSpacing, aH as ISwitchStyle, aI as ITabStyle, aJ as ITabsStyle, aK as ITextInputStyle, aL as ITextStyle, aM as ITextareaStyle, aN as IThemeIconStyle, aO as ITimelineItemStyle, aP as ITimelineStyle, aQ as ITitleStyle, aR as ITwoFactorAuthStyle, aS as ITypographyStyle, aT as IUnknownStyle, aU as IValidateStyle, aV as IVersionStyle, aW as IVideoStyle, S as STYLE_REGISTRY, c as TConcretePlatform, aX as TMantineAccordionChevronPosition, aY as TMantineAccordionDisableChevronRotation, aZ as TMantineAccordionLoop, a_ as TMantineAccordionMultiple, a$ as TMantineAnchorUnderline, b0 as TMantineBorder, b1 as TMantineCardPadding, b2 as TMantineCardShadow, b3 as TMantineCols, b4 as TMantineDividerVariant, b5 as TMantineGap, b6 as TMantineGridOffset, b7 as TMantineGridOrder, b8 as TMantineHeight, b9 as TMantineIconSize, ba as TMantineImageFit, bb as TMantineLineClamp, bc as TMantineListCenter, bd as TMantineListStyleType, be as TMantineListType, bf as TMantineListWithPadding, bg as TMantinePaperShadow, bh as TMantineProgressTransition, bi as TMantineScrollAreaSize, bj as TMantineScrollAreaType, bk as TMantineTextAlign, bl as TMantineTextDecoration, bm as TMantineTextFontStyle, bn as TMantineTextFontWeight, bo as TMantineTextInherit, bp as TMantineTextInputVariant, bq as TMantineTextSpan, br as TMantineTextTransform, bs as TMantineTextTruncate, bt as TMantineTextVariant, bu as TMantineTextareaAutosize, bv as TMantineTextareaResize, bw as TMantineTextareaVariant, bx as TMantineTimelineAlign, by as TMantineTitleLineClamp, bz as TMantineTitleTextWrap, bA as TMantineTranslatable, bB as TMantineUseInputWrapper, bC as TMantineWidth, bD as TSharedBorder, bE as TSharedCols, bF as TSharedDimension, bG as TSharedDividerLabelPosition, bH as TSharedDividerVariant, bI as TSharedLabelPosition, bJ as TStyle, b as TStylePlacement, d as TStylePlatform, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from './styles.registry-DHM4M77N.mjs';
3
3
  export { v as TMantineAccordionVariant, y as TMantineActionIconLoading, d as TMantineAlign, z as TMantineAllowNextClicks, A as TMantineAllowStepClick, B as TMantineAspectRatio, C as TMantineAutoContrast, r as TMantineAvatarVariant, q as TMantineBadgeVariant, D as TMantineBlock, E as TMantineCenterInline, F as TMantineChecked, G as TMantineChipChecked, H as TMantineChipMultiple, s as TMantineChipVariant, I as TMantineClampBehavior, J as TMantineCodeBlock, T as TMantineColor, K as TMantineColorFormat, L as TMantineColorInputSwatches, M as TMantineColorPickerSwatches, N as TMantineColorPickerSwatchesPerRow, O as TMantineCompact, P as TMantineContainerFluid, e as TMantineDirection, Q as TMantineDisabled, n as TMantineFieldsetVariant, R as TMantineFileAccept, S as TMantineFileInputMultiple, U as TMantineFluid, V as TMantineFullWidth, i as TMantineGridGrow, g as TMantineGridOverflow, h as TMantineGridSpan, W as TMantineGroupGrow, X as TMantineGroupWrap, Y as TMantineGrow, Z as TMantineHighlight, t as TMantineIndicatorPosition, _ as TMantineInline, $ as TMantineIsLink, c as TMantineJustify, a0 as TMantineKbdSize, a1 as TMantineLoading, a2 as TMantineMultiple, a3 as TMantineNotificationWithCloseButton, a4 as TMantineNumberInputDecimalScale, a5 as TMantineOpenInNewTab, j as TMantineOrientation, a6 as TMantineProcessing, a as TMantineRadius, a7 as TMantineRangeSliderMarks, a8 as TMantineRatingCount, a9 as TMantineRatingFractions, aa as TMantineRatingReadonly, ab as TMantineReadonly, m as TMantineSize, ac as TMantineSpaceHorizontal, ad as TMantineSpacing, o as TMantineSpoilerMaxHeight, ae as TMantineSwatches, af as TMantineTabDisabled, w as TMantineTabsVariant, u as TMantineThemeIconVariant, x as TMantineTimelineLineVariant, l as TMantineTitleOrder, ag as TMantineUseMantineStyle, p as TMantineVariant, ah as TMantineWithCloseButton, ai as TMantineWithIcon, f as TMantineWrap, k as TSharedRadius, b as TSharedSize } from './common-qaDIAYS3.mjs';
4
4
  import { ReactNode, ComponentType } from 'react';
5
5
  import { THeroUiButtonVariant, THeroUiSize } from './theme/index.mjs';
@@ -7,6 +7,56 @@ export { COLOR_PALETTE, COLOR_SCALES, CONTAINER_SIZE_PX, FONT_SIZE_PX, FULL_RADI
7
7
  export { TAnyStyleName, TPluginStyleImplMap, TStyleImplMap, getRegistryEntry, getRegistryEntryAny, getStylePlacement, getStylePlatforms, getStylePluginId, isKnownStyleName, isRegisteredStyleName, isStyleAllowedOnPage, isStylePlacementAllowed, isStyleSupportedOnPlatform, setToStylePlatform, stylePlatformToSet } from './registry/index.mjs';
8
8
  export { sharedTailwindExtend, sharedTailwindPreset } from './theme/tailwind.mjs';
9
9
 
10
+ /**
11
+ * Navigation rendering contract (shared by web + mobile).
12
+ *
13
+ * The page TREE defines navigation STRUCTURE (parent/child + `nav_position`).
14
+ * A per-page render type controls PRESENTATION only — it never changes the
15
+ * structure or the URLs. Web and mobile each pick their own renderer from the
16
+ * stored value, so the same subtree can render differently per platform.
17
+ *
18
+ * - `web_nav_render` selects the web renderer for a page's children.
19
+ * - `mobile_nav_render` selects the mobile renderer for a page's children.
20
+ *
21
+ * Both fields are OPTIONAL on a page; when unset the platform applies its
22
+ * default (web `tabs`, mobile `segmented-tabs` for a navigation page's
23
+ * children; the GLOBAL app menu defaults to web `header-dropdown` and mobile
24
+ * `bottom-tabs`).
25
+ */
26
+ type TWebNavRender = 'header-dropdown' | 'tabs' | 'sidebar-drawer' | 'hero-cards';
27
+ type TMobileNavRender = 'segmented-tabs' | 'bottom-tabs' | 'drawer' | 'hero-cards';
28
+ declare const WEB_NAV_RENDER_VALUES: readonly TWebNavRender[];
29
+ declare const MOBILE_NAV_RENDER_VALUES: readonly TMobileNavRender[];
30
+ /** Default renderer for a navigation page's CHILDREN. */
31
+ declare const DEFAULT_WEB_NAV_RENDER: TWebNavRender;
32
+ declare const DEFAULT_MOBILE_NAV_RENDER: TMobileNavRender;
33
+ /** Default renderer for the GLOBAL app menu (header / shell). */
34
+ declare const DEFAULT_WEB_GLOBAL_NAV_RENDER: TWebNavRender;
35
+ declare const DEFAULT_MOBILE_GLOBAL_NAV_RENDER: TMobileNavRender;
36
+ interface INavRenderOption<T extends string> {
37
+ value: T;
38
+ /** Friendly label for the admin select. */
39
+ label: string;
40
+ /** Short, plain-language explanation shown under the select. */
41
+ description: string;
42
+ }
43
+ /** Option metadata for the admin "Web menu style" select. */
44
+ declare const WEB_NAV_RENDER_OPTIONS: readonly INavRenderOption<TWebNavRender>[];
45
+ /** Option metadata for the admin "Mobile menu style" select. */
46
+ declare const MOBILE_NAV_RENDER_OPTIONS: readonly INavRenderOption<TMobileNavRender>[];
47
+ declare function isWebNavRender(value: unknown): value is TWebNavRender;
48
+ declare function isMobileNavRender(value: unknown): value is TMobileNavRender;
49
+ /**
50
+ * Resolve a stored `web_nav_render` value to a concrete renderer, falling back
51
+ * to the supplied default (page-children default by default).
52
+ */
53
+ declare function resolveWebNavRender(value: unknown, fallback?: TWebNavRender): TWebNavRender;
54
+ /**
55
+ * Resolve a stored `mobile_nav_render` value to a concrete renderer, falling
56
+ * back to the supplied default (page-children default by default).
57
+ */
58
+ declare function resolveMobileNavRender(value: unknown, fallback?: TMobileNavRender): TMobileNavRender;
59
+
10
60
  /**
11
61
  * Comprehensive page type system, single source of truth for both apps.
12
62
  */
@@ -62,6 +112,14 @@ interface IPageItem extends IBasePageInfo {
62
112
  id_page_access_types?: number;
63
113
  title?: string | null;
64
114
  description?: string | null;
115
+ /** Web menu icon (Tabler component name, e.g. `IconHome`). Page property field `icon`. */
116
+ icon?: string | null;
117
+ /** Mobile menu icon (curated lucide name, e.g. `Home`). Page property field `mobile_icon`. */
118
+ mobile_icon?: string | null;
119
+ /** How this page renders its children as navigation on web. Page property field `web_nav_render`. */
120
+ web_nav_render?: TWebNavRender | null;
121
+ /** How this page renders its children as navigation on mobile. Page property field `mobile_nav_render`. */
122
+ mobile_nav_render?: TMobileNavRender | null;
65
123
  children?: IPageItem[];
66
124
  }
67
125
  interface IPageContent {
@@ -70,10 +128,40 @@ interface IPageContent {
70
128
  url: string | null;
71
129
  parent_page_id: number | null;
72
130
  is_headless: boolean;
131
+ /**
132
+ * When true, the web frontend renders this page's content inside a modal
133
+ * overlay (the page title becomes the modal header, with a close button)
134
+ * instead of a full page. Used to open CMS-in-CMS create/edit/detail pages
135
+ * from a list. Web-only — the mobile app renders the page as a normal
136
+ * screen. Mirrors the `open_in_modal` page property field.
137
+ */
138
+ open_in_modal?: boolean;
139
+ /**
140
+ * Optional modal width applied when `open_in_modal` is true (web only). A CSS
141
+ * length (e.g. `'80%'`, `'640px'`) or `'auto'` (fit content, capped at 90% of
142
+ * the viewport). `null`/absent means the frontend default (80%). Mirrors the
143
+ * `modal_width` page property field.
144
+ */
145
+ modal_width?: string | null;
146
+ /**
147
+ * Optional modal height applied when `open_in_modal` is true (web only). A CSS
148
+ * length (e.g. `'80%'`, `'600px'`) or `'auto'` (fit content, capped at 90% of
149
+ * the viewport). `null`/absent means the frontend default (80%). Mirrors the
150
+ * `modal_height` page property field.
151
+ */
152
+ modal_height?: string | null;
73
153
  nav_position: number | null;
74
154
  footer_position: number | null;
75
155
  title?: string | null;
76
156
  description?: string | null;
157
+ /** Web menu icon (Tabler component name). Mirrors the `icon` page property field. */
158
+ icon?: string | null;
159
+ /** Mobile menu icon (curated lucide name). Mirrors the `mobile_icon` page property field. */
160
+ mobile_icon?: string | null;
161
+ /** Web child-navigation render type. Mirrors the `web_nav_render` page property field. */
162
+ web_nav_render?: TWebNavRender | null;
163
+ /** Mobile child-navigation render type. Mirrors the `mobile_nav_render` page property field. */
164
+ mobile_nav_render?: TMobileNavRender | null;
77
165
  /**
78
166
  * Snake_case route params extracted from the matched public URL pattern
79
167
  * (e.g. `{ user_id: '42', token: 'abc' }` or `{ record_id: '7' }`). Present
@@ -2001,6 +2089,55 @@ declare function hasInlineFormatting(value: string | null | undefined): boolean;
2001
2089
  */
2002
2090
  declare function stripHtmlToText(value: string | null | undefined): string;
2003
2091
 
2092
+ /**
2093
+ * Curated mobile icon set — the SINGLE source of truth shared by the admin
2094
+ * `select-icon-mobile` picker (web frontend, drawn with `lucide-react`) and the
2095
+ * mobile menu renderers (drawn with `lucide-react-native`).
2096
+ *
2097
+ * Storing the lucide PascalCase export name keeps the contract stable: both
2098
+ * `lucide-react` and `lucide-react-native` expose identical named exports, so a
2099
+ * renderer maps `name -> (LucideIcons as Record<string, Component>)[name]`.
2100
+ *
2101
+ * Keep this list to icons that read well at small sizes in a tab bar / drawer
2102
+ * and that exist in BOTH lucide packages. Add entries here (never per-app) so
2103
+ * the picker and the renderer never drift.
2104
+ */
2105
+ interface IMobileIconEntry {
2106
+ /** lucide PascalCase export name, e.g. `Home`, `Users`, `LayoutDashboard`. */
2107
+ name: string;
2108
+ /** Friendly label for the admin picker. */
2109
+ label: string;
2110
+ }
2111
+ declare const MOBILE_ICON_SET: readonly IMobileIconEntry[];
2112
+ /** All valid mobile icon names (for validation / membership checks). */
2113
+ declare const MOBILE_ICON_NAMES: readonly string[];
2114
+ /** Neutral fallback used when a page has no `mobile_icon` or an unknown value. */
2115
+ declare const DEFAULT_MOBILE_ICON = "Circle";
2116
+ declare function isMobileIconName(value: unknown): value is string;
2117
+ /** Resolve a stored `mobile_icon` to a drawable name, falling back to the default. */
2118
+ declare function resolveMobileIcon(value: unknown): string;
2119
+
2120
+ /**
2121
+ * The single "is this page on the menu?" predicate, shared by web + mobile menu
2122
+ * renderers AND by the automatic virtual-navigation decision. A page is on the
2123
+ * menu when the author placed it there (`navPosition != null`) and it is not a
2124
+ * headless content-only fragment.
2125
+ *
2126
+ * Footer-only pages (`footerPosition != null && navPosition == null`), headless
2127
+ * pages, and ACL-pruned pages (never in the tree to begin with) are NOT menu
2128
+ * pages, so they never appear in a navigation block.
2129
+ */
2130
+
2131
+ declare function isMenuVisible(page: Pick<IPageItem, 'is_headless' | 'navPosition'>): boolean;
2132
+ /** Children of `page` that should appear in a navigation block, in nav order. */
2133
+ declare function getMenuVisibleChildren(page: IPageItem): IPageItem[];
2134
+ /**
2135
+ * A "navigation page" is a page whose children act as its menu. The hybrid
2136
+ * auto-render rule additionally requires the page to have no visible body
2137
+ * sections (decided by the caller, which has the resolved page content).
2138
+ */
2139
+ declare function isNavigationPage(page: IPageItem): boolean;
2140
+
2004
2141
  /**
2005
2142
  * Parse the unified `spacing` field. The CMS
2006
2143
  * stores this as a JSON string with optional keys for each side:
@@ -2045,6 +2182,14 @@ declare function spacingToClasses(spacing: ISpacingValue, spacingToTailwind: Rec
2045
2182
  * removed all legacy aliases (`parent`, `id_type`,
2046
2183
  * `id_pageAccessTypes`). The backend is the single source of canonical
2047
2184
  * keys; the transformer no longer accepts the legacy shapes.
2185
+ *
2186
+ * ROUTE METADATA (issue #30): this transformer deliberately does NOT carry
2187
+ * `route_params` / `matched_url_pattern` / `canonical_url`. Those are
2188
+ * resolve-time fields of a single page's full content (`IPageContent`, returned
2189
+ * by `GET /pages/resolve`) and are consumed directly off that type. `IPageItem`
2190
+ * is the navigation/menu projection of the page tree (keyword, url,
2191
+ * nav/footer position, parent/children) and never participates in URL
2192
+ * resolution, so adding a route passthrough here would be dead weight.
2048
2193
  */
2049
2194
 
2050
2195
  interface IRawPage {
@@ -2063,6 +2208,10 @@ interface IRawPage {
2063
2208
  is_open_access?: number | boolean | null;
2064
2209
  title?: string | null;
2065
2210
  description?: string | null;
2211
+ icon?: string | null;
2212
+ mobile_icon?: string | null;
2213
+ web_nav_render?: TWebNavRender | string | null;
2214
+ mobile_nav_render?: TMobileNavRender | string | null;
2066
2215
  id_users?: number;
2067
2216
  acl_select?: 0 | 1;
2068
2217
  acl_insert?: 0 | 1;
@@ -2080,4 +2229,4 @@ declare function transformPageData(apiPage: IRawPage): IPageItem;
2080
2229
  */
2081
2230
  declare function transformPagesData(pages: IRawPage[] | null | undefined): IPageItem[];
2082
2231
 
2083
- export { API_VERSION_PREFIX, type AdvisoryAffected, type AdvisoryFeed, type AdvisorySeverity, type BackupManifest, type BackupRetentionPolicy, type BackupSchedulePolicy, type BundledPluginRef, CLASS_PATTERNS, CLASS_REMAP, CLIENT_TYPE_MOBILE, CLIENT_TYPE_MOBILE_AND_WEB, CLIENT_TYPE_WEB, COLOR_NAMES, type CheckSeverity, type CompatibilityRules, type CoreRelease, type DatabaseMigrationMetadata, ENDPOINTS, type FrontendRelease, HEADER_CLIENT_TYPE, type IApiError, type IApiMeta, type IAssetSource, type IBaseApiResponse, type IBasePageInfo, type IBasePageSection, type IClassPattern, type IClassRemap, type ICompatibilityError, type IConditionContext, IContentField, type IEvaluatedCondition, type IForgotPasswordRequest, type IForgotPasswordResponse, type IFormDeleteRequest, type IFormDeleteResponse, type IFormResultLegacyFields, type IFormSubmitData, type IFormSubmitRequest, type IFormSubmitResponse, type IFormUpdateData, type IFormUpdateRequest, type IFormUpdateResponse, type IFrontendUpdatePreflight, type IFrontendUpdatePreflightResponse, type IFrontendUpdateReleases, type IFrontendUpdateReleasesResponse, type IFrontendUpdateRequest, type IFrontendUpdateRequestResponse, type IGetPageResponse, type IGetPagesResponse, type IInlineNode, type IJwtPayload, type ILanguage, type ILanguageItem, type ILanguagePreference, type ILanguagePreferenceUpdateResponse, type ILanguagesResponse, type ILoginRequest, type ILoginSuccessData, type ILoginSuccessResponse, type ILogoutSuccessResponse, type IMaintenanceSetRequest, type IMeta, type IMobileAdapterBaseProps, type IMobileButtonProps, type IMobileCardProps, type IMobileCheckboxProps, type IMobileContainerProps, type IMobileInputProps, type IMobileModalProps, type IMobilePreviewExchangeData, type IMobilePreviewExchangeRequest, type IMobilePreviewExchangeResponse, type IMobilePreviewSessionData, type IMobilePreviewSessionRequest, type IMobilePreviewSessionResponse, type IMobilePreviewUpdatePreflight, type IMobilePreviewUpdatePreflightResponse, type IMobilePreviewUpdateReleases, type IMobilePreviewUpdateReleasesResponse, type IMobilePreviewUpdateRequest, type IMobilePreviewUpdateRequestResponse, type IMobileSelectOption, type IMobileSelectProps, type IMobileSwitchProps, type IMobileTextProps, type IMobileTextareaProps, type IMobileUiAdapters, type IPageAccessTypeInfo, type IPageContent, type IPageField, type IPageFieldTranslation, type IPageFieldsData, type IPageItem, type IPageRoute, type IPageSectionWithFields, type IPageSectionsData, type IPreviewNavigateCommand, type IPreviewNavigatedMessage, type IPreviewPreferences, type IPreviewPreferencesChangedMessage, type IPreviewReadyMessage, type IPreviewSetPreferencesCommand, type IRefreshRequest, type IRefreshSuccessResponse, type IResetPasswordRequest, type IResetPasswordResponse, type IResolvePageResponse, type ISpacingValue, type ISystemAdvisories, type ISystemAdvisoriesResponse, type ISystemAdvisory, type ISystemAdvisoryAffected, type ISystemHealth, type ISystemHealthComponent, type ISystemHealthResponse, type ISystemInstalledPlugin, type ISystemMaintenance, type ISystemMaintenanceResponse, type ISystemVersion, type ISystemVersionResponse, type ITwoFactorRequiredData, type ITwoFactorRequiredResponse, type ITwoFactorVerifyRequest, type ITwoFactorVerifySuccessResponse, type IUpdatePreflight, type IUpdatePreflightCheck, type IUpdatePreflightOption, type IUpdatePreflightResponse, type IUpdateRelease, type IUpdateReleases, type IUpdateReleasesResponse, type IUpdateRequest, type IUpdateRequestResponse, type IUpdateStatus, type IUpdateStatusManager, type IUpdateStatusResponse, type IUpdateStep, type IUserData, type IUserDataResponse, type ImageRef, type InstalledPlugin, type InstanceImages, type InstanceLock, type InstanceManifest, type InstanceMode, type InstanceResourceConfig, type InstanceRouting, type InstanceStatus, type InstanceVersions, type InventoryInstanceEntry, LITERAL_CLASSES, type LockPluginEntry, type LockServiceEntry, MOBILE_PREVIEW_ENDPOINTS, type MobilePreviewRelease, PERMISSIONS, PREVIEW_BRIDGE_MESSAGE, PREVIEW_PARENT_ORIGIN_PARAM, PREVIEW_SHELL_PARAM, type PluginRelease, type PreflightCheck, type PreflightOption, type PreflightStatus, RELEASE_CHANNELS, type RegistryIndex, type RegistryReleaseRef, type ReleaseChannel, type RuntimeServicePolicy, type RuntimeServiceRange, SIZE_VALUES, SPACING_VALUES, SYSTEM_ENDPOINTS, type SchedulerRelease, type SecurityAdvisory, type ServerInventory, type ServiceBackendCompatibility, type SignatureBlock, type SupportBundleMeta, type TCalcedValues, type TClassDecision, type TClientType, THeroUiButtonVariant, THeroUiSize, TMobileButtonFeedback, TMobileFieldVariant, TMobileSelectPresentation, type TPermission, type TPlatform, type TPreviewBridgeMessage, type TPreviewBridgeMessageType, type TPreviewColorScheme, type TPreviewFrameSource, TStyleName, type TSystemAdvisorySeverity, type TSystemComponentStatus, type TSystemDeployment, type TSystemHealthOverall, type TUpdateCheckSeverity, type TUpdateKind, type TUpdateOperationStatus, type TUpdatePreflightStatus, type TrustLevel, type TrustedKey, type TrustedKeysFile, type UpdatePreflightResult, type WorkerRelease, arePreviewPreferencesEqual, buildConditionContext, classifyClass, classifyClassString, evaluateCondition, findRemap, hasInlineFormatting, isPreviewBridgeMessage, parseInlineRich, parseSpacing, previewKeywordFromPath, replaceCalcedValues, resolveAssetSources, resolveAssetUrl, spacingToClasses, stripHtmlToText, transformPageData, transformPagesData };
2232
+ export { API_VERSION_PREFIX, type AdvisoryAffected, type AdvisoryFeed, type AdvisorySeverity, type BackupManifest, type BackupRetentionPolicy, type BackupSchedulePolicy, type BundledPluginRef, CLASS_PATTERNS, CLASS_REMAP, CLIENT_TYPE_MOBILE, CLIENT_TYPE_MOBILE_AND_WEB, CLIENT_TYPE_WEB, COLOR_NAMES, type CheckSeverity, type CompatibilityRules, type CoreRelease, DEFAULT_MOBILE_GLOBAL_NAV_RENDER, DEFAULT_MOBILE_ICON, DEFAULT_MOBILE_NAV_RENDER, DEFAULT_WEB_GLOBAL_NAV_RENDER, DEFAULT_WEB_NAV_RENDER, type DatabaseMigrationMetadata, ENDPOINTS, type FrontendRelease, HEADER_CLIENT_TYPE, type IApiError, type IApiMeta, type IAssetSource, type IBaseApiResponse, type IBasePageInfo, type IBasePageSection, type IClassPattern, type IClassRemap, type ICompatibilityError, type IConditionContext, IContentField, type IEvaluatedCondition, type IForgotPasswordRequest, type IForgotPasswordResponse, type IFormDeleteRequest, type IFormDeleteResponse, type IFormResultLegacyFields, type IFormSubmitData, type IFormSubmitRequest, type IFormSubmitResponse, type IFormUpdateData, type IFormUpdateRequest, type IFormUpdateResponse, type IFrontendUpdatePreflight, type IFrontendUpdatePreflightResponse, type IFrontendUpdateReleases, type IFrontendUpdateReleasesResponse, type IFrontendUpdateRequest, type IFrontendUpdateRequestResponse, type IGetPageResponse, type IGetPagesResponse, type IInlineNode, type IJwtPayload, type ILanguage, type ILanguageItem, type ILanguagePreference, type ILanguagePreferenceUpdateResponse, type ILanguagesResponse, type ILoginRequest, type ILoginSuccessData, type ILoginSuccessResponse, type ILogoutSuccessResponse, type IMaintenanceSetRequest, type IMeta, type IMobileAdapterBaseProps, type IMobileButtonProps, type IMobileCardProps, type IMobileCheckboxProps, type IMobileContainerProps, type IMobileIconEntry, type IMobileInputProps, type IMobileModalProps, type IMobilePreviewExchangeData, type IMobilePreviewExchangeRequest, type IMobilePreviewExchangeResponse, type IMobilePreviewSessionData, type IMobilePreviewSessionRequest, type IMobilePreviewSessionResponse, type IMobilePreviewUpdatePreflight, type IMobilePreviewUpdatePreflightResponse, type IMobilePreviewUpdateReleases, type IMobilePreviewUpdateReleasesResponse, type IMobilePreviewUpdateRequest, type IMobilePreviewUpdateRequestResponse, type IMobileSelectOption, type IMobileSelectProps, type IMobileSwitchProps, type IMobileTextProps, type IMobileTextareaProps, type IMobileUiAdapters, type INavRenderOption, type IPageAccessTypeInfo, type IPageContent, type IPageField, type IPageFieldTranslation, type IPageFieldsData, type IPageItem, type IPageRoute, type IPageSectionWithFields, type IPageSectionsData, type IPreviewNavigateCommand, type IPreviewNavigatedMessage, type IPreviewPreferences, type IPreviewPreferencesChangedMessage, type IPreviewReadyMessage, type IPreviewSetPreferencesCommand, type IRefreshRequest, type IRefreshSuccessResponse, type IResetPasswordRequest, type IResetPasswordResponse, type IResolvePageResponse, type ISpacingValue, type ISystemAdvisories, type ISystemAdvisoriesResponse, type ISystemAdvisory, type ISystemAdvisoryAffected, type ISystemHealth, type ISystemHealthComponent, type ISystemHealthResponse, type ISystemInstalledPlugin, type ISystemMaintenance, type ISystemMaintenanceResponse, type ISystemVersion, type ISystemVersionResponse, type ITwoFactorRequiredData, type ITwoFactorRequiredResponse, type ITwoFactorVerifyRequest, type ITwoFactorVerifySuccessResponse, type IUpdatePreflight, type IUpdatePreflightCheck, type IUpdatePreflightOption, type IUpdatePreflightResponse, type IUpdateRelease, type IUpdateReleases, type IUpdateReleasesResponse, type IUpdateRequest, type IUpdateRequestResponse, type IUpdateStatus, type IUpdateStatusManager, type IUpdateStatusResponse, type IUpdateStep, type IUserData, type IUserDataResponse, type ImageRef, type InstalledPlugin, type InstanceImages, type InstanceLock, type InstanceManifest, type InstanceMode, type InstanceResourceConfig, type InstanceRouting, type InstanceStatus, type InstanceVersions, type InventoryInstanceEntry, LITERAL_CLASSES, type LockPluginEntry, type LockServiceEntry, MOBILE_ICON_NAMES, MOBILE_ICON_SET, MOBILE_NAV_RENDER_OPTIONS, MOBILE_NAV_RENDER_VALUES, MOBILE_PREVIEW_ENDPOINTS, type MobilePreviewRelease, PERMISSIONS, PREVIEW_BRIDGE_MESSAGE, PREVIEW_PARENT_ORIGIN_PARAM, PREVIEW_SHELL_PARAM, type PluginRelease, type PreflightCheck, type PreflightOption, type PreflightStatus, RELEASE_CHANNELS, type RegistryIndex, type RegistryReleaseRef, type ReleaseChannel, type RuntimeServicePolicy, type RuntimeServiceRange, SIZE_VALUES, SPACING_VALUES, SYSTEM_ENDPOINTS, type SchedulerRelease, type SecurityAdvisory, type ServerInventory, type ServiceBackendCompatibility, type SignatureBlock, type SupportBundleMeta, type TCalcedValues, type TClassDecision, type TClientType, THeroUiButtonVariant, THeroUiSize, TMobileButtonFeedback, TMobileFieldVariant, type TMobileNavRender, TMobileSelectPresentation, type TPermission, type TPlatform, type TPreviewBridgeMessage, type TPreviewBridgeMessageType, type TPreviewColorScheme, type TPreviewFrameSource, TStyleName, type TSystemAdvisorySeverity, type TSystemComponentStatus, type TSystemDeployment, type TSystemHealthOverall, type TUpdateCheckSeverity, type TUpdateKind, type TUpdateOperationStatus, type TUpdatePreflightStatus, type TWebNavRender, type TrustLevel, type TrustedKey, type TrustedKeysFile, type UpdatePreflightResult, WEB_NAV_RENDER_OPTIONS, WEB_NAV_RENDER_VALUES, type WorkerRelease, arePreviewPreferencesEqual, buildConditionContext, classifyClass, classifyClassString, evaluateCondition, findRemap, getMenuVisibleChildren, hasInlineFormatting, isMenuVisible, isMobileIconName, isMobileNavRender, isNavigationPage, isPreviewBridgeMessage, isWebNavRender, parseInlineRich, parseSpacing, previewKeywordFromPath, replaceCalcedValues, resolveAssetSources, resolveAssetUrl, resolveMobileIcon, resolveMobileNavRender, resolveWebNavRender, spacingToClasses, stripHtmlToText, transformPageData, transformPagesData };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TStyleName, j as IContentField, k as TMobileButtonFeedback, l as TMobileFieldVariant, m as TMobileSelectPresentation } from './styles.registry-CANYbEa5.js';
2
- export { B as BASE_STYLE_REGISTRY, n as IAccordionItemStyle, o as IAccordionStyle, p as IActionIconStyle, q as IAlertStyle, r as IAspectRatioStyle, s as IAudioStyle, t as IAvatarStyle, u as IBackgroundImageStyle, v as IBadgeStyle, w as IBaseStyle, x as IBlockquoteStyle, y as IBoxStyle, z as IButtonStyle, A as ICardSegmentStyle, C as ICardStyle, D as ICarouselStyle, E as ICenterStyle, F as ICheckboxStyle, G as IChipStyle, H as ICodeStyle, J as IColorInputStyle, K as IColorPickerStyle, L as IComboboxStyle, M as IContainerStyle, N as IDataContainerStyle, O as IDatePickerStyle, P as IDividerStyle, Q as IEntryListStyle, R as IEntryRecordDeleteStyle, U as IEntryRecordStyle, V as IFieldsetStyle, W as IFigureStyle, X as IFileInputStyle, Y as IFlexStyle, Z as IFormLogStyle, $ as IFormRecordStyle, a0 as IFormStyle, a1 as IGridColumnStyle, a2 as IGridStyle, a3 as IGroupStyle, a4 as IHighlightStyle, a5 as IHtmlTagStyle, a6 as IImageStyle, a7 as IIndicatorStyle, a8 as IInputStyle, a9 as IKbdStyle, aa as ILinkStyle, ab as IListItemStyle, ac as IListStyle, ad as ILoginStyle, ae as ILoopStyle, af as IMissingStyle, ag as INoAccessStyle, ah as INotFoundStyle, ai as INotificationStyle, aj as INumberInputStyle, ak as IPaperStyle, a as IPluginStyleRegistryEntry, al as IProfileStyle, am as IProgressRootStyle, an as IProgressSectionStyle, ao as IProgressStyle, ap as IRadioStyle, aq as IRangeSliderStyle, ar as IRatingStyle, as as IRefContainerStyle, at as IRegisterStyle, au as IResetPasswordStyle, av as IRichTextEditorStyle, aw as IScrollAreaStyle, ax as ISegmentedControlStyle, ay as ISelectStyle, az as IShowUserInputEntry, aA as IShowUserInputStyle, aB as ISimpleGridStyle, aC as ISliderStyle, aD as ISpaceStyle, aE as ISpoilerStyle, aF as IStackStyle, I as IStyleRegistryEntry, aG as IStyleWithSpacing, aH as ISwitchStyle, aI as ITabStyle, aJ as ITabsStyle, aK as ITextInputStyle, aL as ITextStyle, aM as ITextareaStyle, aN as IThemeIconStyle, aO as ITimelineItemStyle, aP as ITimelineStyle, aQ as ITitleStyle, aR as ITwoFactorAuthStyle, aS as ITypographyStyle, aT as IUnknownStyle, aU as IValidateStyle, aV as IVersionStyle, aW as IVideoStyle, S as STYLE_REGISTRY, c as TConcretePlatform, aX as TMantineAccordionChevronPosition, aY as TMantineAccordionDisableChevronRotation, aZ as TMantineAccordionLoop, a_ as TMantineAccordionMultiple, a$ as TMantineAnchorUnderline, b0 as TMantineBorder, b1 as TMantineCardPadding, b2 as TMantineCardShadow, b3 as TMantineCols, b4 as TMantineDividerVariant, b5 as TMantineGap, b6 as TMantineGridOffset, b7 as TMantineGridOrder, b8 as TMantineHeight, b9 as TMantineIconSize, ba as TMantineImageFit, bb as TMantineLineClamp, bc as TMantineListCenter, bd as TMantineListStyleType, be as TMantineListType, bf as TMantineListWithPadding, bg as TMantinePaperShadow, bh as TMantineProgressTransition, bi as TMantineScrollAreaSize, bj as TMantineScrollAreaType, bk as TMantineTextAlign, bl as TMantineTextDecoration, bm as TMantineTextFontStyle, bn as TMantineTextFontWeight, bo as TMantineTextInherit, bp as TMantineTextInputVariant, bq as TMantineTextSpan, br as TMantineTextTransform, bs as TMantineTextTruncate, bt as TMantineTextVariant, bu as TMantineTextareaAutosize, bv as TMantineTextareaResize, bw as TMantineTextareaVariant, bx as TMantineTimelineAlign, by as TMantineTitleLineClamp, bz as TMantineTitleTextWrap, bA as TMantineTranslatable, bB as TMantineUseInputWrapper, bC as TMantineWidth, bD as TSharedBorder, bE as TSharedCols, bF as TSharedDimension, bG as TSharedDividerLabelPosition, bH as TSharedDividerVariant, bI as TSharedLabelPosition, bJ as TStyle, b as TStylePlacement, d as TStylePlatform, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from './styles.registry-CANYbEa5.js';
1
+ import { T as TStyleName, j as IContentField, k as TMobileButtonFeedback, l as TMobileFieldVariant, m as TMobileSelectPresentation } from './styles.registry-DEDEZ8l3.js';
2
+ export { B as BASE_STYLE_REGISTRY, n as IAccordionItemStyle, o as IAccordionStyle, p as IActionIconStyle, q as IAlertStyle, r as IAspectRatioStyle, s as IAudioStyle, t as IAvatarStyle, u as IBackgroundImageStyle, v as IBadgeStyle, w as IBaseStyle, x as IBlockquoteStyle, y as IBoxStyle, z as IButtonStyle, A as ICardSegmentStyle, C as ICardStyle, D as ICarouselStyle, E as ICenterStyle, F as ICheckboxStyle, G as IChipStyle, H as ICodeStyle, J as IColorInputStyle, K as IColorPickerStyle, L as IComboboxStyle, M as IContainerStyle, N as IDataContainerStyle, O as IDatePickerStyle, P as IDividerStyle, Q as IEntryListStyle, R as IEntryRecordDeleteStyle, U as IEntryRecordStyle, V as IFieldsetStyle, W as IFigureStyle, X as IFileInputStyle, Y as IFlexStyle, Z as IFormLogStyle, $ as IFormRecordStyle, a0 as IFormStyle, a1 as IGridColumnStyle, a2 as IGridStyle, a3 as IGroupStyle, a4 as IHighlightStyle, a5 as IHtmlTagStyle, a6 as IImageStyle, a7 as IIndicatorStyle, a8 as IInputStyle, a9 as IKbdStyle, aa as ILinkStyle, ab as IListItemStyle, ac as IListStyle, ad as ILoginStyle, ae as ILoopStyle, af as IMissingStyle, ag as INoAccessStyle, ah as INotFoundStyle, ai as INotificationStyle, aj as INumberInputStyle, ak as IPaperStyle, a as IPluginStyleRegistryEntry, al as IProfileStyle, am as IProgressRootStyle, an as IProgressSectionStyle, ao as IProgressStyle, ap as IRadioStyle, aq as IRangeSliderStyle, ar as IRatingStyle, as as IRefContainerStyle, at as IRegisterStyle, au as IResetPasswordStyle, av as IRichTextEditorStyle, aw as IScrollAreaStyle, ax as ISegmentedControlStyle, ay as ISelectStyle, az as IShowUserInputEntry, aA as IShowUserInputStyle, aB as ISimpleGridStyle, aC as ISliderStyle, aD as ISpaceStyle, aE as ISpoilerStyle, aF as IStackStyle, I as IStyleRegistryEntry, aG as IStyleWithSpacing, aH as ISwitchStyle, aI as ITabStyle, aJ as ITabsStyle, aK as ITextInputStyle, aL as ITextStyle, aM as ITextareaStyle, aN as IThemeIconStyle, aO as ITimelineItemStyle, aP as ITimelineStyle, aQ as ITitleStyle, aR as ITwoFactorAuthStyle, aS as ITypographyStyle, aT as IUnknownStyle, aU as IValidateStyle, aV as IVersionStyle, aW as IVideoStyle, S as STYLE_REGISTRY, c as TConcretePlatform, aX as TMantineAccordionChevronPosition, aY as TMantineAccordionDisableChevronRotation, aZ as TMantineAccordionLoop, a_ as TMantineAccordionMultiple, a$ as TMantineAnchorUnderline, b0 as TMantineBorder, b1 as TMantineCardPadding, b2 as TMantineCardShadow, b3 as TMantineCols, b4 as TMantineDividerVariant, b5 as TMantineGap, b6 as TMantineGridOffset, b7 as TMantineGridOrder, b8 as TMantineHeight, b9 as TMantineIconSize, ba as TMantineImageFit, bb as TMantineLineClamp, bc as TMantineListCenter, bd as TMantineListStyleType, be as TMantineListType, bf as TMantineListWithPadding, bg as TMantinePaperShadow, bh as TMantineProgressTransition, bi as TMantineScrollAreaSize, bj as TMantineScrollAreaType, bk as TMantineTextAlign, bl as TMantineTextDecoration, bm as TMantineTextFontStyle, bn as TMantineTextFontWeight, bo as TMantineTextInherit, bp as TMantineTextInputVariant, bq as TMantineTextSpan, br as TMantineTextTransform, bs as TMantineTextTruncate, bt as TMantineTextVariant, bu as TMantineTextareaAutosize, bv as TMantineTextareaResize, bw as TMantineTextareaVariant, bx as TMantineTimelineAlign, by as TMantineTitleLineClamp, bz as TMantineTitleTextWrap, bA as TMantineTranslatable, bB as TMantineUseInputWrapper, bC as TMantineWidth, bD as TSharedBorder, bE as TSharedCols, bF as TSharedDimension, bG as TSharedDividerLabelPosition, bH as TSharedDividerVariant, bI as TSharedLabelPosition, bJ as TStyle, b as TStylePlacement, d as TStylePlatform, e as TStyleRegistryKey, _ as _AssertRegistryMatchesStyleName, f as _resetPluginStyleRegistry, g as extendStyleRegistry, h as getMergedStyleRegistry, i as getPluginStyleRegistry } from './styles.registry-DEDEZ8l3.js';
3
3
  export { v as TMantineAccordionVariant, y as TMantineActionIconLoading, d as TMantineAlign, z as TMantineAllowNextClicks, A as TMantineAllowStepClick, B as TMantineAspectRatio, C as TMantineAutoContrast, r as TMantineAvatarVariant, q as TMantineBadgeVariant, D as TMantineBlock, E as TMantineCenterInline, F as TMantineChecked, G as TMantineChipChecked, H as TMantineChipMultiple, s as TMantineChipVariant, I as TMantineClampBehavior, J as TMantineCodeBlock, T as TMantineColor, K as TMantineColorFormat, L as TMantineColorInputSwatches, M as TMantineColorPickerSwatches, N as TMantineColorPickerSwatchesPerRow, O as TMantineCompact, P as TMantineContainerFluid, e as TMantineDirection, Q as TMantineDisabled, n as TMantineFieldsetVariant, R as TMantineFileAccept, S as TMantineFileInputMultiple, U as TMantineFluid, V as TMantineFullWidth, i as TMantineGridGrow, g as TMantineGridOverflow, h as TMantineGridSpan, W as TMantineGroupGrow, X as TMantineGroupWrap, Y as TMantineGrow, Z as TMantineHighlight, t as TMantineIndicatorPosition, _ as TMantineInline, $ as TMantineIsLink, c as TMantineJustify, a0 as TMantineKbdSize, a1 as TMantineLoading, a2 as TMantineMultiple, a3 as TMantineNotificationWithCloseButton, a4 as TMantineNumberInputDecimalScale, a5 as TMantineOpenInNewTab, j as TMantineOrientation, a6 as TMantineProcessing, a as TMantineRadius, a7 as TMantineRangeSliderMarks, a8 as TMantineRatingCount, a9 as TMantineRatingFractions, aa as TMantineRatingReadonly, ab as TMantineReadonly, m as TMantineSize, ac as TMantineSpaceHorizontal, ad as TMantineSpacing, o as TMantineSpoilerMaxHeight, ae as TMantineSwatches, af as TMantineTabDisabled, w as TMantineTabsVariant, u as TMantineThemeIconVariant, x as TMantineTimelineLineVariant, l as TMantineTitleOrder, ag as TMantineUseMantineStyle, p as TMantineVariant, ah as TMantineWithCloseButton, ai as TMantineWithIcon, f as TMantineWrap, k as TSharedRadius, b as TSharedSize } from './common-qaDIAYS3.js';
4
4
  import { ReactNode, ComponentType } from 'react';
5
5
  import { THeroUiButtonVariant, THeroUiSize } from './theme/index.js';
@@ -7,6 +7,56 @@ export { COLOR_PALETTE, COLOR_SCALES, CONTAINER_SIZE_PX, FONT_SIZE_PX, FULL_RADI
7
7
  export { TAnyStyleName, TPluginStyleImplMap, TStyleImplMap, getRegistryEntry, getRegistryEntryAny, getStylePlacement, getStylePlatforms, getStylePluginId, isKnownStyleName, isRegisteredStyleName, isStyleAllowedOnPage, isStylePlacementAllowed, isStyleSupportedOnPlatform, setToStylePlatform, stylePlatformToSet } from './registry/index.js';
8
8
  export { sharedTailwindExtend, sharedTailwindPreset } from './theme/tailwind.js';
9
9
 
10
+ /**
11
+ * Navigation rendering contract (shared by web + mobile).
12
+ *
13
+ * The page TREE defines navigation STRUCTURE (parent/child + `nav_position`).
14
+ * A per-page render type controls PRESENTATION only — it never changes the
15
+ * structure or the URLs. Web and mobile each pick their own renderer from the
16
+ * stored value, so the same subtree can render differently per platform.
17
+ *
18
+ * - `web_nav_render` selects the web renderer for a page's children.
19
+ * - `mobile_nav_render` selects the mobile renderer for a page's children.
20
+ *
21
+ * Both fields are OPTIONAL on a page; when unset the platform applies its
22
+ * default (web `tabs`, mobile `segmented-tabs` for a navigation page's
23
+ * children; the GLOBAL app menu defaults to web `header-dropdown` and mobile
24
+ * `bottom-tabs`).
25
+ */
26
+ type TWebNavRender = 'header-dropdown' | 'tabs' | 'sidebar-drawer' | 'hero-cards';
27
+ type TMobileNavRender = 'segmented-tabs' | 'bottom-tabs' | 'drawer' | 'hero-cards';
28
+ declare const WEB_NAV_RENDER_VALUES: readonly TWebNavRender[];
29
+ declare const MOBILE_NAV_RENDER_VALUES: readonly TMobileNavRender[];
30
+ /** Default renderer for a navigation page's CHILDREN. */
31
+ declare const DEFAULT_WEB_NAV_RENDER: TWebNavRender;
32
+ declare const DEFAULT_MOBILE_NAV_RENDER: TMobileNavRender;
33
+ /** Default renderer for the GLOBAL app menu (header / shell). */
34
+ declare const DEFAULT_WEB_GLOBAL_NAV_RENDER: TWebNavRender;
35
+ declare const DEFAULT_MOBILE_GLOBAL_NAV_RENDER: TMobileNavRender;
36
+ interface INavRenderOption<T extends string> {
37
+ value: T;
38
+ /** Friendly label for the admin select. */
39
+ label: string;
40
+ /** Short, plain-language explanation shown under the select. */
41
+ description: string;
42
+ }
43
+ /** Option metadata for the admin "Web menu style" select. */
44
+ declare const WEB_NAV_RENDER_OPTIONS: readonly INavRenderOption<TWebNavRender>[];
45
+ /** Option metadata for the admin "Mobile menu style" select. */
46
+ declare const MOBILE_NAV_RENDER_OPTIONS: readonly INavRenderOption<TMobileNavRender>[];
47
+ declare function isWebNavRender(value: unknown): value is TWebNavRender;
48
+ declare function isMobileNavRender(value: unknown): value is TMobileNavRender;
49
+ /**
50
+ * Resolve a stored `web_nav_render` value to a concrete renderer, falling back
51
+ * to the supplied default (page-children default by default).
52
+ */
53
+ declare function resolveWebNavRender(value: unknown, fallback?: TWebNavRender): TWebNavRender;
54
+ /**
55
+ * Resolve a stored `mobile_nav_render` value to a concrete renderer, falling
56
+ * back to the supplied default (page-children default by default).
57
+ */
58
+ declare function resolveMobileNavRender(value: unknown, fallback?: TMobileNavRender): TMobileNavRender;
59
+
10
60
  /**
11
61
  * Comprehensive page type system, single source of truth for both apps.
12
62
  */
@@ -62,6 +112,14 @@ interface IPageItem extends IBasePageInfo {
62
112
  id_page_access_types?: number;
63
113
  title?: string | null;
64
114
  description?: string | null;
115
+ /** Web menu icon (Tabler component name, e.g. `IconHome`). Page property field `icon`. */
116
+ icon?: string | null;
117
+ /** Mobile menu icon (curated lucide name, e.g. `Home`). Page property field `mobile_icon`. */
118
+ mobile_icon?: string | null;
119
+ /** How this page renders its children as navigation on web. Page property field `web_nav_render`. */
120
+ web_nav_render?: TWebNavRender | null;
121
+ /** How this page renders its children as navigation on mobile. Page property field `mobile_nav_render`. */
122
+ mobile_nav_render?: TMobileNavRender | null;
65
123
  children?: IPageItem[];
66
124
  }
67
125
  interface IPageContent {
@@ -70,10 +128,40 @@ interface IPageContent {
70
128
  url: string | null;
71
129
  parent_page_id: number | null;
72
130
  is_headless: boolean;
131
+ /**
132
+ * When true, the web frontend renders this page's content inside a modal
133
+ * overlay (the page title becomes the modal header, with a close button)
134
+ * instead of a full page. Used to open CMS-in-CMS create/edit/detail pages
135
+ * from a list. Web-only — the mobile app renders the page as a normal
136
+ * screen. Mirrors the `open_in_modal` page property field.
137
+ */
138
+ open_in_modal?: boolean;
139
+ /**
140
+ * Optional modal width applied when `open_in_modal` is true (web only). A CSS
141
+ * length (e.g. `'80%'`, `'640px'`) or `'auto'` (fit content, capped at 90% of
142
+ * the viewport). `null`/absent means the frontend default (80%). Mirrors the
143
+ * `modal_width` page property field.
144
+ */
145
+ modal_width?: string | null;
146
+ /**
147
+ * Optional modal height applied when `open_in_modal` is true (web only). A CSS
148
+ * length (e.g. `'80%'`, `'600px'`) or `'auto'` (fit content, capped at 90% of
149
+ * the viewport). `null`/absent means the frontend default (80%). Mirrors the
150
+ * `modal_height` page property field.
151
+ */
152
+ modal_height?: string | null;
73
153
  nav_position: number | null;
74
154
  footer_position: number | null;
75
155
  title?: string | null;
76
156
  description?: string | null;
157
+ /** Web menu icon (Tabler component name). Mirrors the `icon` page property field. */
158
+ icon?: string | null;
159
+ /** Mobile menu icon (curated lucide name). Mirrors the `mobile_icon` page property field. */
160
+ mobile_icon?: string | null;
161
+ /** Web child-navigation render type. Mirrors the `web_nav_render` page property field. */
162
+ web_nav_render?: TWebNavRender | null;
163
+ /** Mobile child-navigation render type. Mirrors the `mobile_nav_render` page property field. */
164
+ mobile_nav_render?: TMobileNavRender | null;
77
165
  /**
78
166
  * Snake_case route params extracted from the matched public URL pattern
79
167
  * (e.g. `{ user_id: '42', token: 'abc' }` or `{ record_id: '7' }`). Present
@@ -2001,6 +2089,55 @@ declare function hasInlineFormatting(value: string | null | undefined): boolean;
2001
2089
  */
2002
2090
  declare function stripHtmlToText(value: string | null | undefined): string;
2003
2091
 
2092
+ /**
2093
+ * Curated mobile icon set — the SINGLE source of truth shared by the admin
2094
+ * `select-icon-mobile` picker (web frontend, drawn with `lucide-react`) and the
2095
+ * mobile menu renderers (drawn with `lucide-react-native`).
2096
+ *
2097
+ * Storing the lucide PascalCase export name keeps the contract stable: both
2098
+ * `lucide-react` and `lucide-react-native` expose identical named exports, so a
2099
+ * renderer maps `name -> (LucideIcons as Record<string, Component>)[name]`.
2100
+ *
2101
+ * Keep this list to icons that read well at small sizes in a tab bar / drawer
2102
+ * and that exist in BOTH lucide packages. Add entries here (never per-app) so
2103
+ * the picker and the renderer never drift.
2104
+ */
2105
+ interface IMobileIconEntry {
2106
+ /** lucide PascalCase export name, e.g. `Home`, `Users`, `LayoutDashboard`. */
2107
+ name: string;
2108
+ /** Friendly label for the admin picker. */
2109
+ label: string;
2110
+ }
2111
+ declare const MOBILE_ICON_SET: readonly IMobileIconEntry[];
2112
+ /** All valid mobile icon names (for validation / membership checks). */
2113
+ declare const MOBILE_ICON_NAMES: readonly string[];
2114
+ /** Neutral fallback used when a page has no `mobile_icon` or an unknown value. */
2115
+ declare const DEFAULT_MOBILE_ICON = "Circle";
2116
+ declare function isMobileIconName(value: unknown): value is string;
2117
+ /** Resolve a stored `mobile_icon` to a drawable name, falling back to the default. */
2118
+ declare function resolveMobileIcon(value: unknown): string;
2119
+
2120
+ /**
2121
+ * The single "is this page on the menu?" predicate, shared by web + mobile menu
2122
+ * renderers AND by the automatic virtual-navigation decision. A page is on the
2123
+ * menu when the author placed it there (`navPosition != null`) and it is not a
2124
+ * headless content-only fragment.
2125
+ *
2126
+ * Footer-only pages (`footerPosition != null && navPosition == null`), headless
2127
+ * pages, and ACL-pruned pages (never in the tree to begin with) are NOT menu
2128
+ * pages, so they never appear in a navigation block.
2129
+ */
2130
+
2131
+ declare function isMenuVisible(page: Pick<IPageItem, 'is_headless' | 'navPosition'>): boolean;
2132
+ /** Children of `page` that should appear in a navigation block, in nav order. */
2133
+ declare function getMenuVisibleChildren(page: IPageItem): IPageItem[];
2134
+ /**
2135
+ * A "navigation page" is a page whose children act as its menu. The hybrid
2136
+ * auto-render rule additionally requires the page to have no visible body
2137
+ * sections (decided by the caller, which has the resolved page content).
2138
+ */
2139
+ declare function isNavigationPage(page: IPageItem): boolean;
2140
+
2004
2141
  /**
2005
2142
  * Parse the unified `spacing` field. The CMS
2006
2143
  * stores this as a JSON string with optional keys for each side:
@@ -2045,6 +2182,14 @@ declare function spacingToClasses(spacing: ISpacingValue, spacingToTailwind: Rec
2045
2182
  * removed all legacy aliases (`parent`, `id_type`,
2046
2183
  * `id_pageAccessTypes`). The backend is the single source of canonical
2047
2184
  * keys; the transformer no longer accepts the legacy shapes.
2185
+ *
2186
+ * ROUTE METADATA (issue #30): this transformer deliberately does NOT carry
2187
+ * `route_params` / `matched_url_pattern` / `canonical_url`. Those are
2188
+ * resolve-time fields of a single page's full content (`IPageContent`, returned
2189
+ * by `GET /pages/resolve`) and are consumed directly off that type. `IPageItem`
2190
+ * is the navigation/menu projection of the page tree (keyword, url,
2191
+ * nav/footer position, parent/children) and never participates in URL
2192
+ * resolution, so adding a route passthrough here would be dead weight.
2048
2193
  */
2049
2194
 
2050
2195
  interface IRawPage {
@@ -2063,6 +2208,10 @@ interface IRawPage {
2063
2208
  is_open_access?: number | boolean | null;
2064
2209
  title?: string | null;
2065
2210
  description?: string | null;
2211
+ icon?: string | null;
2212
+ mobile_icon?: string | null;
2213
+ web_nav_render?: TWebNavRender | string | null;
2214
+ mobile_nav_render?: TMobileNavRender | string | null;
2066
2215
  id_users?: number;
2067
2216
  acl_select?: 0 | 1;
2068
2217
  acl_insert?: 0 | 1;
@@ -2080,4 +2229,4 @@ declare function transformPageData(apiPage: IRawPage): IPageItem;
2080
2229
  */
2081
2230
  declare function transformPagesData(pages: IRawPage[] | null | undefined): IPageItem[];
2082
2231
 
2083
- export { API_VERSION_PREFIX, type AdvisoryAffected, type AdvisoryFeed, type AdvisorySeverity, type BackupManifest, type BackupRetentionPolicy, type BackupSchedulePolicy, type BundledPluginRef, CLASS_PATTERNS, CLASS_REMAP, CLIENT_TYPE_MOBILE, CLIENT_TYPE_MOBILE_AND_WEB, CLIENT_TYPE_WEB, COLOR_NAMES, type CheckSeverity, type CompatibilityRules, type CoreRelease, type DatabaseMigrationMetadata, ENDPOINTS, type FrontendRelease, HEADER_CLIENT_TYPE, type IApiError, type IApiMeta, type IAssetSource, type IBaseApiResponse, type IBasePageInfo, type IBasePageSection, type IClassPattern, type IClassRemap, type ICompatibilityError, type IConditionContext, IContentField, type IEvaluatedCondition, type IForgotPasswordRequest, type IForgotPasswordResponse, type IFormDeleteRequest, type IFormDeleteResponse, type IFormResultLegacyFields, type IFormSubmitData, type IFormSubmitRequest, type IFormSubmitResponse, type IFormUpdateData, type IFormUpdateRequest, type IFormUpdateResponse, type IFrontendUpdatePreflight, type IFrontendUpdatePreflightResponse, type IFrontendUpdateReleases, type IFrontendUpdateReleasesResponse, type IFrontendUpdateRequest, type IFrontendUpdateRequestResponse, type IGetPageResponse, type IGetPagesResponse, type IInlineNode, type IJwtPayload, type ILanguage, type ILanguageItem, type ILanguagePreference, type ILanguagePreferenceUpdateResponse, type ILanguagesResponse, type ILoginRequest, type ILoginSuccessData, type ILoginSuccessResponse, type ILogoutSuccessResponse, type IMaintenanceSetRequest, type IMeta, type IMobileAdapterBaseProps, type IMobileButtonProps, type IMobileCardProps, type IMobileCheckboxProps, type IMobileContainerProps, type IMobileInputProps, type IMobileModalProps, type IMobilePreviewExchangeData, type IMobilePreviewExchangeRequest, type IMobilePreviewExchangeResponse, type IMobilePreviewSessionData, type IMobilePreviewSessionRequest, type IMobilePreviewSessionResponse, type IMobilePreviewUpdatePreflight, type IMobilePreviewUpdatePreflightResponse, type IMobilePreviewUpdateReleases, type IMobilePreviewUpdateReleasesResponse, type IMobilePreviewUpdateRequest, type IMobilePreviewUpdateRequestResponse, type IMobileSelectOption, type IMobileSelectProps, type IMobileSwitchProps, type IMobileTextProps, type IMobileTextareaProps, type IMobileUiAdapters, type IPageAccessTypeInfo, type IPageContent, type IPageField, type IPageFieldTranslation, type IPageFieldsData, type IPageItem, type IPageRoute, type IPageSectionWithFields, type IPageSectionsData, type IPreviewNavigateCommand, type IPreviewNavigatedMessage, type IPreviewPreferences, type IPreviewPreferencesChangedMessage, type IPreviewReadyMessage, type IPreviewSetPreferencesCommand, type IRefreshRequest, type IRefreshSuccessResponse, type IResetPasswordRequest, type IResetPasswordResponse, type IResolvePageResponse, type ISpacingValue, type ISystemAdvisories, type ISystemAdvisoriesResponse, type ISystemAdvisory, type ISystemAdvisoryAffected, type ISystemHealth, type ISystemHealthComponent, type ISystemHealthResponse, type ISystemInstalledPlugin, type ISystemMaintenance, type ISystemMaintenanceResponse, type ISystemVersion, type ISystemVersionResponse, type ITwoFactorRequiredData, type ITwoFactorRequiredResponse, type ITwoFactorVerifyRequest, type ITwoFactorVerifySuccessResponse, type IUpdatePreflight, type IUpdatePreflightCheck, type IUpdatePreflightOption, type IUpdatePreflightResponse, type IUpdateRelease, type IUpdateReleases, type IUpdateReleasesResponse, type IUpdateRequest, type IUpdateRequestResponse, type IUpdateStatus, type IUpdateStatusManager, type IUpdateStatusResponse, type IUpdateStep, type IUserData, type IUserDataResponse, type ImageRef, type InstalledPlugin, type InstanceImages, type InstanceLock, type InstanceManifest, type InstanceMode, type InstanceResourceConfig, type InstanceRouting, type InstanceStatus, type InstanceVersions, type InventoryInstanceEntry, LITERAL_CLASSES, type LockPluginEntry, type LockServiceEntry, MOBILE_PREVIEW_ENDPOINTS, type MobilePreviewRelease, PERMISSIONS, PREVIEW_BRIDGE_MESSAGE, PREVIEW_PARENT_ORIGIN_PARAM, PREVIEW_SHELL_PARAM, type PluginRelease, type PreflightCheck, type PreflightOption, type PreflightStatus, RELEASE_CHANNELS, type RegistryIndex, type RegistryReleaseRef, type ReleaseChannel, type RuntimeServicePolicy, type RuntimeServiceRange, SIZE_VALUES, SPACING_VALUES, SYSTEM_ENDPOINTS, type SchedulerRelease, type SecurityAdvisory, type ServerInventory, type ServiceBackendCompatibility, type SignatureBlock, type SupportBundleMeta, type TCalcedValues, type TClassDecision, type TClientType, THeroUiButtonVariant, THeroUiSize, TMobileButtonFeedback, TMobileFieldVariant, TMobileSelectPresentation, type TPermission, type TPlatform, type TPreviewBridgeMessage, type TPreviewBridgeMessageType, type TPreviewColorScheme, type TPreviewFrameSource, TStyleName, type TSystemAdvisorySeverity, type TSystemComponentStatus, type TSystemDeployment, type TSystemHealthOverall, type TUpdateCheckSeverity, type TUpdateKind, type TUpdateOperationStatus, type TUpdatePreflightStatus, type TrustLevel, type TrustedKey, type TrustedKeysFile, type UpdatePreflightResult, type WorkerRelease, arePreviewPreferencesEqual, buildConditionContext, classifyClass, classifyClassString, evaluateCondition, findRemap, hasInlineFormatting, isPreviewBridgeMessage, parseInlineRich, parseSpacing, previewKeywordFromPath, replaceCalcedValues, resolveAssetSources, resolveAssetUrl, spacingToClasses, stripHtmlToText, transformPageData, transformPagesData };
2232
+ export { API_VERSION_PREFIX, type AdvisoryAffected, type AdvisoryFeed, type AdvisorySeverity, type BackupManifest, type BackupRetentionPolicy, type BackupSchedulePolicy, type BundledPluginRef, CLASS_PATTERNS, CLASS_REMAP, CLIENT_TYPE_MOBILE, CLIENT_TYPE_MOBILE_AND_WEB, CLIENT_TYPE_WEB, COLOR_NAMES, type CheckSeverity, type CompatibilityRules, type CoreRelease, DEFAULT_MOBILE_GLOBAL_NAV_RENDER, DEFAULT_MOBILE_ICON, DEFAULT_MOBILE_NAV_RENDER, DEFAULT_WEB_GLOBAL_NAV_RENDER, DEFAULT_WEB_NAV_RENDER, type DatabaseMigrationMetadata, ENDPOINTS, type FrontendRelease, HEADER_CLIENT_TYPE, type IApiError, type IApiMeta, type IAssetSource, type IBaseApiResponse, type IBasePageInfo, type IBasePageSection, type IClassPattern, type IClassRemap, type ICompatibilityError, type IConditionContext, IContentField, type IEvaluatedCondition, type IForgotPasswordRequest, type IForgotPasswordResponse, type IFormDeleteRequest, type IFormDeleteResponse, type IFormResultLegacyFields, type IFormSubmitData, type IFormSubmitRequest, type IFormSubmitResponse, type IFormUpdateData, type IFormUpdateRequest, type IFormUpdateResponse, type IFrontendUpdatePreflight, type IFrontendUpdatePreflightResponse, type IFrontendUpdateReleases, type IFrontendUpdateReleasesResponse, type IFrontendUpdateRequest, type IFrontendUpdateRequestResponse, type IGetPageResponse, type IGetPagesResponse, type IInlineNode, type IJwtPayload, type ILanguage, type ILanguageItem, type ILanguagePreference, type ILanguagePreferenceUpdateResponse, type ILanguagesResponse, type ILoginRequest, type ILoginSuccessData, type ILoginSuccessResponse, type ILogoutSuccessResponse, type IMaintenanceSetRequest, type IMeta, type IMobileAdapterBaseProps, type IMobileButtonProps, type IMobileCardProps, type IMobileCheckboxProps, type IMobileContainerProps, type IMobileIconEntry, type IMobileInputProps, type IMobileModalProps, type IMobilePreviewExchangeData, type IMobilePreviewExchangeRequest, type IMobilePreviewExchangeResponse, type IMobilePreviewSessionData, type IMobilePreviewSessionRequest, type IMobilePreviewSessionResponse, type IMobilePreviewUpdatePreflight, type IMobilePreviewUpdatePreflightResponse, type IMobilePreviewUpdateReleases, type IMobilePreviewUpdateReleasesResponse, type IMobilePreviewUpdateRequest, type IMobilePreviewUpdateRequestResponse, type IMobileSelectOption, type IMobileSelectProps, type IMobileSwitchProps, type IMobileTextProps, type IMobileTextareaProps, type IMobileUiAdapters, type INavRenderOption, type IPageAccessTypeInfo, type IPageContent, type IPageField, type IPageFieldTranslation, type IPageFieldsData, type IPageItem, type IPageRoute, type IPageSectionWithFields, type IPageSectionsData, type IPreviewNavigateCommand, type IPreviewNavigatedMessage, type IPreviewPreferences, type IPreviewPreferencesChangedMessage, type IPreviewReadyMessage, type IPreviewSetPreferencesCommand, type IRefreshRequest, type IRefreshSuccessResponse, type IResetPasswordRequest, type IResetPasswordResponse, type IResolvePageResponse, type ISpacingValue, type ISystemAdvisories, type ISystemAdvisoriesResponse, type ISystemAdvisory, type ISystemAdvisoryAffected, type ISystemHealth, type ISystemHealthComponent, type ISystemHealthResponse, type ISystemInstalledPlugin, type ISystemMaintenance, type ISystemMaintenanceResponse, type ISystemVersion, type ISystemVersionResponse, type ITwoFactorRequiredData, type ITwoFactorRequiredResponse, type ITwoFactorVerifyRequest, type ITwoFactorVerifySuccessResponse, type IUpdatePreflight, type IUpdatePreflightCheck, type IUpdatePreflightOption, type IUpdatePreflightResponse, type IUpdateRelease, type IUpdateReleases, type IUpdateReleasesResponse, type IUpdateRequest, type IUpdateRequestResponse, type IUpdateStatus, type IUpdateStatusManager, type IUpdateStatusResponse, type IUpdateStep, type IUserData, type IUserDataResponse, type ImageRef, type InstalledPlugin, type InstanceImages, type InstanceLock, type InstanceManifest, type InstanceMode, type InstanceResourceConfig, type InstanceRouting, type InstanceStatus, type InstanceVersions, type InventoryInstanceEntry, LITERAL_CLASSES, type LockPluginEntry, type LockServiceEntry, MOBILE_ICON_NAMES, MOBILE_ICON_SET, MOBILE_NAV_RENDER_OPTIONS, MOBILE_NAV_RENDER_VALUES, MOBILE_PREVIEW_ENDPOINTS, type MobilePreviewRelease, PERMISSIONS, PREVIEW_BRIDGE_MESSAGE, PREVIEW_PARENT_ORIGIN_PARAM, PREVIEW_SHELL_PARAM, type PluginRelease, type PreflightCheck, type PreflightOption, type PreflightStatus, RELEASE_CHANNELS, type RegistryIndex, type RegistryReleaseRef, type ReleaseChannel, type RuntimeServicePolicy, type RuntimeServiceRange, SIZE_VALUES, SPACING_VALUES, SYSTEM_ENDPOINTS, type SchedulerRelease, type SecurityAdvisory, type ServerInventory, type ServiceBackendCompatibility, type SignatureBlock, type SupportBundleMeta, type TCalcedValues, type TClassDecision, type TClientType, THeroUiButtonVariant, THeroUiSize, TMobileButtonFeedback, TMobileFieldVariant, type TMobileNavRender, TMobileSelectPresentation, type TPermission, type TPlatform, type TPreviewBridgeMessage, type TPreviewBridgeMessageType, type TPreviewColorScheme, type TPreviewFrameSource, TStyleName, type TSystemAdvisorySeverity, type TSystemComponentStatus, type TSystemDeployment, type TSystemHealthOverall, type TUpdateCheckSeverity, type TUpdateKind, type TUpdateOperationStatus, type TUpdatePreflightStatus, type TWebNavRender, type TrustLevel, type TrustedKey, type TrustedKeysFile, type UpdatePreflightResult, WEB_NAV_RENDER_OPTIONS, WEB_NAV_RENDER_VALUES, type WorkerRelease, arePreviewPreferencesEqual, buildConditionContext, classifyClass, classifyClassString, evaluateCondition, findRemap, getMenuVisibleChildren, hasInlineFormatting, isMenuVisible, isMobileIconName, isMobileNavRender, isNavigationPage, isPreviewBridgeMessage, isWebNavRender, parseInlineRich, parseSpacing, previewKeywordFromPath, replaceCalcedValues, resolveAssetSources, resolveAssetUrl, resolveMobileIcon, resolveMobileNavRender, resolveWebNavRender, spacingToClasses, stripHtmlToText, transformPageData, transformPagesData };