akeyless-client-commons 1.1.106 → 1.1.107

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.
@@ -240,6 +240,16 @@ function _set_prototype_of(o, p) {
240
240
  function _sliced_to_array(arr, i) {
241
241
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
242
242
  }
243
+ function _tagged_template_literal(strings, raw) {
244
+ if (!raw) {
245
+ raw = strings.slice(0);
246
+ }
247
+ return Object.freeze(Object.defineProperties(strings, {
248
+ raw: {
249
+ value: Object.freeze(raw)
250
+ }
251
+ }));
252
+ }
243
253
  function _to_consumable_array(arr) {
244
254
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
245
255
  }
@@ -358,6 +368,39 @@ function _ts_generator(thisArg, body) {
358
368
  };
359
369
  }
360
370
  }
371
+ function _templateObject() {
372
+ var data = _tagged_template_literal([
373
+ "[^p{L}s+-.,]"
374
+ ], [
375
+ "[^\\p{L}\\s+\\-.,]"
376
+ ]);
377
+ _templateObject = function _templateObject() {
378
+ return data;
379
+ };
380
+ return data;
381
+ }
382
+ function _templateObject1() {
383
+ var data = _tagged_template_literal([
384
+ "[^0-9s+-.,]"
385
+ ], [
386
+ "[^0-9\\s+\\-.,]"
387
+ ]);
388
+ _templateObject1 = function _templateObject() {
389
+ return data;
390
+ };
391
+ return data;
392
+ }
393
+ function _templateObject2() {
394
+ var data = _tagged_template_literal([
395
+ "[^p{L}0-9s+-.,_+]"
396
+ ], [
397
+ "[^\\p{L}0-9\\s+\\-.,_+]"
398
+ ]);
399
+ _templateObject2 = function _templateObject() {
400
+ return data;
401
+ };
402
+ return data;
403
+ }
361
404
  var __create = Object.create;
362
405
  var __defProp = Object.defineProperty;
363
406
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1111,14 +1154,14 @@ var getFixedNumber = function() {
1111
1154
  };
1112
1155
  // src/helpers/forms.ts
1113
1156
  var import_xregexp = __toESM(require("xregexp"));
1114
- var textRegex = (0, import_xregexp.default)("[^\\p{L}\\s-+.,]", "gu");
1115
- var numbersRegex = (0, import_xregexp.default)("[^0-9\\s-+.,]", "g");
1157
+ var textRegex = (0, import_xregexp.default)(String.raw(_templateObject()), "gu");
1158
+ var numbersRegex = (0, import_xregexp.default)(String.raw(_templateObject1()), "g");
1116
1159
  var numbersOnlyRegex = (0, import_xregexp.default)("[^0-9]", "g");
1117
1160
  var priceRegex = (0, import_xregexp.default)("[^0-9.]", "g");
1118
1161
  var emailRegex = (0, import_xregexp.default)("[^\\p{L}0-9.@\\s-]", "gu");
1119
1162
  var colorRegex = (0, import_xregexp.default)("[^#0-9A-Fa-f]", "g");
1120
1163
  var carsRegex = (0, import_xregexp.default)("[^\\p{L}0-9,_]", "gu");
1121
- var textNumbersRegex = (0, import_xregexp.default)("[^\\p{L}0-9\\s+\\-.,_+]", "gu");
1164
+ var textNumbersRegex = (0, import_xregexp.default)(String.raw(_templateObject2()), "gu");
1122
1165
  var addressRegex = (0, import_xregexp.default)("[^\\p{L}0-9\\s.,+-\\-]", "gu");
1123
1166
  var chartsRegex = (0, import_xregexp.default)("[^\\p{L}0-9\\s.,_@!+-\\-]", "gu");
1124
1167
  var handleChange = function(e) {
@@ -240,6 +240,16 @@ function _set_prototype_of(o, p) {
240
240
  function _sliced_to_array(arr, i) {
241
241
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
242
242
  }
243
+ function _tagged_template_literal(strings, raw) {
244
+ if (!raw) {
245
+ raw = strings.slice(0);
246
+ }
247
+ return Object.freeze(Object.defineProperties(strings, {
248
+ raw: {
249
+ value: Object.freeze(raw)
250
+ }
251
+ }));
252
+ }
243
253
  function _to_consumable_array(arr) {
244
254
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
245
255
  }
@@ -358,6 +368,39 @@ function _ts_generator(thisArg, body) {
358
368
  };
359
369
  }
360
370
  }
371
+ function _templateObject() {
372
+ var data = _tagged_template_literal([
373
+ "[^p{L}s+-.,]"
374
+ ], [
375
+ "[^\\p{L}\\s+\\-.,]"
376
+ ]);
377
+ _templateObject = function _templateObject() {
378
+ return data;
379
+ };
380
+ return data;
381
+ }
382
+ function _templateObject1() {
383
+ var data = _tagged_template_literal([
384
+ "[^0-9s+-.,]"
385
+ ], [
386
+ "[^0-9\\s+\\-.,]"
387
+ ]);
388
+ _templateObject1 = function _templateObject() {
389
+ return data;
390
+ };
391
+ return data;
392
+ }
393
+ function _templateObject2() {
394
+ var data = _tagged_template_literal([
395
+ "[^p{L}0-9s+-.,_+]"
396
+ ], [
397
+ "[^\\p{L}0-9\\s+\\-.,_+]"
398
+ ]);
399
+ _templateObject2 = function _templateObject() {
400
+ return data;
401
+ };
402
+ return data;
403
+ }
361
404
  import moment2 from "moment";
362
405
  import { initializeApp } from "firebase/app";
363
406
  import { getStorage } from "firebase/storage";
@@ -883,14 +926,14 @@ var getFixedNumber = function() {
883
926
  };
884
927
  // src/helpers/forms.ts
885
928
  import XRegExp from "xregexp";
886
- var textRegex = XRegExp("[^\\p{L}\\s-+.,]", "gu");
887
- var numbersRegex = XRegExp("[^0-9\\s-+.,]", "g");
929
+ var textRegex = XRegExp(String.raw(_templateObject()), "gu");
930
+ var numbersRegex = XRegExp(String.raw(_templateObject1()), "g");
888
931
  var numbersOnlyRegex = XRegExp("[^0-9]", "g");
889
932
  var priceRegex = XRegExp("[^0-9.]", "g");
890
933
  var emailRegex = XRegExp("[^\\p{L}0-9.@\\s-]", "gu");
891
934
  var colorRegex = XRegExp("[^#0-9A-Fa-f]", "g");
892
935
  var carsRegex = XRegExp("[^\\p{L}0-9,_]", "gu");
893
- var textNumbersRegex = XRegExp("[^\\p{L}0-9\\s+\\-.,_+]", "gu");
936
+ var textNumbersRegex = XRegExp(String.raw(_templateObject2()), "gu");
894
937
  var addressRegex = XRegExp("[^\\p{L}0-9\\s.,+-\\-]", "gu");
895
938
  var chartsRegex = XRegExp("[^\\p{L}0-9\\s.,_@!+-\\-]", "gu");
896
939
  var handleChange = function(e) {
@@ -153,6 +153,16 @@ function _object_spread_props(target, source) {
153
153
  function _sliced_to_array(arr, i) {
154
154
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
155
155
  }
156
+ function _tagged_template_literal(strings, raw) {
157
+ if (!raw) {
158
+ raw = strings.slice(0);
159
+ }
160
+ return Object.freeze(Object.defineProperties(strings, {
161
+ raw: {
162
+ value: Object.freeze(raw)
163
+ }
164
+ }));
165
+ }
156
166
  function _to_consumable_array(arr) {
157
167
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
158
168
  }
@@ -263,6 +273,39 @@ function _ts_generator(thisArg, body) {
263
273
  };
264
274
  }
265
275
  }
276
+ function _templateObject() {
277
+ var data = _tagged_template_literal([
278
+ "[^p{L}s+-.,]"
279
+ ], [
280
+ "[^\\p{L}\\s+\\-.,]"
281
+ ]);
282
+ _templateObject = function _templateObject() {
283
+ return data;
284
+ };
285
+ return data;
286
+ }
287
+ function _templateObject1() {
288
+ var data = _tagged_template_literal([
289
+ "[^0-9s+-.,]"
290
+ ], [
291
+ "[^0-9\\s+\\-.,]"
292
+ ]);
293
+ _templateObject1 = function _templateObject() {
294
+ return data;
295
+ };
296
+ return data;
297
+ }
298
+ function _templateObject2() {
299
+ var data = _tagged_template_literal([
300
+ "[^p{L}0-9s+-.,_+]"
301
+ ], [
302
+ "[^\\p{L}0-9\\s+\\-.,_+]"
303
+ ]);
304
+ _templateObject2 = function _templateObject() {
305
+ return data;
306
+ };
307
+ return data;
308
+ }
266
309
  var __create = Object.create;
267
310
  var __defProp = Object.defineProperty;
268
311
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -2342,14 +2385,14 @@ var validateAndCast = function(variable, condition) {
2342
2385
  };
2343
2386
  // src/helpers/forms.ts
2344
2387
  var import_xregexp = __toESM(require("xregexp"));
2345
- var textRegex = (0, import_xregexp.default)("[^\\p{L}\\s-+.,]", "gu");
2346
- var numbersRegex = (0, import_xregexp.default)("[^0-9\\s-+.,]", "g");
2388
+ var textRegex = (0, import_xregexp.default)(String.raw(_templateObject()), "gu");
2389
+ var numbersRegex = (0, import_xregexp.default)(String.raw(_templateObject1()), "g");
2347
2390
  var numbersOnlyRegex = (0, import_xregexp.default)("[^0-9]", "g");
2348
2391
  var priceRegex = (0, import_xregexp.default)("[^0-9.]", "g");
2349
2392
  var emailRegex = (0, import_xregexp.default)("[^\\p{L}0-9.@\\s-]", "gu");
2350
2393
  var colorRegex = (0, import_xregexp.default)("[^#0-9A-Fa-f]", "g");
2351
2394
  var carsRegex = (0, import_xregexp.default)("[^\\p{L}0-9,_]", "gu");
2352
- var textNumbersRegex = (0, import_xregexp.default)("[^\\p{L}0-9\\s+\\-.,_+]", "gu");
2395
+ var textNumbersRegex = (0, import_xregexp.default)(String.raw(_templateObject2()), "gu");
2353
2396
  var addressRegex = (0, import_xregexp.default)("[^\\p{L}0-9\\s.,+-\\-]", "gu");
2354
2397
  var chartsRegex = (0, import_xregexp.default)("[^\\p{L}0-9\\s.,_@!+-\\-]", "gu");
2355
2398
  var handleChange = function(e) {
@@ -153,6 +153,16 @@ function _object_spread_props(target, source) {
153
153
  function _sliced_to_array(arr, i) {
154
154
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
155
155
  }
156
+ function _tagged_template_literal(strings, raw) {
157
+ if (!raw) {
158
+ raw = strings.slice(0);
159
+ }
160
+ return Object.freeze(Object.defineProperties(strings, {
161
+ raw: {
162
+ value: Object.freeze(raw)
163
+ }
164
+ }));
165
+ }
156
166
  function _to_consumable_array(arr) {
157
167
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
158
168
  }
@@ -259,6 +269,39 @@ function _ts_generator(thisArg, body) {
259
269
  };
260
270
  }
261
271
  }
272
+ function _templateObject() {
273
+ var data = _tagged_template_literal([
274
+ "[^p{L}s+-.,]"
275
+ ], [
276
+ "[^\\p{L}\\s+\\-.,]"
277
+ ]);
278
+ _templateObject = function _templateObject() {
279
+ return data;
280
+ };
281
+ return data;
282
+ }
283
+ function _templateObject1() {
284
+ var data = _tagged_template_literal([
285
+ "[^0-9s+-.,]"
286
+ ], [
287
+ "[^0-9\\s+\\-.,]"
288
+ ]);
289
+ _templateObject1 = function _templateObject() {
290
+ return data;
291
+ };
292
+ return data;
293
+ }
294
+ function _templateObject2() {
295
+ var data = _tagged_template_literal([
296
+ "[^p{L}0-9s+-.,_+]"
297
+ ], [
298
+ "[^\\p{L}0-9\\s+\\-.,_+]"
299
+ ]);
300
+ _templateObject2 = function _templateObject() {
301
+ return data;
302
+ };
303
+ return data;
304
+ }
262
305
  import moment2 from "moment";
263
306
  import { initializeApp } from "firebase/app";
264
307
  import { getStorage } from "firebase/storage";
@@ -1951,14 +1994,14 @@ var validateAndCast = function(variable, condition) {
1951
1994
  };
1952
1995
  // src/helpers/forms.ts
1953
1996
  import XRegExp from "xregexp";
1954
- var textRegex = XRegExp("[^\\p{L}\\s-+.,]", "gu");
1955
- var numbersRegex = XRegExp("[^0-9\\s-+.,]", "g");
1997
+ var textRegex = XRegExp(String.raw(_templateObject()), "gu");
1998
+ var numbersRegex = XRegExp(String.raw(_templateObject1()), "g");
1956
1999
  var numbersOnlyRegex = XRegExp("[^0-9]", "g");
1957
2000
  var priceRegex = XRegExp("[^0-9.]", "g");
1958
2001
  var emailRegex = XRegExp("[^\\p{L}0-9.@\\s-]", "gu");
1959
2002
  var colorRegex = XRegExp("[^#0-9A-Fa-f]", "g");
1960
2003
  var carsRegex = XRegExp("[^\\p{L}0-9,_]", "gu");
1961
- var textNumbersRegex = XRegExp("[^\\p{L}0-9\\s+\\-.,_+]", "gu");
2004
+ var textNumbersRegex = XRegExp(String.raw(_templateObject2()), "gu");
1962
2005
  var addressRegex = XRegExp("[^\\p{L}0-9\\s.,+-\\-]", "gu");
1963
2006
  var chartsRegex = XRegExp("[^\\p{L}0-9\\s.,_@!+-\\-]", "gu");
1964
2007
  var handleChange = function(e) {
@@ -144,6 +144,16 @@ function _object_spread_props(target, source) {
144
144
  function _sliced_to_array(arr, i) {
145
145
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
146
146
  }
147
+ function _tagged_template_literal(strings, raw) {
148
+ if (!raw) {
149
+ raw = strings.slice(0);
150
+ }
151
+ return Object.freeze(Object.defineProperties(strings, {
152
+ raw: {
153
+ value: Object.freeze(raw)
154
+ }
155
+ }));
156
+ }
147
157
  function _type_of(obj) {
148
158
  "@swc/helpers - typeof";
149
159
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
@@ -251,6 +261,39 @@ function _ts_generator(thisArg, body) {
251
261
  };
252
262
  }
253
263
  }
264
+ function _templateObject() {
265
+ var data = _tagged_template_literal([
266
+ "[^p{L}s+-.,]"
267
+ ], [
268
+ "[^\\p{L}\\s+\\-.,]"
269
+ ]);
270
+ _templateObject = function _templateObject() {
271
+ return data;
272
+ };
273
+ return data;
274
+ }
275
+ function _templateObject1() {
276
+ var data = _tagged_template_literal([
277
+ "[^0-9s+-.,]"
278
+ ], [
279
+ "[^0-9\\s+\\-.,]"
280
+ ]);
281
+ _templateObject1 = function _templateObject() {
282
+ return data;
283
+ };
284
+ return data;
285
+ }
286
+ function _templateObject2() {
287
+ var data = _tagged_template_literal([
288
+ "[^p{L}0-9s+-.,_+]"
289
+ ], [
290
+ "[^\\p{L}0-9\\s+\\-.,_+]"
291
+ ]);
292
+ _templateObject2 = function _templateObject() {
293
+ return data;
294
+ };
295
+ return data;
296
+ }
254
297
  var __create = Object.create;
255
298
  var __defProp = Object.defineProperty;
256
299
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -720,14 +763,14 @@ var _ref = {
720
763
  }, mode = _ref.mode, isLocal = _ref.isLocal;
721
764
  // src/helpers/forms.ts
722
765
  var import_xregexp = __toESM(require("xregexp"));
723
- var textRegex = (0, import_xregexp.default)("[^\\p{L}\\s-+.,]", "gu");
724
- var numbersRegex = (0, import_xregexp.default)("[^0-9\\s-+.,]", "g");
766
+ var textRegex = (0, import_xregexp.default)(String.raw(_templateObject()), "gu");
767
+ var numbersRegex = (0, import_xregexp.default)(String.raw(_templateObject1()), "g");
725
768
  var numbersOnlyRegex = (0, import_xregexp.default)("[^0-9]", "g");
726
769
  var priceRegex = (0, import_xregexp.default)("[^0-9.]", "g");
727
770
  var emailRegex = (0, import_xregexp.default)("[^\\p{L}0-9.@\\s-]", "gu");
728
771
  var colorRegex = (0, import_xregexp.default)("[^#0-9A-Fa-f]", "g");
729
772
  var carsRegex = (0, import_xregexp.default)("[^\\p{L}0-9,_]", "gu");
730
- var textNumbersRegex = (0, import_xregexp.default)("[^\\p{L}0-9\\s+\\-.,_+]", "gu");
773
+ var textNumbersRegex = (0, import_xregexp.default)(String.raw(_templateObject2()), "gu");
731
774
  var addressRegex = (0, import_xregexp.default)("[^\\p{L}0-9\\s.,+-\\-]", "gu");
732
775
  var chartsRegex = (0, import_xregexp.default)("[^\\p{L}0-9\\s.,_@!+-\\-]", "gu");
733
776
  // src/lib/utils.ts
@@ -144,6 +144,16 @@ function _object_spread_props(target, source) {
144
144
  function _sliced_to_array(arr, i) {
145
145
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
146
146
  }
147
+ function _tagged_template_literal(strings, raw) {
148
+ if (!raw) {
149
+ raw = strings.slice(0);
150
+ }
151
+ return Object.freeze(Object.defineProperties(strings, {
152
+ raw: {
153
+ value: Object.freeze(raw)
154
+ }
155
+ }));
156
+ }
147
157
  function _type_of(obj) {
148
158
  "@swc/helpers - typeof";
149
159
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
@@ -251,6 +261,39 @@ function _ts_generator(thisArg, body) {
251
261
  };
252
262
  }
253
263
  }
264
+ function _templateObject() {
265
+ var data = _tagged_template_literal([
266
+ "[^p{L}s+-.,]"
267
+ ], [
268
+ "[^\\p{L}\\s+\\-.,]"
269
+ ]);
270
+ _templateObject = function _templateObject() {
271
+ return data;
272
+ };
273
+ return data;
274
+ }
275
+ function _templateObject1() {
276
+ var data = _tagged_template_literal([
277
+ "[^0-9s+-.,]"
278
+ ], [
279
+ "[^0-9\\s+\\-.,]"
280
+ ]);
281
+ _templateObject1 = function _templateObject() {
282
+ return data;
283
+ };
284
+ return data;
285
+ }
286
+ function _templateObject2() {
287
+ var data = _tagged_template_literal([
288
+ "[^p{L}0-9s+-.,_+]"
289
+ ], [
290
+ "[^\\p{L}0-9\\s+\\-.,_+]"
291
+ ]);
292
+ _templateObject2 = function _templateObject() {
293
+ return data;
294
+ };
295
+ return data;
296
+ }
254
297
  import { CountryOptions as CountryOptions2 } from "akeyless-types-commons";
255
298
  import { useEffect, useLayoutEffect } from "react";
256
299
  // src/helpers/firebase.ts
@@ -624,14 +667,14 @@ var _ref = {
624
667
  }, mode = _ref.mode, isLocal = _ref.isLocal;
625
668
  // src/helpers/forms.ts
626
669
  import XRegExp from "xregexp";
627
- var textRegex = XRegExp("[^\\p{L}\\s-+.,]", "gu");
628
- var numbersRegex = XRegExp("[^0-9\\s-+.,]", "g");
670
+ var textRegex = XRegExp(String.raw(_templateObject()), "gu");
671
+ var numbersRegex = XRegExp(String.raw(_templateObject1()), "g");
629
672
  var numbersOnlyRegex = XRegExp("[^0-9]", "g");
630
673
  var priceRegex = XRegExp("[^0-9.]", "g");
631
674
  var emailRegex = XRegExp("[^\\p{L}0-9.@\\s-]", "gu");
632
675
  var colorRegex = XRegExp("[^#0-9A-Fa-f]", "g");
633
676
  var carsRegex = XRegExp("[^\\p{L}0-9,_]", "gu");
634
- var textNumbersRegex = XRegExp("[^\\p{L}0-9\\s+\\-.,_+]", "gu");
677
+ var textNumbersRegex = XRegExp(String.raw(_templateObject2()), "gu");
635
678
  var addressRegex = XRegExp("[^\\p{L}0-9\\s.,+-\\-]", "gu");
636
679
  var chartsRegex = XRegExp("[^\\p{L}0-9\\s.,_@!+-\\-]", "gu");
637
680
  // src/lib/utils.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akeyless-client-commons",
3
- "version": "1.1.106",
3
+ "version": "1.1.107",
4
4
  "scripts": {
5
5
  "build": "tsup",
6
6
  "deploy": "npm run build && npm version patch --no-git-tag-version && npm publish",