# ozone-components

> JavaScript modules for Ozone

Latest version **0.0.1** (published 2018-12-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install ozone-components
pnpm add ozone-components
yarn add ozone-components
bun add ozone-components
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-12-05 |
| First published | 2018-12-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | hj@taktik.com |
| Maintainers | abaudoux |

## Links

- npm: https://www.npmjs.com/package/ozone-components
- npm.io page: https://npm.io/package/ozone-components

## Recent versions

- 0.0.1 (latest) — 2018-12-05

## README

[![Build Status](https://travis-ci.org/taktik/ozone-components.svg?branch=master)](https://travis-ci.org/taktik/ozone-components)

# ozone-components

Ozone-components is a library of Polymer and JavaScript modules that should facilitate development of web front-end for Ozone.
Elements are available in JavaScript and typeScript.

Elements are split in 4 categories:
- ozone-api: Provide low level interface to Ozone server.
- ozone-material: provide paper material design to display specific Ozone content. (Based on Polymer)
- ozone-helper: provide generic class helper.
- ozone-logic: provide helper class for Ozone operation.


## Demo

See demo application [demo](demo.html).

## Modules

- ozone-helper:
  - [ozone-type](packages/ozone-helper/ozone-type) Declaration of Ozone type.
  - [ozone-config](packages/ozone-helper/ozone-config) Expose Ozone API configuration. Configuration is loaded from `./conf.ozone.json`.
  - [ozone-search-helper](packages/ozone-helper/ozone-search-helper) Helper for Ozone search queries.
  - [taktik-polymer-typescript](packages/ozone-helper/taktik-polymer-typescript) Module providing development facilities for Ozone Polymer and TypeScript modules.
  - [ozone-api-request](packages/ozone-helper/ozone-api-request) `OzoneAPIRequest` is a light wrapper over `XMLHttpRequest` to manager AJAX request to Ozone.
- ozone-api:
  - [ozone-api-type](packages/ozone-api/ozone-api-type) `ozone-api-type` is low level Polymer module to Ozone type. It provide read operation on collection type.
  - [ozone-api-authentication](packages/ozone-api/ozone-api-authentication) Low level wrapper around Ozone login, logout and authentication API.
  - [ozone-api-upload](packages/ozone-api/ozone-api-upload) `UploadFileRequest` is a JavaScript class that can be use as an `XMLHttpRequest` to upload media using Ozone v2 upload channel.
  - [ozone-api-edit-video](packages/ozone-api/ozone-api-edit-video) ES6 module written in TypeScript to save selected video chunks.
  - [ozone-api-item](packages/ozone-api/ozone-api-item) Low level ES6 module to Ozone API. It provide CRUD operation and search in a given collection.
- ozone-logic
  - [ozone-collection](packages/ozone-logic/ozone-collection) Generic Polymer `web-component` to manage collection of Ozone items.
  - [ozone-iron-list](packages/ozone-logic/ozone-iron-list) Implementation of an `iron-list` to display an Ozone search result with lazy loading.
  - [ozone-media-url](packages/ozone-logic/ozone-media-url) Helper to convert Ozone id to media preview.
- ozone-material
  - [ozone-video-player](packages/ozone-material/ozone-video-player) WebComponent that play video from Ozone.
  - [ozone-free-text-search](packages/ozone-material/ozone-free-text-search) WebComponent that play video from Ozone.
  - [ozone-upload](packages/ozone-material/ozone-upload) Configurable WebComponent to upload files on Ozone. Based on `vaadin-upload`.
  - [ozone-item-preview](packages/ozone-material/ozone-item-preview)  Webcomponent based on Polymer to preview an Ozone item.
  - [ozone-item-edit](packages/ozone-material/ozone-item-edit) This package contains several WebComponents based on Polymer to edit an Ozone item.
  - [ozone-mosaic](packages/ozone-material/ozone-mosaic) Webcomponent to display mosaic of Ozone preview.

## Get started

This project contains a set of npm library that can be installed individually.
There are aimed to be builded with webpack.
See the [demo project](demo.html) for webpack configuration example.

## Contribute

Any contribution and comment are welcomed.

Do not hesitate to report issues and ask questions in previously reported issues.

You are also more than welcomed to suggest fixes through pull requests.


### A Lerna project

`ozone-components` are centralized in a Lerna repo. Please refer to Lerna documentation for generic usage such as project import, dependency installation or project bootstraping.

### Set up

```
$ npm install
$ npm run bower
$ npm run bootstrap
```

### Viewing demo Application

```
$ npm run demo
```

Open a browser in http://localhost:9000

### Running Tests

```
$ npm run test
```

### Generate documentation

```bash
$ npm run doc
```

---
_Source: https://npm.io/package/ozone-components · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
