@eka-care/abdm-dashboard 0.0.2 → 0.0.22
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.
- package/{index.html → dist/index.html} +2 -1
- package/dist/sdk/abdm/css/abdm.css +1 -0
- package/dist/sdk/abdm/js/abdm.js +1890 -0
- package/package.json +1 -1
- package/eslint.config.js +0 -23
- package/postcss.config.js +0 -6
- package/public/headerImg.png +0 -0
- package/public/iphoneStep2.png +0 -0
- package/public/iphoneStep3.png +0 -0
- package/public/vite.svg +0 -1
- package/src/abdm-dashboard.tsx +0 -18
- package/src/app/store.ts +0 -15
- package/src/appointment-token-pdf/pdf-page1.tsx +0 -324
- package/src/appointment-token-pdf/pdf-page2.tsx +0 -346
- package/src/assets/react.svg +0 -1
- package/src/components/abha-metric.tsx +0 -321
- package/src/components/abha-workflows.tsx +0 -225
- package/src/components/automate-strip.tsx +0 -29
- package/src/components/cards/metric-card.tsx +0 -75
- package/src/components/cards/request-card.tsx +0 -23
- package/src/components/cards/request-cards.tsx +0 -24
- package/src/components/cards/workflow-card.tsx +0 -55
- package/src/components/custom/calendar.tsx +0 -59
- package/src/components/custom/switch.tsx +0 -32
- package/src/components/loader/abdm-dash-loader.tsx +0 -21
- package/src/components/loader/card-loader.tsx +0 -20
- package/src/components/modal/automateTaks-modal.tsx +0 -110
- package/src/components/modal/modal.tsx +0 -67
- package/src/components/modal/select-lang-modal.tsx +0 -38
- package/src/components/notification-header.tsx +0 -11
- package/src/features/api/baseApi.ts +0 -23
- package/src/features/cardApis/cardApi.ts +0 -15
- package/src/features/landingApi/landingApi.ts +0 -20
- package/src/features/slice/landingApiSlice.ts +0 -49
- package/src/features/tasksApis/taskGetApi.ts +0 -12
- package/src/features/tasksApis/taskUpdateApi.ts +0 -15
- package/src/home.tsx +0 -132
- package/src/index.css +0 -297
- package/src/main.tsx +0 -107
- package/src/tailwind-theme-config/pds2/border.ts +0 -69
- package/src/tailwind-theme-config/pds2/colors.ts +0 -88
- package/src/tailwind-theme-config/pds2/spacing.ts +0 -1007
- package/src/types/pagify-sdk.d.ts +0 -17
- package/src/utils/constants.ts +0 -19
- package/src/utils/helpers.ts +0 -32
- package/tailwind.config.ts +0 -131
- package/tsconfig.app.json +0 -28
- package/tsconfig.json +0 -7
- package/tsconfig.node.json +0 -26
- package/vite.config.ts +0 -62
package/package.json
CHANGED
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
package/public/headerImg.png
DELETED
|
Binary file
|
package/public/iphoneStep2.png
DELETED
|
Binary file
|
package/public/iphoneStep3.png
DELETED
|
Binary file
|
package/public/vite.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/src/abdm-dashboard.tsx
DELETED
|
@@ -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;
|