@reqquest/ui 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +8 -0
  2. package/dist/api.js +656 -111
  3. package/dist/components/AppRequestCard.svelte +172 -0
  4. package/dist/components/ApplicantProgramList.svelte +184 -0
  5. package/dist/components/ApplicantProgramListTooltip.svelte +22 -0
  6. package/dist/components/ApplicantPromptPage.svelte +88 -0
  7. package/dist/components/ApplicationDetailsView.svelte +307 -0
  8. package/dist/components/ButtonLoadingIcon.svelte +2 -1
  9. package/dist/components/FieldCardCheckbox.svelte +328 -0
  10. package/dist/components/FieldCardRadio.svelte +320 -0
  11. package/dist/components/IntroPanel.svelte +41 -0
  12. package/dist/components/PeriodPanel.svelte +100 -0
  13. package/dist/components/QuestionnairePrompt.svelte +36 -0
  14. package/dist/components/RenderDisplayComponent.svelte +38 -0
  15. package/dist/components/ReviewerList.svelte +93 -0
  16. package/dist/components/StatusMessageList.svelte +35 -0
  17. package/dist/components/WarningIconYellow.svelte +20 -0
  18. package/dist/components/index.js +11 -0
  19. package/dist/components/types.js +1 -0
  20. package/dist/csv.js +21 -0
  21. package/dist/index.js +2 -0
  22. package/dist/status-utils.js +343 -0
  23. package/dist/stores/IStateStore.js +0 -1
  24. package/dist/typed-client/schema.graphql +564 -124
  25. package/dist/typed-client/schema.js +87 -23
  26. package/dist/typed-client/types.js +919 -454
  27. package/dist/util.js +12 -1
  28. package/package.json +39 -40
  29. package/dist/api.d.ts +0 -595
  30. package/dist/components/ButtonLoadingIcon.svelte.d.ts +0 -18
  31. package/dist/components/index.d.ts +0 -1
  32. package/dist/index.d.ts +0 -4
  33. package/dist/registry.d.ts +0 -138
  34. package/dist/stores/IStateStore.d.ts +0 -5
  35. package/dist/typed-client/index.d.ts +0 -25
  36. package/dist/typed-client/runtime/batcher.d.ts +0 -105
  37. package/dist/typed-client/runtime/createClient.d.ts +0 -17
  38. package/dist/typed-client/runtime/error.d.ts +0 -18
  39. package/dist/typed-client/runtime/fetcher.d.ts +0 -10
  40. package/dist/typed-client/runtime/generateGraphqlOperation.d.ts +0 -30
  41. package/dist/typed-client/runtime/index.d.ts +0 -11
  42. package/dist/typed-client/runtime/linkTypeMap.d.ts +0 -9
  43. package/dist/typed-client/runtime/typeSelection.d.ts +0 -28
  44. package/dist/typed-client/runtime/types.d.ts +0 -55
  45. package/dist/typed-client/schema.d.ts +0 -1483
  46. package/dist/typed-client/types.d.ts +0 -540
  47. package/dist/util.d.ts +0 -2
package/README.md CHANGED
@@ -1,3 +1,11 @@
1
1
  # ReqQuest UI Library
2
2
 
3
3
  This library provides a set of Svelte components and utilities for building ReqQuest projects. You'll especially find the `api` useful for creating graphQL queries. In the future we will provide a small component library to help you build your prompts.
4
+
5
+ # Developing
6
+
7
+ To develop the UI library, you'll want to work with the full demo, so `docker compose up --build` in the root of the repo. Similarly the test suite is combined with API tests, so run `./test.sh` in the root of the repo.
8
+
9
+ ## Custom Typed GraphQL Queries
10
+
11
+ We are using `genql` to generate typed queries for our GraphQL API. To regenerate the types, run `./genclient.sh` in the root of the repo, while the demo server is running. This will regenerate the `ui/src/lib/typed-client` folder. Never make local changes to that folder, as they will be overwritten the next time someone runs the genclient script.