@ikas/storefront 0.0.53 → 0.0.54

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.
@@ -10,6 +10,7 @@ export declare class IkasProductFilter {
10
10
  isMultiSelect: boolean;
11
11
  values?: IkasApplicableProductFilterValue[] | null;
12
12
  customValues?: string[] | null;
13
+ settings?: IkasProductFilterSettings | null;
13
14
  numberRange?: RangeValue | null;
14
15
  numberRangeLimit?: RangeValue | null;
15
16
  numberRangeListOptions?: NumberRangeListOption[] | null;
@@ -17,7 +18,7 @@ export declare class IkasProductFilter {
17
18
  get isCustomValueFilter(): boolean;
18
19
  get valueList(): string[];
19
20
  get keyList(): string[];
20
- get displayedValues(): IkasApplicableProductFilterValue[] | undefined;
21
+ get displayedValues(): IkasApplicableProductFilterValue[];
21
22
  clear(): void;
22
23
  toInput(): SearchInputFilterListInput;
23
24
  private rangeToId;
@@ -41,6 +42,13 @@ export declare class IkasProductFilterValue {
41
42
  valueList: string[];
42
43
  constructor(data: IkasProductFilterValue);
43
44
  }
45
+ export declare class IkasProductFilterSettings {
46
+ useAndFilter?: boolean | null;
47
+ showCollapsedOnDesktop: boolean;
48
+ showCollapsedOnMobile: boolean;
49
+ sortType: IkasProductFilterSortType;
50
+ constructor(data: Partial<IkasProductFilterSettings>);
51
+ }
44
52
  export declare enum IkasProductFilterType {
45
53
  ATTRIBUTE = "ATTRIBUTE",
46
54
  BRAND = "BRAND",
@@ -58,6 +66,12 @@ export declare enum IkasProductFilterDisplayType {
58
66
  NUMBER_RANGE = "NUMBER_RANGE",
59
67
  SWATCH = "SWATCH"
60
68
  }
69
+ export declare enum IkasProductFilterSortType {
70
+ ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
71
+ ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
72
+ PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
73
+ PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
74
+ }
61
75
  export declare class RangeValue {
62
76
  from: number;
63
77
  to: number | undefined | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",