summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/containers/Tables/demos/sampleData.js
blob: c783c812d6ea612ecf582d4d3816447cb4020f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
export const anchorTable = [
  {
    name: 'id',
    label: 'Id',
    initialValue: '',
    hidden: true
  }, {
    name: 'text',
    label: 'Text Field',
    initialValue: null,
    width: 'auto',
    hidden: false,
    type:"texto"
  }, {
    name: 'email',
    label: 'Email Field',
    initialValue: null,
    width: 'auto',
    hidden: false,
    type:"texto"
  }, {
    name: 'radio',
    label: 'Radio Option',
    initialValue: 'option1',
    width: '80',
    hidden: false,
    type:"texto"
  }, {
    name: 'selection',
    label: 'Selection',
    initialValue: 'option1',
    width: '80',
    hidden: false,
    type:"texto"
  }, {
    name: 'onof',
    label: 'On/Of Input',
    initialValue: true,
    width: '80',
    hidden: false,
    type:"texto"
  }, {
    name: 'checkbox',
    label: 'Checkbox',
    initialValue: true,
    width: '80',
    hidden: false,
    type:"texto"
  }, {
    name: 'textarea',
    label: 'Text Area',
    initialValue: 'This is default text',
    width: 'auto',
    hidden: false,
    type:"texto"
  }, {
    name: 'edited',
    label: '',
    initialValue: '',
    hidden: true,
    type:"texto"
  }, {
    name: 'action',
    label: 'Action',
    initialValue: '',
    hidden: false,
    type:"texto"
  },
];

export const dataApi = [
  {
    id: '1',
    text: 'Just write',
    email: 'mail@boss.com',
    radio: 'option2',
    selection: 'option1',
    onof: false,
    checkbox: true,
    textarea: 'Lorem ipsum dolor sit amet',
    edited: false,
  }, {
    id: '2',
    text: 'Some text',
    email: 'mail@material.com',
    radio: 'option2',
    selection: 'option2',
    onof: false,
    checkbox: false,
    textarea: 'Lorem ipsum dolor sit amet',
    edited: false,
  }, {
    id: '3',
    text: 'Because it is a TextField',
    email: 'mail@admin.com',
    radio: 'option1',
    selection: 'option3',
    onof: false,
    checkbox: false,
    textarea: 'Lorem ipsum dolor sit amet',
    edited: false,
  }, {
    id: '4',
    text: 'And editable',
    email: 'mail@example.com',
    radio: 'option1',
    selection: 'option1',
    onof: false,
    checkbox: true,
    textarea: 'Lorem ipsum dolor sit amet',
    edited: false,
  }, {
    id: '5',
    text: 'You can write',
    email: 'mail@material.com',
    radio: 'option2',
    selection: 'option2',
    onof: false,
    checkbox: true,
    textarea: 'Lorem ipsum dolor sit amet',
    edited: false,
  }, {
    id: '6',
    text: 'Everything You want here',
    email: 'mail@everything.com',
    radio: 'option1',
    selection: 'option3',
    onof: false,
    checkbox: false,
    textarea: 'Lorem ipsum dolor sit amet',
    edited: false,
  },
];