@madie/madie-design-system 1.2.76 → 1.2.78
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/components/MadieDialog/index.jsx +2 -2
- package/components/RichTextEditor/index.jsx +88 -65
- package/coverage/clover.xml +602 -416
- package/coverage/coverage-final.json +39 -36
- package/coverage/lcov-report/InputLabel/index.html +5 -5
- package/coverage/lcov-report/InputLabel/index.jsx.html +7 -7
- package/coverage/lcov-report/MadieTooltip/index.html +36 -21
- package/coverage/lcov-report/MadieTooltip/index.jsx.html +34 -37
- package/coverage/lcov-report/MadieTooltip/index.scss.html +274 -0
- package/coverage/lcov-report/MadieTooltipIcon/index.html +21 -21
- package/coverage/lcov-report/MadieTooltipIcon/index.jsx.html +14 -14
- package/coverage/lcov-report/TextField/index.html +17 -17
- package/coverage/lcov-report/TextField/index.jsx.html +19 -103
- package/coverage/lcov-report/index.html +253 -118
- package/coverage/lcov-report/react/components/Accordion/index.html +2 -2
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +15 -15
- package/coverage/lcov-report/react/components/Alert/index.html +116 -0
- package/coverage/lcov-report/react/components/Alert/index.js.html +250 -0
- package/coverage/lcov-report/react/components/AutoComplete/AutoComplete.jsx.html +868 -0
- package/coverage/lcov-report/react/components/AutoComplete/index.html +116 -0
- package/coverage/lcov-report/react/components/Breadcrumb/index.html +116 -0
- package/coverage/lcov-report/react/components/Breadcrumb/index.js.html +361 -0
- package/coverage/lcov-report/react/components/Button/index.html +2 -2
- package/coverage/lcov-report/react/components/Button/index.js.html +18 -18
- package/coverage/lcov-report/react/components/DateField/DateField.jsx.html +36 -123
- package/coverage/lcov-report/react/components/DateField/index.html +16 -16
- package/coverage/lcov-report/react/components/DateTimeField/DateTimeField.jsx.html +56 -14
- package/coverage/lcov-report/react/components/DateTimeField/index.html +10 -10
- package/coverage/lcov-report/react/components/Dropdown/index.html +116 -0
- package/coverage/lcov-report/react/components/Dropdown/index.js.html +340 -0
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Error/error.js.html +1 -1
- package/coverage/lcov-report/react/components/Error/index.html +1 -1
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/footer.js.html +1 -1
- package/coverage/lcov-report/react/components/Footer/index.html +1 -1
- package/coverage/lcov-report/react/components/FormControlLabel/index.html +116 -0
- package/coverage/lcov-report/react/components/FormControlLabel/index.jsx.html +154 -0
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/InputLabel/index.html +6 -6
- package/coverage/lcov-report/react/components/InputLabel/index.jsx.html +8 -8
- package/coverage/lcov-report/react/components/Instant/index.html +116 -0
- package/coverage/lcov-report/react/components/Instant/index.jsx.html +886 -0
- package/coverage/lcov-report/react/components/Link/index.html +116 -0
- package/coverage/lcov-report/react/components/Link/index.js.html +268 -0
- package/coverage/lcov-report/react/components/MadieAlert/index.html +16 -16
- package/coverage/lcov-report/react/components/MadieAlert/index.jsx.html +875 -149
- package/coverage/lcov-report/{DateTimeField → react/components/MadieConfirmDialog}/index.html +19 -19
- package/coverage/lcov-report/react/components/MadieConfirmDialog/index.jsx.html +277 -0
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.html +4 -4
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.jsx.html +17 -11
- package/coverage/lcov-report/react/components/MadieDialog/index.html +18 -18
- package/coverage/lcov-report/react/components/MadieDialog/index.jsx.html +233 -92
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.jsx.html +4 -4
- package/coverage/lcov-report/react/components/MadieSpinner/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieSpinner/index.jsx.html +4 -4
- package/coverage/lcov-report/react/components/MadieTooltip/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieTooltip/index.jsx.html +6 -6
- package/coverage/lcov-report/react/components/MadieTooltip/index.scss.html +274 -0
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.jsx.html +4 -4
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +553 -0
- package/coverage/lcov-report/react/components/Modal/index.html +131 -0
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +139 -0
- package/coverage/lcov-report/react/components/NumberInput/index.html +116 -0
- package/coverage/lcov-report/react/components/NumberInput/index.jsx.html +310 -0
- package/coverage/lcov-report/react/components/Pagination/index.html +2 -2
- package/coverage/lcov-report/react/components/Pagination/index.jsx.html +6 -6
- package/coverage/lcov-report/react/components/Popover/index.html +6 -6
- package/coverage/lcov-report/react/components/Popover/index.js.html +17 -14
- package/coverage/lcov-report/react/components/RadioButton/RadioButton.jsx.html +490 -0
- package/coverage/lcov-report/react/components/RadioButton/index.html +116 -0
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.html +6 -6
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.jsx.html +25 -193
- package/coverage/lcov-report/react/components/RichTextEditor/index.html +116 -0
- package/coverage/lcov-report/react/components/RichTextEditor/index.jsx.html +922 -0
- package/coverage/lcov-report/react/components/Search/index.html +116 -0
- package/coverage/lcov-report/react/components/Search/index.js.html +343 -0
- package/coverage/lcov-report/react/components/Select/index.html +10 -10
- package/coverage/lcov-report/react/components/Select/index.jsx.html +35 -23
- package/coverage/lcov-report/react/components/Tabs/Tab.js.html +11 -11
- package/coverage/lcov-report/react/components/Tabs/TabPanel.js.html +208 -0
- package/coverage/lcov-report/react/components/Tabs/index.html +34 -19
- package/coverage/lcov-report/react/components/Tabs/index.js.html +114 -51
- package/coverage/lcov-report/react/components/TextArea/index.html +10 -10
- package/coverage/lcov-report/react/components/TextArea/index.jsx.html +93 -9
- package/coverage/lcov-report/react/components/TextField/index.html +12 -12
- package/coverage/lcov-report/react/components/TextField/index.jsx.html +171 -63
- package/coverage/lcov-report/react/components/TextInput/index.html +116 -0
- package/coverage/lcov-report/react/components/TextInput/index.js.html +496 -0
- package/coverage/lcov-report/{DateTimeField/DateTimeField.jsx.html → react/components/TimeField/TimeField.jsx.html} +109 -76
- package/coverage/lcov-report/react/components/TimeField/index.html +116 -0
- package/coverage/lcov-report/react/components/Toast/index.html +2 -2
- package/coverage/lcov-report/react/components/Toast/index.jsx.html +9 -9
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/index.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +1 -1
- package/coverage/lcov-report/react/components/TruncateText/index.html +116 -0
- package/coverage/lcov-report/react/components/TruncateText/index.js.html +241 -0
- package/coverage/lcov-report/react/components/index.html +116 -0
- package/coverage/lcov-report/react/components/index.js.html +547 -0
- package/coverage/lcov-report/react/index.html +18 -18
- package/coverage/lcov-report/react/index.js.html +20 -26
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +5 -5
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +41 -41
- package/coverage/lcov-report/react/lib/index.html +2 -2
- package/coverage/lcov-report/react/themes/actionCenterTheme.js.html +175 -0
- package/coverage/lcov-report/react/themes/index.html +116 -0
- package/coverage/lcov.info +1252 -798
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +2 -2
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
- package/storybook-static/1606.9527419c.iframe.bundle.js +76 -0
- package/storybook-static/1606.9527419c.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/1606.9527419c.iframe.bundle.js.map +1 -0
- package/storybook-static/1822.72412063.iframe.bundle.js +2 -0
- package/storybook-static/1822.72412063.iframe.bundle.js.LICENSE.txt +5 -0
- package/storybook-static/2247.8b06a622.iframe.bundle.js +87 -0
- package/storybook-static/2247.8b06a622.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/2247.8b06a622.iframe.bundle.js.map +1 -0
- package/storybook-static/2360.690c5cd8.iframe.bundle.js +1 -0
- package/storybook-static/2505.5a3351ca.iframe.bundle.js +2 -0
- package/storybook-static/2505.5a3351ca.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/2543.64e1c8c6.iframe.bundle.js +2 -0
- package/storybook-static/2543.64e1c8c6.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/2763.e9244c7e.iframe.bundle.js +1 -0
- package/storybook-static/3009.7080427c.iframe.bundle.js +1 -0
- package/storybook-static/312.98473fc0.iframe.bundle.js +2 -0
- package/storybook-static/312.98473fc0.iframe.bundle.js.LICENSE.txt +17 -0
- package/storybook-static/3264.1483ccad.iframe.bundle.js +1 -0
- package/storybook-static/3461.b9b84310.iframe.bundle.js +29 -0
- package/storybook-static/3461.b9b84310.iframe.bundle.js.map +1 -0
- package/storybook-static/4246.3dee0bc1.iframe.bundle.js +1 -0
- package/storybook-static/4683.334f6a20.iframe.bundle.js +1 -0
- package/storybook-static/4753.b31cfa9b.iframe.bundle.js +1 -0
- package/storybook-static/4788.aa09e5f9.iframe.bundle.js +1 -0
- package/storybook-static/5043.53f3bb0c.iframe.bundle.js +2 -0
- package/storybook-static/5043.53f3bb0c.iframe.bundle.js.LICENSE.txt +1 -0
- package/storybook-static/5467.8b66ac25.iframe.bundle.js +1 -0
- package/storybook-static/6357.6600668a.iframe.bundle.js +1 -0
- package/storybook-static/651.1fcfd284.iframe.bundle.js +1 -0
- package/storybook-static/6520.84e91a57.iframe.bundle.js +2 -0
- package/storybook-static/6520.84e91a57.iframe.bundle.js.LICENSE.txt +19 -0
- package/storybook-static/6958.8a916fa2.iframe.bundle.js +1 -0
- package/storybook-static/7599.3f695d6a.iframe.bundle.js +1 -0
- package/storybook-static/7648.6ac96dea.iframe.bundle.js +1 -0
- package/storybook-static/7737.8a6a8e54.iframe.bundle.js +1 -0
- package/storybook-static/8255.e2a8ed59.iframe.bundle.js +2 -0
- package/storybook-static/8255.e2a8ed59.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/8735.566590af.iframe.bundle.js +2 -0
- package/storybook-static/8735.566590af.iframe.bundle.js.LICENSE.txt +29 -0
- package/storybook-static/9010.9ac07800.iframe.bundle.js +1 -0
- package/storybook-static/9060.b9282f66.iframe.bundle.js +1 -0
- package/storybook-static/9249.28266e92.iframe.bundle.js +1 -0
- package/storybook-static/9859.25828a48.iframe.bundle.js +2 -0
- package/storybook-static/9859.25828a48.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/Accordion-Accordion-stories.dbeb9f2a.iframe.bundle.js +2 -0
- package/storybook-static/Accordion-Accordion-stories.dbeb9f2a.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/AutoComplete-AutoComplete-stories.3fa69ad4.iframe.bundle.js +1 -0
- package/storybook-static/Button-Button-stories.c56437c4.iframe.bundle.js +1 -0
- package/storybook-static/DateField-DateField-stories.9e1b9e5c.iframe.bundle.js +1 -0
- package/storybook-static/DateTimeField-DateTimeField-stories.4d184efd.iframe.bundle.js +1 -0
- package/storybook-static/Instant-Instant-stories.cdd1bf7f.iframe.bundle.js +1 -0
- package/storybook-static/MadieAlert-MadieAlert-stories.b0a784a8.iframe.bundle.js +1 -0
- package/storybook-static/MadieConfirmDialog-MadieConfirmDialog-stories.2629a704.iframe.bundle.js +1 -0
- package/storybook-static/MadieDeleteDialog-MadieDeleteDialog-stories.0f91e77f.iframe.bundle.js +1 -0
- package/storybook-static/MadieDialog-MadieDialog-stories.1e63ebb3.iframe.bundle.js +1 -0
- package/storybook-static/MadieDiscardDialog-MadieDiscardDialog-stories.4632ec72.iframe.bundle.js +1 -0
- package/storybook-static/MadieSpinner-MadieSpinner-stories.6c47900d.iframe.bundle.js +30 -0
- package/storybook-static/MadieSpinner-MadieSpinner-stories.6c47900d.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/MadieSpinner-MadieSpinner-stories.6c47900d.iframe.bundle.js.map +1 -0
- package/storybook-static/MadieTooltip-MadieTooltip-stories.0c8fb8f7.iframe.bundle.js +2 -0
- package/storybook-static/MadieTooltip-MadieTooltip-stories.0c8fb8f7.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/MadieTooltipIcon-MadieTooltipIcon-stories.b33f0165.iframe.bundle.js +2 -0
- package/storybook-static/MadieTooltipIcon-MadieTooltipIcon-stories.b33f0165.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/Modal-Modal-stories.1c8c1dcd.iframe.bundle.js +2 -0
- package/storybook-static/Modal-Modal-stories.1c8c1dcd.iframe.bundle.js.LICENSE.txt +19 -0
- package/storybook-static/NumberInput-NumberInput-stories.b642f330.iframe.bundle.js +1 -0
- package/storybook-static/Pagination-Pagination-stories.dc63a146.iframe.bundle.js +1 -0
- package/storybook-static/Popover-Popover-stories.680cce19.iframe.bundle.js +1 -0
- package/storybook-static/RadioButton-RadioButton-stories.5daa020f.iframe.bundle.js +1 -0
- package/storybook-static/ReadOnlyTextField-ReadOnlyTextField-stories.281af1c9.iframe.bundle.js +1 -0
- package/storybook-static/RichTextEditor-RichTextEditor-stories.f2f6efd0.iframe.bundle.js +1 -0
- package/storybook-static/Search-Search-stories.ce9d2b51.iframe.bundle.js +1 -0
- package/storybook-static/Select-Select-stories.1ba58501.iframe.bundle.js +1 -0
- package/storybook-static/Tabs-Tabs-stories.e9bf42ff.iframe.bundle.js +1 -0
- package/storybook-static/TextArea-TextArea-stories.9bb45748.iframe.bundle.js +1 -0
- package/storybook-static/TextField-TextField-stories.e5c08a5e.iframe.bundle.js +1 -0
- package/storybook-static/TimeField-TimeField-stories.760f9db5.iframe.bundle.js +1 -0
- package/storybook-static/Toast-Toast-stories.160e8bf1.iframe.bundle.js +1 -0
- package/storybook-static/TruncateText-TruncateText-stories.2da57e6a.iframe.bundle.js +1 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +531 -0
- package/storybook-static/index.html +152 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/main.18ce3a87.iframe.bundle.js +1 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/runtime~main.6bbd8126.iframe.bundle.js +1 -0
- package/storybook-static/sb-addons/docs-2/manager-bundle.js +151 -0
- package/storybook-static/sb-addons/links-1/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +188 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +797 -0
- package/storybook-static/sb-manager/globals-runtime.js +69459 -0
- package/storybook-static/sb-manager/globals.js +34 -0
- package/storybook-static/sb-manager/runtime.js +13003 -0
- package/storybook-static/sb-preview/globals.js +25 -0
- package/storybook-static/sb-preview/runtime.js +43237 -0
- package/storybook-static/static/media/FontAwesome.91f80bba.otf +0 -0
- package/storybook-static/static/media/Rubik-Bold.31bbd4d2.ttf +0 -0
- package/storybook-static/static/media/Rubik-Light.c90e2014.ttf +0 -0
- package/storybook-static/static/media/Rubik-Medium.5daa89aa.ttf +0 -0
- package/storybook-static/static/media/Rubik-Regular.cdf97d58.ttf +0 -0
- package/storybook-static/static/media/bitter-bold.24bf01e4.woff2 +0 -0
- package/storybook-static/static/media/bitter-italic.34644574.woff2 +0 -0
- package/storybook-static/static/media/bitter-regular.f4e2f1f1.woff2 +0 -0
- package/storybook-static/static/media/fontawesome-webfont.1e59d233.ttf +0 -0
- package/storybook-static/static/media/fontawesome-webfont.20fd1704.woff2 +0 -0
- package/storybook-static/static/media/fontawesome-webfont.8b43027f.eot +0 -0
- package/storybook-static/static/media/fontawesome-webfont.c1e38fd9.svg +2671 -0
- package/storybook-static/static/media/fontawesome-webfont.f691f37e.woff +0 -0
- package/storybook-static/static/media/opensans-bold-webfont.92e570c6.woff2 +0 -0
- package/storybook-static/static/media/opensans-italic-webfont.72daa33a.woff2 +0 -0
- package/storybook-static/static/media/opensans-regular-webfont.ca4dd835.woff2 +0 -0
- package/storybook-static/static/media/opensans-semibold-webfont.17ded75f.woff2 +0 -0
- package/test/components/MadieDeleteDialog.test.js +1 -1
- package/test/components/RichTextEditor.test.js +257 -37
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/react.iml +0 -9
- package/.idea/vcs.xml +0 -6
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">95.65% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>22/23</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">85.71% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>7
|
|
35
|
+
<span class='fraction'>6/7</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>1/1</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">95.65% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>22/23</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -158,11 +158,32 @@
|
|
|
158
158
|
<a name='L93'></a><a href='#L93'>93</a>
|
|
159
159
|
<a name='L94'></a><a href='#L94'>94</a>
|
|
160
160
|
<a name='L95'></a><a href='#L95'>95</a>
|
|
161
|
-
<a name='L96'></a><a href='#L96'>96</a
|
|
161
|
+
<a name='L96'></a><a href='#L96'>96</a>
|
|
162
|
+
<a name='L97'></a><a href='#L97'>97</a>
|
|
163
|
+
<a name='L98'></a><a href='#L98'>98</a>
|
|
164
|
+
<a name='L99'></a><a href='#L99'>99</a>
|
|
165
|
+
<a name='L100'></a><a href='#L100'>100</a>
|
|
166
|
+
<a name='L101'></a><a href='#L101'>101</a>
|
|
167
|
+
<a name='L102'></a><a href='#L102'>102</a>
|
|
168
|
+
<a name='L103'></a><a href='#L103'>103</a>
|
|
169
|
+
<a name='L104'></a><a href='#L104'>104</a>
|
|
170
|
+
<a name='L105'></a><a href='#L105'>105</a>
|
|
171
|
+
<a name='L106'></a><a href='#L106'>106</a>
|
|
172
|
+
<a name='L107'></a><a href='#L107'>107</a>
|
|
173
|
+
<a name='L108'></a><a href='#L108'>108</a>
|
|
174
|
+
<a name='L109'></a><a href='#L109'>109</a>
|
|
175
|
+
<a name='L110'></a><a href='#L110'>110</a>
|
|
176
|
+
<a name='L111'></a><a href='#L111'>111</a>
|
|
177
|
+
<a name='L112'></a><a href='#L112'>112</a>
|
|
178
|
+
<a name='L113'></a><a href='#L113'>113</a>
|
|
179
|
+
<a name='L114'></a><a href='#L114'>114</a>
|
|
180
|
+
<a name='L115'></a><a href='#L115'>115</a>
|
|
181
|
+
<a name='L116'></a><a href='#L116'>116</a>
|
|
182
|
+
<a name='L117'></a><a href='#L117'>117</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
162
183
|
<span class="cline-any cline-neutral"> </span>
|
|
163
184
|
<span class="cline-any cline-neutral"> </span>
|
|
164
185
|
<span class="cline-any cline-neutral"> </span>
|
|
165
|
-
<span class="cline-any cline-yes">
|
|
186
|
+
<span class="cline-any cline-yes">11x</span>
|
|
166
187
|
<span class="cline-any cline-neutral"> </span>
|
|
167
188
|
<span class="cline-any cline-neutral"> </span>
|
|
168
189
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -171,7 +192,7 @@
|
|
|
171
192
|
<span class="cline-any cline-neutral"> </span>
|
|
172
193
|
<span class="cline-any cline-neutral"> </span>
|
|
173
194
|
<span class="cline-any cline-neutral"> </span>
|
|
174
|
-
<span class="cline-any cline-yes">
|
|
195
|
+
<span class="cline-any cline-yes">11x</span>
|
|
175
196
|
<span class="cline-any cline-neutral"> </span>
|
|
176
197
|
<span class="cline-any cline-neutral"> </span>
|
|
177
198
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -180,7 +201,7 @@
|
|
|
180
201
|
<span class="cline-any cline-neutral"> </span>
|
|
181
202
|
<span class="cline-any cline-neutral"> </span>
|
|
182
203
|
<span class="cline-any cline-neutral"> </span>
|
|
183
|
-
<span class="cline-any cline-yes">
|
|
204
|
+
<span class="cline-any cline-yes">11x</span>
|
|
184
205
|
<span class="cline-any cline-neutral"> </span>
|
|
185
206
|
<span class="cline-any cline-neutral"> </span>
|
|
186
207
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -190,7 +211,7 @@
|
|
|
190
211
|
<span class="cline-any cline-neutral"> </span>
|
|
191
212
|
<span class="cline-any cline-neutral"> </span>
|
|
192
213
|
<span class="cline-any cline-neutral"> </span>
|
|
193
|
-
<span class="cline-any cline-yes">
|
|
214
|
+
<span class="cline-any cline-yes">11x</span>
|
|
194
215
|
<span class="cline-any cline-neutral"> </span>
|
|
195
216
|
<span class="cline-any cline-neutral"> </span>
|
|
196
217
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -199,14 +220,17 @@
|
|
|
199
220
|
<span class="cline-any cline-neutral"> </span>
|
|
200
221
|
<span class="cline-any cline-neutral"> </span>
|
|
201
222
|
<span class="cline-any cline-neutral"> </span>
|
|
223
|
+
<span class="cline-any cline-yes">11x</span>
|
|
224
|
+
<span class="cline-any cline-neutral"> </span>
|
|
225
|
+
<span class="cline-any cline-neutral"> </span>
|
|
226
|
+
<span class="cline-any cline-neutral"> </span>
|
|
202
227
|
<span class="cline-any cline-neutral"> </span>
|
|
203
|
-
<span class="cline-any cline-yes">1x</span>
|
|
204
|
-
<span class="cline-any cline-yes">9x</span>
|
|
205
228
|
<span class="cline-any cline-neutral"> </span>
|
|
206
229
|
<span class="cline-any cline-neutral"> </span>
|
|
207
230
|
<span class="cline-any cline-neutral"> </span>
|
|
208
231
|
<span class="cline-any cline-neutral"> </span>
|
|
209
232
|
<span class="cline-any cline-neutral"> </span>
|
|
233
|
+
<span class="cline-any cline-yes">11x</span>
|
|
210
234
|
<span class="cline-any cline-neutral"> </span>
|
|
211
235
|
<span class="cline-any cline-neutral"> </span>
|
|
212
236
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -214,26 +238,42 @@
|
|
|
214
238
|
<span class="cline-any cline-neutral"> </span>
|
|
215
239
|
<span class="cline-any cline-neutral"> </span>
|
|
216
240
|
<span class="cline-any cline-neutral"> </span>
|
|
241
|
+
<span class="cline-any cline-neutral"> </span>
|
|
242
|
+
<span class="cline-any cline-neutral"> </span>
|
|
243
|
+
<span class="cline-any cline-neutral"> </span>
|
|
244
|
+
<span class="cline-any cline-neutral"> </span>
|
|
245
|
+
<span class="cline-any cline-neutral"> </span>
|
|
246
|
+
<span class="cline-any cline-neutral"> </span>
|
|
247
|
+
<span class="cline-any cline-yes">11x</span>
|
|
217
248
|
<span class="cline-any cline-yes">9x</span>
|
|
249
|
+
<span class="cline-any cline-neutral"> </span>
|
|
218
250
|
<span class="cline-any cline-yes">9x</span>
|
|
251
|
+
<span class="cline-any cline-neutral"> </span>
|
|
252
|
+
<span class="cline-any cline-yes">2x</span>
|
|
219
253
|
<span class="cline-any cline-yes">2x</span>
|
|
220
254
|
<span class="cline-any cline-neutral"> </span>
|
|
221
|
-
<span class="cline-any cline-yes">
|
|
255
|
+
<span class="cline-any cline-yes">2x</span>
|
|
222
256
|
<span class="cline-any cline-yes">2x</span>
|
|
223
257
|
<span class="cline-any cline-neutral"> </span>
|
|
224
|
-
<span class="cline-any cline-yes">5x</span>
|
|
225
258
|
<span class="cline-any cline-yes">3x</span>
|
|
259
|
+
<span class="cline-any cline-yes">1x</span>
|
|
226
260
|
<span class="cline-any cline-neutral"> </span>
|
|
227
261
|
<span class="cline-any cline-yes">2x</span>
|
|
262
|
+
<span class="cline-any cline-neutral"> </span>
|
|
263
|
+
<span class="cline-any cline-yes">3x</span>
|
|
264
|
+
<span class="cline-any cline-neutral"> </span>
|
|
228
265
|
<span class="cline-any cline-yes">2x</span>
|
|
266
|
+
<span class="cline-any cline-yes">2x</span>
|
|
267
|
+
<span class="cline-any cline-neutral"> </span>
|
|
268
|
+
<span class="cline-any cline-no"> </span>
|
|
229
269
|
<span class="cline-any cline-neutral"> </span>
|
|
230
270
|
<span class="cline-any cline-neutral"> </span>
|
|
231
271
|
<span class="cline-any cline-yes">9x</span>
|
|
232
272
|
<span class="cline-any cline-neutral"> </span>
|
|
233
273
|
<span class="cline-any cline-neutral"> </span>
|
|
234
|
-
<span class="cline-any cline-yes">1x</span>
|
|
235
274
|
<span class="cline-any cline-neutral"> </span>
|
|
236
275
|
<span class="cline-any cline-neutral"> </span>
|
|
276
|
+
<span class="cline-any cline-yes">11x</span>
|
|
237
277
|
<span class="cline-any cline-neutral"> </span>
|
|
238
278
|
<span class="cline-any cline-neutral"> </span>
|
|
239
279
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -242,7 +282,9 @@
|
|
|
242
282
|
<span class="cline-any cline-neutral"> </span>
|
|
243
283
|
<span class="cline-any cline-neutral"> </span>
|
|
244
284
|
<span class="cline-any cline-neutral"> </span>
|
|
245
|
-
<span class="cline-any cline-
|
|
285
|
+
<span class="cline-any cline-neutral"> </span>
|
|
286
|
+
<span class="cline-any cline-neutral"> </span>
|
|
287
|
+
<span class="cline-any cline-yes">11x</span>
|
|
246
288
|
<span class="cline-any cline-neutral"> </span>
|
|
247
289
|
<span class="cline-any cline-neutral"> </span>
|
|
248
290
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -253,9 +295,9 @@
|
|
|
253
295
|
<span class="cline-any cline-neutral"> </span>
|
|
254
296
|
<span class="cline-any cline-neutral"> </span>
|
|
255
297
|
<span class="cline-any cline-neutral"> </span>
|
|
256
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import
|
|
298
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from "react";
|
|
299
|
+
import PropTypes from "prop-types";
|
|
257
300
|
import { Tabs as MuiTabs } from "@mui/material";
|
|
258
|
-
import React from "react";
|
|
259
301
|
|
|
260
302
|
const typeA = {
|
|
261
303
|
"& .MuiTabs-flexContainer": {
|
|
@@ -285,6 +327,15 @@ const typeC = {
|
|
|
285
327
|
},
|
|
286
328
|
};
|
|
287
329
|
|
|
330
|
+
const typeCVerticalSelected = {
|
|
331
|
+
"& .MuiTab-root.Mui-selected": {
|
|
332
|
+
borderTop: "solid 1px #8C8C8C",
|
|
333
|
+
borderBottom: "solid 1px #8C8C8C",
|
|
334
|
+
borderRight: "1px solid white",
|
|
335
|
+
width: "calc(100% + 1px)",
|
|
336
|
+
},
|
|
337
|
+
};
|
|
338
|
+
|
|
288
339
|
const typeD = {
|
|
289
340
|
backgroundColor: "#FFF",
|
|
290
341
|
color: "#515151",
|
|
@@ -295,39 +346,51 @@ const typeD = {
|
|
|
295
346
|
},
|
|
296
347
|
};
|
|
297
348
|
|
|
298
|
-
const
|
|
299
|
-
|
|
349
|
+
const baseStyle = {
|
|
350
|
+
outline: "none",
|
|
351
|
+
fontFamily: "Rubik, sans Sarif",
|
|
352
|
+
fontWeight: 400,
|
|
353
|
+
lineHeight: 19,
|
|
354
|
+
backgroundColor: "transparent",
|
|
355
|
+
"& .Mui-selected": {
|
|
300
356
|
outline: "none",
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
357
|
+
fontWeight: 500,
|
|
358
|
+
color: "#333 !important",
|
|
359
|
+
backgroundColor: "#fff",
|
|
360
|
+
},
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
const Tabs = ({ type, size, orientation, ...rest }) => {
|
|
364
|
+
let style = { ...baseStyle };
|
|
365
|
+
|
|
366
|
+
switch (type) {
|
|
367
|
+
case "A":
|
|
368
|
+
style = { ...style, ...typeA };
|
|
369
|
+
break;
|
|
370
|
+
case "B":
|
|
371
|
+
style = { ...style, ...typeB };
|
|
372
|
+
break;
|
|
373
|
+
case "C":
|
|
374
|
+
if (orientation === "vertical") {
|
|
375
|
+
style = { ...style, ...typeC, ...typeCVerticalSelected };
|
|
376
|
+
} else {
|
|
377
|
+
style = { ...style, ...typeC };
|
|
378
|
+
}
|
|
379
|
+
break;
|
|
380
|
+
case "D":
|
|
381
|
+
style = { ...style, ...typeD };
|
|
382
|
+
break;
|
|
383
|
+
<span class="branch-4 cbranch-no" title="branch not covered" > default:</span>
|
|
384
|
+
<span class="cstat-no" title="statement not covered" > break;</span>
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
return (
|
|
388
|
+
<MuiTabs disableRipple orientation={orientation} sx={style} {...rest} />
|
|
389
|
+
);
|
|
327
390
|
};
|
|
328
391
|
|
|
329
392
|
Tabs.propTypes = {
|
|
330
|
-
|
|
393
|
+
orientation: PropTypes.string,
|
|
331
394
|
type: PropTypes.oneOf(["A", "B", "C", "D"]),
|
|
332
395
|
size: PropTypes.oneOf(["standard", "large"]),
|
|
333
396
|
ariaLabel: PropTypes.string,
|
|
@@ -355,7 +418,7 @@ export default Tabs;
|
|
|
355
418
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
356
419
|
Code coverage generated by
|
|
357
420
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
358
|
-
at
|
|
421
|
+
at 2025-06-17T20:32:27.082Z
|
|
359
422
|
</div>
|
|
360
423
|
<script src="../../../prettify.js"></script>
|
|
361
424
|
<script>
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>5/5</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">95.45% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>21/22</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>5/5</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
85
85
|
</td>
|
|
86
86
|
<td data-value="100" class="pct high">100%</td>
|
|
87
|
-
<td data-value="
|
|
88
|
-
<td data-value="
|
|
89
|
-
<td data-value="
|
|
87
|
+
<td data-value="5" class="abs high">5/5</td>
|
|
88
|
+
<td data-value="95.45" class="pct high">95.45%</td>
|
|
89
|
+
<td data-value="22" class="abs high">21/22</td>
|
|
90
90
|
<td data-value="100" class="pct high">100%</td>
|
|
91
91
|
<td data-value="1" class="abs high">1/1</td>
|
|
92
92
|
<td data-value="100" class="pct high">100%</td>
|
|
93
|
-
<td data-value="
|
|
93
|
+
<td data-value="5" class="abs high">5/5</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
</tbody>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at 2025-06-17T20:32:27.082Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>5/5</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">95.45% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>21/22</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>5/5</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -180,11 +180,52 @@
|
|
|
180
180
|
<a name='L115'></a><a href='#L115'>115</a>
|
|
181
181
|
<a name='L116'></a><a href='#L116'>116</a>
|
|
182
182
|
<a name='L117'></a><a href='#L117'>117</a>
|
|
183
|
-
<a name='L118'></a><a href='#L118'>118</a
|
|
183
|
+
<a name='L118'></a><a href='#L118'>118</a>
|
|
184
|
+
<a name='L119'></a><a href='#L119'>119</a>
|
|
185
|
+
<a name='L120'></a><a href='#L120'>120</a>
|
|
186
|
+
<a name='L121'></a><a href='#L121'>121</a>
|
|
187
|
+
<a name='L122'></a><a href='#L122'>122</a>
|
|
188
|
+
<a name='L123'></a><a href='#L123'>123</a>
|
|
189
|
+
<a name='L124'></a><a href='#L124'>124</a>
|
|
190
|
+
<a name='L125'></a><a href='#L125'>125</a>
|
|
191
|
+
<a name='L126'></a><a href='#L126'>126</a>
|
|
192
|
+
<a name='L127'></a><a href='#L127'>127</a>
|
|
193
|
+
<a name='L128'></a><a href='#L128'>128</a>
|
|
194
|
+
<a name='L129'></a><a href='#L129'>129</a>
|
|
195
|
+
<a name='L130'></a><a href='#L130'>130</a>
|
|
196
|
+
<a name='L131'></a><a href='#L131'>131</a>
|
|
197
|
+
<a name='L132'></a><a href='#L132'>132</a>
|
|
198
|
+
<a name='L133'></a><a href='#L133'>133</a>
|
|
199
|
+
<a name='L134'></a><a href='#L134'>134</a>
|
|
200
|
+
<a name='L135'></a><a href='#L135'>135</a>
|
|
201
|
+
<a name='L136'></a><a href='#L136'>136</a>
|
|
202
|
+
<a name='L137'></a><a href='#L137'>137</a>
|
|
203
|
+
<a name='L138'></a><a href='#L138'>138</a>
|
|
204
|
+
<a name='L139'></a><a href='#L139'>139</a>
|
|
205
|
+
<a name='L140'></a><a href='#L140'>140</a>
|
|
206
|
+
<a name='L141'></a><a href='#L141'>141</a>
|
|
207
|
+
<a name='L142'></a><a href='#L142'>142</a>
|
|
208
|
+
<a name='L143'></a><a href='#L143'>143</a>
|
|
209
|
+
<a name='L144'></a><a href='#L144'>144</a>
|
|
210
|
+
<a name='L145'></a><a href='#L145'>145</a>
|
|
211
|
+
<a name='L146'></a><a href='#L146'>146</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
212
|
+
<span class="cline-any cline-neutral"> </span>
|
|
213
|
+
<span class="cline-any cline-neutral"> </span>
|
|
214
|
+
<span class="cline-any cline-neutral"> </span>
|
|
215
|
+
<span class="cline-any cline-neutral"> </span>
|
|
216
|
+
<span class="cline-any cline-neutral"> </span>
|
|
217
|
+
<span class="cline-any cline-yes">10x</span>
|
|
218
|
+
<span class="cline-any cline-neutral"> </span>
|
|
219
|
+
<span class="cline-any cline-neutral"> </span>
|
|
220
|
+
<span class="cline-any cline-neutral"> </span>
|
|
184
221
|
<span class="cline-any cline-neutral"> </span>
|
|
185
222
|
<span class="cline-any cline-neutral"> </span>
|
|
186
223
|
<span class="cline-any cline-neutral"> </span>
|
|
187
224
|
<span class="cline-any cline-neutral"> </span>
|
|
225
|
+
<span class="cline-any cline-neutral"> </span>
|
|
226
|
+
<span class="cline-any cline-neutral"> </span>
|
|
227
|
+
<span class="cline-any cline-neutral"> </span>
|
|
228
|
+
<span class="cline-any cline-yes">6x</span>
|
|
188
229
|
<span class="cline-any cline-yes">1x</span>
|
|
189
230
|
<span class="cline-any cline-neutral"> </span>
|
|
190
231
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -286,7 +327,22 @@
|
|
|
286
327
|
<span class="cline-any cline-neutral"> </span>
|
|
287
328
|
<span class="cline-any cline-neutral"> </span>
|
|
288
329
|
<span class="cline-any cline-neutral"> </span>
|
|
289
|
-
<span class="cline-any cline-
|
|
330
|
+
<span class="cline-any cline-neutral"> </span>
|
|
331
|
+
<span class="cline-any cline-neutral"> </span>
|
|
332
|
+
<span class="cline-any cline-neutral"> </span>
|
|
333
|
+
<span class="cline-any cline-neutral"> </span>
|
|
334
|
+
<span class="cline-any cline-neutral"> </span>
|
|
335
|
+
<span class="cline-any cline-neutral"> </span>
|
|
336
|
+
<span class="cline-any cline-neutral"> </span>
|
|
337
|
+
<span class="cline-any cline-neutral"> </span>
|
|
338
|
+
<span class="cline-any cline-neutral"> </span>
|
|
339
|
+
<span class="cline-any cline-neutral"> </span>
|
|
340
|
+
<span class="cline-any cline-neutral"> </span>
|
|
341
|
+
<span class="cline-any cline-neutral"> </span>
|
|
342
|
+
<span class="cline-any cline-neutral"> </span>
|
|
343
|
+
<span class="cline-any cline-neutral"> </span>
|
|
344
|
+
<span class="cline-any cline-yes">10x</span>
|
|
345
|
+
<span class="cline-any cline-neutral"> </span>
|
|
290
346
|
<span class="cline-any cline-neutral"> </span>
|
|
291
347
|
<span class="cline-any cline-neutral"> </span>
|
|
292
348
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -301,6 +357,7 @@
|
|
|
301
357
|
import { FormControl, FormHelperText, TextareaAutosize } from "@mui/material";
|
|
302
358
|
import InputLabel from "../InputLabel";
|
|
303
359
|
import PropTypes from "prop-types";
|
|
360
|
+
import { ReadOnlyTextField } from "../index";
|
|
304
361
|
|
|
305
362
|
const TextArea = ({
|
|
306
363
|
id,
|
|
@@ -310,8 +367,20 @@ const TextArea = ({
|
|
|
310
367
|
disabled = false,
|
|
311
368
|
label,
|
|
312
369
|
inputProps,
|
|
370
|
+
maxLength = undefined,
|
|
313
371
|
...rest
|
|
314
372
|
}) => {
|
|
373
|
+
if (disabled) {
|
|
374
|
+
return (
|
|
375
|
+
<ReadOnlyTextField
|
|
376
|
+
required={required}
|
|
377
|
+
label={label}
|
|
378
|
+
id={id}
|
|
379
|
+
size="small"
|
|
380
|
+
{...rest}
|
|
381
|
+
/>
|
|
382
|
+
);
|
|
383
|
+
}
|
|
315
384
|
// coerce this to avoid issue passing props to dom.
|
|
316
385
|
// text area autosize is deprecated and only takes style rules
|
|
317
386
|
return (
|
|
@@ -358,7 +427,7 @@ const TextArea = ({
|
|
|
358
427
|
marginRight: "3px !important", //this was
|
|
359
428
|
},
|
|
360
429
|
},
|
|
361
|
-
disabled && {
|
|
430
|
+
disabled && <span class="branch-1 cbranch-no" title="branch not covered" >{</span>
|
|
362
431
|
color: "rgba(0,0,0,0.6)",
|
|
363
432
|
},
|
|
364
433
|
error && {
|
|
@@ -399,6 +468,20 @@ const TextArea = ({
|
|
|
399
468
|
{...inputProps}
|
|
400
469
|
{...rest}
|
|
401
470
|
/>
|
|
471
|
+
{maxLength && !disabled && (
|
|
472
|
+
<span
|
|
473
|
+
style={{
|
|
474
|
+
fontFamily: "Rubik",
|
|
475
|
+
fontSize: 12,
|
|
476
|
+
color: "#717171",
|
|
477
|
+
position: "absolute",
|
|
478
|
+
bottom: -26,
|
|
479
|
+
right: 0,
|
|
480
|
+
}}
|
|
481
|
+
>
|
|
482
|
+
{rest.value?.length}/{maxLength} Characters
|
|
483
|
+
</span>
|
|
484
|
+
)}
|
|
402
485
|
</FormControl>
|
|
403
486
|
);
|
|
404
487
|
};
|
|
@@ -412,6 +495,7 @@ TextArea.propTypes = {
|
|
|
412
495
|
placeholder: PropTypes.string, // expects placeholder objects of { name: value } and inserts into the render item function.
|
|
413
496
|
label: PropTypes.string,
|
|
414
497
|
inputProps: PropTypes.any,
|
|
498
|
+
maxLength: PropTypes.number,
|
|
415
499
|
};
|
|
416
500
|
export default TextArea;
|
|
417
501
|
</pre></td></tr></table></pre>
|
|
@@ -421,7 +505,7 @@ export default TextArea;
|
|
|
421
505
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
422
506
|
Code coverage generated by
|
|
423
507
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
424
|
-
at
|
|
508
|
+
at 2025-06-17T20:32:27.082Z
|
|
425
509
|
</div>
|
|
426
510
|
<script src="../../../prettify.js"></script>
|
|
427
511
|
<script>
|
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>20/20</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">92.1% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>35/38</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>2/2</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>20/20</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
85
85
|
</td>
|
|
86
86
|
<td data-value="100" class="pct high">100%</td>
|
|
87
|
-
<td data-value="
|
|
88
|
-
<td data-value="
|
|
89
|
-
<td data-value="
|
|
87
|
+
<td data-value="20" class="abs high">20/20</td>
|
|
88
|
+
<td data-value="92.1" class="pct high">92.1%</td>
|
|
89
|
+
<td data-value="38" class="abs high">35/38</td>
|
|
90
90
|
<td data-value="100" class="pct high">100%</td>
|
|
91
|
-
<td data-value="
|
|
91
|
+
<td data-value="2" class="abs high">2/2</td>
|
|
92
92
|
<td data-value="100" class="pct high">100%</td>
|
|
93
|
-
<td data-value="
|
|
93
|
+
<td data-value="20" class="abs high">20/20</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
</tbody>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at 2025-06-17T20:32:27.082Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|