@almadar/std 16.253.0 → 16.254.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/behaviors/lolo/agent/atoms/std-agent-pool.lolo +355 -0
- package/behaviors/lolo/agent/evals/eval-agent-builder.lolo +152 -0
- package/behaviors/lolo/agent/organisms/std-agent-builder.lolo +320 -26
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/agent/atoms/std-agent-context.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-fix-loop.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-planner.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-pool.orb +1 -0
- package/behaviors/registry/agent/atoms/std-agent-proposal.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-session.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-suggestions.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +1 -1
- package/behaviors/registry/agent/atoms/std-agent-trace.orb +1 -1
- package/behaviors/registry/agent/evals/eval-agent-builder.orb +1 -0
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1 -1
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +1 -1
- package/behaviors/registry/infra/atoms/std-analytics.orb +1 -1
- package/behaviors/registry/infra/atoms/std-approval-gate.orb +1 -1
- package/behaviors/registry/infra/atoms/std-audit-capture.orb +1 -1
- package/behaviors/registry/infra/atoms/std-cache-aside.orb +1 -1
- package/behaviors/registry/infra/atoms/std-calendar-sync.orb +1 -1
- package/behaviors/registry/infra/atoms/std-cascade-on-delete.orb +1 -1
- package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +1 -1
- package/behaviors/registry/infra/atoms/std-cross-reference.orb +1 -1
- package/behaviors/registry/infra/atoms/std-data-erasure.orb +1 -1
- package/behaviors/registry/infra/atoms/std-data-import.orb +1 -1
- package/behaviors/registry/infra/atoms/std-global-search.orb +1 -1
- package/behaviors/registry/infra/atoms/std-knowledge-loop.orb +1 -1
- package/behaviors/registry/infra/atoms/std-lifecycle.orb +1 -1
- package/behaviors/registry/infra/atoms/std-migration-job.orb +1 -1
- package/behaviors/registry/infra/atoms/std-mod-queue.orb +1 -1
- package/behaviors/registry/infra/atoms/std-notification-center.orb +1 -1
- package/behaviors/registry/infra/atoms/std-notification-preferences.orb +1 -1
- package/behaviors/registry/infra/atoms/std-notify-on-event.orb +1 -1
- package/behaviors/registry/infra/atoms/std-page-search.orb +1 -1
- package/behaviors/registry/infra/atoms/std-page-watch.orb +1 -1
- package/behaviors/registry/infra/atoms/std-permission-matrix.orb +1 -1
- package/behaviors/registry/infra/atoms/std-rate-limiter.orb +1 -1
- package/behaviors/registry/infra/atoms/std-reminder-scheduler.orb +1 -1
- package/behaviors/registry/infra/atoms/std-review-cycle.orb +1 -1
- package/behaviors/registry/infra/atoms/std-row-access-control.orb +1 -1
- package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +1 -1
- package/behaviors/registry/infra/organisms/std-status-lifecycle-control.orb +1 -1
- package/behaviors/registry/ml/atoms/std-data-collector.orb +1 -1
- package/behaviors/registry/ml/atoms/std-graph-builder.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-classify.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-infer.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-label-capture.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-lookup.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-posterior.orb +1 -1
- package/behaviors/registry/ml/atoms/std-ml-similarity.orb +1 -1
- package/behaviors/registry/ml/atoms/std-tokenizer.orb +1 -1
- package/behaviors/registry/ml/atoms/std-weight-validator.orb +1 -1
- package/behaviors/registry/ml/organisms/std-escalating-decision.orb +1 -1
- package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/std-avl-cosmic-zoom.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-avl-glyph.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-avl-transition-detail.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-avl-transition-explainer.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +1 -1
- package/behaviors/registry/ui/avl/organisms/ui-flow-canvas.orb +1 -1
- package/behaviors/registry/ui/avl/organisms/ui-layers-panel.orb +1 -1
- package/behaviors/registry/ui/avl/organisms/ui-orb-inspector.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-app-layout.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-app-search.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-behavior-catalog.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-behavior-tour.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-board.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-book-reader.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-browse.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-card-grid.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-confirmation.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-date-range.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-detail-layout.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-doc-page.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-esign-request.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-event-log.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-export.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-file-store.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-filter.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-gallery.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-geosearch.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-graphs.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-hero.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-home.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-import.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-language-picker.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-media-section.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-modal.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-notification-panel.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-panel-launcher.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-pricing.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-proof.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-prose.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-rating-review.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-recurrence.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-related.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-role-gate.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-saved-search.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-scatter.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-scoped-list.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-selection.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-site-footer.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-site-header.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-slide-deck.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-stat-band.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-stats.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-step-flow.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-steps.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-tabs.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-thread.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-tree.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-wizard.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-workspace-layout.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-animated-graphic.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-animated-reveal.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-aside.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-atlas-image.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-atlas-panel.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-avatar.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-badge.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-box.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-button.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-card.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-center.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-checkbox.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-conditional-wrapper.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-confetti-effect.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-day-cell.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-dialog.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-divider.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-filter-pill.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-flip-container.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-game-icon.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-hstack.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-icon.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-image.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-infinite-scroll-sentinel.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-input.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-label.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-law-reference-tooltip.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-overlay.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-pattern-tile.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-presence.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-progress-bar.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-radio.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-range-slider.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-section-header.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-select.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-spacer.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-sparkline.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-spinner.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-stack.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-status-dot.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-branch.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-connection.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-flow.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-grid.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-lobe.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-mesh.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-morph.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-node.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-pulse.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-ring.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-shield.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-svg-stack.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-switch.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-text-highlight.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-textarea.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-theme-toggle.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-trend-indicator.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-typewriter-text.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-typography.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-video-embed.orb +1 -1
- package/behaviors/registry/ui/core/atoms/ui-vstack.orb +1 -1
- package/behaviors/registry/ui/core/molecules/std-stat-rows.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-accordion.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-activation-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-activity-rail.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-agent-activity-feed.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-agent-activity-row.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-agent-chat-feed.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-alert.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-animated-counter.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-bloom-quiz-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-branching-logic-builder.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-carousel.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-change-list.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-chart-legend.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-chart.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-code-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-connection-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-container.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-content-renderer.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-date-range-selector.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-doc-breadcrumb.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-doc-pagination.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-doc-search.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-doc-sidebar.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-doc-toc.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-document-details.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-drawer.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-edge-decoration.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-empty-state.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-error-boundary.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-error-state.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-feature-card.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-feature-grid.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-flex.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-flip-card.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-form-field.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-form-layout.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-form-section-header.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-fx-overlay.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-gantt.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-geometric-pattern.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-gradient-divider.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-graph-view.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-grid.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-header.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-icon-button.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-import-progress.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-import-source-picker.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-input-group.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-jazari-state-machine.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-lightbox.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-line-chart.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-loading-state.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-map-view.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-markdown-content.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-matrix-question.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-menu.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-meter.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-modal.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-navigation.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-notification.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-number-stepper.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-option-constraint-group.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-orbital-visualization.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-page-header.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-page-transition.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-pagination.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-popover.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-positioned-canvas.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-progress-dots.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-pull-to-refresh.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-qr-scanner.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-quiz-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-reflection-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-relation-select.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-rich-text-editor.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-scaled-diagram.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-search-input.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-section.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-side-panel.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-sidebar.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-simple-grid.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-skeleton.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-social-proof.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-split.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-star-rating.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-stat-display.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-tabs.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-tag-input.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-tooltip.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-top-nav-item.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-version-diff.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-violation-alert.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-vote-stack.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-wizard-navigation.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-wizard-progress.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-chat-bar.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-code-runner-panel.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-dashboard-grid.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-dock-layout.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-drawer-slot.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-form-section.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-form.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-master-detail-layout.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-modal-slot.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-runtime-debugger.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-split-pane.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-subagent-trace-panel.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-tabbed-container.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-timeline.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-toast-slot.orb +1 -1
- package/behaviors/registry/ui/core/templates/ui-auth-layout.orb +1 -1
- package/behaviors/registry/ui/core/templates/ui-counter-template.orb +1 -1
- package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +1 -1
- package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-arcade-play.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-area-fill.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-audio-cue.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-camera-rig.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-chase-ai.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-choice-gate.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-coef-pad.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-curve-fog.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-dungeon-combat.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-fx-narrative.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-fx-particles.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-fx-trail.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-gather.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-gold.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-grid-tactics.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-hero-nav.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-lives.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-loop-lock.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-market-flow.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-motion-body.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-objective-reach.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-patience.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-pickup.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-production.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-score.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-tutorial-autodemo.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-tutorial-overlay.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-velocity-gate.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-xp.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-zone-card.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-action-palette.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-action-tile.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-canvas.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-control-button.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-fx-layer.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-mesh.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-shape-layer.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-sprite-layer.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-sprite.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-text-layer.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-text.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-game-audio-cue.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-game-audio-toggle.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-game-hud.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-health-bar.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-score-display.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-sequence-bar.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-stat-badge.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-state-graph.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-state-json-view.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-timer-display.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-platformer-puzzle.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +1 -1
- package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +1 -1
- package/behaviors/registry/ui/game/templates/ui-game-shell.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-compare.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-fx-cues.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-generate.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-measure.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-param-explorer.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-perturb.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-sample-accumulator.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-sim-3d.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-slope-probe.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +1 -1
- package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +1 -1
- package/dist/behaviors-embeddings.hash.json +2 -2
- package/dist/behaviors-embeddings.json +1 -1
- package/dist/knob-embeddings.hash.json +2 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"std-rating-review","version":"2.1.1","description":"std-rating-review — Airbnb / Amazon / Google Maps style review surface. Header with aggregate score + Write CTA, per-star distribution bars, working sort chips (recent / top rated / lowest), scrollable reviews list with author + stars + comment + helpful action. Topology = loading / viewing / composing / submitting / submitted / error.","orbitals":[{"name":"RatingReviewOrbital","id":"orb_X1YKEC2MN2AAH0MZG9CNN1DXKX","entity":{"name":"ReviewView","id":"ent_K4BYNMNNZ9TZMW52CNHM446Q50","persistence":"runtime","fields":[{"name":"id","type":"string","required":true},{"name":"reviews","type":"array","default":[],"items":{"type":"object","properties":{"helpful":{"name":"helpful","type":"number","required":false},"rating":{"name":"rating","type":"number","required":false},"avatarIcon":{"name":"avatarIcon","type":"string","required":false},"createdAt":{"name":"createdAt","type":"string","required":false},"comment":{"name":"comment","type":"string","required":false},"authorName":{"name":"authorName","type":"string","required":false},"id":{"name":"id","type":"string","required":true}}},"description":"A list of individual review entries.","synonyms":"reviews, entries, items"},{"name":"reviewsSource","type":"array","default":[],"items":{"type":"object","properties":{"rating":{"name":"rating","type":"number","required":false},"id":{"name":"id","type":"string","required":true},"authorName":{"name":"authorName","type":"string","required":false},"comment":{"name":"comment","type":"string","required":false},"avatarIcon":{"name":"avatarIcon","type":"string","required":false},"helpful":{"name":"helpful","type":"number","required":false},"createdAt":{"name":"createdAt","type":"string","required":false}}},"description":"Collection of individual review entries.","synonyms":"items, records, data"},{"name":"totalReviews","type":"number","default":0,"description":"The total count of reviews associated with this view.","synonyms":"count, number, total, size"},{"name":"averageRating","type":"number","default":0,"description":"The average numerical rating value.","synonyms":"rating, score, value"},{"name":"starDistribution","type":"array","default":[],"items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":true},"percentage":{"name":"percentage","type":"number","required":false}}},"description":"Distribution of reviews across star ratings.","synonyms":"star counts, rating breakdown, star frequency"},{"name":"currentSort","type":"string","default":"recent","values":["recent","highest","lowest"],"description":"Specifies the current sorting order applied to the reviews.","synonyms":"sort, order, arrangement"},{"name":"draftRating","type":"number","default":0,"description":"The user's tentative star rating for the review.","synonyms":"rating, star_value, score"},{"name":"draftComment","type":"string","default":"","description":"The text content of a review in draft state.","synonyms":"comment, text, body, content"},{"name":"errorMessage","type":"string","default":"","description":"Text displayed when an error occurs during review submission.","synonyms":"error text, error message, failure message"}]},"traits":[{"name":"RatingReviewBoard","id":"trt_F7GANPPTY9DF4XG50D9H98S9EN","effectRow":[{"kind":"fetch","resource":"ReviewView"},{"kind":"persist","resource":"ReviewView"},{"kind":"render-ui","resource":"main"},{"kind":"set","resource":"@entity.averageRating"},{"kind":"set","resource":"@entity.currentSort"},{"kind":"set","resource":"@entity.draftComment"},{"kind":"set","resource":"@entity.draftRating"},{"kind":"set","resource":"@entity.errorMessage"},{"kind":"set","resource":"@entity.reviews"},{"kind":"set","resource":"@entity.reviewsSource"},{"kind":"set","resource":"@entity.starDistribution"},{"kind":"set","resource":"@entity.totalReviews"}],"category":"interaction","linkedEntity":"ReviewView","linkedEntityId":"ent_K4BYNMNNZ9TZMW52CNHM446Q50","entityRefIds":{"ReviewView":"ent_K4BYNMNNZ9TZMW52CNHM446Q50"},"emits":[{"event":"WRITE_REVIEW","eventId":"evt_Z0H6CBXZSHZWRXM2JJ3D3Q8SVR","description":"Initiates the review composition flow.","synonyms":"compose, create, add","tier":"domain"},{"event":"RATE_DRAFT","eventId":"evt_1P2MYVR1560JKDYYSNZMZB04SD","description":"Signals a draft rating has been created or modified.","synonyms":"draft, update, modify, change","tier":"presentation","payloadSchema":[{"name":"value","type":"number"}]},{"event":"SUBMIT_REVIEW","eventId":"evt_ZQCES9D9ETMQDDANEC9WEVVEWD","description":"Signals a review has been successfully submitted.","synonyms":"saved, posted, sent","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}]},{"event":"CANCEL_REVIEW","eventId":"evt_PKR7AJ7WPRYBC8Z0XMNN4A0MWM","description":"Aborts the review composition process.","synonyms":"discard, abandon, close, revert","tier":"presentation"},{"event":"CHANGE_SORT","eventId":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","description":"Signals a change in the review sorting criteria.","synonyms":"sort, order, filter","tier":"presentation","payloadSchema":[{"name":"tabId","type":"string"}]},{"event":"MARK_HELPFUL","eventId":"evt_NH1PJJJ7MN3TAM6BWF1W3KH3DJ","description":"Indicates a review has been marked as helpful.","synonyms":"helpful, useful, thumbs up, agree","tier":"presentation","payloadSchema":[{"name":"id","type":"string"}]},{"event":"RESTART","eventId":"evt_K9KP5D3XPZYVFV5DEWDZ9T6GE6","description":"Triggers a full refresh of the review data and UI.","synonyms":"refresh, reload, reset","tier":"internal"},{"event":"ReviewsLoaded","eventId":"evt_5DDRJXAN7SAKWX4FZFT7BT30VZ","description":"Signals that the reviews data has been successfully retrieved.","synonyms":"loaded, fetched, ready, available","tier":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}],"entity":"ObjectSpec"}]},{"event":"ReviewsLoadFailed","eventId":"evt_2NMJPS7BSMNWT0493768EEDREC","description":"Indicates that loading reviews was unsuccessful.","synonyms":"failed, error, problem, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}]},{"event":"ReviewSaved","eventId":"evt_1PA6TDRGDS86WKBQASH90VG09X","description":"Indicates a review has been successfully saved.","synonyms":"saved, persisted, updated","tier":"domain","scope":"internal","payloadSchema":[{"name":"id","type":"string","required":true},{"name":"reviews","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"reviewsSource","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"totalReviews","type":"number"},{"name":"averageRating","type":"number"},{"name":"starDistribution","type":"[object]","properties":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number"}]},{"name":"currentSort","type":"string","values":["recent","highest","lowest"]},{"name":"draftRating","type":"number"},{"name":"draftComment","type":"string"},{"name":"errorMessage","type":"string"}],"payloadEntity":"ReviewView"},{"event":"ReviewSaveFailed","eventId":"evt_4NSDV9D0F0G7GD965DCWVAVFDY","description":"Indicates a review save operation failed.","synonyms":"failed, error, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}]}],"stateMachine":{"states":[{"name":"loading","isInitial":true},{"name":"viewing"},{"name":"composing"},{"name":"submitting"},{"name":"submitted"},{"name":"error"}],"events":[{"key":"INIT","id":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","name":"Initialize"},{"key":"ReviewsLoaded","id":"evt_5DDRJXAN7SAKWX4FZFT7BT30VZ","name":"Reviews loaded","description":"Signals that the reviews data has been successfully retrieved.","synonyms":"loaded, fetched, ready, available","tier":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}]}],"listened":true},{"key":"ReviewsLoadFailed","id":"evt_2NMJPS7BSMNWT0493768EEDREC","name":"Reviews load failed","description":"Indicates that loading reviews was unsuccessful.","synonyms":"failed, error, problem, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"ReviewSaved","id":"evt_1PA6TDRGDS86WKBQASH90VG09X","name":"Review saved","description":"Indicates a review has been successfully saved.","synonyms":"saved, persisted, updated","tier":"domain","payloadSchema":[{"name":"id","type":"string","required":true},{"name":"reviews","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"reviewsSource","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"totalReviews","type":"number"},{"name":"averageRating","type":"number"},{"name":"starDistribution","type":"[object]","properties":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number"}]},{"name":"currentSort","type":"string","values":["recent","highest","lowest"]},{"name":"draftRating","type":"number"},{"name":"draftComment","type":"string"},{"name":"errorMessage","type":"string"}],"payloadEntity":"ReviewView","listened":true},{"key":"ReviewSaveFailed","id":"evt_4NSDV9D0F0G7GD965DCWVAVFDY","name":"Review save failed","description":"Indicates a review save operation failed.","synonyms":"failed, error, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"WRITE_REVIEW","id":"evt_Z0H6CBXZSHZWRXM2JJ3D3Q8SVR","name":"Write Review","description":"Initiates the review composition flow.","synonyms":"compose, create, add","tier":"domain","listened":true},{"key":"CHANGE_SORT","id":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","name":"Change Sort","description":"Signals a change in the review sorting criteria.","synonyms":"sort, order, filter","tier":"presentation","payloadSchema":[{"name":"tabId","type":"string"}],"listened":true},{"key":"MARK_HELPFUL","id":"evt_NH1PJJJ7MN3TAM6BWF1W3KH3DJ","name":"Mark Helpful","description":"Indicates a review has been marked as helpful.","synonyms":"helpful, useful, thumbs up, agree","tier":"presentation","payloadSchema":[{"name":"id","type":"string"}],"listened":true},{"key":"RATE_DRAFT","id":"evt_1P2MYVR1560JKDYYSNZMZB04SD","name":"Rate Draft","description":"Signals a draft rating has been created or modified.","synonyms":"draft, update, modify, change","tier":"presentation","payloadSchema":[{"name":"value","type":"number"}],"listened":true},{"key":"SUBMIT_REVIEW","id":"evt_ZQCES9D9ETMQDDANEC9WEVVEWD","name":"Submit Review","description":"Signals a review has been successfully submitted.","synonyms":"saved, posted, sent","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}],"listened":true},{"key":"CANCEL_REVIEW","id":"evt_PKR7AJ7WPRYBC8Z0XMNN4A0MWM","name":"Cancel Review","description":"Aborts the review composition process.","synonyms":"discard, abandon, close, revert","tier":"presentation","listened":true},{"key":"RESTART","id":"evt_K9KP5D3XPZYVFV5DEWDZ9T6GE6","name":"Restart","description":"Triggers a full refresh of the review data and UI.","synonyms":"refresh, reload, reset","tier":"internal","listened":true}],"transitions":[{"from":"loading","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"loading","to":"viewing","event":"ReviewsLoaded","eventId":"evt_5DDRJXAN7SAKWX4FZFT7BT30VZ","effects":[["set","@entity.reviewsSource",["array/map","@payload.data",["fn","row",{"authorName":["object/get","@row","authorName","Guest"],"avatarIcon":["object/get","@row","avatarIcon","user"],"comment":["object/get","@row","comment",""],"createdAt":["object/get","@row","createdAt",""],"helpful":["object/get","@row","helpful",0],"id":["object/get","@row","id",""],"rating":["object/get","@row","rating",5]}]]],["set","@entity.reviews","@entity.reviewsSource"],["set","@entity.totalReviews",["array/len","@payload.data"]],["set","@entity.averageRating",["array/avg",["array/map","@payload.data",["fn","row",["object/get","@row","rating",5]]]]],["set","@entity.starDistribution",["array/map","@config.starDistribution",["fn","bar",{"label":["object/get","@bar","label",""],"percentage":["object/get","@bar","percentage",0]}]]],["render-ui","main",{"children":[{"align":"center","children":[{"children":[{"align":"center","children":[{"name":"star","size":"lg","type":"icon"},{"content":"Reviews","type":"typography","variant":"h3"},{"color":"muted","content":"·","type":"typography"},{"content":"@entity.averageRating","type":"typography","variant":"h3"},{"color":"warning","name":"star","type":"icon"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@entity.totalReviews","type":"typography","variant":"h4"},{"color":"muted","content":"reviews","type":"typography","variant":"h4"}],"direction":"horizontal","gap":"sm","type":"stack"},{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"},{"action":"WRITE_REVIEW","icon":"edit","label":"@config.writeLabel","type":"button","variant":"primary"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},{"children":[{"children":[{"content":"Rating distribution","type":"typography","variant":"h4"},{"entity":"@entity.starDistribution","fields":[],"gap":"sm","renderItem":["fn","bar",{"align":"center","children":[{"content":"@bar.label","type":"typography","variant":"caption"},{"max":100,"type":"progress-bar","value":"@bar.percentage","variant":"primary"},{"color":"muted","content":"@bar.percentage","type":"typography","variant":"caption"},{"color":"muted","content":"%","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"md","type":"stack"}],"type":"data-list"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"activeTab":"@entity.currentSort","tabChangeEvent":"CHANGE_SORT","tabs":"@config.sortOptions","type":"tabs"},{"entity":"@entity.reviews","fields":[],"gap":"md","renderItem":["fn","review",{"children":[{"children":[{"align":"center","children":[{"name":"@review.avatarIcon","type":"icon"},{"content":"@review.authorName","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"warning","name":"star","type":"icon"},{"content":"@review.rating","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@review.createdAt","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@review.comment","type":"typography","variant":"body"},{"align":"center","children":[{"action":"MARK_HELPFUL","actionPayload":{"id":"@review.id"},"icon":"thumbs-up","label":"Helpful","type":"button","variant":"ghost"},{"color":"muted","content":"@review.helpful","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"loading","to":"error","event":"ReviewsLoadFailed","eventId":"evt_2NMJPS7BSMNWT0493768EEDREC","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Failed to load reviews","type":"error-state"}]]},{"from":"loading","to":"loading","event":"ReviewSaved","eventId":"evt_1PA6TDRGDS86WKBQASH90VG09X","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"loading","to":"error","event":"ReviewSaveFailed","eventId":"evt_4NSDV9D0F0G7GD965DCWVAVFDY","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Failed to submit","type":"error-state"}]]},{"from":"viewing","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"viewing","to":"composing","event":"WRITE_REVIEW","eventId":"evt_Z0H6CBXZSHZWRXM2JJ3D3Q8SVR","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"align":"center","children":[{"action":"CANCEL_REVIEW","icon":"arrow-left","label":"Back","type":"button","variant":"ghost"},{"name":"edit","size":"lg","type":"icon"},{"content":"Write a review","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"},{"content":"How would you rate it?","type":"typography","variant":"h4"},{"action":"RATE_DRAFT","max":5,"label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"content":"Share more details (optional)","type":"typography","variant":"h4"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":"@config.reviewFields","mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"viewing","to":"viewing","event":"CHANGE_SORT","eventId":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","guard":["=","@payload.tabId","highest"],"effects":[["set","@entity.currentSort","highest"],["set","@entity.reviews",["array/sort","@entity.reviewsSource","rating","desc"]],["render-ui","main",{"children":[{"align":"center","children":[{"children":[{"align":"center","children":[{"name":"star","size":"lg","type":"icon"},{"content":"Reviews","type":"typography","variant":"h3"},{"color":"muted","content":"·","type":"typography"},{"content":"@entity.averageRating","type":"typography","variant":"h3"},{"color":"warning","name":"star","type":"icon"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@entity.totalReviews","type":"typography","variant":"h4"},{"color":"muted","content":"reviews","type":"typography","variant":"h4"}],"direction":"horizontal","gap":"sm","type":"stack"},{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"},{"action":"WRITE_REVIEW","icon":"edit","label":"@config.writeLabel","type":"button","variant":"primary"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},{"children":[{"children":[{"content":"Rating distribution","type":"typography","variant":"h4"},{"entity":"@entity.starDistribution","fields":[],"gap":"sm","renderItem":["fn","bar",{"align":"center","children":[{"content":"@bar.label","type":"typography","variant":"caption"},{"max":100,"type":"progress-bar","value":"@bar.percentage","variant":"primary"},{"color":"muted","content":"@bar.percentage","type":"typography","variant":"caption"},{"color":"muted","content":"%","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"md","type":"stack"}],"type":"data-list"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"activeTab":"@entity.currentSort","tabChangeEvent":"CHANGE_SORT","tabs":"@config.sortOptions","type":"tabs"},{"entity":"@entity.reviews","fields":[],"gap":"md","renderItem":["fn","review",{"children":[{"children":[{"align":"center","children":[{"name":"@review.avatarIcon","type":"icon"},{"content":"@review.authorName","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"warning","name":"star","type":"icon"},{"content":"@review.rating","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@review.createdAt","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@review.comment","type":"typography","variant":"body"},{"align":"center","children":[{"action":"MARK_HELPFUL","actionPayload":{"id":"@review.id"},"icon":"thumbs-up","label":"Helpful","type":"button","variant":"ghost"},{"color":"muted","content":"@review.helpful","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"viewing","to":"viewing","event":"CHANGE_SORT","eventId":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","guard":["=","@payload.tabId","lowest"],"effects":[["set","@entity.currentSort","lowest"],["set","@entity.reviews",["array/sort","@entity.reviewsSource","rating","asc"]],["render-ui","main",{"children":[{"align":"center","children":[{"children":[{"align":"center","children":[{"name":"star","size":"lg","type":"icon"},{"content":"Reviews","type":"typography","variant":"h3"},{"color":"muted","content":"·","type":"typography"},{"content":"@entity.averageRating","type":"typography","variant":"h3"},{"color":"warning","name":"star","type":"icon"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@entity.totalReviews","type":"typography","variant":"h4"},{"color":"muted","content":"reviews","type":"typography","variant":"h4"}],"direction":"horizontal","gap":"sm","type":"stack"},{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"},{"action":"WRITE_REVIEW","icon":"edit","label":"@config.writeLabel","type":"button","variant":"primary"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},{"children":[{"children":[{"content":"Rating distribution","type":"typography","variant":"h4"},{"entity":"@entity.starDistribution","fields":[],"gap":"sm","renderItem":["fn","bar",{"align":"center","children":[{"content":"@bar.label","type":"typography","variant":"caption"},{"max":100,"type":"progress-bar","value":"@bar.percentage","variant":"primary"},{"color":"muted","content":"@bar.percentage","type":"typography","variant":"caption"},{"color":"muted","content":"%","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"md","type":"stack"}],"type":"data-list"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"activeTab":"@entity.currentSort","tabChangeEvent":"CHANGE_SORT","tabs":"@config.sortOptions","type":"tabs"},{"entity":"@entity.reviews","fields":[],"gap":"md","renderItem":["fn","review",{"children":[{"children":[{"align":"center","children":[{"name":"@review.avatarIcon","type":"icon"},{"content":"@review.authorName","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"warning","name":"star","type":"icon"},{"content":"@review.rating","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@review.createdAt","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@review.comment","type":"typography","variant":"body"},{"align":"center","children":[{"action":"MARK_HELPFUL","actionPayload":{"id":"@review.id"},"icon":"thumbs-up","label":"Helpful","type":"button","variant":"ghost"},{"color":"muted","content":"@review.helpful","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"viewing","to":"viewing","event":"CHANGE_SORT","eventId":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","guard":["=","@payload.tabId","recent"],"effects":[["set","@entity.currentSort","recent"],["set","@entity.reviews",["array/sort","@entity.reviewsSource","createdAt","desc"]],["render-ui","main",{"children":[{"align":"center","children":[{"children":[{"align":"center","children":[{"name":"star","size":"lg","type":"icon"},{"content":"Reviews","type":"typography","variant":"h3"},{"color":"muted","content":"·","type":"typography"},{"content":"@entity.averageRating","type":"typography","variant":"h3"},{"color":"warning","name":"star","type":"icon"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@entity.totalReviews","type":"typography","variant":"h4"},{"color":"muted","content":"reviews","type":"typography","variant":"h4"}],"direction":"horizontal","gap":"sm","type":"stack"},{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"},{"action":"WRITE_REVIEW","icon":"edit","label":"@config.writeLabel","type":"button","variant":"primary"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},{"children":[{"children":[{"content":"Rating distribution","type":"typography","variant":"h4"},{"entity":"@entity.starDistribution","fields":[],"gap":"sm","renderItem":["fn","bar",{"align":"center","children":[{"content":"@bar.label","type":"typography","variant":"caption"},{"max":100,"type":"progress-bar","value":"@bar.percentage","variant":"primary"},{"color":"muted","content":"@bar.percentage","type":"typography","variant":"caption"},{"color":"muted","content":"%","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"md","type":"stack"}],"type":"data-list"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"activeTab":"@entity.currentSort","tabChangeEvent":"CHANGE_SORT","tabs":"@config.sortOptions","type":"tabs"},{"entity":"@entity.reviews","fields":[],"gap":"md","renderItem":["fn","review",{"children":[{"children":[{"align":"center","children":[{"name":"@review.avatarIcon","type":"icon"},{"content":"@review.authorName","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"warning","name":"star","type":"icon"},{"content":"@review.rating","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@review.createdAt","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@review.comment","type":"typography","variant":"body"},{"align":"center","children":[{"action":"MARK_HELPFUL","actionPayload":{"id":"@review.id"},"icon":"thumbs-up","label":"Helpful","type":"button","variant":"ghost"},{"color":"muted","content":"@review.helpful","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"viewing","to":"viewing","event":"MARK_HELPFUL","eventId":"evt_NH1PJJJ7MN3TAM6BWF1W3KH3DJ","effects":[["set","@entity.reviews",["array/map","@entity.reviews",["fn","row",["if",["=",["object/get","@row","id",""],"@payload.id"],["object/merge","@row",{"helpful":["+",["object/get","@row","helpful",0],1]}],"@row"]]]],["set","@entity.reviewsSource",["array/map","@entity.reviewsSource",["fn","row",["if",["=",["object/get","@row","id",""],"@payload.id"],["object/merge","@row",{"helpful":["+",["object/get","@row","helpful",0],1]}],"@row"]]]],["render-ui","main",{"children":[{"align":"center","children":[{"children":[{"align":"center","children":[{"name":"star","size":"lg","type":"icon"},{"content":"Reviews","type":"typography","variant":"h3"},{"color":"muted","content":"·","type":"typography"},{"content":"@entity.averageRating","type":"typography","variant":"h3"},{"color":"warning","name":"star","type":"icon"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@entity.totalReviews","type":"typography","variant":"h4"},{"color":"muted","content":"reviews","type":"typography","variant":"h4"}],"direction":"horizontal","gap":"sm","type":"stack"},{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"},{"action":"WRITE_REVIEW","icon":"edit","label":"@config.writeLabel","type":"button","variant":"primary"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},{"children":[{"children":[{"content":"Rating distribution","type":"typography","variant":"h4"},{"entity":"@entity.starDistribution","fields":[],"gap":"sm","renderItem":["fn","bar",{"align":"center","children":[{"content":"@bar.label","type":"typography","variant":"caption"},{"max":100,"type":"progress-bar","value":"@bar.percentage","variant":"primary"},{"color":"muted","content":"@bar.percentage","type":"typography","variant":"caption"},{"color":"muted","content":"%","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"md","type":"stack"}],"type":"data-list"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"activeTab":"@entity.currentSort","tabChangeEvent":"CHANGE_SORT","tabs":"@config.sortOptions","type":"tabs"},{"entity":"@entity.reviews","fields":[],"gap":"md","renderItem":["fn","review",{"children":[{"children":[{"align":"center","children":[{"name":"@review.avatarIcon","type":"icon"},{"content":"@review.authorName","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"warning","name":"star","type":"icon"},{"content":"@review.rating","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@review.createdAt","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@review.comment","type":"typography","variant":"body"},{"align":"center","children":[{"action":"MARK_HELPFUL","actionPayload":{"id":"@review.id"},"icon":"thumbs-up","label":"Helpful","type":"button","variant":"ghost"},{"color":"muted","content":"@review.helpful","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"composing","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"composing","to":"composing","event":"RATE_DRAFT","eventId":"evt_1P2MYVR1560JKDYYSNZMZB04SD","effects":[["set","@entity.draftRating","@payload.value"],["render-ui","main",{"children":[{"align":"center","children":[{"action":"CANCEL_REVIEW","icon":"arrow-left","label":"Back","type":"button","variant":"ghost"},{"name":"edit","size":"lg","type":"icon"},{"content":"Write a review","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"},{"content":"How would you rate it?","type":"typography","variant":"h4"},{"action":"RATE_DRAFT","max":5,"label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"content":"Share more details (optional)","type":"typography","variant":"h4"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":"@config.reviewFields","mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"composing","to":"submitting","event":"SUBMIT_REVIEW","eventId":"evt_ZQCES9D9ETMQDDANEC9WEVVEWD","effects":[["persist","create","ReviewView",{"comment":"@entity.draftComment","rating":"@entity.draftRating"},{"emit":{"failure":"ReviewSaveFailed","success":"ReviewSaved"}}],["render-ui","main",{"align":"center","children":[{"name":"send","size":"lg","type":"icon"},{"content":"Submitting your review…","type":"typography","variant":"h3"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"composing","to":"viewing","event":"CANCEL_REVIEW","eventId":"evt_PKR7AJ7WPRYBC8Z0XMNN4A0MWM","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"title":"Returning…","type":"loading-state"}]]},{"from":"submitting","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"submitting","to":"submitted","event":"ReviewSaved","eventId":"evt_1PA6TDRGDS86WKBQASH90VG09X","effects":[["render-ui","main",{"align":"center","children":[{"name":"check-circle","size":"xl","type":"icon"},{"align":"center","content":"Thanks for your review!","type":"typography","variant":"h2"},{"align":"center","color":"muted","content":"It will appear on the page shortly.","type":"typography","variant":"body"},{"action":"RESTART","icon":"arrow-left","label":"Back to reviews","type":"button","variant":"primary"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"submitting","to":"error","event":"ReviewSaveFailed","eventId":"evt_4NSDV9D0F0G7GD965DCWVAVFDY","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Submit failed","type":"error-state"}]]},{"from":"submitted","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"submitted","to":"loading","event":"RESTART","eventId":"evt_K9KP5D3XPZYVFV5DEWDZ9T6GE6","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"error","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]}]},"config":{"cancelLabel":{"type":"string","default":"Cancel","label":"Cancel button","description":"Label on the cancel button inside the compose form","tier":"presentation"},"subjectTitle":{"type":"string","default":"Bali Sunset Villa · 3 nights","label":"Subject title","description":"Name of the item being reviewed (shown in the header)","tier":"presentation"},"reviewFields":{"type":"[string]","default":["draftComment"],"label":"Review form fields","description":"Inputs shown in the review compose form","tier":"presentation","items":{"type":"string"}},"writeLabel":{"type":"string","default":"Write a review","label":"Write CTA","description":"Label on the call-to-action that opens the compose form","tier":"presentation"},"cardLook":{"type":"string","default":"elevated","label":"Card look","description":"Layer 2 visual treatment for cards rendered by this atom.","tier":"presentation","values":["elevated","flat-bordered","borderless-divider","ticket","invoice","chip","tile-image-first"]},"submitLabel":{"type":"string","default":"Submit review","label":"Submit button","description":"Label on the primary submit-review button","tier":"presentation"},"sortOptions":{"type":"[SortOption]","default":[{"icon":"clock","id":"recent","label":"Most recent"},{"icon":"star","id":"highest","label":"Top rated"},{"icon":"trending-down","id":"lowest","label":"Lowest"}],"label":"Sort tabs","description":"Sort modes shown as tabs above the reviews list","tier":"presentation","items":{"type":"object","properties":{"id":{"name":"id","type":"string","required":true},"icon":{"name":"icon","type":"string","required":false},"label":{"name":"label","type":"string","required":true}}}},"starDistribution":{"type":"[StarBucket]","default":[{"label":"5 stars","percentage":74},{"label":"4 stars","percentage":18},{"label":"3 stars","percentage":5},{"label":"2 stars","percentage":2},{"label":"1 star","percentage":1}],"label":"Star bars","description":"Per-star distribution displayed as horizontal progress bars","tier":"presentation","items":{"type":"object","properties":{"percentage":{"name":"percentage","type":"number","required":true},"label":{"name":"label","type":"string","required":true}}}}},"scope":"instance"},{"name":"RatingReviewSubmit","id":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC","effectRow":[{"kind":"persist","resource":"ReviewView"},{"kind":"render-ui","resource":"main"},{"kind":"set","resource":"@entity.draftComment"},{"kind":"set","resource":"@entity.draftRating"},{"kind":"set","resource":"@entity.errorMessage"}],"category":"interaction","linkedEntity":"ReviewView","linkedEntityId":"ent_K4BYNMNNZ9TZMW52CNHM446Q50","entityRefIds":{"ReviewView":"ent_K4BYNMNNZ9TZMW52CNHM446Q50"},"emits":[{"event":"RATE_DRAFT","eventId":"evt_ZTWBX4D0SFGCQYQ33N9F9VGPQW","description":"Signals a review draft has been created or updated.","synonyms":"draft, save, pending","tier":"presentation","payloadSchema":[{"name":"value","type":"number"}]},{"event":"SUBMIT_REVIEW","eventId":"evt_0R9RG47W7JY3S0M2WJEMKXNMJT","description":"Signals a review has been successfully submitted.","synonyms":"saved, posted, sent","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}]},{"event":"CANCEL_REVIEW","eventId":"evt_7MAQP38C2N61AJJ69MAKCCXH4A","description":"Aborts the review composition process.","synonyms":"discard, abandon, close, revert","tier":"presentation"},{"event":"RESTART","eventId":"evt_5E2MXGF32THHD3MCVBZ9SXBBFM","description":"Triggers a refresh of the review data and UI.","synonyms":"refresh, reload, reset","tier":"internal"},{"event":"ReviewSaved","eventId":"evt_B1EQQC07GV3RDXGQQ89FZ0E06J","description":"Indicates a review has been successfully stored.","synonyms":"saved, persisted, updated","tier":"presentation","scope":"internal","payloadSchema":[{"name":"id","type":"string","required":true},{"name":"reviews","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"reviewsSource","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"totalReviews","type":"number"},{"name":"averageRating","type":"number"},{"name":"starDistribution","type":"[object]","properties":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number"}]},{"name":"currentSort","type":"string","values":["recent","highest","lowest"]},{"name":"draftRating","type":"number"},{"name":"draftComment","type":"string"},{"name":"errorMessage","type":"string"}],"payloadEntity":"ReviewView"},{"event":"ReviewSaveFailed","eventId":"evt_C208W31Y3HZ1RJBRN5G7S309CN","description":"Indicates a review save operation failed.","synonyms":"failed, error, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}]}],"stateMachine":{"states":[{"name":"composing","isInitial":true},{"name":"submitting"},{"name":"submitted"},{"name":"error"}],"events":[{"key":"INIT","id":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","name":"Initialize"},{"key":"RATE_DRAFT","id":"evt_ZTWBX4D0SFGCQYQ33N9F9VGPQW","name":"Rate Draft","description":"Signals a review draft has been created or updated.","synonyms":"draft, save, pending","tier":"presentation","payloadSchema":[{"name":"value","type":"number"}],"listened":true},{"key":"SUBMIT_REVIEW","id":"evt_0R9RG47W7JY3S0M2WJEMKXNMJT","name":"Submit Review","description":"Signals a review has been successfully submitted.","synonyms":"saved, posted, sent","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}],"listened":true},{"key":"CANCEL_REVIEW","id":"evt_7MAQP38C2N61AJJ69MAKCCXH4A","name":"Cancel Review","description":"Aborts the review composition process.","synonyms":"discard, abandon, close, revert","tier":"presentation","listened":true},{"key":"ReviewSaved","id":"evt_B1EQQC07GV3RDXGQQ89FZ0E06J","name":"Review saved","description":"Indicates a review has been successfully stored.","synonyms":"saved, persisted, updated","tier":"presentation","payloadSchema":[{"name":"id","type":"string","required":true},{"name":"reviews","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"reviewsSource","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"totalReviews","type":"number"},{"name":"averageRating","type":"number"},{"name":"starDistribution","type":"[object]","properties":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number"}]},{"name":"currentSort","type":"string","values":["recent","highest","lowest"]},{"name":"draftRating","type":"number"},{"name":"draftComment","type":"string"},{"name":"errorMessage","type":"string"}],"payloadEntity":"ReviewView","listened":true},{"key":"ReviewSaveFailed","id":"evt_C208W31Y3HZ1RJBRN5G7S309CN","name":"Review save failed","description":"Indicates a review save operation failed.","synonyms":"failed, error, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"RESTART","id":"evt_5E2MXGF32THHD3MCVBZ9SXBBFM","name":"Restart","description":"Triggers a refresh of the review data and UI.","synonyms":"refresh, reload, reset","tier":"internal","listened":true}],"transitions":[{"from":"composing","to":"composing","event":"INIT","eventId":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"composing","to":"composing","event":"RATE_DRAFT","eventId":"evt_ZTWBX4D0SFGCQYQ33N9F9VGPQW","effects":[["set","@entity.draftRating","@payload.value"],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"composing","to":"submitting","event":"SUBMIT_REVIEW","eventId":"evt_0R9RG47W7JY3S0M2WJEMKXNMJT","effects":[["persist","create","ReviewView",{"comment":"@entity.draftComment","rating":"@entity.draftRating"},{"emit":{"failure":"ReviewSaveFailed","success":"ReviewSaved"}}],["render-ui","main",{"align":"center","children":[{"name":"send","size":"lg","type":"icon"},{"content":"Submitting…","type":"typography","variant":"h3"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"composing","to":"composing","event":"CANCEL_REVIEW","eventId":"evt_7MAQP38C2N61AJJ69MAKCCXH4A","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":0},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"submitting","to":"composing","event":"INIT","eventId":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"submitting","to":"submitted","event":"ReviewSaved","eventId":"evt_B1EQQC07GV3RDXGQQ89FZ0E06J","effects":[["render-ui","main",{"align":"center","children":[{"name":"check-circle","size":"xl","type":"icon"},{"content":"Thanks for your review!","type":"typography","variant":"h2"},{"action":"RESTART","icon":"plus","label":"Write another review","type":"button","variant":"primary"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"submitting","to":"error","event":"ReviewSaveFailed","eventId":"evt_C208W31Y3HZ1RJBRN5G7S309CN","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Submit failed","type":"error-state"}]]},{"from":"submitted","to":"composing","event":"INIT","eventId":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"submitted","to":"composing","event":"RESTART","eventId":"evt_5E2MXGF32THHD3MCVBZ9SXBBFM","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":0},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"error","to":"composing","event":"INIT","eventId":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"error","to":"composing","event":"RESTART","eventId":"evt_5E2MXGF32THHD3MCVBZ9SXBBFM","effects":[["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":0},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]}]},"config":{"cancelLabel":{"type":"string","default":"Cancel","label":"Cancel button","description":"Label on the cancel button","tier":"presentation"},"title":{"type":"string","default":"Write a review","label":"Form title","description":"Heading shown above the review compose form","tier":"presentation"},"maxStars":{"type":"number","default":5,"label":"Max stars","description":"Top of the rating scale (typically 5)","tier":"domain"},"allowComment":{"type":"boolean","default":true,"label":"Allow comment","description":"Show a free-text comment field below the stars","tier":"presentation"},"cardLook":{"type":"string","default":"elevated","label":"Card look","description":"Visual style of the wrapper card. Layer 2 cardLook knob — render-ui references @config.cardLook on the compose card.","tier":"presentation","values":["elevated","flat-bordered","borderless-divider","ticket","invoice","chip","tile-image-first"]},"submitLabel":{"type":"string","default":"Submit review","label":"Submit button","description":"Label on the primary submit button","tier":"presentation"}},"scope":"instance"},{"name":"RatingReviewPageNav","id":"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB","effectRow":[{"kind":"navigate","resource":"/reviews/new"},{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"ReviewView","linkedEntityId":"ent_K4BYNMNNZ9TZMW52CNHM446Q50","entityRefIds":{"ReviewView":"ent_K4BYNMNNZ9TZMW52CNHM446Q50"},"emits":[{"event":"OPEN_REVIEW_FORM","eventId":"evt_BWKPYRZ6CWK6E3C9CF3EZ5T400","description":"Opens the standalone review-submission page.","synonyms":"open form, new page, direct link","tier":"presentation"}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_52FFV52JP39B1WMXQE15HHAA83","name":"Initialize"},{"key":"OPEN_REVIEW_FORM","id":"evt_BWKPYRZ6CWK6E3C9CF3EZ5T400","name":"Open Review Form","description":"Opens the standalone review-submission page.","synonyms":"open form, new page, direct link","tier":"presentation","listened":true}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_52FFV52JP39B1WMXQE15HHAA83","effects":[["render-ui","main",{"action":"OPEN_REVIEW_FORM","icon":"external-link","label":"Open review form","type":"button","variant":"ghost"}]]},{"from":"ready","to":"ready","event":"OPEN_REVIEW_FORM","eventId":"evt_BWKPYRZ6CWK6E3C9CF3EZ5T400","effects":[["navigate","/reviews/new"]]}]},"scope":"instance"}],"pages":[{"name":"RatingReviewPage","id":"pag_AHE0D4WTZFDFQZCX7XAKXXTZBR","path":"/reviews","traits":[{"ref":"RatingReviewBoard","refId":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},{"ref":"RatingReviewPageNav","refId":"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB"}]},{"name":"RatingReviewSubmitPage","id":"pag_8A204BJ7NY3TZ8X530X4EJRGKZ","path":"/reviews/new","traits":[{"ref":"RatingReviewSubmit","refId":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"}]}],"types":{"ObjectSpec":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}],"ReviewRow":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}],"SortOption":[{"name":"id","type":"string","required":true},{"name":"label","type":"string","required":true},{"name":"icon","type":"string"}],"StarBar":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number"}],"StarBucket":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number","required":true}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_K4BYNMNNZ9TZMW52CNHM446Q50":{"id":"ent_K4BYNMNNZ9TZMW52CNHM446Q50","kind":"entity","bakedName":"ReviewView","curName":"ReviewView","renames":[],"owner":"workspace"},"evt_0R9RG47W7JY3S0M2WJEMKXNMJT":{"id":"evt_0R9RG47W7JY3S0M2WJEMKXNMJT","kind":"event","bakedName":"SUBMIT_REVIEW","curName":"SUBMIT_REVIEW","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_1AJAKGPPRSBCCQYFS64DJHW6KG":{"id":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_1P2MYVR1560JKDYYSNZMZB04SD":{"id":"evt_1P2MYVR1560JKDYYSNZMZB04SD","kind":"event","bakedName":"RATE_DRAFT","curName":"RATE_DRAFT","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_1PA6TDRGDS86WKBQASH90VG09X":{"id":"evt_1PA6TDRGDS86WKBQASH90VG09X","kind":"event","bakedName":"ReviewSaved","curName":"ReviewSaved","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_2NMJPS7BSMNWT0493768EEDREC":{"id":"evt_2NMJPS7BSMNWT0493768EEDREC","kind":"event","bakedName":"ReviewsLoadFailed","curName":"ReviewsLoadFailed","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_4NSDV9D0F0G7GD965DCWVAVFDY":{"id":"evt_4NSDV9D0F0G7GD965DCWVAVFDY","kind":"event","bakedName":"ReviewSaveFailed","curName":"ReviewSaveFailed","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_52FFV52JP39B1WMXQE15HHAA83":{"id":"evt_52FFV52JP39B1WMXQE15HHAA83","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB"},"evt_5DDRJXAN7SAKWX4FZFT7BT30VZ":{"id":"evt_5DDRJXAN7SAKWX4FZFT7BT30VZ","kind":"event","bakedName":"ReviewsLoaded","curName":"ReviewsLoaded","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_5E2MXGF32THHD3MCVBZ9SXBBFM":{"id":"evt_5E2MXGF32THHD3MCVBZ9SXBBFM","kind":"event","bakedName":"RESTART","curName":"RESTART","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_7MAQP38C2N61AJJ69MAKCCXH4A":{"id":"evt_7MAQP38C2N61AJJ69MAKCCXH4A","kind":"event","bakedName":"CANCEL_REVIEW","curName":"CANCEL_REVIEW","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_B1EQQC07GV3RDXGQQ89FZ0E06J":{"id":"evt_B1EQQC07GV3RDXGQQ89FZ0E06J","kind":"event","bakedName":"ReviewSaved","curName":"ReviewSaved","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_BWKPYRZ6CWK6E3C9CF3EZ5T400":{"id":"evt_BWKPYRZ6CWK6E3C9CF3EZ5T400","kind":"event","bakedName":"OPEN_REVIEW_FORM","curName":"OPEN_REVIEW_FORM","renames":[],"owner":"workspace","parent":"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB"},"evt_C208W31Y3HZ1RJBRN5G7S309CN":{"id":"evt_C208W31Y3HZ1RJBRN5G7S309CN","kind":"event","bakedName":"ReviewSaveFailed","curName":"ReviewSaveFailed","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_EMJE9JXD0YPGFDDY3JTCH1W54C":{"id":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","kind":"event","bakedName":"CHANGE_SORT","curName":"CHANGE_SORT","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH":{"id":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_K9KP5D3XPZYVFV5DEWDZ9T6GE6":{"id":"evt_K9KP5D3XPZYVFV5DEWDZ9T6GE6","kind":"event","bakedName":"RESTART","curName":"RESTART","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_NH1PJJJ7MN3TAM6BWF1W3KH3DJ":{"id":"evt_NH1PJJJ7MN3TAM6BWF1W3KH3DJ","kind":"event","bakedName":"MARK_HELPFUL","curName":"MARK_HELPFUL","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_PKR7AJ7WPRYBC8Z0XMNN4A0MWM":{"id":"evt_PKR7AJ7WPRYBC8Z0XMNN4A0MWM","kind":"event","bakedName":"CANCEL_REVIEW","curName":"CANCEL_REVIEW","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_Z0H6CBXZSHZWRXM2JJ3D3Q8SVR":{"id":"evt_Z0H6CBXZSHZWRXM2JJ3D3Q8SVR","kind":"event","bakedName":"WRITE_REVIEW","curName":"WRITE_REVIEW","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_ZQCES9D9ETMQDDANEC9WEVVEWD":{"id":"evt_ZQCES9D9ETMQDDANEC9WEVVEWD","kind":"event","bakedName":"SUBMIT_REVIEW","curName":"SUBMIT_REVIEW","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_ZTWBX4D0SFGCQYQ33N9F9VGPQW":{"id":"evt_ZTWBX4D0SFGCQYQ33N9F9VGPQW","kind":"event","bakedName":"RATE_DRAFT","curName":"RATE_DRAFT","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"orb_X1YKEC2MN2AAH0MZG9CNN1DXKX":{"id":"orb_X1YKEC2MN2AAH0MZG9CNN1DXKX","kind":"orbital","bakedName":"RatingReviewOrbital","curName":"RatingReviewOrbital","renames":[],"owner":"workspace"},"pag_8A204BJ7NY3TZ8X530X4EJRGKZ":{"id":"pag_8A204BJ7NY3TZ8X530X4EJRGKZ","kind":"page","bakedName":"RatingReviewSubmitPage","curName":"RatingReviewSubmitPage","renames":[],"owner":"workspace"},"pag_AHE0D4WTZFDFQZCX7XAKXXTZBR":{"id":"pag_AHE0D4WTZFDFQZCX7XAKXXTZBR","kind":"page","bakedName":"RatingReviewPage","curName":"RatingReviewPage","renames":[],"owner":"workspace"},"trt_5PQGPNYDAC6N6E5W4KME5WYCRC":{"id":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC","kind":"trait","bakedName":"RatingReviewSubmit","curName":"RatingReviewSubmit","renames":[],"owner":"workspace"},"trt_F7GANPPTY9DF4XG50D9H98S9EN":{"id":"trt_F7GANPPTY9DF4XG50D9H98S9EN","kind":"trait","bakedName":"RatingReviewBoard","curName":"RatingReviewBoard","renames":[],"owner":"workspace"},"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB":{"id":"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB","kind":"trait","bakedName":"RatingReviewPageNav","curName":"RatingReviewPageNav","renames":[],"owner":"workspace"}}}}
|
|
1
|
+
{"name":"std-rating-review","version":"2.1.1","description":"std-rating-review — Airbnb / Amazon / Google Maps style review surface. Header with aggregate score + Write CTA, per-star distribution bars, working sort chips (recent / top rated / lowest), scrollable reviews list with author + stars + comment + helpful action. Topology = loading / viewing / composing / submitting / submitted / error.","orbitals":[{"name":"RatingReviewOrbital","id":"orb_X1YKEC2MN2AAH0MZG9CNN1DXKX","entity":{"name":"ReviewView","id":"ent_K4BYNMNNZ9TZMW52CNHM446Q50","persistence":"runtime","fields":[{"name":"id","type":"string","required":true},{"name":"reviews","type":"array","default":[],"items":{"type":"object","properties":{"rating":{"name":"rating","type":"number","required":false},"avatarIcon":{"name":"avatarIcon","type":"string","required":false},"authorName":{"name":"authorName","type":"string","required":false},"id":{"name":"id","type":"string","required":true},"helpful":{"name":"helpful","type":"number","required":false},"createdAt":{"name":"createdAt","type":"string","required":false},"comment":{"name":"comment","type":"string","required":false}}},"description":"A list of individual review entries.","synonyms":"reviews, entries, items"},{"name":"reviewsSource","type":"array","default":[],"items":{"type":"object","properties":{"rating":{"name":"rating","type":"number","required":false},"authorName":{"name":"authorName","type":"string","required":false},"createdAt":{"name":"createdAt","type":"string","required":false},"comment":{"name":"comment","type":"string","required":false},"avatarIcon":{"name":"avatarIcon","type":"string","required":false},"helpful":{"name":"helpful","type":"number","required":false},"id":{"name":"id","type":"string","required":true}}},"description":"Collection of individual review entries.","synonyms":"items, records, data"},{"name":"totalReviews","type":"number","default":0,"description":"The total count of reviews associated with this view.","synonyms":"count, number, total, size"},{"name":"averageRating","type":"number","default":0,"description":"The average numerical rating value.","synonyms":"rating, score, value"},{"name":"starDistribution","type":"array","default":[],"items":{"type":"object","properties":{"percentage":{"name":"percentage","type":"number","required":false},"label":{"name":"label","type":"string","required":true}}},"description":"Distribution of reviews across star ratings.","synonyms":"star counts, rating breakdown, star frequency"},{"name":"currentSort","type":"string","default":"recent","values":["recent","highest","lowest"],"description":"Specifies the current sorting order applied to the reviews.","synonyms":"sort, order, arrangement"},{"name":"draftRating","type":"number","default":0,"description":"The user's tentative star rating for the review.","synonyms":"rating, star_value, score"},{"name":"draftComment","type":"string","default":"","description":"The text content of a review in draft state.","synonyms":"comment, text, body, content"},{"name":"errorMessage","type":"string","default":"","description":"Text displayed when an error occurs during review submission.","synonyms":"error text, error message, failure message"}]},"traits":[{"name":"RatingReviewBoard","id":"trt_F7GANPPTY9DF4XG50D9H98S9EN","effectRow":[{"kind":"fetch","resource":"ReviewView"},{"kind":"persist","resource":"ReviewView"},{"kind":"render-ui","resource":"main"},{"kind":"set","resource":"@entity.averageRating"},{"kind":"set","resource":"@entity.currentSort"},{"kind":"set","resource":"@entity.draftComment"},{"kind":"set","resource":"@entity.draftRating"},{"kind":"set","resource":"@entity.errorMessage"},{"kind":"set","resource":"@entity.reviews"},{"kind":"set","resource":"@entity.reviewsSource"},{"kind":"set","resource":"@entity.starDistribution"},{"kind":"set","resource":"@entity.totalReviews"}],"category":"interaction","linkedEntity":"ReviewView","linkedEntityId":"ent_K4BYNMNNZ9TZMW52CNHM446Q50","entityRefIds":{"ReviewView":"ent_K4BYNMNNZ9TZMW52CNHM446Q50"},"emits":[{"event":"WRITE_REVIEW","eventId":"evt_Z0H6CBXZSHZWRXM2JJ3D3Q8SVR","description":"Initiates the review composition flow.","synonyms":"compose, create, add","tier":"domain"},{"event":"RATE_DRAFT","eventId":"evt_1P2MYVR1560JKDYYSNZMZB04SD","description":"Signals a draft rating has been created or modified.","synonyms":"draft, update, modify, change","tier":"presentation","payloadSchema":[{"name":"value","type":"number"}]},{"event":"SUBMIT_REVIEW","eventId":"evt_ZQCES9D9ETMQDDANEC9WEVVEWD","description":"Signals a review has been successfully submitted.","synonyms":"saved, posted, sent","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}]},{"event":"CANCEL_REVIEW","eventId":"evt_PKR7AJ7WPRYBC8Z0XMNN4A0MWM","description":"Aborts the review composition process.","synonyms":"discard, abandon, close, revert","tier":"presentation"},{"event":"CHANGE_SORT","eventId":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","description":"Signals a change in the review sorting criteria.","synonyms":"sort, order, filter","tier":"presentation","payloadSchema":[{"name":"tabId","type":"string"}]},{"event":"MARK_HELPFUL","eventId":"evt_NH1PJJJ7MN3TAM6BWF1W3KH3DJ","description":"Indicates a review has been marked as helpful.","synonyms":"helpful, useful, thumbs up, agree","tier":"presentation","payloadSchema":[{"name":"id","type":"string"}]},{"event":"RESTART","eventId":"evt_K9KP5D3XPZYVFV5DEWDZ9T6GE6","description":"Triggers a full refresh of the review data and UI.","synonyms":"refresh, reload, reset","tier":"internal"},{"event":"ReviewsLoaded","eventId":"evt_5DDRJXAN7SAKWX4FZFT7BT30VZ","description":"Signals that the reviews data has been successfully retrieved.","synonyms":"loaded, fetched, ready, available","tier":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}],"entity":"ObjectSpec"}]},{"event":"ReviewsLoadFailed","eventId":"evt_2NMJPS7BSMNWT0493768EEDREC","description":"Indicates that loading reviews was unsuccessful.","synonyms":"failed, error, problem, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}]},{"event":"ReviewSaved","eventId":"evt_1PA6TDRGDS86WKBQASH90VG09X","description":"Indicates a review has been successfully saved.","synonyms":"saved, persisted, updated","tier":"domain","scope":"internal","payloadSchema":[{"name":"id","type":"string","required":true},{"name":"reviews","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"reviewsSource","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"totalReviews","type":"number"},{"name":"averageRating","type":"number"},{"name":"starDistribution","type":"[object]","properties":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number"}]},{"name":"currentSort","type":"string","values":["recent","highest","lowest"]},{"name":"draftRating","type":"number"},{"name":"draftComment","type":"string"},{"name":"errorMessage","type":"string"}],"payloadEntity":"ReviewView"},{"event":"ReviewSaveFailed","eventId":"evt_4NSDV9D0F0G7GD965DCWVAVFDY","description":"Indicates a review save operation failed.","synonyms":"failed, error, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}]}],"stateMachine":{"states":[{"name":"loading","isInitial":true},{"name":"viewing"},{"name":"composing"},{"name":"submitting"},{"name":"submitted"},{"name":"error"}],"events":[{"key":"INIT","id":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","name":"Initialize"},{"key":"ReviewsLoaded","id":"evt_5DDRJXAN7SAKWX4FZFT7BT30VZ","name":"Reviews loaded","description":"Signals that the reviews data has been successfully retrieved.","synonyms":"loaded, fetched, ready, available","tier":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}]}],"listened":true},{"key":"ReviewsLoadFailed","id":"evt_2NMJPS7BSMNWT0493768EEDREC","name":"Reviews load failed","description":"Indicates that loading reviews was unsuccessful.","synonyms":"failed, error, problem, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"ReviewSaved","id":"evt_1PA6TDRGDS86WKBQASH90VG09X","name":"Review saved","description":"Indicates a review has been successfully saved.","synonyms":"saved, persisted, updated","tier":"domain","payloadSchema":[{"name":"id","type":"string","required":true},{"name":"reviews","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"reviewsSource","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"totalReviews","type":"number"},{"name":"averageRating","type":"number"},{"name":"starDistribution","type":"[object]","properties":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number"}]},{"name":"currentSort","type":"string","values":["recent","highest","lowest"]},{"name":"draftRating","type":"number"},{"name":"draftComment","type":"string"},{"name":"errorMessage","type":"string"}],"payloadEntity":"ReviewView","listened":true},{"key":"ReviewSaveFailed","id":"evt_4NSDV9D0F0G7GD965DCWVAVFDY","name":"Review save failed","description":"Indicates a review save operation failed.","synonyms":"failed, error, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"WRITE_REVIEW","id":"evt_Z0H6CBXZSHZWRXM2JJ3D3Q8SVR","name":"Write Review","description":"Initiates the review composition flow.","synonyms":"compose, create, add","tier":"domain","listened":true},{"key":"CHANGE_SORT","id":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","name":"Change Sort","description":"Signals a change in the review sorting criteria.","synonyms":"sort, order, filter","tier":"presentation","payloadSchema":[{"name":"tabId","type":"string"}],"listened":true},{"key":"MARK_HELPFUL","id":"evt_NH1PJJJ7MN3TAM6BWF1W3KH3DJ","name":"Mark Helpful","description":"Indicates a review has been marked as helpful.","synonyms":"helpful, useful, thumbs up, agree","tier":"presentation","payloadSchema":[{"name":"id","type":"string"}],"listened":true},{"key":"RATE_DRAFT","id":"evt_1P2MYVR1560JKDYYSNZMZB04SD","name":"Rate Draft","description":"Signals a draft rating has been created or modified.","synonyms":"draft, update, modify, change","tier":"presentation","payloadSchema":[{"name":"value","type":"number"}],"listened":true},{"key":"SUBMIT_REVIEW","id":"evt_ZQCES9D9ETMQDDANEC9WEVVEWD","name":"Submit Review","description":"Signals a review has been successfully submitted.","synonyms":"saved, posted, sent","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}],"listened":true},{"key":"CANCEL_REVIEW","id":"evt_PKR7AJ7WPRYBC8Z0XMNN4A0MWM","name":"Cancel Review","description":"Aborts the review composition process.","synonyms":"discard, abandon, close, revert","tier":"presentation","listened":true},{"key":"RESTART","id":"evt_K9KP5D3XPZYVFV5DEWDZ9T6GE6","name":"Restart","description":"Triggers a full refresh of the review data and UI.","synonyms":"refresh, reload, reset","tier":"internal","listened":true}],"transitions":[{"from":"loading","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"loading","to":"viewing","event":"ReviewsLoaded","eventId":"evt_5DDRJXAN7SAKWX4FZFT7BT30VZ","effects":[["set","@entity.reviewsSource",["array/map","@payload.data",["fn","row",{"authorName":["object/get","@row","authorName","Guest"],"avatarIcon":["object/get","@row","avatarIcon","user"],"comment":["object/get","@row","comment",""],"createdAt":["object/get","@row","createdAt",""],"helpful":["object/get","@row","helpful",0],"id":["object/get","@row","id",""],"rating":["object/get","@row","rating",5]}]]],["set","@entity.reviews","@entity.reviewsSource"],["set","@entity.totalReviews",["array/len","@payload.data"]],["set","@entity.averageRating",["array/avg",["array/map","@payload.data",["fn","row",["object/get","@row","rating",5]]]]],["set","@entity.starDistribution",["array/map","@config.starDistribution",["fn","bar",{"label":["object/get","@bar","label",""],"percentage":["object/get","@bar","percentage",0]}]]],["render-ui","main",{"children":[{"align":"center","children":[{"children":[{"align":"center","children":[{"name":"star","size":"lg","type":"icon"},{"content":"Reviews","type":"typography","variant":"h3"},{"color":"muted","content":"·","type":"typography"},{"content":"@entity.averageRating","type":"typography","variant":"h3"},{"color":"warning","name":"star","type":"icon"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@entity.totalReviews","type":"typography","variant":"h4"},{"color":"muted","content":"reviews","type":"typography","variant":"h4"}],"direction":"horizontal","gap":"sm","type":"stack"},{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"},{"action":"WRITE_REVIEW","icon":"edit","label":"@config.writeLabel","type":"button","variant":"primary"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},{"children":[{"children":[{"content":"Rating distribution","type":"typography","variant":"h4"},{"entity":"@entity.starDistribution","fields":[],"gap":"sm","renderItem":["fn","bar",{"align":"center","children":[{"content":"@bar.label","type":"typography","variant":"caption"},{"max":100,"type":"progress-bar","value":"@bar.percentage","variant":"primary"},{"color":"muted","content":"@bar.percentage","type":"typography","variant":"caption"},{"color":"muted","content":"%","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"md","type":"stack"}],"type":"data-list"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"activeTab":"@entity.currentSort","tabChangeEvent":"CHANGE_SORT","tabs":"@config.sortOptions","type":"tabs"},{"entity":"@entity.reviews","fields":[],"gap":"md","renderItem":["fn","review",{"children":[{"children":[{"align":"center","children":[{"name":"@review.avatarIcon","type":"icon"},{"content":"@review.authorName","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"warning","name":"star","type":"icon"},{"content":"@review.rating","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@review.createdAt","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@review.comment","type":"typography","variant":"body"},{"align":"center","children":[{"action":"MARK_HELPFUL","actionPayload":{"id":"@review.id"},"icon":"thumbs-up","label":"Helpful","type":"button","variant":"ghost"},{"color":"muted","content":"@review.helpful","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"loading","to":"error","event":"ReviewsLoadFailed","eventId":"evt_2NMJPS7BSMNWT0493768EEDREC","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Failed to load reviews","type":"error-state"}]]},{"from":"loading","to":"loading","event":"ReviewSaved","eventId":"evt_1PA6TDRGDS86WKBQASH90VG09X","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"loading","to":"error","event":"ReviewSaveFailed","eventId":"evt_4NSDV9D0F0G7GD965DCWVAVFDY","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Failed to submit","type":"error-state"}]]},{"from":"viewing","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"viewing","to":"composing","event":"WRITE_REVIEW","eventId":"evt_Z0H6CBXZSHZWRXM2JJ3D3Q8SVR","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"align":"center","children":[{"action":"CANCEL_REVIEW","icon":"arrow-left","label":"Back","type":"button","variant":"ghost"},{"name":"edit","size":"lg","type":"icon"},{"content":"Write a review","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"},{"content":"How would you rate it?","type":"typography","variant":"h4"},{"action":"RATE_DRAFT","max":5,"label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"content":"Share more details (optional)","type":"typography","variant":"h4"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":"@config.reviewFields","mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"viewing","to":"viewing","event":"CHANGE_SORT","eventId":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","guard":["=","@payload.tabId","highest"],"effects":[["set","@entity.currentSort","highest"],["set","@entity.reviews",["array/sort","@entity.reviewsSource","rating","desc"]],["render-ui","main",{"children":[{"align":"center","children":[{"children":[{"align":"center","children":[{"name":"star","size":"lg","type":"icon"},{"content":"Reviews","type":"typography","variant":"h3"},{"color":"muted","content":"·","type":"typography"},{"content":"@entity.averageRating","type":"typography","variant":"h3"},{"color":"warning","name":"star","type":"icon"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@entity.totalReviews","type":"typography","variant":"h4"},{"color":"muted","content":"reviews","type":"typography","variant":"h4"}],"direction":"horizontal","gap":"sm","type":"stack"},{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"},{"action":"WRITE_REVIEW","icon":"edit","label":"@config.writeLabel","type":"button","variant":"primary"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},{"children":[{"children":[{"content":"Rating distribution","type":"typography","variant":"h4"},{"entity":"@entity.starDistribution","fields":[],"gap":"sm","renderItem":["fn","bar",{"align":"center","children":[{"content":"@bar.label","type":"typography","variant":"caption"},{"max":100,"type":"progress-bar","value":"@bar.percentage","variant":"primary"},{"color":"muted","content":"@bar.percentage","type":"typography","variant":"caption"},{"color":"muted","content":"%","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"md","type":"stack"}],"type":"data-list"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"activeTab":"@entity.currentSort","tabChangeEvent":"CHANGE_SORT","tabs":"@config.sortOptions","type":"tabs"},{"entity":"@entity.reviews","fields":[],"gap":"md","renderItem":["fn","review",{"children":[{"children":[{"align":"center","children":[{"name":"@review.avatarIcon","type":"icon"},{"content":"@review.authorName","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"warning","name":"star","type":"icon"},{"content":"@review.rating","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@review.createdAt","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@review.comment","type":"typography","variant":"body"},{"align":"center","children":[{"action":"MARK_HELPFUL","actionPayload":{"id":"@review.id"},"icon":"thumbs-up","label":"Helpful","type":"button","variant":"ghost"},{"color":"muted","content":"@review.helpful","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"viewing","to":"viewing","event":"CHANGE_SORT","eventId":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","guard":["=","@payload.tabId","lowest"],"effects":[["set","@entity.currentSort","lowest"],["set","@entity.reviews",["array/sort","@entity.reviewsSource","rating","asc"]],["render-ui","main",{"children":[{"align":"center","children":[{"children":[{"align":"center","children":[{"name":"star","size":"lg","type":"icon"},{"content":"Reviews","type":"typography","variant":"h3"},{"color":"muted","content":"·","type":"typography"},{"content":"@entity.averageRating","type":"typography","variant":"h3"},{"color":"warning","name":"star","type":"icon"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@entity.totalReviews","type":"typography","variant":"h4"},{"color":"muted","content":"reviews","type":"typography","variant":"h4"}],"direction":"horizontal","gap":"sm","type":"stack"},{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"},{"action":"WRITE_REVIEW","icon":"edit","label":"@config.writeLabel","type":"button","variant":"primary"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},{"children":[{"children":[{"content":"Rating distribution","type":"typography","variant":"h4"},{"entity":"@entity.starDistribution","fields":[],"gap":"sm","renderItem":["fn","bar",{"align":"center","children":[{"content":"@bar.label","type":"typography","variant":"caption"},{"max":100,"type":"progress-bar","value":"@bar.percentage","variant":"primary"},{"color":"muted","content":"@bar.percentage","type":"typography","variant":"caption"},{"color":"muted","content":"%","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"md","type":"stack"}],"type":"data-list"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"activeTab":"@entity.currentSort","tabChangeEvent":"CHANGE_SORT","tabs":"@config.sortOptions","type":"tabs"},{"entity":"@entity.reviews","fields":[],"gap":"md","renderItem":["fn","review",{"children":[{"children":[{"align":"center","children":[{"name":"@review.avatarIcon","type":"icon"},{"content":"@review.authorName","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"warning","name":"star","type":"icon"},{"content":"@review.rating","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@review.createdAt","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@review.comment","type":"typography","variant":"body"},{"align":"center","children":[{"action":"MARK_HELPFUL","actionPayload":{"id":"@review.id"},"icon":"thumbs-up","label":"Helpful","type":"button","variant":"ghost"},{"color":"muted","content":"@review.helpful","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"viewing","to":"viewing","event":"CHANGE_SORT","eventId":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","guard":["=","@payload.tabId","recent"],"effects":[["set","@entity.currentSort","recent"],["set","@entity.reviews",["array/sort","@entity.reviewsSource","createdAt","desc"]],["render-ui","main",{"children":[{"align":"center","children":[{"children":[{"align":"center","children":[{"name":"star","size":"lg","type":"icon"},{"content":"Reviews","type":"typography","variant":"h3"},{"color":"muted","content":"·","type":"typography"},{"content":"@entity.averageRating","type":"typography","variant":"h3"},{"color":"warning","name":"star","type":"icon"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@entity.totalReviews","type":"typography","variant":"h4"},{"color":"muted","content":"reviews","type":"typography","variant":"h4"}],"direction":"horizontal","gap":"sm","type":"stack"},{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"},{"action":"WRITE_REVIEW","icon":"edit","label":"@config.writeLabel","type":"button","variant":"primary"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},{"children":[{"children":[{"content":"Rating distribution","type":"typography","variant":"h4"},{"entity":"@entity.starDistribution","fields":[],"gap":"sm","renderItem":["fn","bar",{"align":"center","children":[{"content":"@bar.label","type":"typography","variant":"caption"},{"max":100,"type":"progress-bar","value":"@bar.percentage","variant":"primary"},{"color":"muted","content":"@bar.percentage","type":"typography","variant":"caption"},{"color":"muted","content":"%","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"md","type":"stack"}],"type":"data-list"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"activeTab":"@entity.currentSort","tabChangeEvent":"CHANGE_SORT","tabs":"@config.sortOptions","type":"tabs"},{"entity":"@entity.reviews","fields":[],"gap":"md","renderItem":["fn","review",{"children":[{"children":[{"align":"center","children":[{"name":"@review.avatarIcon","type":"icon"},{"content":"@review.authorName","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"warning","name":"star","type":"icon"},{"content":"@review.rating","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@review.createdAt","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@review.comment","type":"typography","variant":"body"},{"align":"center","children":[{"action":"MARK_HELPFUL","actionPayload":{"id":"@review.id"},"icon":"thumbs-up","label":"Helpful","type":"button","variant":"ghost"},{"color":"muted","content":"@review.helpful","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"viewing","to":"viewing","event":"MARK_HELPFUL","eventId":"evt_NH1PJJJ7MN3TAM6BWF1W3KH3DJ","effects":[["set","@entity.reviews",["array/map","@entity.reviews",["fn","row",["if",["=",["object/get","@row","id",""],"@payload.id"],["object/merge","@row",{"helpful":["+",["object/get","@row","helpful",0],1]}],"@row"]]]],["set","@entity.reviewsSource",["array/map","@entity.reviewsSource",["fn","row",["if",["=",["object/get","@row","id",""],"@payload.id"],["object/merge","@row",{"helpful":["+",["object/get","@row","helpful",0],1]}],"@row"]]]],["render-ui","main",{"children":[{"align":"center","children":[{"children":[{"align":"center","children":[{"name":"star","size":"lg","type":"icon"},{"content":"Reviews","type":"typography","variant":"h3"},{"color":"muted","content":"·","type":"typography"},{"content":"@entity.averageRating","type":"typography","variant":"h3"},{"color":"warning","name":"star","type":"icon"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@entity.totalReviews","type":"typography","variant":"h4"},{"color":"muted","content":"reviews","type":"typography","variant":"h4"}],"direction":"horizontal","gap":"sm","type":"stack"},{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"}],"direction":"vertical","gap":"xs","type":"stack"},{"action":"WRITE_REVIEW","icon":"edit","label":"@config.writeLabel","type":"button","variant":"primary"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},{"children":[{"children":[{"content":"Rating distribution","type":"typography","variant":"h4"},{"entity":"@entity.starDistribution","fields":[],"gap":"sm","renderItem":["fn","bar",{"align":"center","children":[{"content":"@bar.label","type":"typography","variant":"caption"},{"max":100,"type":"progress-bar","value":"@bar.percentage","variant":"primary"},{"color":"muted","content":"@bar.percentage","type":"typography","variant":"caption"},{"color":"muted","content":"%","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"md","type":"stack"}],"type":"data-list"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"},{"activeTab":"@entity.currentSort","tabChangeEvent":"CHANGE_SORT","tabs":"@config.sortOptions","type":"tabs"},{"entity":"@entity.reviews","fields":[],"gap":"md","renderItem":["fn","review",{"children":[{"children":[{"align":"center","children":[{"name":"@review.avatarIcon","type":"icon"},{"content":"@review.authorName","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"warning","name":"star","type":"icon"},{"content":"@review.rating","type":"typography","weight":"bold"},{"color":"muted","content":"·","type":"typography"},{"color":"muted","content":"@review.createdAt","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"},{"content":"@review.comment","type":"typography","variant":"body"},{"align":"center","children":[{"action":"MARK_HELPFUL","actionPayload":{"id":"@review.id"},"icon":"thumbs-up","label":"Helpful","type":"button","variant":"ghost"},{"color":"muted","content":"@review.helpful","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"sm","type":"stack"}],"direction":"vertical","gap":"sm","type":"stack"}],"look":"@config.cardLook","type":"card"}],"type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"composing","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"composing","to":"composing","event":"RATE_DRAFT","eventId":"evt_1P2MYVR1560JKDYYSNZMZB04SD","effects":[["set","@entity.draftRating","@payload.value"],["render-ui","main",{"children":[{"align":"center","children":[{"action":"CANCEL_REVIEW","icon":"arrow-left","label":"Back","type":"button","variant":"ghost"},{"name":"edit","size":"lg","type":"icon"},{"content":"Write a review","type":"typography","variant":"h3"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[{"children":[{"color":"muted","content":"@config.subjectTitle","type":"typography","variant":"caption"},{"content":"How would you rate it?","type":"typography","variant":"h4"},{"action":"RATE_DRAFT","max":5,"label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"content":"Share more details (optional)","type":"typography","variant":"h4"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":"@config.reviewFields","mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"composing","to":"submitting","event":"SUBMIT_REVIEW","eventId":"evt_ZQCES9D9ETMQDDANEC9WEVVEWD","effects":[["persist","create","ReviewView",{"comment":"@entity.draftComment","rating":"@entity.draftRating"},{"emit":{"failure":"ReviewSaveFailed","success":"ReviewSaved"}}],["render-ui","main",{"align":"center","children":[{"name":"send","size":"lg","type":"icon"},{"content":"Submitting your review…","type":"typography","variant":"h3"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"composing","to":"viewing","event":"CANCEL_REVIEW","eventId":"evt_PKR7AJ7WPRYBC8Z0XMNN4A0MWM","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"title":"Returning…","type":"loading-state"}]]},{"from":"submitting","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"submitting","to":"submitted","event":"ReviewSaved","eventId":"evt_1PA6TDRGDS86WKBQASH90VG09X","effects":[["render-ui","main",{"align":"center","children":[{"name":"check-circle","size":"xl","type":"icon"},{"align":"center","content":"Thanks for your review!","type":"typography","variant":"h2"},{"align":"center","color":"muted","content":"It will appear on the page shortly.","type":"typography","variant":"body"},{"action":"RESTART","icon":"arrow-left","label":"Back to reviews","type":"button","variant":"primary"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"submitting","to":"error","event":"ReviewSaveFailed","eventId":"evt_4NSDV9D0F0G7GD965DCWVAVFDY","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Submit failed","type":"error-state"}]]},{"from":"submitted","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"submitted","to":"loading","event":"RESTART","eventId":"evt_K9KP5D3XPZYVFV5DEWDZ9T6GE6","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]},{"from":"error","to":"loading","event":"INIT","eventId":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","effects":[["fetch","ReviewView",{"emit":{"failure":"ReviewsLoadFailed","success":"ReviewsLoaded"}}],["render-ui","main",{"type":"stack","direction":"vertical","gap":"lg","children":[{"type":"skeleton","variant":"header"},{"type":"skeleton","variant":"card"},{"type":"skeleton","variant":"list","rows":6}]}]]}]},"config":{"submitLabel":{"type":"string","default":"Submit review","label":"Submit button","description":"Label on the primary submit-review button","tier":"presentation"},"subjectTitle":{"type":"string","default":"Bali Sunset Villa · 3 nights","label":"Subject title","description":"Name of the item being reviewed (shown in the header)","tier":"presentation"},"sortOptions":{"type":"[SortOption]","default":[{"icon":"clock","id":"recent","label":"Most recent"},{"icon":"star","id":"highest","label":"Top rated"},{"icon":"trending-down","id":"lowest","label":"Lowest"}],"label":"Sort tabs","description":"Sort modes shown as tabs above the reviews list","tier":"presentation","items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":true},"id":{"name":"id","type":"string","required":true},"icon":{"name":"icon","type":"string","required":false}}}},"writeLabel":{"type":"string","default":"Write a review","label":"Write CTA","description":"Label on the call-to-action that opens the compose form","tier":"presentation"},"cancelLabel":{"type":"string","default":"Cancel","label":"Cancel button","description":"Label on the cancel button inside the compose form","tier":"presentation"},"cardLook":{"type":"string","default":"elevated","label":"Card look","description":"Layer 2 visual treatment for cards rendered by this atom.","tier":"presentation","values":["elevated","flat-bordered","borderless-divider","ticket","invoice","chip","tile-image-first"]},"reviewFields":{"type":"[string]","default":["draftComment"],"label":"Review form fields","description":"Inputs shown in the review compose form","tier":"presentation","items":{"type":"string"}},"starDistribution":{"type":"[StarBucket]","default":[{"label":"5 stars","percentage":74},{"label":"4 stars","percentage":18},{"label":"3 stars","percentage":5},{"label":"2 stars","percentage":2},{"label":"1 star","percentage":1}],"label":"Star bars","description":"Per-star distribution displayed as horizontal progress bars","tier":"presentation","items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":true},"percentage":{"name":"percentage","type":"number","required":true}}}}},"scope":"instance"},{"name":"RatingReviewSubmit","id":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC","effectRow":[{"kind":"persist","resource":"ReviewView"},{"kind":"render-ui","resource":"main"},{"kind":"set","resource":"@entity.draftComment"},{"kind":"set","resource":"@entity.draftRating"},{"kind":"set","resource":"@entity.errorMessage"}],"category":"interaction","linkedEntity":"ReviewView","linkedEntityId":"ent_K4BYNMNNZ9TZMW52CNHM446Q50","entityRefIds":{"ReviewView":"ent_K4BYNMNNZ9TZMW52CNHM446Q50"},"emits":[{"event":"RATE_DRAFT","eventId":"evt_ZTWBX4D0SFGCQYQ33N9F9VGPQW","description":"Signals a review draft has been created or updated.","synonyms":"draft, save, pending","tier":"presentation","payloadSchema":[{"name":"value","type":"number"}]},{"event":"SUBMIT_REVIEW","eventId":"evt_0R9RG47W7JY3S0M2WJEMKXNMJT","description":"Signals a review has been successfully submitted.","synonyms":"saved, posted, sent","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}]},{"event":"CANCEL_REVIEW","eventId":"evt_7MAQP38C2N61AJJ69MAKCCXH4A","description":"Aborts the review composition process.","synonyms":"discard, abandon, close, revert","tier":"presentation"},{"event":"RESTART","eventId":"evt_5E2MXGF32THHD3MCVBZ9SXBBFM","description":"Triggers a refresh of the review data and UI.","synonyms":"refresh, reload, reset","tier":"internal"},{"event":"ReviewSaved","eventId":"evt_B1EQQC07GV3RDXGQQ89FZ0E06J","description":"Indicates a review has been successfully stored.","synonyms":"saved, persisted, updated","tier":"presentation","scope":"internal","payloadSchema":[{"name":"id","type":"string","required":true},{"name":"reviews","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"reviewsSource","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"totalReviews","type":"number"},{"name":"averageRating","type":"number"},{"name":"starDistribution","type":"[object]","properties":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number"}]},{"name":"currentSort","type":"string","values":["recent","highest","lowest"]},{"name":"draftRating","type":"number"},{"name":"draftComment","type":"string"},{"name":"errorMessage","type":"string"}],"payloadEntity":"ReviewView"},{"event":"ReviewSaveFailed","eventId":"evt_C208W31Y3HZ1RJBRN5G7S309CN","description":"Indicates a review save operation failed.","synonyms":"failed, error, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}]}],"stateMachine":{"states":[{"name":"composing","isInitial":true},{"name":"submitting"},{"name":"submitted"},{"name":"error"}],"events":[{"key":"INIT","id":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","name":"Initialize"},{"key":"RATE_DRAFT","id":"evt_ZTWBX4D0SFGCQYQ33N9F9VGPQW","name":"Rate Draft","description":"Signals a review draft has been created or updated.","synonyms":"draft, save, pending","tier":"presentation","payloadSchema":[{"name":"value","type":"number"}],"listened":true},{"key":"SUBMIT_REVIEW","id":"evt_0R9RG47W7JY3S0M2WJEMKXNMJT","name":"Submit Review","description":"Signals a review has been successfully submitted.","synonyms":"saved, posted, sent","tier":"domain","payloadSchema":[{"name":"data","type":"@entity","required":true}],"listened":true},{"key":"CANCEL_REVIEW","id":"evt_7MAQP38C2N61AJJ69MAKCCXH4A","name":"Cancel Review","description":"Aborts the review composition process.","synonyms":"discard, abandon, close, revert","tier":"presentation","listened":true},{"key":"ReviewSaved","id":"evt_B1EQQC07GV3RDXGQQ89FZ0E06J","name":"Review saved","description":"Indicates a review has been successfully stored.","synonyms":"saved, persisted, updated","tier":"presentation","payloadSchema":[{"name":"id","type":"string","required":true},{"name":"reviews","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"reviewsSource","type":"[object]","properties":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}]},{"name":"totalReviews","type":"number"},{"name":"averageRating","type":"number"},{"name":"starDistribution","type":"[object]","properties":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number"}]},{"name":"currentSort","type":"string","values":["recent","highest","lowest"]},{"name":"draftRating","type":"number"},{"name":"draftComment","type":"string"},{"name":"errorMessage","type":"string"}],"payloadEntity":"ReviewView","listened":true},{"key":"ReviewSaveFailed","id":"evt_C208W31Y3HZ1RJBRN5G7S309CN","name":"Review save failed","description":"Indicates a review save operation failed.","synonyms":"failed, error, unsuccessful","tier":"internal","payloadSchema":[{"name":"error","type":"string"},{"name":"code","type":"string"}],"listened":true},{"key":"RESTART","id":"evt_5E2MXGF32THHD3MCVBZ9SXBBFM","name":"Restart","description":"Triggers a refresh of the review data and UI.","synonyms":"refresh, reload, reset","tier":"internal","listened":true}],"transitions":[{"from":"composing","to":"composing","event":"INIT","eventId":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"composing","to":"composing","event":"RATE_DRAFT","eventId":"evt_ZTWBX4D0SFGCQYQ33N9F9VGPQW","effects":[["set","@entity.draftRating","@payload.value"],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"composing","to":"submitting","event":"SUBMIT_REVIEW","eventId":"evt_0R9RG47W7JY3S0M2WJEMKXNMJT","effects":[["persist","create","ReviewView",{"comment":"@entity.draftComment","rating":"@entity.draftRating"},{"emit":{"failure":"ReviewSaveFailed","success":"ReviewSaved"}}],["render-ui","main",{"align":"center","children":[{"name":"send","size":"lg","type":"icon"},{"content":"Submitting…","type":"typography","variant":"h3"}],"direction":"vertical","gap":"md","type":"stack"}]]},{"from":"composing","to":"composing","event":"CANCEL_REVIEW","eventId":"evt_7MAQP38C2N61AJJ69MAKCCXH4A","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":0},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"submitting","to":"composing","event":"INIT","eventId":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"submitting","to":"submitted","event":"ReviewSaved","eventId":"evt_B1EQQC07GV3RDXGQQ89FZ0E06J","effects":[["render-ui","main",{"align":"center","children":[{"name":"check-circle","size":"xl","type":"icon"},{"content":"Thanks for your review!","type":"typography","variant":"h2"},{"action":"RESTART","icon":"plus","label":"Write another review","type":"button","variant":"primary"}],"direction":"vertical","gap":"lg","type":"stack"}]]},{"from":"submitting","to":"error","event":"ReviewSaveFailed","eventId":"evt_C208W31Y3HZ1RJBRN5G7S309CN","effects":[["set","@entity.errorMessage","@payload.error"],["render-ui","main",{"message":"@entity.errorMessage","title":"Submit failed","type":"error-state"}]]},{"from":"submitted","to":"composing","event":"INIT","eventId":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"submitted","to":"composing","event":"RESTART","eventId":"evt_5E2MXGF32THHD3MCVBZ9SXBBFM","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":0},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"error","to":"composing","event":"INIT","eventId":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","effects":[["set","@entity.draftRating",0],["set","@entity.draftComment",""],["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":"@entity.draftRating"},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]},{"from":"error","to":"composing","event":"RESTART","eventId":"evt_5E2MXGF32THHD3MCVBZ9SXBBFM","effects":[["render-ui","main",{"children":[{"children":[{"content":"@config.title","type":"typography","variant":"h3"},{"action":"RATE_DRAFT","max":"@config.maxStars","label":"Your rating","type":"star-rating","value":0},{"cancelEvent":"CANCEL_REVIEW","entity":"@entity","fields":["if","@config.allowComment",["draftComment"],[]],"mode":"edit","submitEvent":"SUBMIT_REVIEW","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","type":"form-section"}],"direction":"vertical","gap":"md","type":"stack"}],"look":"@config.cardLook","type":"card"}]]}]},"config":{"submitLabel":{"type":"string","default":"Submit review","label":"Submit button","description":"Label on the primary submit button","tier":"presentation"},"maxStars":{"type":"number","default":5,"label":"Max stars","description":"Top of the rating scale (typically 5)","tier":"domain"},"allowComment":{"type":"boolean","default":true,"label":"Allow comment","description":"Show a free-text comment field below the stars","tier":"presentation"},"title":{"type":"string","default":"Write a review","label":"Form title","description":"Heading shown above the review compose form","tier":"presentation"},"cardLook":{"type":"string","default":"elevated","label":"Card look","description":"Visual style of the wrapper card. Layer 2 cardLook knob — render-ui references @config.cardLook on the compose card.","tier":"presentation","values":["elevated","flat-bordered","borderless-divider","ticket","invoice","chip","tile-image-first"]},"cancelLabel":{"type":"string","default":"Cancel","label":"Cancel button","description":"Label on the cancel button","tier":"presentation"}},"scope":"instance"},{"name":"RatingReviewPageNav","id":"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB","effectRow":[{"kind":"navigate","resource":"/reviews/new"},{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"ReviewView","linkedEntityId":"ent_K4BYNMNNZ9TZMW52CNHM446Q50","entityRefIds":{"ReviewView":"ent_K4BYNMNNZ9TZMW52CNHM446Q50"},"emits":[{"event":"OPEN_REVIEW_FORM","eventId":"evt_BWKPYRZ6CWK6E3C9CF3EZ5T400","description":"Opens the standalone review-submission page.","synonyms":"open form, new page, direct link","tier":"presentation"}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_52FFV52JP39B1WMXQE15HHAA83","name":"Initialize"},{"key":"OPEN_REVIEW_FORM","id":"evt_BWKPYRZ6CWK6E3C9CF3EZ5T400","name":"Open Review Form","description":"Opens the standalone review-submission page.","synonyms":"open form, new page, direct link","tier":"presentation","listened":true}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_52FFV52JP39B1WMXQE15HHAA83","effects":[["render-ui","main",{"action":"OPEN_REVIEW_FORM","icon":"external-link","label":"Open review form","type":"button","variant":"ghost"}]]},{"from":"ready","to":"ready","event":"OPEN_REVIEW_FORM","eventId":"evt_BWKPYRZ6CWK6E3C9CF3EZ5T400","effects":[["navigate","/reviews/new"]]}]},"scope":"instance"}],"pages":[{"name":"RatingReviewPage","id":"pag_AHE0D4WTZFDFQZCX7XAKXXTZBR","path":"/reviews","traits":[{"ref":"RatingReviewBoard","refId":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},{"ref":"RatingReviewPageNav","refId":"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB"}]},{"name":"RatingReviewSubmitPage","id":"pag_8A204BJ7NY3TZ8X530X4EJRGKZ","path":"/reviews/new","traits":[{"ref":"RatingReviewSubmit","refId":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"}]}],"types":{"ObjectSpec":[{"name":"id","type":"string"},{"name":"label","type":"string"},{"name":"value","type":"string"}],"ReviewRow":[{"name":"id","type":"string","required":true},{"name":"rating","type":"number"},{"name":"comment","type":"string"},{"name":"authorName","type":"string"},{"name":"avatarIcon","type":"string"},{"name":"createdAt","type":"string"},{"name":"helpful","type":"number"}],"SortOption":[{"name":"id","type":"string","required":true},{"name":"label","type":"string","required":true},{"name":"icon","type":"string"}],"StarBar":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number"}],"StarBucket":[{"name":"label","type":"string","required":true},{"name":"percentage","type":"number","required":true}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_K4BYNMNNZ9TZMW52CNHM446Q50":{"id":"ent_K4BYNMNNZ9TZMW52CNHM446Q50","kind":"entity","bakedName":"ReviewView","curName":"ReviewView","renames":[],"owner":"workspace"},"evt_0R9RG47W7JY3S0M2WJEMKXNMJT":{"id":"evt_0R9RG47W7JY3S0M2WJEMKXNMJT","kind":"event","bakedName":"SUBMIT_REVIEW","curName":"SUBMIT_REVIEW","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_1AJAKGPPRSBCCQYFS64DJHW6KG":{"id":"evt_1AJAKGPPRSBCCQYFS64DJHW6KG","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_1P2MYVR1560JKDYYSNZMZB04SD":{"id":"evt_1P2MYVR1560JKDYYSNZMZB04SD","kind":"event","bakedName":"RATE_DRAFT","curName":"RATE_DRAFT","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_1PA6TDRGDS86WKBQASH90VG09X":{"id":"evt_1PA6TDRGDS86WKBQASH90VG09X","kind":"event","bakedName":"ReviewSaved","curName":"ReviewSaved","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_2NMJPS7BSMNWT0493768EEDREC":{"id":"evt_2NMJPS7BSMNWT0493768EEDREC","kind":"event","bakedName":"ReviewsLoadFailed","curName":"ReviewsLoadFailed","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_4NSDV9D0F0G7GD965DCWVAVFDY":{"id":"evt_4NSDV9D0F0G7GD965DCWVAVFDY","kind":"event","bakedName":"ReviewSaveFailed","curName":"ReviewSaveFailed","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_52FFV52JP39B1WMXQE15HHAA83":{"id":"evt_52FFV52JP39B1WMXQE15HHAA83","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB"},"evt_5DDRJXAN7SAKWX4FZFT7BT30VZ":{"id":"evt_5DDRJXAN7SAKWX4FZFT7BT30VZ","kind":"event","bakedName":"ReviewsLoaded","curName":"ReviewsLoaded","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_5E2MXGF32THHD3MCVBZ9SXBBFM":{"id":"evt_5E2MXGF32THHD3MCVBZ9SXBBFM","kind":"event","bakedName":"RESTART","curName":"RESTART","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_7MAQP38C2N61AJJ69MAKCCXH4A":{"id":"evt_7MAQP38C2N61AJJ69MAKCCXH4A","kind":"event","bakedName":"CANCEL_REVIEW","curName":"CANCEL_REVIEW","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_B1EQQC07GV3RDXGQQ89FZ0E06J":{"id":"evt_B1EQQC07GV3RDXGQQ89FZ0E06J","kind":"event","bakedName":"ReviewSaved","curName":"ReviewSaved","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_BWKPYRZ6CWK6E3C9CF3EZ5T400":{"id":"evt_BWKPYRZ6CWK6E3C9CF3EZ5T400","kind":"event","bakedName":"OPEN_REVIEW_FORM","curName":"OPEN_REVIEW_FORM","renames":[],"owner":"workspace","parent":"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB"},"evt_C208W31Y3HZ1RJBRN5G7S309CN":{"id":"evt_C208W31Y3HZ1RJBRN5G7S309CN","kind":"event","bakedName":"ReviewSaveFailed","curName":"ReviewSaveFailed","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_EMJE9JXD0YPGFDDY3JTCH1W54C":{"id":"evt_EMJE9JXD0YPGFDDY3JTCH1W54C","kind":"event","bakedName":"CHANGE_SORT","curName":"CHANGE_SORT","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH":{"id":"evt_GBYJW6VJH8S8MDZKSWBS0Y88FH","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"evt_K9KP5D3XPZYVFV5DEWDZ9T6GE6":{"id":"evt_K9KP5D3XPZYVFV5DEWDZ9T6GE6","kind":"event","bakedName":"RESTART","curName":"RESTART","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_NH1PJJJ7MN3TAM6BWF1W3KH3DJ":{"id":"evt_NH1PJJJ7MN3TAM6BWF1W3KH3DJ","kind":"event","bakedName":"MARK_HELPFUL","curName":"MARK_HELPFUL","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_PKR7AJ7WPRYBC8Z0XMNN4A0MWM":{"id":"evt_PKR7AJ7WPRYBC8Z0XMNN4A0MWM","kind":"event","bakedName":"CANCEL_REVIEW","curName":"CANCEL_REVIEW","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_Z0H6CBXZSHZWRXM2JJ3D3Q8SVR":{"id":"evt_Z0H6CBXZSHZWRXM2JJ3D3Q8SVR","kind":"event","bakedName":"WRITE_REVIEW","curName":"WRITE_REVIEW","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_ZQCES9D9ETMQDDANEC9WEVVEWD":{"id":"evt_ZQCES9D9ETMQDDANEC9WEVVEWD","kind":"event","bakedName":"SUBMIT_REVIEW","curName":"SUBMIT_REVIEW","renames":[],"owner":"workspace","parent":"trt_F7GANPPTY9DF4XG50D9H98S9EN"},"evt_ZTWBX4D0SFGCQYQ33N9F9VGPQW":{"id":"evt_ZTWBX4D0SFGCQYQ33N9F9VGPQW","kind":"event","bakedName":"RATE_DRAFT","curName":"RATE_DRAFT","renames":[],"owner":"workspace","parent":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC"},"orb_X1YKEC2MN2AAH0MZG9CNN1DXKX":{"id":"orb_X1YKEC2MN2AAH0MZG9CNN1DXKX","kind":"orbital","bakedName":"RatingReviewOrbital","curName":"RatingReviewOrbital","renames":[],"owner":"workspace"},"pag_8A204BJ7NY3TZ8X530X4EJRGKZ":{"id":"pag_8A204BJ7NY3TZ8X530X4EJRGKZ","kind":"page","bakedName":"RatingReviewSubmitPage","curName":"RatingReviewSubmitPage","renames":[],"owner":"workspace"},"pag_AHE0D4WTZFDFQZCX7XAKXXTZBR":{"id":"pag_AHE0D4WTZFDFQZCX7XAKXXTZBR","kind":"page","bakedName":"RatingReviewPage","curName":"RatingReviewPage","renames":[],"owner":"workspace"},"trt_5PQGPNYDAC6N6E5W4KME5WYCRC":{"id":"trt_5PQGPNYDAC6N6E5W4KME5WYCRC","kind":"trait","bakedName":"RatingReviewSubmit","curName":"RatingReviewSubmit","renames":[],"owner":"workspace"},"trt_F7GANPPTY9DF4XG50D9H98S9EN":{"id":"trt_F7GANPPTY9DF4XG50D9H98S9EN","kind":"trait","bakedName":"RatingReviewBoard","curName":"RatingReviewBoard","renames":[],"owner":"workspace"},"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB":{"id":"trt_J7D0J3QZYQZZBJ2EBVE3FNTJFB","kind":"trait","bakedName":"RatingReviewPageNav","curName":"RatingReviewPageNav","renames":[],"owner":"workspace"}}}}
|