@pie-element/ebsr 11.0.0 → 12.0.1-esmbeta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/configure/CHANGELOG.md +8 -0
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +1972 -0
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +4186 -0
- package/configure/node_modules/@pie-element/multiple-choice/LICENSE.md +5 -0
- package/configure/node_modules/@pie-element/multiple-choice/PRINT.md +35 -0
- package/configure/node_modules/@pie-element/multiple-choice/README.md +56 -0
- package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +1387 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +3332 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +202 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +248 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +597 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js +18 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +20 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +527 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +2297 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +34 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +346 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +28 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +15 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +2993 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +2217 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +8 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +61 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +7 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +1332 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +1015 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/configure.css +847 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/configure.js +1218 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/configure.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/controller.css +847 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/controller.js +324 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/controller.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/element.css +847 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/element.js +3287 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/element.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/print.css +847 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/print.js +3017 -0
- package/configure/node_modules/@pie-element/multiple-choice/esm/print.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +427 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js +252 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +174 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +388 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +108 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +469 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/print.js +129 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/print.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +48 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/module/configure.js +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/module/controller.js +3472 -0
- package/configure/node_modules/@pie-element/multiple-choice/module/demo.js +86 -0
- package/configure/node_modules/@pie-element/multiple-choice/module/element.js +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/module/index.html +21 -0
- package/configure/node_modules/@pie-element/multiple-choice/module/index.js +2 -0
- package/configure/node_modules/@pie-element/multiple-choice/module/manifest.json +10 -0
- package/configure/node_modules/@pie-element/multiple-choice/module/print-demo.js +124 -0
- package/configure/node_modules/@pie-element/multiple-choice/module/print.html +18 -0
- package/configure/node_modules/@pie-element/multiple-choice/module/print.js +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/package.json +53 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/CHANGELOG.md +898 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/NEXT.CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/esm/index.js +262 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/esm/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/expander.js +88 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/expander.js.map +1 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/index.js +181 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/styles.js +66 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/styles.js.map +1 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/package.json +44 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/src/__tests__/index.test.jsx +99 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/src/expander.jsx +61 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/src/index.jsx +98 -0
- package/configure/node_modules/@pie-lib/correct-answer-toggle/src/styles.js +61 -0
- package/configure/node_modules/@pie-lib/icons/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/icons/CHANGELOG.md +539 -0
- package/configure/node_modules/@pie-lib/icons/NEXT.CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/icons/esm/index.js +1153 -0
- package/configure/node_modules/@pie-lib/icons/esm/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/correct-icon.js +89 -0
- package/configure/node_modules/@pie-lib/icons/lib/correct-icon.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/correct-response-icon.js +153 -0
- package/configure/node_modules/@pie-lib/icons/lib/correct-response-icon.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/icon-base.js +206 -0
- package/configure/node_modules/@pie-lib/icons/lib/icon-base.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/icon-root.js +130 -0
- package/configure/node_modules/@pie-lib/icons/lib/icon-root.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/incorrect-icon.js +92 -0
- package/configure/node_modules/@pie-lib/icons/lib/incorrect-icon.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/index.js +72 -0
- package/configure/node_modules/@pie-lib/icons/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/instructions-icon.js +229 -0
- package/configure/node_modules/@pie-lib/icons/lib/instructions-icon.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/learn-more-icon.js +145 -0
- package/configure/node_modules/@pie-lib/icons/lib/learn-more-icon.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/nothing-submitted-icon.js +183 -0
- package/configure/node_modules/@pie-lib/icons/lib/nothing-submitted-icon.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/partially-correct-icon.js +82 -0
- package/configure/node_modules/@pie-lib/icons/lib/partially-correct-icon.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/show-rationale-icon.js +206 -0
- package/configure/node_modules/@pie-lib/icons/lib/show-rationale-icon.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/lib/sized.js +41 -0
- package/configure/node_modules/@pie-lib/icons/lib/sized.js.map +1 -0
- package/configure/node_modules/@pie-lib/icons/package.json +35 -0
- package/configure/node_modules/@pie-lib/icons/src/__tests__/index.test.js +3 -0
- package/configure/node_modules/@pie-lib/icons/src/correct-icon.jsx +64 -0
- package/configure/node_modules/@pie-lib/icons/src/correct-response-icon.jsx +121 -0
- package/configure/node_modules/@pie-lib/icons/src/icon-base.jsx +158 -0
- package/configure/node_modules/@pie-lib/icons/src/icon-root.jsx +76 -0
- package/configure/node_modules/@pie-lib/icons/src/incorrect-icon.jsx +61 -0
- package/configure/node_modules/@pie-lib/icons/src/index.js +19 -0
- package/configure/node_modules/@pie-lib/icons/src/instructions-icon.jsx +189 -0
- package/configure/node_modules/@pie-lib/icons/src/learn-more-icon.jsx +107 -0
- package/configure/node_modules/@pie-lib/icons/src/nothing-submitted-icon.jsx +130 -0
- package/configure/node_modules/@pie-lib/icons/src/partially-correct-icon.jsx +49 -0
- package/configure/node_modules/@pie-lib/icons/src/show-rationale-icon.jsx +152 -0
- package/configure/node_modules/@pie-lib/icons/src/sized.jsx +25 -0
- package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.md +775 -0
- package/configure/node_modules/@pie-lib/math-rendering/NEXT.CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/math-rendering/esm/index.js +690 -0
- package/configure/node_modules/@pie-lib/math-rendering/esm/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/index.js +38 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/mml-to-latex.js +15 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/mml-to-latex.js.map +1 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js +296 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js.map +1 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js +23 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js +109 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js.map +1 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js +95 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js.map +1 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js +438 -0
- package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js.map +1 -0
- package/configure/node_modules/@pie-lib/math-rendering/package.json +28 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/__tests__/mml-to-latex.test.js +14 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/__tests__/normalization.test.js +50 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/__tests__/render-math.test.js +155 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/index.js +5 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/mml-to-latex.js +2 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/mstack/__tests__/__snapshots__/chtml.test.js.snap +9 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/mstack/__tests__/chtml.test.js +104 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/mstack/chtml.js +220 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/mstack/index.js +13 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/mstack/mml.js +24 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/normalization.js +69 -0
- package/configure/node_modules/@pie-lib/math-rendering/src/render-math.js +387 -0
- package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.md +1026 -0
- package/configure/node_modules/@pie-lib/render-ui/NEXT.CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/render-ui/esm/index.js +1616 -0
- package/configure/node_modules/@pie-lib/render-ui/esm/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/append-css-rules.js +88 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/append-css-rules.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/assets/enableAudioAutoplayImage.js +9 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/assets/enableAudioAutoplayImage.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js +135 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/color.js +344 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/color.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js +150 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/has-media.js +27 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/has-media.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js +28 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js +74 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/index.js +136 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js +60 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js +145 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js +321 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js +28 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/readable.js +28 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/readable.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js +151 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/ui-layout.js +122 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/ui-layout.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js +181 -0
- package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js.map +1 -0
- package/configure/node_modules/@pie-lib/render-ui/package.json +40 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/html-and-math.test.js.snap +11 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/preview-prompt.test.jsx.snap +37 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/purpose.test.jsx.snap +42 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/readable.test.jsx.snap +64 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/response-indicators.test.jsx.snap +27 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/color.test.js +12 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/has-media.test.js +20 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/has-text.test.js +21 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/html-and-math.test.js +24 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/preview-prompt.test.jsx +56 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/purpose.test.jsx +47 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/readable.test.jsx +64 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/response-indicators.test.jsx +16 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/ui-layout.test.jsx +34 -0
- package/configure/node_modules/@pie-lib/render-ui/src/__tests__/withUndoReset.test.jsx +254 -0
- package/configure/node_modules/@pie-lib/render-ui/src/append-css-rules.js +51 -0
- package/configure/node_modules/@pie-lib/render-ui/src/assets/enableAudioAutoplayImage.js +1 -0
- package/configure/node_modules/@pie-lib/render-ui/src/collapsible/__tests__/__snapshots__/index.test.jsx.snap +18 -0
- package/configure/node_modules/@pie-lib/render-ui/src/collapsible/__tests__/index.test.jsx +13 -0
- package/configure/node_modules/@pie-lib/render-ui/src/collapsible/index.jsx +64 -0
- package/configure/node_modules/@pie-lib/render-ui/src/color.js +121 -0
- package/configure/node_modules/@pie-lib/render-ui/src/feedback.jsx +99 -0
- package/configure/node_modules/@pie-lib/render-ui/src/has-media.js +16 -0
- package/configure/node_modules/@pie-lib/render-ui/src/has-text.js +18 -0
- package/configure/node_modules/@pie-lib/render-ui/src/html-and-math.js +21 -0
- package/configure/node_modules/@pie-lib/render-ui/src/index.js +35 -0
- package/configure/node_modules/@pie-lib/render-ui/src/input-container.jsx +41 -0
- package/configure/node_modules/@pie-lib/render-ui/src/preview-layout.jsx +95 -0
- package/configure/node_modules/@pie-lib/render-ui/src/preview-prompt.jsx +254 -0
- package/configure/node_modules/@pie-lib/render-ui/src/purpose.jsx +17 -0
- package/configure/node_modules/@pie-lib/render-ui/src/readable.jsx +19 -0
- package/configure/node_modules/@pie-lib/render-ui/src/response-indicators.jsx +89 -0
- package/configure/node_modules/@pie-lib/render-ui/src/ui-layout.jsx +66 -0
- package/configure/node_modules/@pie-lib/render-ui/src/withUndoReset.jsx +116 -0
- package/configure/node_modules/@pie-lib/test-utils/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/test-utils/CHANGELOG.md +410 -0
- package/configure/node_modules/@pie-lib/test-utils/NEXT.CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/test-utils/esm/index.js +39 -0
- package/configure/node_modules/@pie-lib/test-utils/esm/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/test-utils/lib/index.js +40 -0
- package/configure/node_modules/@pie-lib/test-utils/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/test-utils/package.json +25 -0
- package/configure/node_modules/@pie-lib/test-utils/src/__tests__/index.test.js +45 -0
- package/configure/node_modules/@pie-lib/test-utils/src/index.js +18 -0
- package/configure/node_modules/@pie-lib/translator/CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/translator/CHANGELOG.md +282 -0
- package/configure/node_modules/@pie-lib/translator/NEXT.CHANGELOG.json +1 -0
- package/configure/node_modules/@pie-lib/translator/esm/index.js +257 -0
- package/configure/node_modules/@pie-lib/translator/esm/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/translator/lib/en.js +102 -0
- package/configure/node_modules/@pie-lib/translator/lib/en.js.map +1 -0
- package/configure/node_modules/@pie-lib/translator/lib/es.js +102 -0
- package/configure/node_modules/@pie-lib/translator/lib/es.js.map +1 -0
- package/configure/node_modules/@pie-lib/translator/lib/index.js +69 -0
- package/configure/node_modules/@pie-lib/translator/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-lib/translator/package.json +25 -0
- package/configure/node_modules/@pie-lib/translator/src/en.js +99 -0
- package/configure/node_modules/@pie-lib/translator/src/es.js +99 -0
- package/configure/node_modules/@pie-lib/translator/src/index.js +43 -0
- package/configure/package.json +3 -3
- package/controller/CHANGELOG.md +8 -0
- package/controller/package.json +3 -3
- package/esm/configure.js +40550 -0
- package/esm/configure.js.map +1 -0
- package/esm/controller.js +3358 -0
- package/esm/controller.js.map +1 -0
- package/esm/element.js +2203 -0
- package/esm/element.js.map +1 -0
- package/esm/package.json +4 -0
- package/esm/print.js +4090 -0
- package/esm/print.js.map +1 -0
- package/module/controller.js +4973 -2252
- package/module/element.js +1 -1
- package/module/index.html +1 -1
- package/module/manifest.json +1 -1
- package/module/print.html +1 -1
- package/module/print.js +1 -1
- package/package.json +24 -6
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = exports.LearnMore = void 0;
|
|
9
|
+
|
|
10
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
|
|
12
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
|
+
|
|
14
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
+
|
|
16
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
17
|
+
|
|
18
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
19
|
+
|
|
20
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
21
|
+
|
|
22
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
23
|
+
|
|
24
|
+
var _react = _interopRequireDefault(require("react"));
|
|
25
|
+
|
|
26
|
+
var _styles = require("@material-ui/core/styles");
|
|
27
|
+
|
|
28
|
+
var _sized = _interopRequireDefault(require("./sized"));
|
|
29
|
+
|
|
30
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
31
|
+
|
|
32
|
+
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; } }
|
|
33
|
+
|
|
34
|
+
var Glint = function Glint(_ref) {
|
|
35
|
+
var fill = _ref.fill;
|
|
36
|
+
return /*#__PURE__*/_react["default"].createElement("path", {
|
|
37
|
+
fill: fill,
|
|
38
|
+
d: "M-130.4,142.1c0-2.1,1.7-3.9,3.9-3.9c0.3,0,0.5,0,0.8,0.1c-0.6-0.8-1.5-1.3-2.6-1.3c-1.8,0-3.3,1.5-3.3,3.3c0,1.1,0.5,2,1.3,2.6C-130.4,142.6-130.4,142.4-130.4,142.1z"
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
Glint.propTypes = {
|
|
43
|
+
fill: _propTypes["default"].string
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
var LearnMore = /*#__PURE__*/function (_React$Component) {
|
|
47
|
+
(0, _inherits2["default"])(LearnMore, _React$Component);
|
|
48
|
+
|
|
49
|
+
var _super = _createSuper(LearnMore);
|
|
50
|
+
|
|
51
|
+
function LearnMore() {
|
|
52
|
+
(0, _classCallCheck2["default"])(this, LearnMore);
|
|
53
|
+
return _super.apply(this, arguments);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
(0, _createClass2["default"])(LearnMore, [{
|
|
57
|
+
key: "render",
|
|
58
|
+
value: function render() {
|
|
59
|
+
var _this$props = this.props,
|
|
60
|
+
classes = _this$props.classes,
|
|
61
|
+
size = _this$props.size;
|
|
62
|
+
|
|
63
|
+
if (this.props.open === true) {
|
|
64
|
+
return /*#__PURE__*/_react["default"].createElement(_sized["default"], {
|
|
65
|
+
size: size
|
|
66
|
+
}, /*#__PURE__*/_react["default"].createElement("svg", {
|
|
67
|
+
preserveAspectRatio: "xMinYMin meet",
|
|
68
|
+
viewBox: "-135 129 16 32"
|
|
69
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
70
|
+
className: classes.hideBg,
|
|
71
|
+
d: "M-122,141.1c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.8,144.7-122,143-122,141.1z"
|
|
72
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
73
|
+
className: classes.hideBg,
|
|
74
|
+
d: "M-125.7,153h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.9,152.7-125.2,153-125.7,153z"
|
|
75
|
+
}), /*#__PURE__*/_react["default"].createElement(Glint, {
|
|
76
|
+
fill: classes.hideFg.fill
|
|
77
|
+
})));
|
|
78
|
+
} else {
|
|
79
|
+
return /*#__PURE__*/_react["default"].createElement(_sized["default"], {
|
|
80
|
+
size: size
|
|
81
|
+
}, /*#__PURE__*/_react["default"].createElement("svg", {
|
|
82
|
+
preserveAspectRatio: "xMinYMin meet",
|
|
83
|
+
viewBox: "-135 129 16 31"
|
|
84
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
85
|
+
fill: "#D0CAC5",
|
|
86
|
+
stroke: "#E6E3E0",
|
|
87
|
+
className: "st0",
|
|
88
|
+
d: "M-120.7,142.4c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-121.6,146-120.7,144.3-120.7,142.4z"
|
|
89
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
90
|
+
fill: "#D0CAC5",
|
|
91
|
+
stroke: "#E6E3E0",
|
|
92
|
+
className: "st0",
|
|
93
|
+
d: "M-124.4,154.3h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-123.6,153.9-123.9,154.3-124.4,154.3z"
|
|
94
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
95
|
+
fill: "#B3ABA4",
|
|
96
|
+
stroke: "#CDC7C2",
|
|
97
|
+
className: "st1",
|
|
98
|
+
d: "M-121.3,141.8c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.2,145.3-121.3,143.7-121.3,141.8z"
|
|
99
|
+
}), ",", /*#__PURE__*/_react["default"].createElement("path", {
|
|
100
|
+
fill: "#B3ABA4",
|
|
101
|
+
stroke: "#CDC7C2",
|
|
102
|
+
className: "st1",
|
|
103
|
+
d: "M-125,153.7h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.2,153.3-124.6,153.7-125,153.7z"
|
|
104
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
105
|
+
className: classes.showBg,
|
|
106
|
+
d: "M-122,141.1c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.8,144.7-122,143-122,141.1z"
|
|
107
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
108
|
+
className: classes.showBg,
|
|
109
|
+
d: "M-125.7,153h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.9,152.7-125.2,153-125.7,153z"
|
|
110
|
+
}), /*#__PURE__*/_react["default"].createElement(Glint, {
|
|
111
|
+
fill: classes.hideFg.fill
|
|
112
|
+
})));
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}]);
|
|
116
|
+
return LearnMore;
|
|
117
|
+
}(_react["default"].Component);
|
|
118
|
+
|
|
119
|
+
exports.LearnMore = LearnMore;
|
|
120
|
+
(0, _defineProperty2["default"])(LearnMore, "propTypes", {
|
|
121
|
+
classes: _propTypes["default"].object.isRequired,
|
|
122
|
+
size: _propTypes["default"].number
|
|
123
|
+
});
|
|
124
|
+
var styles = {
|
|
125
|
+
showBg: {
|
|
126
|
+
fill: '#1a9cff'
|
|
127
|
+
},
|
|
128
|
+
hideFg: {
|
|
129
|
+
fill: '#1a9cff'
|
|
130
|
+
},
|
|
131
|
+
hideBg: {
|
|
132
|
+
fill: '#bce2ff'
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
LearnMore.propTypes = {
|
|
136
|
+
open: _propTypes["default"].bool
|
|
137
|
+
};
|
|
138
|
+
LearnMore.defaultProps = {
|
|
139
|
+
open: false
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
var _default = (0, _styles.withStyles)(styles)(LearnMore);
|
|
143
|
+
|
|
144
|
+
exports["default"] = _default;
|
|
145
|
+
//# sourceMappingURL=learn-more-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/learn-more-icon.jsx"],"names":["Glint","fill","propTypes","PropTypes","string","LearnMore","props","classes","size","open","hideBg","hideFg","showBg","React","Component","object","isRequired","number","styles","bool","defaultProps"],"mappings":"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","sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport Sized from './sized';\n\nconst Glint = ({ fill }) => (\n <path\n fill={fill}\n d=\"M-130.4,142.1c0-2.1,1.7-3.9,3.9-3.9c0.3,0,0.5,0,0.8,0.1c-0.6-0.8-1.5-1.3-2.6-1.3c-1.8,0-3.3,1.5-3.3,3.3c0,1.1,0.5,2,1.3,2.6C-130.4,142.6-130.4,142.4-130.4,142.1z\"\n />\n);\n\nGlint.propTypes = {\n fill: PropTypes.string,\n};\n\nexport class LearnMore extends React.Component {\n static propTypes = {\n classes: PropTypes.object.isRequired,\n size: PropTypes.number,\n };\n\n render() {\n const { classes, size } = this.props;\n\n if (this.props.open === true) {\n return (\n <Sized size={size}>\n <svg preserveAspectRatio=\"xMinYMin meet\" viewBox=\"-135 129 16 32\">\n <path\n className={classes.hideBg}\n d=\"M-122,141.1c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.8,144.7-122,143-122,141.1z\"\n />\n <path\n className={classes.hideBg}\n d=\"M-125.7,153h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.9,152.7-125.2,153-125.7,153z\"\n />\n <Glint fill={classes.hideFg.fill} />\n </svg>\n </Sized>\n );\n } else {\n return (\n <Sized size={size}>\n <svg preserveAspectRatio=\"xMinYMin meet\" viewBox=\"-135 129 16 31\">\n <path\n fill=\"#D0CAC5\"\n stroke=\"#E6E3E0\"\n className=\"st0\"\n d=\"M-120.7,142.4c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-121.6,146-120.7,144.3-120.7,142.4z\"\n />\n <path\n fill=\"#D0CAC5\"\n stroke=\"#E6E3E0\"\n className=\"st0\"\n d=\"M-124.4,154.3h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-123.6,153.9-123.9,154.3-124.4,154.3z\"\n />\n <path\n fill=\"#B3ABA4\"\n stroke=\"#CDC7C2\"\n className=\"st1\"\n d=\"M-121.3,141.8c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.2,145.3-121.3,143.7-121.3,141.8z\"\n />\n ,\n <path\n fill=\"#B3ABA4\"\n stroke=\"#CDC7C2\"\n className=\"st1\"\n d=\"M-125,153.7h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.2,153.3-124.6,153.7-125,153.7z\"\n />\n <path\n className={classes.showBg}\n d=\"M-122,141.1c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.8,144.7-122,143-122,141.1z\"\n />\n <path\n className={classes.showBg}\n d=\"M-125.7,153h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.9,152.7-125.2,153-125.7,153z\"\n />\n <Glint fill={classes.hideFg.fill} />\n </svg>\n </Sized>\n );\n }\n }\n}\n\nconst styles = {\n showBg: {\n fill: '#1a9cff',\n },\n hideFg: {\n fill: '#1a9cff',\n },\n hideBg: {\n fill: '#bce2ff',\n },\n};\n\nLearnMore.propTypes = {\n open: PropTypes.bool,\n};\n\nLearnMore.defaultProps = {\n open: false,\n};\n\nexport default withStyles(styles)(LearnMore);\n"],"file":"learn-more-icon.js"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = exports.NothingSubmitted = void 0;
|
|
9
|
+
|
|
10
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
|
|
12
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
|
+
|
|
14
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
+
|
|
16
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
17
|
+
|
|
18
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
19
|
+
|
|
20
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
21
|
+
|
|
22
|
+
var _iconRoot = require("./icon-root");
|
|
23
|
+
|
|
24
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
25
|
+
|
|
26
|
+
var _react = _interopRequireDefault(require("react"));
|
|
27
|
+
|
|
28
|
+
var _styles = require("@material-ui/core/styles");
|
|
29
|
+
|
|
30
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
31
|
+
|
|
32
|
+
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; } }
|
|
33
|
+
|
|
34
|
+
var Exclamation = function Exclamation(_ref) {
|
|
35
|
+
var className = _ref.className;
|
|
36
|
+
return /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
37
|
+
x: "19.3",
|
|
38
|
+
y: "10.3",
|
|
39
|
+
className: className,
|
|
40
|
+
width: "4.5",
|
|
41
|
+
height: "12.7"
|
|
42
|
+
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
43
|
+
x: "19.3",
|
|
44
|
+
y: "26.2",
|
|
45
|
+
className: className,
|
|
46
|
+
width: "4.5",
|
|
47
|
+
height: "4.5"
|
|
48
|
+
}));
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
var Octagon = function Octagon(_ref2) {
|
|
52
|
+
var className = _ref2.className;
|
|
53
|
+
return /*#__PURE__*/_react["default"].createElement("polygon", {
|
|
54
|
+
className: className,
|
|
55
|
+
points: "14.8,4.5 5.6,13.8 5.6,27 14.8,36.5 28.1,36.5 37.6,27 37.6,13.8 28.1,4.5"
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
var Emoji = function Emoji(_ref3) {
|
|
60
|
+
var className = _ref3.className;
|
|
61
|
+
return /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
62
|
+
x: "23.8",
|
|
63
|
+
y: "15",
|
|
64
|
+
className: className,
|
|
65
|
+
width: "3.5",
|
|
66
|
+
height: "4.4"
|
|
67
|
+
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
68
|
+
x: "16",
|
|
69
|
+
y: "15",
|
|
70
|
+
className: className,
|
|
71
|
+
width: "3.5",
|
|
72
|
+
height: "4.4"
|
|
73
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
74
|
+
className: className,
|
|
75
|
+
d: "M24.2,27.1h-5.1c-0.8,0-1.5-0.7-1.5-1.5v0c0-0.8,0.7-1.5,1.5-1.5h5.1c0.8,0,1.5,0.7,1.5,1.5v0 C25.7,26.4,25,27.1,24.2,27.1z"
|
|
76
|
+
}));
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
Emoji.propTypes = Octagon.propTypes = Exclamation.propTypes = {
|
|
80
|
+
className: _propTypes["default"].string
|
|
81
|
+
};
|
|
82
|
+
var styles = (0, _iconRoot.getStyles)('nothing-submitted', 'white', '#464146');
|
|
83
|
+
|
|
84
|
+
var NothingSubmitted = /*#__PURE__*/function (_React$Component) {
|
|
85
|
+
(0, _inherits2["default"])(NothingSubmitted, _React$Component);
|
|
86
|
+
|
|
87
|
+
var _super = _createSuper(NothingSubmitted);
|
|
88
|
+
|
|
89
|
+
function NothingSubmitted(props) {
|
|
90
|
+
var _this;
|
|
91
|
+
|
|
92
|
+
(0, _classCallCheck2["default"])(this, NothingSubmitted);
|
|
93
|
+
_this = _super.call(this, props);
|
|
94
|
+
var classes = _this.props.classes;
|
|
95
|
+
_this.icons = {
|
|
96
|
+
check: /*#__PURE__*/_react["default"].createElement(_iconRoot.IconRoot, null, /*#__PURE__*/_react["default"].createElement(Octagon, {
|
|
97
|
+
className: classes.bg
|
|
98
|
+
}), /*#__PURE__*/_react["default"].createElement(Exclamation, {
|
|
99
|
+
className: classes.fg
|
|
100
|
+
})),
|
|
101
|
+
emoji: /*#__PURE__*/_react["default"].createElement(_iconRoot.IconRoot, null, /*#__PURE__*/_react["default"].createElement(Octagon, {
|
|
102
|
+
className: classes.bg
|
|
103
|
+
}), /*#__PURE__*/_react["default"].createElement(Emoji, {
|
|
104
|
+
className: classes.fg
|
|
105
|
+
})),
|
|
106
|
+
feedback: {
|
|
107
|
+
check: /*#__PURE__*/_react["default"].createElement(_iconRoot.IconRoot, null, /*#__PURE__*/_react["default"].createElement(Octagon, {
|
|
108
|
+
className: classes.bg
|
|
109
|
+
}), /*#__PURE__*/_react["default"].createElement(Emoji, {
|
|
110
|
+
className: classes.fg
|
|
111
|
+
})),
|
|
112
|
+
emoji: /*#__PURE__*/_react["default"].createElement(_iconRoot.IconRoot, null, /*#__PURE__*/_react["default"].createElement(Octagon, {
|
|
113
|
+
className: classes.bg
|
|
114
|
+
}), /*#__PURE__*/_react["default"].createElement(Emoji, {
|
|
115
|
+
className: classes.fg
|
|
116
|
+
})),
|
|
117
|
+
square: {
|
|
118
|
+
check: /*#__PURE__*/_react["default"].createElement(_iconRoot.IconRoot, null, /*#__PURE__*/_react["default"].createElement(Octagon, {
|
|
119
|
+
className: classes.bg
|
|
120
|
+
}), /*#__PURE__*/_react["default"].createElement(Exclamation, {
|
|
121
|
+
className: classes.fg
|
|
122
|
+
})),
|
|
123
|
+
emoji: /*#__PURE__*/_react["default"].createElement(_iconRoot.IconRoot, null, /*#__PURE__*/_react["default"].createElement(Octagon, {
|
|
124
|
+
className: classes.bg
|
|
125
|
+
}), /*#__PURE__*/_react["default"].createElement(Emoji, {
|
|
126
|
+
className: classes.fg
|
|
127
|
+
})),
|
|
128
|
+
open: {
|
|
129
|
+
check: /*#__PURE__*/_react["default"].createElement(_iconRoot.IconRoot, null, /*#__PURE__*/_react["default"].createElement(Exclamation, {
|
|
130
|
+
className: classes.bg
|
|
131
|
+
})),
|
|
132
|
+
emoji: /*#__PURE__*/_react["default"].createElement(_iconRoot.IconRoot, null, /*#__PURE__*/_react["default"].createElement(Emoji, {
|
|
133
|
+
className: classes.bg
|
|
134
|
+
}))
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
return _this;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
(0, _createClass2["default"])(NothingSubmitted, [{
|
|
143
|
+
key: "render",
|
|
144
|
+
value: function render() {
|
|
145
|
+
if (this.props.category === undefined) {
|
|
146
|
+
return this.icons[this.props.iconSet];
|
|
147
|
+
} else {
|
|
148
|
+
if (this.props.shape === undefined) {
|
|
149
|
+
return this.icons.feedback[this.props.iconSet];
|
|
150
|
+
} else {
|
|
151
|
+
if (this.props.open === true) {
|
|
152
|
+
return this.icons.feedback.square.open[this.props.iconSet];
|
|
153
|
+
} else {
|
|
154
|
+
return this.icons.feedback.square[this.props.iconSet];
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}]);
|
|
160
|
+
return NothingSubmitted;
|
|
161
|
+
}(_react["default"].Component);
|
|
162
|
+
|
|
163
|
+
exports.NothingSubmitted = NothingSubmitted;
|
|
164
|
+
(0, _defineProperty2["default"])(NothingSubmitted, "propTypes", {
|
|
165
|
+
classes: _propTypes["default"].object.isRequired
|
|
166
|
+
});
|
|
167
|
+
NothingSubmitted.propTypes = {
|
|
168
|
+
iconSet: _propTypes["default"].oneOf(['emoji', 'check', undefined]),
|
|
169
|
+
shape: _propTypes["default"].oneOf(['square', undefined]),
|
|
170
|
+
category: _propTypes["default"].oneOf(['feedback', undefined]),
|
|
171
|
+
open: _propTypes["default"].bool
|
|
172
|
+
};
|
|
173
|
+
NothingSubmitted.defaultProps = {
|
|
174
|
+
iconSet: 'check',
|
|
175
|
+
shape: undefined,
|
|
176
|
+
category: undefined,
|
|
177
|
+
open: false
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
var _default = (0, _styles.withStyles)(styles)(NothingSubmitted);
|
|
181
|
+
|
|
182
|
+
exports["default"] = _default;
|
|
183
|
+
//# sourceMappingURL=nothing-submitted-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/nothing-submitted-icon.jsx"],"names":["Exclamation","className","Octagon","Emoji","propTypes","PropTypes","string","styles","NothingSubmitted","props","classes","icons","check","bg","fg","emoji","feedback","square","open","category","undefined","iconSet","shape","React","Component","object","isRequired","oneOf","bool","defaultProps"],"mappings":"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","sourcesContent":["import { IconRoot, getStyles } from './icon-root';\n\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\n\nconst Exclamation = ({ className }) => (\n <g>\n <rect x=\"19.3\" y=\"10.3\" className={className} width=\"4.5\" height=\"12.7\" />\n <rect x=\"19.3\" y=\"26.2\" className={className} width=\"4.5\" height=\"4.5\" />\n </g>\n);\n\nconst Octagon = ({ className }) => (\n <polygon className={className} points=\"14.8,4.5 5.6,13.8 5.6,27 14.8,36.5 28.1,36.5 37.6,27 37.6,13.8 28.1,4.5\" />\n);\n\nconst Emoji = ({ className }) => (\n <g>\n <rect x=\"23.8\" y=\"15\" className={className} width=\"3.5\" height=\"4.4\" />\n <rect x=\"16\" y=\"15\" className={className} width=\"3.5\" height=\"4.4\" />\n <path\n className={className}\n d=\"M24.2,27.1h-5.1c-0.8,0-1.5-0.7-1.5-1.5v0c0-0.8,0.7-1.5,1.5-1.5h5.1c0.8,0,1.5,0.7,1.5,1.5v0\n C25.7,26.4,25,27.1,24.2,27.1z\"\n />\n </g>\n);\n\nEmoji.propTypes = Octagon.propTypes = Exclamation.propTypes = {\n className: PropTypes.string,\n};\nconst styles = getStyles('nothing-submitted', 'white', '#464146');\n\nexport class NothingSubmitted extends React.Component {\n static propTypes = {\n classes: PropTypes.object.isRequired,\n };\n\n constructor(props) {\n super(props);\n const { classes } = this.props;\n this.icons = {\n check: (\n <IconRoot>\n <Octagon className={classes.bg} />\n <Exclamation className={classes.fg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot>\n <Octagon className={classes.bg} />\n <Emoji className={classes.fg} />\n </IconRoot>\n ),\n feedback: {\n check: (\n <IconRoot>\n <Octagon className={classes.bg} />\n <Emoji className={classes.fg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot>\n <Octagon className={classes.bg} />\n <Emoji className={classes.fg} />\n </IconRoot>\n ),\n square: {\n check: (\n <IconRoot>\n <Octagon className={classes.bg} />\n <Exclamation className={classes.fg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot>\n <Octagon className={classes.bg} />\n <Emoji className={classes.fg} />\n </IconRoot>\n ),\n open: {\n check: (\n <IconRoot>\n <Exclamation className={classes.bg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot>\n <Emoji className={classes.bg} />\n </IconRoot>\n ),\n },\n },\n },\n };\n }\n\n render() {\n if (this.props.category === undefined) {\n return this.icons[this.props.iconSet];\n } else {\n if (this.props.shape === undefined) {\n return this.icons.feedback[this.props.iconSet];\n } else {\n if (this.props.open === true) {\n return this.icons.feedback.square.open[this.props.iconSet];\n } else {\n return this.icons.feedback.square[this.props.iconSet];\n }\n }\n }\n }\n}\n\nNothingSubmitted.propTypes = {\n iconSet: PropTypes.oneOf(['emoji', 'check', undefined]),\n shape: PropTypes.oneOf(['square', undefined]),\n category: PropTypes.oneOf(['feedback', undefined]),\n open: PropTypes.bool,\n};\n\nNothingSubmitted.defaultProps = {\n iconSet: 'check',\n shape: undefined,\n category: undefined,\n open: false,\n};\n\nexport default withStyles(styles)(NothingSubmitted);\n"],"file":"nothing-submitted-icon.js"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = exports.PartiallyCorrect = void 0;
|
|
9
|
+
|
|
10
|
+
var _iconBase = _interopRequireDefault(require("./icon-base"));
|
|
11
|
+
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
+
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
|
|
16
|
+
var _iconRoot = require("./icon-root");
|
|
17
|
+
|
|
18
|
+
var _styles = require("@material-ui/core/styles");
|
|
19
|
+
|
|
20
|
+
var styles = (0, _iconRoot.getStyles)('partially-correct', '#4aaf46', '#c1e1ac');
|
|
21
|
+
|
|
22
|
+
var Check = function Check(_ref) {
|
|
23
|
+
var className = _ref.className;
|
|
24
|
+
return /*#__PURE__*/_react["default"].createElement("g", {
|
|
25
|
+
transform: 'translate(0, 0)'
|
|
26
|
+
}, /*#__PURE__*/_react["default"].createElement("polygon", {
|
|
27
|
+
className: className,
|
|
28
|
+
points: "27.5,13.4 23.9,11.4 15.9,25.8 19.1,28.6"
|
|
29
|
+
}), /*#__PURE__*/_react["default"].createElement("polygon", {
|
|
30
|
+
className: className,
|
|
31
|
+
points: "16.2,20.6 14.4,19.2 11.8,22.3 14.1,24.3"
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var Emoji = function Emoji(_ref2) {
|
|
36
|
+
var className = _ref2.className;
|
|
37
|
+
return /*#__PURE__*/_react["default"].createElement("g", {
|
|
38
|
+
transform: 'translate(2, 0)'
|
|
39
|
+
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
40
|
+
x: "20.6",
|
|
41
|
+
y: "11.8",
|
|
42
|
+
className: className,
|
|
43
|
+
width: "4",
|
|
44
|
+
height: "5"
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
46
|
+
x: "11.5",
|
|
47
|
+
y: "11.8",
|
|
48
|
+
className: className,
|
|
49
|
+
width: "4",
|
|
50
|
+
height: "5"
|
|
51
|
+
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
52
|
+
x: "10.9",
|
|
53
|
+
y: "22.9",
|
|
54
|
+
transform: "matrix(0.9794 -0.2019 0.2019 0.9794 -4.6237 4.1559)",
|
|
55
|
+
className: className,
|
|
56
|
+
width: "14.3",
|
|
57
|
+
height: "3.7"
|
|
58
|
+
}));
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
Emoji.propTypes = Check.propTypes = {
|
|
62
|
+
className: _propTypes["default"].string
|
|
63
|
+
};
|
|
64
|
+
var PartiallyCorrect = (0, _iconBase["default"])(Check, Emoji);
|
|
65
|
+
exports.PartiallyCorrect = PartiallyCorrect;
|
|
66
|
+
PartiallyCorrect.propTypes = {
|
|
67
|
+
iconSet: _propTypes["default"].oneOf(['emoji', 'check']),
|
|
68
|
+
shape: _propTypes["default"].oneOf(['round', 'square']),
|
|
69
|
+
category: _propTypes["default"].oneOf(['feedback', undefined]),
|
|
70
|
+
open: _propTypes["default"].bool
|
|
71
|
+
};
|
|
72
|
+
PartiallyCorrect.defaultProps = {
|
|
73
|
+
iconSet: 'check',
|
|
74
|
+
shape: 'round',
|
|
75
|
+
category: undefined,
|
|
76
|
+
open: false
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
var _default = (0, _styles.withStyles)(styles)(PartiallyCorrect);
|
|
80
|
+
|
|
81
|
+
exports["default"] = _default;
|
|
82
|
+
//# sourceMappingURL=partially-correct-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/partially-correct-icon.jsx"],"names":["styles","Check","className","Emoji","propTypes","PropTypes","string","PartiallyCorrect","iconSet","oneOf","shape","category","undefined","open","bool","defaultProps"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AAEA,IAAMA,MAAM,GAAG,yBAAU,mBAAV,EAA+B,SAA/B,EAA0C,SAA1C,CAAf;;AAEA,IAAMC,KAAK,GAAG,SAARA,KAAQ;AAAA,MAAGC,SAAH,QAAGA,SAAH;AAAA,sBACZ;AAAG,IAAA,SAAS,EAAE;AAAd,kBACE;AAAS,IAAA,SAAS,EAAEA,SAApB;AAA+B,IAAA,MAAM,EAAC;AAAtC,IADF,eAEE;AAAS,IAAA,SAAS,EAAEA,SAApB;AAA+B,IAAA,MAAM,EAAC;AAAtC,IAFF,CADY;AAAA,CAAd;;AAOA,IAAMC,KAAK,GAAG,SAARA,KAAQ;AAAA,MAAGD,SAAH,SAAGA,SAAH;AAAA,sBACZ;AAAG,IAAA,SAAS,EAAE;AAAd,kBACE;AAAM,IAAA,CAAC,EAAC,MAAR;AAAe,IAAA,CAAC,EAAC,MAAjB;AAAwB,IAAA,SAAS,EAAEA,SAAnC;AAA8C,IAAA,KAAK,EAAC,GAApD;AAAwD,IAAA,MAAM,EAAC;AAA/D,IADF,eAEE;AAAM,IAAA,CAAC,EAAC,MAAR;AAAe,IAAA,CAAC,EAAC,MAAjB;AAAwB,IAAA,SAAS,EAAEA,SAAnC;AAA8C,IAAA,KAAK,EAAC,GAApD;AAAwD,IAAA,MAAM,EAAC;AAA/D,IAFF,eAGE;AACE,IAAA,CAAC,EAAC,MADJ;AAEE,IAAA,CAAC,EAAC,MAFJ;AAGE,IAAA,SAAS,EAAC,qDAHZ;AAIE,IAAA,SAAS,EAAEA,SAJb;AAKE,IAAA,KAAK,EAAC,MALR;AAME,IAAA,MAAM,EAAC;AANT,IAHF,CADY;AAAA,CAAd;;AAeAC,KAAK,CAACC,SAAN,GAAkBH,KAAK,CAACG,SAAN,GAAkB;AAAEF,EAAAA,SAAS,EAAEG,sBAAUC;AAAvB,CAApC;AAEO,IAAMC,gBAAgB,GAAG,0BAASN,KAAT,EAAgBE,KAAhB,CAAzB;;AAEPI,gBAAgB,CAACH,SAAjB,GAA6B;AAC3BI,EAAAA,OAAO,EAAEH,sBAAUI,KAAV,CAAgB,CAAC,OAAD,EAAU,OAAV,CAAhB,CADkB;AAE3BC,EAAAA,KAAK,EAAEL,sBAAUI,KAAV,CAAgB,CAAC,OAAD,EAAU,QAAV,CAAhB,CAFoB;AAG3BE,EAAAA,QAAQ,EAAEN,sBAAUI,KAAV,CAAgB,CAAC,UAAD,EAAaG,SAAb,CAAhB,CAHiB;AAI3BC,EAAAA,IAAI,EAAER,sBAAUS;AAJW,CAA7B;AAOAP,gBAAgB,CAACQ,YAAjB,GAAgC;AAC9BP,EAAAA,OAAO,EAAE,OADqB;AAE9BE,EAAAA,KAAK,EAAE,OAFuB;AAG9BC,EAAAA,QAAQ,EAAEC,SAHoB;AAI9BC,EAAAA,IAAI,EAAE;AAJwB,CAAhC;;eAOe,wBAAWb,MAAX,EAAmBO,gBAAnB,C","sourcesContent":["import IconBase from './icon-base';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { getStyles } from './icon-root';\nimport { withStyles } from '@material-ui/core/styles';\n\nconst styles = getStyles('partially-correct', '#4aaf46', '#c1e1ac');\n\nconst Check = ({ className }) => (\n <g transform={'translate(0, 0)'}>\n <polygon className={className} points=\"27.5,13.4 23.9,11.4 15.9,25.8 19.1,28.6\" />\n <polygon className={className} points=\"16.2,20.6 14.4,19.2 11.8,22.3 14.1,24.3\" />\n </g>\n);\n\nconst Emoji = ({ className }) => (\n <g transform={'translate(2, 0)'}>\n <rect x=\"20.6\" y=\"11.8\" className={className} width=\"4\" height=\"5\" />\n <rect x=\"11.5\" y=\"11.8\" className={className} width=\"4\" height=\"5\" />\n <rect\n x=\"10.9\"\n y=\"22.9\"\n transform=\"matrix(0.9794 -0.2019 0.2019 0.9794 -4.6237 4.1559)\"\n className={className}\n width=\"14.3\"\n height=\"3.7\"\n />\n </g>\n);\n\nEmoji.propTypes = Check.propTypes = { className: PropTypes.string };\n\nexport const PartiallyCorrect = IconBase(Check, Emoji);\n\nPartiallyCorrect.propTypes = {\n iconSet: PropTypes.oneOf(['emoji', 'check']),\n shape: PropTypes.oneOf(['round', 'square']),\n category: PropTypes.oneOf(['feedback', undefined]),\n open: PropTypes.bool,\n};\n\nPartiallyCorrect.defaultProps = {\n iconSet: 'check',\n shape: 'round',\n category: undefined,\n open: false,\n};\n\nexport default withStyles(styles)(PartiallyCorrect);\n"],"file":"partially-correct-icon.js"}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = exports.ShowRationale = void 0;
|
|
9
|
+
|
|
10
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
|
|
12
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
|
+
|
|
14
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
+
|
|
16
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
17
|
+
|
|
18
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
19
|
+
|
|
20
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
21
|
+
|
|
22
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
23
|
+
|
|
24
|
+
var _react = _interopRequireDefault(require("react"));
|
|
25
|
+
|
|
26
|
+
var _styles = require("@material-ui/core/styles");
|
|
27
|
+
|
|
28
|
+
var _sized = require("./sized");
|
|
29
|
+
|
|
30
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
|
|
31
|
+
|
|
32
|
+
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; } }
|
|
33
|
+
|
|
34
|
+
var Info = function Info(_ref) {
|
|
35
|
+
var fg = _ref.fg;
|
|
36
|
+
return /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
37
|
+
x: "-115",
|
|
38
|
+
y: "136.7",
|
|
39
|
+
className: fg,
|
|
40
|
+
width: "3",
|
|
41
|
+
height: "3"
|
|
42
|
+
}), /*#__PURE__*/_react["default"].createElement("polygon", {
|
|
43
|
+
className: fg,
|
|
44
|
+
points: "-112,147.7 -112,141.7 -115.8,141.7 -115.8,143.7 -114,143.7 -114,147.7 -116.2,147.7 -116.2,149.7 -109.8,149.7 -109.8,147.7"
|
|
45
|
+
}));
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
Info.propTypes = {
|
|
49
|
+
fg: _propTypes["default"].string
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
var Border = function Border(_ref2) {
|
|
53
|
+
var className = _ref2.className;
|
|
54
|
+
return /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
className: className,
|
|
56
|
+
d: "M-113,158.5c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105,158.5-113,158.5zM-113,130.5c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-105.6,130.5-113,130.5z"
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
Border.propTypes = {
|
|
61
|
+
className: _propTypes["default"].string
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
var Circle = function Circle() {
|
|
65
|
+
return /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("path", {
|
|
66
|
+
style: {
|
|
67
|
+
fill: '#D0CAC5',
|
|
68
|
+
stroke: '#E6E3E0',
|
|
69
|
+
strokeWidth: 0.75,
|
|
70
|
+
strokeMiterlimit: 10
|
|
71
|
+
},
|
|
72
|
+
d: "M-111.7,160.9c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5C-96.2,154-103.1,160.9-111.7,160.9z"
|
|
73
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
74
|
+
style: {
|
|
75
|
+
fill: '#B3ABA4',
|
|
76
|
+
stroke: '#CDC7C2',
|
|
77
|
+
strokeWidth: 0.5,
|
|
78
|
+
strokeMiterlimit: 10
|
|
79
|
+
},
|
|
80
|
+
d: "M-112,159.5c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-104,159.5-112,159.5z"
|
|
81
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
82
|
+
style: {
|
|
83
|
+
fill: '#FFFFFF'
|
|
84
|
+
},
|
|
85
|
+
cx: "-113",
|
|
86
|
+
cy: "144",
|
|
87
|
+
r: "14"
|
|
88
|
+
}));
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
var Root = function Root(_ref3) {
|
|
92
|
+
var children = _ref3.children,
|
|
93
|
+
size = _ref3.size;
|
|
94
|
+
size = (0, _sized.normalizeSize)(size);
|
|
95
|
+
var style = {
|
|
96
|
+
height: size,
|
|
97
|
+
width: size,
|
|
98
|
+
display: 'inline-block',
|
|
99
|
+
position: 'relative'
|
|
100
|
+
};
|
|
101
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
102
|
+
style: style
|
|
103
|
+
}, /*#__PURE__*/_react["default"].createElement("svg", {
|
|
104
|
+
preserveAspectRatio: "xMinYMin meet",
|
|
105
|
+
viewBox: "-129 128 34 34"
|
|
106
|
+
}, children));
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
Root.propTypes = {
|
|
110
|
+
children: _propTypes["default"].oneOfType([_propTypes["default"].arrayOf(_propTypes["default"].node), _propTypes["default"].node]).isRequired,
|
|
111
|
+
size: _propTypes["default"].number
|
|
112
|
+
};
|
|
113
|
+
var styles = {
|
|
114
|
+
fg: {
|
|
115
|
+
fill: '#1a9cff'
|
|
116
|
+
},
|
|
117
|
+
bg: {
|
|
118
|
+
fill: '#bce2ff'
|
|
119
|
+
},
|
|
120
|
+
border: {
|
|
121
|
+
fill: '#bbe3fd'
|
|
122
|
+
},
|
|
123
|
+
whiteBorder: {
|
|
124
|
+
fill: 'white'
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
var ShowRationale = /*#__PURE__*/function (_React$Component) {
|
|
129
|
+
(0, _inherits2["default"])(ShowRationale, _React$Component);
|
|
130
|
+
|
|
131
|
+
var _super = _createSuper(ShowRationale);
|
|
132
|
+
|
|
133
|
+
function ShowRationale(props) {
|
|
134
|
+
(0, _classCallCheck2["default"])(this, ShowRationale);
|
|
135
|
+
return _super.call(this, props);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
(0, _createClass2["default"])(ShowRationale, [{
|
|
139
|
+
key: "render",
|
|
140
|
+
value: function render() {
|
|
141
|
+
var classes = this.props.classes;
|
|
142
|
+
|
|
143
|
+
var info = /*#__PURE__*/_react["default"].createElement(Info, {
|
|
144
|
+
fg: classes.fg
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
var icons = {
|
|
148
|
+
check: /*#__PURE__*/_react["default"].createElement(Root, null, /*#__PURE__*/_react["default"].createElement(Circle, null), info, /*#__PURE__*/_react["default"].createElement(Border, {
|
|
149
|
+
className: classes.border
|
|
150
|
+
})),
|
|
151
|
+
emoji: /*#__PURE__*/_react["default"].createElement(Root, null, /*#__PURE__*/_react["default"].createElement(Circle, null), info, /*#__PURE__*/_react["default"].createElement(Border, {
|
|
152
|
+
className: classes.border
|
|
153
|
+
})),
|
|
154
|
+
open: {
|
|
155
|
+
check: /*#__PURE__*/_react["default"].createElement(Root, null, /*#__PURE__*/_react["default"].createElement("circle", {
|
|
156
|
+
style: {
|
|
157
|
+
fill: '#FFFFFF'
|
|
158
|
+
},
|
|
159
|
+
cx: "-113",
|
|
160
|
+
cy: "144",
|
|
161
|
+
r: "14"
|
|
162
|
+
}), /*#__PURE__*/_react["default"].createElement(Info, {
|
|
163
|
+
fg: classes.bg,
|
|
164
|
+
border: classes.whiteBorder
|
|
165
|
+
})),
|
|
166
|
+
emoji: /*#__PURE__*/_react["default"].createElement(Root, null, /*#__PURE__*/_react["default"].createElement("circle", {
|
|
167
|
+
style: {
|
|
168
|
+
fill: '#FFFFFF'
|
|
169
|
+
},
|
|
170
|
+
cx: "-113",
|
|
171
|
+
cy: "144",
|
|
172
|
+
r: "14"
|
|
173
|
+
}), /*#__PURE__*/_react["default"].createElement(Info, {
|
|
174
|
+
fg: classes.bg,
|
|
175
|
+
border: classes.border
|
|
176
|
+
}))
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
if (this.props.open === true) {
|
|
181
|
+
return icons.open[this.props.iconSet];
|
|
182
|
+
} else {
|
|
183
|
+
return icons[this.props.iconSet];
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}]);
|
|
187
|
+
return ShowRationale;
|
|
188
|
+
}(_react["default"].Component);
|
|
189
|
+
|
|
190
|
+
exports.ShowRationale = ShowRationale;
|
|
191
|
+
(0, _defineProperty2["default"])(ShowRationale, "propTypes", {
|
|
192
|
+
classes: _propTypes["default"].object.isRequired
|
|
193
|
+
});
|
|
194
|
+
ShowRationale.propTypes = {
|
|
195
|
+
iconSet: _propTypes["default"].oneOf(['emoji', 'check']),
|
|
196
|
+
open: _propTypes["default"].bool
|
|
197
|
+
};
|
|
198
|
+
ShowRationale.defaultProps = {
|
|
199
|
+
iconSet: 'check',
|
|
200
|
+
open: false
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
var _default = (0, _styles.withStyles)(styles)(ShowRationale);
|
|
204
|
+
|
|
205
|
+
exports["default"] = _default;
|
|
206
|
+
//# sourceMappingURL=show-rationale-icon.js.map
|