@retailcrm/embed-ui 0.5.8 → 0.5.10
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 +12 -0
- package/dist/index.cjs +1 -0
- package/dist/index.mjs +1 -0
- package/dist/meta.json +57 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## [0.5.10](https://github.com/retailcrm/embed-ui/compare/v0.5.9...v0.5.10) (2025-01-21)
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Added UiImage to known components list ([316e39c](https://github.com/retailcrm/embed-ui/commit/316e39cd784aa43cab2d6a3919aeacd0073ba73a))
|
|
9
|
+
* **v1-components:** Added logic for image optimizing: resize/crop, UiImage component that implements optimization logic, UiAvatar images optimized by default, if workers array is provided ([6d7dcfa](https://github.com/retailcrm/embed-ui/commit/6d7dcfa34a30fe48684be85082ed8a968c4965a8))
|
|
10
|
+
* **v1-contexts:** Added field 'image.workers' to settings context ([38355b2](https://github.com/retailcrm/embed-ui/commit/38355b28dd037c54cebe8dcfd77e9264f3a3560c))
|
|
11
|
+
## [0.5.9](https://github.com/retailcrm/embed-ui/compare/v0.5.8...v0.5.9) (2025-01-15)
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* Added customContexts field to targets's metadata used by docs generators ([1bcc318](https://github.com/retailcrm/embed-ui/commit/1bcc318a75e31f9858f29011506be5e62040c6a4))
|
|
4
16
|
## [0.5.8](https://github.com/retailcrm/embed-ui/compare/v0.5.7...v0.5.8) (2025-01-14)
|
|
5
17
|
|
|
6
18
|
### Bug Fixes
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
package/dist/meta.json
CHANGED
|
@@ -459,6 +459,16 @@
|
|
|
459
459
|
}
|
|
460
460
|
],
|
|
461
461
|
"settings": [
|
|
462
|
+
{
|
|
463
|
+
"name": "image.workers",
|
|
464
|
+
"type": "Array<string>",
|
|
465
|
+
"description": {
|
|
466
|
+
"en-GB": "A list of servers that process images.",
|
|
467
|
+
"es-ES": "Una lista de servidores que procesan imágenes.",
|
|
468
|
+
"ru-RU": "Список серверов, обрабатывающих изображения."
|
|
469
|
+
},
|
|
470
|
+
"readonly": true
|
|
471
|
+
},
|
|
462
472
|
{
|
|
463
473
|
"name": "system.locale",
|
|
464
474
|
"type": "\"en-GB\" | \"es-ES\" | \"ru-RU\"",
|
|
@@ -489,7 +499,8 @@
|
|
|
489
499
|
"customer/card:phone",
|
|
490
500
|
"user/current",
|
|
491
501
|
"settings"
|
|
492
|
-
]
|
|
502
|
+
],
|
|
503
|
+
"customContexts": []
|
|
493
504
|
},
|
|
494
505
|
{
|
|
495
506
|
"id": "order/card:common.before",
|
|
@@ -507,6 +518,9 @@
|
|
|
507
518
|
"order/card",
|
|
508
519
|
"user/current",
|
|
509
520
|
"settings"
|
|
521
|
+
],
|
|
522
|
+
"customContexts": [
|
|
523
|
+
"order"
|
|
510
524
|
]
|
|
511
525
|
},
|
|
512
526
|
{
|
|
@@ -525,6 +539,9 @@
|
|
|
525
539
|
"order/card",
|
|
526
540
|
"user/current",
|
|
527
541
|
"settings"
|
|
542
|
+
],
|
|
543
|
+
"customContexts": [
|
|
544
|
+
"order"
|
|
528
545
|
]
|
|
529
546
|
},
|
|
530
547
|
{
|
|
@@ -543,6 +560,9 @@
|
|
|
543
560
|
"order/card",
|
|
544
561
|
"user/current",
|
|
545
562
|
"settings"
|
|
563
|
+
],
|
|
564
|
+
"customContexts": [
|
|
565
|
+
"order"
|
|
546
566
|
]
|
|
547
567
|
},
|
|
548
568
|
{
|
|
@@ -561,6 +581,9 @@
|
|
|
561
581
|
"order/card",
|
|
562
582
|
"user/current",
|
|
563
583
|
"settings"
|
|
584
|
+
],
|
|
585
|
+
"customContexts": [
|
|
586
|
+
"order"
|
|
564
587
|
]
|
|
565
588
|
},
|
|
566
589
|
{
|
|
@@ -579,6 +602,9 @@
|
|
|
579
602
|
"order/card",
|
|
580
603
|
"user/current",
|
|
581
604
|
"settings"
|
|
605
|
+
],
|
|
606
|
+
"customContexts": [
|
|
607
|
+
"order"
|
|
582
608
|
]
|
|
583
609
|
},
|
|
584
610
|
{
|
|
@@ -597,6 +623,9 @@
|
|
|
597
623
|
"order/card",
|
|
598
624
|
"user/current",
|
|
599
625
|
"settings"
|
|
626
|
+
],
|
|
627
|
+
"customContexts": [
|
|
628
|
+
"order"
|
|
600
629
|
]
|
|
601
630
|
},
|
|
602
631
|
{
|
|
@@ -615,6 +644,9 @@
|
|
|
615
644
|
"order/card",
|
|
616
645
|
"user/current",
|
|
617
646
|
"settings"
|
|
647
|
+
],
|
|
648
|
+
"customContexts": [
|
|
649
|
+
"order"
|
|
618
650
|
]
|
|
619
651
|
},
|
|
620
652
|
{
|
|
@@ -633,6 +665,9 @@
|
|
|
633
665
|
"order/card",
|
|
634
666
|
"user/current",
|
|
635
667
|
"settings"
|
|
668
|
+
],
|
|
669
|
+
"customContexts": [
|
|
670
|
+
"order"
|
|
636
671
|
]
|
|
637
672
|
},
|
|
638
673
|
{
|
|
@@ -651,6 +686,9 @@
|
|
|
651
686
|
"order/card",
|
|
652
687
|
"user/current",
|
|
653
688
|
"settings"
|
|
689
|
+
],
|
|
690
|
+
"customContexts": [
|
|
691
|
+
"order"
|
|
654
692
|
]
|
|
655
693
|
},
|
|
656
694
|
{
|
|
@@ -669,6 +707,9 @@
|
|
|
669
707
|
"order/card",
|
|
670
708
|
"user/current",
|
|
671
709
|
"settings"
|
|
710
|
+
],
|
|
711
|
+
"customContexts": [
|
|
712
|
+
"order"
|
|
672
713
|
]
|
|
673
714
|
},
|
|
674
715
|
{
|
|
@@ -687,6 +728,9 @@
|
|
|
687
728
|
"order/card",
|
|
688
729
|
"user/current",
|
|
689
730
|
"settings"
|
|
731
|
+
],
|
|
732
|
+
"customContexts": [
|
|
733
|
+
"order"
|
|
690
734
|
]
|
|
691
735
|
},
|
|
692
736
|
{
|
|
@@ -705,6 +749,9 @@
|
|
|
705
749
|
"order/card",
|
|
706
750
|
"user/current",
|
|
707
751
|
"settings"
|
|
752
|
+
],
|
|
753
|
+
"customContexts": [
|
|
754
|
+
"order"
|
|
708
755
|
]
|
|
709
756
|
},
|
|
710
757
|
{
|
|
@@ -723,6 +770,9 @@
|
|
|
723
770
|
"order/card",
|
|
724
771
|
"user/current",
|
|
725
772
|
"settings"
|
|
773
|
+
],
|
|
774
|
+
"customContexts": [
|
|
775
|
+
"order"
|
|
726
776
|
]
|
|
727
777
|
},
|
|
728
778
|
{
|
|
@@ -741,6 +791,9 @@
|
|
|
741
791
|
"order/card",
|
|
742
792
|
"user/current",
|
|
743
793
|
"settings"
|
|
794
|
+
],
|
|
795
|
+
"customContexts": [
|
|
796
|
+
"order"
|
|
744
797
|
]
|
|
745
798
|
},
|
|
746
799
|
{
|
|
@@ -759,6 +812,9 @@
|
|
|
759
812
|
"order/card",
|
|
760
813
|
"user/current",
|
|
761
814
|
"settings"
|
|
815
|
+
],
|
|
816
|
+
"customContexts": [
|
|
817
|
+
"order"
|
|
762
818
|
]
|
|
763
819
|
}
|
|
764
820
|
],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retailcrm/embed-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.10",
|
|
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.
|
|
41
|
-
"@retailcrm/embed-ui-v1-types": "^0.5.
|
|
40
|
+
"@retailcrm/embed-ui-v1-contexts": "^0.5.10",
|
|
41
|
+
"@retailcrm/embed-ui-v1-types": "^0.5.10"
|
|
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.
|
|
46
|
+
"@retailcrm/embed-ui-v1-testing": "^0.5.10",
|
|
47
47
|
"@types/git-semver-tags": "^7.0.0",
|
|
48
48
|
"@types/node": "^22.7.9",
|
|
49
49
|
"@types/semver": "^7.5.8",
|