diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d0a09bbf54..81b988019f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -6,6 +6,29 @@ on:
- "**.**.**"
jobs:
+ utils-npm-release:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ persist-credentials: false
+ - name: Setup Node.js
+ uses: actions/setup-node@v1
+ with:
+ node-version: '14.x'
+ registry-url: 'https://registry.npmjs.org'
+ - name: Get the version
+ id: get_version
+ run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
+ - run: yarn
+ - run: yarn workspace @ringcentral-integration/utils release
+ env:
+ TRAVIS_TAG: ${{ steps.get_version.outputs.SOURCE_TAG }}
+ - run: npm publish
+ working-directory: release/utils
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
core-npm-release:
runs-on: ubuntu-latest
steps:
@@ -98,23 +121,3 @@ jobs:
working-directory: release/engage-voice-widgets
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- widgets-docs-release:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- persist-credentials: false
- - name: Setup Node.js
- uses: actions/setup-node@v1
- with:
- node-version: '14.x'
- - run: yarn
- - run: yarn workspace ringcentral-widgets-docs build
- - name: Widgets Docs Release
- uses: JamesIves/github-pages-deploy-action@3.7.1
- with:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- BRANCH: gh-pages
- FOLDER: packages/ringcentral-widgets-docs/gh-pages
- CLEAN: true
diff --git a/packages/core/package.json b/packages/core/package.json
index 8cae3f9ca5..2f880fe2bf 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@ringcentral-integration/core",
- "version": "0.13.0",
+ "version": "0.14.0",
"description": "The foundation package for RingCentral Integration products.",
"homepage": "https://github.com/ringcentral/ringcentral-js-widgets/tree/master/packages/core#readme",
"bugs": {
diff --git a/packages/engage-voice-widget/package.json b/packages/engage-voice-widget/package.json
index fb96d8c25b..1955611e25 100644
--- a/packages/engage-voice-widget/package.json
+++ b/packages/engage-voice-widget/package.json
@@ -1,6 +1,6 @@
{
"name": "@ringcentral-integration/engage-voice-widgets",
- "version": "0.13.0",
+ "version": "0.14.0",
"description": "RingCentral Engage Voice Integration Widget Library",
"homepage": "https://github.com/ringcentral/ringcentral-js-widgets/tree/master/packages/engage-voice-widgets#readme",
"bugs": {
@@ -68,11 +68,11 @@
"jest-html-reporters": "^3.0.8"
},
"peerDependencies": {
- "@ringcentral-integration/commons": "^0.13.0",
- "@ringcentral-integration/core": "^0.13.0",
+ "@ringcentral-integration/commons": "^0.14.0",
+ "@ringcentral-integration/core": "^0.14.0",
"@ringcentral-integration/phone-number": "^1.0.4",
- "@ringcentral-integration/utils": "^0.0.1",
- "@ringcentral-integration/widgets": "^0.13.0",
+ "@ringcentral-integration/utils": "^0.14.0",
+ "@ringcentral-integration/widgets": "^0.14.0",
"@ringcentral/juno": "^2.35.2",
"@ringcentral/juno-icon": "^1.42.0"
},
diff --git a/packages/glip-widgets/package.json b/packages/glip-widgets/package.json
index 921accfbc5..0727f2538a 100644
--- a/packages/glip-widgets/package.json
+++ b/packages/glip-widgets/package.json
@@ -48,9 +48,9 @@
"yargs": "^17.1.1"
},
"peerDependencies": {
- "@ringcentral-integration/commons": "^0.13.0",
- "@ringcentral-integration/core": "^0.13.0",
- "@ringcentral-integration/widgets": "^0.13.0",
+ "@ringcentral-integration/commons": "^0.14.0",
+ "@ringcentral-integration/core": "^0.14.0",
+ "@ringcentral-integration/widgets": "^0.14.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^5.1.1",
diff --git a/packages/ringcentral-crius/package.json b/packages/ringcentral-crius/package.json
index 9f326f4ba8..86d91c09ca 100644
--- a/packages/ringcentral-crius/package.json
+++ b/packages/ringcentral-crius/package.json
@@ -1,6 +1,6 @@
{
"name": "@ringcentral-integration/crius",
- "version": "0.13.0",
+ "version": "0.14.0",
"description": "A test lib based on Crius for RingCentral Integration",
"keywords": [],
"license": "ISC",
diff --git a/packages/ringcentral-integration/gulpfile.js b/packages/ringcentral-integration/gulpfile.js
index 25ce716ad0..a0d0c668a5 100644
--- a/packages/ringcentral-integration/gulpfile.js
+++ b/packages/ringcentral-integration/gulpfile.js
@@ -131,6 +131,8 @@ export function compile() {
'!./karma{/**,}',
'!./junit{/**,}',
'!./node_modules{/**,}',
+ '!./**/*.min.js',
+ '!./**/pendo.xhr.js',
])
.pipe(
transformLoader({
@@ -143,7 +145,18 @@ export function compile() {
.pipe(gulp.dest(BUILD_PATH));
}
-export const build = gulp.series(clean, compile);
+export function minifiedFileCopy() {
+ const localAnalyticFilePath = path.resolve(
+ __dirname,
+ './lib/Analytics',
+ );
+ const destPath = path.resolve(BUILD_PATH, './lib/Analytics');
+ return gulp
+ .src([`${localAnalyticFilePath}/*.min.js`, `${localAnalyticFilePath}/pendo.xhr.js`])
+ .pipe(gulp.dest(destPath));
+}
+
+export const build = gulp.series(clean, compile, minifiedFileCopy);
async function exec(command) {
return new Promise((resolve, reject) => {
diff --git a/packages/ringcentral-integration/package.json b/packages/ringcentral-integration/package.json
index 2ace068b2d..22d6f84b58 100644
--- a/packages/ringcentral-integration/package.json
+++ b/packages/ringcentral-integration/package.json
@@ -1,6 +1,6 @@
{
"name": "@ringcentral-integration/commons",
- "version": "0.13.0",
+ "version": "0.14.0",
"description": "RingCentral Integration Common Javascript Core Library",
"homepage": "https://github.com/ringcentral/ringcentral-js-widgets/tree/master/packages/ringcentral-integration#readme",
"bugs": {
@@ -121,10 +121,10 @@
"yargs": "^17.1.1"
},
"peerDependencies": {
- "@ringcentral-integration/core": "^0.13.0",
+ "@ringcentral-integration/core": "^0.14.0",
"@ringcentral-integration/i18n": "^2.1.1",
"@ringcentral-integration/phone-number": "^1.0.4",
- "@ringcentral-integration/utils": "^0.0.1",
+ "@ringcentral-integration/utils": "^0.14.0",
"@ringcentral/juno": "^2.35.2",
"@ringcentral/juno-icon": "^1.43.0",
"@ringcentral/sdk": "^4.7.2",
diff --git a/packages/ringcentral-mock/package.json b/packages/ringcentral-mock/package.json
index a198255daf..c64c996241 100644
--- a/packages/ringcentral-mock/package.json
+++ b/packages/ringcentral-mock/package.json
@@ -1,6 +1,6 @@
{
"name": "@ringcentral-integration/mock",
- "version": "0.13.0",
+ "version": "0.14.0",
"description": "A RingCentral Platform APIs mocking library",
"license": "MIT",
"author": "",
diff --git a/packages/ringcentral-widgets-cli/templates/Project/package-template.json b/packages/ringcentral-widgets-cli/templates/Project/package-template.json
index b94f868b92..99bd979920 100644
--- a/packages/ringcentral-widgets-cli/templates/Project/package-template.json
+++ b/packages/ringcentral-widgets-cli/templates/Project/package-template.json
@@ -58,12 +58,12 @@
},
"dependencies": {
"@rc-ex/core": "^1.2.1",
- "@ringcentral-integration/commons": "^0.13.0",
- "@ringcentral-integration/core": "^0.13.0",
+ "@ringcentral-integration/commons": "^0.14.0",
+ "@ringcentral-integration/core": "^0.14.0",
"@ringcentral-integration/i18n": "^2.1.1",
"@ringcentral-integration/phone-number": "^1.0.2",
- "@ringcentral-integration/widgets": "^0.13.0",
- "@ringcentral-integration/utils": "^0.0.1",
+ "@ringcentral-integration/widgets": "^0.14.0",
+ "@ringcentral-integration/utils": "^0.14.0",
"@ringcentral/juno": "^2.35.2",
"@ringcentral/juno-icon": "^1.43.0",
"@ringcentral/sdk": "^4.7.2",
diff --git a/packages/ringcentral-widgets-docs/.gitignore b/packages/ringcentral-widgets-docs/.gitignore
deleted file mode 100644
index 1c494e8157..0000000000
--- a/packages/ringcentral-widgets-docs/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-node_modules/
-npm-debug.log
-yarn-error.log
-gh-pages
diff --git a/packages/ringcentral-widgets-docs/README.md b/packages/ringcentral-widgets-docs/README.md
deleted file mode 100644
index 52c1bfaf74..0000000000
--- a/packages/ringcentral-widgets-docs/README.md
+++ /dev/null
@@ -1,23 +0,0 @@
-# [RingCentral Js Widget Docs](http://ringcentral.github.io/ringcentral-js-widget/)
-
-This is the documentation website of RingCentral JS Widget.
-
-## Start Docs Server in local
-
-In docs directory:
-
-```
-yarn
-yarn start
-```
-
-Visit in localhost:8300
-
-## release to github pages
-
-In docs directory:
-
-```
-yarn
-./release.sh
-```
diff --git a/packages/ringcentral-widgets-docs/babel.config.js b/packages/ringcentral-widgets-docs/babel.config.js
deleted file mode 100644
index bf8cb4c149..0000000000
--- a/packages/ringcentral-widgets-docs/babel.config.js
+++ /dev/null
@@ -1,3 +0,0 @@
-const baseConfig = require('@ringcentral-integration/babel-settings');
-
-module.exports = baseConfig;
diff --git a/packages/ringcentral-widgets-docs/buildComponentDocPages.js b/packages/ringcentral-widgets-docs/buildComponentDocPages.js
deleted file mode 100644
index f07c1838db..0000000000
--- a/packages/ringcentral-widgets-docs/buildComponentDocPages.js
+++ /dev/null
@@ -1,222 +0,0 @@
-const fs = require('fs');
-const path = require('path');
-const reactDocs = require('react-docgen');
-const ejs = require('ejs');
-
-const componentsDir = path.resolve(
- __dirname,
- '../ringcentral-widgets/components',
-);
-const componentDocPagesDir = path.resolve(
- __dirname,
- 'src/app/pages/Components',
-);
-const componentRoutesPath = path.resolve(
- __dirname,
- 'src/app/pages/ComponentRoutes.js',
-);
-const templatesPath = path.resolve(__dirname, 'src/templates');
-const jsonDataPath = path.resolve(__dirname, 'src/app/componentsData.json');
-
-function getComponentsList() {
- const components = [];
- const componentDirNames = fs.readdirSync(componentsDir);
- componentDirNames.forEach((componentName) => {
- try {
- const componentPath = path.resolve(componentsDir, componentName);
- if (!fs.statSync(componentPath).isDirectory()) {
- return;
- }
- const indexPath = path.resolve(componentPath, 'index.js');
- if (!fs.existsSync(indexPath)) {
- return;
- }
- const indexFile = fs.readFileSync(indexPath);
- const componentInfo = reactDocs.parse(indexFile);
- componentInfo.name = componentName;
- components.push(componentInfo);
- } catch (error) {
- console.log(componentName);
- console.log(error);
- }
- });
- return components;
-}
-
-function getValueFromPropType(type) {
- if (type.name === 'string') {
- return "'test string'";
- }
- if (type.name === 'bool') {
- return 'false';
- }
- if (type.name === 'func') {
- return '() => null';
- }
- if (type.name === 'node') {
- return '(Node )';
- }
- if (type.name === 'number') {
- return '0';
- }
- if (type.name === 'object') {
- return '{}';
- }
- if (type.name === 'enum') {
- return type.value && type.value[0] && type.value[0].value;
- }
- if (type.name === 'array') {
- return '[]';
- }
- if (type.name === 'custom') {
- return undefined;
- }
- if (type.name === 'shape') {
- const prop = {};
- Object.keys(type.value).forEach((key) => {
- if (!type.value[key].required) {
- return;
- }
- prop[key] = getValueFromPropType(type.value[key]);
- });
- return JSON.stringify(prop, null, 2)
- .replace(/"/g, '')
- .replace(/\\n/g, '\n');
- }
- if (type.name === 'arrayOf') {
- const prop = [];
- const value = getValueFromPropType(type.value);
- if (value) {
- prop.push(value);
- }
- return JSON.stringify(prop, null, 2)
- .replace(/":/g, ':')
- .replace(/\s"/g, ' ')
- .replace(/\\n/g, '\n')
- .replace(/^\[\n\s+/, '[')
- .replace(/\s*\n\]$/, ']')
- .replace(/"]/, ']');
- }
- return undefined;
-}
-
-function getPropsFromPropTypes(propTypes) {
- const props = {};
- if (!propTypes) {
- return props;
- }
- Object.keys(propTypes).forEach((propName) => {
- const propType = propTypes[propName];
- if (!propType.required) {
- return;
- }
- props[propName] = getValueFromPropType(propType.type);
- });
- return props;
-}
-
-function getComponentDocRenderData(componentData) {
- const component = {};
- component.props = getPropsFromPropTypes(componentData.props);
- let childrenText = 'Children Node';
- if (component.props.onClick) {
- component.props.onClick = "() => alert('clicked')";
- childrenText = 'Click Me';
- }
- if (component.props.children) {
- component.children = `(${childrenText} )`;
- delete component.props.children;
- }
- if (component.props.currentLocale) {
- component.props.currentLocale = "'en-US'";
- }
- if (component.props.countryCode) {
- component.props.countryCode = "'US'";
- }
- if (component.props.areaCode) {
- component.props.areaCode = "'650'";
- }
- component.name = componentData.name;
- component.description = componentData.description;
- return component;
-}
-
-function createComponentDocPage(componentData) {
- const name = componentData.name;
- const componentPageDir = path.resolve(componentDocPagesDir, name);
- if (fs.existsSync(componentPageDir)) {
- return;
- }
- fs.mkdirSync(componentPageDir);
- const component = getComponentDocRenderData(componentData);
- const indexTemplatePath = path.resolve(
- templatesPath,
- 'ComponentPage/index.ejs',
- );
- const indexTemplate = fs.readFileSync(indexTemplatePath, {
- encoding: 'utf8',
- });
- const indexStr = ejs.render(indexTemplate, { component });
- const indexPath = path.resolve(componentPageDir, 'index.js');
- fs.writeFileSync(indexPath, indexStr);
- const demoTemplatePath = path.resolve(
- templatesPath,
- 'ComponentPage/Demo.ejs',
- );
- const demoTemplate = fs.readFileSync(demoTemplatePath, { encoding: 'utf8' });
- const demoStr = ejs.render(demoTemplate, { component });
- const demoPath = path.resolve(componentPageDir, 'Demo.js');
- fs.writeFileSync(demoPath, demoStr);
-}
-
-function createComponentDocPages(components) {
- components.forEach((componentData) => {
- createComponentDocPage(componentData);
- });
-}
-
-function createComponentRoutesFile() {
- const componentPageNames = fs.readdirSync(componentDocPagesDir);
- const components = [];
- componentPageNames.forEach((componentName) => {
- const componentPagePath = path.resolve(componentDocPagesDir, componentName);
- if (!fs.statSync(componentPagePath).isDirectory()) {
- return;
- }
- const indexPath = path.resolve(componentPagePath, 'index.js');
- if (!fs.existsSync(indexPath)) {
- return;
- }
- components.push(componentName);
- });
- const routesTemplatePath = path.resolve(templatesPath, 'ComponentRoutes.ejs');
- const routesTemplate = fs.readFileSync(routesTemplatePath, {
- encoding: 'utf8',
- });
- // console.log(routesTemplate);
- const routesPageStr = ejs.render(routesTemplate, { components });
- fs.writeFileSync(componentRoutesPath, routesPageStr);
-}
-
-function listRemovedComponents(existedComponents) {
- const componentPageNames = fs.readdirSync(componentDocPagesDir);
- const existedComponentMap = {};
- existedComponents.forEach((component) => {
- existedComponentMap[component.name] = true;
- });
- const removedComponents = [];
- console.log('Component removed:');
- componentPageNames.forEach((componentName) => {
- if (existedComponentMap[componentName]) {
- return;
- }
- removedComponents.push(componentName);
- console.log(componentName);
- });
-}
-
-const components = getComponentsList();
-fs.writeFileSync(jsonDataPath, JSON.stringify(components, null, 2));
-// listRemovedComponents(components);
-createComponentDocPages(components);
-createComponentRoutesFile();
diff --git a/packages/ringcentral-widgets-docs/package.json b/packages/ringcentral-widgets-docs/package.json
deleted file mode 100644
index 9d95fbf73b..0000000000
--- a/packages/ringcentral-widgets-docs/package.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "name": "ringcentral-widgets-docs",
- "version": "0.0.1",
- "private": true,
- "description": "Documentation site for RingCentral JS Widgets",
- "repository": {
- "type": "git",
- "url": "https://github.com/ringcentral/ringcentral-js-widget.git"
- },
- "scripts": {
- "build": "webpack --config webpack-production.config.js --progress",
- "dev-server": "webpack-dev-server --config webpack-dev-server.config.js --progress",
- "pageGen": "node buildComponentDocPages.js",
- "start": "npm run dev-server"
- },
- "dependencies": {
- "@ringcentral-integration/babel-settings": "*",
- "@ringcentral-integration/commons": "*",
- "@ringcentral-integration/core": "*",
- "@ringcentral-integration/i18n": "*",
- "@ringcentral-integration/locale-loader": "*",
- "@ringcentral-integration/phone-number": "*",
- "@ringcentral-integration/widgets": "*",
- "@ringcentral/juno": "^2.35.2",
- "@ringcentral/juno-icon": "^1.43.0",
- "autoprefixer": "^9.8.4",
- "babel-loader": "^9.1.2",
- "classnames": "^2.2.5",
- "copy-webpack-plugin": "^9.0.1",
- "css-loader": "^2.1.1",
- "doctrine": "^2.0.0",
- "ejs": "^3.1.6",
- "file-loader": "^6.2.0",
- "highlight.js": "^10.4.1",
- "history": "^4.6.1",
- "marked": "^2.0.0",
- "postcss-loader": "^3.0.0",
- "prop-types": "^15.7.2",
- "raw-loader": "^0.5.1",
- "react": "^17.0.2",
- "react-docgen": "^5.4.0",
- "react-dom": "^17.0.2",
- "react-router-dom": "^4.1.1",
- "react-svg-loader": "^3.0.3",
- "sass": "^1.43.4",
- "sass-loader": "^7.1.0",
- "source-map-loader": "^3.0.0",
- "style-loader": "^0.23.1",
- "styled-components": "^5.3.3",
- "url-loader": "^4.1.1",
- "webpack": "^5.58.1",
- "webpack-cli": "^4.9.0",
- "webpack-dev-server": "^4.3.1"
- },
- "peerDependencies": {},
- "engines": {
- "node": ">=14"
- }
-}
diff --git a/packages/ringcentral-widgets-docs/release.sh b/packages/ringcentral-widgets-docs/release.sh
deleted file mode 100755
index 1bf7e070d1..0000000000
--- a/packages/ringcentral-widgets-docs/release.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env bash
-
-rm -rf gh-pages
-git clone git@github.com:ringcentral/ringcentral-js-widget.git -b gh-pages gh-pages &> /dev/null
-rm -r gh-pages/*
-rm -r gh-pages/.babelrc
-rm -r gh-pages/.gitignore
-rm -r gh-pages/.jscsrc
-
-npm run build
-
-cd gh-pages
-
-if [[ $(git status -s) != '' ]]
- then
- git config user.email "integrations@ringcentral.com" &> /dev/null
- git config user.name "RingCentral Integrations Team" &> /dev/null
- git add --all . &> /dev/null
- git commit -m "released at $(date)" &> /dev/null
- git push origin gh-pages -f &> /dev/null
-fi
diff --git a/packages/ringcentral-widgets-docs/src/app/assets/images/footer_rclogo.png b/packages/ringcentral-widgets-docs/src/app/assets/images/footer_rclogo.png
deleted file mode 100644
index 001fe5b149..0000000000
Binary files a/packages/ringcentral-widgets-docs/src/app/assets/images/footer_rclogo.png and /dev/null differ
diff --git a/packages/ringcentral-widgets-docs/src/app/assets/images/ico_search.png b/packages/ringcentral-widgets-docs/src/app/assets/images/ico_search.png
deleted file mode 100644
index f1cafcc488..0000000000
Binary files a/packages/ringcentral-widgets-docs/src/app/assets/images/ico_search.png and /dev/null differ
diff --git a/packages/ringcentral-widgets-docs/src/app/assets/images/logo_beta.svg b/packages/ringcentral-widgets-docs/src/app/assets/images/logo_beta.svg
deleted file mode 100644
index 4669ea9784..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/assets/images/logo_beta.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
\ No newline at end of file
diff --git a/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_in_page_example.png b/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_in_page_example.png
deleted file mode 100644
index 62f3891411..0000000000
Binary files a/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_in_page_example.png and /dev/null differ
diff --git a/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_in_popup_example.png b/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_in_popup_example.png
deleted file mode 100644
index 39c2b5e521..0000000000
Binary files a/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_in_popup_example.png and /dev/null differ
diff --git a/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_popup_specs.svg b/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_popup_specs.svg
deleted file mode 100644
index 9fcf47a6f3..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_popup_specs.svg
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
- Group 14
- Created with Sketch.
-
-
-
-
-
-
- Normal
-
-
-
-
-
-
-
-
-
-
-
-
-
- 15px
-
-
-
-
-
-
-
-
-
- 15px
-
-
-
-
-
\ No newline at end of file
diff --git a/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_specs.svg b/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_specs.svg
deleted file mode 100644
index c05fe01168..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/assets/images/primary_button_specs.svg
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
- Normal
-
-
-
-
-
-
-
-
- 260px
-
-
-
-
-
-
-
-
-
-
- 35px
-
-
-
-
-
-
-
- 20px
-
-
-
-
-
-
-
- 20px
-
-
-
-
diff --git a/packages/ringcentral-widgets-docs/src/app/components/CodeExample/index.js b/packages/ringcentral-widgets-docs/src/app/components/CodeExample/index.js
deleted file mode 100644
index 7e2272fbd1..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/CodeExample/index.js
+++ /dev/null
@@ -1,53 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import { parse } from 'react-docgen';
-
-import Collapse from '../Collapse';
-import Markdown from '../Markdown';
-
-import styles from './styles.scss';
-
-function CodeBlock(props) {
- const text = `\`\`\`js\n${props.code}\n\`\`\``;
- return (
-
- {props.title}
- {'< >'}
-
- }
- >
-
-
- );
-}
-
-CodeBlock.propTypes = {
- code: PropTypes.string.isRequired,
- title: PropTypes.string.isRequired,
-};
-
-function CodeExample(props) {
- const docs = parse(props.code);
- return (
-
- );
-}
-
-CodeExample.propTypes = {
- code: PropTypes.string.isRequired,
- title: PropTypes.string.isRequired,
- children: PropTypes.node.isRequired,
-};
-
-export default CodeExample;
diff --git a/packages/ringcentral-widgets-docs/src/app/components/CodeExample/styles.scss b/packages/ringcentral-widgets-docs/src/app/components/CodeExample/styles.scss
deleted file mode 100644
index 763b8d2cc0..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/CodeExample/styles.scss
+++ /dev/null
@@ -1,67 +0,0 @@
-.root {
- display: block;
- box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 6px, rgba(0, 0, 0, 0.12) 0px 1px 4px;
- border-radius: 2px;
- margin: 20px 10px;
-}
-
-.codeBlock {
- background: #f7f7f7;
- border-top: solid 1px #e0e0e0;
-
- button {
- padding: 0;
- }
-}
-
-.markdown {
- overflow: auto;
- max-height: 1400;
- transition: max-height 800ms 0ms ease-in-out;
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.description {
- background: #ffffff;
- overflow: auto;
- padding: 10px 25px 0;
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.codeTitle {
- position: relative;
- display: block;
- background: #e8e8e8;
- height: 56px;
- padding: 0px 24px;
- padding-right: 16px;
- line-height: 56px;
- font-size: 20px;
- color: rgba(0, 0, 0, 0.4);
-
- .codeIcon {
- position: absolute;
- color: #333;
- right: 18px;
- top: 19px;
- font-size: 16px;
- line-height: 1;
- font-weight: 600;
- }
-}
-
-.showCase {
- position: relative;
- border-radius: 0px 0px 2px;
- padding: 14px 25px 24px;
- margin: 0px;
- min-height: 60px;
-}
-
-.clearFix {
- box-sizing: border-box;
- content: " ";
- display: table;
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/components/Collapse/index.js b/packages/ringcentral-widgets-docs/src/app/components/Collapse/index.js
deleted file mode 100644
index 4d5e8cda5a..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/Collapse/index.js
+++ /dev/null
@@ -1,49 +0,0 @@
-import React, { Component } from 'react';
-import classnames from 'classnames';
-import PropTypes from 'prop-types';
-
-import styles from './styles.scss';
-
-class Collapse extends Component {
- constructor(props) {
- super(props);
- this.state = {
- collapsed: props.collapsed,
- };
-
- this.toggleCollapsed = () => {
- this.setState((preState) => ({
- collapsed: !preState.collapsed,
- }));
- };
- }
-
- render() {
- const collapseClassName = classnames(
- styles.collapse,
- this.state.collapsed ? styles.collapsed : null,
- );
- return (
-
-
- {this.props.button}
-
-
{this.props.children}
-
- );
- }
-}
-
-Collapse.propTypes = {
- collapsed: PropTypes.bool,
- className: PropTypes.string,
- button: PropTypes.node.isRequired,
- children: PropTypes.node.isRequired,
-};
-
-Collapse.defaultProps = {
- collapsed: true,
- className: undefined,
-};
-
-export default Collapse;
diff --git a/packages/ringcentral-widgets-docs/src/app/components/Collapse/styles.scss b/packages/ringcentral-widgets-docs/src/app/components/Collapse/styles.scss
deleted file mode 100644
index ab93abbe48..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/Collapse/styles.scss
+++ /dev/null
@@ -1,25 +0,0 @@
-.root {
- display: block;
-
- button {
- color: inherit;
- outline: none;
- border: none;
- background: inherit;
- display: block;
- text-align: left;
- -webkit-appearance: none;
- padding: 10px 0 10px 0;
- font-size: 14px;
- border-bottom: 1px solid #e8e8e8;
- width: 100%;
- }
-}
-
-.collapse {
- display: block;
-}
-
-.collapsed {
- display: none;
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/components/ComponentHeader/index.js b/packages/ringcentral-widgets-docs/src/app/components/ComponentHeader/index.js
deleted file mode 100644
index 55081fd854..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/ComponentHeader/index.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-
-import Markdown from '../Markdown';
-
-function ComponentHeader(props) {
- const name = props.name;
- const description =
- props.description && props.description.length
- ? props.description
- : 'none description';
- const text = `# ${name}\n\n${description}`;
- return ;
-}
-
-ComponentHeader.propTypes = {
- name: PropTypes.string.isRequired,
- description: PropTypes.string,
-};
-
-ComponentHeader.defaultProps = {
- description: undefined,
-};
-
-export default ComponentHeader;
diff --git a/packages/ringcentral-widgets-docs/src/app/components/MainView/index.js b/packages/ringcentral-widgets-docs/src/app/components/MainView/index.js
deleted file mode 100644
index 0d4ff5b142..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/MainView/index.js
+++ /dev/null
@@ -1,133 +0,0 @@
-import React, { Component } from 'react';
-import PropTypes from 'prop-types';
-import classnames from 'classnames';
-
-import SideBarView from '../SideBarView';
-import Search from '../Search';
-
-import LogoImg from '../../assets/images/logo_beta.svg';
-
-import styles from './styles.scss';
-
-function Footer() {
- return (
-
-
-
-
-
-
- © 1999-2017 RingCentral, Inc. All rights reserved.
-
-
-
-
-
- );
-}
-
-class MainView extends Component {
- constructor(props) {
- super(props);
- this.state = {
- fixSidebar: false,
- };
- this.onScroll = () => {
- if (!this.rootBody) {
- return;
- }
- const scrollTop = this.rootBody.scrollTop;
- if (scrollTop > 180) {
- this.setState({ fixSidebar: true });
- } else {
- this.setState({ fixSidebar: false });
- }
- };
- }
-
- render() {
- return (
- {
- this.rootBody = rootBody;
- }}
- >
-
-
-
-
RingCentral Widgets
-
-
- {this.props.children}
-
-
-
-
-
- );
- }
-}
-
-MainView.propTypes = {
- children: PropTypes.node.isRequired,
- components: PropTypes.array.isRequired,
-};
-
-export default MainView;
diff --git a/packages/ringcentral-widgets-docs/src/app/components/MainView/styles.scss b/packages/ringcentral-widgets-docs/src/app/components/MainView/styles.scss
deleted file mode 100644
index 47f69bac40..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/MainView/styles.scss
+++ /dev/null
@@ -1,128 +0,0 @@
-.root {
- width: 100%;
- color: #585858;
- height: 100%;
- overflow: auto;
-}
-
-.mainBody {
- position: relative;
- width: 100%;
- min-height: 100%;
-}
-
-.wrapper {
- width: 100%;
- max-width: 1280px;
- margin-left: auto;
- margin-right: auto;
- padding-left: 10px;
- padding-right: 10px;
-}
-
-@media only screen and (max-width: 992px) {
- .wrapper {
- max-width: 952px;
- }
-}
-
-@media only screen and (max-width: 768px) {
- .wrapper {
- max-width: 728px;
- }
-}
-
-.header {
- background: #f9f9f9;
- border-bottom: 1px solid #cdcdcd;
-}
-
-.logo {
- display: inline-block;
- height: 50px;
- padding: 5px 80px 5px 0;
-}
-
-.title {
- color: #0073ae;
- font-weight: 200;
- font-weight: 200;
- font-size: 36px;
- margin-top: 20px;
- margin-bottom: 20px;
- line-height: normal;
-}
-
-.content {
- padding-bottom: 190px;
-}
-
-.footer {
- bottom: 0;
- width: 100%;
- height: 120px;
- background: #303030;
- color: #797979;
- position: absolute;
-}
-
-.footerRow {
- padding: 20px 0 10px;
-}
-
-.footerRowLeft {
- display: inline-block;
- vertical-align: middle;
- width: 50%;
-}
-
-.footerRowRight {
- display: inline-block;
- vertical-align: middle;
- width: 50%;
- text-align: right;
-}
-
-.footerLogo {
- line-height: 24px;
- a {
- display: block;
- padding-top: 18px;
- width: 161px;
- font-size: 11px;
- color: #797979;
- background: url(../../assets/images/footer_rclogo.png) no-repeat;
- }
-}
-
-.footerLinks {
- height: 22px;
- line-height: 22px;
- font-size: 0;
- padding-top: 5px;
- li {
- display: inline-block;
- padding-left: 9px;
- margin-left: 9px;
- border-left: 1px solid #414141;
- font-size: 11px;
-
- &:first-child {
- border-left: none;
- }
-
- a {
- color: #d6d6d6;
- }
- }
-}
-
-.footerRowLast {
- padding: 10px 0;
- border-top: 1px solid #414141;
-
- .copyright {
- font-size: 12px;
- color: #797979;
- }
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/components/Markdown/index.js b/packages/ringcentral-widgets-docs/src/app/components/Markdown/index.js
deleted file mode 100644
index 23f8ebcafc..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/Markdown/index.js
+++ /dev/null
@@ -1,46 +0,0 @@
-import React, { Component } from 'react';
-import PropTypes from 'prop-types';
-import classnames from 'classnames';
-import marked from 'marked';
-import hl from 'highlight.js';
-
-import styles from './styles.scss';
-
-class Markdown extends Component {
- componentWillMount() {
- marked.setOptions({
- gfm: true,
- tables: true,
- breaks: false,
- pedantic: false,
- sanitize: false,
- smartLists: true,
- smartypants: false,
- highlight: (code, lang) => hl.highlight(lang, code).value,
- });
- }
-
- render() {
- /* eslint-disable react/no-danger */
- return (
-
- );
- /* eslint-enable */
- }
-}
-
-Markdown.propTypes = {
- className: PropTypes.string,
- text: PropTypes.string.isRequired,
-};
-
-Markdown.defaultProps = {
- className: undefined,
-};
-
-export default Markdown;
diff --git a/packages/ringcentral-widgets-docs/src/app/components/Markdown/styles.scss b/packages/ringcentral-widgets-docs/src/app/components/Markdown/styles.scss
deleted file mode 100644
index 39a7dcfb5e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/Markdown/styles.scss
+++ /dev/null
@@ -1,637 +0,0 @@
-.root {
- margin-top: 10px;
- margin-bottom: 10px;
- padding: 0 10px;
-}
-
-@font-face {
- font-family: octicons-anchor;
- src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnMDAysDB1Ml0hoGBoR9CM75mMGLkYGBgYmBlZsAKAtJcUxgcPsR8iGF2+O/AEMPsznAYKMwIkgMA5REMOXicY2BgYGaAYBkGRgYQsAHyGMF8FgYFIM0ChED+h5j//yEk/3KoSgZGNgYYk4GRCUgwMaACRoZhDwCs7QgGAAAAIgKIAAAAAf//AAJ4nHWMMQrCQBBF/0zWrCCIKUQsTDCL2EXMohYGSSmorScInsRGL2DOYJe0Ntp7BK+gJ1BxF1stZvjz/v8DRghQzEc4kIgKwiAppcA9LtzKLSkdNhKFY3HF4lK69ExKslx7Xa+vPRVS43G98vG1DnkDMIBUgFN0MDXflU8tbaZOUkXUH0+U27RoRpOIyCKjbMCVejwypzJJG4jIwb43rfl6wbwanocrJm9XFYfskuVC5K/TPyczNU7b84CXcbxks1Un6H6tLH9vf2LRnn8Ax7A5WQAAAHicY2BkYGAA4teL1+yI57f5ysDNwgAC529f0kOmWRiYVgEpDgYmEA8AUzEKsQAAAHicY2BkYGB2+O/AEMPCAAJAkpEBFbAAADgKAe0EAAAiAAAAAAQAAAAEAAAAAAAAKgAqACoAiAAAeJxjYGRgYGBhsGFgYgABEMkFhAwM/xn0QAIAD6YBhwB4nI1Ty07cMBS9QwKlQapQW3VXySvEqDCZGbGaHULiIQ1FKgjWMxknMfLEke2A+IJu+wntrt/QbVf9gG75jK577Lg8K1qQPCfnnnt8fX1NRC/pmjrk/zprC+8D7tBy9DHgBXoWfQ44Av8t4Bj4Z8CLtBL9CniJluPXASf0Lm4CXqFX8Q84dOLnMB17N4c7tBo1AS/Qi+hTwBH4rwHHwN8DXqQ30XXAS7QaLwSc0Gn8NuAVWou/gFmnjLrEaEh9GmDdDGgL3B4JsrRPDU2hTOiMSuJUIdKQQayiAth69r6akSSFqIJuA19TrzCIaY8sIoxyrNIrL//pw7A2iMygkX5vDj+G+kuoLdX4GlGK/8Lnlz6/h9MpmoO9rafrz7ILXEHHaAx95s9lsI7AHNMBWEZHULnfAXwG9/ZqdzLI08iuwRloXE8kfhXYAvE23+23DU3t626rbs8/8adv+9DWknsHp3E17oCf+Z48rvEQNZ78paYM38qfk3v/u3l3u3GXN2Dmvmvpf1Srwk3pB/VSsp512bA/GG5i2WJ7wu430yQ5K3nFGiOqgtmSB5pJVSizwaacmUZzZhXLlZTq8qGGFY2YcSkqbth6aW1tRmlaCFs2016m5qn36SbJrqosG4uMV4aP2PHBmB3tjtmgN2izkGQyLWprekbIntJFing32a5rKWCN/SdSoga45EJykyQ7asZvHQ8PTm6cslIpwyeyjbVltNikc2HTR7YKh9LBl9DADC0U/jLcBZDKrMhUBfQBvXRzLtFtjU9eNHKin0x5InTqb8lNpfKv1s1xHzTXRqgKzek/mb7nB8RZTCDhGEX3kK/8Q75AmUM/eLkfA+0Hi908Kx4eNsMgudg5GLdRD7a84npi+YxNr5i5KIbW5izXas7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format('woff');
-}
-
-.markdown-body {
- -webkit-text-size-adjust: 100%;
- text-size-adjust: 100%;
- color: #333;
- font-family: "Roboto", sans-serif;
- font-size: 16px;
- line-height: 1.6;
- word-wrap: break-word;
-}
-
-.markdown-body a {
- background-color: transparent;
-}
-
-.markdown-body a:active,
-.markdown-body a:hover {
- outline: 0;
-}
-
-.markdown-body strong {
- font-weight: 500;
-}
-
-.markdown-body img {
- border: 0;
-}
-
-.markdown-body hr {
- box-sizing: content-box;
- height: 0;
-}
-
-.markdown-body pre {
- overflow: auto;
-}
-
-.markdown-body code,
-.markdown-body kbd,
-.markdown-body pre {
- font-family: monospace, monospace;
- font-size: 1em;
-}
-
-.markdown-body input {
- color: inherit;
- font: inherit;
- margin: 0;
-}
-
-.markdown-body html input[disabled] {
- cursor: default;
-}
-
-.markdown-body input {
- line-height: normal;
-}
-
-.markdown-body input[type="checkbox"] {
- box-sizing: border-box;
- padding: 0;
-}
-
-.markdown-body table {
- border-collapse: collapse;
- border-spacing: 0;
-}
-
-.markdown-body td,
-.markdown-body th {
- padding: 0;
-}
-
-.markdown-body * {
- box-sizing: border-box;
-}
-
-.markdown-body input {
- font: 13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
-}
-
-.markdown-body a {
- color: #4078c0;
- text-decoration: none;
-}
-
-.markdown-body a:hover,
-.markdown-body a:active {
- text-decoration: underline;
-}
-
-.markdown-body hr {
- height: 0;
- margin: 15px 0;
- overflow: hidden;
- background: transparent;
- border: 0;
- border-bottom: 1px solid #ddd;
-}
-
-.markdown-body hr:before {
- display: table;
- content: "";
-}
-
-.markdown-body hr:after {
- display: table;
- clear: both;
- content: "";
-}
-
-.markdown-body h1,
-.markdown-body h2,
-.markdown-body h3,
-.markdown-body h4,
-.markdown-body h5,
-.markdown-body h6 {
- margin-top: 15px;
- margin-bottom: 15px;
- line-height: 1.1;
-}
-
-.markdown-body blockquote {
- margin: 0;
-}
-
-.markdown-body ul,
-.markdown-body ol {
- padding: 0;
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.markdown-body ol ol,
-.markdown-body ul ol {
- list-style-type: lower-roman;
-}
-
-.markdown-body ul ul ol,
-.markdown-body ul ol ol,
-.markdown-body ol ul ol,
-.markdown-body ol ol ol {
- list-style-type: lower-alpha;
-}
-
-.markdown-body dd {
- margin-left: 0;
-}
-
-.markdown-body code {
- font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
- font-size: 12px;
-}
-
-.markdown-body pre {
- margin-top: 0;
- margin-bottom: 0;
- font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
-}
-
-.markdown-body .select::-ms-expand {
- opacity: 0;
-}
-
-.markdown-body .octicon {
- font: normal normal normal 16px/1 octicons-anchor;
- display: inline-block;
- text-decoration: none;
- text-rendering: auto;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.markdown-body .octicon-link:before {
- content: '\f05c';
-}
-
-.markdown-body>*:first-child {
- margin-top: 0 !important;
-}
-
-.markdown-body>*:last-child {
- margin-bottom: 0 !important;
-}
-
-.markdown-body a:not([href]) {
- color: inherit;
- text-decoration: none;
-}
-
-.markdown-body .anchor {
- display: inline-block;
- padding-right: 2px;
- margin-left: -18px;
-}
-
-.markdown-body .anchor:focus {
- outline: none;
-}
-
-.markdown-body h1,
-.markdown-body h2,
-.markdown-body h3,
-.markdown-body h4,
-.markdown-body h5,
-.markdown-body h6 {
- margin-top: 1em;
- margin-bottom: 16px;
- font-weight: 400;
- line-height: 1.4;
- color: rgba(0, 0, 0, 0.87);
-}
-
-.markdown-body h1 .octicon-link,
-.markdown-body h2 .octicon-link,
-.markdown-body h3 .octicon-link,
-.markdown-body h4 .octicon-link,
-.markdown-body h5 .octicon-link,
-.markdown-body h6 .octicon-link {
- color: #000;
- vertical-align: middle;
- visibility: hidden;
-}
-
-.markdown-body h1:hover .anchor,
-.markdown-body h2:hover .anchor,
-.markdown-body h3:hover .anchor,
-.markdown-body h4:hover .anchor,
-.markdown-body h5:hover .anchor,
-.markdown-body h6:hover .anchor {
- text-decoration: none;
-}
-
-.markdown-body h1:hover .anchor .octicon-link,
-.markdown-body h2:hover .anchor .octicon-link,
-.markdown-body h3:hover .anchor .octicon-link,
-.markdown-body h4:hover .anchor .octicon-link,
-.markdown-body h5:hover .anchor .octicon-link,
-.markdown-body h6:hover .anchor .octicon-link {
- visibility: visible;
-}
-
-.markdown-body h1 {
- padding-bottom: 0.3em;
- font-size: 2em;
- line-height: 1.25;
- border-bottom: 1px solid #eee;
- margin: 0.67em 0;
-}
-
-.markdown-body h1 .anchor {
- line-height: 1;
-}
-
-.markdown-body h2 {
- padding-bottom: 0.3em;
- font-size: 1.5em;
- line-height: 1.334;
- border-bottom: 1px solid #eee;
-}
-
-.markdown-body h2 .anchor {
- line-height: 1;
-}
-
-.markdown-body h3 {
- font-size: 1.25em;
- line-height: 1.4;
-}
-
-.markdown-body h3 .anchor {
- line-height: 1.2;
-}
-
-.markdown-body h4 {
- font-size: 1em;
- line-height: 1.5;
-}
-
-.markdown-body h4 .anchor {
- line-height: 1.2;
-}
-
-.markdown-body h5 {
- font-size: 1em;
- line-height: 1.715;
-}
-
-.markdown-body h5 .anchor {
- line-height: 0.875;
-}
-
-.markdown-body h6 {
- font-size: 0.75em;
- color: #777;
-}
-
-.markdown-body h6 .anchor {
- line-height: 1.1;
-}
-
-.markdown-body p,
-.markdown-body blockquote,
-.markdown-body ul,
-.markdown-body ol,
-.markdown-body dl,
-.markdown-body table,
-.markdown-body pre {
- margin-top: 0;
- margin-bottom: 16px;
-}
-
-.markdown-body hr {
- height: 4px;
- padding: 0;
- margin: 16px 0;
- background-color: #e7e7e7;
- border: 0 none;
-}
-
-.markdown-body ul,
-.markdown-body ol {
- padding-left: 2em;
-}
-
-.markdown-body ul ul,
-.markdown-body ul ol,
-.markdown-body ol ol,
-.markdown-body ol ul {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.markdown-body li>p {
- margin-top: 16px;
-}
-
-.markdown-body dl {
- padding: 0;
-}
-
-.markdown-body dl dt {
- padding: 0;
- margin-top: 16px;
- font-size: 1em;
- font-style: italic;
- font-weight: bold;
-}
-
-.markdown-body dl dd {
- padding: 0 16px;
- margin-bottom: 16px;
-}
-
-.markdown-body blockquote {
- padding: 0 15px;
- color: #777;
- border-left: 4px solid #ddd;
-}
-
-.markdown-body blockquote>:first-child {
- margin-top: 0;
-}
-
-.markdown-body blockquote>:last-child {
- margin-bottom: 0;
-}
-
-.markdown-body table {
- display: block;
- width: 100%;
- overflow: auto;
- word-break: normal;
- word-break: keep-all;
-}
-
-.markdown-body table th {
- font-weight: 500;
-}
-
-.markdown-body table th,
-.markdown-body table td {
- padding: 6px 13px;
- border: 1px solid #ddd;
-}
-
-.markdown-body table tr {
- background-color: #fff;
- border-top: 1px solid #ccc;
-}
-
-.markdown-body table tr:nth-child(2n) {
- background-color: #f8f8f8;
-}
-
-.markdown-body img {
- max-width: 100%;
- box-sizing: content-box;
- background-color: #fff;
-}
-
-.markdown-body code {
- padding: 0;
- padding-top: 0.2em;
- padding-bottom: 0.2em;
- margin: 0;
- font-size: 85%;
- background-color: rgba(0,0,0,0.04);
- border-radius: 3px;
-}
-
-.markdown-body code:before,
-.markdown-body code:after {
- letter-spacing: -0.2em;
- content: "\00a0";
-}
-
-.markdown-body pre>code {
- padding: 0;
- margin: 0;
- font-size: 100%;
- word-break: normal;
- white-space: pre;
- background: transparent;
- border: 0;
-}
-
-.markdown-body .highlight {
- margin-bottom: 16px;
-}
-
-.markdown-body .highlight pre,
-.markdown-body pre {
- padding: 16px;
- overflow: auto;
- font-size: 85%;
- line-height: 1.45;
- background-color: #f7f7f7;
- border-radius: 3px;
-}
-
-.markdown-body .highlight pre {
- margin-bottom: 0;
- word-break: normal;
-}
-
-.markdown-body pre {
- word-wrap: normal;
-}
-
-.markdown-body pre code {
- display: inline;
- max-width: initial;
- padding: 0;
- margin: 0;
- overflow: initial;
- line-height: inherit;
- word-wrap: normal;
- background-color: transparent;
- border: 0;
-}
-
-.markdown-body pre code:before,
-.markdown-body pre code:after {
- content: normal;
-}
-
-.markdown-body kbd {
- display: inline-block;
- padding: 3px 5px;
- font-size: 11px;
- line-height: 10px;
- color: #555;
- vertical-align: middle;
- background-color: #fcfcfc;
- border: solid 1px #ccc;
- border-bottom-color: #bbb;
- border-radius: 3px;
- box-shadow: inset 0 -1px 0 #bbb;
-}
-
-.markdown-body .pl-c {
- color: #969896;
-}
-
-.markdown-body .pl-c1,
-.markdown-body .pl-s .pl-v {
- color: #0086b3;
-}
-
-.markdown-body .pl-e,
-.markdown-body .pl-en {
- color: #795da3;
-}
-
-.markdown-body .pl-s .pl-s1,
-.markdown-body .pl-smi {
- color: #333;
-}
-
-.markdown-body .pl-ent {
- color: #63a35c;
-}
-
-.markdown-body .pl-k {
- color: #a71d5d;
-}
-
-.markdown-body .pl-pds,
-.markdown-body .pl-s,
-.markdown-body .pl-s .pl-pse .pl-s1,
-.markdown-body .pl-sr,
-.markdown-body .pl-sr .pl-cce,
-.markdown-body .pl-sr .pl-sra,
-.markdown-body .pl-sr .pl-sre {
- color: #183691;
-}
-
-.markdown-body .pl-v {
- color: #ed6a43;
-}
-
-.markdown-body .pl-id {
- color: #b52a1d;
-}
-
-.markdown-body .pl-ii {
- background-color: #b52a1d;
- color: #f8f8f8;
-}
-
-.markdown-body .pl-sr .pl-cce {
- color: #63a35c;
- font-weight: bold;
-}
-
-.markdown-body .pl-ml {
- color: #693a17;
-}
-
-.markdown-body .pl-mh,
-.markdown-body .pl-mh .pl-en,
-.markdown-body .pl-ms {
- color: #1d3e81;
- font-weight: bold;
-}
-
-.markdown-body .pl-mq {
- color: #008080;
-}
-
-.markdown-body .pl-mi {
- color: #333;
- font-style: italic;
-}
-
-.markdown-body .pl-mb {
- color: #333;
- font-weight: bold;
-}
-
-.markdown-body .pl-md {
- background-color: #ffecec;
- color: #bd2c00;
-}
-
-.markdown-body .pl-mi1 {
- background-color: #eaffea;
- color: #55a532;
-}
-
-.markdown-body .pl-mdr {
- color: #795da3;
- font-weight: bold;
-}
-
-.markdown-body .pl-mo {
- color: #1d3e81;
-}
-
-.markdown-body kbd {
- display: inline-block;
- padding: 3px 5px;
- font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
- line-height: 10px;
- color: #555;
- vertical-align: middle;
- background-color: #fcfcfc;
- border: solid 1px #ccc;
- border-bottom-color: #bbb;
- border-radius: 3px;
- box-shadow: inset 0 -1px 0 #bbb;
-}
-
-.markdown-body:before {
- display: table;
- content: "";
-}
-
-.markdown-body:after {
- display: table;
- clear: both;
- content: "";
-}
-
-// .markdown-body .task-list-item {
-// list-style-type: none;
-// }
-
-// .markdown-body .task-list-item+.task-list-item {
-// margin-top: 3px;
-// }
-
-// .markdown-body .task-list-item input {
-// margin: 0 0.35em 0.25em -1.6em;
-// vertical-align: middle;
-// }
-
-// .markdown-body :checked+.radio-label {
-// z-index: 1;
-// position: relative;
-// border-color: #4078c0;
-// }
diff --git a/packages/ringcentral-widgets-docs/src/app/components/PropTypeDescription/index.js b/packages/ringcentral-widgets-docs/src/app/components/PropTypeDescription/index.js
deleted file mode 100644
index 10789756c6..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/PropTypeDescription/index.js
+++ /dev/null
@@ -1,151 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import { parse as parseDoctrine } from 'doctrine';
-
-import Markdown from '../Markdown';
-
-import styles from './styles.scss';
-
-function generatePropType(type) {
- if (!type) {
- return 'unknown';
- }
- let values;
- switch (type.name) {
- case 'func':
- return 'function';
-
- case 'custom':
- return type.raw;
-
- case 'enum':
- case 'union':
- values = type.value.map((v) => v.value || v.name).join(' ');
- return `${type.name}: ${values} `;
-
- default:
- return type.name;
- }
-}
-
-function generateDescription(required, description, type) {
- const parsed = parseDoctrine(description);
-
- const jsDocText = parsed.description
- .replace(/\n\n/g, ' ')
- .replace(/\n/g, ' ');
-
- if (parsed.tags.some((tag) => tag.title === 'ignore')) return null;
- let signature = '';
-
- if (type && type.name === 'func' && parsed.tags.length > 0) {
- // Remove new lines from tag descriptions to avoid markdown errors.
- parsed.tags.forEach((tag) => {
- if (tag.description) {
- tag.description = tag.description.replace(/\n/g, ' ');
- }
- });
-
- const parsedLength = parsed.tags.length;
- let parsedArgs = [];
- let parsedReturns;
-
- if (parsed.tags[parsedLength - 1].title === 'returns') {
- parsedArgs = parsed.tags.slice(0, parsedLength - 1);
- parsedReturns = parsed.tags[parsedLength - 1];
- } else {
- parsedArgs = parsed.tags;
- parsedReturns = { type: { name: 'void' } };
- }
-
- signature += ' **Signature:** `function(';
- signature += parsedArgs
- .map((tag) => `${tag.name}: ${tag.type.name}`)
- .join(', ');
- signature += `) => ${parsedReturns.type.name}\` `;
- signature += parsedArgs
- .map((tag) => `*${tag.name}:* ${tag.description}`)
- .join(' ');
- if (parsedReturns.description) {
- signature += ` *returns* (${parsedReturns.type.name}): ${parsedReturns.description}`;
- }
- }
-
- return `${jsDocText}${signature}`;
-}
-
-const PropTypeDescription = (props) => {
- const { componentInfo: info, header } = props;
- let componentInfo = info;
- if (Array.isArray(componentInfo)) {
- componentInfo = componentInfo[0];
- }
- console.log(componentInfo);
- if (!componentInfo || !componentInfo.props) {
- return null;
- }
- let requiredProps = 0;
-
- let text = `${header}
-| Name | Type | Default | Description |
-|:-----|:-----|:-----|:-----|\n`;
-
- Object.keys(componentInfo.props).forEach((key) => {
- const prop = componentInfo.props[key];
- const description = generateDescription(
- prop.required,
- prop.description || '',
- prop.type,
- );
-
- if (description === null) {
- return;
- }
-
- let defaultValue = '';
-
- if (prop.defaultValue) {
- defaultValue = prop.defaultValue.value.replace(/\n/g, '');
- }
-
- if (prop.required) {
- key = `${key} * `;
- requiredProps += 1;
- }
-
- text += `| ${key} | ${generatePropType(
- prop.type,
- )} | ${defaultValue} | ${description} |\n`;
- });
-
- text += 'Other properties (not documented) are applied to the root element.';
-
- let requiredPropFootnote = '';
- if (requiredProps === 1) {
- requiredPropFootnote = '* required property';
- } else if (requiredProps > 1) {
- requiredPropFootnote = '* required properties';
- }
-
- return (
-
-
-
{requiredPropFootnote}
-
- );
-};
-
-PropTypeDescription.propTypes = {
- componentInfo: PropTypes.oneOfType([
- PropTypes.object,
- PropTypes.arrayOf(PropTypes.object),
- ]),
- header: PropTypes.string,
-};
-
-PropTypeDescription.defaultProps = {
- header: '### Properties',
- componentInfo: {},
-};
-
-export default PropTypeDescription;
diff --git a/packages/ringcentral-widgets-docs/src/app/components/PropTypeDescription/styles.scss b/packages/ringcentral-widgets-docs/src/app/components/PropTypeDescription/styles.scss
deleted file mode 100644
index 57e1c3937f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/PropTypeDescription/styles.scss
+++ /dev/null
@@ -1,51 +0,0 @@
-.footnote {
- font-size: 90%;
- padding-left: 10px;
-}
-
-.propTypeDescription {
- margin-top: 40px;
-}
-
-.propTypeDescription table tr:nth-child(2n) {
- background-color: #fff;
-}
-
-.propTypeDescription table td, .propTypeDescription table th {
- border-top: 1px solid rgba(0, 0, 0, 0.06);
- border-left: 0 none;
- border-right: 0 none;
- display: table-cell;
- vertical-align: top;
-}
-
-.propTypeDescription table th {
- border-bottom: 2px solid rgba(0, 0, 0, 0.06);
- border-top: 0 none;
- color: #888;
- display: table-cell;
- font-weight: normal;
- text-align: left;
-}
-
-.propTypeDescription table td {
- color: #266d90;
- font-size: 95%;
-}
-
-.propTypeDescription table td + td {
- color: #bf2a5c;
- font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
- font-size: 90%;
-}
-
-.propTypeDescription table td + td + td {
- color: #666;
-}
-
-.propTypeDescription table td + td + td + td {
- color: rgba(51, 51, 51, 0.9);
- font-family: "Roboto", sans-serif;
- font-size: 95%;
- min-width: 250px;
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/components/Search/index.js b/packages/ringcentral-widgets-docs/src/app/components/Search/index.js
deleted file mode 100644
index 59f1629f5a..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/Search/index.js
+++ /dev/null
@@ -1,96 +0,0 @@
-import React, { Component } from 'react';
-import classnames from 'classnames';
-import PropTypes from 'prop-types';
-import { Link } from 'react-router-dom';
-
-import styles from './styles.scss';
-
-function SearchResult(props) {
- return (
-
- {props.result.map((item) => (
-
-
- {item.name}
-
-
- ))}
-
- );
-}
-
-SearchResult.propTypes = {
- onClick: PropTypes.func.isRequired,
- result: PropTypes.arrayOf(PropTypes.object).isRequired,
-};
-
-class Search extends Component {
- constructor(props) {
- super(props);
- this.state = {
- value: '',
- result: [],
- show: false,
- };
- this.onChange = (e) => {
- const value = e.currentTarget.value;
- this.setState({
- value,
- });
- if (value.length >= 2) {
- this.setState({
- result: this.search(value),
- show: true,
- });
- }
- };
-
- this.search = (text) =>
- this.props.components.filter((component) => {
- const searchString = text.toLowerCase();
- if (component.name.toLowerCase().indexOf(searchString) >= 0) {
- return true;
- }
- if (component.description.toLowerCase().indexOf(searchString) >= 0) {
- return true;
- }
- return false;
- });
-
- this.onSelect = () => {
- this.setState({
- show: false,
- });
- };
- }
-
- render() {
- const resultClassName = classnames(
- styles.result,
- this.state.result.length > 0 && this.state.show ? null : styles.hidden,
- );
- return (
-
- );
- }
-}
-
-Search.propTypes = {
- components: PropTypes.arrayOf(PropTypes.object).isRequired,
-};
-
-export default Search;
diff --git a/packages/ringcentral-widgets-docs/src/app/components/Search/styles.scss b/packages/ringcentral-widgets-docs/src/app/components/Search/styles.scss
deleted file mode 100644
index 9e3b7c80c2..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/Search/styles.scss
+++ /dev/null
@@ -1,73 +0,0 @@
-.root {
- display: block;
- position: relative;
-}
-
-.searchInput {
- display: block;
-}
-
-.input {
- display: block;
- width: 100%;
- border: none;
- border-bottom: 1px solid #e8e8e8;
- font-size: 14px;
- background: #fff url(../../assets/images/ico_search.png) no-repeat 8px 50% !important;
- height: 40px;
- border-radius: 3px;
- padding: 0 6px;
- color: #282828;
- margin: 0;
- padding-left: 25px;
-
- &:hover {
- // border-color: #0073ae;
- outline: 0;
- // box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(102,175,233,0.6);
- }
-
- &:focus {
- outline: 0;
- }
-}
-
-.result {
- position: absolute;
- top: 100%;
- background: #ffffff;
- width: 542px;
- z-index: 2;
- border: 1px solid #ccc;
- max-height: 300px;
- overflow-y: auto;
-}
-
-.hidden {
- display: none;
-}
-
-.resultList {
- margin: 0;
- padding: 0;
- list-style: none;
-
- li {
- padding: 0;
- cursor: pointer;
-
- &:hover {
- background: #f3f3f3;
- }
-
- a {
- padding: 10px 25px;
- display: block;
- width: 100%;
- color: #585858;
- &:hover {
- color: #585858;
- }
- }
- }
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/components/SideBarView/index.js b/packages/ringcentral-widgets-docs/src/app/components/SideBarView/index.js
deleted file mode 100644
index a795298577..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/SideBarView/index.js
+++ /dev/null
@@ -1,82 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import { Link } from 'react-router-dom';
-import classnames from 'classnames';
-
-import Collapse from '../Collapse';
-import styles from './styles.scss';
-
-const STYLES_ITEMS = [
- {
- name: 'Colors',
- path: '/styles/colors',
- },
- {
- name: 'Buttons',
- path: '/styles/buttons',
- },
- {
- name: 'Dropdown',
- path: '/styles/dropdown',
- },
-];
-function ComponentList(props) {
- return (
-
- {props.components.map((component) => (
-
- {component.name}
-
- ))}
-
- );
-}
-
-ComponentList.propTypes = {
- components: PropTypes.array.isRequired,
-};
-
-function SideBarView(props) {
- const navClassName = classnames(
- styles.navigation,
- props.fixed ? styles.fixed : null,
- );
- return (
-
-
-
-
-
- OverView
-
-
-
-
- {STYLES_ITEMS.map((item) => (
-
- {item.name}
-
- ))}
-
-
-
-
-
-
-
-
-
-
-
-
{props.children}
-
- );
-}
-
-SideBarView.propTypes = {
- children: PropTypes.node.isRequired,
- components: PropTypes.array.isRequired,
- fixed: PropTypes.bool.isRequired,
-};
-
-export default SideBarView;
diff --git a/packages/ringcentral-widgets-docs/src/app/components/SideBarView/styles.scss b/packages/ringcentral-widgets-docs/src/app/components/SideBarView/styles.scss
deleted file mode 100644
index 10c9283972..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/components/SideBarView/styles.scss
+++ /dev/null
@@ -1,65 +0,0 @@
-$sidebar-width: 220px;
-
-.root {
- margin-top: 0;
- position: relative;
- width: 100%;
- height: 100%;
-}
-
-.sidebar {
- position: relative;
- display: inline-block;
- padding-top: 10px;
- width: $sidebar-width;
- text-align: left;
- font-weight: normal;
- vertical-align: top;
-}
-
-.main {
- position: relative;
- display: inline-block;
- width: calc(100% - #{$sidebar-width});
- padding-top: 10px;
- padding-left: 30px;
- text-align: left;
- min-height: 500px;
- font-size: 16px;
- vertical-align: top;
-}
-
-.navigation {
- overflow: auto;
- padding: 10px 30px 10px 10px;
- max-height: 560px;
- border: 1px solid #e8e8e8;
- border-radius: 8px;
- background: #ffffff;
-
- ul {
- list-style: none;
- padding-left: 0;
- margin: 0;
- }
-
- li {
- padding: 0 0 0 20px;
-
- a {
- font-size: 14px;
- color: #585858;
- padding: 10px 0 10px 0;
- display: block;
- border-bottom: 1px solid #e8e8e8;
- text-decoration: none;
- }
- }
-}
-
-.fixed {
- position: fixed;
- top: 10px;
- width: $sidebar-width;
- z-index: 2;
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/componentsData.json b/packages/ringcentral-widgets-docs/src/app/componentsData.json
deleted file mode 100644
index 57ca43715c..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/componentsData.json
+++ /dev/null
@@ -1,16176 +0,0 @@
-[
- {
- "description": "",
- "displayName": "ActionMenu",
- "methods": [],
- "props": {
- "extended": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onToggle": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "reference": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "extendIconClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onLog": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "isLogged": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isLogging": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isCreating": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onViewEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCreateEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "hasEntity": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onClickToDial": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToSms": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "phoneNumber": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "disableClickToDial": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "addLogTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "editLogTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "textTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "callTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "createEntityTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "viewEntityTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onDelete": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "deleteTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onMark": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onUnmark": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "marked": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "markTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "externalViewEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "externalHasEntity": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disableClickToSms": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "ActionMenu"
- },
- {
- "description": "",
- "displayName": "ActiveCallActionMenu",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToSms": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "phoneNumber": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "textTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onLog": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "isLogged": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isLogging": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "addLogTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "editLogTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "stopPropagation": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onCreateEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "hasEntity": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onViewEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "createEntityTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "viewEntityTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "ActiveCallActionMenu"
- },
- {
- "description": "",
- "displayName": "ActiveCallBadge",
- "methods": [],
- "props": {
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "offsetX": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "offsetY": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "updatePositionOffset": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "title": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'Active Call'",
- "computed": false
- }
- }
- },
- "name": "ActiveCallBadge"
- },
- {
- "description": "",
- "displayName": "ActiveCallButton",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "buttonClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "active": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "title": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "icon": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showBorder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "width": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'100%'",
- "computed": false
- }
- },
- "height": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'100%'",
- "computed": false
- }
- },
- "x": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- },
- "y": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- },
- "iconWidth": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "iconHeight": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "iconX": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "iconY": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "ActiveCallButton"
- },
- {
- "description": "",
- "displayName": "ActiveCallDialPad",
- "methods": [],
- "props": {
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "hiddenDialPad": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onHangup": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "ActiveCallDialPad"
- },
- {
- "description": "",
- "displayName": "ActiveCallItem",
- "methods": [
- {
- "name": "onSelectContact",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "value",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getFallbackContactName",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getSelectedContact",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "selected",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getContactMatches",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "nextProps",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getPhoneNumber",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getMyPhoneNumber",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getCallInfo",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "clickToSms",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "createSelectedContact",
- "docblock": null,
- "modifiers": [
- "async"
- ],
- "params": [
- {
- "name": "entityType",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "viewSelectedContact",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "logCall",
- "docblock": null,
- "modifiers": [
- "async"
- ],
- "params": [
- {
- "name": "{ redirect = true, selected }",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "call": {
- "type": {
- "name": "shape",
- "value": {
- "direction": {
- "name": "string",
- "required": true
- },
- "telephonyStatus": {
- "name": "string",
- "required": false
- },
- "startTime": {
- "name": "number",
- "required": true
- },
- "activityMatches": {
- "name": "array",
- "required": true
- },
- "fromMatches": {
- "name": "array",
- "required": true
- },
- "toMatches": {
- "name": "array",
- "required": true
- },
- "from": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": false
- },
- "extensionNumber": {
- "name": "string",
- "required": false
- },
- "name": {
- "name": "string",
- "required": false
- }
- },
- "required": true
- },
- "to": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": false
- },
- "extensionNumber": {
- "name": "string",
- "required": false
- },
- "name": {
- "name": "string",
- "required": false
- }
- },
- "required": false
- },
- "webphoneSession": {
- "name": "object",
- "required": false
- }
- }
- },
- "required": true,
- "description": ""
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "outboundSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "internalSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isLogging": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "webphoneAnswer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneReject": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneHangup": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneResume": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneToVoicemail": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "enableContactFallback": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoLog": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'RingCentral'",
- "computed": false
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onClickToSms": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCreateContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onLogCall": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onViewContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "renderContactName": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "renderExtraButton": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "contactDisplayStyle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "externalViewEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "externalHasEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "readTextPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- }
- },
- "name": "ActiveCallItem"
- },
- {
- "description": "",
- "displayName": "ActiveCallPad",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "isOnMute": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isOnHold": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "recordStatus": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onMute": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onUnmute": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onHold": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onUnhold": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onRecord": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onStopRecord": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onHangup": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onPark": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onShowKeyPad": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onAdd": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onShowFlipPanel": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onToggleTransferPanel": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "flipNumbers": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "ActiveCallPad"
- },
- {
- "description": "",
- "displayName": "ActiveCallPanel",
- "methods": [],
- "props": {
- "phoneNumber": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "nameMatches": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "fallBackName": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "startTime": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "startTimeOffset": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- },
- "isOnMute": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isOnHold": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "recordStatus": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onMute": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onUnmute": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onHold": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onUnhold": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onRecord": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onStopRecord": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onAdd": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onHangup": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onPark": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onBackButtonClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onShowKeyPad": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "selectedMatcherIndex": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "onSelectMatcherName": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "avatarUrl": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "backButtonLabel": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'Active Calls'",
- "computed": false
- }
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'RingCentral'",
- "computed": false
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "onShowFlipPanel": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "flipNumbers": {
- "type": {
- "name": "array"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "[]",
- "computed": false
- }
- },
- "calls": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "onToggleTransferPanel": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "ActiveCallPanel"
- },
- {
- "description": "",
- "displayName": "ActiveCallsPanel",
- "methods": [
- {
- "name": "hasCalls",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "props",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "activeRingCalls": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "activeOnHoldCalls": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "activeCurrentCalls": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "otherDeviceCalls": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'RingCentral'",
- "computed": false
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onClickToSms": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCreateContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "outboundSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "internalSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "isLoggedContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onLogCall": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneAnswer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneReject": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneHangup": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneResume": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneToVoicemail": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoLog": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onViewContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "enableContactFallback": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "loggingMap": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "{}",
- "computed": false
- }
- },
- "onCallsEmpty": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "ActiveCallsPanel"
- },
- {
- "description": "",
- "displayName": "AlertDisplay",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": ""
- },
- "messages": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "id": {
- "name": "string",
- "required": true
- },
- "level": {
- "name": "enum",
- "computed": true,
- "value": "Object.keys(alertLevels)",
- "required": true
- },
- "message": {
- "name": "string",
- "required": true
- },
- "payload": {
- "name": "any",
- "required": false
- }
- }
- }
- },
- "required": false,
- "description": ""
- },
- "getRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => undefined",
- "computed": false
- }
- },
- "dismiss": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "animation": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'RingCentral'",
- "computed": false
- }
- },
- "duration": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": ""
- },
- "component": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "Message",
- "computed": true
- }
- }
- },
- "name": "AlertDisplay"
- },
- {
- "description": "",
- "displayName": "AnimationAlert",
- "methods": [],
- "props": {
- "entranceAnimation": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'fadeInDown'",
- "computed": false
- }
- },
- "exitAnimation": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'fadeOutUp'",
- "computed": false
- }
- },
- "duration": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "500",
- "computed": false
- }
- }
- },
- "composes": [
- "../AlertDisplay"
- ],
- "name": "AnimationAlert"
- },
- {
- "description": "",
- "displayName": "AudioSettingsAlert",
- "methods": [],
- "props": {
- "application": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "message": {
- "type": {
- "name": "shape",
- "value": {
- "message": {
- "name": "string",
- "required": true
- }
- }
- },
- "required": true,
- "description": ""
- }
- },
- "name": "AudioSettingsAlert"
- },
- {
- "description": "",
- "displayName": "AudioSettingsPanel",
- "methods": [
- {
- "name": "onSave",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onReset",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onDialButtonVolumeChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "dialButtonVolume",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onDialButtonMutedChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "dialButtonMuted",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onRingtoneVolumeChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "ringtoneVolume",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onRingtoneMutedChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "ringtoneMuted",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onCallVolumeChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "callVolume",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onOutputDeviceIdChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "device",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onInputDeviceIdChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "device",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "renderDeviceOption",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "device",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "renderDeviceValue",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "device",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "renderOutputDevice",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "value",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "renderInputDevice",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "value",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "dialButtonVolume": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "ringtoneVolume": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "ringtoneMuted": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "callVolume": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "dialButtonMuted": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "onBackButtonClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "availableInputDevices": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "deviceId": {
- "name": "string",
- "required": true
- },
- "label": {
- "name": "string",
- "required": true
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "inputDeviceId": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "availableOutputDevices": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "deviceId": {
- "name": "string",
- "required": true
- },
- "label": {
- "name": "string",
- "required": true
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "outputDeviceId": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "supportDevices": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "onSave": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "userMedia": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "isWebRTC": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "checkUserMedia": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "outputDeviceDisabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "inputDeviceDisabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "AudioSettingsPanel"
- },
- {
- "description": "",
- "displayName": "AuthAlert",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "message": {
- "type": {
- "name": "shape",
- "value": {
- "message": {
- "name": "string",
- "required": true
- }
- }
- },
- "required": true,
- "description": ""
- }
- },
- "name": "AuthAlert"
- },
- {
- "description": "",
- "displayName": "BackHeader",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": ""
- },
- "backButton": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "buttons": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "label": {
- "name": "node",
- "required": true
- },
- "onClick": {
- "name": "custom",
- "raw": "PropTypes.funcs",
- "required": false
- },
- "placement": {
- "name": "enum",
- "value": [
- {
- "value": "'left'",
- "computed": false
- },
- {
- "value": "'right'",
- "computed": false
- }
- ],
- "required": false
- }
- }
- }
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onBackClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": ""
- }
- },
- "name": "BackHeader"
- },
- {
- "description": "",
- "displayName": "Badge",
- "methods": [],
- "props": {
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "name": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "Badge"
- },
- {
- "description": "",
- "displayName": "Button",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "Button"
- },
- {
- "description": "",
- "displayName": "CallAvatar",
- "methods": [],
- "props": {
- "isOnConferenceCall": {
- "type": {
- "name": "bool"
- }
- },
- "avatarUrl": {
- "type": {
- "name": "string"
- }
- },
- "extraNum": {
- "type": {
- "name": "number"
- }
- },
- "spinnerMode": {
- "description": "Set to true to make it always show the loading spinner.",
- "type": {
- "name": "bool"
- }
- }
- },
- "name": "CallAvatar"
- },
- {
- "description": "",
- "displayName": "CallAlert",
- "methods": [],
- "props": {
- "onAreaCodeLinkClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "message": {
- "type": {
- "name": "shape",
- "value": {
- "message": {
- "name": "string",
- "required": true
- }
- }
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "object"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "CallAlert"
- },
- {
- "description": "",
- "displayName": "CallCtrlPanel",
- "methods": [],
- "props": {
- "callStatus": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "sessionId": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "phoneNumber": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "nameMatches": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "fallBackName": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "startTime": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "isOnMute": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isOnHold": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isOnFlip": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isOnTransfer": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "flipNumbers": {
- "type": {
- "name": "array"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "[]",
- "computed": false
- }
- },
- "calls": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "recordStatus": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onMute": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onUnmute": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onHold": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onUnhold": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onRecord": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onStopRecord": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onAdd": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onPark": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onHangup": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onFlip": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onTransfer": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onBackButtonClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onKeyPadChange": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "selectedMatcherIndex": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "onSelectMatcherName": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "avatarUrl": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "backButtonLabel": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'Active Calls'",
- "computed": false
- }
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'RingCentral'",
- "computed": false
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "searchContactList": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "searchContact": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "phoneTypeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "recipientsContactInfoRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "recipientsContactPhoneRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "CallCtrlPanel"
- },
- {
- "description": "",
- "displayName": "CallItem",
- "methods": [
- {
- "name": "onSelectContact",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "value",
- "type": null
- },
- {
- "name": "idx",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "toggleExtended",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getInitialContactIndex",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "nextProps",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getSelectedContact",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "selected",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getPhoneNumber",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getContactMatches",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "nextProps",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getFallbackContactName",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "logCall",
- "docblock": null,
- "modifiers": [
- "async"
- ],
- "params": [
- {
- "name": "{ redirect = true, selected }",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "viewSelectedContact",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "createSelectedContact",
- "docblock": null,
- "modifiers": [
- "async"
- ],
- "params": [
- {
- "name": "entityType",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "clickToSms",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "{ countryCode, areaCode }",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "clickToDial",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "call": {
- "type": {
- "name": "shape",
- "value": {
- "direction": {
- "name": "string",
- "required": true
- },
- "telephonyStatus": {
- "name": "string",
- "required": false
- },
- "startTime": {
- "name": "number",
- "required": true
- },
- "activityMatches": {
- "name": "array",
- "required": true
- },
- "fromMatches": {
- "name": "array",
- "required": true
- },
- "toMatches": {
- "name": "array",
- "required": true
- },
- "from": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": false
- },
- "extensionNumber": {
- "name": "string",
- "required": false
- },
- "name": {
- "name": "string",
- "required": false
- }
- },
- "required": true
- },
- "to": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": false
- },
- "extensionNumber": {
- "name": "string",
- "required": false
- },
- "name": {
- "name": "string",
- "required": false
- }
- },
- "required": false
- },
- "webphoneSession": {
- "name": "object",
- "required": false
- }
- }
- },
- "required": true,
- "description": ""
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onLogCall": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onViewContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCreateContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToDial": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToSms": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "isLoggedContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => false",
- "computed": false
- }
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "disableClickToDial": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "outboundSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "internalSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "active": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "dateTimeFormatter": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "isLogging": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "enableContactFallback": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoLog": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "renderContactName": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "renderExtraButton": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "contactDisplayStyle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "externalViewEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "externalHasEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "readTextPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- }
- },
- "name": "CallItem"
- },
- {
- "description": "",
- "displayName": "CallList",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "calls": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "custom",
- "raw": "CallItem.propTypes.call"
- }
- },
- "required": true,
- "description": ""
- },
- "active": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onViewContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCreateContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onLogCall": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToDial": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToSms": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "isLoggedContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "loggingMap": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "{}",
- "computed": false
- }
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "disableClickToDial": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "outboundSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "internalSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "dateTimeFormatter": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "webphoneAnswer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneReject": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneHangup": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneResume": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "enableContactFallback": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoLog": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "renderContactName": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "renderExtraButton": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "contactDisplayStyle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "externalViewEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "externalHasEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "readTextPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- }
- },
- "name": "CallList"
- },
- {
- "description": "",
- "displayName": "CallingSettingsAlert",
- "methods": [],
- "props": {
- "message": {
- "type": {
- "name": "shape",
- "value": {
- "message": {
- "name": "string",
- "required": true
- }
- }
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onCallingSettingsLinkClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "CallingSettingsAlert"
- },
- {
- "description": "",
- "displayName": "CallingSettingsPanel",
- "methods": [
- {
- "name": "onSave",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onReset",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onCallWithChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "callWith",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onMyLocationChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "myLocation",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onMyLocationTextChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onRingoutPromptChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "checked",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getTooltipContent",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "renderHandler",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "option",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "brand": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "callWithOptions": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "string"
- }
- },
- "required": true,
- "description": ""
- },
- "callWith": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "myLocation": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "ringoutPrompt": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "availableNumbers": {
- "type": {
- "name": "object"
- },
- "required": true,
- "description": ""
- },
- "onBackButtonClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onSave": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "CallingSettingsPanel"
- },
- {
- "description": "",
- "displayName": "CallsListPanel",
- "methods": [
- {
- "name": "hasCalls",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "props",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "activeRingCalls": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "activeOnHoldCalls": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "activeCurrentCalls": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "otherDeviceCalls": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'RingCentral'",
- "computed": false
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onClickToSms": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCreateContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "outboundSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "internalSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "isLoggedContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onLogCall": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneAnswer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneReject": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneHangup": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneResume": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneToVoicemail": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoLog": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onViewContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "enableContactFallback": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "loggingMap": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "{}",
- "computed": false
- }
- },
- "onCallsEmpty": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "calls": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "any"
- }
- },
- "required": true,
- "description": ""
- },
- "onClickToDial": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "disableClickToDial": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "dateTimeFormatter": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "active": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "renderContactName": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "renderExtraButton": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "contactDisplayStyle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "styles.contactDisplay",
- "computed": true
- }
- },
- "activeContactDisplayStyle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "styles.activeContactDisplay",
- "computed": true
- }
- },
- "currentLog": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCloseLogSection": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onUpdateCallLog": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onSaveCallLog": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "renderEditLogSection": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "logNotification": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCloseNotification": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onDiscardNotification": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onSaveNotification": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onExpandNotification": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showSaveLogBtn": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "sectionContainerStyles": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "sectionModalStyles": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "notificationContainerStyles": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "externalViewEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "externalHasEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "readTextPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- }
- },
- "name": "CallsListPanel"
- },
- {
- "description": "",
- "displayName": "CallsPanel",
- "methods": [],
- "props": {
- "brand": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "calls": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "any"
- }
- },
- "required": true,
- "description": ""
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onViewContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCreateContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToDial": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToSms": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onLogCall": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "isLoggedContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "disableClickToDial": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "outboundSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "internalSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "dateTimeFormatter": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "title": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "active": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "loggingMap": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "{}",
- "computed": false
- }
- },
- "webphoneAnswer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneReject": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneHangup": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "webphoneResume": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "enableContactFallback": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoLog": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "CallsPanel"
- },
- {
- "description": "",
- "displayName": "CheckBox",
- "methods": [],
- "props": {
- "valueField": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "textField": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "selected": {
- "type": {
- "name": "any"
- },
- "required": true,
- "description": ""
- },
- "data": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "onSelect": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- }
- },
- "name": "CheckBox"
- },
- {
- "description": "Circle Button with SVG",
- "displayName": "CircleButton",
- "methods": [],
- "props": {
- "icon": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showBorder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "iconClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "width": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'100%'",
- "computed": false
- }
- },
- "height": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'100%'",
- "computed": false
- }
- },
- "x": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- },
- "y": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "iconWidth": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "200",
- "computed": false
- }
- },
- "iconHeight": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "200",
- "computed": false
- }
- },
- "iconX": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "150",
- "computed": false
- }
- },
- "iconY": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "150",
- "computed": false
- }
- }
- },
- "name": "CircleButton"
- },
- {
- "description": "",
- "displayName": "ComposeTextPanel",
- "methods": [
- {
- "name": "hasSenderNumbers",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "brand": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'RingCentral'",
- "computed": false
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "send": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "senderNumbers": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": true
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "sendButtonDisabled": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "formatContactPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "searchContact": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "searchContactList": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "name": {
- "name": "string",
- "required": true
- },
- "entityType": {
- "name": "string",
- "required": true
- },
- "phoneType": {
- "name": "string",
- "required": true
- },
- "phoneNumber": {
- "name": "string",
- "required": true
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "updateSenderNumber": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "updateTypingToNumber": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "cleanTypingToNumber": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "addToNumber": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "removeToNumber": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "updateMessageText": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "messageText": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "typingToNumber": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "senderNumber": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "toNumbers": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": true
- },
- "name": {
- "name": "string",
- "required": false
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "outboundSMS": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "phoneTypeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "recipientsContactInfoRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "recipientsContactPhoneRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoFocus": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "ComposeTextPanel"
- },
- {
- "description": "",
- "displayName": "ConnectivityAlert",
- "methods": [],
- "props": {
- "message": {
- "type": {
- "name": "shape",
- "value": {
- "message": {
- "name": "string",
- "required": true
- }
- }
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "ConnectivityAlert"
- },
- {
- "description": "",
- "displayName": "ContactDetails",
- "methods": [
- {
- "name": "onClickToDial",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "contact",
- "type": null
- },
- {
- "name": "phoneNumber",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onClickToSMS",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "contact",
- "type": null
- },
- {
- "name": "phoneNumber",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onClickMailTo",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "email",
- "type": null
- },
- {
- "name": "contactType",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "renderProfile",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "renderExtensionCell",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "renderDirectNumberCell",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "renderEmailCell",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "contactItem": {
- "type": {
- "name": "shape",
- "value": {
- "id": {
- "name": "union",
- "value": [
- {
- "name": "string"
- },
- {
- "name": "number"
- }
- ],
- "required": true
- },
- "type": {
- "name": "string",
- "required": true
- },
- "firstName": {
- "name": "string",
- "required": false
- },
- "lastName": {
- "name": "string",
- "required": false
- },
- "email": {
- "name": "string",
- "required": false
- },
- "profileImageUrl": {
- "name": "string",
- "required": false
- },
- "phoneNumbers": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": false
- },
- "phoneType": {
- "name": "string",
- "required": false
- }
- }
- },
- "required": false
- }
- }
- },
- "required": true,
- "description": ""
- },
- "sourceNodeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "onClickToSMS": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToDial": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickMailTo": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "formatNumber": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "outboundSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "internalSmsPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "ContactDetails"
- },
- {
- "description": "",
- "displayName": "ContactDisplay",
- "methods": [],
- "props": {
- "reference": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "contactMatches": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "any"
- }
- },
- "required": true,
- "description": ""
- },
- "selected": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "onSelectContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "isLogging": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "fallBackName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "enableContactFallback": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "phoneNumber": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "groupNumbers": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "string"
- }
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showType": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "selectClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "selectedClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "stopPropagation": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showGroupNumberName": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "contactName": {
- "type": {
- "name": "any"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "ContactDisplay"
- },
- {
- "description": "",
- "displayName": "ContactDropdownList",
- "methods": [],
- "props": {
- "scrollDirection": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "visibility": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "items": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "name": {
- "name": "string",
- "required": true
- },
- "entityType": {
- "name": "string",
- "required": true
- },
- "phoneType": {
- "name": "string",
- "required": true
- },
- "phoneNumber": {
- "name": "string",
- "required": true
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "formatContactPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "addToRecipients": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "setSelectedIndex": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "selectedIndex": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "titleEnabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "listRef": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "phoneTypeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "contactInfoRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "contactPhoneRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "ContactDropdownList"
- },
- {
- "description": "",
- "displayName": "ContactItem",
- "methods": [
- {
- "name": "onItemSelected",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "contact": {
- "type": {
- "name": "shape",
- "value": {
- "id": {
- "name": "string",
- "required": false
- },
- "type": {
- "name": "string",
- "required": false
- },
- "name": {
- "name": "string",
- "required": false
- },
- "extensionNumber": {
- "name": "string",
- "required": false
- },
- "email": {
- "name": "string",
- "required": false
- },
- "profileImageUrl": {
- "name": "string",
- "required": false
- },
- "presence": {
- "name": "object",
- "required": false
- }
- }
- },
- "required": true,
- "description": ""
- },
- "getAvatarUrl": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "getPresence": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onSelect": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "sourceNodeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- }
- },
- "name": "ContactItem"
- },
- {
- "description": "",
- "displayName": "ContactList",
- "methods": [
- {
- "name": "getDerivedStateFromProps",
- "docblock": null,
- "modifiers": [
- "static"
- ],
- "params": [
- {
- "name": "props",
- "type": null
- },
- {
- "name": "state",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "calculateRowHeight",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "{ index }",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "findGroup",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "{ index }",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "rowGetter",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "{ index }",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onScroll",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "{ scrollTop }",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "resetScrollTop",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "cellRenderer",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "{\n rowData,\n}",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onRowsRendered",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "{ startIndex }",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "headerRenderer",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "renderList",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "contactGroups": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "id": {
- "name": "string",
- "required": true
- },
- "caption": {
- "name": "string",
- "required": true
- },
- "contacts": {
- "name": "arrayOf",
- "value": {
- "name": "custom",
- "raw": "ContactItem.propTypes.contact"
- },
- "required": true
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "getAvatarUrl": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "getPresence": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onItemSelect": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "sourceNodeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "width": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "height": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "ContactList"
- },
- {
- "description": "",
- "displayName": "ContactsView",
- "methods": [
- {
- "name": "calculateContentSize",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onSearchInputChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "{ target: { value } }",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onSourceSelect",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "searchSource",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "search",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "{\n searchSource = this.props.searchSource,\n searchString = this.state.searchString,\n delay = 0,\n}",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "contactGroups": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "id": {
- "name": "string",
- "required": true
- },
- "caption": {
- "name": "string",
- "required": true
- },
- "contacts": {
- "name": "arrayOf",
- "value": {
- "name": "custom",
- "raw": "ContactItem.propTypes.contact"
- },
- "required": true
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "contactSourceNames": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "string"
- }
- },
- "required": true,
- "description": ""
- },
- "getAvatarUrl": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "getPresence": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "searchSource": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "searchString": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onItemSelect": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onSearchContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "contactSourceFilterRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "ContactSourceFilter",
- "computed": true
- }
- },
- "sourceNodeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onVisitPage": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "ContactsView"
- },
- {
- "description": "",
- "displayName": "ConversationList",
- "methods": [
- {
- "name": "onScroll",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "brand": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "conversations": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "id": {
- "name": "number",
- "required": false
- },
- "conversationId": {
- "name": "string",
- "required": true
- },
- "subject": {
- "name": "string",
- "required": false
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "perPage": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "20",
- "computed": false
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showConversationDetail": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "readMessage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "markMessage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "unmarkMessage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "dateTimeFormatter": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showGroupNumberName": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "placeholder": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "typeFilter": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "loadNextPage": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "loadingNextPage": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "ConversationList"
- },
- {
- "description": "",
- "displayName": "ConversationPanel",
- "methods": [
- {
- "name": "onSend",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onInputHeightChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "value",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onSelectContact",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "value",
- "type": null
- },
- {
- "name": "idx",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getMessageListHeight",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getSelectedContact",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "selected",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getInitialContactIndex",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "nextProps",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getPhoneNumber",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getGroupPhoneNumbers",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getFallbackContactName",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "loadConversation",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "logConversation",
- "docblock": null,
- "modifiers": [
- "async"
- ],
- "params": [
- {
- "name": "{ redirect = true, selected, prefill = true }",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "brand": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "replyToReceivers": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "messages": {
- "type": {
- "name": "custom",
- "raw": "ConversationMessageList.propTypes.messages"
- },
- "required": false,
- "description": ""
- },
- "updateMessageText": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "messageText": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "recipients": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": false
- },
- "extensionNumber": {
- "name": "string",
- "required": false
- },
- "name": {
- "name": "string",
- "required": false
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "sendButtonDisabled": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "conversation": {
- "type": {
- "name": "object"
- },
- "required": true,
- "description": ""
- },
- "onLogConversation": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "autoLog": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "enableContactFallback": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "dateTimeFormatter": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "goBack": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showGroupNumberName": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "messageSubjectRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "readMessages": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "loadPreviousMessages": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "unloadConversation": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "perPage": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "conversationId": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "loadConversation": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "loadingNextPage": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "ConversationPanel"
- },
- {
- "description": "",
- "displayName": "ConversationsPanel",
- "methods": [
- {
- "name": "renderTabs",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "renderContent",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showTitle": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showComposeText": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "goToComposeText": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "typeFilter": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "messageTypes.all",
- "computed": true
- }
- },
- "updateTypeFilter": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showConversationDetail": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "textUnreadCounts": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "voiceUnreadCounts": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "faxUnreadCounts": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "showGroupNumberName": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onClickToDial": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToSms": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "markMessage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "readMessage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "readTextPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "readVoicemailPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "readFaxPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "onSearchInputChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "searchInput": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "perPage": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "20",
- "computed": false
- }
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "conversations": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "dateTimeFormatter": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onLogConversation": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onViewContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCreateContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disableClickToDial": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "unmarkMessage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "autoLog": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "enableContactFallback": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "deleteMessage": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "composeTextPermission": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "previewFaxMessages": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "loadNextPage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "loadingNextPage": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onUnmount": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "ConversationsPanel"
- },
- {
- "description": "",
- "displayName": "CopyToClipboard",
- "methods": [
- {
- "name": "executeCopy",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "handleSuccess": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "handleFailure": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "buttonClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "copiedText": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "buttonText": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "button": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "CopyToClipboard"
- },
- {
- "description": "",
- "displayName": "DatePicker",
- "methods": [
- {
- "name": "_handleDocumentClick",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onClickFunc",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "collapseDatePicker",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'en-US'",
- "computed": false
- }
- },
- "label": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "date": {
- "type": {
- "name": "instanceOf",
- "value": "Date"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "datePickerClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "dateTextClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- }
- },
- "name": "DatePicker"
- },
- {
- "description": "",
- "displayName": "DialButton",
- "methods": [],
- "props": {
- "btn": {
- "type": {
- "name": "shape",
- "value": {
- "value": {
- "name": "string",
- "required": true
- },
- "text": {
- "name": "string",
- "required": false
- },
- "alternativeValue": {
- "name": "string",
- "required": false
- },
- "dx": {
- "name": "string",
- "required": false
- }
- }
- },
- "required": true,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "onPress": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onOutput": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "alternativeTimeout": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "volume": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "1",
- "computed": false
- }
- },
- "muted": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "DialButton"
- },
- {
- "description": "",
- "displayName": "DialPad",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "hideSpecial": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onButtonPress": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onButtonOutput": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "alternativeTimeout": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "dialButtonVolume": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "1",
- "computed": false
- }
- },
- "dialButtonMuted": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "DialPad"
- },
- {
- "description": "",
- "displayName": "DialTextInput",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": ""
- },
- "invalid": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": ""
- },
- "value": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": ""
- },
- "onChangeEvent": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": ""
- },
- "onDelete": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": ""
- },
- "autoFocus": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": ""
- }
- },
- "name": "DialTextInput"
- },
- {
- "description": "",
- "displayName": "DialerPanel",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "dialButtonsClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "onCallButtonClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "callButtonDisabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isWebphoneMode": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "toNumber": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "onToNumberChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "fromNumber": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "fromNumbers": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": false
- },
- "usageType": {
- "name": "string",
- "required": false
- }
- }
- }
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "[]",
- "computed": false
- }
- },
- "changeFromNumber": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "phoneNumber => phoneNumber",
- "computed": false
- }
- },
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "dialButtonVolume": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "1",
- "computed": false
- }
- },
- "dialButtonMuted": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "searchContact": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "searchContactList": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "name": {
- "name": "string",
- "required": true
- },
- "entityType": {
- "name": "string",
- "required": true
- },
- "phoneType": {
- "name": "string",
- "required": true
- },
- "phoneNumber": {
- "name": "string",
- "required": true
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "recipient": {
- "type": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": true
- },
- "name": {
- "name": "string",
- "required": false
- }
- }
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "[]",
- "computed": false
- }
- },
- "clearToNumber": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "setRecipient": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "clearRecipient": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "phoneTypeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "recipientsContactInfoRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "recipientsContactPhoneRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoFocus": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showFromField": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "DialerPanel"
- },
- {
- "description": "",
- "displayName": "Draggable",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": true,
- "description": ""
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "positionOffsetX": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- },
- "positionOffsetY": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- },
- "updatePositionOffset": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "clickThreshold": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "5",
- "computed": false
- }
- }
- },
- "name": "Draggable"
- },
- {
- "description": "",
- "displayName": "DropdownNavigationItem",
- "methods": [],
- "props": {
- "icon": {
- "type": {
- "name": "node"
- },
- "required": true,
- "description": ""
- },
- "activeIcon": {
- "type": {
- "name": "node"
- },
- "required": true,
- "description": ""
- },
- "active": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isReverseFillIcon": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "label": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "title": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "noticeCounts": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "keepStyle": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "DropdownNavigationItem"
- },
- {
- "description": "",
- "displayName": "DropdownNavigationView",
- "methods": [
- {
- "name": "setChildNavigationElement",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "el",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "addListener",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "removeListener",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "removeChildNavBar",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "ev",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "tabs": {
- "type": {
- "name": "custom",
- "raw": "NavigationBar.propTypes.tabs.isRequired"
- },
- "required": false,
- "description": ""
- },
- "goTo": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "currentPath": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentVirtualPath": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "DropdownNavigationView"
- },
- {
- "description": "",
- "displayName": "DropdownSelect",
- "methods": [
- {
- "name": "toggleShowDropdown",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- },
- {
- "name": "option",
- "type": null
- },
- {
- "name": "idx",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "_handleDocumentClick",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "valueFunction",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "_",
- "type": null
- },
- {
- "name": "idx",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "renderFunction",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "option",
- "type": null
- },
- {
- "name": "idx",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "renderValue",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "value",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "renderTitle",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "selectedOption",
- "type": null
- },
- {
- "name": "defaultTitle",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "renderDropdownMenu",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "reference": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "selectedClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "dropdownClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "iconClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "value": {
- "type": {
- "name": "union",
- "value": [
- {
- "name": "string"
- },
- {
- "name": "object"
- },
- {
- "name": "number"
- }
- ]
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "label": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "options": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "any"
- }
- },
- "required": true,
- "description": ""
- },
- "valueFunction": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "(_, idx) => idx",
- "computed": false
- }
- },
- "renderFunction": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "option => option",
- "computed": false
- }
- },
- "renderValue": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "option => option",
- "computed": false
- }
- },
- "renderDropdownMenu": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "renderTitle": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "titleEnabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "dropdownAlign": {
- "type": {
- "name": "enum",
- "value": [
- {
- "value": "'left'",
- "computed": false
- },
- {
- "value": "'center'",
- "computed": false
- },
- {
- "value": "'right'",
- "computed": false
- }
- ]
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'center'",
- "computed": false
- }
- },
- "stopPropagation": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "placeholder": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "ellipsis": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "noPadding": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onToggle": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => {}",
- "computed": false
- }
- },
- "open": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "wrapperStyle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "buttonStyle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- }
- },
- "name": "DropdownSelect"
- },
- {
- "description": "",
- "displayName": "DurationCounter",
- "methods": [
- {
- "name": "calculateState",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "startTime": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "offset": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- }
- },
- "name": "DurationCounter"
- },
- {
- "description": "",
- "displayName": "EntityButton",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onViewEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCreateEntity": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "hasEntity": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isCreating": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "viewEntityTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "createEntityTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "EntityButton"
- },
- {
- "description": "",
- "displayName": "EntityModal",
- "methods": [],
- "props": {
- "show": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onCreate": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onCancel": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "entities": {
- "type": {
- "name": "array"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "['account', 'lead', 'contact']",
- "computed": false
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "EntityModal"
- },
- {
- "description": "Environment component for switching api server. Intended only for testing.\nThis component current does not comply to use redux properly.",
- "displayName": "Environment",
- "methods": [],
- "props": {
- "server": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "recordingHost": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "enabled": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "onSetData": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "defaultHidden": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- }
- },
- "name": "Environment"
- },
- {
- "description": "",
- "displayName": "Eula",
- "methods": [],
- "props": {
- "brandId": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": ""
- }
- },
- "name": "Eula"
- },
- {
- "description": "",
- "displayName": "FeedbackPanel",
- "methods": [
- {
- "name": "onRevertClick",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onEmailChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onTopicChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "option",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onSubjectChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onDescriptionChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onSendClick",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "brandName": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onBackClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onRevertClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "email": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "topic": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "subject": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "description": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onEmailChange": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onTopicChange": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onSubjectChange": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onDescriptionChange": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "sendFeedback": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "FeedbackPanel"
- },
- {
- "description": "",
- "displayName": "FlipPanel",
- "methods": [],
- "props": {
- "isOnFlip": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "flipNumbers": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "hideFlipPanel": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onFlip": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "complete": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "FlipPanel"
- },
- {
- "description": "",
- "displayName": "Footer",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": ""
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": ""
- }
- },
- "name": "Footer"
- },
- {
- "description": "",
- "displayName": "FormattedMessage",
- "methods": [],
- "props": {
- "message": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "values": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "{}",
- "computed": false
- }
- },
- "tagName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'span'",
- "computed": false
- }
- }
- },
- "name": "FormattedMessage"
- },
- {
- "description": "",
- "displayName": "ForwardForm",
- "methods": [
- {
- "name": "getValue",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "_onCustomValueChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "value",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "_clearToNumber",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "_setRecipient",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "recipient",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "_clearRecipient",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "onCancel": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "forwardingNumbers": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onForward": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "searchContactList": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "searchContact": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "phoneTypeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoFocus": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- }
- },
- "name": "ForwardForm"
- },
- {
- "description": "",
- "displayName": "FromField",
- "methods": [],
- "props": {
- "fromNumber": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "fromNumbers": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": false
- },
- "usageType": {
- "name": "string",
- "required": false
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "hidden": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "showAnonymous": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "FromField"
- },
- {
- "description": "",
- "displayName": "IconField",
- "methods": [],
- "props": {
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": ""
- },
- "icon": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": ""
- }
- },
- "name": "IconField"
- },
- {
- "description": "",
- "displayName": "IconLine",
- "methods": [],
- "props": {
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": ""
- },
- "icon": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": ""
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": ""
- },
- "noBorder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": ""
- }
- },
- "name": "IconLine"
- },
- {
- "description": "",
- "displayName": "IncomingCallPad",
- "methods": [],
- "props": {
- "answer": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "reject": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "toVoiceMail": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "forwardingNumbers": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "phone => phone",
- "computed": false
- }
- },
- "onForward": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "replyWithMessage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "answerAndEnd": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "answerAndHold": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "hasOtherActiveCall": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "sessionId": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "searchContactList": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "searchContact": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "phoneTypeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "IncomingCallPad"
- },
- {
- "description": "",
- "displayName": "IncomingCallPanel",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "phoneNumber": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "answer": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "reject": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "toVoiceMail": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "replyWithMessage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "nameMatches": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "fallBackName": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "selectedMatcherIndex": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "onSelectMatcherName": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "avatarUrl": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "onBackButtonClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "forwardingNumbers": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "onForward": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'RingCentral'",
- "computed": false
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "answerAndEnd": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "answerAndHold": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "hasOtherActiveCall": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "sessionId": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "searchContactList": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "searchContact": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "phoneTypeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "IncomingCallPanel"
- },
- {
- "description": "",
- "displayName": "InputField",
- "methods": [],
- "props": {
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "label": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "labelHint": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "InputField"
- },
- {
- "description": "",
- "displayName": "InputLine",
- "methods": [],
- "props": {
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": ""
- },
- "label": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": ""
- },
- "input": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": ""
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": ""
- },
- "noBorder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": ""
- }
- },
- "name": "InputLine"
- },
- {
- "description": "",
- "displayName": "Line",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": ""
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": ""
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": ""
- },
- "horizontal": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": ""
- },
- "noBorder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "Line"
- },
- {
- "description": "",
- "displayName": "LinkLine",
- "methods": [],
- "props": {
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "hrefClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "iconClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "tooltip": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "LinkLine"
- },
- {
- "description": "",
- "displayName": "LocalePicker",
- "methods": [],
- "props": {
- "value": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "options": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "string"
- }
- },
- "required": true,
- "description": ""
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "LocalePicker"
- },
- {
- "description": "",
- "displayName": "LogBasicInfo",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "value => value",
- "computed": false
- }
- },
- "currentLog": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "{}",
- "computed": false
- }
- }
- },
- "name": "LogBasicInfo"
- },
- {
- "description": "",
- "displayName": "LogButton",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onLog": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "isLogged": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isLogging": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "addTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "editTitle": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "LogButton"
- },
- {
- "description": "",
- "displayName": "LogIcon",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "sessionId": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "id": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "viewTask": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "isSaving": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "isFax": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "LogIcon"
- },
- {
- "description": "",
- "displayName": "LogNotification",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLog": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "{}",
- "computed": false
- }
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "isExpand": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onStay": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onDiscard": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onSave": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onExpand": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "LogNotification"
- },
- {
- "description": "",
- "displayName": "LogSection",
- "methods": [
- {
- "name": "checkOverlap",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "currentLog": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "{}",
- "computed": false
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onUpdateCallLog": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onSaveCallLog": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "renderEditLogSection": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "isInnerMask": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showSaveLogBtn": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- }
- },
- "name": "LogSection"
- },
- {
- "description": "",
- "displayName": "LoginPanel",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onLoginButtonClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "version": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "LoginPanel"
- },
- {
- "description": "",
- "displayName": "MeetingAlert",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "message": {
- "type": {
- "name": "shape",
- "value": {
- "message": {
- "name": "string",
- "required": true
- }
- }
- },
- "required": true,
- "description": ""
- }
- },
- "name": "MeetingAlert"
- },
- {
- "description": "",
- "displayName": "MeetingPanel",
- "methods": [],
- "props": {
- "update": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "invite": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "init": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "meeting": {
- "type": {
- "name": "object"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "scheduleButton": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "recipientsSection": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "hidden": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showWhen": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "showDuration": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "showRecurringMeeting": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- }
- },
- "name": "MeetingPanel"
- },
- {
- "description": "",
- "displayName": "MeetingScheduleButton",
- "methods": [
- {
- "name": "getI18nButtonString",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getI18nPromptString",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "meeting": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "hidden": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "MeetingScheduleButton"
- },
- {
- "description": "",
- "displayName": "MeetingSection",
- "methods": [],
- "props": {
- "children": {
- "type": {
- "name": "element"
- },
- "required": true,
- "description": ""
- },
- "title": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "withSwitch": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "toggle": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "hideTopBorderLine": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "MeetingSection"
- },
- {
- "description": "",
- "displayName": "Message",
- "methods": [],
- "props": {
- "level": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "message": {
- "type": {
- "name": "node"
- },
- "required": true,
- "description": ""
- },
- "onDismiss": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "Message"
- },
- {
- "description": "",
- "displayName": "MessageInput",
- "methods": [
- {
- "name": "calculateNewHeight",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onKeyDown",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "value": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "minHeight": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "63",
- "computed": false
- }
- },
- "maxHeight": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "300",
- "computed": false
- }
- },
- "maxLength": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "5000",
- "computed": false
- }
- },
- "onSend": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onHeightChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "MessageInput"
- },
- {
- "description": "",
- "displayName": "MessageItem",
- "methods": [
- {
- "name": "preventEventPropagating",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onSelectContact",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "value",
- "type": null
- },
- {
- "name": "idx",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getInitialContactIndex",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "nextProps",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getSelectedContact",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "selected",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getPhoneNumber",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getGroupPhoneNumbers",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getFallbackContactName",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "viewSelectedContact",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "createSelectedContact",
- "docblock": null,
- "modifiers": [
- "async"
- ],
- "params": [
- {
- "name": "entityType",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "logConversation",
- "docblock": null,
- "modifiers": [
- "async"
- ],
- "params": [
- {
- "name": "{ redirect = true, selected, prefill = true }",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "clickToDial",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onClickToSms",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onClickItem",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onClickWrapper",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onPlayVoicemail",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onMarkMessage",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onUnmarkMessage",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onPreviewFax",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "uri",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getDetail",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onDeleteMessage",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "dateTimeFormatter",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "creationTime",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "conversation": {
- "type": {
- "name": "shape",
- "value": {
- "conversationId": {
- "name": "string",
- "required": true
- },
- "isLogging": {
- "name": "bool",
- "required": false
- },
- "correspondents": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "name": {
- "name": "string",
- "required": false
- },
- "phoneNumber": {
- "name": "string",
- "required": false
- },
- "extensionNumber": {
- "name": "string",
- "required": false
- }
- }
- },
- "required": false
- },
- "correspondentMatches": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "name": {
- "name": "string",
- "required": false
- },
- "entityType": {
- "name": "string",
- "required": false
- }
- }
- },
- "required": false
- },
- "conversationMatches": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "id": {
- "name": "string",
- "required": false
- }
- }
- },
- "required": false
- },
- "unreadCounts": {
- "name": "number",
- "required": true
- },
- "type": {
- "name": "string",
- "required": true
- },
- "uri": {
- "name": "string",
- "required": false
- }
- }
- },
- "required": true,
- "description": ""
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onLogConversation": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onViewContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCreateContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToDial": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onClickToSms": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disableLinks": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "disableClickToDial": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "dateTimeFormatter": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "showConversationDetail": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "readMessage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "markMessage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "unmarkMessage": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "autoLog": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "enableContactFallback": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showContactDisplayPlaceholder": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "sourceIcons": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showGroupNumberName": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "deleteMessage": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => {}",
- "computed": false
- }
- },
- "previewFaxMessages": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "MessageItem"
- },
- {
- "description": "",
- "displayName": "MessageSenderAlert",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'RingCentral'",
- "computed": false
- }
- },
- "message": {
- "type": {
- "name": "shape",
- "value": {
- "message": {
- "name": "string",
- "required": true
- }
- }
- },
- "required": true,
- "description": ""
- },
- "onAreaCodeLink": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "MessageSenderAlert"
- },
- {
- "description": "",
- "displayName": "MessageStoreAlert",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "message": {
- "type": {
- "name": "shape",
- "value": {
- "message": {
- "name": "string",
- "required": true
- }
- }
- },
- "required": true,
- "description": ""
- }
- },
- "name": "MessageStoreAlert"
- },
- {
- "description": "",
- "displayName": "NavigationButton",
- "methods": [],
- "props": {
- "icon": {
- "type": {
- "name": "node"
- },
- "required": true,
- "description": ""
- },
- "active": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "label": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "noticeCounts": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "width": {
- "type": {
- "name": "union",
- "value": [
- {
- "name": "number"
- },
- {
- "name": "string"
- }
- ]
- },
- "required": true,
- "description": ""
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "MessageTabButton"
- },
- {
- "description": "",
- "displayName": "Modal",
- "methods": [
- {
- "name": "renderDialog",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "modalClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "cancelBtnClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "confirmBtnClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "show": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onConfirm": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onCancel": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "clickOutToClose": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "title": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "textConfirm": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "textCancel": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "closeBtn": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "appendDOM": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "maskClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "headerClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "contentClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "Modal"
- },
- {
- "description": "",
- "displayName": "MultiCallAnswerButton",
- "methods": [],
- "props": {
- "title": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "isEndOtherCall": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "width": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'100%'",
- "computed": false
- }
- },
- "height": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'100%'",
- "computed": false
- }
- },
- "x": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- },
- "y": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- }
- },
- "name": "MultiCallAnswerButton"
- },
- {
- "description": "",
- "displayName": "NavigationBar",
- "methods": [
- {
- "name": "goTo",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "tab",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "button": {
- "type": {
- "name": "union",
- "value": [
- {
- "name": "func"
- },
- {
- "name": "element"
- }
- ]
- },
- "required": true,
- "description": ""
- },
- "childNavigationView": {
- "type": {
- "name": "union",
- "value": [
- {
- "name": "func"
- },
- {
- "name": "element"
- }
- ]
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "tabs": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "childTabs": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {}
- },
- "required": false
- }
- }
- }
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "[]",
- "computed": false
- }
- },
- "goTo": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "currentPath": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentVirtualPath": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "tabWidth": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "NavigationBar"
- },
- {
- "description": "",
- "displayName": "Panel",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": ""
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": ""
- }
- },
- "name": "Panel"
- },
- {
- "description": "",
- "displayName": "PresenceItem",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "userStatus": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "dndStatus": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "selected": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "PresenceItem"
- },
- {
- "description": "",
- "displayName": "PresenceSettingSection",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "dndStatus": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "userStatus": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "isCallQueueMember": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "setAvailable": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "setBusy": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "setDoNotDisturb": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "setInvisible": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "toggleAcceptCallQueueCalls": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "showPresenceSettings": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "PresenceSettingSection"
- },
- {
- "description": "",
- "displayName": "PresenceStatusIcon",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "dndStatus": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "userStatus": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "presenceStatus": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- }
- },
- "name": "PresenceStatusIcon"
- },
- {
- "description": "",
- "displayName": "RadioButtonGroup",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "radioOptions": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onRadioSelect": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "RadioBtnGroup"
- },
- {
- "description": "",
- "displayName": "RequestRateExceededAlert",
- "methods": [
- {
- "name": "handleMessage",
- "docblock": null,
- "modifiers": [
- "static"
- ],
- "params": [
- {
- "name": "{ message }",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "timestamp": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "duration": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "RateExceededAlert"
- },
- {
- "description": "",
- "displayName": "RecentActivityCalls",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "calls": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "isCallsLoaded": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "dateTimeFormatter": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "RecentActivityCalls"
- },
- {
- "description": "",
- "displayName": "RecentActivityMessages",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "messages": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "isMessagesLoaded": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "navigateTo": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "dateTimeFormatter": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "RecentActivityMessages"
- },
- {
- "description": "",
- "displayName": "NavigationButton",
- "methods": [],
- "props": {
- "icon": {
- "type": {
- "name": "node"
- },
- "required": true,
- "description": ""
- },
- "active": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "label": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "noticeCounts": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "width": {
- "type": {
- "name": "union",
- "value": [
- {
- "name": "number"
- },
- {
- "name": "string"
- }
- ]
- },
- "required": true,
- "description": ""
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "RecentActivityNavigationButton"
- },
- {
- "description": "RecentActivityPanel component provides a animated slide-out panel.",
- "displayName": "RecentActivityPanel",
- "methods": [],
- "props": {
- "title": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentContact": {
- "type": {
- "name": "object"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "onPanelToggle": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "expanded": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "RecentActivityPanel"
- },
- {
- "description": "",
- "displayName": "RecentActivityView",
- "methods": [
- {
- "name": "onTabChanged",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "tabName",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "getCurrentTabPanel",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getCurrentTab",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "currentTabPath",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "currentContact": {
- "type": {
- "name": "object"
- },
- "required": true,
- "description": ""
- },
- "tabs": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "defaultTab": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "RecentActivityView"
- },
- {
- "description": "",
- "displayName": "RecipientsInput",
- "methods": [
- {
- "name": "onInputKeyUp",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onInputFocus",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onInputChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onClean",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "clickHandler",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "evt",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "_addToRecipients",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "item",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "setInputRef",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "ref",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "recipientsClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "label": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "placeholder": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "searchContactList": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "name": {
- "name": "string",
- "required": true
- },
- "entityType": {
- "name": "string",
- "required": true
- },
- "phoneType": {
- "name": "string",
- "required": true
- },
- "phoneNumber": {
- "name": "string",
- "required": true
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "recipient": {
- "type": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": true
- },
- "name": {
- "name": "string",
- "required": false
- }
- }
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "recipients": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": true
- },
- "name": {
- "name": "string",
- "required": false
- }
- }
- }
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "[]",
- "computed": false
- }
- },
- "value": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onClean": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "addToRecipients": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "removeFromRecipients": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "formatContactPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "searchContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "titleEnabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoFocus": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "multiple": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "inputRef": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "phoneTypeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "contactInfoRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "contactPhoneRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "RecipientsInput"
- },
- {
- "description": "",
- "displayName": "RegionSettingsAlert",
- "methods": [],
- "props": {
- "message": {
- "type": {
- "name": "shape",
- "value": {
- "message": {
- "name": "string",
- "required": true
- }
- }
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onRegionSettingsLinkClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "RegionSettingsAlert"
- },
- {
- "description": "",
- "displayName": "RegionSettings",
- "methods": [
- {
- "name": "onAreaCodeChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onCountryCodeChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "option",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onResetClick",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onSaveClick",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onBackClick",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "areaCodeInputFilter",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "value",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "renderHandler",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "option",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "renderValue",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "value",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onBackButtonClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "availableCountries": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "isoCode": {
- "name": "string",
- "required": false
- },
- "callingCode": {
- "name": "string",
- "required": false
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "countryCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "areaCode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onSave": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "RegionSettingsPanel"
- },
- {
- "description": "",
- "displayName": "RemoveButton",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "visibility": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- }
- },
- "name": "RemoveButton"
- },
- {
- "description": "",
- "displayName": "ReplyWithMessage",
- "methods": [
- {
- "name": "_getValue",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "onCancel": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onReply": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "ReplyWithMessage"
- },
- {
- "description": "",
- "displayName": "PermissionsAlert",
- "methods": [],
- "props": {
- "message": {
- "type": {
- "name": "shape",
- "value": {
- "message": {
- "name": "string",
- "required": true
- }
- }
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "application": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "PermissionsAlert"
- },
- {
- "description": "",
- "displayName": "SaveButton",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "SaveButton"
- },
- {
- "description": "",
- "displayName": "SearchInput",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "value": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onKeyUp": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "maxLength": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "placeholder": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "''",
- "computed": false
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "SearchInput"
- },
- {
- "description": "",
- "displayName": "Select",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "value": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "options": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "any"
- }
- },
- "required": true,
- "description": ""
- },
- "paddingLeft": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "10",
- "computed": false
- }
- },
- "valueFunction": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "option => option",
- "computed": false
- }
- },
- "renderFunction": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "option => option",
- "computed": false
- }
- }
- },
- "name": "Select"
- },
- {
- "description": "",
- "displayName": "SettingsPanel",
- "methods": [],
- "props": {
- "brandId": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onCallingSettingsLinkClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onAudioSettingsLinkClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "EulaRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "Eula",
- "computed": true
- }
- },
- "loginNumber": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onLogoutButtonClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onRegionSettingsLinkClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "showCalling": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showRegion": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showAudio": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showAutoLog": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "autoLogEnabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "disableAutoLogEnabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onAutoLogChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showAutoLogSMS": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "autoLogSMSEnabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onAutoLogSMSChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "showClickToDial": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "clickToDialEnabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onClickToDialChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "version": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "showHeader": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "ringoutEnabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "outboundSMS": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "dndStatus": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "userStatus": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "isCallQueueMember": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "setAvailable": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "setBusy": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "setDoNotDisturb": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "setInvisible": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "toggleAcceptCallQueueCalls": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "openPresenceSettings": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "showPresenceSettings": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "showFeedback": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "additional": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "supportedLocales": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "string"
- }
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "savedLocale": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "saveLocale": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onFeedbackSettingsLinkClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onUserGuideClick": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "showUserGuide": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "SettingsPanel"
- },
- {
- "description": "",
- "displayName": "SlideMenu",
- "methods": [
- {
- "name": "onToggle",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "extended": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": ""
- },
- "onToggle": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "extendIconClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "minHeight": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- },
- "maxHeight": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "100",
- "computed": false
- }
- }
- },
- "name": "SlideMenu"
- },
- {
- "description": "",
- "displayName": "SlideoutBar",
- "methods": [
- {
- "name": "_onClose",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "evt",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "_renderCloseButton",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "closable": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- },
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "offset": {
- "type": {
- "name": "number"
- },
- "required": true,
- "description": ""
- },
- "slideout": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "function() {}",
- "computed": false
- }
- },
- "onClose": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "function() {}",
- "computed": false
- }
- }
- },
- "name": "SlideoutBar"
- },
- {
- "description": "",
- "displayName": "Spinner",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "ringWidth": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "8",
- "computed": false
- }
- }
- },
- "name": "Spinner"
- },
- {
- "description": "",
- "displayName": "SpinnerOverlay",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "SpinnerOverlay"
- },
- {
- "description": "",
- "displayName": "Switch",
- "methods": [],
- "props": {
- "checked": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "disable": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "title": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "Switch"
- },
- {
- "description": "",
- "displayName": "NavigationButton",
- "methods": [],
- "props": {
- "icon": {
- "type": {
- "name": "node"
- },
- "required": true,
- "description": ""
- },
- "activeIcon": {
- "type": {
- "name": "node"
- },
- "required": true,
- "description": ""
- },
- "active": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "label": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "noticeCounts": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "width": {
- "type": {
- "name": "union",
- "value": [
- {
- "name": "number"
- },
- {
- "name": "string"
- }
- ]
- },
- "required": true,
- "description": ""
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "keepStyle": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- }
- },
- "name": "TabNavigationButton"
- },
- {
- "description": "",
- "displayName": "TabNavigationView",
- "methods": [],
- "props": {
- "children": {
- "type": {
- "name": "node"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "currentPath": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "currentVirtualPath": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "goTo": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "navigationPosition": {
- "type": {
- "name": "enum",
- "value": [
- {
- "value": "'top'",
- "computed": false
- },
- {
- "value": "'bottom'",
- "computed": false
- }
- ]
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "'top'",
- "computed": false
- }
- },
- "tabWidth": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "tabs": {
- "type": {
- "name": "custom",
- "raw": "NavigationBar.propTypes.tabs"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- }
- },
- "name": "TabNavigationView"
- },
- {
- "description": "",
- "displayName": "TextInput",
- "methods": [
- {
- "name": "onInputChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "placeholder": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "readOnly": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "pattern": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "maxLength": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "name": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "value": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "defaultValue": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "invalid": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "onKeyDown": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "filter": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoFocus": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "inputClassName": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- }
- },
- "name": "TextInput"
- },
- {
- "description": "",
- "displayName": "ToField",
- "methods": [
- {
- "name": "onReceiversInputFocus",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onReceiversInputBlur",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onReceiversInputKeyUp",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "setSelectedIndex",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "index",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "scrollOperation",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "direction",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "addSelectedContactIndex",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "reduceSelectedContactIndex",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "isSplitter",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "handleHotKey",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "e",
- "type": {
- "name": "ReactKeyboardEvent",
- "raw": "React.KeyboardEvent"
- }
- }
- ],
- "returns": null
- }
- ],
- "props": {
- "label": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "placeholder": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "searchContact": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "searchResults": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "name": {
- "name": "string",
- "required": true
- },
- "entityType": {
- "name": "string",
- "required": true
- },
- "phoneType": {
- "name": "string",
- "required": true
- },
- "phoneNumber": {
- "name": "string",
- "required": true
- }
- }
- }
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "[]",
- "computed": false
- }
- },
- "recipients": {
- "type": {
- "name": "arrayOf",
- "value": {
- "name": "shape",
- "value": {
- "phoneNumber": {
- "name": "string",
- "required": true
- },
- "name": {
- "name": "string",
- "required": false
- }
- }
- }
- },
- "required": true,
- "description": ""
- },
- "value": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onChange": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "onClean": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "addToRecipients": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "removeFromRecipients": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "phoneNumber => phoneNumber",
- "computed": false
- }
- },
- "titleEnabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "autoFocus": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "ToField"
- },
- {
- "description": "",
- "displayName": "TransferPanel",
- "methods": [
- {
- "name": "_getTransferNumber",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onButtonOutput",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "key",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "onTransfer",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onToNumberChange",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "toNumber",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "clearToNumber",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "setRecipient",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "recipient",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "clearRecipient",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "onTransfer": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "toggleTransferPanel": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "searchContactList": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "searchContact": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "formatPhone": {
- "type": {
- "name": "func"
- },
- "required": true,
- "description": ""
- },
- "phoneTypeRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "recipientsContactInfoRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "recipientsContactPhoneRenderer": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "isOnTransfer": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "autoFocus": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "true",
- "computed": false
- }
- }
- },
- "name": "TransferPanel"
- },
- {
- "description": "",
- "displayName": "UserGuide",
- "methods": [
- {
- "name": "slideTo",
- "docblock": null,
- "modifiers": [],
- "params": [
- {
- "name": "idx",
- "type": null
- }
- ],
- "returns": null
- },
- {
- "name": "exit",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "onExited",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getIntroView",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- },
- {
- "name": "getCarouselView",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "curIdx": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- },
- "entered": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "playing": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "updateCarousel": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => null",
- "computed": false
- }
- },
- "guides": {
- "type": {
- "name": "array"
- },
- "required": true,
- "description": ""
- },
- "showSpinner": {
- "type": {
- "name": "bool"
- },
- "required": true,
- "description": ""
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "UserGuide"
- },
- {
- "description": "",
- "displayName": "VoicemailPlayer",
- "methods": [
- {
- "name": "_pauseOtherAudios",
- "docblock": null,
- "modifiers": [],
- "params": [],
- "returns": null
- }
- ],
- "props": {
- "duration": {
- "type": {
- "name": "number"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "0",
- "computed": false
- }
- },
- "uri": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "onPlay": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "undefined",
- "computed": true
- }
- },
- "disabled": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "false",
- "computed": false
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- }
- },
- "name": "VoicemailPlayer"
- },
- {
- "description": "",
- "displayName": "WebphoneAlert",
- "methods": [],
- "props": {
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "brand": {
- "type": {
- "name": "object"
- },
- "required": true,
- "description": ""
- },
- "message": {
- "type": {
- "name": "shape",
- "value": {
- "message": {
- "name": "string",
- "required": true
- }
- }
- },
- "required": true,
- "description": ""
- }
- },
- "name": "WebphoneAlert"
- },
- {
- "description": "",
- "displayName": "ConnectivityBadge",
- "methods": [],
- "props": {
- "className": {
- "type": {
- "name": "string"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "null",
- "computed": false
- }
- },
- "mode": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "webphoneConnecting": {
- "type": {
- "name": "bool"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": false,
- "computed": false
- }
- },
- "currentLocale": {
- "type": {
- "name": "string"
- },
- "required": true,
- "description": ""
- },
- "onClick": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => {}",
- "computed": false
- }
- },
- "showBadgeAlert": {
- "type": {
- "name": "func"
- },
- "required": false,
- "description": "",
- "defaultValue": {
- "value": "() => {}",
- "computed": false
- }
- }
- },
- "name": "ConnectivityBadge"
- }
-]
diff --git a/packages/ringcentral-widgets-docs/src/app/index.js b/packages/ringcentral-widgets-docs/src/app/index.js
deleted file mode 100644
index 23ecaaffd4..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/index.js
+++ /dev/null
@@ -1,30 +0,0 @@
-import React from 'react';
-import { render } from 'react-dom';
-import { HashRouter as Router, Route } from 'react-router-dom';
-
-import MainView from './components/MainView';
-import OverView from './pages/OverView';
-import ColorsPage from './pages/Styles/Colors';
-import ButtonsPage from './pages/Styles/Buttons';
-import DropdownPage from './pages/Styles/Dropdown';
-import ComponentRoutes from './pages/ComponentRoutes';
-
-import componentsData from './componentsData.json';
-
-render(
- {
- window.scrollTo(0, 0);
- }}
- >
-
-
-
-
-
-
-
-
- ,
- document.getElementById('app'),
-);
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/ComponentRoutes.js b/packages/ringcentral-widgets-docs/src/app/pages/ComponentRoutes.js
deleted file mode 100644
index 60e31b3b7b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/ComponentRoutes.js
+++ /dev/null
@@ -1,374 +0,0 @@
-import { RcThemeProvider } from '@ringcentral/juno';
-import React from 'react';
-import { Route } from 'react-router-dom';
-
-import ActionMenuPage from './Components/ActionMenu';
-import ActiveCallActionMenuPage from './Components/ActiveCallActionMenu';
-import ActiveCallBadgePage from './Components/ActiveCallBadge';
-import ActiveCallButtonPage from './Components/ActiveCallButton';
-import ActiveCallDialPadPage from './Components/ActiveCallDialPad';
-import ActiveCallItemPage from './Components/ActiveCallItem';
-import ActiveCallPadPage from './Components/ActiveCallPad';
-import ActiveCallPanelPage from './Components/ActiveCallPanel';
-import ActiveCallsPanelPage from './Components/ActiveCallsPanel';
-import AlertDisplayPage from './Components/AlertDisplay';
-import AnimationAlertPage from './Components/AnimationAlert';
-import AudioSettingsAlertPage from './Components/AudioSettingsAlert';
-import AudioSettingsPanelPage from './Components/AudioSettingsPanel';
-import AuthAlertPage from './Components/AuthAlert';
-import BackHeaderPage from './Components/BackHeader';
-import BadgePage from './Components/Badge';
-import ButtonPage from './Components/Button';
-import CallAlertPage from './Components/CallAlert';
-import CallAvatarPage from './Components/CallAvatar';
-import CallCtrlPanelPage from './Components/CallCtrlPanel';
-import CallingSettingsAlertPage from './Components/CallingSettingsAlert';
-import CallingSettingsPanelPage from './Components/CallingSettingsPanel';
-import CallItemPage from './Components/CallItem';
-import CallListPage from './Components/CallList';
-import CallsListPanelPage from './Components/CallsListPanel';
-import CallsPanelPage from './Components/CallsPanel';
-import CheckBoxPage from './Components/CheckBox';
-import CircleButtonPage from './Components/CircleButton';
-import ComposeTextPanelPage from './Components/ComposeTextPanel';
-import ConnectivityAlertPage from './Components/ConnectivityAlert';
-import ConnectivityBadgePage from './Components/ConnectivityBadge';
-import ContactDetailsPage from './Components/ContactDetails';
-import ContactDisplayPage from './Components/ContactDisplay';
-import ContactDropdownListPage from './Components/ContactDropdownList';
-import ContactItemPage from './Components/ContactItem';
-import ContactListPage from './Components/ContactList';
-import ContactsViewPage from './Components/ContactsView';
-import ConversationListPage from './Components/ConversationList';
-import ConversationMessageListPage from './Components/ConversationMessageList';
-import ConversationPanelPage from './Components/ConversationPanel';
-import ConversationsPanelPage from './Components/ConversationsPanel';
-import CopyToClipboardPage from './Components/CopyToClipboard';
-import DialButtonPage from './Components/DialButton';
-import DialerPanelPage from './Components/DialerPanel';
-import DialPadPage from './Components/DialPad';
-import DialTextInputPage from './Components/DialTextInput';
-import DraggablePage from './Components/Draggable';
-import DropdownNavigationItemPage from './Components/DropdownNavigationItem';
-import DropdownNavigationViewPage from './Components/DropdownNavigationView';
-import DropdownSelectPage from './Components/DropdownSelect';
-import DurationCounterPage from './Components/DurationCounter';
-import EntityButtonPage from './Components/EntityButton';
-import EntityModalPage from './Components/EntityModal';
-import EnvironmentPage from './Components/Environment';
-import EulaPage from './Components/Eula';
-import FeedbackPanelPage from './Components/FeedbackPanel';
-import FlipPanelPage from './Components/FlipPanel';
-import FooterPage from './Components/Footer';
-import FormattedMessagePage from './Components/FormattedMessage';
-import ForwardFormPage from './Components/ForwardForm';
-import FromFieldPage from './Components/FromField';
-import HeaderPage from './Components/Header';
-import IconFieldPage from './Components/IconField';
-import IconLinePage from './Components/IconLine';
-import IncomingCallPadPage from './Components/IncomingCallPad';
-import IncomingCallPanelPage from './Components/IncomingCallPanel';
-import InputFieldPage from './Components/InputField';
-import InputLinePage from './Components/InputLine';
-import LinePage from './Components/Line';
-import LinkLinePage from './Components/LinkLine';
-import LocalePickerPage from './Components/LocalePicker';
-import LogBasicInfoPage from './Components/LogBasicInfo';
-import LogButtonPage from './Components/LogButton';
-import LogIconPage from './Components/LogIcon';
-import LoginPanelPage from './Components/LoginPanel';
-import LogNotificationPage from './Components/LogNotification';
-import LogSectionPage from './Components/LogSection';
-import MeetingAlertPage from './Components/MeetingAlert';
-import MeetingPanelPage from './Components/MeetingPanel';
-import MeetingScheduleButtonPage from './Components/MeetingScheduleButton';
-import MeetingSectionPage from './Components/MeetingSection';
-import MessagePage from './Components/Message';
-import MessageInputPage from './Components/MessageInput';
-import MessageItemPage from './Components/MessageItem';
-import MessageSenderAlertPage from './Components/MessageSenderAlert';
-import MessageStoreAlertPage from './Components/MessageStoreAlert';
-import MessageTabButtonPage from './Components/MessageTabButton';
-import ModalPage from './Components/Modal';
-import MultiCallAnswerButtonPage from './Components/MultiCallAnswerButton';
-import NavigationBarPage from './Components/NavigationBar';
-import PanelPage from './Components/Panel';
-import PermissionsAlertPage from './Components/PermissionsAlert';
-import PresenceItemPage from './Components/PresenceItem';
-import PresenceSettingSectionPage from './Components/PresenceSettingSection';
-import PresenceStatusIconPage from './Components/PresenceStatusIcon';
-import RadioBtnGroupPage from './Components/RadioBtnGroup';
-import RateExceededAlertPage from './Components/RateExceededAlert';
-import RecentActivityCallsPage from './Components/RecentActivityCalls';
-import RecentActivityMessagesPage from './Components/RecentActivityMessages';
-import RecentActivityNavigationButtonPage from './Components/RecentActivityNavigationButton';
-import RecentActivityPanelPage from './Components/RecentActivityPanel';
-import RecentActivityViewPage from './Components/RecentActivityView';
-import RecipientsInputPage from './Components/RecipientsInput';
-import RegionSettingsAlertPage from './Components/RegionSettingsAlert';
-import RegionSettingsPanelPage from './Components/RegionSettingsPanel';
-import RemoveButtonPage from './Components/RemoveButton';
-import ReplyWithMessagePage from './Components/ReplyWithMessage';
-import SaveButtonPage from './Components/SaveButton';
-import SearchInputPage from './Components/SearchInput';
-import SelectPage from './Components/Select';
-import SettingsPanelPage from './Components/SettingsPanel';
-import SlideMenuPage from './Components/SlideMenu';
-import SlideoutBarPage from './Components/SlideoutBar';
-import SpinnerPage from './Components/Spinner';
-import SpinnerOverlayPage from './Components/SpinnerOverlay';
-import SwitchPage from './Components/Switch';
-import TabNavigationButtonPage from './Components/TabNavigationButton';
-import TabNavigationViewPage from './Components/TabNavigationView';
-import TextInputPage from './Components/TextInput';
-import TransferPanelPage from './Components/TransferPanel';
-import UserGuidePage from './Components/UserGuide';
-import VoicemailPlayerPage from './Components/VoicemailPlayer';
-import WebphoneAlertPage from './Components/WebphoneAlert';
-
-const Routes = () => (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-);
-
-export default Routes;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActionMenu/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActionMenu/Demo.js
deleted file mode 100644
index 850bc06f3b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActionMenu/Demo.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ActionMenu from '@ringcentral-integration/widgets/components/ActionMenu';
-
-/**
- * A example of `ActionMenu`
- */
-const ActionMenuDemo = () => (
- alert("click 'onViewEntity'")}
- onClickToDial={() => alert("click 'onClickToDial'")}
- onClickToSms={() => alert("click 'onClickToSms'")}
- onLog={() => alert("click 'onLog'")}
- extended
- />
-);
-export default ActionMenuDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActionMenu/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActionMenu/index.js
deleted file mode 100644
index 17d9b05e74..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActionMenu/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ActionMenu';
-
-const ActionMenuPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ActionMenuPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallActionMenu/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallActionMenu/Demo.js
deleted file mode 100644
index 1761e2f0bc..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallActionMenu/Demo.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ActiveCallActionMenu from '@ringcentral-integration/widgets/components/ActiveCallActionMenu';
-
-/**
- * A example of `ActiveCallActionMenu`
- */
-const ActiveCallActionMenuDemo = () => (
- console.log("click 'onViewEntity'")}
- onClickToDial={() => console.log("click 'onClickToDial'")}
- onClickToSms={() => console.log("click 'onClickToSms'")}
- onLog={() => console.log("click 'onLog'")}
- extended
- />
-);
-export default ActiveCallActionMenuDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallActionMenu/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallActionMenu/index.js
deleted file mode 100644
index 0f86941bfa..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallActionMenu/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ActiveCallActionMenu';
-
-const ActiveCallActionMenuPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ActiveCallActionMenuPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallBadge/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallBadge/Demo.js
deleted file mode 100644
index 285ce0d844..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallBadge/Demo.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ActiveCallBadge from '@ringcentral-integration/widgets/components/ActiveCallBadge';
-
-const props = {};
-props.onClick = (e) => {
- // eslint-disable-next-line
- alert('clicked');
- e.preventDefault();
-};
-props.offsetX = 0;
-props.offsetY = 0;
-props.updatePositionOffset = () => null;
-
-/**
- * A example of `ActiveCallBadge`
- */
-const ActiveCallBadgeDemo = () => ;
-export default ActiveCallBadgeDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallBadge/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallBadge/index.js
deleted file mode 100644
index 516f58398d..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallBadge/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ActiveCallBadge';
-
-const ActiveCallBadgePage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ActiveCallBadgePage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallButton/Demo.js
deleted file mode 100644
index 0fef2798c9..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallButton/Demo.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ActiveCallButton from '@ringcentral-integration/widgets/components/ActiveCallButton';
-// eslint-disable-next-line
-import KeypadIcon from '@ringcentral-integration/widgets/assets/images/Dialpad.svg';
-
-const props = {};
-// eslint-disable-next-line
-props.onClick = () => alert('clicked');
-props.title = 'KeyPad';
-props.icon = KeypadIcon;
-
-/**
- * A example of `ActiveCallButton`
- */
-const ActiveCallButtonDemo = () => (
-
-);
-export default ActiveCallButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallButton/index.js
deleted file mode 100644
index 07553ac728..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallButton/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ActiveCallButton';
-
-const ActiveCallButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ActiveCallButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallDialPad/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallDialPad/Demo.js
deleted file mode 100644
index df8e93af0e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallDialPad/Demo.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ActiveCallDialPad from '@ringcentral-integration/widgets/components/ActiveCallDialPad';
-
-const props = {};
-props.onChange = () => null;
-props.hiddenDialPad = () => null;
-props.onHangup = () => null;
-props.currentLocale = 'en-US';
-
-/**
- * A example of `ActiveCallDialPad`
- */
-const ActiveCallDialPadDemo = () => (
-
-);
-export default ActiveCallDialPadDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallDialPad/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallDialPad/index.js
deleted file mode 100644
index 51bc76f427..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallDialPad/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ActiveCallDialPad';
-
-const ActiveCallDialPadPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ActiveCallDialPadPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallItem/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallItem/Demo.js
deleted file mode 100644
index 947520ad36..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallItem/Demo.js
+++ /dev/null
@@ -1,61 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ActiveCallItem from '@ringcentral-integration/widgets/components/ActiveCallItem';
-
-const props = {};
-props.call = {
- id: '1234',
- direction: 'Outbound',
- from: {
- phoneNumber: '+16507654321',
- },
- to: {
- phoneNumber: '+12055435432',
- },
- telephonyStatus: 'CallConnected',
- sipData: {
- toTag: 'aY8JwGA-xpRinSKQGl6BJzOLCWsmyEPm',
- fromTag: '10.13.22.253-5070-e2b88f40181740',
- remoteUri: 'sip:+12055435432@ringcentral.com',
- localUri: 'sip:+16507654321@ringcentral.com',
- },
- sessionId: '156530009020',
- startTime: 1496914055959,
- fromMatches: [],
- toMatches: [],
- activityMatches: [],
- webphoneSession: {
- callStatus: 'webphone-session-connected',
- contactMatch: undefined,
- creationTime: 1502689319826,
- direction: 'Outbound',
- from: '+16507654321',
- fromUserName: undefined,
- id: 'hivsv0eih5158g',
- isOnFlip: false,
- isOnHold: false,
- isOnMute: false,
- isOnTransfer: false,
- minimized: false,
- recordStatus: 'webphone-record-idle',
- startTime: 1502689321886,
- to: '+12055435432',
- toUserName: undefined,
- },
-};
-props.areaCode = '650';
-props.countryCode = 'US';
-props.currentLocale = 'en-US';
-props.formatPhone = () => null;
-props.webphoneAnswer = () => null;
-props.webphoneReject = () => null;
-props.webphoneHangup = () => null;
-props.webphoneResume = () => null;
-props.onClickToSms = () => null;
-props.outboundSmsPermission = true;
-props.internalSmsPermission = true;
-/**
- * A example of `ActiveCallItem`
- */
-const ActiveCallItemDemo = () => ;
-export default ActiveCallItemDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallItem/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallItem/index.js
deleted file mode 100644
index 674be31c32..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallItem/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ActiveCallItem';
-
-const ActiveCallItemPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ActiveCallItemPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPad/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPad/Demo.js
deleted file mode 100644
index ee03d2f207..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPad/Demo.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ActiveCallPad from '@ringcentral-integration/widgets/components/ActiveCallPad';
-import callCtrlLayouts from '@ringcentral-integration/widgets/enums/callCtrlLayouts';
-
-const props = {};
-props.onMute = () => null;
-props.onUnmute = () => null;
-props.onHold = () => null;
-props.onUnhold = () => null;
-props.onRecord = () => null;
-props.onStopRecord = () => null;
-props.onHangup = () => null;
-props.onPark = () => null;
-props.onShowKeyPad = () => null;
-props.onAdd = () => null;
-props.onMerge = () => null;
-props.currentLocale = 'en-US';
-props.flipNumbers = [];
-props.recordStatus = 'recordStatus-idle';
-props.onShowFlipPanel = () => null;
-props.onToggleTransferPanel = () => null;
-props.layout = callCtrlLayouts.normalCtrl;
-
-/**
- * A example of `ActiveCallPad`
- */
-const ActiveCallPadDemo = () => ;
-export default ActiveCallPadDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPad/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPad/index.js
deleted file mode 100644
index 79fc6d7040..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPad/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ActiveCallPad';
-
-const ActiveCallPadPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ActiveCallPadPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPanel/Demo.js
deleted file mode 100644
index 64ba397f38..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPanel/Demo.js
+++ /dev/null
@@ -1,53 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ActiveCallPanel from '@ringcentral-integration/widgets/components/ActiveCallPanel';
-import callCtrlLayouts from '@ringcentral-integration/widgets/enums/callCtrlLayouts';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.onMute = () => null;
-props.onUnmute = () => null;
-props.onHold = () => null;
-props.onUnhold = () => null;
-props.onRecord = () => null;
-props.onStopRecord = () => null;
-props.onAdd = () => null;
-props.onMerge = () => null;
-props.onHangup = () => null;
-props.onPark = () => null;
-props.showBackButton = true;
-props.onBackButtonClick = () => null;
-props.onKeyPadChange = () => null;
-props.formatPhone = (phone) => phone;
-props.phoneNumber = '1234567890';
-props.startTime = new Date().getTime();
-props.areaCode = '';
-props.countryCode = 'US';
-props.nameMatches = [];
-props.onSelectMatcherName = () => null;
-props.selectedMatcherIndex = 0;
-props.fallBackName = 'Unknown';
-props.flipNumbers = [];
-props.recordStatus = 'recordStatus-idle';
-props.onShowKeyPad = () => null;
-props.layout = callCtrlLayouts.mergeCtrl;
-props.lastCallInfo = {
- phoneNumber: '103',
-};
-
-/**
- * A example of `ActiveCallPanel`
- */
-const ActiveCallPanelDemo = () => (
-
-);
-export default ActiveCallPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPanel/index.js
deleted file mode 100644
index a0e69469b0..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ActiveCallPanel';
-
-const ActiveCallPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ActiveCallPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallsPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallsPanel/Demo.js
deleted file mode 100644
index ea2cdf660a..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallsPanel/Demo.js
+++ /dev/null
@@ -1,129 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ActiveCallsPanel from '@ringcentral-integration/widgets/components/ActiveCallsPanel';
-
-const props = {};
-props.hasCalls = true;
-props.currentLocale = 'en-US';
-props.activeCurrentCalls = [
- {
- id: '1234',
- direction: 'Outbound',
- from: {
- phoneNumber: '+16507654321',
- },
- to: {
- phoneNumber: '+12055435432',
- },
- telephonyStatus: 'CallConnected',
- sipData: {
- toTag: 'aY8JwGA-xpRinSKQGl6BJzOLCWsmyEPm',
- fromTag: '10.13.22.253-5070-e2b88f40181740',
- remoteUri: 'sip:+12055435432@ringcentral.com',
- localUri: 'sip:+16507654321@ringcentral.com',
- },
- sessionId: '156530009020',
- startTime: 1496914055959,
- fromMatches: [],
- toMatches: [],
- activityMatches: [],
- webphoneSession: {
- callStatus: 'webphone-session-connected',
- contactMatch: undefined,
- creationTime: 1502689319826,
- direction: 'Outbound',
- from: '+16507654321',
- fromUserName: undefined,
- id: 'hivsv0eih5158g',
- isOnFlip: false,
- isOnHold: false,
- isOnMute: false,
- isOnTransfer: false,
- minimized: false,
- recordStatus: 'webphone-record-idle',
- startTime: 1502689321886,
- to: '+12055435432',
- toUserName: undefined,
- },
- },
-];
-props.activeOnHoldCalls = [];
-props.activeRingCalls = [
- {
- id: '1234',
- direction: 'Inbound',
- from: {
- phoneNumber: '+16507654321',
- },
- to: {
- phoneNumber: '+12055435432',
- },
- telephonyStatus: 'CallConnected',
- sipData: {
- toTag: 'aY8JwGA-xpRinSKQGl6BJzOLCWsmyEPm',
- fromTag: '10.13.22.253-5070-e2b88f40181740',
- remoteUri: 'sip:+12055435432@ringcentral.com',
- localUri: 'sip:+16507654321@ringcentral.com',
- },
- sessionId: '156530009020',
- startTime: 1496914055959,
- fromMatches: [],
- toMatches: [],
- activityMatches: [],
- webphoneSession: {
- callStatus: 'webphone-session-connecting',
- contactMatch: undefined,
- creationTime: 1502689319826,
- direction: 'Inbound',
- from: '+16507654321',
- fromUserName: undefined,
- id: 'hivsv0eih5158g',
- isOnFlip: false,
- isOnHold: false,
- isOnMute: false,
- isOnTransfer: false,
- minimized: false,
- recordStatus: 'webphone-record-idle',
- startTime: 1502689321886,
- to: '+12055435432',
- toUserName: undefined,
- },
- },
-];
-props.otherDeviceCalls = [
- {
- id: '2345',
- sessionId: '156529999020',
- startTime: 1496914031914,
- duration: 11,
- direction: 'Outbound',
- result: 'Call connected',
- to: {
- phoneNumber: '+12055435432',
- name: 'EXAMPLE AL',
- location: 'Example, AL',
- },
- from: {
- phoneNumber: '+16507654321',
- name: 'Test Huang',
- },
- fromMatches: [],
- toMatches: [],
- activityMatches: [],
- },
-];
-props.showSpinner = false;
-props.areaCode = '650';
-props.countryCode = 'US';
-props.formatPhone = () => null;
-props.onClickToSms = () => null;
-props.onCreateContact = () => null;
-props.webphoneAnswer = () => null;
-props.webphoneReject = () => null;
-props.webphoneHangup = () => null;
-props.webphoneResume = () => null;
-/**
- * A example of `ActiveCallsPanel`
- */
-const ActiveCallsPanelDemo = () => ;
-export default ActiveCallsPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallsPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallsPanel/index.js
deleted file mode 100644
index 1f6ec20e35..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ActiveCallsPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ActiveCallsPanel';
-
-const ActiveCallsPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ActiveCallsPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/AlertDisplay/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/AlertDisplay/Demo.js
deleted file mode 100644
index 012d6cfbc7..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/AlertDisplay/Demo.js
+++ /dev/null
@@ -1,46 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import AlertDisplay from '@ringcentral-integration/widgets/components/AlertDisplay';
-import styles from './styles.scss';
-
-const props = {};
-props.dismiss = () => null;
-props.currentLocale = 'en-US';
-props.messages = [
- {
- id: '111',
- level: 'success',
- message: 'success message',
- },
- {
- id: '222',
- level: 'info',
- message: 'info message',
- },
- {
- id: '333',
- level: 'warning',
- message: 'warning message',
- },
- {
- id: '444',
- level: 'danger',
- message: 'danger',
- },
-];
-
-// eslint-disable-next-line
-function MessageRender({ message }) {
- return {message.message} ;
-}
-
-props.getRenderer = () => MessageRender;
-/**
- * A example of `AlertDisplay`
- */
-const AlertDisplayDemo = () => (
-
-);
-export default AlertDisplayDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/AlertDisplay/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/AlertDisplay/index.js
deleted file mode 100644
index 75b335249b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/AlertDisplay/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertDisplay/AlertDisplay';
-
-const AlertDisplayPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default AlertDisplayPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/AlertDisplay/styles.scss b/packages/ringcentral-widgets-docs/src/app/pages/Components/AlertDisplay/styles.scss
deleted file mode 100644
index c16a7d4b8b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/AlertDisplay/styles.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-.root {
- height: 200px;
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/AnimationAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/AnimationAlert/Demo.js
deleted file mode 100644
index 08b7395cb8..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/AnimationAlert/Demo.js
+++ /dev/null
@@ -1,51 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import AnimationAlert from '@ringcentral-integration/widgets/components/AnimationAlert';
-
-const props = {};
-props.dismiss = () => null;
-props.currentLocale = 'en-US';
-props.messages = [
- {
- id: '111',
- level: 'success',
- message: 'success message',
- },
- {
- id: '222',
- level: 'info',
- message: 'info message',
- },
- {
- id: '333',
- level: 'warning',
- message: 'warning message',
- },
- {
- id: '444',
- level: 'danger',
- message: 'danger',
- },
-];
-
-// eslint-disable-next-line
-function MessageRender({ message }) {
- return {message.message} ;
-}
-
-props.getRenderer = () => MessageRender;
-
-/**
- * A example of `AnimationAlert`
- */
-const AnimationAlertDemo = () => (
-
-);
-export default AnimationAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/AnimationAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/AnimationAlert/index.js
deleted file mode 100644
index deb5bb3ca9..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/AnimationAlert/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AnimationAlert/AnimationAlert.tsx';
-
-const AnimationAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default AnimationAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsAlert/Demo.js
deleted file mode 100644
index f44a24680e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsAlert/Demo.js
+++ /dev/null
@@ -1,16 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import AudioSettingsAlert from '@ringcentral-integration/widgets/components/AlertRenderer/AudioSettingsAlert';
-
-const props = {};
-props.application = 'test string';
-props.currentLocale = 'en-US';
-props.message = {
- message: 'test string',
-};
-
-/**
- * A example of `AudioSettingsAlert`
- */
-const AudioSettingsAlertDemo = () => ;
-export default AudioSettingsAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsAlert/index.js
deleted file mode 100644
index 2209603eee..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsAlert/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/AudioSettingsAlert';
-
-const AudioSettingsAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default AudioSettingsAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsPanel/Demo.js
deleted file mode 100644
index 04e2baec1e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsPanel/Demo.js
+++ /dev/null
@@ -1,48 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import AudioSettingsPanel from '@ringcentral-integration/widgets/components/AudioSettingsPanel';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.dialButtonVolume = 0.5;
-props.ringtoneVolume = 0.5;
-props.ringtoneMuted = false;
-props.callVolume = 0.5;
-props.dialButtonMuted = false;
-props.onBackButtonClick = () => null;
-props.availableInputDevices = [
- {
- deviceId: '12345',
- label: 'Input Device',
- },
-];
-props.inputDeviceId = '12345';
-props.availableOutputDevices = [
- {
- deviceId: '1234',
- label: 'Output Device',
- },
-];
-props.outputDeviceId = '1234';
-props.supportDevices = true;
-props.onSave = () => null;
-props.userMedia = true;
-props.isWebRTC = true;
-props.checkUserMedia = () => null;
-
-/**
- * A example of `AudioSettingsPanel`
- */
-const AudioSettingsPanelDemo = () => (
-
-);
-export default AudioSettingsPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsPanel/index.js
deleted file mode 100644
index 4d6cab2b8b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/AudioSettingsPanel/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AudioSettingsPanel';
-
-const AudioSettingsPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default AudioSettingsPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/AuthAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/AuthAlert/Demo.js
deleted file mode 100644
index 9e9793b207..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/AuthAlert/Demo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import AuthAlert from '@ringcentral-integration/widgets/components/AlertRenderer/AuthAlert';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.message = {
- message: 'test string',
-};
-
-/**
- * A example of `AuthAlert`
- */
-const AuthAlertDemo = () => ;
-export default AuthAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/AuthAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/AuthAlert/index.js
deleted file mode 100644
index 2a168f37d3..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/AuthAlert/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/AuthAlert';
-
-const AuthAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default AuthAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/BackHeader/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/BackHeader/Demo.js
deleted file mode 100644
index 71052dc440..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/BackHeader/Demo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import BackHeader from '@ringcentral-integration/widgets/components/BackHeader';
-
-const props = {};
-
-/**
- * A example of `BackHeader`
- */
-const BackHeaderDemo = () => (
- alert("Implement 'onBackClick'")}>
- {'Back Header'}
-
-);
-export default BackHeaderDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/BackHeader/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/BackHeader/index.js
deleted file mode 100644
index 07a8bc1585..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/BackHeader/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/BackHeader';
-
-const BackHeaderPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default BackHeaderPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Badge/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Badge/Demo.js
deleted file mode 100644
index fb960010d1..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Badge/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import Badge from '@ringcentral-integration/widgets/components/Badge';
-
-/**
- * A simple example of `Badge`
- * By default, the default floats on right.
- */
-const BadgeDemo = () => BadgeName ;
-
-export default BadgeDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Badge/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Badge/index.js
deleted file mode 100644
index 0a9659c86b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Badge/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import badgeCode from '!raw-loader!@ringcentral-integration/widgets/components/Badge';
-
-const AppBarPage = () => {
- const info = parse(badgeCode);
- return (
-
- );
-};
-
-export default AppBarPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Button/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Button/Demo.js
deleted file mode 100644
index 96604cf8c3..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Button/Demo.js
+++ /dev/null
@@ -1,16 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { Button } from '@ringcentral-integration/widgets/components/Button';
-
-/**
- * A example of `Button`
- */
-const ButtonDemo = () => (
- alert('clicked')}
- >
- Click Me
-
-);
-export default ButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Button/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Button/index.js
deleted file mode 100644
index 89b6e8ebaf..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Button/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Button';
-
-const ButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAlert/Demo.js
deleted file mode 100644
index 3d4e6591e6..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAlert/Demo.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import CallAlert from '@ringcentral-integration/widgets/components/AlertRenderer/CallAlert';
-
-const props = {};
-props.regionSettingsUrl = 'test string';
-props.message = {
- message: 'test string',
-};
-props.currentLocale = 'en-US';
-props.brand = { name: 'RingCentral' };
-
-/**
- * A example of `CallAlert`
- */
-const CallAlertDemo = () => ;
-export default CallAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAlert/index.js
deleted file mode 100644
index c3047d1bb7..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAlert/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/CallAlert';
-
-const CallAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CallAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAvatar/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAvatar/Demo.js
deleted file mode 100644
index ece322fd45..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAvatar/Demo.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import CallAvatar from '@ringcentral-integration/widgets/components/CallAvatar';
-
-import styles from './styles.scss';
-
-const props = {};
-// props.isOnConferenceCall = true;
-// props.extraNum = 2;
-props.avatarUrl = null;
-// 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS4uAfoapDbR_ycxF4hltMedCYIqj9bcOZB-ZuD8Sf89rdrGtTv';
-
-/**
- * A example of `CallAvatar`
- */
-const CallAvatarDemo = () => (
-
-
-
-);
-export default CallAvatarDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAvatar/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAvatar/index.js
deleted file mode 100644
index 40c312b63d..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAvatar/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/CallAvatar';
-
-const CallAvatarPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CallAvatarPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAvatar/styles.scss b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAvatar/styles.scss
deleted file mode 100644
index f3f58c214a..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallAvatar/styles.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-.root {
- width: 10%;
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallCtrlPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallCtrlPanel/Demo.js
deleted file mode 100644
index e44e2f4b89..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallCtrlPanel/Demo.js
+++ /dev/null
@@ -1,50 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import CallCtrlPanel from '@ringcentral-integration/widgets/components/CallCtrlPanel';
-import callCtrlLayouts from '@ringcentral-integration/widgets/enums/callCtrlLayouts';
-
-const props = {};
-props.nameMatches = [];
-props.fallBackName = 'test string';
-props.currentLocale = 'en-US';
-props.recordStatus = 'test string';
-props.onMute = () => null;
-props.onUnmute = () => null;
-props.onHold = () => null;
-props.onUnhold = () => null;
-props.onRecord = () => null;
-props.onStopRecord = () => null;
-props.onAdd = () => null;
-props.onMerge = () => null;
-props.onHangup = () => null;
-props.onFlip = () => null;
-props.onPark = () => null;
-props.onTransfer = () => null;
-props.showBackButton = true;
-props.onBackButtonClick = () => null;
-props.onKeyPadChange = () => null;
-props.formatPhone = () => null;
-props.areaCode = '650';
-props.countryCode = 'US';
-props.selectedMatcherIndex = 0;
-props.onSelectMatcherName = () => null;
-props.searchContactList = [];
-props.searchContact = () => null;
-props.layout = callCtrlLayouts.normalCtrl;
-
-/**
- * A example of `CallCtrlPanel`
- */
-const CallCtrlPanelDemo = () => (
-
-
-
-);
-export default CallCtrlPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallCtrlPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallCtrlPanel/index.js
deleted file mode 100644
index 0544b54ffd..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallCtrlPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/CallCtrlPanel';
-
-const CallCtrlPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CallCtrlPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallItem/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallItem/Demo.js
deleted file mode 100644
index 836b6d2ee6..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallItem/Demo.js
+++ /dev/null
@@ -1,30 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import CallItem from '@ringcentral-integration/widgets/components/CallItem';
-
-const props = {};
-props.call = {
- direction: 'Inbound',
- startTime: 0,
- activityMatches: [],
- fromMatches: [],
- toMatches: [],
- from: {
- phoneNumber: '+1234567890',
- },
- to: {},
-};
-props.areaCode = '650';
-props.countryCode = 'US';
-props.currentLocale = 'en-US';
-props.active = false;
-props.dateTimeFormatter = () => null;
-props.brand = 'RingCentral';
-props.onClickToSms = () => null;
-props.onClickToDial = () => null;
-
-/**
- * A example of `CallItem`
- */
-const CallItemDemo = () => ;
-export default CallItemDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallItem/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallItem/index.js
deleted file mode 100644
index 70b09cc002..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallItem/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/CallItem';
-
-const CallItemPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CallItemPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallList/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallList/Demo.js
deleted file mode 100644
index c0745a230c..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallList/Demo.js
+++ /dev/null
@@ -1,63 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import CallList from '@ringcentral-integration/widgets/components/CallList';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.calls = [
- {
- id: '1234',
- direction: 'Outbound',
- from: {
- phoneNumber: '+16507654321',
- },
- to: {
- phoneNumber: '+12055435432',
- },
- telephonyStatus: 'CallConnected',
- sipData: {
- toTag: 'aY8JwGA-xpRinSKQGl6BJzOLCWsmyEPm',
- fromTag: '10.13.22.253-5070-e2b88f40181740',
- remoteUri: 'sip:+12055435432@ringcentral.com',
- localUri: 'sip:+16507654321@ringcentral.com',
- },
- sessionId: '156530009020',
- startTime: 1496914055959,
- fromMatches: [],
- toMatches: [],
- activityMatches: [],
- duration: 20,
- },
- {
- id: '2345',
- sessionId: '156529999020',
- startTime: 1496914031914,
- duration: 11,
- type: 'Voice',
- direction: 'Outbound',
- action: 'VoIP Call',
- result: 'Call connected',
- to: {
- phoneNumber: '+12055435432',
- name: 'EXAMPLE AL',
- location: 'Example, AL',
- },
- from: {
- phoneNumber: '+16507654321',
- name: 'Test Huang',
- },
- fromMatches: [],
- toMatches: [],
- activityMatches: [],
- },
-];
-props.areaCode = '650';
-props.countryCode = 'US';
-props.dateTimeFormatter = () => '12:00';
-props.brand = 'RingCentral';
-
-/**
- * A example of `CallList`
- */
-const CallListDemo = () => ;
-export default CallListDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallList/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallList/index.js
deleted file mode 100644
index 9401a3b6e4..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallList/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/CallList';
-
-const CallListPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CallListPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsAlert/Demo.js
deleted file mode 100644
index 60402190f3..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsAlert/Demo.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { CallingSettingsAlert } from '@ringcentral-integration/widgets/components/AlertRenderer/CallingSettingsAlert/CallingSettingsAlert';
-
-const props = {};
-props.message = {
- message: 'test string',
-};
-props.currentLocale = 'en-US';
-props.brand = 'test string';
-props.callingSettingsUrl = 'test string';
-
-/**
- * A example of `CallingSettingsAlert`
- */
-const CallingSettingsAlertDemo = () => ;
-export default CallingSettingsAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsAlert/index.js
deleted file mode 100644
index 6737d3db55..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsAlert/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/CallingSettingsAlert';
-
-const CallingSettingsAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CallingSettingsAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsPanel/Demo.js
deleted file mode 100644
index 517ef31c69..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsPanel/Demo.js
+++ /dev/null
@@ -1,31 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { CallingSettingsPanel } from '@ringcentral-integration/widgets/components/CallingSettingsPanel';
-
-const props = {};
-props.brand = 'test string';
-props.currentLocale = 'en-US';
-props.callWithOptions = ['test string'];
-props.callWith = 'test string';
-props.myLocation = 'test string';
-props.ringoutPrompt = false;
-props.availableNumbers = {};
-props.onBackButtonClick = () => null;
-props.onSave = () => null;
-
-/**
- * A example of `CallingSettingsPanel`
- */
-const CallingSettingsPanelDemo = () => (
-
-
-
-);
-export default CallingSettingsPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsPanel/index.js
deleted file mode 100644
index 9ae9d809e4..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsPanel/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/CallingSettingsPanel';
-
-const CallingSettingsPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CallingSettingsPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsListPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsListPanel/Demo.js
deleted file mode 100644
index 6392bd81f0..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsListPanel/Demo.js
+++ /dev/null
@@ -1,145 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import CallsListPanel from '@ringcentral-integration/widgets/components/CallsListPanel';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.activeRingCalls = [
- {
- id: '1234',
- direction: 'Inbound',
- from: {
- phoneNumber: '+16507654321',
- },
- to: {
- phoneNumber: '+12055435432',
- },
- telephonyStatus: 'CallConnected',
- sipData: {
- toTag: 'aY8JwGA-xpRinSKQGl6BJzOLCWsmyEPm',
- fromTag: '10.13.22.253-5070-e2b88f40181740',
- remoteUri: 'sip:+12055435432@ringcentral.com',
- localUri: 'sip:+16507654321@ringcentral.com',
- },
- sessionId: '156530009020',
- startTime: 1496914055959,
- fromMatches: [],
- toMatches: [],
- activityMatches: [],
- webphoneSession: {
- callStatus: 'webphone-session-connecting',
- contactMatch: undefined,
- creationTime: 1502689319826,
- direction: 'Inbound',
- from: '+16507654321',
- fromUserName: undefined,
- id: 'hivsv0eih5158g',
- isOnFlip: false,
- isOnHold: false,
- isOnMute: false,
- isOnTransfer: false,
- minimized: false,
- recordStatus: 'webphone-record-idle',
- startTime: 1502689321886,
- to: '+12055435432',
- toUserName: undefined,
- },
- },
-];
-props.activeOnHoldCalls = [];
-props.activeCurrentCalls = [
- {
- id: '1234',
- direction: 'Outbound',
- from: {
- phoneNumber: '+16507654321',
- },
- to: {
- phoneNumber: '+12055435432',
- },
- telephonyStatus: 'CallConnected',
- sipData: {
- toTag: 'aY8JwGA-xpRinSKQGl6BJzOLCWsmyEPm',
- fromTag: '10.13.22.253-5070-e2b88f40181740',
- remoteUri: 'sip:+12055435432@ringcentral.com',
- localUri: 'sip:+16507654321@ringcentral.com',
- },
- sessionId: '156530009020',
- startTime: 1496914055959,
- fromMatches: [],
- toMatches: [],
- activityMatches: [],
- webphoneSession: {
- callStatus: 'webphone-session-connected',
- contactMatch: undefined,
- creationTime: 1502689319826,
- direction: 'Outbound',
- from: '+16507654321',
- fromUserName: undefined,
- id: 'hivsv0eih5158g',
- isOnFlip: false,
- isOnHold: false,
- isOnMute: false,
- isOnTransfer: false,
- minimized: false,
- recordStatus: 'webphone-record-idle',
- startTime: 1502689321886,
- to: '+12055435432',
- toUserName: undefined,
- },
- },
-];
-props.otherDeviceCalls = [];
-props.showSpinner = false;
-props.areaCode = '650';
-props.countryCode = 'US';
-props.formatPhone = () => null;
-props.calls = [
- {
- id: '1234',
- direction: 'Outbound',
- from: {
- phoneNumber: '+16507654321',
- },
- to: {
- phoneNumber: '+12055435432',
- },
- telephonyStatus: 'CallConnected',
- sipData: {
- toTag: 'aY8JwGA-xpRinSKQGl6BJzOLCWsmyEPm',
- fromTag: '10.13.22.253-5070-e2b88f40181740',
- remoteUri: 'sip:+12055435432@ringcentral.com',
- localUri: 'sip:+16507654321@ringcentral.com',
- },
- sessionId: '156530009020',
- startTime: 1496914055959,
- fromMatches: [],
- toMatches: [],
- activityMatches: [],
- duration: 20,
- },
-];
-props.disableLinks = false;
-props.dateTimeFormatter = () => null;
-props.onClickToSms = () => null;
-props.onCreateContact = () => null;
-props.webphoneAnswer = () => null;
-props.webphoneReject = () => null;
-props.webphoneHangup = () => null;
-props.webphoneResume = () => null;
-/**
- * A example of `CallsListPanel`
- */
-const CallsListPanelDemo = () => (
-
-
-
-);
-export default CallsListPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsListPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsListPanel/index.js
deleted file mode 100644
index 2a9ad3b516..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsListPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/CallsListPanel';
-
-const CallsListPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CallsListPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsPanel/Demo.js
deleted file mode 100644
index 6e44323663..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsPanel/Demo.js
+++ /dev/null
@@ -1,76 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import CallsPanel from '@ringcentral-integration/widgets/components/CallsPanel';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.calls = [
- {
- id: '1234',
- direction: 'Outbound',
- from: {
- phoneNumber: '+16507654321',
- },
- to: {
- phoneNumber: '+12055435432',
- },
- telephonyStatus: 'CallConnected',
- sipData: {
- toTag: 'aY8JwGA-xpRinSKQGl6BJzOLCWsmyEPm',
- fromTag: '10.13.22.253-5070-e2b88f40181740',
- remoteUri: 'sip:+12055435432@ringcentral.com',
- localUri: 'sip:+16507654321@ringcentral.com',
- },
- sessionId: '156530009020',
- startTime: 1496914055959,
- fromMatches: [],
- toMatches: [],
- activityMatches: [],
- duration: 20,
- },
- {
- id: '2345',
- sessionId: '156529999020',
- startTime: 1496914031914,
- duration: 11,
- type: 'Voice',
- direction: 'Outbound',
- action: 'VoIP Call',
- result: 'Call connected',
- to: {
- phoneNumber: '+12055435432',
- name: 'EXAMPLE AL',
- location: 'Example, AL',
- },
- from: {
- phoneNumber: '+16507654321',
- name: 'Test Huang',
- },
- fromMatches: [],
- toMatches: [],
- activityMatches: [],
- },
-];
-props.areaCode = '650';
-props.countryCode = 'US';
-props.disableLinks = false;
-props.dateTimeFormatter = () => '12:00';
-props.title = 'Call Histrory';
-props.brand = 'RingCentral';
-
-/**
- * A example of `CallsPanel`
- */
-const CallsPanelDemo = () => (
-
-
-
-);
-export default CallsPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsPanel/index.js
deleted file mode 100644
index c0e66e4cc9..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CallsPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/CallsPanel';
-
-const CallsPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CallsPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CheckBox/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CheckBox/Demo.js
deleted file mode 100644
index 74cfb8ce5d..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CheckBox/Demo.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import CheckBox from '@ringcentral-integration/widgets/components/CheckBox';
-
-const props = {};
-props.selected = 2;
-props.data = [
- {
- text: 'option1',
- value: 1,
- },
- {
- text: 'option2',
- value: 2,
- },
-];
-props.textField = 'text';
-props.valueField = 'value';
-props.onSelect = () => null;
-
-/**
- * A example of `CheckBox`
- */
-const CheckBoxDemo = () => ;
-export default CheckBoxDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CheckBox/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CheckBox/index.js
deleted file mode 100644
index 75057c186f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CheckBox/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/CheckBox';
-
-const CheckBoxPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CheckBoxPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CircleButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CircleButton/Demo.js
deleted file mode 100644
index 5ea55f0e68..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CircleButton/Demo.js
+++ /dev/null
@@ -1,24 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import CircleButton from '@ringcentral-integration/widgets/components/CircleButton';
-// eslint-disable-next-line
-import EndIcon from '@ringcentral-integration/widgets/assets/images/End.svg';
-
-const props = {};
-props.icon = EndIcon;
-
-/**
- * A example of `CircleButton`
- */
-const CircleButtonDemo = () => (
-
-
-
-);
-export default CircleButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CircleButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CircleButton/index.js
deleted file mode 100644
index 96fd1af0ce..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CircleButton/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/CircleButton';
-
-const CircleButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CircleButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ComposeTextPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ComposeTextPanel/Demo.js
deleted file mode 100644
index 2bc3711410..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ComposeTextPanel/Demo.js
+++ /dev/null
@@ -1,109 +0,0 @@
-import React, { Component } from 'react';
-// eslint-disable-next-line
-import ComposeTextPanel from '@ringcentral-integration/widgets/components/ComposeTextPanel';
-import styles from './styles.scss';
-
-/**
- * A example of `ComposeTextPanel`
- */
-class ComposeTextPanelDemo extends Component {
- constructor(props) {
- super(props);
- this.state = {
- typingToNumber: '',
- messageText: '',
- toNumbers: [],
- senderNumber: '7654321',
- };
- }
- updateMessageText = (messageText) => {
- this.setState({
- messageText,
- });
- };
- updateTypingToNumber = (typingToNumber) => {
- this.setState({
- typingToNumber,
- });
- };
- removeToNumber = ({ phoneNumber }) => {
- const { toNumbers } = this.state;
- this.setState({
- toNumbers: toNumbers.filter(
- (toNumber) => toNumber.phoneNumber !== phoneNumber,
- ),
- });
- };
- addToNumber = (toNumber) => {
- const { toNumbers } = this.state;
- toNumbers.push(toNumber);
- this.setState({
- toNumbers,
- });
- };
- cleanTypingToNumber = () => {
- this.setState({
- typingToNumber: '',
- });
- };
- updateSenderNumber = (senderNumber) => {
- this.setState({
- senderNumber: senderNumber.phoneNumber,
- });
- };
- render() {
- const searchContactList = [
- {
- name: 'test string',
- entityType: 'Account',
- phoneType: 'Business Phone',
- phoneNumber: '7654321',
- },
- {
- name: 'test string2',
- entityType: 'Account',
- phoneType: 'Business Phone',
- phoneNumber: '7112234',
- },
- ];
- return (
-
- null}
- senderNumbers={[
- {
- phoneNumber: '7654321',
- usageType: 'Main',
- },
- ]}
- sendButtonDisabled={false}
- formatPhone={(phoneNumber) => phoneNumber}
- formatContactPhone={(phoneNumber) => phoneNumber}
- searchContact={(value) => value}
- searchContactList={searchContactList}
- updateSenderNumber={this.updateSenderNumber}
- senderNumber={this.state.senderNumber}
- updateTypingToNumber={this.updateTypingToNumber}
- cleanTypingToNumber={this.cleanTypingToNumber}
- addToNumber={this.addToNumber}
- removeToNumber={this.removeToNumber}
- updateMessageText={this.updateMessageText}
- toNumbers={this.state.toNumbers}
- typingToNumber={this.state.typingToNumber}
- messageText={this.state.messageText}
- />
-
- );
- }
-}
-
-export default ComposeTextPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ComposeTextPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ComposeTextPanel/index.js
deleted file mode 100644
index c5dfe7dbe9..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ComposeTextPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ComposeTextPanel';
-
-const ComposeTextPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ComposeTextPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ComposeTextPanel/styles.scss b/packages/ringcentral-widgets-docs/src/app/pages/Components/ComposeTextPanel/styles.scss
deleted file mode 100644
index e5712aefce..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ComposeTextPanel/styles.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-.root {
- height: 500px;
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityAlert/Demo.js
deleted file mode 100644
index 22a4b8b3a1..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityAlert/Demo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ConnectivityAlert from '@ringcentral-integration/widgets/components/AlertRenderer/ConnectivityAlert';
-
-const props = {};
-props.message = {
- message: 'test string',
-};
-props.currentLocale = 'en-US';
-
-/**
- * A example of `ConnectivityAlert`
- */
-const ConnectivityAlertDemo = () => ;
-export default ConnectivityAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityAlert/index.js
deleted file mode 100644
index a5efb1da41..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityAlert/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/ConnectivityAlert';
-
-const ConnectivityAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ConnectivityAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityBadge/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityBadge/Demo.js
deleted file mode 100644
index 8cceedfa99..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityBadge/Demo.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ConnectivityBadge from '@ringcentral-integration/widgets/components/ConnectivityBadge';
-
-const props = {};
-props.currentLocale = 'en-US';
-
-/**
- * A example of `ConnectivityBadge`
- */
-const ConnectivityBadgeDemo = () => ;
-export default ConnectivityBadgeDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityBadge/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityBadge/index.js
deleted file mode 100644
index 40526b87dd..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConnectivityBadge/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ConnectivityBadge';
-
-const ConnectivityBadgePage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ConnectivityBadgePage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDetails/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDetails/Demo.js
deleted file mode 100644
index f35378c62b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDetails/Demo.js
+++ /dev/null
@@ -1,43 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { ContactDetails } from '@ringcentral-integration/widgets/components/ContactDetails';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.contactItem = {
- id: '1234',
- type: 'company',
- extensionNumber: '123456',
- phoneNumbers: [
- {
- phoneNumber: '+123456789',
- phoneType: 'DirectPhone',
- },
- ],
- name: 'Eson Chen',
- profileImageUrl: null,
- emails: ['test@test.com'],
-};
-props.getAvatarUrl = async () => null;
-props.getPresence = async () => null;
-props.formatNumber = (p) => p;
-props.onClickToSMS = () => null;
-props.onClickToDial = () => null;
-props.onClickMailTo = () => null;
-
-/**
- * A example of `ContactDetails`
- */
-const ContactDetailsDemo = () => (
-
-
-
-);
-export default ContactDetailsDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDetails/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDetails/index.js
deleted file mode 100644
index cb9a8f56c4..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDetails/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ContactDetails';
-
-const ContactDetailsPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ContactDetailsPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDisplay/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDisplay/Demo.js
deleted file mode 100644
index 0c0657c540..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDisplay/Demo.js
+++ /dev/null
@@ -1,48 +0,0 @@
-import React, { Component } from 'react';
-// eslint-disable-next-line
-import ContactDisplay from '@ringcentral-integration/widgets/components/ContactDisplay';
-
-/**
- * A example of `ContactDisplay`
- */
-const contactMatches = [
- {
- name: 'Harry Potter',
- entityType: 'Contact',
- },
- {
- name: 'Ron Weasley',
- entityType: 'Account',
- },
-];
-
-class ContactDisplayDemo extends Component {
- constructor(props) {
- super(props);
- this.state = {
- selected: 0,
- };
- }
- onSelectContact = (selected) => {
- const selectedIdx = contactMatches.findIndex(
- (contact) => contact === selected,
- );
- this.setState({
- selected: selectedIdx,
- });
- };
- render() {
- return (
-
- );
- }
-}
-export default ContactDisplayDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDisplay/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDisplay/index.js
deleted file mode 100644
index adfff4e68e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDisplay/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ContactDisplay/index.tsx';
-
-const ContactDisplayPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ContactDisplayPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDropdownList/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDropdownList/Demo.js
deleted file mode 100644
index b618a0659f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDropdownList/Demo.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { ContactDropdownList } from '@ringcentral-integration/widgets/components/ContactDropdownList';
-import styles from './styles.scss';
-
-const props = {};
-props.visibility = false;
-props.items = [
- {
- name: 'Eric',
- entityType: 'RingCentral',
- phoneType: 'Mobile',
- phoneNumber: '+123456789',
- },
-];
-props.currentLocale = 'en-US';
-props.formatContactPhone = (value) => value;
-props.addToRecipients = () => null;
-props.setSelectedIndex = () => null;
-props.selectedIndex = 0;
-props.className = styles.root;
-
-/**
- * A example of `ContactDropdownList`
- */
-const ContactDropdownListDemo = () => ;
-export default ContactDropdownListDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDropdownList/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDropdownList/index.js
deleted file mode 100644
index 5d690e7905..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDropdownList/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ContactDropdownList/ContactDropdownList.tsx';
-
-const ContactDropdownListPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ContactDropdownListPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDropdownList/styles.scss b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDropdownList/styles.scss
deleted file mode 100644
index 0246b8945f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactDropdownList/styles.scss
+++ /dev/null
@@ -1,4 +0,0 @@
-.root {
- top: 5px;
- left: 10px;
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactItem/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactItem/Demo.js
deleted file mode 100644
index add16b78af..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactItem/Demo.js
+++ /dev/null
@@ -1,20 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ContactItem from '@ringcentral-integration/widgets/components/ContactItem';
-
-const props = {};
-props.contact = {
- id: '123',
- name: 'Kevin',
- extensionNumber: '1234',
- type: 'company',
- profileImageUrl: null,
-};
-props.getAvatarUrl = async () => null;
-props.getPresence = async () => null;
-
-/**
- * A example of `ContactItem`
- */
-const ContactItemDemo = () => ;
-export default ContactItemDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactItem/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactItem/index.js
deleted file mode 100644
index a291c549fc..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactItem/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ContactItem';
-
-const ContactItemPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ContactItemPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactList/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactList/Demo.js
deleted file mode 100644
index b4c042899a..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactList/Demo.js
+++ /dev/null
@@ -1,51 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ContactList from '@ringcentral-integration/widgets/components/ContactList';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.contactGroups = [
- {
- id: 'K',
- caption: 'K',
- contacts: [
- {
- id: '123',
- name: 'Kevin One',
- extensionNumber: '1234',
- type: 'company',
- profileImageUrl: null,
- },
- {
- id: '1234',
- name: 'Kevin Two',
- extensionNumber: '12345',
- type: 'company',
- profileImageUrl: null,
- },
- ],
- },
- {
- id: 'T',
- caption: 'T',
- contacts: [
- {
- id: '1233',
- name: 'Tyler One',
- extensionNumber: '1233',
- type: 'company',
- profileImageUrl: null,
- },
- ],
- },
-];
-props.getAvatarUrl = async () => null;
-props.getPresence = async () => null;
-props.width = 300;
-props.height = 500;
-
-/**
- * A example of `ContactList`
- */
-const ContactListDemo = () => ;
-export default ContactListDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactList/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactList/index.js
deleted file mode 100644
index 25dcdf6390..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactList/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ContactList';
-
-const ContactListPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ContactListPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactsView/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactsView/Demo.js
deleted file mode 100644
index 60191d4781..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactsView/Demo.js
+++ /dev/null
@@ -1,64 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ContactsView from '@ringcentral-integration/widgets/components/ContactsView';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.contactGroups = [
- {
- id: 'K',
- caption: 'K',
- contacts: [
- {
- id: '123',
- name: 'Kevin One',
- phoneNumber: '1234',
- type: 'company',
- profileImageUrl: null,
- },
- {
- id: '1234',
- name: 'Kevin Two',
- phoneNumber: '12345',
- type: 'company',
- profileImageUrl: null,
- },
- ],
- },
- {
- id: 'T',
- caption: 'T',
- contacts: [
- {
- id: '1233',
- name: 'Tyler One',
- phoneNumber: '1233',
- type: 'company',
- profileImageUrl: null,
- },
- ],
- },
-];
-props.contactSourceNames = ['All', 'Company'];
-props.getAvatarUrl = async () => null;
-props.getPresence = async () => null;
-props.showSpinner = false;
-props.searchSource = 'All';
-props.searchString = 'Kevin';
-
-/**
- * A example of `ContactsView`
- */
-const ContactsViewDemo = () => (
-
-
-
-);
-export default ContactsViewDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactsView/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactsView/index.js
deleted file mode 100644
index 3e4e0c989c..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ContactsView/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ContactsView';
-
-const ContactsViewPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ContactsViewPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationList/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationList/Demo.js
deleted file mode 100644
index c1d6bc2347..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationList/Demo.js
+++ /dev/null
@@ -1,68 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ConversationList from '@ringcentral-integration/widgets/components/ConversationList';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.conversations = [
- {
- id: 1,
- conversationId: '1',
- subject: 'subject text',
- correspondents: [
- {
- phoneNumber: '123456789',
- },
- ],
- correspondentMatches: [],
- conversationMatches: [],
- unreadCounts: 0,
- type: 'SMS',
- creationTime: '2018-01-16T08:59:02.000Z',
- },
- {
- id: 2,
- conversationId: '2',
- subject: 'subject text2',
- correspondents: [
- {
- phoneNumber: '123456788',
- },
- ],
- correspondentMatches: [],
- conversationMatches: [],
- unreadCounts: 1,
- type: 'SMS',
- creationTime: '2018-01-17T08:59:02.000Z',
- },
-];
-props.dateTimeFormatter = ({ utcTimestamp }) => {
- const time = new Date(utcTimestamp);
- return `${time.getMonth() + 1}/${time.getDate()}/${time.getFullYear()}`;
-};
-props.brand = 'RingCentral';
-props.showConversationDetail = () => null;
-props.countryCode = 'US';
-props.areaCode = '650';
-props.markMessage = () => null;
-props.readMessage = () => null;
-props.unmarkMessage = () => null;
-props.onClickToDial = () => null;
-props.onCreateContact = () => null;
-
-/**
- * A example of `ConversationList`
- */
-const ConversationListDemo = () => (
-
-
-
-);
-export default ConversationListDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationList/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationList/index.js
deleted file mode 100644
index 294c0b04c4..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationList/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ConversationList';
-
-const ConversationListPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ConversationListPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationMessageList/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationMessageList/Demo.js
deleted file mode 100644
index 9f8f94e77e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationMessageList/Demo.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ConversationMessageList from '@ringcentral-integration/widgets/components/ConversationMessageList';
-
-const props = {};
-props.messages = [
- {
- creationTime: '2017-06-14T07:53:56.000Z',
- id: 1234,
- direction: 'Outbound',
- subject: 'How are you?',
- },
- {
- creationTime: '2017-06-14T07:54:56.000Z',
- id: 1235,
- direction: 'Inbound',
- subject: "I'm fine.",
- },
-];
-props.dateTimeFormatter = ({ utcTimestamp }) =>
- new Date(utcTimestamp).toString();
-
-/**
- * A example of `ConversationMessageList`
- */
-const ConversationMessageListDemo = () => (
-
-);
-export default ConversationMessageListDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationMessageList/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationMessageList/index.js
deleted file mode 100644
index 0310414b3f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationMessageList/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ConversationMessageList';
-
-const ConversationMessageListPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ConversationMessageListPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationPanel/Demo.js
deleted file mode 100644
index 3decfb0ce0..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationPanel/Demo.js
+++ /dev/null
@@ -1,43 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ConversationPanel from '@ringcentral-integration/widgets/components/ConversationPanel';
-
-const props = {};
-props.replyToReceivers = () => null;
-props.recipients = [{}];
-props.sendButtonDisabled = false;
-props.currentLocale = 'en-US';
-props.showSpinner = false;
-props.areaCode = '650';
-props.countryCode = 'US';
-props.dateTimeFormatter = () => null;
-props.goBack = () => null;
-props.messages = [];
-props.brand = 'RingCentral';
-props.conversation = {
- conversationMatches: [],
- correspondentMatches: [],
- correspondents: [],
-};
-props.conversationId = '1234';
-props.formatPhone = (p) => p;
-props.readMessages = () => null;
-props.loadPreviousMessages = () => null;
-props.unloadConversation = () => null;
-
-/**
- * A example of `ConversationPanel`
- */
-const ConversationPanelDemo = () => (
-
-
-
-);
-export default ConversationPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationPanel/index.js
deleted file mode 100644
index ca14302898..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationPanel/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ConversationPanel';
-
-const ConversationPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ConversationPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationsPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationsPanel/Demo.js
deleted file mode 100644
index e37ba45847..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationsPanel/Demo.js
+++ /dev/null
@@ -1,74 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { ConversationsPanel } from '@ringcentral-integration/widgets/components/ConversationsPanel';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.goToComposeText = () => null;
-props.markMessage = () => null;
-props.readMessage = () => null;
-props.unmarkMessage = () => null;
-props.showConversationDetail = () => null;
-props.onClickToDial = () => null;
-props.onViewContact = () => null;
-props.onCreateContact = () => null;
-props.loadNextPage = () => null;
-props.brand = 'RingCentral';
-props.textUnreadCounts = 1;
-props.voiceUnreadCounts = 0;
-props.faxUnreadCounts = 0;
-props.conversations = [
- {
- id: 1,
- conversationId: '1',
- subject: 'subject text',
- correspondents: [
- {
- phoneNumber: '123456789',
- },
- ],
- correspondentMatches: [],
- conversationMatches: [],
- unreadCounts: 0,
- type: 'SMS',
- creationTime: '2018-01-17T08:59:02.000Z',
- },
- {
- id: 2,
- conversationId: '2',
- subject: 'subject text2',
- correspondents: [
- {
- phoneNumber: '123456788',
- },
- ],
- correspondentMatches: [],
- conversationMatches: [],
- unreadCounts: 1,
- type: 'SMS',
- creationTime: '2018-01-16T08:59:02.000Z',
- },
-];
-props.countryCode = 'US';
-props.areaCode = '657';
-props.typeFilter = 'All';
-props.dateTimeFormatter = ({ utcTimestamp }) => {
- const time = new Date(utcTimestamp);
- return `${time.getMonth() + 1}/${time.getDate()}/${time.getFullYear()}`;
-};
-/**
- * A example of `ConversationsPanel`
- */
-const ConversationsPanelDemo = () => (
-
-
-
-);
-export default ConversationsPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationsPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationsPanel/index.js
deleted file mode 100644
index abbbe4e048..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ConversationsPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ConversationsPanel';
-
-const MessagesPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MessagesPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CopyToClipboard/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CopyToClipboard/Demo.js
deleted file mode 100644
index 80b64ff2ec..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CopyToClipboard/Demo.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import CopyToClipboard from '@ringcentral-integration/widgets/components/CopyToClipboard';
-
-const props = {};
-props.currentLocale = 'en-US';
-
-/**
- * A example of `CopyToClipboard`
- */
-const CopyToClipboardDemo = () => ;
-export default CopyToClipboardDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/CopyToClipboard/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/CopyToClipboard/index.js
deleted file mode 100644
index 2edc4bc6d7..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/CopyToClipboard/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/CopyToClipboard';
-
-const CopyToClipboardPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default CopyToClipboardPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DialButton/Demo.js
deleted file mode 100644
index 4ab0669d8a..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialButton/Demo.js
+++ /dev/null
@@ -1,23 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import DialButton from '@ringcentral-integration/widgets/components/DialButton';
-
-const props = {};
-props.btn = {
- value: '1',
-};
-
-/**
- * A example of `DialButton`
- */
-const DialButtonDemo = () => (
-
-
-
-);
-export default DialButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DialButton/index.js
deleted file mode 100644
index aeb726bf0b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialButton/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/DialButton/DialButton.tsx';
-
-const DialButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default DialButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialPad/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DialPad/Demo.js
deleted file mode 100644
index d894729f7b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialPad/Demo.js
+++ /dev/null
@@ -1,22 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import DialPad from '@ringcentral-integration/widgets/components/DialPad';
-
-const props = {};
-
-/**
- * A example of `DialPad`
- */
-const DialPadDemo = () => (
-
-
-
-);
-export default DialPadDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialPad/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DialPad/index.js
deleted file mode 100644
index 0642533576..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialPad/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/DialPad';
-
-const DialPadPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default DialPadPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialTextInput/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DialTextInput/Demo.js
deleted file mode 100644
index 73da407ed9..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialTextInput/Demo.js
+++ /dev/null
@@ -1,36 +0,0 @@
-import React, { Component } from 'react';
-// eslint-disable-next-line
-import DialTextInput from '@ringcentral-integration/widgets/components/DialTextInput';
-
-/**
- * A example of `DialTextInput`
- */
-
-class DialTextInputDemo extends Component {
- constructor(props) {
- super(props);
- this.state = {
- value: '',
- };
- }
- onDelete = () => {
- this.setState({
- value: '',
- });
- };
- onChangeEvent = (e) => {
- this.setState({
- value: e.target.value,
- });
- };
- render() {
- return (
-
- );
- }
-}
-export default DialTextInputDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialTextInput/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DialTextInput/index.js
deleted file mode 100644
index 94c9c35b1d..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialTextInput/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/DialTextInput';
-
-const DialTextInputPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default DialTextInputPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialerPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DialerPanel/Demo.js
deleted file mode 100644
index da52443cff..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialerPanel/Demo.js
+++ /dev/null
@@ -1,66 +0,0 @@
-import React, { Component } from 'react';
-// eslint-disable-next-line
-import DialerPanel from '@ringcentral-integration/widgets/components/DialerPanel';
-import styles from './styles.scss';
-/**
- * A example of `DialerPanel`
- */
-class DialerPanelDemo extends Component {
- constructor(props) {
- super(props);
- this.state = {
- toNumber: '',
- };
- }
-
- onCall = () => {
- alert("click 'onCall'");
- };
-
- keepToNumber = (toNumber) => {
- this.setState({
- toNumber,
- });
- };
- render() {
- return (
-
- null}
- callButtonDisabled={false}
- recipient={{
- phoneNumber: '1234',
- name: 'Test',
- }}
- searchContactList={[]}
- searchContact={() => null}
- clearToNumber={() => null}
- setRecipient={() => null}
- clearRecipient={() => null}
- />
-
- );
- }
-}
-
-export default DialerPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialerPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DialerPanel/index.js
deleted file mode 100644
index 728abc0349..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialerPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/DialerPanel/DialerPanel.tsx';
-
-const DialerPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default DialerPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialerPanel/styles.scss b/packages/ringcentral-widgets-docs/src/app/pages/Components/DialerPanel/styles.scss
deleted file mode 100644
index 50fbfd434c..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DialerPanel/styles.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-.root {
- height: 600px;
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Draggable/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Draggable/Demo.js
deleted file mode 100644
index b90b150c59..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Draggable/Demo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import Draggable from '@ringcentral-integration/widgets/components/Draggable';
-
-const props = {};
-
-/**
- * A example of `Draggable`
- */
-const DraggableDemo = () => (
-
- Drag Me
-
-);
-export default DraggableDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Draggable/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Draggable/index.js
deleted file mode 100644
index 4cdacb70af..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Draggable/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Draggable';
-
-const DraggablePage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default DraggablePage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationItem/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationItem/Demo.js
deleted file mode 100644
index 46d444bd93..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationItem/Demo.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import DropdownNavigationItem from '@ringcentral-integration/widgets/components/DropdownNavigationItem';
-// eslint-disable-next-line
-import dynamicsFont from '@ringcentral-integration/widgets/assets/DynamicsFont/DynamicsFont.scss';
-
-const props = {};
-props.icon = ;
-props.activeIcon = ;
-props.label = 'Settings';
-props.path = '/settings';
-
-/**
- * A example of `DropdownNavigationItem`
- */
-const DropdownNavigationItemDemo = () => ;
-export default DropdownNavigationItemDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationItem/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationItem/index.js
deleted file mode 100644
index 714ff49619..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationItem/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/DropdownNavigationItem';
-
-const DropdownNavigationItemPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default DropdownNavigationItemPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationView/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationView/Demo.js
deleted file mode 100644
index 275405b770..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationView/Demo.js
+++ /dev/null
@@ -1,41 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import DropdownNavigationView from '@ringcentral-integration/widgets/components/DropdownNavigationView';
-// eslint-disable-next-line
-import ContactIcon from '@ringcentral-integration/widgets/assets/images/Contact.svg';
-import SettingsIcon from '@ringcentral-integration/widgets/assets/images/Settings.svg';
-import ContactHoverIcon from '@ringcentral-integration/widgets/assets/images/ContactHover.svg';
-import SettingsHoverIcon from '@ringcentral-integration/widgets/assets/images/SettingsHover.svg';
-
-const props = {};
-props.goTo = () => null;
-props.currentPath = '/settings';
-props.tabs = [
- {
- icon: ContactIcon,
- activeIcon: ContactHoverIcon,
- label: 'Contacts',
- path: '/contacts',
- },
- {
- icon: SettingsIcon,
- activeIcon: SettingsHoverIcon,
- label: 'Settings',
- path: '/settings',
- },
-];
-
-/**
- * A example of `DropdownNavigationView`
- */
-const DropdownNavigationViewDemo = () => (
-
-
-
-);
-export default DropdownNavigationViewDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationView/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationView/index.js
deleted file mode 100644
index aae7fde2e4..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownNavigationView/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/DropdownNavigationView';
-
-const DropdownNavigationViewPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default DropdownNavigationViewPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownSelect/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownSelect/Demo.js
deleted file mode 100644
index 9ced6b5059..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownSelect/Demo.js
+++ /dev/null
@@ -1,52 +0,0 @@
-import React, { Component } from 'react';
-// eslint-disable-next-line
-import DropdownSelect from '@ringcentral-integration/widgets/components/DropdownSelect';
-
-/**
- * A example of `DropdownSelect`
- */
-const options = [
- {
- display: 'Option1',
- value: '1',
- },
- {
- display: 'Option2',
- value: '2',
- },
-];
-class DropdownSelectDemo extends Component {
- constructor(props) {
- super(props);
- this.state = {
- value: '1',
- };
- }
- onChange = (option) => {
- this.setState({
- value: option.value,
- });
- };
- renderValue = (value) => {
- const selected = options.find((option) => option.value === value);
- return selected.display;
- };
- render() {
- return (
-
-
option.display}
- valueFunction={(option) => option.value}
- renderValue={this.renderValue}
- />
-
- {`The value you selected is ${this.state.value}`}
-
- );
- }
-}
-
-export default DropdownSelectDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownSelect/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownSelect/index.js
deleted file mode 100644
index 6011cc1b80..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DropdownSelect/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/DropdownSelect';
-
-const DropdownSelectPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default DropdownSelectPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DurationCounter/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DurationCounter/Demo.js
deleted file mode 100644
index 8dfafa1680..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DurationCounter/Demo.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import DurationCounter from '@ringcentral-integration/widgets/components/DurationCounter';
-
-const props = {};
-props.startTime = 0;
-
-/**
- * A example of `DurationCounter`
- */
-const DurationCounterDemo = () => ;
-export default DurationCounterDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/DurationCounter/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/DurationCounter/index.js
deleted file mode 100644
index c27822bb03..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/DurationCounter/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/DurationCounter';
-
-const DurationCounterPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default DurationCounterPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityButton/Demo.js
deleted file mode 100644
index c3c0677ca9..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityButton/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import EntityButton from '@ringcentral-integration/widgets/components/EntityButton';
-
-const props = {};
-
-/**
- * A example of `EntityButton`
- */
-const EntityButtonDemo = () => ;
-export default EntityButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityButton/index.js
deleted file mode 100644
index 3e2683f445..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityButton/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/EntityButton';
-
-const EntityButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default EntityButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityModal/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityModal/Demo.js
deleted file mode 100644
index f97449075e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityModal/Demo.js
+++ /dev/null
@@ -1,55 +0,0 @@
-import React, { Component } from 'react';
-// eslint-disable-next-line
-import EntityModal from '@ringcentral-integration/widgets/components/EntityModal/EntityModal';
-import { Button } from '@ringcentral-integration/widgets/components/Button';
-
-const props = {};
-props.currentLocale = 'en-US';
-
-/**
- * A example of `EntityModal`
- */
-class EntityModalDemo extends Component {
- constructor(props) {
- super(props);
- this.state = {
- show: false,
- selected: `unknown`,
- };
- }
- onClick = () => {
- this.setState((state) => {
- return {
- show: !state.show,
- };
- });
- };
- onClose = () => {
- this.setState({
- show: false,
- });
- };
- onCreate = (selected) => {
- this.setState({
- selected,
- });
- this.onClose();
- };
- render() {
- const { show, selected } = this.state;
- return (
-
-
Open Entity Modal
-
-
{`You choose [ ${selected} ] as your Entity Type.`}
-
- );
- }
-}
-export default EntityModalDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityModal/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityModal/index.js
deleted file mode 100644
index 2a51e195de..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/EntityModal/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/EntityModal/EntityModal.tsx';
-
-const EntityModalPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default EntityModalPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Environment/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Environment/Demo.js
deleted file mode 100644
index 55e177aa0d..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Environment/Demo.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { EnvironmentPanel } from '@ringcentral-integration/widgets/components/EnvironmentPanel';
-
-const props = {};
-props.server = 'test string';
-props.recordingHost = 'test string';
-props.enabled = false;
-props.onSetData = () => null;
-props.defaultHidden = false;
-
-/**
- * A example of `Environment`
- */
-const EnvironmentDemo = () => (
-
-
-
-);
-export default EnvironmentDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Environment/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Environment/index.js
deleted file mode 100644
index 6fb6d0b364..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Environment/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Environment';
-
-const EnvironmentPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default EnvironmentPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Eula/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Eula/Demo.js
deleted file mode 100644
index 3075cc5615..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Eula/Demo.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { Eula } from '@ringcentral-integration/widgets/components/Eula';
-
-const props = {};
-props.brandId = 'test string';
-props.currentLocale = 'en-US';
-
-/**
- * A example of `Eula`
- */
-const EulaDemo = () => ;
-export default EulaDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Eula/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Eula/index.js
deleted file mode 100644
index f324e9304c..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Eula/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Eula';
-
-const EulaPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default EulaPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/FeedbackPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/FeedbackPanel/Demo.js
deleted file mode 100644
index c64a50b437..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/FeedbackPanel/Demo.js
+++ /dev/null
@@ -1,24 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import FeedbackPanel from '@ringcentral-integration/widgets/components/FeedbackPanel';
-
-const props = {};
-props.brandName = 'test string';
-props.currentLocale = 'en-US';
-props.onBackClick = () => null;
-props.onRevertClick = () => null;
-props.email = 'test string';
-props.topic = 'test string';
-props.subject = 'test string';
-props.description = 'test string';
-props.onEmailChange = () => null;
-props.onTopicChange = () => null;
-props.onSubjectChange = () => null;
-props.onDescriptionChange = () => null;
-props.sendFeedback = () => null;
-
-/**
- * A example of `FeedbackPanel`
- */
-const FeedbackPanelDemo = () => ;
-export default FeedbackPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/FeedbackPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/FeedbackPanel/index.js
deleted file mode 100644
index 94b373adb1..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/FeedbackPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/FeedbackPanel';
-
-const FeedbackPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default FeedbackPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/FlipPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/FlipPanel/Demo.js
deleted file mode 100644
index 726d0e080d..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/FlipPanel/Demo.js
+++ /dev/null
@@ -1,34 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import FlipPanel from '@ringcentral-integration/widgets/components/FlipPanel';
-
-const props = {};
-props.isOnFlip = false;
-props.flipNumbers = [
- { id: '1222', phoneNumber: '+1234567890', label: 'Mobile' },
-];
-props.currentLocale = 'en-US';
-props.formatPhone = (phoneNumber) => phoneNumber;
-props.hideFlipPanel = () => null;
-props.onFlip = () => null;
-props.onComplete = () => null;
-props.onBack = () => null;
-props.onCallEnd = () => null;
-props.sessionId = '123';
-
-/**
- * A example of `FlipPanel`
- */
-const FlipPanelDemo = () => (
-
-
-
-);
-export default FlipPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/FlipPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/FlipPanel/index.js
deleted file mode 100644
index ebbc0adb24..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/FlipPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/FlipPanel';
-
-const FlipPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default FlipPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Footer/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Footer/Demo.js
deleted file mode 100644
index de789d0b91..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Footer/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import Footer from '@ringcentral-integration/widgets/components/Footer';
-
-const props = {};
-
-/**
- * A example of `Footer`
- */
-const FooterDemo = () => ;
-export default FooterDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Footer/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Footer/index.js
deleted file mode 100644
index b16ced2bdf..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Footer/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Footer';
-
-const FooterPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default FooterPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/FormattedMessage/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/FormattedMessage/Demo.js
deleted file mode 100644
index b1a723ba2f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/FormattedMessage/Demo.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import FormattedMessage from '@ringcentral-integration/widgets/components/FormattedMessage';
-
-const props = {};
-props.message = 'test string: {param}';
-props.values = {
- param: 'params',
-};
-/**
- * A example of `FormattedMessage`
- */
-const FormattedMessageDemo = () => ;
-export default FormattedMessageDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/FormattedMessage/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/FormattedMessage/index.js
deleted file mode 100644
index 6e5e3fd0cc..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/FormattedMessage/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/FormattedMessage';
-
-const FormattedMessagePage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default FormattedMessagePage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ForwardForm/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ForwardForm/Demo.js
deleted file mode 100644
index 09245e66b6..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ForwardForm/Demo.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ForwardForm from '@ringcentral-integration/widgets/components/ForwardForm';
-
-const props = {};
-props.onCancel = () => null;
-props.currentLocale = 'en-US';
-props.forwardingNumbers = [];
-props.formatPhone = () => null;
-props.onForward = () => null;
-
-/**
- * A example of `ForwardForm`
- */
-const ForwardFormDemo = () => (
-
-
-
-);
-export default ForwardFormDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ForwardForm/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ForwardForm/index.js
deleted file mode 100644
index c0af6a6e34..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ForwardForm/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ForwardForm';
-
-const ForwardFormPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ForwardFormPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/FromField/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/FromField/Demo.js
deleted file mode 100644
index ac1026f389..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/FromField/Demo.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import FromField from '@ringcentral-integration/widgets/components/FromField';
-
-const props = {};
-props.fromNumber = '123456';
-props.formatPhone = (value) => value;
-props.fromNumbers = [{ phoneNumber: '123456', usageType: 'DirectNumber' }];
-props.onChange = () => null;
-props.currentLocale = 'en-US';
-props.hidden = false;
-props.showAnonymous = true;
-
-/**
- * A example of `FromField`
- */
-const FromFieldDemo = () => ;
-export default FromFieldDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/FromField/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/FromField/index.js
deleted file mode 100644
index 0d2c7b01b2..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/FromField/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/FromField';
-
-const FromFieldPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default FromFieldPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Header/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Header/Demo.js
deleted file mode 100644
index c2874259e9..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Header/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { Header } from '@ringcentral-integration/widgets/components/Header';
-
-const props = {};
-
-/**
- * A example of `Header`
- */
-const HeaderDemo = () => ;
-export default HeaderDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Header/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Header/index.js
deleted file mode 100644
index be4760da14..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Header/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Header';
-
-const HeaderPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default HeaderPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/IconField/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/IconField/Demo.js
deleted file mode 100644
index 059ae65fd6..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/IconField/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import IconField from '@ringcentral-integration/widgets/components/IconField';
-
-const props = {};
-
-/**
- * A example of `IconField`
- */
-const IconFieldDemo = () => ;
-export default IconFieldDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/IconField/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/IconField/index.js
deleted file mode 100644
index f30f8c0b3c..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/IconField/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/IconField';
-
-const IconFieldPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default IconFieldPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/IconLine/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/IconLine/Demo.js
deleted file mode 100644
index a83e13b3a3..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/IconLine/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import IconLine from '@ringcentral-integration/widgets/components/IconLine';
-
-const props = {};
-
-/**
- * A example of `IconLine`
- */
-const IconLineDemo = () => ;
-export default IconLineDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/IconLine/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/IconLine/index.js
deleted file mode 100644
index 65d34138e4..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/IconLine/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/IconLine';
-
-const IconLinePage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default IconLinePage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPad/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPad/Demo.js
deleted file mode 100644
index 1a9068090f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPad/Demo.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import IncomingCallPad from '@ringcentral-integration/widgets/components/IncomingCallPad';
-
-const props = {};
-props.answer = () => null;
-props.reject = () => null;
-props.replyWithMessage = () => null;
-props.toVoiceMail = () => null;
-props.currentLocale = 'en-US';
-props.forwardingNumbers = [
- {
- id: '123',
- label: 'Mobile',
- phoneNumber: '12345678',
- },
-];
-props.sessionId = '1234';
-props.onForward = () => null;
-props.searchContact = () => null;
-props.searchContactList = [];
-/**
- * A example of `IncomingCallPad`
- */
-const IncomingCallPadDemo = () => ;
-export default IncomingCallPadDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPad/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPad/index.js
deleted file mode 100644
index 58c24f87fc..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPad/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/IncomingCallPad';
-
-const IncomingCallPadPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default IncomingCallPadPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPanel/Demo.js
deleted file mode 100644
index f772b65325..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPanel/Demo.js
+++ /dev/null
@@ -1,46 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import IncomingCallPanel from '@ringcentral-integration/widgets/components/IncomingCallPanel';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.answer = () => null;
-props.reject = () => null;
-props.toVoiceMail = () => null;
-props.replyWithMessage = () => null;
-props.formatPhone = (phone) => phone;
-props.nameMatches = [];
-props.fallBackName = 'Unknown';
-props.areaCode = '';
-props.countryCode = '';
-props.phoneNumber = '1234567890';
-props.selectedMatcherIndex = 0;
-props.onSelectMatcherName = () => null;
-props.onBackButtonClick = () => null;
-props.forwardingNumbers = [
- {
- id: '123',
- label: 'Mobile',
- phoneNumber: '12345678',
- },
-];
-props.onForward = () => null;
-props.searchContact = () => null;
-props.searchContactList = [];
-props.sessionId = '123456';
-/**
- * A example of `IncomingCallPanel`
- */
-const IncomingCallPanelDemo = () => (
-
-
-
-);
-export default IncomingCallPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPanel/index.js
deleted file mode 100644
index 9d81eecd18..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/IncomingCallPanel/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/IncomingCallPanel';
-
-const IncomingCallPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default IncomingCallPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/InputField/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/InputField/Demo.js
deleted file mode 100644
index 93d33cbc33..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/InputField/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import InputField from '@ringcentral-integration/widgets/components/InputField';
-
-const props = {};
-
-/**
- * A example of `InputField`
- */
-const InputFieldDemo = () => ;
-export default InputFieldDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/InputField/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/InputField/index.js
deleted file mode 100644
index 48b9780318..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/InputField/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/InputField';
-
-const InputFieldPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default InputFieldPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/InputLine/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/InputLine/Demo.js
deleted file mode 100644
index 45470d1433..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/InputLine/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import InputLine from '@ringcentral-integration/widgets/components/InputLine';
-
-const props = {};
-
-/**
- * A example of `InputLine`
- */
-const InputLineDemo = () => ;
-export default InputLineDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/InputLine/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/InputLine/index.js
deleted file mode 100644
index fa31f3c901..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/InputLine/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/InputLine';
-
-const InputLinePage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default InputLinePage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Line/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Line/Demo.js
deleted file mode 100644
index 71d4a20e69..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Line/Demo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import Line from '@ringcentral-integration/widgets/components/Line';
-
-const props = {};
-
-/**
- * A example of `Line`
- */
-const LineDemo = () => (
-
- Line
-
-);
-export default LineDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Line/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Line/index.js
deleted file mode 100644
index 2228082a3f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Line/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Line';
-
-const LinePage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default LinePage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LinkLine/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LinkLine/Demo.js
deleted file mode 100644
index 011357d065..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LinkLine/Demo.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import LinkLine from '@ringcentral-integration/widgets/components/LinkLine';
-
-/**
- * A example of `LinkLine`
- */
-const LinkLineDemo = () => (
- null}>
- Line
-
-);
-export default LinkLineDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LinkLine/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LinkLine/index.js
deleted file mode 100644
index a3fb7c07e8..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LinkLine/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/LinkLine/LinkLine.tsx';
-
-const LinkLinePage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default LinkLinePage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LocalePicker/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LocalePicker/Demo.js
deleted file mode 100644
index 439ce90a13..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LocalePicker/Demo.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import LocalePicker from '@ringcentral-integration/widgets/components/LocalePicker';
-
-const props = {};
-props.value = 'test string';
-props.options = ['test string'];
-props.onChange = () => null;
-
-/**
- * A example of `LocalePicker`
- */
-const LocalePickerDemo = () => ;
-export default LocalePickerDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LocalePicker/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LocalePicker/index.js
deleted file mode 100644
index 090def6f58..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LocalePicker/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/LocalePicker';
-
-const LocalePickerPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default LocalePickerPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogBasicInfo/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LogBasicInfo/Demo.js
deleted file mode 100644
index 42455a2f3b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogBasicInfo/Demo.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import LogBasicInfo from '@ringcentral-integration/widgets/components/LogBasicInfo';
-
-const props = {};
-props.currentLocale = 'en-US';
-
-/**
- * A example of `LogBasicInfo`
- */
-const LogBasicInfoDemo = () => ;
-export default LogBasicInfoDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogBasicInfo/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LogBasicInfo/index.js
deleted file mode 100644
index bdea78fbd5..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogBasicInfo/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/LogBasicInfo';
-
-const LogBasicInfoPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default LogBasicInfoPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LogButton/Demo.js
deleted file mode 100644
index 85f2e6c5cd..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogButton/Demo.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import LogButton from '@ringcentral-integration/widgets/components/LogButton';
-
-const props = {};
-props.currentLocale = 'en-US';
-
-/**
- * A example of `LogButton`
- */
-const LogButtonDemo = () => ;
-export default LogButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LogButton/index.js
deleted file mode 100644
index 31c2c3d8fa..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogButton/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/LogButton';
-
-const LogButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default LogButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogIcon/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LogIcon/Demo.js
deleted file mode 100644
index 4c558df935..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogIcon/Demo.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import LogIcon from '@ringcentral-integration/widgets/components/LogIcon';
-
-const props = {};
-props.currentLocale = 'en-US';
-
-/**
- * A example of `LogIcon`
- */
-const LogIconDemo = () => ;
-export default LogIconDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogIcon/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LogIcon/index.js
deleted file mode 100644
index 6772913638..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogIcon/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/LogIcon';
-
-const LogIconPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default LogIconPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogNotification/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LogNotification/Demo.js
deleted file mode 100644
index 2454ccd71e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogNotification/Demo.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import LogNotification from '@ringcentral-integration/widgets/components/LogNotification';
-
-/**
- * A example of `LogNotification`
- */
-const LogNotificationDemo = () => (
- null}
- onDiscard={() => null}
- onSave={() => null}
- onStay={() => null}
- />
-);
-export default LogNotificationDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogNotification/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LogNotification/index.js
deleted file mode 100644
index c1a0d18288..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogNotification/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/LogNotification';
-
-const LogNotificationPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default LogNotificationPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogSection/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LogSection/Demo.js
deleted file mode 100644
index 84506514dc..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogSection/Demo.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import LogSection from '@ringcentral-integration/widgets/components/LogSection';
-
-/**
- * A example of `LogSection`
- */
-const LogSectionDemo = () => (
- null}
- currentLocale="en-US"
- renderEditLogSection={() => null}
- onUpdateCallLog={() => null}
- />
-);
-export default LogSectionDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogSection/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LogSection/index.js
deleted file mode 100644
index 1e675c997d..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LogSection/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/LogSection';
-
-const LogSectionPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default LogSectionPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LoginPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LoginPanel/Demo.js
deleted file mode 100644
index 99950a3b47..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LoginPanel/Demo.js
+++ /dev/null
@@ -1,24 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { LoginPanel } from '@ringcentral-integration/widgets/components/LoginPanel/LoginPanel.tsx';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.onLoginButtonClick = () => null;
-
-/**
- * A example of `LoginPanel`
- */
-const LoginPanelDemo = () => (
-
-
-
-);
-export default LoginPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/LoginPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/LoginPanel/index.js
deleted file mode 100644
index 9192c7755f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/LoginPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/LoginPanel';
-
-const LoginPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default LoginPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingAlert/Demo.js
deleted file mode 100644
index 53aa5ed7e4..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingAlert/Demo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import MeetingAlert from '@ringcentral-integration/widgets/components/AlertRenderer/MeetingAlert';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.message = {
- message: 'test string',
-};
-
-/**
- * A example of `MeetingAlert`
- */
-const MeetingAlertDemo = () => ;
-export default MeetingAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingAlert/index.js
deleted file mode 100644
index aa40f25fe8..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingAlert/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/MeetingAlert';
-
-const MeetingAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MeetingAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingPanel/Demo.js
deleted file mode 100644
index c6156e892c..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingPanel/Demo.js
+++ /dev/null
@@ -1,46 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import MeetingPanel from '@ringcentral-integration/widgets/components/MeetingPanel';
-import MeetingScheduleButton from '@ringcentral-integration/widgets/components/MeetingScheduleButton';
-
-const props = {};
-props.update = () => null;
-props.invite = () => null;
-props.init = () => null;
-props.meeting = {
- topic: 'My Meeting',
- _requireMeetingPassword: false,
- _showDate: false,
- _showTime: false,
- allowJoinBeforeHost: false,
- audioOptions: ['Phone', 'ComputerAudio'],
- host: { id: null },
- meetingType: 'Scheduled',
- password: null,
- schedule: {
- durationInMinutes: 60,
- startTime: 1512611358189,
- timeZone: { id: '1' },
- },
- startHostVideo: false,
- startParticipantsVideo: false,
-};
-props.currentLocale = 'en-US';
-props.scheduleButton = MeetingScheduleButton;
-
-/**
- * A example of `MeetingPanel`
- */
-const MeetingPanelDemo = () => (
-
-
-
-);
-export default MeetingPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingPanel/index.js
deleted file mode 100644
index c597478d1a..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/MeetingPanel';
-
-const MeetingPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MeetingPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingScheduleButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingScheduleButton/Demo.js
deleted file mode 100644
index 3c775ec16b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingScheduleButton/Demo.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import MeetingScheduleButton from '@ringcentral-integration/widgets/components/MeetingScheduleButton';
-
-const props = {};
-props.onClick = () => alert('clicked');
-
-/**
- * A example of `MeetingScheduleButton`
- */
-const MeetingScheduleButtonDemo = () => ;
-export default MeetingScheduleButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingScheduleButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingScheduleButton/index.js
deleted file mode 100644
index 0fa33f5aae..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingScheduleButton/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/MeetingScheduleButton';
-
-const MeetingScheduleButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MeetingScheduleButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingSection/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingSection/Demo.js
deleted file mode 100644
index 2d602c179c..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingSection/Demo.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import MeetingSection from '@ringcentral-integration/widgets/components/MeetingSection';
-
-/**
- * A example of `MeetingSection`
- */
-const MeetingSectionDemo = () => (
-
- MeetingSection
-
-);
-export default MeetingSectionDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingSection/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingSection/index.js
deleted file mode 100644
index 441cbeaa28..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MeetingSection/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/MeetingSection';
-
-const MeetingSectionPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MeetingSectionPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Message/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Message/Demo.js
deleted file mode 100644
index ad02020213..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Message/Demo.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import Message from '@ringcentral-integration/widgets/components/Message';
-
-const props = {};
-props.level = 'warning';
-props.message = Warning Message ;
-props.onDismiss = () => null;
-
-/**
- * A example of `Message`
- */
-const MessageDemo = () => ;
-export default MessageDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Message/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Message/index.js
deleted file mode 100644
index c068e8fa8e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Message/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Message';
-
-const MessagePage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MessagePage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageInput/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageInput/Demo.js
deleted file mode 100644
index 30eefec1ed..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageInput/Demo.js
+++ /dev/null
@@ -1,24 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import MessageInput from '@ringcentral-integration/widgets/components/MessageInput';
-
-const props = {};
-props.value = 'test string';
-props.currentLocale = 'en-US';
-
-/**
- * A example of `MessageInput`
- */
-const MessageInputDemo = () => (
-
-
-
-);
-export default MessageInputDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageInput/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageInput/index.js
deleted file mode 100644
index e80cdfb438..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageInput/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/MessageInput';
-
-const MessageInputPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MessageInputPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageItem/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageItem/Demo.js
deleted file mode 100644
index 51405e2f86..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageItem/Demo.js
+++ /dev/null
@@ -1,35 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import MessageItem from '@ringcentral-integration/widgets/components/MessageItem';
-
-const props = {};
-props.conversation = {
- id: '1',
- conversationId: '1',
- subject: 'subject text',
- correspondents: [
- {
- phoneNumber: '123456789',
- },
- ],
- correspondentMatches: [],
- conversationMatches: [],
- unreadCounts: 0,
- type: 'SMS',
-};
-props.areaCode = '650';
-props.countryCode = 'US';
-props.currentLocale = 'en-US';
-props.dateTimeFormatter = () => null;
-props.showConversationDetail = () => null;
-props.brand = 'RingCentral';
-props.markMessage = () => null;
-props.readMessage = () => null;
-props.unmarkMessage = () => null;
-props.onClickToDial = () => null;
-props.onCreateContact = () => null;
-/**
- * A example of `MessageItem`
- */
-const MessageItemDemo = () => ;
-export default MessageItemDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageItem/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageItem/index.js
deleted file mode 100644
index 17eec76f84..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageItem/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/MessageItem/index.tsx';
-
-const MessageItemPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MessageItemPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageSenderAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageSenderAlert/Demo.js
deleted file mode 100644
index f83438a28c..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageSenderAlert/Demo.js
+++ /dev/null
@@ -1,16 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import MessageSenderAlert from '@ringcentral-integration/widgets/components/AlertRenderer/MessageSenderAlert';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.message = {
- message: 'test string',
-};
-props.regionSettingsUrl = 'test string';
-
-/**
- * A example of `MessageSenderAlert`
- */
-const MessageSenderAlertDemo = () => ;
-export default MessageSenderAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageSenderAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageSenderAlert/index.js
deleted file mode 100644
index f65e800c60..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageSenderAlert/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/MessageSenderAlert';
-
-const MessageSenderAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MessageSenderAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageStoreAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageStoreAlert/Demo.js
deleted file mode 100644
index 135f6a1203..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageStoreAlert/Demo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import MessageStoreAlert from '@ringcentral-integration/widgets/components/AlertRenderer/MessageStoreAlert';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.message = {
- message: 'test string',
-};
-
-/**
- * A example of `MessageStoreAlert`
- */
-const MessageStoreAlertDemo = () => ;
-export default MessageStoreAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageStoreAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageStoreAlert/index.js
deleted file mode 100644
index 8097ed81a9..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageStoreAlert/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/MessageStoreAlert';
-
-const MessageStoreAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MessageStoreAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageTabButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageTabButton/Demo.js
deleted file mode 100644
index bd3009b247..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageTabButton/Demo.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import MessageTabButton from '@ringcentral-integration/widgets/components/MessageTabButton';
-
-const props = {};
-props.icon = Node ;
-props.width = undefined;
-
-/**
- * A example of `MessageTabButton`
- */
-const MessageTabButtonDemo = () => ;
-export default MessageTabButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageTabButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageTabButton/index.js
deleted file mode 100644
index 4c259dfdaf..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MessageTabButton/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/MessageTabButton';
-
-const MessageTabButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MessageTabButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Modal/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Modal/Demo.js
deleted file mode 100644
index 7298bcadc6..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Modal/Demo.js
+++ /dev/null
@@ -1,46 +0,0 @@
-import React, { Component } from 'react';
-// eslint-disable-next-line
-import Modal from '@ringcentral-integration/widgets/components/Modal';
-import { Button } from '@ringcentral-integration/widgets/components/Button';
-
-const props = {};
-props.currentLocale = 'en-US';
-
-/**
- * A example of `Modal`
- */
-class ModalDemo extends Component {
- constructor(props) {
- super(props);
- this.state = {
- show: false,
- };
- }
- onClick = () => {
- this.setState({
- show: !this.state.show,
- });
- };
- onClose = () => {
- this.setState({
- show: false,
- });
- };
- render() {
- return (
-
-
Open Modal
-
- Here's the example of Modal
-
-
- );
- }
-}
-export default ModalDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Modal/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Modal/index.js
deleted file mode 100644
index 8d6124dc6a..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Modal/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Modal';
-
-const ModalPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ModalPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MultiCallAnswerButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MultiCallAnswerButton/Demo.js
deleted file mode 100644
index 0ebfa079ec..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MultiCallAnswerButton/Demo.js
+++ /dev/null
@@ -1,23 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import MultiCallAnswerButton from '@ringcentral-integration/widgets/components/MultiCallAnswerButton';
-
-const props = {};
-props.title = 'Answer and End';
-props.onClick = () => alert('clicked');
-
-/**
- * A example of `MultiCallAnswerButton`
- */
-const MultiCallAnswerButtonDemo = () => (
-
-
-
-);
-export default MultiCallAnswerButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/MultiCallAnswerButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/MultiCallAnswerButton/index.js
deleted file mode 100644
index a37f12670a..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/MultiCallAnswerButton/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/MultiCallAnswerButton';
-
-const MultiCallAnswerButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default MultiCallAnswerButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/NavigationBar/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/NavigationBar/Demo.js
deleted file mode 100644
index 32fe9ccc72..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/NavigationBar/Demo.js
+++ /dev/null
@@ -1,70 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import NavigationBar from '@ringcentral-integration/widgets/components/NavigationBar';
-import TabNavigationButton from '@ringcentral-integration/widgets/components/TabNavigationButton';
-import DialPadIcon from '@ringcentral-integration/widgets/assets/images/DialPadNav.svg';
-import CallsIcon from '@ringcentral-integration/widgets/assets/images/Calls.svg';
-import HistoryIcon from '@ringcentral-integration/widgets/assets/images/CallHistory.svg';
-import MessageIcon from '@ringcentral-integration/widgets/assets/images/Messages.svg';
-import ComposeTextIcon from '@ringcentral-integration/widgets/assets/images/ComposeText.svg';
-
-import DialPadHoverIcon from '@ringcentral-integration/widgets/assets/images/DialPadHover.svg';
-import CallsHoverIcon from '@ringcentral-integration/widgets/assets/images/CallsHover.svg';
-import HistoryHoverIcon from '@ringcentral-integration/widgets/assets/images/CallHistoryHover.svg';
-import MessageHoverIcon from '@ringcentral-integration/widgets/assets/images/MessagesHover.svg';
-import ComposeTextHoverIcon from '@ringcentral-integration/widgets/assets/images/ComposeTextHover.svg';
-
-const props = {};
-props.currentPath = 'test string';
-
-/**
- * A example of `NavigationBar`
- */
-const unreadCounts = 99;
-props.tabs = [
- {
- icon: DialPadIcon,
- activeIcon: DialPadHoverIcon,
- label: 'Dial Pad',
- path: '/',
- },
- {
- icon: CallsIcon,
- activeIcon: CallsHoverIcon,
- label: 'Calls',
- path: '/calls',
- },
- {
- icon: HistoryIcon,
- activeIcon: HistoryHoverIcon,
- label: 'History',
- path: '/history',
- },
- {
- icon: MessageIcon,
- activeIcon: MessageHoverIcon,
- label: 'Messages',
- path: '/messages',
- noticeCounts: unreadCounts,
- isActive: () => true,
- },
- {
- icon: ComposeTextIcon,
- activeIcon: ComposeTextHoverIcon,
- label: 'Compose Text',
- path: '/composeText',
- },
-];
-
-props.goTo = (path) => alert(`go to ${path}`);
-const NavigationBarDemo = () => (
-
-
-
-);
-export default NavigationBarDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/NavigationBar/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/NavigationBar/index.js
deleted file mode 100644
index 110a76a11c..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/NavigationBar/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/NavigationBar';
-
-const NavigationBarPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default NavigationBarPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Panel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Panel/Demo.js
deleted file mode 100644
index 4ef1f02b43..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Panel/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import Panel from '@ringcentral-integration/widgets/components/Panel';
-
-const props = {};
-
-/**
- * A example of `Panel`
- */
-const PanelDemo = () => ;
-export default PanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Panel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Panel/index.js
deleted file mode 100644
index 7565dbd21d..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Panel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Panel';
-
-const PanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default PanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/PermissionsAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/PermissionsAlert/Demo.js
deleted file mode 100644
index 2181fd058b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/PermissionsAlert/Demo.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import PermissionsAlert from '@ringcentral-integration/widgets/components/AlertRenderer/PermissionsAlert';
-
-const props = {};
-props.message = {
- message: 'test string',
-};
-props.brand = 'test string';
-props.application = 'test string';
-props.currentLocale = 'en-US';
-
-/**
- * A example of `PermissionsAlert`
- */
-const PermissionsAlertDemo = () => ;
-export default PermissionsAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/PermissionsAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/PermissionsAlert/index.js
deleted file mode 100644
index 894a29ebe3..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/PermissionsAlert/index.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import React from 'react';
-import { parse, resolver } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/PermissionsAlert';
-
-const PermissionsAlertPage = () => {
- const info = parse(componentCode, resolver.findAllComponentDefinitions);
- console.log(info);
- return (
-
- );
-};
-
-export default PermissionsAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceItem/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceItem/Demo.js
deleted file mode 100644
index 2d3699f908..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceItem/Demo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { PresenceItem } from '@ringcentral-integration/widgets/components/PresenceItem';
-
-const props = {};
-props.onClick = () => alert('clicked');
-props.userStatus = 'Available';
-props.selected = false;
-props.currentLocale = 'en-US';
-
-/**
- * A example of `PresenceItem`
- */
-const PresenceItemDemo = () => ;
-export default PresenceItemDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceItem/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceItem/index.js
deleted file mode 100644
index 6e211cc267..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceItem/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/PresenceItem/index.tsx';
-
-const PresenceItemPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default PresenceItemPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceSettingSection/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceSettingSection/Demo.js
deleted file mode 100644
index 46fcd9c407..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceSettingSection/Demo.js
+++ /dev/null
@@ -1,30 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { PresenceSettingSection } from '@ringcentral-integration/widgets/components/PresenceSettingSection';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.dndStatus = 'TakeAllCalls';
-props.userStatus = 'Available';
-props.isCallQueueMember = false;
-props.setAvailable = () => null;
-props.setBusy = () => null;
-props.setDoNotDisturb = () => null;
-props.setInvisible = () => null;
-props.toggleAcceptCallQueueCalls = () => null;
-props.showPresenceSettings = true;
-
-/**
- * A example of `PresenceSettingSection`
- */
-const PresenceSettingSectionDemo = () => (
-
-);
-export default PresenceSettingSectionDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceSettingSection/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceSettingSection/index.js
deleted file mode 100644
index c7a4d1b1ee..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceSettingSection/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/PresenceSettingSection/index.tsx';
-
-const PresenceSettingSectionPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default PresenceSettingSectionPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceStatusIcon/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceStatusIcon/Demo.js
deleted file mode 100644
index 72c7f29611..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceStatusIcon/Demo.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import PresenceStatusIcon from '@ringcentral-integration/widgets/components/PresenceStatusIcon';
-
-const props = {};
-props.userStatus = 'Available';
-
-/**
- * A example of `PresenceStatusIcon`
- */
-const PresenceStatusIconDemo = () => ;
-export default PresenceStatusIconDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceStatusIcon/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceStatusIcon/index.js
deleted file mode 100644
index 31707803c2..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/PresenceStatusIcon/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/PresenceStatusIcon';
-
-const PresenceStatusIconPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default PresenceStatusIconPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RadioBtnGroup/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RadioBtnGroup/Demo.js
deleted file mode 100644
index 7ece783cdb..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RadioBtnGroup/Demo.js
+++ /dev/null
@@ -1,28 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import RadioBtnGroup from '@ringcentral-integration/widgets/components/RadioBtnGroup';
-
-const props = {};
-props.className = 'test string';
-props.radioOptions = [
- {
- id: '123',
- label: 'Home',
- phoneNumber: '+12345678',
- },
- {
- id: '1234',
- label: 'Mobile',
- phoneNumber: '+123456789',
- },
-];
-props.disabled = false;
-props.formatPhone = (v) => v;
-props.onRadioSelect = () => null;
-props.currentLocale = 'en-US';
-
-/**
- * A example of `RadioBtnGroup`
- */
-const RadioBtnGroupDemo = () => ;
-export default RadioBtnGroupDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RadioBtnGroup/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RadioBtnGroup/index.js
deleted file mode 100644
index 6a31b2cc42..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RadioBtnGroup/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/RadioBtnGroup';
-
-const RadioBtnGroupPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default RadioBtnGroupPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RateExceededAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RateExceededAlert/Demo.js
deleted file mode 100644
index 71abc8814f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RateExceededAlert/Demo.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import RateExceededAlert from '@ringcentral-integration/widgets/components/AlertRenderer/RateExceededAlert';
-
-const props = {};
-props.timestamp = 0;
-props.duration = 0;
-props.currentLocale = 'en-US';
-
-/**
- * A example of `RateExceededAlert`
- */
-const RateExceededAlertDemo = () => ;
-export default RateExceededAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RateExceededAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RateExceededAlert/index.js
deleted file mode 100644
index 62737d3353..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RateExceededAlert/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/RateExceededAlert';
-
-const RateExceededAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default RateExceededAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityCalls/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityCalls/Demo.js
deleted file mode 100644
index 973adb99db..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityCalls/Demo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import RecentActivityCalls from '@ringcentral-integration/widgets/components/RecentActivityCalls';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.calls = [];
-props.isCallsLoaded = false;
-props.dateTimeFormatter = () => null;
-
-/**
- * A example of `RecentActivityCalls`
- */
-const RecentActivityCallsDemo = () => ;
-export default RecentActivityCallsDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityCalls/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityCalls/index.js
deleted file mode 100644
index 31abb8e05e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityCalls/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/RecentActivityCalls';
-
-const RecentActivityCallsPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default RecentActivityCallsPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityMessages/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityMessages/Demo.js
deleted file mode 100644
index 9abd8c8e55..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityMessages/Demo.js
+++ /dev/null
@@ -1,16 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import RecentActivityMessages from '@ringcentral-integration/widgets/components/RecentActivityMessages';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.messages = [];
-props.isMessagesLoaded = false;
-props.navigateTo = () => null;
-props.dateTimeFormatter = () => null;
-
-/**
- * A example of `RecentActivityMessages`
- */
-const RecentActivityMessagesDemo = () => ;
-export default RecentActivityMessagesDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityMessages/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityMessages/index.js
deleted file mode 100644
index cd44c5ce93..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityMessages/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/RecentActivityMessages';
-
-const RecentActivityMessagesPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default RecentActivityMessagesPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityNavigationButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityNavigationButton/Demo.js
deleted file mode 100644
index 4831777c70..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityNavigationButton/Demo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import RecentActivityNavigationButton from '@ringcentral-integration/widgets/components/RecentActivityNavigationButton';
-
-const props = {};
-props.icon = Node ;
-props.width = undefined;
-
-/**
- * A example of `RecentActivityNavigationButton`
- */
-const RecentActivityNavigationButtonDemo = () => (
-
-);
-export default RecentActivityNavigationButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityNavigationButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityNavigationButton/index.js
deleted file mode 100644
index 0652d5e505..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityNavigationButton/index.js
+++ /dev/null
@@ -1,32 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/RecentActivityNavigationButton';
-
-const RecentActivityNavigationButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default RecentActivityNavigationButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityPanel/Demo.js
deleted file mode 100644
index 7e818400ba..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityPanel/Demo.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import RecentActivityPanel from '@ringcentral-integration/widgets/components/RecentActivityPanel';
-
-const props = {};
-props.title = 'test string';
-props.onPanelToggle = () => null;
-props.expanded = false;
-
-/**
- * A example of `RecentActivityPanel`
- */
-const RecentActivityPanelDemo = () => ;
-export default RecentActivityPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityPanel/index.js
deleted file mode 100644
index 17a1de54cf..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityPanel/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/RecentActivityPanel';
-
-const RecentActivityPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default RecentActivityPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityView/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityView/Demo.js
deleted file mode 100644
index d1f84613f0..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityView/Demo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import RecentActivityView from '@ringcentral-integration/widgets/components/RecentActivityView';
-
-const props = {};
-props.showSpinner = false;
-props.currentContact = {};
-props.tabs = [];
-props.defaultTab = 'test string';
-
-/**
- * A example of `RecentActivityView`
- */
-const RecentActivityViewDemo = () => ;
-export default RecentActivityViewDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityView/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityView/index.js
deleted file mode 100644
index 6c17f33e75..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecentActivityView/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/RecentActivityView';
-
-const RecentActivityViewPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default RecentActivityViewPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecipientsInput/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecipientsInput/Demo.js
deleted file mode 100644
index ca1e6ed333..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecipientsInput/Demo.js
+++ /dev/null
@@ -1,31 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import RecipientsInput from '@ringcentral-integration/widgets/components/RecipientsInput';
-
-const props = {};
-props.searchContactList = [
- {
- name: 'Test Name',
- entityType: 'Contact',
- phoneType: 'extension',
- phoneNumber: '101',
- },
-];
-props.recipients = [
- {
- phoneNumber: '+1234567890',
- },
-];
-props.value = 'test';
-props.onChange = () => null;
-props.onClean = () => null;
-props.addToRecipients = () => null;
-props.removeFromRecipients = () => null;
-props.formatContactPhone = () => null;
-props.currentLocale = 'en-US';
-
-/**
- * A example of `RecipientsInput`
- */
-const RecipientsInputDemo = () => ;
-export default RecipientsInputDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecipientsInput/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RecipientsInput/index.js
deleted file mode 100644
index 3f14f27e81..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RecipientsInput/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/RecipientsInput';
-
-const RecipientsInputPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default RecipientsInputPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsAlert/Demo.js
deleted file mode 100644
index 29a1600d2e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsAlert/Demo.js
+++ /dev/null
@@ -1,16 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import RegionSettingsAlert from '@ringcentral-integration/widgets/components/AlertRenderer/RegionSettingsAlert';
-
-const props = {};
-props.message = {
- message: 'test string',
-};
-props.regionSettingsUrl = 'test string';
-props.currentLocale = 'en-US';
-
-/**
- * A example of `RegionSettingsAlert`
- */
-const RegionSettingsAlertDemo = () => ;
-export default RegionSettingsAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsAlert/index.js
deleted file mode 100644
index 89133c0fbe..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsAlert/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/RegionSettingsAlert';
-
-const RegionSettingsAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default RegionSettingsAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsPanel/Demo.js
deleted file mode 100644
index d9bfa000b3..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsPanel/Demo.js
+++ /dev/null
@@ -1,32 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import RegionSettingsPanel from '@ringcentral-integration/widgets/components/RegionSettingsPanel';
-import styles from './styles.scss';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.availableCountries = [
- { id: '1', isoCode: 'US', callingCode: '1' },
- { id: '224', isoCode: 'GB', callingCode: '44' },
- { id: '39', isoCode: 'CA', callingCode: '1' },
- { id: '75', isoCode: 'FR', callingCode: '33' },
-];
-props.countryCode = 'US';
-props.areaCode = '650';
-
-/**
- * A example of `RegionSettingsPanel`
- */
-const RegionSettingsPanelDemo = () => (
-
-
-
-);
-export default RegionSettingsPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsPanel/index.js
deleted file mode 100644
index b46cb97384..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsPanel/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/RegionSettingsPanel';
-
-const RegionSettingsPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default RegionSettingsPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsPanel/styles.scss b/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsPanel/styles.scss
deleted file mode 100644
index e5712aefce..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RegionSettingsPanel/styles.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-.root {
- height: 500px;
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RemoveButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RemoveButton/Demo.js
deleted file mode 100644
index cfa63b9859..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RemoveButton/Demo.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { RemoveButton } from '@ringcentral-integration/widgets/components/RemoveButton';
-
-const props = {};
-props.onClick = () => alert('clicked');
-
-/**
- * A example of `RemoveButton`
- */
-const RemoveButtonDemo = () => ;
-export default RemoveButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/RemoveButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/RemoveButton/index.js
deleted file mode 100644
index a097c89e93..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/RemoveButton/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/RemoveButton/RemoveButton.tsx';
-
-const RemoveButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default RemoveButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ReplyWithMessage/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ReplyWithMessage/Demo.js
deleted file mode 100644
index d35e1b127a..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ReplyWithMessage/Demo.js
+++ /dev/null
@@ -1,25 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import ReplyWithMessage from '@ringcentral-integration/widgets/components/ReplyWithMessage';
-
-const props = {};
-props.onCancel = () => null;
-props.onReply = () => null;
-props.currentLocale = 'en-US';
-props.onChange = () => null;
-props.disabled = false;
-/**
- * A example of `ReplyWithMessage`
- */
-const ReplyWithMessageDemo = () => (
-
-
-
-);
-export default ReplyWithMessageDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/ReplyWithMessage/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/ReplyWithMessage/index.js
deleted file mode 100644
index b2a448a226..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/ReplyWithMessage/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/ReplyWithMessage';
-
-const ReplyWithMessagePage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default ReplyWithMessagePage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SaveButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SaveButton/Demo.js
deleted file mode 100644
index e9d30e246b..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SaveButton/Demo.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import SaveButton from '@ringcentral-integration/widgets/components/SaveButton';
-
-const props = {};
-props.currentLocale = 'en-US';
-
-/**
- * A example of `SaveButton`
- */
-const SaveButtonDemo = () => ;
-export default SaveButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SaveButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SaveButton/index.js
deleted file mode 100644
index 9adebfd822..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SaveButton/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/SaveButton';
-
-const SaveButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default SaveButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SearchInput/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SearchInput/Demo.js
deleted file mode 100644
index 1828cede04..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SearchInput/Demo.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { SearchInput } from '@ringcentral-integration/widgets/components/SearchInput';
-
-const props = {};
-props.value = 'test string';
-props.onChange = () => null;
-
-/**
- * A example of `SearchInput`
- */
-const SearchInputDemo = () => ;
-export default SearchInputDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SearchInput/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SearchInput/index.js
deleted file mode 100644
index 03fbff5fb5..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SearchInput/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/SearchInput/SearchInput.tsx';
-
-const SearchInputPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default SearchInputPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Select/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Select/Demo.js
deleted file mode 100644
index 90927d6a62..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Select/Demo.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import Select from '@ringcentral-integration/widgets/components/Select';
-
-const props = {};
-props.options = [];
-
-/**
- * A example of `Select`
- */
-const SelectDemo = () => ;
-export default SelectDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Select/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Select/index.js
deleted file mode 100644
index 4a60778547..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Select/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Select';
-
-const SelectPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default SelectPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SettingsPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SettingsPanel/Demo.js
deleted file mode 100644
index 21b084bced..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SettingsPanel/Demo.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { SettingsPanel } from '@ringcentral-integration/widgets/components/SettingsPanel';
-
-const props = {};
-props.brandId = 'test string';
-props.callingSettingsUrl = 'test string';
-props.currentLocale = 'en-US';
-props.loginNumber = 'test string';
-props.onLogoutButtonClick = () => null;
-props.regionSettingsUrl = 'test string';
-props.showRegion = false;
-props.version = 'test string';
-
-/**
- * A example of `SettingsPanel`
- */
-const SettingsPanelDemo = () => (
-
-
-
-);
-export default SettingsPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SettingsPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SettingsPanel/index.js
deleted file mode 100644
index c2b1157f50..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SettingsPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/SettingsPanel/SettingsPanel.tsx';
-
-const SettingsPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default SettingsPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideMenu/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideMenu/Demo.js
deleted file mode 100644
index 05a88fe277..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideMenu/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import SlideMenu from '@ringcentral-integration/widgets/components/SlideMenu';
-
-const props = {};
-
-/**
- * A example of `SlideMenu`
- */
-const SlideMenuDemo = () => ;
-export default SlideMenuDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideMenu/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideMenu/index.js
deleted file mode 100644
index cf2ff4dc5f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideMenu/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/SlideMenu';
-
-const SlideMenuPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default SlideMenuPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideoutBar/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideoutBar/Demo.js
deleted file mode 100644
index a172f43344..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideoutBar/Demo.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import SlideoutBar from '@ringcentral-integration/widgets/components/SlideoutBar';
-
-const props = {};
-props.offset = 0;
-props.slideout = false;
-
-/**
- * A example of `SlideoutBar`
- */
-const SlideoutBarDemo = () => ;
-export default SlideoutBarDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideoutBar/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideoutBar/index.js
deleted file mode 100644
index 22c4985ab5..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SlideoutBar/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/SlideoutBar';
-
-const SlideoutBarPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default SlideoutBarPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Spinner/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Spinner/Demo.js
deleted file mode 100644
index 2d0626acdb..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Spinner/Demo.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import Spinner from '@ringcentral-integration/widgets/components/Spinner';
-
-const props = {};
-
-/**
- * A example of `Spinner`
- */
-const SpinnerDemo = () => (
-
-
-
-);
-export default SpinnerDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Spinner/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Spinner/index.js
deleted file mode 100644
index 897953ff62..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Spinner/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Spinner';
-
-const SpinnerPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default SpinnerPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SpinnerOverlay/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SpinnerOverlay/Demo.js
deleted file mode 100644
index 1fcc88c11e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SpinnerOverlay/Demo.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import { SpinnerOverlay } from '@ringcentral-integration/widgets/components/SpinnerOverlay';
-
-const props = {};
-
-/**
- * A example of `SpinnerOverlay`
- */
-const SpinnerOverlayDemo = () => (
-
-
-
-);
-export default SpinnerOverlayDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/SpinnerOverlay/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/SpinnerOverlay/index.js
deleted file mode 100644
index 7d06f67bdf..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/SpinnerOverlay/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/SpinnerOverlay';
-
-const SpinnerOverlayPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default SpinnerOverlayPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Switch/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Switch/Demo.js
deleted file mode 100644
index 05c2dc0982..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Switch/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import Switch from '@ringcentral-integration/widgets/components/Switch';
-
-const props = {};
-
-/**
- * A example of `Switch`
- */
-const SwitchDemo = () => ;
-export default SwitchDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/Switch/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/Switch/index.js
deleted file mode 100644
index d06c0e0799..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/Switch/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/Switch';
-
-const SwitchPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default SwitchPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationButton/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationButton/Demo.js
deleted file mode 100644
index 70501038c2..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationButton/Demo.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import TabNavigationButton from '@ringcentral-integration/widgets/components/TabNavigationButton';
-import CallsIcon from '@ringcentral-integration/widgets/assets/images/Calls.svg';
-import CallsHoverIcon from '@ringcentral-integration/widgets/assets/images/CallsHover.svg';
-
-const props = {};
-props.icon = ;
-props.activeIcon = ;
-props.width = '100%';
-props.height = 50;
-
-/**
- * A example of `TabNavigationButton`
- */
-const TabNavigationButtonDemo = () => (
-
-
-
-);
-export default TabNavigationButtonDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationButton/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationButton/index.js
deleted file mode 100644
index e9bce3c44e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationButton/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/TabNavigationButton';
-
-const TabNavigationButtonPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default TabNavigationButtonPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationView/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationView/Demo.js
deleted file mode 100644
index 34f4817cd0..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationView/Demo.js
+++ /dev/null
@@ -1,117 +0,0 @@
-import React, { Component } from 'react';
-// eslint-disable-next-line
-import TabNavigationView from '@ringcentral-integration/widgets/components/TabNavigationView';
-import DialPadIcon from '@ringcentral-integration/widgets/assets/images/DialPadNav.svg';
-import CallsIcon from '@ringcentral-integration/widgets/assets/images/Calls.svg';
-import MessageIcon from '@ringcentral-integration/widgets/assets/images/Messages.svg';
-import SettingsIcon from '@ringcentral-integration/widgets/assets/images/Settings.svg';
-import ContactIcon from '@ringcentral-integration/widgets/assets/images/Contact.svg';
-import MoreMenuIcon from '@ringcentral-integration/widgets/assets/images/MoreMenu.svg';
-
-import DialPadHoverIcon from '@ringcentral-integration/widgets/assets/images/DialPadHover.svg';
-import CallsHoverIcon from '@ringcentral-integration/widgets/assets/images/CallsHover.svg';
-import MessageHoverIcon from '@ringcentral-integration/widgets/assets/images/MessagesHover.svg';
-import SettingsHoverIcon from '@ringcentral-integration/widgets/assets/images/SettingsHover.svg';
-import ContactHoverIcon from '@ringcentral-integration/widgets/assets/images/ContactHover.svg';
-import MoreMenuHoverIcon from '@ringcentral-integration/widgets/assets/images/MoreMenuHover.svg';
-
-import ContactNavIcon from '@ringcentral-integration/widgets/assets/images/ContactsNavigation.svg';
-import SettingsNavIcon from '@ringcentral-integration/widgets/assets/images/SettingsNavigation.svg';
-
-const tabs = [
- {
- icon: DialPadIcon,
- activeIcon: DialPadHoverIcon,
- label: 'Dial Pad',
- path: '/dialer',
- },
- {
- icon: CallsIcon,
- activeIcon: CallsHoverIcon,
- label: 'Calls',
- path: '/calls',
- isActive: (currentPath) =>
- currentPath === '/calls' || currentPath === '/calls/active',
- },
- {
- icon: MessageIcon,
- activeIcon: MessageHoverIcon,
- label: 'Messages',
- path: '/messages',
- noticeCounts: 1,
- isActive: (currentPath) =>
- currentPath === '/messages' ||
- currentPath.indexOf('/conversations/') !== -1,
- },
- {
- icon: ({ currentPath }) => {
- if (currentPath === '/contacts') {
- return ;
- } else if (currentPath === '/settings') {
- return ;
- }
- return ;
- },
- activeIcon: MoreMenuHoverIcon,
- label: 'More Menu',
- virtualPath: '!moreMenu',
- isActive: (currentPath, currentVirtualPath) =>
- currentVirtualPath === '!moreMenu',
- childTabs: [
- {
- icon: ContactIcon,
- activeIcon: ContactHoverIcon,
- label: 'Contacts',
- path: '/contacts',
- },
- {
- icon: SettingsIcon,
- activeIcon: SettingsHoverIcon,
- label: 'Settings',
- path: '/settings',
- isActive: (currentPath) => currentPath.substr(0, 9) === '/settings',
- },
- ],
- },
-];
-/**
- * A example of `TabNavigationView`
- */
-class TabNavigationViewDemo extends Component {
- constructor(props) {
- super(props);
- this.state = {
- currentPath: '/dialer',
- currentVirtualPath: '',
- };
-
- this.goTo = (path, virtualPath) => {
- this.setState({
- currentPath: path || '',
- currentVirtualPath: virtualPath || '',
- });
- };
- }
-
- render() {
- return (
-
-
-
- );
- }
-}
-
-export default TabNavigationViewDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationView/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationView/index.js
deleted file mode 100644
index a185a2a106..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/TabNavigationView/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/TabNavigationView';
-
-const TabNavigationViewPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default TabNavigationViewPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/TextInput/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/TextInput/Demo.js
deleted file mode 100644
index a0dc290841..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/TextInput/Demo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import TextInput from '@ringcentral-integration/widgets/components/TextInput';
-
-const props = {};
-
-/**
- * A example of `TextInput`
- */
-const TextInputDemo = () => ;
-export default TextInputDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/TextInput/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/TextInput/index.js
deleted file mode 100644
index 5d3161bd60..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/TextInput/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/TextInput';
-
-const TextInputPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default TextInputPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/TransferPanel/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/TransferPanel/Demo.js
deleted file mode 100644
index c96aaedaa7..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/TransferPanel/Demo.js
+++ /dev/null
@@ -1,35 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import TransferPanel from '@ringcentral-integration/widgets/components/TransferPanel';
-
-const props = {};
-props.onTransfer = () => null;
-props.currentLocale = 'en-US';
-props.toggleTransferPanel = () => null;
-props.formatPhone = (p) => p;
-props.searchContactList = [];
-props.searchContact = () => null;
-props.setActiveSessionId = () => null;
-props.sessionId = '123';
-props.session = {
- isOnTransfer: false,
-};
-props.onBack = () => null;
-props.autoFocus = true;
-props.onCallEnd = () => null;
-/**
- * A example of `TransferPanel`
- */
-const TransferPanelDemo = () => (
-
-
-
-);
-export default TransferPanelDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/TransferPanel/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/TransferPanel/index.js
deleted file mode 100644
index 26855256c8..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/TransferPanel/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/TransferPanel';
-
-const TransferPanelPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default TransferPanelPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/UserGuide/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/UserGuide/Demo.js
deleted file mode 100644
index 185737b985..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/UserGuide/Demo.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import UserGuide from '@ringcentral-integration/widgets/components/UserGuide';
-
-const props = {};
-props.guides = [];
-props.showSpinner = false;
-props.currentLocale = 'en-US';
-
-/**
- * A example of `UserGuide`
- */
-const UserGuideDemo = () => ;
-export default UserGuideDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/UserGuide/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/UserGuide/index.js
deleted file mode 100644
index 893a444f33..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/UserGuide/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/UserGuide';
-
-const UserGuidePage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default UserGuidePage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/VoicemailPlayer/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/VoicemailPlayer/Demo.js
deleted file mode 100644
index e87638d9a3..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/VoicemailPlayer/Demo.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import VoicemailPlayer from '@ringcentral-integration/widgets/components/VoicemailPlayer';
-
-const props = {};
-props.uri = 'test string';
-props.currentLocale = 'en-US';
-
-/**
- * A example of `VoicemailPlayer`
- */
-const VoicemailPlayerDemo = () => ;
-export default VoicemailPlayerDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/VoicemailPlayer/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/VoicemailPlayer/index.js
deleted file mode 100644
index 8e83d89427..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/VoicemailPlayer/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/VoicemailPlayer';
-
-const VoicemailPlayerPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default VoicemailPlayerPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/WebphoneAlert/Demo.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/WebphoneAlert/Demo.js
deleted file mode 100644
index 20f63553b5..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/WebphoneAlert/Demo.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import WebphoneAlert from '@ringcentral-integration/widgets/components/AlertRenderer/WebphoneAlert';
-
-const props = {};
-props.currentLocale = 'en-US';
-props.message = {
- message: 'webphone-browserNotSupported',
-};
-props.brand = {
- name: 'RingCentral',
-};
-
-/**
- * A example of `WebphoneAlert`
- */
-const WebphoneAlertDemo = () => ;
-export default WebphoneAlertDemo;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Components/WebphoneAlert/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Components/WebphoneAlert/index.js
deleted file mode 100644
index dfe4d41f86..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Components/WebphoneAlert/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/AlertRenderer/WebphoneAlert';
-
-const WebphoneAlertPage = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default WebphoneAlertPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/OverView/README.md b/packages/ringcentral-widgets-docs/src/app/pages/OverView/README.md
deleted file mode 100644
index 39ee4156fc..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/OverView/README.md
+++ /dev/null
@@ -1,91 +0,0 @@
-# ringcentral-js-widgets
-
-[](https://travis-ci.org/ringcentral/ringcentral-js-widgets)
-[](https://www.npmjs.com/package/@ringcentral-integration/commons)
-[](https://www.npmjs.com/package/@ringcentral-integration/widgets)
-
-## Introduction
-
-RingCentral integration widgets aim to provide reusable RingCentral service module and UI components to allow developers to integrate RingCentral unified communication service into third party processes or tools more easily.
-
-This project includes [RingCentral Integration Common Library](https://github.com/ringcentral/ringcentral-js-widgets/blob/master/packages/ringcentral-integration/README.md) and [RingCentral Widgets Library](https://github.com/ringcentral/ringcentral-js-widgets/blob/master/packages/ringcentral-widgets/README.md). The basic idea is to connect modules in RingCentral Integration Common Library with React components to provide ready to use UI widgets.
-
-## Get Started
-
-We use [RingCentral Widgets CLI](https://github.com/ringcentral/ringcentral-js-widgets/blob/master/packages/ringcentral-widgets-cli/README.md) to startup a RingCentral Widgets based app.
-
-```bash
-$ npm install -g ringcentral-widgets-cli
-$ rc-widgets -h
-```
-
-### Create a new project
-
-```bash
-$ rc-widgets new your_project_name
-$ cd your_project_name
-$ yarn
-```
-
-[Update `.env` file in project root path](https://github.com/ringcentral/ringcentral-js-widgets/blob/master/packages/ringcentral-widgets-cli/README.md#start-developement-server).
-
-### Start development server
-
-```bash
-$ yarn start
-```
-
-Visit on [http://localhost:8080](http://localhost:8080) in browser.
-
-For production build and deploy, please get more information in [here](https://github.com/ringcentral/ringcentral-js-widgets/blob/master/packages/ringcentral-widgets-cli/README.md).
-
-### Tutorials
-
-This is a [demo](https://github.com/embbnux/ringcentral-widgets-demo) and [step-by-step tutorials](https://embbnux.github.io/ringcentral-widgets-demo/) show how to use this library.
-
-## Contribution and Development
-
-Clone the repo:
-
-```bash
-$ git clone https://github.com/ringcentral/ringcentral-js-widgets.git
-$ cd ringcentral-js-widgets
-```
-
-Install dependent libraries:
-
-```bash
-$ yarn install
-$ yarn test # Run tests
-```
-
-### Play with Development Server
-
-A development server is delivered with source so that developers can use it to get familiar with the project or do further development. To get development server running:
-
-Create a file named `api-config.js` in following format in folder `packages/ringcentral-widgets-demo/dev-server` to specify app related info
-
-```js
-export default {
- appKey: ${app key},
- appSecret: ${app secret},
- server: ${server url},
-};
-```
-
-Run following command to start development server
-
-```bash
-$ yarn start
-```
-
-The development server is listening on port `8080` by default.
-Open up your browser and access http://localhost:8080 to see how it works.
-
-Note that the development server is using OAuth for authorization process.
-Please make sure the app you specified in configuration above is setup with Redirect Uri `http://localhost:8080/redirect.html`.
-
-## Projects which use this library
-
-- [RingCentral Embeddable Voice](https://github.com/ringcentral/ringcentral-embeddable-voice)
-- [RingCentral for Google Extension 4.0](https://chrome.google.com/webstore/detail/ringcentral-for-google/fddhonoimfhgiopglkiokmofecgdiedb)
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/OverView/index.js b/packages/ringcentral-widgets-docs/src/app/pages/OverView/index.js
deleted file mode 100644
index ab9de7765f..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/OverView/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import React from 'react';
-
-import Markdown from '../../components/Markdown';
-import readme from './README.md';
-
-function OverView() {
- return ;
-}
-
-export default OverView;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Buttons/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Styles/Buttons/index.js
deleted file mode 100644
index a232929afc..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Buttons/index.js
+++ /dev/null
@@ -1,274 +0,0 @@
-import React from 'react';
-import classnames from 'classnames';
-import PrimaryButtonSpecs from '../../../assets/images/primary_button_specs.svg';
-import PrimaryButtonPopupSpecs from '../../../assets/images/primary_button_popup_specs.svg';
-import primaryButtonPageExample from '../../../assets/images/primary_button_in_page_example.png';
-import primaryButtonPopupExample from '../../../assets/images/primary_button_in_popup_example.png';
-import styles from './styles.scss';
-
-function ButtonsWrapper(props) {
- const style = {
- width: `${props.width}px`,
- height: `${props.height}px`,
- lineHeight: `${props.height}px`,
- borderRadius: `${props.cornerRadius}px`,
- color: props.textColor,
- fontSize: `${props.textSize}px`,
- };
- const buttons = ['normal', 'hover', 'pressed', 'disable'].map((type) => {
- let buttonStyle = { ...style };
- if (props[`${type}Style`]) {
- buttonStyle = {
- ...style,
- ...props[`${type}Style`],
- };
- }
- return (
-
- {type.charAt(0).toUpperCase() + type.slice(1)}
-
- );
- });
- const fillDesriptions = ['normal', 'hover', 'pressed', 'disable'].map(
- (type) => {
- const typeStyle = props[`${type}Style`];
- const name = type.charAt(0).toUpperCase() + type.slice(1);
- return (
-
-
- {name} fill color: {typeStyle.backgroundName} {typeStyle.background}
-
- {typeStyle.borderColorName && (
-
- {name} border color: {typeStyle.borderColorName}
-
- )}
- {typeStyle.colorName && (
-
- {name} Text: {props.textSize} {typeStyle.colorName}{' '}
- {typeStyle.color}
-
- )}
-
- );
- },
- );
- return (
-
-
{props.title}
-
{buttons}
-
-
- Minumum width: {props.width}
-
-
Height: {props.height}
-
- Corner radius: {props.cornerRadius}
-
- {props.textColor && (
-
- Text: {props.textSize} {props.textColorName} {props.textColor}
-
- )}
- {fillDesriptions}
-
-
- );
-}
-
-const primaryButtonInPage = {
- title: 'Primary button in the page',
- width: 260,
- height: 35,
- cornerRadius: 100,
- textSize: 13,
- textColor: '#FFFFFF',
- textColorName: 'Regular Snow',
- normalStyle: {
- background: '#066FAC',
- backgroundName: 'RC Blue',
- },
- hoverStyle: {
- background: '#389DCA',
- backgroundName: 'Sea',
- },
- pressedStyle: {
- background: '#0570A1',
- backgroundName: 'Marine',
- },
- disableStyle: {
- background: '#C7C7C7',
- backgroundName: 'Smoke',
- },
-};
-
-const secondaryButtonInPage = {
- title: 'Secondary button in the page',
- width: 260,
- height: 35,
- cornerRadius: 100,
- textSize: 13,
- normalStyle: {
- background: 'transparent',
- color: '#066FAC',
- border: 'solid 1px rgba(6, 132, 189, 0.5)',
- borderColorName: '50% RC Blue #066FAC',
- },
- hoverStyle: {
- color: '#FFFFFF',
- background: '#389DCA',
- backgroundName: 'Sea',
- },
- pressedStyle: {
- color: '#FFFFFF',
- background: '#0570A1',
- backgroundName: 'Marine',
- },
- disableStyle: {
- background: '#FFFFFF',
- backgroundName: 'Snow',
- color: '#C7C7C7',
- colorName: 'Smoke',
- border: 'solid 1px #C7C7C7',
- borderColorName: '50% Smoke #C7C7C7',
- },
-};
-
-const primaryButtonInPopup = {
- title: 'Primary button in the popup',
- width: 70,
- height: 28,
- cornerRadius: 100,
- textSize: 12,
- textColor: '#FFFFFF',
- textColorName: 'Regular Snow',
- normalStyle: {
- background: '#066FAC',
- backgroundName: 'RC Blue',
- },
- hoverStyle: {
- background: '#389DCA',
- backgroundName: 'Sea',
- },
- pressedStyle: {
- background: '#0570A1',
- backgroundName: 'Marine',
- },
- disableStyle: {
- background: '#C7C7C7',
- backgroundName: 'Smoke',
- },
-};
-
-const secondaryButtonInPopup = {
- title: 'Secondary button in the popup',
- width: 70,
- height: 28,
- cornerRadius: 100,
- textSize: 12,
- normalStyle: {
- background: 'transparent',
- color: '#066FAC',
- colorName: 'RC Blue',
- border: 'solid 1px rgba(6, 132, 189, 0.5)',
- borderColorName: '50% RC Blue #066FAC',
- },
- hoverStyle: {
- color: '#FFFFFF',
- background: '#389DCA',
- backgroundName: 'Sea',
- },
- pressedStyle: {
- color: '#FFFFFF',
- background: '#0570A1',
- backgroundName: 'Marine',
- },
- disableStyle: {
- background: '#FFFFFF',
- backgroundName: 'Snow',
- color: '#C7C7C7',
- colorName: 'Smoke',
- border: 'solid 1px #C7C7C7',
- },
-};
-
-function ButtonsPage() {
- return (
-
-
Button
-
Size & Specs
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default ButtonsPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Buttons/styles.scss b/packages/ringcentral-widgets-docs/src/app/pages/Styles/Buttons/styles.scss
deleted file mode 100644
index 5b0b25bf7e..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Buttons/styles.scss
+++ /dev/null
@@ -1,114 +0,0 @@
-.root {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
-}
-
-.header {
- color: #389DCA;
- font-size: 34px;
- text-align: left;
- margin-top: 30px;
- margin-bottom: 60px;
-}
-
-.subHeader {
- color: #2f2f2f;
- font-size: 28px;
-}
-
-.buttonListGroup {
- width: 100%;
- padding: 10px 0;
-}
-
-.buttonList {
- float: left;
- width: 47%;
- margin-left: 6%;
-
- &:first-child {
- margin-left: 0;
- }
-}
-
-@media only screen and (max-width: 768px) {
- .buttonList {
- width: 100%;
- }
-}
-
-.button {
- width: 100%;
- line-height: 100%;
- text-align: center;
- font-weight: 400;
- cursor: pointer;
- color: #ffffff;
- font-size: 13px;
- border-radius: 100px;
- background: #066FAC;
-}
-
-.styleText {
- margin-top: 20px;
- p {
- margin: 5px 0;
- }
-}
-
-.buttonsWrapperRoot {
- margin-top: 50px;
- width: 100%;
-
- .wrapperTitle {
- color: #2f2f2f;
- font-size: 18px;
- margin-bottom: 22px;
- }
-
- .wrapperButtonList {
- background: #f9f9f9;
- padding-bottom: 50px;
- padding-top: 60px;
- }
-
- .button {
- margin-right: auto;
- margin-left: auto;
- margin-top: 60px;
- &:first-child {
- margin-top: 0;
- }
- }
-
- .description {
- margin-top: 40px;
- font-size: 13px;
- }
-
- .descriptionLine {
- margin: 3px 0;
- }
-}
-
-.clearLine {
- clear: both;
- margin: 0;
- padding: 0;
- border: 0;
- font: inherit;
- vertical-align: baseline;
-}
-
-.buttonExample {
- margin-top: 37px;
- margin-left: auto;
- margin-right: auto;
-}
-
-.exampleGroup {
- margin-top: 60px;
- margin-bottom: 60px;
- margin-top: 60px;
- margin-bottom: 60px;
- min-height: 90px;
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Colors/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Styles/Colors/index.js
deleted file mode 100644
index 91601df204..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Colors/index.js
+++ /dev/null
@@ -1,82 +0,0 @@
-import React from 'react';
-
-import Markdown from '../../../components/Markdown';
-import styles from './styles.scss';
-
-const COLORS_LIST1 = [
- [
- { name: 'Marine', value: '#0570A1' },
- { name: 'RC Blue', value: '#066FAC' },
- { name: 'Sea', value: '#389DCA' },
- { name: 'Water', value: '#9BCEE5' },
- ],
- [
- { name: 'Rust', value: '#D44E4E' },
- { name: 'Tomato', value: '#F95B5C' },
- { name: 'Rouge', value: '#FDCACA' },
- ],
- [
- { name: 'Brass', value: '#CC9922' },
- { name: 'Gold', value: '#FFBF2A' },
- { name: 'Sunny', value: '#FFE5AA' },
- ],
-];
-
-const COLORS_LIST2 = [
- [
- { name: 'Carmel', value: '#D97400' },
- { name: 'Orange', value: '#FF8800' },
- { name: 'Apricot', value: '#FFCF99' },
- ],
- [
- { name: 'Envy', value: '#4C944C' },
- { name: 'Leaf', value: '#5FB95C' },
- { name: 'Mint', value: '#BFE3BE' },
- ],
- [
- { name: 'Night', value: '#2F2F2F' },
- { name: 'Ash', value: '#666666' },
- { name: 'Coin', value: '#999999' },
- { name: 'Smoke', value: '#C7C7C7' },
- { name: 'Sliver', value: '#E2E2E2', fontColor: '#000000' },
- { name: 'Egg', value: '#F9F9F9', fontColor: '#000000' },
- { name: 'Snow', value: '#FFFFFF', fontColor: '#000000' },
- ],
-];
-
-function ColorsBlock({ colors }) {
- return (
-
- {colors.map((color) => (
-
- {color.name}
- {color.value}
-
- ))}
-
- );
-}
-
-function ColorsPage() {
- return (
-
-
-
- {COLORS_LIST1.map((colors, index) => (
-
- ))}
-
-
- {COLORS_LIST2.map((colors, index) => (
-
- ))}
-
-
- );
-}
-
-export default ColorsPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Colors/styles.scss b/packages/ringcentral-widgets-docs/src/app/pages/Styles/Colors/styles.scss
deleted file mode 100644
index 1a2375ac29..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Colors/styles.scss
+++ /dev/null
@@ -1,31 +0,0 @@
-.colorsBlock {
- margin-left: 10px;
- margin-bottom: 50px;
- line-height: 45px;
- color: #FFFFFF;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 15px;
-}
-
-.colorLine {
- max-width: 460px;
- height: 45px;
- padding: 0 20px;
- position: relative;
-}
-
-.colorValue {
- float: right;
-}
-
-.colorsList {
- float: left;
- width: 50%;
- padding: 0 20px;
-}
-
-@media only screen and (max-width: 768px) {
- .colorsList {
- width: 100%;
- }
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Dropdown/index.js b/packages/ringcentral-widgets-docs/src/app/pages/Styles/Dropdown/index.js
deleted file mode 100644
index fd38fecb76..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Dropdown/index.js
+++ /dev/null
@@ -1,190 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import classnames from 'classnames';
-
-import SettingsIcon from '@ringcentral-integration/widgets/assets/images/Settings.svg';
-import MeetingIcon from '@ringcentral-integration/widgets/assets/images/Meeting.svg';
-import ContactIcon from '@ringcentral-integration/widgets/assets/images/Contact.svg';
-import MeetingHoverIcon from '@ringcentral-integration/widgets/assets/images/MeetingHover.svg';
-import RcIcon from '@ringcentral-integration/widgets/assets/images/RcIcon.svg';
-
-import Markdown from '../../../components/Markdown';
-import styles from './styles.scss';
-
-const CONTACT_FILTERS = ['All Contacts', 'Company', 'Google', 'Personal'];
-
-const MENUS_LIST = [
- {
- icon: ContactIcon,
- title: 'Contacts',
- },
- {
- icon: MeetingIcon,
- title: 'Schedule Meeting',
- },
- {
- icon: SettingsIcon,
- title: 'Setting',
- },
-];
-
-const ACTIVE_MENUS_LIST = [
- {
- icon: ContactIcon,
- title: 'Contacts',
- },
- {
- icon: MeetingHoverIcon,
- title: 'Schedule Meeting',
- },
- {
- icon: SettingsIcon,
- title: 'Setting',
- },
-];
-
-const SEARCH_LIST = [
- {
- name: 'Jane Smith',
- source: 'Contact',
- phone: '10001',
- phoneType: 'Extension Phone',
- },
- {
- name: 'Jane Smith',
- source: 'Contact',
- phone: '(650) 555-1234',
- phoneType: 'Direct Number',
- },
- {
- name: 'Jane',
- source: 'Contact',
- phone: '(650) 555-4321',
- phoneType: 'Home',
- },
-];
-
-const CONTACT_DIPLAY_LIST = [
- 'Jonny Hua',
- 'Jane Holly',
- 'Jane Merry',
- 'Jane Holly1',
- 'Jane Merry1',
-];
-
-const contactDisplayRender = (item) => (
-
-);
-
-const searchRender = (item) => (
-
-
- {item.name} |{' '}
- {item.source}
-
-
- {item.phone} | {item.phoneType}
-
-
-);
-
-const menuRender = (item) => {
- const Icon = item.icon;
- return (
-
- );
-};
-
-function Dropdown({ items, itemRender, className }) {
- const renderFunc =
- itemRender ||
- ((item) => (
-
- {item}
-
- ));
- return (
-
- {items.map(renderFunc)}
-
- );
-}
-
-Dropdown.propTypes = {
- items: PropTypes.array.isRequired,
- itemRender: PropTypes.func,
- className: PropTypes.string,
-};
-
-Dropdown.defaultProps = {
- itemRender: undefined,
- className: undefined,
-};
-
-function DropdownList({ label }) {
- return (
-
-
-
-
-
-
- );
-}
-
-DropdownList.propTypes = {
- label: PropTypes.string,
-};
-
-DropdownList.defaultProps = {
- label: undefined,
-};
-
-function DropdownPage() {
- return (
-
- );
-}
-
-export default DropdownPage;
diff --git a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Dropdown/styles.scss b/packages/ringcentral-widgets-docs/src/app/pages/Styles/Dropdown/styles.scss
deleted file mode 100644
index a185f8add1..0000000000
--- a/packages/ringcentral-widgets-docs/src/app/pages/Styles/Dropdown/styles.scss
+++ /dev/null
@@ -1,179 +0,0 @@
-.root {
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
-}
-
-.header {
- color: #389DCA;
- font-size: 18px;
- font-weight: bold;
- padding: 10px;
- margin-bottom: 10px;
-}
-
-.dropdownGroup {
- width: 100%;
-}
-
-.dropdownList {
- width: 33%;
- padding: 10px;
- float: left;
-}
-
-@media only screen and (max-width: 768px) {
- .dropdownList {
- width: 50%;
- }
-}
-
-.dropdown {
- background-color: #ffffff;
- box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.15);
- color: #666666;
- font-size: 13px;
- line-height: 26px;
- margin-bottom: 50px;
-}
-
-.option {
- padding: 0 10px;
-
- &:first-child {
- padding-top: 5px;
- }
-
- &:last-child {
- padding-bottom: 5px;
- }
-}
-
-.filter {
- max-width: 97px;
-}
-
-.menus {
- width: 300px;
- max-width: 100%;
- padding: 10px 0;
-}
-
-.menuItem {
- height: 35px;
- line-height: 35px;
- padding: 0 22px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-
- svg {
- display: inline-block;
- }
-
- .icon {
- width: 22px;
- margin-right: 10px;
- position: relative;
- top: 6px;
- float: left;
- }
-
- .title {
- margin-left: 32px;
- }
-}
-
-.searchList {
- width: 260px;
- max-width: 100%;
-}
-
-.searchItem {
- padding: 5px 10px;
- line-height: 20px;
-
- &:first-child {
- padding-top: 10px;
- }
-
- &:last-child {
- padding-bottom: 10px;
- }
-
- .name {
- font-weight: bold;
- color: #333333;
- }
-
- .line {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-}
-
-.contactItem {
- height: 30px;
- line-height: 30px;
- padding: 0 13px;
-
- .icon {
- float: left;
- }
-
- .name {
- margin-left: 20px;
- }
-}
-
-.contactDisplay {
- width: 180px;
- max-width: 100%;
- color: #333333;
- padding: 5px 0;
-}
-
-.hover {
- .option:nth-child(2) {
- background-color: #f9f9f9;
- }
-
- .searchItem:first-child {
- background-color: #f9f9f9;
- }
-
- .contactItem:nth-child(2) {
- background-color: #f9f9f9;
- }
-
- .menuItem:nth-child(2) {
- background-color: #f9f9f9;
- }
-}
-
-.selected {
- .option:nth-child(2) {
- color: #066FAC;
- }
-
- .searchItem:first-child {
- color: #066FAC;
-
- .name {
- color: #066FAC;
- }
- }
-
- .contactItem:nth-child(2) {
- color: #066FAC;
- }
-
- .menuItem:nth-child(2) {
- color: #066FAC;
-
- svg {
- path: {
- fill: #066FAC;
- }
- }
- }
-}
diff --git a/packages/ringcentral-widgets-docs/src/app/theme.scss b/packages/ringcentral-widgets-docs/src/app/theme.scss
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/packages/ringcentral-widgets-docs/src/templates/ComponentPage/Demo.ejs b/packages/ringcentral-widgets-docs/src/templates/ComponentPage/Demo.ejs
deleted file mode 100644
index 0712485a26..0000000000
--- a/packages/ringcentral-widgets-docs/src/templates/ComponentPage/Demo.ejs
+++ /dev/null
@@ -1,26 +0,0 @@
-import React from 'react';
-// eslint-disable-next-line
-import <%= component.name %> from '@ringcentral-integration/widgets/components/<%= component.name %>';
-
-const props = {};
-<%_ Object.keys(component.props).forEach(function(key) { -%>
-<%- `props.${key} = ${component.props[key]};` %>
-<%_ }) -%>
-
-/**
- * A example of `<%= component.name %>`
- */
-const <%= component.name %>Demo = () => (
-<%_ if (component.children) { -%>
- <<%= component.name %>
- {...props}
- >
- <%- component.children %>
- <%= component.name %>>
-<%_ } else { -%>
- <<%= component.name %>
- {...props}
- />
-<%_ } -%>
-);
-export default <%= component.name %>Demo;
diff --git a/packages/ringcentral-widgets-docs/src/templates/ComponentPage/index.ejs b/packages/ringcentral-widgets-docs/src/templates/ComponentPage/index.ejs
deleted file mode 100644
index 31f96f0c40..0000000000
--- a/packages/ringcentral-widgets-docs/src/templates/ComponentPage/index.ejs
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { parse } from 'react-docgen';
-import CodeExample from '../../../components/CodeExample';
-import ComponentHeader from '../../../components/ComponentHeader';
-import PropTypeDescription from '../../../components/PropTypeDescription';
-
-import Demo from './Demo';
-// eslint-disable-next-line
-import demoCode from '!raw-loader!./Demo';
-// eslint-disable-next-line
-import componentCode from '!raw-loader!@ringcentral-integration/widgets/components/<%= component.name %>';
-
-const <%= component.name %>Page = () => {
- const info = parse(componentCode);
- return (
-
- );
-};
-
-export default <%= component.name %>Page;
diff --git a/packages/ringcentral-widgets-docs/src/templates/ComponentRoutes.ejs b/packages/ringcentral-widgets-docs/src/templates/ComponentRoutes.ejs
deleted file mode 100644
index e1f96d46b6..0000000000
--- a/packages/ringcentral-widgets-docs/src/templates/ComponentRoutes.ejs
+++ /dev/null
@@ -1,16 +0,0 @@
-import React from 'react';
-import { Route } from 'react-router-dom';
-
-<%_ components.forEach(function(component) { -%>
-<%- `import ${component}Page from './Components/${component}';` %>
-<%_ }) -%>
-
-const Routes = () => (
-
- <%_ components.forEach(function(component) { -%>
- <%- ` ` %>
- <%_ }) -%>
-
-);
-
-export default Routes;
diff --git a/packages/ringcentral-widgets-docs/src/www/css/main.css b/packages/ringcentral-widgets-docs/src/www/css/main.css
deleted file mode 100644
index 10d3ae0aec..0000000000
--- a/packages/ringcentral-widgets-docs/src/www/css/main.css
+++ /dev/null
@@ -1,93 +0,0 @@
-html {
- position: relative;
- height: 100%;
-}
-
-body {
- margin: 0;
- padding: 0;
- font-size: 14px;
- font-family: "Lato",Helvetica,Arial,sans-serif;
- color: #585858;
- background-color: #fff;
- height: 100%;
-}
-
-#app {
- height: 100%;
-}
-
-* {
- box-sizing: border-box;
-}
-
-a {
- text-decoration: none;
-}
-
-.hljs {
- display: block;
- background: white;
- padding: 0.5em;
- color: #333333;
- overflow-x: auto;
-}
-
-.hljs-comment,
-.hljs-meta {
- color: #969896;
-}
-
-.hljs-string,
-.hljs-variable,
-.hljs-template-variable,
-.hljs-strong,
-.hljs-emphasis,
-.hljs-quote {
- color: #df5000;
-}
-
-.hljs-keyword,
-.hljs-selector-tag,
-.hljs-type {
- color: #a71d5d;
-}
-
-.hljs-literal,
-.hljs-symbol,
-.hljs-bullet,
-.hljs-attribute {
- color: #0086b3;
-}
-
-.hljs-section,
-.hljs-name {
- color: #63a35c;
-}
-
-.hljs-tag {
- color: #333333;
-}
-
-.hljs-title,
-.hljs-attr,
-.hljs-selector-id,
-.hljs-selector-class,
-.hljs-selector-attr,
-.hljs-selector-pseudo {
- color: #795da3;
-}
-
-.hljs-addition {
- color: #55a532;
- background-color: #eaffea;
-}
-
-.hljs-deletion {
- color: #bd2c00;
- background-color: #ffecec;
-}
-
-.hljs-link {
- text-decoration: underline;
-}
diff --git a/packages/ringcentral-widgets-docs/src/www/images/favicon.ico b/packages/ringcentral-widgets-docs/src/www/images/favicon.ico
deleted file mode 100644
index 912bf55985..0000000000
Binary files a/packages/ringcentral-widgets-docs/src/www/images/favicon.ico and /dev/null differ
diff --git a/packages/ringcentral-widgets-docs/src/www/index.html b/packages/ringcentral-widgets-docs/src/www/index.html
deleted file mode 100644
index ba4ac156d9..0000000000
--- a/packages/ringcentral-widgets-docs/src/www/index.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
- RingCentral JS Widgets
-
-
-
-
-
-
-
-
- loading
-
-
-
-
-
diff --git a/packages/ringcentral-widgets-docs/webpack-dev-server.config.js b/packages/ringcentral-widgets-docs/webpack-dev-server.config.js
deleted file mode 100644
index d16035e5e1..0000000000
--- a/packages/ringcentral-widgets-docs/webpack-dev-server.config.js
+++ /dev/null
@@ -1,132 +0,0 @@
-require('@ringcentral-integration/babel-settings/lib/register.js');
-
-const path = require('path');
-const webpack = require('webpack');
-const autoprefixer = require('autoprefixer');
-
-const buildPath = path.resolve(__dirname, 'src/app');
-const outputPath = path.resolve(__dirname, 'src/www');
-
-const config = {
- mode: 'development',
- entry: './src/app/index.js',
- devServer: {
- static: 'src/www',
- port: 8300,
- },
- devtool: 'eval',
- output: {
- path: outputPath,
- filename: 'index.js',
- },
- plugins: [
- new webpack.HotModuleReplacementPlugin(),
- new webpack.NoEmitOnErrorsPlugin(),
- new webpack.DefinePlugin({
- 'process.env': {
- NODE_ENV: JSON.stringify('development'),
- },
- }),
- new webpack.ProvidePlugin({
- Buffer: ['buffer', 'Buffer'],
- }),
- new webpack.ProvidePlugin({
- process: 'process/browser',
- }),
- ],
- resolve: {
- extensions: ['.ts', '.tsx', '.js', '.jsx'],
- fallback: {
- fs: false,
- path: require.resolve('path-browserify'),
- buffer: require.resolve('buffer'),
- stream: require.resolve('stream-browserify'),
- },
- },
- module: {
- rules: [
- {
- test: /\.m?js/,
- resolve: {
- fullySpecified: false,
- },
- },
- {
- enforce: 'pre',
- test: /\.js$/,
- use: 'source-map-loader',
- },
- {
- test: /\.(js|jsx|ts|tsx)$/,
- use: [
- {
- loader: 'babel-loader',
- },
- {
- loader: '@ringcentral-integration/locale-loader',
- },
- ],
- exclude: /node_modules/,
- },
- {
- test: /\.md$/,
- use: 'raw-loader',
- },
- {
- test: /\.css$/,
- use: ['style-loader', 'css-loader'],
- },
- {
- test: /\.woff|\.woff2|.eot|\.ttf/,
- use: 'url-loader?limit=15000&publicPath=./&name=fonts/[name]_[hash].[ext]',
- },
- {
- test: /\.svg/,
- exclude: /font/,
- use: [
- 'babel-loader',
- {
- loader: 'react-svg-loader',
- options: {
- jsx: true,
- svgo: {
- plugins: [
- {
- removeViewBox: false,
- },
- ],
- },
- },
- },
- ],
- },
- {
- test: /\.png|\.jpg|\.gif|fonts(\/|\\).*\.svg/,
- exclude: /assets(\/|\\)images(\/|\\).+\.svg/,
- use: 'url-loader?limit=20000&publicPath=./&name=images/[name]_[hash].[ext]',
- },
- {
- test: /\.sass|\.scss/,
- use: [
- 'style-loader',
- 'css-loader?modules&localIdentName=[path]_[name]_[local]_[hash:base64:5]',
- {
- loader: 'postcss-loader',
- options: {
- plugins: () => [autoprefixer],
- },
- },
- {
- loader: 'sass-loader',
- options: {
- outputStyle: 'expanded',
- includePaths: [buildPath],
- },
- },
- ],
- },
- ],
- },
-};
-
-module.exports = config;
diff --git a/packages/ringcentral-widgets-docs/webpack-production.config.js b/packages/ringcentral-widgets-docs/webpack-production.config.js
deleted file mode 100644
index 0f2864d325..0000000000
--- a/packages/ringcentral-widgets-docs/webpack-production.config.js
+++ /dev/null
@@ -1,129 +0,0 @@
-require('@ringcentral-integration/babel-settings/lib/register.js');
-
-const path = require('path');
-const webpack = require('webpack');
-const CopyWebpackPlugin = require('copy-webpack-plugin');
-const autoprefixer = require('autoprefixer');
-
-const buildPath = path.resolve(__dirname, 'src/app');
-const outputPath = path.resolve(__dirname, 'gh-pages');
-
-const config = {
- mode: 'production',
- entry: './src/app/index.js',
- output: {
- path: outputPath,
- filename: 'index.js',
- },
- plugins: [
- new webpack.DefinePlugin({
- 'process.env': {
- NODE_ENV: JSON.stringify('production'),
- },
- }),
- new CopyWebpackPlugin({
- patterns: [
- { from: 'src/www/css', to: 'css' },
- { from: 'src/www/images', to: 'images' },
- { from: 'src/www/index.html', to: 'index.html' },
- ],
- }),
- new webpack.ProvidePlugin({
- Buffer: ['buffer', 'Buffer'],
- }),
- new webpack.ProvidePlugin({
- process: 'process/browser',
- }),
- ],
- resolve: {
- extensions: ['.ts', '.tsx', '.js', '.jsx'],
- fullySpecified: false,
- fallback: {
- fs: false,
- path: require.resolve('path-browserify'),
- buffer: require.resolve('buffer'),
- stream: require.resolve('stream-browserify'),
- },
- },
- module: {
- rules: [
- {
- test: /\.m?js/,
- resolve: {
- fullySpecified: false,
- },
- },
- {
- test: /\.(js|jsx|ts|tsx)$/,
- use: [
- {
- loader: 'babel-loader',
- },
- {
- loader: '@ringcentral-integration/locale-loader',
- },
- ],
- exclude: /node_modules/,
- },
- {
- test: /\.md$/,
- use: 'raw-loader',
- },
- {
- test: /\.css$/,
- use: ['style-loader', 'css-loader'],
- },
- {
- test: /\.woff|\.woff2|.eot|\.ttf/,
- use: 'url-loader?limit=15000&publicPath=./&name=fonts/[name]_[hash].[ext]',
- },
- {
- test: /\.svg/,
- exclude: /font/,
- use: [
- 'babel-loader',
- {
- loader: 'react-svg-loader',
- options: {
- jsx: true,
- svgo: {
- plugins: [
- {
- removeViewBox: false,
- },
- ],
- },
- },
- },
- ],
- },
- {
- test: /\.png|\.jpg|\.gif|fonts(\/|\\).*\.svg/,
- exclude: /assets(\/|\\)images(\/|\\).+\.svg/,
- use: 'url-loader?limit=20000&publicPath=./&name=images/[name]_[hash].[ext]',
- },
- {
- test: /\.sass|\.scss/,
- use: [
- 'style-loader',
- 'css-loader?modules&localIdentName=[local]_[hash:base64:5]',
- {
- loader: 'postcss-loader',
- options: {
- plugins: () => [autoprefixer],
- },
- },
- {
- loader: 'sass-loader',
- options: {
- outputStyle: 'expanded',
- includePaths: [buildPath],
- },
- },
- ],
- },
- ],
- },
-};
-
-module.exports = config;
diff --git a/packages/ringcentral-widgets/package.json b/packages/ringcentral-widgets/package.json
index a0d7b30005..1414574c45 100644
--- a/packages/ringcentral-widgets/package.json
+++ b/packages/ringcentral-widgets/package.json
@@ -1,6 +1,6 @@
{
"name": "@ringcentral-integration/widgets",
- "version": "0.13.0",
+ "version": "0.14.0",
"description": "RingCentral Integration Widget Library",
"homepage": "https://github.com/ringcentral/ringcentral-js-widgets#readme",
"bugs": {
@@ -98,11 +98,11 @@
},
"peerDependencies": {
"@rc-ex/core": "^1.2.1",
- "@ringcentral-integration/commons": "^0.13.0",
- "@ringcentral-integration/core": "^0.13.0",
+ "@ringcentral-integration/commons": "^0.14.0",
+ "@ringcentral-integration/core": "^0.14.0",
"@ringcentral-integration/i18n": "^2.0.1",
"@ringcentral-integration/phone-number": "^1.0.4",
- "@ringcentral-integration/utils": "0.0.1",
+ "@ringcentral-integration/utils": "^0.14.0",
"@ringcentral/juno": "^2.35.2",
"@ringcentral/juno-icon": "^1.43.0",
"@ringcentral/sdk": "^4.7.2",
diff --git a/packages/utils/package.json b/packages/utils/package.json
index a8f203df00..f825a054eb 100644
--- a/packages/utils/package.json
+++ b/packages/utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@ringcentral-integration/utils",
- "version": "0.0.1",
+ "version": "0.14.0",
"description": "Base utils package for RingCentral integration products.",
"homepage": "https://github.com/ringcentral/ringcentral-js-widgets/tree/master/packages/core#readme",
"bugs": {
diff --git a/yarn.lock b/yarn.lock
index 948f356f40..917c1bef83 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -37,7 +37,7 @@
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.9.tgz#71cdb00a1ce3a329ce4cbec3a44f9fef35669730"
integrity sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ==
-"@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.12.3", "@babel/core@^7.19.6", "@babel/core@^7.20.12", "@babel/core@^7.4.5", "@babel/core@^7.5.5", "@babel/core@^7.7.2", "@babel/core@^7.7.5", "@babel/core@^7.8.0":
+"@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.12.3", "@babel/core@^7.19.6", "@babel/core@^7.20.12", "@babel/core@^7.4.5", "@babel/core@^7.5.5", "@babel/core@^7.7.2", "@babel/core@^7.8.0":
version "7.22.9"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.9.tgz#bd96492c68822198f33e8a256061da3cf391f58f"
integrity sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w==
@@ -58,7 +58,7 @@
json5 "^2.2.2"
semver "^6.3.1"
-"@babel/generator@^7.11.4", "@babel/generator@^7.12.11", "@babel/generator@^7.22.7", "@babel/generator@^7.22.9", "@babel/generator@^7.7.2":
+"@babel/generator@^7.11.4", "@babel/generator@^7.22.7", "@babel/generator@^7.22.9", "@babel/generator@^7.7.2":
version "7.22.9"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.9.tgz#572ecfa7a31002fa1de2a9d91621fd895da8493d"
integrity sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw==
@@ -989,7 +989,7 @@
core-js-pure "^3.0.0"
regenerator-runtime "^0.13.4"
-"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.5", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.9", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.0", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
+"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.5", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.9", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.0", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
version "7.22.6"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.6.tgz#57d64b9ae3cff1d67eb067ae117dac087f5bd438"
integrity sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==
@@ -1005,7 +1005,7 @@
"@babel/parser" "^7.22.5"
"@babel/types" "^7.22.5"
-"@babel/traverse@^7.1.6", "@babel/traverse@^7.10.4", "@babel/traverse@^7.22.6", "@babel/traverse@^7.22.8", "@babel/traverse@^7.4.5", "@babel/traverse@^7.7.2":
+"@babel/traverse@^7.10.4", "@babel/traverse@^7.22.6", "@babel/traverse@^7.22.8", "@babel/traverse@^7.4.5", "@babel/traverse@^7.7.2":
version "7.22.8"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.8.tgz#4d4451d31bc34efeae01eac222b514a77aa4000e"
integrity sha512-y6LPR+wpM2I3qJrsheCTwhIinzkETbplIgPBbwvqPKc+uljeA5gP+3nP8irdYt1mjQaDnlIcG+dw8OjAco4GXw==
@@ -1021,7 +1021,7 @@
debug "^4.1.0"
globals "^11.1.0"
-"@babel/types@^7.0.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.12.1", "@babel/types@^7.2.0", "@babel/types@^7.20.0", "@babel/types@^7.22.5", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4":
+"@babel/types@^7.0.0", "@babel/types@^7.10.4", "@babel/types@^7.10.5", "@babel/types@^7.12.1", "@babel/types@^7.20.0", "@babel/types@^7.22.5", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4":
version "7.22.5"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.5.tgz#cd93eeaab025880a3a47ec881f4b096a5b786fbe"
integrity sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==
@@ -1103,11 +1103,6 @@
dependencies:
"@date-io/core" "^1.3.13"
-"@discoveryjs/json-ext@^0.5.0":
- version "0.5.6"
- resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.6.tgz#d5e0706cf8c6acd8c6032f8d54070af261bbbb2f"
- integrity sha512-ws57AidsDvREKrZKYffXddNkyaF14iHNHm8VQnZH6t99E8gczjNN0GpvcGny0imC80yQ0tHz1xVUKk/KFQSUyA==
-
"@emotion/hash@^0.8.0":
version "0.8.0"
resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.8.0.tgz#bbbff68978fefdbe68ccb533bc8cbe1d1afb5413"
@@ -3067,23 +3062,6 @@
"@webassemblyjs/ast" "1.11.6"
"@xtuc/long" "4.2.2"
-"@webpack-cli/configtest@^1.1.0":
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.1.0.tgz#8342bef0badfb7dfd3b576f2574ab80c725be043"
- integrity sha512-ttOkEkoalEHa7RaFYpM0ErK1xc4twg3Am9hfHhL7MVqlHebnkYd2wuI/ZqTDj0cVzZho6PdinY0phFZV3O0Mzg==
-
-"@webpack-cli/info@^1.4.0":
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.4.0.tgz#b9179c3227ab09cbbb149aa733475fcf99430223"
- integrity sha512-F6b+Man0rwE4n0409FyAJHStYA5OIZERxmnUfLVwv0mc0V1wLad3V7jqRlMkgKBeAq07jUvglacNaa6g9lOpuw==
- dependencies:
- envinfo "^7.7.3"
-
-"@webpack-cli/serve@^1.6.0":
- version "1.6.0"
- resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.6.0.tgz#2c275aa05c895eccebbfc34cfb223c6e8bd591a2"
- integrity sha512-ZkVeqEmRpBV2GHvjjUZqEai2PpUbuq8Bqd//vEYsp63J8WyexI8ppCqVS3Zs0QADf6aWuPdU+0XsPI647PVlQA==
-
"@wojtekmaj/enzyme-adapter-react-17@^0.6.3":
version "0.6.3"
resolved "https://registry.yarnpkg.com/@wojtekmaj/enzyme-adapter-react-17/-/enzyme-adapter-react-17-0.6.3.tgz#bf7cd6007d99996bd7d98c843644b213a3ecc74e"
@@ -3690,13 +3668,6 @@ ast-types@^0.13.2:
dependencies:
tslib "^2.0.1"
-ast-types@^0.14.2:
- version "0.14.2"
- resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.14.2.tgz#600b882df8583e3cd4f2df5fa20fa83759d4bdfd"
- integrity sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA==
- dependencies:
- tslib "^2.0.1"
-
async-done@^1.2.0, async-done@^1.2.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/async-done/-/async-done-1.3.2.tgz#5e15aa729962a4b07414f528a88cdf18e0b290a2"
@@ -4488,24 +4459,6 @@ bytes@3.1.2:
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5"
integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==
-c8@^7.6.0:
- version "7.9.0"
- resolved "https://registry.yarnpkg.com/c8/-/c8-7.9.0.tgz#e63b9a22c8b4adbf6a8c8cb6194ee086b3e13c24"
- integrity sha512-aQ7dC8gASnKdBwHUuYuzsdKCEDrKnWr7ZuZUnf4CNAL81oyKloKrs7H7zYvcrmCtIrMToudBSUhq2q+LLBMvgg==
- dependencies:
- "@bcoe/v8-coverage" "^0.2.3"
- "@istanbuljs/schema" "^0.1.2"
- find-up "^5.0.0"
- foreground-child "^2.0.0"
- istanbul-lib-coverage "^3.0.0"
- istanbul-lib-report "^3.0.0"
- istanbul-reports "^3.0.2"
- rimraf "^3.0.0"
- test-exclude "^6.0.0"
- v8-to-istanbul "^8.0.0"
- yargs "^16.2.0"
- yargs-parser "^20.2.7"
-
cache-base@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2"
@@ -4979,7 +4932,7 @@ colorette@^1.2.1:
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94"
integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==
-colorette@^2.0.10, colorette@^2.0.14:
+colorette@^2.0.10:
version "2.0.16"
resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.16.tgz#713b9af84fdb000139f04546bd4a93f62a5085da"
integrity sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==
@@ -5021,7 +4974,7 @@ commander@^6.2.0:
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==
-commander@^7.0.0, commander@^7.2.0:
+commander@^7.2.0:
version "7.2.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7"
integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==
@@ -5238,18 +5191,6 @@ copy-to-clipboard@^3.3.3:
dependencies:
toggle-selection "^1.0.6"
-copy-webpack-plugin@^9.0.1:
- version "9.1.0"
- resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-9.1.0.tgz#2d2c460c4c4695ec0a58afb2801a1205256c4e6b"
- integrity sha512-rxnR7PaGigJzhqETHGmAcxKnLZSR5u1Y3/bcIv/1FnqXedcL/E2ewK7ZCNrArJKCiSv8yVXhTqetJh8inDvfsA==
- dependencies:
- fast-glob "^3.2.7"
- glob-parent "^6.0.1"
- globby "^11.0.3"
- normalize-path "^3.0.0"
- schema-utils "^3.1.1"
- serialize-javascript "^6.0.0"
-
core-js-compat@^3.6.2:
version "3.6.5"
resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.6.5.tgz#2a51d9a4e25dfd6e690251aa81f99e3c05481f1c"
@@ -5395,7 +5336,7 @@ cross-spawn@^6.0.0:
shebang-command "^1.2.0"
which "^1.2.9"
-cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
+cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
@@ -6029,7 +5970,7 @@ dns-txt@^2.0.2:
dependencies:
buffer-indexof "^1.0.0"
-doctrine@^2.0.0, doctrine@^2.1.0:
+doctrine@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d"
integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==
@@ -6305,11 +6246,6 @@ entities@^4.4.0:
resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48"
integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==
-envinfo@^7.7.3:
- version "7.8.1"
- resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475"
- integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==
-
enzyme-shallow-equal@^1.0.0, enzyme-shallow-equal@^1.0.1:
version "1.0.4"
resolved "https://registry.yarnpkg.com/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.4.tgz#b9256cb25a5f430f9bfe073a84808c1d74fced2e"
@@ -6791,15 +6727,6 @@ estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0:
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"
integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==
-estree-to-babel@^3.1.0:
- version "3.2.1"
- resolved "https://registry.yarnpkg.com/estree-to-babel/-/estree-to-babel-3.2.1.tgz#82e78315275c3ca74475fdc8ac1a5103c8a75bf5"
- integrity sha512-YNF+mZ/Wu2FU/gvmzuWtYc8rloubL7wfXCTgouFrnjGVXPA/EeYYA7pupXWrb3Iv1cTBeSSxxJIbK23l4MRNqg==
- dependencies:
- "@babel/traverse" "^7.1.6"
- "@babel/types" "^7.2.0"
- c8 "^7.6.0"
-
esutils@^2.0.2:
version "2.0.3"
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
@@ -7059,7 +6986,7 @@ fast-diff@^1.1.2:
resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==
-fast-glob@^3.2.5, fast-glob@^3.2.7, fast-glob@^3.2.9:
+fast-glob@^3.2.5, fast-glob@^3.2.9:
version "3.3.0"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.0.tgz#7c40cb491e1e2ed5664749e87bfb516dbe8727c0"
integrity sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==
@@ -7085,11 +7012,6 @@ fast-safe-stringify@^2.0.7:
resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz#124aa885899261f68aedb42a7c080de9da608743"
integrity sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==
-fastest-levenshtein@^1.0.12:
- version "1.0.12"
- resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz#9990f7d3a88cc5a9ffd1f1745745251700d497e2"
- integrity sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==
-
fastparse@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.2.tgz#91728c5a5942eced8531283c79441ee4122c35a9"
@@ -7440,14 +7362,6 @@ for-own@^1.0.0:
dependencies:
for-in "^1.0.1"
-foreground-child@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-2.0.0.tgz#71b32800c9f15aa8f2f83f4a6bd9bff35d861a53"
- integrity sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==
- dependencies:
- cross-spawn "^7.0.0"
- signal-exit "^3.0.2"
-
forever-agent@~0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
@@ -7897,7 +7811,7 @@ globalthis@^1.0.3:
dependencies:
define-properties "^1.1.3"
-globby@^11.0.1, globby@^11.0.3, globby@^11.1.0:
+globby@^11.0.1, globby@^11.1.0:
version "11.1.0"
resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"
integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==
@@ -8210,11 +8124,6 @@ he@1.1.1:
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
integrity sha1-k0EP0hsAlzUVH4howvJx80J+I/0=
-highlight.js@^10.4.1:
- version "10.7.3"
- resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.7.3.tgz#697272e3991356e40c3cac566a74eef681756531"
- integrity sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==
-
history@^3.0.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/history/-/history-3.3.0.tgz#fcedcce8f12975371545d735461033579a6dae9c"
@@ -8225,18 +8134,6 @@ history@^3.0.0:
query-string "^4.2.2"
warning "^3.0.0"
-history@^4.6.1, history@^4.7.2:
- version "4.10.1"
- resolved "https://registry.yarnpkg.com/history/-/history-4.10.1.tgz#33371a65e3a83b267434e2b3f3b1b4c58aad4cf3"
- integrity sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew==
- dependencies:
- "@babel/runtime" "^7.1.2"
- loose-envify "^1.2.0"
- resolve-pathname "^3.0.0"
- tiny-invariant "^1.0.2"
- tiny-warning "^1.0.0"
- value-equal "^1.0.1"
-
hmac-drbg@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
@@ -8246,11 +8143,6 @@ hmac-drbg@^1.0.1:
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.1"
-hoist-non-react-statics@^2.5.0:
- version "2.5.5"
- resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47"
- integrity sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw==
-
hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
@@ -8702,11 +8594,6 @@ interpret@^1.4.0:
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e"
integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==
-interpret@^2.2.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9"
- integrity sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==
-
invariant@^2.2.1, invariant@^2.2.2, invariant@^2.2.4:
version "2.2.4"
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
@@ -9284,7 +9171,7 @@ istanbul-lib-source-maps@^4.0.0:
istanbul-lib-coverage "^3.0.0"
source-map "^0.6.1"
-istanbul-reports@^3.0.2, istanbul-reports@^3.1.3:
+istanbul-reports@^3.1.3:
version "3.1.3"
resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.3.tgz#4bcae3103b94518117930d51283690960b50d3c2"
integrity sha512-x9LtDVtfm/t1GFiLl3NffC7hz+I1ragvgX1P/Lg1NlIagifZDKUkuuaAxH/qpwj2IuEfD8G2Bs/UKp+sZ/pKkg==
@@ -10588,11 +10475,6 @@ markdown-it@^12.0.2:
mdurl "^1.0.1"
uc.micro "^1.0.5"
-marked@^2.0.0:
- version "2.0.7"
- resolved "https://registry.yarnpkg.com/marked/-/marked-2.0.7.tgz#bc5b857a09071b48ce82a1f7304913a993d4b7d1"
- integrity sha512-BJXxkuIfJchcXOJWTT2DOL+yFWifFv2yGYOUzvXg8Qz610QKw+sHCvTMYwA+qWGhlA2uivBezChZ/pBy1tWdkQ==
-
matchdep@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/matchdep/-/matchdep-2.0.0.tgz#c6f34834a0d8dbc3b37c27ee8bbcb27c7775582e"
@@ -10777,7 +10659,7 @@ minimalistic-crypto-utils@^1.0.1:
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=
-"minimatch@2 || 3", minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.1.2:
+"minimatch@2 || 3", minimatch@^3.0.4, minimatch@^3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
@@ -10976,7 +10858,7 @@ negotiator@0.6.3:
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd"
integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==
-neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.1, neo-async@^2.6.2:
+neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==
@@ -11001,13 +10883,6 @@ nice-try@^1.0.4:
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==
-node-dir@^0.1.10:
- version "0.1.17"
- resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.17.tgz#5f5665d93351335caabef8f1c554516cf5f1e4e5"
- integrity sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=
- dependencies:
- minimatch "^3.0.2"
-
node-environment-flags@^1.0.5:
version "1.0.6"
resolved "https://registry.yarnpkg.com/node-environment-flags/-/node-environment-flags-1.0.6.tgz#a30ac13621f6f7d674260a54dede048c3982c088"
@@ -12354,11 +12229,6 @@ raw-body@2.5.1, raw-body@^2.2.0:
iconv-lite "0.4.24"
unpipe "1.0.0"
-raw-loader@^0.5.1:
- version "0.5.1"
- resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-0.5.1.tgz#0c3d0beaed8a01c966d9787bf778281252a979aa"
- integrity sha1-DD0L6u2KAclm2Xh793goElKpeao=
-
rc-align@^2.4.0:
version "2.4.5"
resolved "https://registry.yarnpkg.com/rc-align/-/rc-align-2.4.5.tgz#c941a586f59d1017f23a428f0b468663fb7102ab"
@@ -12483,22 +12353,6 @@ react-component-managers@^3.1.0:
prop-types "^15.6.1"
spy-on-component "^1.1.0"
-react-docgen@^5.4.0:
- version "5.4.0"
- resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-5.4.0.tgz#2cd7236720ec2769252ef0421f23250b39a153a1"
- integrity sha512-JBjVQ9cahmNlfjMGxWUxJg919xBBKAoy3hgDgKERbR+BcF4ANpDuzWAScC7j27hZfd8sJNmMPOLWo9+vB/XJEQ==
- dependencies:
- "@babel/core" "^7.7.5"
- "@babel/generator" "^7.12.11"
- "@babel/runtime" "^7.7.6"
- ast-types "^0.14.2"
- commander "^2.19.0"
- doctrine "^3.0.0"
- estree-to-babel "^3.1.0"
- neo-async "^2.6.1"
- node-dir "^0.1.10"
- strip-indent "^3.0.0"
-
react-dom@^17.0.2:
version "17.0.2"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23"
@@ -12580,18 +12434,6 @@ react-redux@^7.1.1:
prop-types "^15.7.2"
react-is "^16.13.1"
-react-router-dom@^4.1.1:
- version "4.3.1"
- resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-4.3.1.tgz#4c2619fc24c4fa87c9fd18f4fb4a43fe63fbd5c6"
- integrity sha512-c/MlywfxDdCp7EnB7YfPMOfMD3tOtIjrQlj/CKfNMBxdmpJP8xcz5P/UAFn3JbnQCNUxsHyVVqllF9LhgVyFCA==
- dependencies:
- history "^4.7.2"
- invariant "^2.2.4"
- loose-envify "^1.3.1"
- prop-types "^15.6.1"
- react-router "^4.3.1"
- warning "^4.0.1"
-
react-router-redux@^4.0.8:
version "4.0.8"
resolved "https://registry.yarnpkg.com/react-router-redux/-/react-router-redux-4.0.8.tgz#227403596b5151e182377dab835b5d45f0f8054e"
@@ -12611,19 +12453,6 @@ react-router@^3.2.6:
react-is "^16.13.0"
warning "^3.0.0"
-react-router@^4.3.1:
- version "4.3.1"
- resolved "https://registry.yarnpkg.com/react-router/-/react-router-4.3.1.tgz#aada4aef14c809cb2e686b05cee4742234506c4e"
- integrity sha512-yrvL8AogDh2X42Dt9iknk4wF4V8bWREPirFfS9gLU1huk6qK41sg7Z/1S81jjTrGHxa3B8R3J6xIkDAA6CVarg==
- dependencies:
- history "^4.7.2"
- hoist-non-react-statics "^2.5.0"
- invariant "^2.2.4"
- loose-envify "^1.3.1"
- path-to-regexp "^1.7.0"
- prop-types "^15.6.1"
- warning "^4.0.1"
-
react-shallow-renderer@^16.13.1:
version "16.14.1"
resolved "https://registry.yarnpkg.com/react-shallow-renderer/-/react-shallow-renderer-16.14.1.tgz#bf0d02df8a519a558fd9b8215442efa5c840e124"
@@ -12830,13 +12659,6 @@ rechoir@^0.6.2:
dependencies:
resolve "^1.1.6"
-rechoir@^0.7.0:
- version "0.7.1"
- resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.7.1.tgz#9478a96a1ca135b5e88fc027f03ee92d6c645686"
- integrity sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg==
- dependencies:
- resolve "^1.9.0"
-
redent@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f"
@@ -13148,11 +12970,6 @@ resolve-options@^1.1.0:
dependencies:
value-or-function "^3.0.0"
-resolve-pathname@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/resolve-pathname/-/resolve-pathname-3.0.0.tgz#99d02224d3cf263689becbb393bc560313025dcd"
- integrity sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng==
-
resolve-url@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
@@ -13168,7 +12985,7 @@ resolve@1.1.7, resolve@1.1.x:
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
-resolve@^1.1.0, resolve@^1.1.3, resolve@^1.1.4, resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1, resolve@^1.4.0, resolve@^1.9.0:
+resolve@^1.1.0, resolve@^1.1.3, resolve@^1.1.4, resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1, resolve@^1.4.0:
version "1.22.2"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f"
integrity sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==
@@ -13497,7 +13314,7 @@ send@0.18.0:
range-parser "~1.2.1"
statuses "2.0.1"
-serialize-javascript@^6.0.0, serialize-javascript@^6.0.1:
+serialize-javascript@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c"
integrity sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==
@@ -14543,12 +14360,12 @@ timers-ext@^0.1.5:
es5-ext "~0.10.46"
next-tick "1"
-tiny-invariant@^1.0.2, tiny-invariant@^1.0.6:
+tiny-invariant@^1.0.6:
version "1.1.0"
resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.1.0.tgz#634c5f8efdc27714b7f386c35e6760991d230875"
integrity sha512-ytxQvrb1cPc9WBEI/HSeYYoGD0kWnGEOR8RY6KomWLBVhqz0RgTwVO9dLrGz7dC+nN9llyI7OKAgRq8Vq4ZBSw==
-tiny-warning@^1.0.0, tiny-warning@^1.0.2:
+tiny-warning@^1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754"
integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==
@@ -15271,7 +15088,7 @@ v8-compile-cache-lib@^3.0.1:
resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf"
integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==
-v8-to-istanbul@^8.0.0, v8-to-istanbul@^8.1.0:
+v8-to-istanbul@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-8.1.0.tgz#0aeb763894f1a0a1676adf8a8b7612a38902446c"
integrity sha512-/PRhfd8aTNp9Ggr62HPzXg2XasNFGy5PBt0Rp04du7/8GNNSgxFL6WBTkgMKSL9bFjH+8kKEG3f37FmxiTqUUA==
@@ -15295,11 +15112,6 @@ validate-npm-package-license@^3.0.1:
spdx-correct "^3.0.0"
spdx-expression-parse "^3.0.0"
-value-equal@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/value-equal/-/value-equal-1.0.1.tgz#1e0b794c734c5c0cade179c437d356d931a34d6c"
- integrity sha512-NOJ6JZCAWr0zlxZt+xqCHNTEKOsrks2HQd4MqhP1qy4z1SkbEP467eNx6TgDKXMvUOb+OENfJCZwM+16n7fRfw==
-
value-or-function@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/value-or-function/-/value-or-function-3.0.0.tgz#1c243a50b595c1be54a754bfece8563b9ff8d813"
@@ -15441,7 +15253,7 @@ warning@^3.0.0:
dependencies:
loose-envify "^1.0.0"
-warning@^4.0.0, warning@^4.0.1:
+warning@^4.0.0:
version "4.0.3"
resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3"
integrity sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==
@@ -15514,24 +15326,6 @@ webpack-bundle-analyzer@^4.4.2:
sirv "^1.0.7"
ws "^7.3.1"
-webpack-cli@^4.9.0:
- version "4.9.1"
- resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.9.1.tgz#b64be825e2d1b130f285c314caa3b1ba9a4632b3"
- integrity sha512-JYRFVuyFpzDxMDB+v/nanUdQYcZtqFPGzmlW4s+UkPMFhSpfRNmf1z4AwYcHJVdvEFAM7FFCQdNTpsBYhDLusQ==
- dependencies:
- "@discoveryjs/json-ext" "^0.5.0"
- "@webpack-cli/configtest" "^1.1.0"
- "@webpack-cli/info" "^1.4.0"
- "@webpack-cli/serve" "^1.6.0"
- colorette "^2.0.14"
- commander "^7.0.0"
- execa "^5.0.0"
- fastest-levenshtein "^1.0.12"
- import-local "^3.0.2"
- interpret "^2.2.0"
- rechoir "^0.7.0"
- webpack-merge "^5.7.3"
-
webpack-dev-middleware@^5.3.1:
version "5.3.1"
resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.1.tgz#aa079a8dedd7e58bfeab358a9af7dab304cee57f"
@@ -15579,14 +15373,6 @@ webpack-dev-server@^4.3.1:
webpack-dev-middleware "^5.3.1"
ws "^8.4.2"
-webpack-merge@^5.7.3:
- version "5.8.0"
- resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.8.0.tgz#2b39dbf22af87776ad744c390223731d30a68f61"
- integrity sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==
- dependencies:
- clone-deep "^4.0.1"
- wildcard "^2.0.0"
-
webpack-sources@^3.2.3:
version "3.2.3"
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde"
@@ -15734,11 +15520,6 @@ widest-line@^3.1.0:
dependencies:
string-width "^4.0.0"
-wildcard@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec"
- integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==
-
word-wrap@^1.0.3, word-wrap@^1.2.3, word-wrap@~1.2.3:
version "1.2.4"
resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.4.tgz#cb4b50ec9aca570abd1f52f33cd45b6c61739a9f"
@@ -15875,7 +15656,7 @@ yards@^0.1.4:
dependencies:
promise "5.0.0"
-yargs-parser@^20.2.2, yargs-parser@^20.2.7:
+yargs-parser@^20.2.2:
version "20.2.9"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee"
integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==