matestack-ui-core 1.5.0 → 3.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +18 -6
- data/README.md +48 -548
- data/Rakefile +0 -2
- data/lib/matestack/ui/component.rb +1 -0
- data/lib/matestack/ui/core/base.rb +131 -0
- data/lib/matestack/ui/core/component.rb +8 -0
- data/lib/matestack/ui/core/context.rb +17 -0
- data/lib/matestack/ui/core/helper.rb +91 -0
- data/lib/matestack/ui/core/layout.rb +25 -0
- data/lib/matestack/ui/core/page.rb +13 -0
- data/lib/matestack/ui/core/properties.rb +105 -0
- data/lib/matestack/ui/core/slots.rb +15 -0
- data/lib/matestack/ui/core/tag_helper.rb +101 -0
- data/lib/matestack/ui/core/version.rb +1 -1
- data/lib/matestack/ui/core.rb +16 -11
- data/lib/matestack/ui/layout.rb +1 -0
- data/lib/matestack/ui/page.rb +1 -0
- metadata +18 -408
- data/app/concepts/matestack/ui/core/abbr/abbr.haml +0 -5
- data/app/concepts/matestack/ui/core/abbr/abbr.rb +0 -5
- data/app/concepts/matestack/ui/core/action/action.haml +0 -3
- data/app/concepts/matestack/ui/core/action/action.js +0 -152
- data/app/concepts/matestack/ui/core/action/action.rb +0 -80
- data/app/concepts/matestack/ui/core/actionview/dynamic.haml +0 -6
- data/app/concepts/matestack/ui/core/actionview/dynamic.rb +0 -28
- data/app/concepts/matestack/ui/core/actionview/static.haml +0 -1
- data/app/concepts/matestack/ui/core/actionview/static.rb +0 -28
- data/app/concepts/matestack/ui/core/address/address.haml +0 -5
- data/app/concepts/matestack/ui/core/address/address.rb +0 -5
- data/app/concepts/matestack/ui/core/app/app.haml +0 -3
- data/app/concepts/matestack/ui/core/app/app.js +0 -41
- data/app/concepts/matestack/ui/core/app/app.rb +0 -51
- data/app/concepts/matestack/ui/core/app/location.js +0 -9
- data/app/concepts/matestack/ui/core/app/store.js +0 -103
- data/app/concepts/matestack/ui/core/area/area.haml +0 -1
- data/app/concepts/matestack/ui/core/area/area.rb +0 -6
- data/app/concepts/matestack/ui/core/article/article.haml +0 -5
- data/app/concepts/matestack/ui/core/article/article.rb +0 -5
- data/app/concepts/matestack/ui/core/aside/aside.haml +0 -3
- data/app/concepts/matestack/ui/core/aside/aside.rb +0 -4
- data/app/concepts/matestack/ui/core/async/async.haml +0 -6
- data/app/concepts/matestack/ui/core/async/async.js +0 -110
- data/app/concepts/matestack/ui/core/async/async.rb +0 -37
- data/app/concepts/matestack/ui/core/async/children_wrapper.haml +0 -2
- data/app/concepts/matestack/ui/core/b/b.haml +0 -5
- data/app/concepts/matestack/ui/core/b/b.rb +0 -5
- data/app/concepts/matestack/ui/core/bdi/bdi.haml +0 -5
- data/app/concepts/matestack/ui/core/bdi/bdi.rb +0 -5
- data/app/concepts/matestack/ui/core/bdo/bdo.haml +0 -5
- data/app/concepts/matestack/ui/core/bdo/bdo.rb +0 -6
- data/app/concepts/matestack/ui/core/blockquote/blockquote.haml +0 -5
- data/app/concepts/matestack/ui/core/blockquote/blockquote.rb +0 -6
- data/app/concepts/matestack/ui/core/br/br.haml +0 -5
- data/app/concepts/matestack/ui/core/br/br.rb +0 -5
- data/app/concepts/matestack/ui/core/button/button.haml +0 -5
- data/app/concepts/matestack/ui/core/button/button.rb +0 -7
- data/app/concepts/matestack/ui/core/cable/cable.haml +0 -4
- data/app/concepts/matestack/ui/core/cable/cable.js +0 -100
- data/app/concepts/matestack/ui/core/cable/cable.rb +0 -28
- data/app/concepts/matestack/ui/core/cable/children_wrapper.haml +0 -2
- data/app/concepts/matestack/ui/core/caption/caption.haml +0 -5
- data/app/concepts/matestack/ui/core/caption/caption.rb +0 -5
- data/app/concepts/matestack/ui/core/cite/cite.haml +0 -5
- data/app/concepts/matestack/ui/core/cite/cite.rb +0 -5
- data/app/concepts/matestack/ui/core/code/code.haml +0 -5
- data/app/concepts/matestack/ui/core/code/code.rb +0 -5
- data/app/concepts/matestack/ui/core/collection/content/content.js +0 -98
- data/app/concepts/matestack/ui/core/collection/content/content.rb +0 -16
- data/app/concepts/matestack/ui/core/collection/content/next/next.haml +0 -3
- data/app/concepts/matestack/ui/core/collection/content/next/next.rb +0 -5
- data/app/concepts/matestack/ui/core/collection/content/page/link/link.haml +0 -3
- data/app/concepts/matestack/ui/core/collection/content/page/link/link.rb +0 -7
- data/app/concepts/matestack/ui/core/collection/content/previous/previous.haml +0 -3
- data/app/concepts/matestack/ui/core/collection/content/previous/previous.rb +0 -5
- data/app/concepts/matestack/ui/core/collection/filter/filter.js +0 -48
- data/app/concepts/matestack/ui/core/collection/filter/filter.rb +0 -16
- data/app/concepts/matestack/ui/core/collection/filter/input/input.rb +0 -28
- data/app/concepts/matestack/ui/core/collection/filter/reset/reset.haml +0 -3
- data/app/concepts/matestack/ui/core/collection/filter/reset/reset.rb +0 -5
- data/app/concepts/matestack/ui/core/collection/filter/select/select.haml +0 -10
- data/app/concepts/matestack/ui/core/collection/filter/select/select.rb +0 -30
- data/app/concepts/matestack/ui/core/collection/filter/submit/submit.haml +0 -3
- data/app/concepts/matestack/ui/core/collection/filter/submit/submit.rb +0 -5
- data/app/concepts/matestack/ui/core/collection/helper.rb +0 -127
- data/app/concepts/matestack/ui/core/collection/order/order.js +0 -56
- data/app/concepts/matestack/ui/core/collection/order/order.rb +0 -16
- data/app/concepts/matestack/ui/core/collection/order/toggle/indicator/indicator.rb +0 -17
- data/app/concepts/matestack/ui/core/collection/order/toggle/toggle.haml +0 -3
- data/app/concepts/matestack/ui/core/collection/order/toggle/toggle.rb +0 -4
- data/app/concepts/matestack/ui/core/component/anonym-dynamic-component.js +0 -10
- data/app/concepts/matestack/ui/core/component/base.rb +0 -430
- data/app/concepts/matestack/ui/core/component/children.haml +0 -2
- data/app/concepts/matestack/ui/core/component/component.js +0 -22
- data/app/concepts/matestack/ui/core/component/dynamic.haml +0 -6
- data/app/concepts/matestack/ui/core/component/dynamic.rb +0 -47
- data/app/concepts/matestack/ui/core/component/dynamic_without_rerender.haml +0 -2
- data/app/concepts/matestack/ui/core/component/static.rb +0 -7
- data/app/concepts/matestack/ui/core/data/data.haml +0 -5
- data/app/concepts/matestack/ui/core/data/data.rb +0 -6
- data/app/concepts/matestack/ui/core/datalist/datalist.haml +0 -3
- data/app/concepts/matestack/ui/core/datalist/datalist.rb +0 -4
- data/app/concepts/matestack/ui/core/dd/dd.haml +0 -5
- data/app/concepts/matestack/ui/core/dd/dd.rb +0 -5
- data/app/concepts/matestack/ui/core/del/del.haml +0 -5
- data/app/concepts/matestack/ui/core/del/del.rb +0 -6
- data/app/concepts/matestack/ui/core/details/details.haml +0 -3
- data/app/concepts/matestack/ui/core/details/details.rb +0 -5
- data/app/concepts/matestack/ui/core/dfn/dfn.haml +0 -5
- data/app/concepts/matestack/ui/core/dfn/dfn.rb +0 -6
- data/app/concepts/matestack/ui/core/dialog/dialog.haml +0 -5
- data/app/concepts/matestack/ui/core/dialog/dialog.rb +0 -6
- data/app/concepts/matestack/ui/core/div/div.haml +0 -3
- data/app/concepts/matestack/ui/core/div/div.rb +0 -4
- data/app/concepts/matestack/ui/core/dl/dl.haml +0 -5
- data/app/concepts/matestack/ui/core/dl/dl.rb +0 -5
- data/app/concepts/matestack/ui/core/dt/dt.haml +0 -5
- data/app/concepts/matestack/ui/core/dt/dt.rb +0 -5
- data/app/concepts/matestack/ui/core/em/em.haml +0 -5
- data/app/concepts/matestack/ui/core/em/em.rb +0 -5
- data/app/concepts/matestack/ui/core/fieldset/fieldset.haml +0 -5
- data/app/concepts/matestack/ui/core/fieldset/fieldset.rb +0 -6
- data/app/concepts/matestack/ui/core/figure/figure.haml +0 -3
- data/app/concepts/matestack/ui/core/figure/figure.rb +0 -4
- data/app/concepts/matestack/ui/core/footer/footer.haml +0 -3
- data/app/concepts/matestack/ui/core/footer/footer.rb +0 -4
- data/app/concepts/matestack/ui/core/form/checkbox/base.rb +0 -120
- data/app/concepts/matestack/ui/core/form/checkbox/checkbox.js +0 -15
- data/app/concepts/matestack/ui/core/form/checkbox/checkbox.rb +0 -16
- data/app/concepts/matestack/ui/core/form/checkbox/mixin.js +0 -80
- data/app/concepts/matestack/ui/core/form/form.haml +0 -2
- data/app/concepts/matestack/ui/core/form/form.js +0 -275
- data/app/concepts/matestack/ui/core/form/form.rb +0 -104
- data/app/concepts/matestack/ui/core/form/has_errors.rb +0 -54
- data/app/concepts/matestack/ui/core/form/has_input_html_attributes.rb +0 -13
- data/app/concepts/matestack/ui/core/form/input/base.rb +0 -75
- data/app/concepts/matestack/ui/core/form/input/input.js +0 -15
- data/app/concepts/matestack/ui/core/form/input/input.rb +0 -17
- data/app/concepts/matestack/ui/core/form/input/mixin.js +0 -55
- data/app/concepts/matestack/ui/core/form/radio/base.rb +0 -90
- data/app/concepts/matestack/ui/core/form/radio/mixin.js +0 -62
- data/app/concepts/matestack/ui/core/form/radio/radio.js +0 -15
- data/app/concepts/matestack/ui/core/form/radio/radio.rb +0 -16
- data/app/concepts/matestack/ui/core/form/select/base.rb +0 -98
- data/app/concepts/matestack/ui/core/form/select/mixin.js +0 -58
- data/app/concepts/matestack/ui/core/form/select/select.js +0 -15
- data/app/concepts/matestack/ui/core/form/select/select.rb +0 -19
- data/app/concepts/matestack/ui/core/form/submit/base.rb +0 -12
- data/app/concepts/matestack/ui/core/form/submit/submit.js +0 -19
- data/app/concepts/matestack/ui/core/form/submit/submit.rb +0 -15
- data/app/concepts/matestack/ui/core/form/textarea/base.rb +0 -49
- data/app/concepts/matestack/ui/core/form/textarea/mixin.js +0 -41
- data/app/concepts/matestack/ui/core/form/textarea/textarea.js +0 -15
- data/app/concepts/matestack/ui/core/form/textarea/textarea.rb +0 -17
- data/app/concepts/matestack/ui/core/form/utils.rb +0 -47
- data/app/concepts/matestack/ui/core/header/header.haml +0 -3
- data/app/concepts/matestack/ui/core/header/header.rb +0 -4
- data/app/concepts/matestack/ui/core/heading/heading.haml +0 -5
- data/app/concepts/matestack/ui/core/heading/heading.rb +0 -5
- data/app/concepts/matestack/ui/core/hr/hr.haml +0 -1
- data/app/concepts/matestack/ui/core/hr/hr.rb +0 -4
- data/app/concepts/matestack/ui/core/icon/icon.haml +0 -5
- data/app/concepts/matestack/ui/core/icon/icon.rb +0 -5
- data/app/concepts/matestack/ui/core/iframe/iframe.haml +0 -5
- data/app/concepts/matestack/ui/core/iframe/iframe.rb +0 -7
- data/app/concepts/matestack/ui/core/img/img.haml +0 -1
- data/app/concepts/matestack/ui/core/img/img.rb +0 -15
- data/app/concepts/matestack/ui/core/input/input.haml +0 -1
- data/app/concepts/matestack/ui/core/input/input.rb +0 -9
- data/app/concepts/matestack/ui/core/ins/ins.haml +0 -5
- data/app/concepts/matestack/ui/core/ins/ins.rb +0 -6
- data/app/concepts/matestack/ui/core/isolated/children_wrapper.haml +0 -2
- data/app/concepts/matestack/ui/core/isolated/isolated.haml +0 -10
- data/app/concepts/matestack/ui/core/isolated/isolated.js +0 -108
- data/app/concepts/matestack/ui/core/isolated/isolated.rb +0 -59
- data/app/concepts/matestack/ui/core/js/core.js +0 -66
- data/app/concepts/matestack/ui/core/js/event-hub.js +0 -5
- data/app/concepts/matestack/ui/core/js/helpers/query-params-helper.js +0 -56
- data/app/concepts/matestack/ui/core/kbd/kbd.haml +0 -5
- data/app/concepts/matestack/ui/core/kbd/kbd.rb +0 -5
- data/app/concepts/matestack/ui/core/label/label.haml +0 -5
- data/app/concepts/matestack/ui/core/label/label.rb +0 -6
- data/app/concepts/matestack/ui/core/legend/legend.haml +0 -5
- data/app/concepts/matestack/ui/core/legend/legend.rb +0 -5
- data/app/concepts/matestack/ui/core/li/li.haml +0 -5
- data/app/concepts/matestack/ui/core/li/li.rb +0 -6
- data/app/concepts/matestack/ui/core/link/link.haml +0 -5
- data/app/concepts/matestack/ui/core/link/link.rb +0 -23
- data/app/concepts/matestack/ui/core/main/main.haml +0 -3
- data/app/concepts/matestack/ui/core/main/main.rb +0 -4
- data/app/concepts/matestack/ui/core/map/map.haml +0 -3
- data/app/concepts/matestack/ui/core/map/map.rb +0 -5
- data/app/concepts/matestack/ui/core/mark/mark.haml +0 -5
- data/app/concepts/matestack/ui/core/mark/mark.rb +0 -5
- data/app/concepts/matestack/ui/core/meter/meter.haml +0 -4
- data/app/concepts/matestack/ui/core/meter/meter.rb +0 -5
- data/app/concepts/matestack/ui/core/nav/nav.haml +0 -3
- data/app/concepts/matestack/ui/core/nav/nav.rb +0 -4
- data/app/concepts/matestack/ui/core/noscript/noscript.haml +0 -5
- data/app/concepts/matestack/ui/core/noscript/noscript.rb +0 -5
- data/app/concepts/matestack/ui/core/object/object.haml +0 -1
- data/app/concepts/matestack/ui/core/object/object.rb +0 -5
- data/app/concepts/matestack/ui/core/ol/ol.haml +0 -3
- data/app/concepts/matestack/ui/core/ol/ol.rb +0 -5
- data/app/concepts/matestack/ui/core/onclick/onclick.haml +0 -2
- data/app/concepts/matestack/ui/core/onclick/onclick.js +0 -20
- data/app/concepts/matestack/ui/core/onclick/onclick.rb +0 -6
- data/app/concepts/matestack/ui/core/optgroup/optgroup.haml +0 -3
- data/app/concepts/matestack/ui/core/optgroup/optgroup.rb +0 -5
- data/app/concepts/matestack/ui/core/option/option.haml +0 -5
- data/app/concepts/matestack/ui/core/option/option.rb +0 -6
- data/app/concepts/matestack/ui/core/output/output.haml +0 -5
- data/app/concepts/matestack/ui/core/output/output.rb +0 -6
- data/app/concepts/matestack/ui/core/page/content/content.js +0 -23
- data/app/concepts/matestack/ui/core/page/content/content.rb +0 -28
- data/app/concepts/matestack/ui/core/page/page.haml +0 -3
- data/app/concepts/matestack/ui/core/page/page.rb +0 -30
- data/app/concepts/matestack/ui/core/paragraph/paragraph.haml +0 -5
- data/app/concepts/matestack/ui/core/paragraph/paragraph.rb +0 -5
- data/app/concepts/matestack/ui/core/param/param.haml +0 -1
- data/app/concepts/matestack/ui/core/param/param.rb +0 -5
- data/app/concepts/matestack/ui/core/partial/partial.haml +0 -2
- data/app/concepts/matestack/ui/core/partial/partial.rb +0 -4
- data/app/concepts/matestack/ui/core/picture/picture.haml +0 -3
- data/app/concepts/matestack/ui/core/picture/picture.rb +0 -4
- data/app/concepts/matestack/ui/core/plain/plain.rb +0 -9
- data/app/concepts/matestack/ui/core/pre/pre.haml +0 -5
- data/app/concepts/matestack/ui/core/pre/pre.rb +0 -5
- data/app/concepts/matestack/ui/core/progress/progress.haml +0 -3
- data/app/concepts/matestack/ui/core/progress/progress.rb +0 -5
- data/app/concepts/matestack/ui/core/q/q.haml +0 -5
- data/app/concepts/matestack/ui/core/q/q.rb +0 -6
- data/app/concepts/matestack/ui/core/rp/rp.haml +0 -5
- data/app/concepts/matestack/ui/core/rp/rp.rb +0 -5
- data/app/concepts/matestack/ui/core/rt/rt.haml +0 -5
- data/app/concepts/matestack/ui/core/rt/rt.rb +0 -5
- data/app/concepts/matestack/ui/core/ruby/ruby.haml +0 -5
- data/app/concepts/matestack/ui/core/ruby/ruby.rb +0 -5
- data/app/concepts/matestack/ui/core/s/s.haml +0 -5
- data/app/concepts/matestack/ui/core/s/s.rb +0 -6
- data/app/concepts/matestack/ui/core/samp/samp.haml +0 -5
- data/app/concepts/matestack/ui/core/samp/samp.rb +0 -5
- data/app/concepts/matestack/ui/core/section/section.haml +0 -3
- data/app/concepts/matestack/ui/core/section/section.rb +0 -4
- data/app/concepts/matestack/ui/core/select/select.haml +0 -3
- data/app/concepts/matestack/ui/core/select/select.rb +0 -7
- data/app/concepts/matestack/ui/core/slot/slot.haml +0 -2
- data/app/concepts/matestack/ui/core/slot/slot.rb +0 -4
- data/app/concepts/matestack/ui/core/small/small.haml +0 -5
- data/app/concepts/matestack/ui/core/small/small.rb +0 -5
- data/app/concepts/matestack/ui/core/span/span.haml +0 -5
- data/app/concepts/matestack/ui/core/span/span.rb +0 -5
- data/app/concepts/matestack/ui/core/strong/strong.haml +0 -5
- data/app/concepts/matestack/ui/core/strong/strong.rb +0 -5
- data/app/concepts/matestack/ui/core/sub/sub.haml +0 -5
- data/app/concepts/matestack/ui/core/sub/sub.rb +0 -5
- data/app/concepts/matestack/ui/core/summary/summary.haml +0 -5
- data/app/concepts/matestack/ui/core/summary/summary.rb +0 -5
- data/app/concepts/matestack/ui/core/sup/sup.haml +0 -5
- data/app/concepts/matestack/ui/core/sup/sup.rb +0 -5
- data/app/concepts/matestack/ui/core/table/table.haml +0 -3
- data/app/concepts/matestack/ui/core/table/table.rb +0 -4
- data/app/concepts/matestack/ui/core/tbody/tbody.haml +0 -3
- data/app/concepts/matestack/ui/core/tbody/tbody.rb +0 -4
- data/app/concepts/matestack/ui/core/td/td.haml +0 -5
- data/app/concepts/matestack/ui/core/td/td.rb +0 -6
- data/app/concepts/matestack/ui/core/template/template.haml +0 -3
- data/app/concepts/matestack/ui/core/template/template.rb +0 -4
- data/app/concepts/matestack/ui/core/textarea/textarea.haml +0 -5
- data/app/concepts/matestack/ui/core/textarea/textarea.rb +0 -10
- data/app/concepts/matestack/ui/core/tfoot/tfoot.haml +0 -3
- data/app/concepts/matestack/ui/core/tfoot/tfoot.rb +0 -4
- data/app/concepts/matestack/ui/core/th/th.haml +0 -5
- data/app/concepts/matestack/ui/core/th/th.rb +0 -6
- data/app/concepts/matestack/ui/core/thead/thead.haml +0 -3
- data/app/concepts/matestack/ui/core/thead/thead.rb +0 -4
- data/app/concepts/matestack/ui/core/time/time.haml +0 -3
- data/app/concepts/matestack/ui/core/time/time.rb +0 -5
- data/app/concepts/matestack/ui/core/toggle/toggle.haml +0 -2
- data/app/concepts/matestack/ui/core/toggle/toggle.js +0 -71
- data/app/concepts/matestack/ui/core/toggle/toggle.rb +0 -13
- data/app/concepts/matestack/ui/core/tr/tr.haml +0 -3
- data/app/concepts/matestack/ui/core/tr/tr.rb +0 -4
- data/app/concepts/matestack/ui/core/transition/transition.haml +0 -5
- data/app/concepts/matestack/ui/core/transition/transition.js +0 -42
- data/app/concepts/matestack/ui/core/transition/transition.rb +0 -38
- data/app/concepts/matestack/ui/core/u/u.haml +0 -5
- data/app/concepts/matestack/ui/core/u/u.rb +0 -6
- data/app/concepts/matestack/ui/core/ul/ul.haml +0 -3
- data/app/concepts/matestack/ui/core/ul/ul.rb +0 -4
- data/app/concepts/matestack/ui/core/unescaped/unescaped.rb +0 -9
- data/app/concepts/matestack/ui/core/var/var.haml +0 -5
- data/app/concepts/matestack/ui/core/var/var.rb +0 -5
- data/app/concepts/matestack/ui/core/video/video.haml +0 -3
- data/app/concepts/matestack/ui/core/video/video.rb +0 -13
- data/app/concepts/matestack/ui/core/view/view.haml +0 -1
- data/app/concepts/matestack/ui/core/view/view.rb +0 -30
- data/app/concepts/matestack/ui/core/wbr/wbr.haml +0 -5
- data/app/concepts/matestack/ui/core/wbr/wbr.rb +0 -5
- data/app/concepts/matestack/ui/core/youtube/youtube.haml +0 -1
- data/app/concepts/matestack/ui/core/youtube/youtube.rb +0 -28
- data/app/helpers/matestack/ui/core/application_helper.rb +0 -111
- data/app/javascript/matestack-ui-core/index.js +0 -32
- data/app/javascript/matestack-ui-core/styles/index.scss +0 -5
- data/app/javascript/packs/matestack-ui-core.js +0 -8
- data/app/lib/matestack/ui/app.rb +0 -1
- data/app/lib/matestack/ui/component.rb +0 -1
- data/app/lib/matestack/ui/core/has_view_context.rb +0 -16
- data/app/lib/matestack/ui/core/html_attributes.rb +0 -43
- data/app/lib/matestack/ui/core/properties.rb +0 -161
- data/app/lib/matestack/ui/core/rendering/default_renderer_class_determiner.rb +0 -33
- data/app/lib/matestack/ui/core/rendering/main_renderer.rb +0 -203
- data/app/lib/matestack/ui/dynamic_actionview_component.rb +0 -1
- data/app/lib/matestack/ui/dynamic_component.rb +0 -1
- data/app/lib/matestack/ui/isolated_component.rb +0 -1
- data/app/lib/matestack/ui/page.rb +0 -1
- data/app/lib/matestack/ui/static_actionview_component.rb +0 -1
- data/app/lib/matestack/ui/static_component.rb +0 -1
- data/app/lib/matestack/ui/vue_js_component.rb +0 -1
- data/config/routes.rb +0 -2
- data/lib/generators/matestack/app/USAGE +0 -21
- data/lib/generators/matestack/app/app_generator.rb +0 -25
- data/lib/generators/matestack/app/templates/app/controllers/%file_name%_controller.rb.tt +0 -5
- data/lib/generators/matestack/app/templates/app/matestack/apps/%file_name%.rb.tt +0 -28
- data/lib/generators/matestack/component/USAGE +0 -20
- data/lib/generators/matestack/component/component_generator.rb +0 -29
- data/lib/generators/matestack/component/templates/app/matestack/components/%namespace%/%file_name%.haml.tt +0 -5
- data/lib/generators/matestack/component/templates/app/matestack/components/%namespace%/%file_name%.js.tt +0 -17
- data/lib/generators/matestack/component/templates/app/matestack/components/%namespace%/%file_name%.rb.tt +0 -11
- data/lib/generators/matestack/component/templates/app/matestack/components/%namespace%/%file_name%.scss.tt +0 -1
- data/lib/generators/matestack/core/component/USAGE +0 -16
- data/lib/generators/matestack/core/component/component_generator.rb +0 -23
- data/lib/generators/matestack/core/component/templates/app/concepts/matestack/ui/core/%file_name%/%file_name%.haml.tt +0 -5
- data/lib/generators/matestack/core/component/templates/app/concepts/matestack/ui/core/%file_name%/%file_name%.rb.tt +0 -4
- data/lib/generators/matestack/core/component/templates/docs/components/%file_name%.md.tt +0 -45
- data/lib/generators/matestack/core/component/templates/spec/usage/components/%file_name%_spec.rb +0 -31
- data/lib/generators/matestack/page/USAGE +0 -28
- data/lib/generators/matestack/page/page_generator.rb +0 -54
- data/lib/generators/matestack/page/templates/app/matestack/pages/%app_name%/%namespace%/%file_name%.rb.tt +0 -29
- data/lib/matestack/ui/core/cell.rb +0 -31
- data/lib/matestack/ui/core/component/registry.rb +0 -47
- data/lib/matestack/ui/core/components.rb +0 -271
- data/lib/matestack/ui/core/dsl.rb +0 -6
- data/lib/matestack/ui/core/engine.rb +0 -35
- data/lib/tasks/matestack/ui/core_tasks.rake +0 -4
- data/vendor/assets/javascripts/dist/manifest.json +0 -18
- data/vendor/assets/javascripts/dist/manifest.json.br +0 -0
- data/vendor/assets/javascripts/dist/manifest.json.gz +0 -0
- data/vendor/assets/javascripts/dist/matestack-ui-core.css +0 -3
- data/vendor/assets/javascripts/dist/matestack-ui-core.css.map +0 -1
- data/vendor/assets/javascripts/dist/matestack-ui-core.js +0 -17734
- data/vendor/assets/javascripts/dist/matestack-ui-core.js.map +0 -1
- data/vendor/assets/javascripts/dist/matestack-ui-core.min.css +0 -0
- data/vendor/assets/javascripts/dist/matestack-ui-core.min.js +0 -3
- data/vendor/assets/javascripts/dist/matestack-ui-core.min.js.LICENSE.txt +0 -11
- data/vendor/assets/javascripts/dist/matestack-ui-core.min.js.br +0 -0
- data/vendor/assets/javascripts/dist/matestack-ui-core.min.js.gz +0 -0
- data/vendor/assets/javascripts/dist/matestack-ui-core.min.js.map +0 -1
- data/vendor/assets/javascripts/dist/matestack-ui-core.min.js.map.br +0 -0
- data/vendor/assets/javascripts/dist/matestack-ui-core.min.js.map.gz +0 -0
- data/vendor/assets/javascripts/matestack-ui-core.js.erb +0 -2
- data/vendor/assets/stylesheets/dist +0 -1
- data/vendor/assets/stylesheets/matestack-ui-core.css.erb +0 -2
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: matestack-ui-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Jabari
|
8
|
-
- Nils Henning
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
@@ -25,69 +24,12 @@ dependencies:
|
|
25
24
|
- - ">="
|
26
25
|
- !ruby/object:Gem::Version
|
27
26
|
version: '5.2'
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: haml
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 4.1.0.beta.1
|
35
|
-
type: :runtime
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: 4.1.0.beta.1
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: trailblazer-cells
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - ">="
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: 0.0.3
|
49
|
-
type: :runtime
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: 0.0.3
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: cells-rails
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 0.1.0
|
63
|
-
type: :runtime
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 0.1.0
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: cells-haml
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 0.0.10
|
77
|
-
type: :runtime
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: 0.0.10
|
84
27
|
description: Matestack provides a collection of open source gems made for Ruby on
|
85
28
|
Rails developers. Matestack enables you to craft interactive web UIs without JavaScript
|
86
29
|
in pure Ruby with minimum effort. UI code becomes a native and fun part of your
|
87
30
|
Rails app.
|
88
31
|
email:
|
89
32
|
- jonas@matestack.io
|
90
|
-
- nils@matestack.io
|
91
33
|
executables: []
|
92
34
|
extensions: []
|
93
35
|
extra_rdoc_files: []
|
@@ -95,355 +37,23 @@ files:
|
|
95
37
|
- LICENSE
|
96
38
|
- README.md
|
97
39
|
- Rakefile
|
98
|
-
-
|
99
|
-
- app/concepts/matestack/ui/core/abbr/abbr.rb
|
100
|
-
- app/concepts/matestack/ui/core/action/action.haml
|
101
|
-
- app/concepts/matestack/ui/core/action/action.js
|
102
|
-
- app/concepts/matestack/ui/core/action/action.rb
|
103
|
-
- app/concepts/matestack/ui/core/actionview/dynamic.haml
|
104
|
-
- app/concepts/matestack/ui/core/actionview/dynamic.rb
|
105
|
-
- app/concepts/matestack/ui/core/actionview/static.haml
|
106
|
-
- app/concepts/matestack/ui/core/actionview/static.rb
|
107
|
-
- app/concepts/matestack/ui/core/address/address.haml
|
108
|
-
- app/concepts/matestack/ui/core/address/address.rb
|
109
|
-
- app/concepts/matestack/ui/core/app/app.haml
|
110
|
-
- app/concepts/matestack/ui/core/app/app.js
|
111
|
-
- app/concepts/matestack/ui/core/app/app.rb
|
112
|
-
- app/concepts/matestack/ui/core/app/location.js
|
113
|
-
- app/concepts/matestack/ui/core/app/store.js
|
114
|
-
- app/concepts/matestack/ui/core/area/area.haml
|
115
|
-
- app/concepts/matestack/ui/core/area/area.rb
|
116
|
-
- app/concepts/matestack/ui/core/article/article.haml
|
117
|
-
- app/concepts/matestack/ui/core/article/article.rb
|
118
|
-
- app/concepts/matestack/ui/core/aside/aside.haml
|
119
|
-
- app/concepts/matestack/ui/core/aside/aside.rb
|
120
|
-
- app/concepts/matestack/ui/core/async/async.haml
|
121
|
-
- app/concepts/matestack/ui/core/async/async.js
|
122
|
-
- app/concepts/matestack/ui/core/async/async.rb
|
123
|
-
- app/concepts/matestack/ui/core/async/children_wrapper.haml
|
124
|
-
- app/concepts/matestack/ui/core/b/b.haml
|
125
|
-
- app/concepts/matestack/ui/core/b/b.rb
|
126
|
-
- app/concepts/matestack/ui/core/bdi/bdi.haml
|
127
|
-
- app/concepts/matestack/ui/core/bdi/bdi.rb
|
128
|
-
- app/concepts/matestack/ui/core/bdo/bdo.haml
|
129
|
-
- app/concepts/matestack/ui/core/bdo/bdo.rb
|
130
|
-
- app/concepts/matestack/ui/core/blockquote/blockquote.haml
|
131
|
-
- app/concepts/matestack/ui/core/blockquote/blockquote.rb
|
132
|
-
- app/concepts/matestack/ui/core/br/br.haml
|
133
|
-
- app/concepts/matestack/ui/core/br/br.rb
|
134
|
-
- app/concepts/matestack/ui/core/button/button.haml
|
135
|
-
- app/concepts/matestack/ui/core/button/button.rb
|
136
|
-
- app/concepts/matestack/ui/core/cable/cable.haml
|
137
|
-
- app/concepts/matestack/ui/core/cable/cable.js
|
138
|
-
- app/concepts/matestack/ui/core/cable/cable.rb
|
139
|
-
- app/concepts/matestack/ui/core/cable/children_wrapper.haml
|
140
|
-
- app/concepts/matestack/ui/core/caption/caption.haml
|
141
|
-
- app/concepts/matestack/ui/core/caption/caption.rb
|
142
|
-
- app/concepts/matestack/ui/core/cite/cite.haml
|
143
|
-
- app/concepts/matestack/ui/core/cite/cite.rb
|
144
|
-
- app/concepts/matestack/ui/core/code/code.haml
|
145
|
-
- app/concepts/matestack/ui/core/code/code.rb
|
146
|
-
- app/concepts/matestack/ui/core/collection/content/content.js
|
147
|
-
- app/concepts/matestack/ui/core/collection/content/content.rb
|
148
|
-
- app/concepts/matestack/ui/core/collection/content/next/next.haml
|
149
|
-
- app/concepts/matestack/ui/core/collection/content/next/next.rb
|
150
|
-
- app/concepts/matestack/ui/core/collection/content/page/link/link.haml
|
151
|
-
- app/concepts/matestack/ui/core/collection/content/page/link/link.rb
|
152
|
-
- app/concepts/matestack/ui/core/collection/content/previous/previous.haml
|
153
|
-
- app/concepts/matestack/ui/core/collection/content/previous/previous.rb
|
154
|
-
- app/concepts/matestack/ui/core/collection/filter/filter.js
|
155
|
-
- app/concepts/matestack/ui/core/collection/filter/filter.rb
|
156
|
-
- app/concepts/matestack/ui/core/collection/filter/input/input.rb
|
157
|
-
- app/concepts/matestack/ui/core/collection/filter/reset/reset.haml
|
158
|
-
- app/concepts/matestack/ui/core/collection/filter/reset/reset.rb
|
159
|
-
- app/concepts/matestack/ui/core/collection/filter/select/select.haml
|
160
|
-
- app/concepts/matestack/ui/core/collection/filter/select/select.rb
|
161
|
-
- app/concepts/matestack/ui/core/collection/filter/submit/submit.haml
|
162
|
-
- app/concepts/matestack/ui/core/collection/filter/submit/submit.rb
|
163
|
-
- app/concepts/matestack/ui/core/collection/helper.rb
|
164
|
-
- app/concepts/matestack/ui/core/collection/order/order.js
|
165
|
-
- app/concepts/matestack/ui/core/collection/order/order.rb
|
166
|
-
- app/concepts/matestack/ui/core/collection/order/toggle/indicator/indicator.rb
|
167
|
-
- app/concepts/matestack/ui/core/collection/order/toggle/toggle.haml
|
168
|
-
- app/concepts/matestack/ui/core/collection/order/toggle/toggle.rb
|
169
|
-
- app/concepts/matestack/ui/core/component/anonym-dynamic-component.js
|
170
|
-
- app/concepts/matestack/ui/core/component/base.rb
|
171
|
-
- app/concepts/matestack/ui/core/component/children.haml
|
172
|
-
- app/concepts/matestack/ui/core/component/component.js
|
173
|
-
- app/concepts/matestack/ui/core/component/dynamic.haml
|
174
|
-
- app/concepts/matestack/ui/core/component/dynamic.rb
|
175
|
-
- app/concepts/matestack/ui/core/component/dynamic_without_rerender.haml
|
176
|
-
- app/concepts/matestack/ui/core/component/static.rb
|
177
|
-
- app/concepts/matestack/ui/core/data/data.haml
|
178
|
-
- app/concepts/matestack/ui/core/data/data.rb
|
179
|
-
- app/concepts/matestack/ui/core/datalist/datalist.haml
|
180
|
-
- app/concepts/matestack/ui/core/datalist/datalist.rb
|
181
|
-
- app/concepts/matestack/ui/core/dd/dd.haml
|
182
|
-
- app/concepts/matestack/ui/core/dd/dd.rb
|
183
|
-
- app/concepts/matestack/ui/core/del/del.haml
|
184
|
-
- app/concepts/matestack/ui/core/del/del.rb
|
185
|
-
- app/concepts/matestack/ui/core/details/details.haml
|
186
|
-
- app/concepts/matestack/ui/core/details/details.rb
|
187
|
-
- app/concepts/matestack/ui/core/dfn/dfn.haml
|
188
|
-
- app/concepts/matestack/ui/core/dfn/dfn.rb
|
189
|
-
- app/concepts/matestack/ui/core/dialog/dialog.haml
|
190
|
-
- app/concepts/matestack/ui/core/dialog/dialog.rb
|
191
|
-
- app/concepts/matestack/ui/core/div/div.haml
|
192
|
-
- app/concepts/matestack/ui/core/div/div.rb
|
193
|
-
- app/concepts/matestack/ui/core/dl/dl.haml
|
194
|
-
- app/concepts/matestack/ui/core/dl/dl.rb
|
195
|
-
- app/concepts/matestack/ui/core/dt/dt.haml
|
196
|
-
- app/concepts/matestack/ui/core/dt/dt.rb
|
197
|
-
- app/concepts/matestack/ui/core/em/em.haml
|
198
|
-
- app/concepts/matestack/ui/core/em/em.rb
|
199
|
-
- app/concepts/matestack/ui/core/fieldset/fieldset.haml
|
200
|
-
- app/concepts/matestack/ui/core/fieldset/fieldset.rb
|
201
|
-
- app/concepts/matestack/ui/core/figure/figure.haml
|
202
|
-
- app/concepts/matestack/ui/core/figure/figure.rb
|
203
|
-
- app/concepts/matestack/ui/core/footer/footer.haml
|
204
|
-
- app/concepts/matestack/ui/core/footer/footer.rb
|
205
|
-
- app/concepts/matestack/ui/core/form/checkbox/base.rb
|
206
|
-
- app/concepts/matestack/ui/core/form/checkbox/checkbox.js
|
207
|
-
- app/concepts/matestack/ui/core/form/checkbox/checkbox.rb
|
208
|
-
- app/concepts/matestack/ui/core/form/checkbox/mixin.js
|
209
|
-
- app/concepts/matestack/ui/core/form/form.haml
|
210
|
-
- app/concepts/matestack/ui/core/form/form.js
|
211
|
-
- app/concepts/matestack/ui/core/form/form.rb
|
212
|
-
- app/concepts/matestack/ui/core/form/has_errors.rb
|
213
|
-
- app/concepts/matestack/ui/core/form/has_input_html_attributes.rb
|
214
|
-
- app/concepts/matestack/ui/core/form/input/base.rb
|
215
|
-
- app/concepts/matestack/ui/core/form/input/input.js
|
216
|
-
- app/concepts/matestack/ui/core/form/input/input.rb
|
217
|
-
- app/concepts/matestack/ui/core/form/input/mixin.js
|
218
|
-
- app/concepts/matestack/ui/core/form/radio/base.rb
|
219
|
-
- app/concepts/matestack/ui/core/form/radio/mixin.js
|
220
|
-
- app/concepts/matestack/ui/core/form/radio/radio.js
|
221
|
-
- app/concepts/matestack/ui/core/form/radio/radio.rb
|
222
|
-
- app/concepts/matestack/ui/core/form/select/base.rb
|
223
|
-
- app/concepts/matestack/ui/core/form/select/mixin.js
|
224
|
-
- app/concepts/matestack/ui/core/form/select/select.js
|
225
|
-
- app/concepts/matestack/ui/core/form/select/select.rb
|
226
|
-
- app/concepts/matestack/ui/core/form/submit/base.rb
|
227
|
-
- app/concepts/matestack/ui/core/form/submit/submit.js
|
228
|
-
- app/concepts/matestack/ui/core/form/submit/submit.rb
|
229
|
-
- app/concepts/matestack/ui/core/form/textarea/base.rb
|
230
|
-
- app/concepts/matestack/ui/core/form/textarea/mixin.js
|
231
|
-
- app/concepts/matestack/ui/core/form/textarea/textarea.js
|
232
|
-
- app/concepts/matestack/ui/core/form/textarea/textarea.rb
|
233
|
-
- app/concepts/matestack/ui/core/form/utils.rb
|
234
|
-
- app/concepts/matestack/ui/core/header/header.haml
|
235
|
-
- app/concepts/matestack/ui/core/header/header.rb
|
236
|
-
- app/concepts/matestack/ui/core/heading/heading.haml
|
237
|
-
- app/concepts/matestack/ui/core/heading/heading.rb
|
238
|
-
- app/concepts/matestack/ui/core/hr/hr.haml
|
239
|
-
- app/concepts/matestack/ui/core/hr/hr.rb
|
240
|
-
- app/concepts/matestack/ui/core/icon/icon.haml
|
241
|
-
- app/concepts/matestack/ui/core/icon/icon.rb
|
242
|
-
- app/concepts/matestack/ui/core/iframe/iframe.haml
|
243
|
-
- app/concepts/matestack/ui/core/iframe/iframe.rb
|
244
|
-
- app/concepts/matestack/ui/core/img/img.haml
|
245
|
-
- app/concepts/matestack/ui/core/img/img.rb
|
246
|
-
- app/concepts/matestack/ui/core/input/input.haml
|
247
|
-
- app/concepts/matestack/ui/core/input/input.rb
|
248
|
-
- app/concepts/matestack/ui/core/ins/ins.haml
|
249
|
-
- app/concepts/matestack/ui/core/ins/ins.rb
|
250
|
-
- app/concepts/matestack/ui/core/isolated/children_wrapper.haml
|
251
|
-
- app/concepts/matestack/ui/core/isolated/isolated.haml
|
252
|
-
- app/concepts/matestack/ui/core/isolated/isolated.js
|
253
|
-
- app/concepts/matestack/ui/core/isolated/isolated.rb
|
254
|
-
- app/concepts/matestack/ui/core/js/core.js
|
255
|
-
- app/concepts/matestack/ui/core/js/event-hub.js
|
256
|
-
- app/concepts/matestack/ui/core/js/helpers/query-params-helper.js
|
257
|
-
- app/concepts/matestack/ui/core/kbd/kbd.haml
|
258
|
-
- app/concepts/matestack/ui/core/kbd/kbd.rb
|
259
|
-
- app/concepts/matestack/ui/core/label/label.haml
|
260
|
-
- app/concepts/matestack/ui/core/label/label.rb
|
261
|
-
- app/concepts/matestack/ui/core/legend/legend.haml
|
262
|
-
- app/concepts/matestack/ui/core/legend/legend.rb
|
263
|
-
- app/concepts/matestack/ui/core/li/li.haml
|
264
|
-
- app/concepts/matestack/ui/core/li/li.rb
|
265
|
-
- app/concepts/matestack/ui/core/link/link.haml
|
266
|
-
- app/concepts/matestack/ui/core/link/link.rb
|
267
|
-
- app/concepts/matestack/ui/core/main/main.haml
|
268
|
-
- app/concepts/matestack/ui/core/main/main.rb
|
269
|
-
- app/concepts/matestack/ui/core/map/map.haml
|
270
|
-
- app/concepts/matestack/ui/core/map/map.rb
|
271
|
-
- app/concepts/matestack/ui/core/mark/mark.haml
|
272
|
-
- app/concepts/matestack/ui/core/mark/mark.rb
|
273
|
-
- app/concepts/matestack/ui/core/meter/meter.haml
|
274
|
-
- app/concepts/matestack/ui/core/meter/meter.rb
|
275
|
-
- app/concepts/matestack/ui/core/nav/nav.haml
|
276
|
-
- app/concepts/matestack/ui/core/nav/nav.rb
|
277
|
-
- app/concepts/matestack/ui/core/noscript/noscript.haml
|
278
|
-
- app/concepts/matestack/ui/core/noscript/noscript.rb
|
279
|
-
- app/concepts/matestack/ui/core/object/object.haml
|
280
|
-
- app/concepts/matestack/ui/core/object/object.rb
|
281
|
-
- app/concepts/matestack/ui/core/ol/ol.haml
|
282
|
-
- app/concepts/matestack/ui/core/ol/ol.rb
|
283
|
-
- app/concepts/matestack/ui/core/onclick/onclick.haml
|
284
|
-
- app/concepts/matestack/ui/core/onclick/onclick.js
|
285
|
-
- app/concepts/matestack/ui/core/onclick/onclick.rb
|
286
|
-
- app/concepts/matestack/ui/core/optgroup/optgroup.haml
|
287
|
-
- app/concepts/matestack/ui/core/optgroup/optgroup.rb
|
288
|
-
- app/concepts/matestack/ui/core/option/option.haml
|
289
|
-
- app/concepts/matestack/ui/core/option/option.rb
|
290
|
-
- app/concepts/matestack/ui/core/output/output.haml
|
291
|
-
- app/concepts/matestack/ui/core/output/output.rb
|
292
|
-
- app/concepts/matestack/ui/core/page/content/content.js
|
293
|
-
- app/concepts/matestack/ui/core/page/content/content.rb
|
294
|
-
- app/concepts/matestack/ui/core/page/page.haml
|
295
|
-
- app/concepts/matestack/ui/core/page/page.rb
|
296
|
-
- app/concepts/matestack/ui/core/paragraph/paragraph.haml
|
297
|
-
- app/concepts/matestack/ui/core/paragraph/paragraph.rb
|
298
|
-
- app/concepts/matestack/ui/core/param/param.haml
|
299
|
-
- app/concepts/matestack/ui/core/param/param.rb
|
300
|
-
- app/concepts/matestack/ui/core/partial/partial.haml
|
301
|
-
- app/concepts/matestack/ui/core/partial/partial.rb
|
302
|
-
- app/concepts/matestack/ui/core/picture/picture.haml
|
303
|
-
- app/concepts/matestack/ui/core/picture/picture.rb
|
304
|
-
- app/concepts/matestack/ui/core/plain/plain.rb
|
305
|
-
- app/concepts/matestack/ui/core/pre/pre.haml
|
306
|
-
- app/concepts/matestack/ui/core/pre/pre.rb
|
307
|
-
- app/concepts/matestack/ui/core/progress/progress.haml
|
308
|
-
- app/concepts/matestack/ui/core/progress/progress.rb
|
309
|
-
- app/concepts/matestack/ui/core/q/q.haml
|
310
|
-
- app/concepts/matestack/ui/core/q/q.rb
|
311
|
-
- app/concepts/matestack/ui/core/rp/rp.haml
|
312
|
-
- app/concepts/matestack/ui/core/rp/rp.rb
|
313
|
-
- app/concepts/matestack/ui/core/rt/rt.haml
|
314
|
-
- app/concepts/matestack/ui/core/rt/rt.rb
|
315
|
-
- app/concepts/matestack/ui/core/ruby/ruby.haml
|
316
|
-
- app/concepts/matestack/ui/core/ruby/ruby.rb
|
317
|
-
- app/concepts/matestack/ui/core/s/s.haml
|
318
|
-
- app/concepts/matestack/ui/core/s/s.rb
|
319
|
-
- app/concepts/matestack/ui/core/samp/samp.haml
|
320
|
-
- app/concepts/matestack/ui/core/samp/samp.rb
|
321
|
-
- app/concepts/matestack/ui/core/section/section.haml
|
322
|
-
- app/concepts/matestack/ui/core/section/section.rb
|
323
|
-
- app/concepts/matestack/ui/core/select/select.haml
|
324
|
-
- app/concepts/matestack/ui/core/select/select.rb
|
325
|
-
- app/concepts/matestack/ui/core/slot/slot.haml
|
326
|
-
- app/concepts/matestack/ui/core/slot/slot.rb
|
327
|
-
- app/concepts/matestack/ui/core/small/small.haml
|
328
|
-
- app/concepts/matestack/ui/core/small/small.rb
|
329
|
-
- app/concepts/matestack/ui/core/span/span.haml
|
330
|
-
- app/concepts/matestack/ui/core/span/span.rb
|
331
|
-
- app/concepts/matestack/ui/core/strong/strong.haml
|
332
|
-
- app/concepts/matestack/ui/core/strong/strong.rb
|
333
|
-
- app/concepts/matestack/ui/core/sub/sub.haml
|
334
|
-
- app/concepts/matestack/ui/core/sub/sub.rb
|
335
|
-
- app/concepts/matestack/ui/core/summary/summary.haml
|
336
|
-
- app/concepts/matestack/ui/core/summary/summary.rb
|
337
|
-
- app/concepts/matestack/ui/core/sup/sup.haml
|
338
|
-
- app/concepts/matestack/ui/core/sup/sup.rb
|
339
|
-
- app/concepts/matestack/ui/core/table/table.haml
|
340
|
-
- app/concepts/matestack/ui/core/table/table.rb
|
341
|
-
- app/concepts/matestack/ui/core/tbody/tbody.haml
|
342
|
-
- app/concepts/matestack/ui/core/tbody/tbody.rb
|
343
|
-
- app/concepts/matestack/ui/core/td/td.haml
|
344
|
-
- app/concepts/matestack/ui/core/td/td.rb
|
345
|
-
- app/concepts/matestack/ui/core/template/template.haml
|
346
|
-
- app/concepts/matestack/ui/core/template/template.rb
|
347
|
-
- app/concepts/matestack/ui/core/textarea/textarea.haml
|
348
|
-
- app/concepts/matestack/ui/core/textarea/textarea.rb
|
349
|
-
- app/concepts/matestack/ui/core/tfoot/tfoot.haml
|
350
|
-
- app/concepts/matestack/ui/core/tfoot/tfoot.rb
|
351
|
-
- app/concepts/matestack/ui/core/th/th.haml
|
352
|
-
- app/concepts/matestack/ui/core/th/th.rb
|
353
|
-
- app/concepts/matestack/ui/core/thead/thead.haml
|
354
|
-
- app/concepts/matestack/ui/core/thead/thead.rb
|
355
|
-
- app/concepts/matestack/ui/core/time/time.haml
|
356
|
-
- app/concepts/matestack/ui/core/time/time.rb
|
357
|
-
- app/concepts/matestack/ui/core/toggle/toggle.haml
|
358
|
-
- app/concepts/matestack/ui/core/toggle/toggle.js
|
359
|
-
- app/concepts/matestack/ui/core/toggle/toggle.rb
|
360
|
-
- app/concepts/matestack/ui/core/tr/tr.haml
|
361
|
-
- app/concepts/matestack/ui/core/tr/tr.rb
|
362
|
-
- app/concepts/matestack/ui/core/transition/transition.haml
|
363
|
-
- app/concepts/matestack/ui/core/transition/transition.js
|
364
|
-
- app/concepts/matestack/ui/core/transition/transition.rb
|
365
|
-
- app/concepts/matestack/ui/core/u/u.haml
|
366
|
-
- app/concepts/matestack/ui/core/u/u.rb
|
367
|
-
- app/concepts/matestack/ui/core/ul/ul.haml
|
368
|
-
- app/concepts/matestack/ui/core/ul/ul.rb
|
369
|
-
- app/concepts/matestack/ui/core/unescaped/unescaped.rb
|
370
|
-
- app/concepts/matestack/ui/core/var/var.haml
|
371
|
-
- app/concepts/matestack/ui/core/var/var.rb
|
372
|
-
- app/concepts/matestack/ui/core/video/video.haml
|
373
|
-
- app/concepts/matestack/ui/core/video/video.rb
|
374
|
-
- app/concepts/matestack/ui/core/view/view.haml
|
375
|
-
- app/concepts/matestack/ui/core/view/view.rb
|
376
|
-
- app/concepts/matestack/ui/core/wbr/wbr.haml
|
377
|
-
- app/concepts/matestack/ui/core/wbr/wbr.rb
|
378
|
-
- app/concepts/matestack/ui/core/youtube/youtube.haml
|
379
|
-
- app/concepts/matestack/ui/core/youtube/youtube.rb
|
380
|
-
- app/helpers/matestack/ui/core/application_helper.rb
|
381
|
-
- app/javascript/matestack-ui-core/index.js
|
382
|
-
- app/javascript/matestack-ui-core/styles/index.scss
|
383
|
-
- app/javascript/packs/matestack-ui-core.js
|
384
|
-
- app/lib/matestack/ui/app.rb
|
385
|
-
- app/lib/matestack/ui/component.rb
|
386
|
-
- app/lib/matestack/ui/core/has_view_context.rb
|
387
|
-
- app/lib/matestack/ui/core/html_attributes.rb
|
388
|
-
- app/lib/matestack/ui/core/properties.rb
|
389
|
-
- app/lib/matestack/ui/core/rendering/default_renderer_class_determiner.rb
|
390
|
-
- app/lib/matestack/ui/core/rendering/main_renderer.rb
|
391
|
-
- app/lib/matestack/ui/dynamic_actionview_component.rb
|
392
|
-
- app/lib/matestack/ui/dynamic_component.rb
|
393
|
-
- app/lib/matestack/ui/isolated_component.rb
|
394
|
-
- app/lib/matestack/ui/page.rb
|
395
|
-
- app/lib/matestack/ui/static_actionview_component.rb
|
396
|
-
- app/lib/matestack/ui/static_component.rb
|
397
|
-
- app/lib/matestack/ui/vue_js_component.rb
|
398
|
-
- config/routes.rb
|
399
|
-
- lib/generators/matestack/app/USAGE
|
400
|
-
- lib/generators/matestack/app/app_generator.rb
|
401
|
-
- lib/generators/matestack/app/templates/app/controllers/%file_name%_controller.rb.tt
|
402
|
-
- lib/generators/matestack/app/templates/app/matestack/apps/%file_name%.rb.tt
|
403
|
-
- lib/generators/matestack/component/USAGE
|
404
|
-
- lib/generators/matestack/component/component_generator.rb
|
405
|
-
- lib/generators/matestack/component/templates/app/matestack/components/%namespace%/%file_name%.haml.tt
|
406
|
-
- lib/generators/matestack/component/templates/app/matestack/components/%namespace%/%file_name%.js.tt
|
407
|
-
- lib/generators/matestack/component/templates/app/matestack/components/%namespace%/%file_name%.rb.tt
|
408
|
-
- lib/generators/matestack/component/templates/app/matestack/components/%namespace%/%file_name%.scss.tt
|
409
|
-
- lib/generators/matestack/core/component/USAGE
|
410
|
-
- lib/generators/matestack/core/component/component_generator.rb
|
411
|
-
- lib/generators/matestack/core/component/templates/app/concepts/matestack/ui/core/%file_name%/%file_name%.haml.tt
|
412
|
-
- lib/generators/matestack/core/component/templates/app/concepts/matestack/ui/core/%file_name%/%file_name%.rb.tt
|
413
|
-
- lib/generators/matestack/core/component/templates/docs/components/%file_name%.md.tt
|
414
|
-
- lib/generators/matestack/core/component/templates/spec/usage/components/%file_name%_spec.rb
|
415
|
-
- lib/generators/matestack/page/USAGE
|
416
|
-
- lib/generators/matestack/page/page_generator.rb
|
417
|
-
- lib/generators/matestack/page/templates/app/matestack/pages/%app_name%/%namespace%/%file_name%.rb.tt
|
40
|
+
- lib/matestack/ui/component.rb
|
418
41
|
- lib/matestack/ui/core.rb
|
419
|
-
- lib/matestack/ui/core/
|
420
|
-
- lib/matestack/ui/core/component
|
421
|
-
- lib/matestack/ui/core/
|
422
|
-
- lib/matestack/ui/core/
|
423
|
-
- lib/matestack/ui/core/
|
42
|
+
- lib/matestack/ui/core/base.rb
|
43
|
+
- lib/matestack/ui/core/component.rb
|
44
|
+
- lib/matestack/ui/core/context.rb
|
45
|
+
- lib/matestack/ui/core/helper.rb
|
46
|
+
- lib/matestack/ui/core/layout.rb
|
47
|
+
- lib/matestack/ui/core/page.rb
|
48
|
+
- lib/matestack/ui/core/properties.rb
|
49
|
+
- lib/matestack/ui/core/slots.rb
|
50
|
+
- lib/matestack/ui/core/tag_helper.rb
|
424
51
|
- lib/matestack/ui/core/version.rb
|
425
|
-
- lib/
|
426
|
-
-
|
427
|
-
- vendor/assets/javascripts/dist/manifest.json.br
|
428
|
-
- vendor/assets/javascripts/dist/manifest.json.gz
|
429
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.css
|
430
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.css.map
|
431
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.js
|
432
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.js.map
|
433
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.min.css
|
434
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.min.js
|
435
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.min.js.LICENSE.txt
|
436
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.min.js.br
|
437
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.min.js.gz
|
438
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.min.js.map
|
439
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.min.js.map.br
|
440
|
-
- vendor/assets/javascripts/dist/matestack-ui-core.min.js.map.gz
|
441
|
-
- vendor/assets/javascripts/matestack-ui-core.js.erb
|
442
|
-
- vendor/assets/stylesheets/dist
|
443
|
-
- vendor/assets/stylesheets/matestack-ui-core.css.erb
|
52
|
+
- lib/matestack/ui/layout.rb
|
53
|
+
- lib/matestack/ui/page.rb
|
444
54
|
homepage: https://matestack.io
|
445
55
|
licenses:
|
446
|
-
-
|
56
|
+
- MIT
|
447
57
|
metadata:
|
448
58
|
source_code_uri: https://github.com/matestack/matestack-ui-core
|
449
59
|
post_install_message:
|
@@ -457,11 +67,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
457
67
|
version: '0'
|
458
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
459
69
|
requirements:
|
460
|
-
- - "
|
70
|
+
- - ">"
|
461
71
|
- !ruby/object:Gem::Version
|
462
|
-
version:
|
72
|
+
version: 1.3.1
|
463
73
|
requirements: []
|
464
|
-
rubygems_version: 3.
|
74
|
+
rubygems_version: 3.1.4
|
465
75
|
signing_key:
|
466
76
|
specification_version: 4
|
467
77
|
summary: Escape the frontend hustle & easily create interactive web apps in pure Ruby.
|
@@ -1,152 +0,0 @@
|
|
1
|
-
import Vue from 'vue/dist/vue.esm'
|
2
|
-
import Vuex from 'vuex'
|
3
|
-
import axios from 'axios'
|
4
|
-
|
5
|
-
import matestackEventHub from '../js/event-hub'
|
6
|
-
import componentMixin from '../component/component'
|
7
|
-
|
8
|
-
const componentDef = {
|
9
|
-
mixins: [componentMixin],
|
10
|
-
data: function(){
|
11
|
-
return {}
|
12
|
-
},
|
13
|
-
methods: {
|
14
|
-
perform: function(){
|
15
|
-
const self = this
|
16
|
-
if (
|
17
|
-
(self.componentConfig["confirm"] == undefined) || confirm(self.componentConfig["confirm_text"])
|
18
|
-
)
|
19
|
-
{
|
20
|
-
if (self.componentConfig["emit"] != undefined) {
|
21
|
-
matestackEventHub.$emit(self.componentConfig["emit"]);
|
22
|
-
}
|
23
|
-
if (self.componentConfig["delay"] != undefined) {
|
24
|
-
setTimeout(function () {
|
25
|
-
self.sendRequest()
|
26
|
-
}, parseInt(self.componentConfig["delay"]));
|
27
|
-
} else {
|
28
|
-
this.sendRequest()
|
29
|
-
}
|
30
|
-
}
|
31
|
-
},
|
32
|
-
sendRequest: function(){
|
33
|
-
const self = this
|
34
|
-
axios({
|
35
|
-
method: self.componentConfig["method"],
|
36
|
-
url: self.componentConfig["action_path"],
|
37
|
-
data: self.componentConfig["data"],
|
38
|
-
headers: {
|
39
|
-
'X-CSRF-Token': document.getElementsByName("csrf-token")[0].getAttribute('content')
|
40
|
-
}
|
41
|
-
}
|
42
|
-
)
|
43
|
-
.then(function(response){
|
44
|
-
if (self.componentConfig["success"] != undefined && self.componentConfig["success"]["emit"] != undefined) {
|
45
|
-
matestackEventHub.$emit(self.componentConfig["success"]["emit"], response.data);
|
46
|
-
}
|
47
|
-
|
48
|
-
// transition handling
|
49
|
-
if (self.componentConfig["success"] != undefined
|
50
|
-
&& self.componentConfig["success"]["transition"] != undefined
|
51
|
-
&& (
|
52
|
-
self.componentConfig["success"]["transition"]["follow_response"] == undefined
|
53
|
-
||
|
54
|
-
self.componentConfig["success"]["transition"]["follow_response"] === false
|
55
|
-
)
|
56
|
-
&& self.$store != undefined
|
57
|
-
) {
|
58
|
-
let path = self.componentConfig["success"]["transition"]["path"]
|
59
|
-
self.$store.dispatch('navigateTo', {url: path, backwards: false})
|
60
|
-
return;
|
61
|
-
}
|
62
|
-
if (self.componentConfig["success"] != undefined
|
63
|
-
&& self.componentConfig["success"]["transition"] != undefined
|
64
|
-
&& self.componentConfig["success"]["transition"]["follow_response"] === true
|
65
|
-
&& self.$store != undefined
|
66
|
-
) {
|
67
|
-
let path = response.data["transition_to"] || response.request.responseURL
|
68
|
-
self.$store.dispatch('navigateTo', {url: path, backwards: false})
|
69
|
-
return;
|
70
|
-
}
|
71
|
-
// redirect handling
|
72
|
-
if (self.componentConfig["success"] != undefined
|
73
|
-
&& self.componentConfig["success"]["redirect"] != undefined
|
74
|
-
&& (
|
75
|
-
self.componentConfig["success"]["redirect"]["follow_response"] == undefined
|
76
|
-
||
|
77
|
-
self.componentConfig["success"]["redirect"]["follow_response"] === false
|
78
|
-
)
|
79
|
-
&& self.$store != undefined
|
80
|
-
) {
|
81
|
-
let path = self.componentConfig["success"]["redirect"]["path"]
|
82
|
-
window.location.href = path
|
83
|
-
return;
|
84
|
-
}
|
85
|
-
if (self.componentConfig["success"] != undefined
|
86
|
-
&& self.componentConfig["success"]["redirect"] != undefined
|
87
|
-
&& self.componentConfig["success"]["redirect"]["follow_response"] === true
|
88
|
-
&& self.$store != undefined
|
89
|
-
) {
|
90
|
-
let path = response.data["redirect_to"] || response.request.responseURL
|
91
|
-
window.location.href = path
|
92
|
-
return;
|
93
|
-
}
|
94
|
-
})
|
95
|
-
.catch(function(error){
|
96
|
-
if (self.componentConfig["failure"] != undefined && self.componentConfig["failure"]["emit"] != undefined) {
|
97
|
-
matestackEventHub.$emit(self.componentConfig["failure"]["emit"], error.response.data);
|
98
|
-
}
|
99
|
-
// transition handling
|
100
|
-
if (self.componentConfig["failure"] != undefined
|
101
|
-
&& self.componentConfig["failure"]["transition"] != undefined
|
102
|
-
&& (
|
103
|
-
self.componentConfig["failure"]["transition"]["follow_response"] == undefined
|
104
|
-
||
|
105
|
-
self.componentConfig["failure"]["transition"]["follow_response"] === false
|
106
|
-
)
|
107
|
-
&& self.$store != undefined
|
108
|
-
) {
|
109
|
-
let path = self.componentConfig["failure"]["transition"]["path"]
|
110
|
-
self.$store.dispatch('navigateTo', {url: path, backwards: false})
|
111
|
-
return;
|
112
|
-
}
|
113
|
-
if (self.componentConfig["failure"] != undefined
|
114
|
-
&& self.componentConfig["failure"]["transition"] != undefined
|
115
|
-
&& self.componentConfig["failure"]["transition"]["follow_response"] === true
|
116
|
-
&& self.$store != undefined
|
117
|
-
) {
|
118
|
-
let path = error.response.data["transition_to"] || response.request.responseURL
|
119
|
-
self.$store.dispatch('navigateTo', {url: path, backwards: false})
|
120
|
-
return;
|
121
|
-
}
|
122
|
-
// redirect handling
|
123
|
-
if (self.componentConfig["failure"] != undefined
|
124
|
-
&& self.componentConfig["failure"]["redirect"] != undefined
|
125
|
-
&& (
|
126
|
-
self.componentConfig["failure"]["redirect"]["follow_response"] == undefined
|
127
|
-
||
|
128
|
-
self.componentConfig["failure"]["redirect"]["follow_response"] === false
|
129
|
-
)
|
130
|
-
&& self.$store != undefined
|
131
|
-
) {
|
132
|
-
let path = self.componentConfig["failure"]["redirect"]["path"]
|
133
|
-
window.location.href = path
|
134
|
-
return;
|
135
|
-
}
|
136
|
-
if (self.componentConfig["failure"] != undefined
|
137
|
-
&& self.componentConfig["failure"]["redirect"] != undefined
|
138
|
-
&& self.componentConfig["failure"]["redirect"]["follow_response"] === true
|
139
|
-
&& self.$store != undefined
|
140
|
-
) {
|
141
|
-
let path = error.response.data["redirect_to"] || response.request.responseURL
|
142
|
-
window.location.href = path
|
143
|
-
return;
|
144
|
-
}
|
145
|
-
})
|
146
|
-
}
|
147
|
-
}
|
148
|
-
}
|
149
|
-
|
150
|
-
let component = Vue.component('matestack-ui-core-action', componentDef)
|
151
|
-
|
152
|
-
export default componentDef
|