@adminide-stack/yantra-mobile 12.0.162-alpha.1 → 12.0.162
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/lib/components/CustomDrawer.js +70 -3
- package/lib/components/CustomDrawer.js.map +1 -1
- package/lib/compute.js +3 -1
- package/lib/config/env-config.js +4 -0
- package/lib/config/env-config.js.map +1 -1
- package/lib/features/credits/credits.js +151 -0
- package/lib/features/credits/credits.js.map +1 -0
- package/lib/features/credits/useLlmCredits.js +87 -0
- package/lib/features/credits/useLlmCredits.js.map +1 -0
- package/lib/features/design/surface/agentWriter.js +39 -0
- package/lib/features/design/surface/agentWriter.js.map +1 -0
- package/lib/features/design/surface/brandKit.js +9 -3
- package/lib/features/design/surface/brandKit.js.map +1 -1
- package/lib/features/design/surface/useBrandKitInUse.js.map +1 -1
- package/lib/features/design/surface/useDesignSurface.js +5 -39
- package/lib/features/design/surface/useDesignSurface.js.map +1 -1
- package/lib/features/webbuilder/WebBuilderExperience.js +64 -23
- package/lib/features/webbuilder/WebBuilderExperience.js.map +1 -1
- package/lib/features/webbuilder/brandKitMove.js +52 -0
- package/lib/features/webbuilder/brandKitMove.js.map +1 -0
- package/lib/features/webbuilder/codeToolbox.js +129 -0
- package/lib/features/webbuilder/codeToolbox.js.map +1 -0
- package/lib/features/webbuilder/components/CloudSheet.js +1451 -0
- package/lib/features/webbuilder/components/CloudSheet.js.map +1 -0
- package/lib/features/webbuilder/components/CodeActionsSheet.js +125 -0
- package/lib/features/webbuilder/components/CodeActionsSheet.js.map +1 -0
- package/lib/features/webbuilder/components/CodeView.js +10 -3
- package/lib/features/webbuilder/components/CodeView.js.map +1 -1
- package/lib/features/webbuilder/components/Composer.js.map +1 -1
- package/lib/features/webbuilder/components/IntegrationsPanel.js +643 -0
- package/lib/features/webbuilder/components/IntegrationsPanel.js.map +1 -0
- package/lib/features/webbuilder/components/ProjectChat.js +57 -44
- package/lib/features/webbuilder/components/ProjectChat.js.map +1 -1
- package/lib/features/webbuilder/components/SecretsSheet.js +235 -0
- package/lib/features/webbuilder/components/SecretsSheet.js.map +1 -0
- package/lib/features/webbuilder/components/StudioHome.js +38 -1
- package/lib/features/webbuilder/components/StudioHome.js.map +1 -1
- package/lib/features/webbuilder/studioCatalog.js +4 -19
- package/lib/features/webbuilder/studioCatalog.js.map +1 -1
- package/lib/features/webbuilder/web/data/cloud.js +387 -0
- package/lib/features/webbuilder/web/data/cloud.js.map +1 -0
- package/lib/features/webbuilder/web/data/dataApi.js +227 -0
- package/lib/features/webbuilder/web/data/dataApi.js.map +1 -0
- package/lib/features/webbuilder/web/data/database.js +190 -0
- package/lib/features/webbuilder/web/data/database.js.map +1 -0
- package/lib/features/webbuilder/web/data/graphql.js +95 -0
- package/lib/features/webbuilder/web/data/graphql.js.map +1 -0
- package/lib/features/webbuilder/web/design/directions.js +343 -0
- package/lib/features/webbuilder/web/design/directions.js.map +1 -0
- package/lib/features/webbuilder/web/integrations/appToken.js +165 -0
- package/lib/features/webbuilder/web/integrations/appToken.js.map +1 -0
- package/lib/features/webbuilder/web/integrations/catalog.js +238 -0
- package/lib/features/webbuilder/web/integrations/catalog.js.map +1 -0
- package/lib/features/webbuilder/web/integrations/siteBilling.js +67 -0
- package/lib/features/webbuilder/web/integrations/siteBilling.js.map +1 -0
- package/lib/features/webbuilder/web/integrations/siteMail.js +190 -0
- package/lib/features/webbuilder/web/integrations/siteMail.js.map +1 -0
- package/lib/features/webbuilder/web/project/projectSettings.js +11 -0
- package/lib/features/webbuilder/web/project/projectSettings.js.map +1 -0
- package/lib/features/webbuilder/web/project/restorePoint.js +16 -0
- package/lib/features/webbuilder/web/project/restorePoint.js.map +1 -0
- package/lib/features/webbuilder/web/project/serverSettings.js +157 -0
- package/lib/features/webbuilder/web/project/serverSettings.js.map +1 -0
- package/lib/features/webbuilder/web/secrets/secrets.js +162 -0
- package/lib/features/webbuilder/web/secrets/secrets.js.map +1 -0
- package/lib/features/webbuilder/web/secrets/secretsApi.js +302 -0
- package/lib/features/webbuilder/web/secrets/secretsApi.js.map +1 -0
- package/lib/features/webbuilder/web/secrets/secretsStore.js +39 -0
- package/lib/features/webbuilder/web/secrets/secretsStore.js.map +1 -0
- package/lib/features/webbuilder/web/sharing/okResult.js +40 -0
- package/lib/features/webbuilder/web/sharing/okResult.js.map +1 -0
- package/lib/features/webbuilder/web/sharing/roles.js +3 -0
- package/lib/features/webbuilder/web/sharing/roles.js.map +1 -0
- package/lib/features/webbuilder/web/state/storageKeys.js +59 -0
- package/lib/features/webbuilder/web/state/storageKeys.js.map +1 -0
- package/lib/features/webbuilder/web/webServices.js +282 -0
- package/lib/features/webbuilder/web/webServices.js.map +1 -0
- package/lib/features/webbuilder/workflow.js +1 -1
- package/lib/features/webbuilder/workflow.js.map +1 -1
- package/lib/routes.json +3 -1
- package/lib/screens/Account/AccountSheets.js +1049 -0
- package/lib/screens/Account/AccountSheets.js.map +1 -0
- package/lib/screens/Account/WorkspaceSection.js +271 -0
- package/lib/screens/Account/WorkspaceSection.js.map +1 -0
- package/lib/screens/Account/accountRules.js +103 -0
- package/lib/screens/Account/accountRules.js.map +1 -0
- package/lib/screens/Account/index.js +563 -259
- package/lib/screens/Account/index.js.map +1 -1
- package/lib/screens/Account/useAccountPreferences.js +87 -0
- package/lib/screens/Account/useAccountPreferences.js.map +1 -0
- package/lib/screens/WebBuilderNative/index.js +1 -1
- package/lib/screens/WebBuilderNative/index.js.map +1 -1
- package/lib/screens/WebBuilderNative/useWebBuilderHost.js +122 -12
- package/lib/screens/WebBuilderNative/useWebBuilderHost.js.map +1 -1
- package/lib/utils/authUserDisplay.js +1 -9
- package/lib/utils/authUserDisplay.js.map +1 -1
- package/package.json +4 -4
- package/lib/features/webbuilder/brandKitStorage.js +0 -69
- package/lib/features/webbuilder/brandKitStorage.js.map +0 -1
- package/lib/features/webbuilder/components/BrandKitSheet.js +0 -197
- package/lib/features/webbuilder/components/BrandKitSheet.js.map +0 -1
- package/lib/screens/Account/splitDisplayName.js +0 -15
- package/lib/screens/Account/splitDisplayName.js.map +0 -1
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import {Gender}from'common';const USERNAME_SHAPE = /^[a-z0-9._-]{3,30}$/;
|
|
2
|
+
const USERNAME_HINT = "3-30 characters: letters, numbers, dots, dashes or underscores.";
|
|
3
|
+
const USERNAME_INVALID = "Use 3-30 letters, numbers, dots, dashes or underscores.";
|
|
4
|
+
const USERNAME_TAKEN = "That username is taken. Try another.";
|
|
5
|
+
const USERNAME_SAVE_FAILED = "We couldn't save your username. Try again.";
|
|
6
|
+
const EMAIL_SHAPE = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
|
|
7
|
+
const VERIFICATION_CODE_LENGTH = 6;
|
|
8
|
+
const RESEND_AFTER_SECONDS = 30;
|
|
9
|
+
const CODE_TTL_MINUTES = 10;
|
|
10
|
+
const looksLikePhoneNumber = (digits) => /^\d{4,15}$/.test(digits);
|
|
11
|
+
function formatPhoneCode(code) {
|
|
12
|
+
if (!code) return code != null ? code : "";
|
|
13
|
+
return code.startsWith("+") ? code : `+${code}`;
|
|
14
|
+
}
|
|
15
|
+
function maskPhoneNumber(dialCode, number) {
|
|
16
|
+
return `${dialCode} ${"*".repeat(Math.max(0, number.length - 4))} ${number.slice(-4)}`.trim();
|
|
17
|
+
}
|
|
18
|
+
function isNewEmail(address, current) {
|
|
19
|
+
const trimmed = address.trim();
|
|
20
|
+
return EMAIL_SHAPE.test(trimmed) && trimmed.toLowerCase() !== current.trim().toLowerCase();
|
|
21
|
+
}
|
|
22
|
+
const firstGraphQLError = (error) => {
|
|
23
|
+
var _a;
|
|
24
|
+
return (_a = error == null ? void 0 : error.graphQLErrors) == null ? void 0 : _a[0];
|
|
25
|
+
};
|
|
26
|
+
function contactCodeError(error, fallback) {
|
|
27
|
+
var _a;
|
|
28
|
+
const first = firstGraphQLError(error);
|
|
29
|
+
if (((_a = first == null ? void 0 : first.extensions) == null ? void 0 : _a.code) === "BAD_USER_INPUT" && first.message) return first.message;
|
|
30
|
+
if (error == null ? void 0 : error.networkError) {
|
|
31
|
+
return "We couldn't reach the server. Check your connection and try again.";
|
|
32
|
+
}
|
|
33
|
+
return fallback;
|
|
34
|
+
}
|
|
35
|
+
const retryAfterSeconds = (error) => {
|
|
36
|
+
var _a, _b;
|
|
37
|
+
return (_b = (_a = firstGraphQLError(error)) == null ? void 0 : _a.extensions) == null ? void 0 : _b.retryAfterSeconds;
|
|
38
|
+
};
|
|
39
|
+
const MONTHS = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
|
40
|
+
function savedDay(dob) {
|
|
41
|
+
const date = new Date(dob);
|
|
42
|
+
return {
|
|
43
|
+
year: date.getUTCFullYear(),
|
|
44
|
+
month: date.getUTCMonth(),
|
|
45
|
+
day: date.getUTCDate()
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function formatDob(dob) {
|
|
49
|
+
if (!dob || Number.isNaN(new Date(dob).getTime())) return "Not Specified";
|
|
50
|
+
const {
|
|
51
|
+
year,
|
|
52
|
+
month,
|
|
53
|
+
day
|
|
54
|
+
} = savedDay(dob);
|
|
55
|
+
return `${MONTHS[month]} ${day}, ${year}`;
|
|
56
|
+
}
|
|
57
|
+
const dobValue = (year, month, day) => new Date(Date.UTC(year, month, day)).toISOString().split("T")[0];
|
|
58
|
+
const daysInMonth = (year, month) => new Date(Date.UTC(year, month + 1, 0)).getUTCDate();
|
|
59
|
+
const GENDER_OPTIONS = [{
|
|
60
|
+
value: Gender.Male,
|
|
61
|
+
label: "Male"
|
|
62
|
+
}, {
|
|
63
|
+
value: Gender.Female,
|
|
64
|
+
label: "Female"
|
|
65
|
+
}, {
|
|
66
|
+
value: Gender.Other,
|
|
67
|
+
label: "Other"
|
|
68
|
+
}];
|
|
69
|
+
function genderLabel(gender) {
|
|
70
|
+
if (!gender) return "Not Specified";
|
|
71
|
+
return gender.charAt(0).toUpperCase() + gender.slice(1).toLowerCase();
|
|
72
|
+
}
|
|
73
|
+
const RESPONSE_LANGUAGES = [{
|
|
74
|
+
key: "en",
|
|
75
|
+
label: "English"
|
|
76
|
+
}, {
|
|
77
|
+
key: "de",
|
|
78
|
+
label: "German"
|
|
79
|
+
}, {
|
|
80
|
+
key: "es",
|
|
81
|
+
label: "Spanish"
|
|
82
|
+
}];
|
|
83
|
+
const languageLabel = (key) => {
|
|
84
|
+
var _a, _b;
|
|
85
|
+
return (_b = (_a = RESPONSE_LANGUAGES.find((language) => language.key === key)) == null ? void 0 : _a.label) != null ? _b : key;
|
|
86
|
+
};
|
|
87
|
+
const formatEnvironmentName = (name) => name ? name.charAt(0).toUpperCase() + name.slice(1).toLowerCase() : name;
|
|
88
|
+
const DEFAULT_ACCOUNT_PREFERENCES = {
|
|
89
|
+
autosuggest: true,
|
|
90
|
+
homepageWidgets: true,
|
|
91
|
+
aiDataRetention: true,
|
|
92
|
+
responseLanguage: "en"
|
|
93
|
+
};
|
|
94
|
+
function coercePreferences(raw) {
|
|
95
|
+
if (!raw) return DEFAULT_ACCOUNT_PREFERENCES;
|
|
96
|
+
const flag = (key) => typeof raw[key] === "boolean" ? raw[key] : DEFAULT_ACCOUNT_PREFERENCES[key];
|
|
97
|
+
return {
|
|
98
|
+
autosuggest: flag("autosuggest"),
|
|
99
|
+
homepageWidgets: flag("homepageWidgets"),
|
|
100
|
+
aiDataRetention: flag("aiDataRetention"),
|
|
101
|
+
responseLanguage: typeof raw.responseLanguage === "string" && raw.responseLanguage ? raw.responseLanguage : DEFAULT_ACCOUNT_PREFERENCES.responseLanguage
|
|
102
|
+
};
|
|
103
|
+
}export{CODE_TTL_MINUTES,DEFAULT_ACCOUNT_PREFERENCES,EMAIL_SHAPE,GENDER_OPTIONS,MONTHS,RESEND_AFTER_SECONDS,RESPONSE_LANGUAGES,USERNAME_HINT,USERNAME_INVALID,USERNAME_SAVE_FAILED,USERNAME_SHAPE,USERNAME_TAKEN,VERIFICATION_CODE_LENGTH,coercePreferences,contactCodeError,daysInMonth,dobValue,formatDob,formatEnvironmentName,formatPhoneCode,genderLabel,isNewEmail,languageLabel,looksLikePhoneNumber,maskPhoneNumber,retryAfterSeconds,savedDay};//# sourceMappingURL=accountRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountRules.js","sources":["../../../src/screens/Account/accountRules.ts"],"sourcesContent":["/**\n * The web Account page's rules (account/browser pages/Account/components), so the phone accepts,\n * refuses and words the same things: a username's shape, a new email, a phone number, the six-digit\n * code, a date of birth as a calendar day, and the server's own refusals.\n */\nimport { Gender } from 'common';\n\n/** Lowercase only: `isUsernameAvailable` and sign-up both compare usernames lowercased. */\nexport const USERNAME_SHAPE = /^[a-z0-9._-]{3,30}$/;\nexport const USERNAME_HINT = '3-30 characters: letters, numbers, dots, dashes or underscores.';\nexport const USERNAME_INVALID = 'Use 3-30 letters, numbers, dots, dashes or underscores.';\nexport const USERNAME_TAKEN = 'That username is taken. Try another.';\nexport const USERNAME_SAVE_FAILED = \"We couldn't save your username. Try again.\";\n\nexport const EMAIL_SHAPE = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]{2,}$/;\n\nexport const VERIFICATION_CODE_LENGTH = 6;\n/** The server holds a resend back this long after a code is sent. */\nexport const RESEND_AFTER_SECONDS = 30;\n/** The server lets a code live this long. */\nexport const CODE_TTL_MINUTES = 10;\n\nexport const looksLikePhoneNumber = (digits: string) => /^\\d{4,15}$/.test(digits);\n\nexport function formatPhoneCode(code?: string | null): string {\n if (!code) return code ?? '';\n return code.startsWith('+') ? code : `+${code}`;\n}\n\n/** \"+91 ****** 7781\": all but the last four digits hidden, as the web lists a saved number. */\nexport function maskPhoneNumber(dialCode: string, number: string): string {\n return `${dialCode} ${'*'.repeat(Math.max(0, number.length - 4))} ${number.slice(-4)}`.trim();\n}\n\n/** Whether a new email is worth sending a code to: well formed, and not the one already saved. */\nexport function isNewEmail(address: string, current: string): boolean {\n const trimmed = address.trim();\n return EMAIL_SHAPE.test(trimmed) && trimmed.toLowerCase() !== current.trim().toLowerCase();\n}\n\ninterface GraphQLErrorLike {\n message?: string;\n extensions?: { code?: string; retryAfterSeconds?: number };\n}\n\nconst firstGraphQLError = (error: unknown): GraphQLErrorLike | undefined =>\n (error as { graphQLErrors?: ReadonlyArray<GraphQLErrorLike> } | null)?.graphQLErrors?.[0];\n\n/** The server words its refusals for the person (BAD_USER_INPUT); anything else is a fault and gets `fallback`. */\nexport function contactCodeError(error: unknown, fallback: string): string {\n const first = firstGraphQLError(error);\n if (first?.extensions?.code === 'BAD_USER_INPUT' && first.message) return first.message;\n if ((error as { networkError?: unknown } | null)?.networkError) {\n return \"We couldn't reach the server. Check your connection and try again.\";\n }\n return fallback;\n}\n\n/** Seconds the server said to wait before asking again, when it refused for that reason. */\nexport const retryAfterSeconds = (error: unknown): number | undefined =>\n firstGraphQLError(error)?.extensions?.retryAfterSeconds;\n\nexport const MONTHS = [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n];\n\n/** A date of birth is a calendar day saved as `YYYY-MM-DD`, read as midnight UTC: its day is the UTC one. */\nexport function savedDay(dob: string): { year: number; month: number; day: number } {\n const date = new Date(dob);\n return { year: date.getUTCFullYear(), month: date.getUTCMonth(), day: date.getUTCDate() };\n}\n\nexport function formatDob(dob?: string | null): string {\n if (!dob || Number.isNaN(new Date(dob).getTime())) return 'Not Specified';\n const { year, month, day } = savedDay(dob);\n return `${MONTHS[month]} ${day}, ${year}`;\n}\n\n/** The value `setDob` takes for a picked day. */\nexport const dobValue = (year: number, month: number, day: number) =>\n new Date(Date.UTC(year, month, day)).toISOString().split('T')[0];\n\n/** The days a month has, so a picked day can never be the 31st of February. */\nexport const daysInMonth = (year: number, month: number) => new Date(Date.UTC(year, month + 1, 0)).getUTCDate();\n\nexport const GENDER_OPTIONS: ReadonlyArray<{ value: Gender; label: string }> = [\n { value: Gender.Male, label: 'Male' },\n { value: Gender.Female, label: 'Female' },\n { value: Gender.Other, label: 'Other' },\n];\n\n/** \"MALE\" -> \"Male\", as the web shows it. */\nexport function genderLabel(gender?: string | null): string {\n if (!gender) return 'Not Specified';\n return gender.charAt(0).toUpperCase() + gender.slice(1).toLowerCase();\n}\n\n/** The web's response languages: @admin-layout/client's list, filtered to the app's supportedLngs (en, es, de). */\nexport const RESPONSE_LANGUAGES: ReadonlyArray<{ key: string; label: string }> = [\n { key: 'en', label: 'English' },\n { key: 'de', label: 'German' },\n { key: 'es', label: 'Spanish' },\n];\n\nexport const languageLabel = (key: string) => RESPONSE_LANGUAGES.find((language) => language.key === key)?.label ?? key;\n\n/** Env tags are stored screaming-case: show them as prose. */\nexport const formatEnvironmentName = (name: string) =>\n name ? name.charAt(0).toUpperCase() + name.slice(1).toLowerCase() : name;\n\n/** The web's Account > Preferences toggles (`account.preferences.*`). */\nexport type AccountPreferences = {\n autosuggest: boolean;\n homepageWidgets: boolean;\n aiDataRetention: boolean;\n responseLanguage: string;\n};\n\n/** Mirrors the schema defaults in account-api-server's `account-preferences-contribution.ts`. */\nexport const DEFAULT_ACCOUNT_PREFERENCES: AccountPreferences = {\n autosuggest: true,\n homepageWidgets: true,\n aiDataRetention: true,\n responseLanguage: 'en',\n};\n\nexport function coercePreferences(raw: Partial<AccountPreferences> | undefined | null): AccountPreferences {\n if (!raw) return DEFAULT_ACCOUNT_PREFERENCES;\n const flag = (key: 'autosuggest' | 'homepageWidgets' | 'aiDataRetention') =>\n typeof raw[key] === 'boolean' ? (raw[key] as boolean) : DEFAULT_ACCOUNT_PREFERENCES[key];\n return {\n autosuggest: flag('autosuggest'),\n homepageWidgets: flag('homepageWidgets'),\n aiDataRetention: flag('aiDataRetention'),\n responseLanguage:\n typeof raw.responseLanguage === 'string' && raw.responseLanguage\n ? raw.responseLanguage\n : DEFAULT_ACCOUNT_PREFERENCES.responseLanguage,\n };\n}\n"],"names":[],"mappings":"4BAQO,MAAM,cAAiB,GAAA;AACvB,MAAM,aAAgB,GAAA;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