@retailcrm/embed-ui 0.3.2 → 0.3.4

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
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### 0.3.4 (2024-11-21)
6
+
7
+ ### [0.3.3](https://github.com/retailcrm/embed-ui/compare/v0.3.2...v0.3.3) (2024-11-20)
8
+
9
+
10
+ ### Features
11
+
12
+ * Добавил блок со списком использований контекстов ([6bdd5d6](https://github.com/retailcrm/embed-ui/commit/6bdd5d65e4516811ae249c128e51f4f302f33589))
13
+ * Добавил испанские переводы ([0329323](https://github.com/retailcrm/embed-ui/commit/032932359996693b70fb48ed05040dd66d5015ac))
14
+
15
+
16
+ ### Fixes
17
+
18
+ * Corrections of documentation types ([dc9f297](https://github.com/retailcrm/embed-ui/commit/dc9f297b9f0bae028c25fef9e9480a18953ca15c))
19
+ * tsconfig module type ([a0f01c1](https://github.com/retailcrm/embed-ui/commit/a0f01c1bf396b80c2fced1337eb4acb24ac6b90d))
20
+
5
21
  ### [0.3.2](https://github.com/retailcrm/embed-ui/compare/v0.3.1...v0.3.2) (2024-11-20)
6
22
 
7
23
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@retailcrm/embed-ui",
3
3
  "type": "module",
4
- "version": "0.3.2",
4
+ "version": "0.3.4",
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>",
package/dist/meta.json DELETED
@@ -1,427 +0,0 @@
1
- {
2
- "contexts": {
3
- "customer/card": [
4
- {
5
- "name": "id",
6
- "type": "number | null",
7
- "description": {
8
- "en-GB": "Customer ID",
9
- "es-ES": "",
10
- "ru-RU": "ID клиента"
11
- },
12
- "readonly": true
13
- },
14
- {
15
- "name": "externalId",
16
- "type": "string",
17
- "description": {
18
- "en-GB": "Customer external ID",
19
- "es-ES": "",
20
- "ru-RU": "Внешний ID клиента"
21
- },
22
- "readonly": true
23
- },
24
- {
25
- "name": "email",
26
- "type": "string",
27
- "description": {
28
- "en-GB": "Customer email",
29
- "es-ES": "",
30
- "ru-RU": "Email клиента"
31
- },
32
- "readonly": true
33
- },
34
- {
35
- "name": "phones",
36
- "type": "Array<string>",
37
- "description": {
38
- "en-GB": "Customer phone list",
39
- "es-ES": "",
40
- "ru-RU": "Список телефонов клиента"
41
- },
42
- "readonly": true
43
- }
44
- ],
45
- "customer/card:phone": [
46
- {
47
- "name": "value",
48
- "type": "string",
49
- "description": {
50
- "en-GB": "Customer phone",
51
- "es-ES": "",
52
- "ru-RU": "Телефон клиента"
53
- },
54
- "readonly": true
55
- },
56
- {
57
- "name": "index",
58
- "type": "number",
59
- "description": {
60
- "en-GB": "Serial number of the phone in the list",
61
- "es-ES": "",
62
- "ru-RU": "Порядковый номер телефона в списке"
63
- },
64
- "readonly": true
65
- }
66
- ],
67
- "order/card": [
68
- {
69
- "name": "customer.email",
70
- "type": "string | null",
71
- "description": {
72
- "en-GB": "Customer email",
73
- "es-ES": "",
74
- "ru-RU": "Email клиента"
75
- },
76
- "readonly": false
77
- },
78
- {
79
- "name": "customer.phone",
80
- "type": "string | null",
81
- "description": {
82
- "en-GB": "Customer phone",
83
- "es-ES": "",
84
- "ru-RU": "Телефон клиента"
85
- },
86
- "readonly": false
87
- },
88
- {
89
- "name": "delivery.address",
90
- "type": "string | null",
91
- "description": {
92
- "en-GB": "Delivery address",
93
- "es-ES": "",
94
- "ru-RU": "Адрес доставки"
95
- },
96
- "readonly": false
97
- }
98
- ],
99
- "settings": [
100
- {
101
- "name": "order.templates.number.api",
102
- "type": "string",
103
- "description": {
104
- "en-GB": "Number template for orders created with API",
105
- "es-ES": "",
106
- "ru-RU": "Шаблон номера заказов, создаваемых через API"
107
- },
108
- "readonly": true
109
- },
110
- {
111
- "name": "order.templates.number.crm",
112
- "type": "string",
113
- "description": {
114
- "en-GB": "Number template for orders created with CRM's interface",
115
- "es-ES": "",
116
- "ru-RU": "Шаблон номера заказов, создаваемых через интерфейс CRM"
117
- },
118
- "readonly": true
119
- },
120
- {
121
- "name": "system.locale",
122
- "type": "'en-GB' | 'es-ES' | 'ru-RU'",
123
- "description": {
124
- "en-GB": "Current system's locale",
125
- "es-ES": "",
126
- "ru-RU": "Текущая локаль системы"
127
- },
128
- "readonly": true
129
- }
130
- ]
131
- },
132
- "targets": [
133
- {
134
- "id": "customer/card:phone",
135
- "description": {
136
- "en-GB": "Widget for customer phone list item",
137
- "es-ES": "",
138
- "ru-RU": "Виджет для элемента списка телефонов клиента"
139
- },
140
- "location": {
141
- "en-GB": "Right after the phone number in the list",
142
- "es-ES": "",
143
- "ru-RU": "Сразу после номера телефона в списке"
144
- },
145
- "contexts": [
146
- "customer/card",
147
- "customer/card:phone",
148
- "settings"
149
- ]
150
- },
151
- {
152
- "id": "order/card:common.before",
153
- "description": {
154
- "en-GB": "Widget for the section with common data",
155
- "es-ES": "",
156
- "ru-RU": "Виджет для секции с основными данными"
157
- },
158
- "location": {
159
- "en-GB": "Section start, right above the input fields",
160
- "es-ES": "",
161
- "ru-RU": "Начало секции, над полями ввода"
162
- },
163
- "contexts": [
164
- "order/card",
165
- "settings"
166
- ]
167
- },
168
- {
169
- "id": "order/card:common.after",
170
- "description": {
171
- "en-GB": "Widget for the section with common data",
172
- "es-ES": "",
173
- "ru-RU": "Виджет для секции с основными данными"
174
- },
175
- "location": {
176
- "en-GB": "Section end, right under the input fields",
177
- "es-ES": "",
178
- "ru-RU": "Конец секции, под полями ввода"
179
- },
180
- "contexts": [
181
- "order/card",
182
- "settings"
183
- ]
184
- },
185
- {
186
- "id": "order/card:customer.before",
187
- "description": {
188
- "en-GB": "Widget for the section with customer data",
189
- "es-ES": "",
190
- "ru-RU": "Виджет для секции с данными клиента"
191
- },
192
- "location": {
193
- "en-GB": "Section start, right above the input fields",
194
- "es-ES": "",
195
- "ru-RU": "Начало секции, над полями ввода"
196
- },
197
- "contexts": [
198
- "order/card",
199
- "settings"
200
- ]
201
- },
202
- {
203
- "id": "order/card:customer.after",
204
- "description": {
205
- "en-GB": "Widget for the section with customer data",
206
- "es-ES": "",
207
- "ru-RU": "Виджет для секции с данными клиента"
208
- },
209
- "location": {
210
- "en-GB": "Section end, right under the input fields",
211
- "es-ES": "",
212
- "ru-RU": "Конец секции, под полями ввода"
213
- },
214
- "contexts": [
215
- "order/card",
216
- "settings"
217
- ]
218
- },
219
- {
220
- "id": "order/card:customer.email",
221
- "description": {
222
- "en-GB": "Widget for customer email input field",
223
- "es-ES": "",
224
- "ru-RU": "Виджет для поля ввода email клиента"
225
- },
226
- "location": {
227
- "en-GB": "Right after the input field",
228
- "es-ES": "",
229
- "ru-RU": "Сразу после поля ввода"
230
- },
231
- "contexts": [
232
- "order/card",
233
- "settings"
234
- ]
235
- },
236
- {
237
- "id": "order/card:customer.phone",
238
- "description": {
239
- "en-GB": "Widget for customer phone input field",
240
- "es-ES": "",
241
- "ru-RU": "Виджет для поля ввода телефона клиента"
242
- },
243
- "location": {
244
- "en-GB": "Right after the input field",
245
- "es-ES": "",
246
- "ru-RU": "Сразу после поля ввода"
247
- },
248
- "contexts": [
249
- "order/card",
250
- "settings"
251
- ]
252
- },
253
- {
254
- "id": "order/card:list.before",
255
- "description": {
256
- "en-GB": "Widget for the list of ordered items",
257
- "es-ES": "",
258
- "ru-RU": "Виджет для списка позиций заказа"
259
- },
260
- "location": {
261
- "en-GB": "Section start, right above the list",
262
- "es-ES": "",
263
- "ru-RU": "Начало секции, над списком"
264
- },
265
- "contexts": [
266
- "order/card",
267
- "settings"
268
- ]
269
- },
270
- {
271
- "id": "order/card:list.after",
272
- "description": {
273
- "en-GB": "Widget for the list of ordered items",
274
- "es-ES": "",
275
- "ru-RU": "Виджет для списка позиций заказа"
276
- },
277
- "location": {
278
- "en-GB": "Section start, right under the list",
279
- "es-ES": "",
280
- "ru-RU": "Начало секции, под списком"
281
- },
282
- "contexts": [
283
- "order/card",
284
- "settings"
285
- ]
286
- },
287
- {
288
- "id": "order/card:store.before",
289
- "description": {
290
- "en-GB": "Widget for the section with warehouse data",
291
- "es-ES": "",
292
- "ru-RU": "Виджет для секции с данными склада"
293
- },
294
- "location": {
295
- "en-GB": "Section start, right above the input fields",
296
- "es-ES": "",
297
- "ru-RU": "Начало секции, над полями ввода"
298
- },
299
- "contexts": [
300
- "order/card",
301
- "settings"
302
- ]
303
- },
304
- {
305
- "id": "order/card:dimensions.before",
306
- "description": {
307
- "en-GB": "Widget for the section with dimensions and weight",
308
- "es-ES": "",
309
- "ru-RU": "Виджет для секции с данными габаритов и веса"
310
- },
311
- "location": {
312
- "en-GB": "Section start, right above the input fields",
313
- "es-ES": "",
314
- "ru-RU": "Начало секции, над полями ввода"
315
- },
316
- "contexts": [
317
- "order/card",
318
- "settings"
319
- ]
320
- },
321
- {
322
- "id": "order/card:delivery.before",
323
- "description": {
324
- "en-GB": "Widget for the section with delivery data",
325
- "es-ES": "",
326
- "ru-RU": "Виджет для секции с данными доставки"
327
- },
328
- "location": {
329
- "en-GB": "Section start, right above the input fields",
330
- "es-ES": "",
331
- "ru-RU": "Начало секции, над полями ввода"
332
- },
333
- "contexts": [
334
- "order/card",
335
- "settings"
336
- ]
337
- },
338
- {
339
- "id": "order/card:delivery.after",
340
- "description": {
341
- "en-GB": "Widget for the section with delivery data",
342
- "es-ES": "",
343
- "ru-RU": "Виджет для секции с данными доставки"
344
- },
345
- "location": {
346
- "en-GB": "Section end, right under the input fields",
347
- "es-ES": "",
348
- "ru-RU": "Конец секции, под полями ввода"
349
- },
350
- "contexts": [
351
- "order/card",
352
- "settings"
353
- ]
354
- },
355
- {
356
- "id": "order/card:delivery.address",
357
- "description": {
358
- "en-GB": "Widget for delivery address input field",
359
- "es-ES": "",
360
- "ru-RU": "Виджет для поля ввода адреса доставки"
361
- },
362
- "location": {
363
- "en-GB": "Right under the input field",
364
- "es-ES": "",
365
- "ru-RU": "Под полем ввода адреса"
366
- },
367
- "contexts": [
368
- "order/card",
369
- "settings"
370
- ]
371
- },
372
- {
373
- "id": "order/card:payment.before",
374
- "description": {
375
- "en-GB": "Widget for the section with payment data",
376
- "es-ES": "",
377
- "ru-RU": "Виджет для секции с данными по оплате"
378
- },
379
- "location": {
380
- "en-GB": "Section start, right above the input fields",
381
- "es-ES": "",
382
- "ru-RU": "Начало секции, над полями ввода"
383
- },
384
- "contexts": [
385
- "order/card",
386
- "settings"
387
- ]
388
- }
389
- ],
390
- "pages": [
391
- {
392
- "id": "customer/card",
393
- "description": {
394
- "en-GB": "Customer page",
395
- "es-ES": "",
396
- "ru-RU": "Страница клиента"
397
- },
398
- "targets": [
399
- "customer/card:phone"
400
- ]
401
- },
402
- {
403
- "id": "order/card",
404
- "description": {
405
- "en-GB": "Page with the order creation/editing form",
406
- "es-ES": "",
407
- "ru-RU": "Страница с формой создания/редактирования заказа"
408
- },
409
- "targets": [
410
- "order/card:common.before",
411
- "order/card:common.after",
412
- "order/card:customer.before",
413
- "order/card:customer.after",
414
- "order/card:customer.email",
415
- "order/card:customer.phone",
416
- "order/card:list.before",
417
- "order/card:list.after",
418
- "order/card:store.before",
419
- "order/card:dimensions.before",
420
- "order/card:delivery.before",
421
- "order/card:delivery.after",
422
- "order/card:delivery.address",
423
- "order/card:payment.before"
424
- ]
425
- }
426
- ]
427
- }