@retailcrm/embed-ui 0.5.10 → 0.5.12

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,22 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [0.5.12](https://github.com/retailcrm/embed-ui/compare/v0.5.11...v0.5.12) (2025-01-23)
5
+
6
+ ### Features
7
+
8
+ * **v1-contexts:** Added field for system routing data ([5638050](https://github.com/retailcrm/embed-ui/commit/563805062d3ae2c90f30bb65fc8bda3a18fdc374))
9
+ * **v1-contexts:** Added isAdmin/isManager flags to user/current context ([a0c491a](https://github.com/retailcrm/embed-ui/commit/a0c491a030f333c606431b9ea33b4e4b95624024))
10
+
11
+ ### Bug Fixes
12
+
13
+ * **v1-components:** Adjusting types in package according to the fix from v1-types ([a3e8f1f](https://github.com/retailcrm/embed-ui/commit/a3e8f1fd79e3730df806f372712e59fa0b9853eb))
14
+ * **v1-types:** Accepts method of fields in schemas ([deffa6f](https://github.com/retailcrm/embed-ui/commit/deffa6ff04ee3a50c4282d7264e9841f08194411))
15
+ ## [0.5.11](https://github.com/retailcrm/embed-ui/compare/v0.5.10...v0.5.11) (2025-01-22)
16
+
17
+ ### Bug Fixes
18
+
19
+ * **v1-components:** If workers array is empty, original image source will be used ([27fa33c](https://github.com/retailcrm/embed-ui/commit/27fa33c1ee5f10dbbf007ad0ddce5c77d7dca48f))
4
20
  ## [0.5.10](https://github.com/retailcrm/embed-ui/compare/v0.5.9...v0.5.10) (2025-01-21)
5
21
 
6
22
  ### Features
package/dist/meta.json CHANGED
@@ -456,6 +456,26 @@
456
456
  "ru-RU": "Символьные коды доступных пользователю разрешений"
457
457
  },
458
458
  "readonly": true
459
+ },
460
+ {
461
+ "name": "isAdmin",
462
+ "type": "boolean",
463
+ "description": {
464
+ "en-GB": "Indicates whether the user has administrator privileges",
465
+ "es-ES": "Indica si el usuario tiene privilegios de administrador",
466
+ "ru-RU": "Указывает, имеет ли пользователь права администратора"
467
+ },
468
+ "readonly": true
469
+ },
470
+ {
471
+ "name": "isManager",
472
+ "type": "boolean",
473
+ "description": {
474
+ "en-GB": "Indicates whether the user has manager privileges",
475
+ "es-ES": "Indica si el usuario tiene privilegios de gerente",
476
+ "ru-RU": "Указывает, имеет ли пользователь права менеджера"
477
+ },
478
+ "readonly": true
459
479
  }
460
480
  ],
461
481
  "settings": [
@@ -478,6 +498,16 @@
478
498
  "ru-RU": "Текущая локаль системы"
479
499
  },
480
500
  "readonly": true
501
+ },
502
+ {
503
+ "name": "system.routing",
504
+ "type": "RoutingData",
505
+ "description": {
506
+ "en-GB": "Data for Symfony's JS router",
507
+ "es-ES": "Datos para el enrutador JS de Symfony",
508
+ "ru-RU": "Данные для js-маршрутизатора symfony"
509
+ },
510
+ "readonly": true
481
511
  }
482
512
  ]
483
513
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@retailcrm/embed-ui",
3
3
  "type": "module",
4
- "version": "0.5.10",
4
+ "version": "0.5.12",
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>",
@@ -37,13 +37,13 @@
37
37
  "dependencies": {
38
38
  "@omnicajs/vue-remote": "^0.2.5",
39
39
  "@remote-ui/rpc": "^1.4.5",
40
- "@retailcrm/embed-ui-v1-contexts": "^0.5.10",
41
- "@retailcrm/embed-ui-v1-types": "^0.5.10"
40
+ "@retailcrm/embed-ui-v1-contexts": "^0.5.12",
41
+ "@retailcrm/embed-ui-v1-types": "^0.5.12"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@eslint/eslintrc": "^3.0.2",
45
45
  "@eslint/js": "^9.13.0",
46
- "@retailcrm/embed-ui-v1-testing": "^0.5.10",
46
+ "@retailcrm/embed-ui-v1-testing": "^0.5.12",
47
47
  "@types/git-semver-tags": "^7.0.0",
48
48
  "@types/node": "^22.7.9",
49
49
  "@types/semver": "^7.5.8",