components
4 years ago
hoc
4 years ago
hooks
4 years ago
inspector-controls
4 years ago
utils
4 years ago
DynamicRenderer.js
4 years ago
InspectorControls.js
4 years ago
attributes.js
4 years ago
attributes.js
112 lines
| 1 | export default { |
| 2 | useDynamicData: { |
| 3 | type: 'boolean', |
| 4 | default: false, |
| 5 | }, |
| 6 | |
| 7 | isPagination: { |
| 8 | type: 'boolean', |
| 9 | default: false, |
| 10 | }, |
| 11 | |
| 12 | isCaption: { |
| 13 | type: 'boolean', |
| 14 | default: false, |
| 15 | }, |
| 16 | |
| 17 | dynamicContentType: { |
| 18 | type: 'string', |
| 19 | default: '', |
| 20 | }, |
| 21 | |
| 22 | dynamicLinkType: { |
| 23 | type: 'string', |
| 24 | default: '', |
| 25 | }, |
| 26 | |
| 27 | dynamicLinkRemoveIfEmpty: { |
| 28 | type: 'boolean', |
| 29 | default: false, |
| 30 | }, |
| 31 | |
| 32 | dynamicSource: { |
| 33 | type: 'string', |
| 34 | default: 'current-post', |
| 35 | }, |
| 36 | |
| 37 | postId: { |
| 38 | type: 'number', |
| 39 | default: '', |
| 40 | }, |
| 41 | |
| 42 | postType: { |
| 43 | type: 'string', |
| 44 | default: 'post', |
| 45 | }, |
| 46 | |
| 47 | dateType: { |
| 48 | type: 'string', |
| 49 | default: 'published', |
| 50 | }, |
| 51 | |
| 52 | dateReplacePublished: { |
| 53 | type: 'boolean', |
| 54 | default: false, |
| 55 | }, |
| 56 | |
| 57 | metaFieldName: { |
| 58 | type: 'string', |
| 59 | default: '', |
| 60 | }, |
| 61 | |
| 62 | linkMetaFieldName: { |
| 63 | type: 'string', |
| 64 | default: '', |
| 65 | }, |
| 66 | |
| 67 | linkMetaFieldType: { |
| 68 | type: 'string', |
| 69 | default: '', |
| 70 | }, |
| 71 | |
| 72 | termTaxonomy: { |
| 73 | type: 'string', |
| 74 | default: '', |
| 75 | }, |
| 76 | |
| 77 | termSeparator: { |
| 78 | type: 'string', |
| 79 | default: ', ', |
| 80 | }, |
| 81 | |
| 82 | noCommentsText: { |
| 83 | type: 'string', |
| 84 | default: '', |
| 85 | }, |
| 86 | |
| 87 | singleCommentText: { |
| 88 | type: 'string', |
| 89 | default: '', |
| 90 | }, |
| 91 | |
| 92 | multipleCommentsText: { |
| 93 | type: 'string', |
| 94 | default: '', |
| 95 | }, |
| 96 | |
| 97 | useDefaultMoreLink: { |
| 98 | type: 'boolean', |
| 99 | default: true, |
| 100 | }, |
| 101 | |
| 102 | customMoreLinkText: { |
| 103 | type: 'string', |
| 104 | default: '', |
| 105 | }, |
| 106 | |
| 107 | excerptLength: { |
| 108 | type: 'number', |
| 109 | default: generateBlocksInfo.excerptLength, |
| 110 | }, |
| 111 | }; |
| 112 |