@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.
- 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/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 -322
- 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/config/runtime-config.ts +0 -3
- package/src/features/api/baseApi.ts +0 -24
- 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 -164
- 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/{public → dist}/headerImg.png +0 -0
- /package/{public → dist}/iphoneStep2.png +0 -0
- /package/{public → dist}/iphoneStep3.png +0 -0
- /package/{public → dist}/vite.svg +0 -0
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/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;
|