-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '1323-bulk-upload' into import-close-flag-beta
- Loading branch information
Showing
32 changed files
with
2,823 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Package | ||
|
||
<!-- package description --> | ||
|
||
## Installation | ||
|
||
```sh | ||
yarn add @opensrp/template | ||
``` | ||
|
||
<!-- | ||
Include further installation instructions, for instance if the package requires for the user | ||
to manually add css. | ||
--> | ||
|
||
## Usage | ||
|
||
<!-- | ||
### Props/ Configuration | ||
#### linkerField | ||
_Optional_(`string` | `undefined` = `undefined`) | ||
When the table is rendered, you can click anywhere on a row to drill down to the next level of the hierarchy. However, you may want to display some kind of indication that it is possible to drill down on a row of data. The `linkerField` prop allows you to define which field should have this indicator. By default this is set to the `id` field. | ||
--> | ||
|
||
### Code examples | ||
|
||
<!-- | ||
A single simple, minimal, working snippet for each use-case that the package supports | ||
```tsx | ||
import { DrillDownTable, columnsFromObjects } from '@onaio/drill-down-table/'; | ||
const props = { | ||
columns: columnsFromObjects(data), | ||
data | ||
}; | ||
<DrillDownTable {...props} />; | ||
``` | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
declare module '@2fd/ant-design-icons' { | ||
import { ReactNode, SVGProps } from 'react'; | ||
|
||
export interface IconProps extends SVGProps<SVGSVGElement> { | ||
title?: string; | ||
size?: number | string; | ||
color?: string; | ||
} | ||
|
||
export interface IconComponent { | ||
(props: IconProps): ReactNode; | ||
} | ||
|
||
export const AccountBookOutlined: IconComponent; | ||
export const AlertOutlined: IconComponent; | ||
export const AliyunOutlined: IconComponent; | ||
export const AmazonOutlined: IconComponent; | ||
export const AndroidOutlined: IconComponent; | ||
export const AppleOutlined: IconComponent; | ||
export const AppstoreOutlined: IconComponent; | ||
export const ArrowDownOutlined: IconComponent; | ||
export const ArrowLeftOutlined: IconComponent; | ||
export const ArrowRightOutlined: IconComponent; | ||
export const ArrowUpOutlined: IconComponent; | ||
export const AudioOutlined: IconComponent; | ||
export const BackwardOutlined: IconComponent; | ||
export const BankOutlined: IconComponent; | ||
export const BarcodeOutlined: IconComponent; | ||
export const BarsOutlined: IconComponent; | ||
export const BellOutlined: IconComponent; | ||
export const BookOutlined: IconComponent; | ||
export const BoxPlotOutlined: IconComponent; | ||
export const BugOutlined: IconComponent; | ||
export const BuildOutlined: IconComponent; | ||
export const BulbOutlined: IconComponent; | ||
export const CalculatorOutlined: IconComponent; | ||
export const CalendarOutlined: IconComponent; | ||
export const CameraOutlined: IconComponent; | ||
export const CarOutlined: IconComponent; | ||
export const CarryOutOutlined: IconComponent; | ||
export const CheckCircleOutlined: IconComponent; | ||
export const CheckSquareOutlined: IconComponent; | ||
export const ClockCircleOutlined: IconComponent; | ||
export const CloudOutlined: IconComponent; | ||
export const CodeOutlined: IconComponent; | ||
export const CoffeeOutlined: IconComponent; | ||
export const CompassOutlined: IconComponent; | ||
export const ContactsOutlined: IconComponent; | ||
export const ContainerOutlined: IconComponent; | ||
export const ControlOutlined: IconComponent; | ||
export const CreditCardOutlined: IconComponent; | ||
export const CrownOutlined: IconComponent; | ||
export const CustomerServiceOutlined: IconComponent; | ||
export const DashboardOutlined: IconComponent; | ||
export const DatabaseOutlined: IconComponent; | ||
export const DeleteOutlined: IconComponent; | ||
export const DesktopOutlined: IconComponent; | ||
export const DislikeOutlined: IconComponent; | ||
export const DollarOutlined: IconComponent; | ||
export const DownloadOutlined: IconComponent; | ||
export const EditOutlined: IconComponent; | ||
export const EnvironmentOutlined: IconComponent; | ||
export const ExclamationCircleOutlined: IconComponent; | ||
export const ExperimentOutlined: IconComponent; | ||
export const ExportOutlined: IconComponent; | ||
export const EyeOutlined: IconComponent; | ||
export const FileOutlined: IconComponent; | ||
export const FilterOutlined: IconComponent; | ||
export const FireOutlined: IconComponent; | ||
export const FlagOutlined: IconComponent; | ||
export const FolderOutlined: IconComponent; | ||
export const FolderOpenOutlined: IconComponent; | ||
export const FundProjectionScreenOutlined: IconComponent; | ||
export const FunnelPlotOutlined: IconComponent; | ||
export const GiftOutlined: IconComponent; | ||
export const GlobalOutlined: IconComponent; | ||
export const GoldOutlined: IconComponent; | ||
export const HddOutlined: IconComponent; | ||
export const HeartOutlined: IconComponent; | ||
export const HomeOutlined: IconComponent; | ||
export const HourglassOutlined: IconComponent; | ||
export const IdcardOutlined: IconComponent; | ||
export const InboxOutlined: IconComponent; | ||
export const KeyOutlined: IconComponent; | ||
export const LaptopOutlined: IconComponent; | ||
export const LayoutOutlined: IconComponent; | ||
export const LikeOutlined: IconComponent; | ||
export const LineChartOutlined: IconComponent; | ||
export const LockOutlined: IconComponent; | ||
export const MailOutlined: IconComponent; | ||
export const MedicineBoxOutlined: IconComponent; | ||
export const MehOutlined: IconComponent; | ||
export const MessageOutlined: IconComponent; | ||
export const MobileOutlined: IconComponent; | ||
export const MoneyCollectOutlined: IconComponent; | ||
export const NotificationOutlined: IconComponent; | ||
export const OrderedListOutlined: IconComponent; | ||
export const PaperClipOutlined: IconComponent; | ||
export const PartitionOutlined: IconComponent; | ||
export const PauseOutlined: IconComponent; | ||
export const PhoneOutlined: IconComponent; | ||
export const PictureOutlined: IconComponent; | ||
export const PlayCircleOutlined: IconComponent; | ||
export const PlusOutlined: IconComponent; | ||
export const PrinterOutlined: IconComponent; | ||
export const ProfileOutlined: IconComponent; | ||
export const ProjectOutlined: IconComponent; | ||
export const PushpinOutlined: IconComponent; | ||
export const QrcodeOutlined: IconComponent; | ||
export const ReadOutlined: IconComponent; | ||
export const ReconciliationOutlined: IconComponent; | ||
export const RedEnvelopeOutlined: IconComponent; | ||
export const ReloadOutlined: IconComponent; | ||
export const RestOutlined: IconComponent; | ||
export const RocketOutlined: IconComponent; | ||
export const SafetyCertificateOutlined: IconComponent; | ||
export const SaveOutlined: IconComponent; | ||
export const ScheduleOutlined: IconComponent; | ||
export const SecurityScanOutlined: IconComponent; | ||
export const SettingOutlined: IconComponent; | ||
export const ShopOutlined: IconComponent; | ||
export const ShoppingCartOutlined: IconComponent; | ||
export const SkinOutlined: IconComponent; | ||
export const SmileOutlined: IconComponent; | ||
export const SolutionOutlined: IconComponent; | ||
export const StarOutlined: IconComponent; | ||
export const StopOutlined: IconComponent; | ||
export const SwitcherOutlined: IconComponent; | ||
export const TabletOutlined: IconComponent; | ||
export const TagOutlined: IconComponent; | ||
export const TagsOutlined: IconComponent; | ||
export const ToolOutlined: IconComponent; | ||
export const UnlockOutlined: IconComponent; | ||
export const UsergroupAddOutlined: IconComponent; | ||
export const UsergroupDeleteOutlined: IconComponent; | ||
export const UserOutlined: IconComponent; | ||
export const VideoCameraOutlined: IconComponent; | ||
export const WalletOutlined: IconComponent; | ||
export const WarningOutlined: IconComponent; | ||
export const WifiOutlined: IconComponent; | ||
export const ZoomInOutlined: IconComponent; | ||
export const ZoomOutOutlined: IconComponent; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"name": "@opensrp/fhir-import", | ||
"version": "0.0.6", | ||
"description": "", | ||
"main": "dist/index.js", | ||
"types": "dist/types", | ||
"files": [ | ||
"dist" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": "https://github.com/opensrp/web", | ||
"scripts": { | ||
"test": "run -T test $INIT_CWD --verbose", | ||
"tsc": "run -T tsc", | ||
"lint": "run -T eslint ./**/*.{js,jsx,ts,tsx}", | ||
"copy": "run -T copyfiles -u 1 \"./src/**/*.{css,html}\" \"./dist/\"", | ||
"build": "run tsc && run transpile && run copy", | ||
"transpile": "run -T babel src -d dist --root-mode upward --extensions .ts,.tsx --ignore '**/*.test.ts,**/*.test.tsx,**/tests,**/__tests__'" | ||
}, | ||
"jest": { | ||
"automock": false, | ||
"setupFiles": [ | ||
"../../setupTests" | ||
] | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/opensrp/web/issues" | ||
}, | ||
"peerDependencies": { | ||
"@opensrp/i18n": "^0.0.1", | ||
"react": "^17.0.0", | ||
"react-dom": "17.0.0", | ||
"react-query": "^3.15.1", | ||
"react-router": "^5.2.0", | ||
"react-router-dom": "^5.2.0" | ||
}, | ||
"dependencies": { | ||
"@2fd/ant-design-icons": "^2.6.0", | ||
"@opensrp/notifications": "^0.0.5", | ||
"@opensrp/rbac": "workspace:^", | ||
"@opensrp/react-utils": "^0.0.12" | ||
}, | ||
"author": "OpenSRP Engineering", | ||
"license": "Apache-2.0" | ||
} |
Oops, something went wrong.