diff --git a/exports/blockui.d.ts b/exports/blockui.d.ts new file mode 100644 index 000000000..60e09f7b3 --- /dev/null +++ b/exports/blockui.d.ts @@ -0,0 +1 @@ +export * from './components/blockui/BlockUI'; \ No newline at end of file diff --git a/exports/blockui.js b/exports/blockui.js new file mode 100644 index 000000000..db681bcd6 --- /dev/null +++ b/exports/blockui.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('./components/blockui/BlockUI.vue'); \ No newline at end of file diff --git a/src/AppMenu.vue b/src/AppMenu.vue index 3f195df14..66821fb68 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -136,6 +136,7 @@ Misc
+ BlockUI Inplace ProgressBar ProgressSpinner diff --git a/src/components/blockui/BlockUI.d.ts b/src/components/blockui/BlockUI.d.ts new file mode 100644 index 000000000..a7c832ee6 --- /dev/null +++ b/src/components/blockui/BlockUI.d.ts @@ -0,0 +1,13 @@ +import Vue, { VNode } from 'vue'; + +export declare class BlockUI extends Vue { + blocked?: boolean; + fullScreen?: boolean; + baseZIndex?: number; + autoZIndex?: boolean; + $emit(eventName: 'block'): this; + $emit(eventName: 'unblock'): this; + $slots: { + '': VNode[]; + } +} \ No newline at end of file diff --git a/src/components/blockui/BlockUI.vue b/src/components/blockui/BlockUI.vue new file mode 100644 index 000000000..6c5f22c23 --- /dev/null +++ b/src/components/blockui/BlockUI.vue @@ -0,0 +1,100 @@ + + + + + diff --git a/src/main.js b/src/main.js index f2c8045d5..30948d62d 100644 --- a/src/main.js +++ b/src/main.js @@ -4,6 +4,7 @@ import router from './router'; import AutoComplete from './components/autocomplete/AutoComplete'; import Accordion from './components/accordion/Accordion'; import AccordionTab from './components/accordiontab/AccordionTab'; +import BlockUI from './components/blockui/BlockUI'; import Breadcrumb from './components/breadcrumb/Breadcrumb'; import Button from './components/button/Button'; import Calendar from './components/calendar/Calendar'; @@ -90,6 +91,7 @@ Vue.config.productionTip = false; Vue.component('Accordion', Accordion); Vue.component('AccordionTab', AccordionTab); Vue.component('AutoComplete', AutoComplete); +Vue.component('BlockUI', BlockUI); Vue.component('Breadcrumb', Breadcrumb); Vue.component('Button', Button); Vue.component('Calendar', Calendar); diff --git a/src/router.js b/src/router.js index 71a3c1e11..2e35634cb 100644 --- a/src/router.js +++ b/src/router.js @@ -41,6 +41,11 @@ export default new Router({ name: 'autocomplete', component: () => import('./views/autocomplete/AutoCompleteDemo.vue') }, + { + path: '/blockui', + name: 'blockui', + component: () => import('./views/blockui/BlockUIDemo.vue') + }, { path: '/breadcrumb', name: 'breadcrumb', diff --git a/src/views/blockui/BlockUIDemo.vue b/src/views/blockui/BlockUIDemo.vue new file mode 100644 index 000000000..f0a690915 --- /dev/null +++ b/src/views/blockui/BlockUIDemo.vue @@ -0,0 +1,74 @@ + + + + + \ No newline at end of file diff --git a/src/views/blockui/BlockUIDoc.vue b/src/views/blockui/BlockUIDoc.vue new file mode 100644 index 000000000..c97281b2b --- /dev/null +++ b/src/views/blockui/BlockUIDoc.vue @@ -0,0 +1,192 @@ + \ No newline at end of file diff --git a/src/views/breadcrumb/BreadcrumbDoc.vue b/src/views/breadcrumb/BreadcrumbDoc.vue index d01d89499..7d77b7510 100644 --- a/src/views/breadcrumb/BreadcrumbDoc.vue +++ b/src/views/breadcrumb/BreadcrumbDoc.vue @@ -66,7 +66,7 @@ export default {

Styling

-

Following is the list of structural style classes, for theming classes visit theming page.

+

Following is the list of structural style classes, for theming classes visit theming page.