@snabcentr/client-ui 1.1.0 → 1.3.1

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.

Files changed (20) hide show
  1. package/auth/sign-up-form/sc-sign-up-form.component.d.ts +7 -1
  2. package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +5 -1
  3. package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +48 -4
  4. package/delivery-address/sc-delivery-address.module.d.ts +2 -1
  5. package/esm2020/auth/sign-up-form/sc-sign-up-form.component.mjs +41 -6
  6. package/esm2020/contacts/new-contact-form/sc-new-contact-form.component.mjs +1 -1
  7. package/esm2020/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +1 -1
  8. package/esm2020/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +1 -1
  9. package/esm2020/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +20 -9
  10. package/esm2020/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +98 -11
  11. package/esm2020/delivery-address/sc-delivery-address.module.mjs +18 -5
  12. package/esm2020/form-fields/suggestion-field/sc-suggestion-field.component.mjs +11 -4
  13. package/esm2020/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +1 -1
  14. package/fesm2015/snabcentr-client-ui.mjs +181 -24
  15. package/fesm2015/snabcentr-client-ui.mjs.map +1 -1
  16. package/fesm2020/snabcentr-client-ui.mjs +172 -24
  17. package/fesm2020/snabcentr-client-ui.mjs.map +1 -1
  18. package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +6 -2
  19. package/package.json +2 -1
  20. package/styles/tailwind/tailwind.scss +21 -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.1.0",
3
+ "version": "1.3.1",
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",
@@ -692,6 +692,14 @@ video {
692
692
  isolation: isolate;
693
693
  }
694
694
 
695
+ .-z-10 {
696
+ z-index: -10;
697
+ }
698
+
699
+ .z-0 {
700
+ z-index: 0;
701
+ }
702
+
695
703
  .z-10 {
696
704
  z-index: 10;
697
705
  }
@@ -814,6 +822,11 @@ video {
814
822
  height: 2rem;
815
823
  }
816
824
 
825
+ .size-full {
826
+ width: 100%;
827
+ height: 100%;
828
+ }
829
+
817
830
  .\!h-20 {
818
831
  height: 5rem !important;
819
832
  }
@@ -926,6 +939,10 @@ video {
926
939
  max-width: 100%;
927
940
  }
928
941
 
942
+ .flex-auto {
943
+ flex: 1 1 auto;
944
+ }
945
+
929
946
  .flex-shrink {
930
947
  flex-shrink: 1;
931
948
  }
@@ -1623,6 +1640,10 @@ video {
1623
1640
  }
1624
1641
 
1625
1642
  @media (min-width: 768px) {
1643
+ .md\:w-1\/2 {
1644
+ width: 50%;
1645
+ }
1646
+
1626
1647
  .md\:flex-row {
1627
1648
  flex-direction: row;
1628
1649
  }