@hexclave/dashboard-ui-components 1.0.45 → 1.0.47

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.
@@ -2,7 +2,7 @@ import * as React$1 from "react";
2
2
  import * as RechartsPrimitive from "recharts";
3
3
 
4
4
  //#region src/components/chart-legend.d.ts
5
- declare const DesignChartLegendContent: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
5
+ declare const DesignChartLegendContent: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "verticalAlign" | "payload"> & {
6
6
  hideIcon?: boolean;
7
7
  nameKey?: string;
8
8
  }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -4461,49 +4461,6 @@ This is likely an error in Hexclave. Please make sure you are running the newest
4461
4461
  return Object.assign(Result.error(new RetryError(errors)), { attempts: totalAttempts });
4462
4462
  }
4463
4463
 
4464
- // ../shared/dist/esm/utils/bytes.js
4465
- function decodeBase64(input) {
4466
- return new Uint8Array(atob(input).split("").map((char) => char.charCodeAt(0)));
4467
- }
4468
- function isBase64(input) {
4469
- return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(input);
4470
- }
4471
-
4472
- // ../shared/dist/esm/utils/urls.js
4473
- function createUrlIfValid(...args) {
4474
- try {
4475
- return new URL(...args);
4476
- } catch (e40) {
4477
- return null;
4478
- }
4479
- }
4480
- function isValidUrl(url) {
4481
- return !!createUrlIfValid(url);
4482
- }
4483
- function isValidHostname(hostname) {
4484
- if (!hostname || hostname.startsWith(".") || hostname.endsWith(".") || hostname.includes("..")) return false;
4485
- const url = createUrlIfValid(`https://${hostname}`);
4486
- if (!url) return false;
4487
- return url.hostname === hostname;
4488
- }
4489
- function isValidHostnameWithWildcards(hostname) {
4490
- if (!hostname) return false;
4491
- if (!hostname.includes("*")) return isValidHostname(hostname);
4492
- if (hostname.startsWith(".") || hostname.endsWith(".")) return false;
4493
- if (hostname.includes("..")) return false;
4494
- const testHostname = hostname.replace(/\*+/g, "wildcard");
4495
- if (!/^[a-zA-Z0-9.-]+$/.test(testHostname)) return false;
4496
- const segments = hostname.split(/\*+/);
4497
- for (let i = 0; i < segments.length; i++) {
4498
- const segment = segments[i];
4499
- if (segment === "") continue;
4500
- if (i === 0 && segment.startsWith(".")) return false;
4501
- if (i === segments.length - 1 && segment.endsWith(".")) return false;
4502
- if (segment.includes("..")) return false;
4503
- }
4504
- return true;
4505
- }
4506
-
4507
4464
  // ../shared/dist/esm/known-errors.js
4508
4465
  var KnownError = class extends StatusError {
4509
4466
  constructor(statusCode, humanReadableMessage, details) {
@@ -5260,6 +5217,49 @@ This is likely an error in Hexclave. Please make sure you are running the newest
5260
5217
  knownErrorCodes.add(KnownError2.errorCode);
5261
5218
  }
5262
5219
 
5220
+ // ../shared/dist/esm/utils/bytes.js
5221
+ function decodeBase64(input) {
5222
+ return new Uint8Array(atob(input).split("").map((char) => char.charCodeAt(0)));
5223
+ }
5224
+ function isBase64(input) {
5225
+ return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(input);
5226
+ }
5227
+
5228
+ // ../shared/dist/esm/utils/urls.js
5229
+ function createUrlIfValid(...args) {
5230
+ try {
5231
+ return new URL(...args);
5232
+ } catch (e40) {
5233
+ return null;
5234
+ }
5235
+ }
5236
+ function isValidUrl(url) {
5237
+ return !!createUrlIfValid(url);
5238
+ }
5239
+ function isValidHostname(hostname) {
5240
+ if (!hostname || hostname.startsWith(".") || hostname.endsWith(".") || hostname.includes("..")) return false;
5241
+ const url = createUrlIfValid(`https://${hostname}`);
5242
+ if (!url) return false;
5243
+ return url.hostname === hostname;
5244
+ }
5245
+ function isValidHostnameWithWildcards(hostname) {
5246
+ if (!hostname) return false;
5247
+ if (!hostname.includes("*")) return isValidHostname(hostname);
5248
+ if (hostname.startsWith(".") || hostname.endsWith(".")) return false;
5249
+ if (hostname.includes("..")) return false;
5250
+ const testHostname = hostname.replace(/\*+/g, "wildcard");
5251
+ if (!/^[a-zA-Z0-9.-]+$/.test(testHostname)) return false;
5252
+ const segments = hostname.split(/\*+/);
5253
+ for (let i = 0; i < segments.length; i++) {
5254
+ const segment = segments[i];
5255
+ if (segment === "") continue;
5256
+ if (i === 0 && segment.startsWith(".")) return false;
5257
+ if (i === segments.length - 1 && segment.endsWith(".")) return false;
5258
+ if (segment.includes("..")) return false;
5259
+ }
5260
+ return true;
5261
+ }
5262
+
5263
5263
  // ../../node_modules/.pnpm/yup@1.7.1/node_modules/yup/index.esm.js
5264
5264
  var import_property_expr = __toESM(require_property_expr());
5265
5265
  var import_tiny_case = __toESM(require_tiny_case());
@@ -7902,7 +7902,7 @@ attempted value: ${formattedValue}
7902
7902
  message: (params) => `${params.path} must be a 2-letter country code`,
7903
7903
  test: (value) => value == null || isValidCountryCode(value)
7904
7904
  });
7905
- var intervalSchema = yupTuple([yupNumber().min(0).integer().defined(), yupString().oneOf([
7905
+ var intervalSchema = yupTuple([yupNumber().min(1).integer().defined(), yupString().oneOf([
7906
7906
  "millisecond",
7907
7907
  "second",
7908
7908
  "minute",
@@ -7912,7 +7912,7 @@ attempted value: ${formattedValue}
7912
7912
  "month",
7913
7913
  "year"
7914
7914
  ]).defined()]);
7915
- var dayIntervalSchema = yupTuple([yupNumber().min(0).integer().defined(), yupString().oneOf([
7915
+ var dayIntervalSchema = yupTuple([yupNumber().min(1).integer().defined(), yupString().oneOf([
7916
7916
  "day",
7917
7917
  "week",
7918
7918
  "month",