This package has been deprecated

Author message:

Use @advanced-rest-client/arc-models instead

@advanced-rest-client/arc-ie
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Advanced REST Client import-export UI module

Published on NPM

Build Status

A module containing Advanced REST Client data export related UIs.

Usage

Installation

npm install --save @advanced-rest-client/arc-ie

ImportDataInspectorElement

An element to visually inspect ARC export object. It is used by ARC during the import flow.

<import-data-inspector .data="${data}" @cancel="${this.cancelled}" @import="${this.imported}"></import-data-inspector>

The data object is the ArcExportObject declare in the @advanced-rest-client/arc-types/DataExport declaration.

ExportOptionsElement

An element to present the user with the file export options handled by the application.

<export-options file="my-demo-file.arc" provider="drive" parentId="drive file id" withEncrypt></export-options>

The element dispatches event defined in GoogleDriveEventTypes.listAppFolders to request the application to list all application created folder in the Google Drive application.

ArcExportFormElement

An element that contains a UI to present ARC database export options. It communicates with the ArcDataExportElement via events.

<arc-export-form withEncrypt provider="drive" parentId="drive file id"></arc-export-form>

ArcDataExportElement

A component that handles ARC data export logic via events. It takes care for creating an export object for ARC data, encrypting the content (when requested) and to produce communicate with the export provides via event.

This element should be inserted into the DOM somewhere in the project.

<are-data-export appversion="major.minor.patch" electroncookies></are-data-export>

ArcDataImportElement

The opposite of the ArcDataExportElement element. Provides the logic for the import flow and communicates with other components via the events system to finish the import flow.

<are-data-import></are-data-import>

Development

git clone https://github.com/@advanced-rest-client/arc-ie
cd arc-ie
npm install

Running the demo locally

npm start

Running the tests

npm test

Package Sidebar

Install

npm i @advanced-rest-client/arc-ie

Weekly Downloads

4

Version

1.0.5

License

Apache-2.0

Unpacked Size

241 kB

Total Files

77

Last publish

Collaborators

  • carowright
  • jarrodek
  • lbauret
  • twoplustwoone