pat-shared-components 0.1.0-beta.1

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 (50) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +52 -0
  3. package/dist/favicon.ico +0 -0
  4. package/dist/index.es.js +54827 -0
  5. package/dist/index.umd.js +407 -0
  6. package/dist/style.css +1 -0
  7. package/dist/types/components/BasePlayground.vue.d.ts +2 -0
  8. package/dist/types/components/Shared/LoadingSkeleton.vue.d.ts +2 -0
  9. package/dist/types/components/Shared/NoItemsFound.vue.d.ts +36 -0
  10. package/dist/types/components/Shared/index.d.ts +2 -0
  11. package/dist/types/components/TestResult/CallUsFilledButton.vue.d.ts +2 -0
  12. package/dist/types/components/TestResult/CheckAnotherResultButton.vue.d.ts +4 -0
  13. package/dist/types/components/TestResult/CtaButton.vue.d.ts +22 -0
  14. package/dist/types/components/TestResult/Desktop/CallUsTextButton.vue.d.ts +2 -0
  15. package/dist/types/components/TestResult/Desktop/ResultReady.vue.d.ts +15 -0
  16. package/dist/types/components/TestResult/Mobile/BookingTab/BookingDetail/BookingDetail.vue.d.ts +25 -0
  17. package/dist/types/components/TestResult/Mobile/BookingTab/BookingDetail/BookingNumber.vue.d.ts +2 -0
  18. package/dist/types/components/TestResult/Mobile/BookingTab/BookingDetail/BookingPrescription.vue.d.ts +2 -0
  19. package/dist/types/components/TestResult/Mobile/BookingTab/BookingDetail/BookingSupport.vue.d.ts +2 -0
  20. package/dist/types/components/TestResult/Mobile/BookingTab/BookingDetail/DiagLogo.vue.d.ts +28 -0
  21. package/dist/types/components/TestResult/Mobile/BookingTab/BookingDetail/GetToDiag.vue.d.ts +4 -0
  22. package/dist/types/components/TestResult/Mobile/BookingTab/BookingDetail/PatientInfo.vue.d.ts +2 -0
  23. package/dist/types/components/TestResult/Mobile/BookingTab/BookingList.vue.d.ts +29 -0
  24. package/dist/types/components/TestResult/Mobile/BookingTab/BookingListItem.vue.d.ts +23 -0
  25. package/dist/types/components/TestResult/Mobile/MyProfile.vue.d.ts +25 -0
  26. package/dist/types/components/TestResult/Mobile/ResultTab/TestResultDetail/DoctorNote.vue.d.ts +28 -0
  27. package/dist/types/components/TestResult/Mobile/ResultTab/TestResultDetail/ResultOverview.vue.d.ts +23 -0
  28. package/dist/types/components/TestResult/Mobile/ResultTab/TestResultDetail/ResultReadyV2.vue.d.ts +23 -0
  29. package/dist/types/components/TestResult/Mobile/ResultTab/TestResultDetail/TestResultDetail.vue.d.ts +39 -0
  30. package/dist/types/components/TestResult/Mobile/ResultTab/TestResultList.vue.d.ts +30 -0
  31. package/dist/types/components/TestResult/Mobile/ResultTab/TestResultListItem.vue.d.ts +29 -0
  32. package/dist/types/components/TestResult/PatientFullInfo.vue.d.ts +27 -0
  33. package/dist/types/components/TestResult/PatientShortInfo.vue.d.ts +27 -0
  34. package/dist/types/components/TestResult/PatientShortInfoV2.vue.d.ts +22 -0
  35. package/dist/types/components/TestResult/PendingResult.vue.d.ts +11 -0
  36. package/dist/types/components/TestResult/RejectedResult.vue.d.ts +11 -0
  37. package/dist/types/components/TestResult/TestResultHistoryDetail.vue.d.ts +23 -0
  38. package/dist/types/components/TestResult/TestResultHistoryDetailModal.vue.d.ts +28 -0
  39. package/dist/types/components/TestResult/index.d.ts +19 -0
  40. package/dist/types/composables/Booking.d.ts +5 -0
  41. package/dist/types/constants/Common.d.ts +2 -0
  42. package/dist/types/constants/Enums.d.ts +10 -0
  43. package/dist/types/helpers/ComponentHelper.d.ts +2 -0
  44. package/dist/types/index.d.ts +11 -0
  45. package/dist/types/types/Booking.d.ts +73 -0
  46. package/dist/types/types/Common.d.ts +5 -0
  47. package/dist/types/types/TestResult.d.ts +8 -0
  48. package/dist/types/types/TestResultHistory.d.ts +22 -0
  49. package/dist/types/types/index.d.ts +4 -0
  50. package/package.json +79 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Diag
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # pat-shared-components
2
+
3
+ This template should help get you started developing with Vue 3 in Vite.
4
+
5
+ ## Recommended IDE Setup
6
+
7
+ [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
8
+
9
+ ## Type Support for `.vue` Imports in TS
10
+
11
+ TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
12
+
13
+ If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
14
+
15
+ 1. Disable the built-in TypeScript Extension
16
+ 1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
17
+ 2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
18
+ 2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
19
+
20
+ ## Customize configuration
21
+
22
+ See [Vite Configuration Reference](https://vitejs.dev/config/).
23
+
24
+ ## Project Setup
25
+
26
+ ```sh
27
+ npm install
28
+ ```
29
+
30
+ ### Compile and Hot-Reload for Development
31
+
32
+ ```sh
33
+ npm run dev
34
+ ```
35
+
36
+ ### Type-Check, Compile and Minify for Production
37
+
38
+ ```sh
39
+ npm run build
40
+ ```
41
+
42
+ ### Run Unit Tests with [Vitest](https://vitest.dev/)
43
+
44
+ ```sh
45
+ npm run test:unit
46
+ ```
47
+
48
+ ### Lint with [ESLint](https://eslint.org/)
49
+
50
+ ```sh
51
+ npm run lint
52
+ ```
Binary file