matestack-ui-core 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of matestack-ui-core might be problematic. Click here for more details.

Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -12
  3. data/app/concepts/{absolute/view → matestack/ui/core/absolute}/absolute.haml +0 -0
  4. data/app/concepts/{absolute/cell → matestack/ui/core/absolute}/absolute.rb +2 -2
  5. data/app/concepts/matestack/ui/core/action/action.haml +3 -0
  6. data/app/concepts/{action/js → matestack/ui/core/action}/action.js +3 -3
  7. data/app/concepts/{action/cell → matestack/ui/core/action}/action.rb +2 -2
  8. data/app/concepts/{app/view → matestack/ui/core/app}/app.haml +1 -1
  9. data/app/concepts/{app/js → matestack/ui/core/app}/app.js +1 -1
  10. data/app/concepts/{app/cell → matestack/ui/core/app}/app.rb +28 -5
  11. data/app/concepts/{app/js → matestack/ui/core/app}/store.js +1 -1
  12. data/app/concepts/{async/view → matestack/ui/core/async}/async.haml +0 -0
  13. data/app/concepts/{async/js → matestack/ui/core/async}/async.js +3 -3
  14. data/app/concepts/matestack/ui/core/async/async.rb +10 -0
  15. data/app/concepts/{br/view → matestack/ui/core/br}/br.haml +2 -2
  16. data/app/concepts/matestack/ui/core/br/br.rb +5 -0
  17. data/app/concepts/{button/view → matestack/ui/core/button}/button.haml +0 -0
  18. data/app/concepts/matestack/ui/core/button/button.rb +5 -0
  19. data/app/concepts/matestack/ui/core/component/anonym-dynamic-component.js +10 -0
  20. data/app/concepts/{component/view → matestack/ui/core/component}/children.haml +0 -0
  21. data/app/concepts/{component/js → matestack/ui/core/component}/component.js +1 -1
  22. data/app/concepts/{component/view → matestack/ui/core/component}/dynamic.haml +0 -0
  23. data/app/concepts/{component/cell → matestack/ui/core/component}/dynamic.rb +51 -13
  24. data/app/concepts/{component/view → matestack/ui/core/component}/dynamic_without_rerender.haml +0 -0
  25. data/app/concepts/{component/view → matestack/ui/core/component}/response.haml +0 -0
  26. data/app/concepts/{component/view → matestack/ui/core/component}/response_dynamic.haml +0 -0
  27. data/app/concepts/{component/view → matestack/ui/core/component}/response_dynamic_without_rerender.haml +0 -0
  28. data/app/concepts/{component/view → matestack/ui/core/component}/static.haml +0 -0
  29. data/app/concepts/{component/cell → matestack/ui/core/component}/static.rb +3 -3
  30. data/app/concepts/{div/view → matestack/ui/core/div}/div.haml +0 -0
  31. data/app/concepts/matestack/ui/core/div/div.rb +6 -0
  32. data/app/concepts/{footer/view → matestack/ui/core/footer}/footer.haml +0 -0
  33. data/app/concepts/matestack/ui/core/footer/footer.rb +5 -0
  34. data/app/concepts/{form/view → matestack/ui/core/form}/form.haml +0 -0
  35. data/app/concepts/{form/js → matestack/ui/core/form}/form.js +3 -3
  36. data/app/concepts/{form/cell → matestack/ui/core/form}/form.rb +2 -2
  37. data/app/concepts/{form/view → matestack/ui/core/form/inline}/inline.haml +0 -0
  38. data/app/concepts/matestack/ui/core/form/inline/inline.rb +9 -0
  39. data/app/concepts/{form/view → matestack/ui/core/form/input}/input.haml +0 -0
  40. data/app/concepts/{form/cell → matestack/ui/core/form/input}/input.rb +2 -2
  41. data/app/concepts/{form/view → matestack/ui/core/form/select}/select.haml +0 -0
  42. data/app/concepts/{form/cell → matestack/ui/core/form/select}/select.rb +2 -2
  43. data/app/concepts/{form/view → matestack/ui/core/form/submit}/submit.haml +0 -0
  44. data/app/concepts/matestack/ui/core/form/submit/submit.rb +9 -0
  45. data/app/concepts/{header/view → matestack/ui/core/header}/header.haml +0 -0
  46. data/app/concepts/matestack/ui/core/header/header.rb +5 -0
  47. data/app/concepts/{heading/view → matestack/ui/core/heading}/heading.haml +0 -0
  48. data/app/concepts/matestack/ui/core/heading/heading.rb +5 -0
  49. data/app/concepts/matestack/ui/core/hr/hr.haml +1 -0
  50. data/app/concepts/matestack/ui/core/hr/hr.rb +5 -0
  51. data/app/concepts/{html/view → matestack/ui/core/html}/html.haml +0 -0
  52. data/app/concepts/matestack/ui/core/html/html.js +10 -0
  53. data/app/concepts/{html/cell → matestack/ui/core/html}/html.rb +2 -2
  54. data/app/concepts/{icon/view → matestack/ui/core/icon}/icon.haml +0 -0
  55. data/app/concepts/matestack/ui/core/icon/icon.rb +5 -0
  56. data/app/concepts/{img/view → matestack/ui/core/img}/img.haml +0 -0
  57. data/app/concepts/matestack/ui/core/img/img.rb +5 -0
  58. data/app/concepts/{input/view → matestack/ui/core/input}/input.haml +0 -0
  59. data/app/concepts/matestack/ui/core/input/input.rb +5 -0
  60. data/app/concepts/matestack/ui/core/js/core.js +27 -0
  61. data/app/concepts/{core → matestack/ui/core}/js/event-hub.js +0 -0
  62. data/app/concepts/{label/view → matestack/ui/core/label}/label.haml +0 -0
  63. data/app/concepts/matestack/ui/core/label/label.rb +5 -0
  64. data/app/concepts/{li/view → matestack/ui/core/li}/li.haml +0 -0
  65. data/app/concepts/matestack/ui/core/li/li.rb +5 -0
  66. data/app/concepts/{link/view → matestack/ui/core/link}/link.haml +0 -0
  67. data/app/concepts/{link/cell → matestack/ui/core/link}/link.rb +2 -2
  68. data/app/concepts/{main/view → matestack/ui/core/main}/main.haml +0 -0
  69. data/app/concepts/matestack/ui/core/main/main.rb +5 -0
  70. data/app/concepts/{nav/view → matestack/ui/core/nav}/nav.haml +0 -0
  71. data/app/concepts/matestack/ui/core/nav/nav.rb +5 -0
  72. data/app/concepts/matestack/ui/core/ol/ol.haml +3 -0
  73. data/app/concepts/matestack/ui/core/ol/ol.rb +5 -0
  74. data/app/concepts/{onclick/view → matestack/ui/core/onclick}/onclick.haml +0 -0
  75. data/app/concepts/{onclick/js → matestack/ui/core/onclick}/onclick.js +3 -3
  76. data/app/concepts/matestack/ui/core/onclick/onclick.rb +6 -0
  77. data/app/concepts/{page/view → matestack/ui/core/page}/content.haml +0 -0
  78. data/app/concepts/{page/js → matestack/ui/core/page}/content.js +2 -2
  79. data/app/concepts/matestack/ui/core/page/content.rb +5 -0
  80. data/app/concepts/{page/view → matestack/ui/core/page}/page.haml +0 -0
  81. data/app/concepts/{page/cell → matestack/ui/core/page}/page.rb +28 -6
  82. data/app/concepts/{pg/view/pg.haml → matestack/ui/core/paragraph/paragraph.haml} +0 -0
  83. data/app/concepts/matestack/ui/core/paragraph/paragraph.rb +5 -0
  84. data/app/concepts/{partial/view → matestack/ui/core/partial}/partial.haml +0 -0
  85. data/app/concepts/matestack/ui/core/partial/partial.rb +5 -0
  86. data/app/concepts/matestack/ui/core/pg/pg.haml +8 -0
  87. data/app/concepts/matestack/ui/core/pg/pg.rb +5 -0
  88. data/app/concepts/matestack/ui/core/plain/plain.rb +10 -0
  89. data/app/concepts/matestack/ui/core/progress/progress.haml +3 -0
  90. data/app/concepts/matestack/ui/core/progress/progress.rb +14 -0
  91. data/app/concepts/{section/view → matestack/ui/core/section}/section.haml +0 -0
  92. data/app/concepts/matestack/ui/core/section/section.rb +5 -0
  93. data/app/concepts/{slot/view → matestack/ui/core/slot}/slot.haml +0 -0
  94. data/app/concepts/matestack/ui/core/slot/slot.rb +5 -0
  95. data/app/concepts/{span/view → matestack/ui/core/span}/span.haml +0 -0
  96. data/app/concepts/matestack/ui/core/span/span.rb +5 -0
  97. data/app/concepts/matestack/ui/core/table/table.haml +3 -0
  98. data/app/concepts/matestack/ui/core/table/table.rb +5 -0
  99. data/app/concepts/matestack/ui/core/td/td.haml +8 -0
  100. data/app/concepts/matestack/ui/core/td/td.rb +5 -0
  101. data/app/concepts/matestack/ui/core/th/th.haml +8 -0
  102. data/app/concepts/matestack/ui/core/th/th.rb +5 -0
  103. data/app/concepts/matestack/ui/core/time/time.haml +3 -0
  104. data/app/concepts/matestack/ui/core/time/time.rb +11 -0
  105. data/app/concepts/matestack/ui/core/tr/tr.haml +3 -0
  106. data/app/concepts/matestack/ui/core/tr/tr.rb +5 -0
  107. data/app/concepts/{transition/view → matestack/ui/core/transition}/transition.haml +0 -0
  108. data/app/concepts/{transition/js → matestack/ui/core/transition}/transition.js +2 -2
  109. data/app/concepts/{transition/cell → matestack/ui/core/transition}/transition.rb +2 -2
  110. data/app/concepts/{ul/view → matestack/ui/core/ul}/ul.haml +0 -0
  111. data/app/concepts/matestack/ui/core/ul/ul.rb +5 -0
  112. data/app/concepts/{view → matestack/ui/core}/view/view.haml +0 -0
  113. data/app/concepts/{view/js → matestack/ui/core/view}/view.js +3 -3
  114. data/app/concepts/matestack/ui/core/view/view.rb +7 -0
  115. data/app/lib/matestack/ui/app.rb +1 -0
  116. data/app/{concepts/app/utils → lib/matestack/ui/core}/app_node.rb +1 -1
  117. data/app/{concepts/component/utils → lib/matestack/ui/core}/component_node.rb +1 -1
  118. data/app/{concepts/page/utils → lib/matestack/ui/core}/page_node.rb +1 -1
  119. data/app/{concepts/shared/utils → lib/matestack/ui/core}/to_cell.rb +26 -25
  120. data/app/lib/matestack/ui/dynamic_component.rb +1 -0
  121. data/app/lib/matestack/ui/page.rb +1 -0
  122. data/app/lib/matestack/ui/static_component.rb +1 -0
  123. data/lib/matestack/ui/core/version.rb +1 -1
  124. data/vendor/assets/javascripts/matestack-ui-core.js +117 -117
  125. data/vendor/assets/javascripts/matestack-ui-core.js.map +1 -1
  126. metadata +125 -120
  127. data/app/assets/config/basemate_ui_core_manifest.js +0 -2
  128. data/app/assets/javascripts/basemate/ui/core/application.js +0 -15
  129. data/app/assets/stylesheets/basemate/ui/core/application.css +0 -15
  130. data/app/concepts/action/view/action.haml +0 -3
  131. data/app/concepts/async/cell/async.rb +0 -10
  132. data/app/concepts/br/cell/br.rb +0 -5
  133. data/app/concepts/button/cell/button.rb +0 -5
  134. data/app/concepts/component/js/anonym-dynamic-component.js +0 -10
  135. data/app/concepts/core/js/core.js +0 -27
  136. data/app/concepts/div/cell/div.rb +0 -6
  137. data/app/concepts/footer/cell/footer.rb +0 -5
  138. data/app/concepts/form/cell/inline.rb +0 -9
  139. data/app/concepts/form/cell/submit.rb +0 -9
  140. data/app/concepts/header/cell/header.rb +0 -5
  141. data/app/concepts/heading/cell/heading.rb +0 -5
  142. data/app/concepts/html/js/html.js +0 -10
  143. data/app/concepts/icon/cell/icon.rb +0 -5
  144. data/app/concepts/img/cell/img.rb +0 -5
  145. data/app/concepts/input/cell/input.rb +0 -5
  146. data/app/concepts/label/cell/label.rb +0 -5
  147. data/app/concepts/li/cell/li.rb +0 -5
  148. data/app/concepts/main/cell/main.rb +0 -5
  149. data/app/concepts/nav/cell/nav.rb +0 -5
  150. data/app/concepts/ol/cell/ol.rb +0 -5
  151. data/app/concepts/ol/view/ol.haml +0 -3
  152. data/app/concepts/onclick/cell/onclick.rb +0 -6
  153. data/app/concepts/page/cell/content.rb +0 -5
  154. data/app/concepts/partial/cell/partial.rb +0 -5
  155. data/app/concepts/pg/cell/pg.rb +0 -5
  156. data/app/concepts/plain/cell/plain.rb +0 -10
  157. data/app/concepts/progress/cell/progress.rb +0 -5
  158. data/app/concepts/progress/view/progress.haml +0 -3
  159. data/app/concepts/section/cell/section.rb +0 -5
  160. data/app/concepts/slot/cell/slot.rb +0 -10
  161. data/app/concepts/span/cell/span.rb +0 -5
  162. data/app/concepts/table/cell/table.rb +0 -5
  163. data/app/concepts/table/view/table.haml +0 -3
  164. data/app/concepts/td/cell/td.rb +0 -5
  165. data/app/concepts/td/view/td.haml +0 -8
  166. data/app/concepts/th/cell/th.rb +0 -5
  167. data/app/concepts/th/view/th.haml +0 -8
  168. data/app/concepts/tr/cell/tr.rb +0 -5
  169. data/app/concepts/tr/view/tr.haml +0 -3
  170. data/app/concepts/ul/cell/ul.rb +0 -5
  171. data/app/concepts/view/cell/view.rb +0 -7
  172. data/app/controllers/basemate/ui/core/application_controller.rb +0 -9
  173. data/app/controllers/basemate/ui/core/docs_controller.rb +0 -17
@@ -0,0 +1,5 @@
1
+ module Matestack::Ui::Core::Partial
2
+ class Partial < Matestack::Ui::Core::Component::Static
3
+
4
+ end
5
+ end
@@ -0,0 +1,8 @@
1
+ - if options[:text].nil?
2
+ %p{@tag_attributes}
3
+ - if block_given?
4
+ = yield
5
+
6
+ - else
7
+ %p{@tag_attributes}
8
+ = options[:text]
@@ -0,0 +1,5 @@
1
+ module Matestack::Ui::Core::Pg
2
+ class Pg < Matestack::Ui::Core::Component::Static
3
+
4
+ end
5
+ end
@@ -0,0 +1,10 @@
1
+ module Matestack::Ui::Core::Plain
2
+ class Plain < Matestack::Ui::Core::Component::Static
3
+
4
+ def show
5
+ @argument
6
+ end
7
+
8
+ end
9
+
10
+ end
@@ -0,0 +1,3 @@
1
+ %progress{@tag_attributes}
2
+ - if block_given?
3
+ = yield
@@ -0,0 +1,14 @@
1
+ module Matestack::Ui::Core::Progress
2
+ class Progress < Matestack::Ui::Core::Component::Static
3
+
4
+ REQUIRED_KEYS = [:max]
5
+
6
+ def setup
7
+ @tag_attributes.merge!({
8
+ 'value': options[:value] ||= 0,
9
+ 'max': options[:max]
10
+ })
11
+ end
12
+
13
+ end
14
+ end
@@ -0,0 +1,5 @@
1
+ module Matestack::Ui::Core::Section
2
+ class Section < Matestack::Ui::Core::Component::Static
3
+
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ module Matestack::Ui::Core::Slot
2
+ class Slot < Matestack::Ui::Core::Component::Static
3
+
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ module Matestack::Ui::Core::Span
2
+ class Span < Matestack::Ui::Core::Component::Static
3
+
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ %table{@tag_attributes}
2
+ - if block_given?
3
+ = yield
@@ -0,0 +1,5 @@
1
+ module Matestack::Ui::Core::Table
2
+ class Table < Matestack::Ui::Core::Component::Static
3
+
4
+ end
5
+ end
@@ -0,0 +1,8 @@
1
+ - if options[:text].nil?
2
+ %td{@tag_attributes}
3
+ - if block_given?
4
+ = yield
5
+
6
+ - else
7
+ %td{@tag_attributes}
8
+ = options[:text]
@@ -0,0 +1,5 @@
1
+ module Matestack::Ui::Core::Td
2
+ class Td < Matestack::Ui::Core::Component::Static
3
+
4
+ end
5
+ end
@@ -0,0 +1,8 @@
1
+ - if options[:text].nil?
2
+ %th{@tag_attributes}
3
+ - if block_given?
4
+ = yield
5
+
6
+ - else
7
+ %th{@tag_attributes}
8
+ = options[:text]
@@ -0,0 +1,5 @@
1
+ module Matestack::Ui::Core::Th
2
+ class Th < Matestack::Ui::Core::Component::Static
3
+
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ %time{@tag_attributes}
2
+ - if block_given?
3
+ = yield
@@ -0,0 +1,11 @@
1
+ module Matestack::Ui::Core::Time
2
+ class Time < Matestack::Ui::Core::Component::Static
3
+
4
+ def setup
5
+ @tag_attributes.merge!({
6
+ "datetime": options[:datetime] ||= nil
7
+ })
8
+ end
9
+
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ %tr{@tag_attributes}
2
+ - if block_given?
3
+ = yield
@@ -0,0 +1,5 @@
1
+ module Matestack::Ui::Core::Tr
2
+ class Tr < Matestack::Ui::Core::Component::Static
3
+
4
+ end
5
+ end
@@ -1,6 +1,6 @@
1
1
  import Vue from 'vue/dist/vue.esm'
2
2
  import Vuex from 'vuex'
3
- import componentMixin from 'component/js/component'
3
+ import componentMixin from 'component/component'
4
4
 
5
5
  const componentDef = {
6
6
  mixins: [componentMixin],
@@ -21,6 +21,6 @@ const componentDef = {
21
21
  }
22
22
  }
23
23
 
24
- let component = Vue.component('transition-cell', componentDef)
24
+ let component = Vue.component('matestack-ui-core-transition', componentDef)
25
25
 
26
26
  export default componentDef
@@ -1,5 +1,5 @@
1
- module Transition::Cell
2
- class Transition < Component::Cell::Dynamic
1
+ module Matestack::Ui::Core::Transition
2
+ class Transition < Matestack::Ui::Core::Component::Dynamic
3
3
 
4
4
  def setup
5
5
  @component_config[:link_path] = link_path
@@ -0,0 +1,5 @@
1
+ module Matestack::Ui::Core::Ul
2
+ class Ul < Matestack::Ui::Core::Component::Static
3
+
4
+ end
5
+ end
@@ -1,8 +1,8 @@
1
1
  import Vue from 'vue/dist/vue.esm'
2
2
 
3
- import matestackEventHub from 'core/js/event-hub'
3
+ import matestackEventHub from 'js/event-hub'
4
4
 
5
- import componentMixin from 'component/js/component'
5
+ import componentMixin from 'component/component'
6
6
 
7
7
  const componentDef = {
8
8
  mixins: [componentMixin],
@@ -37,6 +37,6 @@ const componentDef = {
37
37
  },
38
38
  }
39
39
 
40
- let component = Vue.component('view-cell', componentDef)
40
+ let component = Vue.component('matestack-ui-core-view', componentDef)
41
41
 
42
42
  export default componentDef
@@ -0,0 +1,7 @@
1
+ module Matestack::Ui::Core::View::Cell
2
+ class View < Matestack::Ui::Core::Component::Dynamic
3
+
4
+
5
+ end
6
+ end
7
+
@@ -0,0 +1 @@
1
+ Matestack::Ui::App = Matestack::Ui::Core::App::App
@@ -1,4 +1,4 @@
1
- module App::Utils
1
+ module Matestack::Ui::Core
2
2
  class AppNode
3
3
 
4
4
  def self.build(app_instance, &block)
@@ -1,4 +1,4 @@
1
- module Component::Utils
1
+ module Matestack::Ui::Core
2
2
  class ComponentNode
3
3
 
4
4
  def self.build(component_instance, included_config, &block)
@@ -1,4 +1,4 @@
1
- module Page::Utils
1
+ module Matestack::Ui::Core
2
2
  class PageNode
3
3
 
4
4
  def self.build(page_instance, included_config, &block)
@@ -1,4 +1,4 @@
1
- module Shared::Utils::ToCell
1
+ module Matestack::Ui::Core::ToCell
2
2
 
3
3
  def to_cell(key, component_name, config, argument, children, included_config)
4
4
  request_uri = context[:request].env["REQUEST_URI"]
@@ -27,14 +27,11 @@ module Shared::Utils::ToCell
27
27
  path_camelized = path.map { |x| x.camelize }
28
28
 
29
29
  if path_camelized.count == 1
30
- class_name = "#{path_camelized[0]}::Cell::#{path_camelized[0]}"
31
- rewritten_path = [path[0], "cell", path[0]]
30
+ class_name = "#{path_camelized[0]}"
31
+ rewritten_path = [path[0]]
32
32
  else
33
- class_name = path_camelized[0..-2].join("::")
34
- class_name += "::Cell::#{path_camelized[-1]}"
35
- rewritten_path = path[0..-2]
36
- rewritten_path << "cell"
37
- rewritten_path << path[-1]
33
+ class_name = path_camelized.join("::")
34
+ rewritten_path = path
38
35
  end
39
36
 
40
37
  custom_component_class_name = "Components::" + class_name
@@ -48,7 +45,7 @@ module Shared::Utils::ToCell
48
45
  in \"matestack/components/#{rewritten_path.join('/')}.rb\""
49
46
  end
50
47
  if component_class.is_a?(Class)
51
- return concept(component_class, argument, config)
48
+ return cell(component_class, argument, config)
52
49
  else
53
50
  raise "Given component #{component_class} is not a class. \
54
51
  You might forget to add the component name to your component call"
@@ -62,29 +59,32 @@ module Shared::Utils::ToCell
62
59
  def resolve_core_component(component_name, argument, config)
63
60
  name = component_name.gsub("_", "/")
64
61
 
65
- if name.include?("/")
66
- name = name.gsub("/", "/cell/")
67
- else
68
- name = "#{name}/cell/#{name}"
62
+ unless name.include?("/")
63
+ name = "#{name}/#{name}"
69
64
  end
70
65
 
71
66
  path = name.split("/")
72
67
  path_camelized = path.map { |x| x.camelize }
73
68
  class_name = path_camelized.join("::")
74
69
 
70
+ core_component_class_name = "Matestack::Ui::Core::" + class_name
75
71
  begin
76
72
  begin
77
- component_class = Object.const_get(class_name, false)
73
+ component_class = Object.const_get(core_component_class_name, false)
74
+ unless component_class.is_a?(Class)
75
+ core_component_class_name = core_component_class_name + "::#{name.split("/").last.camelize}"
76
+ component_class = Object.const_get(core_component_class_name, false)
77
+ end
78
78
  rescue => e
79
79
  begin
80
80
  return resolve_namespaced_component(component_name, argument, config)
81
81
  rescue => e
82
82
  raise "#{e.message.nil? ? '': 'Got Error: '+e.message}. \
83
- Component '#{component_name}' not found. Looking for Class '#{class_name}'. \
83
+ Component '#{component_name}' not found. Looking for Class '#{core_component_class_name}'. \
84
84
  Make sure to prefix a custom component with 'custom_'"
85
85
  end
86
86
  end
87
- return concept(component_class, argument, config)
87
+ return cell(component_class, argument, config)
88
88
  rescue => e
89
89
  raise "#{component_name} > #{e.message}"
90
90
  end
@@ -99,25 +99,26 @@ module Shared::Utils::ToCell
99
99
  path_camelized = path.map { |x| x.camelize }
100
100
 
101
101
  if path_camelized.count == 1
102
- class_name = "#{path_camelized[0]}::Cell::#{path_camelized[0]}"
103
- rewritten_path = [path[0], "cell", path[0]]
102
+ class_name = "#{path_camelized[0]}::#{path_camelized[0]}"
103
+ rewritten_path = [path[0], path[0]]
104
104
  else
105
- class_name = path_camelized[0..-2].join("::")
106
- class_name += "::Cell::#{path_camelized[-1]}"
107
- rewritten_path = path[0..-2]
108
- rewritten_path << "cell"
109
- rewritten_path << path[-1]
105
+ class_name = path_camelized[0..-1].join("::")
106
+ rewritten_path = path[0..-1]
110
107
  end
111
108
 
112
- namespaced_class_name = namespace + "::" + class_name
109
+ namespaced_class_name = "Matestack::Ui::" + namespace + "::" + class_name
113
110
 
114
111
  begin
115
112
  begin
116
113
  component_class = Object.const_get(namespaced_class_name, false)
114
+ unless component_class.is_a?(Class)
115
+ namespaced_class_name = namespaced_class_name + "::#{name.split("/").last.camelize}"
116
+ component_class = Object.const_get(namespaced_class_name, false)
117
+ end
117
118
  rescue => e
118
119
  raise "#{e.message}"
119
120
  end
120
- return concept(component_class, argument, config)
121
+ return cell(component_class, argument, config)
121
122
  rescue => e
122
123
  raise "#{e.message}"
123
124
  end
@@ -0,0 +1 @@
1
+ Matestack::Ui::DynamicComponent = Matestack::Ui::Core::Component::Dynamic
@@ -0,0 +1 @@
1
+ Matestack::Ui::Page = Matestack::Ui::Core::Page::Page
@@ -0,0 +1 @@
1
+ Matestack::Ui::StaticComponent = Matestack::Ui::Core::Component::Static
@@ -1,7 +1,7 @@
1
1
  module Matestack
2
2
  module Ui
3
3
  module Core
4
- VERSION = '0.6.0'
4
+ VERSION = '0.7.0'
5
5
  end
6
6
  end
7
7
  end
@@ -11350,9 +11350,9 @@ module.exports = {
11350
11350
 
11351
11351
  /***/ }),
11352
11352
  /* 2 */
11353
- /*!*************************************************!*\
11354
- !*** ../app/concepts/component/js/component.js ***!
11355
- \*************************************************/
11353
+ /*!****************************************************************!*\
11354
+ !*** ../app/concepts/matestack/ui/core/component/component.js ***!
11355
+ \****************************************************************/
11356
11356
  /*! exports provided: default */
11357
11357
  /*! exports used: default */
11358
11358
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -11362,7 +11362,7 @@ module.exports = {
11362
11362
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_axios__ = __webpack_require__(/*! axios */ 5);
11363
11363
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_axios__);
11364
11364
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_v_runtime_template__ = __webpack_require__(/*! v-runtime-template */ 14);
11365
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__ = __webpack_require__(/*! core/js/event-hub */ 3);
11365
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_js_event_hub__ = __webpack_require__(/*! js/event-hub */ 3);
11366
11366
 
11367
11367
 
11368
11368
 
@@ -11408,13 +11408,13 @@ const componentMixin = {
11408
11408
  },
11409
11409
  created: function () {
11410
11410
  const self = this;
11411
- __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a" /* default */].$on('rerender', self.onRerender);
11412
- __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a" /* default */].$on('MatestackUiCoreChannel', self.onMatestackUiCoreChannel);
11411
+ __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a" /* default */].$on('rerender', self.onRerender);
11412
+ __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a" /* default */].$on('MatestackUiCoreChannel', self.onMatestackUiCoreChannel);
11413
11413
  },
11414
11414
  beforeDestroy: function () {
11415
11415
  const self = this;
11416
- __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a" /* default */].$off('rerender', self.onRerender);
11417
- __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a" /* default */].$off('MatestackUiCoreChannel', self.onMatestackUiCoreChannel);
11416
+ __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a" /* default */].$off('rerender', self.onRerender);
11417
+ __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a" /* default */].$off('MatestackUiCoreChannel', self.onMatestackUiCoreChannel);
11418
11418
  },
11419
11419
  components: {
11420
11420
  VRuntimeTemplate: __WEBPACK_IMPORTED_MODULE_2_v_runtime_template__["a" /* default */]
@@ -11425,9 +11425,9 @@ const componentMixin = {
11425
11425
 
11426
11426
  /***/ }),
11427
11427
  /* 3 */
11428
- /*!********************************************!*\
11429
- !*** ../app/concepts/core/js/event-hub.js ***!
11430
- \********************************************/
11428
+ /*!*********************************************************!*\
11429
+ !*** ../app/concepts/matestack/ui/core/js/event-hub.js ***!
11430
+ \*********************************************************/
11431
11431
  /*! exports provided: default */
11432
11432
  /*! exports used: default */
11433
11433
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -13120,14 +13120,14 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
13120
13120
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vuex__ = __webpack_require__(/*! vuex */ 4);
13121
13121
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_axios__ = __webpack_require__(/*! axios */ 5);
13122
13122
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_axios__);
13123
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__ = __webpack_require__(/*! core/js/event-hub */ 3);
13124
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_component_js_component__ = __webpack_require__(/*! component/js/component */ 2);
13125
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_core_js_core__ = __webpack_require__(/*! core/js/core */ 36);
13123
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_js_event_hub__ = __webpack_require__(/*! js/event-hub */ 3);
13124
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_component_component__ = __webpack_require__(/*! component/component */ 2);
13125
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_js_core__ = __webpack_require__(/*! js/core */ 36);
13126
13126
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Vue", function() { return __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a"]; });
13127
13127
  /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Vuex", function() { return __WEBPACK_IMPORTED_MODULE_1_vuex__["a"]; });
13128
13128
  /* harmony reexport (default from non-hamory) */ __webpack_require__.d(__webpack_exports__, "axios", function() { return __WEBPACK_IMPORTED_MODULE_2_axios___default.a; });
13129
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "matestackEventHub", function() { return __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a"]; });
13130
- /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "componentMixin", function() { return __WEBPACK_IMPORTED_MODULE_4_component_js_component__["a"]; });
13129
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "matestackEventHub", function() { return __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a"]; });
13130
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "componentMixin", function() { return __WEBPACK_IMPORTED_MODULE_4_component_component__["a"]; });
13131
13131
  /* eslint no-console:0 */
13132
13132
  // This file is automatically compiled by Webpack, along with any other files
13133
13133
  // present in this directory. You're encouraged to place your actual application logic in
@@ -14394,26 +14394,26 @@ module.exports = function spread(callback) {
14394
14394
 
14395
14395
  /***/ }),
14396
14396
  /* 36 */
14397
- /*!***************************************!*\
14398
- !*** ../app/concepts/core/js/core.js ***!
14399
- \***************************************/
14397
+ /*!****************************************************!*\
14398
+ !*** ../app/concepts/matestack/ui/core/js/core.js ***!
14399
+ \****************************************************/
14400
14400
  /*! exports provided: default */
14401
14401
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14402
14402
 
14403
14403
  "use strict";
14404
14404
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__ = __webpack_require__(/*! vue/dist/vue.esm */ 0);
14405
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_app_js_app__ = __webpack_require__(/*! app/js/app */ 37);
14406
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_async_js_async__ = __webpack_require__(/*! async/js/async */ 38);
14407
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_page_js_content__ = __webpack_require__(/*! page/js/content */ 39);
14408
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_app_js_store__ = __webpack_require__(/*! app/js/store */ 40);
14409
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_component_js_component__ = __webpack_require__(/*! component/js/component */ 2);
14410
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_component_js_anonym_dynamic_component__ = __webpack_require__(/*! component/js/anonym-dynamic-component */ 41);
14411
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_html_js_html__ = __webpack_require__(/*! html/js/html */ 42);
14412
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_transition_js_transition__ = __webpack_require__(/*! transition/js/transition */ 43);
14413
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_action_js_action__ = __webpack_require__(/*! action/js/action */ 44);
14414
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_form_js_form__ = __webpack_require__(/*! form/js/form */ 45);
14415
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_view_js_view__ = __webpack_require__(/*! view/js/view */ 46);
14416
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_onclick_js_onclick__ = __webpack_require__(/*! onclick/js/onclick */ 47);
14405
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_app_app__ = __webpack_require__(/*! app/app */ 37);
14406
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_async_async__ = __webpack_require__(/*! async/async */ 38);
14407
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_page_content__ = __webpack_require__(/*! page/content */ 39);
14408
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_app_store__ = __webpack_require__(/*! app/store */ 40);
14409
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_component_component__ = __webpack_require__(/*! component/component */ 2);
14410
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_component_anonym_dynamic_component__ = __webpack_require__(/*! component/anonym-dynamic-component */ 41);
14411
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_html_html__ = __webpack_require__(/*! html/html */ 42);
14412
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_transition_transition__ = __webpack_require__(/*! transition/transition */ 43);
14413
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_action_action__ = __webpack_require__(/*! action/action */ 44);
14414
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_form_form__ = __webpack_require__(/*! form/form */ 45);
14415
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_view_view__ = __webpack_require__(/*! view/view */ 46);
14416
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12_onclick_onclick__ = __webpack_require__(/*! onclick/onclick */ 47);
14417
14417
 
14418
14418
 
14419
14419
 
@@ -14435,7 +14435,7 @@ document.addEventListener('DOMContentLoaded', () => {
14435
14435
 
14436
14436
  matestackUiApp = new __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */]({
14437
14437
  el: "#matestack_ui",
14438
- store: __WEBPACK_IMPORTED_MODULE_4_app_js_store__["a" /* default */]
14438
+ store: __WEBPACK_IMPORTED_MODULE_4_app_store__["a" /* default */]
14439
14439
  });
14440
14440
  });
14441
14441
 
@@ -14443,9 +14443,9 @@ document.addEventListener('DOMContentLoaded', () => {
14443
14443
 
14444
14444
  /***/ }),
14445
14445
  /* 37 */
14446
- /*!*************************************!*\
14447
- !*** ../app/concepts/app/js/app.js ***!
14448
- \*************************************/
14446
+ /*!****************************************************!*\
14447
+ !*** ../app/concepts/matestack/ui/core/app/app.js ***!
14448
+ \****************************************************/
14449
14449
  /*! exports provided: default */
14450
14450
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14451
14451
 
@@ -14479,22 +14479,22 @@ const componentDef = {
14479
14479
  }
14480
14480
  };
14481
14481
 
14482
- let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('app-cell', componentDef);
14482
+ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('matestack-ui-core-app', componentDef);
14483
14483
 
14484
14484
  /* unused harmony default export */ var _unused_webpack_default_export = (componentDef);
14485
14485
 
14486
14486
  /***/ }),
14487
14487
  /* 38 */
14488
- /*!*****************************************!*\
14489
- !*** ../app/concepts/async/js/async.js ***!
14490
- \*****************************************/
14488
+ /*!********************************************************!*\
14489
+ !*** ../app/concepts/matestack/ui/core/async/async.js ***!
14490
+ \********************************************************/
14491
14491
  /*! exports provided: default */
14492
14492
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14493
14493
 
14494
14494
  "use strict";
14495
14495
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__ = __webpack_require__(/*! vue/dist/vue.esm */ 0);
14496
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__ = __webpack_require__(/*! core/js/event-hub */ 3);
14497
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_component_js_component__ = __webpack_require__(/*! component/js/component */ 2);
14496
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_js_event_hub__ = __webpack_require__(/*! js/event-hub */ 3);
14497
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_component_component__ = __webpack_require__(/*! component/component */ 2);
14498
14498
 
14499
14499
 
14500
14500
 
@@ -14502,7 +14502,7 @@ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */
14502
14502
 
14503
14503
 
14504
14504
  const componentDef = {
14505
- mixins: [__WEBPACK_IMPORTED_MODULE_2_component_js_component__["a" /* default */]],
14505
+ mixins: [__WEBPACK_IMPORTED_MODULE_2_component_component__["a" /* default */]],
14506
14506
  data: function () {
14507
14507
  return {
14508
14508
  showing: true,
@@ -14530,9 +14530,9 @@ const componentDef = {
14530
14530
  },
14531
14531
  created: function () {
14532
14532
  const self = this;
14533
- __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__["a" /* default */].$on(this.componentConfig["rerender_on"], self.rerender);
14534
- __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__["a" /* default */].$on(this.componentConfig["show_on"], self.show);
14535
- __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__["a" /* default */].$on(this.componentConfig["hide_on"], self.hide);
14533
+ __WEBPACK_IMPORTED_MODULE_1_js_event_hub__["a" /* default */].$on(this.componentConfig["rerender_on"], self.rerender);
14534
+ __WEBPACK_IMPORTED_MODULE_1_js_event_hub__["a" /* default */].$on(this.componentConfig["show_on"], self.show);
14535
+ __WEBPACK_IMPORTED_MODULE_1_js_event_hub__["a" /* default */].$on(this.componentConfig["hide_on"], self.hide);
14536
14536
  if (this.componentConfig["show_on"] != undefined) {
14537
14537
  this.showing = false;
14538
14538
  }
@@ -14543,34 +14543,34 @@ const componentDef = {
14543
14543
  beforeDestroy: function () {
14544
14544
  const self = this;
14545
14545
  clearTimeout(self.hide_after_timeout);
14546
- __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__["a" /* default */].$off(this.componentConfig["rerender_on"], self.rerender);
14547
- __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__["a" /* default */].$off(this.componentConfig["show_on"], self.show);
14548
- __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__["a" /* default */].$off(this.componentConfig["hide_on"], self.hide);
14546
+ __WEBPACK_IMPORTED_MODULE_1_js_event_hub__["a" /* default */].$off(this.componentConfig["rerender_on"], self.rerender);
14547
+ __WEBPACK_IMPORTED_MODULE_1_js_event_hub__["a" /* default */].$off(this.componentConfig["show_on"], self.show);
14548
+ __WEBPACK_IMPORTED_MODULE_1_js_event_hub__["a" /* default */].$off(this.componentConfig["hide_on"], self.hide);
14549
14549
  }
14550
14550
  };
14551
14551
 
14552
- let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('async-cell', componentDef);
14552
+ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('matestack-ui-core-async', componentDef);
14553
14553
 
14554
14554
  /* unused harmony default export */ var _unused_webpack_default_export = (componentDef);
14555
14555
 
14556
14556
  /***/ }),
14557
14557
  /* 39 */
14558
- /*!******************************************!*\
14559
- !*** ../app/concepts/page/js/content.js ***!
14560
- \******************************************/
14558
+ /*!*********************************************************!*\
14559
+ !*** ../app/concepts/matestack/ui/core/page/content.js ***!
14560
+ \*********************************************************/
14561
14561
  /*! exports provided: default */
14562
14562
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14563
14563
 
14564
14564
  "use strict";
14565
14565
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__ = __webpack_require__(/*! vue/dist/vue.esm */ 0);
14566
14566
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vuex__ = __webpack_require__(/*! vuex */ 4);
14567
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_component_js_component__ = __webpack_require__(/*! component/js/component */ 2);
14567
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_component_component__ = __webpack_require__(/*! component/component */ 2);
14568
14568
 
14569
14569
 
14570
14570
 
14571
14571
 
14572
14572
  const componentDef = {
14573
- mixins: [__WEBPACK_IMPORTED_MODULE_2_component_js_component__["a" /* default */]],
14573
+ mixins: [__WEBPACK_IMPORTED_MODULE_2_component_component__["a" /* default */]],
14574
14574
  data: function () {
14575
14575
  return {};
14576
14576
  },
@@ -14579,15 +14579,15 @@ const componentDef = {
14579
14579
  })
14580
14580
  };
14581
14581
 
14582
- let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('page-content-cell', componentDef);
14582
+ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('matestack-ui-core-page-content', componentDef);
14583
14583
 
14584
14584
  /* unused harmony default export */ var _unused_webpack_default_export = (componentDef);
14585
14585
 
14586
14586
  /***/ }),
14587
14587
  /* 40 */
14588
- /*!***************************************!*\
14589
- !*** ../app/concepts/app/js/store.js ***!
14590
- \***************************************/
14588
+ /*!******************************************************!*\
14589
+ !*** ../app/concepts/matestack/ui/core/app/store.js ***!
14590
+ \******************************************************/
14591
14591
  /*! exports provided: default */
14592
14592
  /*! exports used: default */
14593
14593
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -14597,7 +14597,7 @@ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */
14597
14597
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vuex__ = __webpack_require__(/*! vuex */ 4);
14598
14598
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_axios__ = __webpack_require__(/*! axios */ 5);
14599
14599
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_axios__);
14600
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__ = __webpack_require__(/*! core/js/event-hub */ 3);
14600
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_js_event_hub__ = __webpack_require__(/*! js/event-hub */ 3);
14601
14601
 
14602
14602
 
14603
14603
 
@@ -14621,7 +14621,7 @@ const store = new __WEBPACK_IMPORTED_MODULE_1_vuex__["a" /* default */].Store({
14621
14621
  },
14622
14622
  actions: {
14623
14623
  navigateTo({ commit, state }, { url, backwards }) {
14624
- __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a" /* default */].$emit("page_loading", url);
14624
+ __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a" /* default */].$emit("page_loading", url);
14625
14625
  if (typeof matestackUiCoreTransitionStart !== 'undefined') {
14626
14626
  matestackUiCoreTransitionStart(url);
14627
14627
  }
@@ -14647,7 +14647,7 @@ const store = new __WEBPACK_IMPORTED_MODULE_1_vuex__["a" /* default */].Store({
14647
14647
  resolve(response["data"]);
14648
14648
  commit('setPageTemplate', response["data"]);
14649
14649
  commit('setCurrentPath', url);
14650
- __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a" /* default */].$emit("page_loaded", url);
14650
+ __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a" /* default */].$emit("page_loaded", url);
14651
14651
  if (typeof matestackUiCoreTransitionSuccess !== 'undefined') {
14652
14652
  matestackUiCoreTransitionSuccess(url);
14653
14653
  }
@@ -14655,7 +14655,7 @@ const store = new __WEBPACK_IMPORTED_MODULE_1_vuex__["a" /* default */].Store({
14655
14655
  }).catch(function (error) {
14656
14656
  setTimeout(function () {
14657
14657
  resolve(error);
14658
- __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a" /* default */].$emit("page_loading_error", error);
14658
+ __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a" /* default */].$emit("page_loading_error", error);
14659
14659
  if (typeof matestackUiCoreTransitionError !== 'undefined') {
14660
14660
  matestackUiCoreTransitionError(url);
14661
14661
  }
@@ -14670,66 +14670,66 @@ const store = new __WEBPACK_IMPORTED_MODULE_1_vuex__["a" /* default */].Store({
14670
14670
 
14671
14671
  /***/ }),
14672
14672
  /* 41 */
14673
- /*!****************************************************************!*\
14674
- !*** ../app/concepts/component/js/anonym-dynamic-component.js ***!
14675
- \****************************************************************/
14673
+ /*!*******************************************************************************!*\
14674
+ !*** ../app/concepts/matestack/ui/core/component/anonym-dynamic-component.js ***!
14675
+ \*******************************************************************************/
14676
14676
  /*! exports provided: default */
14677
14677
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14678
14678
 
14679
14679
  "use strict";
14680
14680
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__ = __webpack_require__(/*! vue/dist/vue.esm */ 0);
14681
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_component_js_component__ = __webpack_require__(/*! component/js/component */ 2);
14681
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_component_component__ = __webpack_require__(/*! component/component */ 2);
14682
14682
 
14683
14683
 
14684
14684
 
14685
14685
  const componentDef = {
14686
- mixins: [__WEBPACK_IMPORTED_MODULE_1_component_js_component__["a" /* default */]]
14686
+ mixins: [__WEBPACK_IMPORTED_MODULE_1_component_component__["a" /* default */]]
14687
14687
  };
14688
14688
 
14689
- let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('anonym-dynamic-component-cell', componentDef);
14689
+ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('matestack-ui-core-anonym-dynamic-component', componentDef);
14690
14690
 
14691
14691
  /* unused harmony default export */ var _unused_webpack_default_export = (componentDef);
14692
14692
 
14693
14693
  /***/ }),
14694
14694
  /* 42 */
14695
- /*!***************************************!*\
14696
- !*** ../app/concepts/html/js/html.js ***!
14697
- \***************************************/
14695
+ /*!******************************************************!*\
14696
+ !*** ../app/concepts/matestack/ui/core/html/html.js ***!
14697
+ \******************************************************/
14698
14698
  /*! exports provided: default */
14699
14699
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14700
14700
 
14701
14701
  "use strict";
14702
14702
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__ = __webpack_require__(/*! vue/dist/vue.esm */ 0);
14703
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_component_js_component__ = __webpack_require__(/*! component/js/component */ 2);
14703
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_component_component__ = __webpack_require__(/*! component/component */ 2);
14704
14704
 
14705
14705
 
14706
14706
 
14707
14707
  const componentDef = {
14708
- mixins: [__WEBPACK_IMPORTED_MODULE_1_component_js_component__["a" /* default */]]
14708
+ mixins: [__WEBPACK_IMPORTED_MODULE_1_component_component__["a" /* default */]]
14709
14709
  };
14710
14710
 
14711
- let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('html-cell', componentDef);
14711
+ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('matestack-ui-core-html', componentDef);
14712
14712
 
14713
14713
  /* unused harmony default export */ var _unused_webpack_default_export = (component);
14714
14714
 
14715
14715
  /***/ }),
14716
14716
  /* 43 */
14717
- /*!***************************************************!*\
14718
- !*** ../app/concepts/transition/js/transition.js ***!
14719
- \***************************************************/
14717
+ /*!******************************************************************!*\
14718
+ !*** ../app/concepts/matestack/ui/core/transition/transition.js ***!
14719
+ \******************************************************************/
14720
14720
  /*! exports provided: default */
14721
14721
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14722
14722
 
14723
14723
  "use strict";
14724
14724
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__ = __webpack_require__(/*! vue/dist/vue.esm */ 0);
14725
14725
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vuex__ = __webpack_require__(/*! vuex */ 4);
14726
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_component_js_component__ = __webpack_require__(/*! component/js/component */ 2);
14726
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_component_component__ = __webpack_require__(/*! component/component */ 2);
14727
14727
 
14728
14728
 
14729
14729
 
14730
14730
 
14731
14731
  const componentDef = {
14732
- mixins: [__WEBPACK_IMPORTED_MODULE_2_component_js_component__["a" /* default */]],
14732
+ mixins: [__WEBPACK_IMPORTED_MODULE_2_component_component__["a" /* default */]],
14733
14733
  data: function () {
14734
14734
  return {};
14735
14735
  },
@@ -14747,15 +14747,15 @@ const componentDef = {
14747
14747
  }
14748
14748
  };
14749
14749
 
14750
- let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('transition-cell', componentDef);
14750
+ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('matestack-ui-core-transition', componentDef);
14751
14751
 
14752
14752
  /* unused harmony default export */ var _unused_webpack_default_export = (componentDef);
14753
14753
 
14754
14754
  /***/ }),
14755
14755
  /* 44 */
14756
- /*!*******************************************!*\
14757
- !*** ../app/concepts/action/js/action.js ***!
14758
- \*******************************************/
14756
+ /*!**********************************************************!*\
14757
+ !*** ../app/concepts/matestack/ui/core/action/action.js ***!
14758
+ \**********************************************************/
14759
14759
  /*! exports provided: default */
14760
14760
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14761
14761
 
@@ -14764,8 +14764,8 @@ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */
14764
14764
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vuex__ = __webpack_require__(/*! vuex */ 4);
14765
14765
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_axios__ = __webpack_require__(/*! axios */ 5);
14766
14766
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_axios__);
14767
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__ = __webpack_require__(/*! core/js/event-hub */ 3);
14768
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_component_js_component__ = __webpack_require__(/*! component/js/component */ 2);
14767
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_js_event_hub__ = __webpack_require__(/*! js/event-hub */ 3);
14768
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_component_component__ = __webpack_require__(/*! component/component */ 2);
14769
14769
 
14770
14770
 
14771
14771
 
@@ -14775,7 +14775,7 @@ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */
14775
14775
 
14776
14776
 
14777
14777
  const componentDef = {
14778
- mixins: [__WEBPACK_IMPORTED_MODULE_4_component_js_component__["a" /* default */]],
14778
+ mixins: [__WEBPACK_IMPORTED_MODULE_4_component_component__["a" /* default */]],
14779
14779
  data: function () {
14780
14780
  return {};
14781
14781
  },
@@ -14791,7 +14791,7 @@ const componentDef = {
14791
14791
  }
14792
14792
  }).then(function (response) {
14793
14793
  if (self.componentConfig["success"] != undefined && self.componentConfig["success"]["emit"] != undefined) {
14794
- __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a" /* default */].$emit(self.componentConfig["success"]["emit"], response.data);
14794
+ __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a" /* default */].$emit(self.componentConfig["success"]["emit"], response.data);
14795
14795
  }
14796
14796
  if (self.componentConfig["success"] != undefined && self.componentConfig["success"]["transition"] != undefined && self.$store != undefined) {
14797
14797
  let path = self.componentConfig["success"]["transition"]["path"];
@@ -14799,7 +14799,7 @@ const componentDef = {
14799
14799
  }
14800
14800
  }).catch(function (error) {
14801
14801
  if (self.componentConfig["failure"] != undefined && self.componentConfig["failure"]["emit"] != undefined) {
14802
- __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a" /* default */].$emit(self.componentConfig["failure"]["emit"], error.response.data);
14802
+ __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a" /* default */].$emit(self.componentConfig["failure"]["emit"], error.response.data);
14803
14803
  }
14804
14804
  if (self.componentConfig["failure"] != undefined && self.componentConfig["failure"]["transition"] != undefined && self.$store != undefined) {
14805
14805
  let path = self.componentConfig["failure"]["transition"]["path"];
@@ -14810,15 +14810,15 @@ const componentDef = {
14810
14810
  }
14811
14811
  };
14812
14812
 
14813
- let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('action-cell', componentDef);
14813
+ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('matestack-ui-core-action', componentDef);
14814
14814
 
14815
14815
  /* unused harmony default export */ var _unused_webpack_default_export = (componentDef);
14816
14816
 
14817
14817
  /***/ }),
14818
14818
  /* 45 */
14819
- /*!***************************************!*\
14820
- !*** ../app/concepts/form/js/form.js ***!
14821
- \***************************************/
14819
+ /*!******************************************************!*\
14820
+ !*** ../app/concepts/matestack/ui/core/form/form.js ***!
14821
+ \******************************************************/
14822
14822
  /*! exports provided: default */
14823
14823
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14824
14824
 
@@ -14827,8 +14827,8 @@ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */
14827
14827
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vuex__ = __webpack_require__(/*! vuex */ 4);
14828
14828
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_axios__ = __webpack_require__(/*! axios */ 5);
14829
14829
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_axios__);
14830
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__ = __webpack_require__(/*! core/js/event-hub */ 3);
14831
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_component_js_component__ = __webpack_require__(/*! component/js/component */ 2);
14830
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_js_event_hub__ = __webpack_require__(/*! js/event-hub */ 3);
14831
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_component_component__ = __webpack_require__(/*! component/component */ 2);
14832
14832
 
14833
14833
 
14834
14834
 
@@ -14838,7 +14838,7 @@ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */
14838
14838
 
14839
14839
 
14840
14840
  const componentDef = {
14841
- mixins: [__WEBPACK_IMPORTED_MODULE_4_component_js_component__["a" /* default */]],
14841
+ mixins: [__WEBPACK_IMPORTED_MODULE_4_component_component__["a" /* default */]],
14842
14842
  data: function () {
14843
14843
  return {
14844
14844
  data: {},
@@ -14929,7 +14929,7 @@ const componentDef = {
14929
14929
  }
14930
14930
  }).then(function (response) {
14931
14931
  if (self.componentConfig["success"] != undefined && self.componentConfig["success"]["emit"] != undefined) {
14932
- __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a" /* default */].$emit(self.componentConfig["success"]["emit"], response.data);
14932
+ __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a" /* default */].$emit(self.componentConfig["success"]["emit"], response.data);
14933
14933
  }
14934
14934
  if (self.componentConfig["success"] != undefined && self.componentConfig["success"]["transition"] != undefined && self.$store != undefined) {
14935
14935
  let path = self.componentConfig["success"]["transition"]["path"];
@@ -14943,7 +14943,7 @@ const componentDef = {
14943
14943
  self.errors = error.response.data.errors;
14944
14944
  }
14945
14945
  if (self.componentConfig["failure"] != undefined && self.componentConfig["failure"]["emit"] != undefined) {
14946
- __WEBPACK_IMPORTED_MODULE_3_core_js_event_hub__["a" /* default */].$emit(self.componentConfig["failure"]["emit"], error.response.data);
14946
+ __WEBPACK_IMPORTED_MODULE_3_js_event_hub__["a" /* default */].$emit(self.componentConfig["failure"]["emit"], error.response.data);
14947
14947
  }
14948
14948
  if (self.componentConfig["failure"] != undefined && self.componentConfig["failure"]["transition"] != undefined && self.$store != undefined) {
14949
14949
  let path = self.componentConfig["failure"]["transition"]["path"];
@@ -14957,22 +14957,22 @@ const componentDef = {
14957
14957
  }
14958
14958
  };
14959
14959
 
14960
- let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('form-cell', componentDef);
14960
+ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('matestack-ui-core-form', componentDef);
14961
14961
 
14962
14962
  /* unused harmony default export */ var _unused_webpack_default_export = (componentDef);
14963
14963
 
14964
14964
  /***/ }),
14965
14965
  /* 46 */
14966
- /*!***************************************!*\
14967
- !*** ../app/concepts/view/js/view.js ***!
14968
- \***************************************/
14966
+ /*!******************************************************!*\
14967
+ !*** ../app/concepts/matestack/ui/core/view/view.js ***!
14968
+ \******************************************************/
14969
14969
  /*! exports provided: default */
14970
14970
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14971
14971
 
14972
14972
  "use strict";
14973
14973
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__ = __webpack_require__(/*! vue/dist/vue.esm */ 0);
14974
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__ = __webpack_require__(/*! core/js/event-hub */ 3);
14975
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_component_js_component__ = __webpack_require__(/*! component/js/component */ 2);
14974
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_js_event_hub__ = __webpack_require__(/*! js/event-hub */ 3);
14975
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_component_component__ = __webpack_require__(/*! component/component */ 2);
14976
14976
 
14977
14977
 
14978
14978
 
@@ -14980,7 +14980,7 @@ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */
14980
14980
 
14981
14981
 
14982
14982
  const componentDef = {
14983
- mixins: [__WEBPACK_IMPORTED_MODULE_2_component_js_component__["a" /* default */]],
14983
+ mixins: [__WEBPACK_IMPORTED_MODULE_2_component_component__["a" /* default */]],
14984
14984
  data: function () {
14985
14985
  return {
14986
14986
  showing: false
@@ -14996,8 +14996,8 @@ const componentDef = {
14996
14996
  },
14997
14997
  created: function () {
14998
14998
  const self = this;
14999
- __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__["a" /* default */].$on(this.componentConfig["show"], self.show);
15000
- __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__["a" /* default */].$on(this.componentConfig["hide"], self.hide);
14999
+ __WEBPACK_IMPORTED_MODULE_1_js_event_hub__["a" /* default */].$on(this.componentConfig["show"], self.show);
15000
+ __WEBPACK_IMPORTED_MODULE_1_js_event_hub__["a" /* default */].$on(this.componentConfig["hide"], self.hide);
15001
15001
  if (this.componentConfig["init"] == "show") {
15002
15002
  this.showing = true;
15003
15003
  }
@@ -15007,27 +15007,27 @@ const componentDef = {
15007
15007
  },
15008
15008
  beforeDestroy: function () {
15009
15009
  const self = this;
15010
- __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__["a" /* default */].$off(this.componentConfig["show"], self.show);
15011
- __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__["a" /* default */].$off(this.componentConfig["hide"], self.hide);
15010
+ __WEBPACK_IMPORTED_MODULE_1_js_event_hub__["a" /* default */].$off(this.componentConfig["show"], self.show);
15011
+ __WEBPACK_IMPORTED_MODULE_1_js_event_hub__["a" /* default */].$off(this.componentConfig["hide"], self.hide);
15012
15012
  }
15013
15013
  };
15014
15014
 
15015
- let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('view-cell', componentDef);
15015
+ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('matestack-ui-core-view', componentDef);
15016
15016
 
15017
15017
  /* unused harmony default export */ var _unused_webpack_default_export = (componentDef);
15018
15018
 
15019
15019
  /***/ }),
15020
15020
  /* 47 */
15021
- /*!*********************************************!*\
15022
- !*** ../app/concepts/onclick/js/onclick.js ***!
15023
- \*********************************************/
15021
+ /*!************************************************************!*\
15022
+ !*** ../app/concepts/matestack/ui/core/onclick/onclick.js ***!
15023
+ \************************************************************/
15024
15024
  /*! exports provided: default */
15025
15025
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
15026
15026
 
15027
15027
  "use strict";
15028
15028
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__ = __webpack_require__(/*! vue/dist/vue.esm */ 0);
15029
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__ = __webpack_require__(/*! core/js/event-hub */ 3);
15030
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_component_js_component__ = __webpack_require__(/*! component/js/component */ 2);
15029
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_js_event_hub__ = __webpack_require__(/*! js/event-hub */ 3);
15030
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_component_component__ = __webpack_require__(/*! component/component */ 2);
15031
15031
 
15032
15032
 
15033
15033
 
@@ -15035,18 +15035,18 @@ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */
15035
15035
 
15036
15036
 
15037
15037
  const componentDef = {
15038
- mixins: [__WEBPACK_IMPORTED_MODULE_2_component_js_component__["a" /* default */]],
15038
+ mixins: [__WEBPACK_IMPORTED_MODULE_2_component_component__["a" /* default */]],
15039
15039
  data: function () {
15040
15040
  return {};
15041
15041
  },
15042
15042
  methods: {
15043
15043
  perform: function () {
15044
- __WEBPACK_IMPORTED_MODULE_1_core_js_event_hub__["a" /* default */].$emit(this.componentConfig["emit"], this.componentConfig["data"]);
15044
+ __WEBPACK_IMPORTED_MODULE_1_js_event_hub__["a" /* default */].$emit(this.componentConfig["emit"], this.componentConfig["data"]);
15045
15045
  }
15046
15046
  }
15047
15047
  };
15048
15048
 
15049
- let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('onclick-cell', componentDef);
15049
+ let component = __WEBPACK_IMPORTED_MODULE_0_vue_dist_vue_esm__["a" /* default */].component('matestack-ui-core-onclick', componentDef);
15050
15050
 
15051
15051
  /* unused harmony default export */ var _unused_webpack_default_export = (componentDef);
15052
15052