| @@ -17,8 +17,12 @@ | ||
| 17 | 17 | 'block_id' => [ |
| 18 | 18 | 'type' => 'string', |
| 19 | 19 | 'default' => '', |
| 20 | 20 | ], |
| 21 | + 'blockVersion' => array( | |
| 22 | + 'type' => 'number', | |
| 23 | + 'default' => '', | |
| 24 | + ), | |
| 21 | 25 | 'device' => [ |
| 22 | 26 | 'type' => 'string', |
| 23 | 27 | 'default' => '', |
| 24 | 28 | ], |
| @@ -67,13 +71,13 @@ | ||
| 67 | 71 | 'default' => 'p', |
| 68 | 72 | ], |
| 69 | 73 | 'descriptionColor' => [ |
| 70 | 74 | 'type' => 'string', |
| 71 | - 'default' => '#74777C', | |
| 75 | + 'default' => '#595959', | |
| 72 | 76 | ], |
| 73 | 77 | // divider related attributes |
| 74 | 78 | 'placeDivider' => [ |
| 75 | - 'type' => 'string', | |
| 79 | + 'type' => [ 'string', 'object' ], | |
| 76 | 80 | 'default' => 'near title', |
| 77 | 81 | ], |
| 78 | 82 | 'dividerPatternUrl' => [ |
| 79 | 83 | 'type' => 'string', |
| @@ -87,9 +91,9 @@ | ||
| 87 | 91 | 'type' => 'string', |
| 88 | 92 | 'default' => '#000000', |
| 89 | 93 | ], |
| 90 | 94 | 'placePrice' => [ |
| 91 | - 'type' => 'string', | |
| 95 | + 'type' => [ 'string', 'object' ], | |
| 92 | 96 | 'default' => 'right', |
| 93 | 97 | ], |
| 94 | 98 | 'priceTag' => [ |
| 95 | 99 | 'type' => 'string', |
| @@ -98,8 +102,12 @@ | ||
| 98 | 102 | 'priceColor' => [ |
| 99 | 103 | 'type' => 'string', |
| 100 | 104 | 'default' => '#595959', |
| 101 | 105 | ], |
| 106 | + 'priceAlignmentCustom' => [ | |
| 107 | + 'type' => 'boolean', | |
| 108 | + 'default' => false, | |
| 109 | + ], | |
| 102 | 110 | ]; |
| 103 | 111 | |
| 104 | 112 | $attributes = array_merge( |
| 105 | 113 | $attributes, |
| @@ -140,11 +148,12 @@ | ||
| 140 | 148 | 'attributeName' => 'width', |
| 141 | 149 | 'attributeObjectKey' => 'value', |
| 142 | 150 | 'isResponsive' => true, |
| 143 | 151 | 'defaultValue' => 100, |
| 144 | - 'defaultValueMobile' => 100, | |
| 145 | - 'defaultValueTablet' => 100, | |
| 146 | - 'hasUnit' => false, | |
| 152 | + 'defaultValueMobile' => '', | |
| 153 | + 'defaultValueTablet' => '', | |
| 154 | + 'hasUnit' => true, | |
| 155 | + 'unitDefaultValue' => '', | |
| 147 | 156 | ] ), |
| 148 | 157 | Range::get_attribute( [ |
| 149 | 158 | 'attributeName' => 'weight', |
| 150 | 159 | 'isResponsive' => false, |
| @@ -161,8 +170,16 @@ | ||
| 161 | 170 | 'isResponsive' => true, |
| 162 | 171 | 'defaultValue' => 10, |
| 163 | 172 | 'defaultValueMobile' => 3, |
| 164 | 173 | 'defaultValueTablet' => 1, |
| 174 | + 'hasUnit' => true, | |
| 175 | + 'unitDefaultValue' => 'px', | |
| 176 | + ] ), | |
| 177 | + Range::get_attribute( [ | |
| 178 | + 'attributeName' => 'titlePriceGap', | |
| 179 | + 'attributeObjectKey' => 'value', | |
| 180 | + 'isResponsive' => true, | |
| 181 | + 'defaultValue' => '', | |
| 165 | 182 | 'hasUnit' => true, |
| 166 | 183 | 'unitDefaultValue' => 'px', |
| 167 | 184 | ] ), |
| 168 | 185 | ); |