From 0a41ef3d6ec9243ae91eece46b30095a71cdbb02 Mon Sep 17 00:00:00 2001 From: momotofu Date: Tue, 22 Jun 2021 13:43:50 +0900 Subject: [PATCH 01/18] Added Button and Card components --- package.json | 6 +- src/components/Button/index.spec.tsx | 38 +++++++++++ src/components/Button/index.stories.tsx | 41 ++++++++++++ src/components/Button/index.tsx | 71 +++++++++++++++++++++ src/components/Button/styles.scss | 0 src/components/Card/index.spec.tsx | 85 +++++++++++++++++++++++++ src/components/Card/index.stories.tsx | 37 +++++++++++ src/components/Card/index.tsx | 42 ++++++++++++ src/components/Card/styles.scss | 53 +++++++++++++++ src/typedec.d.ts | 0 tsconfig.json | 10 +++ tsconfig.prod.json | 0 tsconfig.test.json | 0 tslint.json | 10 +++ yarn.lock | 74 +++++++++++++++++++-- 15 files changed, 460 insertions(+), 7 deletions(-) create mode 100644 src/components/Button/index.spec.tsx create mode 100644 src/components/Button/index.stories.tsx create mode 100644 src/components/Button/index.tsx create mode 100644 src/components/Button/styles.scss create mode 100644 src/components/Card/index.spec.tsx create mode 100644 src/components/Card/index.stories.tsx create mode 100644 src/components/Card/index.tsx create mode 100644 src/components/Card/styles.scss create mode 100644 src/typedec.d.ts create mode 100644 tsconfig.json create mode 100644 tsconfig.prod.json create mode 100644 tsconfig.test.json create mode 100644 tslint.json diff --git a/package.json b/package.json index 57268cd..5d06d0c 100644 --- a/package.json +++ b/package.json @@ -53,9 +53,11 @@ "@storybook/addon-links": "^6.2.9", "@storybook/react": "^6.2.9", "@testing-library/react": "^11.2.7", + "@types/jest": "^26.0.23", "babel-eslint": "^10.1.0", "babel-jest": "^25.3.0", "babel-loader": "^8.2.2", + "babel-plugin-transform-scss": "^1.0.11", "cross-env": "^7.0.2", "eslint": "^6.8.0", "eslint-config-airbnb": "^18.1.0", @@ -74,9 +76,9 @@ "react-redux": "^7.2.0", "redux": "^4.0.5", "rimraf": "^3.0.2", + "sass": "^1.35.1", "superagent": "^5.2.2", - "babel-plugin-transform-scss": "^1.0.11", - "sass": "^1.35.1" + "tslint": "^6.1.3" }, "dependencies": { "add": "^2.0.6", diff --git a/src/components/Button/index.spec.tsx b/src/components/Button/index.spec.tsx new file mode 100644 index 0000000..1062d74 --- /dev/null +++ b/src/components/Button/index.spec.tsx @@ -0,0 +1,38 @@ +import React from 'react'; +import { render, screen, fireEvent } from '@testing-library/react'; +import Button, { ButtonType } from '.'; + +describe('Button component', () => { + const renderComponent = (onClick = () => {}) => { + const ariaOptions = { + 'aria-label': 'survey options', + 'aria-haspopup': 'menu', + 'aria-expanded': false, + }; + + return render( + , + ); + }; + it('Should match default snapshot', () => { + + + const { asFragment } = renderComponent(); + + expect(asFragment()).toMatchSnapshot(); + }); + + it('Should click the button', () => { + const onClick = jest.fn(); + renderComponent(onClick); + fireEvent.click(screen.getByText('Click')); + expect(onClick).toHaveBeenCalled(); + }); +}); diff --git a/src/components/Button/index.stories.tsx b/src/components/Button/index.stories.tsx new file mode 100644 index 0000000..4ddb5bb --- /dev/null +++ b/src/components/Button/index.stories.tsx @@ -0,0 +1,41 @@ +import React from 'react'; +import { Story, Meta } from '@storybook/react'; +import StoryWrapper from '../StoryWrapper'; +import Button, { ButtonType, Props } from '.'; + +export default { + title: 'Button', + component: Button, +} as Meta; + +const Template: Story = (args) => ( + +
+
+
+); + +export const Primary = Template.bind({}); +Primary.args = { + buttonType: ButtonType.primary, + children: Button, +}; + +export const Secondary = Template.bind({}); +Secondary.args = { + buttonType: ButtonType.secondary, + children: Button, +}; + +export const IconX = Template.bind({}); +IconX.args = { + buttonType: ButtonType.icon, + children: close, +}; + +export const IconBreadCrumbs = Template.bind({}); +IconBreadCrumbs.args = { + buttonType: ButtonType.icon, + children: more_vert, +}; diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx new file mode 100644 index 0000000..dccd4bc --- /dev/null +++ b/src/components/Button/index.tsx @@ -0,0 +1,71 @@ +import React from 'react'; +import cn from 'classnames'; + +import './style.scss'; + +export interface Props { + ariaOptions?: Object, + buttonType?: ButtonType, + children: React.ReactNode, + classes?: string, + color?: string, + disabled?: boolean, + noBold?: boolean, + submit?: boolean, + rest?: Object, + onClick?: (event: React.MouseEvent) => void, +} + +export enum ButtonType { + primary = 'primary', + secondary = 'secondary', + large = 'large', + primaryLarge = 'primary-large', + small = 'small', + gray = 'gray', + icon = 'icon', +} + +const Button = React.forwardRef((props: Props, ref) => { + const { + ariaOptions = {}, + children, + classes, + color, + disabled = false, + submit = false, + noBold, + rest, + onClick = () => {}, + } = props; + + const buttonType = disabled ? ButtonType.gray : props.buttonType; + + const className = cn( + 'aj-btn', + { + [`aj-btn--${color}`]: color, + [`aj-btn--${buttonType}`]: buttonType, + 'aj-btn--no-bold': noBold, + [classes as string]: classes, + }, + ); + + return ( + + ); +}); + + + +export default Button; diff --git a/src/components/Button/styles.scss b/src/components/Button/styles.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/components/Card/index.spec.tsx b/src/components/Card/index.spec.tsx new file mode 100644 index 0000000..1435fab --- /dev/null +++ b/src/components/Card/index.spec.tsx @@ -0,0 +1,85 @@ + +import React from 'react'; +import { render, screen } from '@testing-library/react'; +import Card from '.'; + +describe('Card component', () => { + it('Should match default snapshot', () => { + const { asFragment } = render( + , + ); + + expect(asFragment()).toMatchSnapshot(); + }); + + it('Should not match default snapshot when classOverride prop is added', () => { + const { asFragment: defaultFragment } = render( + , + ); + + const { asFragment: modifiedFragment } = render( + , + ); + + expect(defaultFragment()).not.toEqual(modifiedFragment()); + }); + + it('Should not match default snapshot when classes prop is added', () => { + const { asFragment: defaultFragment } = render( + , + ); + + const classes = 'material-card a-box'; + const { asFragment: modifiedFragment } = render( + , + ); + + expect(defaultFragment()).not.toEqual(modifiedFragment()); + }); + + it('Should render children', () => { + render( + +
+
, + ); + + expect(screen.getByText('恵')).toBeTruthy(); + }); + + it('Should not render content if blank property is true', () => { + const { asFragment } = render( + +
+
, + ); + + expect(asFragment()).toMatchSnapshot(); + expect(screen.queryByText(/survey process/i)).toBeFalsy(); + expect(screen.getByTestId('grace')).toBeTruthy(); + }); +}); diff --git a/src/components/Card/index.stories.tsx b/src/components/Card/index.stories.tsx new file mode 100644 index 0000000..470f655 --- /dev/null +++ b/src/components/Card/index.stories.tsx @@ -0,0 +1,37 @@ +import React from 'react'; +import { Story, Meta } from '@storybook/react'; +import StoryWrapper from '../StoryWrapper'; +import Card, { Props } from '.'; +import Button, { ButtonType } from '../Button'; + +export default { + title: 'Card', + component: Card, +} as Meta; + +const Template: Story = (args) => ( + + + +); + +export const Default = Template.bind({}); +Default.args = { + title: 'Qualtrics Surveys Setup', + subtitle: 'Step 1 of 2', + children: ( + <> +

+ In order to use this LTI tool, we need your authorization to integrate + with Canvas. After authorizing your Canvas account, we'll prompt you to do the + same with your Qualtrics account. +

+ + + ), +}; diff --git a/src/components/Card/index.tsx b/src/components/Card/index.tsx new file mode 100644 index 0000000..8e80bb6 --- /dev/null +++ b/src/components/Card/index.tsx @@ -0,0 +1,42 @@ +import React from 'react'; +import cn from 'classnames'; + +import './styles.scss'; + +export interface Props { + classOverride?: string, + classes?: string, + title: string, + subtitle?: string, + blank?: boolean, + children?: React.ReactNode, +} + +export default function Card(props: Props) { + const { + classOverride, + classes, + title, + subtitle, + blank, + children, + } = props; + + const baseClass = classOverride || 'aj-card'; + + return ( +
+ { !blank && + <> +
+

{title}

+

{subtitle}

+
+
+ {children} +
+ } + { blank && <>{children} } +
+ ); +} diff --git a/src/components/Card/styles.scss b/src/components/Card/styles.scss new file mode 100644 index 0000000..f63bc9f --- /dev/null +++ b/src/components/Card/styles.scss @@ -0,0 +1,53 @@ +.aj-card { + border-radius: 5px; + box-shadow: 0px 5px 11px -3px rgba(0, 0, 0, 0.36); + -webkit-box-shadow: 0px 5px 11px -3px rgba(0, 0, 0, 0.36); + padding: 1.5rem 2rem; + max-width: 420px; + font-family: Lato, sans-serif; + box-sizing: border-box; + border: 1px solid rgba(0, 0, 0, 0.036); + + &__heading { + display: flex; + flex-direction: column; + align-items: baseline; + justify-content: space-between; + padding-bottom: 0.25rem; + + & > h1, + & > h2 { + padding: 0; + margin: 0; + } + + &-title { + font-size: 1.25rem; + } + + &-subtitle { + font-size: 1rem; + opacity: 0.5; + font-weight: 400; + } + } + + &__content { + font-size: 1rem; + line-height: 1.5rem; + padding: 0; + padding-top: 1rem; + display: flex; + justify-content: flex-start; + flex-direction: column; + align-items: flex-end; + + & > p { + margin-top: 0; + } + + & > p:last-of-type { + margin-bottom: 1.75rem; + } + } +} diff --git a/src/typedec.d.ts b/src/typedec.d.ts new file mode 100644 index 0000000..e69de29 diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..81d904d --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,10 @@ +{ + "include": [ + "src/*" + ], + "compilerOptions": { + "target": "es5", + "jsx": "react", + "allowSyntheticDefaultImports": true + } +} \ No newline at end of file diff --git a/tsconfig.prod.json b/tsconfig.prod.json new file mode 100644 index 0000000..e69de29 diff --git a/tsconfig.test.json b/tsconfig.test.json new file mode 100644 index 0000000..e69de29 diff --git a/tslint.json b/tslint.json new file mode 100644 index 0000000..415d9c3 --- /dev/null +++ b/tslint.json @@ -0,0 +1,10 @@ +{ + "extends": [], + "defaultSeverity": "warning", + "linterOptions": { + "exclude": [ + "config/**/*.js", + "node_modules/**/*.ts" + ] + } +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 07b185f..9789e24 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2412,6 +2412,14 @@ dependencies: "@types/istanbul-lib-report" "*" +"@types/jest@^26.0.23": + version "26.0.23" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.23.tgz#a1b7eab3c503b80451d019efb588ec63522ee4e7" + integrity sha512-ZHLmWMJ9jJ9PTiT58juykZpL7KjwJywFN3Rr2pTSkyQfydf/rk22yS7W8p5DaVUMQ2BQC7oYiU3FjbTM/mYrOA== + dependencies: + jest-diff "^26.0.0" + pretty-format "^26.0.0" + "@types/json-schema@^7.0.4", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.6": version "7.0.7" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.7.tgz#98a993516c859eb0d5c4c8f098317a9ea68db9ad" @@ -3696,6 +3704,11 @@ buffer@^4.3.0: ieee754 "^1.1.4" isarray "^1.0.0" +builtin-modules@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" + integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8= + builtin-status-codes@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" @@ -3859,7 +3872,7 @@ ccount@^1.0.0: resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043" integrity sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg== -chalk@2.4.2, chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.1, chalk@^2.4.2: +chalk@2.4.2, chalk@^2.0.0, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -4150,7 +4163,7 @@ comma-separated-tokens@^1.0.0: resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz#632b80b6117867a158f1080ad498b2fbe7e3f5ea" integrity sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw== -commander@^2.19.0, commander@^2.20.0: +commander@^2.12.1, commander@^2.19.0, commander@^2.20.0: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== @@ -4680,6 +4693,16 @@ diff-sequences@^25.2.6: resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-25.2.6.tgz#5f467c00edd35352b7bca46d7927d60e687a76dd" integrity sha512-Hq8o7+6GaZeoFjtpgvRBUknSXNeJiCx7V9Fr94ZMljNiCr9n9L8H8aJqgWOQiDDGdyn29fRNcDdRVJ5fdyihfg== +diff-sequences@^26.6.2: + version "26.6.2" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1" + integrity sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q== + +diff@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" + integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + diffie-hellman@^5.0.0: version "5.0.3" resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" @@ -7156,6 +7179,16 @@ jest-diff@^25.5.0: jest-get-type "^25.2.6" pretty-format "^25.5.0" +jest-diff@^26.0.0: + version "26.6.2" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-26.6.2.tgz#1aa7468b52c3a68d7d5c5fdcdfcd5e49bd164394" + integrity sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA== + dependencies: + chalk "^4.0.0" + diff-sequences "^26.6.2" + jest-get-type "^26.3.0" + pretty-format "^26.6.2" + jest-docblock@^25.3.0: version "25.3.0" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-25.3.0.tgz#8b777a27e3477cd77a168c05290c471a575623ef" @@ -7203,6 +7236,11 @@ jest-get-type@^25.2.6: resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-25.2.6.tgz#0b0a32fab8908b44d508be81681487dbabb8d877" integrity sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig== +jest-get-type@^26.3.0: + version "26.3.0" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-26.3.0.tgz#e97dc3c3f53c2b406ca7afaed4493b1d099199e0" + integrity sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig== + jest-haste-map@^25.5.1: version "25.5.1" resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-25.5.1.tgz#1df10f716c1d94e60a1ebf7798c9fb3da2620943" @@ -9247,7 +9285,7 @@ pretty-format@^25.5.0: ansi-styles "^4.0.0" react-is "^16.12.0" -pretty-format@^26.6.2: +pretty-format@^26.0.0, pretty-format@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93" integrity sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg== @@ -10311,7 +10349,7 @@ select@^1.1.2: resolved "https://registry.yarnpkg.com/select/-/select-1.1.2.tgz#0e7350acdec80b1108528786ec1d4418d11b396d" integrity sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0= -"semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.5.0, semver@^5.6.0: +"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -11290,7 +11328,7 @@ tsconfig-paths@^3.9.0: minimist "^1.2.0" strip-bom "^3.0.0" -tslib@^1.9.0: +tslib@^1.13.0, tslib@^1.8.1, tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== @@ -11300,6 +11338,32 @@ tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz#803b8cdab3e12ba581a4ca41c8839bbb0dacb09e" integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg== +tslint@^6.1.3: + version "6.1.3" + resolved "https://registry.yarnpkg.com/tslint/-/tslint-6.1.3.tgz#5c23b2eccc32487d5523bd3a470e9aa31789d904" + integrity sha512-IbR4nkT96EQOvKE2PW/djGz8iGNeJ4rF2mBfiYaR/nvUWYKJhLwimoJKgjIFEIDibBtOevj7BqCRL4oHeWWUCg== + dependencies: + "@babel/code-frame" "^7.0.0" + builtin-modules "^1.1.1" + chalk "^2.3.0" + commander "^2.12.1" + diff "^4.0.1" + glob "^7.1.1" + js-yaml "^3.13.1" + minimatch "^3.0.4" + mkdirp "^0.5.3" + resolve "^1.3.2" + semver "^5.3.0" + tslib "^1.13.0" + tsutils "^2.29.0" + +tsutils@^2.29.0: + version "2.29.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.29.0.tgz#32b488501467acbedd4b85498673a0812aca0b99" + integrity sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA== + dependencies: + tslib "^1.8.1" + tty-browserify@0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" From 058b32986f6158eedee9943221962378cc11357c Mon Sep 17 00:00:00 2001 From: momotofu Date: Tue, 22 Jun 2021 18:05:13 +0900 Subject: [PATCH 02/18] Storybook configured with TypeScript --- .babelrc | 18 +- .storybook/.babelrc | 9 +- .storybook/main.js | 6 +- .tool-versions | 2 +- libs/components/Banner/index.js | 17 +- package.json | 14 +- src/components/Banner/index.jsx | 2 +- src/components/Banner/styles.css | 43 +++ src/components/Button/index.tsx | 2 +- src/components/Button/styles.css | 145 +++++++++ src/components/Button/styles.scss | 130 ++++++++ src/components/Card/index.tsx | 2 +- src/components/Card/styles.css | 45 +++ src/styles/.csscomb.json | 297 ++++++++++++++++++ src/styles/.csslintrc | 19 ++ src/styles/fonts/roboto-bold-webfont.woff | Bin 0 -> 26356 bytes src/styles/fonts/roboto-bold-webfont.woff2 | Bin 0 -> 19876 bytes src/styles/fonts/roboto-regular-webfont.woff | Bin 0 -> 26032 bytes src/styles/fonts/roboto-regular-webfont.woff2 | Bin 0 -> 19704 bytes src/styles/modules/_all.scss | 2 + src/styles/modules/_colors.scss | 61 ++++ src/styles/modules/_mixins.scss | 176 +++++++++++ src/styles/styles.scss | 1 + src/typedec.d.ts | 0 src/types.d.ts | 1 + tsconfig.json | 19 +- tsconfig.prod.json | 0 tsconfig.test.json | 0 tslint.json | 10 - yarn.lock | 101 +++++- 30 files changed, 1071 insertions(+), 51 deletions(-) create mode 100644 src/components/Banner/styles.css create mode 100644 src/components/Button/styles.css create mode 100644 src/components/Card/styles.css create mode 100644 src/styles/.csscomb.json create mode 100644 src/styles/.csslintrc create mode 100644 src/styles/fonts/roboto-bold-webfont.woff create mode 100644 src/styles/fonts/roboto-bold-webfont.woff2 create mode 100644 src/styles/fonts/roboto-regular-webfont.woff create mode 100644 src/styles/fonts/roboto-regular-webfont.woff2 create mode 100644 src/styles/modules/_all.scss create mode 100644 src/styles/modules/_colors.scss create mode 100644 src/styles/modules/_mixins.scss create mode 100644 src/styles/styles.scss delete mode 100644 src/typedec.d.ts create mode 100644 src/types.d.ts delete mode 100644 tsconfig.prod.json delete mode 100644 tsconfig.test.json delete mode 100644 tslint.json diff --git a/.babelrc b/.babelrc index afc50bc..89520b3 100644 --- a/.babelrc +++ b/.babelrc @@ -11,17 +11,23 @@ "./src/**/*.stories.js", "./src/**/*.stories.ts" ], - "presets": ["@babel/preset-env", "@babel/preset-react"], + "presets": [ + "@babel/preset-env", + "@babel/preset-react", + "@babel/preset-typescript" + ], "plugins": [ - "@babel/plugin-proposal-class-properties", - "babel-plugin-transform-scss" + "@babel/plugin-proposal-class-properties" ] }, "test": { - "presets": ["@babel/preset-env", "@babel/preset-react"], + "presets": [ + "@babel/preset-env", + "@babel/preset-react", + "@babel/preset-typescript" + ], "plugins": [ - "@babel/plugin-proposal-class-properties", - "babel-plugin-transform-scss" + "@babel/plugin-proposal-class-properties" ] } } diff --git a/.storybook/.babelrc b/.storybook/.babelrc index f337a71..8cc520a 100644 --- a/.storybook/.babelrc +++ b/.storybook/.babelrc @@ -1,7 +1,10 @@ { - "presets": ["@babel/preset-env", "@babel/preset-react"], + "presets": [ + "@babel/preset-env", + "@babel/preset-react", + "@babel/preset-typescript" + ], "plugins": [ - "@babel/plugin-proposal-class-properties", - "babel-plugin-transform-scss" + "@babel/plugin-proposal-class-properties" ] } diff --git a/.storybook/main.js b/.storybook/main.js index 3509fdb..075301a 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -1,13 +1,13 @@ module.exports = { - "stories": [ + stories: [ "../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)" ], - "addons": [ + addons: [ "@storybook/addon-links", "@storybook/addon-essentials" ], - "babel": async (options) => ({ + babel: async (options) => ({ ...options, }), } diff --git a/.tool-versions b/.tool-versions index 1afc908..a49c50e 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 10.18.1 \ No newline at end of file +nodejs 12.22.1 \ No newline at end of file diff --git a/libs/components/Banner/index.js b/libs/components/Banner/index.js index 421e7de..e1789f2 100644 --- a/libs/components/Banner/index.js +++ b/libs/components/Banner/index.js @@ -12,25 +12,12 @@ var _propTypes = _interopRequireDefault(require("prop-types")); var _classnames = _interopRequireDefault(require("classnames")); +require("./styles.css"); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } -(function _() { - var styles = ".Banner {\n background: gray;\n display: -webkit-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-align-items: center;\n align-items: center;\n min-height: 4rem;\n padding: 0.8rem 1.2rem;\n border-radius: 0.3rem;\n margin: 20px 0; }\n .Banner > i {\n font-size: 2.4rem;\n color: #fff;\n margin-right: 1.2rem; }\n .Banner h3 {\n color: #fff;\n font-size: 1.4rem;\n font-family: 'Lato', sans-serif;\n font-weight: 700;\n margin: 0;\n margin-right: .5rem; }\n .Banner__content {\n color: #fff;\n font-family: 'Lato', sans-serif;\n font-weight: normal;\n font-size: 1.4rem; }\n .Banner__content span {\n margin-right: 0.8rem; }\n .Banner--error {\n background: #f00; }\n .Banner--warning {\n background: #ff8300; }\n .Banner--relief {\n background: #1ea7fd; }\n"; - var fileName = "reph_styles"; - var element = document.querySelector("style[data-sass-component='reph_styles']"); - - if (!element) { - var styleBlock = document.createElement("style"); - styleBlock.innerHTML = styles; - styleBlock.setAttribute("data-sass-component", fileName); - document.head.appendChild(styleBlock); - } else { - element.innerHTML = styles; - } -})(); - var BannerTypes = Object.freeze({ ERROR: 'error', RELIEF: 'relief', diff --git a/package.json b/package.json index 5d06d0c..e85e95c 100644 --- a/package.json +++ b/package.json @@ -6,13 +6,18 @@ "test": "cross-env BABEL_ENV=test jest --no-cache --config package.json", "test:debug": "node --inspect node_modules/.bin/jest --runInBand --watch --config package.json", "jest_version": "which jest && jest --version", + "prebuild": "yarn build:css", "build": "cross-env BABEL_ENV=production babel src --out-dir libs", "nuke": "rm -rf node_modules", "clean": "rimraf libs", "lint": "eslint src", "lint_fix": "eslint src --fix", "prepare": "yarn clean && yarn build", - "storybook": "start-storybook -p 6006", + "prestorybook": "yarn build:css", + "storybook": "npm-run-all -p watch:css dev-storybook", + "dev-storybook": "start-storybook -p 6006", + "build:css": "node-sass src/components/ -o src/components/ ", + "watch:css": "node-sass src/components/ -o src/components/ -w -r", "build-storybook": "build-storybook" }, "repository": { @@ -54,10 +59,13 @@ "@storybook/react": "^6.2.9", "@testing-library/react": "^11.2.7", "@types/jest": "^26.0.23", + "@types/node-sass": "^4.11.1", + "@types/react": "^17.0.11", "babel-eslint": "^10.1.0", "babel-jest": "^25.3.0", "babel-loader": "^8.2.2", "babel-plugin-transform-scss": "^1.0.11", + "classnames": "^2.3.1", "cross-env": "^7.0.2", "eslint": "^6.8.0", "eslint-config-airbnb": "^18.1.0", @@ -70,8 +78,10 @@ "lodash": "^4.17.15", "mime": "^2.4.4", "nock": "^12.0.3", + "npm-run-all": "^4.1.5", "prop-types": "^15.7.2", "react": "^16.13.1", + "react-docgen-typescript": "^2.0.0", "react-dom": "^16.13.1", "react-redux": "^7.2.0", "redux": "^4.0.5", @@ -81,7 +91,9 @@ "tslint": "^6.1.3" }, "dependencies": { + "@babel/preset-typescript": "^7.14.5", "add": "^2.0.6", + "node-sass": "^6.0.0", "yarn": "^1.22.10" } } diff --git a/src/components/Banner/index.jsx b/src/components/Banner/index.jsx index 072d1f7..10b2caf 100644 --- a/src/components/Banner/index.jsx +++ b/src/components/Banner/index.jsx @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import cn from 'classnames'; -import './styles.scss'; +import './styles.css'; export const BannerTypes = Object.freeze({ ERROR: 'error', diff --git a/src/components/Banner/styles.css b/src/components/Banner/styles.css new file mode 100644 index 0000000..a5005e6 --- /dev/null +++ b/src/components/Banner/styles.css @@ -0,0 +1,43 @@ +.Banner { + background: gray; + display: -webkit-box; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-align-items: center; + align-items: center; + min-height: 4rem; + padding: 0.8rem 1.2rem; + border-radius: 0.3rem; + margin: 20px 0; } + +.Banner > i { + font-size: 2.4rem; + color: #fff; + margin-right: 1.2rem; } + +.Banner h3 { + color: #fff; + font-size: 1.4rem; + font-family: 'Lato', sans-serif; + font-weight: 700; + margin: 0; + margin-right: .5rem; } + +.Banner__content { + color: #fff; + font-family: 'Lato', sans-serif; + font-weight: normal; + font-size: 1.4rem; } + +.Banner__content span { + margin-right: 0.8rem; } + +.Banner--error { + background: #f00; } + +.Banner--warning { + background: #ff8300; } + +.Banner--relief { + background: #1ea7fd; } diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx index dccd4bc..197480e 100644 --- a/src/components/Button/index.tsx +++ b/src/components/Button/index.tsx @@ -1,7 +1,7 @@ import React from 'react'; import cn from 'classnames'; -import './style.scss'; +import './styles.css'; export interface Props { ariaOptions?: Object, diff --git a/src/components/Button/styles.css b/src/components/Button/styles.css new file mode 100644 index 0000000..9bf03a0 --- /dev/null +++ b/src/components/Button/styles.css @@ -0,0 +1,145 @@ +@keyframes spinner { + 0% { + transform: rotate(0deg); } + 100% { + transform: rotate(360deg); } } + +.aj-btn, +a.aj-btn { + display: inline-block; + height: 3rem; + padding: 0 1rem; + background: #f5f5f5; + border: 0.1rem solid #bbbbbb; + border-radius: 3px; + cursor: pointer; + white-space: nowrap; + position: relative; } + +.aj-btn *, +a.aj-btn * { + vertical-align: top; } + +.aj-btn.is-loading, +a.aj-btn.is-loading { + pointer-events: none; + position: relative; + padding-left: 3.2rem; } + +.aj-btn.is-loading:before, +a.aj-btn.is-loading:before { + content: ""; + position: absolute; + left: 0.8rem; + top: 0.6rem; + width: 1.2rem; + height: 1.2rem; + border-radius: 50%; + border: 0.2rem solid #333333; + border-top: 0.2rem solid transparent; + animation: spinner 0.8s linear infinite; } + +.aj-btn.has-icon, +a.aj-btn.has-icon { + position: relative; + padding-left: 3rem; } + +.aj-btn.has-icon i, +a.aj-btn.has-icon i { + position: absolute; + left: 0.6rem; + top: 50%; + transform: translateY(-50%); + font-size: 1.8rem; + color: #595959; } + +.aj-btn--dropdown, +a.aj-btn--dropdown { + padding-right: 3rem; } + +.aj-btn--no-bold, +a.aj-btn--no-bold { + font-weight: 400 !important; } + +.aj-btn--icon, +.aj-btn a.aj-btn--icon, +a.aj-btn--icon, +a.aj-btn a.aj-btn--icon { + background-color: #ffffff; + border: none; + width: 3rem; + height: 3rem; + padding: 0; + display: flex; + align-items: center; + justify-content: center; + transition: box-shadow 0.1s ease; + position: relative; } + +.aj-btn--icon i, +.aj-btn a.aj-btn--icon i, +a.aj-btn--icon i, +a.aj-btn a.aj-btn--icon i { + color: #595959; + font-size: 1.8rem; + line-height: 1; + transition: all 0.1s ease; } + +.aj-btn--icon:hover, +.aj-btn a.aj-btn--icon:hover, +a.aj-btn--icon:hover, +a.aj-btn a.aj-btn--icon:hover { + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); + background-color: #f5f5f5; + z-index: 2; } + +.aj-btn--icon:hover i, +.aj-btn a.aj-btn--icon:hover i, +a.aj-btn--icon:hover i, +a.aj-btn a.aj-btn--icon:hover i { + color: #333333; } + +.aj-btn--icon.has-error::after, +.aj-btn a.aj-btn--icon.has-error::after, +a.aj-btn--icon.has-error::after, +a.aj-btn a.aj-btn--icon.has-error::after { + content: ""; + position: absolute; + top: 0.5rem; + right: 0.3rem; + width: 0.8rem; + height: 0.8rem; + background: #C83232; + border: 0.1rem solid #ffffff; + border-radius: 50%; } + +.aj-btn--icon-lg i, +.aj-btn--icon a.aj-btn--icon-lg i, +.aj-btn a.aj-btn--icon-lg i, +.aj-btn a.aj-btn--icon a.aj-btn--icon-lg i, +a.aj-btn--icon-lg i, +a.aj-btn--icon a.aj-btn--icon-lg i, +a.aj-btn a.aj-btn--icon-lg i, +a.aj-btn a.aj-btn--icon a.aj-btn--icon-lg i { + font-size: 2.4rem; } + +.aj-btn--primary, +a.aj-btn--primary { + font-weight: bold; + color: white; + font-size: 14px; + padding: 12px 16px; + border-radius: 5px; + border: none; + line-height: 17px; + background-color: #3068C1; + letter-spacing: 0px; + height: 41px; } + +.aj-btn--secondary, +a.aj-btn--secondary { + color: #343434; + font-size: 14px; + border-radius: 5px; + height: 41px; + border: 1px solid #CCCCCC; } diff --git a/src/components/Button/styles.scss b/src/components/Button/styles.scss index e69de29..b82f77f 100644 --- a/src/components/Button/styles.scss +++ b/src/components/Button/styles.scss @@ -0,0 +1,130 @@ +@import "../../styles/styles.scss"; + +.aj-btn, +a.aj-btn { + display: inline-block; + height: 3rem; + padding: 0 1rem; + background: $gray1; + border: $border; + border-radius: $radius; + cursor: pointer; + white-space: nowrap; + position: relative; + * { + vertical-align: top; + } + + &.is-loading { + pointer-events: none; + position: relative; + padding-left: 3.2rem; + + &:before { + content: ""; + position: absolute; + left: 0.8rem; + top: 0.6rem; + width: 1.2rem; + height: 1.2rem; + border-radius: 50%; + border: 0.2rem solid $text; + border-top: 0.2rem solid transparent; + animation: spinner 0.8s linear infinite; + } + } + + &.has-icon { + position: relative; + padding-left: 3rem; + + i { + position: absolute; + left: 0.6rem; + top: 50%; + transform: translateY(-50%); + font-size: 1.8rem; + color: $gray8; + } + } + + // Modifiers + &--dropdown { + padding-right: 3rem; + } + + &--no-bold { + font-weight: 400 !important; + } + + &--icon, + a.aj-btn--icon { + background-color: $white; + border: none; + width: 3rem; + height: 3rem; + padding: 0; + display: flex; + align-items: center; + justify-content: center; + transition: box-shadow 0.1s ease; + position: relative; + + i { + color: $alt-text; + font-size: 1.8rem; + line-height: 1; + transition: all 0.1s ease; + } + + &:hover { + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); + background-color: $gray1; + z-index: 2; + + i { + color: $text; + } + } + + &.has-error::after { + content: ""; + position: absolute; + top: 0.5rem; + right: 0.3rem; + width: 0.8rem; + height: 0.8rem; + background: $red; + border: 0.1rem solid $white; + border-radius: 50%; + } + + &-lg, + a.aj-btn--icon-lg { + i { + font-size: 2.4rem; + } + } + } + + &--primary { + font-weight: bold; + color: white; + font-size: 14px; + padding: 12px 16px; + border-radius: 5px; + border: none; + line-height: 17px; + background-color: $blue30; + letter-spacing: 0px; + height: 41px; + } + + &--secondary { + color: $gray34; + font-size: 14px; + border-radius: 5px; + height: 41px; + border: 1px solid $whiteCC; + } +} diff --git a/src/components/Card/index.tsx b/src/components/Card/index.tsx index 8e80bb6..09fcf23 100644 --- a/src/components/Card/index.tsx +++ b/src/components/Card/index.tsx @@ -1,7 +1,7 @@ import React from 'react'; import cn from 'classnames'; -import './styles.scss'; +import './styles.css'; export interface Props { classOverride?: string, diff --git a/src/components/Card/styles.css b/src/components/Card/styles.css new file mode 100644 index 0000000..9343b91 --- /dev/null +++ b/src/components/Card/styles.css @@ -0,0 +1,45 @@ +.aj-card { + border-radius: 5px; + box-shadow: 0px 5px 11px -3px rgba(0, 0, 0, 0.36); + -webkit-box-shadow: 0px 5px 11px -3px rgba(0, 0, 0, 0.36); + padding: 1.5rem 2rem; + max-width: 420px; + font-family: Lato, sans-serif; + box-sizing: border-box; + border: 1px solid rgba(0, 0, 0, 0.036); } + +.aj-card__heading { + display: flex; + flex-direction: column; + align-items: baseline; + justify-content: space-between; + padding-bottom: 0.25rem; } + +.aj-card__heading > h1, +.aj-card__heading > h2 { + padding: 0; + margin: 0; } + +.aj-card__heading-title { + font-size: 1.25rem; } + +.aj-card__heading-subtitle { + font-size: 1rem; + opacity: 0.5; + font-weight: 400; } + +.aj-card__content { + font-size: 1rem; + line-height: 1.5rem; + padding: 0; + padding-top: 1rem; + display: flex; + justify-content: flex-start; + flex-direction: column; + align-items: flex-end; } + +.aj-card__content > p { + margin-top: 0; } + +.aj-card__content > p:last-of-type { + margin-bottom: 1.75rem; } diff --git a/src/styles/.csscomb.json b/src/styles/.csscomb.json new file mode 100644 index 0000000..8456e41 --- /dev/null +++ b/src/styles/.csscomb.json @@ -0,0 +1,297 @@ +{ + "always-semicolon": true, + "block-indent": 2, + "colon-space": [0, 1], + "color-case": "lower", + "color-shorthand": true, + "combinator-space": true, + "element-case": "lower", + "eof-newline": true, + "leading-zero": false, + "remove-empty-rulesets": true, + "rule-indent": 2, + "stick-brace": " ", + "strip-spaces": true, + "unitless-zero": true, + "vendor-prefix-align": true, + "sort-order": [ + [ + "position", + "top", + "right", + "bottom", + "left", + "z-index", + "display", + "float", + "width", + "min-width", + "max-width", + "height", + "min-height", + "max-height", + "-webkit-box-sizing", + "-moz-box-sizing", + "box-sizing", + "-webkit-appearance", + "padding", + "padding-top", + "padding-right", + "padding-bottom", + "padding-left", + "margin", + "margin-top", + "margin-right", + "margin-bottom", + "margin-left", + "overflow", + "overflow-x", + "overflow-y", + "-webkit-overflow-scrolling", + "-ms-overflow-x", + "-ms-overflow-y", + "-ms-overflow-style", + "clip", + "clear", + "font", + "font-family", + "font-size", + "font-style", + "font-weight", + "font-variant", + "font-size-adjust", + "font-stretch", + "font-effect", + "font-emphasize", + "font-emphasize-position", + "font-emphasize-style", + "font-smooth", + "-webkit-hyphens", + "-moz-hyphens", + "hyphens", + "line-height", + "color", + "text-align", + "-webkit-text-align-last", + "-moz-text-align-last", + "-ms-text-align-last", + "text-align-last", + "text-emphasis", + "text-emphasis-color", + "text-emphasis-style", + "text-emphasis-position", + "text-decoration", + "text-indent", + "text-justify", + "text-outline", + "-ms-text-overflow", + "text-overflow", + "text-overflow-ellipsis", + "text-overflow-mode", + "text-shadow", + "text-transform", + "text-wrap", + "-webkit-text-size-adjust", + "-ms-text-size-adjust", + "letter-spacing", + "-ms-word-break", + "word-break", + "word-spacing", + "-ms-word-wrap", + "word-wrap", + "-moz-tab-size", + "-o-tab-size", + "tab-size", + "white-space", + "vertical-align", + "list-style", + "list-style-position", + "list-style-type", + "list-style-image", + "pointer-events", + "cursor", + "visibility", + "zoom", + "flex-direction", + "flex-order", + "flex-pack", + "flex-align", + "table-layout", + "empty-cells", + "caption-side", + "border-spacing", + "border-collapse", + "content", + "quotes", + "counter-reset", + "counter-increment", + "resize", + "-webkit-user-select", + "-moz-user-select", + "-ms-user-select", + "-o-user-select", + "user-select", + "nav-index", + "nav-up", + "nav-right", + "nav-down", + "nav-left", + "background", + "background-color", + "background-image", + "-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient", + "filter:progid:DXImageTransform.Microsoft.gradient", + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader", + "filter", + "background-repeat", + "background-attachment", + "background-position", + "background-position-x", + "background-position-y", + "-webkit-background-clip", + "-moz-background-clip", + "background-clip", + "background-origin", + "-webkit-background-size", + "-moz-background-size", + "-o-background-size", + "background-size", + "border", + "border-color", + "border-style", + "border-width", + "border-top", + "border-top-color", + "border-top-style", + "border-top-width", + "border-right", + "border-right-color", + "border-right-style", + "border-right-width", + "border-bottom", + "border-bottom-color", + "border-bottom-style", + "border-bottom-width", + "border-left", + "border-left-color", + "border-left-style", + "border-left-width", + "border-radius", + "border-top-left-radius", + "border-top-right-radius", + "border-bottom-right-radius", + "border-bottom-left-radius", + "-webkit-border-image", + "-moz-border-image", + "-o-border-image", + "border-image", + "-webkit-border-image-source", + "-moz-border-image-source", + "-o-border-image-source", + "border-image-source", + "-webkit-border-image-slice", + "-moz-border-image-slice", + "-o-border-image-slice", + "border-image-slice", + "-webkit-border-image-width", + "-moz-border-image-width", + "-o-border-image-width", + "border-image-width", + "-webkit-border-image-outset", + "-moz-border-image-outset", + "-o-border-image-outset", + "border-image-outset", + "-webkit-border-image-repeat", + "-moz-border-image-repeat", + "-o-border-image-repeat", + "border-image-repeat", + "outline", + "outline-width", + "outline-style", + "outline-color", + "outline-offset", + "-webkit-box-shadow", + "-moz-box-shadow", + "box-shadow", + "filter:progid:DXImageTransform.Microsoft.Alpha(Opacity", + "-ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha", + "opacity", + "-ms-interpolation-mode", + "-webkit-transition", + "-moz-transition", + "-ms-transition", + "-o-transition", + "transition", + "-webkit-transition-delay", + "-moz-transition-delay", + "-ms-transition-delay", + "-o-transition-delay", + "transition-delay", + "-webkit-transition-timing-function", + "-moz-transition-timing-function", + "-ms-transition-timing-function", + "-o-transition-timing-function", + "transition-timing-function", + "-webkit-transition-duration", + "-moz-transition-duration", + "-ms-transition-duration", + "-o-transition-duration", + "transition-duration", + "-webkit-transition-property", + "-moz-transition-property", + "-ms-transition-property", + "-o-transition-property", + "transition-property", + "-webkit-transform", + "-moz-transform", + "-ms-transform", + "-o-transform", + "transform", + "-webkit-transform-origin", + "-moz-transform-origin", + "-ms-transform-origin", + "-o-transform-origin", + "transform-origin", + "-webkit-animation", + "-moz-animation", + "-ms-animation", + "-o-animation", + "animation", + "-webkit-animation-name", + "-moz-animation-name", + "-ms-animation-name", + "-o-animation-name", + "animation-name", + "-webkit-animation-duration", + "-moz-animation-duration", + "-ms-animation-duration", + "-o-animation-duration", + "animation-duration", + "-webkit-animation-play-state", + "-moz-animation-play-state", + "-ms-animation-play-state", + "-o-animation-play-state", + "animation-play-state", + "-webkit-animation-timing-function", + "-moz-animation-timing-function", + "-ms-animation-timing-function", + "-o-animation-timing-function", + "animation-timing-function", + "-webkit-animation-delay", + "-moz-animation-delay", + "-ms-animation-delay", + "-o-animation-delay", + "animation-delay", + "-webkit-animation-iteration-count", + "-moz-animation-iteration-count", + "-ms-animation-iteration-count", + "-o-animation-iteration-count", + "animation-iteration-count", + "-webkit-animation-direction", + "-moz-animation-direction", + "-ms-animation-direction", + "-o-animation-direction", + "animation-direction" + ] + ] +} diff --git a/src/styles/.csslintrc b/src/styles/.csslintrc new file mode 100644 index 0000000..005b862 --- /dev/null +++ b/src/styles/.csslintrc @@ -0,0 +1,19 @@ +{ + "adjoining-classes": false, + "box-sizing": false, + "box-model": false, + "compatible-vendor-prefixes": false, + "floats": false, + "font-sizes": false, + "gradients": false, + "important": false, + "known-properties": false, + "outline-none": false, + "qualified-headings": false, + "regex-selectors": false, + "shorthand": false, + "text-indent": false, + "unique-headings": false, + "universal-selector": false, + "unqualified-attributes": false +} diff --git a/src/styles/fonts/roboto-bold-webfont.woff b/src/styles/fonts/roboto-bold-webfont.woff new file mode 100644 index 0000000000000000000000000000000000000000..8373f079460df884204236a94ea0a99290be3a43 GIT binary patch literal 26356 zcmY&;Wl$YWu=c?rI0^0^+}(q_ySux)h2ZWS+=IJ2!QJ8D?(Tkh@BRLKQ}t9&Kh@nc zJ5#&cy*uvmVqyR=z*jT71APBaHh27={$Kz9Z(?F9vH$>B=@*OlAM9?wLyC)tihXha zzI4_v@PZ42xri&sD}QlM007K70PsBwaS|TNjTn?n?)E0RSM%`iliVZS0M|>yB-j@K^NNjD|H*$>sPzBIg<2VF z50J5eiGk6Uv4KGxgb^DNFg!4R8yiKy+yly_9w3??kcKLA1E>YWA?~m+t3Uu;8zEXe zK$U6U4yp_2gWcYC1PPd);c?&O_H4CHM3@2$Y(vNdS1ln>Ni49-Tz}^!x!GhLb7rA3 zf)*Vevc-VNEgCKFV=qzRy6Ci()f&X!c7vJA(f8lvOpulW_gL|lWepojb zSll>WwXUvzR25W;z&NHN=jF7%;N7S5^;&R>e(fzAO0m4TAs5ihgGm;|O&{5%WDM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6&$Vew#y9&fRBa2^p?ixlHnmxlHD} z)SaR7NluTRD&Mn$T^yp$J*_y88EtVIqL26&a-r9fI!9zPxQa4XWbZsSxo3HfUqpOg zmnuf=>q`xR^1YC^j%!ByjJV7ld;xqZf2#lh0C?JM&__&@aTv$(?*pZUviAn}9`F0M zWw=|Q?!C7t&{h$!SQHl;_l(9wPa4-njeAC;9@My398nLR-SME_Of0;AZ$6h#o?r4j zdGZiJTm5OGivQIYkO+ws3z1le!itS(Vz3iS9PuQOND|4UkV+cqWROV~+2oK*9{Chd zNITlofsS;dGhOIPH@ee}a>$Rs8+g{e$qIy0EbEM_x@xy++dqBzP1Hgbb~d}I^5*vjK{C;QpLZ9Yg02RXqne)5|moZ-L&}FBGhNFUc`X&8V0~NT@|Lyg^_X{rHIxpe z^DjFRpK$;H0C?Ix&OZ;qU=YXgK3Y}(TiU9Ks1PAfVivPnELgOO*I~BU@CLkzt4X{$ zevxzAeeQ<)zSQSJ>Sk=n*`~Qt_bgxAIvtXmZOGqaIA?vb^)WTbj1w~TimW(!nn6MT zPz0=qVFSf0qXgIoh69uqj56TN85N*BVpQYgZB$gxVApW0b{Tb`_J7p?>Kvh{$!RXO z%|Suu=K2JBpgR_}KyN2(gRP~|2isa0fc{Jvg26-B0mG><0y`677mOq$BVT_3xqo8; M00045i<|2J0EOWW&;S4c literal 0 HcmV?d00001 diff --git a/src/styles/fonts/roboto-bold-webfont.woff2 b/src/styles/fonts/roboto-bold-webfont.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..47aa1063370ef209ea840184be891267499d4b94 GIT binary patch literal 19876 zcmV(|K+(Tc1a~Y==Tt*NcX!Jf$wI+HxLIN@q>etd87aW~3EeDb#>MWuUHn>?-`x_*9e{ z_*J}bv(spn3pNRcF0D7e?-!G5K72lR@>2N6GBlJBmWDNY@n6T3WH_?TD%@aeLDYPZ z)HiX)_KVG?V@^7DkjODVw*Yq-!9Yj#JoK%B{+XS<3!w#ciA2X$2q^m^3nX+kp=MG< zig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*Fy@eEf(1 zrKBBY;T9$9{twXPW&uS=UZQ~+n3zJqtiT-1?HSUOL_~Iy-jJVUXA~!Shw`LIP@R-E z=nc1kLn-ivn=hQy61U`;?}N^@FJQTRRDW3*h&P5kyYXYa5g)<+xfC%|jufgyc2lFc bXi;bNXwHV{j>h}&65b?=TM6Ud|7-&Qpv7t@ literal 0 HcmV?d00001 diff --git a/src/styles/fonts/roboto-regular-webfont.woff b/src/styles/fonts/roboto-regular-webfont.woff new file mode 100644 index 0000000000000000000000000000000000000000..847e110c8c9a36701d484db9cf55798a1a26e3ef GIT binary patch literal 26032 zcmY&<18^oy)b1N?oNR1o zYSfwO8CO{m5da9_yBOC2Q2vvxQUAC7U;Y0tA|guC002nYH;elpZ0=Bghzbddd~-wJ zZRT%qgZ=?=5|xux{N|nk0LTsi07V9L3#LX?QCScGfNuKc@c;l&+@9I;7+FO+MgRb2 z@!L-68+xhERriM0`gQ;SEXB88>^Dxq0wVy1E>46109@O*4(ESB&VoZWu`{*)=I+0B z>c9IlR&1gxHPv_gwng|aKB)i2Pg5&*lW(pL0FXWh0Akq75TcFEjP;EG0IjTV9oGNB z(WI2wH~G!|7YpGxND;#zuFR~R+`hSQAE4h7tfHDtHo(f(@LNyU>f7(sH&&Vcst{Z2 zyM6oBXa8SYLQp7>S{r?9<8MywTc_sR*56qqb`Hkh zwnp#Yw&mY=1BuNhbTu~kj@kIX`}px6GB4F5zvcgo(xQB`#djSrbd5y&pIoY!vUUR+ z>KW-7>=^3l#eo^H5N3w^$M0hO^4!zK(0iNM>pKrucL(pDqyY z7sTJ6p9aO;x7P{66L#3`3E0Eb!#ti6uGQXXqt$zq0)b9}x9&2Frg3^s(8o+pzdIN* z3P`4Rt|H5UNC0V0+#?+jJdRzXUDTEp?s-8I7_N&#Qo@;Y!1&*uIOAcTXAV?31s(%6Efv(wz?ni#2 z3Yy~oZ-=rD)M{h|{Tk+(pUAa-4->p4WNzjt1WD;~gk zk%e)K%x(ZQ_h`*W)uz9;eP~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KbBsWC#-y|R#-Dxr&)ipDYDsQt7cned%@1YZkauoeS-ZDhZ09V$2`Xwj(2dtSB^iN z*qr2?%$#DJnw(ZRy>ixZ&T*dO{LcBEi;#;25N>gmaCLB9=EmeU#a#vfofw((00961 z0P6rn00jU5000020096302TlM0RRDJ00000c-nnZ%TB^T6g@4dL6L>3 zLW;}4F{3X14r;Vc&_M+zQH~ym-{PpMC#@R4HF6DjR+(93b(!1a7SRU!th1RBjEu1{ zm3J=rdhFw}yU=D*SsEGajg)2r42gd_8RQX4ZElY-n<{H)%e))0 z1eBNOIlFWs+yiWir1@-AO8+Q6^rAO?=!=GqfdeNliYTUpQu@)K z0SsgigBgMw4`q~7ftR5SV>lxi$tXrMhOvxeJQJA6BqlS3sZ3)!GnmONW;2Jm%%f7G zILZb#a)W(*WD~pC&H;{dOss62@``N;6K1d7)Il(V}@|z=^;sN(K&3qQH zJN&ChRCAw)JmWD>c*-Ygc*%2Ka0VYg*uxuM@fv^lgWuT7LINyeF}2ijhgTA|k8tO}5z*ZtM)0{qf{0fRDIyt~5hAVrpdj3t98+-% zRL9H#nIUuIIYwqn&*J-&IQGOR5*LcM=L9Ji11*&51A4JX8UO$Q00CKxo9zGq_Qs=% literal 0 HcmV?d00001 diff --git a/src/styles/fonts/roboto-regular-webfont.woff2 b/src/styles/fonts/roboto-regular-webfont.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..c8c60cdde30438c4e3419eeefacc308bfcca7831 GIT binary patch literal 19704 zcmV()K;OT2Pew8T0RR9108ID*6951J0Jnqy08EJh0wWRt00000000000000000000 z0000#Mn+Uk92z_urcNA$90p(jgK7vm34~=42nvFnFoFCn0X7081BWULgIE9rAO(hQ z2Zd)0fqOr9WnyLq8(E|W@SF+tyB(mXr(*7_a(h=%M>@+Hfni3n&H;j!+y5@%U9IH(`#pjXSl(uJ*GYFp6Y5g5 zmp&bpl4S@`(}f~BU5m6&A%oCO0sLRB>HkX*Ixb3+UI?IZNvkrxS`h5*QR(SoL>q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7gxYaL?;W?E0!0D+~_6Ws*)vw5;-n7UvL~nX-f%eV6&{?jjGorh@{cZ3*|T) zMI{PU^HI@M6$#KyJB_m(oR9NHfXe36G0!c6ARGnZ#B5(V)Sa5p(xMFOAb5UN zbbiIzd>=(wI33x|r|Y{YRsOq{JA3pWfyii4VBiptP|#@5PVx4E7%)1A2{Q~Vmibq{ zZye6!biqZJTy_N)ZajEh#fN|Dx7D}YCP0vo?7Zj%a9nCEWX^2)vxAkXP^Ctl22EPD zCxhd9etmSX@a?R=jDb1F6 zq(H?~ra~#E>;{brEx!8Vn;PvF%<16DO*VH+Jj`44$g&3>I&#NTk3G@pt`BlNvucf} z6K7I+^Wwu7j-M+20tGbH4}OSXp~4&^h!8GPv?yfN?uilWzEkf|b?G)_!{*@x>4CtH z{3Xyp3*Dk0#%a0Iqj%OhF+KI%_t#9a*0oV%o2`u9{%~CI3i2*4Jit=~72@Y5?6$f~ zi9V(xtcB951ywPSWVqbCR*)NELU^L_ANMdFdMOI2i{x3?JO(JFdZV^gQOiir&XOCG4J3G_a@%Qz&M;hxST8a3M0mUzm2*CL Date: Tue, 22 Jun 2021 19:17:55 +0900 Subject: [PATCH 03/18] Added new babel css plugin --- .babelrc | 10 ++- package.json | 1 + yarn.lock | 230 +++++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 231 insertions(+), 10 deletions(-) diff --git a/.babelrc b/.babelrc index 89520b3..8b34e3f 100644 --- a/.babelrc +++ b/.babelrc @@ -17,7 +17,10 @@ "@babel/preset-typescript" ], "plugins": [ - "@babel/plugin-proposal-class-properties" + "@babel/plugin-proposal-class-properties", + ["babel-plugin-react-css-modules", { + "generateScopedName": "[name]-[local]-[hash:base64:4]" + }] ] }, "test": { @@ -27,7 +30,10 @@ "@babel/preset-typescript" ], "plugins": [ - "@babel/plugin-proposal-class-properties" + "@babel/plugin-proposal-class-properties", + ["babel-plugin-react-css-modules", { + "generateScopedName": "[name]-[local]-[hash:base64:4]" + }] ] } } diff --git a/package.json b/package.json index e85e95c..4f58f1b 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "babel-eslint": "^10.1.0", "babel-jest": "^25.3.0", "babel-loader": "^8.2.2", + "babel-plugin-react-css-modules": "^5.2.6", "babel-plugin-transform-scss": "^1.0.11", "classnames": "^2.3.1", "cross-env": "^7.0.2", diff --git a/yarn.lock b/yarn.lock index 046bddf..802a65a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -567,7 +567,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-jsx@^7.14.5": +"@babel/plugin-syntax-jsx@^7.0.0", "@babel/plugin-syntax-jsx@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.14.5.tgz#000e2e25d8673cce49300517a3eda44c263e4201" integrity sha512-ohuFIsOMXJnbOMRfX7/w7LocdR6R7whhuRD4ax8IipLcLPlZGJKkBxgHp++U4N/vKyU16/YDQr2f5seajD3jIw== @@ -2881,12 +2881,12 @@ ajv-errors@^1.0.0: resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d" integrity sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ== -ajv-keywords@^3.1.0, ajv-keywords@^3.4.1, ajv-keywords@^3.5.2: +ajv-keywords@^3.1.0, ajv-keywords@^3.2.0, ajv-keywords@^3.4.1, ajv-keywords@^3.5.2: version "3.5.2" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== -ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.2, ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5: +ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.2, ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5, ajv@^6.5.3: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -3382,6 +3382,24 @@ babel-plugin-polyfill-regenerator@^0.2.2: dependencies: "@babel/helper-define-polyfill-provider" "^0.2.2" +babel-plugin-react-css-modules@^5.2.6: + version "5.2.6" + resolved "https://registry.yarnpkg.com/babel-plugin-react-css-modules/-/babel-plugin-react-css-modules-5.2.6.tgz#176663dae4add31af780f1ec86d3a93115875c83" + integrity sha512-jBU/oVgoEg/58Dcu0tjyNvaXBllxJXip7hlpiX+e0CYTmDADWB484P4pJb7d0L6nWKSzyEqtePcBaq3SKalG/g== + dependencies: + "@babel/plugin-syntax-jsx" "^7.0.0" + "@babel/types" "^7.0.0" + ajv "^6.5.3" + ajv-keywords "^3.2.0" + generic-names "^2.0.1" + postcss "^7.0.2" + postcss-modules "^1.3.2" + postcss-modules-extract-imports "^1.2.0" + postcss-modules-local-by-default "^1.2.0" + postcss-modules-parser "^1.1.1" + postcss-modules-scope "^1.1.0" + postcss-modules-values "^1.3.0" + babel-plugin-react-docgen@^4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/babel-plugin-react-docgen/-/babel-plugin-react-docgen-4.2.1.tgz#7cc8e2f94e8dc057a06e953162f0810e4e72257b" @@ -3888,7 +3906,7 @@ chalk@2.4.2, chalk@^2.0.0, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.4.1, chalk@^2.4. escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^1.1.1: +chalk@^1.1.1, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= @@ -4473,6 +4491,18 @@ css-loader@^3.6.0: schema-utils "^2.7.0" semver "^6.3.0" +css-modules-loader-core@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/css-modules-loader-core/-/css-modules-loader-core-1.1.0.tgz#5908668294a1becd261ae0a4ce21b0b551f21d16" + integrity sha1-WQhmgpShvs0mGuCkziGwtVHyHRY= + dependencies: + icss-replace-symbols "1.1.0" + postcss "6.0.1" + postcss-modules-extract-imports "1.1.0" + postcss-modules-local-by-default "1.2.0" + postcss-modules-scope "1.1.0" + postcss-modules-values "1.3.0" + css-select@^4.1.3: version "4.1.3" resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.1.3.tgz#a70440f70317f2669118ad74ff105e65849c7067" @@ -4484,6 +4514,14 @@ css-select@^4.1.3: domutils "^2.6.0" nth-check "^2.0.0" +css-selector-tokenizer@^0.7.0: + version "0.7.3" + resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.7.3.tgz#735f26186e67c749aaf275783405cf0661fae8f1" + integrity sha512-jWQv3oCEL5kMErj4wRnK/OPoBi0D+P1FR2cDCKYPaMeD2eW3/mttav8HT4hT1CKopiJI/psEULjkClhvJo4Lvg== + dependencies: + cssesc "^3.0.0" + fastparse "^1.1.2" + css-what@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/css-what/-/css-what-5.0.1.tgz#3efa820131f4669a8ac2408f9c32e7c7de9f4cad" @@ -5555,6 +5593,11 @@ 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== +fastparse@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.2.tgz#91728c5a5942eced8531283c79441ee4122c35a9" + integrity sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ== + fastq@^1.6.0: version "1.11.0" resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.11.0.tgz#bb9fb955a07130a918eb63c1f5161cc32a5d0858" @@ -5965,6 +6008,13 @@ gaze@^1.0.0: dependencies: globule "^1.0.0" +generic-names@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/generic-names/-/generic-names-2.0.1.tgz#f8a378ead2ccaa7a34f0317b05554832ae41b872" + integrity sha512-kPCHWa1m9wGG/OwQpeweTwM/PYiQLrUIxXbt/P4Nic3LbGjCP0YwrALHW1uNLKZ0LIMg+RF+XRlj2ekT9ZlZAQ== + dependencies: + loader-utils "^1.1.0" + gensync@^1.0.0-beta.1, gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" @@ -6214,6 +6264,11 @@ has-bigints@^1.0.1: resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.1.tgz#64fe6acb020673e3b78db035a5af69aa9d07b113" integrity sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA== +has-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" + integrity sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo= + has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -6508,6 +6563,11 @@ iconv-lite@0.4.24, iconv-lite@^0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" +icss-replace-symbols@1.1.0, icss-replace-symbols@^1.0.2, icss-replace-symbols@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded" + integrity sha1-Bupvg2ead0njhs/h/oEq5dsiPe0= + icss-utils@^4.0.0, icss-utils@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467" @@ -7561,7 +7621,7 @@ jest@^25.3.0: import-local "^3.0.2" jest-cli "^25.5.4" -js-base64@^2.1.8: +js-base64@^2.1.8, js-base64@^2.1.9: version "2.6.4" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.6.4.tgz#f4e686c5de1ea1f867dbcad3d46d969428df98c4" integrity sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ== @@ -7831,7 +7891,7 @@ loader-utils@2.0.0, loader-utils@^2.0.0: emojis-list "^3.0.0" json5 "^2.1.2" -loader-utils@^1.2.3, loader-utils@^1.4.0: +loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613" integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA== @@ -7870,11 +7930,67 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" +lodash._arrayeach@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/lodash._arrayeach/-/lodash._arrayeach-3.0.0.tgz#bab156b2a90d3f1bbd5c653403349e5e5933ef9e" + integrity sha1-urFWsqkNPxu9XGU0AzSeXlkz754= + +lodash._baseeach@^3.0.0: + version "3.0.4" + resolved "https://registry.yarnpkg.com/lodash._baseeach/-/lodash._baseeach-3.0.4.tgz#cf8706572ca144e8d9d75227c990da982f932af3" + integrity sha1-z4cGVyyhROjZ11InyZDamC+TKvM= + dependencies: + lodash.keys "^3.0.0" + +lodash._bindcallback@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" + integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4= + +lodash._getnative@^3.0.0: + version "3.9.1" + resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" + integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U= + +lodash.camelcase@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" + integrity sha1-soqmKIorn8ZRA1x3EfZathkDMaY= + lodash.debounce@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= +lodash.foreach@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/lodash.foreach/-/lodash.foreach-3.0.3.tgz#6fd7efb79691aecd67fdeac2761c98e701d6c39a" + integrity sha1-b9fvt5aRrs1n/erCdhyY5wHWw5o= + dependencies: + lodash._arrayeach "^3.0.0" + lodash._baseeach "^3.0.0" + lodash._bindcallback "^3.0.0" + lodash.isarray "^3.0.0" + +lodash.isarguments@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" + integrity sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo= + +lodash.isarray@^3.0.0: + version "3.0.4" + resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" + integrity sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U= + +lodash.keys@^3.0.0: + version "3.1.2" + resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" + integrity sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo= + dependencies: + lodash._getnative "^3.0.0" + lodash.isarguments "^3.0.0" + lodash.isarray "^3.0.0" + lodash.sortby@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" @@ -9284,6 +9400,20 @@ postcss-loader@^4.2.0: schema-utils "^3.0.0" semver "^7.3.4" +postcss-modules-extract-imports@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.1.0.tgz#b614c9720be6816eaee35fb3a5faa1dba6a05ddb" + integrity sha1-thTJcgvmgW6u41+zpfqh26agXds= + dependencies: + postcss "^6.0.1" + +postcss-modules-extract-imports@^1.2.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.1.tgz#dc87e34148ec7eab5f791f7cd5849833375b741a" + integrity sha512-6jt9XZwUhwmRUhb/CkyJY020PYaPJsCyt3UjbaWo6XEbH/94Hmv6MP7fG2C5NDU/BcHzyGYxNtHvM+LTf9HrYw== + dependencies: + postcss "^6.0.1" + postcss-modules-extract-imports@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz#818719a1ae1da325f9832446b01136eeb493cd7e" @@ -9291,6 +9421,14 @@ postcss-modules-extract-imports@^2.0.0: dependencies: postcss "^7.0.5" +postcss-modules-local-by-default@1.2.0, postcss-modules-local-by-default@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz#f7d80c398c5a393fa7964466bd19500a7d61c069" + integrity sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk= + dependencies: + css-selector-tokenizer "^0.7.0" + postcss "^6.0.1" + postcss-modules-local-by-default@^3.0.2: version "3.0.3" resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz#bb14e0cc78279d504dbdcbfd7e0ca28993ffbbb0" @@ -9301,6 +9439,23 @@ postcss-modules-local-by-default@^3.0.2: postcss-selector-parser "^6.0.2" postcss-value-parser "^4.1.0" +postcss-modules-parser@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/postcss-modules-parser/-/postcss-modules-parser-1.1.1.tgz#95f71ad7916f0f39207bb81c401336c8d245738c" + integrity sha1-lfca15FvDzkge7gcQBM2yNJFc4w= + dependencies: + icss-replace-symbols "^1.0.2" + lodash.foreach "^3.0.3" + postcss "^5.0.10" + +postcss-modules-scope@1.1.0, postcss-modules-scope@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz#d6ea64994c79f97b62a72b426fbe6056a194bb90" + integrity sha1-1upkmUx5+XtipytCb75gVqGUu5A= + dependencies: + css-selector-tokenizer "^0.7.0" + postcss "^6.0.1" + postcss-modules-scope@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz#385cae013cc7743f5a7d7602d1073a89eaae62ee" @@ -9309,6 +9464,14 @@ postcss-modules-scope@^2.2.0: postcss "^7.0.6" postcss-selector-parser "^6.0.0" +postcss-modules-values@1.3.0, postcss-modules-values@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz#ecffa9d7e192518389f42ad0e83f72aec456ea20" + integrity sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA= + dependencies: + icss-replace-symbols "^1.1.0" + postcss "^6.0.1" + postcss-modules-values@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz#5b5000d6ebae29b4255301b4a3a54574423e7f10" @@ -9317,6 +9480,17 @@ postcss-modules-values@^3.0.0: icss-utils "^4.0.0" postcss "^7.0.6" +postcss-modules@^1.3.2: + version "1.5.0" + resolved "https://registry.yarnpkg.com/postcss-modules/-/postcss-modules-1.5.0.tgz#08da6ce43fcfadbc685a021fe6ed30ef929f0bcc" + integrity sha512-KiAihzcV0TxTTNA5OXreyIXctuHOfR50WIhqBpc8pe0Q5dcs/Uap9EVlifOI9am7zGGdGOJQ6B1MPYKo2UxgOg== + dependencies: + css-modules-loader-core "^1.1.0" + generic-names "^2.0.1" + lodash.camelcase "^4.3.0" + postcss "^7.0.1" + string-hash "^1.1.1" + postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.2: version "6.0.6" resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz#2c5bba8174ac2f6981ab631a42ab0ee54af332ea" @@ -9330,7 +9504,35 @@ postcss-value-parser@^4.1.0: resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb" integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ== -postcss@^7.0.14, postcss@^7.0.26, postcss@^7.0.32, postcss@^7.0.35, postcss@^7.0.5, postcss@^7.0.6: +postcss@6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.1.tgz#000dbd1f8eef217aa368b9a212c5fc40b2a8f3f2" + integrity sha1-AA29H47vIXqjaLmiEsX8QLKo8/I= + dependencies: + chalk "^1.1.3" + source-map "^0.5.6" + supports-color "^3.2.3" + +postcss@^5.0.10: + version "5.2.18" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-5.2.18.tgz#badfa1497d46244f6390f58b319830d9107853c5" + integrity sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg== + dependencies: + chalk "^1.1.3" + js-base64 "^2.1.9" + source-map "^0.5.6" + supports-color "^3.2.3" + +postcss@^6.0.1: + version "6.0.23" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.23.tgz#61c82cc328ac60e677645f979054eb98bc0e3324" + integrity sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag== + dependencies: + chalk "^2.4.1" + source-map "^0.6.1" + supports-color "^5.4.0" + +postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.2, postcss@^7.0.26, postcss@^7.0.32, postcss@^7.0.35, postcss@^7.0.5, postcss@^7.0.6: version "7.0.36" resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.36.tgz#056f8cffa939662a8f5905950c07d5285644dfcb" integrity sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw== @@ -10864,6 +11066,11 @@ stream-shift@^1.0.0: resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== +string-hash@^1.1.1: + version "1.1.3" + resolved "https://registry.yarnpkg.com/string-hash/-/string-hash-1.1.3.tgz#e8aafc0ac1855b4666929ed7dd1275df5d6c811b" + integrity sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs= + string-length@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/string-length/-/string-length-3.1.0.tgz#107ef8c23456e187a8abd4a61162ff4ac6e25837" @@ -11080,7 +11287,14 @@ supports-color@^2.0.0: resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= -supports-color@^5.3.0: +supports-color@^3.2.3: + version "3.2.3" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" + integrity sha1-ZawFBLOVQXHYpklGsq48u4pfVPY= + dependencies: + has-flag "^1.0.0" + +supports-color@^5.3.0, supports-color@^5.4.0: version "5.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== From 73a0477d8819022975765fbe05f2a560182e463e Mon Sep 17 00:00:00 2001 From: momotofu Date: Thu, 24 Jun 2021 07:31:51 +0900 Subject: [PATCH 04/18] Added material outline link to StoryWrapper --- .storybook/.babelrc | 5 +- libs/components/Banner/styles.css | 36 ++++ libs/components/Button/styles.css | 130 ++++++++++++++ libs/components/Card/styles.css | 38 ++++ package.json | 3 +- src/components/Banner/styles.css | 55 +++--- src/components/Button/styles.css | 241 ++++++++++++-------------- src/components/Card/styles.css | 65 ++++--- src/components/StoryWrapper/index.jsx | 1 + 9 files changed, 376 insertions(+), 198 deletions(-) create mode 100644 libs/components/Banner/styles.css create mode 100644 libs/components/Button/styles.css create mode 100644 libs/components/Card/styles.css diff --git a/.storybook/.babelrc b/.storybook/.babelrc index 8cc520a..510117b 100644 --- a/.storybook/.babelrc +++ b/.storybook/.babelrc @@ -5,6 +5,9 @@ "@babel/preset-typescript" ], "plugins": [ - "@babel/plugin-proposal-class-properties" + "@babel/plugin-proposal-class-properties", + ["babel-plugin-react-css-modules", { + "generateScopedName": "[name]-[local]-[hash:base64:4]" + }] ] } diff --git a/libs/components/Banner/styles.css b/libs/components/Banner/styles.css new file mode 100644 index 0000000..90765ba --- /dev/null +++ b/libs/components/Banner/styles.css @@ -0,0 +1,36 @@ +.Banner { + background: gray; + display: -webkit-box; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-align-items: center; + align-items: center; + min-height: 4rem; + padding: 0.8rem 1.2rem; + border-radius: 0.3rem; + margin: 20px 0; } + .Banner > i { + font-size: 2.4rem; + color: #fff; + margin-right: 1.2rem; } + .Banner h3 { + color: #fff; + font-size: 1.4rem; + font-family: 'Lato', sans-serif; + font-weight: 700; + margin: 0; + margin-right: .5rem; } + .Banner__content { + color: #fff; + font-family: 'Lato', sans-serif; + font-weight: normal; + font-size: 1.4rem; } + .Banner__content span { + margin-right: 0.8rem; } + .Banner--error { + background: #f00; } + .Banner--warning { + background: #ff8300; } + .Banner--relief { + background: #1ea7fd; } diff --git a/libs/components/Button/styles.css b/libs/components/Button/styles.css new file mode 100644 index 0000000..9594e7b --- /dev/null +++ b/libs/components/Button/styles.css @@ -0,0 +1,130 @@ +@keyframes spinner { + 0% { + transform: rotate(0deg); } + 100% { + transform: rotate(360deg); } } + +.aj-btn, +a.aj-btn { + display: inline-block; + height: 3rem; + padding: 0 1rem; + background: #f5f5f5; + border: 0.1rem solid #bbbbbb; + border-radius: 3px; + cursor: pointer; + white-space: nowrap; + position: relative; } + .aj-btn *, + a.aj-btn * { + vertical-align: top; } + .aj-btn.is-loading, + a.aj-btn.is-loading { + pointer-events: none; + position: relative; + padding-left: 3.2rem; } + .aj-btn.is-loading:before, + a.aj-btn.is-loading:before { + content: ""; + position: absolute; + left: 0.8rem; + top: 0.6rem; + width: 1.2rem; + height: 1.2rem; + border-radius: 50%; + border: 0.2rem solid #333333; + border-top: 0.2rem solid transparent; + animation: spinner 0.8s linear infinite; } + .aj-btn.has-icon, + a.aj-btn.has-icon { + position: relative; + padding-left: 3rem; } + .aj-btn.has-icon i, + a.aj-btn.has-icon i { + position: absolute; + left: 0.6rem; + top: 50%; + transform: translateY(-50%); + font-size: 1.8rem; + color: #595959; } + .aj-btn--dropdown, + a.aj-btn--dropdown { + padding-right: 3rem; } + .aj-btn--no-bold, + a.aj-btn--no-bold { + font-weight: 400 !important; } + .aj-btn--icon, + .aj-btn a.aj-btn--icon, + a.aj-btn--icon, + a.aj-btn a.aj-btn--icon { + background-color: #ffffff; + border: none; + width: 3rem; + height: 3rem; + padding: 0; + display: flex; + align-items: center; + justify-content: center; + transition: box-shadow 0.1s ease; + position: relative; } + .aj-btn--icon i, + .aj-btn a.aj-btn--icon i, + a.aj-btn--icon i, + a.aj-btn a.aj-btn--icon i { + color: #595959; + font-size: 1.8rem; + line-height: 1; + transition: all 0.1s ease; } + .aj-btn--icon:hover, + .aj-btn a.aj-btn--icon:hover, + a.aj-btn--icon:hover, + a.aj-btn a.aj-btn--icon:hover { + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); + background-color: #f5f5f5; + z-index: 2; } + .aj-btn--icon:hover i, + .aj-btn a.aj-btn--icon:hover i, + a.aj-btn--icon:hover i, + a.aj-btn a.aj-btn--icon:hover i { + color: #333333; } + .aj-btn--icon.has-error::after, + .aj-btn a.aj-btn--icon.has-error::after, + a.aj-btn--icon.has-error::after, + a.aj-btn a.aj-btn--icon.has-error::after { + content: ""; + position: absolute; + top: 0.5rem; + right: 0.3rem; + width: 0.8rem; + height: 0.8rem; + background: #C83232; + border: 0.1rem solid #ffffff; + border-radius: 50%; } + .aj-btn--icon-lg i, + .aj-btn--icon a.aj-btn--icon-lg i, + .aj-btn a.aj-btn--icon-lg i, + .aj-btn a.aj-btn--icon a.aj-btn--icon-lg i, + a.aj-btn--icon-lg i, + a.aj-btn--icon a.aj-btn--icon-lg i, + a.aj-btn a.aj-btn--icon-lg i, + a.aj-btn a.aj-btn--icon a.aj-btn--icon-lg i { + font-size: 2.4rem; } + .aj-btn--primary, + a.aj-btn--primary { + font-weight: bold; + color: white; + font-size: 14px; + padding: 12px 16px; + border-radius: 5px; + border: none; + line-height: 17px; + background-color: #3068C1; + letter-spacing: 0px; + height: 41px; } + .aj-btn--secondary, + a.aj-btn--secondary { + color: #343434; + font-size: 14px; + border-radius: 5px; + height: 41px; + border: 1px solid #CCCCCC; } diff --git a/libs/components/Card/styles.css b/libs/components/Card/styles.css new file mode 100644 index 0000000..1c8953e --- /dev/null +++ b/libs/components/Card/styles.css @@ -0,0 +1,38 @@ +.aj-card { + border-radius: 5px; + box-shadow: 0px 5px 11px -3px rgba(0, 0, 0, 0.36); + -webkit-box-shadow: 0px 5px 11px -3px rgba(0, 0, 0, 0.36); + padding: 1.5rem 2rem; + max-width: 420px; + font-family: Lato, sans-serif; + box-sizing: border-box; + border: 1px solid rgba(0, 0, 0, 0.036); } + .aj-card__heading { + display: flex; + flex-direction: column; + align-items: baseline; + justify-content: space-between; + padding-bottom: 0.25rem; } + .aj-card__heading > h1, + .aj-card__heading > h2 { + padding: 0; + margin: 0; } + .aj-card__heading-title { + font-size: 1.25rem; } + .aj-card__heading-subtitle { + font-size: 1rem; + opacity: 0.5; + font-weight: 400; } + .aj-card__content { + font-size: 1rem; + line-height: 1.5rem; + padding: 0; + padding-top: 1rem; + display: flex; + justify-content: flex-start; + flex-direction: column; + align-items: flex-end; } + .aj-card__content > p { + margin-top: 0; } + .aj-card__content > p:last-of-type { + margin-bottom: 1.75rem; } diff --git a/package.json b/package.json index 4f58f1b..e714c60 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "test": "cross-env BABEL_ENV=test jest --no-cache --config package.json", "test:debug": "node --inspect node_modules/.bin/jest --runInBand --watch --config package.json", "jest_version": "which jest && jest --version", - "prebuild": "yarn build:css", + "prebuild": "node-sass src/components/ -o libs/components/", "build": "cross-env BABEL_ENV=production babel src --out-dir libs", "nuke": "rm -rf node_modules", "clean": "rimraf libs", @@ -65,7 +65,6 @@ "babel-jest": "^25.3.0", "babel-loader": "^8.2.2", "babel-plugin-react-css-modules": "^5.2.6", - "babel-plugin-transform-scss": "^1.0.11", "classnames": "^2.3.1", "cross-env": "^7.0.2", "eslint": "^6.8.0", diff --git a/src/components/Banner/styles.css b/src/components/Banner/styles.css index a5005e6..90765ba 100644 --- a/src/components/Banner/styles.css +++ b/src/components/Banner/styles.css @@ -10,34 +10,27 @@ padding: 0.8rem 1.2rem; border-radius: 0.3rem; margin: 20px 0; } - -.Banner > i { - font-size: 2.4rem; - color: #fff; - margin-right: 1.2rem; } - -.Banner h3 { - color: #fff; - font-size: 1.4rem; - font-family: 'Lato', sans-serif; - font-weight: 700; - margin: 0; - margin-right: .5rem; } - -.Banner__content { - color: #fff; - font-family: 'Lato', sans-serif; - font-weight: normal; - font-size: 1.4rem; } - -.Banner__content span { - margin-right: 0.8rem; } - -.Banner--error { - background: #f00; } - -.Banner--warning { - background: #ff8300; } - -.Banner--relief { - background: #1ea7fd; } + .Banner > i { + font-size: 2.4rem; + color: #fff; + margin-right: 1.2rem; } + .Banner h3 { + color: #fff; + font-size: 1.4rem; + font-family: 'Lato', sans-serif; + font-weight: 700; + margin: 0; + margin-right: .5rem; } + .Banner__content { + color: #fff; + font-family: 'Lato', sans-serif; + font-weight: normal; + font-size: 1.4rem; } + .Banner__content span { + margin-right: 0.8rem; } + .Banner--error { + background: #f00; } + .Banner--warning { + background: #ff8300; } + .Banner--relief { + background: #1ea7fd; } diff --git a/src/components/Button/styles.css b/src/components/Button/styles.css index 9bf03a0..9594e7b 100644 --- a/src/components/Button/styles.css +++ b/src/components/Button/styles.css @@ -15,131 +15,116 @@ a.aj-btn { cursor: pointer; white-space: nowrap; position: relative; } - -.aj-btn *, -a.aj-btn * { - vertical-align: top; } - -.aj-btn.is-loading, -a.aj-btn.is-loading { - pointer-events: none; - position: relative; - padding-left: 3.2rem; } - -.aj-btn.is-loading:before, -a.aj-btn.is-loading:before { - content: ""; - position: absolute; - left: 0.8rem; - top: 0.6rem; - width: 1.2rem; - height: 1.2rem; - border-radius: 50%; - border: 0.2rem solid #333333; - border-top: 0.2rem solid transparent; - animation: spinner 0.8s linear infinite; } - -.aj-btn.has-icon, -a.aj-btn.has-icon { - position: relative; - padding-left: 3rem; } - -.aj-btn.has-icon i, -a.aj-btn.has-icon i { - position: absolute; - left: 0.6rem; - top: 50%; - transform: translateY(-50%); - font-size: 1.8rem; - color: #595959; } - -.aj-btn--dropdown, -a.aj-btn--dropdown { - padding-right: 3rem; } - -.aj-btn--no-bold, -a.aj-btn--no-bold { - font-weight: 400 !important; } - -.aj-btn--icon, -.aj-btn a.aj-btn--icon, -a.aj-btn--icon, -a.aj-btn a.aj-btn--icon { - background-color: #ffffff; - border: none; - width: 3rem; - height: 3rem; - padding: 0; - display: flex; - align-items: center; - justify-content: center; - transition: box-shadow 0.1s ease; - position: relative; } - -.aj-btn--icon i, -.aj-btn a.aj-btn--icon i, -a.aj-btn--icon i, -a.aj-btn a.aj-btn--icon i { - color: #595959; - font-size: 1.8rem; - line-height: 1; - transition: all 0.1s ease; } - -.aj-btn--icon:hover, -.aj-btn a.aj-btn--icon:hover, -a.aj-btn--icon:hover, -a.aj-btn a.aj-btn--icon:hover { - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); - background-color: #f5f5f5; - z-index: 2; } - -.aj-btn--icon:hover i, -.aj-btn a.aj-btn--icon:hover i, -a.aj-btn--icon:hover i, -a.aj-btn a.aj-btn--icon:hover i { - color: #333333; } - -.aj-btn--icon.has-error::after, -.aj-btn a.aj-btn--icon.has-error::after, -a.aj-btn--icon.has-error::after, -a.aj-btn a.aj-btn--icon.has-error::after { - content: ""; - position: absolute; - top: 0.5rem; - right: 0.3rem; - width: 0.8rem; - height: 0.8rem; - background: #C83232; - border: 0.1rem solid #ffffff; - border-radius: 50%; } - -.aj-btn--icon-lg i, -.aj-btn--icon a.aj-btn--icon-lg i, -.aj-btn a.aj-btn--icon-lg i, -.aj-btn a.aj-btn--icon a.aj-btn--icon-lg i, -a.aj-btn--icon-lg i, -a.aj-btn--icon a.aj-btn--icon-lg i, -a.aj-btn a.aj-btn--icon-lg i, -a.aj-btn a.aj-btn--icon a.aj-btn--icon-lg i { - font-size: 2.4rem; } - -.aj-btn--primary, -a.aj-btn--primary { - font-weight: bold; - color: white; - font-size: 14px; - padding: 12px 16px; - border-radius: 5px; - border: none; - line-height: 17px; - background-color: #3068C1; - letter-spacing: 0px; - height: 41px; } - -.aj-btn--secondary, -a.aj-btn--secondary { - color: #343434; - font-size: 14px; - border-radius: 5px; - height: 41px; - border: 1px solid #CCCCCC; } + .aj-btn *, + a.aj-btn * { + vertical-align: top; } + .aj-btn.is-loading, + a.aj-btn.is-loading { + pointer-events: none; + position: relative; + padding-left: 3.2rem; } + .aj-btn.is-loading:before, + a.aj-btn.is-loading:before { + content: ""; + position: absolute; + left: 0.8rem; + top: 0.6rem; + width: 1.2rem; + height: 1.2rem; + border-radius: 50%; + border: 0.2rem solid #333333; + border-top: 0.2rem solid transparent; + animation: spinner 0.8s linear infinite; } + .aj-btn.has-icon, + a.aj-btn.has-icon { + position: relative; + padding-left: 3rem; } + .aj-btn.has-icon i, + a.aj-btn.has-icon i { + position: absolute; + left: 0.6rem; + top: 50%; + transform: translateY(-50%); + font-size: 1.8rem; + color: #595959; } + .aj-btn--dropdown, + a.aj-btn--dropdown { + padding-right: 3rem; } + .aj-btn--no-bold, + a.aj-btn--no-bold { + font-weight: 400 !important; } + .aj-btn--icon, + .aj-btn a.aj-btn--icon, + a.aj-btn--icon, + a.aj-btn a.aj-btn--icon { + background-color: #ffffff; + border: none; + width: 3rem; + height: 3rem; + padding: 0; + display: flex; + align-items: center; + justify-content: center; + transition: box-shadow 0.1s ease; + position: relative; } + .aj-btn--icon i, + .aj-btn a.aj-btn--icon i, + a.aj-btn--icon i, + a.aj-btn a.aj-btn--icon i { + color: #595959; + font-size: 1.8rem; + line-height: 1; + transition: all 0.1s ease; } + .aj-btn--icon:hover, + .aj-btn a.aj-btn--icon:hover, + a.aj-btn--icon:hover, + a.aj-btn a.aj-btn--icon:hover { + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); + background-color: #f5f5f5; + z-index: 2; } + .aj-btn--icon:hover i, + .aj-btn a.aj-btn--icon:hover i, + a.aj-btn--icon:hover i, + a.aj-btn a.aj-btn--icon:hover i { + color: #333333; } + .aj-btn--icon.has-error::after, + .aj-btn a.aj-btn--icon.has-error::after, + a.aj-btn--icon.has-error::after, + a.aj-btn a.aj-btn--icon.has-error::after { + content: ""; + position: absolute; + top: 0.5rem; + right: 0.3rem; + width: 0.8rem; + height: 0.8rem; + background: #C83232; + border: 0.1rem solid #ffffff; + border-radius: 50%; } + .aj-btn--icon-lg i, + .aj-btn--icon a.aj-btn--icon-lg i, + .aj-btn a.aj-btn--icon-lg i, + .aj-btn a.aj-btn--icon a.aj-btn--icon-lg i, + a.aj-btn--icon-lg i, + a.aj-btn--icon a.aj-btn--icon-lg i, + a.aj-btn a.aj-btn--icon-lg i, + a.aj-btn a.aj-btn--icon a.aj-btn--icon-lg i { + font-size: 2.4rem; } + .aj-btn--primary, + a.aj-btn--primary { + font-weight: bold; + color: white; + font-size: 14px; + padding: 12px 16px; + border-radius: 5px; + border: none; + line-height: 17px; + background-color: #3068C1; + letter-spacing: 0px; + height: 41px; } + .aj-btn--secondary, + a.aj-btn--secondary { + color: #343434; + font-size: 14px; + border-radius: 5px; + height: 41px; + border: 1px solid #CCCCCC; } diff --git a/src/components/Card/styles.css b/src/components/Card/styles.css index 9343b91..1c8953e 100644 --- a/src/components/Card/styles.css +++ b/src/components/Card/styles.css @@ -7,39 +7,32 @@ font-family: Lato, sans-serif; box-sizing: border-box; border: 1px solid rgba(0, 0, 0, 0.036); } - -.aj-card__heading { - display: flex; - flex-direction: column; - align-items: baseline; - justify-content: space-between; - padding-bottom: 0.25rem; } - -.aj-card__heading > h1, -.aj-card__heading > h2 { - padding: 0; - margin: 0; } - -.aj-card__heading-title { - font-size: 1.25rem; } - -.aj-card__heading-subtitle { - font-size: 1rem; - opacity: 0.5; - font-weight: 400; } - -.aj-card__content { - font-size: 1rem; - line-height: 1.5rem; - padding: 0; - padding-top: 1rem; - display: flex; - justify-content: flex-start; - flex-direction: column; - align-items: flex-end; } - -.aj-card__content > p { - margin-top: 0; } - -.aj-card__content > p:last-of-type { - margin-bottom: 1.75rem; } + .aj-card__heading { + display: flex; + flex-direction: column; + align-items: baseline; + justify-content: space-between; + padding-bottom: 0.25rem; } + .aj-card__heading > h1, + .aj-card__heading > h2 { + padding: 0; + margin: 0; } + .aj-card__heading-title { + font-size: 1.25rem; } + .aj-card__heading-subtitle { + font-size: 1rem; + opacity: 0.5; + font-weight: 400; } + .aj-card__content { + font-size: 1rem; + line-height: 1.5rem; + padding: 0; + padding-top: 1rem; + display: flex; + justify-content: flex-start; + flex-direction: column; + align-items: flex-end; } + .aj-card__content > p { + margin-top: 0; } + .aj-card__content > p:last-of-type { + margin-bottom: 1.75rem; } diff --git a/src/components/StoryWrapper/index.jsx b/src/components/StoryWrapper/index.jsx index e627f42..8daa94f 100644 --- a/src/components/StoryWrapper/index.jsx +++ b/src/components/StoryWrapper/index.jsx @@ -9,6 +9,7 @@ export default function StoryWrapper(props) { +
{children} From b15cdabf8b6313df580c3e7297931cd95954b4b0 Mon Sep 17 00:00:00 2001 From: momotofu Date: Thu, 24 Jun 2021 12:04:12 +0900 Subject: [PATCH 05/18] TypeScript components building --- .babelrc | 16 +- libs/actions/errors.js | 3 +- libs/actions/jwt.js | 3 +- libs/actions/modal.js | 3 +- libs/actions/post_message.js | 3 +- libs/api/api.js | 3 +- libs/api/superagent-mock-config.js | 3 +- libs/communications/communicator.js | 3 +- libs/components/Banner/index.js | 3 +- libs/components/Button/index.js | 62 ++++++ libs/components/Card/index.js | 36 ++++ libs/components/GqlStatus/index.js | 3 +- libs/components/StoryWrapper/index.js | 6 +- libs/components/common/atomicjolt_loader.js | 3 +- libs/components/common/errors/inline_error.js | 3 +- libs/components/common/gql_status.js | 3 +- libs/components/common/resize_wrapper.js | 3 +- libs/components/settings.js | 3 +- libs/constants/error.js | 3 +- libs/constants/network.js | 3 +- libs/constants/wrapper.js | 3 +- libs/decorators/modal.js | 3 +- libs/graphql/atomic_mutation.js | 3 +- libs/graphql/atomic_query.js | 3 +- libs/index.js | 17 +- libs/libs/lti_roles.js | 3 +- libs/libs/resize_iframe.js | 3 +- libs/libs/styles.js | 3 +- libs/loaders/jwt.js | 3 +- libs/middleware/api.js | 3 +- libs/middleware/post_message.js | 3 +- libs/reducers/errors.js | 3 +- libs/reducers/jwt.js | 3 +- libs/reducers/modal.js | 3 +- libs/reducers/settings.js | 3 +- libs/specs_support/helper.js | 3 +- libs/specs_support/stub.js | 3 +- libs/specs_support/utils.js | 3 +- libs/store/configure_store.js | 3 +- libs/types.d.js | 2 + package.json | 13 +- src/components/Button/index.stories.tsx | 2 +- src/components/Button/index.tsx | 6 +- src/index.js | 1 + tsconfig.json | 5 +- yarn.lock | 179 ++---------------- 46 files changed, 238 insertions(+), 209 deletions(-) create mode 100644 libs/components/Button/index.js create mode 100644 libs/components/Card/index.js create mode 100644 libs/types.d.js diff --git a/.babelrc b/.babelrc index 8b34e3f..8b18f6e 100644 --- a/.babelrc +++ b/.babelrc @@ -14,7 +14,13 @@ "presets": [ "@babel/preset-env", "@babel/preset-react", - "@babel/preset-typescript" + [ + "@babel/preset-typescript", + { + "isTSX": true, + "allExtensions": true + } + ] ], "plugins": [ "@babel/plugin-proposal-class-properties", @@ -27,7 +33,13 @@ "presets": [ "@babel/preset-env", "@babel/preset-react", - "@babel/preset-typescript" + [ + "@babel/preset-typescript", + { + "isTSX": true, + "allExtensions": true + } + ] ], "plugins": [ "@babel/plugin-proposal-class-properties", diff --git a/libs/actions/errors.js b/libs/actions/errors.js index 1d5c007..1dbd645 100644 --- a/libs/actions/errors.js +++ b/libs/actions/errors.js @@ -34,4 +34,5 @@ function addError(error, message, context) { context: context } }; -} \ No newline at end of file +} +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL2Vycm9ycy5qcyJdLCJuYW1lcyI6WyJhY3Rpb25zIiwicmVxdWVzdHMiLCJDb25zdGFudHMiLCJjbGVhckVycm9ycyIsInR5cGUiLCJDTEVBUl9FUlJPUlMiLCJhZGRFcnJvciIsImVycm9yIiwibWVzc2FnZSIsImNvbnRleHQiLCJBRERfRVJST1IiLCJwYXlsb2FkIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQTs7OztBQUVBO0FBQ0EsSUFBTUEsT0FBTyxHQUFHLENBQ2QsY0FEYyxFQUVkLFdBRmMsQ0FBaEIsQyxDQUtBOztBQUNBLElBQU1DLFFBQVEsR0FBRyxFQUFqQjtBQUdPLElBQU1DLFNBQVMsR0FBRyx5QkFBUUYsT0FBUixFQUFpQkMsUUFBakIsQ0FBbEI7OztBQUVBLFNBQVNFLFdBQVQsR0FBdUI7QUFDNUIsU0FBTztBQUNMQyxJQUFBQSxJQUFJLEVBQUVGLFNBQVMsQ0FBQ0c7QUFEWCxHQUFQO0FBR0QsQyxDQUVEOzs7QUFDTyxTQUFTQyxRQUFULENBQWtCQyxLQUFsQixFQUF5QkMsT0FBekIsRUFBa0NDLE9BQWxDLEVBQTJDO0FBQ2hELFNBQU87QUFDTEwsSUFBQUEsSUFBSSxFQUFFRixTQUFTLENBQUNRLFNBRFg7QUFFTEMsSUFBQUEsT0FBTyxFQUFFO0FBQ1BKLE1BQUFBLEtBQUssRUFBTEEsS0FETztBQUVQQyxNQUFBQSxPQUFPLEVBQVBBLE9BRk87QUFHUEMsTUFBQUEsT0FBTyxFQUFQQTtBQUhPO0FBRkosR0FBUDtBQVFEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHdyYXBwZXIgZnJvbSAnLi4vY29uc3RhbnRzL3dyYXBwZXInO1xuXG4vLyBMb2NhbCBhY3Rpb25zXG5jb25zdCBhY3Rpb25zID0gW1xuICAnQ0xFQVJfRVJST1JTJyxcbiAgJ0FERF9FUlJPUicsXG5dO1xuXG4vLyBBY3Rpb25zIHRoYXQgbWFrZSBhbiBhcGkgcmVxdWVzdFxuY29uc3QgcmVxdWVzdHMgPSBbXG5dO1xuXG5leHBvcnQgY29uc3QgQ29uc3RhbnRzID0gd3JhcHBlcihhY3Rpb25zLCByZXF1ZXN0cyk7XG5cbmV4cG9ydCBmdW5jdGlvbiBjbGVhckVycm9ycygpIHtcbiAgcmV0dXJuIHtcbiAgICB0eXBlOiBDb25zdGFudHMuQ0xFQVJfRVJST1JTLFxuICB9O1xufVxuXG4vLyBFcnJvciBzaG91bGQgYmUgdGhlIG9yaWdpbmFsIGVycm9yLCB1c3VhbGx5IGZyb20gYSBuZXR3b3JrIHJlc3BvbnNlLlxuZXhwb3J0IGZ1bmN0aW9uIGFkZEVycm9yKGVycm9yLCBtZXNzYWdlLCBjb250ZXh0KSB7XG4gIHJldHVybiB7XG4gICAgdHlwZTogQ29uc3RhbnRzLkFERF9FUlJPUixcbiAgICBwYXlsb2FkOiB7XG4gICAgICBlcnJvcixcbiAgICAgIG1lc3NhZ2UsXG4gICAgICBjb250ZXh0LFxuICAgIH0sXG4gIH07XG59XG4iXX0= \ No newline at end of file diff --git a/libs/actions/jwt.js b/libs/actions/jwt.js index b5977a7..16c6f23 100644 --- a/libs/actions/jwt.js +++ b/libs/actions/jwt.js @@ -25,4 +25,5 @@ function refreshJwt(userId) { method: _network["default"].GET, url: "api/jwts/".concat(userId) }; -} \ No newline at end of file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b25zLCByZXF1ZXN0cyk7XG5cbmV4cG9ydCBmdW5jdGlvbiByZWZyZXNoSnd0KHVzZXJJZCkge1xuICByZXR1cm4ge1xuICAgIHR5cGUgICA6IENvbnN0YW50cy5SRUZSRVNIX0pXVCxcbiAgICBtZXRob2QgOiBOZXR3b3JrLkdFVCxcbiAgICB1cmwgICAgOiBgYXBpL2p3dHMvJHt1c2VySWR9YCxcbiAgfTtcbn1cbiJdfQ== \ No newline at end of file diff --git a/libs/actions/modal.js b/libs/actions/modal.js index 3256fce..8e6b282 100644 --- a/libs/actions/modal.js +++ b/libs/actions/modal.js @@ -29,4 +29,5 @@ var closeModal = function closeModal() { }; }; -exports.closeModal = closeModal; \ No newline at end of file +exports.closeModal = closeModal; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL21vZGFsLmpzIl0sIm5hbWVzIjpbImFjdGlvbnMiLCJDb25zdGFudHMiLCJvcGVuTW9kYWwiLCJtb2RhbE5hbWUiLCJ0eXBlIiwiT1BFTl9NT0RBTCIsImNsb3NlTW9kYWwiLCJDTE9TRV9NT0RBTCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOzs7O0FBRUE7QUFDQSxJQUFNQSxPQUFPLEdBQUcsQ0FDZCxZQURjLEVBRWQsYUFGYyxDQUFoQjtBQUtPLElBQU1DLFNBQVMsR0FBRyx5QkFBUUQsT0FBUixFQUFpQixFQUFqQixDQUFsQjs7O0FBRUEsSUFBTUUsU0FBUyxHQUFHLFNBQVpBLFNBQVksQ0FBQ0MsU0FBRDtBQUFBLFNBQWdCO0FBQUVDLElBQUFBLElBQUksRUFBRUgsU0FBUyxDQUFDSSxVQUFsQjtBQUE4QkYsSUFBQUEsU0FBUyxFQUFUQTtBQUE5QixHQUFoQjtBQUFBLENBQWxCOzs7O0FBRUEsSUFBTUcsVUFBVSxHQUFHLFNBQWJBLFVBQWE7QUFBQSxTQUFPO0FBQUVGLElBQUFBLElBQUksRUFBRUgsU0FBUyxDQUFDTTtBQUFsQixHQUFQO0FBQUEsQ0FBbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgd3JhcHBlciAgICBmcm9tICcuLi9jb25zdGFudHMvd3JhcHBlcic7XG5cbi8vIExvY2FsIGFjdGlvbnNcbmNvbnN0IGFjdGlvbnMgPSBbXG4gICdPUEVOX01PREFMJyxcbiAgJ0NMT1NFX01PREFMJ1xuXTtcblxuZXhwb3J0IGNvbnN0IENvbnN0YW50cyA9IHdyYXBwZXIoYWN0aW9ucywgW10pO1xuXG5leHBvcnQgY29uc3Qgb3Blbk1vZGFsID0gKG1vZGFsTmFtZSkgPT4gKHsgdHlwZTogQ29uc3RhbnRzLk9QRU5fTU9EQUwsIG1vZGFsTmFtZSB9KTtcblxuZXhwb3J0IGNvbnN0IGNsb3NlTW9kYWwgPSAoKSA9PiAoeyB0eXBlOiBDb25zdGFudHMuQ0xPU0VfTU9EQUwgfSk7XG4iXX0= \ No newline at end of file diff --git a/libs/actions/post_message.js b/libs/actions/post_message.js index 53314f9..2218ab8 100644 --- a/libs/actions/post_message.js +++ b/libs/actions/post_message.js @@ -23,4 +23,5 @@ var postMessage = function postMessage(message) { }; }; -exports.postMessage = postMessage; \ No newline at end of file +exports.postMessage = postMessage; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3Bvc3RfbWVzc2FnZS5qcyJdLCJuYW1lcyI6WyJhY3Rpb25zIiwiQ29uc3RhbnRzIiwicG9zdE1lc3NhZ2UiLCJtZXNzYWdlIiwiYnJvYWRjYXN0IiwidHlwZSIsIlBPU1RfTUVTU0FHRSJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOzs7O0FBRUEsSUFBTUEsT0FBTyxHQUFHLENBQ2QsY0FEYyxDQUFoQjtBQUlPLElBQU1DLFNBQVMsR0FBRyx5QkFBUUQsT0FBUixFQUFpQixFQUFqQixDQUFsQjs7O0FBRUEsSUFBTUUsV0FBVyxHQUFHLFNBQWRBLFdBQWMsQ0FBQ0MsT0FBRDtBQUFBLE1BQVVDLFNBQVYsdUVBQXNCLEtBQXRCO0FBQUEsU0FBaUM7QUFDMURDLElBQUFBLElBQUksRUFBRUosU0FBUyxDQUFDSyxZQUQwQztBQUUxREosSUFBQUEsV0FBVyxFQUFFLElBRjZDO0FBRzFERSxJQUFBQSxTQUFTLEVBQVRBLFNBSDBEO0FBSTFERCxJQUFBQSxPQUFPLEVBQVBBO0FBSjBELEdBQWpDO0FBQUEsQ0FBcEIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgd3JhcHBlciBmcm9tICcuLi9jb25zdGFudHMvd3JhcHBlcic7XG5cbmNvbnN0IGFjdGlvbnMgPSBbXG4gICdQT1NUX01FU1NBR0UnLFxuXTtcblxuZXhwb3J0IGNvbnN0IENvbnN0YW50cyA9IHdyYXBwZXIoYWN0aW9ucywgW10pO1xuXG5leHBvcnQgY29uc3QgcG9zdE1lc3NhZ2UgPSAobWVzc2FnZSwgYnJvYWRjYXN0ID0gZmFsc2UpID0+ICh7XG4gIHR5cGU6IENvbnN0YW50cy5QT1NUX01FU1NBR0UsXG4gIHBvc3RNZXNzYWdlOiB0cnVlLFxuICBicm9hZGNhc3QsXG4gIG1lc3NhZ2UsXG59KTtcbiJdfQ== \ No newline at end of file diff --git a/libs/api/api.js b/libs/api/api.js index d5232d2..5160a8e 100644 --- a/libs/api/api.js +++ b/libs/api/api.js @@ -254,4 +254,5 @@ var Api = /*#__PURE__*/function () { // } -exports["default"] = Api; \ No newline at end of file +exports["default"] = Api; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hcGkvYXBpLmpzIl0sIm5hbWVzIjpbInBlbmRpbmdSZXF1ZXN0cyIsIkFw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W5kIGxldCB0aGUgY2FsbGluZyBjb2RlIGludm9rZSBpdC5cbi8vICAgICAgIHJldHVybiByZXF1ZXN0O1xuLy8gICAgIH1cbi8vICAgfVxuIl19 \ No newline at end of file diff --git a/libs/api/superagent-mock-config.js b/libs/api/superagent-mock-config.js index a865901..aec4234 100644 --- a/libs/api/superagent-mock-config.js +++ b/libs/api/superagent-mock-config.js @@ -172,4 +172,5 @@ module.exports = [{ body: data }; } -}]; \ No newline at end of file +}]; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hcGkvc3VwZXJhZ2VudC1tb2NrLWNvbmZpZy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwicGF0dGVybiIsImZpeHR1cmVzIiwibWF0Y2giLCJwYXJhbXMiLCJoZWFkZXJzIiwiY29udGV4dCIsIkVycm9yIiwic3VwZXJoZXJvIiwiQXV0aG9yaXphdGlvbiIsInN0YXR1cyIsImNvbnRlbnRUeXBlIiwic3RhdHVzVGV4dCIsInJlc3BvbnNlVGV4dCIsIkpTT04iLCJzdHJpbmdpZnkiLCJpZCIsIm5hbWUiLCJkZWxheSIsInByb2dyZXNzIiwicGFydHMiLCJ0b3RhbCIsImxlbmd0aENvbXB1dGFibGUiLCJkaXJlY3Rpb24iLCJnZXQiLCJkYXRhIiwiYm9keSIsInBvc3QiLCJjb2RlIiwicHV0Il0sIm1hcHBpbmdzIjoiOztBQUFBO0FBQ0FBLE1BQU0sQ0FBQ0MsT0FBUCxHQUFpQixDQUNmO0FBQ0U7QUFDSjtBQUNBO0FBQ0lDLEVBQUFBLE9BQU8sRUFBRSw0QkFKWDs7QUFNRTtBQUNKO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0lDLEVBQUFBLFFBZEYsb0JBY1dDLEtBZFgsRUFja0JDLE1BZGxCLEVBYzBCQyxPQWQxQixFQWNtQ0M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KS5lbmQoZnVuY3Rpb24oZXJyLCByZXMpe1xuICAgICAgICogICAgIGNvbnNvbGUubG9nKHJlcy5ib2R5KTsgLy8gXCJZb3VyIGhlcm86IHN1cGVybWFuXCJcbiAgICAgICAqICAgfSlcbiAgICAgICAqL1xuXG4gICAgICBpZiAobWF0Y2hbMV0gPT09ICcvaGVybycpIHtcbiAgICAgICAgaWYgKHBhcmFtcy5zdXBlcmhlcm8pIHtcbiAgICAgICAgICByZXR1cm4gYFlvdXIgaGVybzoke3BhcmFtcy5zdXBlcmhlcm99YDtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gJ1lvdSBkaWRudCBjaG9vc2UgYSBoZXJvJztcbiAgICAgIH1cblxuXG4gICAgICAvKipcbiAgICAgICAqIENoZWNraW5nIG9uIGhlYWRlcnMgZXhhbXBsZTpcbiAgICAgICAqICAgcmVxdWVzdC5nZXQoJ2h0dHBzOi8vZG9tYWluLmV4YW1wbGUvYXV0aG9yaXplZF9lbmRwb2ludCcpLnNldCh7QXV0aG9yaXphdGlvbjogXCI5MzgyaGZpaDE4MzRoXCJ9KS5lbmQoZnVuY3Rpb24oZXJyLCByZXMpe1xuICAgICAgICogICAgIGNvbnNvbGUubG9nKHJlcy5ib2R5KTsgLy8gXCJBdXRoZW50aWNhdGVkIVwiXG4gICAgICAgKiAgIH0pXG4gICAgICAgKi9cblxuICAgICAgaWYgKG1hdGNoWzFdID09PSAnL2FwaS90ZXN0LzEyJykge1xuICAgICAgICBpZiAoaGVhZGVycy5BdXRob3JpemF0aW9uICYmIGhlYWRlcnNbJ1gtQ1NSRi1Ub2tlbiddKSB7XG4gICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHN0YXR1czogMjAwLFxuICAgICAgICAgICAgY29udGVudFR5cGU6ICdhcHBsaWNhdGlvbi9qc29uJyxcbiAgICAgICAgICAgIHN0YXR1c1RleHQ6ICdPSycsXG4gICAgICAgICAgICByZXNwb25zZVRleHQ6IEpTT04uc3RyaW5naWZ5KFt7XG4gICAgICAgICAgICAgIGlkOiAxLFxuICAgICAgICAgICAgICBuYW1lOiAnU3RhcnRlciBBcHAnXG4gICAgICAgICAgICB9XSlcbiAgICAgICAgICB9O1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICBzdGF0dXM6IDQwMSxcbiAgICAgICAgICBzdGF0dXNUZXh0OiAnVW5hdXRob3JpemVkJyxcbiAgICAgICAgfTtcbiAgICAgIH1cblxuICAgICAgLyoqXG4gICAgICAgKiBDYW5jZWxsaW5nIHRoZSBtb2NraW5nIGZvciBhIHNwZWNpZmljIG1hdGNoZWQgcm91dGUgZXhhbXBsZTpcbiAgICAgICAqICAgcmVxdWVzdC5nZXQoJ2h0dHBzOi8vZG9tYWluLmV4YW1wbGUvc2VydmVyX3Rlc3QnKS5lbmQoZnVuY3Rpb24oZXJyLCByZXMpe1xuICAgICAgICogICAgIGNvbnNvbGUubG9nKHJlcy5ib2R5KTsgLy8gKHdoYXRldmVyIHRoZSBhY3R1YWwgc2VydmVyIHdvdWxkIGhhdmUgcmV0dXJuZWQpXG4gICAgICAgKiAgIH0pXG4gICAgICAgKi9cblxuICAgICAgaWYgKG1hdGNoWzFdID09PSAnL2FwaS90ZXN0L2Z1bGwnKSB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgc3RhdHVzOiAyMDAsXG4gICAgICAgICAgY29udGVudFR5cGU6ICdhcHBsaWNhdGlvbi9qc29uJyxcbiAgICAgICAgICBzdGF0dXNUZXh0OiAnT0snLFxuICAgICAgICAgIHJlc3BvbnNlVGV4dDogSlNPTi5zdHJpbmdpZnkoW3tcbiAgICAgICAgICAgIGlkOiAxLFxuICAgICAgICAgICAgbmFtZTogJ1N0YXJ0ZXIgQXBwJ1xuICAgICAgICAgIH1dKVxuICAgICAgICB9O1xuICAgICAgfVxuXG4gICAgICAvKipcbiAgICAgICAqIERlbGF5aW5nIHRoZSByZXNwb25zZSB3aXRoIGEgc3BlY2lmaW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xcbiAgfSxcbl07XG4iXX0= \ No newline at end of file diff --git a/libs/communications/communicator.js b/libs/communications/communicator.js index 3580ff4..374dd7c 100644 --- a/libs/communications/communicator.js +++ b/libs/communications/communicator.js @@ -105,4 +105,5 @@ var Communicator = /*#__PURE__*/function () { return Communicator; }(); -exports["default"] = Communicator; \ No newline at end of file +exports["default"] = Communicator; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21tdW5pY2F0aW9ucy9jb21tdW5pY2F0b3IuanMiXSwibmFtZXMiOlsicG9zdE1lc3NhZ2UiLCJwYXlsb2FkIiwiZG9tYWluIiwicGFyZW50IiwiSlNPTiIsInN0cmluZ2lmeSIsImJyb2FkY2FzdFJhd01lc3NhZ2UiLCJwYXJlbnRzIiwiU2V0IiwicCIsImhhcyIsImFkZCIsImJyb2FkY2FzdE1lc3NhZ2UiLCJDb21tdW5pY2F0b3IiLCJoYW5kbGVyIiwiZXZlbnRNZXRob2QiLCJ3aW5kb3ciLCJhZGRFdmVudExpc3RlbmVyIiwiZXZlbnRlciIsIm1lc3NhZ2VFdmVudCIsImhhbmRsZUNvbW1GdW5jIiwiZSIsImhhbmRsZUNvbW0iLCJyZW1vdmVFdmVudExpc3RlbmVyIiwibWVzc2FnZSIsImRhdGEiLCJfIiwiaXNTdHJpbmciLCJwYXJzZSIsImV4Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUE7Ozs7Ozs7Ozs7QUFFQTtBQUNPLFNBQVNBLFdBQVQsQ0FBcUJDLE9BQXJCLEVBQTRDO0FBQUEsTUFBZEMsTUFBYyx1RUFBTCxHQUFLO0FBQ2pEQyxFQUFBQSxNQUFNLENBQUNILFdBQVAsQ0FBbUJJLElBQUksQ0FBQ0MsU0FBTCxDQUFlSixPQUFmLENBQW5CLEVBQTRDQyxNQUE1QztBQUNELEMsQ0FFRDs7O0FBQ08sU0FBU0ksbUJBQVQs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lYXRlIElFICsgb3RoZXJzIGNvbXBhdGlibGUgZXZlbnQgaGFuZGxlclxuICAgIGNvbnN0IGV2ZW50TWV0aG9kID0gd2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIgPyAncmVtb3ZlRXZlbnRMaXN0ZW5lcicgOiAnZGV0YWNoRXZlbnQnO1xuICAgIGNvbnN0IGV2ZW50ZXIgPSB3aW5kb3dbZXZlbnRNZXRob2RdO1xuICAgIGV2ZW50ZXIodGhpcy5tZXNzYWdlRXZlbnQsIHRoaXMuaGFuZGxlQ29tbUZ1bmMsIGZhbHNlKTtcbiAgfVxuXG4gIGNvbW0ocGF5bG9hZCkge1xuICAgIHBvc3RNZXNzYWdlKHBheWxvYWQsIHRoaXMuZG9tYWluKTtcbiAgfVxuXG4gIGJyb2FkY2FzdChwYXlsb2FkKSB7XG4gICAgYnJvYWRjYXN0TWVzc2FnZShwYXlsb2FkLCB0aGlzLmRvbWFpbik7XG4gIH1cblxufVxuIl19 \ No newline at end of file diff --git a/libs/components/Banner/index.js b/libs/components/Banner/index.js index e1789f2..8b26e32 100644 --- a/libs/components/Banner/index.js +++ b/libs/components/Banner/index.js @@ -48,4 +48,5 @@ Banner.propTypes = { type: _propTypes["default"].string, icon: _propTypes["default"].string, overrideClass: _propTypes["default"].string -}; \ No newline at end of file +}; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0Jhbm5lci9pbmRleC5qc3giXSwibmFtZXMiOlsiQmFubmVyVHlwZXMiLCJPYmplY3QiLCJmcmVlemUiLCJFUlJPUiIsIlJFTElFRiIsIldBUk5JTkciLCJCYW5uZXIiLCJwcm9wcyIsImhlYWRpbmciLCJtZXNzYWdlIiwidHlwZSIsImljb24iLCJvdmVycmlkZUNsYXNzIiwiYmFzZUNsYXNzIiwiQm9vbGVhbiIsInByb3BUeXBlcyIsIlByb3BUeXBlcyIsInN0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XBlKSB9LFxuICAgICl9PlxuICAgICAgeyAhIWljb24gJiYgPGkgY2xhc3NOYW1lPVwibWF0ZXJpYWwtaWNvbnNcIj57aWNvbn08L2k+IH1cbiAgICAgIHsgISFoZWFkaW5nICYmIDxoMz57aGVhZGluZ308L2gzPiB9XG4gICAgICA8ZGl2IGNsYXNzTmFtZT17YCR7YmFzZUNsYXNzfV9fY29udGVudGB9IGRhdGEtdGVzdGlkPVwibXNnXCI+XG4gICAgICAgIHttZXNzYWdlfVxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gICk7XG59XG5cbkJhbm5lci5wcm9wVHlwZXMgPSB7XG4gIGhlYWRpbmc6IFByb3BUeXBlcy5zdHJpbmcsXG4gIG1lc3NhZ2U6IFByb3BUeXBlcy5zdHJpbmcuaXNSZXF1aXJlZCxcbiAgdHlwZTogUHJvcFR5cGVzLnN0cmluZyxcbiAgaWNvbjogUHJvcFR5cGVzLnN0cmluZyxcbiAgb3ZlcnJpZGVDbGFzczogUHJvcFR5cGVzLnN0cmluZyxcbn07XG4iXX0= \ No newline at end of file diff --git a/libs/components/Button/index.js b/libs/components/Button/index.js new file mode 100644 index 0000000..64c339e --- /dev/null +++ b/libs/components/Button/index.js @@ -0,0 +1,62 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Button = exports.ButtonType = void 0; + +var _react = _interopRequireDefault(require("react")); + +var _classnames = _interopRequireDefault(require("classnames")); + +require("./styles.css"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } + +function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +var ButtonType; +exports.ButtonType = ButtonType; + +(function (ButtonType) { + ButtonType["primary"] = "primary"; + ButtonType["secondary"] = "secondary"; + ButtonType["large"] = "large"; + ButtonType["primaryLarge"] = "primary-large"; + ButtonType["small"] = "small"; + ButtonType["gray"] = "gray"; + ButtonType["icon"] = "icon"; +})(ButtonType || (exports.ButtonType = ButtonType = {})); + +var Button = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) { + var _cn; + + var _props$ariaOptions = props.ariaOptions, + ariaOptions = _props$ariaOptions === void 0 ? {} : _props$ariaOptions, + children = props.children, + classes = props.classes, + color = props.color, + _props$disabled = props.disabled, + disabled = _props$disabled === void 0 ? false : _props$disabled, + _props$submit = props.submit, + submit = _props$submit === void 0 ? false : _props$submit, + noBold = props.noBold, + rest = props.rest, + _props$onClick = props.onClick, + onClick = _props$onClick === void 0 ? function () {} : _props$onClick; + var buttonType = disabled ? ButtonType.gray : props.buttonType; + var className = (0, _classnames["default"])('aj-btn', (_cn = {}, _defineProperty(_cn, "aj-btn--".concat(color), color), _defineProperty(_cn, "aj-btn--".concat(buttonType), buttonType), _defineProperty(_cn, 'aj-btn--no-bold', noBold), _defineProperty(_cn, classes, classes), _cn)); + return /*#__PURE__*/_react["default"].createElement("button", _extends({ + ref: ref, + type: submit ? 'submit' : 'button', + className: className, + disabled: disabled + }, ariaOptions, rest, { + onClick: onClick + }), children); +}); + +exports.Button = Button; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0J1dHRvbi9pbmRleC50c3giXSwibmFtZXMiOlsiQnV0dG9uVHlwZSIsIkJ1dHRvbiIsIlJlYWN0IiwiZm9yd2FyZFJlZiIsInByb3BzIiwicmVmIiwiYXJpYU9wdGlvbnMiLCJjaGlsZHJlbiIsImNsYXNzZXMiLCJjb2xvciIsImRpc2FibGVkIiwic3VibWl0Iiwibm9Cb2xkIiwicmVzdCIsIm9uQ2xpY2siLCJidXR0b25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1cbiAgICAgIGRpc2FibGVkPXtkaXNhYmxlZH1cbiAgICAgIHsuLi5hcmlhT3B0aW9uc31cbiAgICAgIHsuLi5yZXN0fVxuICAgICAgb25DbGljaz17b25DbGlja31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9idXR0b24+XG4gICk7XG59KTtcbiJdfQ== \ No newline at end of file diff --git a/libs/components/Card/index.js b/libs/components/Card/index.js new file mode 100644 index 0000000..ae4ae82 --- /dev/null +++ b/libs/components/Card/index.js @@ -0,0 +1,36 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports["default"] = Card; + +var _react = _interopRequireDefault(require("react")); + +var _classnames = _interopRequireDefault(require("classnames")); + +require("./styles.css"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } + +function Card(props) { + var classOverride = props.classOverride, + classes = props.classes, + title = props.title, + subtitle = props.subtitle, + blank = props.blank, + children = props.children; + var baseClass = classOverride || 'aj-card'; + return /*#__PURE__*/_react["default"].createElement("div", { + className: (0, _classnames["default"])(baseClass, classes) + }, !blank && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", { + className: "".concat(baseClass, "__heading") + }, /*#__PURE__*/_react["default"].createElement("h1", { + className: "".concat(baseClass, "__heading-title") + }, title), /*#__PURE__*/_react["default"].createElement("h2", { + className: "".concat(baseClass, "__heading-subtitle") + }, subtitle)), /*#__PURE__*/_react["default"].createElement("section", { + className: "".concat(baseClass, "__content") + }, children)), blank && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, children)); +} +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0NhcmQvaW5kZXgudHN4Il0sIm5hbWVzIjpbIkNhcmQiLCJwcm9wcyIsImNsYXNzT3ZlcnJpZGUiLCJjbGFzc2VzIiwidGl0b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Y3Rpb24+XG4gICAgICAgIDwvPiB9XG4gICAgICB7IGJsYW5rICYmIDw+e2NoaWxkcmVufTwvPiB9XG4gICAgPC9kaXY+XG4gICk7XG59XG4iXX0= \ No newline at end of file diff --git a/libs/components/GqlStatus/index.js b/libs/components/GqlStatus/index.js index 9649191..fa4954d 100644 --- a/libs/components/GqlStatus/index.js +++ b/libs/components/GqlStatus/index.js @@ -37,4 +37,5 @@ GqlStatus.propTypes = { message: _propTypes["default"].string }), loadMessage: _propTypes["default"].string -}; \ No newline at end of file +}; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0dxbFN0YXR1cy9pbmRleC5qc3giXSwibmFtZXMiOlsiR3FsU3RhdHVzIiwicHJvcHMiLCJsb2FkaW5nIiwibG9hZE1lc3NhZ2UiLCJlcnJvciIsIm1lc3NhZ2UiLCJwcm9wVHlwZXMiLCJQcm9wVHlwZXMiLCJib29sIiwic2hhcGUiLCJzdHJpbmciXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7QUFDQTs7OztBQUVlLFNBQVNBLFNBQVQsQ0FBbUJDLEtBQW5CLEVBQTBCO0FBQ3ZDLE1BQUlBLEtBQUssQ0FBQ0MsT0FBVixFQUFtQjtBQUNqQix3QkFDRSxnQ0FBQyw2QkFBRDtBQUFrQixNQUFBLE9BQU8sRUFBRUQsS0FBSyxDQUFDRTtBQUFqQyxNQURGO0FBR0Q7O0FBRUQsTUFBSUYsS0FBSyxDQUFDRyxLQUFWLEVBQWlCO0FBQ2Ysd0JBQU8sZ0NBQUMsd0JBQUQ7QUFBYSxNQUFBLEtBQUssRUFBRUgsS0FBSyxDQUFDRyxLQUFOLENBQVlDO0FBQWhDLE1BQVA7QUFDRDs7QUFFRCxTQUFPLElBQVA7QUFDRDs7QUFFREwsU0FBUyxDQUFDTSxTQUFWLEdBQXNC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ryWrapper/index.js b/libs/components/StoryWrapper/index.js index ad0433d..295daac 100644 --- a/libs/components/StoryWrapper/index.js +++ b/libs/components/StoryWrapper/index.js @@ -20,5 +20,9 @@ function StoryWrapper(props) { }), /*#__PURE__*/_react["default"].createElement("link", { href: "https://fonts.googleapis.com/icon?family=Material+Icons", rel: "stylesheet" + }), /*#__PURE__*/_react["default"].createElement("link", { + href: "https://fonts.googleapis.com/icon?family=Material+Icons+Outlined", + rel: "stylesheet" })), /*#__PURE__*/_react["default"].createElement("div", null, children)); -} \ No newline at end of file +} +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N0b3J5V3JhcHBlci9pbmRleC5qc3giXSwibmFtZXMiOlsiU3RvcnlXcmFwcGVyIiwicHJvcHMiLCJjaGlsZHJlbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOzs7O0FBRWUsU0FBU0EsWUFBVCxDQUFzQkMsS0FBdEIsRUFBNkI7QUFDMUMsTUFBUUMsUUFBUixHQUFxQkQsS0FBckIsQ0FBUUMsUUFBUjtBQUVBLHNCQUNFLCtFQUNFLDBEQUNFO0FBQU0sSUFBQSxHQUFHLEVBQUMsWUFBVjtBQUF1QixJQUFBLElBQUksRUFBQztBQUE1QixJQURGLGVBRUU7QUFBTSxJQUFBLElBQUksRUFBQyx5RUFBWDtBQUFxRixJQUFBLEdBQUcsRUFBQztBQUF6RixJQUZGLGVBR0U7QUFBTSxJQUFBLElBQUksRUFBQyx5REFBWDtBQUFxRSxJQUFBLEdBQUcsRUFBQztBQUF6RSxJQUhGLGVBSUU7QUFBTSxJQUFBLElBQUksRUFBQyxrRUFBWDtBQUE4RSxJQUFBLEdBQUcsRUFBQztBQUFsRixJQUpGLENBREYsZUFPRSw2Q0FDR0EsUUFESCxDQVBGLENBREY7QUFhRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIFN0b3J5V3JhcHBlcihwcm9wcykge1xuICBjb25zdCB7IGNoaWxkcmVuIH0gPSBwcm9wcztcblxuICByZXR1cm4gKFxuICAgIDw+XG4gICAgICA8ZGl2PlxuICAgICAgICA8bGluayByZWw9XCJwcmVjb25uZWN0XCIgaHJlZj1cImh0dHBzOi8vZm9udHMuZ3N0YXRpYy5jb21cIiAvPlxuICAgICAgICA8bGluayBocmVmPVwiaHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3MyP2ZhbWlseT1MYXRvOndnaHRANDAwOzcwMCZkaXNwbGF5PXN3YXBcIiByZWw9XCJzdHlsZXNoZWV0XCIgLz5cbiAgICAgICAgPGxpbmsgaHJlZj1cImh0dHBzOi8vZm9udHMuZ29vZ2xlYXBpcy5jb20vaWNvbj9mYW1pbHk9TWF0ZXJpYWwrSWNvbnNcIiByZWw9XCJzdHlsZXNoZWV0XCIgLz5cbiAgICAgICAgPGxpbmsgaHJlZj1cImh0dHBzOi8vZm9udHMuZ29vZ2xlYXBpcy5jb20vaWNvbj9mYW1pbHk9TWF0ZXJpYWwrSWNvbnMrT3V0bGluZWRcIiByZWw9XCJzdHlsZXNoZWV0XCIgLz5cbiAgICAgIDwvZGl2PlxuICAgICAgPGRpdj5cbiAgICAgICAge2NoaWxkcmVufVxuICAgICAgPC9kaXY+XG4gICAgPC8+XG4gICk7XG59XG4iXX0= \ No newline at end of file diff --git a/libs/components/common/atomicjolt_loader.js b/libs/components/common/atomicjolt_loader.js index 8e9237b..06105d8 100644 --- a/libs/components/common/atomicjolt_loader.js +++ b/libs/components/common/atomicjolt_loader.js @@ -115,4 +115,5 @@ _defineProperty(Loader, "propTypes", { var _default = (0, _settings.withSettings)(Loader); -exports["default"] = _default; \ No newline at end of file +exports["default"] = _default; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb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JldHVybiAoXG4gICAgICA8ZGl2IGNsYXNzTmFtZT1cImFqLWxvYWRlclwiPlxuICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cImF0b21pY2pvbHQtbG9hZGluZy1hbmltYXRpb25cIj5cbiAgICAgICAgICA8c3ZnIHhtbG5zPVwiaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmdcIiB2aWV3Qm94PVwiMCAwIDkxLjg3IDExNC4wOVwiIHJvbGU9XCJpbWdcIiBhcmlhLWxhYmVsPVwibG9hZGluZ1wiPlxuICAgICAgICAgICAgPGcgZGF0YS1uYW1lPVwiTGF5ZXIgMlwiPlxuICAgICAgICAgICAgICA8cG9seWdvbiBjbGFzc05hbWU9XCJjbHMtMVwiIHBvaW50cz1cIjQwLjQ1IDExMS4zMiA4OS4xMSA5OS4yNiA3MS4zNSAxOS45IDIxLjEgODkuNzEgNDAuNDUgMTExLjMyXCIgLz5cbiAgICAgICAgICAgICAgPHBvbHlsaW5lIGNsYXNzTmFtZT1cImNscy0yXCIgcG9pbnRzPVwiNTAuNjcgMi43NyAyLjc3IDY5Ljk2IDI1LjQ3IDk0LjY1IDY2LjM2IDg0LjEzIDUwLjY3IDIuNzcgNzEuMzUgMTkuOVwiIC8+XG4gICAgICAgICAgICA8L2c+XG4gICAgICAgICAgPC9zdmc+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8cCBjbGFzc05hbWU9XCJsb2FkZXItdGV4dFwiPnsgdGhpcy5wcm9wcy5tZXNzYWdlIH08L3A+XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IHdpdGhTZXR0aW5ncyhMb2FkZXIpO1xuIl19 \ No newline at end of file diff --git a/libs/components/common/errors/inline_error.js b/libs/components/common/errors/inline_error.js index 621aefa..f1b01ca 100644 --- a/libs/components/common/errors/inline_error.js +++ b/libs/components/common/errors/inline_error.js @@ -77,4 +77,5 @@ exports["default"] = InlineError; _defineProperty(InlineError, "propTypes", { error: _propTypes["default"].string -}); \ No newline at end of file +}); +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2NvbW1vbi9lcnJvcnMvaW5saW5lX2Vycm9yLmpzeCJdLCJuYW1lcyI6WyJyZW5kZXJTdHlsZXMiLCJJbmxpbmVFcnJvciIsInByb3BzIiwiZXJyb3IiLCJSZWFjdCIsIlB1cmVDb21wb25lbnQiLCJQcm9wVHlwZXMiLCJzdHJpbmciXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUNBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUVBLFNBQVNBLFlBQVQsR0FBd0I7QUFDdEI7QUFhQTtBQUtBO0FBUUE7QUFNQTtBQUdEOztJQUNvQkMsVzs7Ozs7Ozs7Ozs7OztXQU1uQixrQkFBUztBQUNQRCxNQUFBQSxZQUFZO0FBQ1osMEJBQ0U7QUFBSyxRQUFBLFNBQVMsRUFBQztBQUFmLHNCQUNFO0FBQUcsUUFBQSxTQUFTLEVBQUM7QUFBYixpQkFERixlQUVFLG9EQUZGLGVBR0U7QUFBSyxRQUFBLFNBQVMsRUFBQztBQUFmLFNBQ0ksS0FBS0UsS0FBTCxDQUFXQyxLQURmLENBSEYsQ0FERjtBQVNEOzs7O0VBakJzQ0Msa0JBQU1DLGE7Ozs7Z0JBQTFCSixXLGVBRUE7QUFDakJFLEVBQUFBLEtBQUssRUFBRUcsc0JBQVVDO0FBREEsQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgUHJvcFR5cGVzIGZyb20gJ3Byb3AtdHlwZXMnO1xuaW1wb3J0IGFkZFN0eWxlcyBmcm9tICcuLi8uLi8uLi9saWJzL3N0eWxlcyc7XG5cbmZ1bmN0aW9uIHJlbmRlclN0eWxlcyg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1xuICAgIG1hcmdpbi1yaWdodDogMC44cmVtO1xuICB9YCk7XG59XG5leHBvcnQgZGVmYXVsdCBjbGFzcyBJbmxpbmVFcnJvciBleHRlbmRzIFJlYWN0LlB1cmVDb21wb25lbnQge1xuXG4gIHN0YXRpYyBwcm9wVHlwZXMgPSB7XG4gICAgZXJyb3I6IFByb3BUeXBlcy5zdHJpbmcsXG4gIH07XG5cbiAgcmVuZGVyKCkge1xuICAgIHJlbmRlclN0eWxlcygpO1xuICAgIHJldHVybiAoXG4gICAgICA8ZGl2IGNsYXNzTmFtZT1cImVycm9yLWJhbm5lclwiPlxuICAgICAgICA8aSBjbGFzc05hbWU9XCJtYXRlcmlhbC1pY29uc1wiPmVycm9yPC9pPlxuICAgICAgICA8aDM+RXJyb3I8L2gzPlxuICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cImVycm9yLWJhbm5lcl9fY29udGVudFwiPlxuICAgICAgICAgIHsgdGhpcy5wcm9wcy5lcnJvciB9XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgKTtcbiAgfVxufVxuIl19 \ No newline at end of file diff --git a/libs/components/common/gql_status.js b/libs/components/common/gql_status.js index ad07b49..db4065f 100644 --- a/libs/components/common/gql_status.js +++ b/libs/components/common/gql_status.js @@ -37,4 +37,5 @@ GqlStatus.propTypes = { message: _propTypes["default"].string }), loadMessage: _propTypes["default"].string -}; \ No newline at end of file +}; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2NvbW1vbi9ncWxfc3RhdHVzLmpzeCJdLCJuYW1lcyI6WyJHcWxTdGF0dXMiLCJwcm9wcyIsImxvYWRpbmciLCJsb2FkTWVzc2FnZSIsImVycm9yIiwibWVzc2FnZSIsInByb3BUeXBlcyIsIlByb3BUeXBlcyIsImJvb2wiLCJzaGFwZSIsInN0cmluZyJdLCJtYXBwaW5ncyI6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NKb2x0TG9hZGVyIG1lc3NhZ2U9e3Byb3BzLmxvYWRNZXNzYWdlfSAvPlxuICAgICk7XG4gIH1cblxuICBpZiAocHJvcHMuZXJyb3IpIHtcbiAgICByZXR1cm4gPElubGluZUVycm9yIGVycm9yPXtwcm9wcy5lcnJvci5tZXNzYWdlfSAvPjtcbiAgfVxuXG4gIHJldHVybiBudWxsO1xufVxuXG5HcWxTdGF0dXMucHJvcFR5cGVzID0ge1xuICBsb2FkaW5nOiBQcm9wVHlwZXMuYm9vbCxcbiAgZXJyb3I6IFByb3BUeXBlcy5zaGFwZSh7IG1lc3NhZ2U6IFByb3BUeXBlcy5zdHJpbmcgfSksXG4gIGxvYWRNZXNzYWdlOiBQcm9wVHlwZXMuc3RyaW5nLFxufTtcbiJdfQ== \ No newline at end of file diff --git a/libs/components/common/resize_wrapper.js b/libs/components/common/resize_wrapper.js index 3b163d6..67ff4ea 100644 --- a/libs/components/common/resize_wrapper.js +++ b/libs/components/common/resize_wrapper.js @@ -33,4 +33,5 @@ function ResizeWrapper(props) { ResizeWrapper.propTypes = { children: _propTypes["default"].node, getSize: _propTypes["default"].func -}; \ No newline at end of file +}; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2NvbW1vbi9yZXNpemVfd3JhcHBlci5qc3giXSwibmFtZXMiOlsiUmVzaXplV3JhcHBlciIsInByb3BzIiwiY2hpbGRyZW4iLCJnZXRTaXplIiwicHJvcFR5cGVzIiwibm9kZSIsImZ1bmMiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUNBOzs7Ozs7OztBQUVlLFNBQVNBLGFBQVQsQ0FBdUJDLEtBQXZCLEVBQThCO0FBRTNDLE1BQVFDLFFBQVIsR0FBOEJELEtBQTlCLENBQVFDLFFBQVI7QUFBQSxNQUFrQkMsT0FBbEIsR0FBOEJGLEtBQTlCLENBQWtCRSxPQUFsQjtBQUVBLHdCQUFVLFlBQU07QUFDZCxtQ0FBa0JBLE9BQWxCO0FBQ0QsR0FGRCxFQUVHLEVBRkg7QUFJQSxzQkFDRSxrRUFDR0QsUUFESCxlQUVFO0FBQUssSUFBQSxFQUFFLEVBQUM7QUFBUixJQUZGLENBREY7QUFNRDs7QUFFREYsYUFBYSxDQUFDSSxTQUFkLEdBQTBCO0FBQ3hCRixFQUFBQSxRQUFRLEVBQUVFLHNCQUFVQyxJQURJO0FBRXhCRixFQUFBQSxPQUFPLEVBQUVDLHNCQUFVRTtBQUZLLENBQTFCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IHVzZUVmZmVjdCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCBwcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5pbXBvcnQgaW5pdFJlc2l6ZUhhbmRsZXIgZnJvbSAnLi4vLi4vbGlicy9yZXNpemVfaWZyYW1lJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gUmVzaXplV3JhcHBlcihwcm9wcykge1xuXG4gIGNvbnN0IHsgY2hpbGRyZW4sIGdldFNpemUgfSA9IHByb3BzO1xuXG4gIHVzZUVmZmVjdCgoKSA9PiB7XG4gICAgaW5pdFJlc2l6ZUhhbmRsZXIoZ2V0U2l6ZSk7XG4gIH0sIFtdKTtcblxuICByZXR1cm4gKFxuICAgIDw+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgICA8ZGl2IGlkPVwiY29udGVudC1tZWFzdXJpbmctc3RpY2tcIiAvPlxuICAgIDwvPlxuICApO1xufVxuXG5SZXNpemVXcmFwcGVyLnByb3BUeXBlcyA9IHtcbiAgY2hpbGRyZW46IHByb3BUeXBlcy5ub2RlLFxuICBnZXRTaXplOiBwcm9wVHlwZXMuZnVuYyxcbn07XG4iXX0= \ No newline at end of file diff --git a/libs/components/settings.js b/libs/components/settings.js index d487811..87b267f 100644 --- a/libs/components/settings.js +++ b/libs/components/settings.js @@ -34,4 +34,5 @@ function withSettings(Component) { })); }); }; -} \ No newline at end of file +} +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL3NldHRpbmdzLmpzeCJdLCJuYW1lcyI6WyJ1cGRhdGVHbG9iYWxTZXR0aW5nIiwiU2V0dGluZ3NDb250ZXh0IiwiUmVhY3QiLCJjcmVhdGVDb250ZXh0Iiwid2luZG93IiwiREVGQVVMVF9TRVRUSU5HUyIsIndpdGhTZXR0aW5ncyIsIkNvbXBvbmVudCIsIlNldHRpbmdzQ29tcG9uZW50IiwicHJvcHMiLCJzZXR0aW5ncyJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQTs7Ozs7Ozs7Ozs7O0FBQ0EsSUFBTUEsbUJBQW1CLEdBQUcsU0FBdEJBLG1CQUFzQixHQUFNLENBQUUsQ0FBcEM7O0FBQ08sSUFBTUMsZUFBZSxnQkFBR0Msa0JBQU1DLGFBQU4saUNBQzFCQyxNQUFNLENBQUNDLGdCQURtQjtBQUU3QkwsRUFBQUEsbUJBQW1CLEVBQW5CQTtBQUY2QixHQUF4Qjs7OztBQUlBLFNBQVNNLFlBQVQsQ0FBc0JDLFNBQXRCLEVBQWlDO0FBQ3RDLFNBQU8sU0FBU0MsaUJBQVQsQ0FBMkJDLEtBQTNCLEVBQWtDO0FBQ3ZDLHdCQUNFLGdDQUFDLGVBQUQsQ0FBaUIsUUFBakIsUUFDRyxVQUFDQyxRQUFEO0FBQUEsMEJBQWMsZ0NBQUMsU0FBRCxlQUFlRCxLQUFmO0FBQXNCLFFBQUEsUUFBUSxFQUFFQztBQUFoQyxTQUFkO0FBQUEsS0FESCxDQURGO0FBS0QsR0FORDtBQU9EIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmNvbnN0IHVwZGF0ZUdsb2JhbFNldHRpbmcgPSAoKSA9PiB7fTtcbmV4cG9ydCBjb25zdCBTZXR0aW5nc0NvbnRleHQgPSBSZWFjdC5jcmVhdGVDb250ZXh0KHtcbiAgLi4ud2luZG93LkRFRkFVTFRfU0VUVElOR1MsXG4gIHVwZGF0ZUdsb2JhbFNldHRpbmdcbn0pO1xuZXhwb3J0IGZ1bmN0aW9uIHdpdGhTZXR0aW5ncyhDb21wb25lbnQpIHtcbiAgcmV0dXJuIGZ1bmN0aW9uIFNldHRpbmdzQ29tcG9uZW50KHByb3BzKSB7XG4gICAgcmV0dXJuIChcbiAgICAgIDxTZXR0aW5nc0NvbnRleHQuQ29uc3VtZXI+XG4gICAgICAgIHsoc2V0dGluZ3MpID0+IDxDb21wb25lbnQgey4uLnByb3BzfSBzZXR0aW5ncz17c2V0dGluZ3N9IC8+fVxuICAgICAgPC9TZXR0aW5nc0NvbnRleHQuQ29uc3VtZXI+XG4gICAgKTtcbiAgfTtcbn0iXX0= \ No newline at end of file diff --git a/libs/constants/error.js b/libs/constants/error.js index 5caa724..01355d3 100644 --- a/libs/constants/error.js +++ b/libs/constants/error.js @@ -9,4 +9,5 @@ var _default = { ERROR: 'NETWORK_ERROR', NOT_AUTHORIZED: 'NETWORK_NOT_AUTHORIZED' }; -exports["default"] = _default; \ No newline at end of file +exports["default"] = _default; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb25zdGFudHMvZXJyb3IuanMiXSwibmFtZXMiOlsiVElNRU9VVCIsIkVSUk9SIiwiTk9UX0FVVEhPUklaRUQiXSwibWFwcGluZ3MiOiI7Ozs7OztlQUFlO0FBQ2JBLEVBQUFBLE9BQU8sRUFBUyxpQkFESDtBQUViQyxFQUFBQSxLQUFLLEVBQVcsZUFGSDtBQUdiQyxFQUFBQSxjQUFjLEVBQUU7QUFISCxDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQge1xuICBUSU1FT1VUOiAgICAgICAgJ05FVFdPUktfVElNRU9VVCcsXG4gIEVSUk9SOiAgICAgICAgICAnTkVUV09SS19FUlJPUicsXG4gIE5PVF9BVVRIT1JJWkVEOiAnTkVUV09SS19OT1RfQVVUSE9SSVpFRCcsXG59O1xuIl19 \ No newline at end of file diff --git a/libs/constants/network.js b/libs/constants/network.js index 04bb62f..7823d70 100644 --- a/libs/constants/network.js +++ b/libs/constants/network.js @@ -11,4 +11,5 @@ var _default = { DEL: 'delete', TIMEOUT: 20000 }; -exports["default"] = _default; \ No newline at end of file +exports["default"] = _default; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb25zdGFudHMvbmV0d29yay5qcyJdLCJuYW1lcyI6WyJHRVQiLCJQT1NUIiwiUFVUIiwiREVMIiwiVElNRU9VVCJdLCJtYXBwaW5ncyI6Ijs7Ozs7O2VBQWU7QUFDYkEsRUFBQUEsR0FBRyxFQUFNLEtBREk7QUFFYkMsRUFBQUEsSUFBSSxFQUFLLE1BRkk7QUFHYkMsRUFBQUEsR0FBRyxFQUFNLEtBSEk7QUFJYkMsRUFBQUEsR0FBRyxFQUFNLFFBSkk7QUFLYkMsRUFBQUEsT0FBTyxFQUFFO0FBTEksQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IHtcbiAgR0VUOiAgICAgJ2dldCcsXG4gIFBPU1Q6ICAgICdwb3N0JyxcbiAgUFVUOiAgICAgJ3B1dCcsXG4gIERFTDogICAgICdkZWxldGUnLFxuICBUSU1FT1VUOiAyMDAwMCxcbn07XG4iXX0= \ No newline at end of file diff --git a/libs/constants/wrapper.js b/libs/constants/wrapper.js index d228b21..e39104c 100644 --- a/libs/constants/wrapper.js +++ b/libs/constants/wrapper.js @@ -31,4 +31,5 @@ function _default(actionTypes, asyncActionTypes) { }, types); types.DONE = DONE; return types; -} \ No new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sIGFzeW5jQWN0aW9uVHlwZXMpIHtcblxuICBsZXQgdHlwZXMgPSBfLnJlZHVjZShhY3Rpb25UeXBlcywgKHJlc3VsdCwga2V5KSA9PiAoe1xuICAgIC4uLnJlc3VsdCxcbiAgICBba2V5XToga2V5XG4gIH0pLCB7fSk7XG5cbiAgdHlwZXMgPSBfLnJlZHVjZShhc3luY0FjdGlvblR5cGVzLCAocmVzdWx0LCBrZXkpID0+ICh7XG4gICAgLi4ucmVzdWx0LFxuICAgIFtrZXldOiBrZXksXG4gICAgW2Ake2tleX0ke0RPTkV9YF06IGAke2tleX0ke0RPTkV9YFxuICB9KSwgdHlwZXMpO1xuXG4gIHR5cGVzLkRPTkUgPSBET05FO1xuXG4gIHJldHVybiB0eXBlcztcbn1cbiJdfQ== \ No newline at end of file diff --git a/libs/decorators/modal.js b/libs/decorators/modal.js index a56a027..945ba65 100644 --- a/libs/decorators/modal.js +++ b/libs/decorators/modal.js @@ -25,4 +25,5 @@ function modalDecorator(Component, name) { }; return (0, _reactRedux.connect)(select, ModalActions)(Component); -} \ No newline at end of file +} +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kZWNvcmF0b3JzL21vZGFsLmpzIl0sIm5hbWVzIjpbIm1vZGFsRGVjb3JhdG9yIiwiQ29tcG9uZW50IiwibmFtZSIsInNlbGVjdCIsIm1vZGFsIiwiaXNPcGVuIiwiY3VycmVudE9wZW5Nb2RhbCIsIk1vZGFsQWN0aW9ucyJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7O0FBQ0E7Ozs7OztBQUdBO0FBQ2UsU0FBU0EsY0FBVCxDQUF3QkMsU0FBeEIsRUFBbUNDLElBQW5DLEVBQXlDO0FBQ3RELE1BQU1DLE1BQU0sR0FBRyxTQUFUQSxNQUFTO0FBQUEsUUFBR0MsS0FBSCxRQUFHQSxLQUFIO0FBQUEsV0FBZ0I7QUFBRUMsTUFBQUEsTUFBTSxFQUFFRCxLQUFLLENBQUNFLGdCQUFOLEtBQTJCSjtBQUFyQyxLQUFoQjtBQUFBLEdBQWY7O0FBQ0EsU0FBTyx5QkFBUUMsTUFBUixFQUFnQkksWUFBaEIsRUFBOEJOLFNBQTlCLENBQVA7QUFDRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNvbm5lY3QgfSBmcm9tICdyZWFjdC1yZWR1eCc7XG5pbXBvcnQgKiBhcyBNb2RhbEFjdGlvbnMgZnJvbSAnLi4vYWN0aW9ucy9tb2RhbCc7XG5cblxuLy8gRG9udCB1c2Ugd2l0aCBkZWNvcmF0b3Igc3ludGF4IGJ1dCBpdCBpcyBhIGRlY29yYXRvciBub24gdGhlIGxlc3NcbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIG1vZGFsRGVjb3JhdG9yKENvbXBvbmVudCwgbmFtZSkge1xuICBjb25zdCBzZWxlY3QgPSAoeyBtb2RhbCB9KSA9PiAoeyBpc09wZW46IG1vZGFsLmN1cnJlbnRPcGVuTW9kYWwgPT09IG5hbWUgfSk7XG4gIHJldHVybiBjb25uZWN0KHNlbGVjdCwgTW9kYWxBY3Rpb25zKShDb21wb25lbnQpO1xufVxuIl19 \ No newline at end of file diff --git a/libs/graphql/atomic_mutation.js b/libs/graphql/atomic_mutation.js index 2624764..7fd311a 100644 --- a/libs/graphql/atomic_mutation.js +++ b/libs/graphql/atomic_mutation.js @@ -76,4 +76,5 @@ exports["default"] = AtomicMutation; _defineProperty(AtomicMutation, "propTypes", { children: _propTypes["default"].func.isRequired -}); \ No newline at end of file +}); +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ncmFwaHFsL2F0b21pY19tdXRhdGlvbi5qc3giXSwibmFtZXMiOlsiQXRvbWljTXV0YXRpb24iLCJwcm9wcyIsIm1ldGhvZCIsInJlc3VsdCIsImVycm9y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CBjbGFzcyBBdG9taWNNdXRhdGlvbiBleHRlbmRzIFJlYWN0LkNvbXBvbmVudCB7XG5cbiAgc3RhdGljIHByb3BUeXBlcyA9IHtcbiAgICBjaGlsZHJlbjogUHJvcFR5cGVzLmZ1bmMuaXNSZXF1aXJlZCxcbiAgfTtcblxuICByZW5kZXIoKSB7XG4gICAgcmV0dXJuIChcbiAgICAgIDxNdXRhdGlvbiB7Li4udGhpcy5wcm9wc30+XG4gICAgICAgIHsobWV0aG9kLCByZXN1bHQpID0+IHtcbiAgICAgICAgICBjb25zdCB7IGVycm9yIH0gPSByZXN1bHQ7XG4gICAgICAgICAgaWYgKGVycm9yKSB7XG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICA8SW5saW5lRXJyb3IgZXJyb3I9e2Vycm9yLm1lc3NhZ2V9IC8+XG4gICAgICAgICAgICApO1xuICAgICAgICAgIH1cbiAgICAgICAgICByZXR1cm4gdGhpcy5wcm9wcy5jaGlsZHJlbihtZXRob2QsIHJlc3VsdCk7XG4gICAgICAgIH19XG4gICAgICA8L011dGF0aW9uPlxuICAgICk7XG4gIH1cblxufVxuIl19 \ No newline at end of file diff --git a/libs/graphql/atomic_query.js b/libs/graphql/atomic_query.js index 021fce6..e868b01 100644 --- a/libs/graphql/atomic_query.js +++ b/libs/graphql/atomic_query.js @@ -138,4 +138,5 @@ _defineProperty(AtomicQuery, "propTypes", { _defineProperty(AtomicQuery, "defaultProps", { onDataReady: function onDataReady() {}, onDataLoading: function onDataLoading() {} -}); \ No newline at end of file +}); +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ncmFwaHFsL2F0b21pY19xdWVyeS5qc3giXSwibmFtZXMiOlsiQXRvbWljUXVlcnkiLCJwcm9wcyIsInJlc3VsdCIsImxvYWRpbmciLCJlcnJvciIsImRhdGFMb2FkaW5nIiwib25EYXRhTG9hZGluZyIsImRhdGFSZW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YWRlciBtZXNzYWdlPXt0aGlzLnByb3BzLmxvYWRpbmdNZXNzYWdlfS8+XG4gICAgICAgICAgICApO1xuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAoZXJyb3IpIHtcbiAgICAgICAgICAgIGlmIChlcnJvci5uZXR3b3JrRXJyb3IgJiZcbiAgICAgICAgICAgICAgZXJyb3IubmV0d29ya0Vycm9yLnJlc3VsdCAmJlxuICAgICAgICAgICAgICBlcnJvci5uZXR3b3JrRXJyb3IucmVzdWx0LmNhbnZhc19hdXRob3JpemF0aW9uX3JlcXVpcmVkKSB7XG4gICAgICAgICAgICAgIC8vIFRoaXMgZXJyb3Igd2lsbCBiZSBoYW5kbGVkIGJ5IGEgQ2FudmFzIHJlYXV0aC4gRG9uJ3Qgb3V0cHV0IGFuIGVycm9yLlxuICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKGVycm9yLm5ldHdvcmtFcnJvciAmJlxuICAgICAgICAgICAgICBlcnJvci5uZXR3b3JrRXJyb3IuYm9keVRleHQgJiZcbiAgICAgICAgICAgICAgZXJyb3IubmV0d29ya0Vycm9yLmJvZHlUZXh0LmluZGV4T2YoJ0pXVDo6RXhwaXJlZFNpZ25hdHVyZScpID49IDApIHtcbiAgICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgICA8SW5saW5lRXJyb3IgZXJyb3I9XCJZb3VyIGF1dGhlbnRpY2F0aW9uIHRva2VuIGhhcyBleHBpcmVkLiBQbGVhc2UgcmVmcmVzaCB0aGUgcGFnZSB0byBlbmFibGUgYXV0aGVudGljYXRpb24uXCIgLz5cbiAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgPElubGluZUVycm9yIGVycm9yPXtlcnJvci5tZXNzYWdlfSAvPlxuICAgICAgICAgICAgKTtcbiAgICAgICAgICB9XG4gICAgICAgICAgaWYgKCF0aGlzLmRhdGFSZWFkeSkge1xuICAgICAgICAgICAgdGhpcy5wcm9wcy5vbkRhdGFSZWFkeShyZXN1bHQuZGF0YSk7XG4gICAgICAgICAgICB0aGlzLmRhdGFSZWFkeSA9IHRydWU7XG4gICAgICAgICAgICB0aGlzLmRhdGFMb2FkaW5nID0gZmFsc2U7XG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiB0aGlzLnByb3BzLmNoaWxkcmVuKHJlc3VsdCk7XG4gICAgICAgIH19XG4gICAgICA8L1F1ZXJ5PlxuICAgICk7XG4gIH1cblxufVxuIl19 \ No newline at end of file diff --git a/libs/index.js b/libs/index.js index 3dd20a2..847729c 100644 --- a/libs/index.js +++ b/libs/index.js @@ -209,6 +209,18 @@ Object.defineProperty(exports, "BannerTypes", { return _Banner.BannerTypes; } }); +Object.defineProperty(exports, "Button", { + enumerable: true, + get: function get() { + return _Button.Button; + } +}); +Object.defineProperty(exports, "ButtonType", { + enumerable: true, + get: function get() { + return _Button.ButtonType; + } +}); Object.defineProperty(exports, "AtomicMutation", { enumerable: true, get: function get() { @@ -286,6 +298,8 @@ var _inline_error = _interopRequireDefault(require("./components/common/errors/i var _Banner = require("./components/Banner"); +var _Button = require("./components/Button"); + var _atomic_mutation = _interopRequireDefault(require("./graphql/atomic_mutation")); var _atomic_query = _interopRequireDefault(require("./graphql/atomic_query")); @@ -300,4 +314,5 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } \ No newline at end of file +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUNBOztBQUtBOztBQUlBOztBQUtBOztBQU1BOztBQUNBOztBQUNBOztBQUNBOztBQU1BOztBQUNBOztBQU1BOztBQUdBOztBQUdBOztBQUNBOztBQVFBOztBQUlBOztBQUlBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUdBOztBQUNBOztBQUdBOztBQUdBOztBQUNBIiwic291cmNlc0NvbnRlbnQiOlsiLy8gUkVEVVggQUNUSU9OU1xuZXhwb3J0IHtcbiAgYWRkRXJyb3IgYXMgYWRkRXJyb3JBY3Rpb24sXG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zIElmcmFtZVJlc2l6ZVdyYXBwZXIgfSBmcm9tICcuL2NvbXBvbmVudHMvY29tbW9uL3Jlc2l6ZV93cmFwcGVyJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgSW5saW5lRXJyb3IgfSBmcm9tICcuL2NvbXBvbmVudHMvY29tbW9uL2Vycm9ycy9pbmxpbmVfZXJyb3InO1xuZXhwb3J0IHsgQmFubmVyLCBCYW5uZXJUeXBlcyB9IGZyb20gJy4vY29tcG9uZW50cy9CYW5uZXInO1xuZXhwb3J0IHsgQnV0dG9uLCBCdXR0b25UeXBlIH0gZnJvbSAnLi9jb21wb25lbnRzL0J1dHRvbic7XG5cbi8vIEFQT0xMTyBSRUFDVCBDT01QT05FTlRTXG5leHBvcnQgeyBkZWZhdWx0IGFzIEF0b21pY011dGF0aW9uIH0gZnJvbSAnLi9ncmFwaHFsL2F0b21pY19tdXRhdGlvbic7XG5leHBvcnQgeyBkZWZhdWx0IGFzIEF0b21pY1F1ZXJ5IH0gZnJvbSAnLi9ncmFwaHFsL2F0b21pY19xdWVyeSc7XG5cbi8vIERFQ09SQVRPUlNcbmV4cG9ydCB7IGRlZmF1bHQgYXMgbW9kYWxEZWNvcmF0b3IgfSBmcm9tICcuL2RlY29yYXRvcnMvbW9kYWwnO1xuXG4vLyBMSUJTXG5leHBvcnQgeyBkZWZhdWx0IGFzIGlmcmFtZVJlc2l6ZUhhbmRsZXIgfSBmcm9tICcuL2xpYnMvcmVzaXplX2lmcmFtZSc7XG5leHBvcnQge1xuICBpc0x0aUluc3RydWN0b3IsXG4gIGlzTHRpQWRtaW5cbn0gZnJvbSAnLi9saWJzL2x0aV9yb2xlcyc7XG4iXX0= \ No newline at end of file diff --git a/libs/libs/lti_roles.js b/libs/libs/lti_roles.js index 8dcb745..87f016e 100644 --- a/libs/libs/lti_roles.js +++ b/libs/libs/lti_roles.js @@ -16,4 +16,5 @@ function isLtiInstructor(roles) { function isLtiAdmin(roles) { return _lodash["default"].includes(roles, 'urn:lti:role:ims/lis/Administrator') || _lodash["default"].includes(roles, 'urn:lti:instrole:ims/lis/Administrator') || _lodash["default"].includes(roles, 'urn:lti:sysrole:ims/lis/SysAdmin') || _lodash["default"].includes(roles, 'urn:lti:sysrole:ims/lis/Administrator'); -} \ No newline at end of file +} +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWJzL2x0aV9yb2xlcy5qcyJdLCJuYW1lcyI6WyJpc0x0aUluc3RydWN0b3IiLCJyb2xlcyIsIl8iLCJpbmNsdWRlcyIsImlzTHRpQWRtaW4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7Ozs7QUFFTyxTQUFTQSxlQUFULENBQXlCQyxLQUF6QixFQUFnQztBQUNyQyxTQUFPQyxtQkFBRUMsUUFBRixDQUFXRixLQUFYLEVBQWtCLGlDQUFsQixDQUFQO0FBQ0Q7O0FBRU0sU0FBU0csVUFBVCxDQUFvQkgsS0FBcEIsRUFBMkI7QUFDaEMsU0FBT0MsbUJBQUVDLFFBQUYsQ0FBV0YsS0FBWCxFQUFrQixvQ0FBbEIsS0FDRkMsbUJBQUVDLFFBQUYsQ0FBV0YsS0FBWCxFQUFrQix3Q0FBbEIsQ0FERSxJQUVGQyxtQkFBRUMsUUFBRixDQUFXRixLQUFYLEVBQWtCLGtDQUFsQixDQUZFLElBR0ZDLG1CQUFFQyxRQUFGLENBQVdGLEtBQVgsRUFBa0IsdUNBQWxCLENBSEw7QUFJRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBfIGZyb20gJ2xvZGFzaCc7XG5cbmV4cG9ydCBmdW5jdGlvbiBpc0x0aUluc3RydWN0b3Iocm9sZXMpIHtcbiAgcmV0dXJuIF8uaW5jbHVkZXMocm9sZXMsICd1cm46bHRpOnJvbGU6aW1zL2xpcy9JbnN0cnVjdG9yJyk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBpc0x0aUFkbWluKHJvbGVzKSB7XG4gIHJldHVybiBfLmluY2x1ZGVzKHJvbGVzLCAndXJuOmx0aTpyb2xlOmltcy9saXMvQWRtaW5pc3RyYXRvcicpXG4gICAgfHwgXy5pbmNsdWRlcyhyb2xlcywgJ3VybjpsdGk6aW5zdHJvbGU6aW1zL2xpcy9BZG1pbmlzdHJhdG9yJylcbiAgICB8fCBfLmluY2x1ZGVzKHJvbGVzLCAndXJuOmx0aTpzeXNyb2xlOmltcy9saXMvU3lzQWRtaW4nKVxuICAgIHx8IF8uaW5jbHVkZXMocm9sZXMsICd1cm46bHRpOnN5c3JvbGU6aW1zL2xpcy9BZG1pbmlzdHJhdG9yJyk7XG59XG4iXX0= \ No newline at end of file diff --git a/libs/libs/resize_iframe.js b/libs/libs/resize_iframe.js index 5050830..1f079fe 100644 --- a/libs/libs/resize_iframe.js +++ b/libs/libs/resize_iframe.js @@ -40,4 +40,5 @@ function initResizeHandler() { subtree: true, characterData: true }); -} \ No newline at end of file +} +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWJzL3Jlc2l6ZV9pZnJhbWUuanMiXSwibmFtZXMiOlsiY3VycmVudEhlaWdodCIsInNlbmRMdGlJZnJhbWVSZXNpemUiLCJoZWlnaHQiLCJtZXNzYWdlIiwic3ViamVjdCIsImRlZmF1bHRHZXRTaXplIiwicnVsZXIiLCJkb2N1bWVudCIsImdldEVsZW1lbnRCeUlkIiwib2Zmc2V0VG9wIiwiaW5pdFJlc2l6ZUhhbmRsZXIiLCJnZXRTaXplIiwiaGFuZGxlUmVzaXplIiwibU9ic2VydmVyIiwiTXV0YXRpb25PYnNlcnZlciIsIndpbmRvdyIsImFkZEV2ZW50TGlzdGVuZXIiLCJvYnNlcnZlIiwiZG9jdW1lbnRFbGVtZW50IiwiYXR0cmlidXRlcyIsImNoaWxkTGlzdCIsInN1YnRyZWUiLCJjaGFyYWN0ZXJEYXRh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cigncmVzaXplJywgaGFuZGxlUmVzaXplKTtcbiAgbU9ic2VydmVyLm9ic2VydmUoXG4gICAgZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50LFxuICAgIHtcbiAgICAgIGF0dHJpYnV0ZXM6IHRydWUsIGNoaWxkTGlzdDogdHJ1ZSwgc3VidHJlZTogdHJ1ZSwgY2hhcmFjdGVyRGF0YTogdHJ1ZVxuICAgIH1cbiAgKTtcbn1cbiJdfQ== \ No newline at end of file diff --git a/libs/libs/styles.js b/libs/libs/styles.js index 66bd47f..ab1a2bc 100644 --- a/libs/libs/styles.js +++ b/libs/libs/styles.js @@ -35,4 +35,5 @@ function getAddStyles() { var _default = getAddStyles(); -exports["default"] = _default; \ No newline at end of file +exports["default"] = _default; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWJzL3N0eWxlcy5qcyJdLCJuYW1lcyI6WyJnZXRBZGRTdHlsZXMiLCJzZWxlY3RvclRleHRSZWdleCIsIm1lbW8iLCJpZCIsInN0eWxlRWwiLCJkb2N1bWVudCIsImdldEVsZW1lbnRCeUlkIiwic3R5bGVzIiwiY3JlYXRlRWxlbWVudCIsImhlYWQiLCJhcHBlbmRDaGlsZCIsImNsYXNzZXMiLCJtYXRjaCIsInRyaW0iLCJ1bmRlZmluZWQiLCJzdHlsZVNoZWV0Iiwic2hlZXQiLCJpbnNlcnRSdWxlIiwiY3NzUnVsZXMiLCJsZW5ndGgiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQSxTQUFTQSxZQUFULEdBQW1EO0FBQUEsTUFBN0JDLGlCQUE2Qix1RUFBVCxPQUFTO0FBQ2pELE1BQU1DLElBQUksR0FBRyxFQUFiO0FBQ0EsTUFBTUMsRUFBRSxHQUFHLG9CQUFYO0FBRUEsTUFBSUMsT0FBTyxHQUFHQyxRQUFRLENBQUNDLGNBQVQsQ0FBd0JILEVBQXhCLENBQWQ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xuICAgICAgc3R5bGVFbCA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3N0eWxlJyk7XG4gICAgICBzdHlsZUVsLmlkID0gaWQ7XG4gICAgICBkb2N1bWVudC5oZWFkLmFwcGVuZENoaWxkKHN0eWxlRWwpO1xuICAgIH1cblxuICAgIC8qXG4gICAgICogVGhlIFJlZ0V4IGJlbG93IGV4dHJhY3RzIHRoZSBzZWxlY3RvclRleHQgZnJvbSB0aGUgc3R5bGVzXG4gICAgICogc3RyaW5nLiBGb3IgZXhhbXBsZSBydW5uaW5nIHRoaXMgcmVnZXggb24gdGhlIHN0eWxlcyBzdHJpbmdcbiAgICAgKiBcIi5teUNsYXNzID4gaDEgLm15Y2xhc3NUd28gey4uLn1cIiB3b3VsZCB5aWVsZCBcIi5teUNsYXNzID4gaDEgLm15Y2xhc3NUd29cIlxuICAgICAqL1xuICAgIGNvbnN0IGNsYXNzZXMgPSBzdHlsZXMubWF0Y2goc2VsZWN0b3JUZXh0UmVnZXgpWzBdLnRyaW0oKTtcblxuICAgIGlmIChtZW1vW2NsYXNzZXNdID09PSB1bmRlZmluZWQpIHtcbiAgICAgIGNvbnN0IHN0eWxlU2hlZXQgPSBzdHlsZUVsLnNoZWV0O1xuICAgICAgc3R5bGVTaGVldC5pbnNlcnRSdWxlKHN0eWxlcywgc3R5bGVTaGVldC5jc3NSdWxlcy5sZW5ndGgpO1xuICAgICAgbWVtb1tjbGFzc2VzXSA9IDE7XG4gICAgfVxuICB9O1xufVxuXG5leHBvcnQgZGVmYXVsdCBnZXRBZGRTdHlsZXMoKTtcbiJdfQ== \ No newline at end of file diff --git a/libs/loaders/jwt.js b/libs/loaders/jwt.js index 237c9c4..b39b4e9 100644 --- a/libs/loaders/jwt.js +++ b/libs/loaders/jwt.js @@ -105,4 +105,5 @@ var Jwt = /*#__PURE__*/function () { return Jwt; }(); -exports.Jwt = Jwt; \ No newline at end of file +exports.Jwt = Jwt; +//# sourceMappingURL=data:application/json;charset=utf-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G9yaWdpbmF0aW5nIGZyb20uXG4gICAgICBvYXV0aF9jb25zdW1lcl9rZXk6IHRoaXMub2F1dGhDb25zdW1lcktleSxcbiAgICB9O1xuICB9XG5cbiAgZ2V0IGN1cnJlbnRKd3QoKSB7XG4gICAgcmV0dXJuIHRoaXMuand0O1xuICB9XG5cbiAgZ2V0IGRlY29kZWRKd3QoKSB7XG4gICAgcmV0dXJuIHRoaXMuX2RlY29kZWRKd3Q7XG4gIH1cblxuICBnZXQgaXNqd3RFeHBpcmVkKCkge1xuICAgIC8vIFJhaWxzIGRvZXMgc2Vjb25kcyBzaW5jZSB0aGUgZXBvY2ggaW5zdGVhZCBvZiBtaWxsaXNlY29uZHMgc28gd2UgbXVsdGlwbGUgYnkgMTAwMFxuICAgIHJldHVybiB0aGlzLmRlY29kZWRKd3QuZXhwICogMTAwMCA8IERhdGUubm93KCk7XG4gIH1cblxufVxuIl19 \ No newline at end of file diff --git a/libs/middleware/api.js b/libs/middleware/api.js index db6ded4..3a81f1d 100644 --- a/libs/middleware/api.js +++ b/libs/middleware/api.js @@ -64,4 +64,5 @@ var API = function API(store) { }; }; -exports["default"] = API; \ No newline at end of file +exports["default"] = API; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9taWRkbGV3YXJlL2FwaS5qcyJdLCJuYW1lcyI6WyJhcGlSZXF1ZXN0Iiwic3RvcmUiLCJhY3Rpb24iLCJzdGF0ZSIsImdldFN0YXRlIiwidXBkYXRlZFBhcmFtcyIsImNvbnRleHRfaWQiLCJzZXR0aW5ncyIsIm9hdXRoX2NvbnN1bWVyX2tleSIsInBhcmFtcyIsInByb21pc2UiLCJhcGkiLCJleGVjUmVxdWVzdCIsIm1ldGhvZCIsInVybCIsImFwaV91cmwiLCJqd3QiLCJjc3JmX3Rva2VuIiwiYm9keSIsImhlYWRlcnMiLCJ0aW1lb3V0IiwidGhlbiIsInJlc3BvbnNlIi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AgKGVycm9yKSA9PiB7XG4gICAgICAgIHN0b3JlLmRpc3BhdGNoKHtcbiAgICAgICAgICB0eXBlOiBhY3Rpb24udHlwZSArIERPTkUsXG4gICAgICAgICAgcGF5bG9hZDoge30sXG4gICAgICAgICAgb3JpZ2luYWw6IGFjdGlvbixcbiAgICAgICAgICBlcnJvcixcbiAgICAgICAgfSk7IC8vIERpc3BhdGNoIHRoZSBuZXcgZXJyb3JcbiAgICAgIH0sXG4gICAgKTtcbiAgfVxuXG4gIHJldHVybiBwcm9taXNlO1xufVxuXG5jb25zdCBBUEkgPSAoc3RvcmUpID0+IChuZXh0KSA9PiAoYWN0aW9uKSA9PiB7XG5cbiAgaWYgKGFjdGlvbi5tZXRob2QpIHtcbiAgICBhcGlSZXF1ZXN0KHN0b3JlLCBhY3Rpb24pO1xuICB9XG5cbiAgLy8gY2FsbCB0aGUgbmV4dCBtaWRkbGVXYXJlXG4gIG5leHQoYWN0aW9uKTtcbn07XG5cbmV4cG9ydCB7IEFQSSBhcyBkZWZhdWx0IH07XG4iXX0= \ No newline at end of file diff --git a/libs/middleware/post_message.js b/libs/middleware/post_message.js index 84eebbb..8e308aa 100644 --- a/libs/middleware/post_message.js +++ b/libs/middleware/post_message.js @@ -92,4 +92,5 @@ var _default = function _default(store) { }; }; -exports["default"] = _default; \ No newline at end of file +exports["default"] = _default; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9taWRkbGV3YXJlL3Bvc3RfbWVzc2FnZS5qcyJdLCJuYW1lcyI6WyJIYW5kbGVyU2luZ2xldG9uIiwiZGlzcGF0Y2giLCJlIiwibWVzc2FnZSIsImRhdGEiLCJfIiwiaXNTdHJpbmciLCJKU09OIiwicGFyc2UiLCJleCIsImNvbW11bmljYXRpb24iLCJ0eXBlIiwiZG9tYWluIiwiaW5zdGFuY2UiLCJjb21tdW5pY2F0b3IiLCJDb21tdW5pY2F0b3IiLCJ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XG4gICAgfVxuICAgIHRoaXMuZGlzcGF0Y2goe1xuICAgICAgY29tbXVuaWNhdGlvbjogdHJ1ZSxcbiAgICAgIHR5cGU6ICdQT1NUX01FU1NBR0VfUkVDSUVWRUQnLFxuICAgICAgbWVzc2FnZSxcbiAgICAgIGRhdGE6IGUuZGF0YVxuICAgIH0pO1xuICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IChzdG9yZSkgPT4gKG5leHQpID0+IChhY3Rpb24pID0+IHtcbiAgaWYgKGFjdGlvbi5wb3N0TWVzc2FnZSkge1xuICAgIC8vIFlvdSBoYXZlIHRvIGNhbGwgYSBwb3N0IG1lc3NhZ2UgYWN0aW9uIGZpcnN0IGJlZm9yZSB5b3Ugd2lsbCByZWNpZXZlIG1lc3NhZ2VzXG4gICAgSGFuZGxlclNpbmdsZXRvbi5wcmVwYXJlSW5zdGFuY2Uoc3RvcmUuZGlzcGF0Y2gpO1xuICAgIHRyeSB7XG4gICAgICBpZiAoYWN0aW9uLmJyb2FkY2FzdCkge1xuICAgICAgICBIYW5kbGVyU2luZ2xldG9uLmNvbW11bmljYXRvci5icm9hZGNhc3QoYWN0aW9uLm1lc3NhZ2UpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgSGFuZGxlclNpbmdsZXRvbi5jb21tdW5pY2F0b3IuY29tbShhY3Rpb24ubWVzc2FnZSk7XG4gICAgICB9XG4gICAgfSBjYXRjaCAoZSkge1xuICAgICAgLy8gZG8gbm90aGluZ1xuICAgIH1cbiAgfVxuICBuZXh0KGFjdGlvbik7XG59O1xuIl19 \ No newline at end of file diff --git a/libs/reducers/errors.js b/libs/reducers/errors.js index ea09fa8..7cb05f9 100644 --- a/libs/reducers/errors.js +++ b/libs/reducers/errors.js @@ -58,4 +58,5 @@ var _default = function _default() { } }; -exports["default"] = _default; \ No newline at end of file +exports["default"] = _default; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy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gIG1lc3NhZ2UgPSBqc29uLm1lc3NhZ2U7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSBjYXRjaCAoZXgpIHtcbiAgICAgICAgICAgIC8vIFdlIGNhbid0IHBhcnNlIHRoZSBkYXRhIGFzIEpTT04ganVzdCBsZXQgdGhlIG9yaWdpbmFsIGVycm9yIG1lc3NhZ2Ugc3RhbmRcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFsuLi5zdGF0ZSwge1xuICAgICAgICAgIGVycm9yOiBhY3Rpb24uZXJyb3IsXG4gICAgICAgICAgbWVzc2FnZSxcbiAgICAgICAgICBjb250ZXh0OiBhY3Rpb24sXG4gICAgICAgIH1dO1xuICAgICAgfVxuICAgICAgcmV0dXJuIHN0YXRlO1xuICB9XG5cbn07XG4iXX0= \ No newline at end of file diff --git a/libs/reducers/jwt.js b/libs/reducers/jwt.js index 7664bea..1a477ab 100644 --- a/libs/reducers/jwt.js +++ b/libs/reducers/jwt.js @@ -30,4 +30,5 @@ var _default = function _default() { } }; -exports["default"] = _default; \ No newline at end of file +exports["default"] = _default; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZWR1Y2Vycy9qd3QuanMiXSwibmFtZXMiOlsiaW5pdGlhbFN0YXRlIiwic3RhdGUiLCJhY3Rpb24iLCJ0eXBlIiwiSnd0Q29uc3RhbnRzIiwiUkVGUkVTSF9KV1RfRE9ORSIsInBheWxvYWQiLCJqd3QiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFFQSxJQUFNQSxZQUFZLEdBQUcsRUFBckI7O2VBRWUsb0JBQWtDO0FBQUEsTUFBakNDLEtBQWlDLHVFQUF6QkQsWUFBeUI7QUFBQSxNQUFYRSxNQUFXOztBQUMvQyxVQUFRQSxNQUFNLENBQUNDLElBQWY7QUFFRSxTQUFLQyxlQUFhQyxnQkFBbEI7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ldHVybiBzdGF0ZTtcblxuICB9XG59O1xuIl19 \ No newline at end of file diff --git a/libs/reducers/modal.js b/libs/reducers/modal.js index 989b132..eac5816 100644 --- a/libs/reducers/modal.js +++ b/libs/reducers/modal.js @@ -35,4 +35,5 @@ var _default = function _default() { } }; -exports["default"] = _default; \ No newline at end of file +exports["default"] = _default; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZWR1Y2Vycy9tb2RhbC5qcyJdLCJuYW1lcyI6WyJpbml0aWFsU3RhdGUiLCJjdXJyZW50T3Blbk1vZGFsIiwic3RhdGUiLCJhY3Rpb24iLCJ0eXBlIiwiQ29uc3RhbnRzIiwiT1BFTl9NT0RBTCIsIm1vZGFsTmFtZSIsIkNMT1NFX01PREFMIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBRUEsSUFBTUEsWUFBWSxHQUFHO0FBQ25CQyxFQUFBQSxnQkFBZ0IsRUFBRTtBQURDLENBQXJCOztlQUllLG9CQUFrQztBQUFBLE1BQWpDQyxLQUFpQyx1RUFBekJGLFlBQXlCO0FBQUEsTUFBWEcsTUFBVzs7QUFFL0MsVUFBUUEsTUFBTSxDQUFDQyxJQUFmO0FBQ0UsU0FBS0MsaUJBQVVDLFVBQWY7QUFBMkI7QUFDekIsZUFBTztBQUFFTCxVQUFBQSxnQkFBZ0IsRUFBRUUsTUFBTSxDQUFDSTtBQUEzQixTQUFQO0FBQ0Q7O0FBQ0QsU0FBS0YsaUJBQVVHLFdBQWY7QUFBNEI7QUFDMUIsZUFBTztBQUFFUCxVQUFBQSxnQkFBZ0IsRUFBRTtBQUFwQixTQUFQO0FBQ0Q7O0FBQ0Q7QUFBUyxhQUFPQyxLQUFQO0FBUFg7QUFTRCxDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29uc3RhbnRzIH0gZnJvbSAnLi4vYWN0aW9ucy9tb2RhbCc7XG5cbmNvbnN0IGluaXRpYWxTdGF0ZSA9IHtcbiAgY3VycmVudE9wZW5Nb2RhbDogJydcbn07XG5cbmV4cG9ydCBkZWZhdWx0IChzdGF0ZSA9IGluaXRpYWxTdGF0ZSwgYWN0aW9uKSA9PiB7XG5cbiAgc3dpdGNoIChhY3Rpb24udHlwZSkge1xuICAgIGNhc2UgQ29uc3RhbnRzLk9QRU5fTU9EQUw6IHtcbiAgICAgIHJldHVybiB7IGN1cnJlbnRPcGVuTW9kYWw6IGFjdGlvbi5tb2RhbE5hbWUgfTtcbiAgICB9XG4gICAgY2FzZSBDb25zdGFudHMuQ0xPU0VfTU9EQUw6IHtcbiAgICAgIHJldHVybiB7IGN1cnJlbnRPcGVuTW9kYWw6ICcnIH07XG4gICAgfVxuICAgIGRlZmF1bHQ6IHJldHVybiBzdGF0ZTtcbiAgfVxufTtcbiJdfQ== \ No newline at end of file diff --git a/libs/reducers/settings.js b/libs/reducers/settings.js index 7fb0601..c1cfb6d 100644 --- a/libs/reducers/settings.js +++ b/libs/reducers/settings.js @@ -37,4 +37,5 @@ function getInitialSettings() { }); return settings; -} \ No newline at end of file +} +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZWR1Y2Vycy9zZXR0aW5ncy5qcyJdLCJuYW1lcyI6WyJzdGF0ZSIsImdldEluaXRpYWxTZXR0aW5ncyIsInNldHRpbmdzIiwiYXJncyIsIl8iLCJmb3JFYWNoIiwiYXJnIl0sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBOzs7Ozs7Ozs7O0FBRUE7ZUFDZTtBQUFBLE1BQUNBLEtBQUQsdUVBQVMsRUFBVDtBQUFBLFNBQWdCQSxLQUFoQjtBQUFBLEM7Ozs7QUFFUixTQUFTQyxrQkFBVCxHQUFxQztBQUMxQztBQUNBLE1BQUlDLFFBQVEsR0FBRyxFQUFmOztBQUYwQyxvQ0FBTkMsSUFBTTtBQUFOQSxJQUFBQSxJQUFNO0FBQUE7O0FBRzFDQyxxQkFBRUMsT0FBRixDQUFVRixJQUFWLEVBQWdCLFVBQUNHLEdBQUQ7QUFBQSxXQUFVSixRQUFRLG1DQUFRQSxRQUFSLEdBQXFCSSxHQUFyQixDQUFsQjtBQUFBLEdBQWhCOztBQUNBLFNBQU9KLFFBQVA7QUFDRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBfIGZyb20gJ2xvZGFzaCc7XG5cbi8vIEp1c3QgcmV0dXJuIHN0YXRlLiBEb24ndCBsZXQgc2V0dGluZ3MgZnJvbSB0aGUgc2VydmVyIG11dGF0ZS5cbmV4cG9ydCBkZWZhdWx0IChzdGF0ZSA9IHt9KSA9PiBzdGF0ZTtcblxuZXhwb3J0IGZ1bmN0aW9uIGdldEluaXRpYWxTZXR0aW5ncyguLi5hcmdzKSB7XG4gIC8vIEFkZCBkZWZhdWx0IHNldHRpbmdzIHRoYXQgY2FuIGJlIG92ZXJyaWRkZW4gYnkgdmFsdWVzIGluIHNlcnZlclNldHRpbmdzXG4gIGxldCBzZXR0aW5ncyA9IHt9O1xuICBfLmZvckVhY2goYXJncywgKGFyZykgPT4gKHNldHRpbmdzID0geyAuLi5zZXR0aW5ncywgLi4uYXJnIH0pKTtcbiAgcmV0dXJuIHNldHRpbmdzO1xufVxuIl19 \ No newline at end of file diff --git a/libs/specs_support/helper.js b/libs/specs_support/helper.js index 56ef52b..e4a97ad 100644 --- a/libs/specs_support/helper.js +++ b/libs/specs_support/helper.js @@ -192,4 +192,5 @@ var Helper = /*#__PURE__*/function () { return Helper; }(); -exports["default"] = Helper; \ No newline at end of file +exports["default"] = Helper; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zcGVjc19zdXBwb3J0L2hlbHBlci5qcyJdLCJuYW1lcyI6WyJIZWxwZXIiLCJzdGF0ZSIsInN1YnNjcmliZSI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gICAgIC5pbnRlcmNlcHQodXJsLCBtZXRob2QpXG4gICAgICAucmVwbHkoXG4gICAgICAgIDIwMCxcbiAgICAgICAgSGVscGVyLnRlc3RQYXlsb2FkKCksXG4gICAgICAgIHsgJ2NvbnRlbnQtdHlwZSc6ICdhcHBsaWNhdGlvbi9qc29uJyB9XG4gICAgICApO1xuICB9XG5cbiAgc3RhdGljIG1vY2tBbGxBamF4KCkge1xuICAgIGJlZm9yZUVhY2goKCkgPT4ge1xuICAgICAgbm9jaygnaHR0cDovL3d3dy5leGFtcGxlLmNvbScpXG4gICAgICAgIC5wZXJzaXN0KClcbiAgICAgICAgLmdldChSZWdFeHAoJy4qJykpXG4gICAgICAgIC5yZXBseSgyMDAsIEhlbHBlci50ZXN0UGF5bG9hZCgpLCB7ICdjb250ZW50LXR5cGUnOiAnYXBwbGljYXRpb24vanNvbicgfSk7XG4gICAgICBub2NrKCdodHRwOi8vd3d3LmV4YW1wbGUuY29tJylcbiAgICAgICAgLnBlcnNpc3QoKVxuICAgICAgICAucG9zdChSZWdFeHAoJy4qJykpXG4gICAgICAgIC5yZXBseSgyMDAsIEhlbHBlci50ZXN0UGF5bG9hZCgpLCB7ICdjb250ZW50LXR5cGUnOiAnYXBwbGljYXRpb24vanNvbicgfSk7XG4gICAgICBub2NrKCdodHRwOi8vd3d3LmV4YW1wbGUuY29tJylcbiAgICAgICAgLnBlcnNpc3QoKVxuICAgICAgICAucHV0KFJlZ0V4cCgnLionKSlcbiAgICAgICAgLnJlcGx5KDIwMCwgSGVscGVyLnRlc3RQYXlsb2FkKCksIHsgJ2NvbnRlbnQtdHlwZSc6ICdhcHBsaWNhdGlvbi9qc29uJyB9KTtcbiAgICAgIG5vY2soJ2h0dHA6Ly93d3cuZXhhbXBsZS5jb20nKVxuICAgICAgICAucGVyc2lzdCgpXG4gICAgICAgIC5kZWxldGUoUmVnRXhwKCcuKicpKVxuICAgICAgICAucmVwbHkoMjAwLCBIZWxwZXIudGVzdFBheWxvYWQoKSw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blxuICBzdGF0aWMgaW5kaWNpZXMoYXJyLCBhLCBiKSB7IHJldHVybiBfLm1hcChbYSwgYl0sIChpKSA9PiBfLmluZGV4T2YoYXJyLCBpKSk7IH1cblxuICBzdGF0aWMgaXNCZWZvcmUoLi4uYXJncykge1xuICAgIGNvbnN0IGluZCA9IEhlbHBlci5pbmRpY2llcyhhcmdzWzBdLCBhcmdzWzFdLCBhcmdzWzJdKTtcbiAgICBpZiAoXy5zb21lKGluZCwgKGkpID0+IF8uaXNOaWwoaSkpKSB7IHRocm93IG5ldyBFcnJvcignTm90IGZvdW5kIGluIGFycicpOyB9XG4gICAgcmV0dXJuIGluZFswXSA8IGluZFsxXTtcbiAgfVxuXG59XG4iXX0= \ No newline at end of file diff --git a/libs/specs_support/stub.js b/libs/specs_support/stub.js index 6cdf02a..53ee229 100644 --- a/libs/specs_support/stub.js +++ b/libs/specs_support/stub.js @@ -60,4 +60,5 @@ exports["default"] = Stub; _defineProperty(Stub, "propTypes", { children: _propTypes["default"].object.isRequired -}); \ No newline at end of file +}); +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zcGVjc19zdXBwb3J0L3N0dWIuanN4Il0sIm5hbWVzIjpbIlN0dWIiLCJwcm9wcyIsImNoaWxkcmVuIiwiUmVhY3QiLCJQdXJlQ29tcG9uZW50IiwiUHJvcFR5cGVzIiwib2JqZWN0IiwiaXNSZXF1aXJlZCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7O0FBQ0E7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBRXFCQSxJOzs7Ozs7Ozs7Ozs7O1dBS25CLGtCQUFTO0FBQ1AsMEJBQU8sNkNBQU0sS0FBS0MsS0FBTCxDQUFXQyxRQUFqQixDQUFQO0FBQ0Q7Ozs7RUFQK0JDLGtCQUFNQyxhOzs7O2dCQUFuQkosSSxlQUNBO0FBQ2pCRSxFQUFBQSxRQUFRLEVBQUVHLHNCQUFVQyxNQUFWLENBQWlCQztBQURWLEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgU3R1YiBleHRlbmRzIFJlYWN0LlB1cmVDb21wb25lbnQge1xuICBzdGF0aWMgcHJvcFR5cGVzID0ge1xuICAgIGNoaWxkcmVuOiBQcm9wVHlwZXMub2JqZWN0LmlzUmVxdWlyZWQsXG4gIH1cblxuICByZW5kZXIoKSB7XG4gICAgcmV0dXJuIDxkaXY+e3RoaXMucHJvcHMuY2hpbGRyZW59PC9kaXY+O1xuICB9XG59XG4iXX0= \ No newline at end of file diff --git a/libs/specs_support/utils.js b/libs/specs_support/utils.js index ed9f37a..1bd0563 100644 --- a/libs/specs_support/utils.js +++ b/libs/specs_support/utils.js @@ -20,4 +20,5 @@ var _default = { }); } }; -exports["default"] = _default; \ No newline at end of file +exports["default"] = _default; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zcGVjc19zdXBwb3J0L3V0aWxzLmpzIl0sIm5hbWVzIjpbImZpbmRUZXh0RmllbGQiLCJ0ZXh0RmllbGRzIiwibGFiZWxUZXh0IiwiXyIsImZpbmQiLCJmaWVsZCIsImxhYmVsIiwiVGVzdFV0aWxzIiwiZmluZFJlbmRlcmVkRE9NQ29tcG9uZW50V2l0aFRhZyIsImdldERPTU5vZGUiLCJ0ZXh0Q29udGVudCIsInRvTG93ZXJDYXNlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBQ0E7Ozs7ZUFFZTtBQUViQSxFQUFBQSxhQUZhLHlCQUVDQyxVQUZELEVBRWFDLFNBRmIsRUFFd0I7QUFDbkMsV0FBT0MsbUJBQUVDLElBQUYsQ0FBT0gsVUFBUCxFQUFtQixVQUFDSSxLQUFELEVBQVc7QUFDbkMsVUFBTUMsS0FBSyxHQUFHQyxzQkFBVUMsK0JBQVYsQ0FBMENILEtBQTFDLEVBQWlELE9BQWpELENBQWQ7O0FBQ0EsYUFBT0MsS0FBSyxDQUFDRyxVQUFOLEdBQW1CQyxXQUFuQixDQUErQkMsV0FBL0IsT0FBaURULFNBQXhEO0FBQ0QsS0FITSxDQUFQO0FBSUQ7QUFQWSxDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFRlc3RVdGlscyBmcm9tICdyZWFjdC1kb20vdGVzdC11dGlscyc7XG5pbXBvcnQgXyBmcm9tICdsb2Rhc2gnO1xuXG5leHBvcnQgZGVmYXVsdCB7XG5cbiAgZmluZFRleHRGaWVsZCh0ZXh0RmllbGRzLCBsYWJlbFRleHQpIHtcbiAgICByZXR1cm4gXy5maW5kKHRleHRGaWVsZHMsIChmaWVsZCkgPT4ge1xuICAgICAgY29uc3QgbGFiZWwgPSBUZXN0VXRpbHMuZmluZFJlbmRlcmVkRE9NQ29tcG9uZW50V2l0aFRhZyhmaWVsZCwgJ2xhYmVsJyk7XG4gICAgICByZXR1cm4gbGFiZWwuZ2V0RE9NTm9kZSgpLnRleHRDb250ZW50LnRvTG93ZXJDYXNlKCkgPT09IGxhYmVsVGV4dDtcbiAgICB9KTtcbiAgfSxcbn07XG4iXX0= \ No newline at end of file diff --git a/libs/store/configure_store.js b/libs/store/configure_store.js index 20207cb..7940b7b 100644 --- a/libs/store/configure_store.js +++ b/libs/store/configure_store.js @@ -25,4 +25,5 @@ function _default(initialState, rootReducer, middleware) { var store = _redux.compose.apply(void 0, enhancers)(_redux.createStore)(rootReducer, initialState); return store; -} \ No newline at end of file +} +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zdG9yZS9jb25maWd1cmVfc3RvcmUuanMiXSwibmFtZXMiOlsiaW5pdGlhbFN0YXRlIiwicm9vdFJlZHVjZXIiLCJtaWRkbGV3YXJlIiwiZW5oYW5jZXJzIiwiYXBwbHlNaWRkbGV3YXJlIiwic3RvcmUiLCJjb21wb3NlIiwiY3JlYXRlU3RvcmUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7Ozs7Ozs7Ozs7Ozs7QUFFZSxrQkFBU0EsWUFBVCxFQUF1QkMsV0FBdkIsRUFBb0NDLFVBQXBDLEVBQWdEO0FBRTdELE1BQU1DLFNBQVMsR0FBRyxDQUNoQkMsd0RBQW1CRixVQUFuQixFQURnQixDQUFsQjs7QUFJQSxNQUFNRyxLQUFLLEdBQUdDLDZCQUFXSCxTQUFYLEVBQXNCSSxrQkFBdEIsRUFBbUNOLFdBQW5DLEVBQWdERCxZQUFoRCxDQUFkOztBQUVBLFNBQU9LLEtBQVA7QUFDRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNyZWF0ZVN0b3JlLCBhcHBseU1pZGRsZXdhcmUsIGNvbXBvc2UgfSBmcm9tICdyZWR1eCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uKGluaXRpYWxTdGF0ZSwgcm9vdFJlZHVjZXIsIG1pZGRsZXdhcmUpIHtcblxuICBjb25zdCBlbmhhbmNlcnMgPSBbXG4gICAgYXBwbHlNaWRkbGV3YXJlKC4uLm1pZGRsZXdhcmUpXG4gIF07XG5cbiAgY29uc3Qgc3RvcmUgPSBjb21wb3NlKC4uLmVuaGFuY2VycykoY3JlYXRlU3RvcmUpKHJvb3RSZWR1Y2VyLCBpbml0aWFsU3RhdGUpO1xuXG4gIHJldHVybiBzdG9yZTtcbn1cbiJdfQ== \ No newline at end of file diff --git a/libs/types.d.js b/libs/types.d.js new file mode 100644 index 0000000..4310b4f --- /dev/null +++ b/libs/types.d.js @@ -0,0 +1,2 @@ +"use strict"; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbXX0= \ No newline at end of file diff --git a/package.json b/package.json index e714c60..00b90b4 100644 --- a/package.json +++ b/package.json @@ -6,13 +6,17 @@ "test": "cross-env BABEL_ENV=test jest --no-cache --config package.json", "test:debug": "node --inspect node_modules/.bin/jest --runInBand --watch --config package.json", "jest_version": "which jest && jest --version", - "prebuild": "node-sass src/components/ -o libs/components/", - "build": "cross-env BABEL_ENV=production babel src --out-dir libs", + "type-check": "tsc --noEmit", + "type-check:watch": "yarn type-check -- --watch", + "build:types": "tsc --emitDeclarationOnly", + "prebuild:js": "rm -rf libs/*; node-sass src/components/ -o libs/components/", + "build:js": "cross-env BABEL_ENV=production babel src --out-dir libs --extensions \".js,.jsx,.ts,.tsx\" --source-maps inline", + "build": "yarn build:types && yarn build:js", "nuke": "rm -rf node_modules", "clean": "rimraf libs", "lint": "eslint src", "lint_fix": "eslint src --fix", - "prepare": "yarn clean && yarn build", + "prepare": "yarn clean", "prestorybook": "yarn build:css", "storybook": "npm-run-all -p watch:css dev-storybook", "dev-storybook": "start-storybook -p 6006", @@ -88,7 +92,8 @@ "rimraf": "^3.0.2", "sass": "^1.35.1", "superagent": "^5.2.2", - "tslint": "^6.1.3" + "tslint": "^6.1.3", + "typescript": "^4.3.4" }, "dependencies": { "@babel/preset-typescript": "^7.14.5", diff --git a/src/components/Button/index.stories.tsx b/src/components/Button/index.stories.tsx index 4ddb5bb..21bb3e1 100644 --- a/src/components/Button/index.stories.tsx +++ b/src/components/Button/index.stories.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { Story, Meta } from '@storybook/react'; import StoryWrapper from '../StoryWrapper'; -import Button, { ButtonType, Props } from '.'; +import { Button, ButtonType, Props } from '.'; export default { title: 'Button', diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx index 197480e..fb9f95d 100644 --- a/src/components/Button/index.tsx +++ b/src/components/Button/index.tsx @@ -26,7 +26,7 @@ export enum ButtonType { icon = 'icon', } -const Button = React.forwardRef((props: Props, ref) => { +export const Button = React.forwardRef((props: Props, ref) => { const { ariaOptions = {}, children, @@ -65,7 +65,3 @@ const Button = React.forwardRef((props: Props, ref) => ); }); - - - -export default Button; diff --git a/src/index.js b/src/index.js index aa457b6..3ee008d 100644 --- a/src/index.js +++ b/src/index.js @@ -62,6 +62,7 @@ export { default as GqlStatus } from './components/common/gql_status'; export { default as IframeResizeWrapper } from './components/common/resize_wrapper'; export { default as InlineError } from './components/common/errors/inline_error'; export { Banner, BannerTypes } from './components/Banner'; +export { Button, ButtonType } from './components/Button'; // APOLLO REACT COMPONENTS export { default as AtomicMutation } from './graphql/atomic_mutation'; diff --git a/tsconfig.json b/tsconfig.json index 94c359a..ddc651e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,9 +4,12 @@ ], "compilerOptions": { "allowSyntheticDefaultImports": true, - "outDir": "build/dist", + "esModuleInterop": true, + "strict": true, + "outDir": "libs", "module": "commonjs", "target": "es5", + "declaration": true, "lib": ["es6", "dom"], "sourceMap": true, "allowJs": true, diff --git a/yarn.lock b/yarn.lock index 802a65a..8e14693 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3414,14 +3414,6 @@ babel-plugin-syntax-jsx@^6.18.0: resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" integrity sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY= -babel-plugin-transform-scss@^1.0.11: - version "1.0.11" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-scss/-/babel-plugin-transform-scss-1.0.11.tgz#f4a2a7cbe8cd22d4a4c22bee90f5668c2aae3592" - integrity sha512-gFYqquGWZPk16m0AcAsuvYBvqx3AtzOULXFVgSVjYq4r42uAPWavm36lmjtHJtMMcMncPZ4NnOMJYexJQTzJTw== - dependencies: - node-sass "4.14.1" - path "0.12.7" - babel-preset-current-node-syntax@^0.1.2: version "0.1.4" resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.4.tgz#826f1f8e7245ad534714ba001f84f7e906c3b615" @@ -3516,13 +3508,6 @@ bindings@^1.5.0: dependencies: file-uri-to-path "1.0.0" -block-stream@*: - version "0.0.9" - resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" - integrity sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo= - dependencies: - inherits "~2.0.0" - bluebird@^3.3.5, bluebird@^3.5.5: version "3.7.2" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" @@ -4436,14 +4421,6 @@ cross-spawn@7.0.3, cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -cross-spawn@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-3.0.1.tgz#1256037ecb9f0c5f79e3d6ef135e30770184b982" - integrity sha1-ElYDfsufDF9549bvE14wdwGEuYI= - dependencies: - lru-cache "^4.0.1" - which "^1.2.9" - cross-spawn@^6.0.0, cross-spawn@^6.0.5: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" @@ -5947,16 +5924,6 @@ fsevents@^2.1.2, fsevents@~2.3.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== -fstream@^1.0.0, fstream@^1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.12.tgz#4e8ba8ee2d48be4f7d0de505455548eae5932045" - integrity sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg== - dependencies: - graceful-fs "^4.1.2" - inherits "~2.0.0" - mkdirp ">=0.5 0" - rimraf "2" - function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -6621,11 +6588,6 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= -in-publish@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/in-publish/-/in-publish-2.0.1.tgz#948b1a535c8030561cea522f73f78f4be357e00c" - integrity sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ== - indent-string@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" @@ -6651,7 +6613,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.0, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@2.0.4, inherits@^2.0.0, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -8043,14 +8005,6 @@ lowlight@^1.14.0: fault "^1.0.0" highlight.js "~10.7.0" -lru-cache@^4.0.1: - version "4.1.5" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" - integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== - dependencies: - pseudomap "^1.0.2" - yallist "^2.1.2" - lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -8416,7 +8370,7 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -"mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3: +mkdirp@^0.5.1, mkdirp@^0.5.3: version "0.5.5" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== @@ -8549,24 +8503,6 @@ node-fetch@^2.6.1: resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== -node-gyp@^3.8.0: - version "3.8.0" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-3.8.0.tgz#540304261c330e80d0d5edce253a68cb3964218c" - integrity sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA== - dependencies: - fstream "^1.0.0" - glob "^7.0.3" - graceful-fs "^4.1.2" - mkdirp "^0.5.0" - nopt "2 || 3" - npmlog "0 || 1 || 2 || 3 || 4" - osenv "0" - request "^2.87.0" - rimraf "2" - semver "~5.3.0" - tar "^2.0.0" - which "1" - node-gyp@^7.1.0: version "7.1.2" resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-7.1.2.tgz#21a810aebb187120251c3bcec979af1587b188ae" @@ -8638,29 +8574,6 @@ node-releases@^1.1.61, node-releases@^1.1.71: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.73.tgz#dd4e81ddd5277ff846b80b52bb40c49edf7a7b20" integrity sha512-uW7fodD6pyW2FZNZnp/Z3hvWKeEW1Y8R1+1CnErE8cXFXzl5blBOoVB41CvMer6P6Q0S5FXDwcHgFd1Wj0U9zg== -node-sass@4.14.1: - version "4.14.1" - resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.14.1.tgz#99c87ec2efb7047ed638fb4c9db7f3a42e2217b5" - integrity sha512-sjCuOlvGyCJS40R8BscF5vhVlQjNN069NtQ1gSxyK1u9iqvn6tf7O1R4GNowVZfiZUCRt5MmMs1xd+4V/7Yr0g== - dependencies: - async-foreach "^0.1.3" - chalk "^1.1.1" - cross-spawn "^3.0.0" - gaze "^1.0.0" - get-stdin "^4.0.1" - glob "^7.0.3" - in-publish "^2.0.0" - lodash "^4.17.15" - meow "^3.7.0" - mkdirp "^0.5.1" - nan "^2.13.2" - node-gyp "^3.8.0" - npmlog "^4.0.0" - request "^2.88.0" - sass-graph "2.2.5" - stdout-stream "^1.4.0" - "true-case-path" "^1.0.2" - node-sass@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-6.0.0.tgz#f30da3e858ad47bfd138bc0e0c6f924ed2f734af" @@ -8683,13 +8596,6 @@ node-sass@^6.0.0: stdout-stream "^1.4.0" "true-case-path" "^1.0.2" -"nopt@2 || 3": - version "3.0.6" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" - integrity sha1-xkZdvwirzU2zWTF/eaxopkayj/k= - dependencies: - abbrev "1" - nopt@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" @@ -8753,7 +8659,7 @@ npm-run-path@^4.0.0: dependencies: path-key "^3.0.0" -"npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.0.0, npmlog@^4.1.2: +npmlog@^4.0.0, npmlog@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== @@ -8926,24 +8832,11 @@ os-browserify@^0.3.0: resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" integrity sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc= -os-homedir@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= - -os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: +os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= -osenv@0: - version "0.1.5" - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" - integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.0" - overlayscrollbars@^1.13.1: version "1.13.1" resolved "https://registry.yarnpkg.com/overlayscrollbars/-/overlayscrollbars-1.13.1.tgz#0b840a88737f43a946b9d87875a2f9e421d0338a" @@ -9248,14 +9141,6 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -path@0.12.7: - version "0.12.7" - resolved "https://registry.yarnpkg.com/path/-/path-0.12.7.tgz#d4dc2a506c4ce2197eb481ebfcd5b36c0140b10f" - integrity sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8= - dependencies: - process "^0.11.1" - util "^0.10.3" - pbkdf2@^3.0.3: version "3.1.2" resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" @@ -9596,7 +9481,7 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -process@^0.11.1, process@^0.11.10: +process@^0.11.10: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= @@ -9682,11 +9567,6 @@ prr@~1.0.1: resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY= -pseudomap@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" - integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= - psl@^1.1.28: version "1.8.0" resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24" @@ -10358,7 +10238,7 @@ request-promise-native@^1.0.7: stealthy-require "^1.1.1" tough-cookie "^2.3.3" -request@^2.87.0, request@^2.88.0, request@^2.88.2: +request@^2.88.0, request@^2.88.2: version "2.88.2" resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== @@ -10455,13 +10335,6 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@2, rimraf@^2.2.8, rimraf@^2.5.4, rimraf@^2.6.3: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - rimraf@2.6.3: version "2.6.3" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" @@ -10469,6 +10342,13 @@ rimraf@2.6.3: dependencies: glob "^7.1.3" +rimraf@^2.2.8, rimraf@^2.5.4, rimraf@^2.6.3: + version "2.7.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" + integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== + dependencies: + glob "^7.1.3" + rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" @@ -10660,11 +10540,6 @@ semver@^7.3.2, semver@^7.3.4: dependencies: lru-cache "^6.0.0" -semver@~5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" - integrity sha1-myzl094C0XxgEq0yaqa00M9U+U8= - send@0.17.1: version "0.17.1" resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" @@ -11353,15 +11228,6 @@ tapable@^1.0.0, tapable@^1.1.3: resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== -tar@^2.0.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.2.tgz#0ca8848562c7299b8b446ff6a4d60cdbb23edc40" - integrity sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA== - dependencies: - block-stream "*" - fstream "^1.0.12" - inherits "2" - tar@^6.0.2: version "6.1.0" resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.0.tgz#d1724e9bcc04b977b18d5c573b333a2207229a83" @@ -11729,6 +11595,11 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= +typescript@^4.3.4: + version "4.3.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.4.tgz#3f85b986945bcf31071decdd96cf8bfa65f9dcbc" + integrity sha512-uauPG7XZn9F/mo+7MrsRjyvbxFpzemRjKEZXS4AK83oP2KKOJPvb+9cO/gmnv8arWZvhnjVOXz7B49m1l0e9Ew== + unbox-primitive@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.1.tgz#085e215625ec3162574dc8859abee78a59b14471" @@ -11970,13 +11841,6 @@ util@0.10.3: dependencies: inherits "2.0.1" -util@^0.10.3: - version "0.10.4" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" - integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A== - dependencies: - inherits "2.0.3" - util@^0.11.0: version "0.11.1" resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" @@ -12250,7 +12114,7 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= -which@1, which@^1.2.9, which@^1.3.1: +which@^1.2.9, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -12376,11 +12240,6 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yallist@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" - integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= - yallist@^3.0.2: version "3.1.1" resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" From 243c3ebe06345b267e8a6e6ae4db61f90053a324 Mon Sep 17 00:00:00 2001 From: momotofu Date: Fri, 25 Jun 2021 08:28:04 +0900 Subject: [PATCH 06/18] Tests are passing --- .babelrc | 16 +- libs/actions/errors.d.ts | 12 + libs/actions/errors.js | 3 +- libs/actions/jwt.d.ts | 6 + libs/actions/jwt.js | 3 +- libs/actions/modal.d.ts | 8 + libs/actions/modal.js | 3 +- libs/actions/post_message.d.ts | 7 + libs/actions/post_message.js | 3 +- libs/api/api.d.ts | 17 + libs/api/api.js | 3 +- libs/api/superagent-mock-config.d.ts | 4031 +++++++++++++++++ libs/api/superagent-mock-config.js | 3 +- libs/communications/communicator.d.ts | 14 + libs/communications/communicator.js | 3 +- libs/components/Banner/index.d.ts | 16 + libs/components/Banner/index.js | 3 +- libs/components/Button/index.d.ts | 24 + libs/components/Button/index.js | 3 +- libs/components/Card/index.d.ts | 11 + libs/components/Card/index.js | 3 +- libs/components/GqlStatus/index.d.ts | 12 + libs/components/GqlStatus/index.js | 3 +- libs/components/StoryWrapper/index.d.ts | 1 + libs/components/StoryWrapper/index.js | 3 +- libs/components/common/atomicjolt_loader.d.ts | 19 + libs/components/common/atomicjolt_loader.js | 3 +- .../common/errors/inline_error.d.ts | 9 + libs/components/common/errors/inline_error.js | 3 +- libs/components/common/gql_status.d.ts | 12 + libs/components/common/gql_status.js | 3 +- libs/components/common/resize_wrapper.d.ts | 9 + libs/components/common/resize_wrapper.js | 3 +- libs/components/settings.d.ts | 3 + libs/components/settings.js | 3 +- libs/constants/error.d.ts | 6 + libs/constants/error.js | 3 +- libs/constants/network.d.ts | 8 + libs/constants/network.js | 3 +- libs/constants/wrapper.d.ts | 2 + libs/constants/wrapper.js | 3 +- libs/decorators/modal.d.ts | 1 + libs/decorators/modal.js | 3 +- libs/graphql/atomic_mutation.d.ts | 9 + libs/graphql/atomic_mutation.js | 3 +- libs/graphql/atomic_query.d.ts | 19 + libs/graphql/atomic_query.js | 3 +- libs/index.d.ts | 26 + libs/index.js | 3 +- libs/libs/lti_roles.d.ts | 2 + libs/libs/lti_roles.js | 3 +- libs/libs/resize_iframe.d.ts | 1 + libs/libs/resize_iframe.js | 3 +- libs/libs/styles.d.ts | 2 + libs/libs/styles.js | 3 +- libs/loaders/jwt.d.ts | 19 + libs/loaders/jwt.js | 3 +- libs/middleware/api.d.ts | 3 + libs/middleware/api.js | 3 +- libs/middleware/post_message.d.ts | 10 + libs/middleware/post_message.js | 3 +- libs/reducers/errors.d.ts | 2 + libs/reducers/errors.js | 3 +- libs/reducers/jwt.d.ts | 2 + libs/reducers/jwt.js | 3 +- libs/reducers/modal.d.ts | 6 + libs/reducers/modal.js | 3 +- libs/reducers/settings.d.ts | 3 + libs/reducers/settings.js | 3 +- libs/specs_support/helper.d.ts | 27 + libs/specs_support/helper.js | 3 +- libs/specs_support/stub.d.ts | 9 + libs/specs_support/stub.js | 3 +- libs/specs_support/utils.d.ts | 5 + libs/specs_support/utils.js | 3 +- libs/store/configure_store.d.ts | 1 + libs/store/configure_store.js | 3 +- libs/types.d.js | 3 +- package.json | 13 +- .../Button/__snapshots__/index.spec.tsx.snap | 15 + src/components/Button/index.spec.tsx | 2 +- .../Card/__snapshots__/index.spec.tsx.snap | 41 + src/css-stub.js | 1 + tsconfig.json | 51 +- tsconfig.tsbuildinfo | 1 + yarn.lock | 7 + 86 files changed, 4520 insertions(+), 118 deletions(-) create mode 100644 libs/actions/errors.d.ts create mode 100644 libs/actions/jwt.d.ts create mode 100644 libs/actions/modal.d.ts create mode 100644 libs/actions/post_message.d.ts create mode 100644 libs/api/api.d.ts create mode 100644 libs/api/superagent-mock-config.d.ts create mode 100644 libs/communications/communicator.d.ts create mode 100644 libs/components/Banner/index.d.ts create mode 100644 libs/components/Button/index.d.ts create mode 100644 libs/components/Card/index.d.ts create mode 100644 libs/components/GqlStatus/index.d.ts create mode 100644 libs/components/StoryWrapper/index.d.ts create mode 100644 libs/components/common/atomicjolt_loader.d.ts create mode 100644 libs/components/common/errors/inline_error.d.ts create mode 100644 libs/components/common/gql_status.d.ts create mode 100644 libs/components/common/resize_wrapper.d.ts create mode 100644 libs/components/settings.d.ts create mode 100644 libs/constants/error.d.ts create mode 100644 libs/constants/network.d.ts create mode 100644 libs/constants/wrapper.d.ts create mode 100644 libs/decorators/modal.d.ts create mode 100644 libs/graphql/atomic_mutation.d.ts create mode 100644 libs/graphql/atomic_query.d.ts create mode 100644 libs/index.d.ts create mode 100644 libs/libs/lti_roles.d.ts create mode 100644 libs/libs/resize_iframe.d.ts create mode 100644 libs/libs/styles.d.ts create mode 100644 libs/loaders/jwt.d.ts create mode 100644 libs/middleware/api.d.ts create mode 100644 libs/middleware/post_message.d.ts create mode 100644 libs/reducers/errors.d.ts create mode 100644 libs/reducers/jwt.d.ts create mode 100644 libs/reducers/modal.d.ts create mode 100644 libs/reducers/settings.d.ts create mode 100644 libs/specs_support/helper.d.ts create mode 100644 libs/specs_support/stub.d.ts create mode 100644 libs/specs_support/utils.d.ts create mode 100644 libs/store/configure_store.d.ts create mode 100644 src/components/Button/__snapshots__/index.spec.tsx.snap create mode 100644 src/components/Card/__snapshots__/index.spec.tsx.snap create mode 100644 src/css-stub.js create mode 100644 tsconfig.tsbuildinfo diff --git a/.babelrc b/.babelrc index 8b18f6e..8b34e3f 100644 --- a/.babelrc +++ b/.babelrc @@ -14,13 +14,7 @@ "presets": [ "@babel/preset-env", "@babel/preset-react", - [ - "@babel/preset-typescript", - { - "isTSX": true, - "allExtensions": true - } - ] + "@babel/preset-typescript" ], "plugins": [ "@babel/plugin-proposal-class-properties", @@ -33,13 +27,7 @@ "presets": [ "@babel/preset-env", "@babel/preset-react", - [ - "@babel/preset-typescript", - { - "isTSX": true, - "allExtensions": true - } - ] + "@babel/preset-typescript" ], "plugins": [ "@babel/plugin-proposal-class-properties", diff --git a/libs/actions/errors.d.ts b/libs/actions/errors.d.ts new file mode 100644 index 0000000..c781a0e --- /dev/null +++ b/libs/actions/errors.d.ts @@ -0,0 +1,12 @@ +export function clearErrors(): { + type: any; +}; +export function addError(error: any, message: any, context: any): { + type: any; + payload: { + error: any; + message: any; + context: any; + }; +}; +export const Constants: any; diff --git a/libs/actions/errors.js b/libs/actions/errors.js index 1dbd645..1d5c007 100644 --- a/libs/actions/errors.js +++ b/libs/actions/errors.js @@ -34,5 +34,4 @@ function addError(error, message, context) { context: context } }; -} -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL2Vycm9ycy5qcyJdLCJuYW1lcyI6WyJhY3Rpb25zIiwicmVxdWVzdHMiLCJDb25zdGFudHMiLCJjbGVhckVycm9ycyIsInR5cGUiLCJDTEVBUl9FUlJPUlMiLCJhZGRFcnJvciIsImVycm9yIiwibWVzc2FnZSIsImNvbnRleHQiLCJBRERfRVJST1IiLCJwYXlsb2FkIl0sIm1hc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V0dXJuIHtcbiAgICB0eXBlOiBDb25zdGFudHMuQ0xFQVJfRVJST1JTLFxuICB9O1xufVxuXG4vLyBFcnJvciBzaG91bGQgYmUgdGhlIG9yaWdpbmFsIGVycm9yLCB1c3VhbGx5IGZyb20gYSBuZXR3b3JrIHJlc3BvbnNlLlxuZXhwb3J0IGZ1bmN0aW9uIGFkZEVycm9yKGVycm9yLCBtZXNzYWdlLCBjb250ZXh0KSB7XG4gIHJldHVybiB7XG4gICAgdHlwZTogQ29uc3RhbnRzLkFERF9FUlJPUixcbiAgICBwYXlsb2FkOiB7XG4gICAgICBlcnJvcixcbiAgICAgIG1lc3NhZ2UsXG4gICAgICBjb250ZXh0LFxuICAgIH0sXG4gIH07XG59XG4iXX0= \ No newline at end of file +} \ No newline at end of file diff --git a/libs/actions/jwt.d.ts b/libs/actions/jwt.d.ts new file mode 100644 index 0000000..dccb65d --- /dev/null +++ b/libs/actions/jwt.d.ts @@ -0,0 +1,6 @@ +export function refreshJwt(userId: any): { + type: any; + method: string; + url: string; +}; +export const Constants: any; diff --git a/libs/actions/jwt.js b/libs/actions/jwt.js index 16c6f23..b5977a7 100644 --- a/libs/actions/jwt.js +++ b/libs/actions/jwt.js @@ -25,5 +25,4 @@ function refreshJwt(userId) { method: _network["default"].GET, url: "api/jwts/".concat(userId) }; -} -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL2p3dC5qcyJdLCJuYW1lcyI6WyJhY3Rpb25zIiwicmVxdWVzdHMiLCJDb25zdGFudHMiLCJyZWZyZXNoSnd0IiwidXNlcklkIiwidHlwZSIsIlJFRlJFU0hfSldUIiwibWV0aG9kIiwiTmV0d29yayIsIkdFVCIsInVybCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQTs7QUFDQTs7OztBQUVBO0FBQ0EsSUFBTUEsT0FBTyxHQUFHLEVBQWhCLEMsQ0FFQTs7QUFDQSxJQUFNQyxRQUFRLEdBQUcsQ0FDZixhQURlLENBQWpCO0FBSU8sSUFBTUMsU0FBUyxHQUFHLHlCQUFRRixPQUFSLEVBQWlCQyxRQUFqQixDQUFsQjs7O0FBRUEsU0FBU0UsVUFBVCxDQUFvQkMsTUFBcEIsRUFBNEI7QUFDakMsU0FBTztBQUNMQyxJQUFBQSxJQUFJLEVBQUtILFNBQVMsQ0FBQ0ksV0FEZDtBQUVMQyxJQUFBQSxNQUFNLEVBQUdDLG9CQUFRQyxHQUZaO0FBR0xDLElBQUFBLEdBQUcscUJBQWtCTixNQUFsQjtBQUhFLEdBQVA7QUFLRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB3cmFwcGVyIGZyb20gJy4uL2NvbnN0YW50cy93cmFwcGVyJztcbmltcG9ydCBOZXR3b3JrIGZyb20gJy4uL2NvbnN0YW50cy9uZXR3b3JrJztcblxuLy8gTG9jYWwgYWN0aW9uc1xuY29uc3QgYWN0aW9ucyA9IFtdO1xuXG4vLyBBY3Rpb25zIHRoYXQgbWFrZSBhbiBhcGkgcmVxdWVzdFxuY29uc3QgcmVxdWVzdHMgPSBbXG4gICdSRUZSRVNIX0pXVCcsXG5dO1xuXG5leHBvcnQgY29uc3QgQ29uc3RhbnRzID0gd3JhcHBlcihhY3Rpb25zLCByZXF1ZXN0cyk7XG5cbmV4cG9ydCBmdW5jdGlvbiByZWZyZXNoSnd0KHVzZXJJZCkge1xuICByZXR1cm4ge1xuICAgIHR5cGUgICA6IENvbnN0YW50cy5SRUZSRVNIX0pXVCxcbiAgICBtZXRob2QgOiBOZXR3b3JrLkdFVCxcbiAgICB1cmwgICAgOiBgYXBpL2p3dHMvJHt1c2VySWR9YCxcbiAgfTtcbn1cbiJdfQ== \ No newline at end of file +} \ No newline at end of file diff --git a/libs/actions/modal.d.ts b/libs/actions/modal.d.ts new file mode 100644 index 0000000..2733bb2 --- /dev/null +++ b/libs/actions/modal.d.ts @@ -0,0 +1,8 @@ +export const Constants: any; +export function openModal(modalName: any): { + type: any; + modalName: any; +}; +export function closeModal(): { + type: any; +}; diff --git a/libs/actions/modal.js b/libs/actions/modal.js index 8e6b282..3256fce 100644 --- a/libs/actions/modal.js +++ b/libs/actions/modal.js @@ -29,5 +29,4 @@ var closeModal = function closeModal() { }; }; -exports.closeModal = closeModal; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL21vZGFsLmpzIl0sIm5hbWVzIjpbImFjdGlvbnMiLCJDb25zdGFudHMiLCJvcGVuTW9kYWwiLCJtb2RhbE5hbWUiLCJ0eXBlIiwiT1BFTl9NT0RBTCIsImNsb3NlTW9kYWwiLCJDTE9TRV9NT0RBTCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOzs7O0FBRUE7QUFDQSxJQUFNQSxPQUFPLEdBQUcsQ0FDZCxZQURjLEVBRWQsYUFGYyxDQUFoQjtBQUtPLElBQU1DLFNBQVMsR0FBRyx5QkFBUUQsT0FBUixFQUFpQixFQUFqQixDQUFsQjs7O0FBRUEsSUFBTUUsU0FBUyxHQUFHLFNBQVpBLFNBQVksQ0FBQ0MsU0FBRDtBQUFBLFNBQWdCO0FBQUVDLElBQUFBLElBQUksRUFBRUgsU0FBUyxDQUFDSSxVQUFsQjtBQUE4QkYsSUFBQUEsU0FBUyxFQUFUQTtBQUE5QixHQUFoQjtBQUFBLENBQWxCOzs7O0FBRUEsSUFBTUcsVUFBVSxHQUFHLFNBQWJBLFVBQWE7QUFBQSxTQUFPO0FBQUVGLElBQUFBLElBQUksRUFBRUgsU0FBUyxDQUFDTTtBQUFsQixHQUFQO0FBQUEsQ0FBbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgd3JhcHBlciAgICBmcm9tICcuLi9jb25zdGFudHMvd3JhcHBlcic7XG5cbi8vIExvY2FsIGFjdGlvbnNcbmNvbnN0IGFjdGlvbnMgPSBbXG4gICdPUEVOX01PREFMJyxcbiAgJ0NMT1NFX01PREFMJ1xuXTtcblxuZXhwb3J0IGNvbnN0IENvbnN0YW50cyA9IHdyYXBwZXIoYWN0aW9ucywgW10pO1xuXG5leHBvcnQgY29uc3Qgb3Blbk1vZGFsID0gKG1vZGFsTmFtZSkgPT4gKHsgdHlwZTogQ29uc3RhbnRzLk9QRU5fTU9EQUwsIG1vZGFsTmFtZSB9KTtcblxuZXhwb3J0IGNvbnN0IGNsb3NlTW9kYWwgPSAoKSA9PiAoeyB0eXBlOiBDb25zdGFudHMuQ0xPU0VfTU9EQUwgfSk7XG4iXX0= \ No newline at end of file +exports.closeModal = closeModal; \ No newline at end of file diff --git a/libs/actions/post_message.d.ts b/libs/actions/post_message.d.ts new file mode 100644 index 0000000..6fff256 --- /dev/null +++ b/libs/actions/post_message.d.ts @@ -0,0 +1,7 @@ +export const Constants: any; +export function postMessage(message: any, broadcast?: boolean): { + type: any; + postMessage: boolean; + broadcast: boolean; + message: any; +}; diff --git a/libs/actions/post_message.js b/libs/actions/post_message.js index 2218ab8..53314f9 100644 --- a/libs/actions/post_message.js +++ b/libs/actions/post_message.js @@ -23,5 +23,4 @@ var postMessage = function postMessage(message) { }; }; -exports.postMessage = postMessage; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hY3Rpb25zL3Bvc3RfbWVzc2FnZS5qcyJdLCJuYW1lcyI6WyJhY3Rpb25zIiwiQ29uc3RhbnRzIiwicG9zdE1lc3NhZ2UiLCJtZXNzYWdlIiwiYnJvYWRjYXN0IiwidHlwZSIsIlBPU1RfTUVTU0FHRSJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOzs7O0FBRUEsSUFBTUEsT0FBTyxHQUFHLENBQ2QsY0FEYyxDQUFoQjtBQUlPLElBQU1DLFNBQVMsR0FBRyx5QkFBUUQsT0FBUixFQUFpQixFQUFqQixDQUFsQjs7O0FBRUEsSUFBTUUsV0FBVyxHQUFHLFNBQWRBLFdBQWMsQ0FBQ0MsT0FBRDtBQUFBLE1BQVVDLFNBQVYsdUVBQXNCLEtBQXRCO0FBQUEsU0FBaUM7QUFDMURDLElBQUFBLElBQUksRUFBRUosU0FBUyxDQUFDSyxZQUQwQztBQUUxREosSUFBQUEsV0FBVyxFQUFFLElBRjZDO0FBRzFERSxJQUFBQSxTQUFTLEVBQVRBLFNBSDBEO0FBSTFERCxJQUFBQSxPQUFPLEVBQVBBO0FBSjBELEdBQWpDO0FBQUEsQ0FBcEIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgd3JhcHBlciBmcm9tICcuLi9jb25zdGFudHMvd3JhcHBlcic7XG5cbmNvbnN0IGFjdGlvbnMgPSBbXG4gICdQT1NUX01FU1NBR0UnLFxuXTtcblxuZXhwb3J0IGNvbnN0IENvbnN0YW50cyA9IHdyYXBwZXIoYWN0aW9ucywgW10pO1xuXG5leHBvcnQgY29uc3QgcG9zdE1lc3NhZ2UgPSAobWVzc2FnZSwgYnJvYWRjYXN0ID0gZmFsc2UpID0+ICh7XG4gIHR5cGU6IENvbnN0YW50cy5QT1NUX01FU1NBR0UsXG4gIHBvc3RNZXNzYWdlOiB0cnVlLFxuICBicm9hZGNhc3QsXG4gIG1lc3NhZ2UsXG59KTtcbiJdfQ== \ No newline at end of file +exports.postMessage = postMessage; \ No newline at end of file diff --git a/libs/api/api.d.ts b/libs/api/api.d.ts new file mode 100644 index 0000000..7b2fd63 --- /dev/null +++ b/libs/api/api.d.ts @@ -0,0 +1,17 @@ +export default class Api { + static get(url: any, apiUrl: any, jwt: any, csrf: any, params: any, headers: any, timeout?: number): any; + static post(url: any, apiUrl: any, jwt: any, csrf: any, params: any, body: any, headers: any, timeout?: number): any; + static put(url: any, apiUrl: any, jwt: any, csrf: any, params: any, body: any, headers: any, timeout?: number): any; + static del(url: any, apiUrl: any, jwt: any, csrf: any, params: any, headers: any, timeout?: number): any; + static execRequest(method: any, url: any, apiUrl: any, jwt: any, csrf: any, params: any, body: any, headers: any, timeout?: number): any; + /** + * Returns a complete, absolute URL by conditionally appending `path` to + * `apiUrl`. If `path` already contains "http", it is returned as-is. + */ + static makeUrl(part: any, apiUrl: any): any; + static doRequest(url: any, requestMethod: any, requestType: any): any; + static wrapRequest(url: any, requestMethod: any, requestType: any): any; + static disposeRequest(url: any): void; + static promisify(request: any): Promise; + static queryStringFrom(params: any): string; +} diff --git a/libs/api/api.js b/libs/api/api.js index 5160a8e..d5232d2 100644 --- a/libs/api/api.js +++ b/libs/api/api.js @@ -254,5 +254,4 @@ var Api = /*#__PURE__*/function () { // } -exports["default"] = Api; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hcGkvYXBpLmpzIl0sIm5hbWVzIjpbInBlbmRpbmdSZXF1ZXN0cyIsIkFwaSIsInVybCIsImFwaVVybCIsImp3dCIsImNzcmYiLCJwYXJhbXMiLCJoZWFkZXJzIiwidGltZW91dCIsIk5ldHdvcmtDb25zdGFudHMiLCJUSU1FT1VUIiwiZXhlY1JlcXVlc3QiLCJHRVQiLCJib2R5IiwiUE9TVCIsIlBVVCIsIkRFTCIsIm1ldGhvZCIsImRvUmVxdWVzdCIsIm1ha2VVcmwiLCJxdWVyeVN0cmluZ0Zyb20iLCJmdWxsVXJsIiwicmVxdWVzdCIsIlJlcXVlc3QiLCJnZXQiLCJwb3N0Iiwic2VuZCIsInB1dCIsIl8iLCJpc0VtcHR5IiwiZGVsIiwic2V0IiwiaXNOaWwiLCJlYWNoIiwiaGVhZGVyVmFsdWUiLCJoZWFkZXJLZXkiLCJwYXJ0Iiwic3RhcnRzV2l0aCIsInNsYXNoIiwibGFzdCIsInNwbGl0IiwibmV3UGFydCIsInNsaWNlIiwicmVxdWVzdE1ldGhvZCIsInJlcXVlc3RUeXBlIiwid3JhcHBlciIsIndyYXBSZXF1ZXN0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NhY2hlUmVxdWVzdCh1cmwsIGp3dCwgY3NyZiwga2V5LCAoZnVsbFVybCwgand0LCBjc3J0KSA9PiB7XG4vLyAgICAgICByZXR1cm4gZ2V0KGZ1bGxVcmwpO1xuLy8gICAgIH0sIEdFVCk7XG4vLyAgICAgaWYgKGtleSkge1xuLy8gICAgICAgLy8gV2UgaGF2ZSBhIGtleS4gSW52b2tlIHRoZSBnZW5lcmF0ZSB0byBnZXQgZGF0YSBhbmQgZGlzcGF0Y2guXG4vLyAgICAgICB2YXIgcmVzcG9uc2UgPSByZXF1ZXN0Lm5leHQoKTtcbi8vICAgICAgIHdoaWxlIChyZWZyZXNoICYmICFyZXNwb25zZS5kb25lKXtcbi8vICAgICAgICAgcmVzcG9uc2UgPSByZXF1ZXN0Lm5leHQoKTtcbi8vICAgICAgIH1cbi8vICAgICB9IGVsc2Uge1xuLy8gICAgICAgLy8gUmV0dXJuIHRoZSBnZW5lcmF0b3IgYW5kIGxldCB0aGUgY2FsbGluZyBjb2RlIGludm9rZSBpdC5cbi8vICAgICAgIHJldHVybiByZXF1ZXN0O1xuLy8gICAgIH1cbi8vICAgfVxuIl19 \ No newline at end of file +exports["default"] = Api; \ No newline at end of file diff --git a/libs/api/superagent-mock-config.d.ts b/libs/api/superagent-mock-config.d.ts new file mode 100644 index 0000000..12bb671 --- /dev/null +++ b/libs/api/superagent-mock-config.d.ts @@ -0,0 +1,4031 @@ +declare const _exports: { + [n: number]: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }; + length: number; + toString(): string; + toLocaleString(): string; + pop(): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + } | undefined; + push(...items: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]): number; + concat(...items: ConcatArray<{ + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }>[]): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]; + concat(...items: ({ + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + } | ConcatArray<{ + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }>)[]): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]; + join(separator?: string | undefined): string; + reverse(): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]; + shift(): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + } | undefined; + slice(start?: number | undefined, end?: number | undefined): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]; + sort(compareFn?: ((a: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, b: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }) => number) | undefined): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]; + splice(start: number, deleteCount?: number | undefined): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]; + splice(start: number, deleteCount: number, ...items: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]; + unshift(...items: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]): number; + indexOf(searchElement: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, fromIndex?: number | undefined): number; + lastIndexOf(searchElement: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, fromIndex?: number | undefined): number; + every(predicate: (value: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, index: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => value is S, thisArg?: any): this is S[]; + every(predicate: (value: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, index: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => unknown, thisArg?: any): boolean; + some(predicate: (value: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, index: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => unknown, thisArg?: any): boolean; + forEach(callbackfn: (value: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, index: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => void, thisArg?: any): void; + map(callbackfn: (value: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, index: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => U, thisArg?: any): U[]; + filter(predicate: (value: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, index: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => value is S_1, thisArg?: any): S_1[]; + filter(predicate: (value: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, index: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => unknown, thisArg?: any): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]; + reduce(callbackfn: (previousValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, currentValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, currentIndex: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }; + reduce(callbackfn: (previousValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, currentValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, currentIndex: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, initialValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }; + reduce(callbackfn: (previousValue: U_1, currentValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, currentIndex: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => U_1, initialValue: U_1): U_1; + reduceRight(callbackfn: (previousValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, currentValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, currentIndex: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }; + reduceRight(callbackfn: (previousValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, currentValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, currentIndex: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, initialValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }; + reduceRight(callbackfn: (previousValue: U_2, currentValue: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, currentIndex: number, array: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => U_2, initialValue: U_2): U_2; + find(predicate: (this: void, value: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, index: number, obj: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => value is S_2, thisArg?: any): S_2 | undefined; + find(predicate: (value: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, index: number, obj: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => unknown, thisArg?: any): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + } | undefined; + findIndex(predicate: (value: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, index: number, obj: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]) => unknown, thisArg?: any): number; + fill(value: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, start?: number | undefined, end?: number | undefined): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]; + copyWithin(target: number, start: number, end?: number | undefined): { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }[]; + entries(): IterableIterator<[number, { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }]>; + keys(): IterableIterator; + values(): IterableIterator<{ + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }>; + includes(searchElement: { + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }, fromIndex?: number | undefined): boolean; + [Symbol.iterator](): IterableIterator<{ + /** + * regular expression of URL + */ + pattern: string; + /** + * returns the data + * + * @param match array Result of the resolution of the regular expression + * @param params object sent by 'send' function + * @param headers object set by 'set' function + * @param context object the context of running the fixtures function + */ + fixtures(match: any, params: any, headers: any, context: any): string | { + status: number; + contentType: string; + statusText: string; + responseText: string; + } | { + status: number; + statusText: string; + contentType?: undefined; + responseText?: undefined; + } | null; + /** + * returns the result of the GET request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + get(match: any, data: any): { + body: any; + }; + /** + * returns the result of the POST request + * + * @param match array Result of the resolution of the regular expression + * @param data mixed Data returns by `fixtures` attribute + */ + post(match: any, data: any): { + code: number; + body: any; + }; + put(match: any, data: any): { + code: number; + body: any; + }; + delete(match: any, data: any): { + code: number; + body: any; + }; + }>; + [Symbol.unscopables](): { + copyWithin: boolean; + entries: boolean; + fill: boolean; + find: boolean; + findIndex: boolean; + keys: boolean; + values: boolean; + }; +}; +export = _exports; diff --git a/libs/api/superagent-mock-config.js b/libs/api/superagent-mock-config.js index aec4234..a865901 100644 --- a/libs/api/superagent-mock-config.js +++ b/libs/api/superagent-mock-config.js @@ -172,5 +172,4 @@ module.exports = [{ body: data }; } -}]; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hcGkvc3VwZXJhZ2VudC1tb2NrLWNvbmZpZy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwicGF0dGVybiIsImZpeHR1cmVzIiwibWF0Y2giLCJwYXJhbXMiLCJoZWFkZXJzIiwiY29udGV4dCIsIkVycm9yIiwic3VwZXJoZXJvIiwiQXV0aG9yaXphdGlvbiIsInN0YXR1cyIsImNvbnRlbnRUeXBlIiwic3RhdHVzVGV4dCIsInJlc3BvbnNlVGV4dCIsIkpTT04iLCJzdHJpbmdpZnkiLCJpZCIsIm5hbWUiLCJkZWxheSIsInByb2dyZXNzIiwicGFydHMiLCJ0b3RhbCIsImxlbmd0aENvbXB1dGFibGUiLCJkaXJlY3Rpb24iLCJnZXQiLCJkYXRhIiwiYm9keSIsInBvc3QiLCJjb2RlIiwicHV0Il0sIm1hcHBpbmdzIjoiOztBQUFBO0FBQ0FBLE1BQU0sQ0FBQ0MsT0FBUCxHQUFpQixDQUNmO0FBQ0U7QUFDSjtBQUNBO0FBQ0lDLEVBQUFBLE9BQU8sRUFBRSw0QkFKWDs7QUFNRTtBQUNKO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0lDLEVBQUFBLFFBZEYsb0JBY1dDLEtBZFgsRUFja0JDLE1BZGxCLEVBYzBCQyxPQWQxQixFQWNtQ0MsT0FkbkMsRUFjNEM7QUFDeEM7QUFDTjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDTSxRQUFJSCxLQUFLLENBQUMsQ0FB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1cGVybWFuXCJcbiAgICAgICAqICAgfSlcbiAgICAgICAqL1xuXG4gICAgICBpZiAobWF0Y2hbMV0gPT09ICcvaGVybycpIHtcbiAgICAgICAgaWYgKHBhcmFtcy5zdXBlcmhlcm8pIHtcbiAgICAgICAgICByZXR1cm4gYFlvdXIgaGVybzoke3BhcmFtcy5zdXBlcmhlcm99YDtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gJ1lvdSBkaWRudCBjaG9vc2UgYSBoZXJvJztcbiAgICAgIH1cblxuXG4gICAgICAvKipcbiAgICAgICAqIENoZWNraW5nIG9uIGhlYWRlcnMgZXhhbXBsZTpcbiAgICAgICAqICAgcmVxdWVzdC5nZXQoJ2h0dHBzOi8vZG9tYWluLmV4YW1wbGUvYXV0aG9yaXplZF9lbmRwb2ludCcpLnNldCh7QXV0aG9yaXphdGlvbjogXCI5MzgyaGZpaDE4MzRoXCJ9KS5lbmQoZnVuY3Rpb24oZXJyLCByZXMpe1xuICAgICAgICogICAgIGNvbnNvbGUubG9nKHJlcy5ib2R5KTsgLy8gXCJBdXRoZW50aWNhdGVkIVwiXG4gICAgICAgKiAgIH0pXG4gICAgICAgKi9cblxuICAgICAgaWYgKG1hdGNoWzFdID09PSAnL2FwaS90ZXN0LzEyJykge1xuICAgICAgICBpZiAoaGVhZGVycy5BdXRob3JpemF0aW9uICYmIGhlYWRlcnNbJ1gtQ1NSRi1Ub2tlbiddKSB7XG4gICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHN0YXR1czogMjAwLFxuICAgICAgICAgICAgY29udGVudFR5cGU6ICdhcHBsaWNhdGlvbi9qc29uJyxcbiAgICAgICAgICAgIHN0YXR1c1RleHQ6ICdPSycsXG4gICAgICAgICAgICByZXNwb25zZVRleHQ6IEpTT04uc3RyaW5naWZ5KFt7XG4gICAgICAgICAgICAgIGlkOiAxLFxuICAgICAgICAgICAgICBuYW1lOiAnU3RhcnRlciBBcHAnXG4gICAgICAgICAgICB9XSlcbiAgICAg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ICAgKlxuICAgICAqIEBwYXJhbSBtYXRjaCBhcnJheSBSZXN1bHQgb2YgdGhlIHJlc29sdXRpb24gb2YgdGhlIHJlZ3VsYXIgZXhwcmVzc2lvblxuICAgICAqIEBwYXJhbSBkYXRhICBtaXhlZCBEYXRhIHJldHVybnMgYnkgYGZpeHR1cmVzYCBhdHRyaWJ1dGVcbiAgICAgKi9cbiAgICBnZXQobWF0Y2gsIGRhdGEpIHtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIGJvZHk6IGRhdGFcbiAgICAgIH07XG4gICAgfSxcblxuICAgIC8qKlxuICAgICAqIHJldHVybnMgdGhlIHJlc3VsdCBvZiB0aGUgUE9TVCByZXF1ZXN0XG4gICAgICpcbiAgICAgKiBAcGFyYW0gbWF0Y2ggYXJyYXkgUmVzdWx0IG9mIHRoZSByZXNvbHV0aW9uIG9mIHRoZSByZWd1bGFyIGV4cHJlc3Npb25cbiAgICAgKiBAcGFyYW0gZGF0YSAgbWl4ZWQgRGF0YSByZXR1cm5zIGJ5IGBmaXh0dXJlc2AgYXR0cmlidXRlXG4gICAgICovXG4gICAgcG9zdChtYXRjaCwgZGF0YSkge1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgY29kZTogMjAxLFxuICAgICAgICBib2R5OiBkYXRhXG4gICAgICB9O1xuICAgIH0sXG5cbiAgICBwdXQobWF0Y2gsIGRhdGEpIHtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIGNvZGU6IDIwMixcbiAgICAgICAgYm9keTogZGF0YVxuICAgICAgfTtcbiAgICB9LFxuXG4gICAgZGVsZXRlKG1hdGNoLCBkYXRhKSB7XG4gICAgICByZXR1cm4ge1xuICAgICAgICBjb2RlOiAyMDQsXG4gICAgICAgIGJvZHk6IGRhdGFcbiAgICAgIH07XG4gICAgfSxcbiAgfSxcbl07XG4iXX0= \ No newline at end of file +}]; \ No newline at end of file diff --git a/libs/communications/communicator.d.ts b/libs/communications/communicator.d.ts new file mode 100644 index 0000000..7f06f03 --- /dev/null +++ b/libs/communications/communicator.d.ts @@ -0,0 +1,14 @@ +export function postMessage(payload: any, domain?: string): void; +export function broadcastRawMessage(payload: any, domain?: string): void; +export function broadcastMessage(payload: any, domain?: string): void; +export default class Communicator { + static parseMessageFromEvent(e: any): any; + constructor(domain?: string); + domain: string; + enableListener(handler: any): void; + messageEvent: string | undefined; + handleCommFunc: ((e: any) => any) | undefined; + removeListener(): void; + comm(payload: any): void; + broadcast(payload: any): void; +} diff --git a/libs/communications/communicator.js b/libs/communications/communicator.js index 374dd7c..3580ff4 100644 --- a/libs/communications/communicator.js +++ b/libs/communications/communicator.js @@ -105,5 +105,4 @@ var Communicator = /*#__PURE__*/function () { return Communicator; }(); -exports["default"] = Communicator; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21tdW5pY2F0aW9ucy9jb21tdW5pY2F0b3IuanMiXSwibmFtZXMiOlsicG9zdE1lc3NhZ2UiLCJwYXlsb2FkIiwiZG9tYWluIiwicGFyZW50IiwiSlNPTiIsInN0cmluZ2lmeSIsImJyb2FkY2FzdFJhd01lc3NhZ2UiLCJwYXJlbnRzIiwiU2V0IiwicCIsImhhcyIsImFkZCIsImJyb2FkY2FzdE1lc3NhZ2UiLCJDb21tdW5pY2F0b3IiLCJoYW5kbGVyIiwiZXZlbnRNZXRob2QiLCJ3aW5kb3ciLCJhZGRFdmVudExpc3RlbmVyIiwiZXZlbnRlciIsIm1lc3NhZ2VFdmVudCIsImhhbmRsZUNvbW1GdW5jIiwiZSIsImhhbmRsZUNvbW0iLCJyZW1vdmVFdmVudExpc3RlbmVyIiwibWVzc2FnZSIsImRhdGEiLCJfIiwiaXNTdHJpbmciLCJwYXJzZSIsImV4Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUE7Ozs7Ozs7Ozs7QUFFQTtBQUNPLFNBQVNBLFdBQVQsQ0FBcUJDLE9BQXJCLEV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oYW5kbGVDb21tRnVuYyA9IChlKSA9PiBoYW5kbGVyLmhhbmRsZUNvbW0oZSk7XG4gICAgZXZlbnRlcih0aGlzLm1lc3NhZ2VFdmVudCwgdGhpcy5oYW5kbGVDb21tRnVuYywgZmFsc2UpO1xuICB9XG5cbiAgcmVtb3ZlTGlzdGVuZXIoKSB7XG4gICAgLy8gQ3JlYXRlIElFICsgb3RoZXJzIGNvbXBhdGlibGUgZXZlbnQgaGFuZGxlclxuICAgIGNvbnN0IGV2ZW50TWV0aG9kID0gd2luZG93LnJlbW92ZUV2ZW50TGlzdGVuZXIgPyAncmVtb3ZlRXZlbnRMaXN0ZW5lcicgOiAnZGV0YWNoRXZlbnQnO1xuICAgIGNvbnN0IGV2ZW50ZXIgPSB3aW5kb3dbZXZlbnRNZXRob2RdO1xuICAgIGV2ZW50ZXIodGhpcy5tZXNzYWdlRXZlbnQsIHRoaXMuaGFuZGxlQ29tbUZ1bmMsIGZhbHNlKTtcbiAgfVxuXG4gIGNvbW0ocGF5bG9hZCkge1xuICAgIHBvc3RNZXNzYWdlKHBheWxvYWQsIHRoaXMuZG9tYWluKTtcbiAgfVxuXG4gIGJyb2FkY2FzdChwYXlsb2FkKSB7XG4gICAgYnJvYWRjYXN0TWVzc2FnZShwYXlsb2FkLCB0aGlzLmRvbWFpbik7XG4gIH1cblxufVxuIl19 \ No newline at end of file +exports["default"] = Communicator; \ No newline at end of file diff --git a/libs/components/Banner/index.d.ts b/libs/components/Banner/index.d.ts new file mode 100644 index 0000000..a348d99 --- /dev/null +++ b/libs/components/Banner/index.d.ts @@ -0,0 +1,16 @@ +export function Banner(props: any): JSX.Element; +export namespace Banner { + namespace propTypes { + const heading: PropTypes.Requireable; + const message: PropTypes.Validator; + const type: PropTypes.Requireable; + const icon: PropTypes.Requireable; + const overrideClass: PropTypes.Requireable; + } +} +export const BannerTypes: Readonly<{ + ERROR: string; + RELIEF: string; + WARNING: string; +}>; +import PropTypes from "prop-types"; diff --git a/libs/components/Banner/index.js b/libs/components/Banner/index.js index 8b26e32..e1789f2 100644 --- a/libs/components/Banner/index.js +++ b/libs/components/Banner/index.js @@ -48,5 +48,4 @@ Banner.propTypes = { type: _propTypes["default"].string, icon: _propTypes["default"].string, overrideClass: _propTypes["default"].string -}; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0Jhbm5lci9pbmRleC5qc3giXSwibmFtZXMiOlsiQmFubmVyVHlwZXMiLCJPYmplY3QiLCJmcmVlemUiLCJFUlJPUiIsIlJFTElFRiIsIldBUk5JTkciLCJCYW5uZXIiLCJwcm9wcyIsImhlYWRpbmciLCJtZXNzYWdlIiwidHlwZSIsImljb24iLCJvdmVycmlkZUNsYXNzIiwiYmFzZUNsYXNzIiwiQm9vbGVhbiIsInByb3BUeXBlcyIsIlByb3BUeXBlcyIsInN0cmluZyIsImlzUmVxdWlyZWQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBQ0E7O0FBRUE7Ozs7OztBQUVPLElBQU1BLFdBQVcsR0FBR0MsTUFBTSxDQUFDQyxNQUFQLENBQWM7QUFDdkNDLEVBQUFBLEtBQUssRUFBRSxPQURnQztBQUV2Q0MsRUFBQUEsTUFBTSxFQUFFLFFBRitCO0FBR3ZDQyxFQUFBQSxPQUFPLEVBQUU7QUFIOEIsQ0FBZCxDQUFwQjs7O0FBTUEsU0FBU0MsTUFBVCxDQUFnQkMsS0FBaEIsRUFBdUI7QUFDNUIsTUFBUUMsT0FBUixHQUF3REQsS0FBeEQsQ0FBUUMsT0FBUjtBQUFBLE1BQWlCQyxPQUFqQixHQUF3REYsS0FBeEQsQ0FBaUJFLE9BQWpCO0FBQUEsTUFBMEJDLElBQTFCLEdBQXdESCxLQUF4RCxDQUEwQkcsSUFBMUI7QUFBQSxNQUFnQ0MsSUFBaEMsR0FBd0RKLEtBQXhELENBQWdDS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XG4iXX0= \ No newline at end of file +}; \ No newline at end of file diff --git a/libs/components/Button/index.d.ts b/libs/components/Button/index.d.ts new file mode 100644 index 0000000..1330545 --- /dev/null +++ b/libs/components/Button/index.d.ts @@ -0,0 +1,24 @@ +import React from 'react'; +import './styles.css'; +export interface Props { + ariaOptions?: Object; + buttonType?: ButtonType; + children: React.ReactNode; + classes?: string; + color?: string; + disabled?: boolean; + noBold?: boolean; + submit?: boolean; + rest?: Object; + onClick?: (event: React.MouseEvent) => void; +} +export declare enum ButtonType { + primary = "primary", + secondary = "secondary", + large = "large", + primaryLarge = "primary-large", + small = "small", + gray = "gray", + icon = "icon" +} +export declare const Button: React.ForwardRefExoticComponent>; diff --git a/libs/components/Button/index.js b/libs/components/Button/index.js index 64c339e..8119b63 100644 --- a/libs/components/Button/index.js +++ b/libs/components/Button/index.js @@ -58,5 +58,4 @@ var Button = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) { }), children); }); -exports.Button = Button; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0J1dHRvbi9pbmRleC50c3giXSwibmFtZXMiOlsiQnV0dG9uVHlwZSIsIkJ1dHRvbiIsIlJlYWN0IiwiZm9yd2FyZFJlZiIsInByb3BzIiwicmVmIiwiYXJpYU9wdGlvbnMiLCJjaGlsZHJlbiIsImNsYXNzZXMiLCJjb2xvciIsImRpc2FibGVkIiwic3VibWl0Iiwibm9Cb2xkIiwicmVzdCIsIm9uQ2xpY2siLCJidXR0b25UeXBlIiwiZ3JheSIsImNsYXNzTmFtZSJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOztBQUNBOztBQUVBOzs7Ozs7OztJQWVZQSxVOzs7V0FBQUEsVTtBQUFBQSxFQUFBQSxVO0FBQUFBLEVBQUFBLFU7QUFBQUEsRUFBQUEsVTtBQUFBQSxFQUFBQSxVO0FBQUFBLEVBQUFBL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iA9IFJlYWN0LmZvcndhcmRSZWY8SFRNTEJ1dHRvbkVsZW1lbnQsIFByb3BzPigocHJvcHM6IFByb3BzLCByZWYpID0+IHtcbiAgY29uc3Qge1xuICAgIGFyaWFPcHRpb25zID0ge30sXG4gICAgY2hpbGRyZW4sXG4gICAgY2xhc3NlcyxcbiAgICBjb2xvcixcbiAgICBkaXNhYmxlZCA9IGZhbHNlLFxuICAgIHN1Ym1pdCA9IGZhbHNlLFxuICAgIG5vQm9sZCxcbiAgICByZXN0LFxuICAgIG9uQ2xpY2sgPSAoKSA9PiB7fSxcbiAgfSA9IHByb3BzO1xuXG4gIGNvbnN0IGJ1dHRvblR5cGUgPSBkaXNhYmxlZCA/IEJ1dHRvblR5cGUuZ3JheSA6IHByb3BzLmJ1dHRvblR5cGU7XG5cbiAgY29uc3QgY2xhc3NOYW1lID0gY24oXG4gICAgJ2FqLWJ0bicsXG4gICAge1xuICAgICAgW2Bhai1idG4tLSR7Y29sb3J9YF06IGNvbG9yLFxuICAgICAgW2Bhai1idG4tLSR7YnV0dG9uVHlwZX1gXTogYnV0dG9uVHlwZSxcbiAgICAgICdhai1idG4tLW5vLWJvbGQnOiBub0JvbGQsXG4gICAgICBbY2xhc3NlcyBhcyBzdHJpbmddOiBjbGFzc2VzLFxuICAgIH0sXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8YnV0dG9uXG4gICAgICByZWY9e3JlZn1cbiAgICAgIHR5cGU9e3N1Ym1pdCA/ICdzdWJtaXQnIDogJ2J1dHRvbid9XG4gICAgICBjbGFzc05hbWU9e2NsYXNzTmFtZX1cbiAgICAgIGRpc2FibGVkPXtkaXNhYmxlZH1cbiAgICAgIHsuLi5hcmlhT3B0aW9uc31cbiAgICAgIHsuLi5yZXN0fVxuICAgICAgb25DbGljaz17b25DbGlja31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9idXR0b24+XG4gICk7XG59KTtcbiJdfQ== \ No newline at end of file +exports.Button = Button; \ No newline at end of file diff --git a/libs/components/Card/index.d.ts b/libs/components/Card/index.d.ts new file mode 100644 index 0000000..f7d8c47 --- /dev/null +++ b/libs/components/Card/index.d.ts @@ -0,0 +1,11 @@ +import React from 'react'; +import './styles.css'; +export interface Props { + classOverride?: string; + classes?: string; + title: string; + subtitle?: string; + blank?: boolean; + children?: React.ReactNode; +} +export default function Card(props: Props): JSX.Element; diff --git a/libs/components/Card/index.js b/libs/components/Card/index.js index ae4ae82..0d00286 100644 --- a/libs/components/Card/index.js +++ b/libs/components/Card/index.js @@ -32,5 +32,4 @@ function Card(props) { }, subtitle)), /*#__PURE__*/_react["default"].createElement("section", { className: "".concat(baseClass, "__content") }, children)), blank && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, children)); -} -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0NhcmQvaW5kZXgudHN4Il0sIm5hbWVzIjpbIkNhcmQiLCJwcm9wcyIsImNsYXNzT3ZlcnJpZGUiLCJjbGFzc2VzIiwidGl0bGUiLCJzdWJ0aXRsZSIsImJsYW5rIiwiY2hpbGRyZW4iLCJiYXNlQ2xhc3MiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFFQTs7OztBQVdlLFNBQVNBLElBQVQsQ0FBY0MsS0FBZCxFQUE0QjtBQUN6QyxNQUNFQyxhQURGLEdBT0lELEtBUEosQ0FDRUMsYUFERjtBQUFBLE1BRUVDLE9BRkYsR0FPSUYsS0FQSixDQUVFRSxPQUZGO0FBQUEsTUFHRUMsS0FIRixHQU9JSCxLQVBKLENBR0VHLEtBSEY7QUFBQSxNQUlFQyxRQUpGLEdBT0lKLEtBUEosQ0FJRUksUUFKRjtBQUFBLE1BS0VDLEtBTEYsR0FPSUwsS0FQSixDQUtFSyxLQUxGO0FBQUEsTUFNRUMsUUFORixHQU9JTixLQVBKLENBTUV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gPSBwcm9wcztcblxuICBjb25zdCBiYXNlQ2xhc3MgPSBjbGFzc092ZXJyaWRlIHx8ICdhai1jYXJkJztcblxuICByZXR1cm4gKFxuICAgIDxkaXYgY2xhc3NOYW1lPXtjbihiYXNlQ2xhc3MsIGNsYXNzZXMpfT5cbiAgICAgIHsgIWJsYW5rICYmXG4gICAgICAgIDw+XG4gICAgICAgICAgPGRpdiBjbGFzc05hbWU9e2Ake2Jhc2VDbGFzc31fX2hlYWRpbmdgfT5cbiAgICAgICAgICAgIDxoMSBjbGFzc05hbWU9e2Ake2Jhc2VDbGFzc31fX2hlYWRpbmctdGl0bGVgfT57dGl0bGV9PC9oMT5cbiAgICAgICAgICAgIDxoMiBjbGFzc05hbWU9e2Ake2Jhc2VDbGFzc31fX2hlYWRpbmctc3VidGl0bGVgfT57c3VidGl0bGV9PC9oMj5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8c2VjdGlvbiBjbGFzc05hbWU9e2Ake2Jhc2VDbGFzc31fX2NvbnRlbnRgfT5cbiAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICA8L3NlY3Rpb24+XG4gICAgICAgIDwvPiB9XG4gICAgICB7IGJsYW5rICYmIDw+e2NoaWxkcmVufTwvPiB9XG4gICAgPC9kaXY+XG4gICk7XG59XG4iXX0= \ No newline at end of file +} \ No newline at end of file diff --git a/libs/components/GqlStatus/index.d.ts b/libs/components/GqlStatus/index.d.ts new file mode 100644 index 0000000..686d59f --- /dev/null +++ b/libs/components/GqlStatus/index.d.ts @@ -0,0 +1,12 @@ +declare function GqlStatus(props: any): JSX.Element | null; +declare namespace GqlStatus { + namespace propTypes { + const loading: PropTypes.Requireable; + const error: PropTypes.Requireable; + }>>; + const loadMessage: PropTypes.Requireable; + } +} +export default GqlStatus; +import PropTypes from "prop-types"; diff --git a/libs/components/GqlStatus/index.js b/libs/components/GqlStatus/index.js index fa4954d..9649191 100644 --- a/libs/components/GqlStatus/index.js +++ b/libs/components/GqlStatus/index.js @@ -37,5 +37,4 @@ GqlStatus.propTypes = { message: _propTypes["default"].string }), loadMessage: _propTypes["default"].string -}; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0dxbFN0YXR1cy9pbmRleC5qc3giXSwibmFtZXMiOlsiR3FsU3RhdHVzIiwicHJvcHMiLCJsb2FkaW5nIiwibG9hZE1lc3NhZ2UiLCJlcnJvciIsIm1lc3NhZ2UiLCJwcm9wVHlwZXMiLCJQcm9wVHlwZXMiLCJib29sIiwic2hhcGUiLCJzdHJpbmciXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7QUFDQTs7OztBQUVlLFNBQVNBLFNBQVQsQ0FBbUJDLEtBQW5CLEVBQTBCO0FBQ3ZDLE1BQUlBLEtBQUssQ0FBQ0MsT0FBVixFQUFtQjtBQUNqQix3QkFDRSxnQ0FBQyw2QkFBRDtBQUFrQixNQUFBLE9BQU8sRUFBRUQsS0FBSyxDQUFDRTtBQUFqQyxNQURGO0FBR0Q7O0FBRUQsTUFBSUYsS0FBSyxDQUFDRyxLQUFWLEVBQWlCO0FBQ2Ysd0JBQU8sZ0NBQUMsd0JBQUQ7QUFBYSxNQUFBLEtBQUssRUFBRUgsS0FBSyxDQUFDRyxLQUFOLENBQVlDO0FBQWhDLE1BQVA7QUFDRDs7QUFFRCxTQUFPLElBQVA7QUFDRDs7QUFFREwsU0FBUyxDQUFDTSxTQUFWLEdBQXNCO0FBQ3BCSixFQUFBQSxPQUFPLEVBQUVLLHNCQUFVQyxJQURDO0FBRXBCSixFQUFBQSxLQUFLLEVBQUVHLHNCQUFVRSxLQUFWLENBQWdCO0FBQUVKLElBQUFBLE9BQU8sRUFBRUUsc0JBQVVHO0FBQXJCLEdBQWhCLENBRmE7QUFHcEJQLEVBQUFBLFdBQVcsRUFBRUksc0JBQVVHO0FBSEgsQ0FBdEIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcbmltcG9ydCBBdG9taWNKb2x0TG9hZGVyIGZyb20gJy4uL2NvbW1vbi9hdG9taWNqb2x0X2xvYWRlcic7XG5pbXBvcnQgSW5saW5lRXJyb3IgZnJvbSAnLi4vY29tbW9uL2Vycm9ycy9pbmxpbmVfZXJyb3InO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBHcWxTdGF0dXMocHJvcHMpIHtcbiAgaWYgKHByb3BzLmxvYWRpbmcpIHtcbiAgICByZXR1cm4gKFxuICAgICAgPEF0b21pY0pvbHRMb2FkZXIgbWVzc2FnZT17cHJvcHMubG9hZE1lc3NhZ2V9IC8+XG4gICAgKTtcbiAgfVxuXG4gIGlmIChwcm9wcy5lcnJvcikge1xuICAgIHJldHVybiA8SW5saW5lRXJyb3IgZXJyb3I9e3Byb3BzLmVycm9yLm1lc3NhZ2V9IC8+O1xuICB9XG5cbiAgcmV0dXJuIG51bGw7XG59XG5cbkdxbFN0YXR1cy5wcm9wVHlwZXMgPSB7XG4gIGxvYWRpbmc6IFByb3BUeXBlcy5ib29sLFxuICBlcnJvcjogUHJvcFR5cGVzLnNoYXBlKHsgbWVzc2FnZTogUHJvcFR5cGVzLnN0cmluZyB9KSxcbiAgbG9hZE1lc3NhZ2U6IFByb3BUeXBlcy5zdHJpbmcsXG59OyJdfQ== \ No newline at end of file +}; \ No newline at end of file diff --git a/libs/components/StoryWrapper/index.d.ts b/libs/components/StoryWrapper/index.d.ts new file mode 100644 index 0000000..4141151 --- /dev/null +++ b/libs/components/StoryWrapper/index.d.ts @@ -0,0 +1 @@ +export default function StoryWrapper(props: any): JSX.Element; diff --git a/libs/components/StoryWrapper/index.js b/libs/components/StoryWrapper/index.js index 295daac..54a24ba 100644 --- a/libs/components/StoryWrapper/index.js +++ b/libs/components/StoryWrapper/index.js @@ -24,5 +24,4 @@ function StoryWrapper(props) { href: "https://fonts.googleapis.com/icon?family=Material+Icons+Outlined", rel: "stylesheet" })), /*#__PURE__*/_react["default"].createElement("div", null, children)); -} -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N0b3J5V3JhcHBlci9pbmRleC5qc3giXSwibmFtZXMiOlsiU3RvcnlXcmFwcGVyIiwicHJvcHMiLCJjaGlsZHJlbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOzs7O0FBRWUsU0FBU0EsWUFBVCxDQUFzQkMsS0FBdEIsRUFBNkI7QUFDMUMsTUFBUUMsUUFBUixHQUFxQkQsS0FBckIsQ0FBUUMsUUFBUjtBQUVBLHNCQUNFLCtFQUNFLDBEQUNFO0FBQU0sSUFBQSxHQUFHLEVBQUMsWUFBVjtBQUF1QixJQUFBLElBQUksRUFBQztBQUE1QixJQURGLGVBRUU7QUFBTSxJQUFBLElBQUksRUFBQyx5RUFBWDtBQUFxRixJQUFBLEdBQUcsRUFBQztBQUF6RixJQUZGLGVBR0U7QUFBTSxJQUFBLElBQUksRUFBQyx5REFBWDtBQUFxRSxJQUFBLEdBQUcsRUFBQztBQUF6RSxJQUhGLGVBSUU7QUFBTSxJQUFBLElBQUksRUFBQyxrRUFBWDtBQUE4RSxJQUFBLEdBQUcsRUFBQztBQUFsRixJQUpGLENBREYsZUFPRSw2Q0FDR0EsUUFESCxDQVBGLENBREY7QUFhRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIFN0b3J5V3JhcHBlcihwcm9wcykge1xuICBjb25zdCB7IGNoaWxkcmVuIH0gPSBwcm9wcztcblxuICByZXR1cm4gKFxuICAgIDw+XG4gICAgICA8ZGl2PlxuICAgICAgICA8bGluayByZWw9XCJwcmVjb25uZWN0XCIgaHJlZj1cImh0dHBzOi8vZm9udHMuZ3N0YXRpYy5jb21cIiAvPlxuICAgICAgICA8bGluayBocmVmPVwiaHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3MyP2ZhbWlseT1MYXRvOndnaHRANDAwOzcwMCZkaXNwbGF5PXN3YXBcIiByZWw9XCJzdHlsZXNoZWV0XCIgLz5cbiAgICAgICAgPGxpbmsgaHJlZj1cImh0dHBzOi8vZm9udHMuZ29vZ2xlYXBpcy5jb20vaWNvbj9mYW1pbHk9TWF0ZXJpYWwrSWNvbnNcIiByZWw9XCJzdHlsZXNoZWV0XCIgLz5cbiAgICAgICAgPGxpbmsgaHJlZj1cImh0dHBzOi8vZm9udHMuZ29vZ2xlYXBpcy5jb20vaWNvbj9mYW1pbHk9TWF0ZXJpYWwrSWNvbnMrT3V0bGluZWRcIiByZWw9XCJzdHlsZXNoZWV0XCIgLz5cbiAgICAgIDwvZGl2PlxuICAgICAgPGRpdj5cbiAgICAgICAge2NoaWxkcmVufVxuICAgICAgPC9kaXY+XG4gICAgPC8+XG4gICk7XG59XG4iXX0= \ No newline at end of file +} \ No newline at end of file diff --git a/libs/components/common/atomicjolt_loader.d.ts b/libs/components/common/atomicjolt_loader.d.ts new file mode 100644 index 0000000..d935422 --- /dev/null +++ b/libs/components/common/atomicjolt_loader.d.ts @@ -0,0 +1,19 @@ +export class Loader extends React.PureComponent { + static propTypes: { + message: PropTypes.Requireable; + logoColor: PropTypes.Requireable; + backgroundColor1: PropTypes.Requireable; + backgroundColor2: PropTypes.Requireable; + aj_loader: PropTypes.Requireable; + backgroundColor1: PropTypes.Requireable; + backgroundColor2: PropTypes.Requireable; + }>>; + }; + constructor(props: any); + constructor(props: any, context: any); +} +declare var _default: (props: any) => JSX.Element; +export default _default; +import React from "react"; +import PropTypes from "prop-types"; diff --git a/libs/components/common/atomicjolt_loader.js b/libs/components/common/atomicjolt_loader.js index 06105d8..8e9237b 100644 --- a/libs/components/common/atomicjolt_loader.js +++ b/libs/components/common/atomicjolt_loader.js @@ -115,5 +115,4 @@ _defineProperty(Loader, "propTypes", { var _default = (0, _settings.withSettings)(Loader); -exports["default"] = _default; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2NvbW1vbi9hdG9taWNqb2x0X2xvYWRlci5qc3giXSwibmFtZXMiOlsicmVuZGVyU3R5bGVzIiwibG9nb0NvbG9yIiwiYmFja2dyb3VuZENvbG9yMSIsImJhY2tncm91bmRDb2xvcjIiLCJMb2FkZXIiLCJhakxvYWRlciIsInByb3BzIiwic2V0dGluZ3MiLCJhal9sb2FkZXIiLCJtZXNzYWdlIiwiUmVhY3QiLCJQdXJlQ29tcG9uZW50IiwiUHJvcFR5cGVzIiwic3RyaW5nIiwic2hhcGUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUNBOztBQUVBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUVBLFNBQVNBLFlBQVQsR0FBc0c7QUFBQSxNQUFoRkMsU0FBZ0YsdUVBQXBFLE1BQW9FO0FBQUEsTUFBNURDLGdCQUE0RCx1RUFBekMsU0FBeUM7QUFBQSxNQUE5QkMsZ0JBQThCLHVFQUFYLFNBQVc7QUFDcEc7QUFJQSxxVEFTb0RELGdCQVRwRCxlQVN5RUMsZ0JBVHpFO0FBWUE7QUFNQSwwSkFFWUYsU0FGWjtBQU9BO0FBSUE7QUFJQTtBQWNBO0FBY0E7QUFTRDs7SUFFWUcsTTs7Ozs7Ozs7Ozs7OztXQWNYLGtCQUFTO0FBQ1AsVUFBTUMsUUFBUSxHQUFHLGVBQWUsS0FBS0MsS0FBTCxDQUFXQyxRQUExQixHQUFxQyxLQUFLRCxLQUFMLENBQVdDLFFBQVgsQ0FBb0JDLFNBQX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R0aW5ncyhMb2FkZXIpO1xuIl19 \ No newline at end of file +exports["default"] = _default; \ No newline at end of file diff --git a/libs/components/common/errors/inline_error.d.ts b/libs/components/common/errors/inline_error.d.ts new file mode 100644 index 0000000..b769794 --- /dev/null +++ b/libs/components/common/errors/inline_error.d.ts @@ -0,0 +1,9 @@ +export default class InlineError extends React.PureComponent { + static propTypes: { + error: PropTypes.Requireable; + }; + constructor(props: any); + constructor(props: any, context: any); +} +import React from "react"; +import PropTypes from "prop-types"; diff --git a/libs/components/common/errors/inline_error.js b/libs/components/common/errors/inline_error.js index f1b01ca..621aefa 100644 --- a/libs/components/common/errors/inline_error.js +++ b/libs/components/common/errors/inline_error.js @@ -77,5 +77,4 @@ exports["default"] = InlineError; _defineProperty(InlineError, "propTypes", { error: _propTypes["default"].string -}); -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2NvbW1vbi9lcnJvcnMvaW5saW5lX2Vycm9yLmpzeCJdLCJuYW1lcyI6WyJyZW5kZXJTdHlsZXMiLCJJbmxpbmVFcnJvciIsInByb3BzIiwiZXJyb3IiLCJSZWFjdCIsIlB1cmVDb21wb25lbnQiLCJQcm9wVHlwZXMiLCJzdHJpbmciXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUNBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUVBLFNBQVNBLFlBQVQsR0FBd0I7QUFDdEI7QUFhQTtBQUtBO0FBUUE7QUFNQTtBQUdEOztJQUNvQkMsVzs7Ozs7Ozs7Ozs7OztXQU1uQixrQkFBUztBQUNQRCxNQUFBQSxZQUFZO0FBQ1osMEJBQ0U7QUFBSyxRQUFBLFNBQVMsRUFBQztBQUFmLHNCQUNFO0FBQUcsUUFBQSxTQUFTLEVBQUM7QUFBYixpQkFERixlQUVFLG9EQUZGLGVBR0U7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TtcbiAgICBmb250LWZhbWlseTogJ21vbnRzZXJyYXRib2xkJztcbiAgICBmb250LXdlaWdodDogbm9ybWFsO1xuICAgIG1hcmdpbjogMDtcbiAgICBtYXJnaW4tcmlnaHQ6IDMuMnJlbTtcbiAgfWApO1xuICBhZGRTdHlsZXMoYC5lcnJvci1iYW5uZXJfX2NvbnRlbnQge1xuICAgIGNvbG9yOiAjZmZmO1xuICAgIGZvbnQtZmFtaWx5OiAnbW9udHNlcnJhdHJlZ3VsYXInO1xuICAgIGZvbnQtd2VpZ2h0OiBub3JtYWw7XG4gICAgZm9udC1zaXplOiAxLjRyZW07XG4gIH1gKTtcbiAgYWRkU3R5bGVzKGAuZXJyb3ItYmFubmVyX19jb250ZW50IHNwYW4ge1xuICAgIG1hcmdpbi1yaWdodDogMC44cmVtO1xuICB9YCk7XG59XG5leHBvcnQgZGVmYXVsdCBjbGFzcyBJbmxpbmVFcnJvciBleHRlbmRzIFJlYWN0LlB1cmVDb21wb25lbnQge1xuXG4gIHN0YXRpYyBwcm9wVHlwZXMgPSB7XG4gICAgZXJyb3I6IFByb3BUeXBlcy5zdHJpbmcsXG4gIH07XG5cbiAgcmVuZGVyKCkge1xuICAgIHJlbmRlclN0eWxlcygpO1xuICAgIHJldHVybiAoXG4gICAgICA8ZGl2IGNsYXNzTmFtZT1cImVycm9yLWJhbm5lclwiPlxuICAgICAgICA8aSBjbGFzc05hbWU9XCJtYXRlcmlhbC1pY29uc1wiPmVycm9yPC9pPlxuICAgICAgICA8aDM+RXJyb3I8L2gzPlxuICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cImVycm9yLWJhbm5lcl9fY29udGVudFwiPlxuICAgICAgICAgIHsgdGhpcy5wcm9wcy5lcnJvciB9XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgKTtcbiAgfVxufVxuIl19 \ No newline at end of file +}); \ No newline at end of file diff --git a/libs/components/common/gql_status.d.ts b/libs/components/common/gql_status.d.ts new file mode 100644 index 0000000..686d59f --- /dev/null +++ b/libs/components/common/gql_status.d.ts @@ -0,0 +1,12 @@ +declare function GqlStatus(props: any): JSX.Element | null; +declare namespace GqlStatus { + namespace propTypes { + const loading: PropTypes.Requireable; + const error: PropTypes.Requireable; + }>>; + const loadMessage: PropTypes.Requireable; + } +} +export default GqlStatus; +import PropTypes from "prop-types"; diff --git a/libs/components/common/gql_status.js b/libs/components/common/gql_status.js index db4065f..ad07b49 100644 --- a/libs/components/common/gql_status.js +++ b/libs/components/common/gql_status.js @@ -37,5 +37,4 @@ GqlStatus.propTypes = { message: _propTypes["default"].string }), loadMessage: _propTypes["default"].string -}; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2NvbW1vbi9ncWxfc3RhdHVzLmpzeCJdLCJuYW1lcyI6WyJHcWxTdGF0dXMiLCJwcm9wcyIsImxvYWRpbmciLCJsb2FkTWVzc2FnZSIsImVycm9yIiwibWVzc2FnZSIsInByb3BUeXBlcyIsIlByb3BUeXBlcyIsImJvb2wiLCJzaGFwZSIsInN0cmluZyJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOztBQUNBOztBQUNBOztBQUNBOzs7O0FBRWUsU0FBU0EsU0FBVCxDQUFtQkMsS0FBbkIsRUFBMEI7QUFDdkMsTUFBSUEsS0FBSyxDQUFDQyxPQUFWLEVBQW1CO0FBQ2pCLHdCQUNFLGdDQUFDLDZCQUFEO0FBQWtCLE1BQUEsT0FBTyxFQUFFRCxLQUFLLENBQUNFO0FBQWpDLE1BREY7QUFHRDs7QUFFRCxNQUFJRixLQUFLLENBQUNHLEtBQVYsRUFBaUI7QUFDZix3QkFBTyxnQ0FBQyx3QkFBRDtBQUFhLE1BQUEsS0FBSyxFQUFFSCxLQUFLLENBQUNHLEtBQU4sQ0FBWUM7QUFBaEMsTUFBUDtBQUNEOztBQUVELFNBQU8sSUFBUDtBQU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No newline at end of file +}; \ No newline at end of file diff --git a/libs/components/common/resize_wrapper.d.ts b/libs/components/common/resize_wrapper.d.ts new file mode 100644 index 0000000..8564f4c --- /dev/null +++ b/libs/components/common/resize_wrapper.d.ts @@ -0,0 +1,9 @@ +declare function ResizeWrapper(props: any): JSX.Element; +declare namespace ResizeWrapper { + namespace propTypes { + const children: propTypes.Requireable; + const getSize: propTypes.Requireable<(...args: any[]) => any>; + } +} +export default ResizeWrapper; +import propTypes_1 from "prop-types"; diff --git a/libs/components/common/resize_wrapper.js b/libs/components/common/resize_wrapper.js index 67ff4ea..3b163d6 100644 --- a/libs/components/common/resize_wrapper.js +++ b/libs/components/common/resize_wrapper.js @@ -33,5 +33,4 @@ function ResizeWrapper(props) { ResizeWrapper.propTypes = { children: _propTypes["default"].node, getSize: _propTypes["default"].func -}; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2NvbW1vbi9yZXNpemVfd3JhcHBlci5qc3giXSwibmFtZXMiOlsiUmVzaXplV3JhcHBlciIsInByb3BzIiwiY2hpbGRyZW4iLCJnZXRTaXplIiwicHJvcFR5cGVzIiwibm9kZSIsImZ1bmMiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUNBOzs7Ozs7OztBQUVlLFNBQVNBLGFBQVQsQ0FBdUJDLEtBQXZCLEVBQThCO0FBRTNDLE1BQVFDLFFBQVIsR0FBOEJELEtBQTlCLENBQVFDLFFBQVI7QUFBQSxNQUFrQkMsT0FBbEIsR0FBOEJGLEtBQTlCLENBQWtCRSxPQUFsQjtBQUVBLHdCQUFVLFlBQU07QUFDZCxtQ0FBa0JBLE9BQWxCO0FBQ0QsR0FGRCxFQUVHLEVBRkg7QUFJQSxzQkFDRSxrRUFDR0QsUUFESCxlQUVFO0FBQUssSUFBQSxFQUFFLEVBQUM7QUFBUixJQUZGLENBREY7QUFNRDs7QUFFREYsYUFBYSxDQUFDSSxTQUFkLEdBQTBCO0FBQ3hCRixFQUFBQSxRQUFRLEVBQUVFLHNCQUFVQyxJQURJO0FBRXhCRixFQUFBQSxPQUFPLEVBQUVDLHNCQUFVRTtBQUZLLENBQTFCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IHVzZUVmZmVjdCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCBwcm9wVHlwZXMgZnJvbSAncHJvcC10eXBlcyc7XG5pbXBvcnQgaW5pdFJlc2l6ZUhhbmRsZXIgZnJvbSAnLi4vLi4vbGlicy9yZXNpemVfaWZyYW1lJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gUmVzaXplV3JhcHBlcihwcm9wcykge1xuXG4gIGNvbnN0IHsgY2hpbGRyZW4sIGdldFNpemUgfSA9IHByb3BzO1xuXG4gIHVzZUVmZmVjdCgoKSA9PiB7XG4gICAgaW5pdFJlc2l6ZUhhbmRsZXIoZ2V0U2l6ZSk7XG4gIH0sIFtdKTtcblxuICByZXR1cm4gKFxuICAgIDw+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgICA8ZGl2IGlkPVwiY29udGVudC1tZWFzdXJpbmctc3RpY2tcIiAvPlxuICAgIDwvPlxuICApO1xufVxuXG5SZXNpemVXcmFwcGVyLnByb3BUeXBlcyA9IHtcbiAgY2hpbGRyZW46IHByb3BUeXBlcy5ub2RlLFxuICBnZXRTaXplOiBwcm9wVHlwZXMuZnVuYyxcbn07XG4iXX0= \ No newline at end of file +}; \ No newline at end of file diff --git a/libs/components/settings.d.ts b/libs/components/settings.d.ts new file mode 100644 index 0000000..b6eac6c --- /dev/null +++ b/libs/components/settings.d.ts @@ -0,0 +1,3 @@ +export function withSettings(Component: any): (props: any) => JSX.Element; +export const SettingsContext: React.Context; +import React from "react"; diff --git a/libs/components/settings.js b/libs/components/settings.js index 87b267f..d487811 100644 --- a/libs/components/settings.js +++ b/libs/components/sett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iB7fTtcbmV4cG9ydCBjb25zdCBTZXR0aW5nc0NvbnRleHQgPSBSZWFjdC5jcmVhdGVDb250ZXh0KHtcbiAgLi4ud2luZG93LkRFRkFVTFRfU0VUVElOR1MsXG4gIHVwZGF0ZUdsb2JhbFNldHRpbmdcbn0pO1xuZXhwb3J0IGZ1bmN0aW9uIHdpdGhTZXR0aW5ncyhDb21wb25lbnQpIHtcbiAgcmV0dXJuIGZ1bmN0aW9uIFNldHRpbmdzQ29tcG9uZW50KHByb3BzKSB7XG4gICAgcmV0dXJuIChcbiAgICAgIDxTZXR0aW5nc0NvbnRleHQuQ29uc3VtZXI+XG4gICAgICAgIHsoc2V0dGluZ3MpID0+IDxDb21wb25lbnQgey4uLnByb3BzfSBzZXR0aW5ncz17c2V0dGluZ3N9IC8+fVxuICAgICAgPC9TZXR0aW5nc0NvbnRleHQuQ29uc3VtZXI+XG4gICAgKTtcbiAgfTtcbn0iXX0= \ No newline at end of file +} \ No newline at end of file diff --git a/libs/constants/error.d.ts b/libs/constants/error.d.ts new file mode 100644 index 0000000..fda1345 --- /dev/null +++ b/libs/constants/error.d.ts @@ -0,0 +1,6 @@ +declare namespace _default { + const TIMEOUT: string; + const ERROR: string; + const NOT_AUTHORIZED: string; +} +export default _default; diff --git a/libs/constants/error.js b/libs/constants/error.js index 01355d3..5caa724 100644 --- a/libs/constants/error.js +++ b/libs/constants/error.js @@ -9,5 +9,4 @@ var _default = { ERROR: 'NETWORK_ERROR', NOT_AUTHORIZED: 'NETWORK_NOT_AUTHORIZED' }; -exports["default"] = _default; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb25zdGFudHMvZXJyb3IuanMiXSwibmFtZXMiOlsiVElNRU9VVCIsIkVSUk9SIiwiTk9UX0FVVEhPUklaRUQiXSwibWFwcGluZ3MiOiI7Ozs7OztlQUFlO0FBQ2JBLEVBQUFBLE9BQU8sRUFBUyxpQkFESDtBQUViQyxFQUFBQSxLQUFLLEVBQVcsZUFGSDtBQUdiQyxFQUFBQSxjQUFjLEVBQUU7QUFISCxDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQge1xuICBUSU1FT1VUOiAgICAgICAgJ05FVFdPUktfVElNRU9VVCcsXG4gIEVSUk9SOiAgICAgICAgICAnTkVUV09SS19FUlJPUicsXG4gIE5PVF9BVVRIT1JJWkVEOiAnTkVUV09SS19OT1RfQVVUSE9SSVpFRCcsXG59O1xuIl19 \ No newline at end of file +exports["default"] = _default; \ No newline at end of file diff --git a/libs/constants/network.d.ts b/libs/constants/network.d.ts new file mode 100644 index 0000000..9a55880 --- /dev/null +++ b/libs/constants/network.d.ts @@ -0,0 +1,8 @@ +declare namespace _default { + const GET: string; + const POST: string; + const PUT: string; + const DEL: string; + const TIMEOUT: number; +} +export default _default; diff --git a/libs/constants/network.js b/libs/constants/network.js index 7823d70..04bb62f 100644 --- a/libs/constants/network.js +++ b/libs/constants/network.js @@ -11,5 +11,4 @@ var _default = { DEL: 'delete', TIMEOUT: 20000 }; -exports["default"] = _default; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb25zdGFudHMvbmV0d29yay5qcyJdLCJuYW1lcyI6WyJHRVQiLCJQT1NUIiwiUFVUIiwiREVMIiwiVElNRU9VVCJdLCJtYXBwaW5ncyI6Ijs7Ozs7O2VBQWU7QUFDYkEsRUFBQUEsR0FBRyxFQUFNLEtBREk7QUFFYkMsRUFBQUEsSUFBSSxFQUFLLE1BRkk7QUFHYkMsRUFBQUEsR0FBRyxFQUFNLEtBSEk7QUFJYkMsRUFBQUEsR0FBRyxFQUFNLFFBSkk7QUFLYkMsRUFBQUEsT0FBTyxFQUFFO0FBTEksQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IHtcbiAgR0VUOiAgICAgJ2dldCcsXG4gIFBPU1Q6ICAgICdwb3N0JyxcbiAgUFVUOiAgICAgJ3B1dCcsXG4gIERFTDogICAgICdkZWxldGUnLFxuICBUSU1FT1VUOiAyMDAwMCxcbn07XG4iXX0= \ No newline at end of file +exports["default"] = _default; \ No newline at end of file diff --git a/libs/constants/wrapper.d.ts b/libs/constants/wrapper.d.ts new file mode 100644 index 0000000..37f228f --- /dev/null +++ b/libs/constants/wrapper.d.ts @@ -0,0 +1,2 @@ +export default function _default(actionTypes: any, asyncActionTypes: any): any; +export const DONE: "_DONE"; diff --git a/libs/constants/wrapper.js b/libs/constants/wrapper.js index e39104c..d228b21 100644 --- a/libs/constants/wrapper.js +++ b/libs/constants/wrapper.js @@ -31,5 +31,4 @@ function _default(actionTypes, asyncActionTypes) { }, types); types.DONE = DONE; return types; -} -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb25zdGFudHMvd3JhcHBlci5qcyJdLCJuYW1lcyI6WyJET05FIiwiYWN0aW9uVHlwZXMiLCJhc3luY0FjdGlvblR5cGVzIiwidHlwZXMiLCJfIiwicmVkdWNlIiwicmVzdWx0Iiwia2V5Il0sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBOzs7Ozs7Ozs7O0FBRU8sSUFBTUEsSUFBSSxHQUFHLE9BQWI7OztBQUVRLGtCQUFTQyxXQUFULEVBQXNCQyxnQkFBdEIsRUFBd0M7QUFFckQsTUFBSUMsS0FBSyxHQUFHQyxtQkFBRUMsTUFBRixDQUFTSixXQUFULEVBQXNCLFVBQUNLLE1BQUQsRUFBU0MsR0FBVDtBQUFBLDJDQUM3QkQsTUFENkIsMkJBRS9CQyxHQUYrQixFQUV6QkEsR0FGeUI7QUFBQSxHQUF0QixFQUdSLEVBSFEsQ0FBWjs7QUFLQUosRUFBQUEsS0FBSyxHQUFHQyxtQkFBRUMsTUFBRixDQUFTSCxnQkFBVCxFQUEyQixVQUFDSSxNQUFELEVBQVNDLEdBQVQ7QUFBQTs7QUFBQSwyQ0FDOUJELE1BRDhCLDZEQUVoQ0MsR0FGZ0MsRUFFMUJBLEdBRjBCLDZDQUc3QkEsR0FINkIsU0FHdkJQLElBSHVCLGFBR1hPLEdBSFcsU0FHTFAsSUFISztBQUFBLEdBQTNCLEVBSUpHLEtBSkksQ0FBUjtBQU1BQSxFQUFBQSxLQUFLLENBQUNILElBQU4sR0FBYUEsSUFBYjtBQUVBLFNBQU9HLEtBQVA7QUFDRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBfIGZyb20gJ2xvZGFzaCc7XG5cbmV4cG9ydCBjb25zdCBET05FID0gJ19ET05FJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oYWN0aW9uVHlwZXMsIGFzeW5jQWN0aW9uVHlwZXMpIHtcblxuICBsZXQgdHlwZXMgPSBfLnJlZHVjZShhY3Rpb25UeXBlcywgKHJlc3VsdCwga2V5KSA9PiAoe1xuICAgIC4uLnJlc3VsdCxcbiAgICBba2V5XToga2V5XG4gIH0pLCB7fSk7XG5cbiAgdHlwZXMgPSBfLnJlZHVjZShhc3luY0FjdGlvblR5cGVzLCAocmVzdWx0LCBrZXkpID0+ICh7XG4gICAgLi4ucmVzdWx0LFxuICAgIFtrZXldOiBrZXksXG4gICAgW2Ake2tleX0ke0RPTkV9YF06IGAke2tleX0ke0RPTkV9YFxuICB9KSwgdHlwZXMpO1xuXG4gIHR5cGVzLkRPTkUgPSBET05FO1xuXG4gIHJldHVybiB0eXBlcztcbn1cbiJdfQ== \ No newline at end of file +} \ No newline at end of file diff --git a/libs/decorators/modal.d.ts b/libs/decorators/modal.d.ts new file mode 100644 index 0000000..4224708 --- /dev/null +++ b/libs/decorators/modal.d.ts @@ -0,0 +1 @@ +export default function modalDecorator(Component: any, name: any): import("react-redux").ConnectedComponent>; diff --git a/libs/decorators/modal.js b/libs/decorators/modal.js index 945ba65..a56a027 100644 --- a/libs/decorators/modal.js +++ b/libs/decorators/modal.js @@ -25,5 +25,4 @@ function modalDecorator(Component, name) { }; return (0, _reactRedux.connect)(select, ModalActions)(Component); -} -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9kZWNvcmF0b3JzL21vZGFsLmpzIl0sIm5hbWVzIjpbIm1vZGFsRGVjb3JhdG9yIiwiQ29tcG9uZW50IiwibmFtZSIsInNlbGVjdCIsIm1vZGFsIiwiaXNPcGVuIiwiY3VycmVudE9wZW5Nb2RhbCIsIk1vZGFsQWN0aW9ucyJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7O0FBQ0E7Ozs7OztBQUdBO0FBQ2UsU0FBU0EsY0FBVCxDQUF3QkMsU0FBeEIsRUFBbUNDLElBQW5DLEVBQXlDO0FBQ3RELE1BQU1DLE1BQU0sR0FBRyxTQUFUQSxNQUFTO0FBQUEsUUFBR0MsS0FBSCxRQUFHQSxLQUFIO0FBQUEsV0FBZ0I7QUFBRUMsTUFBQUEsTUFBTSxFQUFFRCxLQUFLLENBQUNFLGdCQUFOLEtBQTJCSjtBQUFyQyxLQUFoQjtBQUFBLEdBQWY7O0FBQ0EsU0FBTyx5QkFBUUMsTUFBUixFQUFnQkksWUFBaEIsRUFBOEJOLFNBQTlCLENBQVA7QUFDRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNvbm5lY3QgfSBmcm9tICdyZWFjdC1yZWR1eCc7XG5pbXBvcnQgKiBhcyBNb2RhbEFjdGlvbnMgZnJvbSAnLi4vYWN0aW9ucy9tb2RhbCc7XG5cblxuLy8gRG9udCB1c2Ugd2l0aCBkZWNvcmF0b3Igc3ludGF4IGJ1dCBpdCBpcyBhIGRlY29yYXRvciBub24gdGhlIGxlc3NcbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIG1vZGFsRGVjb3JhdG9yKENvbXBvbmVudCwgbmFtZSkge1xuICBjb25zdCBzZWxlY3QgPSAoeyBtb2RhbCB9KSA9PiAoeyBpc09wZW46IG1vZGFsLmN1cnJlbnRPcGVuTW9kYWwgPT09IG5hbWUgfSk7XG4gIHJldHVybiBjb25uZWN0KHNlbGVjdCwgTW9kYWxBY3Rpb25zKShDb21wb25lbnQpO1xufVxuIl19 \ No newline at end of file +} \ No newline at end of file diff --git a/libs/graphql/atomic_mutation.d.ts b/libs/graphql/atomic_mutation.d.ts new file mode 100644 index 0000000..aa98c1f --- /dev/null +++ b/libs/graphql/atomic_mutation.d.ts @@ -0,0 +1,9 @@ +export default class AtomicMutation extends React.Component { + static propTypes: { + children: PropTypes.Validator<(...args: any[]) => any>; + }; + constructor(props: any); + constructor(props: any, context: any); +} +import React from "react"; +import PropTypes from "prop-types"; diff --git a/libs/graphql/atomic_mutation.js b/libs/graphql/atomic_mutation.js index 7fd311a..2624764 100644 --- a/libs/graphql/atomic_mutation.js +++ b/libs/graphql/atomic_mutation.js @@ -76,5 +76,4 @@ exports["default"] = AtomicMutation; _defineProperty(AtomicMutation, "propTypes", { children: _propTypes["default"].func.isRequired -}); -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ncmFwaHFsL2F0b21pY19tdXRhdGlvbi5qc3giXSwibmFtZXMiOlsiQXRvbWljTXV0YXRpb24iLCJwcm9wcyIsIm1ldGhvZCIsInJlc3VsdCIsImVycm9yIiwibWVzc2FnZSIsImNoaWxkcmVuIiwiUmVhY3QiLCJDb21wb25lbnQiLCJQcm9wVHlwZXMiLCJmdW5jIiwiaXNSZXF1aXJlZCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBQ0E7O0FBRUE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBRXFCQSxjOzs7Ozs7Ozs7Ozs7O1dBTW5CLGtCQUFTO0FBQUE7O0FBQ1AsMEJBQ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tcbiAgICAgICAgICBjb25zdCB7IGVycm9yIH0gPSByZXN1bHQ7XG4gICAgICAgICAgaWYgKGVycm9yKSB7XG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICA8SW5saW5lRXJyb3IgZXJyb3I9e2Vycm9yLm1lc3NhZ2V9IC8+XG4gICAgICAgICAgICApO1xuICAgICAgICAgIH1cbiAgICAgICAgICByZXR1cm4gdGhpcy5wcm9wcy5jaGlsZHJlbihtZXRob2QsIHJlc3VsdCk7XG4gICAgICAgIH19XG4gICAgICA8L011dGF0aW9uPlxuICAgICk7XG4gIH1cblxufVxuIl19 \ No newline at end of file +}); \ No newline at end of file diff --git a/libs/graphql/atomic_query.d.ts b/libs/graphql/atomic_query.d.ts new file mode 100644 index 0000000..cf6b9a3 --- /dev/null +++ b/libs/graphql/atomic_query.d.ts @@ -0,0 +1,19 @@ +export default class AtomicQuery extends React.Component { + static propTypes: { + children: PropTypes.Validator<(...args: any[]) => any>; + loadingMessage: PropTypes.Requireable; + hideLoader: PropTypes.Requireable; + onDataReady: PropTypes.Requireable<(...args: any[]) => any>; + onDataLoading: PropTypes.Requireable<(...args: any[]) => any>; + }; + static defaultProps: { + onDataReady: () => void; + onDataLoading: () => void; + }; + constructor(props: any); + constructor(props: any, context: any); + dataReady: boolean; + dataLoading: boolean; +} +import React from "react"; +import PropTypes from "prop-types"; diff --git a/libs/graphql/atomic_query.js b/libs/graphql/atomic_query.js index e868b01..021fce6 100644 --- a/libs/graphql/atomic_query.js +++ b/libs/graphql/atomic_query.js @@ -138,5 +138,4 @@ _defineProperty(AtomicQuery, "propTypes", { _defineProperty(AtomicQuery, "defaultProps", { onDataReady: function onDataReady() {}, onDataLoading: function onDataLoading() {} -}); -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ncmFwaHFsL2F0b21pY19xdWVyeS5qc3giXSwibmFtZXMiOlsiQXRvbWljUXVl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ICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICA8QXRvbWljSm9sdExvYWRlciBtZXNzYWdlPXt0aGlzLnByb3BzLmxvYWRpbmdNZXNzYWdlfS8+XG4gICAgICAgICAgICApO1xuICAgICAgICAgIH1cbiAgICAgICAgICBpZiAoZXJyb3IpIHtcbiAgICAgICAgICAgIGlmIChlcnJvci5uZXR3b3JrRXJyb3IgJiZcbiAgICAgICAgICAgICAgZXJyb3IubmV0d29ya0Vycm9yLnJlc3VsdCAmJlxuICAgICAgICAgICAgICBlcnJvci5uZXR3b3JrRXJyb3IucmVzdWx0LmNhbnZhc19hdXRob3JpemF0aW9uX3JlcXVpcmVkKSB7XG4gICAgICAgICAgICAgIC8vIFRoaXMgZXJyb3Igd2lsbCBiZSBoYW5kbGVkIGJ5IGEgQ2FudmFzIHJlYXV0aC4gRG9uJ3Qgb3V0cHV0IGFuIGVycm9yLlxuICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKGVycm9yLm5ldHdvcmtFcnJvciAmJlxuICAgICAgICAgICAgICBlcnJvci5uZXR3b3JrRXJyb3IuYm9keVRleHQgJiZcbiAgICAgICAgICAgICAgZXJyb3IubmV0d29ya0Vycm9yLmJvZHlUZXh0LmluZGV4T2YoJ0pXVDo6RXhwaXJlZFNpZ25hdHVyZScpID49IDApIHtcbiAgICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgICA8SW5saW5lRXJyb3IgZXJyb3I9XCJZb3VyIGF1dGhlbnRpY2F0aW9uIHRva2VuIGhhcyBleHBpcmVkLiBQbGVhc2UgcmVmcmVzaCB0aGUgcGFnZSB0byBlbmFibGUgYXV0aGVudGljYXRpb24uXCIgLz5cbiAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgPElubGluZUVycm9yIGVycm9yPXtlcnJvci5tZXNzYWdlfSAvPlxuICAgICAgICAgICAgKTtcbiAgICAgICAgICB9XG4gICAgICAgICAgaWYgKCF0aGlzLmRhdGFSZWFkeSkge1xuICAgICAgICAgICAgdGhpcy5wcm9wcy5vbkRhdGFSZWFkeShyZXN1bHQuZGF0YSk7XG4gICAgICAgICAgICB0aGlzLmRhdGFSZWFkeSA9IHRydWU7XG4gICAgICAgICAgICB0aGlzLmRhdGFMb2FkaW5nID0gZmFsc2U7XG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiB0aGlzLnByb3BzLmNoaWxkcmVuKHJlc3VsdCk7XG4gICAgICAgIH19XG4gICAgICA8L1F1ZXJ5PlxuICAgICk7XG4gIH1cblxufVxuIl19 \ No newline at end of file +}); \ No newline at end of file diff --git a/libs/index.d.ts b/libs/index.d.ts new file mode 100644 index 0000000..d37dcd5 --- /dev/null +++ b/libs/index.d.ts @@ -0,0 +1,26 @@ +export { default as errorReducer } from "./reducers/errors"; +export { default as jwtReducer } from "./reducers/jwt"; +export { default as modalReducer } from "./reducers/modal"; +export { default as postMessageMiddleware } from "./middleware/post_message"; +export { default as jwtLoader } from "./loaders/jwt"; +export { default as configureStore } from "./store/configure_store"; +export { default as Api } from "./api/api"; +export { default as GqlStatus } from "./components/common/gql_status"; +export { default as IframeResizeWrapper } from "./components/common/resize_wrapper"; +export { default as InlineError } from "./components/common/errors/inline_error"; +export { default as AtomicMutation } from "./graphql/atomic_mutation"; +export { default as AtomicQuery } from "./graphql/atomic_query"; +export { default as modalDecorator } from "./decorators/modal"; +export { default as iframeResizeHandler } from "./libs/resize_iframe"; +export { addError as addErrorAction, clearErrors as clearErrorsAction, Constants as ErrorConstants } from "./actions/errors"; +export { refreshJwt as refreshJwtAction, Constants as JwtConstants } from "./actions/jwt"; +export { openModal as openModalAction, closeModal as closeModalAction, Constants as ModalConstants } from "./actions/modal"; +export { postMessage as postMessageAction, Constants as PostMessageConstants } from "./actions/post_message"; +export { default as settingsReducer, getInitialSettings } from "./reducers/settings"; +export { apiRequest, default as ApiMiddleware } from "./middleware/api"; +export { default as Communicator, postMessage, broadcastRawMessage, broadcastMessage } from "./communications/communicator"; +export { SettingsContext, withSettings } from "./components/settings"; +export { default as AtomicjoltLoader, Loader as AtomicjoltLoaderRaw } from "./components/common/atomicjolt_loader"; +export { Banner, BannerTypes } from "./components/Banner"; +export { Button, ButtonType } from "./components/Button"; +export { isLtiInstructor, isLtiAdmin } from "./libs/lti_roles"; diff --git a/libs/index.js b/libs/index.js index 847729c..af7b2fa 100644 --- a/libs/index.js +++ b/libs/index.js @@ -314,5 +314,4 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Oz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nLi9ncmFwaHFsL2F0b21pY19tdXRhdGlvbic7XG5leHBvcnQgeyBkZWZhdWx0IGFzIEF0b21pY1F1ZXJ5IH0gZnJvbSAnLi9ncmFwaHFsL2F0b21pY19xdWVyeSc7XG5cbi8vIERFQ09SQVRPUlNcbmV4cG9ydCB7IGRlZmF1bHQgYXMgbW9kYWxEZWNvcmF0b3IgfSBmcm9tICcuL2RlY29yYXRvcnMvbW9kYWwnO1xuXG4vLyBMSUJTXG5leHBvcnQgeyBkZWZhdWx0IGFzIGlmcmFtZVJlc2l6ZUhhbmRsZXIgfSBmcm9tICcuL2xpYnMvcmVzaXplX2lmcmFtZSc7XG5leHBvcnQge1xuICBpc0x0aUluc3RydWN0b3IsXG4gIGlzTHRpQWRtaW5cbn0gZnJvbSAnLi9saWJzL2x0aV9yb2xlcyc7XG4iXX0= \ No newline at end of file +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } \ No newline at end of file diff --git a/libs/libs/lti_roles.d.ts b/libs/libs/lti_roles.d.ts new file mode 100644 index 0000000..e41454d --- /dev/null +++ b/libs/libs/lti_roles.d.ts @@ -0,0 +1,2 @@ +export function isLtiInstructor(roles: any): any; +export function isLtiAdmin(roles: any): any; diff --git a/libs/libs/lti_roles.js b/libs/libs/lti_roles.js index 87f016e..8dcb745 100644 --- a/libs/libs/lti_roles.js +++ b/libs/libs/lti_roles.js @@ -16,5 +16,4 @@ function isLtiInstructor(roles) { function isLtiAdmin(roles) { return _lodash["default"].includes(roles, 'urn:lti:role:ims/lis/Administrator') || _lodash["default"].includes(roles, 'urn:lti:instrole:ims/lis/Administrator') || _lodash["default"].includes(roles, 'urn:lti:sysrole:ims/lis/SysAdmin') || _lodash["default"].includes(roles, 'urn:lti:sysrole:ims/lis/Administrator'); -} -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWJzL2x0aV9yb2xlcy5qcyJdLCJuY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QWRtaW4nKVxuICAgIHx8IF8uaW5jbHVkZXMocm9sZXMsICd1cm46bHRpOnN5c3JvbGU6aW1zL2xpcy9BZG1pbmlzdHJhdG9yJyk7XG59XG4iXX0= \ No newline at end of file +} \ No newline at end of file diff --git a/libs/libs/resize_iframe.d.ts b/libs/libs/resize_iframe.d.ts new file mode 100644 index 0000000..8f49952 --- /dev/null +++ b/libs/libs/resize_iframe.d.ts @@ -0,0 +1 @@ +export default function initResizeHandler(getSize?: () => number): void; diff --git a/libs/libs/resize_iframe.js b/libs/libs/resize_iframe.js index 1f079fe..5050830 100644 --- a/libs/libs/resize_iframe.js +++ b/libs/libs/resize_iframe.js @@ -40,5 +40,4 @@ function initResizeHandler() { subtree: true, characterData: true }); -} -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWJzL3Jlc2l6ZV9pZnJhbWUuanMiXSwibmFtZXMiOlsiY3VycmVudEhlaWdodCIsInNlbmRMdGlJZnJhbWVSZXNpemUiLCJoZWlnaHQiLCJtZXNzYWdlIiwic3ViamVjdCIsImRlZmF1bHRHZXRTaXplIiwicnVsZXIiLCJkb2N1bWVudCIsImdldEVsZW1lbnRCeUlkIiwib2Zmc2V0VG9wIiwiaW5pdFJlc2l6ZUhhbmRsZXIiLCJnZXRTaXplIiwiaGFuZGxlUmVzaXplIiwibU9ic2VydmVyIiwiTXV0YXRpb25PYnNlcnZlciIsIndpbmRvdyIsImFkZEV2ZW50TGlzdGVuZXIiLCJvYnNlcnZlIiwiZG9jdW1lbnRFbGVtZW50IiwiYXR0cmlidXRlcyIsImNoaWxkTGlzdCIsInN1YnRyZWUiLCJjaGFyYWN0ZXJEYXRhIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBRUEsSUFBSUEsYUFBYSxHQUFHLENBQXBCOztBQUVBLFNBQVNDLG1CQUFULENBQTZCQyxNQUE3QixFQUFxQztBQUNuQyxN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XM6IHRydWUsIGNoaWxkTGlzdDogdHJ1ZSwgc3VidHJlZTogdHJ1ZSwgY2hhcmFjdGVyRGF0YTogdHJ1ZVxuICAgIH1cbiAgKTtcbn1cbiJdfQ== \ No newline at end of file +} \ No newline at end of file diff --git a/libs/libs/styles.d.ts b/libs/libs/styles.d.ts new file mode 100644 index 0000000..c679c2b --- /dev/null +++ b/libs/libs/styles.d.ts @@ -0,0 +1,2 @@ +declare function _default(styles: any): void; +export default _default; diff --git a/libs/libs/styles.js b/libs/libs/styles.js index ab1a2bc..66bd47f 100644 --- a/libs/libs/styles.js +++ b/libs/libs/styles.js @@ -35,5 +35,4 @@ function getAddStyles() { var _default = getAddStyles(); -exports["default"] = _default; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWJzL3N0eWxlcy5qcyJdLCJuYW1lcyI6WyJnZXRBZGRTdHlsZXMiLCJzZWxlY3RvclRleHRSZWdleCIsIm1lbW8iLCJpZCIsInN0eWxlRWwiLCJkb2N1bWVudCIsImdldEVsZW1lbnRCeUlkIiwic3R5bGVzIiwiY3JlYXRlRWxlbWVudCIsImhlYWQiLCJhcHBlbmRDaGlsZCIsImNsYXNzZXMiLCJtYXRjaCIsInRyaW0iLCJ1bmRlZmluZWQiLCJzdHlsZVNoZWV0Iiwic2hlZXQiLCJpbnNlcnRSdWxlIiwiY3NzUnVsZXMiLCJsZW5ndGgiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQSxTQUFTQSxZQUFULEdBQW1EO0FBQUEsTUFBN0JDLGlCQUE2Qix1RUFBVCxPQUFTO0FBQ2pELE1BQU1DLElBQUksR0FBRyxFQUFiO0FBQ0EsTUFBTUMsRUFBRSxHQUFHLG9CQUFYO0FBRUEsTUFBSUMsT0FBTyxHQUFHQyxRQUFRLENBQUNDLGNBQVQsQ0FBd0JILEVBQXhCLENBQWQ7QUFFQSxTQUFPLFVBQUNJL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vY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3N0eWxlJyk7XG4gICAgICBzdHlsZUVsLmlkID0gaWQ7XG4gICAgICBkb2N1bWVudC5oZWFkLmFwcGVuZENoaWxkKHN0eWxlRWwpO1xuICAgIH1cblxuICAgIC8qXG4gICAgICogVGhlIFJlZ0V4IGJlbG93IGV4dHJhY3RzIHRoZSBzZWxlY3RvclRleHQgZnJvbSB0aGUgc3R5bGVzXG4gICAgICogc3RyaW5nLiBGb3IgZXhhbXBsZSBydW5uaW5nIHRoaXMgcmVnZXggb24gdGhlIHN0eWxlcyBzdHJpbmdcbiAgICAgKiBcIi5teUNsYXNzID4gaDEgLm15Y2xhc3NUd28gey4uLn1cIiB3b3VsZCB5aWVsZCBcIi5teUNsYXNzID4gaDEgLm15Y2xhc3NUd29cIlxuICAgICAqL1xuICAgIGNvbnN0IGNsYXNzZXMgPSBzdHlsZXMubWF0Y2goc2VsZWN0b3JUZXh0UmVnZXgpWzBdLnRyaW0oKTtcblxuICAgIGlmIChtZW1vW2NsYXNzZXNdID09PSB1bmRlZmluZWQpIHtcbiAgICAgIGNvbnN0IHN0eWxlU2hlZXQgPSBzdHlsZUVsLnNoZWV0O1xuICAgICAgc3R5bGVTaGVldC5pbnNlcnRSdWxlKHN0eWxlcywgc3R5bGVTaGVldC5jc3NSdWxlcy5sZW5ndGgpO1xuICAgICAgbWVtb1tjbGFzc2VzXSA9IDE7XG4gICAgfVxuICB9O1xufVxuXG5leHBvcnQgZGVmYXVsdCBnZXRBZGRTdHlsZXMoKTtcbiJdfQ== \ No newline at end of file +exports["default"] = _default; \ No newline at end of file diff --git a/libs/loaders/jwt.d.ts b/libs/loaders/jwt.d.ts new file mode 100644 index 0000000..d970caf --- /dev/null +++ b/libs/loaders/jwt.d.ts @@ -0,0 +1,19 @@ +export default function _default(dispatch: any, currentUserId: any, refresh?: number): void; +export class Jwt { + constructor(jwt: any, apiUrl: any, oauthConsumerKey?: any, refresh?: number); + jwt: any; + apiUrl: any; + oauthConsumerKey: any; + _decodedJwt: any; + userId: any; + contextId: any; + refresh: number; + enableRefresh(): void; + get params(): { + context_id: any; + oauth_consumer_key: any; + }; + get currentJwt(): any; + get decodedJwt(): any; + get isjwtExpired(): boolean; +} diff --git a/libs/loaders/jwt.js b/libs/loaders/jwt.js index b39b4e9..237c9c4 100644 --- a/libs/loaders/jwt.js +++ b/libs/loaders/jwt.js @@ -105,5 +105,4 @@ var Jwt = /*#__PURE__*/function () { return Jwt; }(); -exports.Jwt = Jwt; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9sb2FkZXJzL2p3dC5qcyJdLCJuYW1lcyI6WyJSRUZSRVNIIiwiZGlzcGF0Y2giLCJjdXJyZW50VXNlcklkIiwicmVmcmVzaCIsInNldEludGVydmFsIiwiSnd0Iiwiand0IiwiYXBpVXJsIiwib2F1dGhDb25zdW1lcktleSIsImJhc2U2NFVybCIsInNwbGl0IiwiYmFzZTY0IiwicmVwbGFjZSIsIl9kZWNvZGVkSnd0IiwiSlNPTiIsInBhcnNlIiwid2luZG93IiwiYXRvYiIsInVzZXJJZCIsInVzZXJfaWQiLCJjb250ZXh0SWQiLCJjb250ZXh0X2lkIiwia2lkIiwiZSIsIlJvbGxiYXIiLCJvcHRpb25zIiwiZW5hYmxlZCIsImVycm9yIiwiZW5jb2RlZEp3dCIsInVybCIsImFwaSIsImdldCIsInBhcmFtcyIsInRoZW4iLCJyZXNwb25zZSIsImJvZHkiLCJvYXV0aF9jb25zdW1lcl9rZXkiLCJkZWNvZGVkSnd0IiwiZXhwIiwiRGF0ZSIsIm5vdyJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQTs7QUFDQTs7Ozs7Ozs7OztBQUVBLElBQU1BLE9BQU8sR0FBRyxPQUFPLEVBQVAsR0FBWSxFQUFaLEdBQWlCLEVBQWpDLEMsQ0FBcUM7O0FBRXRCLGtCQUFTQy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pO1xuICAgICAgfSwgdGhpcy5yZWZyZXNoKTtcbiAgICB9XG4gIH1cblxuICBnZXQgcGFyYW1zKCkge1xuICAgIHJldHVybiB7XG4gICAgICAvLyBBZGQgdGhlIGNvbnRleHQgaWQgZnJvbSB0aGUgbHRpIGxhdW5jaFxuICAgICAgY29udGV4dF9pZDogdGhpcy5jb250ZXh0SWQsXG4gICAgICAvLyBBZGQgY29uc3VtZXIga2V5IHRvIHJlcXVlc3RzIHRvIGluZGljYXRlIHdoaWNoIGx0aSBhcHAgcmVxdWVzdHMgYXJlIG9yaWdpbmF0aW5nIGZyb20uXG4gICAgICBvYXV0aF9jb25zdW1lcl9rZXk6IHRoaXMub2F1dGhDb25zdW1lcktleSxcbiAgICB9O1xuICB9XG5cbiAgZ2V0IGN1cnJlbnRKd3QoKSB7XG4gICAgcmV0dXJuIHRoaXMuand0O1xuICB9XG5cbiAgZ2V0IGRlY29kZWRKd3QoKSB7XG4gICAgcmV0dXJuIHRoaXMuX2RlY29kZWRKd3Q7XG4gIH1cblxuICBnZXQgaXNqd3RFeHBpcmVkKCkge1xuICAgIC8vIFJhaWxzIGRvZXMgc2Vjb25kcyBzaW5jZSB0aGUgZXBvY2ggaW5zdGVhZCBvZiBtaWxsaXNlY29uZHMgc28gd2UgbXVsdGlwbGUgYnkgMTAwMFxuICAgIHJldHVybiB0aGlzLmRlY29kZWRKd3QuZXhwICogMTAwMCA8IERhdGUubm93KCk7XG4gIH1cblxufVxuIl19 \ No newline at end of file +exports.Jwt = Jwt; \ No newline at end of file diff --git a/libs/middleware/api.d.ts b/libs/middleware/api.d.ts new file mode 100644 index 0000000..3bc3b3c --- /dev/null +++ b/libs/middleware/api.d.ts @@ -0,0 +1,3 @@ +export function apiRequest(store: any, action: any): any; +export { API as default }; +declare function API(store: any): (next: any) => (action: any) => void; diff --git a/libs/middleware/api.js b/libs/middleware/api.js index 3a81f1d..db6ded4 100644 --- a/libs/middleware/api.js +++ b/libs/middleware/api.js @@ -64,5 +64,4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mdzLmNzcmZfdG9rZW4sXG4gICAgdXBkYXRlZFBhcmFtcyxcbiAgICBhY3Rpb24uYm9keSxcbiAgICBhY3Rpb24uaGVhZGVycyxcbiAgICBhY3Rpb24udGltZW91dFxuICApO1xuXG4gIGlmIChwcm9taXNlKSB7XG4gICAgcHJvbWlzZS50aGVuKFxuICAgICAgKHJlc3BvbnNlKSA9PiB7XG4gICAgICAgIHN0b3JlLmRpc3BhdGNoKHtcbiAgICAgICAgICB0eXBlOiBhY3Rpb24udHlwZSArIERPTkUsXG4gICAgICAgICAgcGF5bG9hZDogcmVzcG9uc2UuYm9keSxcbiAgICAgICAgICBvcmlnaW5hbDogYWN0aW9uLFxuICAgICAgICAgIHJlc3BvbnNlLFxuICAgICAgICB9KTsgLy8gRGlzcGF0Y2ggdGhlIG5ldyBkYXRhXG4gICAgICB9LFxuICAgICAgKGVycm9yKSA9PiB7XG4gICAgICAgIHN0b3JlLmRpc3BhdGNoKHtcbiAgICAgICAgICB0eXBlOiBhY3Rpb24udHlwZSArIERPTkUsXG4gICAgICAgICAgcGF5bG9hZDoge30sXG4gICAgICAgICAgb3JpZ2luYWw6IGFjdGlvbixcbiAgICAgICAgICBlcnJvcixcbiAgICAgICAgfSk7IC8vIERpc3BhdGNoIHRoZSBuZXcgZXJyb3JcbiAgICAgIH0sXG4gICAgKTtcbiAgfVxuXG4gIHJldHVybiBwcm9taXNlO1xufVxuXG5jb25zdCBBUEkgPSAoc3RvcmUpID0+IChuZXh0KSA9PiAoYWN0aW9uKSA9PiB7XG5cbiAgaWYgKGFjdGlvbi5tZXRob2QpIHtcbiAgICBhcGlSZXF1ZXN0KHN0b3JlLCBhY3Rpb24pO1xuICB9XG5cbiAgLy8gY2FsbCB0aGUgbmV4dCBtaWRkbGVXYXJlXG4gIG5leHQoYWN0aW9uKTtcbn07XG5cbmV4cG9ydCB7IEFQSSBhcyBkZWZhdWx0IH07XG4iXX0= \ No newline at end of file +exports["default"] = API; \ No newline at end of file diff --git a/libs/middleware/post_message.d.ts b/libs/middleware/post_message.d.ts new file mode 100644 index 0000000..f35611b --- /dev/null +++ b/libs/middleware/post_message.d.ts @@ -0,0 +1,10 @@ +export class HandlerSingleton { + static communicator: any; + static instance: any; + static prepareInstance(dispatch: any, domain?: string): void; + constructor(dispatch: any); + dispatch: any; + handleComm: (e: any) => void; +} +declare function _default(store: any): (next: any) => (action: any) => void; +export default _default; diff --git a/libs/middleware/post_message.js b/libs/middleware/post_message.js index 8e308aa..84eebbb 100644 --- a/libs/middleware/post_message.js +++ b/libs/middleware/post_message.js @@ -92,5 +92,4 @@ var _default = function _default(store) { }; }; -exports["default"] = _default; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9taWRkbGV3YXJlL3Bvc3RfbWVzc2FnZS5qcyJdLCJuYW1lcyI6WyJIYW5kbGVyU2luZ2xldG9uIiwiZGlzcGF0Y2giLCJlIiwibWVzc2FnZSIsImRhdGEiLCJfIiwiaXNTdHJpbmciLCJKU09OIiwicGFyc2UiLCJleCIsImNvbW11bmljYXRpb24iLCJ0eXBlIiwiZG9tYWluIiwiaW5zdGFuY2UiLCJjb21tdW5pY2F0b3IiLCJDb21tdW5pY2F0b3IiLCJlbmFibGVMaXN0ZW5lciIsInN0b3JlIiwibmV4dCIsImFjdGlvbiIsInBvc3RNZXNzYWdlIiwicHJlcGFyZUluc3RhbmNlIiwiYnJvYWRjYXN0IiwiY29tbSJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOztBQUNBOzs7Ozs7Ozs7Ozs7SUFFYUEsZ0I7QUFjWCw0QkFBWUMsUUFBWixFQUFzQjtBQUFBOztBQUFBOztBQUFBLHdDQUlULFVBQUNDLENBQUQsRUFBTztBQUNsQixVQUFJQyxPQUFPLEdBQUdELENBQUMsQ0FBQ0UsSUFBaEI7O0FBQ0EsVUFBSUMsbUJBQUVDLFFBQUYsQ0FBV0osQ0FBQyxDQU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ZSB5b3Ugd2lsbCByZWNpZXZlIG1lc3NhZ2VzXG4gICAgSGFuZGxlclNpbmdsZXRvbi5wcmVwYXJlSW5zdGFuY2Uoc3RvcmUuZGlzcGF0Y2gpO1xuICAgIHRyeSB7XG4gICAgICBpZiAoYWN0aW9uLmJyb2FkY2FzdCkge1xuICAgICAgICBIYW5kbGVyU2luZ2xldG9uLmNvbW11bmljYXRvci5icm9hZGNhc3QoYWN0aW9uLm1lc3NhZ2UpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgSGFuZGxlclNpbmdsZXRvbi5jb21tdW5pY2F0b3IuY29tbShhY3Rpb24ubWVzc2FnZSk7XG4gICAgICB9XG4gICAgfSBjYXRjaCAoZSkge1xuICAgICAgLy8gZG8gbm90aGluZ1xuICAgIH1cbiAgfVxuICBuZXh0KGFjdGlvbik7XG59O1xuIl19 \ No newline at end of file +exports["default"] = _default; \ No newline at end of file diff --git a/libs/reducers/errors.d.ts b/libs/reducers/errors.d.ts new file mode 100644 index 0000000..263bfd3 --- /dev/null +++ b/libs/reducers/errors.d.ts @@ -0,0 +1,2 @@ +declare function _default(state: any[] | undefined, action: any): any[]; +export default _default; diff --git a/libs/reducers/errors.js b/libs/reducers/errors.js index 7cb05f9..ea09fa8 100644 --- a/libs/reducers/errors.js +++ b/libs/reducers/errors.js @@ -58,5 +58,4 @@ var _default = function _default() { } }; -exports["default"] = _default; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZWR1Y2Vycy9lcnJvcnMuanMiXSwibmFtZXMiOlsiaW5pdGlhbFN0YXRlIiwic3RhdGUiLCJhY3Rpb24iLCJ0eXBlIiwiQ29uc3RhbnRzIiwiQ0xFQVJfRVJST1JTIiwiQUREX0VSUk9SIiwicGF5bG9hZCIsImVycm9yIiwibWVzc2FnZSIsInJlc3BvbnNlIiwidGV4dCIsImpzb24iLCJKU09OIiwicGFyc2UiLCJleCI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mV0dXJuIFsuLi5zdGF0ZSwge1xuICAgICAgICAgIGVycm9yOiBhY3Rpb24uZXJyb3IsXG4gICAgICAgICAgbWVzc2FnZSxcbiAgICAgICAgICBjb250ZXh0OiBhY3Rpb24sXG4gICAgICAgIH1dO1xuICAgICAgfVxuICAgICAgcmV0dXJuIHN0YXRlO1xuICB9XG5cbn07XG4iXX0= \ No newline at end of file +exports["default"] = _default; \ No newline at end of file diff --git a/libs/reducers/jwt.d.ts b/libs/reducers/jwt.d.ts new file mode 100644 index 0000000..1dfd42a --- /dev/null +++ b/libs/reducers/jwt.d.ts @@ -0,0 +1,2 @@ +declare function _default(state: string | undefined, action: any): any; +export default _default; diff --git a/libs/reducers/jwt.js b/libs/reducers/jwt.js index 1a477ab..7664bea 100644 --- a/libs/reducers/jwt.js +++ b/libs/reducers/jwt.js @@ -30,5 +30,4 @@ var _default = function _default() { } }; -exports["default"] = _default; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZWR1Y2Vycy9qd3QuanMiXSwibmFtZXMiOlsiaW5pdGlhbFN0YXRlIiwic3RhdGUiLCJhY3Rpb24iLCJ0eXBlIiwiSnd0Q29uc3RhbnRzIiwiUkVGUkVTSF9KV1RfRE9ORSIsInBheWxvYWQiLCJqd3QiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFFQSxJQUFNQSxZQUFZLEdBQUcsRUFBckI7O2VBRWUsb0JBQWtDO0FBQUEsTUFBakNDLEtBQWlDLHVFQUF6QkQsWUFBeUI7QUFBQSxNQUFYRSxNQUFXOztBQUMvQyxVQUFRQSxNQUFNLENBQUNDLElBQWY7QUFFRSxTQUFLQyxlQUFhQyxnQkFBbEI7QUFDRSxVQUFJSCxNQUFNLENBQUNJLE9BQVAsQ0FBZUMsR0FBbkIsRUFBd0I7QUFDdEI7QUFDQTtBQUNBO0FBQ0E7QUFDQSxlQUFPTCxNQUFNLENBQUNJLE9BQVAsQ0FBZUMsR0FBdEI7QUFDRDs7QUFDRCxhQUFPTixLQUFQOztBQUVGO0FBQ0UsYUFBT0EsS0FBUDtBQWJKO0FBZ0JELEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb25zdGFudHMgYXMgSnd0Q29uc3RhbnRzIH0gZnJvbSAnLi4vYWN0aW9ucy9qd3QnO1xuXG5jb25zdCBpbml0aWFsU3RhdGUgPSAnJztcblxuZXhwb3J0IGRlZmF1bHQgKHN0YXRlID0gaW5pdGlhbFN0YXRlLCBhY3Rpb24pID0+IHtcbiAgc3dpdGNoIChhY3Rpb24udHlwZSkge1xuXG4gICAgY2FzZSBKd3RDb25zdGFudHMuUkVGUkVTSF9KV1RfRE9ORTpcbiAgICAgIGlmIChhY3Rpb24ucGF5bG9hZC5qd3QpIHtcbiAgICAgICAgLy8gRW5zdXJlIHdlIHJlY2VpdmVkIGEgdmFsaWQgand0LiBJZiB0aGUgc2VydmVyIGlzbid0IGF2YWlsYWJsZSB3ZVxuICAgICAgICAvLyB3aWxsIGdldCB1bmRlZmluZWQuIElmIHRoZXJlIGlzIGEgY2hhbmNlIHRoZSBjdXJyZW50IGp3dCBpcyBzdGlsbFxuICAgICAgICAvLyB2YWxpZCB3ZSB3YW50IHRvIGxlYXZlIGl0IGluIHBsYWNlLiBOb3RlIHRoYXQgdGhpcyB0eXBpY2FsbHkgaGFwcGVuc1xuICAgICAgICAvLyB3aGVuIHRoZSB1c2VyIGxvc2VzIG5ldHdvcmsgY29ubmVjdGl2aXR5LlxuICAgICAgICByZXR1cm4gYWN0aW9uLnBheWxvYWQuand0O1xuICAgICAgfVxuICAgICAgcmV0dXJuIHN0YXRlO1xuXG4gICAgZGVmYXVsdDpcbiAgICAgIHJldHVybiBzdGF0ZTtcblxuICB9XG59O1xuIl19 \ No newline at end of file +exports["default"] = _default; \ No newline at end of file diff --git a/libs/reducers/modal.d.ts b/libs/reducers/modal.d.ts new file mode 100644 index 0000000..ea20077 --- /dev/null +++ b/libs/reducers/modal.d.ts @@ -0,0 +1,6 @@ +declare function _default(state: { + currentOpenModal: string; +} | undefined, action: any): { + currentOpenModal: any; +}; +export default _default; diff --git a/libs/reducers/modal.js b/libs/reducers/modal.js index eac5816..989b132 100644 --- a/libs/reducers/modal.js +++ b/libs/reducers/modal.js @@ -35,5 +35,4 @@ var _default = function _default() { } }; -exports["default"] = _default; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZWR1Y2Vycy9tb2RhbC5qcyJdLCJuYW1lcyI6WyJpbml0aWFsU3RhdGUiLCJjdXJyZW50T3Blbk1vZGFsIiwic3RhdGUiLCJhY3Rpb24iLCJ0eXBlIiwiQ29uc3RhbnRzIiwiT1BFTl9NT0RBTCIsIm1vZGFsTmFtZSIsIkNMT1NFX01PREFMIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBRUEsSUFBTUEsWUFBWSxHQUFHO0FBQ25CQyxFQUFBQSxnQkFBZ0IsRUFBRTtBQURDLENBQXJCOztlQUllLG9CQUFrQztBQUFBLE1BQWpDQyxLQUFpQyx1RUFBekJGLFlBQXlCO0FBQUEsTUFBWEcsTUFBVzs7QUFFL0MsVUFBUUEsTUFBTSxDQUFDQyxJQUFmO0FBQ0UsU0FBS0MsaUJBQVVDLFVBQWY7QUFBMkI7QUFDekIsZUFBTztBQUFFTCxVQUFBQSxnQkFBZ0IsRUFBRUUsTUFBTSxDQUFDSTtBQUEzQixTQUFQO0FBQ0Q7O0FBQ0QsU0FBS0YsaUJBQVVHLFdBQWY7QUFBNEI7QUFDMUIsZUFBTztBQUFFUCxVQUFBQSxnQkFBZ0IsRUFBRTtBQUFwQixTQUFQO0FBQ0Q7O0FBQ0Q7QUFBUyxhQUFPQyxLQUFQO0FBUFg7QUFTRCxDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29uc3RhbnRzIH0gZnJvbSAnLi4vYWN0aW9ucy9tb2RhbCc7XG5cbmNvbnN0IGluaXRpYWxTdGF0ZSA9IHtcbiAgY3VycmVudE9wZW5Nb2RhbDogJydcbn07XG5cbmV4cG9ydCBkZWZhdWx0IChzdGF0ZSA9IGluaXRpYWxTdGF0ZSwgYWN0aW9uKSA9PiB7XG5cbiAgc3dpdGNoIChhY3Rpb24udHlwZSkge1xuICAgIGNhc2UgQ29uc3RhbnRzLk9QRU5fTU9EQUw6IHtcbiAgICAgIHJldHVybiB7IGN1cnJlbnRPcGVuTW9kYWw6IGFjdGlvbi5tb2RhbE5hbWUgfTtcbiAgICB9XG4gICAgY2FzZSBDb25zdGFudHMuQ0xPU0VfTU9EQUw6IHtcbiAgICAgIHJldHVybiB7IGN1cnJlbnRPcGVuTW9kYWw6ICcnIH07XG4gICAgfVxuICAgIGRlZmF1bHQ6IHJldHVybiBzdGF0ZTtcbiAgfVxufTtcbiJdfQ== \ No newline at end of file +exports["default"] = _default; \ No newline at end of file diff --git a/libs/reducers/settings.d.ts b/libs/reducers/settings.d.ts new file mode 100644 index 0000000..023c42e --- /dev/null +++ b/libs/reducers/settings.d.ts @@ -0,0 +1,3 @@ +export function getInitialSettings(...args: any[]): {}; +declare function _default(state?: {}): {}; +export default _default; diff --git a/libs/reducers/settings.js b/libs/reducers/settings.js index c1cfb6d..7fb0601 100644 --- a/libs/reducers/settings.js +++ b/libs/reducers/settings.js @@ -37,5 +37,4 @@ function getInitialSettings() { }); return settings; -} -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZWR1Y2Vycy9zZXR0aW5ncy5qcyJdLCJuYW1lcyI6WyJzdGF0ZSIsImdldEluaXRpYWxTZXR0aW5ncyIsInNldHRpbmdzIiwiYXJncyIsIl8iLCJmb3JFYWNoIiwiYXJnIl0sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBOzs7Ozs7Ozs7O0FBRUE7ZUFDZTtBQUFBLE1BQUNBLEtBQUQsdUVBQVMsRUFBVDtBQUFBLFNBQWdCQSxLQUFoQjtBQUFBLEM7Ozs7QUFFUixTQUFTQyxrQkFBVCxHQUFxQztBQUMxQztBQUNBLE1BQUlDLFFBQVEsR0FBRyxFQUFmOztBQUYwQyxvQ0FBTkMsSUFBTTtBQUFOQSxJQUFBQSxJQUFNO0FBQUE7O0FBRzFDQyxxQkFBRUMsT0FBRixDQUFVRixJQUFWLEVBQWdCLFVBQUNHLEdBQUQ7QUFBQSxXQUFVSixRQUFRLG1DQUFRQSxRQUFSLEdBQXFCSSxHQUFyQixDQUFsQjtBQUFBLEdBQWhCOztBQUNBLFNBQU9KLFFBQVA7QUFDRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBfIGZyb20gJ2xvZGFzaCc7XG5cbi8vIEp1c3QgcmV0dXJuIHN0YXRlLiBEb24ndCBsZXQgc2V0dGluZ3MgZnJvbSB0aGUgc2VydmVyIG11dGF0ZS5cbmV4cG9ydCBkZWZhdWx0IChzdGF0ZSA9IHt9KSA9PiBzdGF0ZTtcblxuZXhwb3J0IGZ1bmN0aW9uIGdldEluaXRpYWxTZXR0aW5ncyguLi5hcmdzKSB7XG4gIC8vIEFkZCBkZWZhdWx0IHNldHRpbmdzIHRoYXQgY2FuIGJlIG92ZXJyaWRkZW4gYnkgdmFsdWVzIGluIHNlcnZlclNldHRpbmdzXG4gIGxldCBzZXR0aW5ncyA9IHt9O1xuICBfLmZvckVhY2goYXJncywgKGFyZykgPT4gKHNldHRpbmdzID0geyAuLi5zZXR0aW5ncywgLi4uYXJnIH0pKTtcbiAgcmV0dXJuIHNldHRpbmdzO1xufVxuIl19 \ No newline at end of file +} \ No newline at end of file diff --git a/libs/specs_support/helper.d.ts b/libs/specs_support/helper.d.ts new file mode 100644 index 0000000..06f6f90 --- /dev/null +++ b/libs/specs_support/helper.d.ts @@ -0,0 +1,27 @@ +export default class Helper { + static mockStore(state: any): { + subscribe: () => void; + dispatch: () => void; + getState: () => any; + }; + static makeStore(initialSettings: any, additionalState: any, additionalReducers: any): any; + static testPayload(): string; + static stubAjax(): void; + static mockRequest(method: any, apiUrl: any, url: any, expectedHeaders: any): nock.Scope; + static mockAllAjax(): void; + static mockClock(): void; + static wrapMiddleware(middleware: any, state?: {}): { + store: { + getState: jest.Mock<{}, []>; + dispatch: jest.Mock; + }; + next: jest.Mock; + invoke: (action: any) => any; + getCalledWithState: () => { + dispatchedActions: never[]; + }; + }; + static indicies(arr: any, a: any, b: any): any; + static isBefore(...args: any[]): boolean; +} +import nock from "nock"; diff --git a/libs/specs_support/helper.js b/libs/specs_support/helper.js index e4a97ad..56ef52b 100644 --- a/libs/specs_support/helper.js +++ b/libs/specs_support/helper.js @@ -192,5 +192,4 @@ var Helper = /*#__PURE__*/function () { return Helper; }(); -exports["default"] = Helper; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zcGVjc19zdXBwb3J0L2hlbHBlci5qcyJdLCJuYW1lcyI6WyJIZWxwZXIiLCJzdGF0ZSIsInN1YnNjcmliZSIsImRpc3BhdGNoIiwiZ2V0U3RhdGUiLCJpbml0aWFsU2V0dGluZ3MiLCJhZGRpdGlvbmFsU3RhdGUiLCJhZGRpdGlvbmFsUmVkdWNlcnMiLCJpbml0aWFsU3RhdGUiLCJfIiwibWVyZ2UiLCJzZXR0aW5ncyIsImNzcmYiLCJhcGlVcmwiLCJyb290UmVkdWNlciIsIm1pZGRsZXdhcmUiLCJBUEkiLCJKU09OIiwic3RyaW5naWZ5IiwiaWQiLCJuYW1lIiwiYmVmb3JlRWFjaCIsImphc21pbmUiLCJBamF4IiwiaW5zdGFsbCIsInN0dWJSZXF1ZXN0IiwiUmVnRXhwIiwiYW5kUmV0dXJuIiwic3RhdHVzIiwiY29udGVudFR5cGUiLCJzdGF0dXNUZXh0IiwicmVzcG9uc2VUZXh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YXBNaWRkbGV3YXJlKG1pZGRsZXdhcmUsIHN0YXRlID0ge30pIHtcbiAgICBjb25zdCBjYWxsZWRXaXRoU3RhdGUgPSB7XG4gICAgICBkaXNwYXRjaGVkQWN0aW9uczogW10sXG4gICAgfTtcbiAgICBjb25zdCBzdG9yZSA9IHtcbiAgICAgIGdldFN0YXRlOiBqZXN0LmZuKCgpID0+IChzdGF0ZSkpLFxuICAgICAgZGlzcGF0Y2g6IGplc3QuZm4oKGFjdGlvbikgPT4gY2FsbGVkV2l0aFN0YXRlLmRpc3BhdGNoZWRBY3Rpb25zLnB1c2goYWN0aW9uKSksXG4gICAgfTtcbiAgICBjb25zdCBuZXh0ID0gamVzdC5mbigpO1xuICAgIGNvbnN0IGludm9rZSA9IChhY3Rpb24pID0+IG1pZGRsZXdhcmUoc3RvcmUpKG5leHQpKGFjdGlvbik7XG4gICAgY29uc3QgZ2V0Q2FsbGVkV2l0aFN0YXRlID0gKCkgPT4gY2FsbGVkV2l0aFN0YXRlO1xuXG4gICAgcmV0dXJuIHtcbiAgICAgIHN0b3JlLCBuZXh0LCBpbnZva2UsIGdldENhbGxlZFdpdGhTdGF0ZVxuICAgIH07XG4gIH1cblxuICBzdGF0aWMgaW5kaWNpZXMoYXJyLCBhLCBiKSB7IHJldHVybiBfLm1hcChbYSwgYl0sIChpKSA9PiBfLmluZGV4T2YoYXJyLCBpKSk7IH1cblxuICBzdGF0aWMgaXNCZWZvcmUoLi4uYXJncykge1xuICAgIGNvbnN0IGluZCA9IEhlbHBlci5pbmRpY2llcyhhcmdzWzBdLCBhcmdzWzFdLCBhcmdzWzJdKTtcbiAgICBpZiAoXy5zb21lKGluZCwgKGkpID0+IF8uaXNOaWwoaSkpKSB7IHRocm93IG5ldyBFcnJvcignTm90IGZvdW5kIGluIGFycicpOyB9XG4gICAgcmV0dXJuIGluZFswXSA8IGluZFsxXTtcbiAgfVxuXG59XG4iXX0= \ No newline at end of file +exports["default"] = Helper; \ No newline at end of file diff --git a/libs/specs_support/stub.d.ts b/libs/specs_support/stub.d.ts new file mode 100644 index 0000000..6526e07 --- /dev/null +++ b/libs/specs_support/stub.d.ts @@ -0,0 +1,9 @@ +export default class Stub extends React.PureComponent { + static propTypes: { + children: PropTypes.Validator; + }; + constructor(props: any); + constructor(props: any, context: any); +} +import React from "react"; +import PropTypes from "prop-types"; diff --git a/libs/specs_support/stub.js b/libs/specs_support/stub.js index 53ee229..6cdf02a 100644 --- a/libs/specs_support/stub.js +++ b/libs/specs_support/stub.js @@ -60,5 +60,4 @@ exports["default"] = Stub; _defineProperty(Stub, "propTypes", { children: _propTypes["default"].object.isRequired -}); -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zcGVjc19zdXBwb3J0L3N0dWIuanN4Il0sIm5hbWVzIjpbIlN0dWIiLCJwcm9wcyIsImNoaWxkcmVuIiwiUmVhY3QiLCJQdXJlQ29tcG9uZW50IiwiUHJvcFR5cGVzIiwib2JqZWN0IiwiaXNSZXF1aXJlZCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7O0FBQ0E7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBRXFCQSxJOzs7Ozs7Ozs7Ozs7O1dBS25CLGtCQUFTO0FBQ1AsMEJBQU8sNkNBQU0sS0FBS0MsS0FBTCxDQUFXQyxRQUFqQixDQUFQO0FBQ0Q7Ozs7RUFQK0JDLGtCQUFNQyxhOzs7O2dCQUFuQkosSSxlQUNBO0FBQ2pCRSxFQUFBQSxRQUFRLEVBQUVHLHNCQUFVQyxNQUFWLENBQWlCQztBQURWLEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgU3R1YiBleHRlbmRzIFJlYWN0LlB1cmVDb21wb25lbnQge1xuICBzdGF0aWMgcHJvcFR5cGVzID0ge1xuICAgIGNoaWxkcmVuOiBQcm9wVHlwZXMub2JqZWN0LmlzUmVxdWlyZWQsXG4gIH1cblxuICByZW5kZXIoKSB7XG4gICAgcmV0dXJuIDxkaXY+e3RoaXMucHJvcHMuY2hpbGRyZW59PC9kaXY+O1xuICB9XG59XG4iXX0= \ No newline at end of file +}); \ No newline at end of file diff --git a/libs/specs_support/utils.d.ts b/libs/specs_support/utils.d.ts new file mode 100644 index 0000000..072ad74 --- /dev/null +++ b/libs/specs_support/utils.d.ts @@ -0,0 +1,5 @@ +declare namespace _default { + function findTextField(textFields: any, labelText: any): any; + function findTextField(textFields: any, labelText: any): any; +} +export default _default; diff --git a/libs/specs_support/utils.js b/libs/specs_support/utils.js index 1bd0563..ed9f37a 100644 --- a/libs/specs_support/utils.js +++ b/libs/specs_support/utils.js @@ -20,5 +20,4 @@ var _default = { }); } }; -exports["default"] = _default; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zcGVjc19zdXBwb3J0L3V0aWxzLmpzIl0sIm5hbWVzIjpbImZpbmRUZXh0RmllbGQiLCJ0ZXh0RmllbGRzIiwibGFiZWxUZXh0IiwiXyIsImZpbmQiLCJmaWVsZCIsImxhYmVsIiwiVGVzdFV0aWxzIiwiZmluZFJlbmRlcmVkRE9NQ29tcG9uZW50V2l0aFRhZyIsImdldERPTU5vZGUiLCJ0ZXh0Q29udGVudCIsInRvTG93ZXJDYXNlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBQ0E7Ozs7ZUFFZTtBQUViQSxFQUFBQSxhQUZhLHlCQUVDQyxVQUZELEVBRWFDLFNBRmIsRUFFd0I7QUFDbkMsV0FBT0MsbUJBQUVDLElBQUYsQ0FBT0gsVUFBUCxFQUFtQixVQUFDSSxLQUFELEVBQVc7QUFDbkMsVUFBTUMsS0FBSyxHQUFHQyxzQkFBVUMsK0JBQVYsQ0FBMENILEtBQTFDLEVBQWlELE9BQWpELENBQWQ7O0FBQ0EsYUFBT0MsS0FBSyxDQUFDRyxVQUFOLEdBQW1CQyxXQUFuQixDQUErQkMsV0FBL0IsT0FBaURULFNBQXhEO0FBQ0QsS0FITSxDQUFQO0FBSUQ7QUFQWSxDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFRlc3RVdGlscyBmcm9tICdyZWFjdC1kb20vdGVzdC11dGlscyc7XG5pbXBvcnQgXyBmcm9tICdsb2Rhc2gnO1xuXG5leHBvcnQgZGVmYXVsdCB7XG5cbiAgZmluZFRleHRGaWVsZCh0ZXh0RmllbGRzLCBsYWJlbFRleHQpIHtcbiAgICByZXR1cm4gXy5maW5kKHRleHRGaWVsZHMsIChmaWVsZCkgPT4ge1xuICAgICAgY29uc3QgbGFiZWwgPSBUZXN0VXRpbHMuZmluZFJlbmRlcmVkRE9NQ29tcG9uZW50V2l0aFRhZyhmaWVsZCwgJ2xhYmVsJyk7XG4gICAgICByZXR1cm4gbGFiZWwuZ2V0RE9NTm9kZSgpLnRleHRDb250ZW50LnRvTG93ZXJDYXNlKCkgPT09IGxhYmVsVGV4dDtcbiAgICB9KTtcbiAgfSxcbn07XG4iXX0= \ No newline at end of file +exports["default"] = _default; \ No newline at end of file diff --git a/libs/store/configure_store.d.ts b/libs/store/configure_store.d.ts new file mode 100644 index 0000000..4d01fc5 --- /dev/null +++ b/libs/store/configure_store.d.ts @@ -0,0 +1 @@ +export default function _default(initialState: any, rootReducer: any, middleware: any): any; diff --git a/libs/store/configure_store.js b/libs/store/configure_store.js index 7940b7b..20207cb 100644 --- a/libs/store/configure_store.js +++ b/libs/store/configure_store.js @@ -25,5 +25,4 @@ function _default(initialState, rootReducer, middleware) { var store = _redux.compose.apply(void 0, enhancers)(_redux.createStore)(rootReducer, initialState); return store; -} -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ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390c3 100644 --- a/libs/types.d.js +++ b/libs/types.d.js @@ -1,2 +1 @@ -"use strict"; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbXX0= \ No newline at end of file +"use strict"; \ No newline at end of file diff --git a/package.json b/package.json index 00b90b4..2d4ba7a 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,9 @@ "type-check": "tsc --noEmit", "type-check:watch": "yarn type-check -- --watch", "build:types": "tsc --emitDeclarationOnly", - "prebuild:js": "rm -rf libs/*; node-sass src/components/ -o libs/components/", - "build:js": "cross-env BABEL_ENV=production babel src --out-dir libs --extensions \".js,.jsx,.ts,.tsx\" --source-maps inline", + "prebuild:js": "node-sass src/components/ -o libs/components/", + "build:js": "cross-env BABEL_ENV=production babel src --out-dir libs --extensions \".js,.jsx,.ts,.tsx\"", + "prebuild": "rm -rf libs/*", "build": "yarn build:types && yarn build:js", "nuke": "rm -rf node_modules", "clean": "rimraf libs", @@ -33,6 +34,11 @@ "reactjs", "redux" ], + "jest": { + "moduleNameMapper": { + "^.+\\.(css|less)$": "/src/css-stub.js" + } + }, "author": "atomicjolt (http://github.com/atomicjolt)", "license": "MIT", "bugs": { @@ -57,6 +63,7 @@ "@babel/plugin-transform-runtime": "^7.9.0", "@babel/preset-env": "^7.9.5", "@babel/preset-react": "^7.9.4", + "@babel/preset-typescript": "^7.14.5", "@storybook/addon-actions": "^6.2.9", "@storybook/addon-essentials": "^6.2.9", "@storybook/addon-links": "^6.2.9", @@ -65,6 +72,7 @@ "@types/jest": "^26.0.23", "@types/node-sass": "^4.11.1", "@types/react": "^17.0.11", + "@types/react-dom": "^17.0.8", "babel-eslint": "^10.1.0", "babel-jest": "^25.3.0", "babel-loader": "^8.2.2", @@ -96,7 +104,6 @@ "typescript": "^4.3.4" }, "dependencies": { - "@babel/preset-typescript": "^7.14.5", "add": "^2.0.6", "node-sass": "^6.0.0", "yarn": "^1.22.10" diff --git a/src/components/Button/__snapshots__/index.spec.tsx.snap b/src/components/Button/__snapshots__/index.spec.tsx.snap new file mode 100644 index 0000000..9545787 --- /dev/null +++ b/src/components/Button/__snapshots__/index.spec.tsx.snap @@ -0,0 +1,15 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Button component Should match default snapshot 1`] = ` + + + +`; diff --git a/src/components/Button/index.spec.tsx b/src/components/Button/index.spec.tsx index 1062d74..c243cfa 100644 --- a/src/components/Button/index.spec.tsx +++ b/src/components/Button/index.spec.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { render, screen, fireEvent } from '@testing-library/react'; -import Button, { ButtonType } from '.'; +import { Button, ButtonType } from '.'; describe('Button component', () => { const renderComponent = (onClick = () => {}) => { diff --git a/src/components/Card/__snapshots__/index.spec.tsx.snap b/src/components/Card/__snapshots__/index.spec.tsx.snap new file mode 100644 index 0000000..4ed74f0 --- /dev/null +++ b/src/components/Card/__snapshots__/index.spec.tsx.snap @@ -0,0 +1,41 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Card component Should match default snapshot 1`] = ` + +
+
+

+ Survey Process +

+

+ Step 1 of 2 +

+
+
+
+
+`; + +exports[`Card component Should not render content if blank property is true 1`] = ` + +
+
+ 恵 +
+
+
+`; diff --git a/src/css-stub.js b/src/css-stub.js new file mode 100644 index 0000000..a099545 --- /dev/null +++ b/src/css-stub.js @@ -0,0 +1 @@ +module.exports = {}; \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index ddc651e..a448e6f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,28 +1,35 @@ { "include": [ - "src/*" + "src/**/*", ], + "exclude": [ + "src/**/*.stories.ts", + "src/**/*.stories.tsx", + "src/**/*.spec.ts", + "src/**/*.spec.tsx", + "src/**/*.stories.js", + "src/**/*.stories.jsx", + "src/**/*.spec.js", + "src/**/*.spec.jsx", + ], "compilerOptions": { - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "strict": true, - "outDir": "libs", - "module": "commonjs", - "target": "es5", - "declaration": true, - "lib": ["es6", "dom"], - "sourceMap": true, - "allowJs": true, - "jsx": "react", - "moduleResolution": "node", - "rootDir": "src", - "noImplicitReturns": true, - "noImplicitThis": true, - "noImplicitAny": true, - "strictNullChecks": true + "allowSyntheticDefaultImports": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "strict": true, + "outDir": "libs", + "module": "commonjs", + "target": "es5", + "declaration": true, + "lib": ["es6", "dom"], + "sourceMap": true, + "allowJs": true, + "jsx": "react", + "moduleResolution": "node", + "noImplicitReturns": true, + "noImplicitThis": true, + "noImplicitAny": true, + "strictNullChecks": true, + "isolatedModules": true }, - "exclude": [ - "node_modules", - "libs" - ] } \ No newline at end of file diff --git a/tsconfig.tsbuildinfo b/tsconfig.tsbuildinfo new file mode 100644 index 0000000..c244b48 --- /dev/null +++ b/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.esnext.intl.d.ts","./src/constants/wrapper.js","./src/actions/errors.js","./src/constants/network.js","./src/actions/jwt.js","./src/actions/modal.js","./src/actions/post_message.js","./src/reducers/errors.js","./src/reducers/jwt.js","./src/reducers/modal.js","./src/reducers/settings.js","./src/communications/communicator.js","./src/middleware/post_message.js","./src/api/api.js","./src/middleware/api.js","./src/loaders/jwt.js","./node_modules/redux/index.d.ts","./src/store/configure_store.js","./node_modules/@types/react/global.d.ts","./node_modules/csstype/index.d.ts","./node_modules/@types/prop-types/index.d.ts","./node_modules/@types/scheduler/tracing.d.ts","./node_modules/@types/react/index.d.ts","./src/components/settings.jsx","./src/libs/styles.js","./src/components/common/atomicjolt_loader.jsx","./src/components/common/errors/inline_error.jsx","./src/components/common/gql_status.jsx","./src/libs/resize_iframe.js","./src/components/common/resize_wrapper.jsx","./node_modules/classnames/index.d.ts","./src/components/banner/index.jsx","./src/components/button/index.tsx","./src/graphql/atomic_mutation.jsx","./src/graphql/atomic_query.jsx","./node_modules/@types/hoist-non-react-statics/index.d.ts","./node_modules/@types/react-redux/index.d.ts","./src/decorators/modal.js","./src/libs/lti_roles.js","./src/index.js","./src/types.d.ts","./node_modules/querystring/decode.d.ts","./node_modules/querystring/encode.d.ts","./node_modules/querystring/index.d.ts","./node_modules/nock/types/index.d.ts","./src/specs_support/helper.js","./src/api/api.spec.js","./src/api/superagent-mock-config.js","./src/communications/communicator.spec.js","./node_modules/@types/aria-query/index.d.ts","./node_modules/@testing-library/dom/types/matches.d.ts","./node_modules/@testing-library/dom/types/wait-for.d.ts","./node_modules/@testing-library/dom/types/query-helpers.d.ts","./node_modules/@testing-library/dom/types/queries.d.ts","./node_modules/@testing-library/dom/types/get-queries-for-element.d.ts","./node_modules/@testing-library/dom/node_modules/pretty-format/build/types.d.ts","./node_modules/@testing-library/dom/node_modules/pretty-format/build/index.d.ts","./node_modules/@testing-library/dom/types/screen.d.ts","./node_modules/@testing-library/dom/types/wait.d.ts","./node_modules/@testing-library/dom/types/wait-for-dom-change.d.ts","./node_modules/@testing-library/dom/types/wait-for-element.d.ts","./node_modules/@testing-library/dom/types/wait-for-element-to-be-removed.d.ts","./node_modules/@testing-library/dom/types/get-node-text.d.ts","./node_modules/@testing-library/dom/types/events.d.ts","./node_modules/@testing-library/dom/types/pretty-dom.d.ts","./node_modules/@testing-library/dom/types/role-helpers.d.ts","./node_modules/@testing-library/dom/types/config.d.ts","./node_modules/@testing-library/dom/types/suggestions.d.ts","./node_modules/@testing-library/dom/types/index.d.ts","./node_modules/@types/react-dom/index.d.ts","./node_modules/@types/react-dom/test-utils/index.d.ts","./node_modules/@testing-library/react/types/index.d.ts","./src/components/storywrapper/index.jsx","./src/components/banner/index.stories.jsx","./src/components/banner/index.spec.jsx","./src/components/card/index.tsx","./src/components/gqlstatus/index.jsx","./src/components/gqlstatus/index.stories.js","./src/constants/error.js","./src/constants/wrapper.spec.js","./src/libs/lti_roles.spec.js","./src/libs/styles.spec.js","./src/loaders/jwt.spec.js","./src/middleware/api.spec.js","./src/middleware/post_message.spec.js","./src/reducers/errors.spec.js","./src/reducers/jwt.spec.js","./src/reducers/settings.spec.js","./src/specs_support/stub.jsx","./src/specs_support/utils.js","./src/store/configure_store.spec.js","./node_modules/@babel/types/lib/index.d.ts","./node_modules/@types/babel__generator/index.d.ts","./node_modules/@babel/parser/typings/babel-parser.d.ts","./node_modules/@types/babel__template/index.d.ts","./node_modules/@types/babel__traverse/index.d.ts","./node_modules/@types/babel__core/index.d.ts","./node_modules/@types/braces/index.d.ts","./node_modules/@types/color-name/index.d.ts","./node_modules/@types/color-convert/conversions.d.ts","./node_modules/@types/color-convert/route.d.ts","./node_modules/@types/color-convert/index.d.ts","./node_modules/@types/node/assert/strict.d.ts","./node_modules/@types/node/globals.d.ts","./node_modules/@types/node/async_hooks.d.ts","./node_modules/@types/node/buffer.d.ts","./node_modules/@types/node/child_process.d.ts","./node_modules/@types/node/cluster.d.ts","./node_modules/@types/node/console.d.ts","./node_modules/@types/node/constants.d.ts","./node_modules/@types/node/crypto.d.ts","./node_modules/@types/node/dgram.d.ts","./node_modules/@types/node/diagnostic_channel.d.ts","./node_modules/@types/node/dns.d.ts","./node_modules/@types/node/dns/promises.d.ts","./node_modules/@types/node/domain.d.ts","./node_modules/@types/node/events.d.ts","./node_modules/@types/node/fs.d.ts","./node_modules/@types/node/fs/promises.d.ts","./node_modules/@types/node/http.d.ts","./node_modules/@types/node/http2.d.ts","./node_modules/@types/node/https.d.ts","./node_modules/@types/node/inspector.d.ts","./node_modules/@types/node/module.d.ts","./node_modules/@types/node/net.d.ts","./node_modules/@types/node/os.d.ts","./node_modules/@types/node/path.d.ts","./node_modules/@types/node/perf_hooks.d.ts","./node_modules/@types/node/process.d.ts","./node_modules/@types/node/punycode.d.ts","./node_modules/@types/node/querystring.d.ts","./node_modules/@types/node/readline.d.ts","./node_modules/@types/node/repl.d.ts","./node_modules/@types/node/stream.d.ts","./node_modules/@types/node/stream/promises.d.ts","./node_modules/@types/node/string_decoder.d.ts","./node_modules/@types/node/timers.d.ts","./node_modules/@types/node/timers/promises.d.ts","./node_modules/@types/node/tls.d.ts","./node_modules/@types/node/trace_events.d.ts","./node_modules/@types/node/tty.d.ts","./node_modules/@types/node/url.d.ts","./node_modules/@types/node/util.d.ts","./node_modules/@types/node/util/types.d.ts","./node_modules/@types/node/v8.d.ts","./node_modules/@types/node/vm.d.ts","./node_modules/@types/node/worker_threads.d.ts","./node_modules/@types/node/zlib.d.ts","./node_modules/@types/node/globals.global.d.ts","./node_modules/@types/node/wasi.d.ts","./node_modules/@types/node/ts3.6/base.d.ts","./node_modules/@types/node/assert.d.ts","./node_modules/@types/node/base.d.ts","./node_modules/@types/node/index.d.ts","./node_modules/@types/minimatch/index.d.ts","./node_modules/@types/glob/index.d.ts","./node_modules/@types/glob-base/index.d.ts","./node_modules/@types/graceful-fs/index.d.ts","./node_modules/@types/unist/index.d.ts","./node_modules/@types/hast/index.d.ts","./node_modules/@types/html-minifier-terser/index.d.ts","./node_modules/@types/is-function/index.d.ts","./node_modules/@types/istanbul-lib-coverage/index.d.ts","./node_modules/@types/istanbul-lib-report/index.d.ts","./node_modules/@types/istanbul-reports/index.d.ts","./node_modules/@types/jest/node_modules/jest-diff/build/cleanupsemantic.d.ts","./node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","./node_modules/@types/jest/node_modules/jest-diff/build/difflines.d.ts","./node_modules/@types/jest/node_modules/jest-diff/build/printdiffs.d.ts","./node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","./node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","./node_modules/@types/jest/index.d.ts","./node_modules/@types/json-schema/index.d.ts","./node_modules/@types/json5/index.d.ts","./node_modules/@types/markdown-to-jsx/index.d.ts","./node_modules/@types/mdast/index.d.ts","./node_modules/@types/micromatch/index.d.ts","./node_modules/form-data/index.d.ts","./node_modules/@types/node-fetch/externals.d.ts","./node_modules/@types/node-fetch/index.d.ts","./node_modules/@types/node-sass/index.d.ts","./node_modules/@types/normalize-package-data/index.d.ts","./node_modules/@types/npmlog/index.d.ts","./node_modules/@types/overlayscrollbars/index.d.ts","./node_modules/@types/parse-json/index.d.ts","./node_modules/@types/parse5/index.d.ts","./node_modules/@types/prettier/index.d.ts","./node_modules/@types/pretty-hrtime/index.d.ts","./node_modules/@types/qs/index.d.ts","./node_modules/@types/reach__router/index.d.ts","./node_modules/@types/react-syntax-highlighter/index.d.ts","./node_modules/@types/scheduler/index.d.ts","./node_modules/@types/source-list-map/index.d.ts","./node_modules/@types/stack-utils/index.d.ts","./node_modules/@types/tapable/index.d.ts","./node_modules/source-map/source-map.d.ts","./node_modules/@types/uglify-js/index.d.ts","./node_modules/anymatch/index.d.ts","./node_modules/@types/webpack-sources/node_modules/source-map/source-map.d.ts","./node_modules/@types/webpack-sources/lib/source.d.ts","./node_modules/@types/webpack-sources/lib/compatsource.d.ts","./node_modules/@types/webpack-sources/lib/concatsource.d.ts","./node_modules/@types/webpack-sources/lib/originalsource.d.ts","./node_modules/@types/webpack-sources/lib/prefixsource.d.ts","./node_modules/@types/webpack-sources/lib/rawsource.d.ts","./node_modules/@types/webpack-sources/lib/replacesource.d.ts","./node_modules/@types/webpack-sources/lib/sizeonlysource.d.ts","./node_modules/@types/webpack-sources/lib/sourcemapsource.d.ts","./node_modules/@types/webpack-sources/lib/index.d.ts","./node_modules/@types/webpack-sources/lib/cachedsource.d.ts","./node_modules/@types/webpack-sources/index.d.ts","./node_modules/@types/webpack/index.d.ts","./node_modules/@types/webpack-env/index.d.ts","./node_modules/@types/yargs-parser/index.d.ts","./node_modules/@types/yargs/index.d.ts","./node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts"],"fileInfos":[{"version":"ac3a8c4040e183ce38da69d23b96939112457d1936198e6542672b7963cf0fce","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"1dad4fe1561d99dfd6709127608b99a76e5c2643626c800434f99c48038567ee","affectsGlobalScope":true},{"version":"cce43d02223f8049864f8568bed322c39424013275cd3bcc3f51492d8b546cb3","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"8dff1b4c2df638fcd976cbb0e636f23ab5968e836cd45084cc31d47d1ab19c49","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"8f4c9f651c8294a2eb1cbd12581fe25bfb901ab1d474bb93cd38c7e2f4be7a30","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"60761e6ea886034af0f294f025a7199360ce4e2c8ba4ec6408bc049cf9b89799","affectsGlobalScope":true},{"version":"506b80b9951c9381dc5f11897b31fca5e2a65731d96ddefa19687fbc26b23c6e","affectsGlobalScope":true},{"version":"1f055470266e2d5430a72471fef29eec116884b5a47e8c44d5a79560e42117fa","signature":"b672a97f80702aa835b8c4c7b2970d7e2c4ecb236ffd7a8a0f22c50f27cefb4c"},{"version":"4ba94e76f275959e91cc05647eb6c5c86972d46c3479571fc6cda797ed58bd0b","signature":"9ceed77b8f412f4a1cc8bccaebd92d6566068007874ce181bbd2b7d822a2f81b"},{"version":"2dfa9d4584e63538289e152eb43db61b536133a2b64a506911a28008064e0906","signature":"6c25a6592dc941b08fe70fb2abb575d39a56bfa530acdf743a5272ff2540507a"},{"version":"6c752c429287b8e3ce35024bbc537c56b3206ede8fb8f1518b2cdaa0d265338c","signature":"a60359ed93bb2e445da833ecb72e851edef5d049a22966744e6c3ff87d2dec26"},{"version":"7a6817c3312967ad5499f16aa3930e1727acfdfcb1e865759fb8a3c943e6fc52","signature":"f8836b6ed37ad57fa08366cb4c98e77a2574dbd257fa97800603985877bc7a69"},{"version":"b103d85928eb3a442cb17c7a926be138b17e7226df1435e3837640725e51943d","signature":"5ffc43c607d2dd3b70d36d242a9548d46496b1ccde338e52e1a0af9df34e3e73"},{"version":"c42e62c0c56bbd6d422d3b5ee6948fdd0555bfc9297676bebdbbf1ab05e6dfe4","signature":"056ada9f4f1ae13d9a82221a69f39e75fb331c0a5d337103b9ee234b9149be03"},{"version":"8d1c87356c0de82629e9a1b0ab2ab27f4ae961205b98b890293a2ee290784565","signature":"ed86e701758b02a3223cd537b42f5260c02e7d8b75c6bb3fae11c4274fbbe14b"},{"version":"be7d08cd054a5783d1e90b6f172b3e6f17cda14a42196fd1a4db501f700ddd23","signature":"ef3b2a1c698b5881986babb69069bc327866de8e6c4987ddc5192b757cb7122f"},{"version":"167d04938a10022c0f83f34413970a48d1218bcc1e7f24f94ba01ba5dee7d0fe","signature":"4e47437262b68295a5af34146dbf45a11a71bc53b1fe2be8c681681d121132a0"},{"version":"09a166fb8fbf56405dbb147d3590ea93cb3ce06c1e764504f3e5976a7a487415","signature":"366d7fa2609022628b1b8c79cedb9e91f182673ae738162bfb23e343212dce3f"},{"version":"073c94cac3f1784906903b728ebf0f69eafa2eab8e37598c5e1a94ad7714539a","signature":"a3811d364aaf9beace3cb160256b336cf6102bcbd2cb3d69bdf15e3daf6b5117"},{"version":"fd41028f28e0c4a41e7d33e953ed41319ce6f190097c36c79da29083ab1ab25d","signature":"dc41c03d91ec9cb0c73e75fb0951c2462b4209770100306865b6c27375282f76"},{"version":"c9818304b49d4909fd89ec03edf0f33ea0731e0a74ec66566ac865dec5c555c6","signature":"a83184e6144bfbe1689c1c575ba327de909dee272af38ab6fc9c9c6bacdfcf63"},{"version":"44bd225b326811fad5122441fab13e47b9eaa75d9a8f168b8f50d8afa2bb24fe","signature":"81eea97383b7cfc8bfb186274dbae8470c4c99a35197c2ef1749b1055e175e45"},{"version":"d530250769a14518ebd6edda5b5f94abaaf3b9f612363c0da32082fa6acd0da8","affectsGlobalScope":true},{"version":"4598beb01c73e3787e46698ee061dd817d91e0482011497cc8d1a8aeebb1b16b","signature":"65d67386b377338c16b01d52616a8ba323f4b8fb4ce0940ae248fe8d5c3ad891"},{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"4ee363f83d7be2202f34fcd84c44da71bf3a9329fee8a05f976f75083a52ea94","a7e32dcb90bf0c1b7a1e4ac89b0f7747cbcba25e7beddc1ebf17be1e161842ad","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"ca1f4045ec1a501a114d63e2f3f24e2dba00c0cb9030b3109f579d54c1e95d63","affectsGlobalScope":true},{"version":"e8ae442777047fc593e50e4e2b799b104014194d4dc82e048da4f7d36129664d","signature":"f6118c10dc289c671043597bbf447d784f6c4cdfb875c13d5fb8c2ccc103d4b3"},{"version":"f23f0724f86295e3f6e512dce16d46d2fd86c07fc6aa3c90f5e499e095ba5f9b","signature":"18d9db6c6760ddead6e77e6673958be67a399e59fad06344c2e7daece9241a5b"},{"version":"38b49b12145990199d54c1e9c64b3735e877f14e3187152b89dcd70128eb23c3","signature":"c57bead5b56cf65a4a2cc199335106a4b5da72f120e5c81b4a6b94ef7554dedf"},{"version":"5436fbe8efe3b35f6ebf7cbf319ca407783d289e6c6ba92b056fe31c95055c49","signature":"49f35b917b077c941773dbc3730377d5fe630ad49a0189e9363410915edd5e94"},{"version":"d6ea10628e09958f48112a16e1343b8a533e4960b039571a26813ec98db4c198","signature":"0bf3ef35cd9a821d7babdfb11c8199b8960c1021dc63182ee3a6fb27468c89d9"},{"version":"e11f91401a4348a518011795722dcf18e339c3e743196507575821073e531a95","signature":"5b49a501642e889d49cda82ab48085b5493804ade9ce147bdca1e60651b24ac0"},{"version":"77c0d0a48141ee6d962b0ea52288d23046253ce9e874609e79b7a1c87f56f533","signature":"a2ba5c5d7e840c5a48d2738425c5b0b24503c83e0b9cc8634fbe8a0e1614072e"},"d153cbce75b7e1621eda0a4148748f44edd71ff44cc5351bac1c7787da4d5b05",{"version":"6f599ed302e28cbac4d40d4115050809f60662d5fb77b0398b30505d06803ffe","signature":"d7bb0d1944f32a64ce3abfaf71e754c6c86bfd8e853d30b6b6f86f00c60cd448"},{"version":"1a8d43dba25e7ba9801988f45d5e776ae2b2ffcac40c66fc0650aa8d7549613c","signature":"132f8cb2dcd91763e2150bfe9110130535b212a653f226f85b64adb36e5cfae9"},{"version":"f15352706a1e90a12daf58c54e358589723372c8c9773be1c3c1b12a6b7f35a5","signature":"3ca0b82fbcbb81ef077f28322c8dfa90ce30e3a8554b3d4222409b230527e1b0"},{"version":"21a365f42d5f3a3eed102f06114f67f2660b20a8bb91980d33626548510fb69b","signature":"7568bcfaea1b9d35bce5420fcd929fb90ba594507e0a1d0305f7bf45462acccc"},"bfe1b52cf71aea9bf8815810cc5d9490fa9617313e3d3c2ee3809a28b80d0bb4","89fb470ea4979b52a206816172c98f92141a95494b40ee2b8d75a901d0555ba7",{"version":"6f53bb50ab974681339afd18887362480c73a4a584dd5252d75001120a3c27f9","signature":"79b81417786323a682c1dc9468489956973344f6dbc6bab1b388ebbc535ff105"},{"version":"192912889e479c1f7de5c1c9ef7a9f9e63a20c3c2fccf49258cc03baed84f6e2","signature":"1ad694accfb96aa839a8a9320046ec3f9ea9dff490ca74899d06e46264dfc050"},{"version":"47d7b7530b3bc269074dd50c3b34b111d7ff1db90e050fa63d32077bb005478b","signature":"dc906793e0d3c740c548d6ad619aa36531a3d5b9d213190747f47ffd34781653"},"a015208aa8f2470b440e583bb3b4829f17f5f4c33567c9fea1334ae5dd6bfdb2","ad7e61eca7f2f8bf47e72695f9f6663b75e41d87ef49abdb17c0cb843862f8aa","ecba2e44af95b0599c269a92628cec22e752868bce37396740deb51a5c547a26","46a9fb41a8f3bc7539eeebc15a6e04b9e55d7537a081615ad3614220d34c3e0f","2ea5b63070e4cb3e2288ab7b51d5b29ce7835a3af9391385a9fb36a40c88eed4",{"version":"f4e27b105b1046c47028b2d73a32cee8e021cd0502940699418f1d45b7105f65","signature":"bd7d0b73119577ea878e1f3024ea3b1a886e6940a2d24e1a4863dc26df278308"},{"version":"4cee11ba69275d854ae6eeefc88b4daffccb3c38405aca7e3f4ee85984277ea2","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"6f20eb258245e3fb3ccc6c27bcfd24b0f1a1e5c36a40f33c71a52ab424df3e16","signature":"fa0597e96011ef788bd454a3a07a124b41368ed28e3a69f3da0869c6cc2b4abc"},{"version":"254a1afd7b14cf31f35b0d154386caa073c7efbb76bf93eb05191626ee1f5be2","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},"e51e34b4d8bd97569a7101c1b77234f6a1272cbb5bd50ed649b1da3f71070300","f70bc756d933cc38dc603331a4b5c8dee89e1e1fb956cfb7a6e04ebb4c008091","8387ec1601cf6b8948672537cf8d430431ba0d87b1f9537b4597c1ab8d3ade5b","e4b367f488986faa41155eba6408573e8ff66e98fd1870c3fb2a3570e421fad4","cd40e95389d7ea83b8eda20fd90a3d217af2973da559af0d1f3deb2015001327","38917038579abb914ee0957b48968b2bed721532e9bee8cb01b354093283344f","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c","d2ac9ef9ac638aebb16f0dfd03949f14d442dc9c58a0605069ba03b2088f1034","0197f7bcd7d83cd642bca7ca2272bebfeb48047a16c6e3e97f1421abe46c5069","4a93493a505ad7576039efb314a4c26821b272e7192c0724b6e877202258e668","876e5cfd4db6eab43d260bcf8adda394163d835adf0cbc9167c1c2d7bc13a34e","3aca7f4260dad9dcc0a0333654cb3cde6664d34a553ec06c953bce11151764d7","a0a6f0095f25f08a7129bc4d7cb8438039ec422dc341218d274e1e5131115988","cc7f5deaf4e1e2b8dde0645ae824d213cc71834a0d58d557f805f443451664a8","2ac36e828c9e778acbd5a34cd57c144a875443b45d6cee38cfebb9e5756e5dca","168994907c6427e885018396248c567b6214e0daa6b62d4fc1be334affa44c56","1710c396fe5c4804b37df33caab2e2f69cf0dd2a9f7a5e5379148d50f4ea7419","82200e963d3c767976a5a9f41ecf8c65eca14a6b33dcbe00214fcbe959698c46","5e4dd2e2cef503b3198735afd73a98b63a44a70d49fb0e9659222f1771b5f46d","b4dfafe583b829a382edccbe32303535d0785f0c02ba7f04418e2a81de97af8a","12758f44a694ee2fee1759aed3271f3d7ce45a37a0daec62b99f162a8f65b12f","93d72cd6f97ba8fa778d340091a0b25a08ea336a2ac79cd7d33086906b5c498e",{"version":"8de5ceef18926fd9d4b3ea27466633e55a16805e3cebcf7397712f28ae996d98","signature":"5ff360425776efc42c42a739694248add0077b354761f762b79a7a779263f0a4"},{"version":"0443bd5c60ba894f5ea16e9acdab9bb20669a538c19ecb3d6eb28e7c25905cb3","signature":"977216f6282a2e27fa594dc67778c45d113223f20a2e3af15e21627082576f64"},{"version":"e6f3cb0fcb23ac2004ad42b88d67c53c9738988e2b66399a856962ff7e72127f","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"80efdc6be04546e1a52626561c71db81bd54443f288640596eb066cd32dd2e34","signature":"7281245c23762f68bb72815f23895aed5bccbde121d4ea59b983e05ae275ad9f"},{"version":"5180b194b3ce9086d7d4168656946576954891fa69c148fa795fd3a0bf8e529a","signature":"0bf3ef35cd9a821d7babdfb11c8199b8960c1021dc63182ee3a6fb27468c89d9"},{"version":"0591251a7cedc09fcbd99da45bacefaa8341e693d1f1a108198a8bff05946a4a","signature":"02b730b3aaee8b4f82e1bdc8392c34a5911856ed3e4c55a7ac12083920ad0401"},{"version":"8492c1f3f465a18a067cba73df976e8a23709a02b44323e3296adad952a65f9a","signature":"b4b8fe7249af98f6b9ef3e43e1dd975c95d03a3f5b36757b608aa5a01ab4a286"},{"version":"3886cded610fec9e37ff1eaf8f1accc57ccca73cbce49ceec5b9e2b67f006196","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"db80920c82b54fd253f912f135a2b3e21730ad960dafc0acf512c0129be919f9","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"810135d0c2785014ca0ba39ac336ec60b06455d6a0ade66ab94e09ef915f3533","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"161f80c497d1089efbdf67b0c6972e29a9e159c4c83fdba6f3a552f00ac72f74","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"dcd7b4ab9eabb952e0bf2151720bdb12b533bb829d67ac076c6aaeb75593384e","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"7ccf5b22a74dcb9b3323a6644b7a24009eea441bfb612478fbb8fa9bcc55cd3f","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"89051bd0a4ac29545fbe92f5272f44807e47e7a31e2a4deab08ebfd0dacd1b9b","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"fff0e14f7483a4a419ca36124ee11ee87f21778bb8ae95b28d28b009097bf410","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"6fdaece1cc55ebb472934b4356fd6ad2083a953242f5ce4a2863b2805ecf432e","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"fac13efdb094adfdc5480e9cc202b27b6b15826a091538bd04a614a812d262e1","signature":"6d01febd3742c71f22fce2ceb031250702549fb4617463b2f5f7897be9833439"},{"version":"45fa09780f9cc8a57d2e72fbf35018949f4c6c8787f16a98403c101f783ceec8","signature":"b845df9f46abe155b56128ca2617c6d7d202dea2922235b3deacf7e55694a40b"},{"version":"cba8c422110623382afec77f6479cc4275223d3b97af1c40527044938bda5a56","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},"a17ba25a194979a88bfd925e849d76b63f68c4160b69a99c5d723eac5ffddaf0","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","3e6297bcddf37e373d40ddb4c2b9e6fc98901b2a44c01b2d96af142874973c43","3051751533eee92572241b3cef28333212401408c4e7aa21718714b793c0f4ed","691aea9772797ca98334eb743e7686e29325b02c6931391bcee4cc7bf27a9f3b","6f1d39d26959517da3bd105c552eded4c34702705c64d75b03f54d864b6e41c2","cfb42d1c8aa66607ef3b1e2cee85d28148358ba62dc5e5146b317dae7bfd9a96","f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e","92450d617e92f96354d281c8ed5613fd16cacea79eb60b1e9736494b3c057e69","8a9086357fe289efb682dc925358f30b6312c7219a5ca92212857a0a79612012","92bc42ed0e2d41559513fd457ee30d834c2f0fedb9ed5004c029cbf0ad2f8bd9","c7bdc99177a2a94d25fb13722adaaf5b3291bf70b4d1b27584ba189dd3889ba3",{"version":"7c4064a324cd755a9b281d5795fc6ebd9dd713b1c356220185c61eb1b2d0f1af","affectsGlobalScope":true},"e23424b97418eca3226fd24de079f1203eb70360622e4e093af2aff14d4be6ec","ff16181fe134bb123283eb6777c624f6f3ee3f5c17d70b8447fa68af0935d312","54868134aa26f98b6fbc8d28040d8a0f5e64a1cb0dfac7f059b35cac99d626f2","04eaa93bd75f937f9184dcb95a7983800c5770cf8ddd8ac0f3734dc02f5b20ef",{"version":"7ddd5487c03df04c01a8618e06d875e167524902ed3dd9a2a9345a0ef5202d6f","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","91550fb52e0781808bb5796aad0c084c006620f061793e6717c41085245fda47","c9f5f2920ff61d7158417b8440d5181ddc34a3dfef811a5677dd8a9fb91471e9","5cc0a492da3602510b8f5ed1852b1e0390002780d8758fbc8c0cd023ca7085f8","ec7dafafe751a5121f8f1c80201ebe7e7238c47e6329280a73c4d1ca4bb7fa28","64debeb10e4b7ae4ec9e89bfb4e04c6101ab98c3cc806d14e5488607cfec2753",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"a5782d6cea81fe43d2db7ed41e789458c933ab3ab60602f7b5b14c4da3370496","affectsGlobalScope":true},"b86b7ff709a82ef3cba2184136c025989958bad483ffb13e4ca35d720245adf4","05b1c856de9c8f2c09c86a89455e25965342496ebe6d089760a9646c51295c76","c0d983dfc997b446ec8e456dea90e8c0c97ba896d55d7e34dfc351f32c405eb9","b447e123210c68f205f67b20c996c04a1eb64b0e591c5e06e164cd3d3a869b28","13257840c0850d4ebd7c2b17604a9e006f752de76c2400ebc752bc465c330452","42176966283d3835c34278b9b5c0f470d484c0c0c6a55c20a2c916a1ce69b6e8","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","6ea59cf5479f3fad5db2caa4513d8d06d6cfee8d8df69e7a040c9b5b7f25f39c","e2236264a811ed1d09a2487a433e8f5216ae62378cf233954ae220cf886f6717","3ec1e108d587a5661ec790db607f482605ba9f3830e118ce578e3ffa3c42e22b","100b3bb9d39d2b1b5340f1bf45a52e94ef1692b45232b4ba00fac5c3cc56d331",{"version":"ec1a29ddaecb683aa360df0bd98ab5d4171d2d549554f7c5ab2a5c183a3dcb67","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","992c6f6be16c0a1d2eec13ece33adeea2c747ba27fcd078353a8f4bb5b4fea58","2597718d91e306949d89e285bf34c44192014ef541c3bd7cbb825c022749e974","a6b0abdb67d63ebe964ba5fee31bc3daf10c12eecd46b24d778426010c04c67e","ac4801ebc2355ba32329070123b1cd15891bf71b41dcaf9e75b4744832126a59","fd2298fba0640e7295e7bd545e2dfbfcccbb00c27019e501c87965a02bbdebf6","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","71ddd49185b68f27bfac127ef5d22cb2672c278e53e5370d9020ef50ca9c377d","b1ea7a6eaa7608e0e0529aebd323b526a79c6c05a4e519ae5c779675004dcdf1","9fcb033a6208485d8f3fadde31eb5cbcaf99149cff3e40c0dc53ebc6d0dff4e9","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9","f4149f1aa299474c7040a35fe8f8ac2ad078cc1b190415adc1fff3ed52d490ea","3730099ed008776216268a97771de31753ef71e0a7d0ec650f588cba2a06ce44","8d649dbc429d7139a1d9a14ea2bf8af1dc089e0a879447539587463d4b6c248c","60c9e27816ec8ac8df7240598bb086e95b47edfb454c5cbf4003c812e0ed6e39","e361aecf17fc4034b4c122a1564471cdcd22ef3a51407803cb5a5fc020c04d02","4926467de88a92a4fc9971d8c6f21b91eca1c0e7fc2a46cc4638ab9440c73875",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"fc0ae4a8ad3c762b96f9d2c3700cb879a373458cb0bf3175478e3b4f85f7ef2f","fabbec378e1ddd86fcf2662e716c2b8318acedb664ee3a4cba6f9e8ee8269cf1","b3593bd345ebea5e4d0a894c03251a3774b34df3d6db57075c18e089a599ba76","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","13c7832f048b08604b7e88b69247aecf955bb7b27a0881c2f7f23bb645435479","95c22bc19835e28e2e524a4bb8898eb5f2107b640d7279a6d3aade261916bbf2","393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0","d1ae472dde31ac39e68d52e1e21dcccba3989d146b7b8472f03525d0caad1775","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","1320ee42b30487cceb6da9f230354fc34826111f76bf12f0ad76c717c12625b0","b6e83cdeca61289e5ffd770e55ed035babdffadd87d1ffa42b03e9fe8411333f","6767cce098e1e6369c26258b7a1f9e569c5467d501a47a090136d5ea6e80ae6d","11ef35fa1e8aef8229ce6b62ac1a6a0761d1d4bb4de1538bce6d10762a919139","de18acda71730bac52f4b256ce7511bb56cc21f6f114c59c46782eff2f632857","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","029769d13d9917e3284cb2356ed28a6576e8b07ae6a06ee1e672518adf21a102","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"bbc19287f48d4b3c753bd2c82dd9326af19cccbfa1506f859029dfcedc7c5522","affectsGlobalScope":true},"3a1e165b22a1cb8df82c44c9a09502fd2b33f160cd277de2cd3a055d8e5c6b27","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","9c138947e4cf970491111d971aa615db8353c7f0efc72bd84d8ad6e4743079c5","9a6d65d77455efaaaeff945bea30c38b8fe0922b807ba45cd23792392f1bfe76","9c36d6df17ca69a65a2a654d9bbd86d74c6d6055e566429cd0a1de82827680eb","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","8fe9135b86994075c4192f3358a4350389e80d3abec712db2a82061962d9d21c","e0014889f31fee76a572b6b15e74b2174cbcf6346ae8ab5c69eb553a10e5c944","40b10a1850a75eb4c51f3df09a67f23fd4ca8bbc352caacce0beb44b62cb999c","c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613","0d65b782b1a9b5891802ef2022c78481b19dfe133ba8d9f7596fe1320314342d","1502b874bbaafdb762b3907945740f787058a6aabff5e27377f9b45e4bb08ff3","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","c555dd691dd05955e99cd93dd99c685a65e5287813ccb5e6bfde951183248e26","29651525db5579157e617c77e869af8bfdc1130f5d811c1f759ad35b7bafc8ef","b91aaad5f9c3f5dca5e8245d5f6464bdc63a77ba4453bb3e2d0c93959cddb13c","98437d5a640b67c41534f0de2dcb64c75433dcdff54ff8f8432e613663619a2e","2c69f898b82f3ebb97b3d09e7862c3dfb09a689bdc356339ef78c074028a7cfc",{"version":"cffd3848b7af4922d70028c805b7df5e8f0eac4a8d2410b0f55b47ca62c6c3a8","affectsGlobalScope":true},"3169db033165677f1d414baf0c82ba27801089ca1b66d97af464512a47df31b5","67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae","41422586881bcd739b4e62d9b91cd29909f8572aa3e3cdf316b7c50f14708d49","d558a0fe921ebcc88d3212c2c42108abf9f0d694d67ebdeba37d7728c044f579","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","bee79f5862fe1278d2ba275298862bce3f7abf1e59d9c669c4b9a4b2bba96956","4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349","b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9","8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d","ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5","083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9","274ebe605bd7f71ce161f9f5328febc7d547a2929f803f04b44ec4a7d8729517","6ca0207e70d985a24396583f55836b10dc181063ab6069733561bfde404d1bad","5908142efeaab38ffdf43927ee0af681ae77e0d7672b956dfb8b6c705dbfe106","f772b188b943549b5c5eb803133314b8aa7689eced80eed0b70e2f30ca07ab9c","0026b816ef05cfbf290e8585820eef0f13250438669107dfc44482bac007b14f","8ef5aad624890acfe0fa48230edce255f00934016d16acb8de0edac0ea5b21bb","9af6248ff4baf0c1ddc62bb0bc43197437bd5fb2c95ff8e10e4cf2e699ea45c1","d84398556ba4595ee6be554671da142cfe964cbdebb2f0c517a10f76f2b016c0","89b42f8ee5d387a39db85ee2c7123a391c3ede266a2bcd502c85ad55626c3b2b","99c7f3bbc03f6eb3e663c26c104d639617620c2925e76fc284f7bedf1877fa2b",{"version":"5b3e6ce357a7a1a07c858432a3d2002750058725874db09a03a0a9e899d861f5","affectsGlobalScope":true},"3bdd93ec24853e61bfa4c63ebaa425ff3e474156e87a47d90122e1d8cc717c1f","5a2a25feca554a8f289ed62114771b8c63d89f2b58325e2f8b7043e4e0160d11"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"esModuleInterop":true,"jsx":2,"module":1,"noImplicitAny":true,"noImplicitReturns":true,"noImplicitThis":true,"outDir":"./libs","rootDir":"./src","sourceMap":true,"strict":true,"strictNullChecks":true,"target":1},"fileIdsList":[[119],[83],[81],[78,79,80,81,82,85,86,87,88,89,90,91,92,93,94,95],[77],[84],[78,79,80],[78,79],[81,82,84],[79],[96,97,98],[119,120,121,122,123],[119,121],[126],[127,128],[127],[144,181,182],[145,181],[186],[50],[190],[190,191],[84,197],[193,194],[193,194,195,196],[125],[147,169,181,205,206],[181],[179],[178,179],[133,138],[144,145,152,161],[134,144,152],[170],[138,145,153],[161,166],[141,144,152],[142],[141],[144],[144,146,161,169],[144,145],[152,161,169],[144,145,147,152,161,166,169],[147,166,169],[180],[169],[141,144,161],[154],[132],[168],[159,170,173],[144,162],[161],[164],[138,152],[130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177],[152],[158],[171],[133,138,144,146,155,161,169,173],[50,98],[44,50,63],[50,218],[46,47,48,49],[223],[181,227,228,229,230,231,232,233,234,235,236,237],[226,227,236],[227,236],[220,226,227,236],[226,227,228,229,230,231,232,233,234,235,237],[227],[138,226,236],[138,181,222,223,224,225,238],[241],[147,161,181],[145,147,158,169],[69,70],[29],[29,31],[31],[31,41,72,73],[39],[48,50,68],[50,99,101],[50,59,100],[50,68],[48,50,51,52],[48,50,52],[48,50,53,54],[48,50,56],[50,100,104],[33,64],[48,50,54],[30,32,33,34,35,36,37,38,39,40,41,42,43,45,51,53,54,55,56,57,59,60,61,62,65,66],[66],[52],[32,41],[43],[29,41],[31,42,73],[40,73],[30],[30,35],[32],[32,36],[33],[38],[38,42,44,45,72],[48,50],[98],[44],[45],[96],[197,198],[243],[64]],"referencedMap":[[121,1],[84,2],[82,3],[96,4],[78,5],[92,6],[81,7],[80,8],[85,9],[87,10],[89,10],[88,10],[99,11],[124,12],[120,1],[122,13],[123,1],[127,14],[129,15],[128,16],[183,17],[185,18],[187,19],[63,20],[191,21],[192,22],[199,23],[195,24],[197,25],[196,24],[198,2],[202,20],[203,19],[204,26],[207,27],[208,28],[130,29],[180,30],[133,31],[134,32],[135,33],[136,34],[137,35],[138,36],[139,37],[141,38],[142,39],[143,40],[144,40],[145,41],[146,42],[147,43],[148,44],[149,45],[181,46],[150,40],[151,47],[152,48],[154,49],[155,50],[156,51],[159,40],[160,52],[161,53],[162,54],[164,40],[165,55],[166,56],[178,57],[168,58],[169,59],[170,60],[172,54],[174,61],[175,54],[210,40],[217,20],[97,20],[98,62],[64,63],[218,64],[50,65],[224,66],[238,67],[237,68],[228,69],[229,70],[236,71],[230,70],[231,69],[232,69],[233,69],[234,72],[227,73],[235,68],[239,74],[242,75],[205,76],[72,77],[71,78],[30,79],[32,80],[33,79],[34,79],[41,81],[74,82],[76,83],[59,84],[102,85],[101,86],[60,87],[103,87],[53,88],[54,89],[55,90],[57,91],[104,90],[105,92],[51,20],[100,20],[107,79],[65,93],[61,94],[62,90],[67,95],[108,96],[56,83],[109,97],[43,98],[110,99],[42,100],[111,101],[40,83],[112,102],[35,103],[113,104],[36,105],[114,106],[37,107],[115,108],[73,109],[116,110],[117,111],[45,112],[118,113]],"exportedModulesMap":[[121,1],[84,2],[82,3],[96,4],[78,5],[92,6],[81,7],[80,8],[85,9],[87,10],[89,10],[88,10],[99,114],[124,12],[120,1],[122,13],[123,1],[127,14],[129,15],[128,16],[183,17],[185,18],[187,19],[63,20],[191,21],[192,22],[199,115],[195,24],[197,25],[196,24],[198,116],[202,20],[203,19],[204,26],[207,27],[208,28],[130,29],[180,30],[133,31],[134,32],[135,33],[136,34],[137,35],[138,36],[139,37],[141,38],[142,39],[143,40],[144,40],[145,41],[146,42],[147,43],[148,44],[149,45],[181,46],[150,40],[151,47],[152,48],[154,49],[155,50],[156,51],[159,40],[160,52],[161,53],[162,54],[164,40],[165,55],[166,56],[178,57],[168,58],[169,59],[170,60],[172,54],[174,61],[175,54],[210,40],[217,20],[97,20],[98,62],[64,63],[218,64],[50,65],[224,66],[238,67],[237,68],[228,69],[229,70],[236,71],[230,70],[231,69],[232,69],[233,69],[234,72],[227,73],[235,68],[239,74],[242,75],[205,76],[72,77],[71,78],[60,20],[103,20],[65,117]],"semanticDiagnosticsPerFile":[121,119,84,83,94,91,90,82,96,78,92,81,80,93,85,95,87,89,88,79,86,99,77,124,120,122,123,125,127,129,128,126,184,183,185,187,63,188,189,190,191,192,199,193,195,197,196,194,198,200,201,202,203,204,182,206,207,208,179,130,132,180,133,134,135,136,137,138,139,140,141,142,143,144,145,146,131,176,147,148,149,181,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,178,168,169,170,171,172,173,177,174,175,209,210,211,212,213,214,215,48,216,217,97,98,64,218,46,50,219,49,220,221,222,224,186,240,238,237,228,229,236,230,231,232,233,234,227,235,226,239,241,242,225,58,47,205,72,69,70,71,44,223,6,8,7,2,9,10,11,12,13,14,15,16,3,4,20,17,18,19,21,22,23,5,24,25,26,27,1,28,30,32,33,34,41,74,75,39,76,59,102,101,60,103,53,54,55,57,104,105,51,100,106,31,29,107,65,61,62,67,66,108,56,52,109,43,110,42,111,40,112,35,113,36,114,37,38,115,73,116,117,45,118,68]},"version":"4.3.4"} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 8e14693..564d466 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2533,6 +2533,13 @@ dependencies: "@types/react" "*" +"@types/react-dom@^17.0.8": + version "17.0.8" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.8.tgz#3180de6d79bf53762001ad854e3ce49f36dd71fc" + integrity sha512-0ohAiJAx1DAUEcY9UopnfwCE9sSMDGnY/oXjWMax6g3RpzmTt2GMyMVAXcbn0mo8XAff0SbQJl2/SBU+hjSZ1A== + dependencies: + "@types/react" "*" + "@types/react-redux@^7.1.16": version "7.1.16" resolved "https://registry.yarnpkg.com/@types/react-redux/-/react-redux-7.1.16.tgz#0fbd04c2500c12105494c83d4a3e45c084e3cb21" From 0e2714826bc62af7761b19b2a9529393f0cb7588 Mon Sep 17 00:00:00 2001 From: momotofu Date: Fri, 25 Jun 2021 08:50:23 +0900 Subject: [PATCH 07/18] removed unnecessary css-modules plugin --- .babelrc | 10 ++-------- libs/css-stub.d.ts | 1 + libs/css-stub.js | 3 +++ 3 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 libs/css-stub.d.ts create mode 100644 libs/css-stub.js diff --git a/.babelrc b/.babelrc index 8b34e3f..89520b3 100644 --- a/.babelrc +++ b/.babelrc @@ -17,10 +17,7 @@ "@babel/preset-typescript" ], "plugins": [ - "@babel/plugin-proposal-class-properties", - ["babel-plugin-react-css-modules", { - "generateScopedName": "[name]-[local]-[hash:base64:4]" - }] + "@babel/plugin-proposal-class-properties" ] }, "test": { @@ -30,10 +27,7 @@ "@babel/preset-typescript" ], "plugins": [ - "@babel/plugin-proposal-class-properties", - ["babel-plugin-react-css-modules", { - "generateScopedName": "[name]-[local]-[hash:base64:4]" - }] + "@babel/plugin-proposal-class-properties" ] } } diff --git a/libs/css-stub.d.ts b/libs/css-stub.d.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/libs/css-stub.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/libs/css-stub.js b/libs/css-stub.js new file mode 100644 index 0000000..6a700d7 --- /dev/null +++ b/libs/css-stub.js @@ -0,0 +1,3 @@ +"use strict"; + +module.exports = {}; \ No newline at end of file From 4dd4c6eafb69217dd1566fb661909c20ca27ab46 Mon Sep 17 00:00:00 2001 From: momotofu Date: Fri, 25 Jun 2021 09:36:05 +0900 Subject: [PATCH 08/18] Fixed broken Card story, and updated README --- README.md | 6 ++++-- src/components/Card/index.stories.tsx | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b701dd5..87a7bdb 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,10 @@ src/components/ ---- index.stories.js ---- styles.scss ``` - -## 🧪 Testing +### Building +To build the lib folders and types run: +`yarn build` +### 🧪 Testing Run tests: `yarn test` diff --git a/src/components/Card/index.stories.tsx b/src/components/Card/index.stories.tsx index 470f655..ec76dd7 100644 --- a/src/components/Card/index.stories.tsx +++ b/src/components/Card/index.stories.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { Story, Meta } from '@storybook/react'; import StoryWrapper from '../StoryWrapper'; import Card, { Props } from '.'; -import Button, { ButtonType } from '../Button'; +import { Button, ButtonType } from '../Button'; export default { title: 'Card', From d16bf0f0aff22d4c135581bcfd127ad25d095063 Mon Sep 17 00:00:00 2001 From: momotofu Date: Fri, 25 Jun 2021 09:40:03 +0900 Subject: [PATCH 09/18] Storybook functioning --- README.md | 2 +- src/components/Card/styles.css | 65 +++++++++++++++++++--------------- 2 files changed, 37 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 87a7bdb..39b3728 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ src/components/ ---- index.stories.js ---- styles.scss ``` -### Building +### 🚧 Building To build the lib folders and types run: `yarn build` ### 🧪 Testing diff --git a/src/components/Card/styles.css b/src/components/Card/styles.css index 1c8953e..9343b91 100644 --- a/src/components/Card/styles.css +++ b/src/components/Card/styles.css @@ -7,32 +7,39 @@ font-family: Lato, sans-serif; box-sizing: border-box; border: 1px solid rgba(0, 0, 0, 0.036); } - .aj-card__heading { - display: flex; - flex-direction: column; - align-items: baseline; - justify-content: space-between; - padding-bottom: 0.25rem; } - .aj-card__heading > h1, - .aj-card__heading > h2 { - padding: 0; - margin: 0; } - .aj-card__heading-title { - font-size: 1.25rem; } - .aj-card__heading-subtitle { - font-size: 1rem; - opacity: 0.5; - font-weight: 400; } - .aj-card__content { - font-size: 1rem; - line-height: 1.5rem; - padding: 0; - padding-top: 1rem; - display: flex; - justify-content: flex-start; - flex-direction: column; - align-items: flex-end; } - .aj-card__content > p { - margin-top: 0; } - .aj-card__content > p:last-of-type { - margin-bottom: 1.75rem; } + +.aj-card__heading { + display: flex; + flex-direction: column; + align-items: baseline; + justify-content: space-between; + padding-bottom: 0.25rem; } + +.aj-card__heading > h1, +.aj-card__heading > h2 { + padding: 0; + margin: 0; } + +.aj-card__heading-title { + font-size: 1.25rem; } + +.aj-card__heading-subtitle { + font-size: 1rem; + opacity: 0.5; + font-weight: 400; } + +.aj-card__content { + font-size: 1rem; + line-height: 1.5rem; + padding: 0; + padding-top: 1rem; + display: flex; + justify-content: flex-start; + flex-direction: column; + align-items: flex-end; } + +.aj-card__content > p { + margin-top: 0; } + +.aj-card__content > p:last-of-type { + margin-bottom: 1.75rem; } From 62eeb36d258cbb1afd130131f923fcbb2f58002d Mon Sep 17 00:00:00 2001 From: momotofu Date: Fri, 25 Jun 2021 09:53:29 +0900 Subject: [PATCH 10/18] Removed center style from Button story --- src/components/Button/index.stories.tsx | 4 +- src/components/Card/styles.css | 65 +++++++++++-------------- 2 files changed, 30 insertions(+), 39 deletions(-) diff --git a/src/components/Button/index.stories.tsx b/src/components/Button/index.stories.tsx index 21bb3e1..60c8896 100644 --- a/src/components/Button/index.stories.tsx +++ b/src/components/Button/index.stories.tsx @@ -10,9 +10,7 @@ export default { const Template: Story = (args) => ( -
-
+ + + ); + } + + function isCurrentPath() { + return sortPath === currentPath; + } + + function sortClassName() { + if (!isCurrentPath) return ''; + + return currentDirection === SortDirection.Asc ? 'is-asc' : 'is-desc'; + } + + function getTooltip() { + if (tooltip) { + return ( + {tooltip} + ); + } + + return null; + } + + function arrowClassName(direction: SortDirection) { + if (!isCurrentPath()) return ''; + if (direction === currentDirection) { + return 'sort-direction'; + } + + return ''; + } + + function invertSort() { + return currentDirection === SortDirection.Asc + ? SortDirection.Desc + : SortDirection.Asc; + } + + const sortClick = (e: any) => { + if (!initializing) { + const { announceAssertive: announce } = props; + e.stopPropagation(); + + const sortDirection = isCurrentPath() ? invertSort() : SortDirection.Asc; + announce( + i18n.t('Sorting by {{name}}, {{direction}}', { + name: ariaName, + direction: sortDirection === SortDirection.Asc ? 'ascending' : 'descending', + }), + ); + onSort(sortDirection, sortPath); + } + }; + + return ( + +
+ {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */} +
+ {children} + {getTooltip()} + +
+ {search()} +
+ + ); +} + + +export default withLiveMessenger(SortableHeader); diff --git a/src/components/SortableHeader/styles.scss b/src/components/SortableHeader/styles.scss new file mode 100644 index 0000000..423e7b3 --- /dev/null +++ b/src/components/SortableHeader/styles.scss @@ -0,0 +1,78 @@ +@import "../../styles/styles.scss"; + +th { + span { + font-size: 12px; + text-transform: uppercase; + color: #222; + } + + .aj-btn--sort { + background-color: transparent; + border: 1px solid transparent; + + &:active, + &:focus { + outline: none; + } + + i { + display: block; + font-size: 20px; + color: $grayC6; + margin-bottom: -10px; + + &.sort-direction { + color: $gray59; + } + } + } + + .aj-input--search { + display: flex; + align-items: center; + max-width: 235px; + + &.is-expanded { + border: 1px solid #333; + border-radius: 2px; + animation: slide .3s ease-out; + animation-fill-mode: forwards; + } + + .aj-hidden { + display: none; + } + + button { + background-color: transparent; + border: 1px solid transparent; + + i { + font-size: 18px; + line-height: 25px; + } + } + + input { + display: none; + border: none; + outline: none; + } + + &.is-expanded input { + animation: slide 0.3s ease-out; + animation-fill-mode: forwards; + display: inline-block; + } + } +} + +@keyframes slide { + from { + width: 0; + } + to { + width: 100%; + } +} diff --git a/src/components/SortableHeader/utils.ts b/src/components/SortableHeader/utils.ts new file mode 100644 index 0000000..aa21001 --- /dev/null +++ b/src/components/SortableHeader/utils.ts @@ -0,0 +1 @@ +export const getID = () => parseInt(String(Math.random() * 1e10), 27).toString(); \ No newline at end of file diff --git a/src/components/SurveyItem/__snapshots__/index.spec.tsx.snap b/src/components/SurveyItem/__snapshots__/index.spec.tsx.snap new file mode 100644 index 0000000..cfa8656 --- /dev/null +++ b/src/components/SurveyItem/__snapshots__/index.spec.tsx.snap @@ -0,0 +1,90 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`SurveyItem component Should match default snapshot 1`] = ` + + + name + + 12/12/202012/12/202015 + + Results + + +
+ + +
+
+`; diff --git a/src/components/SurveyItem/index.spec.tsx b/src/components/SurveyItem/index.spec.tsx new file mode 100644 index 0000000..aa05d35 --- /dev/null +++ b/src/components/SurveyItem/index.spec.tsx @@ -0,0 +1,46 @@ +import React from 'react'; +import { render } from '@testing-library/react'; +import { MemoryRouter } from 'react-router-dom'; +import { MockedProvider } from '@apollo/react-testing'; +import SurveyItem from '.'; + + +describe('SurveyItem component', () => { + defaultSettings({ + canvas_url: 'url', + canvas_course_id: 1234, + }); + + it('Should match default snapshot', () => { + const { asFragment } = render( + + {}} + /> + , + { wrapper: MemoryRouter }, + ); + + expect(asFragment()).toMatchSnapshot(); + }); +}); diff --git a/src/components/SurveyItem/index.tsx b/src/components/SurveyItem/index.tsx new file mode 100644 index 0000000..7ce1716 --- /dev/null +++ b/src/components/SurveyItem/index.tsx @@ -0,0 +1,129 @@ +import React from 'react'; +import { Link } from 'react-router-dom'; +import i18n from 'i18next'; +import Tippy from '@tippyjs/react'; +import { withSettings } from 'atomic-fuel'; + +import QualtricsLink from '../common/qualtrinks_link'; +import Menu from '../Menu'; +import Button, { ButtonType } from '../Button'; +import Publish from '../Publish'; +import { SurveyAssignment, Settings } from '../../types'; + +import './styles.scss'; + +interface Props { + readonly surveyAssignment: SurveyAssignment, + readonly onDelete: (survey: SurveyAssignment) => void, + readonly settings: Settings, +} + +function SurveyItem({ surveyAssignment, onDelete, settings }: Props) { + const createdAt = new Date(surveyAssignment.createdAt).toLocaleDateString(); + const dueDate = surveyAssignment.dueAt + ? new Date(surveyAssignment.dueAt).toLocaleDateString() + : '-'; + const { canvas_url: canvasUrl, canvas_course_id: canvasCourseId } = settings; + const assignmentUrl = `${canvasUrl}/courses/${canvasCourseId}/assignments/${surveyAssignment.lmsAssignmentId}`; + + return ( + + + + {surveyAssignment.name} + + + {dueDate} + {createdAt} + {surveyAssignment.completed} + + + Results + + { surveyAssignment.survey.owns ? + : + + lock + } + { + const ariaOptions = { + 'aria-label': i18n.t('assignment options'), + 'aria-haspopup': 'menu', + 'aria-expanded': menuOpen ? 'true' : 'false', + }; + + return ( +
+ + + +
    e.stopPropagation()} + onKeyPress={onKeyPress} + > +
  • + + mode_edit + Edit Content + +
  • +
  • + + settings + Settings + +
  • +
  • + +
  • +
+
+ ); + }} + /> + + + ); +} + +export default withSettings(SurveyItem); diff --git a/src/components/SurveyItem/styles.scss b/src/components/SurveyItem/styles.scss new file mode 100644 index 0000000..9cba378 --- /dev/null +++ b/src/components/SurveyItem/styles.scss @@ -0,0 +1,50 @@ +@import "../../styles/styles.scss"; + +.assignment-item { + &__name { + font-size: 15px; + } + + &__due, + &__date { + font-size: 13px; + color: $gray5A; + letter-spacing: 0px; + } + + &__actions { + text-align: right; + display: flex; + align-items: center; + justify-content: flex-end; + height: 45px; + + .aj-menu-container { + .loadingSkeleton { + margin: auto; + width: 80% !important; + height: 30px; + } + } + + .qualtrics-link__results { + font-size: 12px; + font-weight: bold; + } + + span.qualtrics-link__results { + font-size: 12px; + font-weight: bold; + color: #aaaaaa; + } + + .locked { + color: $gray59; + padding: 5px; + margin: 0px 18px 0px 24px; + &:hover { + cursor: not-allowed; + } + } + } +} diff --git a/src/components/SurveyItemLoading/index.jsx b/src/components/SurveyItemLoading/index.jsx new file mode 100644 index 0000000..3ad4ad3 --- /dev/null +++ b/src/components/SurveyItemLoading/index.jsx @@ -0,0 +1,16 @@ +import React from 'react'; +import LoadingSkeleton from '../LoadingSkeleton'; +import './styles.scss'; + +function SurveyItemLoading() { + return ( + + + + + + + ); +} + +export default SurveyItemLoading; diff --git a/src/components/SurveyItemLoading/styles.scss b/src/components/SurveyItemLoading/styles.scss new file mode 100644 index 0000000..3065864 --- /dev/null +++ b/src/components/SurveyItemLoading/styles.scss @@ -0,0 +1,5 @@ +@import "../../styles/styles.scss"; + +.surveyLoadingItem { + // display: flex; +} diff --git a/src/components/Table/index.spec.tsx b/src/components/Table/index.spec.tsx new file mode 100644 index 0000000..e69de29 diff --git a/src/components/Table/index.stories.tsx b/src/components/Table/index.stories.tsx new file mode 100644 index 0000000..e69de29 diff --git a/src/components/Table/index.tsx b/src/components/Table/index.tsx new file mode 100644 index 0000000..e69de29 diff --git a/src/components/Table/styles.scss b/src/components/Table/styles.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/components/TableHead/__snapshots__/index.spec.tsx.snap b/src/components/TableHead/__snapshots__/index.spec.tsx.snap new file mode 100644 index 0000000..8a880ed --- /dev/null +++ b/src/components/TableHead/__snapshots__/index.spec.tsx.snap @@ -0,0 +1,65 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`TableHead Should match default Snapshot 1`] = ` + +
+
+ + Name + + +
+ + +`; diff --git a/src/components/TableHead/index.spec.tsx b/src/components/TableHead/index.spec.tsx new file mode 100644 index 0000000..5407d48 --- /dev/null +++ b/src/components/TableHead/index.spec.tsx @@ -0,0 +1,26 @@ +import React from 'react'; +import { render } from '@testing-library/react'; +import { SortDirection } from '../SortableHeader'; +import TableHead from '.'; + +jest.mock('../SortableHeader/utils', () => ({ + getID: () => 123 +})) + +describe('TableHead', () => { + it('Should match default Snapshot', () => { + const { asFragment } = render( + {}} + onSort={() => {}} + searchColumn="name" + searchTerm="" + sortColumn="name" + sortDirection={SortDirection.Asc} + /> + ); + + expect(asFragment()).toMatchSnapshot(); + }); +}); diff --git a/src/components/TableHead/index.tsx b/src/components/TableHead/index.tsx new file mode 100644 index 0000000..1759884 --- /dev/null +++ b/src/components/TableHead/index.tsx @@ -0,0 +1,50 @@ +import React from 'react'; +import SortableHeader, { SortDirection, Filter } from '../SortableHeader'; + +type Column = { + dataName: string, + displayName: string, + hidden?: boolean, +}; +interface Props { + columns: Column[], + searchColumn: string, + sortColumn: string, + sortDirection: SortDirection, + searchTerm: string, + + onSearch: (searchTerm: string) => void, + onSort: (newSortDirection: SortDirection, newSortColumn: Filter) => void, +} + +function TableHead(props: Props) { + + return ( + + + {props.columns.map((column) => (column.hidden + ? + + : + + {column.displayName} + + ))} + + + ); +} + +export default TableHead; diff --git a/src/components/TableHead/styles.scss b/src/components/TableHead/styles.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/components/TableTextBody/index.jsx b/src/components/TableTextBody/index.jsx new file mode 100644 index 0000000..ec49a6f --- /dev/null +++ b/src/components/TableTextBody/index.jsx @@ -0,0 +1,24 @@ +import React from 'react'; +import PropTypes from 'prop-types'; + +// Used to wrap string (or other content) in a tbody tags +// For displaying it within a table +// Specify colums to the number of columns of the table +// so it can span the entire content +const TableTextBody = ({ + className, columns, children +}) => ( + + + {children} + + +); + +TableTextBody.propTypes = { + className: PropTypes.string, + columns: PropTypes.number, + children: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), +}; + +export default TableTextBody; From 7c4941d534e956b88f3af2bf6e9b2cfa25f14671 Mon Sep 17 00:00:00 2001 From: momotofu Date: Fri, 25 Jun 2021 18:54:03 +0900 Subject: [PATCH 12/18] First table story --- libs/actions/errors.d.ts | 12 - libs/actions/errors.js | 37 - libs/actions/jwt.d.ts | 6 - libs/actions/jwt.js | 28 - libs/actions/modal.d.ts | 8 - libs/actions/modal.js | 32 - libs/actions/post_message.d.ts | 7 - libs/actions/post_message.js | 26 - libs/api/api.d.ts | 17 - libs/api/api.js | 257 -- libs/api/superagent-mock-config.d.ts | 4031 ----------------- libs/api/superagent-mock-config.js | 175 - libs/communications/communicator.d.ts | 14 - libs/communications/communicator.js | 108 - libs/components/Banner/index.d.ts | 16 - libs/components/Banner/index.js | 51 - libs/components/Banner/styles.css | 36 - libs/components/Button/index.d.ts | 24 - libs/components/Button/index.js | 61 - libs/components/Button/styles.css | 130 - libs/components/Card/index.d.ts | 11 - libs/components/Card/index.js | 35 - libs/components/Card/styles.css | 38 - libs/components/GqlStatus/index.d.ts | 12 - libs/components/GqlStatus/index.js | 40 - libs/components/StoryWrapper/index.d.ts | 1 - libs/components/StoryWrapper/index.js | 27 - libs/components/common/atomicjolt_loader.d.ts | 19 - libs/components/common/atomicjolt_loader.js | 118 - .../common/errors/inline_error.d.ts | 9 - libs/components/common/errors/inline_error.js | 80 - libs/components/common/gql_status.d.ts | 12 - libs/components/common/gql_status.js | 40 - libs/components/common/resize_wrapper.d.ts | 9 - libs/components/common/resize_wrapper.js | 36 - libs/components/settings.d.ts | 3 - libs/components/settings.js | 37 - libs/constants/error.d.ts | 6 - libs/constants/error.js | 12 - libs/constants/network.d.ts | 8 - libs/constants/network.js | 14 - libs/constants/wrapper.d.ts | 2 - libs/constants/wrapper.js | 34 - libs/css-stub.d.ts | 1 - libs/css-stub.js | 3 - libs/decorators/modal.d.ts | 1 - libs/decorators/modal.js | 28 - libs/graphql/atomic_mutation.d.ts | 9 - libs/graphql/atomic_mutation.js | 79 - libs/graphql/atomic_query.d.ts | 19 - libs/graphql/atomic_query.js | 141 - libs/index.d.ts | 26 - libs/index.js | 317 -- libs/libs/lti_roles.d.ts | 2 - libs/libs/lti_roles.js | 19 - libs/libs/resize_iframe.d.ts | 1 - libs/libs/resize_iframe.js | 43 - libs/libs/styles.d.ts | 2 - libs/libs/styles.js | 38 - libs/loaders/jwt.d.ts | 19 - libs/loaders/jwt.js | 108 - libs/middleware/api.d.ts | 3 - libs/middleware/api.js | 67 - libs/middleware/post_message.d.ts | 10 - libs/middleware/post_message.js | 95 - libs/reducers/errors.d.ts | 2 - libs/reducers/errors.js | 61 - libs/reducers/jwt.d.ts | 2 - libs/reducers/jwt.js | 33 - libs/reducers/modal.d.ts | 6 - libs/reducers/modal.js | 38 - libs/reducers/settings.d.ts | 3 - libs/reducers/settings.js | 40 - libs/specs_support/helper.d.ts | 27 - libs/specs_support/helper.js | 195 - libs/specs_support/stub.d.ts | 9 - libs/specs_support/stub.js | 63 - libs/specs_support/utils.d.ts | 5 - libs/specs_support/utils.js | 23 - libs/store/configure_store.d.ts | 1 - libs/store/configure_store.js | 28 - libs/types.d.js | 1 - package.json | 3 + ...x.stories.tsx => index.story-construction} | 2 +- src/components/SortableHeader/index.tsx | 34 +- src/components/SortableHeader/styles.css | 55 + src/components/SurveyItem/styles.css | 37 + src/components/SurveyItemLoading/styles.css | 5 + src/components/Table/index.stories.tsx | 42 + src/components/Table/index.tsx | 58 + src/components/Table/styles.css | 27 + src/components/Table/styles.scss | 36 + src/components/TableHead/index.tsx | 9 +- src/components/TableHead/styles.css | 0 src/components/common/tooltip.jsx | 34 + src/components/common/with-live-messenger.jsx | 9 + yarn.lock | 34 +- 97 files changed, 353 insertions(+), 7279 deletions(-) delete mode 100644 libs/actions/errors.d.ts delete mode 100644 libs/actions/errors.js delete mode 100644 libs/actions/jwt.d.ts delete mode 100644 libs/actions/jwt.js delete mode 100644 libs/actions/modal.d.ts delete mode 100644 libs/actions/modal.js delete mode 100644 libs/actions/post_message.d.ts delete mode 100644 libs/actions/post_message.js delete mode 100644 libs/api/api.d.ts delete mode 100644 libs/api/api.js delete mode 100644 libs/api/superagent-mock-config.d.ts delete mode 100644 libs/api/superagent-mock-config.js delete mode 100644 libs/communications/communicator.d.ts delete mode 100644 libs/communications/communicator.js delete mode 100644 libs/components/Banner/index.d.ts delete mode 100644 libs/components/Banner/index.js delete mode 100644 libs/components/Banner/styles.css delete mode 100644 libs/components/Button/index.d.ts delete mode 100644 libs/components/Button/index.js delete mode 100644 libs/components/Button/styles.css delete mode 100644 libs/components/Card/index.d.ts delete mode 100644 libs/components/Card/index.js delete mode 100644 libs/components/Card/styles.css delete mode 100644 libs/components/GqlStatus/index.d.ts delete mode 100644 libs/components/GqlStatus/index.js delete mode 100644 libs/components/StoryWrapper/index.d.ts delete mode 100644 libs/components/StoryWrapper/index.js delete mode 100644 libs/components/common/atomicjolt_loader.d.ts delete mode 100644 libs/components/common/atomicjolt_loader.js delete mode 100644 libs/components/common/errors/inline_error.d.ts delete mode 100644 libs/components/common/errors/inline_error.js delete mode 100644 libs/components/common/gql_status.d.ts delete mode 100644 libs/components/common/gql_status.js delete mode 100644 libs/components/common/resize_wrapper.d.ts delete mode 100644 libs/components/common/resize_wrapper.js delete mode 100644 libs/components/settings.d.ts delete mode 100644 libs/components/settings.js delete mode 100644 libs/constants/error.d.ts delete mode 100644 libs/constants/error.js delete mode 100644 libs/constants/network.d.ts delete mode 100644 libs/constants/network.js delete mode 100644 libs/constants/wrapper.d.ts delete mode 100644 libs/constants/wrapper.js delete mode 100644 libs/css-stub.d.ts delete mode 100644 libs/css-stub.js delete mode 100644 libs/decorators/modal.d.ts delete mode 100644 libs/decorators/modal.js delete mode 100644 libs/graphql/atomic_mutation.d.ts delete mode 100644 libs/graphql/atomic_mutation.js delete mode 100644 libs/graphql/atomic_query.d.ts delete mode 100644 libs/graphql/atomic_query.js delete mode 100644 libs/index.d.ts delete mode 100644 libs/index.js delete mode 100644 libs/libs/lti_roles.d.ts delete mode 100644 libs/libs/lti_roles.js delete mode 100644 libs/libs/resize_iframe.d.ts delete mode 100644 libs/libs/resize_iframe.js delete mode 100644 libs/libs/styles.d.ts delete mode 100644 libs/libs/styles.js delete mode 100644 libs/loaders/jwt.d.ts delete mode 100644 libs/loaders/jwt.js delete mode 100644 libs/middleware/api.d.ts delete mode 100644 libs/middleware/api.js delete mode 100644 libs/middleware/post_message.d.ts delete mode 100644 libs/middleware/post_message.js delete mode 100644 libs/reducers/errors.d.ts delete mode 100644 libs/reducers/errors.js delete mode 100644 libs/reducers/jwt.d.ts delete mode 100644 libs/reducers/jwt.js delete mode 100644 libs/reducers/modal.d.ts delete mode 100644 libs/reducers/modal.js delete mode 100644 libs/reducers/settings.d.ts delete mode 100644 libs/reducers/settings.js delete mode 100644 libs/specs_support/helper.d.ts delete mode 100644 libs/specs_support/helper.js delete mode 100644 libs/specs_support/stub.d.ts delete mode 100644 libs/specs_support/stub.js delete mode 100644 libs/specs_support/utils.d.ts delete mode 100644 libs/specs_support/utils.js delete mode 100644 libs/store/configure_store.d.ts delete mode 100644 libs/store/configure_store.js delete mode 100644 libs/types.d.js rename src/components/SortableHeader/{index.stories.tsx => index.story-construction} (96%) create mode 100644 src/components/SortableHeader/styles.css create mode 100644 src/components/SurveyItem/styles.css create mode 100644 src/components/SurveyItemLoading/styles.css create mode 100644 src/components/Table/styles.css create mode 100644 src/components/TableHead/styles.css create mode 100644 src/components/common/tooltip.jsx create mode 100644 src/components/common/with-live-messenger.jsx diff --git a/libs/actions/errors.d.ts b/libs/actions/errors.d.ts deleted file mode 100644 index c781a0e..0000000 --- a/libs/actions/errors.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export function clearErrors(): { - type: any; -}; -export function addError(error: any, message: any, context: any): { - type: any; - payload: { - error: any; - message: any; - context: any; - }; -}; -export const Constants: any; diff --git a/libs/actions/errors.js b/libs/actions/errors.js deleted file mode 100644 index 1d5c007..0000000 --- a/libs/actions/errors.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.clearErrors = clearErrors; -exports.addError = addError; -exports.Constants = void 0; - -var _wrapper = _interopRequireDefault(require("../constants/wrapper")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -// Local actions -var actions = ['CLEAR_ERRORS', 'ADD_ERROR']; // Actions that make an api request - -var requests = []; -var Constants = (0, _wrapper["default"])(actions, requests); -exports.Constants = Constants; - -function clearErrors() { - return { - type: Constants.CLEAR_ERRORS - }; -} // Error should be the original error, usually from a network response. - - -function addError(error, message, context) { - return { - type: Constants.ADD_ERROR, - payload: { - error: error, - message: message, - context: context - } - }; -} \ No newline at end of file diff --git a/libs/actions/jwt.d.ts b/libs/actions/jwt.d.ts deleted file mode 100644 index dccb65d..0000000 --- a/libs/actions/jwt.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export function refreshJwt(userId: any): { - type: any; - method: string; - url: string; -}; -export const Constants: any; diff --git a/libs/actions/jwt.js b/libs/actions/jwt.js deleted file mode 100644 index b5977a7..0000000 --- a/libs/actions/jwt.js +++ /dev/null @@ -1,28 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.refreshJwt = refreshJwt; -exports.Constants = void 0; - -var _wrapper = _interopRequireDefault(require("../constants/wrapper")); - -var _network = _interopRequireDefault(require("../constants/network")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -// Local actions -var actions = []; // Actions that make an api request - -var requests = ['REFRESH_JWT']; -var Constants = (0, _wrapper["default"])(actions, requests); -exports.Constants = Constants; - -function refreshJwt(userId) { - return { - type: Constants.REFRESH_JWT, - method: _network["default"].GET, - url: "api/jwts/".concat(userId) - }; -} \ No newline at end of file diff --git a/libs/actions/modal.d.ts b/libs/actions/modal.d.ts deleted file mode 100644 index 2733bb2..0000000 --- a/libs/actions/modal.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export const Constants: any; -export function openModal(modalName: any): { - type: any; - modalName: any; -}; -export function closeModal(): { - type: any; -}; diff --git a/libs/actions/modal.js b/libs/actions/modal.js deleted file mode 100644 index 3256fce..0000000 --- a/libs/actions/modal.js +++ /dev/null @@ -1,32 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.closeModal = exports.openModal = exports.Constants = void 0; - -var _wrapper = _interopRequireDefault(require("../constants/wrapper")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -// Local actions -var actions = ['OPEN_MODAL', 'CLOSE_MODAL']; -var Constants = (0, _wrapper["default"])(actions, []); -exports.Constants = Constants; - -var openModal = function openModal(modalName) { - return { - type: Constants.OPEN_MODAL, - modalName: modalName - }; -}; - -exports.openModal = openModal; - -var closeModal = function closeModal() { - return { - type: Constants.CLOSE_MODAL - }; -}; - -exports.closeModal = closeModal; \ No newline at end of file diff --git a/libs/actions/post_message.d.ts b/libs/actions/post_message.d.ts deleted file mode 100644 index 6fff256..0000000 --- a/libs/actions/post_message.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export const Constants: any; -export function postMessage(message: any, broadcast?: boolean): { - type: any; - postMessage: boolean; - broadcast: boolean; - message: any; -}; diff --git a/libs/actions/post_message.js b/libs/actions/post_message.js deleted file mode 100644 index 53314f9..0000000 --- a/libs/actions/post_message.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.postMessage = exports.Constants = void 0; - -var _wrapper = _interopRequireDefault(require("../constants/wrapper")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -var actions = ['POST_MESSAGE']; -var Constants = (0, _wrapper["default"])(actions, []); -exports.Constants = Constants; - -var postMessage = function postMessage(message) { - var broadcast = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - return { - type: Constants.POST_MESSAGE, - postMessage: true, - broadcast: broadcast, - message: message - }; -}; - -exports.postMessage = postMessage; \ No newline at end of file diff --git a/libs/api/api.d.ts b/libs/api/api.d.ts deleted file mode 100644 index 7b2fd63..0000000 --- a/libs/api/api.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export default class Api { - static get(url: any, apiUrl: any, jwt: any, csrf: any, params: any, headers: any, timeout?: number): any; - static post(url: any, apiUrl: any, jwt: any, csrf: any, params: any, body: any, headers: any, timeout?: number): any; - static put(url: any, apiUrl: any, jwt: any, csrf: any, params: any, body: any, headers: any, timeout?: number): any; - static del(url: any, apiUrl: any, jwt: any, csrf: any, params: any, headers: any, timeout?: number): any; - static execRequest(method: any, url: any, apiUrl: any, jwt: any, csrf: any, params: any, body: any, headers: any, timeout?: number): any; - /** - * Returns a complete, absolute URL by conditionally appending `path` to - * `apiUrl`. If `path` already contains "http", it is returned as-is. - */ - static makeUrl(part: any, apiUrl: any): any; - static doRequest(url: any, requestMethod: any, requestType: any): any; - static wrapRequest(url: any, requestMethod: any, requestType: any): any; - static disposeRequest(url: any): void; - static promisify(request: any): Promise; - static queryStringFrom(params: any): string; -} diff --git a/libs/api/api.js b/libs/api/api.js deleted file mode 100644 index d5232d2..0000000 --- a/libs/api/api.js +++ /dev/null @@ -1,257 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; - -var _lodash = _interopRequireDefault(require("lodash")); - -var _superagent = _interopRequireDefault(require("superagent")); - -var _network = _interopRequireDefault(require("../constants/network")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -var pendingRequests = {}; - -var Api = /*#__PURE__*/function () { - function Api() { - _classCallCheck(this, Api); - } - - _createClass(Api, null, [{ - key: "get", - value: function get(url, apiUrl, jwt, csrf, params, headers) { - var timeout = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : _network["default"].TIMEOUT; - return Api.execRequest(_network["default"].GET, url, apiUrl, jwt, csrf, params, null, headers, timeout); - } - }, { - key: "post", - value: function post(url, apiUrl, jwt, csrf, params, body, headers) { - var timeout = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : _network["default"].TIMEOUT; - return Api.execRequest(_network["default"].POST, url, apiUrl, jwt, csrf, params, body, headers, timeout); - } - }, { - key: "put", - value: function put(url, apiUrl, jwt, csrf, params, body, headers) { - var timeout = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : _network["default"].TIMEOUT; - return Api.execRequest(_network["default"].PUT, url, apiUrl, jwt, csrf, params, body, headers, timeout); - } - }, { - key: "del", - value: function del(url, apiUrl, jwt, csrf, params, headers) { - var timeout = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : _network["default"].TIMEOUT; - return Api.execRequest(_network["default"].DEL, url, apiUrl, jwt, csrf, params, null, headers, timeout); - } - }, { - key: "execRequest", - value: function execRequest(method, url, apiUrl, jwt, csrf, params, body, headers) { - var timeout = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : _network["default"].TIMEOUT; - return Api.doRequest(Api.makeUrl("".concat(url).concat(Api.queryStringFrom(params)), apiUrl), function (fullUrl) { - var request; - - switch (method) { - case _network["default"].GET: - request = _superagent["default"].get(fullUrl); - break; - - case _network["default"].POST: - request = _superagent["default"].post(fullUrl).send(body); - break; - - case _network["default"].PUT: - request = _superagent["default"].put(fullUrl).send(body); - break; - - case _network["default"].DEL: - if (_lodash["default"].isEmpty(body)) { - request = _superagent["default"].del(fullUrl); - } else { - request = _superagent["default"].del(fullUrl).send(body); - } - - break; - - default: - break; - } - - request.set('Accept', 'application/json'); - request.timeout(timeout); - - if (!_lodash["default"].isNil(jwt)) { - request.set('Authorization', "Bearer ".concat(jwt)); - } - - if (!_lodash["default"].isNil(csrf)) { - request.set('X-CSRF-Token', csrf); - } - - if (!_lodash["default"].isNil(headers)) { - _lodash["default"].each(headers, function (headerValue, headerKey) { - request.set(headerKey, headerValue); - }); - } - - return request; - }, method); - } - /** - * Returns a complete, absolute URL by conditionally appending `path` to - * `apiUrl`. If `path` already contains "http", it is returned as-is. - */ - - }, { - key: "makeUrl", - value: function makeUrl(part, apiUrl) { - if (_lodash["default"].startsWith(part, 'http')) { - return part; - } - - var slash = _lodash["default"].last(apiUrl.split('')) === '/' ? '' : '/'; - var newPart = part; - - if (part[0] === '/') { - newPart = part.slice(1); - } - - return apiUrl + slash + newPart; - } - }, { - key: "doRequest", - value: function doRequest(url, requestMethod, requestType) { - // Prevent duplicate requests - var wrapper = Api.wrapRequest(url, requestMethod, requestType); - - if (wrapper.promise) { - // Existing request was found. Return promise from request - return wrapper.promise; - } // No request was found. Generate a promise, add it to the wrapper and return the promise. - - - wrapper.promise = Api.promisify(wrapper.request, url); // Dispose of the request when the call is complete - - wrapper.promise.then(function () { - Api.disposeRequest(url); - }, function () { - Api.disposeRequest(url); - }); - return wrapper.promise; - } - }, { - key: "wrapRequest", - value: function wrapRequest(url, requestMethod, requestType) { - if (requestType === _network["default"].GET) { - if (!pendingRequests[url]) { - pendingRequests[url] = { - request: requestMethod(url) - }; - } - - return pendingRequests[url]; - } - - return { - request: requestMethod(url) - }; - } - }, { - key: "disposeRequest", - value: function disposeRequest(url) { - delete pendingRequests[url]; - } - }, { - key: "promisify", - value: function promisify(request) { - return new Promise(function (resolve, reject) { - request.end(function (error, res) { - if (error) { - reject(error); - } else { - resolve(res); - } - }); - }); - } - }, { - key: "queryStringFrom", - value: function queryStringFrom(params) { - var query = _lodash["default"].chain(params).map(function (val, key) { - if (val) { - if (_lodash["default"].isArray(val)) { - return _lodash["default"].map(val, function (subVal) { - return "".concat(key, "[]=").concat(subVal); - }).join('&'); - } - - return "".concat(key, "=").concat(val); - } - - return ''; - }).compact().value(); - - if (query.length > 0) { - return "?".concat(query.join('&')); - } - - return ''; - } - }]); - - return Api; -}(); // function *doCacheRequest(url, key, requestMethod, requestType){ -// var promise; -// var fullUrl = Api.makeUrl(url); -// if (_cache[fullUrl]) { -// setTimeout(() => { -// dispatchResponse(key)(null, _cache[fullUrl]); -// }, 1); -// promise = new Promise((resolve, reject) => { -// resolve(_cache[fullUrl]); -// }); -// yield promise; -// }; -// var wrapper = Api._wrapRequest(url, requestMethod, requestType); -// if(wrapper.promise){ -// yield wrapper.promise; -// } else { -// promise = Api.promisify(wrapper.request); -// wrapper.promise = promise; -// promise.then((result) => { -// Api.disposeRequest(url); -// dispatchResponse(key)(null, result); -// _cache[fullUrl] = result; -// _cache[fullUrl].isCached = true; -// return result; -// }, (err) => { -// dispatchResponse(key)(err, err.response); -// }); -// yield promise; -// } -// } -// async cacheGet(url, jwt, csrf, params, key, store, refresh){ -// url = `${url}${Api.queryStringFrom(params)}`; -// var request = doCacheRequest(url, jwt, csrf, key, (fullUrl, jwt, csrt) => { -// return get(fullUrl); -// }, GET); -// if (key) { -// // We have a key. Invoke the generate to get data and dispatch. -// var response = request.next(); -// while (refresh && !response.done){ -// response = request.next(); -// } -// } else { -// // Return the generator and let the calling code invoke it. -// return request; -// } -// } - - -exports["default"] = Api; \ No newline at end of file diff --git a/libs/api/superagent-mock-config.d.ts b/libs/api/superagent-mock-config.d.ts deleted file mode 100644 index 12bb671..0000000 --- a/libs/api/superagent-mock-config.d.ts +++ /dev/null @@ -1,4031 +0,0 @@ -declare const _exports: { - [n: number]: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }; - length: number; - toString(): string; - toLocaleString(): string; - pop(): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - } | undefined; - push(...items: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]): number; - concat(...items: ConcatArray<{ - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }>[]): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]; - concat(...items: ({ - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - } | ConcatArray<{ - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }>)[]): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]; - join(separator?: string | undefined): string; - reverse(): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]; - shift(): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - } | undefined; - slice(start?: number | undefined, end?: number | undefined): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]; - sort(compareFn?: ((a: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, b: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }) => number) | undefined): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]; - splice(start: number, deleteCount?: number | undefined): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]; - splice(start: number, deleteCount: number, ...items: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]; - unshift(...items: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]): number; - indexOf(searchElement: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, fromIndex?: number | undefined): number; - lastIndexOf(searchElement: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, fromIndex?: number | undefined): number; - every(predicate: (value: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, index: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => value is S, thisArg?: any): this is S[]; - every(predicate: (value: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, index: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => unknown, thisArg?: any): boolean; - some(predicate: (value: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, index: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => unknown, thisArg?: any): boolean; - forEach(callbackfn: (value: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, index: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => void, thisArg?: any): void; - map(callbackfn: (value: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, index: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => U, thisArg?: any): U[]; - filter(predicate: (value: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, index: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => value is S_1, thisArg?: any): S_1[]; - filter(predicate: (value: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, index: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => unknown, thisArg?: any): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]; - reduce(callbackfn: (previousValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, currentValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, currentIndex: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }; - reduce(callbackfn: (previousValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, currentValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, currentIndex: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, initialValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }; - reduce(callbackfn: (previousValue: U_1, currentValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, currentIndex: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => U_1, initialValue: U_1): U_1; - reduceRight(callbackfn: (previousValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, currentValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, currentIndex: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }; - reduceRight(callbackfn: (previousValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, currentValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, currentIndex: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, initialValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }; - reduceRight(callbackfn: (previousValue: U_2, currentValue: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, currentIndex: number, array: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => U_2, initialValue: U_2): U_2; - find(predicate: (this: void, value: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, index: number, obj: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => value is S_2, thisArg?: any): S_2 | undefined; - find(predicate: (value: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, index: number, obj: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => unknown, thisArg?: any): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - } | undefined; - findIndex(predicate: (value: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, index: number, obj: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]) => unknown, thisArg?: any): number; - fill(value: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, start?: number | undefined, end?: number | undefined): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]; - copyWithin(target: number, start: number, end?: number | undefined): { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }[]; - entries(): IterableIterator<[number, { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }]>; - keys(): IterableIterator; - values(): IterableIterator<{ - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }>; - includes(searchElement: { - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }, fromIndex?: number | undefined): boolean; - [Symbol.iterator](): IterableIterator<{ - /** - * regular expression of URL - */ - pattern: string; - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures(match: any, params: any, headers: any, context: any): string | { - status: number; - contentType: string; - statusText: string; - responseText: string; - } | { - status: number; - statusText: string; - contentType?: undefined; - responseText?: undefined; - } | null; - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get(match: any, data: any): { - body: any; - }; - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post(match: any, data: any): { - code: number; - body: any; - }; - put(match: any, data: any): { - code: number; - body: any; - }; - delete(match: any, data: any): { - code: number; - body: any; - }; - }>; - [Symbol.unscopables](): { - copyWithin: boolean; - entries: boolean; - fill: boolean; - find: boolean; - findIndex: boolean; - keys: boolean; - values: boolean; - }; -}; -export = _exports; diff --git a/libs/api/superagent-mock-config.js b/libs/api/superagent-mock-config.js deleted file mode 100644 index a865901..0000000 --- a/libs/api/superagent-mock-config.js +++ /dev/null @@ -1,175 +0,0 @@ -"use strict"; - -// ./superagent-mock-config.js file -module.exports = [{ - /** - * regular expression of URL - */ - pattern: 'http://www.example.com(.*)', - - /** - * returns the data - * - * @param match array Result of the resolution of the regular expression - * @param params object sent by 'send' function - * @param headers object set by 'set' function - * @param context object the context of running the fixtures function - */ - fixtures: function fixtures(match, params, headers, context) { - /** - * Returning error codes example: - * request.get('https://domain.example/404').end(function(err, res){ - * console.log(err); // 404 - * console.log(res.notFound); // true - * }) - */ - if (match[1] === '/404') { - throw new Error(404); - } - /** - * Checking on parameters example: - * request.get('https://domain.example/hero').send({superhero: "superman"}).end(function(err, res){ - * console.log(res.body); // "Your hero: superman" - * }) - */ - - - if (match[1] === '/hero') { - if (params.superhero) { - return "Your hero:".concat(params.superhero); - } - - return 'You didnt choose a hero'; - } - /** - * Checking on headers example: - * request.get('https://domain.example/authorized_endpoint').set({Authorization: "9382hfih1834h"}).end(function(err, res){ - * console.log(res.body); // "Authenticated!" - * }) - */ - - - if (match[1] === '/api/test/12') { - if (headers.Authorization && headers['X-CSRF-Token']) { - return { - status: 200, - contentType: 'application/json', - statusText: 'OK', - responseText: JSON.stringify([{ - id: 1, - name: 'Starter App' - }]) - }; - } - - return { - status: 401, - statusText: 'Unauthorized' - }; - } - /** - * Cancelling the mocking for a specific matched route example: - * request.get('https://domain.example/server_test').end(function(err, res){ - * console.log(res.body); // (whatever the actual server would have returned) - * }) - */ - - - if (match[1] === '/api/test/full') { - return { - status: 200, - contentType: 'application/json', - statusText: 'OK', - responseText: JSON.stringify([{ - id: 1, - name: 'Starter App' - }]) - }; - } - /** - * Delaying the response with a specific number of milliseconds: - * request.get('https://domain.example/delay_test').end(function(err, res){ - * console.log(res.body); // This log will be written after the delay time has passed - * }) - */ - - - if (match[1] === '/delay_test') { - context.delay = 3000; // This will delay the response by 3 seconds - - return 'zzZ'; - } - /** - * Mocking progress events: - * request.get('https://domain.example/progress_test') - * .on('progress', function (e) { console.log(e.percent + '%'); }) - * .end(function(err, res){ - * console.log(res.body); // This log will be written after all progress events emitted - * }) - */ - - - if (match[1] === '/progress_test') { - context.progress = { - parts: 3, - // The number of progress events to emit one after the other with - // linear progress - // (Meaning, loaded will be [total/parts]) - delay: 1000, - // [optional] The delay of emitting each of the progress events - // by ms - // (default is 0 unless context.delay specified, then it's - // [delay/parts]) - total: 100, - // [optional] The total as it will appear in the progress - // event (default is 100) - lengthComputable: true, - // [optional] The same as it will appear in the progress - // event (default is true) - direction: 'upload' // [optional] superagent adds 'download'/'upload' direction - // to the event (default is 'upload') - - }; - return 'Hundred percent!'; - } - - return null; - }, - - /** - * returns the result of the GET request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - get: function get(match, data) { - return { - body: data - }; - }, - - /** - * returns the result of the POST request - * - * @param match array Result of the resolution of the regular expression - * @param data mixed Data returns by `fixtures` attribute - */ - post: function post(match, data) { - return { - code: 201, - body: data - }; - }, - put: function put(match, data) { - return { - code: 202, - body: data - }; - }, - "delete": function _delete(match, data) { - return { - code: 204, - body: data - }; - } -}]; \ No newline at end of file diff --git a/libs/communications/communicator.d.ts b/libs/communications/communicator.d.ts deleted file mode 100644 index 7f06f03..0000000 --- a/libs/communications/communicator.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -export function postMessage(payload: any, domain?: string): void; -export function broadcastRawMessage(payload: any, domain?: string): void; -export function broadcastMessage(payload: any, domain?: string): void; -export default class Communicator { - static parseMessageFromEvent(e: any): any; - constructor(domain?: string); - domain: string; - enableListener(handler: any): void; - messageEvent: string | undefined; - handleCommFunc: ((e: any) => any) | undefined; - removeListener(): void; - comm(payload: any): void; - broadcast(payload: any): void; -} diff --git a/libs/communications/communicator.js b/libs/communications/communicator.js deleted file mode 100644 index 3580ff4..0000000 --- a/libs/communications/communicator.js +++ /dev/null @@ -1,108 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.postMessage = postMessage; -exports.broadcastRawMessage = broadcastRawMessage; -exports.broadcastMessage = broadcastMessage; -exports["default"] = void 0; - -var _lodash = _interopRequireDefault(require("lodash")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -// Just post to the parent -function postMessage(payload) { - var domain = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '*'; - parent.postMessage(JSON.stringify(payload), domain); -} // Post a payload without changing it up the entire chain of parent windows. - - -function broadcastRawMessage(payload) { - var domain = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '*'; - var parents = new Set(); - var p = parent; - - while (!parents.has(p)) { - p.postMessage(payload, domain); - parents.add(p); - p = p.parent; - } -} // Post up the entire chain of parent windows. - - -function broadcastMessage(payload) { - var domain = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '*'; - broadcastRawMessage(JSON.stringify(payload), domain); -} - -var Communicator = /*#__PURE__*/function () { - function Communicator() { - var domain = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '*'; - - _classCallCheck(this, Communicator); - - this.domain = domain; - } - - _createClass(Communicator, [{ - key: "enableListener", - value: function enableListener(handler) { - // Create IE + others compatible event handler - var eventMethod = window.addEventListener ? 'addEventListener' : 'attachEvent'; - var eventer = window[eventMethod]; - this.messageEvent = eventMethod === 'attachEvent' ? 'onmessage' : 'message'; // Listen to message from child window - - this.handleCommFunc = function (e) { - return handler.handleComm(e); - }; - - eventer(this.messageEvent, this.handleCommFunc, false); - } - }, { - key: "removeListener", - value: function removeListener() { - // Create IE + others compatible event handler - var eventMethod = window.removeEventListener ? 'removeEventListener' : 'detachEvent'; - var eventer = window[eventMethod]; - eventer(this.messageEvent, this.handleCommFunc, false); - } - }, { - key: "comm", - value: function comm(payload) { - postMessage(payload, this.domain); - } - }, { - key: "broadcast", - value: function broadcast(payload) { - broadcastMessage(payload, this.domain); - } - }], [{ - key: "parseMessageFromEvent", - value: function parseMessageFromEvent(e) { - var message = e.data; - - if (_lodash["default"].isString(e.data)) { - try { - message = JSON.parse(e.data); - } catch (ex) { - // We can't parse the data as JSON just send it through as a string - message = e.data; - } - } - - return message; - } - }]); - - return Communicator; -}(); - -exports["default"] = Communicator; \ No newline at end of file diff --git a/libs/components/Banner/index.d.ts b/libs/components/Banner/index.d.ts deleted file mode 100644 index a348d99..0000000 --- a/libs/components/Banner/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -export function Banner(props: any): JSX.Element; -export namespace Banner { - namespace propTypes { - const heading: PropTypes.Requireable; - const message: PropTypes.Validator; - const type: PropTypes.Requireable; - const icon: PropTypes.Requireable; - const overrideClass: PropTypes.Requireable; - } -} -export const BannerTypes: Readonly<{ - ERROR: string; - RELIEF: string; - WARNING: string; -}>; -import PropTypes from "prop-types"; diff --git a/libs/components/Banner/index.js b/libs/components/Banner/index.js deleted file mode 100644 index e1789f2..0000000 --- a/libs/components/Banner/index.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.Banner = Banner; -exports.BannerTypes = void 0; - -var _react = _interopRequireDefault(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _classnames = _interopRequireDefault(require("classnames")); - -require("./styles.css"); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var BannerTypes = Object.freeze({ - ERROR: 'error', - RELIEF: 'relief', - WARNING: 'warning' -}); -exports.BannerTypes = BannerTypes; - -function Banner(props) { - var heading = props.heading, - message = props.message, - type = props.type, - icon = props.icon, - overrideClass = props.overrideClass; - var baseClass = Boolean(overrideClass) ? overrideClass : 'Banner'; - return /*#__PURE__*/_react["default"].createElement("div", { - className: (0, _classnames["default"])("".concat(baseClass), _defineProperty({}, "".concat(baseClass, "--").concat(type), Boolean(type))) - }, !!icon && /*#__PURE__*/_react["default"].createElement("i", { - className: "material-icons" - }, icon), !!heading && /*#__PURE__*/_react["default"].createElement("h3", null, heading), /*#__PURE__*/_react["default"].createElement("div", { - className: "".concat(baseClass, "__content"), - "data-testid": "msg" - }, message)); -} - -Banner.propTypes = { - heading: _propTypes["default"].string, - message: _propTypes["default"].string.isRequired, - type: _propTypes["default"].string, - icon: _propTypes["default"].string, - overrideClass: _propTypes["default"].string -}; \ No newline at end of file diff --git a/libs/components/Banner/styles.css b/libs/components/Banner/styles.css deleted file mode 100644 index 90765ba..0000000 --- a/libs/components/Banner/styles.css +++ /dev/null @@ -1,36 +0,0 @@ -.Banner { - background: gray; - display: -webkit-box; - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -webkit-align-items: center; - align-items: center; - min-height: 4rem; - padding: 0.8rem 1.2rem; - border-radius: 0.3rem; - margin: 20px 0; } - .Banner > i { - font-size: 2.4rem; - color: #fff; - margin-right: 1.2rem; } - .Banner h3 { - color: #fff; - font-size: 1.4rem; - font-family: 'Lato', sans-serif; - font-weight: 700; - margin: 0; - margin-right: .5rem; } - .Banner__content { - color: #fff; - font-family: 'Lato', sans-serif; - font-weight: normal; - font-size: 1.4rem; } - .Banner__content span { - margin-right: 0.8rem; } - .Banner--error { - background: #f00; } - .Banner--warning { - background: #ff8300; } - .Banner--relief { - background: #1ea7fd; } diff --git a/libs/components/Button/index.d.ts b/libs/components/Button/index.d.ts deleted file mode 100644 index 1330545..0000000 --- a/libs/components/Button/index.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import React from 'react'; -import './styles.css'; -export interface Props { - ariaOptions?: Object; - buttonType?: ButtonType; - children: React.ReactNode; - classes?: string; - color?: string; - disabled?: boolean; - noBold?: boolean; - submit?: boolean; - rest?: Object; - onClick?: (event: React.MouseEvent) => void; -} -export declare enum ButtonType { - primary = "primary", - secondary = "secondary", - large = "large", - primaryLarge = "primary-large", - small = "small", - gray = "gray", - icon = "icon" -} -export declare const Button: React.ForwardRefExoticComponent>; diff --git a/libs/components/Button/index.js b/libs/components/Button/index.js deleted file mode 100644 index 8119b63..0000000 --- a/libs/components/Button/index.js +++ /dev/null @@ -1,61 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.Button = exports.ButtonType = void 0; - -var _react = _interopRequireDefault(require("react")); - -var _classnames = _interopRequireDefault(require("classnames")); - -require("./styles.css"); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var ButtonType; -exports.ButtonType = ButtonType; - -(function (ButtonType) { - ButtonType["primary"] = "primary"; - ButtonType["secondary"] = "secondary"; - ButtonType["large"] = "large"; - ButtonType["primaryLarge"] = "primary-large"; - ButtonType["small"] = "small"; - ButtonType["gray"] = "gray"; - ButtonType["icon"] = "icon"; -})(ButtonType || (exports.ButtonType = ButtonType = {})); - -var Button = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) { - var _cn; - - var _props$ariaOptions = props.ariaOptions, - ariaOptions = _props$ariaOptions === void 0 ? {} : _props$ariaOptions, - children = props.children, - classes = props.classes, - color = props.color, - _props$disabled = props.disabled, - disabled = _props$disabled === void 0 ? false : _props$disabled, - _props$submit = props.submit, - submit = _props$submit === void 0 ? false : _props$submit, - noBold = props.noBold, - rest = props.rest, - _props$onClick = props.onClick, - onClick = _props$onClick === void 0 ? function () {} : _props$onClick; - var buttonType = disabled ? ButtonType.gray : props.buttonType; - var className = (0, _classnames["default"])('aj-btn', (_cn = {}, _defineProperty(_cn, "aj-btn--".concat(color), color), _defineProperty(_cn, "aj-btn--".concat(buttonType), buttonType), _defineProperty(_cn, 'aj-btn--no-bold', noBold), _defineProperty(_cn, classes, classes), _cn)); - return /*#__PURE__*/_react["default"].createElement("button", _extends({ - ref: ref, - type: submit ? 'submit' : 'button', - className: className, - disabled: disabled - }, ariaOptions, rest, { - onClick: onClick - }), children); -}); - -exports.Button = Button; \ No newline at end of file diff --git a/libs/components/Button/styles.css b/libs/components/Button/styles.css deleted file mode 100644 index 9594e7b..0000000 --- a/libs/components/Button/styles.css +++ /dev/null @@ -1,130 +0,0 @@ -@keyframes spinner { - 0% { - transform: rotate(0deg); } - 100% { - transform: rotate(360deg); } } - -.aj-btn, -a.aj-btn { - display: inline-block; - height: 3rem; - padding: 0 1rem; - background: #f5f5f5; - border: 0.1rem solid #bbbbbb; - border-radius: 3px; - cursor: pointer; - white-space: nowrap; - position: relative; } - .aj-btn *, - a.aj-btn * { - vertical-align: top; } - .aj-btn.is-loading, - a.aj-btn.is-loading { - pointer-events: none; - position: relative; - padding-left: 3.2rem; } - .aj-btn.is-loading:before, - a.aj-btn.is-loading:before { - content: ""; - position: absolute; - left: 0.8rem; - top: 0.6rem; - width: 1.2rem; - height: 1.2rem; - border-radius: 50%; - border: 0.2rem solid #333333; - border-top: 0.2rem solid transparent; - animation: spinner 0.8s linear infinite; } - .aj-btn.has-icon, - a.aj-btn.has-icon { - position: relative; - padding-left: 3rem; } - .aj-btn.has-icon i, - a.aj-btn.has-icon i { - position: absolute; - left: 0.6rem; - top: 50%; - transform: translateY(-50%); - font-size: 1.8rem; - color: #595959; } - .aj-btn--dropdown, - a.aj-btn--dropdown { - padding-right: 3rem; } - .aj-btn--no-bold, - a.aj-btn--no-bold { - font-weight: 400 !important; } - .aj-btn--icon, - .aj-btn a.aj-btn--icon, - a.aj-btn--icon, - a.aj-btn a.aj-btn--icon { - background-color: #ffffff; - border: none; - width: 3rem; - height: 3rem; - padding: 0; - display: flex; - align-items: center; - justify-content: center; - transition: box-shadow 0.1s ease; - position: relative; } - .aj-btn--icon i, - .aj-btn a.aj-btn--icon i, - a.aj-btn--icon i, - a.aj-btn a.aj-btn--icon i { - color: #595959; - font-size: 1.8rem; - line-height: 1; - transition: all 0.1s ease; } - .aj-btn--icon:hover, - .aj-btn a.aj-btn--icon:hover, - a.aj-btn--icon:hover, - a.aj-btn a.aj-btn--icon:hover { - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); - background-color: #f5f5f5; - z-index: 2; } - .aj-btn--icon:hover i, - .aj-btn a.aj-btn--icon:hover i, - a.aj-btn--icon:hover i, - a.aj-btn a.aj-btn--icon:hover i { - color: #333333; } - .aj-btn--icon.has-error::after, - .aj-btn a.aj-btn--icon.has-error::after, - a.aj-btn--icon.has-error::after, - a.aj-btn a.aj-btn--icon.has-error::after { - content: ""; - position: absolute; - top: 0.5rem; - right: 0.3rem; - width: 0.8rem; - height: 0.8rem; - background: #C83232; - border: 0.1rem solid #ffffff; - border-radius: 50%; } - .aj-btn--icon-lg i, - .aj-btn--icon a.aj-btn--icon-lg i, - .aj-btn a.aj-btn--icon-lg i, - .aj-btn a.aj-btn--icon a.aj-btn--icon-lg i, - a.aj-btn--icon-lg i, - a.aj-btn--icon a.aj-btn--icon-lg i, - a.aj-btn a.aj-btn--icon-lg i, - a.aj-btn a.aj-btn--icon a.aj-btn--icon-lg i { - font-size: 2.4rem; } - .aj-btn--primary, - a.aj-btn--primary { - font-weight: bold; - color: white; - font-size: 14px; - padding: 12px 16px; - border-radius: 5px; - border: none; - line-height: 17px; - background-color: #3068C1; - letter-spacing: 0px; - height: 41px; } - .aj-btn--secondary, - a.aj-btn--secondary { - color: #343434; - font-size: 14px; - border-radius: 5px; - height: 41px; - border: 1px solid #CCCCCC; } diff --git a/libs/components/Card/index.d.ts b/libs/components/Card/index.d.ts deleted file mode 100644 index f7d8c47..0000000 --- a/libs/components/Card/index.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import './styles.css'; -export interface Props { - classOverride?: string; - classes?: string; - title: string; - subtitle?: string; - blank?: boolean; - children?: React.ReactNode; -} -export default function Card(props: Props): JSX.Element; diff --git a/libs/components/Card/index.js b/libs/components/Card/index.js deleted file mode 100644 index 0d00286..0000000 --- a/libs/components/Card/index.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = Card; - -var _react = _interopRequireDefault(require("react")); - -var _classnames = _interopRequireDefault(require("classnames")); - -require("./styles.css"); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function Card(props) { - var classOverride = props.classOverride, - classes = props.classes, - title = props.title, - subtitle = props.subtitle, - blank = props.blank, - children = props.children; - var baseClass = classOverride || 'aj-card'; - return /*#__PURE__*/_react["default"].createElement("div", { - className: (0, _classnames["default"])(baseClass, classes) - }, !blank && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", { - className: "".concat(baseClass, "__heading") - }, /*#__PURE__*/_react["default"].createElement("h1", { - className: "".concat(baseClass, "__heading-title") - }, title), /*#__PURE__*/_react["default"].createElement("h2", { - className: "".concat(baseClass, "__heading-subtitle") - }, subtitle)), /*#__PURE__*/_react["default"].createElement("section", { - className: "".concat(baseClass, "__content") - }, children)), blank && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, children)); -} \ No newline at end of file diff --git a/libs/components/Card/styles.css b/libs/components/Card/styles.css deleted file mode 100644 index 1c8953e..0000000 --- a/libs/components/Card/styles.css +++ /dev/null @@ -1,38 +0,0 @@ -.aj-card { - border-radius: 5px; - box-shadow: 0px 5px 11px -3px rgba(0, 0, 0, 0.36); - -webkit-box-shadow: 0px 5px 11px -3px rgba(0, 0, 0, 0.36); - padding: 1.5rem 2rem; - max-width: 420px; - font-family: Lato, sans-serif; - box-sizing: border-box; - border: 1px solid rgba(0, 0, 0, 0.036); } - .aj-card__heading { - display: flex; - flex-direction: column; - align-items: baseline; - justify-content: space-between; - padding-bottom: 0.25rem; } - .aj-card__heading > h1, - .aj-card__heading > h2 { - padding: 0; - margin: 0; } - .aj-card__heading-title { - font-size: 1.25rem; } - .aj-card__heading-subtitle { - font-size: 1rem; - opacity: 0.5; - font-weight: 400; } - .aj-card__content { - font-size: 1rem; - line-height: 1.5rem; - padding: 0; - padding-top: 1rem; - display: flex; - justify-content: flex-start; - flex-direction: column; - align-items: flex-end; } - .aj-card__content > p { - margin-top: 0; } - .aj-card__content > p:last-of-type { - margin-bottom: 1.75rem; } diff --git a/libs/components/GqlStatus/index.d.ts b/libs/components/GqlStatus/index.d.ts deleted file mode 100644 index 686d59f..0000000 --- a/libs/components/GqlStatus/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare function GqlStatus(props: any): JSX.Element | null; -declare namespace GqlStatus { - namespace propTypes { - const loading: PropTypes.Requireable; - const error: PropTypes.Requireable; - }>>; - const loadMessage: PropTypes.Requireable; - } -} -export default GqlStatus; -import PropTypes from "prop-types"; diff --git a/libs/components/GqlStatus/index.js b/libs/components/GqlStatus/index.js deleted file mode 100644 index 9649191..0000000 --- a/libs/components/GqlStatus/index.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = GqlStatus; - -var _react = _interopRequireDefault(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _atomicjolt_loader = _interopRequireDefault(require("../common/atomicjolt_loader")); - -var _inline_error = _interopRequireDefault(require("../common/errors/inline_error")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function GqlStatus(props) { - if (props.loading) { - return /*#__PURE__*/_react["default"].createElement(_atomicjolt_loader["default"], { - message: props.loadMessage - }); - } - - if (props.error) { - return /*#__PURE__*/_react["default"].createElement(_inline_error["default"], { - error: props.error.message - }); - } - - return null; -} - -GqlStatus.propTypes = { - loading: _propTypes["default"].bool, - error: _propTypes["default"].shape({ - message: _propTypes["default"].string - }), - loadMessage: _propTypes["default"].string -}; \ No newline at end of file diff --git a/libs/components/StoryWrapper/index.d.ts b/libs/components/StoryWrapper/index.d.ts deleted file mode 100644 index 4141151..0000000 --- a/libs/components/StoryWrapper/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export default function StoryWrapper(props: any): JSX.Element; diff --git a/libs/components/StoryWrapper/index.js b/libs/components/StoryWrapper/index.js deleted file mode 100644 index 54a24ba..0000000 --- a/libs/components/StoryWrapper/index.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = StoryWrapper; - -var _react = _interopRequireDefault(require("react")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function StoryWrapper(props) { - var children = props.children; - return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("link", { - rel: "preconnect", - href: "https://fonts.gstatic.com" - }), /*#__PURE__*/_react["default"].createElement("link", { - href: "https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap", - rel: "stylesheet" - }), /*#__PURE__*/_react["default"].createElement("link", { - href: "https://fonts.googleapis.com/icon?family=Material+Icons", - rel: "stylesheet" - }), /*#__PURE__*/_react["default"].createElement("link", { - href: "https://fonts.googleapis.com/icon?family=Material+Icons+Outlined", - rel: "stylesheet" - })), /*#__PURE__*/_react["default"].createElement("div", null, children)); -} \ No newline at end of file diff --git a/libs/components/common/atomicjolt_loader.d.ts b/libs/components/common/atomicjolt_loader.d.ts deleted file mode 100644 index d935422..0000000 --- a/libs/components/common/atomicjolt_loader.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export class Loader extends React.PureComponent { - static propTypes: { - message: PropTypes.Requireable; - logoColor: PropTypes.Requireable; - backgroundColor1: PropTypes.Requireable; - backgroundColor2: PropTypes.Requireable; - aj_loader: PropTypes.Requireable; - backgroundColor1: PropTypes.Requireable; - backgroundColor2: PropTypes.Requireable; - }>>; - }; - constructor(props: any); - constructor(props: any, context: any); -} -declare var _default: (props: any) => JSX.Element; -export default _default; -import React from "react"; -import PropTypes from "prop-types"; diff --git a/libs/components/common/atomicjolt_loader.js b/libs/components/common/atomicjolt_loader.js deleted file mode 100644 index 8e9237b..0000000 --- a/libs/components/common/atomicjolt_loader.js +++ /dev/null @@ -1,118 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = exports.Loader = void 0; - -var _react = _interopRequireDefault(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _styles = _interopRequireDefault(require("../../libs/styles")); - -var _settings = require("../settings"); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } - -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } - -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } - -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -function renderStyles() { - var logoColor = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '#444'; - var backgroundColor1 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '#FFEA00'; - var backgroundColor2 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '#FFFF56'; - (0, _styles["default"])(".aj-loader{\n position: relative;\n padding: 48px 0;\n }"); - (0, _styles["default"])(".atomicjolt-loading-animation {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n margin: 0 auto;\n width: 72px;\n height: 72px;\n border-radius: 50%;\n background-image: linear-gradient(to top right, ".concat(backgroundColor1, ", ").concat(backgroundColor2, ");\n box-shadow: -2px 3px 6px rgba(0,0,0,0.25);\n }")); - (0, _styles["default"])(".atomicjolt-loading-animation svg {\n width: 38px;\n position: relative;\n left: -2px;\n top: -1px;\n }"); - (0, _styles["default"])(".atomicjolt-loading-animation svg polygon, .atomicjolt-loading-animation svg polyline {\n fill: none;\n stroke: ".concat(logoColor, ";\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 8px;\n }")); - (0, _styles["default"])(".atomicjolt-loading-animation svg .cls-1 {\n stroke-dasharray: 0 250;\n animation: line1 1.5s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);\n }"); - (0, _styles["default"])(".atomicjolt-loading-animation svg .cls-2 {\n stroke-dasharray: 0 270;\n animation: line2 1.5s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);\n }"); - (0, _styles["default"])("@keyframes line1 {\n 0% {\n stroke-dasharray: 0 250;\n }\n 40% {\n stroke-dasharray: 250 250;\n }\n 60% {\n stroke-dasharray: 250 250;\n }\n 100% {\n stroke-dasharray: 0 250;\n }\n }"); - (0, _styles["default"])("@keyframes line2 {\n 0% {\n stroke-dasharray: 0 270;\n }\n 40% {\n stroke-dasharray: 270 270;\n }\n 60% {\n stroke-dasharray: 270 270;\n }\n 100% {\n stroke-dasharray: 0 270;\n }\n }"); - (0, _styles["default"])(".loader-text{\n font-size: 24px;\n font-family: 'Lato', Arial, Helvetica, sans-serif;\n font-weight: 500;\n color: #222;\n text-align: center;\n padding-top: 48px;\n margin: 0;\n }"); -} - -var Loader = /*#__PURE__*/function (_React$PureComponent) { - _inherits(Loader, _React$PureComponent); - - var _super = _createSuper(Loader); - - function Loader() { - _classCallCheck(this, Loader); - - return _super.apply(this, arguments); - } - - _createClass(Loader, [{ - key: "render", - value: function render() { - var ajLoader = 'aj_loader' in this.props.settings ? this.props.settings.aj_loader : null; - var logoColor = ajLoader || this.props.logoColor || '#444'; - var backgroundColor1 = ajLoader && ajLoader.backgroundColor1 || this.props.backgroundColor1 || '#FFEA00'; - var backgroundColor2 = ajLoader && ajLoader.backgroundColor2 || this.props.backgroundColor2 || '#FFFF56'; - renderStyles(logoColor, backgroundColor1, backgroundColor2); - return /*#__PURE__*/_react["default"].createElement("div", { - className: "aj-loader" - }, /*#__PURE__*/_react["default"].createElement("div", { - className: "atomicjolt-loading-animation" - }, /*#__PURE__*/_react["default"].createElement("svg", { - xmlns: "http://www.w3.org/2000/svg", - viewBox: "0 0 91.87 114.09", - role: "img", - "aria-label": "loading" - }, /*#__PURE__*/_react["default"].createElement("g", { - "data-name": "Layer 2" - }, /*#__PURE__*/_react["default"].createElement("polygon", { - className: "cls-1", - points: "40.45 111.32 89.11 99.26 71.35 19.9 21.1 89.71 40.45 111.32" - }), /*#__PURE__*/_react["default"].createElement("polyline", { - className: "cls-2", - points: "50.67 2.77 2.77 69.96 25.47 94.65 66.36 84.13 50.67 2.77 71.35 19.9" - })))), /*#__PURE__*/_react["default"].createElement("p", { - className: "loader-text" - }, this.props.message)); - } - }]); - - return Loader; -}(_react["default"].PureComponent); - -exports.Loader = Loader; - -_defineProperty(Loader, "propTypes", { - message: _propTypes["default"].string, - logoColor: _propTypes["default"].string, - backgroundColor1: _propTypes["default"].string, - backgroundColor2: _propTypes["default"].string, - aj_loader: _propTypes["default"].shape({ - logoColor: _propTypes["default"].string, - backgroundColor1: _propTypes["default"].string, - backgroundColor2: _propTypes["default"].string - }) -}); - -var _default = (0, _settings.withSettings)(Loader); - -exports["default"] = _default; \ No newline at end of file diff --git a/libs/components/common/errors/inline_error.d.ts b/libs/components/common/errors/inline_error.d.ts deleted file mode 100644 index b769794..0000000 --- a/libs/components/common/errors/inline_error.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export default class InlineError extends React.PureComponent { - static propTypes: { - error: PropTypes.Requireable; - }; - constructor(props: any); - constructor(props: any, context: any); -} -import React from "react"; -import PropTypes from "prop-types"; diff --git a/libs/components/common/errors/inline_error.js b/libs/components/common/errors/inline_error.js deleted file mode 100644 index 621aefa..0000000 --- a/libs/components/common/errors/inline_error.js +++ /dev/null @@ -1,80 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; - -var _react = _interopRequireDefault(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _styles = _interopRequireDefault(require("../../../libs/styles")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } - -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } - -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } - -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -function renderStyles() { - (0, _styles["default"])(".error-banner {\n display: -webkit-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-align-items: center;\n align-items: center;\n min-height: 4rem;\n background: #f00;\n padding: 0.8rem 1.2rem;\n border-radius: 0.3rem;\n margin: 20px 0;\n }"); - (0, _styles["default"])(".error-banner > i {\n font-size: 2.4rem;\n color: #fff;\n margin-right: 1.2rem;\n }"); - (0, _styles["default"])(".error-banner h3 {\n color: #fff;\n font-size: 1.4rem;\n font-family: 'montserratbold';\n font-weight: normal;\n margin: 0;\n margin-right: 3.2rem;\n }"); - (0, _styles["default"])(".error-banner__content {\n color: #fff;\n font-family: 'montserratregular';\n font-weight: normal;\n font-size: 1.4rem;\n }"); - (0, _styles["default"])(".error-banner__content span {\n margin-right: 0.8rem;\n }"); -} - -var InlineError = /*#__PURE__*/function (_React$PureComponent) { - _inherits(InlineError, _React$PureComponent); - - var _super = _createSuper(InlineError); - - function InlineError() { - _classCallCheck(this, InlineError); - - return _super.apply(this, arguments); - } - - _createClass(InlineError, [{ - key: "render", - value: function render() { - renderStyles(); - return /*#__PURE__*/_react["default"].createElement("div", { - className: "error-banner" - }, /*#__PURE__*/_react["default"].createElement("i", { - className: "material-icons" - }, "error"), /*#__PURE__*/_react["default"].createElement("h3", null, "Error"), /*#__PURE__*/_react["default"].createElement("div", { - className: "error-banner__content" - }, this.props.error)); - } - }]); - - return InlineError; -}(_react["default"].PureComponent); - -exports["default"] = InlineError; - -_defineProperty(InlineError, "propTypes", { - error: _propTypes["default"].string -}); \ No newline at end of file diff --git a/libs/components/common/gql_status.d.ts b/libs/components/common/gql_status.d.ts deleted file mode 100644 index 686d59f..0000000 --- a/libs/components/common/gql_status.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -declare function GqlStatus(props: any): JSX.Element | null; -declare namespace GqlStatus { - namespace propTypes { - const loading: PropTypes.Requireable; - const error: PropTypes.Requireable; - }>>; - const loadMessage: PropTypes.Requireable; - } -} -export default GqlStatus; -import PropTypes from "prop-types"; diff --git a/libs/components/common/gql_status.js b/libs/components/common/gql_status.js deleted file mode 100644 index ad07b49..0000000 --- a/libs/components/common/gql_status.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = GqlStatus; - -var _react = _interopRequireDefault(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _atomicjolt_loader = _interopRequireDefault(require("./atomicjolt_loader")); - -var _inline_error = _interopRequireDefault(require("./errors/inline_error")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function GqlStatus(props) { - if (props.loading) { - return /*#__PURE__*/_react["default"].createElement(_atomicjolt_loader["default"], { - message: props.loadMessage - }); - } - - if (props.error) { - return /*#__PURE__*/_react["default"].createElement(_inline_error["default"], { - error: props.error.message - }); - } - - return null; -} - -GqlStatus.propTypes = { - loading: _propTypes["default"].bool, - error: _propTypes["default"].shape({ - message: _propTypes["default"].string - }), - loadMessage: _propTypes["default"].string -}; \ No newline at end of file diff --git a/libs/components/common/resize_wrapper.d.ts b/libs/components/common/resize_wrapper.d.ts deleted file mode 100644 index 8564f4c..0000000 --- a/libs/components/common/resize_wrapper.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -declare function ResizeWrapper(props: any): JSX.Element; -declare namespace ResizeWrapper { - namespace propTypes { - const children: propTypes.Requireable; - const getSize: propTypes.Requireable<(...args: any[]) => any>; - } -} -export default ResizeWrapper; -import propTypes_1 from "prop-types"; diff --git a/libs/components/common/resize_wrapper.js b/libs/components/common/resize_wrapper.js deleted file mode 100644 index 3b163d6..0000000 --- a/libs/components/common/resize_wrapper.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = ResizeWrapper; - -var _react = _interopRequireWildcard(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _resize_iframe = _interopRequireDefault(require("../../libs/resize_iframe")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } - -function ResizeWrapper(props) { - var children = props.children, - getSize = props.getSize; - (0, _react.useEffect)(function () { - (0, _resize_iframe["default"])(getSize); - }, []); - return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, children, /*#__PURE__*/_react["default"].createElement("div", { - id: "content-measuring-stick" - })); -} - -ResizeWrapper.propTypes = { - children: _propTypes["default"].node, - getSize: _propTypes["default"].func -}; \ No newline at end of file diff --git a/libs/components/settings.d.ts b/libs/components/settings.d.ts deleted file mode 100644 index b6eac6c..0000000 --- a/libs/components/settings.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export function withSettings(Component: any): (props: any) => JSX.Element; -export const SettingsContext: React.Context; -import React from "react"; diff --git a/libs/components/settings.js b/libs/components/settings.js deleted file mode 100644 index d487811..0000000 --- a/libs/components/settings.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.withSettings = withSettings; -exports.SettingsContext = void 0; - -var _react = _interopRequireDefault(require("react")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var updateGlobalSetting = function updateGlobalSetting() {}; - -var SettingsContext = /*#__PURE__*/_react["default"].createContext(_objectSpread(_objectSpread({}, window.DEFAULT_SETTINGS), {}, { - updateGlobalSetting: updateGlobalSetting -})); - -exports.SettingsContext = SettingsContext; - -function withSettings(Component) { - return function SettingsComponent(props) { - return /*#__PURE__*/_react["default"].createElement(SettingsContext.Consumer, null, function (settings) { - return /*#__PURE__*/_react["default"].createElement(Component, _extends({}, props, { - settings: settings - })); - }); - }; -} \ No newline at end of file diff --git a/libs/constants/error.d.ts b/libs/constants/error.d.ts deleted file mode 100644 index fda1345..0000000 --- a/libs/constants/error.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -declare namespace _default { - const TIMEOUT: string; - const ERROR: string; - const NOT_AUTHORIZED: string; -} -export default _default; diff --git a/libs/constants/error.js b/libs/constants/error.js deleted file mode 100644 index 5caa724..0000000 --- a/libs/constants/error.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; -var _default = { - TIMEOUT: 'NETWORK_TIMEOUT', - ERROR: 'NETWORK_ERROR', - NOT_AUTHORIZED: 'NETWORK_NOT_AUTHORIZED' -}; -exports["default"] = _default; \ No newline at end of file diff --git a/libs/constants/network.d.ts b/libs/constants/network.d.ts deleted file mode 100644 index 9a55880..0000000 --- a/libs/constants/network.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -declare namespace _default { - const GET: string; - const POST: string; - const PUT: string; - const DEL: string; - const TIMEOUT: number; -} -export default _default; diff --git a/libs/constants/network.js b/libs/constants/network.js deleted file mode 100644 index 04bb62f..0000000 --- a/libs/constants/network.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; -var _default = { - GET: 'get', - POST: 'post', - PUT: 'put', - DEL: 'delete', - TIMEOUT: 20000 -}; -exports["default"] = _default; \ No newline at end of file diff --git a/libs/constants/wrapper.d.ts b/libs/constants/wrapper.d.ts deleted file mode 100644 index 37f228f..0000000 --- a/libs/constants/wrapper.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export default function _default(actionTypes: any, asyncActionTypes: any): any; -export const DONE: "_DONE"; diff --git a/libs/constants/wrapper.js b/libs/constants/wrapper.js deleted file mode 100644 index d228b21..0000000 --- a/libs/constants/wrapper.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = _default; -exports.DONE = void 0; - -var _lodash = _interopRequireDefault(require("lodash")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var DONE = '_DONE'; -exports.DONE = DONE; - -function _default(actionTypes, asyncActionTypes) { - var types = _lodash["default"].reduce(actionTypes, function (result, key) { - return _objectSpread(_objectSpread({}, result), {}, _defineProperty({}, key, key)); - }, {}); - - types = _lodash["default"].reduce(asyncActionTypes, function (result, key) { - var _objectSpread3; - - return _objectSpread(_objectSpread({}, result), {}, (_objectSpread3 = {}, _defineProperty(_objectSpread3, key, key), _defineProperty(_objectSpread3, "".concat(key).concat(DONE), "".concat(key).concat(DONE)), _objectSpread3)); - }, types); - types.DONE = DONE; - return types; -} \ No newline at end of file diff --git a/libs/css-stub.d.ts b/libs/css-stub.d.ts deleted file mode 100644 index cb0ff5c..0000000 --- a/libs/css-stub.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/libs/css-stub.js b/libs/css-stub.js deleted file mode 100644 index 6a700d7..0000000 --- a/libs/css-stub.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; - -module.exports = {}; \ No newline at end of file diff --git a/libs/decorators/modal.d.ts b/libs/decorators/modal.d.ts deleted file mode 100644 index 4224708..0000000 --- a/libs/decorators/modal.d.ts +++ /dev/null @@ -1 +0,0 @@ -export default function modalDecorator(Component: any, name: any): import("react-redux").ConnectedComponent>; diff --git a/libs/decorators/modal.js b/libs/decorators/modal.js deleted file mode 100644 index a56a027..0000000 --- a/libs/decorators/modal.js +++ /dev/null @@ -1,28 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = modalDecorator; - -var _reactRedux = require("react-redux"); - -var ModalActions = _interopRequireWildcard(require("../actions/modal")); - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } - -// Dont use with decorator syntax but it is a decorator non the less -function modalDecorator(Component, name) { - var select = function select(_ref) { - var modal = _ref.modal; - return { - isOpen: modal.currentOpenModal === name - }; - }; - - return (0, _reactRedux.connect)(select, ModalActions)(Component); -} \ No newline at end of file diff --git a/libs/graphql/atomic_mutation.d.ts b/libs/graphql/atomic_mutation.d.ts deleted file mode 100644 index aa98c1f..0000000 --- a/libs/graphql/atomic_mutation.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export default class AtomicMutation extends React.Component { - static propTypes: { - children: PropTypes.Validator<(...args: any[]) => any>; - }; - constructor(props: any); - constructor(props: any, context: any); -} -import React from "react"; -import PropTypes from "prop-types"; diff --git a/libs/graphql/atomic_mutation.js b/libs/graphql/atomic_mutation.js deleted file mode 100644 index 2624764..0000000 --- a/libs/graphql/atomic_mutation.js +++ /dev/null @@ -1,79 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; - -var _react = _interopRequireDefault(require("react")); - -var _reactApollo = require("react-apollo"); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _inline_error = _interopRequireDefault(require("../components/common/errors/inline_error")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } - -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } - -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } - -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var AtomicMutation = /*#__PURE__*/function (_React$Component) { - _inherits(AtomicMutation, _React$Component); - - var _super = _createSuper(AtomicMutation); - - function AtomicMutation() { - _classCallCheck(this, AtomicMutation); - - return _super.apply(this, arguments); - } - - _createClass(AtomicMutation, [{ - key: "render", - value: function render() { - var _this = this; - - return /*#__PURE__*/_react["default"].createElement(_reactApollo.Mutation, this.props, function (method, result) { - var error = result.error; - - if (error) { - return /*#__PURE__*/_react["default"].createElement(_inline_error["default"], { - error: error.message - }); - } - - return _this.props.children(method, result); - }); - } - }]); - - return AtomicMutation; -}(_react["default"].Component); - -exports["default"] = AtomicMutation; - -_defineProperty(AtomicMutation, "propTypes", { - children: _propTypes["default"].func.isRequired -}); \ No newline at end of file diff --git a/libs/graphql/atomic_query.d.ts b/libs/graphql/atomic_query.d.ts deleted file mode 100644 index cf6b9a3..0000000 --- a/libs/graphql/atomic_query.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export default class AtomicQuery extends React.Component { - static propTypes: { - children: PropTypes.Validator<(...args: any[]) => any>; - loadingMessage: PropTypes.Requireable; - hideLoader: PropTypes.Requireable; - onDataReady: PropTypes.Requireable<(...args: any[]) => any>; - onDataLoading: PropTypes.Requireable<(...args: any[]) => any>; - }; - static defaultProps: { - onDataReady: () => void; - onDataLoading: () => void; - }; - constructor(props: any); - constructor(props: any, context: any); - dataReady: boolean; - dataLoading: boolean; -} -import React from "react"; -import PropTypes from "prop-types"; diff --git a/libs/graphql/atomic_query.js b/libs/graphql/atomic_query.js deleted file mode 100644 index 021fce6..0000000 --- a/libs/graphql/atomic_query.js +++ /dev/null @@ -1,141 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; - -var _react = _interopRequireDefault(require("react")); - -var _reactApollo = require("react-apollo"); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _atomicjolt_loader = _interopRequireDefault(require("../components/common/atomicjolt_loader")); - -var _inline_error = _interopRequireDefault(require("../components/common/errors/inline_error")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } - -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } - -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } - -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var AtomicQuery = /*#__PURE__*/function (_React$Component) { - _inherits(AtomicQuery, _React$Component); - - var _super = _createSuper(AtomicQuery); - - function AtomicQuery() { - var _this; - - _classCallCheck(this, AtomicQuery); - - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - _this = _super.call.apply(_super, [this].concat(args)); - - _defineProperty(_assertThisInitialized(_this), "dataReady", false); - - _defineProperty(_assertThisInitialized(_this), "dataLoading", false); - - return _this; - } - - _createClass(AtomicQuery, [{ - key: "render", - value: function render() { - var _this2 = this; - - return /*#__PURE__*/_react["default"].createElement(_reactApollo.Query, this.props, function (result) { - var loading = result.loading, - error = result.error; - - if (loading) { - if (!_this2.dataLoading) { - _this2.props.onDataLoading(); - - _this2.dataLoading = true; - _this2.dataReady = false; - } - - if (_this2.props.hideLoader) { - return null; - } - - return /*#__PURE__*/_react["default"].createElement(_atomicjolt_loader["default"], { - message: _this2.props.loadingMessage - }); - } - - if (error) { - if (error.networkError && error.networkError.result && error.networkError.result.canvas_authorization_required) { - // This error will be handled by a Canvas reauth. Don't output an error. - return null; - } - - if (error.networkError && error.networkError.bodyText && error.networkError.bodyText.indexOf('JWT::ExpiredSignature') >= 0) { - return /*#__PURE__*/_react["default"].createElement(_inline_error["default"], { - error: "Your authentication token has expired. Please refresh the page to enable authentication." - }); - } - - return /*#__PURE__*/_react["default"].createElement(_inline_error["default"], { - error: error.message - }); - } - - if (!_this2.dataReady) { - _this2.props.onDataReady(result.data); - - _this2.dataReady = true; - _this2.dataLoading = false; - } - - return _this2.props.children(result); - }); - } - }]); - - return AtomicQuery; -}(_react["default"].Component); - -exports["default"] = AtomicQuery; - -_defineProperty(AtomicQuery, "propTypes", { - children: _propTypes["default"].func.isRequired, - loadingMessage: _propTypes["default"].string, - hideLoader: _propTypes["default"].bool, - // the base Query component has an onCompleted function, but it's only - // called after the initial request for data returns, and not if you visit - // the page again - onDataReady: _propTypes["default"].func, - onDataLoading: _propTypes["default"].func -}); - -_defineProperty(AtomicQuery, "defaultProps", { - onDataReady: function onDataReady() {}, - onDataLoading: function onDataLoading() {} -}); \ No newline at end of file diff --git a/libs/index.d.ts b/libs/index.d.ts deleted file mode 100644 index d37dcd5..0000000 --- a/libs/index.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -export { default as errorReducer } from "./reducers/errors"; -export { default as jwtReducer } from "./reducers/jwt"; -export { default as modalReducer } from "./reducers/modal"; -export { default as postMessageMiddleware } from "./middleware/post_message"; -export { default as jwtLoader } from "./loaders/jwt"; -export { default as configureStore } from "./store/configure_store"; -export { default as Api } from "./api/api"; -export { default as GqlStatus } from "./components/common/gql_status"; -export { default as IframeResizeWrapper } from "./components/common/resize_wrapper"; -export { default as InlineError } from "./components/common/errors/inline_error"; -export { default as AtomicMutation } from "./graphql/atomic_mutation"; -export { default as AtomicQuery } from "./graphql/atomic_query"; -export { default as modalDecorator } from "./decorators/modal"; -export { default as iframeResizeHandler } from "./libs/resize_iframe"; -export { addError as addErrorAction, clearErrors as clearErrorsAction, Constants as ErrorConstants } from "./actions/errors"; -export { refreshJwt as refreshJwtAction, Constants as JwtConstants } from "./actions/jwt"; -export { openModal as openModalAction, closeModal as closeModalAction, Constants as ModalConstants } from "./actions/modal"; -export { postMessage as postMessageAction, Constants as PostMessageConstants } from "./actions/post_message"; -export { default as settingsReducer, getInitialSettings } from "./reducers/settings"; -export { apiRequest, default as ApiMiddleware } from "./middleware/api"; -export { default as Communicator, postMessage, broadcastRawMessage, broadcastMessage } from "./communications/communicator"; -export { SettingsContext, withSettings } from "./components/settings"; -export { default as AtomicjoltLoader, Loader as AtomicjoltLoaderRaw } from "./components/common/atomicjolt_loader"; -export { Banner, BannerTypes } from "./components/Banner"; -export { Button, ButtonType } from "./components/Button"; -export { isLtiInstructor, isLtiAdmin } from "./libs/lti_roles"; diff --git a/libs/index.js b/libs/index.js deleted file mode 100644 index af7b2fa..0000000 --- a/libs/index.js +++ /dev/null @@ -1,317 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "addErrorAction", { - enumerable: true, - get: function get() { - return _errors.addError; - } -}); -Object.defineProperty(exports, "clearErrorsAction", { - enumerable: true, - get: function get() { - return _errors.clearErrors; - } -}); -Object.defineProperty(exports, "ErrorConstants", { - enumerable: true, - get: function get() { - return _errors.Constants; - } -}); -Object.defineProperty(exports, "refreshJwtAction", { - enumerable: true, - get: function get() { - return _jwt.refreshJwt; - } -}); -Object.defineProperty(exports, "JwtConstants", { - enumerable: true, - get: function get() { - return _jwt.Constants; - } -}); -Object.defineProperty(exports, "openModalAction", { - enumerable: true, - get: function get() { - return _modal.openModal; - } -}); -Object.defineProperty(exports, "closeModalAction", { - enumerable: true, - get: function get() { - return _modal.closeModal; - } -}); -Object.defineProperty(exports, "ModalConstants", { - enumerable: true, - get: function get() { - return _modal.Constants; - } -}); -Object.defineProperty(exports, "postMessageAction", { - enumerable: true, - get: function get() { - return _post_message.postMessage; - } -}); -Object.defineProperty(exports, "PostMessageConstants", { - enumerable: true, - get: function get() { - return _post_message.Constants; - } -}); -Object.defineProperty(exports, "errorReducer", { - enumerable: true, - get: function get() { - return _errors2["default"]; - } -}); -Object.defineProperty(exports, "jwtReducer", { - enumerable: true, - get: function get() { - return _jwt2["default"]; - } -}); -Object.defineProperty(exports, "modalReducer", { - enumerable: true, - get: function get() { - return _modal2["default"]; - } -}); -Object.defineProperty(exports, "settingsReducer", { - enumerable: true, - get: function get() { - return _settings["default"]; - } -}); -Object.defineProperty(exports, "getInitialSettings", { - enumerable: true, - get: function get() { - return _settings.getInitialSettings; - } -}); -Object.defineProperty(exports, "postMessageMiddleware", { - enumerable: true, - get: function get() { - return _post_message2["default"]; - } -}); -Object.defineProperty(exports, "apiRequest", { - enumerable: true, - get: function get() { - return _api.apiRequest; - } -}); -Object.defineProperty(exports, "ApiMiddleware", { - enumerable: true, - get: function get() { - return _api["default"]; - } -}); -Object.defineProperty(exports, "jwtLoader", { - enumerable: true, - get: function get() { - return _jwt3["default"]; - } -}); -Object.defineProperty(exports, "configureStore", { - enumerable: true, - get: function get() { - return _configure_store["default"]; - } -}); -Object.defineProperty(exports, "Api", { - enumerable: true, - get: function get() { - return _api2["default"]; - } -}); -Object.defineProperty(exports, "Communicator", { - enumerable: true, - get: function get() { - return _communicator["default"]; - } -}); -Object.defineProperty(exports, "postMessage", { - enumerable: true, - get: function get() { - return _communicator.postMessage; - } -}); -Object.defineProperty(exports, "broadcastRawMessage", { - enumerable: true, - get: function get() { - return _communicator.broadcastRawMessage; - } -}); -Object.defineProperty(exports, "broadcastMessage", { - enumerable: true, - get: function get() { - return _communicator.broadcastMessage; - } -}); -Object.defineProperty(exports, "SettingsContext", { - enumerable: true, - get: function get() { - return _settings2.SettingsContext; - } -}); -Object.defineProperty(exports, "withSettings", { - enumerable: true, - get: function get() { - return _settings2.withSettings; - } -}); -Object.defineProperty(exports, "AtomicjoltLoader", { - enumerable: true, - get: function get() { - return _atomicjolt_loader["default"]; - } -}); -Object.defineProperty(exports, "AtomicjoltLoaderRaw", { - enumerable: true, - get: function get() { - return _atomicjolt_loader.Loader; - } -}); -Object.defineProperty(exports, "GqlStatus", { - enumerable: true, - get: function get() { - return _gql_status["default"]; - } -}); -Object.defineProperty(exports, "IframeResizeWrapper", { - enumerable: true, - get: function get() { - return _resize_wrapper["default"]; - } -}); -Object.defineProperty(exports, "InlineError", { - enumerable: true, - get: function get() { - return _inline_error["default"]; - } -}); -Object.defineProperty(exports, "Banner", { - enumerable: true, - get: function get() { - return _Banner.Banner; - } -}); -Object.defineProperty(exports, "BannerTypes", { - enumerable: true, - get: function get() { - return _Banner.BannerTypes; - } -}); -Object.defineProperty(exports, "Button", { - enumerable: true, - get: function get() { - return _Button.Button; - } -}); -Object.defineProperty(exports, "ButtonType", { - enumerable: true, - get: function get() { - return _Button.ButtonType; - } -}); -Object.defineProperty(exports, "AtomicMutation", { - enumerable: true, - get: function get() { - return _atomic_mutation["default"]; - } -}); -Object.defineProperty(exports, "AtomicQuery", { - enumerable: true, - get: function get() { - return _atomic_query["default"]; - } -}); -Object.defineProperty(exports, "modalDecorator", { - enumerable: true, - get: function get() { - return _modal3["default"]; - } -}); -Object.defineProperty(exports, "iframeResizeHandler", { - enumerable: true, - get: function get() { - return _resize_iframe["default"]; - } -}); -Object.defineProperty(exports, "isLtiInstructor", { - enumerable: true, - get: function get() { - return _lti_roles.isLtiInstructor; - } -}); -Object.defineProperty(exports, "isLtiAdmin", { - enumerable: true, - get: function get() { - return _lti_roles.isLtiAdmin; - } -}); - -var _errors = require("./actions/errors"); - -var _jwt = require("./actions/jwt"); - -var _modal = require("./actions/modal"); - -var _post_message = require("./actions/post_message"); - -var _errors2 = _interopRequireDefault(require("./reducers/errors")); - -var _jwt2 = _interopRequireDefault(require("./reducers/jwt")); - -var _modal2 = _interopRequireDefault(require("./reducers/modal")); - -var _settings = _interopRequireWildcard(require("./reducers/settings")); - -var _post_message2 = _interopRequireDefault(require("./middleware/post_message")); - -var _api = _interopRequireWildcard(require("./middleware/api")); - -var _jwt3 = _interopRequireDefault(require("./loaders/jwt")); - -var _configure_store = _interopRequireDefault(require("./store/configure_store")); - -var _api2 = _interopRequireDefault(require("./api/api")); - -var _communicator = _interopRequireWildcard(require("./communications/communicator")); - -var _settings2 = require("./components/settings"); - -var _atomicjolt_loader = _interopRequireWildcard(require("./components/common/atomicjolt_loader")); - -var _gql_status = _interopRequireDefault(require("./components/common/gql_status")); - -var _resize_wrapper = _interopRequireDefault(require("./components/common/resize_wrapper")); - -var _inline_error = _interopRequireDefault(require("./components/common/errors/inline_error")); - -var _Banner = require("./components/Banner"); - -var _Button = require("./components/Button"); - -var _atomic_mutation = _interopRequireDefault(require("./graphql/atomic_mutation")); - -var _atomic_query = _interopRequireDefault(require("./graphql/atomic_query")); - -var _modal3 = _interopRequireDefault(require("./decorators/modal")); - -var _resize_iframe = _interopRequireDefault(require("./libs/resize_iframe")); - -var _lti_roles = require("./libs/lti_roles"); - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } \ No newline at end of file diff --git a/libs/libs/lti_roles.d.ts b/libs/libs/lti_roles.d.ts deleted file mode 100644 index e41454d..0000000 --- a/libs/libs/lti_roles.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export function isLtiInstructor(roles: any): any; -export function isLtiAdmin(roles: any): any; diff --git a/libs/libs/lti_roles.js b/libs/libs/lti_roles.js deleted file mode 100644 index 8dcb745..0000000 --- a/libs/libs/lti_roles.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.isLtiInstructor = isLtiInstructor; -exports.isLtiAdmin = isLtiAdmin; - -var _lodash = _interopRequireDefault(require("lodash")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function isLtiInstructor(roles) { - return _lodash["default"].includes(roles, 'urn:lti:role:ims/lis/Instructor'); -} - -function isLtiAdmin(roles) { - return _lodash["default"].includes(roles, 'urn:lti:role:ims/lis/Administrator') || _lodash["default"].includes(roles, 'urn:lti:instrole:ims/lis/Administrator') || _lodash["default"].includes(roles, 'urn:lti:sysrole:ims/lis/SysAdmin') || _lodash["default"].includes(roles, 'urn:lti:sysrole:ims/lis/Administrator'); -} \ No newline at end of file diff --git a/libs/libs/resize_iframe.d.ts b/libs/libs/resize_iframe.d.ts deleted file mode 100644 index 8f49952..0000000 --- a/libs/libs/resize_iframe.d.ts +++ /dev/null @@ -1 +0,0 @@ -export default function initResizeHandler(getSize?: () => number): void; diff --git a/libs/libs/resize_iframe.js b/libs/libs/resize_iframe.js deleted file mode 100644 index 5050830..0000000 --- a/libs/libs/resize_iframe.js +++ /dev/null @@ -1,43 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = initResizeHandler; - -var _communicator = require("../communications/communicator"); - -var currentHeight = 0; - -function sendLtiIframeResize(height) { - var message = { - subject: 'lti.frameResize', - height: height - }; - (0, _communicator.broadcastMessage)(message); -} - -var defaultGetSize = function defaultGetSize() { - var ruler = document.getElementById('content-measuring-stick'); - return ruler.offsetTop; -}; - -function initResizeHandler() { - var getSize = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultGetSize; - - var handleResize = function handleResize() { - var height = getSize(); - if (height === currentHeight) return; - currentHeight = height; - sendLtiIframeResize(currentHeight); - }; - - var mObserver = new MutationObserver(handleResize); - window.addEventListener('resize', handleResize); - mObserver.observe(document.documentElement, { - attributes: true, - childList: true, - subtree: true, - characterData: true - }); -} \ No newline at end of file diff --git a/libs/libs/styles.d.ts b/libs/libs/styles.d.ts deleted file mode 100644 index c679c2b..0000000 --- a/libs/libs/styles.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare function _default(styles: any): void; -export default _default; diff --git a/libs/libs/styles.js b/libs/libs/styles.js deleted file mode 100644 index 66bd47f..0000000 --- a/libs/libs/styles.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; - -function getAddStyles() { - var selectorTextRegex = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : /[^{]*/; - var memo = {}; - var id = 'atomic-fuel-styles'; - var styleEl = document.getElementById(id); - return function (styles) { - if (!styleEl) { - styleEl = document.createElement('style'); - styleEl.id = id; - document.head.appendChild(styleEl); - } - /* - * The RegEx below extracts the selectorText from the styles - * string. For example running this regex on the styles string - * ".myClass > h1 .myclassTwo {...}" would yield ".myClass > h1 .myclassTwo" - */ - - - var classes = styles.match(selectorTextRegex)[0].trim(); - - if (memo[classes] === undefined) { - var styleSheet = styleEl.sheet; - styleSheet.insertRule(styles, styleSheet.cssRules.length); - memo[classes] = 1; - } - }; -} - -var _default = getAddStyles(); - -exports["default"] = _default; \ No newline at end of file diff --git a/libs/loaders/jwt.d.ts b/libs/loaders/jwt.d.ts deleted file mode 100644 index d970caf..0000000 --- a/libs/loaders/jwt.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -export default function _default(dispatch: any, currentUserId: any, refresh?: number): void; -export class Jwt { - constructor(jwt: any, apiUrl: any, oauthConsumerKey?: any, refresh?: number); - jwt: any; - apiUrl: any; - oauthConsumerKey: any; - _decodedJwt: any; - userId: any; - contextId: any; - refresh: number; - enableRefresh(): void; - get params(): { - context_id: any; - oauth_consumer_key: any; - }; - get currentJwt(): any; - get decodedJwt(): any; - get isjwtExpired(): boolean; -} diff --git a/libs/loaders/jwt.js b/libs/loaders/jwt.js deleted file mode 100644 index 237c9c4..0000000 --- a/libs/loaders/jwt.js +++ /dev/null @@ -1,108 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = _default; -exports.Jwt = void 0; - -var _jwt = require("../actions/jwt"); - -var _api = _interopRequireDefault(require("../api/api")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -var REFRESH = 1000 * 60 * 60 * 23; // every 23 hours - -function _default(dispatch, currentUserId) { - var refresh = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : REFRESH; - setInterval(function () { - dispatch((0, _jwt.refreshJwt)(currentUserId)); - }, refresh); -} - -var Jwt = /*#__PURE__*/function () { - function Jwt(jwt, apiUrl) { - var oauthConsumerKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; - var refresh = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : REFRESH; - - _classCallCheck(this, Jwt); - - this.jwt = jwt; - this.apiUrl = apiUrl; - this.oauthConsumerKey = oauthConsumerKey; - - if (this.jwt) { - var base64Url = this.jwt.split('.')[1]; - var base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/'); - - try { - this._decodedJwt = JSON.parse(window.atob(base64)); - this.userId = this._decodedJwt.user_id; - this.contextId = this._decodedJwt.context_id; - this.oauthConsumerKey = this._decodedJwt.kid || oauthConsumerKey; - } catch (e) { - if (typeof Rollbar !== 'undefined' && Rollbar.options.enabled) { - Rollbar.error('Failed to decode JWT for refresh', { - error: e, - encodedJwt: base64 - }); - } - } - } - - this.refresh = refresh; - } - - _createClass(Jwt, [{ - key: "enableRefresh", - value: function enableRefresh() { - var _this = this; - - if (this.jwt && this.userId) { - var url = "api/jwts/".concat(this.userId); - setInterval(function () { - _api["default"].get(url, _this.apiUrl, _this.jwt, null, _this.params, null).then(function (response) { - _this.jwt = response.body.jwt; - }); - }, this.refresh); - } - } - }, { - key: "params", - get: function get() { - return { - // Add the context id from the lti launch - context_id: this.contextId, - // Add consumer key to requests to indicate which lti app requests are originating from. - oauth_consumer_key: this.oauthConsumerKey - }; - } - }, { - key: "currentJwt", - get: function get() { - return this.jwt; - } - }, { - key: "decodedJwt", - get: function get() { - return this._decodedJwt; - } - }, { - key: "isjwtExpired", - get: function get() { - // Rails does seconds since the epoch instead of milliseconds so we multiple by 1000 - return this.decodedJwt.exp * 1000 < Date.now(); - } - }]); - - return Jwt; -}(); - -exports.Jwt = Jwt; \ No newline at end of file diff --git a/libs/middleware/api.d.ts b/libs/middleware/api.d.ts deleted file mode 100644 index 3bc3b3c..0000000 --- a/libs/middleware/api.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export function apiRequest(store: any, action: any): any; -export { API as default }; -declare function API(store: any): (next: any) => (action: any) => void; diff --git a/libs/middleware/api.js b/libs/middleware/api.js deleted file mode 100644 index db6ded4..0000000 --- a/libs/middleware/api.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.apiRequest = apiRequest; -exports["default"] = void 0; - -var _api = _interopRequireDefault(require("../api/api")); - -var _wrapper = require("../constants/wrapper"); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -function apiRequest(store, action) { - var state = store.getState(); - - var updatedParams = _objectSpread({ - // Add the context id from the lti launch - context_id: state.settings.context_id, - // Add consumer key to requests to indicate which lti app requests are originating from. - oauth_consumer_key: state.settings.oauth_consumer_key - }, action.params); - - var promise = _api["default"].execRequest(action.method, action.url, state.settings.api_url, state.jwt, state.settings.csrf_token, updatedParams, action.body, action.headers, action.timeout); - - if (promise) { - promise.then(function (response) { - store.dispatch({ - type: action.type + _wrapper.DONE, - payload: response.body, - original: action, - response: response - }); // Dispatch the new data - }, function (error) { - store.dispatch({ - type: action.type + _wrapper.DONE, - payload: {}, - original: action, - error: error - }); // Dispatch the new error - }); - } - - return promise; -} - -var API = function API(store) { - return function (next) { - return function (action) { - if (action.method) { - apiRequest(store, action); - } // call the next middleWare - - - next(action); - }; - }; -}; - -exports["default"] = API; \ No newline at end of file diff --git a/libs/middleware/post_message.d.ts b/libs/middleware/post_message.d.ts deleted file mode 100644 index f35611b..0000000 --- a/libs/middleware/post_message.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export class HandlerSingleton { - static communicator: any; - static instance: any; - static prepareInstance(dispatch: any, domain?: string): void; - constructor(dispatch: any); - dispatch: any; - handleComm: (e: any) => void; -} -declare function _default(store: any): (next: any) => (action: any) => void; -export default _default; diff --git a/libs/middleware/post_message.js b/libs/middleware/post_message.js deleted file mode 100644 index 84eebbb..0000000 --- a/libs/middleware/post_message.js +++ /dev/null @@ -1,95 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = exports.HandlerSingleton = void 0; - -var _lodash = _interopRequireDefault(require("lodash")); - -var _communicator = _interopRequireDefault(require("../communications/communicator")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var HandlerSingleton = /*#__PURE__*/function () { - function HandlerSingleton(dispatch) { - var _this = this; - - _classCallCheck(this, HandlerSingleton); - - _defineProperty(this, "handleComm", function (e) { - var message = e.data; - - if (_lodash["default"].isString(e.data)) { - try { - message = JSON.parse(e.data); - } catch (ex) { - // We can't parse the data as JSON just send it through as a string - message = e.data; - } - } - - _this.dispatch({ - communication: true, - type: 'POST_MESSAGE_RECIEVED', - message: message, - data: e.data - }); - }); - - this.dispatch = dispatch; - } - - _createClass(HandlerSingleton, null, [{ - key: "prepareInstance", - value: function prepareInstance(dispatch) { - var domain = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '*'; - - if (!HandlerSingleton.instance) { - HandlerSingleton.communicator = new _communicator["default"](domain); - HandlerSingleton.instance = new HandlerSingleton(dispatch); - HandlerSingleton.communicator.enableListener(HandlerSingleton.instance); - } - } - }]); - - return HandlerSingleton; -}(); - -exports.HandlerSingleton = HandlerSingleton; - -_defineProperty(HandlerSingleton, "communicator", null); - -_defineProperty(HandlerSingleton, "instance", null); - -var _default = function _default(store) { - return function (next) { - return function (action) { - if (action.postMessage) { - // You have to call a post message action first before you will recieve messages - HandlerSingleton.prepareInstance(store.dispatch); - - try { - if (action.broadcast) { - HandlerSingleton.communicator.broadcast(action.message); - } else { - HandlerSingleton.communicator.comm(action.message); - } - } catch (e) {// do nothing - } - } - - next(action); - }; - }; -}; - -exports["default"] = _default; \ No newline at end of file diff --git a/libs/reducers/errors.d.ts b/libs/reducers/errors.d.ts deleted file mode 100644 index 263bfd3..0000000 --- a/libs/reducers/errors.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare function _default(state: any[] | undefined, action: any): any[]; -export default _default; diff --git a/libs/reducers/errors.js b/libs/reducers/errors.js deleted file mode 100644 index ea09fa8..0000000 --- a/libs/reducers/errors.js +++ /dev/null @@ -1,61 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; - -var _errors = require("../actions/errors"); - -function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } - -function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } - -function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } - -function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } - -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } - -var initialState = []; - -var _default = function _default() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState; - var action = arguments.length > 1 ? arguments[1] : undefined; - - switch (action.type) { - case _errors.Constants.CLEAR_ERRORS: - return []; - - case _errors.Constants.ADD_ERROR: - return [].concat(_toConsumableArray(state), [action.payload]); - - default: - if (action.error) { - var message = action.error.message; - - if (action.error.response && action.error.response.text) { - try { - var json = JSON.parse(action.error.response.text); - - if (json) { - message = json.message; - } - } catch (ex) {// We can't parse the data as JSON just let the original error message stand - } - } - - return [].concat(_toConsumableArray(state), [{ - error: action.error, - message: message, - context: action - }]); - } - - return state; - } -}; - -exports["default"] = _default; \ No newline at end of file diff --git a/libs/reducers/jwt.d.ts b/libs/reducers/jwt.d.ts deleted file mode 100644 index 1dfd42a..0000000 --- a/libs/reducers/jwt.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare function _default(state: string | undefined, action: any): any; -export default _default; diff --git a/libs/reducers/jwt.js b/libs/reducers/jwt.js deleted file mode 100644 index 7664bea..0000000 --- a/libs/reducers/jwt.js +++ /dev/null @@ -1,33 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; - -var _jwt = require("../actions/jwt"); - -var initialState = ''; - -var _default = function _default() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState; - var action = arguments.length > 1 ? arguments[1] : undefined; - - switch (action.type) { - case _jwt.Constants.REFRESH_JWT_DONE: - if (action.payload.jwt) { - // Ensure we received a valid jwt. If the server isn't available we - // will get undefined. If there is a chance the current jwt is still - // valid we want to leave it in place. Note that this typically happens - // when the user loses network connectivity. - return action.payload.jwt; - } - - return state; - - default: - return state; - } -}; - -exports["default"] = _default; \ No newline at end of file diff --git a/libs/reducers/modal.d.ts b/libs/reducers/modal.d.ts deleted file mode 100644 index ea20077..0000000 --- a/libs/reducers/modal.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -declare function _default(state: { - currentOpenModal: string; -} | undefined, action: any): { - currentOpenModal: any; -}; -export default _default; diff --git a/libs/reducers/modal.js b/libs/reducers/modal.js deleted file mode 100644 index 989b132..0000000 --- a/libs/reducers/modal.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; - -var _modal = require("../actions/modal"); - -var initialState = { - currentOpenModal: '' -}; - -var _default = function _default() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState; - var action = arguments.length > 1 ? arguments[1] : undefined; - - switch (action.type) { - case _modal.Constants.OPEN_MODAL: - { - return { - currentOpenModal: action.modalName - }; - } - - case _modal.Constants.CLOSE_MODAL: - { - return { - currentOpenModal: '' - }; - } - - default: - return state; - } -}; - -exports["default"] = _default; \ No newline at end of file diff --git a/libs/reducers/settings.d.ts b/libs/reducers/settings.d.ts deleted file mode 100644 index 023c42e..0000000 --- a/libs/reducers/settings.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export function getInitialSettings(...args: any[]): {}; -declare function _default(state?: {}): {}; -export default _default; diff --git a/libs/reducers/settings.js b/libs/reducers/settings.js deleted file mode 100644 index 7fb0601..0000000 --- a/libs/reducers/settings.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.getInitialSettings = getInitialSettings; -exports["default"] = void 0; - -var _lodash = _interopRequireDefault(require("lodash")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -// Just return state. Don't let settings from the server mutate. -var _default = function _default() { - var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - return state; -}; - -exports["default"] = _default; - -function getInitialSettings() { - // Add default settings that can be overridden by values in serverSettings - var settings = {}; - - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - _lodash["default"].forEach(args, function (arg) { - return settings = _objectSpread(_objectSpread({}, settings), arg); - }); - - return settings; -} \ No newline at end of file diff --git a/libs/specs_support/helper.d.ts b/libs/specs_support/helper.d.ts deleted file mode 100644 index 06f6f90..0000000 --- a/libs/specs_support/helper.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -export default class Helper { - static mockStore(state: any): { - subscribe: () => void; - dispatch: () => void; - getState: () => any; - }; - static makeStore(initialSettings: any, additionalState: any, additionalReducers: any): any; - static testPayload(): string; - static stubAjax(): void; - static mockRequest(method: any, apiUrl: any, url: any, expectedHeaders: any): nock.Scope; - static mockAllAjax(): void; - static mockClock(): void; - static wrapMiddleware(middleware: any, state?: {}): { - store: { - getState: jest.Mock<{}, []>; - dispatch: jest.Mock; - }; - next: jest.Mock; - invoke: (action: any) => any; - getCalledWithState: () => { - dispatchedActions: never[]; - }; - }; - static indicies(arr: any, a: any, b: any): any; - static isBefore(...args: any[]): boolean; -} -import nock from "nock"; diff --git a/libs/specs_support/helper.js b/libs/specs_support/helper.js deleted file mode 100644 index 56ef52b..0000000 --- a/libs/specs_support/helper.js +++ /dev/null @@ -1,195 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; - -var _lodash = _interopRequireDefault(require("lodash")); - -var _redux = require("redux"); - -var _nock = _interopRequireDefault(require("nock")); - -var _api = _interopRequireDefault(require("../middleware/api")); - -var _settings = _interopRequireDefault(require("../reducers/settings")); - -var _configure_store = _interopRequireDefault(require("../store/configure_store")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -var Helper = /*#__PURE__*/function () { - function Helper() { - _classCallCheck(this, Helper); - } - - _createClass(Helper, null, [{ - key: "mockStore", - value: // Create a fake store for testing - function mockStore(state) { - return { - subscribe: function subscribe() {}, - dispatch: function dispatch() {}, - getState: function getState() { - return _objectSpread({}, state); - } - }; - } // Create a real store that can be used for testing - // For any additional state provided you must also provide the corresponding - // reducers. - - }, { - key: "makeStore", - value: function makeStore(initialSettings, additionalState, additionalReducers) { - var initialState = _lodash["default"].merge({ - settings: _lodash["default"].merge({ - csrf: 'csrf_token', - apiUrl: 'http://www.example.com' - }, initialSettings) - }, additionalState); - - var rootReducer = (0, _redux.combineReducers)(_objectSpread({ - settings: _settings["default"] - }, additionalReducers)); - var middleware = [_api["default"]]; - return (0, _configure_store["default"])(initialState, rootReducer, middleware); - } - }, { - key: "testPayload", - value: function testPayload() { - return JSON.stringify([{ - id: 1, - name: 'Starter App' - }]); - } - }, { - key: "stubAjax", - value: function stubAjax() { - beforeEach(function () { - jasmine.Ajax.install(); - jasmine.Ajax.stubRequest(RegExp('.*/api/test')).andReturn({ - status: 200, - contentType: 'application/json', - statusText: 'OK', - responseText: Helper.testPayload() - }); - jasmine.Ajax.stubRequest(RegExp('.*/api/test/.+')).andReturn({ - status: 200, - contentType: 'application/json', - statusText: 'OK', - responseText: Helper.testPayload() - }); - }); - afterEach(function () { - jasmine.Ajax.uninstall(); - }); - } - }, { - key: "mockRequest", - value: function mockRequest(method, apiUrl, url, expectedHeaders) { - return (0, _nock["default"])(apiUrl, expectedHeaders).intercept(url, method).reply(200, Helper.testPayload(), { - 'content-type': 'application/json' - }); - } - }, { - key: "mockAllAjax", - value: function mockAllAjax() { - beforeEach(function () { - (0, _nock["default"])('http://www.example.com').persist().get(RegExp('.*')).reply(200, Helper.testPayload(), { - 'content-type': 'application/json' - }); - (0, _nock["default"])('http://www.example.com').persist().post(RegExp('.*')).reply(200, Helper.testPayload(), { - 'content-type': 'application/json' - }); - (0, _nock["default"])('http://www.example.com').persist().put(RegExp('.*')).reply(200, Helper.testPayload(), { - 'content-type': 'application/json' - }); - (0, _nock["default"])('http://www.example.com').persist()["delete"](RegExp('.*')).reply(200, Helper.testPayload(), { - 'content-type': 'application/json' - }); - }); - afterEach(function () { - _nock["default"].cleanAll(); - }); - } - }, { - key: "mockClock", - value: function mockClock() { - beforeEach(function () { - jasmine.clock().install(); // Mock out the built in timers - }); - afterEach(function () { - jasmine.clock().uninstall(); - }); - } - }, { - key: "wrapMiddleware", - value: function wrapMiddleware(middleware) { - var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - var calledWithState = { - dispatchedActions: [] - }; - var store = { - getState: jest.fn(function () { - return state; - }), - dispatch: jest.fn(function (action) { - return calledWithState.dispatchedActions.push(action); - }) - }; - var next = jest.fn(); - - var invoke = function invoke(action) { - return middleware(store)(next)(action); - }; - - var getCalledWithState = function getCalledWithState() { - return calledWithState; - }; - - return { - store: store, - next: next, - invoke: invoke, - getCalledWithState: getCalledWithState - }; - } - }, { - key: "indicies", - value: function indicies(arr, a, b) { - return _lodash["default"].map([a, b], function (i) { - return _lodash["default"].indexOf(arr, i); - }); - } - }, { - key: "isBefore", - value: function isBefore() { - var ind = Helper.indicies(arguments.length <= 0 ? undefined : arguments[0], arguments.length <= 1 ? undefined : arguments[1], arguments.length <= 2 ? undefined : arguments[2]); - - if (_lodash["default"].some(ind, function (i) { - return _lodash["default"].isNil(i); - })) { - throw new Error('Not found in arr'); - } - - return ind[0] < ind[1]; - } - }]); - - return Helper; -}(); - -exports["default"] = Helper; \ No newline at end of file diff --git a/libs/specs_support/stub.d.ts b/libs/specs_support/stub.d.ts deleted file mode 100644 index 6526e07..0000000 --- a/libs/specs_support/stub.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export default class Stub extends React.PureComponent { - static propTypes: { - children: PropTypes.Validator; - }; - constructor(props: any); - constructor(props: any, context: any); -} -import React from "react"; -import PropTypes from "prop-types"; diff --git a/libs/specs_support/stub.js b/libs/specs_support/stub.js deleted file mode 100644 index 6cdf02a..0000000 --- a/libs/specs_support/stub.js +++ /dev/null @@ -1,63 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; - -var _react = _interopRequireDefault(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } - -function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } - -function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } - -function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } - -function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } - -function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } - -function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var Stub = /*#__PURE__*/function (_React$PureComponent) { - _inherits(Stub, _React$PureComponent); - - var _super = _createSuper(Stub); - - function Stub() { - _classCallCheck(this, Stub); - - return _super.apply(this, arguments); - } - - _createClass(Stub, [{ - key: "render", - value: function render() { - return /*#__PURE__*/_react["default"].createElement("div", null, this.props.children); - } - }]); - - return Stub; -}(_react["default"].PureComponent); - -exports["default"] = Stub; - -_defineProperty(Stub, "propTypes", { - children: _propTypes["default"].object.isRequired -}); \ No newline at end of file diff --git a/libs/specs_support/utils.d.ts b/libs/specs_support/utils.d.ts deleted file mode 100644 index 072ad74..0000000 --- a/libs/specs_support/utils.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare namespace _default { - function findTextField(textFields: any, labelText: any): any; - function findTextField(textFields: any, labelText: any): any; -} -export default _default; diff --git a/libs/specs_support/utils.js b/libs/specs_support/utils.js deleted file mode 100644 index ed9f37a..0000000 --- a/libs/specs_support/utils.js +++ /dev/null @@ -1,23 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = void 0; - -var _testUtils = _interopRequireDefault(require("react-dom/test-utils")); - -var _lodash = _interopRequireDefault(require("lodash")); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } - -var _default = { - findTextField: function findTextField(textFields, labelText) { - return _lodash["default"].find(textFields, function (field) { - var label = _testUtils["default"].findRenderedDOMComponentWithTag(field, 'label'); - - return label.getDOMNode().textContent.toLowerCase() === labelText; - }); - } -}; -exports["default"] = _default; \ No newline at end of file diff --git a/libs/store/configure_store.d.ts b/libs/store/configure_store.d.ts deleted file mode 100644 index 4d01fc5..0000000 --- a/libs/store/configure_store.d.ts +++ /dev/null @@ -1 +0,0 @@ -export default function _default(initialState: any, rootReducer: any, middleware: any): any; diff --git a/libs/store/configure_store.js b/libs/store/configure_store.js deleted file mode 100644 index 20207cb..0000000 --- a/libs/store/configure_store.js +++ /dev/null @@ -1,28 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports["default"] = _default; - -var _redux = require("redux"); - -function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } - -function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } - -function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } - -function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } - -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } - -function _default(initialState, rootReducer, middleware) { - var enhancers = [_redux.applyMiddleware.apply(void 0, _toConsumableArray(middleware))]; - - var store = _redux.compose.apply(void 0, enhancers)(_redux.createStore)(rootReducer, initialState); - - return store; -} \ No newline at end of file diff --git a/libs/types.d.js b/libs/types.d.js deleted file mode 100644 index 9a390c3..0000000 --- a/libs/types.d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict"; \ No newline at end of file diff --git a/package.json b/package.json index 2d4ba7a..e5e79e1 100644 --- a/package.json +++ b/package.json @@ -69,6 +69,7 @@ "@storybook/addon-links": "^6.2.9", "@storybook/react": "^6.2.9", "@testing-library/react": "^11.2.7", + "@tippyjs/react": "^4.2.5", "@types/jest": "^26.0.23", "@types/node-sass": "^4.11.1", "@types/react": "^17.0.11", @@ -86,6 +87,7 @@ "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^3.0.0", + "i18next": "^20.3.2", "jest": "^25.3.0", "lodash": "^4.17.15", "mime": "^2.4.4", @@ -93,6 +95,7 @@ "npm-run-all": "^4.1.5", "prop-types": "^15.7.2", "react": "^16.13.1", + "react-aria-live": "^2.0.5", "react-docgen-typescript": "^2.0.0", "react-dom": "^16.13.1", "react-redux": "^7.2.0", diff --git a/src/components/SortableHeader/index.stories.tsx b/src/components/SortableHeader/index.story-construction similarity index 96% rename from src/components/SortableHeader/index.stories.tsx rename to src/components/SortableHeader/index.story-construction index d47e8e2..044882e 100644 --- a/src/components/SortableHeader/index.stories.tsx +++ b/src/components/SortableHeader/index.story-construction @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { Story, Meta } from '@storybook/react'; -import StoryWrapper from '../_StoryWrapper'; +import StoryWrapper from '../StoryWrapper'; import SortableHeader, { Props, SortDirection } from '.'; export default { diff --git a/src/components/SortableHeader/index.tsx b/src/components/SortableHeader/index.tsx index 514a0a6..7561268 100644 --- a/src/components/SortableHeader/index.tsx +++ b/src/components/SortableHeader/index.tsx @@ -1,11 +1,11 @@ import React, { useState, useRef, useEffect } from 'react'; import i18n from 'i18next'; - +import { SortDirection } from '../Table'; import Tooltip from '../common/tooltip'; -import withLiveMessenger from '../common/with_live_messanger'; +import withLiveMessenger from '../common/with-live-messenger'; import { getID } from './utils'; -import './styles.scss'; +import './styles.css'; const ID = getID(); const eatClick = (e: any) => { @@ -15,18 +15,6 @@ const eatClick = (e: any) => { return false; }; -export enum Filter { - createdAt = 'CREATED_AT', - dueAt = 'DUE_AT', - name = 'NAME', - completed = 'COMPLETED', -} - -export enum SortDirection { - Asc = 'ASC', - Desc = 'DESC', -} - export interface Props { children: React.ReactNode, rowSpan: number, @@ -136,7 +124,7 @@ function SortableHeader(props: Props) { function sortClassName() { if (!isCurrentPath) return ''; - return currentDirection === SortDirection.Asc ? 'is-asc' : 'is-desc'; + return currentDirection === SortDirection.asc ? 'is-asc' : 'is-desc'; } function getTooltip() { @@ -159,9 +147,9 @@ function SortableHeader(props: Props) { } function invertSort() { - return currentDirection === SortDirection.Asc - ? SortDirection.Desc - : SortDirection.Asc; + return currentDirection === SortDirection.asc + ? SortDirection.desc + : SortDirection.asc; } const sortClick = (e: any) => { @@ -169,11 +157,11 @@ function SortableHeader(props: Props) { const { announceAssertive: announce } = props; e.stopPropagation(); - const sortDirection = isCurrentPath() ? invertSort() : SortDirection.Asc; + const sortDirection = isCurrentPath() ? invertSort() : SortDirection.asc; announce( i18n.t('Sorting by {{name}}, {{direction}}', { name: ariaName, - direction: sortDirection === SortDirection.Asc ? 'ascending' : 'descending', + direction: sortDirection === SortDirection.asc ? 'ascending' : 'descending', }), ); onSort(sortDirection, sortPath); @@ -198,13 +186,13 @@ function SortableHeader(props: Props) { aria-label={`Sort by ${ariaName}`} >