@mbehenri/openmrs-esm-opentms-meet-app 1.0.1 → 1.0.2

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 (100) hide show
  1. package/.eslintrc +1 -1
  2. package/.husky/pre-commit +2 -2
  3. package/.husky/pre-push +0 -0
  4. package/.turbo.json +1 -1
  5. package/README.md +25 -14
  6. package/__mocks__/react-i18next.js +9 -14
  7. package/dist/147.js +1 -0
  8. package/dist/147.js.map +1 -0
  9. package/dist/184.js +2 -0
  10. package/dist/184.js.LICENSE.txt +14 -0
  11. package/dist/184.js.map +1 -0
  12. package/dist/197.js +1 -0
  13. package/dist/23.js +1 -0
  14. package/dist/23.js.map +1 -0
  15. package/dist/26.js +1 -0
  16. package/dist/26.js.map +1 -0
  17. package/dist/282.js +2 -0
  18. package/dist/282.js.LICENSE.txt +32 -0
  19. package/dist/282.js.map +1 -0
  20. package/dist/300.js +1 -0
  21. package/dist/335.js +1 -0
  22. package/dist/353.js +1 -0
  23. package/dist/353.js.map +1 -0
  24. package/dist/471.js +1 -0
  25. package/dist/471.js.map +1 -0
  26. package/dist/509.js +2 -0
  27. package/dist/509.js.LICENSE.txt +54 -0
  28. package/dist/509.js.map +1 -0
  29. package/dist/51.js +1 -0
  30. package/dist/51.js.map +1 -0
  31. package/dist/540.js +2 -0
  32. package/dist/540.js.LICENSE.txt +9 -0
  33. package/dist/540.js.map +1 -0
  34. package/dist/55.js +1 -0
  35. package/dist/652.js +1 -0
  36. package/dist/739.js +1 -0
  37. package/dist/739.js.map +1 -0
  38. package/dist/740.js +1 -0
  39. package/dist/740.js.map +1 -0
  40. package/dist/852.js +1 -0
  41. package/dist/852.js.map +1 -0
  42. package/dist/897.js +2 -0
  43. package/dist/897.js.LICENSE.txt +24 -0
  44. package/dist/897.js.map +1 -0
  45. package/dist/91.js +1 -0
  46. package/dist/91.js.map +1 -0
  47. package/dist/961.js +2 -0
  48. package/dist/961.js.LICENSE.txt +19 -0
  49. package/dist/961.js.map +1 -0
  50. package/dist/99.js +1 -0
  51. package/dist/b8b28cec32e885bb.png +0 -0
  52. package/dist/main.js +1 -0
  53. package/dist/main.js.map +1 -0
  54. package/dist/openmrs-esm-opentms-meet-app.js +1 -0
  55. package/dist/openmrs-esm-opentms-meet-app.js.buildmanifest.json +678 -0
  56. package/dist/openmrs-esm-opentms-meet-app.js.map +1 -0
  57. package/dist/routes.json +1 -0
  58. package/e2e/core/global-setup.ts +8 -8
  59. package/e2e/core/index.ts +1 -1
  60. package/e2e/core/test.ts +3 -3
  61. package/e2e/fixtures/api.ts +2 -9
  62. package/e2e/fixtures/index.ts +1 -1
  63. package/e2e/pages/index.ts +1 -1
  64. package/e2e/pages/root-page.ts +32 -0
  65. package/e2e/specs/template-app.spec.ts +23 -0
  66. package/e2e/support/github/Dockerfile +1 -1
  67. package/e2e/support/github/docker-compose.yml +2 -2
  68. package/e2e/support/github/run-e2e-docker-env.sh +13 -25
  69. package/jest.config.js +19 -17
  70. package/package.json +44 -45
  71. package/playwright.config.ts +9 -11
  72. package/prettier.config.js +8 -0
  73. package/src/components/Appointment/index.scss +1 -1
  74. package/src/components/Demand/tab.scss +1 -1
  75. package/src/components/EmptyLayout/index.scss +1 -1
  76. package/src/config-schema.ts +5 -5
  77. package/src/extensions/AppointmentTabExt.tsx +17 -0
  78. package/src/{Extensions → extensions}/DemandTabExt.tsx +2 -2
  79. package/src/{Extensions → extensions}/MeetIframeExt.tsx +2 -2
  80. package/src/{Extensions → extensions}/ValidateDemandFormExt.tsx +5 -6
  81. package/src/index.ts +10 -30
  82. package/src/pages/home/home.component.tsx +2 -2
  83. package/src/root.component.tsx +8 -19
  84. package/src/root.scss +5 -5
  85. package/src/root.test.tsx +9 -14
  86. package/src/routes.json +6 -11
  87. package/{i18next-parser.config.js → tools/i18next-parser.config.js} +19 -19
  88. package/tools/setup-tests.ts +1 -0
  89. package/tools/update-openmrs-deps.mjs +43 -0
  90. package/translations/am.json +24 -0
  91. package/translations/en.json +24 -1
  92. package/tsconfig.json +1 -1
  93. package/webpack.config.js +1 -1
  94. package/.yarn/install-state.gz +0 -0
  95. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
  96. package/.yarn/releases/yarn-3.6.1.cjs +0 -874
  97. package/.yarnrc.yml +0 -9
  98. package/e2e/pages/home-page.ts +0 -9
  99. package/e2e/specs/sample-test.spec.ts +0 -11
  100. package/src/Extensions/AppointmentTabExt.tsx +0 -23
package/.yarnrc.yml DELETED
@@ -1,9 +0,0 @@
1
- nodeLinker: node-modules
2
-
3
- plugins:
4
- - path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
5
- spec: "https://mskelton.dev/yarn-outdated/v3"
6
- - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
7
- spec: "@yarnpkg/plugin-interactive-tools"
8
-
9
- yarnPath: .yarn/releases/yarn-3.6.1.cjs
@@ -1,9 +0,0 @@
1
- import { Page } from "@playwright/test";
2
-
3
- export class HomePage {
4
- constructor(readonly page: Page) {}
5
-
6
- async goto() {
7
- await this.page.goto(`home`);
8
- }
9
- }
@@ -1,11 +0,0 @@
1
- import test from "@playwright/test";
2
- import { HomePage } from "../pages";
3
- import { expect } from "@playwright/test";
4
-
5
- // This test is a sample E2E test. You can delete it.
6
-
7
- test("Sample test", async ({ page }) => {
8
- const homePage = new HomePage(page);
9
- await homePage.goto();
10
- await expect(homePage.page.getByRole("link", { name: "Home" })).toBeVisible();
11
- });
@@ -1,23 +0,0 @@
1
- import React from "react";
2
- import PatientAppointmentsBase from "../components/Appointment";
3
- import { usePatient } from "@openmrs/esm-framework";
4
-
5
- /* interface Props {} */
6
-
7
- const AppointmentTabExt: React.FC /* <Props> */ = () => {
8
- const { isLoading, patientUuid, error } = usePatient();
9
-
10
- return (
11
- <div>
12
- {isLoading ? (
13
- <span>...</span>
14
- ) : error ? (
15
- <span></span>
16
- ) : (
17
- <PatientAppointmentsBase patientUuid={patientUuid} />
18
- )}
19
- </div>
20
- );
21
- };
22
-
23
- export default AppointmentTabExt;