@pie-element/ebsr 10.7.3-next.9 → 12.0.1-esmbeta.0
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 +44 -0
- package/configure/CHANGELOG.md +16 -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 +16 -0
- package/controller/package.json +3 -3
- package/esm/configure.js +38602 -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,410 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [0.18.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.18.0) (2025-09-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fixed pie-lib/icons import [PD-5126] ([dcb506c](https://github.com/pie-framework/pie-lib/commit/dcb506c914a177f6d88bf73247a023bfe71dac1f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* split pie-toolbox into multiple packages [PD-5126] ([7d55a25](https://github.com/pie-framework/pie-lib/commit/7d55a2552d084cd3d0d5c00dc77411b2ced2f5e2))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [0.17.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.16.0...@pie-lib/test-utils@0.17.0) (2025-09-18)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [0.16.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.15.0...@pie-lib/test-utils@0.16.0) (2025-09-18)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# [0.15.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.15.0) (2025-09-18)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Bug Fixes
|
|
42
|
+
|
|
43
|
+
* fixed pie-lib/icons import [PD-5126] ([dcb506c](https://github.com/pie-framework/pie-lib/commit/dcb506c914a177f6d88bf73247a023bfe71dac1f))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* split pie-toolbox into multiple packages [PD-5126] ([7d55a25](https://github.com/pie-framework/pie-lib/commit/7d55a2552d084cd3d0d5c00dc77411b2ced2f5e2))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# [0.14.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.13.0...@pie-lib/test-utils@0.14.0) (2025-09-17)
|
|
55
|
+
|
|
56
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
# [0.13.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.12.0...@pie-lib/test-utils@0.13.0) (2025-09-17)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
# [0.12.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.11.1...@pie-lib/test-utils@0.12.0) (2025-09-17)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## [0.11.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.11.1) (2025-08-11)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### Bug Fixes
|
|
82
|
+
|
|
83
|
+
* fixed pie-lib/icons import [PD-5126] ([dcb506c](https://github.com/pie-framework/pie-lib/commit/dcb506c914a177f6d88bf73247a023bfe71dac1f))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Features
|
|
87
|
+
|
|
88
|
+
* split pie-toolbox into multiple packages [PD-5126] ([7d55a25](https://github.com/pie-framework/pie-lib/commit/7d55a2552d084cd3d0d5c00dc77411b2ced2f5e2))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
# [0.11.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.11.0) (2025-08-07)
|
|
95
|
+
|
|
96
|
+
### Features
|
|
97
|
+
|
|
98
|
+
- split pie-toolbox into multiple packages [PD-5126](<[7d55a25](https://github.com/pie-framework/pie-lib/commit/7d55a2552d084cd3d0d5c00dc77411b2ced2f5e2)>)
|
|
99
|
+
|
|
100
|
+
# [0.10.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.10.0) (2025-07-31)
|
|
101
|
+
|
|
102
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
103
|
+
|
|
104
|
+
# [0.9.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.9.0) (2025-07-31)
|
|
105
|
+
|
|
106
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
107
|
+
|
|
108
|
+
# [0.8.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.8.0) (2025-07-31)
|
|
109
|
+
|
|
110
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
111
|
+
|
|
112
|
+
# [0.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.7.0) (2025-07-31)
|
|
113
|
+
|
|
114
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
115
|
+
|
|
116
|
+
# [0.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.6.0) (2025-07-31)
|
|
117
|
+
|
|
118
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
119
|
+
|
|
120
|
+
# [0.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.5.0) (2025-07-31)
|
|
121
|
+
|
|
122
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
123
|
+
|
|
124
|
+
# [0.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.7.0) (2025-07-31)
|
|
125
|
+
|
|
126
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
127
|
+
|
|
128
|
+
# [0.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.6.0) (2025-07-31)
|
|
129
|
+
|
|
130
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
131
|
+
|
|
132
|
+
# [0.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.5.0) (2025-07-31)
|
|
133
|
+
|
|
134
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
135
|
+
|
|
136
|
+
# [0.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.6.0) (2025-07-31)
|
|
137
|
+
|
|
138
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
139
|
+
|
|
140
|
+
# [0.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.5.0) (2025-07-31)
|
|
141
|
+
|
|
142
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
143
|
+
|
|
144
|
+
# [0.4.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.4.0) (2025-07-31)
|
|
145
|
+
|
|
146
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
147
|
+
|
|
148
|
+
# [0.4.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.4.0) (2025-07-31)
|
|
149
|
+
|
|
150
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
151
|
+
|
|
152
|
+
# [0.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.5.0) (2025-07-31)
|
|
153
|
+
|
|
154
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
155
|
+
|
|
156
|
+
# [0.4.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.4.0) (2025-07-31)
|
|
157
|
+
|
|
158
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
159
|
+
|
|
160
|
+
# [0.3.0-beta.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.8) (2025-07-25)
|
|
161
|
+
|
|
162
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
163
|
+
|
|
164
|
+
# [0.3.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.7) (2025-07-25)
|
|
165
|
+
|
|
166
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
167
|
+
|
|
168
|
+
# [0.3.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.7) (2025-07-25)
|
|
169
|
+
|
|
170
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
171
|
+
|
|
172
|
+
# [0.3.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.6) (2025-07-25)
|
|
173
|
+
|
|
174
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
175
|
+
|
|
176
|
+
# [0.3.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.6) (2025-07-25)
|
|
177
|
+
|
|
178
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
179
|
+
|
|
180
|
+
# [0.3.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.5) (2025-07-25)
|
|
181
|
+
|
|
182
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
183
|
+
|
|
184
|
+
# [0.3.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.5) (2025-07-25)
|
|
185
|
+
|
|
186
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
187
|
+
|
|
188
|
+
# [0.3.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.4) (2025-07-25)
|
|
189
|
+
|
|
190
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
191
|
+
|
|
192
|
+
# [0.3.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.3) (2025-07-25)
|
|
193
|
+
|
|
194
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
195
|
+
|
|
196
|
+
# [0.3.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.4) (2025-07-23)
|
|
197
|
+
|
|
198
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
199
|
+
|
|
200
|
+
# [0.3.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.3) (2025-07-23)
|
|
201
|
+
|
|
202
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
203
|
+
|
|
204
|
+
# [0.3.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.3) (2025-07-20)
|
|
205
|
+
|
|
206
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
207
|
+
|
|
208
|
+
# [0.3.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.2) (2025-07-20)
|
|
209
|
+
|
|
210
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
211
|
+
|
|
212
|
+
# [0.3.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.1) (2025-07-20)
|
|
213
|
+
|
|
214
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
215
|
+
|
|
216
|
+
# [0.3.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.2) (2025-07-20)
|
|
217
|
+
|
|
218
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
219
|
+
|
|
220
|
+
# [0.3.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.1) (2025-07-20)
|
|
221
|
+
|
|
222
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
223
|
+
|
|
224
|
+
# [0.3.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.1) (2025-07-20)
|
|
225
|
+
|
|
226
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
227
|
+
|
|
228
|
+
# [0.3.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.0) (2025-07-20)
|
|
229
|
+
|
|
230
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
231
|
+
|
|
232
|
+
# [0.4.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.4.0-beta.0) (2025-07-15)
|
|
233
|
+
|
|
234
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
235
|
+
|
|
236
|
+
# [0.3.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.33...@pie-lib/test-utils@0.3.0-beta.0) (2025-07-15)
|
|
237
|
+
|
|
238
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
239
|
+
|
|
240
|
+
## [0.2.33](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.32...@pie-lib/test-utils@0.2.33) (2023-06-24)
|
|
241
|
+
|
|
242
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
243
|
+
|
|
244
|
+
## [0.2.32](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.30...@pie-lib/test-utils@0.2.32) (2023-01-31)
|
|
245
|
+
|
|
246
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
247
|
+
|
|
248
|
+
## [0.2.30](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.29...@pie-lib/test-utils@0.2.30) (2023-01-31)
|
|
249
|
+
|
|
250
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
251
|
+
|
|
252
|
+
## [0.2.29](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.28...@pie-lib/test-utils@0.2.29) (2023-01-31)
|
|
253
|
+
|
|
254
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
255
|
+
|
|
256
|
+
## [0.2.28](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.27...@pie-lib/test-utils@0.2.28) (2023-01-31)
|
|
257
|
+
|
|
258
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
259
|
+
|
|
260
|
+
## [0.2.27](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.24...@pie-lib/test-utils@0.2.27) (2023-01-31)
|
|
261
|
+
|
|
262
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
263
|
+
|
|
264
|
+
## [0.2.24](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.22...@pie-lib/test-utils@0.2.24) (2023-01-31)
|
|
265
|
+
|
|
266
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
267
|
+
|
|
268
|
+
## [0.2.22](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.20...@pie-lib/test-utils@0.2.22) (2023-01-31)
|
|
269
|
+
|
|
270
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
271
|
+
|
|
272
|
+
## [0.2.20](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.19...@pie-lib/test-utils@0.2.20) (2022-11-23)
|
|
273
|
+
|
|
274
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
275
|
+
|
|
276
|
+
## [0.2.19](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.17...@pie-lib/test-utils@0.2.19) (2021-06-25)
|
|
277
|
+
|
|
278
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
279
|
+
|
|
280
|
+
## [0.2.17](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.16...@pie-lib/test-utils@0.2.17) (2021-02-15)
|
|
281
|
+
|
|
282
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
283
|
+
|
|
284
|
+
## [0.2.16](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.14...@pie-lib/test-utils@0.2.16) (2021-02-15)
|
|
285
|
+
|
|
286
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
287
|
+
|
|
288
|
+
## [0.2.14](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.13...@pie-lib/test-utils@0.2.14) (2020-04-14)
|
|
289
|
+
|
|
290
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
291
|
+
|
|
292
|
+
## [0.2.13](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.12...@pie-lib/test-utils@0.2.13) (2020-04-08)
|
|
293
|
+
|
|
294
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
295
|
+
|
|
296
|
+
## [0.2.12](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.11...@pie-lib/test-utils@0.2.12) (2020-03-31)
|
|
297
|
+
|
|
298
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
299
|
+
|
|
300
|
+
## [0.2.11](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.10...@pie-lib/test-utils@0.2.11) (2020-03-31)
|
|
301
|
+
|
|
302
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
303
|
+
|
|
304
|
+
## [0.2.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.9...@pie-lib/test-utils@0.2.10) (2020-03-31)
|
|
305
|
+
|
|
306
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
307
|
+
|
|
308
|
+
## [0.2.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.8...@pie-lib/test-utils@0.2.9) (2020-03-30)
|
|
309
|
+
|
|
310
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
311
|
+
|
|
312
|
+
## [0.2.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.7...@pie-lib/test-utils@0.2.8) (2020-03-30)
|
|
313
|
+
|
|
314
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
315
|
+
|
|
316
|
+
## [0.2.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.6...@pie-lib/test-utils@0.2.7) (2020-03-30)
|
|
317
|
+
|
|
318
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
319
|
+
|
|
320
|
+
## [0.2.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.5...@pie-lib/test-utils@0.2.6) (2020-03-30)
|
|
321
|
+
|
|
322
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
323
|
+
|
|
324
|
+
## [0.2.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.4...@pie-lib/test-utils@0.2.5) (2020-03-30)
|
|
325
|
+
|
|
326
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
327
|
+
|
|
328
|
+
## [0.2.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.3...@pie-lib/test-utils@0.2.4) (2020-03-30)
|
|
329
|
+
|
|
330
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
331
|
+
|
|
332
|
+
## [0.2.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.2...@pie-lib/test-utils@0.2.3) (2020-03-30)
|
|
333
|
+
|
|
334
|
+
### Bug Fixes
|
|
335
|
+
|
|
336
|
+
- add module prop to package.json ([e0cc500](https://github.com/pie-framework/pie-lib/commit/e0cc500))
|
|
337
|
+
|
|
338
|
+
## [0.2.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.1...@pie-lib/test-utils@0.2.2) (2019-08-21)
|
|
339
|
+
|
|
340
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
341
|
+
|
|
342
|
+
## [0.2.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.2.0...@pie-lib/test-utils@0.2.1) (2019-06-17)
|
|
343
|
+
|
|
344
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
345
|
+
|
|
346
|
+
# [0.2.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.1.9...@pie-lib/test-utils@0.2.0) (2019-06-12)
|
|
347
|
+
|
|
348
|
+
### Features
|
|
349
|
+
|
|
350
|
+
- version bumps ([23eb54f](https://github.com/pie-framework/pie-lib/commit/23eb54f))
|
|
351
|
+
|
|
352
|
+
## [0.1.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.1.8...@pie-lib/test-utils@0.1.9) (2019-03-15)
|
|
353
|
+
|
|
354
|
+
### Bug Fixes
|
|
355
|
+
|
|
356
|
+
- rm child prepack in favour of root prepack ([381d8d6](https://github.com/pie-framework/pie-lib/commit/381d8d6))
|
|
357
|
+
|
|
358
|
+
## [0.1.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.1.7...@pie-lib/test-utils@0.1.8) (2019-03-14)
|
|
359
|
+
|
|
360
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
361
|
+
|
|
362
|
+
## [0.1.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.1.6...@pie-lib/test-utils@0.1.7) (2019-03-14)
|
|
363
|
+
|
|
364
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
365
|
+
|
|
366
|
+
## [0.1.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.1.5...@pie-lib/test-utils@0.1.6) (2019-03-14)
|
|
367
|
+
|
|
368
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
369
|
+
|
|
370
|
+
## [0.1.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.1.4...@pie-lib/test-utils@0.1.5) (2019-03-14)
|
|
371
|
+
|
|
372
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
373
|
+
|
|
374
|
+
## [0.1.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.1.3...@pie-lib/test-utils@0.1.4) (2019-03-13)
|
|
375
|
+
|
|
376
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
377
|
+
|
|
378
|
+
## [0.1.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.1.2...@pie-lib/test-utils@0.1.3) (2019-03-13)
|
|
379
|
+
|
|
380
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
381
|
+
|
|
382
|
+
## [0.1.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.1.1...@pie-lib/test-utils@0.1.2) (2019-03-13)
|
|
383
|
+
|
|
384
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
385
|
+
|
|
386
|
+
## [0.1.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.1.0...@pie-lib/test-utils@0.1.1) (2019-01-30)
|
|
387
|
+
|
|
388
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
389
|
+
|
|
390
|
+
# [0.1.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.0.3...@pie-lib/test-utils@0.1.0) (2019-01-30)
|
|
391
|
+
|
|
392
|
+
### Features
|
|
393
|
+
|
|
394
|
+
- libs version bump ([de9ac2b](https://github.com/pie-framework/pie-lib/commit/de9ac2b))
|
|
395
|
+
|
|
396
|
+
<a name="0.0.3"></a>
|
|
397
|
+
|
|
398
|
+
## [0.0.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/test-utils@0.0.2...@pie-lib/test-utils@0.0.3) (2018-05-08)
|
|
399
|
+
|
|
400
|
+
### Bug Fixes
|
|
401
|
+
|
|
402
|
+
- **dependencies:** make enzyme a peerDependency ([181c641](https://github.com/pie-framework/pie-lib/commit/181c641))
|
|
403
|
+
|
|
404
|
+
<a name="0.0.2"></a>
|
|
405
|
+
|
|
406
|
+
## 0.0.2 (2018-05-03)
|
|
407
|
+
|
|
408
|
+
**Note:** Version bump only for package @pie-lib/test-utils
|
|
409
|
+
|
|
410
|
+
# Change Log
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { shallow } from 'enzyme';
|
|
3
|
+
|
|
4
|
+
function _extends() {
|
|
5
|
+
_extends = Object.assign || function (target) {
|
|
6
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
7
|
+
var source = arguments[i];
|
|
8
|
+
|
|
9
|
+
for (var key in source) {
|
|
10
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
11
|
+
target[key] = source[key];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
return _extends.apply(this, arguments);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function shallowChild(Component, defaultProps = {}, nestLevel) {
|
|
23
|
+
return function innerRender(props = {}) {
|
|
24
|
+
let rendered = shallow( /*#__PURE__*/React.createElement(Component, _extends({}, defaultProps, props)));
|
|
25
|
+
|
|
26
|
+
if (nestLevel) {
|
|
27
|
+
let repeat = nestLevel;
|
|
28
|
+
|
|
29
|
+
while (repeat--) {
|
|
30
|
+
rendered = rendered.first().shallow();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return rendered;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { shallowChild };
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.js"],"sourcesContent":["import * as React from 'react';\nimport { shallow } from 'enzyme';\n\nexport function shallowChild(Component, defaultProps = {}, nestLevel) {\n return function innerRender(props = {}) {\n let rendered = shallow(<Component {...defaultProps} {...props} />);\n\n if (nestLevel) {\n let repeat = nestLevel;\n\n while (repeat--) {\n rendered = rendered.first().shallow();\n }\n }\n\n return rendered;\n };\n}\n"],"names":["shallowChild","Component","defaultProps","nestLevel","innerRender","props","rendered","shallow","repeat","first"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGO,SAASA,YAAT,CAAsBC,SAAtB,EAAiCC,YAAY,GAAG,EAAhD,EAAoDC,SAApD,EAA+D;AACpE,EAAA,OAAO,SAASC,WAAT,CAAqBC,KAAK,GAAG,EAA7B,EAAiC;AACtC,IAAA,IAAIC,QAAQ,GAAGC,OAAO,eAAC,KAAA,CAAA,aAAA,CAAC,SAAD,EAAA,QAAA,CAAA,EAAA,EAAeL,YAAf,EAAiCG,KAAjC,CAAA,CAAD,CAAtB;;AAEA,IAAA,IAAIF,SAAJ,EAAe;AACb,MAAA,IAAIK,MAAM,GAAGL,SAAb;;AAEA,MAAA,OAAOK,MAAM,EAAb,EAAiB;AACfF,QAAAA,QAAQ,GAAGA,QAAQ,CAACG,KAAT,EAAA,CAAiBF,OAAjB,EAAX;AACD,MAAA;AACF,IAAA;;AAED,IAAA,OAAOD,QAAP;AACD,EAAA,CAZD;AAaD;;;;"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.shallowChild = shallowChild;
|
|
11
|
+
|
|
12
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
|
+
|
|
14
|
+
var React = _interopRequireWildcard(require("react"));
|
|
15
|
+
|
|
16
|
+
var _enzyme = require("enzyme");
|
|
17
|
+
|
|
18
|
+
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); }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
function shallowChild(Component) {
|
|
23
|
+
var defaultProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
24
|
+
var nestLevel = arguments.length > 2 ? arguments[2] : undefined;
|
|
25
|
+
return function innerRender() {
|
|
26
|
+
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
27
|
+
var rendered = (0, _enzyme.shallow)( /*#__PURE__*/React.createElement(Component, (0, _extends2["default"])({}, defaultProps, props)));
|
|
28
|
+
|
|
29
|
+
if (nestLevel) {
|
|
30
|
+
var repeat = nestLevel;
|
|
31
|
+
|
|
32
|
+
while (repeat--) {
|
|
33
|
+
rendered = rendered.first().shallow();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return rendered;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.js"],"names":["shallowChild","Component","defaultProps","nestLevel","innerRender","props","rendered","repeat","first","shallow"],"mappings":";;;;;;;;;;;;;AAAA;;AACA;;;;;;AAEO,SAASA,YAAT,CAAsBC,SAAtB,EAA+D;AAAA,MAA9BC,YAA8B,uEAAf,EAAe;AAAA,MAAXC,SAAW;AACpE,SAAO,SAASC,WAAT,GAAiC;AAAA,QAAZC,KAAY,uEAAJ,EAAI;AACtC,QAAIC,QAAQ,GAAG,mCAAQ,oBAAC,SAAD,gCAAeJ,YAAf,EAAiCG,KAAjC,EAAR,CAAf;;AAEA,QAAIF,SAAJ,EAAe;AACb,UAAII,MAAM,GAAGJ,SAAb;;AAEA,aAAOI,MAAM,EAAb,EAAiB;AACfD,QAAAA,QAAQ,GAAGA,QAAQ,CAACE,KAAT,GAAiBC,OAAjB,EAAX;AACD;AACF;;AAED,WAAOH,QAAP;AACD,GAZD;AAaD","sourcesContent":["import * as React from 'react';\nimport { shallow } from 'enzyme';\n\nexport function shallowChild(Component, defaultProps = {}, nestLevel) {\n return function innerRender(props = {}) {\n let rendered = shallow(<Component {...defaultProps} {...props} />);\n\n if (nestLevel) {\n let repeat = nestLevel;\n\n while (repeat--) {\n rendered = rendered.first().shallow();\n }\n }\n\n return rendered;\n };\n}\n"],"file":"index.js"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pie-lib/test-utils",
|
|
3
|
+
"version": "0.19.3",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "src/index.js",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"author": "",
|
|
11
|
+
"license": "ISC",
|
|
12
|
+
"peerDependencies": {
|
|
13
|
+
"enzyme": "^3.8.0",
|
|
14
|
+
"react": "^16.8.1"
|
|
15
|
+
},
|
|
16
|
+
"gitHead": "8a327571bd64249e4c88c0c8e750d16d6213f535",
|
|
17
|
+
"scripts": {},
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"import": "./esm/index.js",
|
|
21
|
+
"require": "./lib/index.js",
|
|
22
|
+
"default": "./esm/index.js"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { shallowChild } from '../index';
|
|
3
|
+
import Enzyme from 'enzyme';
|
|
4
|
+
import Adapter from 'enzyme-adapter-react-16';
|
|
5
|
+
|
|
6
|
+
Enzyme.configure({ adapter: new Adapter() });
|
|
7
|
+
|
|
8
|
+
describe('test-utils', () => {
|
|
9
|
+
describe('shallowChild', () => {
|
|
10
|
+
function simpleHoC(WrappedComponent) {
|
|
11
|
+
return class extends React.Component {
|
|
12
|
+
render() {
|
|
13
|
+
return (
|
|
14
|
+
<div>
|
|
15
|
+
<WrappedComponent oneMoreProp="hello" {...this.props} />
|
|
16
|
+
</div>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
class SimpleComponent extends React.Component {
|
|
23
|
+
render() {
|
|
24
|
+
return <span>My simple component will get wrapped</span>;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
it('moves past HoC and returns shallow rendered component using enzyme', () => {
|
|
29
|
+
const wrapper = shallowChild(simpleHoC(SimpleComponent), null, 1);
|
|
30
|
+
const shallowComponent = wrapper();
|
|
31
|
+
|
|
32
|
+
expect(shallowComponent.find(SimpleComponent).length).toEqual(1);
|
|
33
|
+
expect(shallowComponent.props().children.props.oneMoreProp).toEqual('hello');
|
|
34
|
+
expect(shallowComponent.html().includes('span')).toEqual(true);
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
it('overwrites specific props when passed into the closure', () => {
|
|
38
|
+
const wrapper = shallowChild(simpleHoC(SimpleComponent), null, 1);
|
|
39
|
+
const shallowComponent = wrapper({ oneMoreProp: 'helloToo' });
|
|
40
|
+
|
|
41
|
+
expect(shallowComponent.find(SimpleComponent).length).toEqual(1);
|
|
42
|
+
expect(shallowComponent.props().children.props.oneMoreProp).toEqual('helloToo');
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { shallow } from 'enzyme';
|
|
3
|
+
|
|
4
|
+
export function shallowChild(Component, defaultProps = {}, nestLevel) {
|
|
5
|
+
return function innerRender(props = {}) {
|
|
6
|
+
let rendered = shallow(<Component {...defaultProps} {...props} />);
|
|
7
|
+
|
|
8
|
+
if (nestLevel) {
|
|
9
|
+
let repeat = nestLevel;
|
|
10
|
+
|
|
11
|
+
while (repeat--) {
|
|
12
|
+
rendered = rendered.first().shallow();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return rendered;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|