akeyless-client-commons 1.0.143 → 1.0.144
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/dist/components/index.js +12 -0
- package/dist/components/index.mjs +13 -1
- package/dist/helpers/index.d.mts +6 -2
- package/dist/helpers/index.d.ts +6 -2
- package/dist/helpers/index.js +61 -0
- package/dist/helpers/index.mjs +59 -2
- package/dist/hooks/index.mjs +1 -1
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -4934,6 +4934,18 @@ var exportToExcel = /*#__PURE__*/ function() {
|
|
|
4934
4934
|
data.forEach(function(rowData) {
|
|
4935
4935
|
var row = worksheet.addRow(rowData);
|
|
4936
4936
|
row.eachCell(function(cell) {
|
|
4937
|
+
if (typeof cell.value === "string" && cell.value.startsWith("https://")) {
|
|
4938
|
+
cell.value = {
|
|
4939
|
+
text: cell.value,
|
|
4940
|
+
hyperlink: cell.value
|
|
4941
|
+
};
|
|
4942
|
+
cell.font = {
|
|
4943
|
+
color: {
|
|
4944
|
+
argb: "FF0000FF"
|
|
4945
|
+
},
|
|
4946
|
+
underline: true
|
|
4947
|
+
};
|
|
4948
|
+
}
|
|
4937
4949
|
cell.alignment = cellStyle;
|
|
4938
4950
|
});
|
|
4939
4951
|
});
|
|
@@ -371,7 +371,7 @@ var local_israel_phone_format = function(international_number) {
|
|
|
371
371
|
return international_number.replace("+972", "0");
|
|
372
372
|
};
|
|
373
373
|
// src/helpers/global.ts
|
|
374
|
-
import { CountryOptions } from "akeyless-types-commons";
|
|
374
|
+
import { CountryOptions, LanguageOptions } from "akeyless-types-commons";
|
|
375
375
|
import axios from "axios";
|
|
376
376
|
import { isEqual } from "lodash";
|
|
377
377
|
var renderOnce = function() {
|
|
@@ -4721,6 +4721,18 @@ var exportToExcel = /*#__PURE__*/ function() {
|
|
|
4721
4721
|
data.forEach(function(rowData) {
|
|
4722
4722
|
var row = worksheet.addRow(rowData);
|
|
4723
4723
|
row.eachCell(function(cell) {
|
|
4724
|
+
if (typeof cell.value === "string" && cell.value.startsWith("https://")) {
|
|
4725
|
+
cell.value = {
|
|
4726
|
+
text: cell.value,
|
|
4727
|
+
hyperlink: cell.value
|
|
4728
|
+
};
|
|
4729
|
+
cell.font = {
|
|
4730
|
+
color: {
|
|
4731
|
+
argb: "FF0000FF"
|
|
4732
|
+
},
|
|
4733
|
+
underline: true
|
|
4734
|
+
};
|
|
4735
|
+
}
|
|
4724
4736
|
cell.alignment = cellStyle;
|
|
4725
4737
|
});
|
|
4726
4738
|
});
|
package/dist/helpers/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { FirebaseStorage } from 'firebase/storage';
|
|
|
3
3
|
import { Auth, GoogleAuthProvider, User } from 'firebase/auth';
|
|
4
4
|
import { AppCheck } from 'firebase/app-check';
|
|
5
5
|
import { WhereFilterOp, Unsubscribe, Firestore, CollectionReference, DocumentData, Timestamp, DocumentSnapshot } from 'firebase/firestore';
|
|
6
|
-
import { TObject, NxUser, CountryOptions, Client } from 'akeyless-types-commons';
|
|
6
|
+
import { TObject, NxUser, CountryOptions, Client, LanguageOptions } from 'akeyless-types-commons';
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
|
|
@@ -171,6 +171,10 @@ declare const isNodeEnv: NodeJS.ProcessEnv;
|
|
|
171
171
|
declare const mode: string;
|
|
172
172
|
declare const isLocal: boolean;
|
|
173
173
|
declare const getFixedNumber: (number?: number, fix?: number) => string;
|
|
174
|
+
declare const getAddressByGeo: ({ lat, lng }: {
|
|
175
|
+
lat: any;
|
|
176
|
+
lng: any;
|
|
177
|
+
}, currentLanguage: LanguageOptions) => Promise<any>;
|
|
174
178
|
|
|
175
179
|
declare const textRegex: RegExp;
|
|
176
180
|
declare const numbersRegex: RegExp;
|
|
@@ -234,4 +238,4 @@ type Method = "GET" | "POST" | "PUT" | "DELETE";
|
|
|
234
238
|
type ServerName = "devices" | "bi" | "call-center";
|
|
235
239
|
declare const nx_api_call: (serverName: ServerName, method: Method, url: string, data?: TObject<any>) => Promise<any>;
|
|
236
240
|
|
|
237
|
-
export { type ValidationType, addAuditRecord, addLoginAudit, add_document, addressRegex, akeylessOnlineDomain, app, appCheck, auth, baseDomain, biDomain, calculateBearing, callCenterDomain, carsRegex, chartsRegex, cleanNxSites, cn, collections, colorRegex, createSelectors, db, delete_document, devicesDomain, displayFormatPhoneNumber, emailRegex, extractAlertsData, extractBoardsData, extractCanbusData, extractCarsData, extractClientData, extractLocationData, extractSiteData, fire_base_TIME_TEMP, formatCarNumber, getFixedNumber, getFormCheckboxValue, getFormElementValue, getLocationUrl, getUserByEmail, getUserByIdentifier, getUserByPhone, getUserCountryByIp, get_all_documents, get_document_by_id, googleLoginProvider, handleChange, handleInvalid, handlePaste, initializeUserPermissions, international_israel_phone_format, isInternational, isInternationalIsraelPhone, isLocal, isNodeEnv, is_iccid, local_israel_phone_format, mode, multiStringFormat, numbersOnlyRegex, numbersRegex, nx_api_call, parseMultiSelectInput, parsePermissions, priceRegex, propsAreEqual, query_document, query_document_by_conditions, query_documents, query_documents_by_conditions, renderOnce, setFormElementValue, setState, set_document, simpleExtractData, snapshot, snapshotDocument, sort_by_timestamp, storage, textNumbersRegex, textRegex, timestamp_to_millis, timestamp_to_string, useLoginWithGoogle, useStoreValues, useValidation, userNameFormat, validateUserStatusAndPermissions };
|
|
241
|
+
export { type ValidationType, addAuditRecord, addLoginAudit, add_document, addressRegex, akeylessOnlineDomain, app, appCheck, auth, baseDomain, biDomain, calculateBearing, callCenterDomain, carsRegex, chartsRegex, cleanNxSites, cn, collections, colorRegex, createSelectors, db, delete_document, devicesDomain, displayFormatPhoneNumber, emailRegex, extractAlertsData, extractBoardsData, extractCanbusData, extractCarsData, extractClientData, extractLocationData, extractSiteData, fire_base_TIME_TEMP, formatCarNumber, getAddressByGeo, getFixedNumber, getFormCheckboxValue, getFormElementValue, getLocationUrl, getUserByEmail, getUserByIdentifier, getUserByPhone, getUserCountryByIp, get_all_documents, get_document_by_id, googleLoginProvider, handleChange, handleInvalid, handlePaste, initializeUserPermissions, international_israel_phone_format, isInternational, isInternationalIsraelPhone, isLocal, isNodeEnv, is_iccid, local_israel_phone_format, mode, multiStringFormat, numbersOnlyRegex, numbersRegex, nx_api_call, parseMultiSelectInput, parsePermissions, priceRegex, propsAreEqual, query_document, query_document_by_conditions, query_documents, query_documents_by_conditions, renderOnce, setFormElementValue, setState, set_document, simpleExtractData, snapshot, snapshotDocument, sort_by_timestamp, storage, textNumbersRegex, textRegex, timestamp_to_millis, timestamp_to_string, useLoginWithGoogle, useStoreValues, useValidation, userNameFormat, validateUserStatusAndPermissions };
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { FirebaseStorage } from 'firebase/storage';
|
|
|
3
3
|
import { Auth, GoogleAuthProvider, User } from 'firebase/auth';
|
|
4
4
|
import { AppCheck } from 'firebase/app-check';
|
|
5
5
|
import { WhereFilterOp, Unsubscribe, Firestore, CollectionReference, DocumentData, Timestamp, DocumentSnapshot } from 'firebase/firestore';
|
|
6
|
-
import { TObject, NxUser, CountryOptions, Client } from 'akeyless-types-commons';
|
|
6
|
+
import { TObject, NxUser, CountryOptions, Client, LanguageOptions } from 'akeyless-types-commons';
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
|
|
@@ -171,6 +171,10 @@ declare const isNodeEnv: NodeJS.ProcessEnv;
|
|
|
171
171
|
declare const mode: string;
|
|
172
172
|
declare const isLocal: boolean;
|
|
173
173
|
declare const getFixedNumber: (number?: number, fix?: number) => string;
|
|
174
|
+
declare const getAddressByGeo: ({ lat, lng }: {
|
|
175
|
+
lat: any;
|
|
176
|
+
lng: any;
|
|
177
|
+
}, currentLanguage: LanguageOptions) => Promise<any>;
|
|
174
178
|
|
|
175
179
|
declare const textRegex: RegExp;
|
|
176
180
|
declare const numbersRegex: RegExp;
|
|
@@ -234,4 +238,4 @@ type Method = "GET" | "POST" | "PUT" | "DELETE";
|
|
|
234
238
|
type ServerName = "devices" | "bi" | "call-center";
|
|
235
239
|
declare const nx_api_call: (serverName: ServerName, method: Method, url: string, data?: TObject<any>) => Promise<any>;
|
|
236
240
|
|
|
237
|
-
export { type ValidationType, addAuditRecord, addLoginAudit, add_document, addressRegex, akeylessOnlineDomain, app, appCheck, auth, baseDomain, biDomain, calculateBearing, callCenterDomain, carsRegex, chartsRegex, cleanNxSites, cn, collections, colorRegex, createSelectors, db, delete_document, devicesDomain, displayFormatPhoneNumber, emailRegex, extractAlertsData, extractBoardsData, extractCanbusData, extractCarsData, extractClientData, extractLocationData, extractSiteData, fire_base_TIME_TEMP, formatCarNumber, getFixedNumber, getFormCheckboxValue, getFormElementValue, getLocationUrl, getUserByEmail, getUserByIdentifier, getUserByPhone, getUserCountryByIp, get_all_documents, get_document_by_id, googleLoginProvider, handleChange, handleInvalid, handlePaste, initializeUserPermissions, international_israel_phone_format, isInternational, isInternationalIsraelPhone, isLocal, isNodeEnv, is_iccid, local_israel_phone_format, mode, multiStringFormat, numbersOnlyRegex, numbersRegex, nx_api_call, parseMultiSelectInput, parsePermissions, priceRegex, propsAreEqual, query_document, query_document_by_conditions, query_documents, query_documents_by_conditions, renderOnce, setFormElementValue, setState, set_document, simpleExtractData, snapshot, snapshotDocument, sort_by_timestamp, storage, textNumbersRegex, textRegex, timestamp_to_millis, timestamp_to_string, useLoginWithGoogle, useStoreValues, useValidation, userNameFormat, validateUserStatusAndPermissions };
|
|
241
|
+
export { type ValidationType, addAuditRecord, addLoginAudit, add_document, addressRegex, akeylessOnlineDomain, app, appCheck, auth, baseDomain, biDomain, calculateBearing, callCenterDomain, carsRegex, chartsRegex, cleanNxSites, cn, collections, colorRegex, createSelectors, db, delete_document, devicesDomain, displayFormatPhoneNumber, emailRegex, extractAlertsData, extractBoardsData, extractCanbusData, extractCarsData, extractClientData, extractLocationData, extractSiteData, fire_base_TIME_TEMP, formatCarNumber, getAddressByGeo, getFixedNumber, getFormCheckboxValue, getFormElementValue, getLocationUrl, getUserByEmail, getUserByIdentifier, getUserByPhone, getUserCountryByIp, get_all_documents, get_document_by_id, googleLoginProvider, handleChange, handleInvalid, handlePaste, initializeUserPermissions, international_israel_phone_format, isInternational, isInternationalIsraelPhone, isLocal, isNodeEnv, is_iccid, local_israel_phone_format, mode, multiStringFormat, numbersOnlyRegex, numbersRegex, nx_api_call, parseMultiSelectInput, parsePermissions, priceRegex, propsAreEqual, query_document, query_document_by_conditions, query_documents, query_documents_by_conditions, renderOnce, setFormElementValue, setState, set_document, simpleExtractData, snapshot, snapshotDocument, sort_by_timestamp, storage, textNumbersRegex, textRegex, timestamp_to_millis, timestamp_to_string, useLoginWithGoogle, useStoreValues, useValidation, userNameFormat, validateUserStatusAndPermissions };
|
package/dist/helpers/index.js
CHANGED
|
@@ -392,6 +392,9 @@ __export(index_exports, {
|
|
|
392
392
|
formatCarNumber: function() {
|
|
393
393
|
return formatCarNumber;
|
|
394
394
|
},
|
|
395
|
+
getAddressByGeo: function() {
|
|
396
|
+
return getAddressByGeo;
|
|
397
|
+
},
|
|
395
398
|
getFixedNumber: function() {
|
|
396
399
|
return getFixedNumber;
|
|
397
400
|
},
|
|
@@ -787,6 +790,63 @@ var getFixedNumber = function() {
|
|
|
787
790
|
var sum_value = number % 1 === 0 ? number : number.toFixed(fix).replace(/\.?0+$/, "");
|
|
788
791
|
return String(sum_value);
|
|
789
792
|
};
|
|
793
|
+
var getAddressByGeo = /*#__PURE__*/ function() {
|
|
794
|
+
var _ref = _async_to_generator(function(param, currentLanguage) {
|
|
795
|
+
var lat, lng, language, apiKey, url, _response_data, response, error;
|
|
796
|
+
return _ts_generator(this, function(_state) {
|
|
797
|
+
switch(_state.label){
|
|
798
|
+
case 0:
|
|
799
|
+
lat = param.lat, lng = param.lng;
|
|
800
|
+
language = currentLanguage === import_akeyless_types_commons.LanguageOptions.He ? "iw" : "en";
|
|
801
|
+
apiKey = import_meta.env.VITE_api_google_key;
|
|
802
|
+
url = "https://maps.googleapis.com/maps/api/geocode/json?latlng=".concat(lat, ",").concat(lng, "&key=").concat(apiKey, "&language=").concat(language);
|
|
803
|
+
_state.label = 1;
|
|
804
|
+
case 1:
|
|
805
|
+
_state.trys.push([
|
|
806
|
+
1,
|
|
807
|
+
3,
|
|
808
|
+
,
|
|
809
|
+
4
|
|
810
|
+
]);
|
|
811
|
+
return [
|
|
812
|
+
4,
|
|
813
|
+
import_axios.default.get(url)
|
|
814
|
+
];
|
|
815
|
+
case 2:
|
|
816
|
+
response = _state.sent();
|
|
817
|
+
if (response === null || response === void 0 ? void 0 : (_response_data = response.data) === null || _response_data === void 0 ? void 0 : _response_data.results[0]) {
|
|
818
|
+
return [
|
|
819
|
+
2,
|
|
820
|
+
response.data.results[0].formatted_address.slice(0, 35)
|
|
821
|
+
];
|
|
822
|
+
} else {
|
|
823
|
+
return [
|
|
824
|
+
2,
|
|
825
|
+
"address not found"
|
|
826
|
+
];
|
|
827
|
+
}
|
|
828
|
+
return [
|
|
829
|
+
3,
|
|
830
|
+
4
|
|
831
|
+
];
|
|
832
|
+
case 3:
|
|
833
|
+
error = _state.sent();
|
|
834
|
+
console.error("getAddressByGeo error:", error);
|
|
835
|
+
return [
|
|
836
|
+
3,
|
|
837
|
+
4
|
|
838
|
+
];
|
|
839
|
+
case 4:
|
|
840
|
+
return [
|
|
841
|
+
2
|
|
842
|
+
];
|
|
843
|
+
}
|
|
844
|
+
});
|
|
845
|
+
});
|
|
846
|
+
return function getAddressByGeo(_, currentLanguage) {
|
|
847
|
+
return _ref.apply(this, arguments);
|
|
848
|
+
};
|
|
849
|
+
}();
|
|
790
850
|
// src/helpers/firebase.ts
|
|
791
851
|
var import_meta2 = {};
|
|
792
852
|
var initApp = function() {
|
|
@@ -2093,6 +2153,7 @@ var nx_api_call = /*#__PURE__*/ function() {
|
|
|
2093
2153
|
extractSiteData: extractSiteData,
|
|
2094
2154
|
fire_base_TIME_TEMP: fire_base_TIME_TEMP,
|
|
2095
2155
|
formatCarNumber: formatCarNumber,
|
|
2156
|
+
getAddressByGeo: getAddressByGeo,
|
|
2096
2157
|
getFixedNumber: getFixedNumber,
|
|
2097
2158
|
getFormCheckboxValue: getFormCheckboxValue,
|
|
2098
2159
|
getFormElementValue: getFormElementValue,
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -277,7 +277,7 @@ var is_iccid = function(number) {
|
|
|
277
277
|
return true;
|
|
278
278
|
};
|
|
279
279
|
// src/helpers/global.ts
|
|
280
|
-
import { CountryOptions } from "akeyless-types-commons";
|
|
280
|
+
import { CountryOptions, LanguageOptions } from "akeyless-types-commons";
|
|
281
281
|
import axios from "axios";
|
|
282
282
|
import { isEqual } from "lodash";
|
|
283
283
|
var calculateBearing = function(startLat, startLng, endLat, endLng) {
|
|
@@ -460,6 +460,63 @@ var getFixedNumber = function() {
|
|
|
460
460
|
var sum_value = number % 1 === 0 ? number : number.toFixed(fix).replace(/\.?0+$/, "");
|
|
461
461
|
return String(sum_value);
|
|
462
462
|
};
|
|
463
|
+
var getAddressByGeo = /*#__PURE__*/ function() {
|
|
464
|
+
var _ref = _async_to_generator(function(param, currentLanguage) {
|
|
465
|
+
var lat, lng, language, apiKey, url, _response_data, response, error;
|
|
466
|
+
return _ts_generator(this, function(_state) {
|
|
467
|
+
switch(_state.label){
|
|
468
|
+
case 0:
|
|
469
|
+
lat = param.lat, lng = param.lng;
|
|
470
|
+
language = currentLanguage === LanguageOptions.He ? "iw" : "en";
|
|
471
|
+
apiKey = import.meta.env.VITE_api_google_key;
|
|
472
|
+
url = "https://maps.googleapis.com/maps/api/geocode/json?latlng=".concat(lat, ",").concat(lng, "&key=").concat(apiKey, "&language=").concat(language);
|
|
473
|
+
_state.label = 1;
|
|
474
|
+
case 1:
|
|
475
|
+
_state.trys.push([
|
|
476
|
+
1,
|
|
477
|
+
3,
|
|
478
|
+
,
|
|
479
|
+
4
|
|
480
|
+
]);
|
|
481
|
+
return [
|
|
482
|
+
4,
|
|
483
|
+
axios.get(url)
|
|
484
|
+
];
|
|
485
|
+
case 2:
|
|
486
|
+
response = _state.sent();
|
|
487
|
+
if (response === null || response === void 0 ? void 0 : (_response_data = response.data) === null || _response_data === void 0 ? void 0 : _response_data.results[0]) {
|
|
488
|
+
return [
|
|
489
|
+
2,
|
|
490
|
+
response.data.results[0].formatted_address.slice(0, 35)
|
|
491
|
+
];
|
|
492
|
+
} else {
|
|
493
|
+
return [
|
|
494
|
+
2,
|
|
495
|
+
"address not found"
|
|
496
|
+
];
|
|
497
|
+
}
|
|
498
|
+
return [
|
|
499
|
+
3,
|
|
500
|
+
4
|
|
501
|
+
];
|
|
502
|
+
case 3:
|
|
503
|
+
error = _state.sent();
|
|
504
|
+
console.error("getAddressByGeo error:", error);
|
|
505
|
+
return [
|
|
506
|
+
3,
|
|
507
|
+
4
|
|
508
|
+
];
|
|
509
|
+
case 4:
|
|
510
|
+
return [
|
|
511
|
+
2
|
|
512
|
+
];
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
});
|
|
516
|
+
return function getAddressByGeo(_, currentLanguage) {
|
|
517
|
+
return _ref.apply(this, arguments);
|
|
518
|
+
};
|
|
519
|
+
}();
|
|
463
520
|
// src/helpers/firebase.ts
|
|
464
521
|
var initApp = function() {
|
|
465
522
|
var isNodeEnv2 = typeof process !== "undefined" && process.env;
|
|
@@ -1730,5 +1787,5 @@ var nx_api_call = /*#__PURE__*/ function() {
|
|
|
1730
1787
|
return _ref.apply(this, arguments);
|
|
1731
1788
|
};
|
|
1732
1789
|
}();
|
|
1733
|
-
export { addAuditRecord, addLoginAudit, add_document, addressRegex, akeylessOnlineDomain, app, appCheck, auth, baseDomain, biDomain, calculateBearing, callCenterDomain, carsRegex, chartsRegex, cleanNxSites, cn, collections, colorRegex, createSelectors, db, delete_document, devicesDomain, displayFormatPhoneNumber, emailRegex, extractAlertsData, extractBoardsData, extractCanbusData, extractCarsData, extractClientData, extractLocationData, extractSiteData, fire_base_TIME_TEMP, formatCarNumber, getFixedNumber, getFormCheckboxValue, getFormElementValue, getLocationUrl, getUserByEmail, getUserByIdentifier, getUserByPhone, getUserCountryByIp, get_all_documents, get_document_by_id, googleLoginProvider, handleChange, handleInvalid, handlePaste, initializeUserPermissions, international_israel_phone_format, isInternational, isInternationalIsraelPhone, isLocal, isNodeEnv, is_iccid, local_israel_phone_format, mode, multiStringFormat, numbersOnlyRegex, numbersRegex, nx_api_call, parseMultiSelectInput, parsePermissions, priceRegex, propsAreEqual, query_document2 as query_document, query_document_by_conditions, query_documents, query_documents_by_conditions, renderOnce, setFormElementValue, setState, set_document, simpleExtractData, snapshot, snapshotDocument, sort_by_timestamp, storage, textNumbersRegex, textRegex, timestamp_to_millis, timestamp_to_string, useLoginWithGoogle, useStoreValues, useValidation, userNameFormat, validateUserStatusAndPermissions };
|
|
1790
|
+
export { addAuditRecord, addLoginAudit, add_document, addressRegex, akeylessOnlineDomain, app, appCheck, auth, baseDomain, biDomain, calculateBearing, callCenterDomain, carsRegex, chartsRegex, cleanNxSites, cn, collections, colorRegex, createSelectors, db, delete_document, devicesDomain, displayFormatPhoneNumber, emailRegex, extractAlertsData, extractBoardsData, extractCanbusData, extractCarsData, extractClientData, extractLocationData, extractSiteData, fire_base_TIME_TEMP, formatCarNumber, getAddressByGeo, getFixedNumber, getFormCheckboxValue, getFormElementValue, getLocationUrl, getUserByEmail, getUserByIdentifier, getUserByPhone, getUserCountryByIp, get_all_documents, get_document_by_id, googleLoginProvider, handleChange, handleInvalid, handlePaste, initializeUserPermissions, international_israel_phone_format, isInternational, isInternationalIsraelPhone, isLocal, isNodeEnv, is_iccid, local_israel_phone_format, mode, multiStringFormat, numbersOnlyRegex, numbersRegex, nx_api_call, parseMultiSelectInput, parsePermissions, priceRegex, propsAreEqual, query_document2 as query_document, query_document_by_conditions, query_documents, query_documents_by_conditions, renderOnce, setFormElementValue, setState, set_document, simpleExtractData, snapshot, snapshotDocument, sort_by_timestamp, storage, textNumbersRegex, textRegex, timestamp_to_millis, timestamp_to_string, useLoginWithGoogle, useStoreValues, useValidation, userNameFormat, validateUserStatusAndPermissions };
|
|
1734
1791
|
//# sourceMappingURL=index.mjs.map
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -188,7 +188,7 @@ import { useCallback } from "react";
|
|
|
188
188
|
// src/helpers/phoneNumber.ts
|
|
189
189
|
import { parsePhoneNumberFromString } from "libphonenumber-js";
|
|
190
190
|
// src/helpers/global.ts
|
|
191
|
-
import { CountryOptions } from "akeyless-types-commons";
|
|
191
|
+
import { CountryOptions, LanguageOptions } from "akeyless-types-commons";
|
|
192
192
|
import axios from "axios";
|
|
193
193
|
import { isEqual } from "lodash";
|
|
194
194
|
var getUserCountryByIp = /*#__PURE__*/ function() {
|