@walkeros/explorer 4.8.0 → 4.8.1-next-1792019907609

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.
@@ -257,6 +257,50 @@ interface BrowserFrameProps extends HTMLAttributes<HTMLDivElement> {
257
257
  */
258
258
  declare function BrowserFrame({ url, bookmarks, onNavigate, onReload, actions, children, className, ...rest }: BrowserFrameProps): react_jsx_runtime.JSX.Element;
259
259
 
260
+ /**
261
+ * The fields of a walkerOS event the log reads by name. A `WalkerOS.Event`
262
+ * fits; the detail shows the other fields the event carries too.
263
+ */
264
+ interface EventLogEvent {
265
+ name: string;
266
+ entity?: string;
267
+ action?: string;
268
+ trigger?: string;
269
+ timestamp?: number;
270
+ }
271
+ interface EventLogRecord {
272
+ /** The event's number in the session, shown as `#seq`; the caller counts. */
273
+ seq: number;
274
+ event: EventLogEvent;
275
+ }
276
+ interface EventLogProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'> {
277
+ /** The events, oldest first. */
278
+ records: ReadonlyArray<EventLogRecord>;
279
+ /**
280
+ * The `seq` of the event shown in detail. Without a match the log follows
281
+ * the newest event.
282
+ */
283
+ selectedSeq?: number | null;
284
+ /**
285
+ * Called with an event's `seq` on its click, and with null on a click on the
286
+ * newest event: the log follows the newest again. Without it the rows are
287
+ * disabled.
288
+ */
289
+ onSelect?: (seq: number | null) => void;
290
+ /** Adds a Clear button while there are events. */
291
+ onClear?: () => void;
292
+ /** The hint under "No events yet". */
293
+ emptyText?: ReactNode;
294
+ }
295
+ /**
296
+ * The walkerOS events of a session: a list, newest first, beside the selected
297
+ * event as fields or as JSON. The list follows the page theme; the detail is a
298
+ * code pane, dark in both themes. The caller holds the events and the
299
+ * selection, and sizes it: give the root a height through `className` or
300
+ * `style`; the list and the detail scroll inside it.
301
+ */
302
+ declare function EventLog({ records, selectedSeq, onSelect, onClear, emptyText, className, ...rest }: EventLogProps): react_jsx_runtime.JSX.Element;
303
+
260
304
  interface QuickstartStep {
261
305
  title: string;
262
306
  text: string;
@@ -379,4 +423,4 @@ interface ArticleTeaserTrackingProps extends HTMLAttributes<HTMLDivElement> {
379
423
  */
380
424
  declare function ArticleTeaserTracking({ autoplay, speed, initialStep, ...rest }: ArticleTeaserTrackingProps): react_jsx_runtime.JSX.Element;
381
425
 
382
- export { ArticleTeaserTracking, type ArticleTeaserTrackingProps, type BrowserBookmark, BrowserFrame, type BrowserFrameProps, Button, type ButtonProps, type CallToAction, Card, CardGrid, type CardGridProps, type CardProps, CaseCard, type CaseCardProps, type CaseStat, CheckList, type CheckListProps, Cluster, type ClusterProps, type DataAttributes, DestinationMappingViz, type DestinationMappingVizProps, EventLegend, type EventLegendProps, Eyebrow, type EyebrowProps, FaqItem, type FaqItemProps, FeatureItem, type FeatureItemProps, Hero, type HeroProps, HeroTaggingViz, type HeroTaggingVizProps, HighlightCard, type HighlightCardProps, Icon, type IconProps, InlineCode, type InlineCodeProps, InstallCommand, type InstallCommandProps, type LinkComponent, PhotoPlaceholder, type PhotoPlaceholderProps, PlanCard, type PlanCardProps, ProblemCard, type ProblemCardProps, type QuickstartStep, QuickstartSteps, type QuickstartStepsProps, Section, SectionHeading, type SectionHeadingProps, type SectionProps, Split, type SplitProps, Stat, type StatProps, Text, TextLink, type TextLinkProps, type TextProps };
426
+ export { ArticleTeaserTracking, type ArticleTeaserTrackingProps, type BrowserBookmark, BrowserFrame, type BrowserFrameProps, Button, type ButtonProps, type CallToAction, Card, CardGrid, type CardGridProps, type CardProps, CaseCard, type CaseCardProps, type CaseStat, CheckList, type CheckListProps, Cluster, type ClusterProps, type DataAttributes, DestinationMappingViz, type DestinationMappingVizProps, EventLegend, type EventLegendProps, EventLog, type EventLogEvent, type EventLogProps, type EventLogRecord, Eyebrow, type EyebrowProps, FaqItem, type FaqItemProps, FeatureItem, type FeatureItemProps, Hero, type HeroProps, HeroTaggingViz, type HeroTaggingVizProps, HighlightCard, type HighlightCardProps, Icon, type IconProps, InlineCode, type InlineCodeProps, InstallCommand, type InstallCommandProps, type LinkComponent, PhotoPlaceholder, type PhotoPlaceholderProps, PlanCard, type PlanCardProps, ProblemCard, type ProblemCardProps, type QuickstartStep, QuickstartSteps, type QuickstartStepsProps, Section, SectionHeading, type SectionHeadingProps, type SectionProps, Split, type SplitProps, Stat, type StatProps, Text, TextLink, type TextLinkProps, type TextProps };
@@ -257,6 +257,50 @@ interface BrowserFrameProps extends HTMLAttributes<HTMLDivElement> {
257
257
  */
258
258
  declare function BrowserFrame({ url, bookmarks, onNavigate, onReload, actions, children, className, ...rest }: BrowserFrameProps): react_jsx_runtime.JSX.Element;
259
259
 
260
+ /**
261
+ * The fields of a walkerOS event the log reads by name. A `WalkerOS.Event`
262
+ * fits; the detail shows the other fields the event carries too.
263
+ */
264
+ interface EventLogEvent {
265
+ name: string;
266
+ entity?: string;
267
+ action?: string;
268
+ trigger?: string;
269
+ timestamp?: number;
270
+ }
271
+ interface EventLogRecord {
272
+ /** The event's number in the session, shown as `#seq`; the caller counts. */
273
+ seq: number;
274
+ event: EventLogEvent;
275
+ }
276
+ interface EventLogProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'> {
277
+ /** The events, oldest first. */
278
+ records: ReadonlyArray<EventLogRecord>;
279
+ /**
280
+ * The `seq` of the event shown in detail. Without a match the log follows
281
+ * the newest event.
282
+ */
283
+ selectedSeq?: number | null;
284
+ /**
285
+ * Called with an event's `seq` on its click, and with null on a click on the
286
+ * newest event: the log follows the newest again. Without it the rows are
287
+ * disabled.
288
+ */
289
+ onSelect?: (seq: number | null) => void;
290
+ /** Adds a Clear button while there are events. */
291
+ onClear?: () => void;
292
+ /** The hint under "No events yet". */
293
+ emptyText?: ReactNode;
294
+ }
295
+ /**
296
+ * The walkerOS events of a session: a list, newest first, beside the selected
297
+ * event as fields or as JSON. The list follows the page theme; the detail is a
298
+ * code pane, dark in both themes. The caller holds the events and the
299
+ * selection, and sizes it: give the root a height through `className` or
300
+ * `style`; the list and the detail scroll inside it.
301
+ */
302
+ declare function EventLog({ records, selectedSeq, onSelect, onClear, emptyText, className, ...rest }: EventLogProps): react_jsx_runtime.JSX.Element;
303
+
260
304
  interface QuickstartStep {
261
305
  title: string;
262
306
  text: string;
@@ -379,4 +423,4 @@ interface ArticleTeaserTrackingProps extends HTMLAttributes<HTMLDivElement> {
379
423
  */
380
424
  declare function ArticleTeaserTracking({ autoplay, speed, initialStep, ...rest }: ArticleTeaserTrackingProps): react_jsx_runtime.JSX.Element;
381
425
 
382
- export { ArticleTeaserTracking, type ArticleTeaserTrackingProps, type BrowserBookmark, BrowserFrame, type BrowserFrameProps, Button, type ButtonProps, type CallToAction, Card, CardGrid, type CardGridProps, type CardProps, CaseCard, type CaseCardProps, type CaseStat, CheckList, type CheckListProps, Cluster, type ClusterProps, type DataAttributes, DestinationMappingViz, type DestinationMappingVizProps, EventLegend, type EventLegendProps, Eyebrow, type EyebrowProps, FaqItem, type FaqItemProps, FeatureItem, type FeatureItemProps, Hero, type HeroProps, HeroTaggingViz, type HeroTaggingVizProps, HighlightCard, type HighlightCardProps, Icon, type IconProps, InlineCode, type InlineCodeProps, InstallCommand, type InstallCommandProps, type LinkComponent, PhotoPlaceholder, type PhotoPlaceholderProps, PlanCard, type PlanCardProps, ProblemCard, type ProblemCardProps, type QuickstartStep, QuickstartSteps, type QuickstartStepsProps, Section, SectionHeading, type SectionHeadingProps, type SectionProps, Split, type SplitProps, Stat, type StatProps, Text, TextLink, type TextLinkProps, type TextProps };
426
+ export { ArticleTeaserTracking, type ArticleTeaserTrackingProps, type BrowserBookmark, BrowserFrame, type BrowserFrameProps, Button, type ButtonProps, type CallToAction, Card, CardGrid, type CardGridProps, type CardProps, CaseCard, type CaseCardProps, type CaseStat, CheckList, type CheckListProps, Cluster, type ClusterProps, type DataAttributes, DestinationMappingViz, type DestinationMappingVizProps, EventLegend, type EventLegendProps, EventLog, type EventLogEvent, type EventLogProps, type EventLogRecord, Eyebrow, type EyebrowProps, FaqItem, type FaqItemProps, FeatureItem, type FeatureItemProps, Hero, type HeroProps, HeroTaggingViz, type HeroTaggingVizProps, HighlightCard, type HighlightCardProps, Icon, type IconProps, InlineCode, type InlineCodeProps, InstallCommand, type InstallCommandProps, type LinkComponent, PhotoPlaceholder, type PhotoPlaceholderProps, PlanCard, type PlanCardProps, ProblemCard, type ProblemCardProps, type QuickstartStep, QuickstartSteps, type QuickstartStepsProps, Section, SectionHeading, type SectionHeadingProps, type SectionProps, Split, type SplitProps, Stat, type StatProps, Text, TextLink, type TextLinkProps, type TextProps };