@feelflow/ffid-sdk 2.10.0 → 2.12.0

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.
@@ -1,34 +1,34 @@
1
1
  'use strict';
2
2
 
3
- var chunk55KLWKM7_cjs = require('../chunk-55KLWKM7.cjs');
3
+ var chunk5ZMR3NNO_cjs = require('../chunk-5ZMR3NNO.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "FFIDAnnouncementBadge", {
8
8
  enumerable: true,
9
- get: function () { return chunk55KLWKM7_cjs.FFIDAnnouncementBadge; }
9
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDAnnouncementBadge; }
10
10
  });
11
11
  Object.defineProperty(exports, "FFIDAnnouncementList", {
12
12
  enumerable: true,
13
- get: function () { return chunk55KLWKM7_cjs.FFIDAnnouncementList; }
13
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDAnnouncementList; }
14
14
  });
15
15
  Object.defineProperty(exports, "FFIDInquiryForm", {
16
16
  enumerable: true,
17
- get: function () { return chunk55KLWKM7_cjs.FFIDInquiryForm; }
17
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDInquiryForm; }
18
18
  });
19
19
  Object.defineProperty(exports, "FFIDLoginButton", {
20
20
  enumerable: true,
21
- get: function () { return chunk55KLWKM7_cjs.FFIDLoginButton; }
21
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDLoginButton; }
22
22
  });
23
23
  Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
24
24
  enumerable: true,
25
- get: function () { return chunk55KLWKM7_cjs.FFIDOrganizationSwitcher; }
25
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDOrganizationSwitcher; }
26
26
  });
27
27
  Object.defineProperty(exports, "FFIDSubscriptionBadge", {
28
28
  enumerable: true,
29
- get: function () { return chunk55KLWKM7_cjs.FFIDSubscriptionBadge; }
29
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDSubscriptionBadge; }
30
30
  });
31
31
  Object.defineProperty(exports, "FFIDUserMenu", {
32
32
  enumerable: true,
33
- get: function () { return chunk55KLWKM7_cjs.FFIDUserMenu; }
33
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDUserMenu; }
34
34
  });
@@ -1,3 +1,3 @@
1
- export { H as FFIDAnnouncementBadge, ac as FFIDAnnouncementBadgeClassNames, ad as FFIDAnnouncementBadgeProps, I as FFIDAnnouncementList, ae as FFIDAnnouncementListClassNames, af as FFIDAnnouncementListProps, Q as FFIDInquiryForm, R as FFIDInquiryFormCategoryItem, S as FFIDInquiryFormOrganization, T as FFIDInquiryFormPlaceholderContext, U as FFIDInquiryFormPrefill, V as FFIDInquiryFormProps, W as FFIDInquiryFormSubmitData, X as FFIDInquiryFormSubmitResult, Z as FFIDLoginButton, ag as FFIDLoginButtonProps, a3 as FFIDOrganizationSwitcher, ah as FFIDOrganizationSwitcherClassNames, ai as FFIDOrganizationSwitcherProps, a5 as FFIDSubscriptionBadge, aj as FFIDSubscriptionBadgeClassNames, ak as FFIDSubscriptionBadgeProps, a7 as FFIDUserMenu, al as FFIDUserMenuClassNames, am as FFIDUserMenuProps } from '../index-BSuGxrqG.cjs';
1
+ export { H as FFIDAnnouncementBadge, ad as FFIDAnnouncementBadgeClassNames, ae as FFIDAnnouncementBadgeProps, I as FFIDAnnouncementList, af as FFIDAnnouncementListClassNames, ag as FFIDAnnouncementListProps, Q as FFIDInquiryForm, R as FFIDInquiryFormCategoryItem, S as FFIDInquiryFormClassNames, T as FFIDInquiryFormOrganization, U as FFIDInquiryFormPlaceholderContext, V as FFIDInquiryFormPrefill, W as FFIDInquiryFormProps, X as FFIDInquiryFormSubmitData, Y as FFIDInquiryFormSubmitResult, _ as FFIDLoginButton, ah as FFIDLoginButtonProps, a4 as FFIDOrganizationSwitcher, ai as FFIDOrganizationSwitcherClassNames, aj as FFIDOrganizationSwitcherProps, a6 as FFIDSubscriptionBadge, ak as FFIDSubscriptionBadgeClassNames, al as FFIDSubscriptionBadgeProps, a8 as FFIDUserMenu, am as FFIDUserMenuClassNames, an as FFIDUserMenuProps } from '../index-BuT9VaRt.cjs';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
@@ -1,3 +1,3 @@
1
- export { H as FFIDAnnouncementBadge, ac as FFIDAnnouncementBadgeClassNames, ad as FFIDAnnouncementBadgeProps, I as FFIDAnnouncementList, ae as FFIDAnnouncementListClassNames, af as FFIDAnnouncementListProps, Q as FFIDInquiryForm, R as FFIDInquiryFormCategoryItem, S as FFIDInquiryFormOrganization, T as FFIDInquiryFormPlaceholderContext, U as FFIDInquiryFormPrefill, V as FFIDInquiryFormProps, W as FFIDInquiryFormSubmitData, X as FFIDInquiryFormSubmitResult, Z as FFIDLoginButton, ag as FFIDLoginButtonProps, a3 as FFIDOrganizationSwitcher, ah as FFIDOrganizationSwitcherClassNames, ai as FFIDOrganizationSwitcherProps, a5 as FFIDSubscriptionBadge, aj as FFIDSubscriptionBadgeClassNames, ak as FFIDSubscriptionBadgeProps, a7 as FFIDUserMenu, al as FFIDUserMenuClassNames, am as FFIDUserMenuProps } from '../index-BSuGxrqG.js';
1
+ export { H as FFIDAnnouncementBadge, ad as FFIDAnnouncementBadgeClassNames, ae as FFIDAnnouncementBadgeProps, I as FFIDAnnouncementList, af as FFIDAnnouncementListClassNames, ag as FFIDAnnouncementListProps, Q as FFIDInquiryForm, R as FFIDInquiryFormCategoryItem, S as FFIDInquiryFormClassNames, T as FFIDInquiryFormOrganization, U as FFIDInquiryFormPlaceholderContext, V as FFIDInquiryFormPrefill, W as FFIDInquiryFormProps, X as FFIDInquiryFormSubmitData, Y as FFIDInquiryFormSubmitResult, _ as FFIDLoginButton, ah as FFIDLoginButtonProps, a4 as FFIDOrganizationSwitcher, ai as FFIDOrganizationSwitcherClassNames, aj as FFIDOrganizationSwitcherProps, a6 as FFIDSubscriptionBadge, ak as FFIDSubscriptionBadgeClassNames, al as FFIDSubscriptionBadgeProps, a8 as FFIDUserMenu, am as FFIDUserMenuClassNames, an as FFIDUserMenuProps } from '../index-BuT9VaRt.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
@@ -1 +1 @@
1
- export { FFIDAnnouncementBadge, FFIDAnnouncementList, FFIDInquiryForm, FFIDLoginButton, FFIDOrganizationSwitcher, FFIDSubscriptionBadge, FFIDUserMenu } from '../chunk-6DYAJ6IJ.js';
1
+ export { FFIDAnnouncementBadge, FFIDAnnouncementList, FFIDInquiryForm, FFIDLoginButton, FFIDOrganizationSwitcher, FFIDSubscriptionBadge, FFIDUserMenu } from '../chunk-KJUA77BM.js';
@@ -886,6 +886,85 @@ interface FFIDAnnouncementListProps {
886
886
  */
887
887
  declare function FFIDAnnouncementList({ announcements, isLoading, className, classNames, style, formatDate, emptyMessage, loadingRender, renderItem, maxContentLines, }: FFIDAnnouncementListProps): react_jsx_runtime.JSX.Element;
888
888
 
889
+ /**
890
+ * Internals shared with the `FFIDInquiryForm` component.
891
+ *
892
+ * Split out of `FFIDInquiryForm.tsx` to keep that file under the repo's
893
+ * hard file-size limit. Everything exported here is part of the SDK's
894
+ * private surface — do NOT re-export these from `components/index.ts`.
895
+ * The single source of truth for consumers is `FFIDInquiryForm.tsx`.
896
+ */
897
+
898
+ /** Category option rendered in the form select. */
899
+ interface FFIDInquiryFormCategoryItem {
900
+ value: string;
901
+ label: string;
902
+ group?: string;
903
+ groupLabel?: string;
904
+ }
905
+ /**
906
+ * Per-slot `className` overrides. Every key is optional; when omitted,
907
+ * the slot falls back to SDK defaults. Intended to be combined with
908
+ * `unstyled={true}` for full brand styling (Tailwind / CSS-in-JS /
909
+ * global CSS), but also works on top of the default inline styles when
910
+ * `unstyled={false}` if the consumer wants to layer additional classes.
911
+ *
912
+ * Composition rules:
913
+ * - `form` is applied *in addition to* the top-level `className` prop
914
+ * (both are space-joined on the root `<form>` and on the success
915
+ * `<div role="status">`).
916
+ * - `readOnlyInput` is applied *in addition to* `input` on name / email
917
+ * inputs in `mode='authenticated'`; it is not a standalone class.
918
+ * - `successBlock` is layered on top of `form` on the success view so
919
+ * the wrapper stays themeable while the success-specific layer can
920
+ * add its own class.
921
+ * - `categoryPlaceholderOption` is only rendered when
922
+ * `requireCategorySelection` is true; setting it otherwise is a
923
+ * silent no-op.
924
+ */
925
+ interface FFIDInquiryFormClassNames {
926
+ /** Root `<form>` (or the success `<div role="status">`). Merges with the top-level `className` prop. */
927
+ form?: string;
928
+ /** Wrapper around each labeled input. */
929
+ field?: string;
930
+ /** `<label>` / `<legend>` elements. */
931
+ label?: string;
932
+ /** `<input>` elements for name / email / company / phone. */
933
+ input?: string;
934
+ /** Extra class added on top of `input` when the input is read-only. */
935
+ readOnlyInput?: string;
936
+ /** `<select>` elements (category + organization). */
937
+ select?: string;
938
+ /** `<textarea>` for the message body. */
939
+ textarea?: string;
940
+ /** Disabled "選択してください" option emitted when `requireCategorySelection` is true. */
941
+ categoryPlaceholderOption?: string;
942
+ /** `<fieldset>` wrapping the newsletter opt-in checkboxes. */
943
+ newsletterFieldset?: string;
944
+ /** `<legend>` of the newsletter fieldset. */
945
+ newsletterLegend?: string;
946
+ /** `<label>` row for each newsletter checkbox. */
947
+ newsletterRow?: string;
948
+ /** Each newsletter `<input type="checkbox">`. */
949
+ newsletterCheckbox?: string;
950
+ /** Wrapper around the legal agreement block. */
951
+ legalBlock?: string;
952
+ /** `<label>` row for each legal checkbox. */
953
+ legalRow?: string;
954
+ /** Each legal `<input type="checkbox">`. */
955
+ legalCheckbox?: string;
956
+ /** Terms / privacy `<a>` links rendered inline with the legal checkbox label. */
957
+ legalLink?: string;
958
+ /** `<p role="alert">` container for the form-level error message. */
959
+ errorText?: string;
960
+ /** `<button type="submit">`. */
961
+ submitButton?: string;
962
+ /** Success `<div role="status">` rendered after a successful submit. */
963
+ successBlock?: string;
964
+ /** Wrapper around the organization `<select>` (authenticated mode). */
965
+ orgSelectWrapper?: string;
966
+ }
967
+
889
968
  /**
890
969
  * Known category literal with an escape hatch for arbitrary strings, so
891
970
  * IDE autocomplete suggests the built-in set while still accepting any
@@ -914,25 +993,14 @@ interface FFIDInquiryFormPrefill {
914
993
  /**
915
994
  * Preselected category value. Silently ignored if the value does not
916
995
  * match any entry in `categories` (or the default list when `categories`
917
- * is omitted), so consumers can safely forward URL query strings.
996
+ * is omitted), so consumers can safely forward URL query strings. When
997
+ * `requireCategorySelection` is true and this is missing/invalid, the
998
+ * form starts with an empty selection instead of auto-choosing the
999
+ * first option.
918
1000
  */
919
1001
  category?: FFIDInquiryCategoryValue;
920
1002
  message?: string;
921
1003
  }
922
- /**
923
- * Category option rendered in the form select. If any item has a
924
- * `group` the select switches into `<optgroup>` mode; ungrouped items
925
- * are emitted as bare `<option>` entries before the first `<optgroup>`
926
- * in DOM order. Groups render in the order each `group` key first
927
- * appears in `categories`, and the first encountered `groupLabel` wins
928
- * when a `group` key repeats with inconsistent labels.
929
- */
930
- interface FFIDInquiryFormCategoryItem {
931
- value: string;
932
- label: string;
933
- group?: string;
934
- groupLabel?: string;
935
- }
936
1004
  interface FFIDInquiryFormSubmitData {
937
1005
  name: string;
938
1006
  email: string;
@@ -973,18 +1041,11 @@ interface FFIDInquiryFormProps {
973
1041
  onSubmit: (data: FFIDInquiryFormSubmitData) => Promise<FFIDInquiryFormSubmitResult>;
974
1042
  /**
975
1043
  * Called after every change to a field that is part of the submit
976
- * payload (including the initial mount with prefilled values and
977
- * re-fires when `termsVersion`/`privacyVersion`/`turnstileToken`/
978
- * `locale` props change). Enables consumers to mirror state for
979
- * URL-driven banners, analytics, or dynamic placeholders without
980
- * owning the form. Consent checkboxes (`separateLegalCheckboxes` or
981
- * the combined variant) are intentionally excluded — they are not
982
- * part of `FFIDInquiryFormSubmitData`. Emitted values use the same
983
- * normalization as `onSubmit` (string fields are trimmed; empty
984
- * strings become `null` for `company` / `phone`).
985
- *
986
- * React StrictMode double-invokes effects in development, so expect
987
- * two calls per mount in dev builds.
1044
+ * payload. Consent checkboxes are intentionally excluded they are
1045
+ * not part of `FFIDInquiryFormSubmitData`. Emitted values use the
1046
+ * same normalization as `onSubmit` (trimmed strings; empty
1047
+ * `company`/`phone` become `null`). React StrictMode double-invokes
1048
+ * effects in dev, so expect two calls per mount.
988
1049
  */
989
1050
  onChange?: (data: FFIDInquiryFormSubmitData) => void;
990
1051
  /**
@@ -996,29 +1057,53 @@ interface FFIDInquiryFormProps {
996
1057
  /**
997
1058
  * Overrides the `<textarea>` placeholder. A plain string is applied
998
1059
  * verbatim; a function is called with the currently selected category
999
- * so consumers can vary the copy per selection (e.g. different hint
1000
- * text for "sales" vs "support"). The SDK memoizes the resolved
1001
- * placeholder keyed on `category` and the `messagePlaceholder`
1002
- * identity, so the function typically re-runs only when the user
1003
- * picks a different category or the prop reference changes — keep it
1004
- * cheap and pure so that contract is safe to rely on.
1005
- *
1006
- * When omitted, no `placeholder` attribute is emitted (SDK ≤ 2.9
1007
- * behavior).
1060
+ * so consumers can vary the copy per selection. Memoized on the
1061
+ * resolved `category` + `messagePlaceholder` identity. Omitting the
1062
+ * prop leaves the textarea with no `placeholder` attribute.
1008
1063
  */
1009
1064
  messagePlaceholder?: string | ((ctx: FFIDInquiryFormPlaceholderContext) => string);
1065
+ /**
1066
+ * When true, the category `<select>` starts empty (unless `prefill.category`
1067
+ * resolves to a valid option) and renders a disabled "選択してください"
1068
+ * placeholder as the first option. Submits are blocked with an error
1069
+ * message until the user explicitly picks a category. Default `false`
1070
+ * preserves the SDK ≤ 2.10 behavior of auto-selecting the first option.
1071
+ *
1072
+ * Use this when the downstream routing depends on an intentional
1073
+ * category choice — the default auto-selection silently misclassifies
1074
+ * inquiries from users who never interacted with the dropdown.
1075
+ */
1076
+ requireCategorySelection?: boolean;
1077
+ /**
1078
+ * When true, drops every inline `style` attribute the SDK adds.
1079
+ * Structural attributes (`required`, `readOnly`, `noValidate`, `role`,
1080
+ * `data-hydrated`, …) are kept so keyboard / screen-reader semantics
1081
+ * are unchanged. Pair with `classNames` for fully branded rendering.
1082
+ * Default `false` keeps the inline-styled defaults from SDK ≤ 2.10.
1083
+ */
1084
+ unstyled?: boolean;
1085
+ /**
1086
+ * Per-slot `className` overrides. See `FFIDInquiryFormClassNames` for
1087
+ * the full list of slots. Classes apply **in addition to** any inline
1088
+ * `style` the SDK emits unless `unstyled={true}`.
1089
+ */
1090
+ classNames?: FFIDInquiryFormClassNames;
1010
1091
  locale?: 'ja' | 'en';
1092
+ /**
1093
+ * Additional class for the root `<form>` (or the success `<div>`).
1094
+ * Kept for backward compatibility with SDK ≤ 2.10; merges with
1095
+ * `classNames.form` when both are provided.
1096
+ */
1011
1097
  className?: string;
1012
1098
  }
1013
1099
  /**
1014
- * Context passed to a function-form `messagePlaceholder`. `category` is
1015
- * typed `string | null` so a future unselected-state can be introduced
1016
- * without breaking consumers, even though the current form always has a
1017
- * non-null category value selected.
1100
+ * Context passed to a function-form `messagePlaceholder`. When
1101
+ * `requireCategorySelection` is true and nothing is selected yet, the
1102
+ * form passes `null` here.
1018
1103
  */
1019
1104
  interface FFIDInquiryFormPlaceholderContext {
1020
1105
  category: string | null;
1021
1106
  }
1022
- declare function FFIDInquiryForm({ mode, prefill, organizations, preselectedOrganizationId, categories, termsVersion, privacyVersion, termsHref, privacyHref, turnstileToken, turnstileSlot, onSubmit, onChange, separateLegalCheckboxes, messagePlaceholder, locale, className, }: FFIDInquiryFormProps): react_jsx_runtime.JSX.Element;
1107
+ declare function FFIDInquiryForm({ mode, prefill, organizations, preselectedOrganizationId, categories, termsVersion, privacyVersion, termsHref, privacyHref, turnstileToken, turnstileSlot, onSubmit, onChange, separateLegalCheckboxes, messagePlaceholder, requireCategorySelection, unstyled, classNames, locale, className, }: FFIDInquiryFormProps): react_jsx_runtime.JSX.Element;
1023
1108
 
1024
- export { type FFIDOAuthTokenResponse as $, type FFIDAnnouncementsApiResponse as A, type AnnouncementListResponse as B, type FFIDAnnouncementsLogger as C, type Announcement as D, type AnnouncementStatus as E, type FFIDSubscriptionStatus as F, type AnnouncementType as G, FFIDAnnouncementBadge as H, FFIDAnnouncementList as I, type FFIDAnnouncementsError as J, type FFIDAnnouncementsErrorCode as K, type ListAnnouncementsOptions as L, type FFIDAnnouncementsServerResponse as M, type FFIDCacheConfig as N, type FFIDContextValue as O, type FFIDInquiryCategory as P, FFIDInquiryForm as Q, type FFIDInquiryFormCategoryItem as R, type FFIDInquiryFormOrganization as S, type FFIDInquiryFormPlaceholderContext as T, type FFIDInquiryFormPrefill as U, type FFIDInquiryFormProps as V, type FFIDInquiryFormSubmitData as W, type FFIDInquiryFormSubmitResult as X, type FFIDJwtClaims as Y, FFIDLoginButton as Z, type FFIDMemberStatus as _, type FFIDConfig as a, type FFIDOAuthUserInfoMemberRole as a0, type FFIDOAuthUserInfoSubscription as a1, type FFIDOrganizationMember as a2, FFIDOrganizationSwitcher as a3, type FFIDSeatModel as a4, FFIDSubscriptionBadge as a5, type FFIDTokenIntrospectionResponse as a6, FFIDUserMenu as a7, FFID_INQUIRY_CATEGORIES as a8, type UseFFIDAnnouncementsOptions as a9, type UseFFIDAnnouncementsReturn as aa, useFFIDAnnouncements as ab, type FFIDAnnouncementBadgeClassNames as ac, type FFIDAnnouncementBadgeProps as ad, type FFIDAnnouncementListClassNames as ae, type FFIDAnnouncementListProps as af, type FFIDLoginButtonProps as ag, type FFIDOrganizationSwitcherClassNames as ah, type FFIDOrganizationSwitcherProps as ai, type FFIDSubscriptionBadgeClassNames as aj, type FFIDSubscriptionBadgeProps as ak, type FFIDUserMenuClassNames as al, type FFIDUserMenuProps as am, type FFIDApiResponse as b, type FFIDSessionResponse as c, type FFIDRedirectResult as d, type FFIDError as e, type FFIDSubscriptionCheckResponse as f, type FFIDListMembersResponse as g, type FFIDMemberRole as h, type FFIDUpdateMemberRoleResponse as i, type FFIDRemoveMemberResponse as j, type FFIDCreateCheckoutParams as k, type FFIDCheckoutSessionResponse as l, type FFIDCreatePortalParams as m, type FFIDPortalSessionResponse as n, type FFIDVerifyAccessTokenOptions as o, type FFIDOAuthUserInfo as p, type FFIDInquiryCreateParams as q, type FFIDInquiryCreateResponse as r, type FFIDAuthMode as s, type FFIDLogger as t, type FFIDCacheAdapter as u, type FFIDUser as v, type FFIDOrganization as w, type FFIDSubscription as x, type FFIDSubscriptionContextValue as y, type FFIDAnnouncementsClientConfig as z };
1109
+ export { type FFIDMemberStatus as $, type FFIDAnnouncementsApiResponse as A, type AnnouncementListResponse as B, type FFIDAnnouncementsLogger as C, type Announcement as D, type AnnouncementStatus as E, type FFIDSubscriptionStatus as F, type AnnouncementType as G, FFIDAnnouncementBadge as H, FFIDAnnouncementList as I, type FFIDAnnouncementsError as J, type FFIDAnnouncementsErrorCode as K, type ListAnnouncementsOptions as L, type FFIDAnnouncementsServerResponse as M, type FFIDCacheConfig as N, type FFIDContextValue as O, type FFIDInquiryCategory as P, FFIDInquiryForm as Q, type FFIDInquiryFormCategoryItem as R, type FFIDInquiryFormClassNames as S, type FFIDInquiryFormOrganization as T, type FFIDInquiryFormPlaceholderContext as U, type FFIDInquiryFormPrefill as V, type FFIDInquiryFormProps as W, type FFIDInquiryFormSubmitData as X, type FFIDInquiryFormSubmitResult as Y, type FFIDJwtClaims as Z, FFIDLoginButton as _, type FFIDConfig as a, type FFIDOAuthTokenResponse as a0, type FFIDOAuthUserInfoMemberRole as a1, type FFIDOAuthUserInfoSubscription as a2, type FFIDOrganizationMember as a3, FFIDOrganizationSwitcher as a4, type FFIDSeatModel as a5, FFIDSubscriptionBadge as a6, type FFIDTokenIntrospectionResponse as a7, FFIDUserMenu as a8, FFID_INQUIRY_CATEGORIES as a9, type UseFFIDAnnouncementsOptions as aa, type UseFFIDAnnouncementsReturn as ab, useFFIDAnnouncements as ac, type FFIDAnnouncementBadgeClassNames as ad, type FFIDAnnouncementBadgeProps as ae, type FFIDAnnouncementListClassNames as af, type FFIDAnnouncementListProps as ag, type FFIDLoginButtonProps as ah, type FFIDOrganizationSwitcherClassNames as ai, type FFIDOrganizationSwitcherProps as aj, type FFIDSubscriptionBadgeClassNames as ak, type FFIDSubscriptionBadgeProps as al, type FFIDUserMenuClassNames as am, type FFIDUserMenuProps as an, type FFIDApiResponse as b, type FFIDSessionResponse as c, type FFIDRedirectResult as d, type FFIDError as e, type FFIDSubscriptionCheckResponse as f, type FFIDListMembersResponse as g, type FFIDMemberRole as h, type FFIDUpdateMemberRoleResponse as i, type FFIDRemoveMemberResponse as j, type FFIDCreateCheckoutParams as k, type FFIDCheckoutSessionResponse as l, type FFIDCreatePortalParams as m, type FFIDPortalSessionResponse as n, type FFIDVerifyAccessTokenOptions as o, type FFIDOAuthUserInfo as p, type FFIDInquiryCreateParams as q, type FFIDInquiryCreateResponse as r, type FFIDAuthMode as s, type FFIDLogger as t, type FFIDCacheAdapter as u, type FFIDUser as v, type FFIDOrganization as w, type FFIDSubscription as x, type FFIDSubscriptionContextValue as y, type FFIDAnnouncementsClientConfig as z };
@@ -886,6 +886,85 @@ interface FFIDAnnouncementListProps {
886
886
  */
887
887
  declare function FFIDAnnouncementList({ announcements, isLoading, className, classNames, style, formatDate, emptyMessage, loadingRender, renderItem, maxContentLines, }: FFIDAnnouncementListProps): react_jsx_runtime.JSX.Element;
888
888
 
889
+ /**
890
+ * Internals shared with the `FFIDInquiryForm` component.
891
+ *
892
+ * Split out of `FFIDInquiryForm.tsx` to keep that file under the repo's
893
+ * hard file-size limit. Everything exported here is part of the SDK's
894
+ * private surface — do NOT re-export these from `components/index.ts`.
895
+ * The single source of truth for consumers is `FFIDInquiryForm.tsx`.
896
+ */
897
+
898
+ /** Category option rendered in the form select. */
899
+ interface FFIDInquiryFormCategoryItem {
900
+ value: string;
901
+ label: string;
902
+ group?: string;
903
+ groupLabel?: string;
904
+ }
905
+ /**
906
+ * Per-slot `className` overrides. Every key is optional; when omitted,
907
+ * the slot falls back to SDK defaults. Intended to be combined with
908
+ * `unstyled={true}` for full brand styling (Tailwind / CSS-in-JS /
909
+ * global CSS), but also works on top of the default inline styles when
910
+ * `unstyled={false}` if the consumer wants to layer additional classes.
911
+ *
912
+ * Composition rules:
913
+ * - `form` is applied *in addition to* the top-level `className` prop
914
+ * (both are space-joined on the root `<form>` and on the success
915
+ * `<div role="status">`).
916
+ * - `readOnlyInput` is applied *in addition to* `input` on name / email
917
+ * inputs in `mode='authenticated'`; it is not a standalone class.
918
+ * - `successBlock` is layered on top of `form` on the success view so
919
+ * the wrapper stays themeable while the success-specific layer can
920
+ * add its own class.
921
+ * - `categoryPlaceholderOption` is only rendered when
922
+ * `requireCategorySelection` is true; setting it otherwise is a
923
+ * silent no-op.
924
+ */
925
+ interface FFIDInquiryFormClassNames {
926
+ /** Root `<form>` (or the success `<div role="status">`). Merges with the top-level `className` prop. */
927
+ form?: string;
928
+ /** Wrapper around each labeled input. */
929
+ field?: string;
930
+ /** `<label>` / `<legend>` elements. */
931
+ label?: string;
932
+ /** `<input>` elements for name / email / company / phone. */
933
+ input?: string;
934
+ /** Extra class added on top of `input` when the input is read-only. */
935
+ readOnlyInput?: string;
936
+ /** `<select>` elements (category + organization). */
937
+ select?: string;
938
+ /** `<textarea>` for the message body. */
939
+ textarea?: string;
940
+ /** Disabled "選択してください" option emitted when `requireCategorySelection` is true. */
941
+ categoryPlaceholderOption?: string;
942
+ /** `<fieldset>` wrapping the newsletter opt-in checkboxes. */
943
+ newsletterFieldset?: string;
944
+ /** `<legend>` of the newsletter fieldset. */
945
+ newsletterLegend?: string;
946
+ /** `<label>` row for each newsletter checkbox. */
947
+ newsletterRow?: string;
948
+ /** Each newsletter `<input type="checkbox">`. */
949
+ newsletterCheckbox?: string;
950
+ /** Wrapper around the legal agreement block. */
951
+ legalBlock?: string;
952
+ /** `<label>` row for each legal checkbox. */
953
+ legalRow?: string;
954
+ /** Each legal `<input type="checkbox">`. */
955
+ legalCheckbox?: string;
956
+ /** Terms / privacy `<a>` links rendered inline with the legal checkbox label. */
957
+ legalLink?: string;
958
+ /** `<p role="alert">` container for the form-level error message. */
959
+ errorText?: string;
960
+ /** `<button type="submit">`. */
961
+ submitButton?: string;
962
+ /** Success `<div role="status">` rendered after a successful submit. */
963
+ successBlock?: string;
964
+ /** Wrapper around the organization `<select>` (authenticated mode). */
965
+ orgSelectWrapper?: string;
966
+ }
967
+
889
968
  /**
890
969
  * Known category literal with an escape hatch for arbitrary strings, so
891
970
  * IDE autocomplete suggests the built-in set while still accepting any
@@ -914,25 +993,14 @@ interface FFIDInquiryFormPrefill {
914
993
  /**
915
994
  * Preselected category value. Silently ignored if the value does not
916
995
  * match any entry in `categories` (or the default list when `categories`
917
- * is omitted), so consumers can safely forward URL query strings.
996
+ * is omitted), so consumers can safely forward URL query strings. When
997
+ * `requireCategorySelection` is true and this is missing/invalid, the
998
+ * form starts with an empty selection instead of auto-choosing the
999
+ * first option.
918
1000
  */
919
1001
  category?: FFIDInquiryCategoryValue;
920
1002
  message?: string;
921
1003
  }
922
- /**
923
- * Category option rendered in the form select. If any item has a
924
- * `group` the select switches into `<optgroup>` mode; ungrouped items
925
- * are emitted as bare `<option>` entries before the first `<optgroup>`
926
- * in DOM order. Groups render in the order each `group` key first
927
- * appears in `categories`, and the first encountered `groupLabel` wins
928
- * when a `group` key repeats with inconsistent labels.
929
- */
930
- interface FFIDInquiryFormCategoryItem {
931
- value: string;
932
- label: string;
933
- group?: string;
934
- groupLabel?: string;
935
- }
936
1004
  interface FFIDInquiryFormSubmitData {
937
1005
  name: string;
938
1006
  email: string;
@@ -973,18 +1041,11 @@ interface FFIDInquiryFormProps {
973
1041
  onSubmit: (data: FFIDInquiryFormSubmitData) => Promise<FFIDInquiryFormSubmitResult>;
974
1042
  /**
975
1043
  * Called after every change to a field that is part of the submit
976
- * payload (including the initial mount with prefilled values and
977
- * re-fires when `termsVersion`/`privacyVersion`/`turnstileToken`/
978
- * `locale` props change). Enables consumers to mirror state for
979
- * URL-driven banners, analytics, or dynamic placeholders without
980
- * owning the form. Consent checkboxes (`separateLegalCheckboxes` or
981
- * the combined variant) are intentionally excluded — they are not
982
- * part of `FFIDInquiryFormSubmitData`. Emitted values use the same
983
- * normalization as `onSubmit` (string fields are trimmed; empty
984
- * strings become `null` for `company` / `phone`).
985
- *
986
- * React StrictMode double-invokes effects in development, so expect
987
- * two calls per mount in dev builds.
1044
+ * payload. Consent checkboxes are intentionally excluded they are
1045
+ * not part of `FFIDInquiryFormSubmitData`. Emitted values use the
1046
+ * same normalization as `onSubmit` (trimmed strings; empty
1047
+ * `company`/`phone` become `null`). React StrictMode double-invokes
1048
+ * effects in dev, so expect two calls per mount.
988
1049
  */
989
1050
  onChange?: (data: FFIDInquiryFormSubmitData) => void;
990
1051
  /**
@@ -996,29 +1057,53 @@ interface FFIDInquiryFormProps {
996
1057
  /**
997
1058
  * Overrides the `<textarea>` placeholder. A plain string is applied
998
1059
  * verbatim; a function is called with the currently selected category
999
- * so consumers can vary the copy per selection (e.g. different hint
1000
- * text for "sales" vs "support"). The SDK memoizes the resolved
1001
- * placeholder keyed on `category` and the `messagePlaceholder`
1002
- * identity, so the function typically re-runs only when the user
1003
- * picks a different category or the prop reference changes — keep it
1004
- * cheap and pure so that contract is safe to rely on.
1005
- *
1006
- * When omitted, no `placeholder` attribute is emitted (SDK ≤ 2.9
1007
- * behavior).
1060
+ * so consumers can vary the copy per selection. Memoized on the
1061
+ * resolved `category` + `messagePlaceholder` identity. Omitting the
1062
+ * prop leaves the textarea with no `placeholder` attribute.
1008
1063
  */
1009
1064
  messagePlaceholder?: string | ((ctx: FFIDInquiryFormPlaceholderContext) => string);
1065
+ /**
1066
+ * When true, the category `<select>` starts empty (unless `prefill.category`
1067
+ * resolves to a valid option) and renders a disabled "選択してください"
1068
+ * placeholder as the first option. Submits are blocked with an error
1069
+ * message until the user explicitly picks a category. Default `false`
1070
+ * preserves the SDK ≤ 2.10 behavior of auto-selecting the first option.
1071
+ *
1072
+ * Use this when the downstream routing depends on an intentional
1073
+ * category choice — the default auto-selection silently misclassifies
1074
+ * inquiries from users who never interacted with the dropdown.
1075
+ */
1076
+ requireCategorySelection?: boolean;
1077
+ /**
1078
+ * When true, drops every inline `style` attribute the SDK adds.
1079
+ * Structural attributes (`required`, `readOnly`, `noValidate`, `role`,
1080
+ * `data-hydrated`, …) are kept so keyboard / screen-reader semantics
1081
+ * are unchanged. Pair with `classNames` for fully branded rendering.
1082
+ * Default `false` keeps the inline-styled defaults from SDK ≤ 2.10.
1083
+ */
1084
+ unstyled?: boolean;
1085
+ /**
1086
+ * Per-slot `className` overrides. See `FFIDInquiryFormClassNames` for
1087
+ * the full list of slots. Classes apply **in addition to** any inline
1088
+ * `style` the SDK emits unless `unstyled={true}`.
1089
+ */
1090
+ classNames?: FFIDInquiryFormClassNames;
1010
1091
  locale?: 'ja' | 'en';
1092
+ /**
1093
+ * Additional class for the root `<form>` (or the success `<div>`).
1094
+ * Kept for backward compatibility with SDK ≤ 2.10; merges with
1095
+ * `classNames.form` when both are provided.
1096
+ */
1011
1097
  className?: string;
1012
1098
  }
1013
1099
  /**
1014
- * Context passed to a function-form `messagePlaceholder`. `category` is
1015
- * typed `string | null` so a future unselected-state can be introduced
1016
- * without breaking consumers, even though the current form always has a
1017
- * non-null category value selected.
1100
+ * Context passed to a function-form `messagePlaceholder`. When
1101
+ * `requireCategorySelection` is true and nothing is selected yet, the
1102
+ * form passes `null` here.
1018
1103
  */
1019
1104
  interface FFIDInquiryFormPlaceholderContext {
1020
1105
  category: string | null;
1021
1106
  }
1022
- declare function FFIDInquiryForm({ mode, prefill, organizations, preselectedOrganizationId, categories, termsVersion, privacyVersion, termsHref, privacyHref, turnstileToken, turnstileSlot, onSubmit, onChange, separateLegalCheckboxes, messagePlaceholder, locale, className, }: FFIDInquiryFormProps): react_jsx_runtime.JSX.Element;
1107
+ declare function FFIDInquiryForm({ mode, prefill, organizations, preselectedOrganizationId, categories, termsVersion, privacyVersion, termsHref, privacyHref, turnstileToken, turnstileSlot, onSubmit, onChange, separateLegalCheckboxes, messagePlaceholder, requireCategorySelection, unstyled, classNames, locale, className, }: FFIDInquiryFormProps): react_jsx_runtime.JSX.Element;
1023
1108
 
1024
- export { type FFIDOAuthTokenResponse as $, type FFIDAnnouncementsApiResponse as A, type AnnouncementListResponse as B, type FFIDAnnouncementsLogger as C, type Announcement as D, type AnnouncementStatus as E, type FFIDSubscriptionStatus as F, type AnnouncementType as G, FFIDAnnouncementBadge as H, FFIDAnnouncementList as I, type FFIDAnnouncementsError as J, type FFIDAnnouncementsErrorCode as K, type ListAnnouncementsOptions as L, type FFIDAnnouncementsServerResponse as M, type FFIDCacheConfig as N, type FFIDContextValue as O, type FFIDInquiryCategory as P, FFIDInquiryForm as Q, type FFIDInquiryFormCategoryItem as R, type FFIDInquiryFormOrganization as S, type FFIDInquiryFormPlaceholderContext as T, type FFIDInquiryFormPrefill as U, type FFIDInquiryFormProps as V, type FFIDInquiryFormSubmitData as W, type FFIDInquiryFormSubmitResult as X, type FFIDJwtClaims as Y, FFIDLoginButton as Z, type FFIDMemberStatus as _, type FFIDConfig as a, type FFIDOAuthUserInfoMemberRole as a0, type FFIDOAuthUserInfoSubscription as a1, type FFIDOrganizationMember as a2, FFIDOrganizationSwitcher as a3, type FFIDSeatModel as a4, FFIDSubscriptionBadge as a5, type FFIDTokenIntrospectionResponse as a6, FFIDUserMenu as a7, FFID_INQUIRY_CATEGORIES as a8, type UseFFIDAnnouncementsOptions as a9, type UseFFIDAnnouncementsReturn as aa, useFFIDAnnouncements as ab, type FFIDAnnouncementBadgeClassNames as ac, type FFIDAnnouncementBadgeProps as ad, type FFIDAnnouncementListClassNames as ae, type FFIDAnnouncementListProps as af, type FFIDLoginButtonProps as ag, type FFIDOrganizationSwitcherClassNames as ah, type FFIDOrganizationSwitcherProps as ai, type FFIDSubscriptionBadgeClassNames as aj, type FFIDSubscriptionBadgeProps as ak, type FFIDUserMenuClassNames as al, type FFIDUserMenuProps as am, type FFIDApiResponse as b, type FFIDSessionResponse as c, type FFIDRedirectResult as d, type FFIDError as e, type FFIDSubscriptionCheckResponse as f, type FFIDListMembersResponse as g, type FFIDMemberRole as h, type FFIDUpdateMemberRoleResponse as i, type FFIDRemoveMemberResponse as j, type FFIDCreateCheckoutParams as k, type FFIDCheckoutSessionResponse as l, type FFIDCreatePortalParams as m, type FFIDPortalSessionResponse as n, type FFIDVerifyAccessTokenOptions as o, type FFIDOAuthUserInfo as p, type FFIDInquiryCreateParams as q, type FFIDInquiryCreateResponse as r, type FFIDAuthMode as s, type FFIDLogger as t, type FFIDCacheAdapter as u, type FFIDUser as v, type FFIDOrganization as w, type FFIDSubscription as x, type FFIDSubscriptionContextValue as y, type FFIDAnnouncementsClientConfig as z };
1109
+ export { type FFIDMemberStatus as $, type FFIDAnnouncementsApiResponse as A, type AnnouncementListResponse as B, type FFIDAnnouncementsLogger as C, type Announcement as D, type AnnouncementStatus as E, type FFIDSubscriptionStatus as F, type AnnouncementType as G, FFIDAnnouncementBadge as H, FFIDAnnouncementList as I, type FFIDAnnouncementsError as J, type FFIDAnnouncementsErrorCode as K, type ListAnnouncementsOptions as L, type FFIDAnnouncementsServerResponse as M, type FFIDCacheConfig as N, type FFIDContextValue as O, type FFIDInquiryCategory as P, FFIDInquiryForm as Q, type FFIDInquiryFormCategoryItem as R, type FFIDInquiryFormClassNames as S, type FFIDInquiryFormOrganization as T, type FFIDInquiryFormPlaceholderContext as U, type FFIDInquiryFormPrefill as V, type FFIDInquiryFormProps as W, type FFIDInquiryFormSubmitData as X, type FFIDInquiryFormSubmitResult as Y, type FFIDJwtClaims as Z, FFIDLoginButton as _, type FFIDConfig as a, type FFIDOAuthTokenResponse as a0, type FFIDOAuthUserInfoMemberRole as a1, type FFIDOAuthUserInfoSubscription as a2, type FFIDOrganizationMember as a3, FFIDOrganizationSwitcher as a4, type FFIDSeatModel as a5, FFIDSubscriptionBadge as a6, type FFIDTokenIntrospectionResponse as a7, FFIDUserMenu as a8, FFID_INQUIRY_CATEGORIES as a9, type UseFFIDAnnouncementsOptions as aa, type UseFFIDAnnouncementsReturn as ab, useFFIDAnnouncements as ac, type FFIDAnnouncementBadgeClassNames as ad, type FFIDAnnouncementBadgeProps as ae, type FFIDAnnouncementListClassNames as af, type FFIDAnnouncementListProps as ag, type FFIDLoginButtonProps as ah, type FFIDOrganizationSwitcherClassNames as ai, type FFIDOrganizationSwitcherProps as aj, type FFIDSubscriptionBadgeClassNames as ak, type FFIDSubscriptionBadgeProps as al, type FFIDUserMenuClassNames as am, type FFIDUserMenuProps as an, type FFIDApiResponse as b, type FFIDSessionResponse as c, type FFIDRedirectResult as d, type FFIDError as e, type FFIDSubscriptionCheckResponse as f, type FFIDListMembersResponse as g, type FFIDMemberRole as h, type FFIDUpdateMemberRoleResponse as i, type FFIDRemoveMemberResponse as j, type FFIDCreateCheckoutParams as k, type FFIDCheckoutSessionResponse as l, type FFIDCreatePortalParams as m, type FFIDPortalSessionResponse as n, type FFIDVerifyAccessTokenOptions as o, type FFIDOAuthUserInfo as p, type FFIDInquiryCreateParams as q, type FFIDInquiryCreateResponse as r, type FFIDAuthMode as s, type FFIDLogger as t, type FFIDCacheAdapter as u, type FFIDUser as v, type FFIDOrganization as w, type FFIDSubscription as x, type FFIDSubscriptionContextValue as y, type FFIDAnnouncementsClientConfig as z };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk55KLWKM7_cjs = require('./chunk-55KLWKM7.cjs');
3
+ var chunk5ZMR3NNO_cjs = require('./chunk-5ZMR3NNO.cjs');
4
4
  var react = require('react');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
 
@@ -46,7 +46,7 @@ function createKVCacheAdapter(kv) {
46
46
  }
47
47
  function withFFIDAuth(Component, options = {}) {
48
48
  const WrappedComponent = (props) => {
49
- const { isLoading, isAuthenticated, login } = chunk55KLWKM7_cjs.useFFIDContext();
49
+ const { isLoading, isAuthenticated, login } = chunk5ZMR3NNO_cjs.useFFIDContext();
50
50
  const hasRedirected = react.useRef(false);
51
51
  react.useEffect(() => {
52
52
  if (!isLoading && !isAuthenticated && options.redirectToLogin && !hasRedirected.current) {
@@ -74,91 +74,95 @@ var FFID_NEWSLETTER_TYPES = ["inquiry_followup", "general"];
74
74
 
75
75
  Object.defineProperty(exports, "DEFAULT_API_BASE_URL", {
76
76
  enumerable: true,
77
- get: function () { return chunk55KLWKM7_cjs.DEFAULT_API_BASE_URL; }
77
+ get: function () { return chunk5ZMR3NNO_cjs.DEFAULT_API_BASE_URL; }
78
78
  });
79
79
  Object.defineProperty(exports, "FFIDAnnouncementBadge", {
80
80
  enumerable: true,
81
- get: function () { return chunk55KLWKM7_cjs.FFIDAnnouncementBadge; }
81
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDAnnouncementBadge; }
82
82
  });
83
83
  Object.defineProperty(exports, "FFIDAnnouncementList", {
84
84
  enumerable: true,
85
- get: function () { return chunk55KLWKM7_cjs.FFIDAnnouncementList; }
85
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDAnnouncementList; }
86
86
  });
87
87
  Object.defineProperty(exports, "FFIDInquiryForm", {
88
88
  enumerable: true,
89
- get: function () { return chunk55KLWKM7_cjs.FFIDInquiryForm; }
89
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDInquiryForm; }
90
90
  });
91
91
  Object.defineProperty(exports, "FFIDLoginButton", {
92
92
  enumerable: true,
93
- get: function () { return chunk55KLWKM7_cjs.FFIDLoginButton; }
93
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDLoginButton; }
94
94
  });
95
95
  Object.defineProperty(exports, "FFIDOrganizationSwitcher", {
96
96
  enumerable: true,
97
- get: function () { return chunk55KLWKM7_cjs.FFIDOrganizationSwitcher; }
97
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDOrganizationSwitcher; }
98
98
  });
99
99
  Object.defineProperty(exports, "FFIDProvider", {
100
100
  enumerable: true,
101
- get: function () { return chunk55KLWKM7_cjs.FFIDProvider; }
101
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDProvider; }
102
+ });
103
+ Object.defineProperty(exports, "FFIDSDKError", {
104
+ enumerable: true,
105
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDSDKError; }
102
106
  });
103
107
  Object.defineProperty(exports, "FFIDSubscriptionBadge", {
104
108
  enumerable: true,
105
- get: function () { return chunk55KLWKM7_cjs.FFIDSubscriptionBadge; }
109
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDSubscriptionBadge; }
106
110
  });
107
111
  Object.defineProperty(exports, "FFIDUserMenu", {
108
112
  enumerable: true,
109
- get: function () { return chunk55KLWKM7_cjs.FFIDUserMenu; }
113
+ get: function () { return chunk5ZMR3NNO_cjs.FFIDUserMenu; }
110
114
  });
111
115
  Object.defineProperty(exports, "FFID_ANNOUNCEMENTS_ERROR_CODES", {
112
116
  enumerable: true,
113
- get: function () { return chunk55KLWKM7_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
117
+ get: function () { return chunk5ZMR3NNO_cjs.FFID_ANNOUNCEMENTS_ERROR_CODES; }
114
118
  });
115
119
  Object.defineProperty(exports, "FFID_INQUIRY_CATEGORIES", {
116
120
  enumerable: true,
117
- get: function () { return chunk55KLWKM7_cjs.FFID_INQUIRY_CATEGORIES; }
121
+ get: function () { return chunk5ZMR3NNO_cjs.FFID_INQUIRY_CATEGORIES; }
118
122
  });
119
123
  Object.defineProperty(exports, "createFFIDAnnouncementsClient", {
120
124
  enumerable: true,
121
- get: function () { return chunk55KLWKM7_cjs.createFFIDAnnouncementsClient; }
125
+ get: function () { return chunk5ZMR3NNO_cjs.createFFIDAnnouncementsClient; }
122
126
  });
123
127
  Object.defineProperty(exports, "createFFIDClient", {
124
128
  enumerable: true,
125
- get: function () { return chunk55KLWKM7_cjs.createFFIDClient; }
129
+ get: function () { return chunk5ZMR3NNO_cjs.createFFIDClient; }
126
130
  });
127
131
  Object.defineProperty(exports, "createTokenStore", {
128
132
  enumerable: true,
129
- get: function () { return chunk55KLWKM7_cjs.createTokenStore; }
133
+ get: function () { return chunk5ZMR3NNO_cjs.createTokenStore; }
130
134
  });
131
135
  Object.defineProperty(exports, "generateCodeChallenge", {
132
136
  enumerable: true,
133
- get: function () { return chunk55KLWKM7_cjs.generateCodeChallenge; }
137
+ get: function () { return chunk5ZMR3NNO_cjs.generateCodeChallenge; }
134
138
  });
135
139
  Object.defineProperty(exports, "generateCodeVerifier", {
136
140
  enumerable: true,
137
- get: function () { return chunk55KLWKM7_cjs.generateCodeVerifier; }
141
+ get: function () { return chunk5ZMR3NNO_cjs.generateCodeVerifier; }
138
142
  });
139
143
  Object.defineProperty(exports, "retrieveCodeVerifier", {
140
144
  enumerable: true,
141
- get: function () { return chunk55KLWKM7_cjs.retrieveCodeVerifier; }
145
+ get: function () { return chunk5ZMR3NNO_cjs.retrieveCodeVerifier; }
142
146
  });
143
147
  Object.defineProperty(exports, "storeCodeVerifier", {
144
148
  enumerable: true,
145
- get: function () { return chunk55KLWKM7_cjs.storeCodeVerifier; }
149
+ get: function () { return chunk5ZMR3NNO_cjs.storeCodeVerifier; }
146
150
  });
147
151
  Object.defineProperty(exports, "useFFID", {
148
152
  enumerable: true,
149
- get: function () { return chunk55KLWKM7_cjs.useFFID; }
153
+ get: function () { return chunk5ZMR3NNO_cjs.useFFID; }
150
154
  });
151
155
  Object.defineProperty(exports, "useFFIDAnnouncements", {
152
156
  enumerable: true,
153
- get: function () { return chunk55KLWKM7_cjs.useFFIDAnnouncements; }
157
+ get: function () { return chunk5ZMR3NNO_cjs.useFFIDAnnouncements; }
154
158
  });
155
159
  Object.defineProperty(exports, "useSubscription", {
156
160
  enumerable: true,
157
- get: function () { return chunk55KLWKM7_cjs.useSubscription; }
161
+ get: function () { return chunk5ZMR3NNO_cjs.useSubscription; }
158
162
  });
159
163
  Object.defineProperty(exports, "withSubscription", {
160
164
  enumerable: true,
161
- get: function () { return chunk55KLWKM7_cjs.withSubscription; }
165
+ get: function () { return chunk5ZMR3NNO_cjs.withSubscription; }
162
166
  });
163
167
  exports.FFID_NEWSLETTER_TYPES = FFID_NEWSLETTER_TYPES;
164
168
  exports.createKVCacheAdapter = createKVCacheAdapter;