1.0.7 • Published 6 years ago

@cleargdpr/elements v1.0.7

Weekly downloads
1
License
-
Repository
-
Last release
6 years ago

Table of Contents generated with DocToc

Elements SDK

These two are the main patterns the Core SDK is based on:

├─ config
├─ scripts
└─ src
    ├─ components
    |  ├─ Common          # Reusable components for all the Rights
    |  ├─ Consent         # Right to Consent Components
    |  ├─ Erasure         # Right to be Forgotten Components
    |  ├─ Portability     # Data Portability Components
    |  ├─ Processors      # Processors Components (used by other components)
    |  ├─ Rectification   # Right to Rectification Components
    |  └─ Share           # Data Sharing Componets
    ├─ theme              # Default styling
    ├─ utils              # Useful functions
    ├─ Element.js         # Factory to instance different Components
    ├─ Elements.js        # Inject `window.cg` or check if exists and give access to different flows
    └─ index.js