This commit is contained in:
BoyuZhou 2018-05-22 18:05:26 +08:00
parent 95b5c7617e
commit 5e0ec16785
7 changed files with 543 additions and 603 deletions

View File

@ -2,7 +2,13 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="fc6f46f1-46b7-479d-a1be-6709765e93ca" name="Default" comment=""> <list default="true" id="fc6f46f1-46b7-479d-a1be-6709765e93ca" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/docs/api.md" afterPath="$PROJECT_DIR$/docs/api.md" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/lib/dragColumn.js" afterPath="$PROJECT_DIR$/src/lib/dragColumn.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/lib/filterColumn.js" afterPath="$PROJECT_DIR$/src/lib/filterColumn.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/lib/multiSelect.js" afterPath="$PROJECT_DIR$/src/lib/multiSelect.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/lib/sort.js" afterPath="$PROJECT_DIR$/src/lib/sort.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/render/CheckboxRender.js" afterPath="$PROJECT_DIR$/src/render/CheckboxRender.js" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/render/DateRender.js" afterPath="$PROJECT_DIR$/src/render/DateRender.js" />
</list> </list>
<ignored path="$PROJECT_DIR$/.tmp/" /> <ignored path="$PROJECT_DIR$/.tmp/" />
<ignored path="$PROJECT_DIR$/temp/" /> <ignored path="$PROJECT_DIR$/temp/" />
@ -14,207 +20,169 @@
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" /> <option name="LAST_RESOLUTION" value="IGNORE" />
</component> </component>
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="Demo14.js" pinned="false" current-in-tab="false"> <file leaf-file-name="InputRender.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/demo/demolist/Demo14.js"> <entry file="file://$PROJECT_DIR$/src/render/InputRender.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="408"> <state relative-caret-position="312">
<caret line="33" column="17" lean-forward="false" selection-start-line="33" selection-start-column="17" selection-end-line="33" selection-end-column="17" /> <caret line="13" column="2" lean-forward="false" selection-start-line="13" selection-start-column="2" selection-end-line="13" selection-end-column="2" />
<folding>
<element signature="n#!!doc" expanded="true" />
<element signature="e#87#119#0" expanded="true" />
<marker date="1526020634901" expanded="true" signature="962:7411" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="985:5179" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="1910:5174" ph="[...]" />
<marker date="1526020634901" expanded="true" signature="3504:4190" ph="{&quot;title&quot;: &quot;下拉框&quot;...}" />
<marker date="1526020634901" expanded="true" signature="3647:4182" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="3680:4159" ph="&lt;SelectRender/&gt;" />
<marker date="1526020634901" expanded="true" signature="3993:4076" ph="&lt;Option/&gt;" />
<marker date="1526020634901" expanded="true" signature="4198:4665" ph="{&quot;title&quot;: &quot;年月日&quot;...}" />
<marker date="1526020634901" expanded="true" signature="4347:4657" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="4380:4634" ph="&lt;DateRender/&gt;" />
<marker date="1526020634901" expanded="true" signature="4673:5168" ph="{&quot;title&quot;: &quot;年月&quot;...}" />
<marker date="1526020634901" expanded="true" signature="4823:5160" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="4856:5137" ph="&lt;DateRender/&gt;" />
<marker date="1526020634901" expanded="true" signature="5292:5454" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5314:5449" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5490:5652" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5512:5647" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5689:5891" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5711:5886" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5915:5940" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5964:5989" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6013:6169" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6032:6164" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6191:6510" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6259:6410" ph="{&quot;name&quot;: `凤姐 ${count}`...}" />
<marker date="1526020634901" expanded="true" signature="6430:6504" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6540:6732" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6561:6721" ph="&lt;Animate/&gt;" />
<marker date="1526020634901" expanded="true" signature="6752:6797" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6810:7409" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6904:7398" ph="&lt;div/&gt;" />
<marker date="1526020634901" expanded="true" signature="6918:7065" ph="&lt;Button/&gt;" />
<marker date="1526020634901" expanded="true" signature="7074:7256" ph="&lt;Button/&gt;" />
<marker date="1526020634901" expanded="true" signature="7265:7385" ph="&lt;Table/&gt;" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="SelectRender.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/build/render/SelectRender.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1872">
<caret line="78" column="28" lean-forward="false" selection-start-line="78" selection-start-column="28" selection-end-line="78" selection-end-column="28" />
<folding>
<marker date="1526020644655" expanded="true" signature="2189:3054" ph="{...}" />
<marker date="1526020644655" expanded="true" signature="4787:5083" ph="{...}" />
<marker date="1526020644655" expanded="true" signature="4947:5067" ph="{&quot;type&quot;: &quot;uf-correct&quot;...}" />
<marker date="1526020644655" expanded="true" signature="5089:5877" ph="{...}" />
<marker date="1526020644655" expanded="true" signature="5138:5371" ph="{...}" />
<marker date="1526020644655" expanded="true" signature="5204:5363" ph="{...}" />
<marker date="1526020644655" expanded="true" signature="5288:5353" ph="{...}" />
<marker date="1526020644655" expanded="true" signature="5749:5861" ph="{&quot;type&quot;: &quot;uf-pencil&quot;...}" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="SelectRender.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/render/SelectRender.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-528">
<caret line="57" column="29" lean-forward="false" selection-start-line="57" selection-start-column="29" selection-end-line="57" selection-end-column="29" />
<folding> <folding>
<element signature="e#0#41#0" expanded="true" /> <element signature="e#0#41#0" expanded="true" />
<marker date="1526020644761" expanded="true" signature="1881:1989" ph="&lt;Select/&gt;" /> <marker date="1526978323444" expanded="true" signature="354:4405" ph="{...}" />
<marker date="1526020644761" expanded="true" signature="1881:2145" ph="&lt;div/&gt;" /> <marker date="1526978323444" expanded="true" signature="366:420" ph="{...}" />
<marker date="1526020644761" expanded="true" signature="2000:2130" ph="&lt;Icon/&gt;" /> <marker date="1526978323444" expanded="true" signature="444:500" ph="{...}" />
<marker date="1526020644761" expanded="true" signature="2215:2448" ph="{...}" /> <marker date="1526978323444" expanded="true" signature="518:796" ph="{...}" />
<marker date="1526020644761" expanded="true" signature="2281:2440" ph="{...}" /> <marker date="1526978323444" expanded="true" signature="576:787" ph="{...}" />
<marker date="1526020644761" expanded="true" signature="2365:2430" ph="{...}" /> <marker date="1526978323444" expanded="true" signature="696:752" ph="{...}" />
<marker date="1526020644761" expanded="true" signature="2496:2600" ph="&lt;div/&gt;" /> <marker date="1526978323444" expanded="true" signature="831:878" ph="{...}" />
<marker date="1526020644761" expanded="true" signature="2621:2838" ph="&lt;div/&gt;" /> <marker date="1526978323444" expanded="true" signature="895:939" ph="{...}" />
<marker date="1526020644761" expanded="true" signature="2701:2823" ph="&lt;Icon/&gt;" /> <marker date="1526978323444" expanded="true" signature="968:1064" ph="{...}" />
<marker date="1526978323444" expanded="true" signature="999:1026" ph="{...}" />
<marker date="1526978323444" expanded="true" signature="1107:1817" ph="{...}" />
<marker date="1526978323444" expanded="true" signature="1160:1668" ph="{...}" />
<marker date="1526978323444" expanded="true" signature="1691:1783" ph="{...}" />
<marker date="1526978323444" expanded="true" signature="1789:1813" ph="{...}" />
<marker date="1526978323444" expanded="true" signature="1830:4403" ph="{...}" />
<marker date="1526978323444" expanded="true" signature="2088:3827" ph="{...}" />
<marker date="1526978323444" expanded="true" signature="2137:2926" ph="&lt;div/&gt;" />
<marker date="1526978323444" expanded="true" signature="2194:2394" ph="/*...*/" />
<marker date="1526978323444" expanded="true" signature="2406:2911" ph="&lt;Form.FormItem/&gt;" />
<marker date="1526978323444" expanded="true" signature="2700:2884" ph="&lt;Input/&gt;" />
<marker date="1526978323444" expanded="true" signature="2947:3812" ph="&lt;div/&gt;" />
<marker date="1526978323444" expanded="true" signature="3004:3139" ph="/*...*/" />
<marker date="1526978323444" expanded="true" signature="3151:3656" ph="&lt;Form.FormItem/&gt;" />
<marker date="1526978323444" expanded="true" signature="3445:3629" ph="&lt;Input/&gt;" />
<marker date="1526978323444" expanded="true" signature="3667:3797" ph="&lt;Icon/&gt;" />
<marker date="1526978323444" expanded="true" signature="3833:4336" ph="{...}" />
<marker date="1526978323444" expanded="true" signature="3878:3931" ph="{...}" />
<marker date="1526978323444" expanded="true" signature="3979:4083" ph="&lt;div/&gt;" />
<marker date="1526978323444" expanded="true" signature="4104:4321" ph="&lt;div/&gt;" />
<marker date="1526978323444" expanded="true" signature="4184:4306" ph="&lt;Icon/&gt;" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="package.json" pinned="false" current-in-tab="false"> <file leaf-file-name="sort.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/package.json"> <entry file="file://$PROJECT_DIR$/src/lib/sort.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-261"> <state relative-caret-position="152">
<caret line="21" column="28" lean-forward="false" selection-start-line="21" selection-start-column="28" selection-end-line="21" selection-end-column="28" /> <caret line="7" column="3" lean-forward="true" selection-start-line="7" selection-start-column="3" selection-end-line="7" selection-end-column="3" />
<folding>
<element signature="e#0#41#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="sum.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/lib/sum.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="api.md" pinned="false" current-in-tab="true"> <file leaf-file-name="CheckboxRender.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/docs/api.md"> <entry file="file://$PROJECT_DIR$/src/render/CheckboxRender.js">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="359">
<caret line="82" column="51" lean-forward="false" selection-start-line="82" selection-start-column="51" selection-end-line="82" selection-end-column="51" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="mixin.md" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/docs/mixin.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="-923">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="mixin_en.md" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/docs/mixin_en.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="rendertype.md" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/docs/rendertype.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="253">
<caret line="70" column="73" lean-forward="false" selection-start-line="70" selection-start-column="73" selection-end-line="70" selection-end-column="73" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Table.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/Table.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="6816"> <state relative-caret-position="78">
<caret line="293" column="5" lean-forward="false" selection-start-line="293" selection-start-column="5" selection-end-line="293" selection-end-column="5" /> <caret line="3" column="13" lean-forward="false" selection-start-line="3" selection-start-column="13" selection-end-line="3" selection-end-column="13" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="util.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/lib/util.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding> <folding>
<marker date="1526020644757" expanded="true" signature="17857:17909" ph="&lt;div/&gt;" /> <element signature="n#!!doc" expanded="true" />
<marker date="1526020644757" expanded="true" signature="17857:18769" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="17857:24402" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="17951:18716" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="18280:18701" ph="&lt;div/&gt;" />
<marker date="1526020644757" expanded="true" signature="18388:18686" ph="&lt;div/&gt;" />
<marker date="1526020644757" expanded="true" signature="18784:18960" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="18858:18942" ph="&lt;div/&gt;" />
<marker date="1526020644757" expanded="true" signature="18976:19156" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="19052:19138" ph="&lt;div/&gt;" />
<marker date="1526020644757" expanded="true" signature="19175:19363" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="19266:19345" ph="&lt;div/&gt;" />
<marker date="1526020644757" expanded="true" signature="19400:19707" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="19546:19686" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="19583:19627" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="19737:20580" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="20499:20574" ph="{&quot;fixedColumnsHeadRowsHeight&quot;: fixedColumnsHeadRowsHeight...}" />
<marker date="1526020644757" expanded="true" signature="20599:20762" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="20630:20679" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="20797:20912" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="20945:21021" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21047:21150" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21096:21146" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21174:22705" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21180:21272" ph="//..." />
<marker date="1526020644757" expanded="true" signature="21313:21334" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21533:22174" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21690:21751" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21789:21849" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22193:22590" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22264:22334" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22406:22477" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22738:22822" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22764:22816" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22969:23018" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="23085:23141" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="23164:23216" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="23522:23579" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="23540:23572" ph="{&quot;show&quot;: loading...}" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="Demo13.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/demo/demolist/Demo13.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="364">
<caret line="19" column="13" lean-forward="false" selection-start-line="19" selection-start-column="13" selection-end-line="19" selection-end-column="13" />
<folding>
<element signature="e#92#133#0" expanded="true" />
<marker date="1526978323061" expanded="true" signature="1333:2859" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1356:1506" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1393:1501" ph="{&quot;data13&quot;: data13...}" />
<marker date="1526978323061" expanded="true" signature="1539:1570" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1610:1709" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1661:1687" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1746:1845" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1797:1823" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1865:1931" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1885:1925" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1952:2150" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1972:2144" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="2015:2138" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="2074:2108" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="2163:2857" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="2184:2214" ph="{&quot;type&quot;: &quot;checkbox&quot;...}" />
<marker date="1526978323061" expanded="true" signature="2235:2846" ph="&lt;div/&gt;" />
<marker date="1526978323061" expanded="true" signature="2249:2356" ph="&lt;Button/&gt;" />
<marker date="1526978323061" expanded="true" signature="2365:2545" ph="&lt;Button/&gt;" />
<marker date="1526978323061" expanded="true" signature="2554:2833" ph="&lt;ComplexTable/&gt;" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="DateRender.js" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/render/DateRender.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="468">
<caret line="56" column="24" lean-forward="false" selection-start-line="56" selection-start-column="14" selection-end-line="56" selection-end-column="24" />
<folding>
<element signature="e#0#41#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="multiSelect.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/lib/multiSelect.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="41" lean-forward="false" selection-start-line="0" selection-start-column="41" selection-end-line="0" selection-end-column="41" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="filterColumn.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/lib/filterColumn.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-2413">
<caret line="6" column="18" lean-forward="false" selection-start-line="6" selection-start-column="18" selection-end-line="6" selection-end-column="18" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="dragColumn.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/lib/dragColumn.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="41" lean-forward="false" selection-start-line="0" selection-start-column="41" selection-end-line="0" selection-end-column="41" />
<folding />
</state>
</provider>
</entry>
</file>
</leaf> </leaf>
</component> </component>
<component name="FindInProjectRecents"> <component name="FindInProjectRecents">
@ -223,6 +191,10 @@
<find>getExpandedRow</find> <find>getExpandedRow</find>
<find>fixed</find> <find>fixed</find>
<find>content</find> <find>content</find>
<find>indexOf</find>
<find>remove</find>
<find>Icon</find>
<find>moment</find>
</findStrings> </findStrings>
<dirStrings> <dirStrings>
<dir>$PROJECT_DIR$/src</dir> <dir>$PROJECT_DIR$/src</dir>
@ -240,13 +212,18 @@
<option value="$PROJECT_DIR$/demo/demolist/Demo9.js" /> <option value="$PROJECT_DIR$/demo/demolist/Demo9.js" />
<option value="$PROJECT_DIR$/demo/index.js" /> <option value="$PROJECT_DIR$/demo/index.js" />
<option value="$PROJECT_DIR$/index.html" /> <option value="$PROJECT_DIR$/index.html" />
<option value="$PROJECT_DIR$/src/lib/multiSelect.js" />
<option value="$PROJECT_DIR$/demo/demolist/Demo5.js" /> <option value="$PROJECT_DIR$/demo/demolist/Demo5.js" />
<option value="$PROJECT_DIR$/src/Table.js" /> <option value="$PROJECT_DIR$/src/Table.js" />
<option value="$PROJECT_DIR$/demo/demolist/Demo16.js" /> <option value="$PROJECT_DIR$/demo/demolist/Demo16.js" />
<option value="$PROJECT_DIR$/package.json" /> <option value="$PROJECT_DIR$/package.json" />
<option value="$PROJECT_DIR$/docs/rendertype.md" /> <option value="$PROJECT_DIR$/docs/rendertype.md" />
<option value="$PROJECT_DIR$/docs/api.md" /> <option value="$PROJECT_DIR$/docs/api.md" />
<option value="$PROJECT_DIR$/src/lib/dragColumn.js" />
<option value="$PROJECT_DIR$/src/lib/filterColumn.js" />
<option value="$PROJECT_DIR$/src/lib/multiSelect.js" />
<option value="$PROJECT_DIR$/src/lib/sort.js" />
<option value="$PROJECT_DIR$/src/render/CheckboxRender.js" />
<option value="$PROJECT_DIR$/src/render/DateRender.js" />
</list> </list>
</option> </option>
</component> </component>
@ -261,10 +238,11 @@
<component name="NodeModulesDirectoryManager"> <component name="NodeModulesDirectoryManager">
<handled-path value="$PROJECT_DIR$/node_modules" /> <handled-path value="$PROJECT_DIR$/node_modules" />
</component> </component>
<component name="ProjectFrameBounds" extendedState="6"> <component name="ProjectFrameBounds">
<option name="y" value="23" /> <option name="x" value="-8" />
<option name="width" value="1680" /> <option name="y" value="-8" />
<option name="height" value="946" /> <option name="width" value="1936" />
<option name="height" value="1056" />
</component> </component>
<component name="ProjectLevelVcsManager"> <component name="ProjectLevelVcsManager">
<ConfirmationsSetting value="2" id="Add" /> <ConfirmationsSetting value="2" id="Add" />
@ -286,44 +264,84 @@
<panes> <panes>
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<expand> <PATH>
<path> <PATH_ELEMENT>
<item name="bee-table" type="b2602c69:ProjectViewProjectNode" /> <option name="myItemId" value="bee-table" />
<item name="bee-table" type="462c0819:PsiDirectoryNode" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</path> </PATH_ELEMENT>
<path> <PATH_ELEMENT>
<item name="bee-table" type="b2602c69:ProjectViewProjectNode" /> <option name="myItemId" value="bee-table" />
<item name="bee-table" type="462c0819:PsiDirectoryNode" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
<item name="build" type="462c0819:PsiDirectoryNode" /> </PATH_ELEMENT>
</path> </PATH>
<path> <PATH>
<item name="bee-table" type="b2602c69:ProjectViewProjectNode" /> <PATH_ELEMENT>
<item name="bee-table" type="462c0819:PsiDirectoryNode" /> <option name="myItemId" value="bee-table" />
<item name="build" type="462c0819:PsiDirectoryNode" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
<item name="render" type="462c0819:PsiDirectoryNode" /> </PATH_ELEMENT>
</path> <PATH_ELEMENT>
<path> <option name="myItemId" value="bee-table" />
<item name="bee-table" type="b2602c69:ProjectViewProjectNode" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
<item name="bee-table" type="462c0819:PsiDirectoryNode" /> </PATH_ELEMENT>
<item name="demo" type="462c0819:PsiDirectoryNode" /> <PATH_ELEMENT>
</path> <option name="myItemId" value="src" />
<path> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
<item name="bee-table" type="b2602c69:ProjectViewProjectNode" /> </PATH_ELEMENT>
<item name="bee-table" type="462c0819:PsiDirectoryNode" /> </PATH>
<item name="demo" type="462c0819:PsiDirectoryNode" /> <PATH>
<item name="demolist" type="462c0819:PsiDirectoryNode" /> <PATH_ELEMENT>
</path> <option name="myItemId" value="bee-table" />
<path> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
<item name="bee-table" type="b2602c69:ProjectViewProjectNode" /> </PATH_ELEMENT>
<item name="bee-table" type="462c0819:PsiDirectoryNode" /> <PATH_ELEMENT>
<item name="docs" type="462c0819:PsiDirectoryNode" /> <option name="myItemId" value="bee-table" />
</path> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</expand> </PATH_ELEMENT>
<select /> <PATH_ELEMENT>
<option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="render" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="bee-table" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="bee-table" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="lib" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="bee-table" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="bee-table" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="demo" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
</subPane> </subPane>
</pane> </pane>
<pane id="Scratches" />
<pane id="Scope" /> <pane id="Scope" />
<pane id="Scratches" />
</panes> </panes>
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
@ -369,20 +387,21 @@
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="11366000" /> <option name="totallyTimeSpent" value="12375000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="0" y="23" width="1680" height="946" extended-state="0" /> <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
<editor active="true" /> <editor active="true" />
<layout> <layout>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24954791" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24920969" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="npm" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="npm" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32902467" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3286334" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
@ -403,9 +422,25 @@
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
</layout> </layout>
</component> <layout-to-restore>
<component name="TypeScriptGeneratedFilesManager"> <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<option name="version" value="1" /> <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="npm" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24973433" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
</layout-to-restore>
</component> </component>
<component name="VcsContentAnnotationSettings"> <component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" /> <option name="myLimit" value="2678400000" />
@ -417,56 +452,6 @@
<watches-manager /> <watches-manager />
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/demo/index.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1632">
<caret line="72" column="1" lean-forward="false" selection-start-line="72" selection-start-column="1" selection-end-line="72" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="456">
<caret line="19" column="84" lean-forward="false" selection-start-line="19" selection-start-column="84" selection-end-line="19" selection-end-column="84" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2088">
<caret line="87" column="1" lean-forward="false" selection-start-line="87" selection-start-column="1" selection-end-line="87" selection-end-column="1" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/lib/multiSelect.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="3120">
<caret line="165" column="26" lean-forward="false" selection-start-line="165" selection-start-column="26" selection-end-line="165" selection-end-column="26" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demo/demolist/Demo7.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1896">
<caret line="85" column="0" lean-forward="true" selection-start-line="85" selection-start-column="0" selection-end-line="85" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demo/demolist/Demo8.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="48">
<caret line="8" column="0" lean-forward="false" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demo/demolist/Demo9.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="24">
<caret line="8" column="0" lean-forward="false" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demo/index.js"> <entry file="file://$PROJECT_DIR$/demo/index.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1632"> <state relative-caret-position="1632">
@ -526,16 +511,7 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/README.md"> <entry file="file://$PROJECT_DIR$/README.md" />
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="0">
<caret line="0" column="1" lean-forward="false" selection-start-line="0" selection-start-column="1" selection-end-line="0" selection-end-column="1" />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/lib/multiSelect.js"> <entry file="file://$PROJECT_DIR$/src/lib/multiSelect.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="24"> <state relative-caret-position="24">
@ -601,8 +577,31 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/demo/demolist/Demo13.js"> <entry file="file://$PROJECT_DIR$/demo/demolist/Demo13.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-2511"> <state relative-caret-position="364">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> <caret line="19" column="13" lean-forward="false" selection-start-line="19" selection-start-column="13" selection-end-line="19" selection-end-column="13" />
<folding>
<element signature="e#92#133#0" expanded="true" />
<marker date="1526978323061" expanded="true" signature="1333:2859" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1356:1506" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1393:1501" ph="{&quot;data13&quot;: data13...}" />
<marker date="1526978323061" expanded="true" signature="1539:1570" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1610:1709" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1661:1687" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1746:1845" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1797:1823" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1865:1931" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1885:1925" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1952:2150" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="1972:2144" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="2015:2138" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="2074:2108" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="2163:2857" ph="{...}" />
<marker date="1526978323061" expanded="true" signature="2184:2214" ph="{&quot;type&quot;: &quot;checkbox&quot;...}" />
<marker date="1526978323061" expanded="true" signature="2235:2846" ph="&lt;div/&gt;" />
<marker date="1526978323061" expanded="true" signature="2249:2356" ph="&lt;Button/&gt;" />
<marker date="1526978323061" expanded="true" signature="2365:2545" ph="&lt;Button/&gt;" />
<marker date="1526978323061" expanded="true" signature="2554:2833" ph="&lt;ComplexTable/&gt;" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -613,40 +612,6 @@
<folding> <folding>
<element signature="n#!!doc" expanded="true" /> <element signature="n#!!doc" expanded="true" />
<element signature="e#87#119#0" expanded="true" /> <element signature="e#87#119#0" expanded="true" />
<marker date="1526020634901" expanded="true" signature="962:7411" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="985:5179" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="1910:5174" ph="[...]" />
<marker date="1526020634901" expanded="true" signature="3504:4190" ph="{&quot;title&quot;: &quot;下拉框&quot;...}" />
<marker date="1526020634901" expanded="true" signature="3647:4182" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="3680:4159" ph="&lt;SelectRender/&gt;" />
<marker date="1526020634901" expanded="true" signature="3993:4076" ph="&lt;Option/&gt;" />
<marker date="1526020634901" expanded="true" signature="4198:4665" ph="{&quot;title&quot;: &quot;年月日&quot;...}" />
<marker date="1526020634901" expanded="true" signature="4347:4657" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="4380:4634" ph="&lt;DateRender/&gt;" />
<marker date="1526020634901" expanded="true" signature="4673:5168" ph="{&quot;title&quot;: &quot;年月&quot;...}" />
<marker date="1526020634901" expanded="true" signature="4823:5160" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="4856:5137" ph="&lt;DateRender/&gt;" />
<marker date="1526020634901" expanded="true" signature="5292:5454" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5314:5449" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5490:5652" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5512:5647" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5689:5891" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5711:5886" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5915:5940" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="5964:5989" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6013:6169" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6032:6164" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6191:6510" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6259:6410" ph="{&quot;name&quot;: `凤姐 ${count}`...}" />
<marker date="1526020634901" expanded="true" signature="6430:6504" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6540:6732" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6561:6721" ph="&lt;Animate/&gt;" />
<marker date="1526020634901" expanded="true" signature="6752:6797" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6810:7409" ph="{...}" />
<marker date="1526020634901" expanded="true" signature="6904:7398" ph="&lt;div/&gt;" />
<marker date="1526020634901" expanded="true" signature="6918:7065" ph="&lt;Button/&gt;" />
<marker date="1526020634901" expanded="true" signature="7074:7256" ph="&lt;Button/&gt;" />
<marker date="1526020634901" expanded="true" signature="7265:7385" ph="&lt;Table/&gt;" />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -749,13 +714,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/lib/multiSelect.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-438">
<caret line="165" column="26" lean-forward="false" selection-start-line="165" selection-start-column="26" selection-end-line="165" selection-end-column="26" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/demo/demolist/Demo9.js"> <entry file="file://$PROJECT_DIR$/demo/demolist/Demo9.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1219"> <state relative-caret-position="1219">
@ -774,47 +732,7 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="6816"> <state relative-caret-position="6816">
<caret line="293" column="5" lean-forward="false" selection-start-line="293" selection-start-column="5" selection-end-line="293" selection-end-column="5" /> <caret line="293" column="5" lean-forward="false" selection-start-line="293" selection-start-column="5" selection-end-line="293" selection-end-column="5" />
<folding> <folding />
<marker date="1526020644757" expanded="true" signature="17857:17909" ph="&lt;div/&gt;" />
<marker date="1526020644757" expanded="true" signature="17857:18769" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="17857:24402" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="17951:18716" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="18280:18701" ph="&lt;div/&gt;" />
<marker date="1526020644757" expanded="true" signature="18388:18686" ph="&lt;div/&gt;" />
<marker date="1526020644757" expanded="true" signature="18784:18960" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="18858:18942" ph="&lt;div/&gt;" />
<marker date="1526020644757" expanded="true" signature="18976:19156" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="19052:19138" ph="&lt;div/&gt;" />
<marker date="1526020644757" expanded="true" signature="19175:19363" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="19266:19345" ph="&lt;div/&gt;" />
<marker date="1526020644757" expanded="true" signature="19400:19707" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="19546:19686" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="19583:19627" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="19737:20580" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="20499:20574" ph="{&quot;fixedColumnsHeadRowsHeight&quot;: fixedColumnsHeadRowsHeight...}" />
<marker date="1526020644757" expanded="true" signature="20599:20762" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="20630:20679" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="20797:20912" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="20945:21021" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21047:21150" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21096:21146" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21174:22705" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21180:21272" ph="//..." />
<marker date="1526020644757" expanded="true" signature="21313:21334" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21533:22174" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21690:21751" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="21789:21849" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22193:22590" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22264:22334" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22406:22477" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22738:22822" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22764:22816" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="22969:23018" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="23085:23141" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="23164:23216" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="23522:23579" ph="{...}" />
<marker date="1526020644757" expanded="true" signature="23540:23572" ph="{&quot;show&quot;: loading...}" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -822,18 +740,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-528"> <state relative-caret-position="-528">
<caret line="57" column="29" lean-forward="false" selection-start-line="57" selection-start-column="29" selection-end-line="57" selection-end-column="29" /> <caret line="57" column="29" lean-forward="false" selection-start-line="57" selection-start-column="29" selection-end-line="57" selection-end-column="29" />
<folding>
<element signature="e#0#41#0" expanded="true" />
<marker date="1526020644761" expanded="true" signature="1881:1989" ph="&lt;Select/&gt;" />
<marker date="1526020644761" expanded="true" signature="1881:2145" ph="&lt;div/&gt;" />
<marker date="1526020644761" expanded="true" signature="2000:2130" ph="&lt;Icon/&gt;" />
<marker date="1526020644761" expanded="true" signature="2215:2448" ph="{...}" />
<marker date="1526020644761" expanded="true" signature="2281:2440" ph="{...}" />
<marker date="1526020644761" expanded="true" signature="2365:2430" ph="{...}" />
<marker date="1526020644761" expanded="true" signature="2496:2600" ph="&lt;div/&gt;" />
<marker date="1526020644761" expanded="true" signature="2621:2838" ph="&lt;div/&gt;" />
<marker date="1526020644761" expanded="true" signature="2701:2823" ph="&lt;Icon/&gt;" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -845,47 +751,75 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/docs/mixin.md"> <entry file="file://$PROJECT_DIR$/docs/mixin.md" />
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]"> <entry file="file://$PROJECT_DIR$/docs/mixin_en.md" />
<state split_layout="SPLIT"> <entry file="file://$PROJECT_DIR$/docs/rendertype.md" />
<first_editor relative-caret-position="-923"> <entry file="file://$PROJECT_DIR$/docs/api.md" />
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> <entry file="file://$PROJECT_DIR$/src/lib/dragColumn.js">
<folding /> <provider selected="true" editor-type-id="text-editor">
</first_editor> <state relative-caret-position="0">
<second_editor /> <caret line="0" column="41" lean-forward="false" selection-start-line="0" selection-start-column="41" selection-end-line="0" selection-end-column="41" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/docs/mixin_en.md"> <entry file="file://$PROJECT_DIR$/src/lib/multiSelect.js">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]"> <provider selected="true" editor-type-id="text-editor">
<state split_layout="SPLIT"> <state relative-caret-position="0">
<first_editor relative-caret-position="0"> <caret line="0" column="41" lean-forward="false" selection-start-line="0" selection-start-column="41" selection-end-line="0" selection-end-column="41" />
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> <folding />
<folding />
</first_editor>
<second_editor />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/docs/rendertype.md"> <entry file="file://$PROJECT_DIR$/src/lib/sort.js">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]"> <provider selected="true" editor-type-id="text-editor">
<state split_layout="SPLIT"> <state relative-caret-position="152">
<first_editor relative-caret-position="253"> <caret line="7" column="3" lean-forward="true" selection-start-line="7" selection-start-column="3" selection-end-line="7" selection-end-column="3" />
<caret line="70" column="73" lean-forward="false" selection-start-line="70" selection-start-column="73" selection-end-line="70" selection-end-column="73" /> <folding>
<folding /> <element signature="e#0#41#0" expanded="true" />
</first_editor> </folding>
<second_editor />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/docs/api.md"> <entry file="file://$PROJECT_DIR$/src/lib/sum.js">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]"> <provider selected="true" editor-type-id="text-editor">
<state split_layout="SPLIT"> <state relative-caret-position="0">
<first_editor relative-caret-position="359"> <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<caret line="82" column="51" lean-forward="false" selection-start-line="82" selection-start-column="51" selection-end-line="82" selection-end-column="51" /> <folding />
<folding /> </state>
</first_editor> </provider>
<second_editor /> </entry>
<entry file="file://$PROJECT_DIR$/build/index.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="234">
<caret line="9" column="23" lean-forward="false" selection-start-line="9" selection-start-column="23" selection-end-line="9" selection-end-column="23" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/lib/filterColumn.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-2413">
<caret line="6" column="18" lean-forward="false" selection-start-line="6" selection-start-column="18" selection-end-line="6" selection-end-column="18" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/render/CheckboxRender.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="78">
<caret line="3" column="13" lean-forward="false" selection-start-line="3" selection-start-column="13" selection-end-line="3" selection-end-column="13" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/render/DateRender.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="468">
<caret line="56" column="24" lean-forward="false" selection-start-line="56" selection-start-column="14" selection-end-line="56" selection-end-column="24" />
<folding>
<element signature="e#0#41#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>

View File

@ -1,6 +1,4 @@
import React, { Component } from "react"; import React, { Component } from "react";
import Icon from "bee-icon";
import ReactDOM from 'react-dom';
import {sortBy} from './util'; import {sortBy} from './util';
/** /**
* 参数: 列拖拽 * 参数: 列拖拽
@ -9,7 +7,7 @@ import {sortBy} from './util';
export default function dragColumn(Table) { export default function dragColumn(Table) {
return class dragColumn extends Component { return class DragColumn extends Component {
constructor(props) { constructor(props) {
super(props); super(props);

View File

@ -1,21 +1,15 @@
import React, { Component } from "react"; import React, { Component } from "react";
import Icon from "bee-icon";
import Checkbox from "bee-checkbox";
import ReactDOM from 'react-dom';
import Popover from 'bee-popover';
/** /**
* 参数: 过滤表头 * 参数: 过滤表头
* @param {*} Table * @param {*} Table
* @param {*} Checkbox
* @param {*} Popover
* @param {*} Icon
*/ */
export default function filterColumn(Table, Checkbox, Popover, Icon) {
export default function filterColumn(Table) { return class FilterColumn extends Component {
return class filterColumn extends Component {
static defaultProps = { static defaultProps = {
prefixCls: "u-table-filter-column" prefixCls: "u-table-filter-column"
} }

View File

@ -1,5 +1,19 @@
import React, { Component } from "react"; import React, { Component } from "react";
import Checkbox from "bee-checkbox";
function indexOf(array, val) {
for (let i = 0; i < array.length; i++) {
if (array[i] === val) return i;
}
return -1;
};
function remove (array, val) {
let index = indexOf(array, val);
if (index > -1) {
array.splice(index, 1);
}
};
/** /**
* multiSelect={ * multiSelect={
* type--默认值为checkbox * type--默认值为checkbox
@ -8,20 +22,10 @@ import Checkbox from "bee-checkbox";
* getSelectedDataFunc--function能获取到选中的数据 * getSelectedDataFunc--function能获取到选中的数据
* 使用全选时得注意data中的key值一定要是唯一值 * 使用全选时得注意data中的key值一定要是唯一值
*/ */
export default function multiSelect(Table) { export default function multiSelect(Table, Checkbox) {
Array.prototype.indexOf = function(val) {
for (var i = 0; i < this.length; i++) {
if (this[i] == val) return i; return class MultiSelect extends Component {
}
return -1;
};
Array.prototype.remove = function(val) {
var index = this.indexOf(val);
if (index > -1) {
this.splice(index, 1);
}
};
return class multiSelect extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = { this.state = {
@ -140,7 +144,7 @@ export default function multiSelect(Table) {
let { getSelectedDataFunc } = self.props; let { getSelectedDataFunc } = self.props;
let rowKey = record["key"] ? record["key"] : this.getRowKey(record,i); let rowKey = record["key"] ? record["key"] : this.getRowKey(record,i);
if (checkedObj[rowKey]) { if (checkedObj[rowKey]) {
selIds.remove(id); remove(selIds, id);
} else { } else {
selIds.push(id); selIds.push(id);
} }

View File

@ -4,9 +4,10 @@ import Icon from "bee-icon";
/** /**
* 参数prefixCls默认bee-table,用于设置图标的样式 * 参数prefixCls默认bee-table,用于设置图标的样式
* @param {*} Table * @param {*} Table
* @param {*} Icon
*/ */
export default function sort(Table) { export default function sort(Table, Icon) {
return class Demo11 extends Component { return class SortTable extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = { this.state = {

View File

@ -1,58 +1,66 @@
import React, { Component } from "react"; import React, {Component} from "react";
import Icon from "bee-icon";
import Checkbox from "bee-checkbox";
export default class CheckboxRender extends Component { /**
state = { * 渲染checkbox
value: this.props.value, * @param Checkbox
editable: false * @param Icon
}; * @returns {CheckboxRender}
handleChange = e => { */
const value = e.target.value; export default function renderCheckbox(Checkbox, Icon) {
this.setState({ value }); return class CheckboxRender extends Component {
}; state = {
check = () => { value: this.props.value,
this.setState({ editable: false }); editable: false
if (this.props.onChange) { };
this.props.onChange(this.state.value); handleChange = e => {
const value = e.target.value;
this.setState({value});
};
check = () => {
this.setState({editable: false});
if (this.props.onChange) {
this.props.onChange(this.state.value);
}
};
edit = () => {
this.setState({editable: true});
};
handleKeydown = event => {
if (event.keyCode == 13) {
this.check();
}
};
render() {
const {value, editable} = this.state;
let {isclickTrigger} = this.props;
let cellContent = "";
if (editable) {
cellContent = (
<div className="editable-cell-input-wrapper">
<Checkbox
onChange={this.handleChange}
onKeyDown={this.handleKeydown}
onBlur={this.check}
autoFocus
value={value}
/>
</div>
);
} else {
cellContent = (
<div className="editable-cell-text-wrapper">
{value || " "}
<Icon
type="uf-pencil"
className="editable-cell-icon"
onClick={this.edit}
/>
</div>
);
}
return <div className="editable-cell">{cellContent}</div>;
}
} }
};
edit = () => { }
this.setState({ editable: true });
};
handleKeydown = event => {
if (event.keyCode == 13) {
this.check();
}
};
render() {
const { value, editable } = this.state;
let { isclickTrigger } = this.props;
let cellContent = "";
if (editable) {
cellContent = (
<div className="editable-cell-input-wrapper">
<Checkbox
onChange={this.handleChange}
onKeyDown={this.handleKeydown}
onBlur={this.check}
autoFocus
value={value}
/>
</div>
);
} else {
cellContent = (
<div className="editable-cell-text-wrapper">
{value || " "}
<Icon
type="uf-pencil"
className="editable-cell-icon"
onClick={this.edit}
/>
</div>
);
}
return <div className="editable-cell">{cellContent}</div>;
}
}

View File

@ -1,104 +1,105 @@
import React, { Component } from "react"; import React, { Component } from "react";
import Icon from "bee-icon";
import DatePicker from "bee-datepicker";
import moment from "moment"; import moment from "moment";
const { MonthPicker, RangePicker, WeekPicker } = DatePicker;
export default class DateRender extends Component {
state = { export default function renderDate(DatePicker, Icon) {
value: this.props.value, const { MonthPicker, RangePicker, WeekPicker } = DatePicker;
editable: false return class DateRender extends Component {
}; static defaultProps = {
handleChange = e => { type: "DatePicker"
let { format } = this.props || "YYYY-MM-DD"; };
const value = e ? e.format(format) : ""; state = {
this.setState({ value, editable: false }); value: this.props.value,
if (this.props.onChange) { editable: false
this.props.onChange(value); };
} handleChange = e => {
}; let { format } = this.props || "YYYY-MM-DD";
check = () => { const value = e ? e.format(format) : "";
this.setState({ editable: false }); this.setState({ value, editable: false });
if (this.props.onChange) { if (this.props.onChange) {
this.props.onChange(this.state.value); this.props.onChange(value);
} }
}; };
edit = () => { check = () => {
this.setState({ editable: true }); this.setState({ editable: false });
}; if (this.props.onChange) {
handleKeydown = event => { this.props.onChange(this.state.value);
if (event.keyCode == 13) { }
this.check(); };
} edit = () => {
}; this.setState({ editable: true });
render() { };
const { value, editable } = this.state; handleKeydown = event => {
let { isclickTrigger, type } = this.props; if (event.keyCode == 13) {
let cellContent = ""; this.check();
let TComponent; }
switch (type.toLowerCase()) { };
case "monthpicker": render() {
TComponent = MonthPicker; const { value, editable } = this.state;
break; let { isclickTrigger, type } = this.props;
// case "rangepicker": let cellContent = "";
// TComponent = RangePicker; let TComponent;
// break; switch (type.toLowerCase()) {
case "weekpicker": case "monthpicker":
TComponent = WeekPicker; TComponent = MonthPicker;
break; break;
default: // case "rangepicker":
TComponent = DatePicker; // TComponent = RangePicker;
break; // break;
} case "weekpicker":
TComponent; TComponent = WeekPicker;
let date_value = value ? moment(value) : value; break;
if (editable) { default:
cellContent = isclickTrigger ? ( TComponent = DatePicker;
<div className="editable-cell-input-wrapper"> break;
<TComponent }
{...this.props}
value={date_value} let date_value = value ? moment(value) : value;
onChange={this.handleChange} if (editable) {
/> cellContent = isclickTrigger ? (
<Icon <div className="editable-cell-input-wrapper">
type="uf-correct" <TComponent
className="editable-cell-icon-check" {...this.props}
onClick={this.check} value={date_value}
/> onChange={this.handleChange}
</div> />
) : ( <Icon
<div className="editable-cell-input-wrapper"> type="uf-correct"
<TComponent className="editable-cell-icon-check"
{...this.props} onClick={this.check}
value={date_value} />
onChange={this.handleChange} </div>
/> ) : (
<Icon <div className="editable-cell-input-wrapper">
type="uf-correct" <TComponent
className="editable-cell-icon-check" {...this.props}
onClick={this.check} value={date_value}
/> onChange={this.handleChange}
</div> />
); <Icon
} else { type="uf-correct"
cellContent = isclickTrigger ? ( className="editable-cell-icon-check"
<div className="editable-cell-text-wrapper" onClick={this.edit}> onClick={this.check}
{value || " "} />
</div> </div>
) : ( );
<div className="editable-cell-text-wrapper"> } else {
{value || " "} cellContent = isclickTrigger ? (
<Icon <div className="editable-cell-text-wrapper" onClick={this.edit}>
type="uf-pencil" {value || " "}
className="editable-cell-icon" </div>
onClick={this.edit} ) : (
/> <div className="editable-cell-text-wrapper">
</div> {value || " "}
); <Icon
} type="uf-pencil"
return <div className="editable-cell">{cellContent}</div>; className="editable-cell-icon"
onClick={this.edit}
/>
</div>
);
}
return <div className="editable-cell">{cellContent}</div>;
}
} }
} }
DateRender.defaultProps = {
type: "DatePicker"
};