pne-ui 4.0.6 → 4.0.8

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.
@@ -32,7 +32,39 @@ export declare const createIsolatedMultigetSelectStore: () => import("zustand").
32
32
  setCurrentPage: (currentPage: number) => void;
33
33
  setHasNextPage: (hasNextPage: boolean) => void;
34
34
  setLoading: (isLoading: boolean) => void;
35
- }) => void), shouldReplace?: boolean | undefined): void;
35
+ }) => void), shouldReplace?: false | undefined): void;
36
+ setState(nextStateOrUpdater: MultigetSelectStore | ((state: {
37
+ filterType: import("../../filters/types").MultichoiceFilterTypeEnum;
38
+ onlyEnabledStatus: boolean;
39
+ searchString: string;
40
+ searchLabel: import("./type").MultigetSearchLabel;
41
+ availableItems: {
42
+ id: number;
43
+ displayName: string;
44
+ }[];
45
+ selectedItems: {
46
+ id: number;
47
+ displayName: string;
48
+ }[];
49
+ currentPage: number;
50
+ hasNextPage: boolean;
51
+ isLoading: boolean;
52
+ setFilterType: (searchType: import("../../filters/types").MultichoiceFilterTypeEnum) => void;
53
+ setOnlyEnabledStatus: (onlyEnabledStatus: boolean) => void;
54
+ setSearchString: (searchString: string) => void;
55
+ setSearchLabel: (searchLabel: import("./type").MultigetSearchLabel) => void;
56
+ setAvailableItems: (items: {
57
+ id: number;
58
+ displayName: string;
59
+ }[]) => void;
60
+ setSelectedItems: (items: {
61
+ id: number;
62
+ displayName: string;
63
+ }[]) => void;
64
+ setCurrentPage: (currentPage: number) => void;
65
+ setHasNextPage: (hasNextPage: boolean) => void;
66
+ setLoading: (isLoading: boolean) => void;
67
+ }) => void), shouldReplace: true): void;
36
68
  }>;
37
69
  type MultigetSelectStoreContextType = ReturnType<typeof createIsolatedMultigetSelectStore> | null;
38
70
  export declare const MultigetSelectStoreContext: import("react").Context<MultigetSelectStoreContextType>;
@@ -68,6 +100,38 @@ export declare const useMultigetSelectStore: () => import("zustand").UseBoundSto
68
100
  setCurrentPage: (currentPage: number) => void;
69
101
  setHasNextPage: (hasNextPage: boolean) => void;
70
102
  setLoading: (isLoading: boolean) => void;
71
- }) => void), shouldReplace?: boolean | undefined): void;
103
+ }) => void), shouldReplace?: false | undefined): void;
104
+ setState(nextStateOrUpdater: MultigetSelectStore | ((state: {
105
+ filterType: import("../../filters/types").MultichoiceFilterTypeEnum;
106
+ onlyEnabledStatus: boolean;
107
+ searchString: string;
108
+ searchLabel: import("./type").MultigetSearchLabel;
109
+ availableItems: {
110
+ id: number;
111
+ displayName: string;
112
+ }[];
113
+ selectedItems: {
114
+ id: number;
115
+ displayName: string;
116
+ }[];
117
+ currentPage: number;
118
+ hasNextPage: boolean;
119
+ isLoading: boolean;
120
+ setFilterType: (searchType: import("../../filters/types").MultichoiceFilterTypeEnum) => void;
121
+ setOnlyEnabledStatus: (onlyEnabledStatus: boolean) => void;
122
+ setSearchString: (searchString: string) => void;
123
+ setSearchLabel: (searchLabel: import("./type").MultigetSearchLabel) => void;
124
+ setAvailableItems: (items: {
125
+ id: number;
126
+ displayName: string;
127
+ }[]) => void;
128
+ setSelectedItems: (items: {
129
+ id: number;
130
+ displayName: string;
131
+ }[]) => void;
132
+ setCurrentPage: (currentPage: number) => void;
133
+ setHasNextPage: (hasNextPage: boolean) => void;
134
+ setLoading: (isLoading: boolean) => void;
135
+ }) => void), shouldReplace: true): void;
72
136
  }>;
73
137
  export {};
@@ -39,5 +39,45 @@ export declare const useSearchUIStore: import("zustand").UseBoundStore<Omit<impo
39
39
  errorCode: number | null;
40
40
  };
41
41
  setSearchCriteria: (searchCriteria: import("../filters/types").SearchCriteria) => void;
42
- }) => void), shouldReplace?: boolean | undefined): void;
42
+ }) => void), shouldReplace?: false | undefined): void;
43
+ setState(nextStateOrUpdater: SearchUIStore | ((state: {
44
+ searchCriteria: {
45
+ initialized: boolean;
46
+ exactSearchLabel: string | null;
47
+ exactSearchValue: string | null;
48
+ ordersSearchLabel: string | null;
49
+ ordersSearchValue: string | null;
50
+ status: import("../../..").Status | null;
51
+ threeD: boolean | null;
52
+ currencies: number[];
53
+ countries: number[];
54
+ dateFrom: Date | null;
55
+ dateTo: Date | null;
56
+ orderDateType: "SESSION_CREATED" | "SESSION_STATUS_CHANGED" | "TX_CREATED" | "BANK" | "TX_SETTLED" | "TX_UNSETTLED";
57
+ cardTypes: number[];
58
+ transactionTypes: number[];
59
+ transactionStatuses: number[];
60
+ transactionSessionStatuses: string | null;
61
+ projectCurrencyId: number | null;
62
+ projectCurrencyConvert: boolean | null;
63
+ groupTypes: ("CURRENCY" | "MERCHANT" | "ENDPOINT" | "PROCESSOR" | "MANAGER" | "PROJECT" | "GATE" | "MONTH" | "DAY" | "CLOSE_DAY" | "SETTLEMENT_DAY" | "SETTLEMENT_MONTH" | "CARD_TYPE" | "MID" | "COUNTERPARTY" | "PROJECT_CODE" | "DATE")[];
64
+ multigetCriteria: {
65
+ entityType: import("../filters/types").LinkedEntityTypeEnum;
66
+ filterType: import("../filters/types").MultichoiceFilterTypeEnum;
67
+ searchString: string;
68
+ selectedItems: string;
69
+ deselectedItems: string;
70
+ selectedItemNames: string;
71
+ deselectedItemNames: string;
72
+ }[];
73
+ recurrenceTypes: number[];
74
+ recurrenceStatuses: number[];
75
+ mfoConfigurationTypes: number[];
76
+ markerTypes: number[];
77
+ markerStatus: "any" | "unprocessed" | "processed" | null;
78
+ processorLogEntryType: string | null;
79
+ errorCode: number | null;
80
+ };
81
+ setSearchCriteria: (searchCriteria: import("../filters/types").SearchCriteria) => void;
82
+ }) => void), shouldReplace: true): void;
43
83
  }>;
@@ -3,5 +3,9 @@ export declare const usePneTableStore: import("zustand").UseBoundStore<Omit<impo
3
3
  setState(nextStateOrUpdater: PneTableStore | Partial<PneTableStore> | ((state: {
4
4
  needToScrollToPagination: boolean;
5
5
  setNeedToScrollToPagination: (needToScrollToPagination: boolean) => void;
6
- }) => void), shouldReplace?: boolean | undefined): void;
6
+ }) => void), shouldReplace?: false | undefined): void;
7
+ setState(nextStateOrUpdater: PneTableStore | ((state: {
8
+ needToScrollToPagination: boolean;
9
+ setNeedToScrollToPagination: (needToScrollToPagination: boolean) => void;
10
+ }) => void), shouldReplace: true): void;
7
11
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pne-ui",
3
- "version": "4.0.6",
3
+ "version": "4.0.8",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -125,7 +125,7 @@
125
125
  "react-is": "19.2.5",
126
126
  "react-virtuoso": "4.7.5",
127
127
  "zod": "3.23.4",
128
- "zustand": "4.4.1"
128
+ "zustand": "5.0.12"
129
129
  },
130
130
  "bugs": {
131
131
  "url": "https://github.com/alcovp/pne-ui/issues"