amotify 0.2.164 → 0.2.166

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.
@@ -29,81 +29,7 @@ import {
29
29
  } from './designBook'
30
30
 
31
31
  let Test = () => {
32
- let [ val_value,set_value ] = useState( <>
33
- Hello World <br />
34
- Hello World <br />
35
- Hello World <br />
36
- Hello World
37
- </> )
38
-
39
- let accordionID = 'accordionIDD'
40
-
41
- let [ val_image,set_image ] = useState( '' )
42
-
43
32
  return <Box>
44
- <Plate size='S'>
45
- <Column
46
- padding={ 2 }
47
- >
48
- <Input.TextField.Password
49
- defaultValidation={ {
50
- reg: /^.{6,}$/,
51
- exist: true,
52
- reason: '6文字以上で入力してください'
53
- } }
54
- />
55
- <Button.Prime
56
- onClick={ () => {
57
- Cropper.openDialogNEdit( {
58
- // use: '16:9',
59
- // use: '9:16',
60
-
61
- use: '4:3',
62
- // use: '4:3',
63
-
64
- // use: [ 9,16 ],
65
-
66
- develops: [
67
- { size: 'L' }
68
- ],
69
- onProcessFinished: async ( files ) => {
70
- console.log( files )
71
-
72
- let filer = await await Filer.fromFile( files[ 0 ] )
73
- set_image( await filer.toDataURL() )
74
- }
75
- } )
76
- } }
77
- >
78
- Submit
79
- </Button.Prime>
80
-
81
- { val_image && <Img
82
- src={ val_image }
83
- /> }
84
-
85
- <Input.Select
86
- options={ [
87
- { value: 'option1',label: 'Option 1',searchValue: 'Option 1' },
88
- ] }
89
- />
90
- <Input.Autocomplete
91
- options={ [
92
- { label: 'Option 1',value: 'option1' },
93
- { label: 'Option 2',value: 'option2' },
94
- { label: 'Option 3',value: 'option3' },
95
- ] }
96
- DynamicOptionsOnSearch={ async ( keyword ) => {
97
- console.log( keyword )
98
- return [
99
- { label: 'Option 1',value: 'option1' },
100
- { label: 'Option 2',value: 'option2' },
101
- { label: 'Option 3',value: 'option3' },
102
- ]
103
- } }
104
- />
105
- </Column>
106
- </Plate>
107
33
  <DesignBook
108
34
  />
109
35
  </Box>
@@ -2739,14 +2739,12 @@ let DesignBook = () => {
2739
2739
  let [ val_refresh,set_refresh ] = useState( UUID() )
2740
2740
 
2741
2741
  let DataData: Table.Data.BodyRow[] = []
2742
- for ( var i = 0; i < 10; i++ ) {
2742
+ for ( var i = 0; i < 10000; i++ ) {
2743
2743
  let random1 = $$.randomNumber( 10000,1000000 )
2744
2744
  let random2 = $$.randomNumber( 10000,1000000 )
2745
- let random3 = $$.randomNumber( 10000,1000000 )
2746
2745
 
2747
2746
  let Data1 = 'name_' + random1
2748
2747
  let Data2 = 'data_' + random2
2749
- let Data3 = 'data_' + random3
2750
2748
  let Row: Table.Data.BodyRow = [
2751
2749
  {
2752
2750
  type: 'th',
@@ -2757,44 +2755,36 @@ let DesignBook = () => {
2757
2755
  ].join( '/' ),
2758
2756
  data: Data1,
2759
2757
  orderIndex: random1.toLocaleString()
2760
- },{
2761
- type: 'td',
2762
- children: Data2,
2763
- data: Data2
2764
- },{
2765
- type: 'td',
2766
- children: Data3,
2767
- data: Data3,
2768
- }
2758
+ // orderIndex: random1
2759
+ },
2760
+ { type: 'td',children: Data2,data: Data2 },
2769
2761
  ]
2770
2762
  DataData.push( Row )
2771
2763
  }
2772
2764
  DataData[ 1 ].checked = true
2773
2765
  DataData[ 4 ].checked = true
2774
2766
 
2775
- return <Table.Data
2776
- tableID={ 'aaaa' }
2777
- colLength={ 3 }
2778
- head={ [
2779
- { data: 'head1' },
2780
- { data: 'head2',children: <Box>head2</Box> },
2781
- {
2782
- data: 'head3',
2783
- // styles: { backgroundColor: 'angel' },
2784
- // freeCSS: { opacity: .3 }
2785
- }
2786
- ] }
2787
- rows={ DataData }
2788
- pageRowLength={ 30 }
2789
- ssCardBox
2767
+ return <Column>
2768
+ <Literal>Count: { DataData.length.toLocaleString() }</Literal>
2769
+ <Table.Data
2770
+ tableID={ 'aaaa' }
2771
+ colLength={ 2 }
2772
+ pageRowLength={ 100 }
2773
+ head={ [
2774
+ { data: 'head1' },
2775
+ { data: 'head2',children: <Box>head2</Box> },
2776
+ ] }
2777
+ rows={ DataData }
2778
+ ssCardBox
2790
2779
 
2791
- orderPriority='DESC'
2792
- cellStyles={ {
2793
- padding: '1/2'
2794
- } }
2795
- filter={ [ true,true ] }
2796
- checker
2797
- />
2780
+ orderPriority='DESC'
2781
+ cellStyles={ {
2782
+ padding: '1/2'
2783
+ } }
2784
+ // filter={ [ true,true ] }
2785
+ // checker
2786
+ />
2787
+ </Column>
2798
2788
 
2799
2789
  return <>
2800
2790
  <UserConfig />