@snabcentr/client-ui 3.47.7 → 3.48.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.
- package/catalog/catalog-filters/index.d.ts +3 -0
- package/catalog/catalog-filters/sc-catalog-filters.component.d.ts +99 -0
- package/catalog/catalog-filters/tokens/sc-catalog-products-filters.d.ts +7 -0
- package/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.d.ts +5 -0
- package/catalog/index.d.ts +1 -0
- package/configurators/sandwich/sc-sandwich.component.d.ts +9 -1
- package/esm2022/catalog/catalog-filters/index.mjs +4 -0
- package/esm2022/catalog/catalog-filters/sc-catalog-filters.component.mjs +202 -0
- package/esm2022/catalog/catalog-filters/tokens/sc-catalog-products-filters.mjs +10 -0
- package/esm2022/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.mjs +6 -0
- package/esm2022/catalog/index.mjs +2 -1
- package/esm2022/configurators/sandwich/sc-sandwich.component.mjs +22 -11
- package/esm2022/methods/index.mjs +2 -0
- package/esm2022/methods/sc-get-current-route.mjs +14 -0
- package/esm2022/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.mjs +3 -2
- package/esm2022/providers/index.mjs +2 -1
- package/esm2022/providers/sc-category.providers.mjs +43 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/snabcentr-client-ui.mjs +414 -157
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/methods/index.d.ts +1 -0
- package/methods/sc-get-current-route.d.ts +8 -0
- package/package.json +19 -19
- package/providers/index.d.ts +1 -0
- package/providers/sc-category.providers.d.ts +11 -0
- package/public-api.d.ts +1 -0
- package/styles/tailwind/tailwind.scss +5 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sc-get-current-route';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActivatedRoute } from '@angular/router';
|
|
2
|
+
/**
|
|
3
|
+
* Возвращает текущий маршрут.
|
|
4
|
+
* Функция проходит по дереву маршрутов начиная с переданного route и возвращает самый вложенный активный маршрут.
|
|
5
|
+
*
|
|
6
|
+
* @param route Данные маршрута, от которого ищем текущий маршрут в приложении.
|
|
7
|
+
*/
|
|
8
|
+
export declare const scGetCurrentRoute: (route: ActivatedRoute) => ActivatedRoute;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snabcentr/client-ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.48.0",
|
|
4
4
|
"author": "Snabcentr Ltd.",
|
|
5
5
|
"repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
|
|
6
6
|
"license": "Commercial",
|
|
@@ -11,27 +11,27 @@
|
|
|
11
11
|
"@angular/core": "^18.2.12",
|
|
12
12
|
"@angular/forms": "^18.2.12",
|
|
13
13
|
"@angular/router": "^18.2.12",
|
|
14
|
-
"@maskito/angular": "^3.
|
|
15
|
-
"@maskito/core": "^3.
|
|
16
|
-
"@ng-web-apis/intersection-observer": "^4.
|
|
17
|
-
"@ng-web-apis/common": "^4.
|
|
18
|
-
"@snabcentr/client-core": "^2.
|
|
19
|
-
"@taiga-ui/addon-charts": "^4.
|
|
20
|
-
"@taiga-ui/addon-commerce": "^4.
|
|
21
|
-
"@taiga-ui/cdk": "^4.
|
|
22
|
-
"@taiga-ui/core": "^4.
|
|
23
|
-
"@taiga-ui/event-plugins": "^4.
|
|
24
|
-
"@taiga-ui/icons": "^4.
|
|
25
|
-
"@taiga-ui/kit": "^4.
|
|
26
|
-
"@taiga-ui/layout": "^4.
|
|
27
|
-
"@taiga-ui/legacy": "^4.
|
|
28
|
-
"@taiga-ui/i18n": "^4.
|
|
14
|
+
"@maskito/angular": "^3.11.1",
|
|
15
|
+
"@maskito/core": "^3.11.1",
|
|
16
|
+
"@ng-web-apis/intersection-observer": "^4.14.0",
|
|
17
|
+
"@ng-web-apis/common": "^4.14.0",
|
|
18
|
+
"@snabcentr/client-core": "^2.63.0",
|
|
19
|
+
"@taiga-ui/addon-charts": "^4.66.0",
|
|
20
|
+
"@taiga-ui/addon-commerce": "^4.66.0",
|
|
21
|
+
"@taiga-ui/cdk": "^4.66.0",
|
|
22
|
+
"@taiga-ui/core": "^4.66.0",
|
|
23
|
+
"@taiga-ui/event-plugins": "^4.7.0",
|
|
24
|
+
"@taiga-ui/icons": "^4.66.0",
|
|
25
|
+
"@taiga-ui/kit": "^4.66.0",
|
|
26
|
+
"@taiga-ui/layout": "^4.66.0",
|
|
27
|
+
"@taiga-ui/legacy": "^4.66.0",
|
|
28
|
+
"@taiga-ui/i18n": "^4.66.0",
|
|
29
29
|
"@taiga-ui/polymorpheus": "^4.7.4",
|
|
30
|
-
"@taiga-ui/experimental": "^4.
|
|
31
|
-
"@taiga-ui/styles": "^4.
|
|
30
|
+
"@taiga-ui/experimental": "^4.66.0",
|
|
31
|
+
"@taiga-ui/styles": "^4.66.0",
|
|
32
32
|
"ng-recaptcha-2": "^14.0.0",
|
|
33
33
|
"angular8-yandex-maps": "^18.2.0",
|
|
34
|
-
"libphonenumber-js": "^1.
|
|
34
|
+
"libphonenumber-js": "^1.12.7",
|
|
35
35
|
"angularx-qrcode": "^18.0.2",
|
|
36
36
|
"lodash-es": "^4.17.21",
|
|
37
37
|
"rxjs": "^7.8.1",
|
package/providers/index.d.ts
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { ScCategory } from '@snabcentr/client-core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
/**
|
|
5
|
+
* Токен потока данных о категории.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SC_CATEGORY_INFO: InjectionToken<Observable<ScCategory | null>>;
|
|
8
|
+
/**
|
|
9
|
+
* Провайдеры потока данных о категории.
|
|
10
|
+
*/
|
|
11
|
+
export declare const SC_CATEGORY_PROVIDERS: Provider[];
|
package/public-api.d.ts
CHANGED
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
/*
|
|
110
|
-
! tailwindcss v3.4.
|
|
110
|
+
! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com
|
|
111
111
|
*/
|
|
112
112
|
|
|
113
113
|
/*
|
|
@@ -1311,6 +1311,10 @@ video {
|
|
|
1311
1311
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
|
|
1312
1312
|
}
|
|
1313
1313
|
|
|
1314
|
+
.bg-tui-base-01 {
|
|
1315
|
+
background-color: var(--tui-background-base);
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1314
1318
|
.bg-tui-base-02 {
|
|
1315
1319
|
background-color: var(--tui-background-base-alt);
|
|
1316
1320
|
}
|