Sha256: 019ebb52c8ab03a060363c793084165e87984de4c7f7f3e28b9e7745b152b3bc

Contents?: true

Size: 1.79 KB

Versions: 18

Compression:

Stored size: 1.79 KB

Contents

module KirguduBase
	module DynamicPages
		module Enums
			SUPPORTED_HTTP_METHODS = [:get, :post, :put, :delete, :patch]
			SUPPORTED_DATA_FORMATS = [:xml, :json, :csv]
			SUPPORTED_DATA_SOURCE_TYPES = [:jquery, :remote, :db, :i18n, :enum, :array, :jquery_db]

			SUPPORTED_ENTRY_CONTROLS = [:label, :html, :link, :image, :video, :sound, :file, :progress_bar]
			ENTRY_CONTROLS_WITH_TARGET = [:link, :video, :sound, :file]

			SUPPORTED_LINK_TARGETS = [ :same, :blank, :hover_preview, :modal_dialog ]

			SUPPORTED_INPUT_TYPES =
				[
					:autocomplete_with_id,
					:switch_button,
					:date_picker,
					:time_picker,
					:color_picker,
					:image_selector,
					:check_box,
					:radio_button,
					:link,
					:elastic_text_area,
					:text_area,
					:text_edit,
					:select,
					:chosen_select,
					:autocomplete,
					:password,
					:file_input,
					:collection_check_boxes,
				    :slider,
				    :link_with_id
				]


			ELEMENTS_FOR_PAGE = [:list, :form, :entry, :group, :menu, :tab]
			ELEMENTS_FOR_PAGE_TAB = [:list, :form, :entry, :group, :menu]
			ELEMENTS_FOR_FORM = [:property, :group]



			SOURCES_FOR_PARENT_ELEMENT = [:entry, :params]


			SUPPORTED_ACTIONS = [
				:nullify, # set null or empty
				:default, # set default value
				:retrieve, # retrieve data for property
				:show, # show control
				:hide, # hide control
				:enable, # enable control
				:disable # disable control
			]

			SUPPORTED_CONDITIONS =
				[
					:more, # >
					:more_equal, # >=
					:less, # <
					:less_equal, # <=
					:is, # =
					:is_not, # !=
					:between, # min < value < max
					:not_between, # min >= value >= max
					:include, # min <= value <= max - for intervals, and include? - for arrays
					:not_include # min > value > max - for intervals, and not_include? - for arrays
				]

		end
	end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
kirgudu_base-0.0.21 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.19 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.18 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.17 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.16 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.15 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.14 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.13 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.12 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.11 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.10 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.9 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.8 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.7 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.6 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.5 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.4 app/models/kirgudu_base/dynamic_pages/enums.rb
kirgudu_base-0.0.3 app/models/kirgudu_base/dynamic_pages/enums.rb