matestack-ui-bootstrap 3.2.0.beta1 → 3.2.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e2e524d1b06bb253accbeffe605bf69d001d2da8cdffd908bd73ff0b5310443
4
- data.tar.gz: a2f16babea258baccc4c020dec5922ba38342928f0d51369f7524c02e54c17fc
3
+ metadata.gz: 0b44821eb43b0bf21493363641af10753431528e992b10707281523a09fbaac9
4
+ data.tar.gz: d42c9bdb4d38d318a333b2d4adf90484a13590e69941463029c37bc7ecd82700
5
5
  SHA512:
6
- metadata.gz: ddee9d2f3f7468773bedffcf320dddd4ea812c3e95dbe72d0ac254154c5d62f5f8b5a37ec2ca65722d74ec2e98c8fc775e35407d2d755c8a41ca40a41bc13419
7
- data.tar.gz: 99469b732c22cf31eb20acc73d68eefaf3f5670c67607928996a9f73cf080458b87b1d2face5940df1739ada0c7ca33157cf2da5a07fbc6821f8a73aa3185b26
6
+ metadata.gz: c948fe46c7d5e0e0ceb019d780c87bf10ab447676dc31622fa292810ddae653996b1080055507a248bf6d496085a98ebcedd6e18a90e5a231dcb9dd14ad9e3f2
7
+ data.tar.gz: 9aaafed27e549ad740c06560ac978da4d8e6dc978f2ab796a3a700381880be54f3d24cf9ee49a66954743ca6cef24a50e07892c694f2c715b8281dd72b583af5
@@ -1 +1 @@
1
- import*as o from"bootstrap";import n from"matestack-ui-vuejs";const e={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({alertInstance:void 0}),methods:{close:function(){this.alertInstance.close()},dispose:function(){this.alertInstance.dispose()}},mounted:function(){var n=this.getElement();this.alertInstance=new o.Alert(n)},created:function(){const o=this;null!=o.props.close_on&&o.props.close_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.close)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.dispose)))},beforeUnmount:function(){const o=this;null!=o.props.close_on&&o.props.close_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.close)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.dispose)))}},t={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({carouselInstance:void 0}),methods:{cycle:function(){this.carouselInstance.cycle()},pause:function(){this.carouselInstance.pause()},prev:function(){this.carouselInstance.prev()},next:function(){this.carouselInstance.next()}},mounted:function(){const n=this;var e=n.getElement();n.carouselInstance=new o.Carousel(e,{interval:n.props.interval||5e3})},created:function(){const o=this;null!=o.props.cycle_on&&o.props.cycle_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.cycle)));null!=o.props.pause_on&&o.props.pause_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.pause)));null!=o.props.prev_on&&o.props.prev_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.prev)));null!=o.props.next_on&&o.props.next_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.next)))},beforeUnmount:function(){const o=this;null!=o.props.cycle_on&&o.props.cycle_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.cycle)));null!=o.props.pause_on&&o.props.pause_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.pause)));null!=o.props.prev_on&&o.props.prev_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.prev)));null!=o.props.next_on&&o.props.next_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.next)))}},s={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({collapseInstance:void 0}),methods:{toggle:function(){this.collapseInstance.toggle()},show:function(){this.collapseInstance.show()},hide:function(){this.collapseInstance.hide()},dispose:function(){this.collapseInstance.hide(),this.collapseInstance.dispose()}},mounted:function(){const n=this.getElement();this.collapseInstance=new o.Collapse(n,{toggle:!1})},created:function(){const o=this;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.toggle)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.hide)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.dispose)))},beforeUnmount:function(){const o=this;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.show)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.hide)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.dispose)))}},i={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({dropdownInstance:void 0}),mounted(){}},p={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({modalInstance:void 0}),methods:{toggle:function(){this.modalInstance.toggle()},show:function(){this.modalInstance.show()},hide:function(){this.modalInstance.hide()},handleUpdate:function(){this.modalInstance.handleUpdate()},dispose:function(){this.modalInstance.dispose()}},mounted:function(){const n=this.getElement();this.modalInstance=new o.Modal(n)},created:function(){const o=this;var e=n.eventHub;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((n=>e.$on(n.trim(),o.toggle)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((n=>e.$on(n.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((n=>e.$on(n.trim(),o.hide)));null!=o.props.handle_update_on&&o.props.handle_update_on.split(",").forEach((n=>e.$on(n.trim(),o.handle_update)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((n=>e.$on(n.trim(),o.dispose)))},beforeUnmount:function(){const o=this;var e=n.eventHub;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((n=>e.$off(n.trim(),o.toggle)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((n=>e.$off(n.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((n=>e.$off(n.trim(),o.hide)));null!=o.props.handle_update_on&&o.props.handle_update_on.split(",").forEach((n=>e.$off(n.trim(),o.handle_update)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((n=>e.$off(n.trim(),o.dispose)))}},a={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({popoverInstance:void 0}),methods:{},mounted:function(){const n=this.getElement();this.popoverInstance=new o.Popover(n,{})},created:function(){},beforeUnmount:function(){}},l={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({toastsInstance:void 0,eventData:{},showing:!1}),methods:{show:function(o){const n=this;this.props.autohide&&setTimeout((function(){n.showing=!1}),5e3),this.props.delay?setTimeout((function(){n.showing=!0}),parseInt(n.props.delay)):n.showing=!0,this.eventData=o},hide:function(o){const n=this;this.showing=!1,setTimeout((function(){n.eventData=!1}),500)},dispose:function(){const n=this;n.toastsInstance.dispose(),n.toastsInstance=new o.Toast(n.getElement())}},mounted:function(){var n=this.getElement();this.toastsInstance=new o.Toast(n)},created:function(){const o=this;null!=this.props.show_on&&this.props.show_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.show)));null!=this.props.hide_on&&this.props.hide_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.hide)));null!=this.props.dispose_on&&this.props.dispose_on.split(",").forEach((e=>n.eventHub.$on(e.trim(),o.dispose)))},beforeUnmount:function(){const o=this;(n.eventHub.$off(this.props.show_on,o.show),n.eventHub.$off(this.props.hide_on,o.hide),n.eventHub.$off(this.props.dispose_on,o.hide),null!=this.props.show_on)&&this.props.show_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.show)));null!=this.props.hide_on&&this.props.hide_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.hide)));null!=this.props.dispose_on&&this.props.dispose_on.split(",").forEach((e=>n.eventHub.$off(e.trim(),o.dispose)))}},r={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({}),methods:{},mounted:function(){var n=this.getElement();this.tooltipInstance=new o.Tooltip(n)}},c={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({sidebarOpen:!1}),methods:{sidebarToggle:function(){document.getElementById("sidebar").classList.contains("closed")?this.openSideBar():this.closeSideBar()},openSideBar:function(){var o=document.getElementById("sidebar"),n=document.getElementById("content");this.sidebarOpen=!0,o.classList.remove("closed"),o.classList.add("open"),n.classList.add("sidebar-open")},closeSideBar:function(){var o=document.getElementById("sidebar"),n=document.getElementById("content");this.sidebarOpen=!1,o.classList.add("closed"),o.classList.remove("open"),n.classList.remove("sidebar-open")},resizeCallback:function(){window.innerWidth<=992?this.closeSideBar():this.openSideBar()}},mounted:function(){window.innerWidth<=992&&(this.sidebarOpen=!0),window.addEventListener("resize",this.resizeCallback);var o=this;n.eventHub.$on("page_loaded",(function(){window.innerWidth<=992&&o.closeSideBar()})),n.eventHub.$on("page_loading_triggered",(function(){window.innerWidth<=992&&o.closeSideBar()}))}},d={registerComponents:function(o){return o.component("matestack-ui-bootstrap-alert",e),o.component("matestack-ui-bootstrap-carousel",t),o.component("matestack-ui-bootstrap-collapse",s),o.component("matestack-ui-bootstrap-dropdown",i),o.component("matestack-ui-bootstrap-modal",p),o.component("matestack-ui-bootstrap-popover",a),o.component("matestack-ui-bootstrap-toast",l),o.component("matestack-ui-bootstrap-tooltip",r),o.component("matestack-ui-bootstrap-sidebar",c),o}};window.MatestackUiBootstrap=d;export{d as default};
1
+ import*as o from"bootstrap";import n from"matestack-ui-vuejs";const t={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({alertInstance:void 0}),methods:{close:function(){this.alertInstance.close()},dispose:function(){this.alertInstance.dispose()}},mounted:function(){var n=this.getElement();this.alertInstance=new o.Alert(n)},created:function(){const o=this;null!=o.props.close_on&&o.props.close_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.close)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.dispose)))},beforeUnmount:function(){const o=this;null!=o.props.close_on&&o.props.close_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.close)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.dispose)))}},e={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({carouselInstance:void 0}),methods:{cycle:function(){this.carouselInstance.cycle()},pause:function(){this.carouselInstance.pause()},prev:function(){this.carouselInstance.prev()},next:function(){this.carouselInstance.next()}},mounted:function(){const n=this;var t=n.getElement();n.carouselInstance=new o.Carousel(t,{interval:n.props.interval||5e3})},created:function(){const o=this;null!=o.props.cycle_on&&o.props.cycle_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.cycle)));null!=o.props.pause_on&&o.props.pause_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.pause)));null!=o.props.prev_on&&o.props.prev_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.prev)));null!=o.props.next_on&&o.props.next_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.next)))},beforeUnmount:function(){const o=this;null!=o.props.cycle_on&&o.props.cycle_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.cycle)));null!=o.props.pause_on&&o.props.pause_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.pause)));null!=o.props.prev_on&&o.props.prev_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.prev)));null!=o.props.next_on&&o.props.next_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.next)))}},s={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({collapseInstance:void 0}),methods:{toggle:function(){this.collapseInstance.toggle()},show:function(){this.collapseInstance.show()},hide:function(){this.collapseInstance.hide()},dispose:function(){this.collapseInstance.hide(),this.collapseInstance.dispose()}},mounted:function(){const n=this.getElement();this.collapseInstance=new o.Collapse(n,{toggle:!1})},created:function(){const o=this;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.toggle)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.hide)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.dispose)))},beforeUnmount:function(){const o=this;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.show)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.hide)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.dispose)))}},i={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({dropdownInstance:void 0}),mounted(){}},p={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({modalInstance:void 0}),methods:{toggle:function(){this.modalInstance.toggle()},show:function(){this.modalInstance.show()},hide:function(){this.modalInstance.hide()},handleUpdate:function(){this.modalInstance.handleUpdate()},dispose:function(){this.modalInstance.dispose()}},mounted:function(){const n=this.getElement();this.modalInstance=new o.Modal(n)},created:function(){const o=this;var t=n.eventHub;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((n=>t.$on(n.trim(),o.toggle)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((n=>t.$on(n.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((n=>t.$on(n.trim(),o.hide)));null!=o.props.handle_update_on&&o.props.handle_update_on.split(",").forEach((n=>t.$on(n.trim(),o.handle_update)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((n=>t.$on(n.trim(),o.dispose)))},beforeUnmount:function(){const o=this;var t=n.eventHub;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((n=>t.$off(n.trim(),o.toggle)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((n=>t.$off(n.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((n=>t.$off(n.trim(),o.hide)));null!=o.props.handle_update_on&&o.props.handle_update_on.split(",").forEach((n=>t.$off(n.trim(),o.handle_update)));null!=o.props.dispose_on&&o.props.dispose_on.split(",").forEach((n=>t.$off(n.trim(),o.dispose)))}},a={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({offcanvasInstance:void 0}),methods:{toggle:function(){this.offcanvasInstance.toggle()},show:function(){this.offcanvasInstance.show()},hide:function(){this.offcanvasInstance.hide()}},mounted:function(){const n=this.getElement();this.offcanvasInstance=new o.Offcanvas(n)},created:function(){const o=this;var t=n.eventHub;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((n=>t.$on(n.trim(),o.toggle)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((n=>t.$on(n.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((n=>t.$on(n.trim(),o.hide)))},beforeUnmount:function(){const o=this;var t=n.eventHub;null!=o.props.toggle_on&&o.props.toggle_on.split(",").forEach((n=>t.$off(n.trim(),o.toggle)));null!=o.props.show_on&&o.props.show_on.split(",").forEach((n=>t.$off(n.trim(),o.show)));null!=o.props.hide_on&&o.props.hide_on.split(",").forEach((n=>t.$off(n.trim(),o.hide)))}},l={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({popoverInstance:void 0}),methods:{},mounted:function(){const n=this.getElement();this.popoverInstance=new o.Popover(n,{})},created:function(){},beforeUnmount:function(){}},r={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({toastsInstance:void 0,eventData:{},showing:!1}),methods:{show:function(o){const n=this;this.props.autohide&&setTimeout((function(){n.showing=!1}),5e3),this.props.delay?setTimeout((function(){n.showing=!0}),parseInt(n.props.delay)):n.showing=!0,this.eventData=o},hide:function(o){const n=this;this.showing=!1,setTimeout((function(){n.eventData=!1}),500)},dispose:function(){const n=this;n.toastsInstance.dispose(),n.toastsInstance=new o.Toast(n.getElement())}},mounted:function(){var n=this.getElement();this.toastsInstance=new o.Toast(n)},created:function(){const o=this;null!=this.props.show_on&&this.props.show_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.show)));null!=this.props.hide_on&&this.props.hide_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.hide)));null!=this.props.dispose_on&&this.props.dispose_on.split(",").forEach((t=>n.eventHub.$on(t.trim(),o.dispose)))},beforeUnmount:function(){const o=this;(n.eventHub.$off(this.props.show_on,o.show),n.eventHub.$off(this.props.hide_on,o.hide),n.eventHub.$off(this.props.dispose_on,o.hide),null!=this.props.show_on)&&this.props.show_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.show)));null!=this.props.hide_on&&this.props.hide_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.hide)));null!=this.props.dispose_on&&this.props.dispose_on.split(",").forEach((t=>n.eventHub.$off(t.trim(),o.dispose)))}},c={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({}),methods:{},mounted:function(){var n=this.getElement();this.tooltipInstance=new o.Tooltip(n)}},h={mixins:[n.componentMixin],template:n.componentHelpers.inlineTemplate,data:()=>({sidebarOpen:!1}),methods:{sidebarToggle:function(){document.getElementById("sidebar").classList.contains("closed")?this.openSideBar():this.closeSideBar()},openSideBar:function(){var o=document.getElementById("sidebar"),n=document.getElementById("content");this.sidebarOpen=!0,o.classList.remove("closed"),o.classList.add("open"),n.classList.add("sidebar-open")},closeSideBar:function(){var o=document.getElementById("sidebar"),n=document.getElementById("content");this.sidebarOpen=!1,o.classList.add("closed"),o.classList.remove("open"),n.classList.remove("sidebar-open")},resizeCallback:function(){window.innerWidth<=992?this.closeSideBar():this.openSideBar()}},mounted:function(){window.innerWidth<=992&&(this.sidebarOpen=!0),window.addEventListener("resize",this.resizeCallback);var o=this;n.eventHub.$on("page_loaded",(function(){window.innerWidth<=992&&o.closeSideBar()})),n.eventHub.$on("page_loading_triggered",(function(){window.innerWidth<=992&&o.closeSideBar()}))}},d={registerComponents:function(o){return o.component("matestack-ui-bootstrap-alert",t),o.component("matestack-ui-bootstrap-carousel",e),o.component("matestack-ui-bootstrap-collapse",s),o.component("matestack-ui-bootstrap-dropdown",i),o.component("matestack-ui-bootstrap-modal",p),o.component("matestack-ui-bootstrap-offcanvas",a),o.component("matestack-ui-bootstrap-popover",l),o.component("matestack-ui-bootstrap-toast",r),o.component("matestack-ui-bootstrap-tooltip",c),o.component("matestack-ui-bootstrap-sidebar",h),o}};window.MatestackUiBootstrap=d;export{d as default};
@@ -35,7 +35,6 @@
35
35
 
36
36
  .content-wrapper {
37
37
  position: relative;
38
- z-index: 1;
39
38
  min-height: 101vh;
40
39
  transition: 0.5s;
41
40
  }
@@ -1,7 +1,7 @@
1
1
  module Matestack
2
2
  module Ui
3
3
  module Bootstrap
4
- VERSION = '3.2.0.beta1'
4
+ VERSION = '3.2.0.beta2'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matestack-ui-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0.beta1
4
+ version: 3.2.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Jabari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: matestack-ui-core