@embedreach/components 0.3.47 → 0.3.48

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.
@@ -0,0 +1,42 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { i as Card, j as CardHeader, k as CardTitle, l as CardDescription, m as CardContent } from "./index.js";
3
+ const intro = "reach-InfoCard-module__intro___yH9i6";
4
+ const itemList = "reach-InfoCard-module__itemList___ySYR4";
5
+ const item = "reach-InfoCard-module__item___bXrCD";
6
+ const dot = "reach-InfoCard-module__dot___tJMBM";
7
+ const styles = {
8
+ intro,
9
+ itemList,
10
+ item,
11
+ dot
12
+ };
13
+ const InfoCard = ({
14
+ title,
15
+ description,
16
+ icon: Icon,
17
+ items,
18
+ intro: intro2,
19
+ children
20
+ }) => /* @__PURE__ */ jsxs(Card, { children: [
21
+ /* @__PURE__ */ jsxs(CardHeader, { children: [
22
+ /* @__PURE__ */ jsxs(CardTitle, { className: "flex items-center gap-2", children: [
23
+ /* @__PURE__ */ jsx(Icon, { className: "h-5 w-5 text-primary" }),
24
+ title
25
+ ] }),
26
+ /* @__PURE__ */ jsx(CardDescription, { children: description })
27
+ ] }),
28
+ /* @__PURE__ */ jsxs(CardContent, { children: [
29
+ intro2 && /* @__PURE__ */ jsx("p", { className: styles.intro, children: intro2 }),
30
+ items && /* @__PURE__ */ jsx("ul", { className: styles.itemList, children: items.map((item2, index) => /* @__PURE__ */ jsxs("li", { className: styles.item, children: [
31
+ /* @__PURE__ */ jsx("span", { className: styles.dot, "data-color": item2.dotColor }),
32
+ /* @__PURE__ */ jsxs("div", { children: [
33
+ item2.title && /* @__PURE__ */ jsx("h5", { children: item2.title }),
34
+ /* @__PURE__ */ jsx("p", { children: item2.description })
35
+ ] })
36
+ ] }, index)) }),
37
+ children
38
+ ] })
39
+ ] });
40
+ export {
41
+ InfoCard as I
42
+ };
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState, useEffect } from "react";
3
- import { S as SegmentDefinitionTypeEnum, C as ChannelAccountTypeEnum, A as AutomationStatus, a as AutomationTriggerType, B as BusinessAutomationTypeEnum, b as ActionType, z as z$2, R as ReachClientEnum, H as H3 } from "./index.js";
3
+ import { S as SegmentDefinitionTypeEnum, C as ChannelAccountTypeEnum, A as AutomationStatus, a as AutomationTriggerType, b as ActionType, B as BusinessAutomationTypeEnum, z as z$2, R as ReachClientEnum, H as H3 } from "./index.js";
4
4
  var POSITIONALS_EXP$1 = /(%?)(%([sdijo]))/g;
5
5
  function serializePositional$1(positional, flag) {
6
6
  switch (flag) {
@@ -23076,7 +23076,7 @@ const native = {
23076
23076
  randomUUID
23077
23077
  };
23078
23078
  function v4(options, buf, offset) {
23079
- if (native.randomUUID && !buf && !options) {
23079
+ if (native.randomUUID && true && !options) {
23080
23080
  return native.randomUUID();
23081
23081
  }
23082
23082
  options = options || {};
@@ -25589,7 +25589,6 @@ const reputationHandlers = [
25589
25589
  const endDate = url.searchParams.get("end_date");
25590
25590
  const locationIds = url.searchParams.get("location_ids");
25591
25591
  const queryParams = {
25592
- platform: "google_business_profile",
25593
25592
  start_date: startDate || void 0,
25594
25593
  end_date: endDate || void 0,
25595
25594
  location_ids: locationIds ? locationIds.split(",").filter(Boolean) : void 0
@@ -25669,7 +25668,7 @@ const reputationHandlers = [
25669
25668
  return HttpResponse.json({
25670
25669
  success: true,
25671
25670
  message: "Success (Sandbox)",
25672
- data: timeSeriesData
25671
+ data: timeSeriesData.data
25673
25672
  });
25674
25673
  }),
25675
25674
  // Reputation Audit Logs
@@ -0,0 +1,21 @@
1
+ import { f as createLucideIcon } from "./index.js";
2
+ /**
3
+ * @license lucide-react v0.464.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const ShoppingCart = createLucideIcon("ShoppingCart", [
9
+ ["circle", { cx: "8", cy: "21", r: "1", key: "jimo8o" }],
10
+ ["circle", { cx: "19", cy: "21", r: "1", key: "13723u" }],
11
+ [
12
+ "path",
13
+ {
14
+ d: "M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",
15
+ key: "9zh506"
16
+ }
17
+ ]
18
+ ]);
19
+ export {
20
+ ShoppingCart as S
21
+ };
package/dist/index.d.ts CHANGED
@@ -401,12 +401,12 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
401
401
  category: z.ZodOptional<z.ZodNativeEnum<SmsUseCaseCategory>>;
402
402
  useCaseDetails: z.ZodOptional<z.ZodString>;
403
403
  }, "strip", z.ZodTypeAny, {
404
- monthlyVolume?: number | undefined;
405
404
  category?: SmsUseCaseCategory | undefined;
405
+ monthlyVolume?: number | undefined;
406
406
  useCaseDetails?: string | undefined;
407
407
  }, {
408
- monthlyVolume?: number | undefined;
409
408
  category?: SmsUseCaseCategory | undefined;
409
+ monthlyVolume?: number | undefined;
410
410
  useCaseDetails?: string | undefined;
411
411
  }>;
412
412
  messageSamples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -437,8 +437,8 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
437
437
  };
438
438
  tollFreeNumber: string;
439
439
  messagingUseCase: {
440
- monthlyVolume?: number | undefined;
441
440
  category?: SmsUseCaseCategory | undefined;
441
+ monthlyVolume?: number | undefined;
442
442
  useCaseDetails?: string | undefined;
443
443
  };
444
444
  messageSamples?: string[] | undefined;
@@ -469,8 +469,8 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
469
469
  };
470
470
  tollFreeNumber: string;
471
471
  messagingUseCase: {
472
- monthlyVolume?: number | undefined;
473
472
  category?: SmsUseCaseCategory | undefined;
473
+ monthlyVolume?: number | undefined;
474
474
  useCaseDetails?: string | undefined;
475
475
  };
476
476
  messageSamples?: string[] | undefined;
package/dist/index.es.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { a, e, f, E, d, c, g, V } from "./chunks/index.js";
3
+ import { a, p, q, r, o, n, s, V } from "./chunks/index.js";
4
4
  export {
5
5
  a as AutomationTriggerType,
6
- e as CreateAutomationDialog,
7
- f as CreateAutomationModal,
8
- E as Engage,
9
- d as ReachProvider,
10
- c as SMSOnboarding,
11
- g as SegmentBuilderDialog,
6
+ p as CreateAutomationDialog,
7
+ q as CreateAutomationModal,
8
+ r as Engage,
9
+ o as ReachProvider,
10
+ n as SMSOnboarding,
11
+ s as SegmentBuilderDialog,
12
12
  V as ViewAutomationModal
13
13
  };