meemup-library 1.2.16 → 1.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/controllers/ProductModalController.js +4 -2
- package/dist/interfaces/ISelectedExtraItem.d.ts +1 -0
- package/dist/interfaces/ISelectedExtraItem.js +0 -5
- package/dist/interfaces/IStarMicronicPrinter.d.ts +1 -0
- package/dist/interfaces/database/IDProductDefaultExtraItem.d.ts +1 -0
- package/dist/interfaces/order/IOrderExtraItem.d.ts +1 -0
- package/dist/interfaces/print/IOrderDetailProductsExtra.d.ts +2 -0
- package/package.json +2 -2
|
@@ -125,7 +125,8 @@ export default new class ProductModalController {
|
|
|
125
125
|
text: `${extraItem.quantity}x ${extraItem.title}`,
|
|
126
126
|
cartItemId: -1,
|
|
127
127
|
extraItemTitle: extraItem.title,
|
|
128
|
-
extraTitle: ((_a = extras.find(i => i.id === extra.extraId)) === null || _a === void 0 ? void 0 : _a.title) + ""
|
|
128
|
+
extraTitle: ((_a = extras.find(i => i.id === extra.extraId)) === null || _a === void 0 ? void 0 : _a.title) + "",
|
|
129
|
+
extraItemOptionId: extraItem.optionId
|
|
129
130
|
});
|
|
130
131
|
});
|
|
131
132
|
});
|
|
@@ -213,7 +214,8 @@ export default new class ProductModalController {
|
|
|
213
214
|
oldId: extraItemModel.oldId,
|
|
214
215
|
packagingCost: extraItemModel.packagingCost,
|
|
215
216
|
weight: extraItemModel.weight,
|
|
216
|
-
options: extraItemModel.options
|
|
217
|
+
options: extraItemModel.options,
|
|
218
|
+
optionId: it.extraItemOptionId
|
|
217
219
|
});
|
|
218
220
|
}
|
|
219
221
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.18",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"remove:one": "rimraf dist",
|
|
12
12
|
"remove:two": "rimraf ./src/dist",
|
|
13
13
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
-
"commit": "git add . && git commit -m \"version.1.2.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.2.18\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|