PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 1.2.2
JetFormBuilder — Dynamic Blocks Form Builder v1.2.2
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 / framework / vue-ui / assets / src / js / components / layout / repeater-item.js
jetformbuilder / framework / vue-ui / assets / src / js / components / layout Last commit date
button.js 5 years ago collapse.js 5 years ago component-wrapper.js 5 years ago list-table-heading.js 5 years ago list-table-item.js 5 years ago list-table.js 5 years ago notice-component.js 5 years ago notice.js 5 years ago pagination.js 5 years ago popup.js 5 years ago repeater-item.js 5 years ago repeater.js 5 years ago tabs-panel.js 5 years ago tabs.js 5 years ago title.js 5 years ago
repeater-item.js
55 lines
1 import { ElementMixin, HandleDirective } from 'vue-slicksort';
2
3 const RepeaterItem = {
4 name: 'cx-vui-repeater-item',
5 template: '#cx-vui-repeater-item',
6 mixins: [ ElementMixin ],
7 directives: { handle: HandleDirective },
8 props: {
9 title: {
10 type: String,
11 },
12 subtitle: {
13 type: String,
14 },
15 collapsed: {
16 type: Boolean,
17 default: true,
18 },
19 index: {
20 type: Number,
21 },
22 customCss: {
23 type: String,
24 }
25 },
26 data() {
27 return {
28 fieldData: this.field,
29 isCollapsed: this.collapsed,
30 showConfirmTip: false,
31 };
32 },
33 computed: {
34 customCssClass() {
35 return this.customCss;
36 },
37 },
38 methods: {
39 handleCopy() {
40 this.$emit( 'clone-item', this.index );
41 },
42 handleDelete() {
43 this.showConfirmTip = true;
44 },
45 confrimDeletion() {
46 this.showConfirmTip = false;
47 this.$emit( 'delete-item', this.index );
48 },
49 cancelDeletion() {
50 this.showConfirmTip = false;
51 },
52 },
53 };
54
55 export default RepeaterItem;