kono_utils_bootstrap_view4 0.1.0.pre.rc.5 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/concepts/kono_utils/{base_object → object}/cell/base.rb +7 -3
- data/app/concepts/kono_utils/{base_object → object}/cell/buttons/base.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/buttons/collapse_search.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/buttons/create.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/buttons/delete.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/buttons/download.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/buttons/edit.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/buttons/list.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/buttons/reset_search.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/create/base.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/create/page_title.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/create/side_title.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/edits/base.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/edits/page_title.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/edits/side_title.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/form.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/base.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/container.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/containers/layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/containers/modal_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/containers/search_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/containers/table_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/field_selector.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/field_selectors/layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/field_selectors/modal_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/field_selectors/table_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/association.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/base.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/bases/layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/bases/modal_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/bases/table_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/check_box.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/collection.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/date_field.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/date_time_field.rb +2 -2
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/enum.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/file_field.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_modal_wrapper.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_modal_wrappers/forms_container.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_modal_wrappers/show.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrapper.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/form.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms/layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms/modal_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms/table_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms_container.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms_containers/layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms_containers/modal_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms_containers/table_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/header.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/remove_button.rb +2 -2
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/remove_buttons/layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/remove_buttons/modal_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/remove_buttons/table_layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/read_only.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/time_field.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/forms/submit.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/index/base.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/index/page_title.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/index/row.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/index/row_buttons.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/index/row_footer.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/index/row_header.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/index/side_title.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/index/table.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/inject.rb +3 -3
- data/app/concepts/kono_utils/{base_object → object}/cell/modals/base.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/modals/bodies/layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/modals/body.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/modals/container.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/modals/containers/layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/modals/footer.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/modals/footers/layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/modals/header.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/modals/headers/layout.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/search.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/searches/form.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/show.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/shows/base.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/shows/page_title.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/cell/shows/side_title.rb +1 -1
- data/app/concepts/kono_utils/{base_object → object}/view/create/side_title.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/edits/side_title.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/form.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/container.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/containers/layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/containers/modal_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/containers/search_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/containers/table_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/field_selector.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/field_selectors/layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/field_selectors/modal_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/field_selectors/table_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/association.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/base.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/bases/layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/bases/layout.scss +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/bases/modal_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/bases/table_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/check_box.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/collection.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_modal_wrapper.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_modal_wrappers/forms_container.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_modal_wrappers/show.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrapper.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/form.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms/layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms/modal_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms/table_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms_container.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms_containers/layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms_containers/modal_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms_containers/table_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/header.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/remove_button.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/remove_buttons/layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/remove_buttons/modal_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/remove_buttons/table_layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/forms/layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/index/row.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/index/row_buttons.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/index/row_footer.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/index/row_header.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/index/side_title.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/index/table.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/inject.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/modals/bodies/layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/modals/body.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/modals/container.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/modals/containers/layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/modals/footer.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/modals/footers/layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/modals/header.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/modals/headers/layout.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/search.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/searches/form.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/show.erb +0 -0
- data/app/concepts/kono_utils/{base_object → object}/view/shows/side_title.erb +0 -0
- data/app/inputs/tempus_dominus_input.rb +3 -3
- data/app/views/kono_utils/base_editing/edit.html.erb +3 -3
- data/app/views/kono_utils/base_editing/edit.inject.erb +1 -1
- data/app/views/kono_utils/base_editing/index.html.erb +4 -4
- data/app/views/kono_utils/base_editing/new.html.erb +3 -3
- data/app/views/kono_utils/base_editing/new.inject.erb +1 -1
- data/app/views/kono_utils/base_editing/show.html.erb +3 -3
- data/app/views/kono_utils/base_editing/success_create_show.inject.erb +1 -1
- data/app/views/kono_utils/base_editing/success_update_show.inject.erb +1 -1
- data/lib/kono_utils_bootstrap_view4.rb +14 -8
- data/lib/kono_utils_bootstrap_view4/base_class_concept_ns.rb +1 -1
- data/lib/kono_utils_bootstrap_view4/engine.rb +1 -4
- data/lib/kono_utils_bootstrap_view4/version.rb +1 -1
- metadata +149 -157
@@ -1,5 +1,5 @@
|
|
1
1
|
module KonoUtils
|
2
|
-
module
|
2
|
+
module Object
|
3
3
|
module Cell
|
4
4
|
module Forms # namespace
|
5
5
|
module Fields
|
@@ -7,7 +7,7 @@ module KonoUtils
|
|
7
7
|
# Bottone per la rimozione della riga nested
|
8
8
|
# *Options:*
|
9
9
|
# - ajax_remove: [Boolean] -> indica se vogliamo che venga veramente cancellato il record
|
10
|
-
class NestedWrappers::RemoveButton < KonoUtils::
|
10
|
+
class NestedWrappers::RemoveButton < KonoUtils::Object::Cell::Buttons::Delete
|
11
11
|
|
12
12
|
def url_to
|
13
13
|
if ajax_remove?
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module KonoUtils
|
2
|
-
module
|
2
|
+
module Object
|
3
3
|
module Cell
|
4
4
|
##
|
5
5
|
# Classe per la gestione dell'inserimento del contenuto e javascript per l'azione inject
|
@@ -46,7 +46,7 @@ module KonoUtils
|
|
46
46
|
form: form,
|
47
47
|
base_class: base_class,
|
48
48
|
nested_layout: nested_layout,
|
49
|
-
|
49
|
+
kono_user: context[:kono_user]
|
50
50
|
}.merge(remote_context)
|
51
51
|
)
|
52
52
|
|
@@ -77,7 +77,7 @@ module KonoUtils
|
|
77
77
|
context: {
|
78
78
|
form: form,
|
79
79
|
base_class: base_class,
|
80
|
-
|
80
|
+
kono_user: context[:kono_user]
|
81
81
|
}.merge(remote_context)
|
82
82
|
)
|
83
83
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/app/concepts/kono_utils/{base_object → object}/view/forms/field_selectors/modal_layout.erb
RENAMED
File without changes
|
data/app/concepts/kono_utils/{base_object → object}/view/forms/field_selectors/table_layout.erb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/bases/modal_layout.erb
RENAMED
File without changes
|
data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/bases/table_layout.erb
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_modal_wrapper.erb
RENAMED
File without changes
|
File without changes
|
data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_modal_wrappers/show.erb
RENAMED
File without changes
|
File without changes
|
data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/form.erb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/header.erb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,11 +1,11 @@
|
|
1
1
|
class TempusDominusInput < SimpleForm::Inputs::Base
|
2
2
|
def input(wrapper_options)
|
3
3
|
|
4
|
-
template.content_tag(:div, class:
|
4
|
+
template.content_tag(:div, class: "input-group date #{ has_errors? ? 'is-invalid' : ''}", data: { target_input: 'nearest'}, id: options[:date_time_picker_identifier]) do
|
5
5
|
|
6
6
|
tmp = ActiveSupport::SafeBuffer.new
|
7
|
-
|
8
|
-
tmp << @builder.text_field(attribute_name,
|
7
|
+
merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
|
8
|
+
tmp << @builder.text_field(attribute_name, merged_input_options)
|
9
9
|
tmp << div_button
|
10
10
|
|
11
11
|
tmp
|