@retailcrm/embed-ui 0.4.1-alpha.16 → 0.4.1-alpha.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/CHANGELOG.md +6 -0
- package/README.md +0 -44
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## [0.4.1-alpha.18](https://github.com/retailcrm/embed-ui/compare/v0.4.1-alpha.17...v0.4.1-alpha.18) (2024-11-27)
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Missing components info for remote root ([ee0cf4a](https://github.com/retailcrm/embed-ui/commit/ee0cf4a33d5f9fe41462f66eb65b1715081cd8c8))
|
|
9
|
+
## [0.4.1-alpha.17](https://github.com/retailcrm/embed-ui/compare/v0.4.1-alpha.16...v0.4.1-alpha.17) (2024-11-27)
|
|
4
10
|
## [0.4.1-alpha.16](https://github.com/retailcrm/embed-ui/compare/v0.4.1-alpha.15...v0.4.1-alpha.16) (2024-11-27)
|
|
5
11
|
|
|
6
12
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -7,47 +7,3 @@ API и компоненты для создания расширений инт
|
|
|
7
7
|
Цели встраивания определяют места, где будет размещена разметка виджета, генерируемая расширением.
|
|
8
8
|
|
|
9
9
|
https://docs.retailcrm.ru/Developers/modules/PublishingModuleMarketplace/JsModulesTargets
|
|
10
|
-
|
|
11
|
-
## Контексты
|
|
12
|
-
|
|
13
|
-
Предоставляют данные из системы, реактивны.
|
|
14
|
-
|
|
15
|
-
### `customer/card`
|
|
16
|
-
|
|
17
|
-
Данные карточки клиента
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { useCustomerCardContext } from '@retailcrm/embed-ui'
|
|
21
|
-
|
|
22
|
-
const customer = useCustomerCardContext()
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
### `customer/card:phone`
|
|
26
|
-
|
|
27
|
-
Данные телефона клиента
|
|
28
|
-
|
|
29
|
-
```typescript
|
|
30
|
-
import { useCustomerCardPhoneContext } from '@retailcrm/embed-ui'
|
|
31
|
-
|
|
32
|
-
const phone = useCustomerCardPhoneContext()
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### `order/card`
|
|
36
|
-
|
|
37
|
-
Данные карточки заказа
|
|
38
|
-
|
|
39
|
-
```typescript
|
|
40
|
-
import { useOrderCardContext } from '@retailcrm/embed-ui'
|
|
41
|
-
|
|
42
|
-
const order = useOrderCardContext()
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
### `settings`
|
|
46
|
-
|
|
47
|
-
Настройки CRM
|
|
48
|
-
|
|
49
|
-
```typescript
|
|
50
|
-
import { useSettingsContext } from '@retailcrm/embed-ui'
|
|
51
|
-
|
|
52
|
-
const settings = useSettingsContext()
|
|
53
|
-
```
|
package/dist/index.cjs
CHANGED
|
@@ -304,13 +304,13 @@ const createRoot = async (channel) => {
|
|
|
304
304
|
"UiError",
|
|
305
305
|
"UiLink",
|
|
306
306
|
"UiLoader",
|
|
307
|
-
"UiMenuItem",
|
|
308
|
-
"UiMenuItemGroup",
|
|
309
307
|
"UiModalSidebar",
|
|
310
308
|
"UiModalWindow",
|
|
311
309
|
"UiModalWindowSurface",
|
|
312
310
|
"UiScrollBox",
|
|
313
311
|
"UiTag",
|
|
312
|
+
"UiToolbarButton",
|
|
313
|
+
"UiToolbarLink",
|
|
314
314
|
"UiTransition",
|
|
315
315
|
"CrmYandexMap"
|
|
316
316
|
]
|
package/dist/index.mjs
CHANGED
|
@@ -302,13 +302,13 @@ const createRoot = async (channel) => {
|
|
|
302
302
|
"UiError",
|
|
303
303
|
"UiLink",
|
|
304
304
|
"UiLoader",
|
|
305
|
-
"UiMenuItem",
|
|
306
|
-
"UiMenuItemGroup",
|
|
307
305
|
"UiModalSidebar",
|
|
308
306
|
"UiModalWindow",
|
|
309
307
|
"UiModalWindowSurface",
|
|
310
308
|
"UiScrollBox",
|
|
311
309
|
"UiTag",
|
|
310
|
+
"UiToolbarButton",
|
|
311
|
+
"UiToolbarLink",
|
|
312
312
|
"UiTransition",
|
|
313
313
|
"CrmYandexMap"
|
|
314
314
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retailcrm/embed-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.1-alpha.
|
|
4
|
+
"version": "0.4.1-alpha.18",
|
|
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>",
|