1 viewer
rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-app-view-lib-api/src/view_node/forms.rs
Items
enum FieldKind const FIELD_KIND_NAMES impl FieldKind struct FieldOption impl FieldOption struct FieldDescriptor impl FieldDescriptor struct FormBuilder impl FormBuilder struct FormView impl FormView struct ActionBuilder impl ActionBuilder struct InputBuilder impl InputBuilder struct CheckboxBuilder impl CheckboxBuilder struct SelectBuilder impl SelectBuilder
Functions
By call-graph weight (PageRank; 1.0 is the average function). 98 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| FormBuilder::success_redirect_fieldssrc/view_node/forms.rs:332 | method | 11 | 1 | 23 | 0 | 8.8 | |
| FieldDescriptor::ofsrc/view_node/forms.rs:108 | method | 18 | 1 | 8 | 0 | 8.3 | |
| FormBuilder::propsrc/view_node/forms.rs:345 | method | 4 | 1 | 3 | 0 | 3 | |
| FieldDescriptor::selectsrc/view_node/forms.rs:156 | method | 5 | 1 | 16 | 1 | 3 | |
| ActionBuilder::newsrc/view_node/forms.rs:446 | method | 3 | 1 | 10 | 0 | 2.8 | |
| FormBuilder::fieldssrc/view_node/forms.rs:323 | method | 4 | 1 | 3 | 0 | 2.7 | |
| FormBuilder::newsrc/view_node/forms.rs:263 | method | 3 | 1 | 14 | 0 | 2 | |
| FormBuilder::submit_intentsrc/view_node/forms.rs:295 | method | 3 | 1 | 5 | 1 | 1.9 | |
| insert_optional_string_propsrc/view_node/forms.rs:811 | fn | 5 | 2 | 5 | 0 | 1.8 | |
| FieldDescriptor::textsrc/view_node/forms.rs:127 | method | 3 | 1 | 12 | 1 | 1.6 | |
| InputBuilder::kindsrc/view_node/forms.rs:561 | method | 4 | 1 | 2 | 0 | 1.3 | |
| FieldOption::newsrc/view_node/forms.rs:52 | method | 3 | 1 | 9 | 0 | 1.3 | |
| field_option_to_valuesrc/view_node/forms.rs:836 | fn | 6 | 1 | 2 | 1 | 1 | |
| insert_true_bool_propsrc/view_node/forms.rs:823 | fn | 5 | 2 | 4 | 0 | 1 | |
| ActionBuilder::handlersrc/view_node/forms.rs:481 | method | 4 | 1 | 3 | 0 | 1 | |
| FieldDescriptor::hiddensrc/view_node/forms.rs:152 | method | 3 | 1 | 5 | 1 | 0.9 | |
| FormBuilder::fieldsrc/view_node/forms.rs:318 | method | 4 | 1 | 5 | 0 | 0.9 | |
| FieldDescriptor::numbersrc/view_node/forms.rs:131 | method | 3 | 1 | 5 | 1 | 0.9 | |
| ActionBuilder::propsrc/view_node/forms.rs:503 | method | 4 | 1 | 1 | 0 | 0.9 | |
| FieldDescriptor::checkboxsrc/view_node/forms.rs:135 | method | 3 | 1 | 4 | 1 | 0.9 | |
| FieldDescriptor::label_or_namesrc/view_node/forms.rs:225 | method | 3 | 1 | 3 | 0 | 0.8 | |
| FieldDescriptor::textareasrc/view_node/forms.rs:139 | method | 3 | 1 | 5 | 1 | 0.8 | |
| insert_optional_value_propsrc/view_node/forms.rs:817 | fn | 5 | 2 | 2 | 0 | 0.7 | |
| FormBuilder::destructivesrc/view_node/forms.rs:300 | method | 3 | 1 | 1 | 1 | 0.6 | |
| SelectBuilder::newsrc/view_node/forms.rs:741 | method | 3 | 1 | 2 | 0 | 0.6 | |
| SelectBuilder::optionssrc/view_node/forms.rs:765 | method | 4 | 1 | 2 | 0 | 0.6 | |
| FormView::from_nodesrc/view_node/forms.rs:394 | method | 26 | 2 | 2 | 2 | 0.6 | |
| insert_field_optionssrc/view_node/forms.rs:829 | fn | 6 | 2 | 1 | 1 | 0.6 | |
| InputBuilder::newsrc/view_node/forms.rs:545 | method | 15 | 1 | 1 | 0 | 0.5 | |
| CheckboxBuilder::newsrc/view_node/forms.rs:659 | method | 3 | 1 | 1 | 0 | 0.5 | |
| CheckboxBuilder::indeterminatesrc/view_node/forms.rs:683 | method | 4 | 1 | 1 | 0 | 0.5 | |
| SelectBuilder::optionsrc/view_node/forms.rs:760 | method | 4 | 1 | 1 | 0 | 0.5 | |
| FieldDescriptor::emailsrc/view_node/forms.rs:143 | method | 3 | 1 | 1 | 1 | 0.5 | |
| FieldDescriptor::passwordsrc/view_node/forms.rs:147 | method | 3 | 1 | 1 | 1 | 0.5 | |
| is_falsesrc/view_node/forms.rs:14 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| FieldKind::as_strsrc/view_node/forms.rs:39 | method | 3 | 1 | 0 | 0 | 0.5 | |
| FieldOption::labelsrc/view_node/forms.rs:56 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldDescriptor::labelsrc/view_node/forms.rs:162 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldDescriptor::placeholdersrc/view_node/forms.rs:167 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldDescriptor::default_valuesrc/view_node/forms.rs:172 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldDescriptor::requiredsrc/view_node/forms.rs:177 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldDescriptor::hintsrc/view_node/forms.rs:182 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldDescriptor::helpsrc/view_node/forms.rs:188 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldDescriptor::on_changesrc/view_node/forms.rs:196 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldDescriptor::minsrc/view_node/forms.rs:202 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldDescriptor::maxsrc/view_node/forms.rs:208 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldDescriptor::stepsrc/view_node/forms.rs:214 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FieldDescriptor::max_lengthsrc/view_node/forms.rs:220 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FormBuilder::titlesrc/view_node/forms.rs:267 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FormBuilder::connectionsrc/view_node/forms.rs:272 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FormBuilder::methodsrc/view_node/forms.rs:277 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FormBuilder::endpointsrc/view_node/forms.rs:282 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FormBuilder::submit_labelsrc/view_node/forms.rs:287 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FormBuilder::cancelsrc/view_node/forms.rs:306 | method | 3 | 1 | 0 | 1 | 0.5 | |
| FormBuilder::idsrc/view_node/forms.rs:313 | method | 4 | 1 | 0 | 0 | 0.5 | |
| FormBuilder::buildsrc/view_node/forms.rs:350 | method | 25 | 6 | 0 | 1 | 0.5 | |
| ActionBuilder::labelsrc/view_node/forms.rs:450 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ActionBuilder::intentsrc/view_node/forms.rs:458 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ActionBuilder::viewsrc/view_node/forms.rs:463 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ActionBuilder::endpointsrc/view_node/forms.rs:468 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ActionBuilder::connectionsrc/view_node/forms.rs:473 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ActionBuilder::methodsrc/view_node/forms.rs:487 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ActionBuilder::disabledsrc/view_node/forms.rs:492 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ActionBuilder::hrefsrc/view_node/forms.rs:499 | method | 3 | 1 | 0 | 1 | 0.5 | |
| ActionBuilder::buildsrc/view_node/forms.rs:508 | method | 15 | 2 | 0 | 3 | 0.5 | |
| InputBuilder::passwordsrc/view_node/forms.rs:568 | method | 3 | 1 | 0 | 1 | 0.5 | |
| InputBuilder::emailsrc/view_node/forms.rs:574 | method | 3 | 1 | 0 | 1 | 0.5 | |
| InputBuilder::labelsrc/view_node/forms.rs:578 | method | 4 | 1 | 0 | 0 | 0.5 | |
| InputBuilder::placeholdersrc/view_node/forms.rs:583 | method | 4 | 1 | 0 | 0 | 0.5 | |
| InputBuilder::default_valuesrc/view_node/forms.rs:588 | method | 4 | 1 | 0 | 0 | 0.5 | |
| InputBuilder::requiredsrc/view_node/forms.rs:593 | method | 4 | 1 | 0 | 0 | 0.5 | |
| InputBuilder::disabledsrc/view_node/forms.rs:598 | method | 4 | 1 | 0 | 0 | 0.5 | |
| InputBuilder::invalidsrc/view_node/forms.rs:603 | method | 4 | 1 | 0 | 0 | 0.5 | |
| InputBuilder::descriptionsrc/view_node/forms.rs:608 | method | 4 | 1 | 0 | 0 | 0.5 | |
| InputBuilder::errorsrc/view_node/forms.rs:613 | method | 4 | 1 | 0 | 0 | 0.5 | |
| InputBuilder::on_changesrc/view_node/forms.rs:620 | method | 4 | 1 | 0 | 0 | 0.5 | |
| InputBuilder::buildsrc/view_node/forms.rs:625 | method | 15 | 1 | 0 | 4 | 0.5 | |
| CheckboxBuilder::labelsrc/view_node/forms.rs:663 | method | 4 | 1 | 0 | 0 | 0.5 | |
| CheckboxBuilder::descriptionsrc/view_node/forms.rs:668 | method | 4 | 1 | 0 | 0 | 0.5 | |
| CheckboxBuilder::errorsrc/view_node/forms.rs:673 | method | 4 | 1 | 0 | 0 | 0.5 | |
| CheckboxBuilder::checkedsrc/view_node/forms.rs:678 | method | 4 | 1 | 0 | 0 | 0.5 | |
| CheckboxBuilder::requiredsrc/view_node/forms.rs:688 | method | 4 | 1 | 0 | 0 | 0.5 | |
| CheckboxBuilder::disabledsrc/view_node/forms.rs:693 | method | 4 | 1 | 0 | 0 | 0.5 | |
| CheckboxBuilder::invalidsrc/view_node/forms.rs:698 | method | 4 | 1 | 0 | 0 | 0.5 | |
| CheckboxBuilder::on_changesrc/view_node/forms.rs:703 | method | 4 | 1 | 0 | 0 | 0.5 | |
| CheckboxBuilder::buildsrc/view_node/forms.rs:708 | method | 14 | 1 | 0 | 3 | 0.5 | |
| SelectBuilder::labelsrc/view_node/forms.rs:745 | method | 4 | 1 | 0 | 0 | 0.5 | |
| SelectBuilder::descriptionsrc/view_node/forms.rs:750 | method | 4 | 1 | 0 | 0 | 0.5 | |
| SelectBuilder::errorsrc/view_node/forms.rs:755 | method | 4 | 1 | 0 | 0 | 0.5 | |
| SelectBuilder::default_valuesrc/view_node/forms.rs:770 | method | 4 | 1 | 0 | 0 | 0.5 | |
| SelectBuilder::requiredsrc/view_node/forms.rs:775 | method | 4 | 1 | 0 | 0 | 0.5 | |
| SelectBuilder::disabledsrc/view_node/forms.rs:780 | method | 4 | 1 | 0 | 0 | 0.5 | |
| SelectBuilder::invalidsrc/view_node/forms.rs:785 | method | 4 | 1 | 0 | 0 | 0.5 | |
| SelectBuilder::on_changesrc/view_node/forms.rs:790 | method | 4 | 1 | 0 | 0 | 0.5 | |
| SelectBuilder::buildsrc/view_node/forms.rs:795 | method | 14 | 1 | 0 | 5 | 0.5 | |
| input_builder_build_covers_all_optional_propssrc/view_node/forms.rs:849 | fn | 28 | 1 | 0 | 0 | 0.5 | |
| field_descriptors_and_form_view_cover_all_kind_and_roundtrip_pathssrc/view_node/forms.rs:885 | fn | 64 | 1 | 0 | 14 | 0.5 | |
| action_checkbox_and_select_builders_cover_optional_propssrc/view_node/forms.rs:951 | fn | 74 | 1 | 0 | 9 | 0.5 |
Source not readable from this process.