@webority/ui-react 0.178.4 → 0.180.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.
Files changed (114) hide show
  1. package/dist/canvas-kit/kit.js +143 -143
  2. package/dist/canvas-kit/manifest.json +2583 -111
  3. package/dist/canvas-kit/release.json +6 -6
  4. package/dist/components/AppAccordion.js +1 -1
  5. package/dist/components/AppAgenda.js +1 -0
  6. package/dist/components/AppAsyncBlock.js +1 -1
  7. package/dist/components/AppButton.js +1 -1
  8. package/dist/components/AppCalendar.js +1 -1
  9. package/dist/components/AppCalendarViews.js +1 -0
  10. package/dist/components/AppChangeList.js +1 -0
  11. package/dist/components/AppChart.js +1 -1
  12. package/dist/components/AppColorField.js +1 -1
  13. package/dist/components/AppCommandPalette.js +1 -1
  14. package/dist/components/AppDashboardCell.js +1 -1
  15. package/dist/components/AppDashboardGrid.js +1 -1
  16. package/dist/components/AppDashboardHeader.js +1 -0
  17. package/dist/components/AppDataTable.js +1 -1
  18. package/dist/components/AppDatePicker.js +1 -1
  19. package/dist/components/AppDateRangePicker.js +1 -1
  20. package/dist/components/AppDateTimePicker.js +1 -1
  21. package/dist/components/AppDescriptions.js +1 -1
  22. package/dist/components/AppDropdown.js +1 -1
  23. package/dist/components/AppEntryGrid.js +1 -1
  24. package/dist/components/AppFileViewer.js +1 -1
  25. package/dist/components/AppForm.js +1 -1
  26. package/dist/components/AppFormActions.js +1 -1
  27. package/dist/components/AppFormRow.js +1 -1
  28. package/dist/components/AppGantt.js +1 -1
  29. package/dist/components/AppInput.js +1 -1
  30. package/dist/components/AppKanban.js +1 -1
  31. package/dist/components/AppKpiTile.js +1 -1
  32. package/dist/components/AppListCard.js +1 -0
  33. package/dist/components/AppMentionInput.js +1 -1
  34. package/dist/components/AppMiniCalendar.js +1 -0
  35. package/dist/components/AppNavigationMenu.js +1 -1
  36. package/dist/components/AppNotificationCenter.js +1 -1
  37. package/dist/components/AppNumberInput.js +1 -1
  38. package/dist/components/AppOfflineBanner.js +1 -0
  39. package/dist/components/AppOtpInput.js +1 -1
  40. package/dist/components/AppPageHeader.js +1 -1
  41. package/dist/components/AppPhoneNumberInput.js +1 -1
  42. package/dist/components/AppQueueBundle.js +1 -0
  43. package/dist/components/AppResultBlock.js +1 -0
  44. package/dist/components/AppRouteError.js +1 -1
  45. package/dist/components/AppSearch.js +1 -1
  46. package/dist/components/AppSegmented.js +1 -1
  47. package/dist/components/AppSelect.js +1 -1
  48. package/dist/components/AppSettingRow.js +1 -0
  49. package/dist/components/AppSettingSection.js +1 -0
  50. package/dist/components/AppShell.js +1 -1
  51. package/dist/components/AppStepper.js +1 -1
  52. package/dist/components/AppTabs.js +1 -1
  53. package/dist/components/AppTextarea.js +1 -1
  54. package/dist/components/AppTimePicker.js +1 -1
  55. package/dist/components/AppWizard.js +1 -1
  56. package/dist/guidance.json +987 -9
  57. package/dist/lib/formStatusContext.js +1 -0
  58. package/dist/lib/useStickyLayer.js +1 -0
  59. package/dist/types/components/AppAccordion.d.ts +5 -3
  60. package/dist/types/components/AppAgenda.d.ts +69 -0
  61. package/dist/types/components/AppAsyncBlock.d.ts +5 -0
  62. package/dist/types/components/AppButton.d.ts +18 -2
  63. package/dist/types/components/AppCalendar.d.ts +14 -0
  64. package/dist/types/components/AppCalendarViews.d.ts +69 -0
  65. package/dist/types/components/AppChangeList.d.ts +30 -0
  66. package/dist/types/components/AppChart.d.ts +5 -0
  67. package/dist/types/components/AppColorField.d.ts +2 -0
  68. package/dist/types/components/AppCommandPalette.d.ts +12 -0
  69. package/dist/types/components/AppDashboardCell.d.ts +17 -1
  70. package/dist/types/components/AppDashboardGrid.d.ts +39 -5
  71. package/dist/types/components/AppDashboardHeader.d.ts +21 -0
  72. package/dist/types/components/AppDataTable.d.ts +28 -2
  73. package/dist/types/components/AppDatePicker.d.ts +2 -0
  74. package/dist/types/components/AppDateRangePicker.d.ts +2 -0
  75. package/dist/types/components/AppDescriptions.d.ts +2 -0
  76. package/dist/types/components/AppDropdown.d.ts +2 -2
  77. package/dist/types/components/AppEntryGrid.d.ts +15 -0
  78. package/dist/types/components/AppFileViewer.d.ts +7 -0
  79. package/dist/types/components/AppForm.d.ts +5 -0
  80. package/dist/types/components/AppFormActions.d.ts +28 -4
  81. package/dist/types/components/AppFormRow.d.ts +5 -0
  82. package/dist/types/components/AppGantt.d.ts +10 -2
  83. package/dist/types/components/AppInput.d.ts +5 -0
  84. package/dist/types/components/AppKanban.d.ts +4 -0
  85. package/dist/types/components/AppKpiTile.d.ts +14 -1
  86. package/dist/types/components/AppListCard.d.ts +32 -0
  87. package/dist/types/components/AppMentionInput.d.ts +2 -0
  88. package/dist/types/components/AppMiniCalendar.d.ts +78 -0
  89. package/dist/types/components/AppNavigationMenu.d.ts +10 -0
  90. package/dist/types/components/AppNotificationCenter.d.ts +20 -0
  91. package/dist/types/components/AppNumberInput.d.ts +7 -0
  92. package/dist/types/components/AppOfflineBanner.d.ts +28 -0
  93. package/dist/types/components/AppOtpInput.d.ts +2 -0
  94. package/dist/types/components/AppPhoneNumberInput.d.ts +7 -0
  95. package/dist/types/components/AppQueueBundle.d.ts +35 -0
  96. package/dist/types/components/AppResultBlock.d.ts +62 -0
  97. package/dist/types/components/AppRouteError.d.ts +76 -4
  98. package/dist/types/components/AppSearch.d.ts +3 -0
  99. package/dist/types/components/AppSegmented.d.ts +14 -0
  100. package/dist/types/components/AppSelect.d.ts +2 -0
  101. package/dist/types/components/AppSettingRow.d.ts +61 -0
  102. package/dist/types/components/AppSettingSection.d.ts +23 -0
  103. package/dist/types/components/AppShell.d.ts +10 -62
  104. package/dist/types/components/AppStepper.d.ts +6 -1
  105. package/dist/types/components/AppTabs.d.ts +5 -0
  106. package/dist/types/components/AppTextarea.d.ts +19 -0
  107. package/dist/types/components/AppTimePicker.d.ts +2 -0
  108. package/dist/types/components/AppWizard.d.ts +31 -2
  109. package/dist/types/index.d.ts +17 -2
  110. package/dist/types/lib/focusField.d.ts +1 -2
  111. package/dist/types/lib/formStatusContext.d.ts +15 -0
  112. package/dist/types/lib/useStickyLayer.d.ts +7 -0
  113. package/dist/ui-react.js +1 -1
  114. package/package.json +11 -11
@@ -26,6 +26,8 @@ export interface AppSearchProps extends Omit<ComponentPropsWithoutRef<"input">,
26
26
  iconSize?: number | undefined;
27
27
  /** Control size around the default. */
28
28
  size?: "sm" | "md" | "lg" | "xl" | undefined;
29
+ /** Underline keeps only a line under the field. */
30
+ variant?: "underline" | undefined;
29
31
  /**
30
32
  * Swap the leading glyph for a spinner while a search is in flight.
31
33
  * @default false
@@ -75,5 +77,6 @@ export interface AppSearchProps extends Omit<ComponentPropsWithoutRef<"input">,
75
77
  * @param [props.className]
76
78
  * @param [props.form]
77
79
  * @param [props.onKeyDown] Called for every key in the field, before a collapsible search folds on Escape.
80
+ * @param [props.variant] Underline keeps only a line under the field.
78
81
  */
79
82
  export default function AppSearch(props: AppSearchProps): JSX.Element;
@@ -57,6 +57,20 @@ export interface AppSegmentedProps extends Omit<React.ComponentPropsWithoutRef<"
57
57
  * @default false
58
58
  */
59
59
  labelVisible?: boolean | undefined;
60
+ /**
61
+ * Marks the group required: a required mark beside the visible label, aria-required, and native required on each radio.
62
+ * @default false
63
+ */
64
+ required?: boolean | undefined;
65
+ /**
66
+ * Ends the visible label with the optional text. Required wins when both are set.
67
+ * @default false
68
+ */
69
+ optional?: boolean | undefined;
70
+ /** Shown under the control. Sets aria-invalid on the group and is described by it. */
71
+ error?: React.ReactNode | undefined;
72
+ /** Shown under the control, below the error when both are set. Described by the group. */
73
+ helperText?: React.ReactNode | undefined;
60
74
  /** Content for an info-tip after the visible label. Shown only when the label is visible. */
61
75
  help?: React.ReactNode | undefined;
62
76
  /**
@@ -98,6 +98,8 @@ interface AppSelectBaseProps {
98
98
  * @default "off"
99
99
  */
100
100
  floatingLabel?: "off" | "border" | "above" | undefined;
101
+ /** Underline keeps only a line under the field. */
102
+ variant?: "underline" | undefined;
101
103
  /** Disables the control. */
102
104
  disabled?: boolean | undefined;
103
105
  /**
@@ -0,0 +1,61 @@
1
+ import { type ReactNode } from "react";
2
+ import { type AppChangeListItem } from "./AppChangeList.tsx";
3
+ export interface AppSettingRowConfirm {
4
+ /** The heading of the warning panel that opens under the control. */
5
+ title: ReactNode;
6
+ /** The changes the person is about to save, each with the value before and after. */
7
+ changes: readonly AppChangeListItem[];
8
+ /** What the change does, in a sentence or two. */
9
+ effect?: ReactNode | undefined;
10
+ /** A word the person types before the action turns on. Matched exactly. Unset, the action is on at once. */
11
+ confirmWord?: string | undefined;
12
+ /** The label of the action that saves, such as "Start writes". */
13
+ actionLabel: string;
14
+ }
15
+ export interface AppSettingRowProps {
16
+ /** The setting's name, at the left of the row. */
17
+ label: ReactNode;
18
+ /** One line of help under the name. */
19
+ description?: ReactNode | undefined;
20
+ /** A small mark beside the name, such as "Needs confirming". */
21
+ badge?: ReactNode | undefined;
22
+ /** The value as read text; in edit mode it is the "Was" line. */
23
+ value?: ReactNode | undefined;
24
+ /** The control, shown in edit mode. */
25
+ children?: ReactNode | undefined;
26
+ /**
27
+ * read shows the value with an Edit button; edit opens the control with Cancel and Save.
28
+ * @default "read"
29
+ */
30
+ mode?: "read" | "edit" | undefined;
31
+ onEdit?: (() => unknown) | undefined;
32
+ onCancel?: (() => unknown) | undefined;
33
+ onSave?: (() => unknown) | undefined;
34
+ /**
35
+ * Makes the control inert and holds the action in its loading state.
36
+ * @default false
37
+ */
38
+ saving?: boolean | undefined;
39
+ /** A conflict or a failed save. The row stays open with the typed value. */
40
+ error?: ReactNode | undefined;
41
+ /** Makes Save open a warning panel with the changes. The action saves only after the confirm word is typed, when one is set. */
42
+ confirm?: AppSettingRowConfirm | undefined;
43
+ /** Greys the Edit button and gives the reason as its tooltip, while another row is open. */
44
+ editDisabledReason?: string | undefined;
45
+ /**
46
+ * Extra class names added to the root element.
47
+ * @default ""
48
+ */
49
+ className?: string | undefined;
50
+ }
51
+ /**
52
+ * One setting in a list of settings: the name and its help at the left, the value at the right.
53
+ * In read mode the value shows as text with an Edit button. Edit opens the row in place with the
54
+ * control, a "Was" line for the value it replaces, and Cancel and Save. With `confirm`, Save opens
55
+ * a warning panel with the changes, and the action saves only after the confirm word is typed.
56
+ * While saving, the control is inert and the action shows its loading state. A failed save shows
57
+ * its error under the control and the row stays open.
58
+ *
59
+ * The Razor `<app-setting-row>` renders the same markup.
60
+ */
61
+ export default function AppSettingRow(props: AppSettingRowProps): React.JSX.Element;
@@ -0,0 +1,23 @@
1
+ import type { ReactNode } from "react";
2
+ export interface AppSettingSectionProps {
3
+ /** The section's title, above its rows. */
4
+ title?: ReactNode | undefined;
5
+ /** One line of help under the title. */
6
+ description?: ReactNode | undefined;
7
+ /** A control at the right of the title, such as a button that adds a setting. */
8
+ action?: ReactNode | undefined;
9
+ /** The AppSettingRow items of the section. */
10
+ children?: ReactNode | undefined;
11
+ /**
12
+ * Extra class names added to the root element.
13
+ * @default ""
14
+ */
15
+ className?: string | undefined;
16
+ }
17
+ /**
18
+ * A titled group of AppSettingRow items: the section title, its help and an optional action,
19
+ * with the rows below it, each set apart by a hairline.
20
+ *
21
+ * The Razor `<app-setting-section>` renders the same markup.
22
+ */
23
+ export default function AppSettingSection(props: AppSettingSectionProps): React.JSX.Element;
@@ -2,6 +2,7 @@ import type * as React from "react";
2
2
  import { type AppLinkComponent } from "../lib/linkTarget.ts";
3
3
  import type { AppBadgeProps } from "./AppBadge.tsx";
4
4
  import { type IconVariant } from "./AppIcon.tsx";
5
+ import { type AppNotificationCenterProps } from "./AppNotificationCenter.tsx";
5
6
  export interface NavItemShape {
6
7
  key?: string | undefined;
7
8
  /** Every row but a header row has one. */
@@ -91,29 +92,6 @@ export interface UserMenuShape {
91
92
  divider?: boolean | undefined;
92
93
  }[] | undefined;
93
94
  }
94
- export interface NotificationsShape {
95
- /** Unread count on the bell (99+ above 99). */
96
- unread?: number | undefined;
97
- /** The list; undefined until loaded. */
98
- items?: {
99
- id?: string | undefined;
100
- title: string;
101
- time?: string | undefined;
102
- href?: string | undefined;
103
- read?: boolean | undefined;
104
- icon?: string | undefined;
105
- }[] | undefined;
106
- loading?: boolean | undefined;
107
- /** Called as the panel opens: load or refresh `items` here. */
108
- onOpen?: (() => void) | undefined;
109
- /** Shows "Mark all read". */
110
- onMarkAllRead?: (() => void) | undefined;
111
- viewAllHref?: string | undefined;
112
- /** Default "Notifications". */
113
- label?: string | undefined;
114
- /** Default "You are all caught up.". */
115
- emptyText?: string | undefined;
116
- }
117
95
  export interface SearchHit {
118
96
  title: string;
119
97
  href: string;
@@ -190,7 +168,7 @@ export interface AppShellProps extends Omit<React.ComponentPropsWithoutRef<"div"
190
168
  sidebarFooterItems?: NavFooterItemShape[] | undefined;
191
169
  /** Leading topbar slot, such as the page title or crumbs. */
192
170
  topbarStart?: React.ReactNode | undefined;
193
- /** Trailing topbar slot for page actions. The bell and account menu follow it. */
171
+ /** Trailing topbar slot for page actions. The notification centre and account menu follow it. */
194
172
  topbarEnd?: React.ReactNode | undefined;
195
173
  /** Content shown below the page, in the content column. */
196
174
  footer?: React.ReactNode | undefined;
@@ -217,7 +195,7 @@ export interface AppShellProps extends Omit<React.ComponentPropsWithoutRef<"div"
217
195
  */
218
196
  topNavDetail?: boolean | undefined;
219
197
  /**
220
- * Shows a count over 99 as "99+" on the nav and tab badges, as the bell does.
198
+ * Shows a count over 99 as "99+" on the nav and tab badges.
221
199
  * @default false
222
200
  */
223
201
  capBadges?: boolean | undefined;
@@ -226,6 +204,11 @@ export interface AppShellProps extends Omit<React.ComponentPropsWithoutRef<"div"
226
204
  * @default "comfortable"
227
205
  */
228
206
  density?: "comfortable" | "compact" | undefined;
207
+ /**
208
+ * none drops the content's bottom padding so an in-flow footer sits flush under the content; compact sets it to 16px below lg, level with the top padding.
209
+ * @default "default"
210
+ */
211
+ contentPaddingBottom?: "default" | "none" | "compact" | undefined;
229
212
  /** The height of every sidebar row in px, in place of the density's row height. Unset, the rows keep the density's height. A value above zero applies on every pointer, touch included. */
230
213
  itemHeight?: number | undefined;
231
214
  /**
@@ -322,41 +305,6 @@ export interface AppShellProps extends Omit<React.ComponentPropsWithoutRef<"div"
322
305
  * @default "Roles:"
323
306
  */
324
307
  rolesLabel?: string | undefined;
325
- /**
326
- * Replaces the built-in English text, for other languages.
327
- * @default "Unread"
328
- */
329
- unreadLabel?: string | undefined;
330
- /**
331
- * Replaces the built-in English text, for other languages.
332
- * @default "Mark all read"
333
- */
334
- markAllReadLabel?: string | undefined;
335
- /**
336
- * Replaces the built-in English text, for other languages.
337
- * @default "View all"
338
- */
339
- viewAllLabel?: string | undefined;
340
- /**
341
- * Replaces the built-in English text, for other languages.
342
- * @default "Loading…"
343
- */
344
- loadingNotificationsText?: string | undefined;
345
- /**
346
- * Replaces the built-in English text, for other languages. Read aloud when the unread count drops to zero.
347
- * @default "No unread notifications"
348
- */
349
- noUnreadText?: string | undefined;
350
- /**
351
- * Replaces the built-in English text, for other languages. {count} is the unread count.
352
- * @default "{count} unread notifications"
353
- */
354
- unreadNotificationsText?: string | undefined;
355
- /**
356
- * Replaces the built-in English text, for other languages. {label} is the bell's label and {count} the unread count.
357
- * @default "{label}, {count} unread"
358
- */
359
- unreadBellLabel?: string | undefined;
360
308
  /**
361
309
  * Replaces the built-in English text, for other languages.
362
310
  * @default "Search results"
@@ -384,8 +332,8 @@ export interface AppShellProps extends Omit<React.ComponentPropsWithoutRef<"div"
384
332
  resultCountText?: string | undefined;
385
333
  /** The account menu at the end of the topbar. */
386
334
  userMenu?: UserMenuShape | undefined;
387
- /** The notification bell. */
388
- notifications?: NotificationsShape | undefined;
335
+ /** The notification centre in the topbar, after topbarEnd. Its fields are AppNotificationCenter's. */
336
+ notifications?: AppNotificationCenterProps | undefined;
389
337
  /** The topbar search. Its onChange, onSelect, onSubmit and onFocus handlers are passed in code; onFocus runs when the field gets focus, for example to open a command palette. */
390
338
  search?: SearchShape | undefined;
391
339
  /**
@@ -1,4 +1,4 @@
1
- import type { ComponentPropsWithoutRef, JSX } from "react";
1
+ import { type ComponentPropsWithoutRef, type JSX } from "react";
2
2
  import { type AppLinkComponent } from "../lib/linkTarget.ts";
3
3
  type StepStatus = "done" | "active" | "pending" | "error";
4
4
  type StepperTone = "primary" | "info";
@@ -27,6 +27,11 @@ export interface AppStepperProps extends ComponentPropsWithoutRef<"nav"> {
27
27
  * @default "horizontal"
28
28
  */
29
29
  orientation?: "horizontal" | "vertical" | undefined;
30
+ /**
31
+ * Pins the step list to the top of its column, under the shell top bar, so it stays in view while a long step scrolls.
32
+ * @default false
33
+ */
34
+ sticky?: boolean | undefined;
30
35
  /**
31
36
  * The iconsax style of every step glyph.
32
37
  * @default "linear"
@@ -74,6 +74,11 @@ export interface AppTabsProps {
74
74
  style?: CSSProperties | undefined;
75
75
  /** Tints the count pill of a tab. Set it as tone on a tab, not on the strip. */
76
76
  tone?: "success" | "warning" | "danger" | "info" | undefined;
77
+ /**
78
+ * Pins the strip to the top of the page while it scrolls, directly under the top bar and a sticky page header. The strip stops under every sticky layer above it, so none overlaps. Razor: sticky.
79
+ * @default false
80
+ */
81
+ sticky?: boolean | undefined;
77
82
  }
78
83
  /**
79
84
  * Shared tab strip (.app-tabs). A controlled component: the caller owns `value` +
@@ -43,6 +43,25 @@ export interface AppTextareaProps extends ComponentPropsWithoutRef<"textarea"> {
43
43
  * @default "md"
44
44
  */
45
45
  size?: "sm" | "md" | "lg" | "xl" | undefined;
46
+ /** Bare drops the border and the fill, for inline editing. Underline keeps only a line under the field, which takes the same hover and focus colours as the boxed field. */
47
+ variant?: "bare" | "underline" | undefined;
48
+ /** A leading icon on the first line, given as a semantic icon name. A floating label takes its room, so it is not drawn with one. */
49
+ leftIcon?: string | undefined;
50
+ /**
51
+ * Shows a clear button while the field has text. A read-only, disabled or loading field shows none.
52
+ * @default false
53
+ */
54
+ clearable?: boolean | undefined;
55
+ /**
56
+ * Replaces the built-in English text, for other languages.
57
+ * @default "Clear"
58
+ */
59
+ clearLabel?: string | undefined;
60
+ /**
61
+ * Where the label rests. Off keeps it above the field. Border sits it inside on the first line, then slides it onto the top border once the field is focused or filled. Above rests it above the box, clear of the border.
62
+ * @default "off"
63
+ */
64
+ floatingLabel?: "off" | "border" | "above" | undefined;
46
65
  /**
47
66
  * A class added to the control.
48
67
  * @default ""
@@ -65,6 +65,8 @@ export interface AppTimePickerProps extends Omit<ComponentPropsWithoutRef<"div">
65
65
  loading?: boolean | undefined;
66
66
  /** The control height tier, matching AppInput; leave unset for the default height. */
67
67
  size?: "sm" | "md" | "lg" | "xl" | undefined;
68
+ /** Underline keeps only a line under the field. */
69
+ variant?: "underline" | undefined;
68
70
  /** The control's id. A generated id is used when this is unset. */
69
71
  id?: string | undefined;
70
72
  /** The accessible name of the control. When unset, a text label names it. */
@@ -9,6 +9,8 @@ export interface AppWizardStep {
9
9
  optional?: boolean | undefined;
10
10
  icon?: string | undefined;
11
11
  status?: AppWizardStepStatus | undefined;
12
+ /** A count of fields to fix, shown in place of the description as "N to fix". */
13
+ errorCount?: number | undefined;
12
14
  }
13
15
  export interface AppWizardStepChangeDetail {
14
16
  index: number;
@@ -135,14 +137,41 @@ export interface AppWizardProps extends Omit<ComponentPropsWithoutRef<"div">, "c
135
137
  onClose?: ((detail: {
136
138
  index: number;
137
139
  }) => void) | undefined;
140
+ /**
141
+ * Pins Back, Next and Finish to the bottom of the wizard's surface.
142
+ * @default false
143
+ */
144
+ stickyFooter?: boolean | undefined;
145
+ /** Content at the left of the footer, such as a draft-saved line. */
146
+ status?: ReactNode;
147
+ /** Extra actions in the footer, such as Save draft, placed before Next. */
148
+ extraActions?: ReactNode;
149
+ /**
150
+ * Disables Finish and marks it busy while the final submit runs.
151
+ * @default false
152
+ */
153
+ finishLoading?: boolean | undefined;
154
+ /**
155
+ * Marks unsaved changes: the top-bar close asks before leaving, and the leave dialog opens with Keep editing focused.
156
+ * @default false
157
+ */
158
+ dirty?: boolean | undefined;
159
+ /** Fired when the leave dialog is answered with Discard draft or Save draft and leave. */
160
+ onLeave?: ((detail: {
161
+ action: "discard" | "save";
162
+ index: number;
163
+ }) => void) | undefined;
138
164
  /**
139
165
  * Extra classes on the wizard.
140
166
  * @default ""
141
167
  */
142
168
  className?: string | undefined;
143
- /** The `<wui-wizard>` element. */
144
- ref?: Ref<HTMLElement> | undefined;
169
+ /** The `<wui-wizard>` element; `requestLeave()` opens the leave dialog for a route change and resolves whether the person left. */
170
+ ref?: Ref<AppWizardElement> | undefined;
145
171
  }
172
+ export type AppWizardElement = HTMLElement & {
173
+ requestLeave(): Promise<boolean>;
174
+ };
146
175
  /**
147
176
  * A multi-step flow over the shared `<wui-wizard>` element: a stepper progress
148
177
  * header, one visible step panel at a time, and a sticky Back / Skip / Next / Finish
@@ -2,6 +2,7 @@ export { createLocalSeenStore, isImeSafeEnter, mentionedIds, parseMentionValue,
2
2
  export { default as AppAccordion } from "./components/AppAccordion.tsx";
3
3
  export { default as AppAccountSwitcher } from "./components/AppAccountSwitcher.tsx";
4
4
  export { default as AppActionIcon } from "./components/AppActionIcon.tsx";
5
+ export { default as AppAgenda } from "./components/AppAgenda.tsx";
5
6
  export { default as AppAlert } from "./components/AppAlert.tsx";
6
7
  export { default as AppAsyncBlock } from "./components/AppAsyncBlock.tsx";
7
8
  export { default as AppAuthLayout } from "./components/AppAuthLayout.tsx";
@@ -13,9 +14,11 @@ export { default as AppBreadcrumbs } from "./components/AppBreadcrumbs.tsx";
13
14
  export { default as AppButton } from "./components/AppButton.tsx";
14
15
  export { default as AppButtonGroup } from "./components/AppButtonGroup.tsx";
15
16
  export { default as AppCalendar } from "./components/AppCalendar.tsx";
17
+ export { type AppCalendarViewName, default as AppCalendarViews } from "./components/AppCalendarViews.tsx";
16
18
  export { default as AppCard } from "./components/AppCard.tsx";
17
19
  export { default as AppCarousel } from "./components/AppCarousel.tsx";
18
20
  export { default as AppCell } from "./components/AppCell.tsx";
21
+ export { default as AppChangeList } from "./components/AppChangeList.tsx";
19
22
  export type { ChartFormat } from "./components/AppChart.tsx";
20
23
  export { default as AppChart } from "./components/AppChart.tsx";
21
24
  export { default as AppChartCard } from "./components/AppChartCard.tsx";
@@ -38,7 +41,9 @@ export { default as AppCopyButton } from "./components/AppCopyButton.tsx";
38
41
  export { default as AppCountryFlag } from "./components/AppCountryFlag.tsx";
39
42
  export type { DashboardSpan } from "./components/AppDashboardCell.tsx";
40
43
  export { default as AppDashboardCell } from "./components/AppDashboardCell.tsx";
44
+ export type { DashboardLayoutItem, DashboardWidget } from "./components/AppDashboardGrid.tsx";
41
45
  export { default as AppDashboardGrid } from "./components/AppDashboardGrid.tsx";
46
+ export { default as AppDashboardHeader } from "./components/AppDashboardHeader.tsx";
42
47
  export { default as AppDataTable } from "./components/AppDataTable.tsx";
43
48
  export { default as AppDatePicker } from "./components/AppDatePicker.tsx";
44
49
  export { default as AppDateRangePicker } from "./components/AppDateRangePicker.tsx";
@@ -70,7 +75,7 @@ export { default as AppFormRow } from "./components/AppFormRow.tsx";
70
75
  export { default as AppFormSection } from "./components/AppFormSection.tsx";
71
76
  export type { AppFormulaSign, AppFormulaStep, AppFormulaStepsProps } from "./components/AppFormulaSteps.tsx";
72
77
  export { default as AppFormulaSteps } from "./components/AppFormulaSteps.tsx";
73
- export type { AppGanttProps, GanttLayout, GanttRow, GanttState, GanttStatus, GanttZoom } from "./components/AppGantt.tsx";
78
+ export type { AppGanttProps, GanttBar, GanttHalf, GanttLayout, GanttRow, GanttState, GanttStatus, GanttTone, GanttWeeks, GanttZoom, } from "./components/AppGantt.tsx";
74
79
  export { default as AppGantt } from "./components/AppGantt.tsx";
75
80
  export { default as AppHoverCard } from "./components/AppHoverCard.tsx";
76
81
  export { default as AppIcon, iconNames, registerIcons } from "./components/AppIcon.tsx";
@@ -87,17 +92,20 @@ export type { AppLeadPopupElement } from "./components/AppLeadPopup.tsx";
87
92
  export { default as AppLeadPopup } from "./components/AppLeadPopup.tsx";
88
93
  export { default as AppLightbox } from "./components/AppLightbox.tsx";
89
94
  export { default as AppLink } from "./components/AppLink.tsx";
95
+ export { default as AppListCard } from "./components/AppListCard.tsx";
90
96
  export { default as AppLoadMore } from "./components/AppLoadMore.tsx";
91
97
  export { default as AppMarkdown } from "./components/AppMarkdown.tsx";
92
98
  export { default as AppMentionInput } from "./components/AppMentionInput.tsx";
93
99
  export { default as AppMeter } from "./components/AppMeter.tsx";
94
100
  export { default as AppMetricStrip } from "./components/AppMetricStrip.tsx";
101
+ export { default as AppMiniCalendar } from "./components/AppMiniCalendar.tsx";
95
102
  export { default as AppModal } from "./components/AppModal.tsx";
96
103
  export { default as AppMonthPicker } from "./components/AppMonthPicker.tsx";
97
104
  export { default as AppNavigationMenu } from "./components/AppNavigationMenu.tsx";
98
105
  export { default as AppNavList } from "./components/AppNavList.tsx";
99
106
  export { default as AppNotificationCenter } from "./components/AppNotificationCenter.tsx";
100
107
  export { default as AppNumberInput } from "./components/AppNumberInput.tsx";
108
+ export { default as AppOfflineBanner } from "./components/AppOfflineBanner.tsx";
101
109
  export { default as AppOnboardingChecklist } from "./components/AppOnboardingChecklist.tsx";
102
110
  export type { AppOrgTreeProps, OrgTreeNode } from "./components/AppOrgTree.tsx";
103
111
  export { default as AppOrgTree } from "./components/AppOrgTree.tsx";
@@ -110,6 +118,7 @@ export { default as AppProgress } from "./components/AppProgress.tsx";
110
118
  export { default as AppQrCode } from "./components/AppQrCode.tsx";
111
119
  export type { AppQueryBuilderField, AppQueryBuilderProps } from "./components/AppQueryBuilder.tsx";
112
120
  export { default as AppQueryBuilder } from "./components/AppQueryBuilder.tsx";
121
+ export { type AppQueueBundleProps, default as AppQueueBundle, type QueueBundleRow, type QueueBundleRunning, } from "./components/AppQueueBundle.tsx";
113
122
  export { default as AppRadio } from "./components/AppRadio.tsx";
114
123
  export { default as AppRadioGroup } from "./components/AppRadioGroup.tsx";
115
124
  export { default as AppRating } from "./components/AppRating.tsx";
@@ -119,6 +128,7 @@ export { default as AppRepeater } from "./components/AppRepeater.tsx";
119
128
  export { default as AppRequiredMark } from "./components/AppRequiredMark.tsx";
120
129
  export { default as AppResourceCard } from "./components/AppResourceCard.tsx";
121
130
  export { default as AppResult } from "./components/AppResult.tsx";
131
+ export { default as AppResultBlock } from "./components/AppResultBlock.tsx";
122
132
  export { default as AppRichText } from "./components/AppRichText.tsx";
123
133
  export { default as AppRouteError } from "./components/AppRouteError.tsx";
124
134
  export type { AppRowAction, AppRowActionEntry, AppRowActionsProps } from "./components/AppRowActions.tsx";
@@ -139,6 +149,8 @@ export { default as AppSectionTestimonials } from "./components/AppSectionTestim
139
149
  export { default as AppSegmented } from "./components/AppSegmented.tsx";
140
150
  export { default as AppSelect } from "./components/AppSelect.tsx";
141
151
  export { default as AppSeoHead } from "./components/AppSeoHead.tsx";
152
+ export { default as AppSettingRow } from "./components/AppSettingRow.tsx";
153
+ export { default as AppSettingSection } from "./components/AppSettingSection.tsx";
142
154
  export type { AppShellProps, NavFooterItemShape, NavGroupShape, NavItemShape, UserMenuShape } from "./components/AppShell.tsx";
143
155
  export { default as AppShell } from "./components/AppShell.tsx";
144
156
  export { default as AppShortcutLegend } from "./components/AppShortcutLegend.tsx";
@@ -183,14 +195,17 @@ export { MODAL_ICONS } from "./components/ModalIcons.tsx";
183
195
  export type { WuiCustomProperties } from "./reactAugmentations.ts";
184
196
  export type Tone = "primary" | "info" | "success" | "warning" | "danger" | "neutral";
185
197
  export { setWuiText, type WuiText } from "@webority/ui-elements/text";
198
+ export type { AppAgendaGroup, AppAgendaItem, AppAgendaProps } from "./components/AppAgenda.tsx";
186
199
  export type { AppAlertTone } from "./components/AppAlert.tsx";
200
+ export type { AppChangeListItem } from "./components/AppChangeList.tsx";
187
201
  export type { ConfirmTone } from "./components/AppConfirmDialog.tsx";
188
202
  export type { AppDataTableColumn, AppDataTableError, AppDataTablePagination, AppDataTableSort } from "./components/AppDataTable.tsx";
189
203
  export type { AppDescriptionItem } from "./components/AppDescriptions.tsx";
190
204
  export type { AppProgressTone } from "./components/AppProgress.tsx";
191
205
  export type { AppTooltipTone } from "./components/AppTooltip.tsx";
192
- export type { AppWizardTone } from "./components/AppWizard.tsx";
206
+ export type { AppWizardElement, AppWizardTone } from "./components/AppWizard.tsx";
193
207
  export { dismissAll, errorToast, toast } from "./components/toast.ts";
208
+ export { default as focusField } from "./lib/focusField.ts";
194
209
  export type { AppLinkComponent, AppLinkProps } from "./lib/linkTarget.ts";
195
210
  export { useCommandPaletteShortcut } from "./lib/useCommandPaletteShortcut.ts";
196
211
  export { useFloatingStack } from "./lib/useFloatingStack.ts";
@@ -2,10 +2,9 @@
2
2
  * Moves focus to a form field named by its id or its `name`, scrolling it to the middle of the
3
3
  * view so its label shows too. A custom-element field (a select, a date picker) carries the id or
4
4
  * name on its host, so the first focusable element inside the match takes the focus. A hidden
5
- * form mirror shares the name and is skipped.
5
+ * form mirror shares the name and is skipped. Razor's webority-ui.js carries the same lookup.
6
6
  *
7
7
  * @param field The field's id or name.
8
8
  * @returns Whether a field took the focus.
9
- * @internal shared by AppErrorSummary; Razor's webority-ui.js carries the same lookup.
10
9
  */
11
10
  export default function focusField(field: string): boolean;
@@ -0,0 +1,15 @@
1
+ import type { Context } from "react";
2
+ /** One form section that holds failing fields, linked from the action bar. */
3
+ export interface FormStatusLink {
4
+ /** The section title, or the field's label when the field sits in no titled section. */
5
+ label: string;
6
+ /** The first failing field in that section; the link focuses it. */
7
+ fieldName: string;
8
+ }
9
+ /** The failed-submit state AppForm shares with its AppFormActions when errorSummary is "status". */
10
+ export interface FormStatus {
11
+ errorCount: number;
12
+ links: readonly FormStatusLink[];
13
+ }
14
+ /** Set by AppForm with errorSummary="status"; AppFormActions reads it to draw the error count and links in its status slot. */
15
+ export declare const FormStatusContext: Context<FormStatus | null>;
@@ -0,0 +1,7 @@
1
+ import { type RefObject } from "react";
2
+ /**
3
+ * Registers the ref's element as a sticky layer while enabled, so it sits under the layers above it.
4
+ * @param ref The sticky element.
5
+ * @param enabled False leaves the element out of the stack.
6
+ */
7
+ export default function useStickyLayer(ref: RefObject<HTMLElement | null>, enabled: boolean): void;
package/dist/ui-react.js CHANGED
@@ -1 +1 @@
1
- import e from"./components/AppAccordion.js";import t from"./components/AppAccountSwitcher.js";import n from"./components/AppActionIcon.js";import r from"./components/AppAlert.js";import i from"./components/AppAsyncBlock.js";import a from"./components/AppAuthLayout.js";import o from"./components/AppAvatar.js";import s from"./components/AppAvatarGroup.js";import c from"./components/AppBadge.js";import l from"./components/AppBanner.js";import u from"./components/AppBreadcrumbs.js";import d from"./components/AppButton.js";import f from"./components/AppButtonGroup.js";import p from"./components/AppCalendar.js";import m from"./components/AppCard.js";import h from"./components/AppCarousel.js";import g from"./components/AppCell.js";import _ from"./components/AppChart.js";import v from"./components/AppChartCard.js";import y from"./components/AppCheckbox.js";import b from"./components/AppChip.js";import x from"./components/AppChipGroup.js";import S from"./components/AppChoiceCard.js";import C from"./components/AppChoiceChip.js";import w from"./components/AppCodeBlock.js";import T from"./components/AppColorField.js";import E from"./components/AppColumnMenu.js";import D from"./components/AppCommandPalette.js";import O from"./components/AppCommentThread.js";import k from"./components/AppCompareTable.js";import A from"./components/AppConfirmDialog.js";import j,{useConfirm as M}from"./components/AppConfirmProvider.js";import N from"./components/AppConsentBanner.js";import P from"./components/AppContextMenu.js";import F from"./components/AppCopyButton.js";import I from"./components/AppCountryFlag.js";import L from"./components/AppDashboardCell.js";import R from"./components/AppDashboardGrid.js";import z from"./components/AppDataTable.js";import B from"./components/AppDatePicker.js";import V from"./components/AppDateRangePicker.js";import H from"./components/AppDateTimePicker.js";import U from"./components/AppDescriptions.js";import W from"./components/AppDetailPane.js";import G from"./components/AppDrawer.js";import K from"./components/AppDropdown.js";import q from"./components/AppDropZone.js";import J from"./components/AppDueDate.js";import Y from"./components/AppEmptyState.js";import X from"./components/AppEntryGrid.js";import Z from"./components/AppErrorBoundary.js";import Q from"./components/AppErrorSummary.js";import $ from"./components/AppFileAttachment.js";import ee from"./components/AppFilePicker.js";import te from"./components/AppFileTiles.js";import ne from"./components/AppFileViewer.js";import re from"./components/AppFilterBar.js";import ie from"./components/AppFloatingButton.js";import ae from"./components/AppFloatingDock.js";import oe,{useFormSubmit as se}from"./components/AppForm.js";import ce from"./components/AppFormActions.js";import le from"./components/AppFormRow.js";import ue from"./components/AppFormSection.js";import de from"./components/AppFormulaSteps.js";import fe from"./components/AppGantt.js";import pe from"./components/AppHoverCard.js";import me,{iconNames as he,registerIcons as ge}from"./components/AppIcon.js";import _e from"./components/AppIdleTimeoutDialog.js";import ve from"./components/AppImagePicker.js";import ye from"./components/AppInfoTip.js";import be from"./components/AppInlineEdit.js";import xe from"./components/AppInput.js";import Se from"./components/AppInputGroup.js";import Ce from"./components/AppKanban.js";import we from"./components/AppKbd.js";import Te from"./components/AppKpiTile.js";import Ee from"./components/AppLeadPopup.js";import De from"./components/AppLightbox.js";import Oe from"./components/AppLink.js";import ke from"./components/AppLoadMore.js";import Ae from"./components/AppMarkdown.js";import je from"./components/AppMentionInput.js";import Me from"./components/AppMeter.js";import Ne from"./components/AppMetricStrip.js";import Pe from"./components/AppModal.js";import Fe from"./components/AppMonthPicker.js";import Ie from"./components/AppNavigationMenu.js";import Le from"./components/AppNavList.js";import Re from"./components/AppNotificationCenter.js";import ze from"./components/AppNumberInput.js";import Be from"./components/AppOnboardingChecklist.js";import Ve from"./components/AppOrgTree.js";import He from"./components/AppOtpInput.js";import Ue from"./components/AppPageHeader.js";import We from"./components/AppPhoneNumberInput.js";import Ge from"./components/AppPopover.js";import Ke from"./components/AppPricingCard.js";import qe from"./components/AppProgress.js";import Je from"./components/AppQrCode.js";import Ye from"./components/AppQueryBuilder.js";import Xe from"./components/AppRadio.js";import Ze from"./components/AppRadioGroup.js";import Qe from"./components/AppRating.js";import $e from"./components/AppRecordPager.js";import et from"./components/AppRelativeTime.js";import tt from"./components/AppRepeater.js";import nt from"./components/AppRequiredMark.js";import rt from"./components/AppResourceCard.js";import it from"./components/AppResult.js";import at from"./components/AppRichText.js";import ot from"./components/AppRouteError.js";import st from"./components/AppRowActions.js";import ct from"./components/AppSavedViews.js";import lt from"./components/AppScoreScale.js";import ut from"./components/AppScrollbar.js";import dt from"./components/AppSearch.js";import ft from"./components/AppSectionCallToAction.js";import pt from"./components/AppSectionFaq.js";import mt from"./components/AppSectionFeatures.js";import ht from"./components/AppSectionHero.js";import gt from"./components/AppSectionLeadCapture.js";import _t from"./components/AppSectionLogos.js";import vt from"./components/AppSectionPricing.js";import yt from"./components/AppSectionTestimonials.js";import bt from"./components/AppSegmented.js";import xt from"./components/AppSelect.js";import St from"./components/AppSeoHead.js";import Ct from"./components/AppShell.js";import wt from"./components/AppShortcutLegend.js";import Tt from"./components/AppShowMore.js";import Et,{AppSkeletonRows as Dt}from"./components/AppSkeleton.js";import Ot from"./components/AppSkeletonLines.js";import kt from"./components/AppSlider.js";import At from"./components/AppSortableList.js";import jt from"./components/AppSparkline.js";import Mt from"./components/AppSpinner.js";import Nt from"./components/AppSplash.js";import Pt from"./components/AppSplitButton.js";import Ft from"./components/AppSplitView.js";import It from"./components/AppStatusBadge.js";import Lt from"./components/AppStepper.js";import Rt from"./components/AppSwitch.js";import zt from"./components/AppTablePagination.js";import Bt from"./components/AppTableToolbar.js";import Vt from"./components/AppTabs.js";import Ht from"./components/AppTextarea.js";import Ut from"./components/AppThemeToggle.js";import Wt from"./components/AppTimeline.js";import Gt from"./components/AppTimePicker.js";import Kt from"./components/AppToast.js";import qt from"./components/AppToolbar.js";import Jt from"./components/AppTooltip.js";import Yt from"./components/AppTour.js";import Xt from"./components/AppTransferList.js";import Zt from"./components/AppTreePicker.js";import Qt from"./components/AppTreeView.js";import $t from"./components/AppTruncate.js";import en from"./components/AppUpdateBar.js";import tn from"./components/AppWhatsNew.js";import nn from"./components/AppWizard.js";import rn from"./components/AppWorkspaceSwitcher.js";import an from"./components/AppYearPicker.js";import on from"./components/assertValidValue.js";import{MODAL_ICONS as sn}from"./components/ModalIcons.js";import{dismissAll as cn,errorToast as ln,toast as un}from"./components/toast.js";import{useCommandPaletteShortcut as dn}from"./lib/useCommandPaletteShortcut.js";import{useFloatingStack as fn}from"./lib/useFloatingStack.js";import{useListShortcuts as pn}from"./lib/useListShortcuts.js";import{usePagination as mn}from"./lib/usePagination.js";import{useTableView as hn}from"./lib/useTableView.js";import{THEME_CHANGE_EVENT as gn,createLocalSeenStore as _n,isImeSafeEnter as vn,mentionedIds as yn,parseMentionValue as bn,postedMasked as xn,themeBootScript as Sn,wireTooltips as Cn}from"@webority/ui-elements/helpers";import{setWuiText as wn}from"@webority/ui-elements/text";export{e as AppAccordion,t as AppAccountSwitcher,n as AppActionIcon,r as AppAlert,i as AppAsyncBlock,a as AppAuthLayout,o as AppAvatar,s as AppAvatarGroup,c as AppBadge,l as AppBanner,u as AppBreadcrumbs,d as AppButton,f as AppButtonGroup,p as AppCalendar,m as AppCard,h as AppCarousel,g as AppCell,_ as AppChart,v as AppChartCard,y as AppCheckbox,b as AppChip,x as AppChipGroup,S as AppChoiceCard,C as AppChoiceChip,w as AppCodeBlock,T as AppColorField,E as AppColumnMenu,D as AppCommandPalette,O as AppCommentThread,k as AppCompareTable,A as AppConfirmDialog,j as AppConfirmProvider,N as AppConsentBanner,P as AppContextMenu,F as AppCopyButton,I as AppCountryFlag,L as AppDashboardCell,R as AppDashboardGrid,z as AppDataTable,B as AppDatePicker,V as AppDateRangePicker,H as AppDateTimePicker,U as AppDescriptions,W as AppDetailPane,G as AppDrawer,q as AppDropZone,K as AppDropdown,J as AppDueDate,Y as AppEmptyState,X as AppEntryGrid,Z as AppErrorBoundary,Q as AppErrorSummary,$ as AppFileAttachment,ee as AppFilePicker,te as AppFileTiles,ne as AppFileViewer,re as AppFilterBar,ie as AppFloatingButton,ae as AppFloatingDock,oe as AppForm,ce as AppFormActions,le as AppFormRow,ue as AppFormSection,de as AppFormulaSteps,fe as AppGantt,pe as AppHoverCard,me as AppIcon,_e as AppIdleTimeoutDialog,ve as AppImagePicker,ye as AppInfoTip,be as AppInlineEdit,xe as AppInput,Se as AppInputGroup,Ce as AppKanban,we as AppKbd,Te as AppKpiTile,Ee as AppLeadPopup,De as AppLightbox,Oe as AppLink,ke as AppLoadMore,Ae as AppMarkdown,je as AppMentionInput,Me as AppMeter,Ne as AppMetricStrip,Pe as AppModal,Fe as AppMonthPicker,Le as AppNavList,Ie as AppNavigationMenu,Re as AppNotificationCenter,ze as AppNumberInput,Be as AppOnboardingChecklist,Ve as AppOrgTree,He as AppOtpInput,Ue as AppPageHeader,We as AppPhoneNumberInput,Ge as AppPopover,Ke as AppPricingCard,qe as AppProgress,Je as AppQrCode,Ye as AppQueryBuilder,Xe as AppRadio,Ze as AppRadioGroup,Qe as AppRating,$e as AppRecordPager,et as AppRelativeTime,tt as AppRepeater,nt as AppRequiredMark,rt as AppResourceCard,it as AppResult,at as AppRichText,ot as AppRouteError,st as AppRowActions,ct as AppSavedViews,lt as AppScoreScale,ut as AppScrollbar,dt as AppSearch,ft as AppSectionCallToAction,pt as AppSectionFaq,mt as AppSectionFeatures,ht as AppSectionHero,gt as AppSectionLeadCapture,_t as AppSectionLogos,vt as AppSectionPricing,yt as AppSectionTestimonials,bt as AppSegmented,xt as AppSelect,St as AppSeoHead,Ct as AppShell,wt as AppShortcutLegend,Tt as AppShowMore,Et as AppSkeleton,Ot as AppSkeletonLines,Dt as AppSkeletonRows,kt as AppSlider,At as AppSortableList,jt as AppSparkline,Mt as AppSpinner,Nt as AppSplash,Pt as AppSplitButton,Ft as AppSplitView,It as AppStatusBadge,Lt as AppStepper,Rt as AppSwitch,zt as AppTablePagination,Bt as AppTableToolbar,Vt as AppTabs,Ht as AppTextarea,Ut as AppThemeToggle,Gt as AppTimePicker,Wt as AppTimeline,Kt as AppToast,qt as AppToolbar,Jt as AppTooltip,Yt as AppTour,Xt as AppTransferList,Zt as AppTreePicker,Qt as AppTreeView,$t as AppTruncate,en as AppUpdateBar,tn as AppWhatsNew,nn as AppWizard,rn as AppWorkspaceSwitcher,an as AppYearPicker,sn as MODAL_ICONS,gn as THEME_CHANGE_EVENT,on as assertValidValue,_n as createLocalSeenStore,cn as dismissAll,ln as errorToast,he as iconNames,vn as isImeSafeEnter,yn as mentionedIds,bn as parseMentionValue,xn as postedMasked,ge as registerIcons,wn as setWuiText,Sn as themeBootScript,un as toast,dn as useCommandPaletteShortcut,M as useConfirm,fn as useFloatingStack,se as useFormSubmit,pn as useListShortcuts,mn as usePagination,hn as useTableView,Cn as wireTooltips};
1
+ import e from"./components/AppAccordion.js";import t from"./components/AppAccountSwitcher.js";import n from"./components/AppActionIcon.js";import r from"./components/AppAgenda.js";import i from"./components/AppAlert.js";import a from"./components/AppAsyncBlock.js";import o from"./components/AppAuthLayout.js";import s from"./components/AppAvatar.js";import c from"./components/AppAvatarGroup.js";import l from"./components/AppBadge.js";import u from"./components/AppBanner.js";import d from"./components/AppBreadcrumbs.js";import f from"./components/AppButton.js";import p from"./components/AppButtonGroup.js";import m from"./components/AppCalendar.js";import h from"./components/AppCalendarViews.js";import g from"./components/AppCard.js";import _ from"./components/AppCarousel.js";import v from"./components/AppCell.js";import y from"./components/AppChangeList.js";import b from"./components/AppChart.js";import x from"./components/AppChartCard.js";import S from"./components/AppCheckbox.js";import C from"./components/AppChip.js";import w from"./components/AppChipGroup.js";import T from"./components/AppChoiceCard.js";import E from"./components/AppChoiceChip.js";import D from"./components/AppCodeBlock.js";import O from"./components/AppColorField.js";import k from"./components/AppColumnMenu.js";import A from"./components/AppCommandPalette.js";import j from"./components/AppCommentThread.js";import M from"./components/AppCompareTable.js";import N from"./components/AppConfirmDialog.js";import P,{useConfirm as F}from"./components/AppConfirmProvider.js";import I from"./components/AppConsentBanner.js";import L from"./components/AppContextMenu.js";import R from"./components/AppCopyButton.js";import z from"./components/AppCountryFlag.js";import B from"./components/AppDashboardCell.js";import V from"./components/AppDashboardGrid.js";import H from"./components/AppDashboardHeader.js";import U from"./components/AppDataTable.js";import W from"./components/AppDatePicker.js";import G from"./components/AppDateRangePicker.js";import K from"./components/AppDateTimePicker.js";import q from"./components/AppDescriptions.js";import J from"./components/AppDetailPane.js";import Y from"./components/AppDrawer.js";import X from"./components/AppDropdown.js";import Z from"./components/AppDropZone.js";import Q from"./components/AppDueDate.js";import $ from"./components/AppEmptyState.js";import ee from"./components/AppEntryGrid.js";import te from"./components/AppErrorBoundary.js";import ne from"./components/AppErrorSummary.js";import re from"./components/AppFileAttachment.js";import ie from"./components/AppFilePicker.js";import ae from"./components/AppFileTiles.js";import oe from"./components/AppFileViewer.js";import se from"./components/AppFilterBar.js";import ce from"./components/AppFloatingButton.js";import le from"./components/AppFloatingDock.js";import ue,{useFormSubmit as de}from"./components/AppForm.js";import fe from"./components/AppFormActions.js";import pe from"./components/AppFormRow.js";import me from"./components/AppFormSection.js";import he from"./components/AppFormulaSteps.js";import ge from"./components/AppGantt.js";import _e from"./components/AppHoverCard.js";import ve,{iconNames as ye,registerIcons as be}from"./components/AppIcon.js";import xe from"./components/AppIdleTimeoutDialog.js";import Se from"./components/AppImagePicker.js";import Ce from"./components/AppInfoTip.js";import we from"./components/AppInlineEdit.js";import Te from"./components/AppInput.js";import Ee from"./components/AppInputGroup.js";import De from"./components/AppKanban.js";import Oe from"./components/AppKbd.js";import ke from"./components/AppKpiTile.js";import Ae from"./components/AppLeadPopup.js";import je from"./components/AppLightbox.js";import Me from"./components/AppLink.js";import Ne from"./components/AppListCard.js";import Pe from"./components/AppLoadMore.js";import Fe from"./components/AppMarkdown.js";import Ie from"./components/AppMentionInput.js";import Le from"./components/AppMeter.js";import Re from"./components/AppMetricStrip.js";import ze from"./components/AppMiniCalendar.js";import Be from"./components/AppModal.js";import Ve from"./components/AppMonthPicker.js";import He from"./components/AppNavigationMenu.js";import Ue from"./components/AppNavList.js";import We from"./components/AppNotificationCenter.js";import Ge from"./components/AppNumberInput.js";import Ke from"./components/AppOfflineBanner.js";import qe from"./components/AppOnboardingChecklist.js";import Je from"./components/AppOrgTree.js";import Ye from"./components/AppOtpInput.js";import Xe from"./components/AppPageHeader.js";import Ze from"./components/AppPhoneNumberInput.js";import Qe from"./components/AppPopover.js";import $e from"./components/AppPricingCard.js";import et from"./components/AppProgress.js";import tt from"./components/AppQrCode.js";import nt from"./components/AppQueryBuilder.js";import rt from"./components/AppQueueBundle.js";import it from"./components/AppRadio.js";import at from"./components/AppRadioGroup.js";import ot from"./components/AppRating.js";import st from"./components/AppRecordPager.js";import ct from"./components/AppRelativeTime.js";import lt from"./components/AppRepeater.js";import ut from"./components/AppRequiredMark.js";import dt from"./components/AppResourceCard.js";import ft from"./components/AppResult.js";import pt from"./components/AppResultBlock.js";import mt from"./components/AppRichText.js";import ht from"./components/AppRouteError.js";import gt from"./components/AppRowActions.js";import _t from"./components/AppSavedViews.js";import vt from"./components/AppScoreScale.js";import yt from"./components/AppScrollbar.js";import bt from"./components/AppSearch.js";import xt from"./components/AppSectionCallToAction.js";import St from"./components/AppSectionFaq.js";import Ct from"./components/AppSectionFeatures.js";import wt from"./components/AppSectionHero.js";import Tt from"./components/AppSectionLeadCapture.js";import Et from"./components/AppSectionLogos.js";import Dt from"./components/AppSectionPricing.js";import Ot from"./components/AppSectionTestimonials.js";import kt from"./components/AppSegmented.js";import At from"./components/AppSelect.js";import jt from"./components/AppSeoHead.js";import Mt from"./components/AppSettingRow.js";import Nt from"./components/AppSettingSection.js";import Pt from"./components/AppShell.js";import Ft from"./components/AppShortcutLegend.js";import It from"./components/AppShowMore.js";import Lt,{AppSkeletonRows as Rt}from"./components/AppSkeleton.js";import zt from"./components/AppSkeletonLines.js";import Bt from"./components/AppSlider.js";import Vt from"./components/AppSortableList.js";import Ht from"./components/AppSparkline.js";import Ut from"./components/AppSpinner.js";import Wt from"./components/AppSplash.js";import Gt from"./components/AppSplitButton.js";import Kt from"./components/AppSplitView.js";import qt from"./components/AppStatusBadge.js";import Jt from"./components/AppStepper.js";import Yt from"./components/AppSwitch.js";import Xt from"./components/AppTablePagination.js";import Zt from"./components/AppTableToolbar.js";import Qt from"./components/AppTabs.js";import $t from"./components/AppTextarea.js";import en from"./components/AppThemeToggle.js";import tn from"./components/AppTimeline.js";import nn from"./components/AppTimePicker.js";import rn from"./components/AppToast.js";import an from"./components/AppToolbar.js";import on from"./components/AppTooltip.js";import sn from"./components/AppTour.js";import cn from"./components/AppTransferList.js";import ln from"./components/AppTreePicker.js";import un from"./components/AppTreeView.js";import dn from"./components/AppTruncate.js";import fn from"./components/AppUpdateBar.js";import pn from"./components/AppWhatsNew.js";import mn from"./components/AppWizard.js";import hn from"./components/AppWorkspaceSwitcher.js";import gn from"./components/AppYearPicker.js";import _n from"./components/assertValidValue.js";import{MODAL_ICONS as vn}from"./components/ModalIcons.js";import{dismissAll as yn,errorToast as bn,toast as xn}from"./components/toast.js";import Sn from"./lib/focusField.js";import{useCommandPaletteShortcut as Cn}from"./lib/useCommandPaletteShortcut.js";import{useFloatingStack as wn}from"./lib/useFloatingStack.js";import{useListShortcuts as Tn}from"./lib/useListShortcuts.js";import{usePagination as En}from"./lib/usePagination.js";import{useTableView as Dn}from"./lib/useTableView.js";import{THEME_CHANGE_EVENT as On,createLocalSeenStore as kn,isImeSafeEnter as An,mentionedIds as jn,parseMentionValue as Mn,postedMasked as Nn,themeBootScript as Pn,wireTooltips as Fn}from"@webority/ui-elements/helpers";import{setWuiText as In}from"@webority/ui-elements/text";export{e as AppAccordion,t as AppAccountSwitcher,n as AppActionIcon,r as AppAgenda,i as AppAlert,a as AppAsyncBlock,o as AppAuthLayout,s as AppAvatar,c as AppAvatarGroup,l as AppBadge,u as AppBanner,d as AppBreadcrumbs,f as AppButton,p as AppButtonGroup,m as AppCalendar,h as AppCalendarViews,g as AppCard,_ as AppCarousel,v as AppCell,y as AppChangeList,b as AppChart,x as AppChartCard,S as AppCheckbox,C as AppChip,w as AppChipGroup,T as AppChoiceCard,E as AppChoiceChip,D as AppCodeBlock,O as AppColorField,k as AppColumnMenu,A as AppCommandPalette,j as AppCommentThread,M as AppCompareTable,N as AppConfirmDialog,P as AppConfirmProvider,I as AppConsentBanner,L as AppContextMenu,R as AppCopyButton,z as AppCountryFlag,B as AppDashboardCell,V as AppDashboardGrid,H as AppDashboardHeader,U as AppDataTable,W as AppDatePicker,G as AppDateRangePicker,K as AppDateTimePicker,q as AppDescriptions,J as AppDetailPane,Y as AppDrawer,Z as AppDropZone,X as AppDropdown,Q as AppDueDate,$ as AppEmptyState,ee as AppEntryGrid,te as AppErrorBoundary,ne as AppErrorSummary,re as AppFileAttachment,ie as AppFilePicker,ae as AppFileTiles,oe as AppFileViewer,se as AppFilterBar,ce as AppFloatingButton,le as AppFloatingDock,ue as AppForm,fe as AppFormActions,pe as AppFormRow,me as AppFormSection,he as AppFormulaSteps,ge as AppGantt,_e as AppHoverCard,ve as AppIcon,xe as AppIdleTimeoutDialog,Se as AppImagePicker,Ce as AppInfoTip,we as AppInlineEdit,Te as AppInput,Ee as AppInputGroup,De as AppKanban,Oe as AppKbd,ke as AppKpiTile,Ae as AppLeadPopup,je as AppLightbox,Me as AppLink,Ne as AppListCard,Pe as AppLoadMore,Fe as AppMarkdown,Ie as AppMentionInput,Le as AppMeter,Re as AppMetricStrip,ze as AppMiniCalendar,Be as AppModal,Ve as AppMonthPicker,Ue as AppNavList,He as AppNavigationMenu,We as AppNotificationCenter,Ge as AppNumberInput,Ke as AppOfflineBanner,qe as AppOnboardingChecklist,Je as AppOrgTree,Ye as AppOtpInput,Xe as AppPageHeader,Ze as AppPhoneNumberInput,Qe as AppPopover,$e as AppPricingCard,et as AppProgress,tt as AppQrCode,nt as AppQueryBuilder,rt as AppQueueBundle,it as AppRadio,at as AppRadioGroup,ot as AppRating,st as AppRecordPager,ct as AppRelativeTime,lt as AppRepeater,ut as AppRequiredMark,dt as AppResourceCard,ft as AppResult,pt as AppResultBlock,mt as AppRichText,ht as AppRouteError,gt as AppRowActions,_t as AppSavedViews,vt as AppScoreScale,yt as AppScrollbar,bt as AppSearch,xt as AppSectionCallToAction,St as AppSectionFaq,Ct as AppSectionFeatures,wt as AppSectionHero,Tt as AppSectionLeadCapture,Et as AppSectionLogos,Dt as AppSectionPricing,Ot as AppSectionTestimonials,kt as AppSegmented,At as AppSelect,jt as AppSeoHead,Mt as AppSettingRow,Nt as AppSettingSection,Pt as AppShell,Ft as AppShortcutLegend,It as AppShowMore,Lt as AppSkeleton,zt as AppSkeletonLines,Rt as AppSkeletonRows,Bt as AppSlider,Vt as AppSortableList,Ht as AppSparkline,Ut as AppSpinner,Wt as AppSplash,Gt as AppSplitButton,Kt as AppSplitView,qt as AppStatusBadge,Jt as AppStepper,Yt as AppSwitch,Xt as AppTablePagination,Zt as AppTableToolbar,Qt as AppTabs,$t as AppTextarea,en as AppThemeToggle,nn as AppTimePicker,tn as AppTimeline,rn as AppToast,an as AppToolbar,on as AppTooltip,sn as AppTour,cn as AppTransferList,ln as AppTreePicker,un as AppTreeView,dn as AppTruncate,fn as AppUpdateBar,pn as AppWhatsNew,mn as AppWizard,hn as AppWorkspaceSwitcher,gn as AppYearPicker,vn as MODAL_ICONS,On as THEME_CHANGE_EVENT,_n as assertValidValue,kn as createLocalSeenStore,yn as dismissAll,bn as errorToast,Sn as focusField,ye as iconNames,An as isImeSafeEnter,jn as mentionedIds,Mn as parseMentionValue,Nn as postedMasked,be as registerIcons,In as setWuiText,Pn as themeBootScript,xn as toast,Cn as useCommandPaletteShortcut,F as useConfirm,wn as useFloatingStack,de as useFormSubmit,Tn as useListShortcuts,En as usePagination,Dn as useTableView,Fn as wireTooltips};