@appcorp/stellar-solutions-modules 0.1.27 → 0.1.29
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.
|
@@ -59,7 +59,7 @@ var validate_1 = require("./validate");
|
|
|
59
59
|
var context_1 = require("../preferences/context");
|
|
60
60
|
var useTaxState = function () {
|
|
61
61
|
var _a = (0, react_1.useReducer)(reducer_1.taxReducer, reducer_1.initialTaxState), state = _a[0], dispatch = _a[1];
|
|
62
|
-
var
|
|
62
|
+
var preferences = (0, context_1.usePreferenceStateContext)().preferences;
|
|
63
63
|
var debouncedQuery = (0, util_functions_1.useDebounce)(state.searchQuery, 800);
|
|
64
64
|
var listParams = {
|
|
65
65
|
currentPage: state.currentPage,
|
|
@@ -166,7 +166,7 @@ var useTaxState = function () {
|
|
|
166
166
|
listFetchNow();
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
|
-
var
|
|
169
|
+
var _b = (0, util_functions_1.useModuleEntity)({
|
|
170
170
|
byIdCallback: byIdCallback,
|
|
171
171
|
byIdParams: byIdParams,
|
|
172
172
|
deleteCallback: deleteCallback,
|
|
@@ -180,17 +180,14 @@ var useTaxState = function () {
|
|
|
180
180
|
updateCallback: updateCallback,
|
|
181
181
|
updateDeps: [state],
|
|
182
182
|
updateParams: updateParams,
|
|
183
|
-
}), byIdError =
|
|
183
|
+
}), byIdError = _b.byIdError, byIdFetchNow = _b.byIdFetchNow, byIdLoading = _b.byIdLoading, deleteError = _b.deleteError, deleteFetchNow = _b.deleteFetchNow, deleteLoading = _b.deleteLoading, listError = _b.listError, listFetchNow = _b.listFetchNow, listLoading = _b.listLoading, updateError = _b.updateError, updateFetchNow = _b.updateFetchNow, updateLoading = _b.updateLoading;
|
|
184
184
|
(0, react_1.useEffect)(function () {
|
|
185
|
-
|
|
186
|
-
listFetchNow();
|
|
187
|
-
}
|
|
185
|
+
listFetchNow();
|
|
188
186
|
// eslint-disable-next-line
|
|
189
187
|
}, [
|
|
190
188
|
debouncedQuery,
|
|
191
189
|
state.currentPage,
|
|
192
190
|
state.pageLimit,
|
|
193
|
-
activeTab,
|
|
194
191
|
]);
|
|
195
192
|
var searchOnChange = function (k, v) {
|
|
196
193
|
dispatch({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appcorp/stellar-solutions-modules",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib && cp yarn.lock lib",
|
|
6
6
|
"build:next": "next build",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"upgrade": "ncu -u"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@appcorp/app-corp-vista": "^0.2.
|
|
20
|
+
"@appcorp/app-corp-vista": "^0.2.99",
|
|
21
21
|
"@eslint/eslintrc": "^3",
|
|
22
22
|
"@headlessui/react": "^2",
|
|
23
23
|
"@heroicons/react": "^2",
|
|
24
|
-
"@react-pakistan/util-functions": "^1.24.
|
|
24
|
+
"@react-pakistan/util-functions": "^1.24.41",
|
|
25
25
|
"@supabase/supabase-js": "^2",
|
|
26
26
|
"@tailwindcss/forms": "^0.5.10",
|
|
27
27
|
"@tailwindcss/postcss": "^4",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"eslint": "^9",
|
|
34
34
|
"eslint-config-next": "^15",
|
|
35
35
|
"husky": "^9",
|
|
36
|
+
"libphonenumber-js": "^1",
|
|
36
37
|
"next": "^15",
|
|
37
38
|
"next-intl": "^4",
|
|
38
39
|
"react": "^19",
|