@eka-care/abdm-dashboard-stg 0.0.2 → 0.0.3

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 (51) hide show
  1. package/{index.html → dist/index.html} +2 -1
  2. package/dist/sdk/abdm/css/abdm.css +1 -0
  3. package/dist/sdk/abdm/js/abdm.js +1890 -0
  4. package/package.json +1 -1
  5. package/eslint.config.js +0 -23
  6. package/postcss.config.js +0 -6
  7. package/src/abdm-dashboard.tsx +0 -18
  8. package/src/app/store.ts +0 -15
  9. package/src/appointment-token-pdf/pdf-page1.tsx +0 -324
  10. package/src/appointment-token-pdf/pdf-page2.tsx +0 -346
  11. package/src/assets/react.svg +0 -1
  12. package/src/components/abha-metric.tsx +0 -322
  13. package/src/components/abha-workflows.tsx +0 -225
  14. package/src/components/automate-strip.tsx +0 -29
  15. package/src/components/cards/metric-card.tsx +0 -75
  16. package/src/components/cards/request-card.tsx +0 -23
  17. package/src/components/cards/request-cards.tsx +0 -24
  18. package/src/components/cards/workflow-card.tsx +0 -55
  19. package/src/components/custom/calendar.tsx +0 -59
  20. package/src/components/custom/switch.tsx +0 -32
  21. package/src/components/loader/abdm-dash-loader.tsx +0 -21
  22. package/src/components/loader/card-loader.tsx +0 -20
  23. package/src/components/modal/automateTaks-modal.tsx +0 -110
  24. package/src/components/modal/modal.tsx +0 -67
  25. package/src/components/modal/select-lang-modal.tsx +0 -38
  26. package/src/components/notification-header.tsx +0 -11
  27. package/src/config/runtime-config.ts +0 -3
  28. package/src/features/api/baseApi.ts +0 -24
  29. package/src/features/cardApis/cardApi.ts +0 -15
  30. package/src/features/landingApi/landingApi.ts +0 -20
  31. package/src/features/slice/landingApiSlice.ts +0 -49
  32. package/src/features/tasksApis/taskGetApi.ts +0 -12
  33. package/src/features/tasksApis/taskUpdateApi.ts +0 -15
  34. package/src/home.tsx +0 -132
  35. package/src/index.css +0 -297
  36. package/src/main.tsx +0 -164
  37. package/src/tailwind-theme-config/pds2/border.ts +0 -69
  38. package/src/tailwind-theme-config/pds2/colors.ts +0 -88
  39. package/src/tailwind-theme-config/pds2/spacing.ts +0 -1007
  40. package/src/types/pagify-sdk.d.ts +0 -17
  41. package/src/utils/constants.ts +0 -19
  42. package/src/utils/helpers.ts +0 -32
  43. package/tailwind.config.ts +0 -131
  44. package/tsconfig.app.json +0 -28
  45. package/tsconfig.json +0 -7
  46. package/tsconfig.node.json +0 -26
  47. package/vite.config.ts +0 -62
  48. /package/{public → dist}/headerImg.png +0 -0
  49. /package/{public → dist}/iphoneStep2.png +0 -0
  50. /package/{public → dist}/iphoneStep3.png +0 -0
  51. /package/{public → dist}/vite.svg +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/abdm-dashboard-stg",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
package/eslint.config.js DELETED
@@ -1,23 +0,0 @@
1
- import js from '@eslint/js'
2
- import globals from 'globals'
3
- import reactHooks from 'eslint-plugin-react-hooks'
4
- import reactRefresh from 'eslint-plugin-react-refresh'
5
- import tseslint from 'typescript-eslint'
6
- import { defineConfig, globalIgnores } from 'eslint/config'
7
-
8
- export default defineConfig([
9
- globalIgnores(['dist']),
10
- {
11
- files: ['**/*.{ts,tsx}'],
12
- extends: [
13
- js.configs.recommended,
14
- tseslint.configs.recommended,
15
- reactHooks.configs.flat.recommended,
16
- reactRefresh.configs.vite,
17
- ],
18
- languageOptions: {
19
- ecmaVersion: 2020,
20
- globals: globals.browser,
21
- },
22
- },
23
- ])
package/postcss.config.js DELETED
@@ -1,6 +0,0 @@
1
- export default {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- };
@@ -1,18 +0,0 @@
1
- import { Provider } from "react-redux";
2
- import { store } from "./app/store";
3
- import Home from "./home";
4
-
5
- const AbdmDashboard = ({
6
- clinicId,
7
- clientId,
8
- }: {
9
- clinicId: string;
10
- clientId: string;
11
- }) => {
12
- return (
13
- <Provider store={store}>
14
- <Home clinicId={clinicId} clientId={clientId} />
15
- </Provider>
16
- );
17
- };
18
- export default AbdmDashboard;
package/src/app/store.ts DELETED
@@ -1,15 +0,0 @@
1
- import { configureStore } from "@reduxjs/toolkit";
2
- import { baseApi } from "../features/api/baseApi";
3
- import landingReducer from "../features/slice/landingApiSlice";
4
-
5
- export const store = configureStore({
6
- reducer: {
7
- landing: landingReducer,
8
- [baseApi.reducerPath]: baseApi.reducer,
9
- },
10
- middleware: (getDefaultMiddleware) =>
11
- getDefaultMiddleware().concat(baseApi.middleware),
12
- });
13
-
14
- export type RootState = ReturnType<typeof store.getState>;
15
- export type AppDispatch = typeof store.dispatch;