@snabcentr/client-ui 1.0.0 → 1.3.0
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.
Potentially problematic release.
This version of @snabcentr/client-ui might be problematic. Click here for more details.
- package/auth/sign-up-form/sc-sign-up-form.component.d.ts +7 -1
- package/brands-list/index.d.ts +2 -0
- package/brands-list/sc-brands-list.component.d.ts +15 -0
- package/brands-list/sc-brands-list.module.d.ts +12 -0
- package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +5 -1
- package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +48 -4
- package/delivery-address/sc-delivery-address.module.d.ts +2 -1
- package/esm2020/auth/sign-up-form/sc-sign-up-form.component.mjs +38 -6
- package/esm2020/brands-list/index.mjs +3 -0
- package/esm2020/brands-list/sc-brands-list.component.mjs +24 -0
- package/esm2020/brands-list/sc-brands-list.module.mjs +22 -0
- package/esm2020/contacts/new-contact-form/sc-new-contact-form.component.mjs +1 -1
- package/esm2020/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +1 -1
- package/esm2020/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +1 -1
- package/esm2020/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +15 -5
- package/esm2020/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +97 -11
- package/esm2020/delivery-address/sc-delivery-address.module.mjs +18 -5
- package/esm2020/form-fields/suggestion-field/sc-suggestion-field.component.mjs +10 -3
- package/esm2020/public-api.mjs +2 -1
- package/esm2020/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +1 -1
- package/fesm2015/snabcentr-client-ui.mjs +205 -21
- package/fesm2015/snabcentr-client-ui.mjs.map +1 -1
- package/fesm2020/snabcentr-client-ui.mjs +201 -21
- package/fesm2020/snabcentr-client-ui.mjs.map +1 -1
- package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +6 -2
- package/package.json +2 -1
- package/public-api.d.ts +1 -0
- package/styles/tailwind/tailwind.scss +86 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
2
2
|
import { NgControl } from '@angular/forms';
|
3
3
|
import { ScISuggestionType, ScSuggestion, ScSuggestionService } from '@snabcentr/client-core';
|
4
4
|
import { Observable } from 'rxjs';
|
@@ -13,6 +13,10 @@ export declare class ScSuggestionFieldComponent implements OnInit {
|
|
13
13
|
* Тип подсказок.
|
14
14
|
*/
|
15
15
|
type: ScISuggestionType;
|
16
|
+
/**
|
17
|
+
* Событие выбора результата подсказки.
|
18
|
+
*/
|
19
|
+
selectedClick: EventEmitter<ScSuggestion>;
|
16
20
|
/**
|
17
21
|
* {@link Observable} подсказок.
|
18
22
|
*/
|
@@ -41,5 +45,5 @@ export declare class ScSuggestionFieldComponent implements OnInit {
|
|
41
45
|
*/
|
42
46
|
onSelected(suggestion: ScSuggestion): void;
|
43
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScSuggestionFieldComponent, [{ skipSelf: true; }, null]>;
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScSuggestionFieldComponent, "sc-suggestion-field", never, { "type": "type"; }, {}, never, never, false>;
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScSuggestionFieldComponent, "sc-suggestion-field", never, { "type": "type"; }, { "selectedClick": "selectedClick"; }, never, never, false>;
|
45
49
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@snabcentr/client-ui",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.3.0",
|
4
4
|
"author": "Snabcentr Ltd.",
|
5
5
|
"repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
|
6
6
|
"license": "Commercial",
|
@@ -20,6 +20,7 @@
|
|
20
20
|
"@ng-web-apis/storage": ">=3.0.6",
|
21
21
|
"@ngneat/until-destroy": ">=9.2.3",
|
22
22
|
"@snabcentr/client-core": ">=0.18.0",
|
23
|
+
"angular8-yandex-maps": ">=14.0.4",
|
23
24
|
"@taiga-ui/addon-charts": ">=3.42.1",
|
24
25
|
"@taiga-ui/addon-commerce": ">=3.42.1",
|
25
26
|
"@taiga-ui/addon-doc": ">=3.42.1",
|
package/public-api.d.ts
CHANGED
@@ -644,6 +644,14 @@ video {
|
|
644
644
|
position: sticky;
|
645
645
|
}
|
646
646
|
|
647
|
+
.-left-1 {
|
648
|
+
left: -0.25rem;
|
649
|
+
}
|
650
|
+
|
651
|
+
.-right-1 {
|
652
|
+
right: -0.25rem;
|
653
|
+
}
|
654
|
+
|
647
655
|
.bottom-4 {
|
648
656
|
bottom: 1rem;
|
649
657
|
}
|
@@ -684,6 +692,18 @@ video {
|
|
684
692
|
isolation: isolate;
|
685
693
|
}
|
686
694
|
|
695
|
+
.-z-10 {
|
696
|
+
z-index: -10;
|
697
|
+
}
|
698
|
+
|
699
|
+
.z-0 {
|
700
|
+
z-index: 0;
|
701
|
+
}
|
702
|
+
|
703
|
+
.z-10 {
|
704
|
+
z-index: 10;
|
705
|
+
}
|
706
|
+
|
687
707
|
.m-1 {
|
688
708
|
margin: 0.25rem;
|
689
709
|
}
|
@@ -782,6 +802,11 @@ video {
|
|
782
802
|
height: 1.5rem !important;
|
783
803
|
}
|
784
804
|
|
805
|
+
.size-12 {
|
806
|
+
width: 3rem;
|
807
|
+
height: 3rem;
|
808
|
+
}
|
809
|
+
|
785
810
|
.size-20 {
|
786
811
|
width: 5rem;
|
787
812
|
height: 5rem;
|
@@ -797,6 +822,11 @@ video {
|
|
797
822
|
height: 2rem;
|
798
823
|
}
|
799
824
|
|
825
|
+
.size-full {
|
826
|
+
width: 100%;
|
827
|
+
height: 100%;
|
828
|
+
}
|
829
|
+
|
800
830
|
.\!h-20 {
|
801
831
|
height: 5rem !important;
|
802
832
|
}
|
@@ -909,6 +939,10 @@ video {
|
|
909
939
|
max-width: 100%;
|
910
940
|
}
|
911
941
|
|
942
|
+
.flex-auto {
|
943
|
+
flex: 1 1 auto;
|
944
|
+
}
|
945
|
+
|
912
946
|
.flex-shrink {
|
913
947
|
flex-shrink: 1;
|
914
948
|
}
|
@@ -951,6 +985,12 @@ video {
|
|
951
985
|
cursor: pointer;
|
952
986
|
}
|
953
987
|
|
988
|
+
.select-none {
|
989
|
+
-webkit-user-select: none;
|
990
|
+
-moz-user-select: none;
|
991
|
+
user-select: none;
|
992
|
+
}
|
993
|
+
|
954
994
|
.resize {
|
955
995
|
resize: both;
|
956
996
|
}
|
@@ -1003,6 +1043,14 @@ video {
|
|
1003
1043
|
gap: 0.25rem;
|
1004
1044
|
}
|
1005
1045
|
|
1046
|
+
.gap-12 {
|
1047
|
+
gap: 3rem;
|
1048
|
+
}
|
1049
|
+
|
1050
|
+
.gap-16 {
|
1051
|
+
gap: 4rem;
|
1052
|
+
}
|
1053
|
+
|
1006
1054
|
.gap-2 {
|
1007
1055
|
gap: 0.5rem;
|
1008
1056
|
}
|
@@ -1155,6 +1203,30 @@ video {
|
|
1155
1203
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
1156
1204
|
}
|
1157
1205
|
|
1206
|
+
.bg-gradient-to-r {
|
1207
|
+
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
1208
|
+
}
|
1209
|
+
|
1210
|
+
.from-transparent {
|
1211
|
+
--tw-gradient-from: transparent var(--tw-gradient-from-position);
|
1212
|
+
--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
|
1213
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
1214
|
+
}
|
1215
|
+
|
1216
|
+
.from-tui-base-01 {
|
1217
|
+
--tw-gradient-from: var(--tui-base-01) var(--tw-gradient-from-position);
|
1218
|
+
--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
|
1219
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
1220
|
+
}
|
1221
|
+
|
1222
|
+
.to-transparent {
|
1223
|
+
--tw-gradient-to: transparent var(--tw-gradient-to-position);
|
1224
|
+
}
|
1225
|
+
|
1226
|
+
.to-tui-base-01 {
|
1227
|
+
--tw-gradient-to: var(--tui-base-01) var(--tw-gradient-to-position);
|
1228
|
+
}
|
1229
|
+
|
1158
1230
|
.bg-cover {
|
1159
1231
|
background-size: cover;
|
1160
1232
|
}
|
@@ -1475,6 +1547,11 @@ video {
|
|
1475
1547
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
1476
1548
|
}
|
1477
1549
|
|
1550
|
+
.contrast-150 {
|
1551
|
+
--tw-contrast: contrast(1.5);
|
1552
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
1553
|
+
}
|
1554
|
+
|
1478
1555
|
.grayscale {
|
1479
1556
|
--tw-grayscale: grayscale(100%);
|
1480
1557
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
@@ -1485,6 +1562,11 @@ video {
|
|
1485
1562
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
1486
1563
|
}
|
1487
1564
|
|
1565
|
+
.saturate-0 {
|
1566
|
+
--tw-saturate: saturate(0);
|
1567
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
1568
|
+
}
|
1569
|
+
|
1488
1570
|
.sepia {
|
1489
1571
|
--tw-sepia: sepia(100%);
|
1490
1572
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
@@ -1558,6 +1640,10 @@ video {
|
|
1558
1640
|
}
|
1559
1641
|
|
1560
1642
|
@media (min-width: 768px) {
|
1643
|
+
.md\:w-1\/2 {
|
1644
|
+
width: 50%;
|
1645
|
+
}
|
1646
|
+
|
1561
1647
|
.md\:flex-row {
|
1562
1648
|
flex-direction: row;
|
1563
1649
|
}
|