@retailcrm/embed-ui 0.5.23-alpha.2 → 0.5.23-alpha.3

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/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [0.5.23-alpha.3](https://github.com/retailcrm/embed-ui/compare/v0.5.23-alpha.2...v0.5.23-alpha.3) (2025-07-11)
5
+
6
+ ### Features
7
+
8
+ * **v1-contexts:** Added discount.amount, discount.percent, discount.total to order/card context ([c0a23a5](https://github.com/retailcrm/embed-ui/commit/c0a23a5bbaa6e73840d79a6d27d06e3d25eb3cde))
4
9
  ## [0.5.23-alpha.2](https://github.com/retailcrm/embed-ui/compare/v0.5.23-alpha.1...v0.5.23-alpha.2) (2025-07-03)
5
10
 
6
11
  ### Bug Fixes
package/dist/meta.json CHANGED
@@ -374,6 +374,36 @@
374
374
  "ru-RU": "Адрес доставки"
375
375
  },
376
376
  "readonly": false
377
+ },
378
+ {
379
+ "name": "discount.amount",
380
+ "type": "number",
381
+ "description": {
382
+ "en-GB": "One-time discount amount in order currency",
383
+ "es-ES": "Importe del descuento único en la moneda del pedido",
384
+ "ru-RU": "Размер одноразовой скидки в валюте заказа"
385
+ },
386
+ "readonly": false
387
+ },
388
+ {
389
+ "name": "discount.percent",
390
+ "type": "number",
391
+ "description": {
392
+ "en-GB": "One-time discount percentage",
393
+ "es-ES": "Porcentaje de descuento único",
394
+ "ru-RU": "Процент одноразовой скидки"
395
+ },
396
+ "readonly": false
397
+ },
398
+ {
399
+ "name": "discount.total",
400
+ "type": "number",
401
+ "description": {
402
+ "en-GB": "Total order discount",
403
+ "es-ES": "Descuento total del pedido",
404
+ "ru-RU": "Общая скидка по заказу"
405
+ },
406
+ "readonly": true
377
407
  }
378
408
  ],
379
409
  "order/card:items": [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@retailcrm/embed-ui",
3
3
  "type": "module",
4
- "version": "0.5.23-alpha.2",
4
+ "version": "0.5.23-alpha.3",
5
5
  "description": "API and components for creating RetailCRM UI extensions",
6
6
  "repository": "git@github.com:retailcrm/embed-ui.git",
7
7
  "author": "RetailDriverLLC <integration@retailcrm.ru>",
@@ -40,15 +40,15 @@
40
40
  "@omnicajs/symfony-router": "^1.0.0",
41
41
  "@omnicajs/vue-remote": "^0.2.5",
42
42
  "@remote-ui/rpc": "^1.4.5",
43
- "@retailcrm/embed-ui-v1-contexts": "^0.5.23-alpha.2",
44
- "@retailcrm/embed-ui-v1-types": "^0.5.23-alpha.2"
43
+ "@retailcrm/embed-ui-v1-contexts": "^0.5.23-alpha.3",
44
+ "@retailcrm/embed-ui-v1-types": "^0.5.23-alpha.3"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@eslint/eslintrc": "^3.0.2",
48
48
  "@eslint/js": "^9.13.0",
49
49
  "@modulify/git-toolkit": "^0.0.2",
50
50
  "@modulify/pkg": "^1.0.1",
51
- "@retailcrm/embed-ui-v1-testing": "^0.5.23-alpha.2",
51
+ "@retailcrm/embed-ui-v1-testing": "^0.5.23-alpha.3",
52
52
  "@types/git-semver-tags": "^7.0.0",
53
53
  "@types/node": "^22.7.9",
54
54
  "@types/semver": "^7.5.8",