| @@ -75,9 +75,9 @@ | ||
| 75 | 75 | 'default' => '#595959', |
| 76 | 76 | ], |
| 77 | 77 | // divider related attributes |
| 78 | 78 | 'placeDivider' => [ |
| 79 | - 'type' => 'string', | |
| 79 | + 'type' => [ 'string', 'object' ], | |
| 80 | 80 | 'default' => 'near title', |
| 81 | 81 | ], |
| 82 | 82 | 'dividerPatternUrl' => [ |
| 83 | 83 | 'type' => 'string', |
| @@ -91,9 +91,9 @@ | ||
| 91 | 91 | 'type' => 'string', |
| 92 | 92 | 'default' => '#000000', |
| 93 | 93 | ], |
| 94 | 94 | 'placePrice' => [ |
| 95 | - 'type' => 'string', | |
| 95 | + 'type' => [ 'string', 'object' ], | |
| 96 | 96 | 'default' => 'right', |
| 97 | 97 | ], |
| 98 | 98 | 'priceTag' => [ |
| 99 | 99 | 'type' => 'string', |
| @@ -102,8 +102,12 @@ | ||
| 102 | 102 | 'priceColor' => [ |
| 103 | 103 | 'type' => 'string', |
| 104 | 104 | 'default' => '#595959', |
| 105 | 105 | ], |
| 106 | + 'priceAlignmentCustom' => [ | |
| 107 | + 'type' => 'boolean', | |
| 108 | + 'default' => false, | |
| 109 | + ], | |
| 106 | 110 | ]; |
| 107 | 111 | |
| 108 | 112 | $attributes = array_merge( |
| 109 | 113 | $attributes, |
| @@ -144,11 +148,12 @@ | ||
| 144 | 148 | 'attributeName' => 'width', |
| 145 | 149 | 'attributeObjectKey' => 'value', |
| 146 | 150 | 'isResponsive' => true, |
| 147 | 151 | 'defaultValue' => 100, |
| 148 | - 'defaultValueMobile' => 100, | |
| 149 | - 'defaultValueTablet' => 100, | |
| 150 | - 'hasUnit' => false, | |
| 152 | + 'defaultValueMobile' => '', | |
| 153 | + 'defaultValueTablet' => '', | |
| 154 | + 'hasUnit' => true, | |
| 155 | + 'unitDefaultValue' => '', | |
| 151 | 156 | ] ), |
| 152 | 157 | Range::get_attribute( [ |
| 153 | 158 | 'attributeName' => 'weight', |
| 154 | 159 | 'isResponsive' => false, |
| @@ -165,8 +170,16 @@ | ||
| 165 | 170 | 'isResponsive' => true, |
| 166 | 171 | 'defaultValue' => 10, |
| 167 | 172 | 'defaultValueMobile' => 3, |
| 168 | 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' => '', | |
| 169 | 182 | 'hasUnit' => true, |
| 170 | 183 | 'unitDefaultValue' => 'px', |
| 171 | 184 | ] ), |
| 172 | 185 | ); |