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