@fle-ui/next 1.0.0-alpha.12 → 1.0.0-alpha.13

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.
Files changed (164) hide show
  1. package/.history/package_20211011190148.json +141 -0
  2. package/.history/package_20211011193053.json +141 -0
  3. package/dist/@fle-ui/next.css +2 -2
  4. package/dist/@fle-ui/next.css.map +1 -1
  5. package/dist/@fle-ui/next.js +1 -1
  6. package/dist/@fle-ui/next.min.css +2 -2
  7. package/dist/@fle-ui/next.min.css.map +1 -1
  8. package/dist/@fle-ui/next.min.js +1 -1
  9. package/docs-dist/components__affix__affix.md.js +701 -1
  10. package/docs-dist/components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js +22482 -1
  11. package/docs-dist/components__alert__alert.md.js +942 -1
  12. package/docs-dist/components__anchor__anchor.md.js +789 -1
  13. package/docs-dist/components__auto-complete__autoComplete.md.js +1145 -1
  14. package/docs-dist/components__avatar__avatar.md.js +854 -1
  15. package/docs-dist/components__back-top__backTop.md.js +581 -1
  16. package/docs-dist/components__badge__badge.md.js +972 -1
  17. package/docs-dist/components__breadcrumb__breadcrumb.md.js +914 -1
  18. package/docs-dist/components__button__button.md.js +1037 -1
  19. package/docs-dist/components__calendar__calendar.md.js +897 -1
  20. package/docs-dist/components__card__card.md.js +1106 -1
  21. package/docs-dist/components__carousel__carousel.md.js +770 -1
  22. package/docs-dist/components__cascader__cascader.md.js +1378 -1
  23. package/docs-dist/components__checkbox__checkbox.md.js +876 -1
  24. package/docs-dist/components__collapse__collapse.md.js +959 -1
  25. package/docs-dist/components__comment__comment.md.js +586 -1
  26. package/docs-dist/components__config-provider__configProvider.md.js +1055 -1
  27. package/docs-dist/components__date-picker__date-picker.md.js +2622 -1
  28. package/docs-dist/components__descriptions__descriptions.md.js +863 -1
  29. package/docs-dist/components__divider__divider.md.js +681 -1
  30. package/docs-dist/components__drawer__drawer.md.js +997 -1
  31. package/docs-dist/components__dropdown__dropdown.md.js +1170 -1
  32. package/docs-dist/components__empty__empty.md.js +692 -1
  33. package/docs-dist/components__form__form.md.js +4099 -1
  34. package/docs-dist/components__grid__grid.md.js +999 -1
  35. package/docs-dist/components__icon__icon.md.js +739 -1
  36. package/docs-dist/components__image__image.md.js +745 -1
  37. package/docs-dist/components__input-number__inputNumber.md.js +1006 -1
  38. package/docs-dist/components__input__input.md.js +1579 -1
  39. package/docs-dist/components__layout__layout.md.js +1220 -1
  40. package/docs-dist/components__list__list.md.js +1255 -1
  41. package/docs-dist/components__mentions__mentions.md.js +943 -1
  42. package/docs-dist/components__menu__menu.md.js +1370 -1
  43. package/docs-dist/components__message__message.md.js +1223 -1
  44. package/docs-dist/components__modal__modal.md.js +1808 -1
  45. package/docs-dist/components__notification__notification.md.js +1192 -1
  46. package/docs-dist/components__page-header__page-header.md.js +781 -1
  47. package/docs-dist/components__pagination__pagination.md.js +954 -1
  48. package/docs-dist/components__popconfirm__popconfirm.md.js +792 -1
  49. package/docs-dist/components__popover__popover.md.js +665 -1
  50. package/docs-dist/components__progress__progress.md.js +1139 -1
  51. package/docs-dist/components__radio__radio.md.js +999 -1
  52. package/docs-dist/components__rate__rate.md.js +851 -1
  53. package/docs-dist/components__result__result.md.js +681 -1
  54. package/docs-dist/components__select__select.md.js +2081 -1
  55. package/docs-dist/components__slider__slider.md.js +1053 -1
  56. package/docs-dist/components__space__space.md.js +746 -1
  57. package/docs-dist/components__spin__spin.md.js +730 -1
  58. package/docs-dist/components__statistic__statistic.md.js +827 -1
  59. package/docs-dist/components__steps__steps.md.js +1097 -1
  60. package/docs-dist/components__switch__switch.md.js +763 -1
  61. package/docs-dist/components__table__table.md.js +3692 -1
  62. package/docs-dist/components__tabs__tabs.md.js +1213 -1
  63. package/docs-dist/components__tag__tag.md.js +779 -1
  64. package/docs-dist/components__time-picker__time-picker.md.js +1232 -1
  65. package/docs-dist/components__timeline__timeline.md.js +799 -1
  66. package/docs-dist/components__tooltip__tooltip.md.js +888 -1
  67. package/docs-dist/components__transfer__transfer.md.js +1226 -1
  68. package/docs-dist/components__tree-select__tree-select.md.js +1042 -1
  69. package/docs-dist/components__typography__typography.md.js +1793 -1
  70. package/docs-dist/components__upload__upload.md.js +1798 -1
  71. package/docs-dist/demos_bmurcdaerb.js +603 -1
  72. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +1 -1
  73. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js +21570 -1
  74. package/docs-dist/demos_citsitats.js +549 -1
  75. package/docs-dist/demos_daolpu.chunk.css +1 -1
  76. package/docs-dist/demos_daolpu.js +22680 -1
  77. package/docs-dist/demos_dirg.js +47 -1
  78. package/docs-dist/demos_drac.js +748 -1
  79. package/docs-dist/demos_ecaps.js +529 -1
  80. package/docs-dist/demos_egami.js +153 -1
  81. package/docs-dist/demos_egassem.js +187 -1
  82. package/docs-dist/demos_egdab.js +872 -1
  83. package/docs-dist/demos_elbat.chunk.css +1 -1
  84. package/docs-dist/demos_elbat.js +27626 -1
  85. package/docs-dist/demos_enilemit.js +627 -1
  86. package/docs-dist/demos_espalloc.js +705 -1
  87. package/docs-dist/demos_etar.js +547 -1
  88. package/docs-dist/demos_etelpmoc-otua.js +613 -1
  89. package/docs-dist/demos_gat.js +487 -1
  90. package/docs-dist/demos_hctiws.js +439 -1
  91. package/docs-dist/demos_ladom.js +791 -1
  92. package/docs-dist/demos_lesuorac.js +193 -1
  93. package/docs-dist/demos_mrifnocpop.js +671 -1
  94. package/docs-dist/demos_mrof.js +3082 -1
  95. package/docs-dist/demos_nips.js +461 -1
  96. package/docs-dist/demos_noitacifiton.js +765 -1
  97. package/docs-dist/demos_noitanigap.js +233 -1
  98. package/docs-dist/demos_nottub.js +847 -1
  99. package/docs-dist/demos_nwodpord.js +965 -1
  100. package/docs-dist/demos_oidar.js +340 -1
  101. package/docs-dist/demos_pitloot.js +204 -1
  102. package/docs-dist/demos_pot-kcab.js +62 -1
  103. package/docs-dist/demos_radnelac.js +285 -1
  104. package/docs-dist/demos_ratava.js +647 -1
  105. package/docs-dist/demos_rebmun-tupni.js +209 -1
  106. package/docs-dist/demos_redacsac.js +576 -1
  107. package/docs-dist/demos_redaeh-egap.js +761 -1
  108. package/docs-dist/demos_redils.js +659 -1
  109. package/docs-dist/demos_redivid.js +167 -1
  110. package/docs-dist/demos_redivorp-gifnoc.js +2154 -1
  111. package/docs-dist/demos_refsnart.js +774 -1
  112. package/docs-dist/demos_rekcip-emit.js +183 -1
  113. package/docs-dist/demos_rekcip-etad.js +469 -1
  114. package/docs-dist/demos_revopop.js +335 -1
  115. package/docs-dist/demos_reward.js +484 -1
  116. package/docs-dist/demos_rohcna.js +194 -1
  117. package/docs-dist/demos_sbat.chunk.css +1 -1
  118. package/docs-dist/demos_sbat.js +22358 -1
  119. package/docs-dist/demos_snoitnem.js +202 -1
  120. package/docs-dist/demos_snoitpircsed.js +351 -1
  121. package/docs-dist/demos_spets.js +910 -1
  122. package/docs-dist/demos_ssergorp.js +698 -1
  123. package/docs-dist/demos_tceles.js +1416 -1
  124. package/docs-dist/demos_tluser.js +530 -1
  125. package/docs-dist/demos_tnemmoc.js +560 -1
  126. package/docs-dist/demos_trela.js +341 -1
  127. package/docs-dist/demos_tsil.js +603 -1
  128. package/docs-dist/demos_tuoyal.js +872 -1
  129. package/docs-dist/demos_tupni.js +1245 -1
  130. package/docs-dist/demos_unem.js +1012 -1
  131. package/docs-dist/demos_xiffa.js +93 -1
  132. package/docs-dist/demos_xobkcehc.js +186 -1
  133. package/docs-dist/demos_yhpargopyt.js +798 -1
  134. package/docs-dist/demos_ytpme.js +433 -1
  135. package/docs-dist/docs__document__getting-started.md.js +193 -1
  136. package/docs-dist/docs__document__introduce.md.js +441 -1
  137. package/docs-dist/docs__document__practical-projects.md.js +117 -1
  138. package/docs-dist/docs__index.md.js +27 -1
  139. package/docs-dist/docs__story__index.md.js +89 -1
  140. package/docs-dist/dumi_demos.js +456 -1
  141. package/docs-dist/umi.js +28727 -1
  142. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js +2590 -1
  143. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js +8970 -1
  144. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js +2619 -1
  145. package/docs-dist/vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js +57323 -1
  146. package/docs-dist/vendors~demos_daolpu~demos_elbat.js +1649 -1
  147. package/docs-dist/vendors~demos_daolpu~demos_elbat~demos_sbat.js +4169 -1
  148. package/docs-dist/vendors~demos_gat.js +4673 -1
  149. package/docs-dist/vendors~demos_ladom.js +1855 -1
  150. package/docs-dist/vendors~demos_redivorp-gifnoc.js +9666 -1
  151. package/docs-dist/vendors~demos_sbat.js +1601 -1
  152. package/docs-dist/vendors~demos_trela.js +1722 -1
  153. package/docs-dist/vendors~demos_tsil.js +4970 -1
  154. package/docs-dist/vendors~demos_tuoyal.js +748 -1
  155. package/docs-dist/vendors~wrappers.js +1360 -1
  156. package/docs-dist/wrappers.js +21 -1
  157. package/es/drawer/style/drawer.less +8 -4
  158. package/es/drawer/style/index.css +1 -1
  159. package/es/style/themes/default.less +57 -29
  160. package/lib/drawer/style/drawer.less +8 -4
  161. package/lib/drawer/style/index.css +1 -1
  162. package/lib/style/themes/default.less +57 -29
  163. package/package.json +1 -1
  164. package/report.html +1 -1
@@ -1 +1,93 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[124],{LCZ5:function(e,t,a){"use strict";a.r(t);var n=a("tJVT"),r=a("q1tI"),c=a.n(r),l=a("m/eG"),o=()=>{var e=Object(r["useState"])(10),t=Object(n["a"])(e,2),a=t[0],o=t[1],i=Object(r["useState"])(10),m=Object(n["a"])(i,2),s=m[0],f=m[1];return c.a.createElement(c.a.Fragment,null,c.a.createElement(l["a"],{offsetTop:a},c.a.createElement(l["i"],{type:"primary",onClick:()=>o(a+10)},"Affix top")),c.a.createElement("br",null),c.a.createElement(l["a"],{offsetBottom:s},c.a.createElement(l["i"],{type:"primary",onClick:()=>f(s+10)},"Affix bottom")))};t["default"]=o},"qle+":function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),r=a.n(n),c=a("m/eG"),l=()=>r.a.createElement(c["a"],{offsetTop:120,onChange:e=>console.log(e)},r.a.createElement(c["i"],null,"120px to affix top"));t["default"]=l},wvDK:function(e,t,a){"use strict";a.r(t);var n=a("tJVT"),r=a("q1tI"),c=a.n(r),l=a("m/eG"),o=()=>{var e=Object(r["useState"])(null),t=Object(n["a"])(e,2),a=t[0],o=t[1];return c.a.createElement("div",{className:"scrollable-container",ref:o},c.a.createElement("div",{className:"background"},c.a.createElement(l["a"],{target:()=>a},c.a.createElement(l["i"],{type:"primary"},"Fixed at the top of container"))))};t["default"]=o}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [124],
3
+ {
4
+ LCZ5: function (e, t, a) {
5
+ 'use strict';
6
+ a.r(t);
7
+ var n = a('tJVT'),
8
+ r = a('q1tI'),
9
+ c = a.n(r),
10
+ l = a('m/eG'),
11
+ o = () => {
12
+ var e = Object(r['useState'])(10),
13
+ t = Object(n['a'])(e, 2),
14
+ a = t[0],
15
+ o = t[1],
16
+ i = Object(r['useState'])(10),
17
+ m = Object(n['a'])(i, 2),
18
+ s = m[0],
19
+ f = m[1];
20
+ return c.a.createElement(
21
+ c.a.Fragment,
22
+ null,
23
+ c.a.createElement(
24
+ l['a'],
25
+ { offsetTop: a },
26
+ c.a.createElement(
27
+ l['i'],
28
+ { type: 'primary', onClick: () => o(a + 10) },
29
+ 'Affix top',
30
+ ),
31
+ ),
32
+ c.a.createElement('br', null),
33
+ c.a.createElement(
34
+ l['a'],
35
+ { offsetBottom: s },
36
+ c.a.createElement(
37
+ l['i'],
38
+ { type: 'primary', onClick: () => f(s + 10) },
39
+ 'Affix bottom',
40
+ ),
41
+ ),
42
+ );
43
+ };
44
+ t['default'] = o;
45
+ },
46
+ 'qle+': function (e, t, a) {
47
+ 'use strict';
48
+ a.r(t);
49
+ var n = a('q1tI'),
50
+ r = a.n(n),
51
+ c = a('m/eG'),
52
+ l = () =>
53
+ r.a.createElement(
54
+ c['a'],
55
+ { offsetTop: 120, onChange: (e) => console.log(e) },
56
+ r.a.createElement(c['i'], null, '120px to affix top'),
57
+ );
58
+ t['default'] = l;
59
+ },
60
+ wvDK: function (e, t, a) {
61
+ 'use strict';
62
+ a.r(t);
63
+ var n = a('tJVT'),
64
+ r = a('q1tI'),
65
+ c = a.n(r),
66
+ l = a('m/eG'),
67
+ o = () => {
68
+ var e = Object(r['useState'])(null),
69
+ t = Object(n['a'])(e, 2),
70
+ a = t[0],
71
+ o = t[1];
72
+ return c.a.createElement(
73
+ 'div',
74
+ { className: 'scrollable-container', ref: o },
75
+ c.a.createElement(
76
+ 'div',
77
+ { className: 'background' },
78
+ c.a.createElement(
79
+ l['a'],
80
+ { target: () => a },
81
+ c.a.createElement(
82
+ l['i'],
83
+ { type: 'primary' },
84
+ 'Fixed at the top of container',
85
+ ),
86
+ ),
87
+ ),
88
+ );
89
+ };
90
+ t['default'] = o;
91
+ },
92
+ },
93
+ ]);
@@ -1 +1,186 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[125],{IOk5:function(e,t,a){"use strict";a.r(t);var n=a("tJVT"),c=a("q1tI"),l=a.n(c),r=a("m/eG"),m=()=>{var e=Object(c["useState"])(!0),t=Object(n["a"])(e,2),a=t[0],m=t[1],o=Object(c["useState"])(!1),u=Object(n["a"])(o,2),s=u[0],d=u[1],i=()=>{m(!a)},E=()=>{d(!s)},h=e=>{console.log("checked = ",e.target.checked),m(e.target.checked)},g="".concat(a?"Checked":"Unchecked","-").concat(s?"Disabled":"Enabled");return l.a.createElement(l.a.Fragment,null,l.a.createElement("p",{style:{marginBottom:"20px"}},l.a.createElement(r["n"],{checked:a,disabled:s,onChange:h},g)),l.a.createElement("p",null,l.a.createElement(r["i"],{type:"primary",size:"small",onClick:i},a?"Uncheck":"Check"),l.a.createElement(r["i"],{style:{margin:"0 10px"},type:"primary",size:"small",onClick:E},s?"Enable":"Disable")))};t["default"]=m},S8H4:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),c=a.n(n),l=a("m/eG");function r(e){console.log("checked = ",e)}var m=()=>c.a.createElement(l["n"].Group,{style:{width:"100%"},onChange:r},c.a.createElement(l["P"],null,c.a.createElement(l["o"],{span:8},c.a.createElement(l["n"],{value:"A"},"A")),c.a.createElement(l["o"],{span:8},c.a.createElement(l["n"],{value:"B"},"B")),c.a.createElement(l["o"],{span:8},c.a.createElement(l["n"],{value:"C"},"C")),c.a.createElement(l["o"],{span:8},c.a.createElement(l["n"],{value:"D"},"D")),c.a.createElement(l["o"],{span:8},c.a.createElement(l["n"],{value:"E"},"E"))));t["default"]=m},"UW+E":function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),c=a.n(n),l=a("m/eG");function r(e){console.log("checked = ".concat(e.target.checked))}var m=()=>c.a.createElement(l["n"],{onChange:r},"Checkbox");t["default"]=m},bna2:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),c=a.n(n),l=a("m/eG"),r=()=>c.a.createElement(c.a.Fragment,null,c.a.createElement(l["n"],{defaultChecked:!1,disabled:!0}),c.a.createElement("br",null),c.a.createElement(l["n"],{defaultChecked:!0,disabled:!0}));t["default"]=r},oLqW:function(e,t,a){"use strict";a.r(t);var n=a("tJVT"),c=a("q1tI"),l=a.n(c),r=a("m/eG"),m=r["n"].Group,o=["Apple","Pear","Orange"],u=["Apple","Orange"],s=()=>{var e=Object(c["useState"])(u),t=Object(n["a"])(e,2),a=t[0],s=t[1],d=Object(c["useState"])(!0),i=Object(n["a"])(d,2),E=i[0],h=i[1],g=Object(c["useState"])(!1),p=Object(n["a"])(g,2),k=p[0],b=p[1],v=e=>{s(e),h(!!e.length&&e.length<o.length),b(e.length===o.length)},C=e=>{s(e.target.checked?o:[]),h(!1),b(e.target.checked)};return l.a.createElement(l.a.Fragment,null,l.a.createElement(r["n"],{indeterminate:E,onChange:C,checked:k},"Check all"),l.a.createElement(r["u"],null),l.a.createElement(m,{options:o,value:a,onChange:v}))};t["default"]=s}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [125],
3
+ {
4
+ IOk5: function (e, t, a) {
5
+ 'use strict';
6
+ a.r(t);
7
+ var n = a('tJVT'),
8
+ c = a('q1tI'),
9
+ l = a.n(c),
10
+ r = a('m/eG'),
11
+ m = () => {
12
+ var e = Object(c['useState'])(!0),
13
+ t = Object(n['a'])(e, 2),
14
+ a = t[0],
15
+ m = t[1],
16
+ o = Object(c['useState'])(!1),
17
+ u = Object(n['a'])(o, 2),
18
+ s = u[0],
19
+ d = u[1],
20
+ i = () => {
21
+ m(!a);
22
+ },
23
+ E = () => {
24
+ d(!s);
25
+ },
26
+ h = (e) => {
27
+ console.log('checked = ', e.target.checked), m(e.target.checked);
28
+ },
29
+ g = ''
30
+ .concat(a ? 'Checked' : 'Unchecked', '-')
31
+ .concat(s ? 'Disabled' : 'Enabled');
32
+ return l.a.createElement(
33
+ l.a.Fragment,
34
+ null,
35
+ l.a.createElement(
36
+ 'p',
37
+ { style: { marginBottom: '20px' } },
38
+ l.a.createElement(
39
+ r['n'],
40
+ { checked: a, disabled: s, onChange: h },
41
+ g,
42
+ ),
43
+ ),
44
+ l.a.createElement(
45
+ 'p',
46
+ null,
47
+ l.a.createElement(
48
+ r['i'],
49
+ { type: 'primary', size: 'small', onClick: i },
50
+ a ? 'Uncheck' : 'Check',
51
+ ),
52
+ l.a.createElement(
53
+ r['i'],
54
+ {
55
+ style: { margin: '0 10px' },
56
+ type: 'primary',
57
+ size: 'small',
58
+ onClick: E,
59
+ },
60
+ s ? 'Enable' : 'Disable',
61
+ ),
62
+ ),
63
+ );
64
+ };
65
+ t['default'] = m;
66
+ },
67
+ S8H4: function (e, t, a) {
68
+ 'use strict';
69
+ a.r(t);
70
+ var n = a('q1tI'),
71
+ c = a.n(n),
72
+ l = a('m/eG');
73
+ function r(e) {
74
+ console.log('checked = ', e);
75
+ }
76
+ var m = () =>
77
+ c.a.createElement(
78
+ l['n'].Group,
79
+ { style: { width: '100%' }, onChange: r },
80
+ c.a.createElement(
81
+ l['P'],
82
+ null,
83
+ c.a.createElement(
84
+ l['o'],
85
+ { span: 8 },
86
+ c.a.createElement(l['n'], { value: 'A' }, 'A'),
87
+ ),
88
+ c.a.createElement(
89
+ l['o'],
90
+ { span: 8 },
91
+ c.a.createElement(l['n'], { value: 'B' }, 'B'),
92
+ ),
93
+ c.a.createElement(
94
+ l['o'],
95
+ { span: 8 },
96
+ c.a.createElement(l['n'], { value: 'C' }, 'C'),
97
+ ),
98
+ c.a.createElement(
99
+ l['o'],
100
+ { span: 8 },
101
+ c.a.createElement(l['n'], { value: 'D' }, 'D'),
102
+ ),
103
+ c.a.createElement(
104
+ l['o'],
105
+ { span: 8 },
106
+ c.a.createElement(l['n'], { value: 'E' }, 'E'),
107
+ ),
108
+ ),
109
+ );
110
+ t['default'] = m;
111
+ },
112
+ 'UW+E': function (e, t, a) {
113
+ 'use strict';
114
+ a.r(t);
115
+ var n = a('q1tI'),
116
+ c = a.n(n),
117
+ l = a('m/eG');
118
+ function r(e) {
119
+ console.log('checked = '.concat(e.target.checked));
120
+ }
121
+ var m = () => c.a.createElement(l['n'], { onChange: r }, 'Checkbox');
122
+ t['default'] = m;
123
+ },
124
+ bna2: function (e, t, a) {
125
+ 'use strict';
126
+ a.r(t);
127
+ var n = a('q1tI'),
128
+ c = a.n(n),
129
+ l = a('m/eG'),
130
+ r = () =>
131
+ c.a.createElement(
132
+ c.a.Fragment,
133
+ null,
134
+ c.a.createElement(l['n'], { defaultChecked: !1, disabled: !0 }),
135
+ c.a.createElement('br', null),
136
+ c.a.createElement(l['n'], { defaultChecked: !0, disabled: !0 }),
137
+ );
138
+ t['default'] = r;
139
+ },
140
+ oLqW: function (e, t, a) {
141
+ 'use strict';
142
+ a.r(t);
143
+ var n = a('tJVT'),
144
+ c = a('q1tI'),
145
+ l = a.n(c),
146
+ r = a('m/eG'),
147
+ m = r['n'].Group,
148
+ o = ['Apple', 'Pear', 'Orange'],
149
+ u = ['Apple', 'Orange'],
150
+ s = () => {
151
+ var e = Object(c['useState'])(u),
152
+ t = Object(n['a'])(e, 2),
153
+ a = t[0],
154
+ s = t[1],
155
+ d = Object(c['useState'])(!0),
156
+ i = Object(n['a'])(d, 2),
157
+ E = i[0],
158
+ h = i[1],
159
+ g = Object(c['useState'])(!1),
160
+ p = Object(n['a'])(g, 2),
161
+ k = p[0],
162
+ b = p[1],
163
+ v = (e) => {
164
+ s(e),
165
+ h(!!e.length && e.length < o.length),
166
+ b(e.length === o.length);
167
+ },
168
+ C = (e) => {
169
+ s(e.target.checked ? o : []), h(!1), b(e.target.checked);
170
+ };
171
+ return l.a.createElement(
172
+ l.a.Fragment,
173
+ null,
174
+ l.a.createElement(
175
+ r['n'],
176
+ { indeterminate: E, onChange: C, checked: k },
177
+ 'Check all',
178
+ ),
179
+ l.a.createElement(r['u'], null),
180
+ l.a.createElement(m, { options: o, value: a, onChange: v }),
181
+ );
182
+ };
183
+ t['default'] = s;
184
+ },
185
+ },
186
+ ]);