line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dash::Core::Components; |
2
|
3
|
|
|
3
|
|
514413
|
use strict; |
|
3
|
|
|
|
|
15
|
|
|
3
|
|
|
|
|
87
|
|
3
|
3
|
|
|
3
|
|
16
|
use warnings; |
|
3
|
|
|
|
|
56
|
|
|
3
|
|
|
|
|
79
|
|
4
|
3
|
|
|
3
|
|
527
|
use Module::Load; |
|
3
|
|
|
|
|
1109
|
|
|
3
|
|
|
|
|
18
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub Checklist { |
7
|
0
|
|
|
0
|
0
|
0
|
shift @_; |
8
|
0
|
|
|
|
|
0
|
load Dash::Core::Components::Checklist; |
9
|
0
|
0
|
|
|
|
0
|
if ( Dash::Core::Components::Checklist->can("children") ) { |
10
|
0
|
0
|
|
|
|
0
|
if ( ( ( scalar @_ ) % 2 ) ) { |
11
|
0
|
|
|
|
|
0
|
unshift @_, "children"; |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
} |
14
|
0
|
|
|
|
|
0
|
return Dash::Core::Components::Checklist->new(@_); |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub ConfirmDialog { |
18
|
0
|
|
|
0
|
0
|
0
|
shift @_; |
19
|
0
|
|
|
|
|
0
|
load Dash::Core::Components::ConfirmDialog; |
20
|
0
|
0
|
|
|
|
0
|
if ( Dash::Core::Components::ConfirmDialog->can("children") ) { |
21
|
0
|
0
|
|
|
|
0
|
if ( ( ( scalar @_ ) % 2 ) ) { |
22
|
0
|
|
|
|
|
0
|
unshift @_, "children"; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
} |
25
|
0
|
|
|
|
|
0
|
return Dash::Core::Components::ConfirmDialog->new(@_); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub ConfirmDialogProvider { |
29
|
0
|
|
|
0
|
0
|
0
|
shift @_; |
30
|
0
|
|
|
|
|
0
|
load Dash::Core::Components::ConfirmDialogProvider; |
31
|
0
|
0
|
|
|
|
0
|
if ( Dash::Core::Components::ConfirmDialogProvider->can("children") ) { |
32
|
0
|
0
|
|
|
|
0
|
if ( ( ( scalar @_ ) % 2 ) ) { |
33
|
0
|
|
|
|
|
0
|
unshift @_, "children"; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
} |
36
|
0
|
|
|
|
|
0
|
return Dash::Core::Components::ConfirmDialogProvider->new(@_); |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
sub DatePickerRange { |
40
|
0
|
|
|
0
|
0
|
0
|
shift @_; |
41
|
0
|
|
|
|
|
0
|
load Dash::Core::Components::DatePickerRange; |
42
|
0
|
0
|
|
|
|
0
|
if ( Dash::Core::Components::DatePickerRange->can("children") ) { |
43
|
0
|
0
|
|
|
|
0
|
if ( ( ( scalar @_ ) % 2 ) ) { |
44
|
0
|
|
|
|
|
0
|
unshift @_, "children"; |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
} |
47
|
0
|
|
|
|
|
0
|
return Dash::Core::Components::DatePickerRange->new(@_); |
48
|
|
|
|
|
|
|
} |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
sub DatePickerSingle { |
51
|
0
|
|
|
0
|
0
|
0
|
shift @_; |
52
|
0
|
|
|
|
|
0
|
load Dash::Core::Components::DatePickerSingle; |
53
|
0
|
0
|
|
|
|
0
|
if ( Dash::Core::Components::DatePickerSingle->can("children") ) { |
54
|
0
|
0
|
|
|
|
0
|
if ( ( ( scalar @_ ) % 2 ) ) { |
55
|
0
|
|
|
|
|
0
|
unshift @_, "children"; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
} |
58
|
0
|
|
|
|
|
0
|
return Dash::Core::Components::DatePickerSingle->new(@_); |
59
|
|
|
|
|
|
|
} |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
sub Dropdown { |
62
|
0
|
|
|
0
|
0
|
0
|
shift @_; |
63
|
0
|
|
|
|
|
0
|
load Dash::Core::Components::Dropdown; |
64
|
0
|
0
|
|
|
|
0
|
if ( Dash::Core::Components::Dropdown->can("children") ) { |
65
|
0
|
0
|
|
|
|
0
|
if ( ( ( scalar @_ ) % 2 ) ) { |
66
|
0
|
|
|
|
|
0
|
unshift @_, "children"; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
} |
69
|
0
|
|
|
|
|
0
|
return Dash::Core::Components::Dropdown->new(@_); |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
sub Graph { |
73
|
0
|
|
|
0
|
0
|
0
|
shift @_; |
74
|
0
|
|
|
|
|
0
|
load Dash::Core::Components::Graph; |
75
|
0
|
0
|
|
|
|
0
|
if ( Dash::Core::Components::Graph->can("children") ) { |
76
|
0
|
0
|
|
|
|
0
|
if ( ( ( scalar @_ ) % 2 ) ) { |
77
|
0
|
|
|
|
|
0
|
unshift @_, "children"; |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
} |
80
|
0
|
|
|
|
|
0
|
return Dash::Core::Components::Graph->new(@_); |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
sub Input { |
84
|
10
|
|
|
10
|
0
|
352
|
shift @_; |
85
|
10
|
|
|
|
|
41
|
load Dash::Core::Components::Input; |
86
|
10
|
50
|
|
|
|
513
|
if ( Dash::Core::Components::Input->can("children") ) { |
87
|
0
|
0
|
|
|
|
0
|
if ( ( ( scalar @_ ) % 2 ) ) { |
88
|
0
|
|
|
|
|
0
|
unshift @_, "children"; |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
} |
91
|
10
|
|
|
|
|
155
|
return Dash::Core::Components::Input->new(@_); |
92
|
|
|
|
|
|
|
} |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
sub Interval { |
95
|
0
|
|
|
0
|
0
|
|
shift @_; |
96
|
0
|
|
|
|
|
|
load Dash::Core::Components::Interval; |
97
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::Interval->can("children") ) { |
98
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
99
|
0
|
|
|
|
|
|
unshift @_, "children"; |
100
|
|
|
|
|
|
|
} |
101
|
|
|
|
|
|
|
} |
102
|
0
|
|
|
|
|
|
return Dash::Core::Components::Interval->new(@_); |
103
|
|
|
|
|
|
|
} |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
sub Link { |
106
|
0
|
|
|
0
|
0
|
|
shift @_; |
107
|
0
|
|
|
|
|
|
load Dash::Core::Components::Link; |
108
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::Link->can("children") ) { |
109
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
110
|
0
|
|
|
|
|
|
unshift @_, "children"; |
111
|
|
|
|
|
|
|
} |
112
|
|
|
|
|
|
|
} |
113
|
0
|
|
|
|
|
|
return Dash::Core::Components::Link->new(@_); |
114
|
|
|
|
|
|
|
} |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
sub Loading { |
117
|
0
|
|
|
0
|
0
|
|
shift @_; |
118
|
0
|
|
|
|
|
|
load Dash::Core::Components::Loading; |
119
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::Loading->can("children") ) { |
120
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
121
|
0
|
|
|
|
|
|
unshift @_, "children"; |
122
|
|
|
|
|
|
|
} |
123
|
|
|
|
|
|
|
} |
124
|
0
|
|
|
|
|
|
return Dash::Core::Components::Loading->new(@_); |
125
|
|
|
|
|
|
|
} |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
sub Location { |
128
|
0
|
|
|
0
|
0
|
|
shift @_; |
129
|
0
|
|
|
|
|
|
load Dash::Core::Components::Location; |
130
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::Location->can("children") ) { |
131
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
132
|
0
|
|
|
|
|
|
unshift @_, "children"; |
133
|
|
|
|
|
|
|
} |
134
|
|
|
|
|
|
|
} |
135
|
0
|
|
|
|
|
|
return Dash::Core::Components::Location->new(@_); |
136
|
|
|
|
|
|
|
} |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
sub LogoutButton { |
139
|
0
|
|
|
0
|
0
|
|
shift @_; |
140
|
0
|
|
|
|
|
|
load Dash::Core::Components::LogoutButton; |
141
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::LogoutButton->can("children") ) { |
142
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
143
|
0
|
|
|
|
|
|
unshift @_, "children"; |
144
|
|
|
|
|
|
|
} |
145
|
|
|
|
|
|
|
} |
146
|
0
|
|
|
|
|
|
return Dash::Core::Components::LogoutButton->new(@_); |
147
|
|
|
|
|
|
|
} |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
sub Markdown { |
150
|
0
|
|
|
0
|
0
|
|
shift @_; |
151
|
0
|
|
|
|
|
|
load Dash::Core::Components::Markdown; |
152
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::Markdown->can("children") ) { |
153
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
154
|
0
|
|
|
|
|
|
unshift @_, "children"; |
155
|
|
|
|
|
|
|
} |
156
|
|
|
|
|
|
|
} |
157
|
0
|
|
|
|
|
|
return Dash::Core::Components::Markdown->new(@_); |
158
|
|
|
|
|
|
|
} |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
sub RadioItems { |
161
|
0
|
|
|
0
|
0
|
|
shift @_; |
162
|
0
|
|
|
|
|
|
load Dash::Core::Components::RadioItems; |
163
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::RadioItems->can("children") ) { |
164
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
165
|
0
|
|
|
|
|
|
unshift @_, "children"; |
166
|
|
|
|
|
|
|
} |
167
|
|
|
|
|
|
|
} |
168
|
0
|
|
|
|
|
|
return Dash::Core::Components::RadioItems->new(@_); |
169
|
|
|
|
|
|
|
} |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
sub RangeSlider { |
172
|
0
|
|
|
0
|
0
|
|
shift @_; |
173
|
0
|
|
|
|
|
|
load Dash::Core::Components::RangeSlider; |
174
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::RangeSlider->can("children") ) { |
175
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
176
|
0
|
|
|
|
|
|
unshift @_, "children"; |
177
|
|
|
|
|
|
|
} |
178
|
|
|
|
|
|
|
} |
179
|
0
|
|
|
|
|
|
return Dash::Core::Components::RangeSlider->new(@_); |
180
|
|
|
|
|
|
|
} |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
sub Slider { |
183
|
0
|
|
|
0
|
0
|
|
shift @_; |
184
|
0
|
|
|
|
|
|
load Dash::Core::Components::Slider; |
185
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::Slider->can("children") ) { |
186
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
187
|
0
|
|
|
|
|
|
unshift @_, "children"; |
188
|
|
|
|
|
|
|
} |
189
|
|
|
|
|
|
|
} |
190
|
0
|
|
|
|
|
|
return Dash::Core::Components::Slider->new(@_); |
191
|
|
|
|
|
|
|
} |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
sub Store { |
194
|
0
|
|
|
0
|
0
|
|
shift @_; |
195
|
0
|
|
|
|
|
|
load Dash::Core::Components::Store; |
196
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::Store->can("children") ) { |
197
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
198
|
0
|
|
|
|
|
|
unshift @_, "children"; |
199
|
|
|
|
|
|
|
} |
200
|
|
|
|
|
|
|
} |
201
|
0
|
|
|
|
|
|
return Dash::Core::Components::Store->new(@_); |
202
|
|
|
|
|
|
|
} |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
sub Tab { |
205
|
0
|
|
|
0
|
0
|
|
shift @_; |
206
|
0
|
|
|
|
|
|
load Dash::Core::Components::Tab; |
207
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::Tab->can("children") ) { |
208
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
209
|
0
|
|
|
|
|
|
unshift @_, "children"; |
210
|
|
|
|
|
|
|
} |
211
|
|
|
|
|
|
|
} |
212
|
0
|
|
|
|
|
|
return Dash::Core::Components::Tab->new(@_); |
213
|
|
|
|
|
|
|
} |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
sub Tabs { |
216
|
0
|
|
|
0
|
0
|
|
shift @_; |
217
|
0
|
|
|
|
|
|
load Dash::Core::Components::Tabs; |
218
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::Tabs->can("children") ) { |
219
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
220
|
0
|
|
|
|
|
|
unshift @_, "children"; |
221
|
|
|
|
|
|
|
} |
222
|
|
|
|
|
|
|
} |
223
|
0
|
|
|
|
|
|
return Dash::Core::Components::Tabs->new(@_); |
224
|
|
|
|
|
|
|
} |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
sub Textarea { |
227
|
0
|
|
|
0
|
0
|
|
shift @_; |
228
|
0
|
|
|
|
|
|
load Dash::Core::Components::Textarea; |
229
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::Textarea->can("children") ) { |
230
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
231
|
0
|
|
|
|
|
|
unshift @_, "children"; |
232
|
|
|
|
|
|
|
} |
233
|
|
|
|
|
|
|
} |
234
|
0
|
|
|
|
|
|
return Dash::Core::Components::Textarea->new(@_); |
235
|
|
|
|
|
|
|
} |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
sub Upload { |
238
|
0
|
|
|
0
|
0
|
|
shift @_; |
239
|
0
|
|
|
|
|
|
load Dash::Core::Components::Upload; |
240
|
0
|
0
|
|
|
|
|
if ( Dash::Core::Components::Upload->can("children") ) { |
241
|
0
|
0
|
|
|
|
|
if ( ( ( scalar @_ ) % 2 ) ) { |
242
|
0
|
|
|
|
|
|
unshift @_, "children"; |
243
|
|
|
|
|
|
|
} |
244
|
|
|
|
|
|
|
} |
245
|
0
|
|
|
|
|
|
return Dash::Core::Components::Upload->new(@_); |
246
|
|
|
|
|
|
|
} |
247
|
|
|
|
|
|
|
1; |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
__END__ |