|
| 1 | +import AttributeData from '@data/faker/attribute'; |
| 2 | +import AttributeValueData from '@data/faker/attributeValue'; |
| 3 | + |
| 4 | +export default { |
| 5 | + size: new AttributeData({ |
| 6 | + id: 1, |
| 7 | + name: 'Size', |
| 8 | + values: [ |
| 9 | + // 0 : small |
| 10 | + new AttributeValueData({ |
| 11 | + id: 1, |
| 12 | + value: 'S', |
| 13 | + position: 1, |
| 14 | + }), |
| 15 | + // 1 : medium |
| 16 | + new AttributeValueData({ |
| 17 | + id: 1, |
| 18 | + value: 'M', |
| 19 | + position: 1, |
| 20 | + }), |
| 21 | + // 2 : large |
| 22 | + new AttributeValueData({ |
| 23 | + id: 1, |
| 24 | + value: 'L', |
| 25 | + position: 1, |
| 26 | + }), |
| 27 | + // 3 : xLarge |
| 28 | + new AttributeValueData({ |
| 29 | + id: 1, |
| 30 | + value: 'XL', |
| 31 | + position: 1, |
| 32 | + }), |
| 33 | + ], |
| 34 | + position: 1, |
| 35 | + }), |
| 36 | + color: new AttributeData({ |
| 37 | + id: 2, |
| 38 | + name: 'Color', |
| 39 | + values: [ |
| 40 | + // 0 : grey |
| 41 | + new AttributeValueData({ |
| 42 | + id: 5, value: 'Grey', color: '#AAB2BD', position: 1, |
| 43 | + }), |
| 44 | + // 1 : taupe |
| 45 | + new AttributeValueData({ |
| 46 | + id: 6, value: 'Taupe', color: '#CFC4A6', position: 2, |
| 47 | + }), |
| 48 | + // 2 : beige |
| 49 | + new AttributeValueData({ |
| 50 | + id: 7, value: 'Beige', color: '#f5f5dc', position: 3, |
| 51 | + }), |
| 52 | + // 3 : white |
| 53 | + new AttributeValueData({ |
| 54 | + id: 8, value: 'White', color: '#ffffff', position: 4, |
| 55 | + }), |
| 56 | + // 4 : offWhite |
| 57 | + new AttributeValueData({ |
| 58 | + id: 9, value: 'Off White', color: '#faebd7', position: 5, |
| 59 | + }), |
| 60 | + // 5 : red |
| 61 | + new AttributeValueData({ |
| 62 | + id: 10, value: 'Red', color: '#E84C3D', position: 6, |
| 63 | + }), |
| 64 | + // 6 : black |
| 65 | + new AttributeValueData({ |
| 66 | + id: 11, value: 'Black', color: '#434A54', position: 7, |
| 67 | + }), |
| 68 | + // 7 : camel |
| 69 | + new AttributeValueData({ |
| 70 | + id: 12, value: 'Camel', color: '#C19A6B', position: 8, |
| 71 | + }), |
| 72 | + // 8 : orange |
| 73 | + new AttributeValueData({ |
| 74 | + id: 13, value: 'Orange', color: '#F39C11', position: 9, |
| 75 | + }), |
| 76 | + // 9 : blue |
| 77 | + new AttributeValueData({ |
| 78 | + id: 14, value: 'Blue', color: '#5D9CEC', position: 10, |
| 79 | + }), |
| 80 | + // 10 : green |
| 81 | + new AttributeValueData({ |
| 82 | + id: 15, value: 'Green', color: '#A0D468', position: 11, |
| 83 | + }), |
| 84 | + // 11 : yellow |
| 85 | + new AttributeValueData({ |
| 86 | + id: 16, value: 'Yellow', color: '#F1C40F', position: 12, |
| 87 | + }), |
| 88 | + // 12 : brown |
| 89 | + new AttributeValueData({ |
| 90 | + id: 17, value: 'Brown', color: '#964B00', position: 13, |
| 91 | + }), |
| 92 | + // 13 : pink |
| 93 | + new AttributeValueData({ |
| 94 | + id: 18, value: 'Pink', color: '#FCCACD', position: 14, |
| 95 | + }), |
| 96 | + ], |
| 97 | + position: 2, |
| 98 | + }), |
| 99 | + dimension: new AttributeData({ |
| 100 | + id: 3, |
| 101 | + name: 'Dimension', |
| 102 | + values: [ |
| 103 | + // 0 : first |
| 104 | + new AttributeValueData({id: 19, value: '40*60cm', position: 1}), |
| 105 | + // 1 : second |
| 106 | + new AttributeValueData({id: 20, value: '60*90cm', position: 2}), |
| 107 | + // 2 : third |
| 108 | + new AttributeValueData({id: 21, value: '80*120cm', position: 3}), |
| 109 | + ], |
| 110 | + position: 3, |
| 111 | + }), |
| 112 | + paperType: new AttributeData({ |
| 113 | + id: 4, |
| 114 | + name: 'Paper Type', |
| 115 | + values: [ |
| 116 | + // 0 : ruled |
| 117 | + new AttributeValueData({id: 22, value: 'Rules', position: 1}), |
| 118 | + // 1 : plain |
| 119 | + new AttributeValueData({id: 23, value: 'Plain', position: 2}), |
| 120 | + // 2 : squared |
| 121 | + new AttributeValueData({id: 24, value: 'Squared', position: 3}), |
| 122 | + // 3 : doted |
| 123 | + new AttributeValueData({id: 25, value: 'Doted', position: 4}), |
| 124 | + ], |
| 125 | + position: 4, |
| 126 | + displayed: true, |
| 127 | + }), |
| 128 | +}; |
0 commit comments