PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 3.1.1
JetFormBuilder — Dynamic Blocks Form Builder v3.1.1
3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.10 2.1.11 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 3.0.0 3.0.0.1 3.0.0.2 3.0.0.3 3.0.1 3.0.1.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.0.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.2 3.2.3 3.3.0 3.3.1 3.3.2 3.3.3 3.3.3.1 3.3.4 3.3.4.1 3.3.4.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.5.1 3.4.5.2 3.4.6 3.4.7 3.4.7.1 3.5.0 3.5.1 3.5.1.1 3.5.1.2 3.5.2 3.5.2.1 3.5.3 3.5.4 3.5.5 3.5.6 3.5.6.1 3.5.6.2 3.5.6.3 3.6.0
jetformbuilder / assets / src / admin-vuex-package / components / PostBoxGrid.vue
jetformbuilder / assets / src / admin-vuex-package / components Last commit date
Alerts 2 years ago BoxActions 2 years ago PaymentsPage 2 years ago TableColumns 2 years ago VuiBoxes 2 years ago ActionsWithFilters.vue 2 years ago ChooseAction.vue 2 years ago ClearFiltersButton.vue 2 years ago DetailsTableWithStore.vue 2 years ago EntriesList.vue 2 years ago EntriesTable.vue 2 years ago EntriesTableSkeleton.vue 2 years ago EntryColumnList.vue 2 years ago EntryColumnsTable.vue 2 years ago FormBuilderPage.vue 2 years ago PageActions.vue 2 years ago PostBoxContainer.vue 2 years ago PostBoxGrid.vue 2 years ago PostBoxSimple.vue 2 years ago PostBoxSkeleton.vue 2 years ago PostBoxTable.vue 2 years ago SideBarBoxes.vue 2 years ago TablePagination.vue 2 years ago
PostBoxGrid.vue
84 lines
1 <template>
2 <div id="poststuff">
3 <div id="post-body" :class="bodyClasses">
4 <div id="post-body-content" v-if="$slots.topBody">
5 <slot name="topBody"></slot>
6 </div>
7 <PostBoxContainer
8 v-for="({ wrap_id, id, classes, boxes }) in containers"
9 :key="wrap_id"
10 :wrap-id="wrap_id"
11 :id="id"
12 :classes="classes"
13 >
14 <PostBoxSimple
15 v-for="({
16 slug,
17 title,
18 list,
19 render_type = false
20 }) in boxes"
21 :key="slug"
22 :slug="slug"
23 :title="title"
24 :list="list"
25 :render-type="render_type"
26 >
27 <template #header-actions>
28 <slot :name="'header-actions-' + slug" v-bind="{ list }"></slot>
29 </template>
30 <template #default>
31 <slot :name="'body-' + slug" v-bind="{ list }"></slot>
32 </template>
33 <template #before>
34 <slot :name="'before-' + slug" v-bind="{ list }"></slot>
35 </template>
36 <template #after>
37 <slot :name="'after-' + slug" v-bind="{ list }"></slot>
38 </template>
39 <template #in-header v-if="$slots['in-header-' + slug ]">
40 <slot :name="'in-header-' + slug"></slot>
41 </template>
42 <template #in-footer v-if="$slots['in-footer-' + slug ]">
43 <slot :name="'in-footer-' + slug"></slot>
44 </template>
45 </PostBoxSimple>
46 </PostBoxContainer>
47 </div>
48 </div>
49 </template>
50
51 <script>
52 import PostBoxContainer from './PostBoxContainer';
53 import PostBoxSimple from './PostBoxSimple';
54 import EditTableSwitcher from './BoxActions/EditTableSwitcher';
55
56 export default {
57 name: 'PostBoxGrid',
58 props: {
59 containers: {
60 type: Array,
61 default() {
62 return window?.JetFBPageConfig?.containers ?? [];
63 },
64 },
65 },
66 components: {
67 EditTableSwitcher,
68 PostBoxContainer,
69 PostBoxSimple,
70 },
71 computed: {
72 bodyClasses() {
73 return {
74 'metabox-holder': true,
75 [ 'columns-' + this.containers?.length ]: true,
76 };
77 },
78 },
79 };
80 </script>
81
82 <style>
83
84 </style>