or run

npx @tessl/cli init
Log in

Version

Files

docs

api-services.mdbase-classes.mdcomposables.mdconfiguration.mdindex.mdutilities.md
tile.json

rubric.jsonevals/scenario-3/

{
  "context": "Evaluates whether the solution uses PrimeVue's plugin and runtime config APIs to set global options (ripple, inputStyle, locale, zIndex, pt/unstyled) while installing the library correctly. It checks that locale and theme changes rely on PrimeVue's runtime helpers instead of remounting the app.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Plugin install",
      "description": "Registers the PrimeVue plugin from `primevue/config` on the app with options for `ripple: true`, `inputStyle: 'filled'`, a theme `preset`, and a custom `zIndex` map so overlays use the provided stack values.",
      "max_score": 20
    },
    {
      "name": "Locale init",
      "description": "Sets `config.locale` via PrimeVue options to override pagination/filter labels at install time, demonstrating the overrides through the UI or exposed config.",
      "max_score": 15
    },
    {
      "name": "Locale switch",
      "description": "Uses `usePrimeVue().config.locale` or `usePrimeVue().changeLocale` to swap locales at runtime without remounting, updating the same keys used in tests.",
      "max_score": 15
    },
    {
      "name": "Theme swap",
      "description": "Invokes `changeTheme` from `usePrimeVue` (passing a preset and link/selector id) to replace the active PrimeVue theme stylesheet while retaining `config.zIndex` values.",
      "max_score": 20
    },
    {
      "name": "Pass-through & unstyled",
      "description": "Configures `pt`/`ptOptions.mergeSections` or `mergeProps` plus `config.unstyled` to control pass-through classes and unstyled mode, toggling them through the provided helper.",
      "max_score": 15
    },
    {
      "name": "Config exposure",
      "description": "Exposes PrimeVue config via `usePrimeVue()` in the custom hook/module so consumers can read current `ripple`, `inputStyle`, `locale`, `theme`, and `unstyled` values.",
      "max_score": 15
    }
  ]
}